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>
Thu, 1 Aug 2019 13:49:57 +0000 (09:49 -0400)
commitbb8b2321b16cded0ed6abc2143503776854b64c9
tree6652aa1904f7478200c34d58089e3c356723eac3
parent56163b124f7b2321b867324c68a7637d23ea8492
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>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
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