@igo2/common 1.15.4 → 1.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/igo2-common.mjs +4 -4
- package/esm2020/lib/action/action.module.mjs +27 -27
- package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +252 -252
- package/esm2020/lib/action/actionbar/actionbar.component.mjs +370 -370
- package/esm2020/lib/action/actionbar/actionbar.module.mjs +57 -57
- package/esm2020/lib/action/index.mjs +3 -3
- package/esm2020/lib/action/shared/action.enums.mjs +7 -7
- package/esm2020/lib/action/shared/action.interfaces.mjs +2 -2
- package/esm2020/lib/action/shared/index.mjs +4 -4
- package/esm2020/lib/action/shared/store.mjs +8 -8
- package/esm2020/lib/backdrop/backdrop.component.mjs +26 -26
- package/esm2020/lib/backdrop/backdrop.module.mjs +25 -25
- package/esm2020/lib/backdrop/index.mjs +2 -2
- package/esm2020/lib/badge-icon/badge-icon.directive.mjs +141 -141
- package/esm2020/lib/badge-icon/badge-icon.module.mjs +26 -26
- package/esm2020/lib/badge-icon/index.mjs +2 -2
- package/esm2020/lib/clickout/clickout.directive.mjs +32 -32
- package/esm2020/lib/clickout/clickout.module.mjs +24 -24
- package/esm2020/lib/clickout/index.mjs +2 -2
- package/esm2020/lib/clone/clone.module.mjs +24 -24
- package/esm2020/lib/clone/clone.pipe.mjs +24 -24
- package/esm2020/lib/clone/index.mjs +2 -2
- package/esm2020/lib/collapsible/collapse.directive.mjs +55 -55
- package/esm2020/lib/collapsible/collapsible.component.mjs +57 -57
- package/esm2020/lib/collapsible/collapsible.module.mjs +27 -27
- package/esm2020/lib/collapsible/index.mjs +3 -3
- package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +44 -44
- package/esm2020/lib/confirm-dialog/confirm-dialog.module.mjs +29 -29
- package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +24 -24
- package/esm2020/lib/confirm-dialog/index.mjs +3 -3
- package/esm2020/lib/context-menu/context-menu.directive.mjs +103 -103
- package/esm2020/lib/context-menu/context-menu.module.mjs +25 -25
- package/esm2020/lib/context-menu/index.mjs +3 -3
- package/esm2020/lib/context-menu/long-press.directive.mjs +67 -67
- package/esm2020/lib/custom-html/custom-html.component.mjs +28 -28
- package/esm2020/lib/custom-html/custom-html.module.mjs +47 -47
- package/esm2020/lib/custom-html/custom-html.pipe.mjs +18 -18
- package/esm2020/lib/custom-html/index.mjs +3 -3
- package/esm2020/lib/dom/dom.interfaces.mjs +2 -2
- package/esm2020/lib/dom/dom.module.mjs +23 -23
- package/esm2020/lib/dom/dom.service.mjs +30 -30
- package/esm2020/lib/dom/index.mjs +3 -3
- package/esm2020/lib/drag-drop/drag-drop.directive.mjs +87 -87
- package/esm2020/lib/drag-drop/drag-drop.module.mjs +24 -24
- package/esm2020/lib/drag-drop/index.mjs +2 -2
- package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +31 -31
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +122 -122
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +28 -28
- package/esm2020/lib/dynamic-component/index.mjs +3 -3
- package/esm2020/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +2 -2
- package/esm2020/lib/dynamic-component/shared/dynamic-component.mjs +174 -174
- package/esm2020/lib/dynamic-component/shared/dynamic-component.service.mjs +29 -29
- package/esm2020/lib/dynamic-component/shared/index.mjs +4 -4
- package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +194 -194
- package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +32 -32
- package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +137 -137
- package/esm2020/lib/entity/entity-table/entity-table.component.mjs +1376 -1376
- package/esm2020/lib/entity/entity-table/entity-table.module.mjs +102 -102
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +132 -132
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -2
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +28 -28
- package/esm2020/lib/entity/entity.module.mjs +31 -31
- package/esm2020/lib/entity/index.mjs +6 -6
- package/esm2020/lib/entity/shared/entity.enums.mjs +28 -28
- package/esm2020/lib/entity/shared/entity.interfaces.mjs +2 -2
- package/esm2020/lib/entity/shared/entity.utils.mjs +67 -67
- package/esm2020/lib/entity/shared/index.mjs +10 -10
- package/esm2020/lib/entity/shared/state.mjs +191 -191
- package/esm2020/lib/entity/shared/store.mjs +288 -288
- package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +79 -79
- package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +84 -84
- package/esm2020/lib/entity/shared/strategies/index.mjs +4 -4
- package/esm2020/lib/entity/shared/strategies/strategy.mjs +75 -75
- package/esm2020/lib/entity/shared/transaction.mjs +316 -316
- package/esm2020/lib/entity/shared/view.mjs +315 -315
- package/esm2020/lib/entity/shared/watcher.mjs +120 -120
- package/esm2020/lib/flexible/flexible.component.mjs +148 -148
- package/esm2020/lib/flexible/flexible.module.mjs +24 -24
- package/esm2020/lib/flexible/flexible.type.mjs +2 -2
- package/esm2020/lib/flexible/index.mjs +3 -3
- package/esm2020/lib/form/form/form.component.mjs +117 -117
- package/esm2020/lib/form/form/form.module.mjs +40 -40
- package/esm2020/lib/form/form-field/form-field-select.component.mjs +127 -127
- package/esm2020/lib/form/form-field/form-field-text.component.mjs +104 -104
- package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +105 -105
- package/esm2020/lib/form/form-field/form-field.component.mjs +72 -72
- package/esm2020/lib/form/form-field/form-field.module.mjs +74 -74
- package/esm2020/lib/form/form-field/index.mjs +5 -5
- package/esm2020/lib/form/form-group/form-group.component.mjs +105 -105
- package/esm2020/lib/form/form-group/form-group.module.mjs +40 -40
- package/esm2020/lib/form/form.module.mjs +49 -49
- package/esm2020/lib/form/index.mjs +5 -5
- package/esm2020/lib/form/shared/form-field-component.mjs +7 -7
- package/esm2020/lib/form/shared/form-field.service.mjs +29 -29
- package/esm2020/lib/form/shared/form.interfaces.mjs +2 -2
- package/esm2020/lib/form/shared/form.service.mjs +81 -81
- package/esm2020/lib/form/shared/form.utils.mjs +40 -40
- package/esm2020/lib/form/shared/index.mjs +6 -6
- package/esm2020/lib/home-button/home-button.component.mjs +31 -31
- package/esm2020/lib/home-button/home-button.module.mjs +41 -41
- package/esm2020/lib/home-button/index.mjs +2 -2
- package/esm2020/lib/image/image-error.directive.mjs +35 -35
- package/esm2020/lib/image/image.module.mjs +25 -25
- package/esm2020/lib/image/index.mjs +3 -3
- package/esm2020/lib/image/secure-image.pipe.mjs +59 -59
- package/esm2020/lib/interactive-tour/index.mjs +5 -5
- package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +135 -135
- package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +2 -2
- package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +44 -44
- package/esm2020/lib/interactive-tour/interactive-tour.module.mjs +40 -40
- package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +285 -285
- package/esm2020/lib/json-dialog/index.mjs +3 -3
- package/esm2020/lib/json-dialog/json-dialog.component.mjs +109 -109
- package/esm2020/lib/json-dialog/json-dialog.module.mjs +29 -29
- package/esm2020/lib/json-dialog/json-dialog.service.mjs +24 -24
- package/esm2020/lib/keyvalue/index.mjs +2 -2
- package/esm2020/lib/keyvalue/keyvalue.module.mjs +24 -24
- package/esm2020/lib/keyvalue/keyvalue.pipe.mjs +18 -18
- package/esm2020/lib/list/index.mjs +3 -3
- package/esm2020/lib/list/list-item.directive.mjs +165 -165
- package/esm2020/lib/list/list.component.mjs +262 -262
- package/esm2020/lib/list/list.module.mjs +29 -29
- package/esm2020/lib/panel/index.mjs +2 -2
- package/esm2020/lib/panel/panel.component.mjs +59 -59
- package/esm2020/lib/panel/panel.module.mjs +19 -19
- package/esm2020/lib/sidenav/index.mjs +2 -2
- package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +55 -55
- package/esm2020/lib/sidenav/sidenav.module.mjs +24 -24
- package/esm2020/lib/spinner/index.mjs +3 -3
- package/esm2020/lib/spinner/spinner-activity.directive.mjs +47 -47
- package/esm2020/lib/spinner/spinner.component.mjs +35 -35
- package/esm2020/lib/spinner/spinner.module.mjs +21 -21
- package/esm2020/lib/stop-propagation/index.mjs +3 -3
- package/esm2020/lib/stop-propagation/stop-drop-propagation.directive.mjs +22 -22
- package/esm2020/lib/stop-propagation/stop-propagation.directive.mjs +21 -21
- package/esm2020/lib/stop-propagation/stop-propagation.module.mjs +25 -25
- package/esm2020/lib/table/index.mjs +6 -6
- package/esm2020/lib/table/table-action-color.enum.mjs +7 -7
- package/esm2020/lib/table/table-database.mjs +28 -28
- package/esm2020/lib/table/table-datasource.mjs +61 -61
- package/esm2020/lib/table/table-model.interface.mjs +2 -2
- package/esm2020/lib/table/table.component.mjs +297 -297
- package/esm2020/lib/table/table.module.mjs +67 -67
- package/esm2020/lib/tool/index.mjs +3 -3
- package/esm2020/lib/tool/shared/index.mjs +6 -6
- package/esm2020/lib/tool/shared/tool-component.mjs +9 -9
- package/esm2020/lib/tool/shared/tool.interface.mjs +2 -2
- package/esm2020/lib/tool/shared/tool.service.mjs +43 -43
- package/esm2020/lib/tool/shared/toolbox.enums.mjs +7 -7
- package/esm2020/lib/tool/shared/toolbox.mjs +179 -179
- package/esm2020/lib/tool/tool.module.mjs +32 -32
- package/esm2020/lib/tool/toolbox/toolbox.animation.mjs +10 -10
- package/esm2020/lib/tool/toolbox/toolbox.component.mjs +255 -255
- package/esm2020/lib/tool/toolbox/toolbox.module.mjs +36 -36
- package/esm2020/lib/widget/index.mjs +3 -3
- package/esm2020/lib/widget/shared/index.mjs +4 -4
- package/esm2020/lib/widget/shared/widget.interfaces.mjs +2 -2
- package/esm2020/lib/widget/shared/widget.mjs +4 -4
- package/esm2020/lib/widget/shared/widget.service.mjs +20 -20
- package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +116 -116
- package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +32 -32
- package/esm2020/lib/widget/widget.module.mjs +32 -32
- package/esm2020/lib/workspace/index.mjs +4 -4
- package/esm2020/lib/workspace/shared/index.mjs +4 -4
- package/esm2020/lib/workspace/shared/store.mjs +40 -40
- package/esm2020/lib/workspace/shared/workspace.interfaces.mjs +2 -2
- package/esm2020/lib/workspace/shared/workspace.mjs +117 -117
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +51 -51
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +32 -32
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +88 -88
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +32 -32
- package/esm2020/lib/workspace/workspace.module.mjs +27 -27
- package/esm2020/public_api.mjs +74 -74
- package/fesm2015/igo2-common.mjs +10016 -10016
- package/fesm2015/igo2-common.mjs.map +1 -1
- package/fesm2020/igo2-common.mjs +9319 -9319
- package/fesm2020/igo2-common.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/action/action.module.d.ts +8 -8
- package/lib/action/actionbar/actionbar-item.component.d.ts +78 -78
- package/lib/action/actionbar/actionbar.component.d.ts +146 -146
- package/lib/action/actionbar/actionbar.module.d.ts +20 -20
- package/lib/action/index.d.ts +2 -2
- package/lib/action/shared/action.enums.d.ts +5 -5
- package/lib/action/shared/action.interfaces.d.ts +17 -17
- package/lib/action/shared/index.d.ts +3 -3
- package/lib/action/shared/store.d.ts +8 -8
- package/lib/backdrop/backdrop.component.d.ts +9 -9
- package/lib/backdrop/backdrop.module.d.ts +10 -10
- package/lib/backdrop/index.d.ts +1 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +36 -36
- package/lib/badge-icon/badge-icon.module.d.ts +11 -11
- package/lib/badge-icon/index.d.ts +1 -1
- package/lib/clickout/clickout.directive.d.ts +10 -10
- package/lib/clickout/clickout.module.d.ts +9 -9
- package/lib/clickout/index.d.ts +1 -1
- package/lib/clone/clone.module.d.ts +9 -9
- package/lib/clone/clone.pipe.d.ts +7 -7
- package/lib/clone/index.d.ts +1 -1
- package/lib/collapsible/collapse.directive.d.ts +19 -19
- package/lib/collapsible/collapsible.component.d.ts +13 -13
- package/lib/collapsible/collapsible.module.d.ts +12 -12
- package/lib/collapsible/index.d.ts +2 -2
- package/lib/confirm-dialog/confirm-dialog.component.d.ts +9 -9
- package/lib/confirm-dialog/confirm-dialog.module.d.ts +12 -12
- package/lib/confirm-dialog/confirm-dialog.service.d.ts +12 -12
- package/lib/confirm-dialog/index.d.ts +2 -2
- package/lib/context-menu/context-menu.directive.d.ts +21 -21
- package/lib/context-menu/context-menu.module.d.ts +10 -10
- package/lib/context-menu/index.d.ts +2 -2
- package/lib/context-menu/long-press.directive.d.ts +20 -20
- package/lib/custom-html/custom-html.component.d.ts +9 -9
- package/lib/custom-html/custom-html.module.d.ts +16 -16
- package/lib/custom-html/custom-html.pipe.d.ts +10 -10
- package/lib/custom-html/index.d.ts +2 -2
- package/lib/dom/dom.interfaces.d.ts +10 -10
- package/lib/dom/dom.module.d.ts +8 -8
- package/lib/dom/dom.service.d.ts +10 -10
- package/lib/dom/index.d.ts +2 -2
- package/lib/drag-drop/drag-drop.directive.d.ts +14 -14
- package/lib/drag-drop/drag-drop.module.d.ts +9 -9
- package/lib/drag-drop/index.d.ts +1 -1
- package/lib/dynamic-component/dynamic-component.module.d.ts +8 -8
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +70 -70
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +11 -11
- package/lib/dynamic-component/index.d.ts +2 -2
- package/lib/dynamic-component/shared/dynamic-component.d.ts +88 -88
- package/lib/dynamic-component/shared/dynamic-component.interfaces.d.ts +3 -3
- package/lib/dynamic-component/shared/dynamic-component.service.d.ts +18 -18
- package/lib/dynamic-component/shared/index.d.ts +3 -3
- package/lib/entity/entity-selector/entity-selector.component.d.ts +92 -92
- package/lib/entity/entity-selector/entity-selector.module.d.ts +13 -13
- package/lib/entity/entity-table/entity-table-row.directive.d.ts +69 -69
- package/lib/entity/entity-table/entity-table.component.d.ts +333 -333
- package/lib/entity/entity-table/entity-table.module.d.ts +29 -29
- package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +49 -49
- package/lib/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +8 -8
- package/lib/entity/entity-table-paginator/entity-table-paginator.module.d.ts +11 -11
- package/lib/entity/entity.module.d.ts +10 -10
- package/lib/entity/index.d.ts +5 -5
- package/lib/entity/shared/entity.enums.d.ts +23 -23
- package/lib/entity/shared/entity.interfaces.d.ts +114 -114
- package/lib/entity/shared/entity.utils.d.ts +49 -49
- package/lib/entity/shared/index.d.ts +9 -9
- package/lib/entity/shared/state.d.ts +103 -103
- package/lib/entity/shared/store.d.ts +176 -176
- package/lib/entity/shared/strategies/filter-custom-function.d.ts +51 -51
- package/lib/entity/shared/strategies/filter-selection.d.ts +48 -48
- package/lib/entity/shared/strategies/index.d.ts +3 -3
- package/lib/entity/shared/strategies/strategy.d.ts +56 -56
- package/lib/entity/shared/transaction.d.ts +168 -168
- package/lib/entity/shared/view.d.ts +193 -193
- package/lib/entity/shared/watcher.d.ts +72 -72
- package/lib/flexible/flexible.component.d.ts +41 -41
- package/lib/flexible/flexible.module.d.ts +9 -9
- package/lib/flexible/flexible.type.d.ts +2 -2
- package/lib/flexible/index.d.ts +2 -2
- package/lib/form/form/form.component.d.ts +53 -53
- package/lib/form/form/form.module.d.ts +12 -12
- package/lib/form/form-field/form-field-select.component.d.ts +48 -48
- package/lib/form/form-field/form-field-text.component.d.ts +41 -41
- package/lib/form/form-field/form-field-textarea.component.d.ts +41 -41
- package/lib/form/form-field/form-field.component.d.ts +34 -34
- package/lib/form/form-field/form-field.module.d.ts +21 -21
- package/lib/form/form-field/index.d.ts +4 -4
- package/lib/form/form-group/form-group.component.d.ts +49 -49
- package/lib/form/form-group/form-group.module.d.ts +14 -14
- package/lib/form/form.module.d.ts +13 -13
- package/lib/form/index.d.ts +4 -4
- package/lib/form/shared/form-field-component.d.ts +1 -1
- package/lib/form/shared/form-field.service.d.ts +19 -19
- package/lib/form/shared/form.interfaces.d.ts +57 -57
- package/lib/form/shared/form.service.d.ts +15 -15
- package/lib/form/shared/form.utils.d.ts +11 -11
- package/lib/form/shared/index.d.ts +5 -5
- package/lib/home-button/home-button.component.d.ts +9 -9
- package/lib/home-button/home-button.module.d.ts +15 -15
- package/lib/home-button/index.d.ts +1 -1
- package/lib/image/image-error.directive.d.ts +11 -11
- package/lib/image/image.module.d.ts +10 -10
- package/lib/image/index.d.ts +2 -2
- package/lib/image/secure-image.pipe.d.ts +13 -13
- package/lib/interactive-tour/index.d.ts +4 -4
- package/lib/interactive-tour/interactive-tour.component.d.ts +30 -30
- package/lib/interactive-tour/interactive-tour.interface.d.ts +32 -32
- package/lib/interactive-tour/interactive-tour.loader.d.ts +18 -18
- package/lib/interactive-tour/interactive-tour.module.d.ts +12 -12
- package/lib/interactive-tour/interactive-tour.service.d.ts +29 -29
- package/lib/json-dialog/index.d.ts +2 -2
- package/lib/json-dialog/json-dialog.component.d.ts +13 -13
- package/lib/json-dialog/json-dialog.module.d.ts +13 -13
- package/lib/json-dialog/json-dialog.service.d.ts +10 -10
- package/lib/keyvalue/index.d.ts +1 -1
- package/lib/keyvalue/keyvalue.module.d.ts +9 -9
- package/lib/keyvalue/keyvalue.pipe.d.ts +7 -7
- package/lib/list/index.d.ts +2 -2
- package/lib/list/list-item.directive.d.ts +43 -43
- package/lib/list/list.component.d.ts +51 -51
- package/lib/list/list.module.d.ts +14 -14
- package/lib/panel/index.d.ts +1 -1
- package/lib/panel/panel.component.d.ts +10 -10
- package/lib/panel/panel.module.d.ts +8 -8
- package/lib/sidenav/index.d.ts +1 -1
- package/lib/sidenav/sidenav-shim.directive.d.ts +20 -20
- package/lib/sidenav/sidenav.module.d.ts +9 -9
- package/lib/spinner/index.d.ts +2 -2
- package/lib/spinner/spinner-activity.directive.d.ts +32 -32
- package/lib/spinner/spinner.component.d.ts +12 -12
- package/lib/spinner/spinner.module.d.ts +10 -10
- package/lib/stop-propagation/index.d.ts +2 -2
- package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +6 -6
- package/lib/stop-propagation/stop-propagation.directive.d.ts +6 -6
- package/lib/stop-propagation/stop-propagation.module.d.ts +10 -10
- package/lib/table/index.d.ts +5 -5
- package/lib/table/table-action-color.enum.d.ts +5 -5
- package/lib/table/table-database.d.ts +10 -10
- package/lib/table/table-datasource.d.ts +17 -17
- package/lib/table/table-model.interface.d.ts +28 -28
- package/lib/table/table.component.d.ts +40 -40
- package/lib/table/table.module.d.ts +20 -20
- package/lib/tool/index.d.ts +2 -2
- package/lib/tool/shared/index.d.ts +5 -5
- package/lib/tool/shared/tool-component.d.ts +2 -2
- package/lib/tool/shared/tool.interface.d.ts +18 -18
- package/lib/tool/shared/tool.service.d.ts +30 -30
- package/lib/tool/shared/toolbox.d.ts +95 -95
- package/lib/tool/shared/toolbox.enums.d.ts +5 -5
- package/lib/tool/tool.module.d.ts +10 -10
- package/lib/tool/toolbox/toolbox.animation.d.ts +2 -2
- package/lib/tool/toolbox/toolbox.component.d.ts +127 -127
- package/lib/tool/toolbox/toolbox.module.d.ts +13 -13
- package/lib/widget/index.d.ts +2 -2
- package/lib/widget/shared/index.d.ts +3 -3
- package/lib/widget/shared/widget.d.ts +4 -4
- package/lib/widget/shared/widget.interfaces.d.ts +12 -12
- package/lib/widget/shared/widget.service.d.ts +10 -10
- package/lib/widget/widget-outlet/widget-outlet.component.d.ts +71 -71
- package/lib/widget/widget-outlet/widget-outlet.module.d.ts +12 -12
- package/lib/widget/widget.module.d.ts +8 -8
- package/lib/workspace/index.d.ts +3 -3
- package/lib/workspace/shared/index.d.ts +3 -3
- package/lib/workspace/shared/store.d.ts +20 -20
- package/lib/workspace/shared/workspace.d.ts +108 -108
- package/lib/workspace/shared/workspace.interfaces.d.ts +11 -11
- package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +39 -39
- package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +12 -12
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +57 -57
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +12 -12
- package/lib/workspace/workspace.module.d.ts +9 -9
- package/package.json +3 -3
- package/public_api.d.ts +70 -70
- package/style/common.theming.scss +12 -12
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum ToolboxColor {
|
|
2
|
-
White = "white",
|
|
3
|
-
Grey = "grey",
|
|
4
|
-
Primary = "primary"
|
|
5
|
-
}
|
|
1
|
+
export declare enum ToolboxColor {
|
|
2
|
+
White = "white",
|
|
3
|
+
Grey = "grey",
|
|
4
|
+
Primary = "primary"
|
|
5
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "./toolbox/toolbox.module";
|
|
5
|
-
export declare class IgoToolModule {
|
|
6
|
-
static forRoot(): ModuleWithProviders<IgoToolModule>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoToolModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoToolModule, never, [typeof i1.CommonModule], [typeof i2.IgoToolboxModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoToolModule>;
|
|
10
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "./toolbox/toolbox.module";
|
|
5
|
+
export declare class IgoToolModule {
|
|
6
|
+
static forRoot(): ModuleWithProviders<IgoToolModule>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoToolModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoToolModule, never, [typeof i1.CommonModule], [typeof i2.IgoToolboxModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoToolModule>;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
|
-
export declare function toolSlideInOut(speed?: string, type?: string): AnimationTriggerMetadata;
|
|
1
|
+
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
|
+
export declare function toolSlideInOut(speed?: string, type?: string): AnimationTriggerMetadata;
|
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { ActionStore } from '../../action';
|
|
4
|
-
import { Tool } from '../shared/tool.interface';
|
|
5
|
-
import { ToolboxColor } from '../shared/toolbox.enums';
|
|
6
|
-
import { Toolbox } from '../shared/toolbox';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ToolboxComponent implements OnInit, OnDestroy {
|
|
9
|
-
/**
|
|
10
|
-
* Observable of the active tool
|
|
11
|
-
*/
|
|
12
|
-
activeTool$: BehaviorSubject<Tool>;
|
|
13
|
-
/**
|
|
14
|
-
* Store of actions that toggle tools
|
|
15
|
-
*/
|
|
16
|
-
actionStore: ActionStore;
|
|
17
|
-
/**
|
|
18
|
-
* Observable of he anmation state
|
|
19
|
-
*/
|
|
20
|
-
animation$: BehaviorSubject<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Observable of the toolbar
|
|
23
|
-
*/
|
|
24
|
-
toolbar$: BehaviorSubject<string[]>;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the Toolbar should display actions' titles
|
|
27
|
-
*/
|
|
28
|
-
toolbarWithTitle$: Observable<boolean>;
|
|
29
|
-
/**
|
|
30
|
-
* Subscription to the active tool
|
|
31
|
-
*/
|
|
32
|
-
private activeTool$$;
|
|
33
|
-
/**
|
|
34
|
-
* Subscription to the toolbar
|
|
35
|
-
*/
|
|
36
|
-
private toolbar$$;
|
|
37
|
-
/**
|
|
38
|
-
* Observable of the ongoing animation. This is useful when
|
|
39
|
-
* multiple animations are triggered at once i.e. when the user clicks
|
|
40
|
-
* too fast on different actions
|
|
41
|
-
*/
|
|
42
|
-
private animating$;
|
|
43
|
-
/**
|
|
44
|
-
* Subscription to the ongoing animation
|
|
45
|
-
*/
|
|
46
|
-
private animating$$;
|
|
47
|
-
/**
|
|
48
|
-
* Toolbox
|
|
49
|
-
*/
|
|
50
|
-
toolbox: Toolbox;
|
|
51
|
-
/**
|
|
52
|
-
* Whether the toolbox should animate the first tool entering
|
|
53
|
-
*/
|
|
54
|
-
animate: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Color of Toolbox
|
|
57
|
-
*/
|
|
58
|
-
color: ToolboxColor;
|
|
59
|
-
/**
|
|
60
|
-
* @ignore
|
|
61
|
-
*/
|
|
62
|
-
get classColorGrey(): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* @ignore
|
|
65
|
-
*/
|
|
66
|
-
get classColorPrimary(): boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Initialize the toolbar and subscribe to the active tool
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
ngOnInit(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Unsubscribe to the active tool and destroy the action store
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
ngOnDestroy(): void;
|
|
77
|
-
/**
|
|
78
|
-
* Track the starting animation
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
onAnimationStart(): void;
|
|
82
|
-
/**
|
|
83
|
-
* Untrack the completed animation
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
onAnimationComplete(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Return a tool's inputs
|
|
89
|
-
* @param tool Tool
|
|
90
|
-
* @returns Tool inputs
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
getToolInputs(tool: Tool): {
|
|
94
|
-
[key: string]: any;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Initialize an action store
|
|
98
|
-
* @param toolbar Toolbar
|
|
99
|
-
*/
|
|
100
|
-
private onToolbarChange;
|
|
101
|
-
/**
|
|
102
|
-
* Activate a tool and trigger an animation or not
|
|
103
|
-
* @param tool Tool to activate
|
|
104
|
-
*/
|
|
105
|
-
private onActiveToolChange;
|
|
106
|
-
/**
|
|
107
|
-
* Set the active tool
|
|
108
|
-
* @param tool Tool to activate
|
|
109
|
-
*/
|
|
110
|
-
private setActiveTool;
|
|
111
|
-
/**
|
|
112
|
-
* Initialize the toolbar
|
|
113
|
-
*/
|
|
114
|
-
private setToolbar;
|
|
115
|
-
/**
|
|
116
|
-
* Observe the ongoing animation and ignore any incoming animation
|
|
117
|
-
* while one is still ongoing.
|
|
118
|
-
* @param callback Callback to execute when the animation completes
|
|
119
|
-
*/
|
|
120
|
-
private onAnimate;
|
|
121
|
-
/**
|
|
122
|
-
* Stop observing an animation when it's complete
|
|
123
|
-
*/
|
|
124
|
-
private unAnimate;
|
|
125
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxComponent, never>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "igo-toolbox", never, { "toolbox": "toolbox"; "animate": "animate"; "color": "color"; }, {}, never, never, false>;
|
|
127
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { ActionStore } from '../../action';
|
|
4
|
+
import { Tool } from '../shared/tool.interface';
|
|
5
|
+
import { ToolboxColor } from '../shared/toolbox.enums';
|
|
6
|
+
import { Toolbox } from '../shared/toolbox';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ToolboxComponent implements OnInit, OnDestroy {
|
|
9
|
+
/**
|
|
10
|
+
* Observable of the active tool
|
|
11
|
+
*/
|
|
12
|
+
activeTool$: BehaviorSubject<Tool>;
|
|
13
|
+
/**
|
|
14
|
+
* Store of actions that toggle tools
|
|
15
|
+
*/
|
|
16
|
+
actionStore: ActionStore;
|
|
17
|
+
/**
|
|
18
|
+
* Observable of he anmation state
|
|
19
|
+
*/
|
|
20
|
+
animation$: BehaviorSubject<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Observable of the toolbar
|
|
23
|
+
*/
|
|
24
|
+
toolbar$: BehaviorSubject<string[]>;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the Toolbar should display actions' titles
|
|
27
|
+
*/
|
|
28
|
+
toolbarWithTitle$: Observable<boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* Subscription to the active tool
|
|
31
|
+
*/
|
|
32
|
+
private activeTool$$;
|
|
33
|
+
/**
|
|
34
|
+
* Subscription to the toolbar
|
|
35
|
+
*/
|
|
36
|
+
private toolbar$$;
|
|
37
|
+
/**
|
|
38
|
+
* Observable of the ongoing animation. This is useful when
|
|
39
|
+
* multiple animations are triggered at once i.e. when the user clicks
|
|
40
|
+
* too fast on different actions
|
|
41
|
+
*/
|
|
42
|
+
private animating$;
|
|
43
|
+
/**
|
|
44
|
+
* Subscription to the ongoing animation
|
|
45
|
+
*/
|
|
46
|
+
private animating$$;
|
|
47
|
+
/**
|
|
48
|
+
* Toolbox
|
|
49
|
+
*/
|
|
50
|
+
toolbox: Toolbox;
|
|
51
|
+
/**
|
|
52
|
+
* Whether the toolbox should animate the first tool entering
|
|
53
|
+
*/
|
|
54
|
+
animate: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Color of Toolbox
|
|
57
|
+
*/
|
|
58
|
+
color: ToolboxColor;
|
|
59
|
+
/**
|
|
60
|
+
* @ignore
|
|
61
|
+
*/
|
|
62
|
+
get classColorGrey(): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @ignore
|
|
65
|
+
*/
|
|
66
|
+
get classColorPrimary(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Initialize the toolbar and subscribe to the active tool
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Unsubscribe to the active tool and destroy the action store
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
ngOnDestroy(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Track the starting animation
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
onAnimationStart(): void;
|
|
82
|
+
/**
|
|
83
|
+
* Untrack the completed animation
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
onAnimationComplete(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Return a tool's inputs
|
|
89
|
+
* @param tool Tool
|
|
90
|
+
* @returns Tool inputs
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
getToolInputs(tool: Tool): {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Initialize an action store
|
|
98
|
+
* @param toolbar Toolbar
|
|
99
|
+
*/
|
|
100
|
+
private onToolbarChange;
|
|
101
|
+
/**
|
|
102
|
+
* Activate a tool and trigger an animation or not
|
|
103
|
+
* @param tool Tool to activate
|
|
104
|
+
*/
|
|
105
|
+
private onActiveToolChange;
|
|
106
|
+
/**
|
|
107
|
+
* Set the active tool
|
|
108
|
+
* @param tool Tool to activate
|
|
109
|
+
*/
|
|
110
|
+
private setActiveTool;
|
|
111
|
+
/**
|
|
112
|
+
* Initialize the toolbar
|
|
113
|
+
*/
|
|
114
|
+
private setToolbar;
|
|
115
|
+
/**
|
|
116
|
+
* Observe the ongoing animation and ignore any incoming animation
|
|
117
|
+
* while one is still ongoing.
|
|
118
|
+
* @param callback Callback to execute when the animation completes
|
|
119
|
+
*/
|
|
120
|
+
private onAnimate;
|
|
121
|
+
/**
|
|
122
|
+
* Stop observing an animation when it's complete
|
|
123
|
+
*/
|
|
124
|
+
private unAnimate;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxComponent, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "igo-toolbox", never, { "toolbox": "toolbox"; "animate": "animate"; "color": "color"; }, {}, never, never, false>;
|
|
127
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./toolbox.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../action/action.module";
|
|
5
|
-
import * as i4 from "../../dynamic-component/dynamic-component.module";
|
|
6
|
-
/**
|
|
7
|
-
* @ignore
|
|
8
|
-
*/
|
|
9
|
-
export declare class IgoToolboxModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoToolboxModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoToolboxModule, [typeof i1.ToolboxComponent], [typeof i2.CommonModule, typeof i3.IgoActionModule, typeof i4.IgoDynamicComponentModule], [typeof i1.ToolboxComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoToolboxModule>;
|
|
13
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toolbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../action/action.module";
|
|
5
|
+
import * as i4 from "../../dynamic-component/dynamic-component.module";
|
|
6
|
+
/**
|
|
7
|
+
* @ignore
|
|
8
|
+
*/
|
|
9
|
+
export declare class IgoToolboxModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoToolboxModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoToolboxModule, [typeof i1.ToolboxComponent], [typeof i2.CommonModule, typeof i3.IgoActionModule, typeof i4.IgoDynamicComponentModule], [typeof i1.ToolboxComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoToolboxModule>;
|
|
13
|
+
}
|
package/lib/widget/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './shared';
|
|
2
|
-
export * from './widget-outlet/widget-outlet.component';
|
|
1
|
+
export * from './shared';
|
|
2
|
+
export * from './widget-outlet/widget-outlet.component';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './widget';
|
|
2
|
-
export * from './widget.interfaces';
|
|
3
|
-
export * from './widget.service';
|
|
1
|
+
export * from './widget';
|
|
2
|
+
export * from './widget.interfaces';
|
|
3
|
+
export * from './widget.service';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DynamicComponent } from '../../dynamic-component/shared/dynamic-component';
|
|
2
|
-
import { WidgetComponent } from './widget.interfaces';
|
|
3
|
-
export declare class Widget extends DynamicComponent<WidgetComponent> {
|
|
4
|
-
}
|
|
1
|
+
import { DynamicComponent } from '../../dynamic-component/shared/dynamic-component';
|
|
2
|
+
import { WidgetComponent } from './widget.interfaces';
|
|
3
|
+
export declare class Widget extends DynamicComponent<WidgetComponent> {
|
|
4
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* This is the interface a widget component needs to implement. A widget
|
|
4
|
-
* component is component that can be created dynamically. It needs
|
|
5
|
-
* to emit the 'complete' and 'cancel' event at some time in it's lifecycle.
|
|
6
|
-
* Since a widget's inputs are set manually, you may want to implement the 'onUpdateInputs'
|
|
7
|
-
* method. This method could, for example, trigger the change detection.
|
|
8
|
-
*/
|
|
9
|
-
export interface WidgetComponent {
|
|
10
|
-
complete: EventEmitter<any>;
|
|
11
|
-
cancel: EventEmitter<any>;
|
|
12
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* This is the interface a widget component needs to implement. A widget
|
|
4
|
+
* component is component that can be created dynamically. It needs
|
|
5
|
+
* to emit the 'complete' and 'cancel' event at some time in it's lifecycle.
|
|
6
|
+
* Since a widget's inputs are set manually, you may want to implement the 'onUpdateInputs'
|
|
7
|
+
* method. This method could, for example, trigger the change detection.
|
|
8
|
+
*/
|
|
9
|
+
export interface WidgetComponent {
|
|
10
|
+
complete: EventEmitter<any>;
|
|
11
|
+
cancel: EventEmitter<any>;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DynamicComponentService } from '../../dynamic-component/shared/dynamic-component.service';
|
|
2
|
-
import { Widget } from './widget';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class WidgetService {
|
|
5
|
-
private dynamicComponentService;
|
|
6
|
-
constructor(dynamicComponentService: DynamicComponentService);
|
|
7
|
-
create(widgetCls: any): Widget;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetService>;
|
|
10
|
-
}
|
|
1
|
+
import { DynamicComponentService } from '../../dynamic-component/shared/dynamic-component.service';
|
|
2
|
+
import { Widget } from './widget';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetService {
|
|
5
|
+
private dynamicComponentService;
|
|
6
|
+
constructor(dynamicComponentService: DynamicComponentService);
|
|
7
|
+
create(widgetCls: any): Widget;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetService>;
|
|
10
|
+
}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { DynamicComponent } from '../../dynamic-component';
|
|
3
|
-
import { WidgetComponent } from '../shared/widget.interfaces';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* This component dynamically renders a widget. It also subscribes
|
|
7
|
-
* to the widget's 'cancel' and 'complete' events and destroys it
|
|
8
|
-
* when any of those event is emitted.
|
|
9
|
-
*/
|
|
10
|
-
export declare class WidgetOutletComponent implements OnDestroy {
|
|
11
|
-
/**
|
|
12
|
-
* Widget subscribers to 'cancel' and 'complete'
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
private baseSubscribers;
|
|
16
|
-
/**
|
|
17
|
-
* Widget
|
|
18
|
-
*/
|
|
19
|
-
widget: DynamicComponent<WidgetComponent>;
|
|
20
|
-
/**
|
|
21
|
-
* Widget inputs
|
|
22
|
-
*/
|
|
23
|
-
inputs: {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Widget subscribers
|
|
28
|
-
*/
|
|
29
|
-
subscribers: {
|
|
30
|
-
[key: string]: (event: any) => void;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Event emitted when the widget emits 'complete'
|
|
34
|
-
*/
|
|
35
|
-
complete: EventEmitter<any>;
|
|
36
|
-
/**
|
|
37
|
-
* Event emitted when the widget emits 'cancel'
|
|
38
|
-
*/
|
|
39
|
-
cancel: EventEmitter<any>;
|
|
40
|
-
constructor();
|
|
41
|
-
/**
|
|
42
|
-
* Destroy the current widget and all it's inner subscriptions
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Get the effective subscribers. That means a combination of the base
|
|
48
|
-
* subscribers and any subscriber given as input.
|
|
49
|
-
* @returns Combined subscribers
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
getEffectiveSubscribers(): {
|
|
53
|
-
[key: string]: (event: any) => void;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* When the widget emits 'cancel', propagate that event and destroy
|
|
57
|
-
* the widget
|
|
58
|
-
*/
|
|
59
|
-
private onCancel;
|
|
60
|
-
/**
|
|
61
|
-
* When the widget emits 'complete', propagate that event and destroy
|
|
62
|
-
* the widget
|
|
63
|
-
*/
|
|
64
|
-
private onComplete;
|
|
65
|
-
/**
|
|
66
|
-
* Destroy the current widget
|
|
67
|
-
*/
|
|
68
|
-
private destroyWidget;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetOutletComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetOutletComponent, "igo-widget-outlet", never, { "widget": "widget"; "inputs": "inputs"; "subscribers": "subscribers"; }, { "complete": "complete"; "cancel": "cancel"; }, never, never, false>;
|
|
71
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DynamicComponent } from '../../dynamic-component';
|
|
3
|
+
import { WidgetComponent } from '../shared/widget.interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* This component dynamically renders a widget. It also subscribes
|
|
7
|
+
* to the widget's 'cancel' and 'complete' events and destroys it
|
|
8
|
+
* when any of those event is emitted.
|
|
9
|
+
*/
|
|
10
|
+
export declare class WidgetOutletComponent implements OnDestroy {
|
|
11
|
+
/**
|
|
12
|
+
* Widget subscribers to 'cancel' and 'complete'
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
private baseSubscribers;
|
|
16
|
+
/**
|
|
17
|
+
* Widget
|
|
18
|
+
*/
|
|
19
|
+
widget: DynamicComponent<WidgetComponent>;
|
|
20
|
+
/**
|
|
21
|
+
* Widget inputs
|
|
22
|
+
*/
|
|
23
|
+
inputs: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Widget subscribers
|
|
28
|
+
*/
|
|
29
|
+
subscribers: {
|
|
30
|
+
[key: string]: (event: any) => void;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Event emitted when the widget emits 'complete'
|
|
34
|
+
*/
|
|
35
|
+
complete: EventEmitter<any>;
|
|
36
|
+
/**
|
|
37
|
+
* Event emitted when the widget emits 'cancel'
|
|
38
|
+
*/
|
|
39
|
+
cancel: EventEmitter<any>;
|
|
40
|
+
constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Destroy the current widget and all it's inner subscriptions
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Get the effective subscribers. That means a combination of the base
|
|
48
|
+
* subscribers and any subscriber given as input.
|
|
49
|
+
* @returns Combined subscribers
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
getEffectiveSubscribers(): {
|
|
53
|
+
[key: string]: (event: any) => void;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* When the widget emits 'cancel', propagate that event and destroy
|
|
57
|
+
* the widget
|
|
58
|
+
*/
|
|
59
|
+
private onCancel;
|
|
60
|
+
/**
|
|
61
|
+
* When the widget emits 'complete', propagate that event and destroy
|
|
62
|
+
* the widget
|
|
63
|
+
*/
|
|
64
|
+
private onComplete;
|
|
65
|
+
/**
|
|
66
|
+
* Destroy the current widget
|
|
67
|
+
*/
|
|
68
|
+
private destroyWidget;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetOutletComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetOutletComponent, "igo-widget-outlet", never, { "widget": "widget"; "inputs": "inputs"; "subscribers": "subscribers"; }, { "complete": "complete"; "cancel": "cancel"; }, never, never, false>;
|
|
71
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./widget-outlet.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../dynamic-component/dynamic-component.module";
|
|
5
|
-
/**
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export declare class IgoWidgetOutletModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWidgetOutletModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWidgetOutletModule, [typeof i1.WidgetOutletComponent], [typeof i2.CommonModule, typeof i3.IgoDynamicComponentModule], [typeof i1.WidgetOutletComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWidgetOutletModule>;
|
|
12
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./widget-outlet.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../dynamic-component/dynamic-component.module";
|
|
5
|
+
/**
|
|
6
|
+
* @ignore
|
|
7
|
+
*/
|
|
8
|
+
export declare class IgoWidgetOutletModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWidgetOutletModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWidgetOutletModule, [typeof i1.WidgetOutletComponent], [typeof i2.CommonModule, typeof i3.IgoDynamicComponentModule], [typeof i1.WidgetOutletComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWidgetOutletModule>;
|
|
12
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./widget-outlet/widget-outlet.module";
|
|
4
|
-
export declare class IgoWidgetModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWidgetModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWidgetModule, never, [typeof i1.CommonModule, typeof i2.IgoWidgetOutletModule], [typeof i2.IgoWidgetOutletModule]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWidgetModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./widget-outlet/widget-outlet.module";
|
|
4
|
+
export declare class IgoWidgetModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWidgetModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWidgetModule, never, [typeof i1.CommonModule, typeof i2.IgoWidgetOutletModule], [typeof i2.IgoWidgetOutletModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWidgetModule>;
|
|
8
|
+
}
|
package/lib/workspace/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './shared';
|
|
2
|
-
export * from './workspace-selector/workspace-selector.component';
|
|
3
|
-
export * from './workspace-widget-outlet/workspace-widget-outlet.component';
|
|
1
|
+
export * from './shared';
|
|
2
|
+
export * from './workspace-selector/workspace-selector.component';
|
|
3
|
+
export * from './workspace-widget-outlet/workspace-widget-outlet.component';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './store';
|
|
2
|
-
export * from './workspace';
|
|
3
|
-
export * from './workspace.interfaces';
|
|
1
|
+
export * from './store';
|
|
2
|
+
export * from './workspace';
|
|
3
|
+
export * from './workspace.interfaces';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EntityStore } from '../../entity';
|
|
2
|
-
import { Workspace } from './workspace';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
/**
|
|
5
|
-
* The class is a specialized version of an EntityStore that stores
|
|
6
|
-
* workspaces.
|
|
7
|
-
*/
|
|
8
|
-
export declare class WorkspaceStore extends EntityStore<Workspace> {
|
|
9
|
-
activeWorkspace$: BehaviorSubject<Workspace>;
|
|
10
|
-
/**
|
|
11
|
-
* Activate the an workspace workspace and deactivate the one currently active
|
|
12
|
-
* @param workspace Workspace
|
|
13
|
-
*/
|
|
14
|
-
activateWorkspace(workspace: Workspace): void;
|
|
15
|
-
/**
|
|
16
|
-
* Deactivate the current workspace
|
|
17
|
-
* @param workspace Workspace
|
|
18
|
-
*/
|
|
19
|
-
deactivateWorkspace(): void;
|
|
20
|
-
}
|
|
1
|
+
import { EntityStore } from '../../entity';
|
|
2
|
+
import { Workspace } from './workspace';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
/**
|
|
5
|
+
* The class is a specialized version of an EntityStore that stores
|
|
6
|
+
* workspaces.
|
|
7
|
+
*/
|
|
8
|
+
export declare class WorkspaceStore extends EntityStore<Workspace> {
|
|
9
|
+
activeWorkspace$: BehaviorSubject<Workspace>;
|
|
10
|
+
/**
|
|
11
|
+
* Activate the an workspace workspace and deactivate the one currently active
|
|
12
|
+
* @param workspace Workspace
|
|
13
|
+
*/
|
|
14
|
+
activateWorkspace(workspace: Workspace): void;
|
|
15
|
+
/**
|
|
16
|
+
* Deactivate the current workspace
|
|
17
|
+
* @param workspace Workspace
|
|
18
|
+
*/
|
|
19
|
+
deactivateWorkspace(): void;
|
|
20
|
+
}
|