@igo2/common 1.15.4 → 16.0.0-rc.0
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/common-theme.scss +19 -0
- package/{esm2020 → esm2022}/igo2-common.mjs +4 -4
- package/esm2022/lib/action/action.module.mjs +20 -0
- package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +270 -0
- package/esm2022/lib/action/actionbar/actionbar.component.mjs +389 -0
- package/{esm2020 → esm2022}/lib/action/actionbar/actionbar.module.mjs +57 -57
- package/{esm2020 → esm2022}/lib/action/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/action/shared/action.enums.mjs +7 -7
- package/{esm2020 → esm2022}/lib/action/shared/action.interfaces.mjs +2 -2
- package/{esm2020 → esm2022}/lib/action/shared/index.mjs +4 -4
- package/{esm2020 → esm2022}/lib/action/shared/store.mjs +8 -8
- package/esm2022/lib/backdrop/backdrop.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/backdrop/backdrop.module.mjs +25 -25
- package/{esm2020 → esm2022}/lib/backdrop/index.mjs +2 -2
- package/esm2022/lib/badge-icon/badge-icon.directive.mjs +150 -0
- package/{esm2020 → esm2022}/lib/badge-icon/badge-icon.module.mjs +26 -26
- package/{esm2020 → esm2022}/lib/badge-icon/index.mjs +2 -2
- package/esm2022/lib/clickout/clickout.directive.mjs +33 -0
- package/{esm2020 → esm2022}/lib/clickout/clickout.module.mjs +24 -24
- package/{esm2020 → esm2022}/lib/clickout/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/clone/clone.module.mjs +24 -24
- package/esm2022/lib/clone/clone.pipe.mjs +24 -0
- package/{esm2020 → esm2022}/lib/clone/index.mjs +2 -2
- package/esm2022/lib/collapsible/collapse.directive.mjs +58 -0
- package/esm2022/lib/collapsible/collapsible.component.mjs +54 -0
- package/{esm2020 → esm2022}/lib/collapsible/collapsible.module.mjs +27 -27
- package/{esm2020 → esm2022}/lib/collapsible/index.mjs +3 -3
- package/esm2022/lib/color-picker-form-field/color-picker-form-field.component.mjs +121 -0
- package/esm2022/lib/color-picker-form-field/color-picker-form-field.module.mjs +32 -0
- package/esm2022/lib/color-picker-form-field/index.mjs +2 -0
- package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +47 -0
- package/{esm2020 → esm2022}/lib/confirm-dialog/confirm-dialog.module.mjs +29 -29
- package/esm2022/lib/confirm-dialog/confirm-dialog.service.mjs +29 -0
- package/{esm2020 → esm2022}/lib/confirm-dialog/index.mjs +3 -3
- package/esm2022/lib/context-menu/context-menu.directive.mjs +110 -0
- package/{esm2020 → esm2022}/lib/context-menu/context-menu.module.mjs +25 -25
- package/{esm2020 → esm2022}/lib/context-menu/index.mjs +3 -3
- package/esm2022/lib/context-menu/long-press.directive.mjs +67 -0
- package/esm2022/lib/custom-html/custom-html.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/custom-html/custom-html.module.mjs +47 -47
- package/{esm2020 → esm2022}/lib/custom-html/custom-html.pipe.mjs +20 -18
- package/{esm2020 → esm2022}/lib/custom-html/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/dom/dom.interfaces.mjs +2 -2
- package/{esm2020 → esm2022}/lib/dom/dom.module.mjs +21 -23
- package/esm2022/lib/dom/dom.service.mjs +35 -0
- package/{esm2020 → esm2022}/lib/dom/index.mjs +3 -3
- package/esm2022/lib/drag-drop/drag-drop.directive.mjs +85 -0
- package/{esm2020 → esm2022}/lib/drag-drop/drag-drop.module.mjs +24 -24
- package/{esm2020 → esm2022}/lib/drag-drop/index.mjs +2 -2
- package/esm2022/lib/dynamic-component/dynamic-component.module.mjs +20 -0
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +138 -0
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +22 -0
- package/{esm2020 → esm2022}/lib/dynamic-component/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +2 -2
- package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +183 -0
- package/{esm2020 → esm2022}/lib/dynamic-component/shared/dynamic-component.service.mjs +30 -29
- package/{esm2020 → esm2022}/lib/dynamic-component/shared/index.mjs +4 -4
- package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +214 -0
- package/esm2022/lib/entity/entity-selector/entity-selector.module.mjs +24 -0
- package/esm2022/lib/entity/entity-table/entity-table-row.directive.mjs +139 -0
- package/esm2022/lib/entity/entity-table/entity-table.component.mjs +1455 -0
- package/esm2022/lib/entity/entity-table/entity-table.module.mjs +96 -0
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +167 -0
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -0
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +22 -0
- package/{esm2020 → esm2022}/lib/entity/entity.module.mjs +29 -31
- package/{esm2020 → esm2022}/lib/entity/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/entity/shared/entity.enums.mjs +28 -28
- package/esm2022/lib/entity/shared/entity.interfaces.mjs +2 -0
- package/esm2022/lib/entity/shared/entity.utils.mjs +73 -0
- package/esm2022/lib/entity/shared/index.mjs +11 -0
- package/esm2022/lib/entity/shared/state.mjs +194 -0
- package/esm2022/lib/entity/shared/store-strategy.mjs +73 -0
- package/esm2022/lib/entity/shared/store.mjs +256 -0
- package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +80 -0
- package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +81 -0
- package/{esm2020 → esm2022}/lib/entity/shared/strategies/index.mjs +4 -4
- package/esm2022/lib/entity/shared/strategies/strategy.mjs +78 -0
- package/esm2022/lib/entity/shared/transaction.mjs +329 -0
- package/esm2022/lib/entity/shared/view.mjs +330 -0
- package/esm2022/lib/entity/shared/watcher.mjs +135 -0
- package/esm2022/lib/flexible/flexible.component.mjs +153 -0
- package/{esm2020 → esm2022}/lib/flexible/flexible.module.mjs +24 -24
- package/{esm2020 → esm2022}/lib/flexible/flexible.type.mjs +2 -2
- package/{esm2020 → esm2022}/lib/flexible/index.mjs +3 -3
- package/esm2022/lib/form/form/form.component.mjs +125 -0
- package/esm2022/lib/form/form/form.module.mjs +23 -0
- package/esm2022/lib/form/form-field/form-field-select.component.mjs +140 -0
- package/esm2022/lib/form/form-field/form-field-text.component.mjs +113 -0
- package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +114 -0
- package/esm2022/lib/form/form-field/form-field.component.mjs +78 -0
- package/{esm2020 → esm2022}/lib/form/form-field/form-field.module.mjs +74 -74
- package/{esm2020 → esm2022}/lib/form/form-field/index.mjs +5 -5
- package/esm2022/lib/form/form-group/form-group.component.mjs +115 -0
- package/esm2022/lib/form/form-group/form-group.module.mjs +36 -0
- package/esm2022/lib/form/form.module.mjs +27 -0
- package/{esm2020 → esm2022}/lib/form/index.mjs +5 -5
- package/{esm2020 → esm2022}/lib/form/shared/form-field-component.mjs +7 -7
- package/esm2022/lib/form/shared/form-field.service.mjs +29 -0
- package/esm2022/lib/form/shared/form.interfaces.mjs +2 -0
- package/esm2022/lib/form/shared/form.service.mjs +82 -0
- package/esm2022/lib/form/shared/form.utils.mjs +40 -0
- package/{esm2020 → esm2022}/lib/form/shared/index.mjs +6 -6
- package/esm2022/lib/home-button/home-button.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/home-button/home-button.module.mjs +41 -41
- package/{esm2020 → esm2022}/lib/home-button/index.mjs +2 -2
- package/esm2022/lib/image/image-error.directive.mjs +36 -0
- package/{esm2020 → esm2022}/lib/image/image.module.mjs +25 -25
- package/{esm2020 → esm2022}/lib/image/index.mjs +3 -3
- package/esm2022/lib/image/secure-image.pipe.mjs +65 -0
- package/{esm2020 → esm2022}/lib/interactive-tour/index.mjs +5 -5
- package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +161 -0
- package/esm2022/lib/interactive-tour/interactive-tour.interface.mjs +2 -0
- package/esm2022/lib/interactive-tour/interactive-tour.loader.mjs +49 -0
- package/{esm2020 → esm2022}/lib/interactive-tour/interactive-tour.module.mjs +40 -40
- package/esm2022/lib/interactive-tour/interactive-tour.service.mjs +297 -0
- package/{esm2020 → esm2022}/lib/json-dialog/index.mjs +3 -3
- package/esm2022/lib/json-dialog/json-dialog.component.mjs +114 -0
- package/{esm2020 → esm2022}/lib/json-dialog/json-dialog.module.mjs +29 -29
- package/{esm2020 → esm2022}/lib/json-dialog/json-dialog.service.mjs +26 -24
- package/{esm2020 → esm2022}/lib/keyvalue/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/keyvalue/keyvalue.module.mjs +24 -24
- package/{esm2020 → esm2022}/lib/keyvalue/keyvalue.pipe.mjs +18 -18
- package/{esm2020 → esm2022}/lib/list/index.mjs +3 -3
- package/esm2022/lib/list/list-item.directive.mjs +167 -0
- package/esm2022/lib/list/list.component.mjs +268 -0
- package/{esm2020 → esm2022}/lib/list/list.module.mjs +29 -29
- package/{esm2020 → esm2022}/lib/panel/index.mjs +2 -2
- package/esm2022/lib/panel/panel.component.mjs +60 -0
- package/{esm2020 → esm2022}/lib/panel/panel.module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/sidenav/index.mjs +2 -2
- package/esm2022/lib/sidenav/sidenav-shim.directive.mjs +59 -0
- package/{esm2020 → esm2022}/lib/sidenav/sidenav.module.mjs +24 -24
- package/{esm2020 → esm2022}/lib/spinner/index.mjs +3 -3
- package/esm2022/lib/spinner/spinner-activity.directive.mjs +55 -0
- package/esm2022/lib/spinner/spinner.component.mjs +38 -0
- package/{esm2020 → esm2022}/lib/spinner/spinner.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/stop-propagation/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/stop-propagation/stop-drop-propagation.directive.mjs +22 -22
- package/{esm2020 → esm2022}/lib/stop-propagation/stop-propagation.directive.mjs +21 -21
- package/{esm2020 → esm2022}/lib/stop-propagation/stop-propagation.module.mjs +25 -25
- package/{esm2020 → esm2022}/lib/table/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/table/table-action-color.enum.mjs +7 -7
- package/esm2022/lib/table/table-database.mjs +28 -0
- package/esm2022/lib/table/table-datasource.mjs +64 -0
- package/esm2022/lib/table/table-model.interface.mjs +2 -0
- package/esm2022/lib/table/table.component.mjs +302 -0
- package/{esm2020 → esm2022}/lib/table/table.module.mjs +67 -67
- package/{esm2020 → esm2022}/lib/tool/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/tool/shared/index.mjs +6 -6
- package/esm2022/lib/tool/shared/tool-component.mjs +9 -0
- package/esm2022/lib/tool/shared/tool.interface.mjs +2 -0
- package/esm2022/lib/tool/shared/tool.service.mjs +43 -0
- package/{esm2020 → esm2022}/lib/tool/shared/toolbox.enums.mjs +7 -7
- package/esm2022/lib/tool/shared/toolbox.mjs +184 -0
- package/esm2022/lib/tool/tool.module.mjs +26 -0
- package/{esm2020 → esm2022}/lib/tool/toolbox/toolbox.animation.mjs +10 -10
- package/esm2022/lib/tool/toolbox/toolbox.component.mjs +273 -0
- package/esm2022/lib/tool/toolbox/toolbox.module.mjs +24 -0
- package/{esm2020 → esm2022}/lib/widget/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/widget/shared/index.mjs +4 -4
- package/esm2022/lib/widget/shared/widget.interfaces.mjs +2 -0
- package/{esm2020 → esm2022}/lib/widget/shared/widget.mjs +4 -4
- package/esm2022/lib/widget/shared/widget.service.mjs +22 -0
- package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +124 -0
- package/esm2022/lib/widget/widget-outlet/widget-outlet.module.mjs +23 -0
- package/esm2022/lib/widget/widget.module.mjs +21 -0
- package/{esm2020 → esm2022}/lib/workspace/index.mjs +4 -4
- package/{esm2020 → esm2022}/lib/workspace/shared/index.mjs +4 -4
- package/esm2022/lib/workspace/shared/store.mjs +37 -0
- package/{esm2020 → esm2022}/lib/workspace/shared/workspace.interfaces.mjs +2 -2
- package/esm2022/lib/workspace/shared/workspace.mjs +143 -0
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +58 -0
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.module.mjs +23 -0
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +94 -0
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +23 -0
- package/esm2022/lib/workspace/workspace.module.mjs +20 -0
- package/esm2022/public_api.mjs +76 -0
- package/{fesm2020 → fesm2022}/igo2-common.mjs +9837 -9345
- package/fesm2022/igo2-common.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/action/action.module.d.ts +8 -8
- package/lib/action/action.theming.scss +5 -0
- package/lib/action/actionbar/actionbar-item.component.d.ts +78 -78
- package/lib/action/actionbar/actionbar-item.theming.scss +32 -0
- package/lib/action/actionbar/actionbar.component.d.ts +147 -146
- package/lib/action/actionbar/actionbar.module.d.ts +20 -20
- package/lib/action/actionbar/actionbar.theming.scss +22 -0
- 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/collapsible.theming.scss +22 -0
- package/lib/collapsible/index.d.ts +2 -2
- package/lib/color-picker-form-field/color-picker-form-field.component.d.ts +26 -0
- package/lib/color-picker-form-field/color-picker-form-field.module.d.ts +10 -0
- package/lib/color-picker-form-field/index.d.ts +1 -0
- 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-selector/entity-selector.theming.scss +21 -0
- package/lib/entity/entity-table/entity-table-row.directive.d.ts +69 -69
- package/lib/entity/entity-table/entity-table.component.d.ts +327 -333
- package/lib/entity/entity-table/entity-table.module.d.ts +29 -29
- package/lib/entity/entity-table/entity-table.theming.scss +34 -0
- 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-table-paginator/entity-table-paginator.theming.scss +21 -0
- package/lib/entity/entity.module.d.ts +10 -10
- package/lib/entity/entity.theming.scss +10 -0
- 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 +95 -114
- package/lib/entity/shared/entity.utils.d.ts +49 -49
- package/lib/entity/shared/index.d.ts +10 -9
- package/lib/entity/shared/state.d.ts +108 -103
- package/lib/entity/shared/store-strategy.d.ts +38 -0
- package/lib/entity/shared/store.d.ts +147 -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 +180 -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 +29 -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 +61 -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/home-button.theming.scss +18 -0
- 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/interactive-tour/interactive-tour.theming.scss +32 -0
- 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/list/list.theming.scss +40 -0
- 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/panel/panel.theming.scss +30 -0
- 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 +18 -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/tool.theming.scss +5 -0
- package/lib/tool/toolbox/toolbox.animation.d.ts +2 -2
- package/lib/tool/toolbox/toolbox.component.d.ts +128 -127
- package/lib/tool/toolbox/toolbox.module.d.ts +13 -13
- package/lib/tool/toolbox/toolbox.theming.scss +105 -0
- 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/locale/en.common.json +43 -0
- package/locale/fr.common.json +43 -0
- package/package.json +30 -28
- package/public_api.d.ts +72 -70
- package/style/partial/common-utils.scss +9 -0
- package/style/partial/common.variables.scss +8 -8
- package/style/style.css +204 -0
- package/esm2020/lib/action/action.module.mjs +0 -27
- package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +0 -252
- package/esm2020/lib/action/actionbar/actionbar.component.mjs +0 -370
- package/esm2020/lib/backdrop/backdrop.component.mjs +0 -26
- package/esm2020/lib/badge-icon/badge-icon.directive.mjs +0 -141
- package/esm2020/lib/clickout/clickout.directive.mjs +0 -32
- package/esm2020/lib/clone/clone.pipe.mjs +0 -24
- package/esm2020/lib/collapsible/collapse.directive.mjs +0 -55
- package/esm2020/lib/collapsible/collapsible.component.mjs +0 -57
- package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +0 -44
- package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +0 -24
- package/esm2020/lib/context-menu/context-menu.directive.mjs +0 -103
- package/esm2020/lib/context-menu/long-press.directive.mjs +0 -67
- package/esm2020/lib/custom-html/custom-html.component.mjs +0 -28
- package/esm2020/lib/dom/dom.service.mjs +0 -30
- package/esm2020/lib/drag-drop/drag-drop.directive.mjs +0 -88
- package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +0 -31
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +0 -122
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +0 -28
- package/esm2020/lib/dynamic-component/shared/dynamic-component.mjs +0 -174
- package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +0 -194
- package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +0 -32
- package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +0 -137
- package/esm2020/lib/entity/entity-table/entity-table.component.mjs +0 -1376
- package/esm2020/lib/entity/entity-table/entity-table.module.mjs +0 -102
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +0 -132
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +0 -2
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +0 -28
- package/esm2020/lib/entity/shared/entity.interfaces.mjs +0 -2
- package/esm2020/lib/entity/shared/entity.utils.mjs +0 -67
- package/esm2020/lib/entity/shared/index.mjs +0 -10
- package/esm2020/lib/entity/shared/state.mjs +0 -191
- package/esm2020/lib/entity/shared/store.mjs +0 -288
- package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +0 -79
- package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +0 -84
- package/esm2020/lib/entity/shared/strategies/strategy.mjs +0 -75
- package/esm2020/lib/entity/shared/transaction.mjs +0 -316
- package/esm2020/lib/entity/shared/view.mjs +0 -315
- package/esm2020/lib/entity/shared/watcher.mjs +0 -120
- package/esm2020/lib/flexible/flexible.component.mjs +0 -148
- package/esm2020/lib/form/form/form.component.mjs +0 -117
- package/esm2020/lib/form/form/form.module.mjs +0 -40
- package/esm2020/lib/form/form-field/form-field-select.component.mjs +0 -127
- package/esm2020/lib/form/form-field/form-field-text.component.mjs +0 -104
- package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +0 -105
- package/esm2020/lib/form/form-field/form-field.component.mjs +0 -72
- package/esm2020/lib/form/form-group/form-group.component.mjs +0 -105
- package/esm2020/lib/form/form-group/form-group.module.mjs +0 -40
- package/esm2020/lib/form/form.module.mjs +0 -49
- package/esm2020/lib/form/shared/form-field.service.mjs +0 -29
- package/esm2020/lib/form/shared/form.interfaces.mjs +0 -2
- package/esm2020/lib/form/shared/form.service.mjs +0 -81
- package/esm2020/lib/form/shared/form.utils.mjs +0 -40
- package/esm2020/lib/home-button/home-button.component.mjs +0 -31
- package/esm2020/lib/image/image-error.directive.mjs +0 -35
- package/esm2020/lib/image/secure-image.pipe.mjs +0 -59
- package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +0 -135
- package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +0 -2
- package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +0 -44
- package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +0 -285
- package/esm2020/lib/json-dialog/json-dialog.component.mjs +0 -109
- package/esm2020/lib/list/list-item.directive.mjs +0 -165
- package/esm2020/lib/list/list.component.mjs +0 -262
- package/esm2020/lib/panel/panel.component.mjs +0 -59
- package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +0 -55
- package/esm2020/lib/spinner/spinner-activity.directive.mjs +0 -47
- package/esm2020/lib/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/table/table-database.mjs +0 -28
- package/esm2020/lib/table/table-datasource.mjs +0 -61
- package/esm2020/lib/table/table-model.interface.mjs +0 -2
- package/esm2020/lib/table/table.component.mjs +0 -297
- package/esm2020/lib/tool/shared/tool-component.mjs +0 -9
- package/esm2020/lib/tool/shared/tool.interface.mjs +0 -2
- package/esm2020/lib/tool/shared/tool.service.mjs +0 -43
- package/esm2020/lib/tool/shared/toolbox.mjs +0 -179
- package/esm2020/lib/tool/tool.module.mjs +0 -32
- package/esm2020/lib/tool/toolbox/toolbox.component.mjs +0 -255
- package/esm2020/lib/tool/toolbox/toolbox.module.mjs +0 -36
- package/esm2020/lib/widget/shared/widget.interfaces.mjs +0 -2
- package/esm2020/lib/widget/shared/widget.service.mjs +0 -20
- package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +0 -116
- package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +0 -32
- package/esm2020/lib/widget/widget.module.mjs +0 -32
- package/esm2020/lib/workspace/shared/store.mjs +0 -40
- package/esm2020/lib/workspace/shared/workspace.mjs +0 -117
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +0 -51
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +0 -32
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +0 -88
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +0 -32
- package/esm2020/lib/workspace/workspace.module.mjs +0 -27
- package/esm2020/public_api.mjs +0 -74
- package/fesm2015/igo2-common.mjs +0 -10329
- package/fesm2015/igo2-common.mjs.map +0 -1
- package/fesm2020/igo2-common.mjs.map +0 -1
- package/style/common.theming.scss +0 -12
- package/style/partial/action.scss +0 -18
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import { Tool, ToolboxOptions } from './tool.interface';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Service where all available tools and their component are registered.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Toolbox {
|
|
7
|
-
private options;
|
|
8
|
-
/**
|
|
9
|
-
* Observable of the active tool
|
|
10
|
-
*/
|
|
11
|
-
activeTool$: BehaviorSubject<Tool>;
|
|
12
|
-
/**
|
|
13
|
-
* Ordered list of tool names to display in a toolbar
|
|
14
|
-
*/
|
|
15
|
-
toolbar$: BehaviorSubject<string[]>;
|
|
16
|
-
/**
|
|
17
|
-
* Observable of the active tool
|
|
18
|
-
*/
|
|
19
|
-
private activeTool$$;
|
|
20
|
-
/**
|
|
21
|
-
* Active tool history. Useful for activating the previous tool.
|
|
22
|
-
*/
|
|
23
|
-
private activeToolHistory;
|
|
24
|
-
/**
|
|
25
|
-
* Tool store
|
|
26
|
-
*/
|
|
27
|
-
private store;
|
|
28
|
-
get tools$(): BehaviorSubject<Tool[]>;
|
|
29
|
-
constructor(options?: ToolboxOptions);
|
|
30
|
-
/**
|
|
31
|
-
* Destroy the toolbox
|
|
32
|
-
*/
|
|
33
|
-
destroy(): void;
|
|
34
|
-
/**
|
|
35
|
-
* Return a tool
|
|
36
|
-
* @param name Tool name
|
|
37
|
-
* @returns tool Tool
|
|
38
|
-
*/
|
|
39
|
-
getTool(name: string): Tool;
|
|
40
|
-
/**
|
|
41
|
-
* Return all tools
|
|
42
|
-
* @returns Array of tools
|
|
43
|
-
*/
|
|
44
|
-
getTools(): Tool[];
|
|
45
|
-
/**
|
|
46
|
-
* Set tool configurations
|
|
47
|
-
* @param tools Tools
|
|
48
|
-
*/
|
|
49
|
-
setTools(tools: Tool[]): void;
|
|
50
|
-
/**
|
|
51
|
-
* Get toolbar
|
|
52
|
-
* @returns Toolbar value
|
|
53
|
-
*/
|
|
54
|
-
getToolbar(): string[];
|
|
55
|
-
/**
|
|
56
|
-
* Set toolbar
|
|
57
|
-
* @param toolbar A list of tool names
|
|
58
|
-
*/
|
|
59
|
-
setToolbar(toolbar: string[]): void;
|
|
60
|
-
/**
|
|
61
|
-
* Activate a tool (and deactivate other tools)
|
|
62
|
-
* @param name Tool name
|
|
63
|
-
* @param options Tool options
|
|
64
|
-
*/
|
|
65
|
-
activateTool(name: string, options?: {
|
|
66
|
-
[key: string]: any;
|
|
67
|
-
}): void;
|
|
68
|
-
/**
|
|
69
|
-
* Activate the previous tool, if any
|
|
70
|
-
*/
|
|
71
|
-
activatePreviousTool(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Activate the tool below, if any
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* Activate the tool above, if any
|
|
77
|
-
*/
|
|
78
|
-
/**
|
|
79
|
-
* Deactivate the active tool
|
|
80
|
-
*/
|
|
81
|
-
deactivateTool(): void;
|
|
82
|
-
/**
|
|
83
|
-
* Initialize the tool store and start observing the active tool
|
|
84
|
-
*/
|
|
85
|
-
private initStore;
|
|
86
|
-
/**
|
|
87
|
-
* Set the active tool and update the tool history
|
|
88
|
-
* @param tool Tool
|
|
89
|
-
*/
|
|
90
|
-
private setActiveTool;
|
|
91
|
-
/**
|
|
92
|
-
* Clear the tool history
|
|
93
|
-
*/
|
|
94
|
-
private clearActiveToolHistory;
|
|
95
|
-
}
|
|
1
|
+
import { Tool, ToolboxOptions } from './tool.interface';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* Service where all available tools and their component are registered.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Toolbox {
|
|
7
|
+
private options;
|
|
8
|
+
/**
|
|
9
|
+
* Observable of the active tool
|
|
10
|
+
*/
|
|
11
|
+
activeTool$: BehaviorSubject<Tool>;
|
|
12
|
+
/**
|
|
13
|
+
* Ordered list of tool names to display in a toolbar
|
|
14
|
+
*/
|
|
15
|
+
toolbar$: BehaviorSubject<string[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Observable of the active tool
|
|
18
|
+
*/
|
|
19
|
+
private activeTool$$;
|
|
20
|
+
/**
|
|
21
|
+
* Active tool history. Useful for activating the previous tool.
|
|
22
|
+
*/
|
|
23
|
+
private activeToolHistory;
|
|
24
|
+
/**
|
|
25
|
+
* Tool store
|
|
26
|
+
*/
|
|
27
|
+
private store;
|
|
28
|
+
get tools$(): BehaviorSubject<Tool[]>;
|
|
29
|
+
constructor(options?: ToolboxOptions);
|
|
30
|
+
/**
|
|
31
|
+
* Destroy the toolbox
|
|
32
|
+
*/
|
|
33
|
+
destroy(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Return a tool
|
|
36
|
+
* @param name Tool name
|
|
37
|
+
* @returns tool Tool
|
|
38
|
+
*/
|
|
39
|
+
getTool(name: string): Tool;
|
|
40
|
+
/**
|
|
41
|
+
* Return all tools
|
|
42
|
+
* @returns Array of tools
|
|
43
|
+
*/
|
|
44
|
+
getTools(): Tool[];
|
|
45
|
+
/**
|
|
46
|
+
* Set tool configurations
|
|
47
|
+
* @param tools Tools
|
|
48
|
+
*/
|
|
49
|
+
setTools(tools: Tool[]): void;
|
|
50
|
+
/**
|
|
51
|
+
* Get toolbar
|
|
52
|
+
* @returns Toolbar value
|
|
53
|
+
*/
|
|
54
|
+
getToolbar(): string[];
|
|
55
|
+
/**
|
|
56
|
+
* Set toolbar
|
|
57
|
+
* @param toolbar A list of tool names
|
|
58
|
+
*/
|
|
59
|
+
setToolbar(toolbar: string[]): void;
|
|
60
|
+
/**
|
|
61
|
+
* Activate a tool (and deactivate other tools)
|
|
62
|
+
* @param name Tool name
|
|
63
|
+
* @param options Tool options
|
|
64
|
+
*/
|
|
65
|
+
activateTool(name: string, options?: {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}): void;
|
|
68
|
+
/**
|
|
69
|
+
* Activate the previous tool, if any
|
|
70
|
+
*/
|
|
71
|
+
activatePreviousTool(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Activate the tool below, if any
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* Activate the tool above, if any
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Deactivate the active tool
|
|
80
|
+
*/
|
|
81
|
+
deactivateTool(): void;
|
|
82
|
+
/**
|
|
83
|
+
* Initialize the tool store and start observing the active tool
|
|
84
|
+
*/
|
|
85
|
+
private initStore;
|
|
86
|
+
/**
|
|
87
|
+
* Set the active tool and update the tool history
|
|
88
|
+
* @param tool Tool
|
|
89
|
+
*/
|
|
90
|
+
private setActiveTool;
|
|
91
|
+
/**
|
|
92
|
+
* Clear the tool history
|
|
93
|
+
*/
|
|
94
|
+
private clearActiveToolHistory;
|
|
95
|
+
}
|
|
@@ -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,128 @@
|
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
*
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
*
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
*
|
|
90
|
-
* @
|
|
91
|
-
* @
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
*
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
*
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
*
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
static
|
|
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
|
+
get isActive(): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Store of actions that toggle tools
|
|
16
|
+
*/
|
|
17
|
+
actionStore: ActionStore;
|
|
18
|
+
/**
|
|
19
|
+
* Observable of he anmation state
|
|
20
|
+
*/
|
|
21
|
+
animation$: BehaviorSubject<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Observable of the toolbar
|
|
24
|
+
*/
|
|
25
|
+
toolbar$: BehaviorSubject<string[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the Toolbar should display actions' titles
|
|
28
|
+
*/
|
|
29
|
+
toolbarWithTitle$: Observable<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* Subscription to the active tool
|
|
32
|
+
*/
|
|
33
|
+
private activeTool$$;
|
|
34
|
+
/**
|
|
35
|
+
* Subscription to the toolbar
|
|
36
|
+
*/
|
|
37
|
+
private toolbar$$;
|
|
38
|
+
/**
|
|
39
|
+
* Observable of the ongoing animation. This is useful when
|
|
40
|
+
* multiple animations are triggered at once i.e. when the user clicks
|
|
41
|
+
* too fast on different actions
|
|
42
|
+
*/
|
|
43
|
+
private animating$;
|
|
44
|
+
/**
|
|
45
|
+
* Subscription to the ongoing animation
|
|
46
|
+
*/
|
|
47
|
+
private animating$$;
|
|
48
|
+
/**
|
|
49
|
+
* Toolbox
|
|
50
|
+
*/
|
|
51
|
+
toolbox: Toolbox;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the toolbox should animate the first tool entering
|
|
54
|
+
*/
|
|
55
|
+
animate: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Color of Toolbox
|
|
58
|
+
*/
|
|
59
|
+
color: ToolboxColor;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
63
|
+
get classColorGrey(): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
|
+
*/
|
|
67
|
+
get classColorPrimary(): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Initialize the toolbar and subscribe to the active tool
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
ngOnInit(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Unsubscribe to the active tool and destroy the action store
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
ngOnDestroy(): void;
|
|
78
|
+
/**
|
|
79
|
+
* Track the starting animation
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
onAnimationStart(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Untrack the completed animation
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
onAnimationComplete(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Return a tool's inputs
|
|
90
|
+
* @param tool Tool
|
|
91
|
+
* @returns Tool inputs
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
getToolInputs(tool: Tool): {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Initialize an action store
|
|
99
|
+
* @param toolbar Toolbar
|
|
100
|
+
*/
|
|
101
|
+
private onToolbarChange;
|
|
102
|
+
/**
|
|
103
|
+
* Activate a tool and trigger an animation or not
|
|
104
|
+
* @param tool Tool to activate
|
|
105
|
+
*/
|
|
106
|
+
private onActiveToolChange;
|
|
107
|
+
/**
|
|
108
|
+
* Set the active tool
|
|
109
|
+
* @param tool Tool to activate
|
|
110
|
+
*/
|
|
111
|
+
private setActiveTool;
|
|
112
|
+
/**
|
|
113
|
+
* Initialize the toolbar
|
|
114
|
+
*/
|
|
115
|
+
private setToolbar;
|
|
116
|
+
/**
|
|
117
|
+
* Observe the ongoing animation and ignore any incoming animation
|
|
118
|
+
* while one is still ongoing.
|
|
119
|
+
* @param callback Callback to execute when the animation completes
|
|
120
|
+
*/
|
|
121
|
+
private onAnimate;
|
|
122
|
+
/**
|
|
123
|
+
* Stop observing an animation when it's complete
|
|
124
|
+
*/
|
|
125
|
+
private unAnimate;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxComponent, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "igo-toolbox", never, { "toolbox": { "alias": "toolbox"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
128
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin igo-toolbox-theming($theme) {
|
|
5
|
+
@include color($theme);
|
|
6
|
+
@include density($theme);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin color($theme) {
|
|
10
|
+
$primary: map.get($theme, primary);
|
|
11
|
+
$accent: map.get($theme, accent);
|
|
12
|
+
$foreground: map.get($theme, foreground);
|
|
13
|
+
$darker-contrast: mat.get-color-from-palette($primary, darker-contrast);
|
|
14
|
+
$lighter-contrast: mat.get-color-from-palette($primary, lighter-contrast);
|
|
15
|
+
|
|
16
|
+
igo-toolbox {
|
|
17
|
+
&.color-primary > igo-actionbar:not(.with-title) {
|
|
18
|
+
box-shadow: unset;
|
|
19
|
+
background-color: mat.get-color-from-palette($primary);
|
|
20
|
+
#lowChevron,
|
|
21
|
+
#topChevron {
|
|
22
|
+
background-color: mat.get-color-from-palette($primary);
|
|
23
|
+
color: white;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.color-grey > igo-actionbar:not(.with-title) {
|
|
28
|
+
box-shadow: unset;
|
|
29
|
+
background-color: #737475;
|
|
30
|
+
#lowChevron,
|
|
31
|
+
#topChevron {
|
|
32
|
+
background-color: #737475;
|
|
33
|
+
color: white;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.color-primary,
|
|
38
|
+
&.color-grey {
|
|
39
|
+
& > igo-actionbar:not(.with-title) mat-list.mat-mdc-list-base {
|
|
40
|
+
.mat-mdc-list-item.mdc-list-item--with-leading-avatar {
|
|
41
|
+
color: white;
|
|
42
|
+
&:hover {
|
|
43
|
+
color: black;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.tool-activated,
|
|
47
|
+
&.children-tool-activated {
|
|
48
|
+
background-color: white;
|
|
49
|
+
color: black;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
> igo-actionbar {
|
|
56
|
+
&:not(.with-title) {
|
|
57
|
+
> mat-list {
|
|
58
|
+
& > #lowChevron,
|
|
59
|
+
& > #topChevron {
|
|
60
|
+
&:hover {
|
|
61
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
62
|
+
color: black;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
mat-list-item {
|
|
67
|
+
color: $lighter-contrast;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
|
|
73
|
+
&:hover {
|
|
74
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.tool-activated,
|
|
78
|
+
&.children-tool-activated {
|
|
79
|
+
color: $lighter-contrast;
|
|
80
|
+
background-color: $darker-contrast;
|
|
81
|
+
|
|
82
|
+
button {
|
|
83
|
+
cursor: default;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@mixin density($theme) {
|
|
92
|
+
$density: mat.get-density-config($theme);
|
|
93
|
+
$theme: map.merge(
|
|
94
|
+
$theme,
|
|
95
|
+
(
|
|
96
|
+
density: $density - 2
|
|
97
|
+
)
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
igo-toolbox {
|
|
101
|
+
igo-actionbar-item {
|
|
102
|
+
@include mat.list-density($theme);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
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
|
+
}
|