@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,88 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import { NgTemplateOutlet, NgFor, NgIf, KeyValuePipe } from '@angular/common';
|
|
4
|
+
import * as i2 from '@angular/material/button';
|
|
5
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
+
import * as i1 from '@angular/material/dialog';
|
|
7
|
+
import { MatDialogTitle, MatDialogContent, MatDialogActions } from '@angular/material/dialog';
|
|
8
|
+
|
|
9
|
+
class JsonDialogComponent {
|
|
10
|
+
dialogRef;
|
|
11
|
+
title;
|
|
12
|
+
data;
|
|
13
|
+
ignoreKeys;
|
|
14
|
+
constructor(dialogRef) {
|
|
15
|
+
this.dialogRef = dialogRef;
|
|
16
|
+
}
|
|
17
|
+
isObject(val) {
|
|
18
|
+
return typeof val === 'object' && !Array.isArray(val);
|
|
19
|
+
}
|
|
20
|
+
getKey(baseKey, key) {
|
|
21
|
+
return (baseKey ? baseKey + '.' : '') + key;
|
|
22
|
+
}
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: JsonDialogComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: JsonDialogComponent, isStandalone: true, selector: "igo-json-dialog", ngImport: i0, template: "<h1 mat-dialog-title class=\"mat-typography\">{{ title }}</h1>\n\n<div mat-dialog-content class=\"mat-typography\">\n <ng-container\n *ngTemplateOutlet=\"loopObject; context: { obj: data }\"\n ></ng-container>\n\n <ng-template #loopObject let-obj=\"obj\" let-baseKey=\"baseKey\">\n <ng-container *ngFor=\"let property of obj | keyvalue\">\n <ng-container\n *ngIf=\"ignoreKeys.indexOf(getKey(baseKey, property.key)) === -1\"\n >\n <ng-container *ngIf=\"isObject(property.value); else notObject\">\n <ng-container\n *ngTemplateOutlet=\"\n loopObject;\n context: {\n obj: property.value,\n baseKey: getKey(baseKey, property.key)\n }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #notObject>\n <p>\n <span\n ><b>{{ getKey(baseKey, property.key) }}</b> : </span\n ><span class=\"propertyValue\" [innerHtml]=\"property.value\"></span>\n </p>\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-template>\n</div>\n\n<div mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"dialogRef.close(false)\">\n OK\n </button>\n</div>\n", dependencies: [{ kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }] });
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: JsonDialogComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: 'igo-json-dialog', standalone: true, imports: [
|
|
29
|
+
MatDialogTitle,
|
|
30
|
+
MatDialogContent,
|
|
31
|
+
NgTemplateOutlet,
|
|
32
|
+
NgFor,
|
|
33
|
+
NgIf,
|
|
34
|
+
MatDialogActions,
|
|
35
|
+
MatButtonModule,
|
|
36
|
+
KeyValuePipe
|
|
37
|
+
], template: "<h1 mat-dialog-title class=\"mat-typography\">{{ title }}</h1>\n\n<div mat-dialog-content class=\"mat-typography\">\n <ng-container\n *ngTemplateOutlet=\"loopObject; context: { obj: data }\"\n ></ng-container>\n\n <ng-template #loopObject let-obj=\"obj\" let-baseKey=\"baseKey\">\n <ng-container *ngFor=\"let property of obj | keyvalue\">\n <ng-container\n *ngIf=\"ignoreKeys.indexOf(getKey(baseKey, property.key)) === -1\"\n >\n <ng-container *ngIf=\"isObject(property.value); else notObject\">\n <ng-container\n *ngTemplateOutlet=\"\n loopObject;\n context: {\n obj: property.value,\n baseKey: getKey(baseKey, property.key)\n }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #notObject>\n <p>\n <span\n ><b>{{ getKey(baseKey, property.key) }}</b> : </span\n ><span class=\"propertyValue\" [innerHtml]=\"property.value\"></span>\n </p>\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-template>\n</div>\n\n<div mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"dialogRef.close(false)\">\n OK\n </button>\n</div>\n" }]
|
|
38
|
+
}], ctorParameters: () => [{ type: i1.MatDialogRef }] });
|
|
39
|
+
|
|
40
|
+
class JsonDialogService {
|
|
41
|
+
dialog;
|
|
42
|
+
constructor(dialog) {
|
|
43
|
+
this.dialog = dialog;
|
|
44
|
+
}
|
|
45
|
+
open(title, data, ignoreKeys) {
|
|
46
|
+
const dialogRef = this.dialog.open(JsonDialogComponent, {
|
|
47
|
+
disableClose: false
|
|
48
|
+
});
|
|
49
|
+
dialogRef.componentInstance.data = data;
|
|
50
|
+
dialogRef.componentInstance.title = title;
|
|
51
|
+
dialogRef.componentInstance.ignoreKeys = ignoreKeys ?? [];
|
|
52
|
+
return dialogRef.afterClosed();
|
|
53
|
+
}
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: JsonDialogService, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
55
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: JsonDialogService });
|
|
56
|
+
}
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: JsonDialogService, decorators: [{
|
|
58
|
+
type: Injectable
|
|
59
|
+
}], ctorParameters: () => [{ type: i1.MatDialog }] });
|
|
60
|
+
|
|
61
|
+
class IgoJsonDialogModule {
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated it has no effect
|
|
64
|
+
*/
|
|
65
|
+
static forRoot() {
|
|
66
|
+
return {
|
|
67
|
+
ngModule: IgoJsonDialogModule
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoJsonDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
71
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoJsonDialogModule, imports: [JsonDialogComponent], exports: [JsonDialogComponent] });
|
|
72
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoJsonDialogModule, providers: [JsonDialogService], imports: [JsonDialogComponent] });
|
|
73
|
+
}
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoJsonDialogModule, decorators: [{
|
|
75
|
+
type: NgModule,
|
|
76
|
+
args: [{
|
|
77
|
+
imports: [JsonDialogComponent],
|
|
78
|
+
exports: [JsonDialogComponent],
|
|
79
|
+
providers: [JsonDialogService]
|
|
80
|
+
}]
|
|
81
|
+
}] });
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Generated bundle index. Do not edit.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
export { IgoJsonDialogModule, JsonDialogComponent, JsonDialogService };
|
|
88
|
+
//# sourceMappingURL=igo2-common-json-dialog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"igo2-common-json-dialog.mjs","sources":["../../../packages/common/json-dialog/src/json-dialog.component.ts","../../../packages/common/json-dialog/src/json-dialog.component.html","../../../packages/common/json-dialog/src/json-dialog.service.ts","../../../packages/common/json-dialog/src/json-dialog.module.ts","../../../packages/common/json-dialog/src/igo2-common-json-dialog.ts"],"sourcesContent":["import { KeyValuePipe, NgFor, NgIf, NgTemplateOutlet } from '@angular/common';\nimport { Component } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n MatDialogActions,\n MatDialogContent,\n MatDialogRef,\n MatDialogTitle\n} from '@angular/material/dialog';\n\n@Component({\n selector: 'igo-json-dialog',\n templateUrl: './json-dialog.component.html',\n standalone: true,\n imports: [\n MatDialogTitle,\n MatDialogContent,\n NgTemplateOutlet,\n NgFor,\n NgIf,\n MatDialogActions,\n MatButtonModule,\n KeyValuePipe\n ]\n})\nexport class JsonDialogComponent {\n public title: string;\n public data: any;\n public ignoreKeys: string[];\n\n constructor(public dialogRef: MatDialogRef<JsonDialogComponent>) {}\n\n isObject(val) {\n return typeof val === 'object' && !Array.isArray(val);\n }\n\n getKey(baseKey, key) {\n return (baseKey ? baseKey + '.' : '') + key;\n }\n}\n","<h1 mat-dialog-title class=\"mat-typography\">{{ title }}</h1>\n\n<div mat-dialog-content class=\"mat-typography\">\n <ng-container\n *ngTemplateOutlet=\"loopObject; context: { obj: data }\"\n ></ng-container>\n\n <ng-template #loopObject let-obj=\"obj\" let-baseKey=\"baseKey\">\n <ng-container *ngFor=\"let property of obj | keyvalue\">\n <ng-container\n *ngIf=\"ignoreKeys.indexOf(getKey(baseKey, property.key)) === -1\"\n >\n <ng-container *ngIf=\"isObject(property.value); else notObject\">\n <ng-container\n *ngTemplateOutlet=\"\n loopObject;\n context: {\n obj: property.value,\n baseKey: getKey(baseKey, property.key)\n }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #notObject>\n <p>\n <span\n ><b>{{ getKey(baseKey, property.key) }}</b> : </span\n ><span class=\"propertyValue\" [innerHtml]=\"property.value\"></span>\n </p>\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-template>\n</div>\n\n<div mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"dialogRef.close(false)\">\n OK\n </button>\n</div>\n","import { Injectable } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\n\nimport { Observable } from 'rxjs';\n\nimport { JsonDialogComponent } from './json-dialog.component';\n\n@Injectable()\nexport class JsonDialogService {\n constructor(private dialog: MatDialog) {}\n\n public open(title: any, data, ignoreKeys?: string[]): Observable<any> {\n const dialogRef = this.dialog.open(JsonDialogComponent, {\n disableClose: false\n });\n dialogRef.componentInstance.data = data;\n dialogRef.componentInstance.title = title;\n dialogRef.componentInstance.ignoreKeys = ignoreKeys ?? [];\n\n return dialogRef.afterClosed();\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { JsonDialogComponent } from './json-dialog.component';\nimport { JsonDialogService } from './json-dialog.service';\n\n@NgModule({\n imports: [JsonDialogComponent],\n exports: [JsonDialogComponent],\n providers: [JsonDialogService]\n})\nexport class IgoJsonDialogModule {\n /**\n * @deprecated it has no effect\n */\n static forRoot(): ModuleWithProviders<IgoJsonDialogModule> {\n return {\n ngModule: IgoJsonDialogModule\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAyBa,mBAAmB,CAAA;AAKX,IAAA,SAAA,CAAA;AAJZ,IAAA,KAAK,CAAS;AACd,IAAA,IAAI,CAAM;AACV,IAAA,UAAU,CAAW;AAE5B,IAAA,WAAA,CAAmB,SAA4C,EAAA;QAA5C,IAAS,CAAA,SAAA,GAAT,SAAS,CAAmC;KAAI;AAEnE,IAAA,QAAQ,CAAC,GAAG,EAAA;AACV,QAAA,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;KACvD;IAED,MAAM,CAAC,OAAO,EAAE,GAAG,EAAA;AACjB,QAAA,OAAO,CAAC,OAAO,GAAG,OAAO,GAAG,GAAG,GAAG,EAAE,IAAI,GAAG,CAAC;KAC7C;uGAbU,mBAAmB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,2ECzBhC,wwCAyCA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED1BI,cAAc,EAAA,QAAA,EAAA,sCAAA,EAAA,MAAA,EAAA,CAAA,IAAA,CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACd,gBAAgB,EAChB,QAAA,EAAA,8DAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,EAChB,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,KAAK,mHACL,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACJ,gBAAgB,EAChB,QAAA,EAAA,8DAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,uNACf,YAAY,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAGH,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,SAAS;+BACE,iBAAiB,EAAA,UAAA,EAEf,IAAI,EACP,OAAA,EAAA;wBACP,cAAc;wBACd,gBAAgB;wBAChB,gBAAgB;wBAChB,KAAK;wBACL,IAAI;wBACJ,gBAAgB;wBAChB,eAAe;wBACf,YAAY;AACb,qBAAA,EAAA,QAAA,EAAA,wwCAAA,EAAA,CAAA;;;MEfU,iBAAiB,CAAA;AACR,IAAA,MAAA,CAAA;AAApB,IAAA,WAAA,CAAoB,MAAiB,EAAA;QAAjB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAW;KAAI;AAElC,IAAA,IAAI,CAAC,KAAU,EAAE,IAAI,EAAE,UAAqB,EAAA;QACjD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACtD,YAAA,YAAY,EAAE,KAAK;AACpB,SAAA,CAAC,CAAC;AACH,QAAA,SAAS,CAAC,iBAAiB,CAAC,IAAI,GAAG,IAAI,CAAC;AACxC,QAAA,SAAS,CAAC,iBAAiB,CAAC,KAAK,GAAG,KAAK,CAAC;QAC1C,SAAS,CAAC,iBAAiB,CAAC,UAAU,GAAG,UAAU,IAAI,EAAE,CAAC;AAE1D,QAAA,OAAO,SAAS,CAAC,WAAW,EAAE,CAAC;KAChC;uGAZU,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;2GAAjB,iBAAiB,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B,UAAU;;;MCGE,mBAAmB,CAAA;AAC9B;;AAEG;AACH,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,mBAAmB;SAC9B,CAAC;KACH;uGARU,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wGAAnB,mBAAmB,EAAA,OAAA,EAAA,CAJpB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAGlB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAFnB,SAAA,EAAA,CAAC,iBAAiB,CAAC,YAFpB,mBAAmB,CAAA,EAAA,CAAA,CAAA;;2FAIlB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,SAAS,EAAE,CAAC,iBAAiB,CAAC;AAC/B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class KeyValuePipe {
|
|
5
|
+
transform(value, args) {
|
|
6
|
+
const keyValues = [];
|
|
7
|
+
Object.getOwnPropertyNames(value).forEach((key) => keyValues.push({ key, value: value[key] }));
|
|
8
|
+
return keyValues;
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KeyValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
11
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue" });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
14
|
+
type: Pipe,
|
|
15
|
+
args: [{
|
|
16
|
+
name: 'keyvalue',
|
|
17
|
+
standalone: true
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated import the KeyValuePipe directly
|
|
23
|
+
*/
|
|
24
|
+
class IgoKeyValueModule {
|
|
25
|
+
static forRoot() {
|
|
26
|
+
return {
|
|
27
|
+
ngModule: IgoKeyValueModule,
|
|
28
|
+
providers: []
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoKeyValueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
32
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoKeyValueModule, imports: [KeyValuePipe], exports: [KeyValuePipe] });
|
|
33
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoKeyValueModule });
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoKeyValueModule, decorators: [{
|
|
36
|
+
type: NgModule,
|
|
37
|
+
args: [{
|
|
38
|
+
imports: [KeyValuePipe],
|
|
39
|
+
exports: [KeyValuePipe]
|
|
40
|
+
}]
|
|
41
|
+
}] });
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Generated bundle index. Do not edit.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
export { IgoKeyValueModule, KeyValuePipe };
|
|
48
|
+
//# sourceMappingURL=igo2-common-keyvalue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"igo2-common-keyvalue.mjs","sources":["../../../packages/common/keyvalue/src/keyvalue.pipe.ts","../../../packages/common/keyvalue/src/keyvalue.module.ts","../../../packages/common/keyvalue/src/igo2-common-keyvalue.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'keyvalue',\n standalone: true\n})\nexport class KeyValuePipe implements PipeTransform {\n transform(value: any, args?: any): any {\n const keyValues = [];\n Object.getOwnPropertyNames(value).forEach((key: string) =>\n keyValues.push({ key, value: value[key] })\n );\n\n return keyValues;\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { KeyValuePipe } from './keyvalue.pipe';\n\n/**\n * @deprecated import the KeyValuePipe directly\n */\n@NgModule({\n imports: [KeyValuePipe],\n exports: [KeyValuePipe]\n})\nexport class IgoKeyValueModule {\n static forRoot(): ModuleWithProviders<IgoKeyValueModule> {\n return {\n ngModule: IgoKeyValueModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,YAAY,CAAA;IACvB,SAAS,CAAC,KAAU,EAAE,IAAU,EAAA;QAC9B,MAAM,SAAS,GAAG,EAAE,CAAC;AACrB,QAAA,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,GAAW,KACpD,SAAS,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAC3C,CAAC;AAEF,QAAA,OAAO,SAAS,CAAC;KAClB;uGARU,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;qGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;;;ACDD;;AAEG;MAKU,iBAAiB,CAAA;AAC5B,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,iBAAiB;AAC3B,YAAA,SAAS,EAAE,EAAE;SACd,CAAC;KACH;uGANU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wGAAjB,iBAAiB,EAAA,OAAA,EAAA,CAHlB,YAAY,CAAA,EAAA,OAAA,EAAA,CACZ,YAAY,CAAA,EAAA,CAAA,CAAA;wGAEX,iBAAiB,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Directive, Input, Output, HostListener, Component, ContentChildren, NgModule } from '@angular/core';
|
|
3
|
+
import { NgClass } from '@angular/common';
|
|
4
|
+
import * as i1 from '@angular/material/list';
|
|
5
|
+
import { MatListModule } from '@angular/material/list';
|
|
6
|
+
import { ClickoutDirective } from '@igo2/common/clickout';
|
|
7
|
+
|
|
8
|
+
class ListItemDirective {
|
|
9
|
+
renderer;
|
|
10
|
+
el;
|
|
11
|
+
static focusedCls = 'igo-list-item-focused';
|
|
12
|
+
static selectedCls = 'igo-list-item-selected';
|
|
13
|
+
static disabledCls = 'igo-list-item-disabled';
|
|
14
|
+
get color() {
|
|
15
|
+
return this._color;
|
|
16
|
+
}
|
|
17
|
+
set color(value) {
|
|
18
|
+
this._color = value;
|
|
19
|
+
}
|
|
20
|
+
_color = 'primary';
|
|
21
|
+
get focused() {
|
|
22
|
+
return this._focused;
|
|
23
|
+
}
|
|
24
|
+
set focused(value) {
|
|
25
|
+
if (value === this._focused) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (this.disabled) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
value ? this.beforeFocus.emit(this) : this.beforeUnfocus.emit(this);
|
|
32
|
+
this._focused = value;
|
|
33
|
+
if (this.selected !== true) {
|
|
34
|
+
this.toggleFocusedClass();
|
|
35
|
+
}
|
|
36
|
+
value ? this.focus.emit(this) : this.unfocus.emit(this);
|
|
37
|
+
}
|
|
38
|
+
_focused = false;
|
|
39
|
+
get selected() {
|
|
40
|
+
return this._selected;
|
|
41
|
+
}
|
|
42
|
+
set selected(value) {
|
|
43
|
+
if (value === this._selected) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (this.disabled) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
value ? this.beforeSelect.emit(this) : this.beforeUnselect.emit(this);
|
|
50
|
+
this._selected = value;
|
|
51
|
+
this._focused = value;
|
|
52
|
+
this.toggleSelectedClass();
|
|
53
|
+
value ? this.select.emit(this) : this.unselect.emit(this);
|
|
54
|
+
}
|
|
55
|
+
_selected = false;
|
|
56
|
+
get disabled() {
|
|
57
|
+
return this._disabled;
|
|
58
|
+
}
|
|
59
|
+
set disabled(value) {
|
|
60
|
+
if (value === this._disabled) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (value === true) {
|
|
64
|
+
this.selected = false;
|
|
65
|
+
}
|
|
66
|
+
value ? this.beforeDisable.emit(this) : this.beforeEnable.emit(this);
|
|
67
|
+
this._disabled = value;
|
|
68
|
+
this.toggleDisabledClass();
|
|
69
|
+
value ? this.disable.emit(this) : this.enable.emit(this);
|
|
70
|
+
}
|
|
71
|
+
_disabled = false;
|
|
72
|
+
beforeSelect = new EventEmitter();
|
|
73
|
+
beforeFocus = new EventEmitter();
|
|
74
|
+
beforeUnselect = new EventEmitter();
|
|
75
|
+
beforeUnfocus = new EventEmitter();
|
|
76
|
+
beforeDisable = new EventEmitter();
|
|
77
|
+
beforeEnable = new EventEmitter();
|
|
78
|
+
focus = new EventEmitter();
|
|
79
|
+
unfocus = new EventEmitter();
|
|
80
|
+
select = new EventEmitter();
|
|
81
|
+
unselect = new EventEmitter();
|
|
82
|
+
disable = new EventEmitter();
|
|
83
|
+
enable = new EventEmitter();
|
|
84
|
+
onClick() {
|
|
85
|
+
this.selected = true;
|
|
86
|
+
}
|
|
87
|
+
constructor(renderer, el) {
|
|
88
|
+
this.renderer = renderer;
|
|
89
|
+
this.el = el;
|
|
90
|
+
}
|
|
91
|
+
getOffsetTop() {
|
|
92
|
+
const padding = 5;
|
|
93
|
+
return this.el.nativeElement.offsetTop - padding;
|
|
94
|
+
}
|
|
95
|
+
toggleFocusedClass() {
|
|
96
|
+
if (this.focused) {
|
|
97
|
+
this.addCls(ListItemDirective.focusedCls);
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
this.removeCls(ListItemDirective.focusedCls);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
toggleSelectedClass() {
|
|
104
|
+
if (this.selected) {
|
|
105
|
+
this.addCls(ListItemDirective.selectedCls);
|
|
106
|
+
this.removeCls(ListItemDirective.focusedCls);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
this.removeCls(ListItemDirective.selectedCls);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
toggleDisabledClass() {
|
|
113
|
+
if (this.disabled) {
|
|
114
|
+
this.addCls(ListItemDirective.disabledCls);
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
this.removeCls(ListItemDirective.disabledCls);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
addCls(cls) {
|
|
121
|
+
this.renderer.addClass(this.el.nativeElement, cls);
|
|
122
|
+
}
|
|
123
|
+
removeCls(cls) {
|
|
124
|
+
this.renderer.removeClass(this.el.nativeElement, cls);
|
|
125
|
+
}
|
|
126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
127
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: ListItemDirective, isStandalone: true, selector: "[igoListItem]", inputs: { color: "color", focused: "focused", selected: "selected", disabled: "disabled" }, outputs: { beforeSelect: "beforeSelect", beforeFocus: "beforeFocus", beforeUnselect: "beforeUnselect", beforeUnfocus: "beforeUnfocus", beforeDisable: "beforeDisable", beforeEnable: "beforeEnable", focus: "focus", unfocus: "unfocus", select: "select", unselect: "unselect", disable: "disable", enable: "enable" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
128
|
+
}
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
130
|
+
type: Directive,
|
|
131
|
+
args: [{
|
|
132
|
+
selector: '[igoListItem]',
|
|
133
|
+
standalone: true
|
|
134
|
+
}]
|
|
135
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { color: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], focused: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], selected: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], disabled: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], beforeSelect: [{
|
|
144
|
+
type: Output
|
|
145
|
+
}], beforeFocus: [{
|
|
146
|
+
type: Output
|
|
147
|
+
}], beforeUnselect: [{
|
|
148
|
+
type: Output
|
|
149
|
+
}], beforeUnfocus: [{
|
|
150
|
+
type: Output
|
|
151
|
+
}], beforeDisable: [{
|
|
152
|
+
type: Output
|
|
153
|
+
}], beforeEnable: [{
|
|
154
|
+
type: Output
|
|
155
|
+
}], focus: [{
|
|
156
|
+
type: Output
|
|
157
|
+
}], unfocus: [{
|
|
158
|
+
type: Output
|
|
159
|
+
}], select: [{
|
|
160
|
+
type: Output
|
|
161
|
+
}], unselect: [{
|
|
162
|
+
type: Output
|
|
163
|
+
}], disable: [{
|
|
164
|
+
type: Output
|
|
165
|
+
}], enable: [{
|
|
166
|
+
type: Output
|
|
167
|
+
}], onClick: [{
|
|
168
|
+
type: HostListener,
|
|
169
|
+
args: ['click']
|
|
170
|
+
}] } });
|
|
171
|
+
|
|
172
|
+
class ListComponent {
|
|
173
|
+
el;
|
|
174
|
+
get navigation() {
|
|
175
|
+
return this._navigation;
|
|
176
|
+
}
|
|
177
|
+
set navigation(value) {
|
|
178
|
+
this._navigation = value;
|
|
179
|
+
}
|
|
180
|
+
_navigation = true;
|
|
181
|
+
get selection() {
|
|
182
|
+
return this._selection;
|
|
183
|
+
}
|
|
184
|
+
set selection(value) {
|
|
185
|
+
this._selection = value;
|
|
186
|
+
}
|
|
187
|
+
_selection = true;
|
|
188
|
+
get selectedItem() {
|
|
189
|
+
return this._selectedItem;
|
|
190
|
+
}
|
|
191
|
+
set selectedItem(value) {
|
|
192
|
+
this.focusedItem = value;
|
|
193
|
+
this._selectedItem = value;
|
|
194
|
+
}
|
|
195
|
+
_selectedItem;
|
|
196
|
+
get focusedItem() {
|
|
197
|
+
return this._focusedItem;
|
|
198
|
+
}
|
|
199
|
+
set focusedItem(value) {
|
|
200
|
+
this._focusedItem = value;
|
|
201
|
+
}
|
|
202
|
+
_focusedItem;
|
|
203
|
+
navigationEnabled;
|
|
204
|
+
listItems$$;
|
|
205
|
+
subscriptions = [];
|
|
206
|
+
listItems;
|
|
207
|
+
handleKeyboardEvent(event) {
|
|
208
|
+
// It would be nice to be able to unsubscribe to the event
|
|
209
|
+
// completely but until ES7 this won't be possible because
|
|
210
|
+
// document events are not observables
|
|
211
|
+
if (this.navigationEnabled) {
|
|
212
|
+
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
213
|
+
event.preventDefault();
|
|
214
|
+
this.navigate(event.key);
|
|
215
|
+
}
|
|
216
|
+
else if (event.key === 'Enter') {
|
|
217
|
+
this.select(this.focusedItem);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
constructor(el) {
|
|
222
|
+
this.el = el;
|
|
223
|
+
}
|
|
224
|
+
ngOnInit() {
|
|
225
|
+
this.enableNavigation();
|
|
226
|
+
}
|
|
227
|
+
ngAfterViewInit() {
|
|
228
|
+
if (this.listItems.length) {
|
|
229
|
+
this.init();
|
|
230
|
+
}
|
|
231
|
+
this.listItems$$ = this.listItems.changes.subscribe((items) => this.init());
|
|
232
|
+
}
|
|
233
|
+
ngOnDestroy() {
|
|
234
|
+
this.listItems$$.unsubscribe();
|
|
235
|
+
}
|
|
236
|
+
focus(item) {
|
|
237
|
+
if (!this.selection) {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
this.unfocus();
|
|
241
|
+
// We need to make this check because dynamic
|
|
242
|
+
// lists such as in the search results list may fail
|
|
243
|
+
if (item !== undefined) {
|
|
244
|
+
item.focused = true;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
unfocus() {
|
|
248
|
+
if (this.focusedItem !== undefined) {
|
|
249
|
+
this.focusedItem.focused = false;
|
|
250
|
+
}
|
|
251
|
+
this.focusedItem = undefined;
|
|
252
|
+
}
|
|
253
|
+
focusNext() {
|
|
254
|
+
const items = this.listItems.toArray();
|
|
255
|
+
let item;
|
|
256
|
+
const igoList = this.el.nativeElement;
|
|
257
|
+
let disabled = true;
|
|
258
|
+
let index = this.getFocusedIndex();
|
|
259
|
+
if (index === undefined) {
|
|
260
|
+
index = -1;
|
|
261
|
+
}
|
|
262
|
+
while (disabled && index < items.length - 1) {
|
|
263
|
+
index += 1;
|
|
264
|
+
item = items[index];
|
|
265
|
+
disabled = item.disabled;
|
|
266
|
+
}
|
|
267
|
+
if (item !== undefined) {
|
|
268
|
+
this.focus(item);
|
|
269
|
+
}
|
|
270
|
+
if (!items[index + 1]) {
|
|
271
|
+
igoList.scrollTop = igoList.scrollHeight - igoList.clientHeight;
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
if (item !== undefined && !this.isScrolledIntoView(item.el.nativeElement)) {
|
|
275
|
+
igoList.scrollTop =
|
|
276
|
+
item.el.nativeElement.offsetTop +
|
|
277
|
+
item.el.nativeElement.children[0].offsetHeight -
|
|
278
|
+
igoList.clientHeight;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
focusPrevious() {
|
|
282
|
+
const items = this.listItems.toArray();
|
|
283
|
+
let item;
|
|
284
|
+
const igoList = this.el.nativeElement;
|
|
285
|
+
let disabled = true;
|
|
286
|
+
let index = this.getFocusedIndex();
|
|
287
|
+
while (disabled && index > 0) {
|
|
288
|
+
index -= 1;
|
|
289
|
+
item = items[index];
|
|
290
|
+
disabled = item.disabled;
|
|
291
|
+
}
|
|
292
|
+
if (item !== undefined) {
|
|
293
|
+
this.focus(item);
|
|
294
|
+
}
|
|
295
|
+
if (!items[index - 1]) {
|
|
296
|
+
igoList.scrollTop = 0;
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
if (item !== undefined && !this.isScrolledIntoView(item.el.nativeElement)) {
|
|
300
|
+
const padding = 3;
|
|
301
|
+
igoList.scrollTop = item.el.nativeElement.offsetTop - padding;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
select(item) {
|
|
305
|
+
if (!this.selection) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
this.unselect();
|
|
309
|
+
if (item !== undefined) {
|
|
310
|
+
item.selected = true;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
unselect() {
|
|
314
|
+
this.unfocus();
|
|
315
|
+
if (this.selectedItem !== undefined) {
|
|
316
|
+
this.selectedItem.selected = false;
|
|
317
|
+
}
|
|
318
|
+
this.selectedItem = undefined;
|
|
319
|
+
}
|
|
320
|
+
enableNavigation() {
|
|
321
|
+
if (this.navigation) {
|
|
322
|
+
this.navigationEnabled = true;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
disableNavigation() {
|
|
326
|
+
this.navigationEnabled = false;
|
|
327
|
+
}
|
|
328
|
+
scrollToItem(item) {
|
|
329
|
+
this.el.nativeElement.scrollTop = item.getOffsetTop();
|
|
330
|
+
}
|
|
331
|
+
isScrolledIntoView(elem) {
|
|
332
|
+
const docViewTop = this.el.nativeElement.scrollTop + this.el.nativeElement.offsetTop;
|
|
333
|
+
const docViewBottom = docViewTop + this.el.nativeElement.clientHeight;
|
|
334
|
+
const elemTop = elem.offsetTop;
|
|
335
|
+
const elemBottom = elemTop + elem.children[0].offsetHeight;
|
|
336
|
+
return elemBottom <= docViewBottom && elemTop >= docViewTop;
|
|
337
|
+
}
|
|
338
|
+
init() {
|
|
339
|
+
this.subscribe();
|
|
340
|
+
this.selectedItem = this.findSelectedItem();
|
|
341
|
+
this.focusedItem = this.findFocusedItem();
|
|
342
|
+
this.enableNavigation();
|
|
343
|
+
}
|
|
344
|
+
subscribe() {
|
|
345
|
+
this.unsubscribe();
|
|
346
|
+
this.listItems.toArray().forEach((item) => {
|
|
347
|
+
this.subscriptions.push(item.beforeSelect.subscribe((item2) => this.handleItemBeforeSelect(item2)));
|
|
348
|
+
this.subscriptions.push(item.select.subscribe((item2) => this.handleItemSelect(item2)));
|
|
349
|
+
this.subscriptions.push(item.beforeFocus.subscribe((item2) => this.handleItemBeforeFocus(item2)));
|
|
350
|
+
this.subscriptions.push(item.focus.subscribe((item2) => this.handleItemFocus(item2)));
|
|
351
|
+
}, this);
|
|
352
|
+
}
|
|
353
|
+
unsubscribe() {
|
|
354
|
+
this.subscriptions.forEach((sub) => sub.unsubscribe());
|
|
355
|
+
this.subscriptions = [];
|
|
356
|
+
}
|
|
357
|
+
handleItemBeforeFocus(item) {
|
|
358
|
+
if (item !== this.focusedItem) {
|
|
359
|
+
this.unfocus();
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
handleItemFocus(item) {
|
|
363
|
+
this.focusedItem = item;
|
|
364
|
+
}
|
|
365
|
+
handleItemBeforeSelect(item) {
|
|
366
|
+
if (item !== this.focusedItem) {
|
|
367
|
+
this.unselect();
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
handleItemSelect(item) {
|
|
371
|
+
this.selectedItem = item;
|
|
372
|
+
}
|
|
373
|
+
findSelectedItem() {
|
|
374
|
+
return this.listItems.toArray().find((item) => item.selected);
|
|
375
|
+
}
|
|
376
|
+
findFocusedItem() {
|
|
377
|
+
return this.listItems.toArray().find((item) => item.focused);
|
|
378
|
+
}
|
|
379
|
+
getFocusedIndex() {
|
|
380
|
+
return this.listItems
|
|
381
|
+
.toArray()
|
|
382
|
+
.findIndex((item) => item === this.focusedItem);
|
|
383
|
+
}
|
|
384
|
+
navigate(key) {
|
|
385
|
+
switch (key) {
|
|
386
|
+
case 'ArrowUp':
|
|
387
|
+
this.focusPrevious();
|
|
388
|
+
break;
|
|
389
|
+
case 'ArrowDown':
|
|
390
|
+
this.focusNext();
|
|
391
|
+
break;
|
|
392
|
+
default:
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ListComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
397
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ListComponent, isStandalone: true, selector: "igo-list", inputs: { navigation: "navigation", selection: "selection" }, host: { listeners: { "document:keydown": "handleKeyboardEvent($event)", "document:enter": "handleKeyboardEvent($event)" } }, queries: [{ propertyName: "listItems", predicate: ListItemDirective, descendants: true }], ngImport: i0, template: "<mat-list\n igoClickout\n [ngClass]=\"{ selectable: selection }\"\n (clickout)=\"disableNavigation()\"\n (click)=\"enableNavigation()\"\n>\n <ng-content></ng-content>\n</mat-list>\n", styles: [":host{display:block;height:100%;overflow:auto;position:relative}:host mat-list{padding-top:0}:host ::ng-deep .mat-mdc-list .mat-mdc-list-item .mdc-list-item__primary-text{white-space:normal;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;max-height:36px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}:host ::ng-deep .mat-mdc-list .mat-mdc-list-item.mdc-list-item--with-leading-icon{height:48px}:host ::ng-deep .mat-mdc-list ::ng-deep igo-collapsible>.mat-mdc-list-item>.mdc-list-item__primary-text>.mat-mdc-list-item{font-weight:700;opacity:.9}:host mat-list.selectable ::ng-deep [igolistitem]:not(.igo-list-item-disabled) mat-list-item:hover{cursor:pointer}:host ::ng-deep [igolistitem]:focus{outline:none}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "directive", type: ClickoutDirective, selector: "[igoClickout]", outputs: ["clickout"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
398
|
+
}
|
|
399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ListComponent, decorators: [{
|
|
400
|
+
type: Component,
|
|
401
|
+
args: [{ selector: 'igo-list', standalone: true, imports: [MatListModule, ClickoutDirective, NgClass], template: "<mat-list\n igoClickout\n [ngClass]=\"{ selectable: selection }\"\n (clickout)=\"disableNavigation()\"\n (click)=\"enableNavigation()\"\n>\n <ng-content></ng-content>\n</mat-list>\n", styles: [":host{display:block;height:100%;overflow:auto;position:relative}:host mat-list{padding-top:0}:host ::ng-deep .mat-mdc-list .mat-mdc-list-item .mdc-list-item__primary-text{white-space:normal;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;max-height:36px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}:host ::ng-deep .mat-mdc-list .mat-mdc-list-item.mdc-list-item--with-leading-icon{height:48px}:host ::ng-deep .mat-mdc-list ::ng-deep igo-collapsible>.mat-mdc-list-item>.mdc-list-item__primary-text>.mat-mdc-list-item{font-weight:700;opacity:.9}:host mat-list.selectable ::ng-deep [igolistitem]:not(.igo-list-item-disabled) mat-list-item:hover{cursor:pointer}:host ::ng-deep [igolistitem]:focus{outline:none}\n"] }]
|
|
402
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { navigation: [{
|
|
403
|
+
type: Input
|
|
404
|
+
}], selection: [{
|
|
405
|
+
type: Input
|
|
406
|
+
}], listItems: [{
|
|
407
|
+
type: ContentChildren,
|
|
408
|
+
args: [ListItemDirective, { descendants: true }]
|
|
409
|
+
}], handleKeyboardEvent: [{
|
|
410
|
+
type: HostListener,
|
|
411
|
+
args: ['document:keydown', ['$event']]
|
|
412
|
+
}, {
|
|
413
|
+
type: HostListener,
|
|
414
|
+
args: ['document:enter', ['$event']]
|
|
415
|
+
}] } });
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @deprecated import the components/directives directly or LIST_DIRECTIVES for the set
|
|
419
|
+
*/
|
|
420
|
+
class IgoListModule {
|
|
421
|
+
static forRoot() {
|
|
422
|
+
return {
|
|
423
|
+
ngModule: IgoListModule,
|
|
424
|
+
providers: []
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
428
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoListModule, imports: [ListItemDirective, ListComponent], exports: [ListItemDirective, ListComponent] });
|
|
429
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoListModule, imports: [ListComponent] });
|
|
430
|
+
}
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoListModule, decorators: [{
|
|
432
|
+
type: NgModule,
|
|
433
|
+
args: [{
|
|
434
|
+
imports: [ListItemDirective, ListComponent],
|
|
435
|
+
exports: [ListItemDirective, ListComponent]
|
|
436
|
+
}]
|
|
437
|
+
}] });
|
|
438
|
+
|
|
439
|
+
const LIST_DIRECTIVES = [ListItemDirective, ListComponent];
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Generated bundle index. Do not edit.
|
|
443
|
+
*/
|
|
444
|
+
|
|
445
|
+
export { IgoListModule, LIST_DIRECTIVES, ListComponent, ListItemDirective };
|
|
446
|
+
//# sourceMappingURL=igo2-common-list.mjs.map
|