@igo2/common 16.3.0 → 17.0.0-next.10
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/action/action.module.d.ts +10 -0
- package/action/actionbar/actionbar-item.component.d.ts +75 -0
- package/action/actionbar/actionbar.component.d.ts +148 -0
- package/action/actionbar/actionbar.module.d.ts +10 -0
- package/action/index.d.ts +5 -0
- package/action/public_api.d.ts +4 -0
- package/action/shared/action.interfaces.d.ts +18 -0
- package/action/shared/store.d.ts +8 -0
- package/action/src/action.theming.scss +5 -0
- package/action/src/actionbar/actionbar-item.theming.scss +32 -0
- package/action/src/actionbar/actionbar.theming.scss +22 -0
- package/backdrop/backdrop.component.d.ts +9 -0
- package/backdrop/backdrop.module.d.ts +12 -0
- package/backdrop/index.d.ts +5 -0
- package/backdrop/public_api.d.ts +2 -0
- package/badge/badge-icon.directive.d.ts +34 -0
- package/badge/badge-icon.module.d.ts +12 -0
- package/badge/index.d.ts +5 -0
- package/badge/public_api.d.ts +2 -0
- package/clickout/clickout.directive.d.ts +10 -0
- package/clickout/clickout.module.d.ts +12 -0
- package/clickout/index.d.ts +5 -0
- package/clickout/public_api.d.ts +2 -0
- package/clone/clone.module.d.ts +12 -0
- package/clone/clone.pipe.d.ts +7 -0
- package/clone/index.d.ts +5 -0
- package/clone/public_api.d.ts +2 -0
- package/collapsible/collapse.directive.d.ts +19 -0
- package/collapsible/collapsible.component.d.ts +13 -0
- package/collapsible/collapsible.module.d.ts +13 -0
- package/collapsible/index.d.ts +5 -0
- package/collapsible/public_api.d.ts +6 -0
- package/collapsible/src/collapsible.theming.scss +22 -0
- package/color/color-picker-form-field/color-picker-form-field.component.d.ts +29 -0
- package/color/color-picker-form-field/color-picker-form-field.module.d.ts +10 -0
- package/color/color-picker-form-field/index.d.ts +2 -0
- package/color/index.d.ts +5 -0
- package/color/public_api.d.ts +1 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +12 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +12 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/confirm-dialog/public_api.d.ts +4 -0
- package/context-menu/context-menu.directive.d.ts +21 -0
- package/context-menu/context-menu.module.d.ts +13 -0
- package/context-menu/index.d.ts +5 -0
- package/context-menu/long-press.directive.d.ts +20 -0
- package/context-menu/public_api.d.ts +6 -0
- package/custom-html/custom-html.component.d.ts +9 -0
- package/custom-html/custom-html.module.d.ts +13 -0
- package/custom-html/custom-html.pipe.d.ts +10 -0
- package/custom-html/index.d.ts +5 -0
- package/custom-html/public_api.d.ts +6 -0
- package/dom/dom.module.d.ts +14 -0
- package/dom/index.d.ts +5 -0
- package/dom/public_api.d.ts +3 -0
- package/drag-drop/drag-drop.directive.d.ts +14 -0
- package/drag-drop/drag-drop.module.d.ts +12 -0
- package/drag-drop/index.d.ts +5 -0
- package/drag-drop/public_api.d.ts +2 -0
- package/dynamic-component/dynamic-component.module.d.ts +10 -0
- package/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +70 -0
- package/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +10 -0
- package/dynamic-component/index.d.ts +5 -0
- package/dynamic-component/public_api.d.ts +4 -0
- package/entity/entity-selector/entity-selector.component.d.ts +93 -0
- package/entity/entity-selector/entity-selector.module.d.ts +10 -0
- package/entity/entity-selector/index.d.ts +2 -0
- package/entity/entity-table/entity-table-row.directive.d.ts +69 -0
- package/entity/entity-table/entity-table.component.d.ts +342 -0
- package/entity/entity-table/entity-table.module.d.ts +10 -0
- package/entity/entity-table/index.d.ts +2 -0
- package/entity/entity-table-paginator/entity-table-paginator.component.d.ts +50 -0
- package/entity/entity-table-paginator/entity-table-paginator.module.d.ts +10 -0
- package/entity/entity-table-paginator/index.d.ts +3 -0
- package/entity/entity.module.d.ts +16 -0
- package/entity/index.d.ts +5 -0
- package/entity/public_api.d.ts +5 -0
- package/entity/shared/entity.interfaces.d.ts +102 -0
- package/entity/shared/transaction.d.ts +179 -0
- package/entity/src/entity-selector/entity-selector.theming.scss +21 -0
- package/entity/src/entity-table/entity-table.theming.scss +37 -0
- package/entity/src/entity.theming.scss +7 -0
- package/environment/index.d.ts +5 -0
- package/esm2022/action/action.module.mjs +19 -0
- package/esm2022/action/actionbar/actionbar-item.component.mjs +192 -0
- package/esm2022/action/actionbar/actionbar.component.mjs +277 -0
- package/esm2022/action/actionbar/actionbar.module.mjs +19 -0
- package/esm2022/action/igo2-common-action.mjs +5 -0
- package/esm2022/action/public_api.mjs +5 -0
- package/esm2022/action/shared/action.enums.mjs +7 -0
- package/esm2022/action/shared/action.interfaces.mjs +2 -0
- package/esm2022/action/shared/index.mjs +4 -0
- package/esm2022/action/shared/store.mjs +8 -0
- package/esm2022/backdrop/backdrop.component.mjs +22 -0
- package/esm2022/backdrop/backdrop.module.mjs +25 -0
- package/esm2022/backdrop/igo2-common-backdrop.mjs +5 -0
- package/esm2022/backdrop/public_api.mjs +3 -0
- package/esm2022/badge/badge-icon.directive.mjs +149 -0
- package/esm2022/badge/badge-icon.module.mjs +25 -0
- package/esm2022/badge/igo2-common-badge.mjs +5 -0
- package/esm2022/badge/public_api.mjs +3 -0
- package/esm2022/clickout/clickout.directive.mjs +32 -0
- package/esm2022/clickout/clickout.module.mjs +25 -0
- package/esm2022/clickout/igo2-common-clickout.mjs +5 -0
- package/esm2022/clickout/public_api.mjs +3 -0
- package/esm2022/clone/clone.module.mjs +25 -0
- package/esm2022/clone/clone.pipe.mjs +25 -0
- package/esm2022/clone/igo2-common-clone.mjs +5 -0
- package/esm2022/clone/public_api.mjs +3 -0
- package/esm2022/collapsible/collapse.directive.mjs +57 -0
- package/esm2022/collapsible/collapsible.component.mjs +38 -0
- package/esm2022/collapsible/collapsible.module.mjs +26 -0
- package/esm2022/collapsible/igo2-common-collapsible.mjs +5 -0
- package/esm2022/collapsible/public_api.mjs +10 -0
- package/esm2022/color/color-picker-form-field/color-picker-form-field.component.mjs +104 -0
- package/esm2022/color/color-picker-form-field/color-picker-form-field.module.mjs +19 -0
- package/esm2022/color/color-picker-form-field/index.mjs +3 -0
- package/esm2022/color/igo2-common-color.mjs +5 -0
- package/esm2022/color/public_api.mjs +2 -0
- package/esm2022/confirm-dialog/confirm-dialog.component.mjs +31 -0
- package/esm2022/confirm-dialog/confirm-dialog.interface.mjs +2 -0
- package/esm2022/confirm-dialog/confirm-dialog.module.mjs +27 -0
- package/esm2022/confirm-dialog/confirm-dialog.service.mjs +35 -0
- package/esm2022/confirm-dialog/igo2-common-confirm-dialog.mjs +5 -0
- package/esm2022/confirm-dialog/public_api.mjs +5 -0
- package/esm2022/context-menu/context-menu.directive.mjs +109 -0
- package/esm2022/context-menu/context-menu.module.mjs +26 -0
- package/esm2022/context-menu/igo2-common-context-menu.mjs +5 -0
- package/esm2022/context-menu/long-press.directive.mjs +66 -0
- package/esm2022/context-menu/public_api.mjs +10 -0
- package/esm2022/custom-html/custom-html.component.mjs +22 -0
- package/esm2022/custom-html/custom-html.module.mjs +25 -0
- package/esm2022/custom-html/custom-html.pipe.mjs +23 -0
- package/esm2022/custom-html/igo2-common-custom-html.mjs +5 -0
- package/esm2022/custom-html/public_api.mjs +10 -0
- package/esm2022/dom/dom.interfaces.mjs +2 -0
- package/esm2022/dom/dom.module.mjs +27 -0
- package/esm2022/dom/dom.service.mjs +35 -0
- package/esm2022/dom/igo2-common-dom.mjs +5 -0
- package/esm2022/dom/public_api.mjs +4 -0
- package/esm2022/drag-drop/drag-drop.directive.mjs +82 -0
- package/esm2022/drag-drop/drag-drop.module.mjs +25 -0
- package/esm2022/drag-drop/igo2-common-drag-drop.mjs +5 -0
- package/esm2022/drag-drop/public_api.mjs +3 -0
- package/esm2022/dynamic-component/dynamic-component.module.mjs +19 -0
- package/esm2022/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +129 -0
- package/esm2022/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +19 -0
- package/esm2022/dynamic-component/igo2-common-dynamic-component.mjs +5 -0
- package/esm2022/dynamic-component/public_api.mjs +5 -0
- package/esm2022/dynamic-component/shared/dynamic-component.interfaces.mjs +2 -0
- package/esm2022/dynamic-component/shared/dynamic-component.mjs +183 -0
- package/esm2022/dynamic-component/shared/dynamic-component.service.mjs +30 -0
- package/esm2022/dynamic-component/shared/index.mjs +4 -0
- package/esm2022/entity/entity-selector/entity-selector.component.mjs +174 -0
- package/esm2022/entity/entity-selector/entity-selector.module.mjs +19 -0
- package/esm2022/entity/entity-selector/index.mjs +3 -0
- package/esm2022/entity/entity-table/entity-table-row.directive.mjs +138 -0
- package/esm2022/entity/entity-table/entity-table.component.mjs +883 -0
- package/esm2022/entity/entity-table/entity-table.module.mjs +19 -0
- package/esm2022/entity/entity-table/index.mjs +3 -0
- package/esm2022/entity/entity-table-paginator/entity-table-paginator.component.mjs +158 -0
- package/esm2022/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -0
- package/esm2022/entity/entity-table-paginator/entity-table-paginator.module.mjs +19 -0
- package/esm2022/entity/entity-table-paginator/index.mjs +4 -0
- package/esm2022/entity/entity.module.mjs +30 -0
- package/esm2022/entity/igo2-common-entity.mjs +5 -0
- package/esm2022/entity/public_api.mjs +6 -0
- package/esm2022/entity/shared/entity.enums.mjs +28 -0
- package/esm2022/entity/shared/entity.interfaces.mjs +2 -0
- package/esm2022/entity/shared/entity.utils.mjs +73 -0
- package/esm2022/entity/shared/index.mjs +10 -0
- package/esm2022/entity/shared/state.mjs +194 -0
- package/esm2022/entity/shared/store.mjs +322 -0
- package/esm2022/entity/shared/strategies/filter-custom-function.mjs +80 -0
- package/esm2022/entity/shared/strategies/filter-selection.mjs +81 -0
- package/esm2022/entity/shared/strategies/index.mjs +4 -0
- package/esm2022/entity/shared/strategies/strategy.mjs +78 -0
- package/esm2022/entity/shared/transaction.mjs +329 -0
- package/esm2022/entity/shared/view.mjs +330 -0
- package/esm2022/entity/shared/watcher.mjs +135 -0
- package/esm2022/environment/environment.interface.mjs +2 -0
- package/esm2022/environment/igo2-common-environment.mjs +5 -0
- package/esm2022/environment/public_api.mjs +2 -0
- package/esm2022/flexible/flexible.component.mjs +135 -0
- package/esm2022/flexible/flexible.module.mjs +25 -0
- package/esm2022/flexible/flexible.type.mjs +2 -0
- package/esm2022/flexible/igo2-common-flexible.mjs +5 -0
- package/esm2022/flexible/public_api.mjs +4 -0
- package/esm2022/form/form/form.component.mjs +103 -0
- package/esm2022/form/form/form.module.mjs +19 -0
- package/esm2022/form/form/index.mjs +3 -0
- package/esm2022/form/form-dialog/form-dialog.component.mjs +94 -0
- package/esm2022/form/form-dialog/form-dialog.interface.mjs +2 -0
- package/esm2022/form/form-dialog/form-dialog.module.mjs +31 -0
- package/esm2022/form/form-dialog/form-dialog.service.mjs +30 -0
- package/esm2022/form/form-dialog/index.mjs +5 -0
- package/esm2022/form/form-field/form-field-select.component.mjs +117 -0
- package/esm2022/form/form-field/form-field-text.component.mjs +126 -0
- package/esm2022/form/form-field/form-field-textarea.component.mjs +95 -0
- package/esm2022/form/form-field/form-field.component.mjs +65 -0
- package/esm2022/form/form-field/form-field.directive.mjs +11 -0
- package/esm2022/form/form-field/form-field.module.mjs +23 -0
- package/esm2022/form/form-field/index.mjs +7 -0
- package/esm2022/form/form-group/form-group.component.mjs +82 -0
- package/esm2022/form/form-group/form-group.module.mjs +19 -0
- package/esm2022/form/form-group/index.mjs +3 -0
- package/esm2022/form/form.module.mjs +32 -0
- package/esm2022/form/igo2-common-form.mjs +5 -0
- package/esm2022/form/public_api.mjs +7 -0
- package/esm2022/form/shared/form-field-component.mjs +7 -0
- package/esm2022/form/shared/form-field.service.mjs +29 -0
- package/esm2022/form/shared/form.interfaces.mjs +2 -0
- package/esm2022/form/shared/form.service.mjs +82 -0
- package/esm2022/form/shared/form.utils.mjs +41 -0
- package/esm2022/form/shared/index.mjs +6 -0
- package/esm2022/home-button/home-button.component.mjs +26 -0
- package/esm2022/home-button/home-button.module.mjs +19 -0
- package/esm2022/home-button/igo2-common-home-button.mjs +5 -0
- package/esm2022/home-button/public_api.mjs +3 -0
- package/esm2022/icon/icon/icon.component.mjs +38 -0
- package/esm2022/icon/icon.provider.mjs +14 -0
- package/esm2022/icon/igo2-common-icon.mjs +5 -0
- package/esm2022/icon/public_api.mjs +4 -0
- package/esm2022/icon/shared/icon.interface.mjs +2 -0
- package/esm2022/icon/shared/icon.service.mjs +26 -0
- package/esm2022/icon/shared/icons.mjs +32 -0
- package/esm2022/icon/shared/index.mjs +4 -0
- package/esm2022/image/igo2-common-image.mjs +5 -0
- package/esm2022/image/image-error.directive.mjs +35 -0
- package/esm2022/image/image.module.mjs +26 -0
- package/esm2022/image/public_api.mjs +7 -0
- package/esm2022/image/secure-image.pipe.mjs +66 -0
- package/esm2022/interactive-tour/igo2-common-interactive-tour.mjs +5 -0
- package/esm2022/interactive-tour/interactive-tour.component.mjs +133 -0
- package/esm2022/interactive-tour/interactive-tour.interface.mjs +2 -0
- package/esm2022/interactive-tour/interactive-tour.loader.mjs +49 -0
- package/esm2022/interactive-tour/interactive-tour.module.mjs +19 -0
- package/esm2022/interactive-tour/interactive-tour.service.mjs +303 -0
- package/esm2022/interactive-tour/public_api.mjs +6 -0
- package/esm2022/json-dialog/igo2-common-json-dialog.mjs +5 -0
- package/esm2022/json-dialog/json-dialog.component.mjs +38 -0
- package/esm2022/json-dialog/json-dialog.module.mjs +26 -0
- package/esm2022/json-dialog/json-dialog.service.mjs +26 -0
- package/esm2022/json-dialog/public_api.mjs +4 -0
- package/esm2022/keyvalue/igo2-common-keyvalue.mjs +5 -0
- package/esm2022/keyvalue/keyvalue.module.mjs +25 -0
- package/esm2022/keyvalue/keyvalue.pipe.mjs +19 -0
- package/esm2022/keyvalue/public_api.mjs +3 -0
- package/esm2022/list/igo2-common-list.mjs +5 -0
- package/esm2022/list/list-item.directive.mjs +166 -0
- package/esm2022/list/list.component.mjs +252 -0
- package/esm2022/list/list.module.mjs +26 -0
- package/esm2022/list/public_api.mjs +7 -0
- package/esm2022/panel/igo2-common-panel.mjs +5 -0
- package/esm2022/panel/panel.component.mjs +30 -0
- package/esm2022/panel/panel.module.mjs +19 -0
- package/esm2022/panel/public_api.mjs +3 -0
- package/esm2022/public_api.mjs +17 -78
- package/esm2022/select-value-dialog/igo2-common-select-value-dialog.mjs +5 -0
- package/esm2022/select-value-dialog/public_api.mjs +6 -0
- package/esm2022/select-value-dialog/select-value-check-radio-dialog.component.mjs +103 -0
- package/esm2022/select-value-dialog/select-value-dialog.enums.mjs +6 -0
- package/esm2022/select-value-dialog/select-value-dialog.interface.mjs +2 -0
- package/esm2022/select-value-dialog/select-value-dialog.module.mjs +27 -0
- package/esm2022/select-value-dialog/select-value-dialog.service.mjs +29 -0
- package/esm2022/sidenav/igo2-common-sidenav.mjs +5 -0
- package/esm2022/sidenav/public_api.mjs +3 -0
- package/esm2022/sidenav/sidenav-shim.directive.mjs +58 -0
- package/esm2022/sidenav/sidenav.module.mjs +25 -0
- package/esm2022/spinner/igo2-common-spinner.mjs +5 -0
- package/esm2022/spinner/public_api.mjs +4 -0
- package/esm2022/spinner/spinner-activity.directive.mjs +56 -0
- package/esm2022/spinner/spinner.component.mjs +30 -0
- package/esm2022/spinner/spinner.module.mjs +26 -0
- package/esm2022/stop-propagation/igo2-common-stop-propagation.mjs +5 -0
- package/esm2022/stop-propagation/public_api.mjs +10 -0
- package/esm2022/stop-propagation/stop-drop-propagation.directive.mjs +21 -0
- package/esm2022/stop-propagation/stop-propagation.directive.mjs +20 -0
- package/esm2022/stop-propagation/stop-propagation.module.mjs +26 -0
- package/esm2022/table/igo2-common-table.mjs +5 -0
- package/esm2022/table/public_api.mjs +7 -0
- package/esm2022/table/table-action-color.enum.mjs +7 -0
- package/esm2022/table/table-database.mjs +28 -0
- package/esm2022/table/table-datasource.mjs +64 -0
- package/esm2022/table/table-model.interface.mjs +2 -0
- package/esm2022/table/table.component.mjs +143 -0
- package/esm2022/table/table.module.mjs +25 -0
- package/esm2022/tool/igo2-common-tool.mjs +5 -0
- package/esm2022/tool/public_api.mjs +4 -0
- package/esm2022/tool/shared/index.mjs +6 -0
- package/esm2022/tool/shared/tool-component.mjs +9 -0
- package/esm2022/tool/shared/tool.interface.mjs +2 -0
- package/esm2022/tool/shared/tool.service.mjs +43 -0
- package/esm2022/tool/shared/toolbox.enums.mjs +2 -0
- package/esm2022/tool/shared/toolbox.mjs +192 -0
- package/esm2022/tool/tool.module.mjs +28 -0
- package/esm2022/tool/toolbox/index.mjs +3 -0
- package/esm2022/tool/toolbox/toolbox.animation.mjs +10 -0
- package/esm2022/tool/toolbox/toolbox.component.mjs +241 -0
- package/esm2022/tool/toolbox/toolbox.module.mjs +19 -0
- package/esm2022/widget/igo2-common-widget.mjs +5 -0
- package/esm2022/widget/public_api.mjs +4 -0
- package/esm2022/widget/shared/index.mjs +4 -0
- package/esm2022/widget/shared/widget.interfaces.mjs +2 -0
- package/esm2022/widget/shared/widget.mjs +4 -0
- package/esm2022/widget/shared/widget.service.mjs +22 -0
- package/esm2022/widget/widget-outlet/index.mjs +3 -0
- package/esm2022/widget/widget-outlet/widget-outlet.component.mjs +113 -0
- package/esm2022/widget/widget-outlet/widget-outlet.module.mjs +19 -0
- package/esm2022/widget/widget.module.mjs +22 -0
- package/esm2022/workspace/igo2-common-workspace.mjs +5 -0
- package/esm2022/workspace/public_api.mjs +5 -0
- package/esm2022/workspace/shared/index.mjs +4 -0
- package/esm2022/workspace/shared/store.mjs +37 -0
- package/esm2022/workspace/shared/workspace.interfaces.mjs +2 -0
- package/esm2022/workspace/shared/workspace.mjs +143 -0
- package/esm2022/workspace/workspace-selector/index.mjs +3 -0
- package/esm2022/workspace/workspace-selector/workspace-selector.component.mjs +51 -0
- package/esm2022/workspace/workspace-selector/workspace-selector.module.mjs +19 -0
- package/esm2022/workspace/workspace-widget-outlet/index.mjs +3 -0
- package/esm2022/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +74 -0
- package/esm2022/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +19 -0
- package/esm2022/workspace/workspace.module.mjs +27 -0
- package/fesm2022/igo2-common-action.mjs +505 -0
- package/fesm2022/igo2-common-action.mjs.map +1 -0
- package/fesm2022/igo2-common-backdrop.mjs +51 -0
- package/fesm2022/igo2-common-backdrop.mjs.map +1 -0
- package/fesm2022/igo2-common-badge.mjs +178 -0
- package/fesm2022/igo2-common-badge.mjs.map +1 -0
- package/fesm2022/igo2-common-clickout.mjs +61 -0
- package/fesm2022/igo2-common-clickout.mjs.map +1 -0
- package/fesm2022/igo2-common-clone.mjs +54 -0
- package/fesm2022/igo2-common-clone.mjs.map +1 -0
- package/fesm2022/igo2-common-collapsible.mjs +126 -0
- package/fesm2022/igo2-common-collapsible.mjs.map +1 -0
- package/fesm2022/igo2-common-color.mjs +127 -0
- package/fesm2022/igo2-common-color.mjs.map +1 -0
- package/fesm2022/igo2-common-confirm-dialog.mjs +91 -0
- package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -0
- package/fesm2022/igo2-common-context-menu.mjs +206 -0
- package/fesm2022/igo2-common-context-menu.mjs.map +1 -0
- package/fesm2022/igo2-common-custom-html.mjs +74 -0
- package/fesm2022/igo2-common-custom-html.mjs.map +1 -0
- package/fesm2022/igo2-common-dom.mjs +65 -0
- package/fesm2022/igo2-common-dom.mjs.map +1 -0
- package/fesm2022/igo2-common-drag-drop.mjs +111 -0
- package/fesm2022/igo2-common-drag-drop.mjs.map +1 -0
- package/fesm2022/igo2-common-dynamic-component.mjs +375 -0
- package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -0
- package/fesm2022/igo2-common-entity.mjs +3036 -0
- package/fesm2022/igo2-common-entity.mjs.map +1 -0
- package/fesm2022/igo2-common-environment.mjs +4 -0
- package/fesm2022/igo2-common-environment.mjs.map +1 -0
- package/fesm2022/igo2-common-flexible.mjs +163 -0
- package/fesm2022/igo2-common-flexible.mjs.map +1 -0
- package/fesm2022/igo2-common-form.mjs +898 -0
- package/fesm2022/igo2-common-form.mjs.map +1 -0
- package/fesm2022/igo2-common-home-button.mjs +49 -0
- package/fesm2022/igo2-common-home-button.mjs.map +1 -0
- package/fesm2022/igo2-common-icon.mjs +108 -0
- package/fesm2022/igo2-common-icon.mjs.map +1 -0
- package/fesm2022/igo2-common-image.mjs +129 -0
- package/fesm2022/igo2-common-image.mjs.map +1 -0
- package/fesm2022/igo2-common-interactive-tour.mjs +490 -0
- package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -0
- package/fesm2022/igo2-common-json-dialog.mjs +88 -0
- package/fesm2022/igo2-common-json-dialog.mjs.map +1 -0
- package/fesm2022/igo2-common-keyvalue.mjs +48 -0
- package/fesm2022/igo2-common-keyvalue.mjs.map +1 -0
- package/fesm2022/igo2-common-list.mjs +446 -0
- package/fesm2022/igo2-common-list.mjs.map +1 -0
- package/fesm2022/igo2-common-panel.mjs +53 -0
- package/fesm2022/igo2-common-panel.mjs.map +1 -0
- package/fesm2022/igo2-common-select-value-dialog.mjs +161 -0
- package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -0
- package/fesm2022/igo2-common-sidenav.mjs +86 -0
- package/fesm2022/igo2-common-sidenav.mjs.map +1 -0
- package/fesm2022/igo2-common-spinner.mjs +110 -0
- package/fesm2022/igo2-common-spinner.mjs.map +1 -0
- package/fesm2022/igo2-common-stop-propagation.mjs +73 -0
- package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -0
- package/fesm2022/igo2-common-table.mjs +264 -0
- package/fesm2022/igo2-common-table.mjs.map +1 -0
- package/fesm2022/igo2-common-tool.mjs +535 -0
- package/fesm2022/igo2-common-tool.mjs.map +1 -0
- package/fesm2022/igo2-common-widget.mjs +176 -0
- package/fesm2022/igo2-common-widget.mjs.map +1 -0
- package/fesm2022/igo2-common-workspace.mjs +361 -0
- package/fesm2022/igo2-common-workspace.mjs.map +1 -0
- package/fesm2022/igo2-common.mjs +16 -8760
- package/fesm2022/igo2-common.mjs.map +1 -1
- package/flexible/flexible.component.d.ts +41 -0
- package/flexible/flexible.module.d.ts +12 -0
- package/flexible/index.d.ts +5 -0
- package/flexible/public_api.d.ts +3 -0
- package/form/form/form.component.d.ts +53 -0
- package/form/form/form.module.d.ts +10 -0
- package/form/form/index.d.ts +2 -0
- package/form/form-dialog/form-dialog.component.d.ts +23 -0
- package/form/form-dialog/form-dialog.interface.d.ts +18 -0
- package/form/form-dialog/form-dialog.module.d.ts +16 -0
- package/form/form-dialog/index.d.ts +4 -0
- package/form/form-field/form-field-select.component.d.ts +52 -0
- package/form/form-field/form-field-text.component.d.ts +51 -0
- package/form/form-field/form-field-textarea.component.d.ts +41 -0
- package/form/form-field/form-field.component.d.ts +29 -0
- package/form/form-field/form-field.directive.d.ts +5 -0
- package/form/form-field/form-field.module.d.ts +13 -0
- package/form/form-field/index.d.ts +6 -0
- package/form/form-group/form-group.component.d.ts +49 -0
- package/form/form-group/form-group.module.d.ts +10 -0
- package/form/form-group/index.d.ts +2 -0
- package/form/form.module.d.ts +18 -0
- package/form/index.d.ts +5 -0
- package/form/public_api.d.ts +6 -0
- package/home-button/home-button.component.d.ts +9 -0
- package/home-button/home-button.module.d.ts +10 -0
- package/home-button/index.d.ts +5 -0
- package/home-button/public_api.d.ts +2 -0
- package/home-button/src/home-button.theming.scss +18 -0
- package/icon/icon/icon.component.d.ts +14 -0
- package/icon/icon.provider.d.ts +4 -0
- package/icon/index.d.ts +5 -0
- package/icon/public_api.d.ts +3 -0
- package/icon/shared/icon.interface.d.ts +4 -0
- package/icon/shared/icon.service.d.ts +12 -0
- package/icon/shared/icons.d.ts +9 -0
- package/icon/shared/index.d.ts +3 -0
- package/image/image-error.directive.d.ts +11 -0
- package/image/image.module.d.ts +13 -0
- package/image/index.d.ts +5 -0
- package/image/public_api.d.ts +6 -0
- package/image/secure-image.pipe.d.ts +13 -0
- package/interactive-tour/index.d.ts +5 -0
- package/interactive-tour/interactive-tour.component.d.ts +33 -0
- package/interactive-tour/interactive-tour.loader.d.ts +18 -0
- package/interactive-tour/interactive-tour.module.d.ts +7 -0
- package/interactive-tour/interactive-tour.service.d.ts +31 -0
- package/interactive-tour/public_api.d.ts +5 -0
- package/interactive-tour/src/interactive-tour.theming.scss +32 -0
- package/json-dialog/index.d.ts +5 -0
- package/json-dialog/json-dialog.component.d.ts +13 -0
- package/json-dialog/json-dialog.module.d.ts +12 -0
- package/json-dialog/public_api.d.ts +3 -0
- package/keyvalue/index.d.ts +5 -0
- package/keyvalue/keyvalue.module.d.ts +12 -0
- package/keyvalue/keyvalue.pipe.d.ts +7 -0
- package/keyvalue/public_api.d.ts +2 -0
- package/list/index.d.ts +5 -0
- package/list/list-item.directive.d.ts +43 -0
- package/list/list.component.d.ts +51 -0
- package/list/list.module.d.ts +13 -0
- package/list/public_api.d.ts +6 -0
- package/list/src/list.theming.scss +58 -0
- package/locale/en.common.json +59 -59
- package/locale/fr.common.json +59 -59
- package/package.json +206 -8
- package/panel/index.d.ts +5 -0
- package/panel/panel.component.d.ts +10 -0
- package/panel/panel.module.d.ts +10 -0
- package/panel/public_api.d.ts +2 -0
- package/panel/src/panel.theming.scss +30 -0
- package/public_api.d.ts +16 -77
- package/select-value-dialog/index.d.ts +5 -0
- package/select-value-dialog/public_api.d.ts +5 -0
- package/select-value-dialog/select-value-check-radio-dialog.component.d.ts +25 -0
- package/select-value-dialog/select-value-dialog.module.d.ts +12 -0
- package/sidenav/index.d.ts +5 -0
- package/sidenav/public_api.d.ts +2 -0
- package/sidenav/sidenav-shim.directive.d.ts +20 -0
- package/sidenav/sidenav.module.d.ts +12 -0
- package/spinner/index.d.ts +5 -0
- package/spinner/public_api.d.ts +3 -0
- package/spinner/spinner-activity.directive.d.ts +32 -0
- package/spinner/spinner.component.d.ts +12 -0
- package/spinner/spinner.module.d.ts +14 -0
- package/src/common-theme.scss +19 -19
- package/src/style/partial/common-utils.scss +9 -9
- package/src/style/partial/common.variables.scss +8 -8
- package/src/style/style.scss +1 -1
- package/stop-propagation/index.d.ts +5 -0
- package/stop-propagation/public_api.d.ts +6 -0
- package/stop-propagation/stop-drop-propagation.directive.d.ts +6 -0
- package/stop-propagation/stop-propagation.directive.d.ts +6 -0
- package/stop-propagation/stop-propagation.module.d.ts +13 -0
- package/table/index.d.ts +5 -0
- package/table/public_api.d.ts +6 -0
- package/table/table.component.d.ts +40 -0
- package/table/table.module.d.ts +12 -0
- package/tool/index.d.ts +5 -0
- package/tool/public_api.d.ts +3 -0
- package/tool/shared/tool.interface.d.ts +18 -0
- package/tool/shared/toolbox.d.ts +98 -0
- package/tool/shared/toolbox.enums.d.ts +1 -0
- package/tool/src/tool.theming.scss +5 -0
- package/tool/src/toolbox/toolbox.theming.scss +105 -0
- package/tool/tool.module.d.ts +15 -0
- package/tool/toolbox/index.d.ts +2 -0
- package/tool/toolbox/toolbox.component.d.ts +128 -0
- package/tool/toolbox/toolbox.module.d.ts +10 -0
- package/widget/index.d.ts +5 -0
- package/widget/public_api.d.ts +3 -0
- package/widget/shared/widget.d.ts +4 -0
- package/widget/shared/widget.service.d.ts +10 -0
- package/widget/widget-outlet/index.d.ts +2 -0
- package/widget/widget-outlet/widget-outlet.component.d.ts +71 -0
- package/widget/widget-outlet/widget-outlet.module.d.ts +10 -0
- package/widget/widget.module.d.ts +10 -0
- package/workspace/index.d.ts +5 -0
- package/workspace/public_api.d.ts +4 -0
- package/workspace/shared/store.d.ts +20 -0
- package/workspace/shared/workspace.d.ts +108 -0
- package/workspace/shared/workspace.interfaces.d.ts +11 -0
- package/workspace/workspace-selector/index.d.ts +2 -0
- package/workspace/workspace-selector/workspace-selector.component.d.ts +38 -0
- package/workspace/workspace-selector/workspace-selector.module.d.ts +10 -0
- package/workspace/workspace-widget-outlet/index.d.ts +2 -0
- package/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +57 -0
- package/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +10 -0
- package/workspace/workspace.module.d.ts +14 -0
- package/esm2022/lib/action/action.module.mjs +0 -19
- package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +0 -190
- package/esm2022/lib/action/actionbar/actionbar.component.mjs +0 -258
- package/esm2022/lib/action/actionbar/actionbar.module.mjs +0 -56
- package/esm2022/lib/action/index.mjs +0 -3
- package/esm2022/lib/action/shared/action.enums.mjs +0 -7
- package/esm2022/lib/action/shared/action.interfaces.mjs +0 -2
- package/esm2022/lib/action/shared/index.mjs +0 -4
- package/esm2022/lib/action/shared/store.mjs +0 -8
- package/esm2022/lib/backdrop/backdrop.component.mjs +0 -22
- package/esm2022/lib/backdrop/backdrop.module.mjs +0 -24
- package/esm2022/lib/backdrop/index.mjs +0 -2
- package/esm2022/lib/badge-icon/badge-icon.directive.mjs +0 -150
- package/esm2022/lib/badge-icon/badge-icon.module.mjs +0 -25
- package/esm2022/lib/badge-icon/index.mjs +0 -2
- package/esm2022/lib/clickout/clickout.directive.mjs +0 -31
- package/esm2022/lib/clickout/clickout.module.mjs +0 -23
- package/esm2022/lib/clickout/index.mjs +0 -2
- package/esm2022/lib/clone/clone.module.mjs +0 -23
- package/esm2022/lib/clone/clone.pipe.mjs +0 -24
- package/esm2022/lib/clone/index.mjs +0 -2
- package/esm2022/lib/collapsible/collapse.directive.mjs +0 -56
- package/esm2022/lib/collapsible/collapsible.component.mjs +0 -36
- package/esm2022/lib/collapsible/collapsible.module.mjs +0 -26
- package/esm2022/lib/collapsible/index.mjs +0 -3
- package/esm2022/lib/color-picker-form-field/color-picker-form-field.component.mjs +0 -91
- package/esm2022/lib/color-picker-form-field/color-picker-form-field.module.mjs +0 -51
- package/esm2022/lib/color-picker-form-field/index.mjs +0 -2
- package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +0 -23
- package/esm2022/lib/confirm-dialog/confirm-dialog.interface.mjs +0 -2
- package/esm2022/lib/confirm-dialog/confirm-dialog.module.mjs +0 -28
- package/esm2022/lib/confirm-dialog/confirm-dialog.service.mjs +0 -34
- package/esm2022/lib/confirm-dialog/index.mjs +0 -4
- package/esm2022/lib/context-menu/context-menu.directive.mjs +0 -108
- package/esm2022/lib/context-menu/context-menu.module.mjs +0 -24
- package/esm2022/lib/context-menu/index.mjs +0 -3
- package/esm2022/lib/context-menu/long-press.directive.mjs +0 -65
- package/esm2022/lib/custom-html/custom-html.component.mjs +0 -22
- package/esm2022/lib/custom-html/custom-html.module.mjs +0 -46
- package/esm2022/lib/custom-html/custom-html.pipe.mjs +0 -20
- package/esm2022/lib/custom-html/index.mjs +0 -3
- package/esm2022/lib/dom/dom.interfaces.mjs +0 -2
- package/esm2022/lib/dom/dom.module.mjs +0 -21
- package/esm2022/lib/dom/dom.service.mjs +0 -35
- package/esm2022/lib/dom/index.mjs +0 -3
- package/esm2022/lib/drag-drop/drag-drop.directive.mjs +0 -81
- package/esm2022/lib/drag-drop/drag-drop.module.mjs +0 -23
- package/esm2022/lib/drag-drop/index.mjs +0 -2
- package/esm2022/lib/dynamic-component/dynamic-component.module.mjs +0 -19
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +0 -129
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +0 -21
- package/esm2022/lib/dynamic-component/index.mjs +0 -3
- package/esm2022/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +0 -2
- package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +0 -183
- package/esm2022/lib/dynamic-component/shared/dynamic-component.service.mjs +0 -30
- package/esm2022/lib/dynamic-component/shared/index.mjs +0 -4
- package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +0 -164
- package/esm2022/lib/entity/entity-selector/entity-selector.module.mjs +0 -23
- package/esm2022/lib/entity/entity-table/entity-table-row.directive.mjs +0 -137
- package/esm2022/lib/entity/entity-table/entity-table.component.mjs +0 -842
- package/esm2022/lib/entity/entity-table/entity-table.module.mjs +0 -95
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +0 -156
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +0 -2
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +0 -21
- package/esm2022/lib/entity/entity.module.mjs +0 -28
- package/esm2022/lib/entity/index.mjs +0 -6
- package/esm2022/lib/entity/shared/entity.enums.mjs +0 -28
- package/esm2022/lib/entity/shared/entity.interfaces.mjs +0 -2
- package/esm2022/lib/entity/shared/entity.utils.mjs +0 -73
- package/esm2022/lib/entity/shared/index.mjs +0 -10
- package/esm2022/lib/entity/shared/state.mjs +0 -194
- package/esm2022/lib/entity/shared/store.mjs +0 -322
- package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +0 -80
- package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +0 -81
- package/esm2022/lib/entity/shared/strategies/index.mjs +0 -4
- package/esm2022/lib/entity/shared/strategies/strategy.mjs +0 -78
- package/esm2022/lib/entity/shared/transaction.mjs +0 -329
- package/esm2022/lib/entity/shared/view.mjs +0 -330
- package/esm2022/lib/entity/shared/watcher.mjs +0 -135
- package/esm2022/lib/environment/environment.interface.mjs +0 -2
- package/esm2022/lib/environment/index.mjs +0 -2
- package/esm2022/lib/flexible/flexible.component.mjs +0 -135
- package/esm2022/lib/flexible/flexible.module.mjs +0 -23
- package/esm2022/lib/flexible/flexible.type.mjs +0 -2
- package/esm2022/lib/flexible/index.mjs +0 -3
- package/esm2022/lib/form/form/form.component.mjs +0 -102
- package/esm2022/lib/form/form/form.module.mjs +0 -22
- package/esm2022/lib/form/form-field/form-field-select.component.mjs +0 -99
- package/esm2022/lib/form/form-field/form-field-text.component.mjs +0 -109
- package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +0 -80
- package/esm2022/lib/form/form-field/form-field.component.mjs +0 -65
- package/esm2022/lib/form/form-field/form-field.module.mjs +0 -77
- package/esm2022/lib/form/form-field/index.mjs +0 -5
- package/esm2022/lib/form/form-group/form-group.component.mjs +0 -73
- package/esm2022/lib/form/form-group/form-group.module.mjs +0 -35
- package/esm2022/lib/form/form.module.mjs +0 -26
- package/esm2022/lib/form/index.mjs +0 -5
- package/esm2022/lib/form/shared/form-field-component.mjs +0 -7
- package/esm2022/lib/form/shared/form-field.service.mjs +0 -29
- package/esm2022/lib/form/shared/form.interfaces.mjs +0 -2
- package/esm2022/lib/form/shared/form.service.mjs +0 -82
- package/esm2022/lib/form/shared/form.utils.mjs +0 -41
- package/esm2022/lib/form/shared/index.mjs +0 -6
- package/esm2022/lib/form-dialog/form-dialog.component.mjs +0 -80
- package/esm2022/lib/form-dialog/form-dialog.interface.mjs +0 -2
- package/esm2022/lib/form-dialog/form-dialog.module.mjs +0 -52
- package/esm2022/lib/form-dialog/form-dialog.service.mjs +0 -30
- package/esm2022/lib/form-dialog/index.mjs +0 -4
- package/esm2022/lib/home-button/home-button.component.mjs +0 -22
- package/esm2022/lib/home-button/home-button.module.mjs +0 -40
- package/esm2022/lib/home-button/index.mjs +0 -2
- package/esm2022/lib/image/image-error.directive.mjs +0 -34
- package/esm2022/lib/image/image.module.mjs +0 -24
- package/esm2022/lib/image/index.mjs +0 -3
- package/esm2022/lib/image/secure-image.pipe.mjs +0 -65
- package/esm2022/lib/interactive-tour/index.mjs +0 -5
- package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +0 -114
- package/esm2022/lib/interactive-tour/interactive-tour.interface.mjs +0 -2
- package/esm2022/lib/interactive-tour/interactive-tour.loader.mjs +0 -49
- package/esm2022/lib/interactive-tour/interactive-tour.module.mjs +0 -39
- package/esm2022/lib/interactive-tour/interactive-tour.service.mjs +0 -299
- package/esm2022/lib/json-dialog/index.mjs +0 -3
- package/esm2022/lib/json-dialog/json-dialog.component.mjs +0 -29
- package/esm2022/lib/json-dialog/json-dialog.module.mjs +0 -28
- package/esm2022/lib/json-dialog/json-dialog.service.mjs +0 -26
- package/esm2022/lib/keyvalue/index.mjs +0 -2
- package/esm2022/lib/keyvalue/keyvalue.module.mjs +0 -23
- package/esm2022/lib/keyvalue/keyvalue.pipe.mjs +0 -18
- package/esm2022/lib/list/index.mjs +0 -3
- package/esm2022/lib/list/list-item.directive.mjs +0 -165
- package/esm2022/lib/list/list.component.mjs +0 -251
- package/esm2022/lib/list/list.module.mjs +0 -28
- package/esm2022/lib/panel/index.mjs +0 -2
- package/esm2022/lib/panel/panel.component.mjs +0 -30
- package/esm2022/lib/panel/panel.module.mjs +0 -18
- package/esm2022/lib/select-value-dialog/index.mjs +0 -5
- package/esm2022/lib/select-value-dialog/select-value-check-radio-dialog.component.mjs +0 -87
- package/esm2022/lib/select-value-dialog/select-value-dialog.enums.mjs +0 -6
- package/esm2022/lib/select-value-dialog/select-value-dialog.interface.mjs +0 -2
- package/esm2022/lib/select-value-dialog/select-value-dialog.module.mjs +0 -59
- package/esm2022/lib/select-value-dialog/select-value-dialog.service.mjs +0 -29
- package/esm2022/lib/sidenav/index.mjs +0 -2
- package/esm2022/lib/sidenav/sidenav-shim.directive.mjs +0 -57
- package/esm2022/lib/sidenav/sidenav.module.mjs +0 -23
- package/esm2022/lib/spinner/index.mjs +0 -3
- package/esm2022/lib/spinner/spinner-activity.directive.mjs +0 -55
- package/esm2022/lib/spinner/spinner.component.mjs +0 -30
- package/esm2022/lib/spinner/spinner.module.mjs +0 -20
- package/esm2022/lib/stop-propagation/index.mjs +0 -3
- package/esm2022/lib/stop-propagation/stop-drop-propagation.directive.mjs +0 -20
- package/esm2022/lib/stop-propagation/stop-propagation.directive.mjs +0 -19
- package/esm2022/lib/stop-propagation/stop-propagation.module.mjs +0 -24
- package/esm2022/lib/table/index.mjs +0 -6
- package/esm2022/lib/table/table-action-color.enum.mjs +0 -7
- package/esm2022/lib/table/table-database.mjs +0 -28
- package/esm2022/lib/table/table-datasource.mjs +0 -64
- package/esm2022/lib/table/table-model.interface.mjs +0 -2
- package/esm2022/lib/table/table.component.mjs +0 -124
- package/esm2022/lib/table/table.module.mjs +0 -66
- package/esm2022/lib/tool/index.mjs +0 -3
- package/esm2022/lib/tool/shared/index.mjs +0 -6
- package/esm2022/lib/tool/shared/tool-component.mjs +0 -9
- package/esm2022/lib/tool/shared/tool.interface.mjs +0 -2
- package/esm2022/lib/tool/shared/tool.service.mjs +0 -43
- package/esm2022/lib/tool/shared/toolbox.enums.mjs +0 -7
- package/esm2022/lib/tool/shared/toolbox.mjs +0 -184
- package/esm2022/lib/tool/tool.module.mjs +0 -25
- package/esm2022/lib/tool/toolbox/toolbox.animation.mjs +0 -10
- package/esm2022/lib/tool/toolbox/toolbox.component.mjs +0 -238
- package/esm2022/lib/tool/toolbox/toolbox.module.mjs +0 -23
- package/esm2022/lib/widget/index.mjs +0 -3
- package/esm2022/lib/widget/shared/index.mjs +0 -4
- package/esm2022/lib/widget/shared/widget.interfaces.mjs +0 -2
- package/esm2022/lib/widget/shared/widget.mjs +0 -4
- package/esm2022/lib/widget/shared/widget.service.mjs +0 -22
- package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +0 -114
- package/esm2022/lib/widget/widget-outlet/widget-outlet.module.mjs +0 -22
- package/esm2022/lib/widget/widget.module.mjs +0 -20
- package/esm2022/lib/workspace/index.mjs +0 -4
- package/esm2022/lib/workspace/shared/index.mjs +0 -4
- package/esm2022/lib/workspace/shared/store.mjs +0 -37
- package/esm2022/lib/workspace/shared/workspace.interfaces.mjs +0 -2
- package/esm2022/lib/workspace/shared/workspace.mjs +0 -143
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +0 -52
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.module.mjs +0 -22
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +0 -74
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +0 -22
- package/esm2022/lib/workspace/workspace.module.mjs +0 -19
- package/lib/action/action.module.d.ts +0 -8
- package/lib/action/actionbar/actionbar-item.component.d.ts +0 -78
- package/lib/action/actionbar/actionbar.component.d.ts +0 -147
- package/lib/action/actionbar/actionbar.module.d.ts +0 -20
- package/lib/action/index.d.ts +0 -2
- package/lib/action/shared/action.interfaces.d.ts +0 -17
- package/lib/action/shared/store.d.ts +0 -8
- package/lib/backdrop/backdrop.component.d.ts +0 -9
- package/lib/backdrop/backdrop.module.d.ts +0 -10
- package/lib/backdrop/index.d.ts +0 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +0 -36
- package/lib/badge-icon/badge-icon.module.d.ts +0 -11
- package/lib/badge-icon/index.d.ts +0 -1
- package/lib/clickout/clickout.directive.d.ts +0 -10
- package/lib/clickout/clickout.module.d.ts +0 -9
- package/lib/clickout/index.d.ts +0 -1
- package/lib/clone/clone.module.d.ts +0 -9
- package/lib/clone/clone.pipe.d.ts +0 -7
- package/lib/clone/index.d.ts +0 -1
- package/lib/collapsible/collapse.directive.d.ts +0 -19
- package/lib/collapsible/collapsible.component.d.ts +0 -13
- package/lib/collapsible/collapsible.module.d.ts +0 -12
- package/lib/collapsible/index.d.ts +0 -2
- package/lib/color-picker-form-field/color-picker-form-field.component.d.ts +0 -29
- package/lib/color-picker-form-field/color-picker-form-field.module.d.ts +0 -15
- package/lib/color-picker-form-field/index.d.ts +0 -1
- package/lib/confirm-dialog/confirm-dialog.component.d.ts +0 -12
- package/lib/confirm-dialog/confirm-dialog.module.d.ts +0 -12
- package/lib/confirm-dialog/index.d.ts +0 -3
- package/lib/context-menu/context-menu.directive.d.ts +0 -21
- package/lib/context-menu/context-menu.module.d.ts +0 -10
- package/lib/context-menu/index.d.ts +0 -2
- package/lib/context-menu/long-press.directive.d.ts +0 -20
- package/lib/custom-html/custom-html.component.d.ts +0 -9
- package/lib/custom-html/custom-html.module.d.ts +0 -16
- package/lib/custom-html/custom-html.pipe.d.ts +0 -10
- package/lib/custom-html/index.d.ts +0 -2
- package/lib/dom/dom.module.d.ts +0 -8
- package/lib/dom/index.d.ts +0 -2
- package/lib/drag-drop/drag-drop.directive.d.ts +0 -14
- package/lib/drag-drop/drag-drop.module.d.ts +0 -9
- package/lib/drag-drop/index.d.ts +0 -1
- package/lib/dynamic-component/dynamic-component.module.d.ts +0 -8
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +0 -70
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +0 -11
- package/lib/dynamic-component/index.d.ts +0 -2
- package/lib/entity/entity-selector/entity-selector.component.d.ts +0 -92
- package/lib/entity/entity-selector/entity-selector.module.d.ts +0 -13
- package/lib/entity/entity-table/entity-table-row.directive.d.ts +0 -69
- package/lib/entity/entity-table/entity-table.component.d.ts +0 -342
- package/lib/entity/entity-table/entity-table.module.d.ts +0 -29
- package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +0 -49
- package/lib/entity/entity-table-paginator/entity-table-paginator.module.d.ts +0 -11
- package/lib/entity/entity.module.d.ts +0 -10
- package/lib/entity/index.d.ts +0 -5
- package/lib/entity/shared/entity.interfaces.d.ts +0 -95
- package/lib/entity/shared/transaction.d.ts +0 -180
- package/lib/flexible/flexible.component.d.ts +0 -41
- package/lib/flexible/flexible.module.d.ts +0 -9
- package/lib/flexible/index.d.ts +0 -2
- package/lib/form/form/form.component.d.ts +0 -53
- package/lib/form/form/form.module.d.ts +0 -12
- package/lib/form/form-field/form-field-select.component.d.ts +0 -52
- package/lib/form/form-field/form-field-text.component.d.ts +0 -51
- package/lib/form/form-field/form-field-textarea.component.d.ts +0 -41
- package/lib/form/form-field/form-field.component.d.ts +0 -29
- package/lib/form/form-field/form-field.module.d.ts +0 -22
- package/lib/form/form-field/index.d.ts +0 -4
- package/lib/form/form-group/form-group.component.d.ts +0 -49
- package/lib/form/form-group/form-group.module.d.ts +0 -14
- package/lib/form/form.module.d.ts +0 -13
- package/lib/form/index.d.ts +0 -4
- package/lib/form-dialog/form-dialog.component.d.ts +0 -24
- package/lib/form-dialog/form-dialog.interface.d.ts +0 -18
- package/lib/form-dialog/form-dialog.module.d.ts +0 -16
- package/lib/form-dialog/index.d.ts +0 -3
- package/lib/home-button/home-button.component.d.ts +0 -9
- package/lib/home-button/home-button.module.d.ts +0 -15
- package/lib/home-button/index.d.ts +0 -1
- package/lib/image/image-error.directive.d.ts +0 -11
- package/lib/image/image.module.d.ts +0 -10
- package/lib/image/index.d.ts +0 -2
- package/lib/image/secure-image.pipe.d.ts +0 -13
- package/lib/interactive-tour/index.d.ts +0 -4
- package/lib/interactive-tour/interactive-tour.component.d.ts +0 -30
- package/lib/interactive-tour/interactive-tour.loader.d.ts +0 -18
- package/lib/interactive-tour/interactive-tour.module.d.ts +0 -12
- package/lib/interactive-tour/interactive-tour.service.d.ts +0 -29
- package/lib/json-dialog/index.d.ts +0 -2
- package/lib/json-dialog/json-dialog.component.d.ts +0 -13
- package/lib/json-dialog/json-dialog.module.d.ts +0 -13
- package/lib/keyvalue/index.d.ts +0 -1
- package/lib/keyvalue/keyvalue.module.d.ts +0 -9
- package/lib/keyvalue/keyvalue.pipe.d.ts +0 -7
- package/lib/list/index.d.ts +0 -2
- package/lib/list/list-item.directive.d.ts +0 -43
- package/lib/list/list.component.d.ts +0 -51
- package/lib/list/list.module.d.ts +0 -14
- package/lib/panel/index.d.ts +0 -1
- package/lib/panel/panel.component.d.ts +0 -10
- package/lib/panel/panel.module.d.ts +0 -8
- package/lib/select-value-dialog/index.d.ts +0 -4
- package/lib/select-value-dialog/select-value-check-radio-dialog.component.d.ts +0 -25
- package/lib/select-value-dialog/select-value-dialog.module.d.ts +0 -17
- package/lib/sidenav/index.d.ts +0 -1
- package/lib/sidenav/sidenav-shim.directive.d.ts +0 -20
- package/lib/sidenav/sidenav.module.d.ts +0 -9
- package/lib/spinner/index.d.ts +0 -2
- package/lib/spinner/spinner-activity.directive.d.ts +0 -32
- package/lib/spinner/spinner.component.d.ts +0 -12
- package/lib/spinner/spinner.module.d.ts +0 -10
- package/lib/stop-propagation/index.d.ts +0 -2
- package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +0 -6
- package/lib/stop-propagation/stop-propagation.directive.d.ts +0 -6
- package/lib/stop-propagation/stop-propagation.module.d.ts +0 -10
- package/lib/table/index.d.ts +0 -5
- package/lib/table/table.component.d.ts +0 -40
- package/lib/table/table.module.d.ts +0 -20
- package/lib/tool/index.d.ts +0 -2
- package/lib/tool/shared/tool.interface.d.ts +0 -18
- package/lib/tool/shared/toolbox.d.ts +0 -95
- package/lib/tool/shared/toolbox.enums.d.ts +0 -5
- package/lib/tool/tool.module.d.ts +0 -10
- package/lib/tool/toolbox/toolbox.component.d.ts +0 -128
- package/lib/tool/toolbox/toolbox.module.d.ts +0 -13
- package/lib/widget/index.d.ts +0 -2
- package/lib/widget/shared/widget.d.ts +0 -4
- package/lib/widget/shared/widget.service.d.ts +0 -10
- package/lib/widget/widget-outlet/widget-outlet.component.d.ts +0 -71
- package/lib/widget/widget-outlet/widget-outlet.module.d.ts +0 -12
- package/lib/widget/widget.module.d.ts +0 -8
- package/lib/workspace/index.d.ts +0 -3
- package/lib/workspace/shared/store.d.ts +0 -20
- package/lib/workspace/shared/workspace.d.ts +0 -108
- package/lib/workspace/shared/workspace.interfaces.d.ts +0 -11
- package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +0 -39
- package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +0 -12
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +0 -57
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +0 -12
- package/lib/workspace/workspace.module.d.ts +0 -9
- package/src/lib/action/action.theming.scss +0 -5
- package/src/lib/action/actionbar/actionbar-item.theming.scss +0 -32
- package/src/lib/action/actionbar/actionbar.theming.scss +0 -22
- package/src/lib/collapsible/collapsible.theming.scss +0 -22
- package/src/lib/entity/entity-selector/entity-selector.theming.scss +0 -21
- package/src/lib/entity/entity-table/entity-table.theming.scss +0 -37
- package/src/lib/entity/entity.theming.scss +0 -7
- package/src/lib/home-button/home-button.theming.scss +0 -18
- package/src/lib/interactive-tour/interactive-tour.theming.scss +0 -32
- package/src/lib/list/list.theming.scss +0 -58
- package/src/lib/panel/panel.theming.scss +0 -30
- package/src/lib/tool/tool.theming.scss +0 -5
- package/src/lib/tool/toolbox/toolbox.theming.scss +0 -105
- /package/{lib/action → action}/shared/action.enums.d.ts +0 -0
- /package/{lib/action → action}/shared/index.d.ts +0 -0
- /package/{lib/confirm-dialog → confirm-dialog}/confirm-dialog.interface.d.ts +0 -0
- /package/{lib/confirm-dialog → confirm-dialog}/confirm-dialog.service.d.ts +0 -0
- /package/{lib/dom → dom}/dom.interfaces.d.ts +0 -0
- /package/{lib/dom → dom}/dom.service.d.ts +0 -0
- /package/{lib/dynamic-component → dynamic-component}/shared/dynamic-component.d.ts +0 -0
- /package/{lib/dynamic-component → dynamic-component}/shared/dynamic-component.interfaces.d.ts +0 -0
- /package/{lib/dynamic-component → dynamic-component}/shared/dynamic-component.service.d.ts +0 -0
- /package/{lib/dynamic-component → dynamic-component}/shared/index.d.ts +0 -0
- /package/{lib/entity → entity}/entity-table-paginator/entity-table-paginator.interface.d.ts +0 -0
- /package/{lib/entity → entity}/shared/entity.enums.d.ts +0 -0
- /package/{lib/entity → entity}/shared/entity.utils.d.ts +0 -0
- /package/{lib/entity → entity}/shared/index.d.ts +0 -0
- /package/{lib/entity → entity}/shared/state.d.ts +0 -0
- /package/{lib/entity → entity}/shared/store.d.ts +0 -0
- /package/{lib/entity → entity}/shared/strategies/filter-custom-function.d.ts +0 -0
- /package/{lib/entity → entity}/shared/strategies/filter-selection.d.ts +0 -0
- /package/{lib/entity → entity}/shared/strategies/index.d.ts +0 -0
- /package/{lib/entity → entity}/shared/strategies/strategy.d.ts +0 -0
- /package/{lib/entity → entity}/shared/view.d.ts +0 -0
- /package/{lib/entity → entity}/shared/watcher.d.ts +0 -0
- /package/{lib/environment → environment}/environment.interface.d.ts +0 -0
- /package/{lib/environment/index.d.ts → environment/public_api.d.ts} +0 -0
- /package/{lib/flexible → flexible}/flexible.type.d.ts +0 -0
- /package/{lib → form}/form-dialog/form-dialog.service.d.ts +0 -0
- /package/{lib/form → form}/shared/form-field-component.d.ts +0 -0
- /package/{lib/form → form}/shared/form-field.service.d.ts +0 -0
- /package/{lib/form → form}/shared/form.interfaces.d.ts +0 -0
- /package/{lib/form → form}/shared/form.service.d.ts +0 -0
- /package/{lib/form → form}/shared/form.utils.d.ts +0 -0
- /package/{lib/form → form}/shared/index.d.ts +0 -0
- /package/{lib/interactive-tour → interactive-tour}/interactive-tour.interface.d.ts +0 -0
- /package/{lib/json-dialog → json-dialog}/json-dialog.service.d.ts +0 -0
- /package/{lib/select-value-dialog → select-value-dialog}/select-value-dialog.enums.d.ts +0 -0
- /package/{lib/select-value-dialog → select-value-dialog}/select-value-dialog.interface.d.ts +0 -0
- /package/{lib/select-value-dialog → select-value-dialog}/select-value-dialog.service.d.ts +0 -0
- /package/{lib/table → table}/table-action-color.enum.d.ts +0 -0
- /package/{lib/table → table}/table-database.d.ts +0 -0
- /package/{lib/table → table}/table-datasource.d.ts +0 -0
- /package/{lib/table → table}/table-model.interface.d.ts +0 -0
- /package/{lib/tool → tool}/shared/index.d.ts +0 -0
- /package/{lib/tool → tool}/shared/tool-component.d.ts +0 -0
- /package/{lib/tool → tool}/shared/tool.service.d.ts +0 -0
- /package/{lib/tool → tool}/toolbox/toolbox.animation.d.ts +0 -0
- /package/{lib/widget → widget}/shared/index.d.ts +0 -0
- /package/{lib/widget → widget}/shared/widget.interfaces.d.ts +0 -0
- /package/{lib/workspace → workspace}/shared/index.d.ts +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { throwError } from 'rxjs';
|
|
5
|
+
import { map, catchError } from 'rxjs/operators';
|
|
6
|
+
|
|
7
|
+
class DOMService {
|
|
8
|
+
http;
|
|
9
|
+
constructor(http) {
|
|
10
|
+
this.http = http;
|
|
11
|
+
}
|
|
12
|
+
async getDom(dom) {
|
|
13
|
+
const url = dom.url;
|
|
14
|
+
let result;
|
|
15
|
+
await this.http
|
|
16
|
+
.get(url)
|
|
17
|
+
.pipe(map((response) => {
|
|
18
|
+
result = response;
|
|
19
|
+
return response;
|
|
20
|
+
}), catchError((err) => {
|
|
21
|
+
return throwError(err);
|
|
22
|
+
}))
|
|
23
|
+
.toPromise();
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DOMService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DOMService, providedIn: 'root' });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DOMService, decorators: [{
|
|
30
|
+
type: Injectable,
|
|
31
|
+
args: [{
|
|
32
|
+
providedIn: 'root'
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated it has no effect
|
|
38
|
+
*/
|
|
39
|
+
class IgoDOMModule {
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated it has no effect
|
|
42
|
+
*/
|
|
43
|
+
static forRoot() {
|
|
44
|
+
return {
|
|
45
|
+
ngModule: IgoDOMModule,
|
|
46
|
+
providers: [DOMService]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDOMModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
50
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoDOMModule });
|
|
51
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDOMModule, providers: [DOMService] });
|
|
52
|
+
}
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDOMModule, decorators: [{
|
|
54
|
+
type: NgModule,
|
|
55
|
+
args: [{
|
|
56
|
+
providers: [DOMService]
|
|
57
|
+
}]
|
|
58
|
+
}] });
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Generated bundle index. Do not edit.
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
export { DOMService, IgoDOMModule };
|
|
65
|
+
//# sourceMappingURL=igo2-common-dom.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"igo2-common-dom.mjs","sources":["../../../packages/common/dom/src/dom.service.ts","../../../packages/common/dom/src/dom.module.ts","../../../packages/common/dom/src/igo2-common-dom.ts"],"sourcesContent":["import { HttpClient, HttpErrorResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\nimport { throwError } from 'rxjs';\nimport { catchError, map } from 'rxjs/operators';\n\nimport { DOMOptions, DOMValue } from './dom.interfaces';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DOMService {\n constructor(private http: HttpClient) {}\n\n async getDom(dom: DOMOptions): Promise<DOMValue[]> {\n const url = dom.url;\n let result: DOMValue[];\n\n await this.http\n .get<any>(url)\n .pipe(\n map((response) => {\n result = response;\n return response;\n }),\n catchError((err: HttpErrorResponse) => {\n return throwError(err);\n })\n )\n .toPromise();\n\n return result;\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { DOMService } from './dom.service';\n\n/**\n * @deprecated it has no effect\n */\n\n@NgModule({\n providers: [DOMService]\n})\nexport class IgoDOMModule {\n /**\n * @deprecated it has no effect\n */\n static forRoot(): ModuleWithProviders<IgoDOMModule> {\n return {\n ngModule: IgoDOMModule,\n providers: [DOMService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAWa,UAAU,CAAA;AACD,IAAA,IAAA,CAAA;AAApB,IAAA,WAAA,CAAoB,IAAgB,EAAA;QAA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AA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wGAAZ,YAAY,EAAA,CAAA,CAAA;wGAAZ,YAAY,EAAA,SAAA,EAFZ,CAAC,UAAU,CAAC,EAAA,CAAA,CAAA;;2FAEZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAHxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,SAAS,EAAE,CAAC,UAAU,CAAC;AACxB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Directive, Input, Output, HostBinding, HostListener, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class DragAndDropDirective {
|
|
5
|
+
allowedExtensions = [];
|
|
6
|
+
filesDropped = new EventEmitter();
|
|
7
|
+
filesInvalid = new EventEmitter();
|
|
8
|
+
background = 'inherit';
|
|
9
|
+
onDragOver(evt) {
|
|
10
|
+
evt.preventDefault();
|
|
11
|
+
evt.stopPropagation();
|
|
12
|
+
this.background = '#999';
|
|
13
|
+
}
|
|
14
|
+
onDragLeave(evt) {
|
|
15
|
+
evt.preventDefault();
|
|
16
|
+
evt.stopPropagation();
|
|
17
|
+
this.background = 'inherit';
|
|
18
|
+
}
|
|
19
|
+
onDrop(evt) {
|
|
20
|
+
evt.preventDefault();
|
|
21
|
+
evt.stopPropagation();
|
|
22
|
+
if (evt.alreadyFired) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
evt.alreadyFired = true;
|
|
26
|
+
this.background = 'inherit';
|
|
27
|
+
const filesObj = this.validExtensions(evt);
|
|
28
|
+
if (filesObj.valid.length) {
|
|
29
|
+
this.filesDropped.emit(filesObj.valid);
|
|
30
|
+
}
|
|
31
|
+
if (filesObj.invalid.length) {
|
|
32
|
+
this.filesInvalid.emit(filesObj.invalid);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
validExtensions(evt) {
|
|
36
|
+
const files = evt.dataTransfer.files;
|
|
37
|
+
const filesObj = {
|
|
38
|
+
valid: [],
|
|
39
|
+
invalid: []
|
|
40
|
+
};
|
|
41
|
+
if (files.length > 0) {
|
|
42
|
+
for (const file of files) {
|
|
43
|
+
const ext = file.name.split('.')[file.name.split('.').length - 1];
|
|
44
|
+
if (this.allowedExtensions.length === 0 ||
|
|
45
|
+
(this.allowedExtensions.lastIndexOf(ext) !== -1 && file.size !== 0)) {
|
|
46
|
+
filesObj.valid.push(file);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
filesObj.invalid.push(file);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return filesObj;
|
|
54
|
+
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DragAndDropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: DragAndDropDirective, isStandalone: true, selector: "[igoDragAndDrop]", inputs: { allowedExtensions: "allowedExtensions" }, outputs: { filesDropped: "filesDropped", filesInvalid: "filesInvalid" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "onDrop($event)" }, properties: { "style.background": "this.background" } }, ngImport: i0 });
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DragAndDropDirective, decorators: [{
|
|
59
|
+
type: Directive,
|
|
60
|
+
args: [{
|
|
61
|
+
selector: '[igoDragAndDrop]',
|
|
62
|
+
standalone: true
|
|
63
|
+
}]
|
|
64
|
+
}], propDecorators: { allowedExtensions: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], filesDropped: [{
|
|
67
|
+
type: Output
|
|
68
|
+
}], filesInvalid: [{
|
|
69
|
+
type: Output
|
|
70
|
+
}], background: [{
|
|
71
|
+
type: HostBinding,
|
|
72
|
+
args: ['style.background']
|
|
73
|
+
}], onDragOver: [{
|
|
74
|
+
type: HostListener,
|
|
75
|
+
args: ['dragover', ['$event']]
|
|
76
|
+
}], onDragLeave: [{
|
|
77
|
+
type: HostListener,
|
|
78
|
+
args: ['dragleave', ['$event']]
|
|
79
|
+
}], onDrop: [{
|
|
80
|
+
type: HostListener,
|
|
81
|
+
args: ['drop', ['$event']]
|
|
82
|
+
}] } });
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @deprecated import the DragAndDropDirective directly
|
|
86
|
+
*/
|
|
87
|
+
class IgoDrapDropModule {
|
|
88
|
+
static forRoot() {
|
|
89
|
+
return {
|
|
90
|
+
ngModule: IgoDrapDropModule,
|
|
91
|
+
providers: []
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDrapDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
95
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoDrapDropModule, imports: [DragAndDropDirective], exports: [DragAndDropDirective] });
|
|
96
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDrapDropModule });
|
|
97
|
+
}
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDrapDropModule, decorators: [{
|
|
99
|
+
type: NgModule,
|
|
100
|
+
args: [{
|
|
101
|
+
imports: [DragAndDropDirective],
|
|
102
|
+
exports: [DragAndDropDirective]
|
|
103
|
+
}]
|
|
104
|
+
}] });
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Generated bundle index. Do not edit.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
export { DragAndDropDirective, IgoDrapDropModule };
|
|
111
|
+
//# sourceMappingURL=igo2-common-drag-drop.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"igo2-common-drag-drop.mjs","sources":["../../../packages/common/drag-drop/src/drag-drop.directive.ts","../../../packages/common/drag-drop/src/drag-drop.module.ts","../../../packages/common/drag-drop/src/igo2-common-drag-drop.ts"],"sourcesContent":["import {\n Directive,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n Output\n} from '@angular/core';\n\n@Directive({\n selector: '[igoDragAndDrop]',\n standalone: true\n})\nexport class DragAndDropDirective {\n @Input() allowedExtensions: Array<string> = [];\n\n @Output() protected filesDropped: EventEmitter<File[]> = new EventEmitter();\n\n @Output() protected filesInvalid: EventEmitter<File[]> = new EventEmitter();\n\n @HostBinding('style.background') private background = 'inherit';\n\n @HostListener('dragover', ['$event'])\n public onDragOver(evt) {\n evt.preventDefault();\n evt.stopPropagation();\n this.background = '#999';\n }\n\n @HostListener('dragleave', ['$event'])\n public onDragLeave(evt) {\n evt.preventDefault();\n evt.stopPropagation();\n this.background = 'inherit';\n }\n\n @HostListener('drop', ['$event'])\n public onDrop(evt) {\n evt.preventDefault();\n evt.stopPropagation();\n if (evt.alreadyFired) {\n return;\n }\n evt.alreadyFired = true;\n\n this.background = 'inherit';\n const filesObj = this.validExtensions(evt);\n if (filesObj.valid.length) {\n this.filesDropped.emit(filesObj.valid);\n }\n if (filesObj.invalid.length) {\n this.filesInvalid.emit(filesObj.invalid);\n }\n }\n\n private validExtensions(evt) {\n const files = evt.dataTransfer.files;\n const filesObj = {\n valid: [],\n invalid: []\n };\n if (files.length > 0) {\n for (const file of files) {\n const ext = file.name.split('.')[file.name.split('.').length - 1];\n if (\n this.allowedExtensions.length === 0 ||\n (this.allowedExtensions.lastIndexOf(ext) !== -1 && file.size !== 0)\n ) {\n filesObj.valid.push(file);\n } else {\n filesObj.invalid.push(file);\n }\n }\n }\n\n return filesObj;\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { DragAndDropDirective } from './drag-drop.directive';\n\n/**\n * @deprecated import the DragAndDropDirective directly\n */\n@NgModule({\n imports: [DragAndDropDirective],\n exports: [DragAndDropDirective]\n})\nexport class IgoDrapDropModule {\n static forRoot(): ModuleWithProviders<IgoDrapDropModule> {\n return {\n ngModule: IgoDrapDropModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAaa,oBAAoB,CAAA;IACtB,iBAAiB,GAAkB,EAAE,CAAC;AAE3B,IAAA,YAAY,GAAyB,IAAI,YAAY,EAAE,CAAC;AAExD,IAAA,YAAY,GAAyB,IAAI,YAAY,EAAE,CAAC;IAEnC,UAAU,GAAG,SAAS,CAAC;AAGzD,IAAA,UAAU,CAAC,GAAG,EAAA;QACnB,GAAG,CAAC,cAAc,EAAE,CAAC;QACrB,GAAG,CAAC,eAAe,EAAE,CAAC;AACtB,QAAA,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC;KAC1B;AAGM,IAAA,WAAW,CAAC,GAAG,EAAA;QACpB,GAAG,CAAC,cAAc,EAAE,CAAC;QACrB,GAAG,CAAC,eAAe,EAAE,CAAC;AACtB,QAAA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;KAC7B;AAGM,IAAA,MAAM,CAAC,GAAG,EAAA;QACf,GAAG,CAAC,cAAc,EAAE,CAAC;QACrB,GAAG,CAAC,eAAe,EAAE,CAAC;AACtB,QAAA,IAAI,GAAG,CAAC,YAAY,EAAE;YACpB,OAAO;SACR;AACD,QAAA,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;AAExB,QAAA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;AAC3C,QAAA,IAAI,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE;YACzB,IAAI,CAAC,YAAY,CAAC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OAAA,EAAA,CAHlB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACpB,oBAAoB,CAAA,EAAA,CAAA,CAAA;wGAEnB,iBAAiB,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;oBAC/B,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAChC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable, ViewContainerRef, Component, ChangeDetectionStrategy, Input, ViewChild, NgModule } from '@angular/core';
|
|
4
|
+
import { ObjectUtils } from '@igo2/utils';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This class is used in the DynamicComponentOutlet component. It holds
|
|
8
|
+
* a reference to a component factory and can render that component
|
|
9
|
+
* in a target element on demand. It's also possible to set inputs
|
|
10
|
+
* and to subscribe to outputs.
|
|
11
|
+
*/
|
|
12
|
+
class DynamicComponent {
|
|
13
|
+
componentFactory;
|
|
14
|
+
/**
|
|
15
|
+
* Component reference
|
|
16
|
+
*/
|
|
17
|
+
componentRef;
|
|
18
|
+
/**
|
|
19
|
+
* Subscriptions to the component's outputs. Those need
|
|
20
|
+
* to be unsubscribed when the component is destroyed.
|
|
21
|
+
*/
|
|
22
|
+
subscriptions = [];
|
|
23
|
+
/**
|
|
24
|
+
* Component target element
|
|
25
|
+
*/
|
|
26
|
+
target;
|
|
27
|
+
/**
|
|
28
|
+
* Component inputs
|
|
29
|
+
*/
|
|
30
|
+
inputs = {};
|
|
31
|
+
/**
|
|
32
|
+
* Subscriptions to the component's async inputs
|
|
33
|
+
*/
|
|
34
|
+
inputs$$ = {};
|
|
35
|
+
/**
|
|
36
|
+
* Subscribers to the component's outputs
|
|
37
|
+
*/
|
|
38
|
+
subscribers = {};
|
|
39
|
+
constructor(componentFactory) {
|
|
40
|
+
this.componentFactory = componentFactory;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Render the component to a target element.
|
|
44
|
+
* Set it's inputs and subscribe to it's outputs.
|
|
45
|
+
* @param target Target element
|
|
46
|
+
*/
|
|
47
|
+
setTarget(target) {
|
|
48
|
+
this.target = target;
|
|
49
|
+
this.componentRef = target.createComponent(this.componentFactory);
|
|
50
|
+
this.updateInputs(this.inputs);
|
|
51
|
+
this.updateSubscribers(this.subscribers);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Destroy this component. That means, removing from it's target
|
|
55
|
+
* element and unsubscribing to it's outputs.
|
|
56
|
+
*/
|
|
57
|
+
destroy() {
|
|
58
|
+
if (this.target !== undefined) {
|
|
59
|
+
this.target.clear();
|
|
60
|
+
}
|
|
61
|
+
if (this.componentRef !== undefined) {
|
|
62
|
+
this.componentRef.destroy();
|
|
63
|
+
this.componentRef = undefined;
|
|
64
|
+
}
|
|
65
|
+
this.unobserveAllInputs();
|
|
66
|
+
this.unsubscribeAll();
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Update the component inputs. This is an update so any
|
|
70
|
+
* key not defined won't be overwritten.
|
|
71
|
+
*/
|
|
72
|
+
updateInputs(inputs) {
|
|
73
|
+
this.inputs = inputs;
|
|
74
|
+
if (this.componentRef === undefined) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const instance = this.componentRef.instance;
|
|
78
|
+
const allowedInputs = this.componentFactory.inputs;
|
|
79
|
+
allowedInputs.forEach((value) => {
|
|
80
|
+
const key = value.propName;
|
|
81
|
+
this.unobserveInput(key);
|
|
82
|
+
const inputValue = inputs[key];
|
|
83
|
+
if (inputs.hasOwnProperty(key)) {
|
|
84
|
+
if (inputValue instanceof Observable) {
|
|
85
|
+
this.observeInput(key, inputValue);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.setInputValue(instance, key, inputValue);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
if (typeof instance.onUpdateInputs === 'function') {
|
|
93
|
+
instance.onUpdateInputs();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Set an instance's input value
|
|
98
|
+
* @param instance Component instance
|
|
99
|
+
* @param key Input key
|
|
100
|
+
* @param value Input value
|
|
101
|
+
*/
|
|
102
|
+
setInputValue(instance, key, value) {
|
|
103
|
+
const currentValue = instance[key];
|
|
104
|
+
if (value === currentValue) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
const prototype = Object.getPrototypeOf(instance);
|
|
108
|
+
const descriptor = Object.getOwnPropertyDescriptor(prototype, key);
|
|
109
|
+
if (descriptor !== undefined && descriptor.set !== undefined) {
|
|
110
|
+
descriptor.set.call(instance, value);
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
instance[key] = value;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Update the component subscribers. This is an update so any
|
|
118
|
+
* key not defined won't be overwritten.
|
|
119
|
+
*/
|
|
120
|
+
updateSubscribers(subscribers) {
|
|
121
|
+
this.subscribers = subscribers;
|
|
122
|
+
if (this.componentRef === undefined) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const instance = this.componentRef.instance;
|
|
126
|
+
const allowedSubscribers = this.componentFactory.outputs;
|
|
127
|
+
allowedSubscribers.forEach((value) => {
|
|
128
|
+
const key = value.propName;
|
|
129
|
+
if (subscribers.hasOwnProperty(key)) {
|
|
130
|
+
const emitter = instance[key];
|
|
131
|
+
const subscriber = subscribers[key];
|
|
132
|
+
if (Array.isArray(subscriber)) {
|
|
133
|
+
subscriber.forEach((_subscriber) => {
|
|
134
|
+
this.subscriptions.push(emitter.subscribe(_subscriber));
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
this.subscriptions.push(emitter.subscribe(subscriber));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Subscribe to an observable input and update the component's input value
|
|
145
|
+
* accordingly
|
|
146
|
+
* @param key Input key
|
|
147
|
+
* @param observable Observable
|
|
148
|
+
*/
|
|
149
|
+
observeInput(key, observable) {
|
|
150
|
+
this.inputs$$[key] = observable.subscribe((value) => {
|
|
151
|
+
const instance = this.componentRef.instance;
|
|
152
|
+
this.setInputValue(instance, key, value);
|
|
153
|
+
if (typeof instance.onUpdateInputs === 'function') {
|
|
154
|
+
instance.onUpdateInputs();
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Unsubscribe to an observable input
|
|
160
|
+
* @param key Input key
|
|
161
|
+
*/
|
|
162
|
+
unobserveInput(key) {
|
|
163
|
+
if (this.inputs$$[key] !== undefined) {
|
|
164
|
+
this.inputs$$[key].unsubscribe();
|
|
165
|
+
this.inputs$$[key] = undefined;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Unsubscribe to all outputs.
|
|
170
|
+
*/
|
|
171
|
+
unobserveAllInputs() {
|
|
172
|
+
Object.values(this.inputs$$).forEach((s) => {
|
|
173
|
+
if (s !== undefined) {
|
|
174
|
+
s.unsubscribe();
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
this.inputs$$ = {};
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Unsubscribe to all outputs.
|
|
181
|
+
*/
|
|
182
|
+
unsubscribeAll() {
|
|
183
|
+
this.subscriptions.forEach((s) => s.unsubscribe());
|
|
184
|
+
this.subscriptions = [];
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Service to creates DynamicComponent instances from base component classes
|
|
190
|
+
*/
|
|
191
|
+
class DynamicComponentService {
|
|
192
|
+
resolver;
|
|
193
|
+
constructor(resolver) {
|
|
194
|
+
this.resolver = resolver;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Creates a DynamicComponent instance from a base component class
|
|
198
|
+
* @param componentCls The component class
|
|
199
|
+
* @returns DynamicComponent instance
|
|
200
|
+
*/
|
|
201
|
+
create(componentCls) {
|
|
202
|
+
const factory = this.resolver.resolveComponentFactory(componentCls);
|
|
203
|
+
return new DynamicComponent(factory);
|
|
204
|
+
}
|
|
205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
206
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DynamicComponentService, providedIn: 'root' });
|
|
207
|
+
}
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DynamicComponentService, decorators: [{
|
|
209
|
+
type: Injectable,
|
|
210
|
+
args: [{
|
|
211
|
+
providedIn: 'root'
|
|
212
|
+
}]
|
|
213
|
+
}], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }] });
|
|
214
|
+
|
|
215
|
+
class DynamicOutletComponent {
|
|
216
|
+
dynamicComponentService;
|
|
217
|
+
cdRef;
|
|
218
|
+
/**
|
|
219
|
+
* The dynamic component base class or the dynamic component itself
|
|
220
|
+
*/
|
|
221
|
+
component;
|
|
222
|
+
/**
|
|
223
|
+
* The dynamic component inputs
|
|
224
|
+
*/
|
|
225
|
+
inputs = {};
|
|
226
|
+
/**
|
|
227
|
+
* The subscribers to the dynamic component outputs
|
|
228
|
+
*/
|
|
229
|
+
subscribers = {};
|
|
230
|
+
/**
|
|
231
|
+
* The dynamic component
|
|
232
|
+
*/
|
|
233
|
+
dynamicComponent;
|
|
234
|
+
/**
|
|
235
|
+
* The view element to render the component to
|
|
236
|
+
* @ignore
|
|
237
|
+
*/
|
|
238
|
+
target;
|
|
239
|
+
constructor(dynamicComponentService, cdRef) {
|
|
240
|
+
this.dynamicComponentService = dynamicComponentService;
|
|
241
|
+
this.cdRef = cdRef;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* If the dynamic component changes, create it.
|
|
245
|
+
* If the inputs or subscribers change, update the current component's
|
|
246
|
+
* inputs or subscribers.
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
ngOnChanges(changes) {
|
|
250
|
+
const component = changes.component;
|
|
251
|
+
const inputs = changes.inputs;
|
|
252
|
+
const subscribers = changes.subscribers;
|
|
253
|
+
const eq = ObjectUtils.objectsAreEquivalent;
|
|
254
|
+
if (!component || !component.currentValue) {
|
|
255
|
+
return;
|
|
256
|
+
}
|
|
257
|
+
if (component.currentValue !== component.previousValue) {
|
|
258
|
+
this.createComponent(component.currentValue);
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
const inputsAreEquivalents = inputs && eq(inputs.currentValue || {}, inputs.previousValue || {});
|
|
262
|
+
const subscribersAreEquivalents = subscribers &&
|
|
263
|
+
eq(subscribers.currentValue || {}, subscribers.previousValue || {});
|
|
264
|
+
if (inputsAreEquivalents === false) {
|
|
265
|
+
this.updateInputs();
|
|
266
|
+
}
|
|
267
|
+
if (subscribersAreEquivalents === false) {
|
|
268
|
+
this.updateSubscribers();
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
this.cdRef.detectChanges();
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Destroy the dynamic component and all it's subscribers
|
|
275
|
+
* @internal
|
|
276
|
+
*/
|
|
277
|
+
ngOnDestroy() {
|
|
278
|
+
if (this.dynamicComponent) {
|
|
279
|
+
this.dynamicComponent.destroy();
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Create a DynamicComponent out of the component class and render it.
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
createComponent(component) {
|
|
287
|
+
if (this.dynamicComponent !== undefined) {
|
|
288
|
+
this.dynamicComponent.destroy();
|
|
289
|
+
}
|
|
290
|
+
this.dynamicComponent =
|
|
291
|
+
component instanceof DynamicComponent
|
|
292
|
+
? component
|
|
293
|
+
: this.dynamicComponentService.create(component);
|
|
294
|
+
this.renderComponent();
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Create and render the dynamic component. Set it's inputs and subscribers
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
renderComponent() {
|
|
301
|
+
this.updateInputs();
|
|
302
|
+
this.updateSubscribers();
|
|
303
|
+
this.dynamicComponent.setTarget(this.target);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Update the dynamic component inputs. This is an update so any
|
|
307
|
+
* key not defined won't be overwritten.
|
|
308
|
+
* @internal
|
|
309
|
+
*/
|
|
310
|
+
updateInputs() {
|
|
311
|
+
this.dynamicComponent.updateInputs(this.inputs);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Update the dynamic component subscribers. This is an update so any
|
|
315
|
+
* key not defined won't be overwritten.
|
|
316
|
+
* @internal
|
|
317
|
+
*/
|
|
318
|
+
updateSubscribers() {
|
|
319
|
+
this.dynamicComponent.updateSubscribers(this.subscribers);
|
|
320
|
+
}
|
|
321
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DynamicOutletComponent, deps: [{ token: DynamicComponentService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
322
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: DynamicOutletComponent, isStandalone: true, selector: "igo-dynamic-outlet", inputs: { component: "component", inputs: "inputs", subscribers: "subscribers" }, viewQueries: [{ propertyName: "target", first: true, predicate: ["target"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template #target></ng-template>\n", styles: [":host{display:block;width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
323
|
+
}
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DynamicOutletComponent, decorators: [{
|
|
325
|
+
type: Component,
|
|
326
|
+
args: [{ selector: 'igo-dynamic-outlet', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-template #target></ng-template>\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
|
|
327
|
+
}], ctorParameters: () => [{ type: DynamicComponentService }, { type: i0.ChangeDetectorRef }], propDecorators: { component: [{
|
|
328
|
+
type: Input
|
|
329
|
+
}], inputs: [{
|
|
330
|
+
type: Input
|
|
331
|
+
}], subscribers: [{
|
|
332
|
+
type: Input
|
|
333
|
+
}], target: [{
|
|
334
|
+
type: ViewChild,
|
|
335
|
+
args: ['target', { read: ViewContainerRef, static: true }]
|
|
336
|
+
}] } });
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @deprecated import the DynamicOutletComponent directly
|
|
340
|
+
*/
|
|
341
|
+
class IgoDynamicComponentModule {
|
|
342
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
343
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicComponentModule, imports: [DynamicOutletComponent], exports: [DynamicOutletComponent] });
|
|
344
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicComponentModule });
|
|
345
|
+
}
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicComponentModule, decorators: [{
|
|
347
|
+
type: NgModule,
|
|
348
|
+
args: [{
|
|
349
|
+
imports: [DynamicOutletComponent],
|
|
350
|
+
exports: [DynamicOutletComponent]
|
|
351
|
+
}]
|
|
352
|
+
}] });
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @deprecated import the DynamicOutletComponent directly
|
|
356
|
+
*/
|
|
357
|
+
class IgoDynamicOutletModule {
|
|
358
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicOutletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
359
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicOutletModule, imports: [DynamicOutletComponent], exports: [DynamicOutletComponent] });
|
|
360
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicOutletModule });
|
|
361
|
+
}
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoDynamicOutletModule, decorators: [{
|
|
363
|
+
type: NgModule,
|
|
364
|
+
args: [{
|
|
365
|
+
imports: [DynamicOutletComponent],
|
|
366
|
+
exports: [DynamicOutletComponent]
|
|
367
|
+
}]
|
|
368
|
+
}] });
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Generated bundle index. Do not edit.
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
export { DynamicComponent, DynamicComponentService, DynamicOutletComponent, IgoDynamicComponentModule, IgoDynamicOutletModule };
|
|
375
|
+
//# sourceMappingURL=igo2-common-dynamic-component.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"igo2-common-dynamic-component.mjs","sources":["../../../packages/common/dynamic-component/src/shared/dynamic-component.ts","../../../packages/common/dynamic-component/src/shared/dynamic-component.service.ts","../../../packages/common/dynamic-component/src/dynamic-outlet/dynamic-outlet.component.ts","../../../packages/common/dynamic-component/src/dynamic-outlet/dynamic-outlet.component.html","../../../packages/common/dynamic-component/src/dynamic-component.module.ts","../../../packages/common/dynamic-component/src/dynamic-outlet/dynamic-outlet.module.ts","../../../packages/common/dynamic-component/src/igo2-common-dynamic-component.ts"],"sourcesContent":["import {\n ComponentFactory,\n ComponentRef,\n ViewContainerRef\n} from '@angular/core';\n\nimport { Observable, Subscription } from 'rxjs';\n\n/**\n * This class is used in the DynamicComponentOutlet component. It holds\n * a reference to a component factory and can render that component\n * in a target element on demand. It's also possible to set inputs\n * and to subscribe to outputs.\n */\nexport class DynamicComponent<C> {\n /**\n * Component reference\n */\n private componentRef: ComponentRef<C>;\n\n /**\n * Subscriptions to the component's outputs. Those need\n * to be unsubscribed when the component is destroyed.\n */\n private subscriptions: Subscription[] = [];\n\n /**\n * Component target element\n */\n private target: ViewContainerRef;\n\n /**\n * Component inputs\n */\n private inputs: { [key: string]: any } = {};\n\n /**\n * Subscriptions to the component's async inputs\n */\n private inputs$$: { [key: string]: Subscription } = {};\n\n /**\n * Subscribers to the component's outputs\n */\n private subscribers: { [key: string]: (event: any) => void } = {};\n\n constructor(private componentFactory: ComponentFactory<C>) {}\n\n /**\n * Render the component to a target element.\n * Set it's inputs and subscribe to it's outputs.\n * @param target Target element\n */\n setTarget(target: ViewContainerRef) {\n this.target = target;\n this.componentRef = target.createComponent(this.componentFactory);\n this.updateInputs(this.inputs);\n this.updateSubscribers(this.subscribers);\n }\n\n /**\n * Destroy this component. That means, removing from it's target\n * element and unsubscribing to it's outputs.\n */\n destroy() {\n if (this.target !== undefined) {\n this.target.clear();\n }\n if (this.componentRef !== undefined) {\n this.componentRef.destroy();\n this.componentRef = undefined;\n }\n this.unobserveAllInputs();\n this.unsubscribeAll();\n }\n\n /**\n * Update the component inputs. This is an update so any\n * key not defined won't be overwritten.\n */\n updateInputs(inputs: { [key: string]: any }) {\n this.inputs = inputs;\n if (this.componentRef === undefined) {\n return;\n }\n\n const instance = this.componentRef.instance;\n const allowedInputs = this.componentFactory.inputs;\n allowedInputs.forEach(\n (value: { propName: string; templateName: string }) => {\n const key = value.propName;\n\n this.unobserveInput(key);\n\n const inputValue = inputs[key];\n if (inputs.hasOwnProperty(key)) {\n if (inputValue instanceof Observable) {\n this.observeInput(key, inputValue);\n } else {\n this.setInputValue(instance, key, inputValue);\n }\n }\n }\n );\n\n if (typeof (instance as any).onUpdateInputs === 'function') {\n (instance as any).onUpdateInputs();\n }\n }\n\n /**\n * Set an instance's input value\n * @param instance Component instance\n * @param key Input key\n * @param value Input value\n */\n private setInputValue(instance: C, key: string, value: any) {\n const currentValue = instance[key];\n if (value === currentValue) {\n return;\n }\n\n const prototype = Object.getPrototypeOf(instance);\n const descriptor = Object.getOwnPropertyDescriptor(prototype, key);\n if (descriptor !== undefined && descriptor.set !== undefined) {\n descriptor.set.call(instance, value);\n } else {\n instance[key] = value;\n }\n }\n\n /**\n * Update the component subscribers. This is an update so any\n * key not defined won't be overwritten.\n */\n updateSubscribers(subscribers: { [key: string]: (event: any) => void }) {\n this.subscribers = subscribers;\n if (this.componentRef === undefined) {\n return;\n }\n\n const instance = this.componentRef.instance;\n const allowedSubscribers = this.componentFactory.outputs;\n allowedSubscribers.forEach(\n (value: { propName: string; templateName: string }) => {\n const key = value.propName;\n if (subscribers.hasOwnProperty(key)) {\n const emitter = instance[key];\n const subscriber = subscribers[key];\n if (Array.isArray(subscriber)) {\n subscriber.forEach((_subscriber) => {\n this.subscriptions.push(emitter.subscribe(_subscriber));\n });\n } else {\n this.subscriptions.push(emitter.subscribe(subscriber));\n }\n }\n }\n );\n }\n\n /**\n * Subscribe to an observable input and update the component's input value\n * accordingly\n * @param key Input key\n * @param observable Observable\n */\n private observeInput(key: string, observable: Observable<any>) {\n this.inputs$$[key] = observable.subscribe((value: any) => {\n const instance = this.componentRef.instance;\n this.setInputValue(instance, key, value);\n\n if (typeof (instance as any).onUpdateInputs === 'function') {\n (instance as any).onUpdateInputs();\n }\n });\n }\n\n /**\n * Unsubscribe to an observable input\n * @param key Input key\n */\n private unobserveInput(key: string) {\n if (this.inputs$$[key] !== undefined) {\n this.inputs$$[key].unsubscribe();\n this.inputs$$[key] = undefined;\n }\n }\n\n /**\n * Unsubscribe to all outputs.\n */\n private unobserveAllInputs() {\n Object.values(this.inputs$$).forEach((s: Subscription | undefined) => {\n if (s !== undefined) {\n s.unsubscribe();\n }\n });\n this.inputs$$ = {};\n }\n\n /**\n * Unsubscribe to all outputs.\n */\n private unsubscribeAll() {\n this.subscriptions.forEach((s: Subscription) => s.unsubscribe());\n this.subscriptions = [];\n }\n}\n","import { ComponentFactoryResolver, Injectable } from '@angular/core';\n\nimport { DynamicComponent } from './dynamic-component';\n\n/**\n * Service to creates DynamicComponent instances from base component classes\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class DynamicComponentService {\n constructor(private resolver: ComponentFactoryResolver) {}\n\n /**\n * Creates a DynamicComponent instance from a base component class\n * @param componentCls The component class\n * @returns DynamicComponent instance\n */\n create(componentCls: any): DynamicComponent<any> {\n const factory = this.resolver.resolveComponentFactory(componentCls as any);\n return new DynamicComponent<typeof componentCls>(factory);\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n OnChanges,\n OnDestroy,\n SimpleChanges,\n ViewChild,\n ViewContainerRef\n} from '@angular/core';\n\nimport { ObjectUtils } from '@igo2/utils';\n\nimport { DynamicComponent } from '../shared/dynamic-component';\nimport { DynamicComponentService } from '../shared/dynamic-component.service';\n\n@Component({\n selector: 'igo-dynamic-outlet',\n templateUrl: 'dynamic-outlet.component.html',\n styleUrls: ['dynamic-outlet.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n})\nexport class DynamicOutletComponent implements OnChanges, OnDestroy {\n /**\n * The dynamic component base class or the dynamic component itself\n */\n @Input() component: DynamicComponent<any> | any;\n\n /**\n * The dynamic component inputs\n */\n @Input() inputs: { [key: string]: any } = {};\n\n /**\n * The subscribers to the dynamic component outputs\n */\n @Input() subscribers: { [key: string]: (event: any) => void } = {};\n\n /**\n * The dynamic component\n */\n private dynamicComponent: DynamicComponent<any>;\n\n /**\n * The view element to render the component to\n * @ignore\n */\n @ViewChild('target', { read: ViewContainerRef, static: true })\n private target: ViewContainerRef;\n\n constructor(\n private dynamicComponentService: DynamicComponentService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n /**\n * If the dynamic component changes, create it.\n * If the inputs or subscribers change, update the current component's\n * inputs or subscribers.\n * @internal\n */\n ngOnChanges(changes: SimpleChanges) {\n const component = changes.component;\n const inputs = changes.inputs;\n const subscribers = changes.subscribers;\n const eq = ObjectUtils.objectsAreEquivalent;\n\n if (!component || !component.currentValue) {\n return;\n }\n\n if (component.currentValue !== component.previousValue) {\n this.createComponent(component.currentValue);\n } else {\n const inputsAreEquivalents =\n inputs && eq(inputs.currentValue || {}, inputs.previousValue || {});\n const subscribersAreEquivalents =\n subscribers &&\n eq(subscribers.currentValue || {}, subscribers.previousValue || {});\n\n if (inputsAreEquivalents === false) {\n this.updateInputs();\n }\n\n if (subscribersAreEquivalents === false) {\n this.updateSubscribers();\n }\n }\n this.cdRef.detectChanges();\n }\n\n /**\n * Destroy the dynamic component and all it's subscribers\n * @internal\n */\n ngOnDestroy() {\n if (this.dynamicComponent) {\n this.dynamicComponent.destroy();\n }\n }\n\n /**\n * Create a DynamicComponent out of the component class and render it.\n * @internal\n */\n private createComponent(component: DynamicComponent<any> | any) {\n if (this.dynamicComponent !== undefined) {\n this.dynamicComponent.destroy();\n }\n this.dynamicComponent =\n component instanceof DynamicComponent\n ? component\n : this.dynamicComponentService.create(component);\n this.renderComponent();\n }\n\n /**\n * Create and render the dynamic component. Set it's inputs and subscribers\n * @internal\n */\n private renderComponent() {\n this.updateInputs();\n this.updateSubscribers();\n this.dynamicComponent.setTarget(this.target);\n }\n\n /**\n * Update the dynamic component inputs. This is an update so any\n * key not defined won't be overwritten.\n * @internal\n */\n private updateInputs() {\n this.dynamicComponent.updateInputs(this.inputs);\n }\n\n /**\n * Update the dynamic component subscribers. This is an update so any\n * key not defined won't be overwritten.\n * @internal\n */\n private updateSubscribers() {\n this.dynamicComponent.updateSubscribers(this.subscribers);\n }\n}\n","<ng-template #target></ng-template>\n","import { NgModule } from '@angular/core';\n\nimport { DynamicOutletComponent } from './dynamic-outlet/dynamic-outlet.component';\n\n/**\n * @deprecated import the DynamicOutletComponent directly\n */\n@NgModule({\n imports: [DynamicOutletComponent],\n exports: [DynamicOutletComponent]\n})\nexport class IgoDynamicComponentModule {}\n","import { NgModule } from '@angular/core';\n\nimport { DynamicOutletComponent } from './dynamic-outlet.component';\n\n/**\n * @deprecated import the DynamicOutletComponent directly\n */\n@NgModule({\n imports: [DynamicOutletComponent],\n exports: [DynamicOutletComponent]\n})\nexport class IgoDynamicOutletModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.DynamicComponentService"],"mappings":";;;;;AAQA;;;;;AAKG;MACU,gBAAgB,CAAA;AAgCP,IAAA,gBAAA,CAAA;AA/BpB;;AAEG;AACK,IAAA,YAAY,CAAkB;AAEtC;;;AAGG;IACK,aAAa,GAAmB,EAAE,CAAC;AAE3C;;AAEG;AACK,IAAA,MAAM,CAAmB;AAEjC;;AAEG;IACK,MAAM,GAA2B,EAAE,CAAC;AAE5C;;AAEG;IACK,QAAQ,GAAoC,EAAE,CAAC;AAEvD;;AAEG;IACK,WAAW,GAA4C,EAAE,CAAC;AAElE,IAAA,WAAA,CAAoB,gBAAqC,EAAA;QAArC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAqB;KAAI;AAE7D;;;;AAIG;AACH,IAAA,SAAS,CAAC,MAAwB,EAAA;AAChC,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,gB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