]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1837260 FM Record editor 'inline' display mode
authorBill Erickson <berickxx@gmail.com>
Fri, 19 Jul 2019 21:58:19 +0000 (17:58 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 1 Aug 2019 20:56:21 +0000 (16:56 -0400)
commit072e1a57a861a9c5da8bfb354d8cfc82c9415a41
tree0f18af2dec67a9b9c0936fa2ff9207961a3c417b
parent4c42286ec67f23fa7ab64f24ee4a3ca9aea4e4ae
LP1837260 FM Record editor 'inline' display mode

Adds support for a new @Input() attribute called "displayMode", which
defaults to "dialog".  When the value is set to "inline", the editor
pane will be rendered inline within the page where the
<eg-fm-record-editor/> element resides.

Adds support for success/fail toasts.

Implements the handlers for the previously defined onSave$, onError$,
and onCancel$ EventEmitters, primarly so callers can interact with the
editor in "inline" mode where no "close()" operation occurs.

Sandbox example included.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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/staff/sandbox/sandbox.component.html