LP1831788 Add EgCoreModule for CommonWidgetsModule, etc.
authorBill Erickson <berickxx@gmail.com>
Wed, 31 Jul 2019 18:21:18 +0000 (14:21 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 31 Jul 2019 20:16:23 +0000 (16:16 -0400)
commit82b2fc9db4e9389bc37bd415eb2247b62a791476
tree435530e3b321a340e3c605afac57fc9547cc932e
parentbe0950b242c25ccc3c976964752074e73bf909eb
LP1831788 Add EgCoreModule for CommonWidgetsModule, etc.

Collect core objects into their own module so they may be imported
without requiring task-specific modules to import EgCommonModule, which
provides a lot more than most sub-modules need.

In the case of CommonWidgetsModule, it required access to the
FormatPipe, which is a core object, originally exported from
EgCommonModule.  However, EgCommonModule was overkill for
CommonWidgetsModule and importing it would likely have created other
dependency problems.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/common.module.ts
Open-ILS/src/eg2/src/app/core/core.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/common-widgets.module.ts