LP1823041 Angular dialogs return observables user/berick/lp1823041-angular-dialog-observable
authorBill Erickson <berickxx@gmail.com>
Wed, 3 Apr 2019 16:14:52 +0000 (12:14 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 3 Apr 2019 20:02:42 +0000 (16:02 -0400)
commitd8a2963e87ede053e1fd7fa4362534355e7ab8a4
treed4a1d3491f15726e5cff06f83e8dd55d58a5fee5
parent12f53dda91af8cda5f19f2cec00716768c6413c6
LP1823041 Angular dialogs return observables

Dialog.open() now returns an observable to the caller.  This allows
dialogs to pass 0 or more success events, error events, and close events
each as descrete actions to the caller.

Existing dialogs are updated to expect an Observable response to
.open().

Signed-off-by: Bill Erickson <berickxx@gmail.com>
19 files changed:
Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.html
Open-ILS/src/eg2/src/app/share/dialog/confirm.component.html
Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts
Open-ILS/src/eg2/src/app/share/dialog/progress.component.html
Open-ILS/src/eg2/src/app/share/dialog/prompt.component.html
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/grid/grid-column-config.component.html
Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.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/queue.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/part-merge-dialog.component.html
Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts
Open-ILS/src/eg2/src/app/staff/share/buckets/record-bucket-dialog.component.html
Open-ILS/src/eg2/src/app/staff/share/op-change/op-change.component.html
Open-ILS/src/eg2/src/app/staff/share/translate/translate.component.html
Open-ILS/src/eg2/tsconfig.json