@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,193 +1,193 @@
|
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { EntityKey, EntityFilterClause, EntitySortClause, EntityJoinClause } from './entity.interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* An entity view streams entities from an observable source. These entities
|
|
5
|
-
* can be filtered or sorted without affecting the source. A view can also
|
|
6
|
-
* combine data from multiple sources, joined together.
|
|
7
|
-
*/
|
|
8
|
-
export declare class EntityView<E extends object, V extends object = E> {
|
|
9
|
-
private source$;
|
|
10
|
-
/**
|
|
11
|
-
* Observable stream of values
|
|
12
|
-
*/
|
|
13
|
-
readonly values$: BehaviorSubject<V[]>;
|
|
14
|
-
/**
|
|
15
|
-
* Subscription to the source (and joined sources) values
|
|
16
|
-
*/
|
|
17
|
-
private values$$;
|
|
18
|
-
/**
|
|
19
|
-
* Whether this view has been lifted
|
|
20
|
-
*/
|
|
21
|
-
private lifted;
|
|
22
|
-
/**
|
|
23
|
-
* Join clauses
|
|
24
|
-
*/
|
|
25
|
-
private joins;
|
|
26
|
-
/**
|
|
27
|
-
* Observable of a filter clause
|
|
28
|
-
*/
|
|
29
|
-
private filter$;
|
|
30
|
-
/**
|
|
31
|
-
* Observable of filter clauses
|
|
32
|
-
*/
|
|
33
|
-
private filters$;
|
|
34
|
-
/**
|
|
35
|
-
* Filters index
|
|
36
|
-
*/
|
|
37
|
-
private filterIndex;
|
|
38
|
-
/**
|
|
39
|
-
* Observable of a sort clause
|
|
40
|
-
*/
|
|
41
|
-
private sort$;
|
|
42
|
-
/**
|
|
43
|
-
* Method for indexing
|
|
44
|
-
*/
|
|
45
|
-
get getKey(): (V: any) => EntityKey;
|
|
46
|
-
private getKey$;
|
|
47
|
-
/**
|
|
48
|
-
* Number of entities
|
|
49
|
-
*/
|
|
50
|
-
readonly count$: BehaviorSubject<number>;
|
|
51
|
-
get count(): number;
|
|
52
|
-
/**
|
|
53
|
-
* Whether the store is empty
|
|
54
|
-
*/
|
|
55
|
-
readonly empty$: BehaviorSubject<boolean>;
|
|
56
|
-
get empty(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Store index
|
|
59
|
-
*/
|
|
60
|
-
get index(): Map<EntityKey, V>;
|
|
61
|
-
private _index;
|
|
62
|
-
constructor(source$: BehaviorSubject<E[]>);
|
|
63
|
-
/**
|
|
64
|
-
* Get a value from the view by key
|
|
65
|
-
* @param key Key
|
|
66
|
-
* @returns Value
|
|
67
|
-
*/
|
|
68
|
-
get(key: EntityKey): V;
|
|
69
|
-
/**
|
|
70
|
-
* Get all the values
|
|
71
|
-
* @returns Array of values
|
|
72
|
-
*/
|
|
73
|
-
all(): V[];
|
|
74
|
-
/**
|
|
75
|
-
* Observe all the values
|
|
76
|
-
* @returns Observable of values
|
|
77
|
-
*/
|
|
78
|
-
all$(): BehaviorSubject<V[]>;
|
|
79
|
-
/**
|
|
80
|
-
* Get the first value that respects a criteria
|
|
81
|
-
* @returns A value
|
|
82
|
-
*/
|
|
83
|
-
firstBy(clause: EntityFilterClause<V>): V;
|
|
84
|
-
/**
|
|
85
|
-
* Observe the first value that respects a criteria
|
|
86
|
-
* @returns Observable of a value
|
|
87
|
-
*/
|
|
88
|
-
firstBy$(clause: EntityFilterClause<V>): Observable<V>;
|
|
89
|
-
/**
|
|
90
|
-
* Get all the values that respect a criteria
|
|
91
|
-
* @returns Array of values
|
|
92
|
-
*/
|
|
93
|
-
manyBy(clause: EntityFilterClause<V>): V[];
|
|
94
|
-
/**
|
|
95
|
-
* Observe all the values that respect a criteria
|
|
96
|
-
* @returns Observable of values
|
|
97
|
-
*/
|
|
98
|
-
manyBy$(clause: EntityFilterClause<V>): Observable<V[]>;
|
|
99
|
-
/**
|
|
100
|
-
* Clear the filter and sort and unsubscribe from the source
|
|
101
|
-
*/
|
|
102
|
-
clear(): void;
|
|
103
|
-
destroy(): void;
|
|
104
|
-
/**
|
|
105
|
-
* Create an index
|
|
106
|
-
* @param getKey Method to get a value's id
|
|
107
|
-
* @returns The view
|
|
108
|
-
*/
|
|
109
|
-
createIndex(getKey: (E: any) => EntityKey): EntityView<E, V>;
|
|
110
|
-
/**
|
|
111
|
-
* Join another source to the stream (chainable)
|
|
112
|
-
* @param clause Join clause
|
|
113
|
-
* @returns The view
|
|
114
|
-
*/
|
|
115
|
-
join(clause: EntityJoinClause): EntityView<E, V>;
|
|
116
|
-
/**
|
|
117
|
-
* Filter values (chainable)
|
|
118
|
-
* @param clause Filter clause
|
|
119
|
-
* @returns The view
|
|
120
|
-
*/
|
|
121
|
-
filter(clause: EntityFilterClause<V>): EntityView<E, V>;
|
|
122
|
-
/**
|
|
123
|
-
* @param clause Filter clause
|
|
124
|
-
* @returns The filter id
|
|
125
|
-
*/
|
|
126
|
-
addFilter(clause: EntityFilterClause<V>): string;
|
|
127
|
-
/**
|
|
128
|
-
* Remove a filter by id
|
|
129
|
-
* @param clause Filter clause
|
|
130
|
-
*/
|
|
131
|
-
removeFilter(id: string): void;
|
|
132
|
-
/**
|
|
133
|
-
* Sort values (chainable)
|
|
134
|
-
* @param clauseSort clause
|
|
135
|
-
* @returns The view
|
|
136
|
-
*/
|
|
137
|
-
sort(clause: EntitySortClause<V>): EntityView<E, V>;
|
|
138
|
-
/**
|
|
139
|
-
* Create the final observable
|
|
140
|
-
* @returns Observable
|
|
141
|
-
*/
|
|
142
|
-
lift(): void;
|
|
143
|
-
/**
|
|
144
|
-
* Create the source observable when no joins are defined
|
|
145
|
-
* @returns Observable
|
|
146
|
-
*/
|
|
147
|
-
private liftSource;
|
|
148
|
-
/**
|
|
149
|
-
* Create the source observable when joins are defined
|
|
150
|
-
* @returns Observable
|
|
151
|
-
*/
|
|
152
|
-
private liftJoinedSource;
|
|
153
|
-
/**
|
|
154
|
-
* Apply joins to a source's entity and return the final value
|
|
155
|
-
* @returns Final value
|
|
156
|
-
*/
|
|
157
|
-
private computeJoinedValue;
|
|
158
|
-
/**
|
|
159
|
-
* Filter and sort values before streaming them
|
|
160
|
-
* @param values Values
|
|
161
|
-
* @param filters Filter clauses
|
|
162
|
-
* @param filter Filter clause
|
|
163
|
-
* @param sort Sort clause
|
|
164
|
-
* @returns Filtered and sorted values
|
|
165
|
-
*/
|
|
166
|
-
private processValues;
|
|
167
|
-
/**
|
|
168
|
-
* Filter values
|
|
169
|
-
* @param values Values
|
|
170
|
-
* @param filters Filter clauses
|
|
171
|
-
* @returns Filtered values
|
|
172
|
-
*/
|
|
173
|
-
private filterValues;
|
|
174
|
-
/**
|
|
175
|
-
* Sort values
|
|
176
|
-
* @param values Values
|
|
177
|
-
* @param sort Sort clause
|
|
178
|
-
* @returns Sorted values
|
|
179
|
-
*/
|
|
180
|
-
private sortValues;
|
|
181
|
-
/**
|
|
182
|
-
* Set value and optionally generate an index
|
|
183
|
-
* @param values Values
|
|
184
|
-
* @param generateIndex boolean
|
|
185
|
-
*/
|
|
186
|
-
private setValues;
|
|
187
|
-
/**
|
|
188
|
-
* Generate a complete index of all the values
|
|
189
|
-
* @param entities Entities
|
|
190
|
-
* @returns Index
|
|
191
|
-
*/
|
|
192
|
-
private generateIndex;
|
|
193
|
-
}
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { EntityKey, EntityFilterClause, EntitySortClause, EntityJoinClause } from './entity.interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* An entity view streams entities from an observable source. These entities
|
|
5
|
+
* can be filtered or sorted without affecting the source. A view can also
|
|
6
|
+
* combine data from multiple sources, joined together.
|
|
7
|
+
*/
|
|
8
|
+
export declare class EntityView<E extends object, V extends object = E> {
|
|
9
|
+
private source$;
|
|
10
|
+
/**
|
|
11
|
+
* Observable stream of values
|
|
12
|
+
*/
|
|
13
|
+
readonly values$: BehaviorSubject<V[]>;
|
|
14
|
+
/**
|
|
15
|
+
* Subscription to the source (and joined sources) values
|
|
16
|
+
*/
|
|
17
|
+
private values$$;
|
|
18
|
+
/**
|
|
19
|
+
* Whether this view has been lifted
|
|
20
|
+
*/
|
|
21
|
+
private lifted;
|
|
22
|
+
/**
|
|
23
|
+
* Join clauses
|
|
24
|
+
*/
|
|
25
|
+
private joins;
|
|
26
|
+
/**
|
|
27
|
+
* Observable of a filter clause
|
|
28
|
+
*/
|
|
29
|
+
private filter$;
|
|
30
|
+
/**
|
|
31
|
+
* Observable of filter clauses
|
|
32
|
+
*/
|
|
33
|
+
private filters$;
|
|
34
|
+
/**
|
|
35
|
+
* Filters index
|
|
36
|
+
*/
|
|
37
|
+
private filterIndex;
|
|
38
|
+
/**
|
|
39
|
+
* Observable of a sort clause
|
|
40
|
+
*/
|
|
41
|
+
private sort$;
|
|
42
|
+
/**
|
|
43
|
+
* Method for indexing
|
|
44
|
+
*/
|
|
45
|
+
get getKey(): (V: any) => EntityKey;
|
|
46
|
+
private getKey$;
|
|
47
|
+
/**
|
|
48
|
+
* Number of entities
|
|
49
|
+
*/
|
|
50
|
+
readonly count$: BehaviorSubject<number>;
|
|
51
|
+
get count(): number;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the store is empty
|
|
54
|
+
*/
|
|
55
|
+
readonly empty$: BehaviorSubject<boolean>;
|
|
56
|
+
get empty(): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Store index
|
|
59
|
+
*/
|
|
60
|
+
get index(): Map<EntityKey, V>;
|
|
61
|
+
private _index;
|
|
62
|
+
constructor(source$: BehaviorSubject<E[]>);
|
|
63
|
+
/**
|
|
64
|
+
* Get a value from the view by key
|
|
65
|
+
* @param key Key
|
|
66
|
+
* @returns Value
|
|
67
|
+
*/
|
|
68
|
+
get(key: EntityKey): V;
|
|
69
|
+
/**
|
|
70
|
+
* Get all the values
|
|
71
|
+
* @returns Array of values
|
|
72
|
+
*/
|
|
73
|
+
all(): V[];
|
|
74
|
+
/**
|
|
75
|
+
* Observe all the values
|
|
76
|
+
* @returns Observable of values
|
|
77
|
+
*/
|
|
78
|
+
all$(): BehaviorSubject<V[]>;
|
|
79
|
+
/**
|
|
80
|
+
* Get the first value that respects a criteria
|
|
81
|
+
* @returns A value
|
|
82
|
+
*/
|
|
83
|
+
firstBy(clause: EntityFilterClause<V>): V;
|
|
84
|
+
/**
|
|
85
|
+
* Observe the first value that respects a criteria
|
|
86
|
+
* @returns Observable of a value
|
|
87
|
+
*/
|
|
88
|
+
firstBy$(clause: EntityFilterClause<V>): Observable<V>;
|
|
89
|
+
/**
|
|
90
|
+
* Get all the values that respect a criteria
|
|
91
|
+
* @returns Array of values
|
|
92
|
+
*/
|
|
93
|
+
manyBy(clause: EntityFilterClause<V>): V[];
|
|
94
|
+
/**
|
|
95
|
+
* Observe all the values that respect a criteria
|
|
96
|
+
* @returns Observable of values
|
|
97
|
+
*/
|
|
98
|
+
manyBy$(clause: EntityFilterClause<V>): Observable<V[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Clear the filter and sort and unsubscribe from the source
|
|
101
|
+
*/
|
|
102
|
+
clear(): void;
|
|
103
|
+
destroy(): void;
|
|
104
|
+
/**
|
|
105
|
+
* Create an index
|
|
106
|
+
* @param getKey Method to get a value's id
|
|
107
|
+
* @returns The view
|
|
108
|
+
*/
|
|
109
|
+
createIndex(getKey: (E: any) => EntityKey): EntityView<E, V>;
|
|
110
|
+
/**
|
|
111
|
+
* Join another source to the stream (chainable)
|
|
112
|
+
* @param clause Join clause
|
|
113
|
+
* @returns The view
|
|
114
|
+
*/
|
|
115
|
+
join(clause: EntityJoinClause): EntityView<E, V>;
|
|
116
|
+
/**
|
|
117
|
+
* Filter values (chainable)
|
|
118
|
+
* @param clause Filter clause
|
|
119
|
+
* @returns The view
|
|
120
|
+
*/
|
|
121
|
+
filter(clause: EntityFilterClause<V>): EntityView<E, V>;
|
|
122
|
+
/**
|
|
123
|
+
* @param clause Filter clause
|
|
124
|
+
* @returns The filter id
|
|
125
|
+
*/
|
|
126
|
+
addFilter(clause: EntityFilterClause<V>): string;
|
|
127
|
+
/**
|
|
128
|
+
* Remove a filter by id
|
|
129
|
+
* @param clause Filter clause
|
|
130
|
+
*/
|
|
131
|
+
removeFilter(id: string): void;
|
|
132
|
+
/**
|
|
133
|
+
* Sort values (chainable)
|
|
134
|
+
* @param clauseSort clause
|
|
135
|
+
* @returns The view
|
|
136
|
+
*/
|
|
137
|
+
sort(clause: EntitySortClause<V>): EntityView<E, V>;
|
|
138
|
+
/**
|
|
139
|
+
* Create the final observable
|
|
140
|
+
* @returns Observable
|
|
141
|
+
*/
|
|
142
|
+
lift(): void;
|
|
143
|
+
/**
|
|
144
|
+
* Create the source observable when no joins are defined
|
|
145
|
+
* @returns Observable
|
|
146
|
+
*/
|
|
147
|
+
private liftSource;
|
|
148
|
+
/**
|
|
149
|
+
* Create the source observable when joins are defined
|
|
150
|
+
* @returns Observable
|
|
151
|
+
*/
|
|
152
|
+
private liftJoinedSource;
|
|
153
|
+
/**
|
|
154
|
+
* Apply joins to a source's entity and return the final value
|
|
155
|
+
* @returns Final value
|
|
156
|
+
*/
|
|
157
|
+
private computeJoinedValue;
|
|
158
|
+
/**
|
|
159
|
+
* Filter and sort values before streaming them
|
|
160
|
+
* @param values Values
|
|
161
|
+
* @param filters Filter clauses
|
|
162
|
+
* @param filter Filter clause
|
|
163
|
+
* @param sort Sort clause
|
|
164
|
+
* @returns Filtered and sorted values
|
|
165
|
+
*/
|
|
166
|
+
private processValues;
|
|
167
|
+
/**
|
|
168
|
+
* Filter values
|
|
169
|
+
* @param values Values
|
|
170
|
+
* @param filters Filter clauses
|
|
171
|
+
* @returns Filtered values
|
|
172
|
+
*/
|
|
173
|
+
private filterValues;
|
|
174
|
+
/**
|
|
175
|
+
* Sort values
|
|
176
|
+
* @param values Values
|
|
177
|
+
* @param sort Sort clause
|
|
178
|
+
* @returns Sorted values
|
|
179
|
+
*/
|
|
180
|
+
private sortValues;
|
|
181
|
+
/**
|
|
182
|
+
* Set value and optionally generate an index
|
|
183
|
+
* @param values Values
|
|
184
|
+
* @param generateIndex boolean
|
|
185
|
+
*/
|
|
186
|
+
private setValues;
|
|
187
|
+
/**
|
|
188
|
+
* Generate a complete index of all the values
|
|
189
|
+
* @param entities Entities
|
|
190
|
+
* @returns Index
|
|
191
|
+
*/
|
|
192
|
+
private generateIndex;
|
|
193
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { EntityStore } from './store';
|
|
3
|
-
/**
|
|
4
|
-
* This class is used to synchronize a component's changes
|
|
5
|
-
* detection with an EntityStore changes. For example, it is frequent
|
|
6
|
-
* to have a component subscribe to a store's selected entity and, at the same time,
|
|
7
|
-
* this component provides a way to select an entity with, let's say, a click.
|
|
8
|
-
*
|
|
9
|
-
* This class automatically handles those case and triggers the compoent's
|
|
10
|
-
* change detection when needed.
|
|
11
|
-
*
|
|
12
|
-
* Note: If the component observes the store's stateView, a workspace is
|
|
13
|
-
* probably not required because the stateView catches any changes to the
|
|
14
|
-
* entities and their state.
|
|
15
|
-
*/
|
|
16
|
-
export declare class EntityStoreWatcher<E extends object> {
|
|
17
|
-
/**
|
|
18
|
-
* Component change detector
|
|
19
|
-
*/
|
|
20
|
-
private cdRef;
|
|
21
|
-
/**
|
|
22
|
-
* Entity store
|
|
23
|
-
*/
|
|
24
|
-
private store;
|
|
25
|
-
/**
|
|
26
|
-
* Component inner state
|
|
27
|
-
*/
|
|
28
|
-
private innerStateIndex;
|
|
29
|
-
/**
|
|
30
|
-
* Subscription to the store's entities
|
|
31
|
-
*/
|
|
32
|
-
private entities$$;
|
|
33
|
-
/**
|
|
34
|
-
* Subscription to the store's state
|
|
35
|
-
*/
|
|
36
|
-
private state$$;
|
|
37
|
-
constructor(store?: EntityStore<E>, cdRef?: ChangeDetectorRef);
|
|
38
|
-
destroy(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Bind this workspace to a store and start watching for changes
|
|
41
|
-
* @param store Entity store
|
|
42
|
-
*/
|
|
43
|
-
setStore(store?: EntityStore<E>): void;
|
|
44
|
-
/**
|
|
45
|
-
* Bind this workspace to a component's change detector
|
|
46
|
-
* @param cdRef Change detector
|
|
47
|
-
*/
|
|
48
|
-
setChangeDetector(cdRef?: ChangeDetectorRef): void;
|
|
49
|
-
/**
|
|
50
|
-
* Set up observers on a store's entities and their state
|
|
51
|
-
* @param store Entity store
|
|
52
|
-
*/
|
|
53
|
-
private setupObservers;
|
|
54
|
-
/**
|
|
55
|
-
* Teardown store observers
|
|
56
|
-
*/
|
|
57
|
-
private teardownObservers;
|
|
58
|
-
/**
|
|
59
|
-
* When the entities change, always trigger the changes detection
|
|
60
|
-
*/
|
|
61
|
-
private onEntitiesChange;
|
|
62
|
-
/**
|
|
63
|
-
* When the entities state change, trigger the change detection
|
|
64
|
-
* only if the component has not handled these changes yet. For example,
|
|
65
|
-
* the component might have initiated thoses changes itself.
|
|
66
|
-
*/
|
|
67
|
-
private onStateChange;
|
|
68
|
-
/**
|
|
69
|
-
* Trigger the change detection of the workspace is bound to a change detector
|
|
70
|
-
*/
|
|
71
|
-
private detectChanges;
|
|
72
|
-
}
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { EntityStore } from './store';
|
|
3
|
+
/**
|
|
4
|
+
* This class is used to synchronize a component's changes
|
|
5
|
+
* detection with an EntityStore changes. For example, it is frequent
|
|
6
|
+
* to have a component subscribe to a store's selected entity and, at the same time,
|
|
7
|
+
* this component provides a way to select an entity with, let's say, a click.
|
|
8
|
+
*
|
|
9
|
+
* This class automatically handles those case and triggers the compoent's
|
|
10
|
+
* change detection when needed.
|
|
11
|
+
*
|
|
12
|
+
* Note: If the component observes the store's stateView, a workspace is
|
|
13
|
+
* probably not required because the stateView catches any changes to the
|
|
14
|
+
* entities and their state.
|
|
15
|
+
*/
|
|
16
|
+
export declare class EntityStoreWatcher<E extends object> {
|
|
17
|
+
/**
|
|
18
|
+
* Component change detector
|
|
19
|
+
*/
|
|
20
|
+
private cdRef;
|
|
21
|
+
/**
|
|
22
|
+
* Entity store
|
|
23
|
+
*/
|
|
24
|
+
private store;
|
|
25
|
+
/**
|
|
26
|
+
* Component inner state
|
|
27
|
+
*/
|
|
28
|
+
private innerStateIndex;
|
|
29
|
+
/**
|
|
30
|
+
* Subscription to the store's entities
|
|
31
|
+
*/
|
|
32
|
+
private entities$$;
|
|
33
|
+
/**
|
|
34
|
+
* Subscription to the store's state
|
|
35
|
+
*/
|
|
36
|
+
private state$$;
|
|
37
|
+
constructor(store?: EntityStore<E>, cdRef?: ChangeDetectorRef);
|
|
38
|
+
destroy(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Bind this workspace to a store and start watching for changes
|
|
41
|
+
* @param store Entity store
|
|
42
|
+
*/
|
|
43
|
+
setStore(store?: EntityStore<E>): void;
|
|
44
|
+
/**
|
|
45
|
+
* Bind this workspace to a component's change detector
|
|
46
|
+
* @param cdRef Change detector
|
|
47
|
+
*/
|
|
48
|
+
setChangeDetector(cdRef?: ChangeDetectorRef): void;
|
|
49
|
+
/**
|
|
50
|
+
* Set up observers on a store's entities and their state
|
|
51
|
+
* @param store Entity store
|
|
52
|
+
*/
|
|
53
|
+
private setupObservers;
|
|
54
|
+
/**
|
|
55
|
+
* Teardown store observers
|
|
56
|
+
*/
|
|
57
|
+
private teardownObservers;
|
|
58
|
+
/**
|
|
59
|
+
* When the entities change, always trigger the changes detection
|
|
60
|
+
*/
|
|
61
|
+
private onEntitiesChange;
|
|
62
|
+
/**
|
|
63
|
+
* When the entities state change, trigger the change detection
|
|
64
|
+
* only if the component has not handled these changes yet. For example,
|
|
65
|
+
* the component might have initiated thoses changes itself.
|
|
66
|
+
*/
|
|
67
|
+
private onStateChange;
|
|
68
|
+
/**
|
|
69
|
+
* Trigger the change detection of the workspace is bound to a change detector
|
|
70
|
+
*/
|
|
71
|
+
private detectChanges;
|
|
72
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
-
import { MediaService } from '@igo2/core';
|
|
3
|
-
import { FlexibleState, FlexibleDirection } from './flexible.type';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FlexibleComponent implements OnInit, OnDestroy {
|
|
6
|
-
private el;
|
|
7
|
-
private mediaService;
|
|
8
|
-
static transitionTime: number;
|
|
9
|
-
main: any;
|
|
10
|
-
get initial(): string;
|
|
11
|
-
set initial(value: string);
|
|
12
|
-
private _initial;
|
|
13
|
-
get collapsed(): string;
|
|
14
|
-
set collapsed(value: string);
|
|
15
|
-
private _collapsed;
|
|
16
|
-
get expanded(): string;
|
|
17
|
-
set expanded(value: string);
|
|
18
|
-
private _expanded;
|
|
19
|
-
get initialMobile(): string;
|
|
20
|
-
set initialMobile(value: string);
|
|
21
|
-
private _initialMobile;
|
|
22
|
-
get collapsedMobile(): string;
|
|
23
|
-
set collapsedMobile(value: string);
|
|
24
|
-
private _collapsedMobile;
|
|
25
|
-
get expandedMobile(): string;
|
|
26
|
-
set expandedMobile(value: string);
|
|
27
|
-
private _expandedMobile;
|
|
28
|
-
get direction(): FlexibleDirection;
|
|
29
|
-
set direction(value: FlexibleDirection);
|
|
30
|
-
private _direction;
|
|
31
|
-
get state(): FlexibleState;
|
|
32
|
-
set state(value: FlexibleState);
|
|
33
|
-
private _state;
|
|
34
|
-
private mediaService$$;
|
|
35
|
-
constructor(el: ElementRef, mediaService: MediaService);
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
private setSize;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlexibleComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlexibleComponent, "igo-flexible", never, { "initial": "initial"; "collapsed": "collapsed"; "expanded": "expanded"; "initialMobile": "initialMobile"; "collapsedMobile": "collapsedMobile"; "expandedMobile": "expandedMobile"; "direction": "direction"; "state": "state"; }, {}, never, ["*", "[igoFlexibleFill]"], false>;
|
|
41
|
-
}
|
|
1
|
+
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
+
import { MediaService } from '@igo2/core';
|
|
3
|
+
import { FlexibleState, FlexibleDirection } from './flexible.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FlexibleComponent implements OnInit, OnDestroy {
|
|
6
|
+
private el;
|
|
7
|
+
private mediaService;
|
|
8
|
+
static transitionTime: number;
|
|
9
|
+
main: any;
|
|
10
|
+
get initial(): string;
|
|
11
|
+
set initial(value: string);
|
|
12
|
+
private _initial;
|
|
13
|
+
get collapsed(): string;
|
|
14
|
+
set collapsed(value: string);
|
|
15
|
+
private _collapsed;
|
|
16
|
+
get expanded(): string;
|
|
17
|
+
set expanded(value: string);
|
|
18
|
+
private _expanded;
|
|
19
|
+
get initialMobile(): string;
|
|
20
|
+
set initialMobile(value: string);
|
|
21
|
+
private _initialMobile;
|
|
22
|
+
get collapsedMobile(): string;
|
|
23
|
+
set collapsedMobile(value: string);
|
|
24
|
+
private _collapsedMobile;
|
|
25
|
+
get expandedMobile(): string;
|
|
26
|
+
set expandedMobile(value: string);
|
|
27
|
+
private _expandedMobile;
|
|
28
|
+
get direction(): FlexibleDirection;
|
|
29
|
+
set direction(value: FlexibleDirection);
|
|
30
|
+
private _direction;
|
|
31
|
+
get state(): FlexibleState;
|
|
32
|
+
set state(value: FlexibleState);
|
|
33
|
+
private _state;
|
|
34
|
+
private mediaService$$;
|
|
35
|
+
constructor(el: ElementRef, mediaService: MediaService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
private setSize;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlexibleComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlexibleComponent, "igo-flexible", never, { "initial": "initial"; "collapsed": "collapsed"; "expanded": "expanded"; "initialMobile": "initialMobile"; "collapsedMobile": "collapsedMobile"; "expandedMobile": "expandedMobile"; "direction": "direction"; "state": "state"; }, {}, never, ["*", "[igoFlexibleFill]"], false>;
|
|
41
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./flexible.component";
|
|
4
|
-
export declare class IgoFlexibleModule {
|
|
5
|
-
static forRoot(): ModuleWithProviders<IgoFlexibleModule>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoFlexibleModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFlexibleModule, [typeof i1.FlexibleComponent], never, [typeof i1.FlexibleComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoFlexibleModule>;
|
|
9
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./flexible.component";
|
|
4
|
+
export declare class IgoFlexibleModule {
|
|
5
|
+
static forRoot(): ModuleWithProviders<IgoFlexibleModule>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoFlexibleModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFlexibleModule, [typeof i1.FlexibleComponent], never, [typeof i1.FlexibleComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoFlexibleModule>;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare type FlexibleState = 'initial' | 'collapsed' | 'expanded' | 'transition';
|
|
2
|
-
export declare type FlexibleDirection = 'column' | 'row';
|
|
1
|
+
export declare type FlexibleState = 'initial' | 'collapsed' | 'expanded' | 'transition';
|
|
2
|
+
export declare type FlexibleDirection = 'column' | 'row';
|
package/lib/flexible/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './flexible.type';
|
|
2
|
-
export * from './flexible.component';
|
|
1
|
+
export * from './flexible.type';
|
|
2
|
+
export * from './flexible.component';
|