LP1840050 Modularize various standalone components + more.
authorBill Erickson <berickxx@gmail.com>
Fri, 16 Aug 2019 21:00:11 +0000 (17:00 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 6 Sep 2019 16:47:01 +0000 (12:47 -0400)
commit23f81c2f6e0523dbfa5586e2f4c39ab3384d4939
tree1a6e2c465365c977e6e1cc01693bfce2fce64cb4
parent144b8a806c466e64da702ff4abe48a8e421a26d7
LP1840050 Modularize various standalone components + more.

Create container modules for the String, Translate, FM record editor, and
Admin Page components & services.  This simplifies imports and allows us
to avoid requiring these modules on pages that don't need them.  In
particular, the staff splash page now loads fewer imports, which should
improve initial load/login time.

Additionally some components were enhanced.

FM record editor now has a eg-fm-record-editor-action component so users
can pass in an action, rendered as a button at the bottom of the editor.

FM record editor gets a delete record option and hideBanner option.

FM record editor now better handles real-time updates of its underlying
recordId and record values, including updates to some editor callers to
migrate to the modified API (replace recId with recordId).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
26 files changed:
Open-ILS/src/eg2/src/app/common.module.ts
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor-action.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/string/string.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/translate/translate.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/translate/translate.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/translate/translate.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/admin/common.module.ts
Open-ILS/src/eg2/src/app/staff/booking/booking.module.ts
Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.ts
Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts
Open-ILS/src/eg2/src/app/staff/cat/vandelay/match-set-list.component.ts
Open-ILS/src/eg2/src/app/staff/cat/vandelay/vandelay.module.ts
Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts
Open-ILS/src/eg2/src/app/staff/common.module.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.module.ts
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/translate/translate.component.html [deleted file]
Open-ILS/src/eg2/src/app/staff/share/translate/translate.component.ts [deleted file]