@igo2/common 1.12.1 → 1.13.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2015/igo2-common.js → esm2020/igo2-common.mjs} +0 -0
- package/{esm2015/lib/action/action.module.js → esm2020/lib/action/action.module.mjs} +3 -5
- package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +252 -0
- package/esm2020/lib/action/actionbar/actionbar.component.mjs +370 -0
- package/{esm2015/lib/action/actionbar/actionbar.module.js → esm2020/lib/action/actionbar/actionbar.module.mjs} +10 -12
- package/{esm2015/lib/action/index.js → esm2020/lib/action/index.mjs} +1 -1
- package/{esm2015/lib/action/shared/action.enums.js → esm2020/lib/action/shared/action.enums.mjs} +1 -1
- package/esm2020/lib/action/shared/action.interfaces.mjs +2 -0
- package/{esm2015/lib/action/shared/index.js → esm2020/lib/action/shared/index.mjs} +1 -1
- package/{esm2015/lib/action/shared/store.js → esm2020/lib/action/shared/store.mjs} +1 -1
- package/{esm2015/lib/backdrop/backdrop.component.js → esm2020/lib/backdrop/backdrop.component.mjs} +3 -7
- package/{esm2015/lib/backdrop/backdrop.module.js → esm2020/lib/backdrop/backdrop.module.mjs} +2 -2
- package/{esm2015/lib/backdrop/index.js → esm2020/lib/backdrop/index.mjs} +1 -1
- package/{esm2015/lib/badge-icon/badge-icon.directive.js → esm2020/lib/badge-icon/badge-icon.directive.mjs} +1 -1
- package/{esm2015/lib/badge-icon/badge-icon.module.js → esm2020/lib/badge-icon/badge-icon.module.mjs} +2 -2
- package/{esm2015/lib/badge-icon/index.js → esm2020/lib/badge-icon/index.mjs} +1 -1
- package/{esm2015/lib/clickout/clickout.directive.js → esm2020/lib/clickout/clickout.directive.mjs} +1 -1
- package/{esm2015/lib/clickout/clickout.module.js → esm2020/lib/clickout/clickout.module.mjs} +2 -2
- package/{esm2015/lib/clickout/index.js → esm2020/lib/clickout/index.mjs} +1 -1
- package/{esm2015/lib/clone/clone.module.js → esm2020/lib/clone/clone.module.mjs} +2 -2
- package/{esm2015/lib/clone/clone.pipe.js → esm2020/lib/clone/clone.pipe.mjs} +1 -1
- package/{esm2015/lib/clone/index.js → esm2020/lib/clone/index.mjs} +1 -1
- package/{esm2015/lib/collapsible/collapse.directive.js → esm2020/lib/collapsible/collapse.directive.mjs} +1 -1
- package/{esm2015/lib/collapsible/collapsible.component.js → esm2020/lib/collapsible/collapsible.component.mjs} +9 -15
- package/{esm2015/lib/collapsible/collapsible.module.js → esm2020/lib/collapsible/collapsible.module.mjs} +2 -2
- package/{esm2015/lib/collapsible/index.js → esm2020/lib/collapsible/index.mjs} +1 -1
- package/{esm2015/lib/confirm-dialog/confirm-dialog.component.js → esm2020/lib/confirm-dialog/confirm-dialog.component.mjs} +5 -11
- package/{esm2015/lib/confirm-dialog/confirm-dialog.module.js → esm2020/lib/confirm-dialog/confirm-dialog.module.mjs} +2 -2
- package/{esm2015/lib/confirm-dialog/confirm-dialog.service.js → esm2020/lib/confirm-dialog/confirm-dialog.service.mjs} +1 -1
- package/{esm2015/lib/confirm-dialog/index.js → esm2020/lib/confirm-dialog/index.mjs} +1 -1
- package/{esm2015/lib/context-menu/context-menu.directive.js → esm2020/lib/context-menu/context-menu.directive.mjs} +1 -1
- package/{esm2015/lib/context-menu/context-menu.module.js → esm2020/lib/context-menu/context-menu.module.mjs} +2 -2
- package/{esm2015/lib/context-menu/index.js → esm2020/lib/context-menu/index.mjs} +1 -1
- package/{esm2015/lib/custom-html/custom-html.component.js → esm2020/lib/custom-html/custom-html.component.mjs} +3 -7
- package/{esm2015/lib/custom-html/custom-html.module.js → esm2020/lib/custom-html/custom-html.module.mjs} +7 -9
- package/{esm2015/lib/custom-html/custom-html.pipe.js → esm2020/lib/custom-html/custom-html.pipe.mjs} +1 -1
- package/{esm2015/lib/custom-html/index.js → esm2020/lib/custom-html/index.mjs} +1 -1
- package/{esm2015/lib/dom/dom.interfaces.js → esm2020/lib/dom/dom.interfaces.mjs} +1 -1
- package/{esm2015/lib/dom/dom.module.js → esm2020/lib/dom/dom.module.mjs} +1 -1
- package/esm2020/lib/dom/dom.service.mjs +30 -0
- package/{esm2015/lib/dom/index.js → esm2020/lib/dom/index.mjs} +1 -1
- package/{esm2015/lib/drag-drop/drag-drop.directive.js → esm2020/lib/drag-drop/drag-drop.directive.mjs} +0 -0
- package/{esm2015/lib/drag-drop/drag-drop.module.js → esm2020/lib/drag-drop/drag-drop.module.mjs} +2 -2
- package/{esm2015/lib/drag-drop/index.js → esm2020/lib/drag-drop/index.mjs} +1 -1
- package/{esm2015/lib/dynamic-component/dynamic-component.module.js → esm2020/lib/dynamic-component/dynamic-component.module.mjs} +3 -5
- package/{esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js → esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs} +2 -7
- package/{esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js → esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs} +2 -4
- package/{esm2015/lib/dynamic-component/index.js → esm2020/lib/dynamic-component/index.mjs} +1 -1
- package/{esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js → esm2020/lib/dynamic-component/shared/dynamic-component.interfaces.mjs} +1 -1
- package/{esm2015/lib/dynamic-component/shared/dynamic-component.js → esm2020/lib/dynamic-component/shared/dynamic-component.mjs} +1 -1
- package/{esm2015/lib/dynamic-component/shared/dynamic-component.service.js → esm2020/lib/dynamic-component/shared/dynamic-component.service.mjs} +1 -1
- package/{esm2015/lib/dynamic-component/shared/index.js → esm2020/lib/dynamic-component/shared/index.mjs} +1 -1
- package/{esm2015/lib/entity/entity-selector/entity-selector.component.js → esm2020/lib/entity/entity-selector/entity-selector.component.mjs} +8 -15
- package/{esm2015/lib/entity/entity-selector/entity-selector.module.js → esm2020/lib/entity/entity-selector/entity-selector.module.mjs} +4 -6
- package/{esm2015/lib/entity/entity-table/entity-table-row.directive.js → esm2020/lib/entity/entity-table/entity-table-row.directive.mjs} +1 -1
- package/esm2020/lib/entity/entity-table/entity-table.component.mjs +1339 -0
- package/{esm2015/lib/entity/entity-table/entity-table.module.js → esm2020/lib/entity/entity-table/entity-table.module.mjs} +20 -22
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +132 -0
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -0
- package/{esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js → esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs} +2 -4
- package/{esm2015/lib/entity/entity.module.js → esm2020/lib/entity/entity.module.mjs} +2 -4
- package/{esm2015/lib/entity/index.js → esm2020/lib/entity/index.mjs} +1 -1
- package/{esm2015/lib/entity/shared/entity.enums.js → esm2020/lib/entity/shared/entity.enums.mjs} +1 -1
- package/esm2020/lib/entity/shared/entity.interfaces.mjs +2 -0
- package/esm2020/lib/entity/shared/entity.utils.mjs +67 -0
- package/{esm2015/lib/entity/shared/index.js → esm2020/lib/entity/shared/index.mjs} +1 -1
- package/{esm2015/lib/entity/shared/state.js → esm2020/lib/entity/shared/state.mjs} +1 -1
- package/{esm2015/lib/entity/shared/store.js → esm2020/lib/entity/shared/store.mjs} +1 -1
- package/{esm2015/lib/entity/shared/strategies/filter-custom-function.js → esm2020/lib/entity/shared/strategies/filter-custom-function.mjs} +1 -1
- package/{esm2015/lib/entity/shared/strategies/filter-selection.js → esm2020/lib/entity/shared/strategies/filter-selection.mjs} +1 -1
- package/{esm2015/lib/entity/shared/strategies/index.js → esm2020/lib/entity/shared/strategies/index.mjs} +1 -1
- package/{esm2015/lib/entity/shared/strategies/strategy.js → esm2020/lib/entity/shared/strategies/strategy.mjs} +1 -1
- package/{esm2015/lib/entity/shared/transaction.js → esm2020/lib/entity/shared/transaction.mjs} +1 -1
- package/{esm2015/lib/entity/shared/view.js → esm2020/lib/entity/shared/view.mjs} +1 -1
- package/{esm2015/lib/entity/shared/watcher.js → esm2020/lib/entity/shared/watcher.mjs} +1 -1
- package/{esm2015/lib/flexible/flexible.component.js → esm2020/lib/flexible/flexible.component.mjs} +7 -17
- package/{esm2015/lib/flexible/flexible.module.js → esm2020/lib/flexible/flexible.module.mjs} +2 -2
- package/{esm2015/lib/flexible/flexible.type.js → esm2020/lib/flexible/flexible.type.mjs} +1 -1
- package/{esm2015/lib/flexible/index.js → esm2020/lib/flexible/index.mjs} +1 -1
- package/esm2020/lib/form/form/form.component.mjs +117 -0
- package/{esm2015/lib/form/form/form.module.js → esm2020/lib/form/form/form.module.mjs} +4 -6
- package/esm2020/lib/form/form-field/form-field-select.component.mjs +127 -0
- package/esm2020/lib/form/form-field/form-field-text.component.mjs +104 -0
- package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +105 -0
- package/{esm2015/lib/form/form-field/form-field.component.js → esm2020/lib/form/form-field/form-field.component.mjs} +3 -8
- package/{esm2015/lib/form/form-field/form-field.module.js → esm2020/lib/form/form-field/form-field.module.mjs} +10 -12
- package/{esm2015/lib/form/form-field/index.js → esm2020/lib/form/form-field/index.mjs} +1 -1
- package/{esm2015/lib/form/form-group/form-group.component.js → esm2020/lib/form/form-group/form-group.component.mjs} +5 -10
- package/{esm2015/lib/form/form-group/form-group.module.js → esm2020/lib/form/form-group/form-group.module.mjs} +5 -7
- package/{esm2015/lib/form/form.module.js → esm2020/lib/form/form.module.mjs} +4 -6
- package/{esm2015/lib/form/index.js → esm2020/lib/form/index.mjs} +1 -1
- package/{esm2015/lib/form/shared/form-field-component.js → esm2020/lib/form/shared/form-field-component.mjs} +1 -1
- package/{esm2015/lib/form/shared/form-field.service.js → esm2020/lib/form/shared/form-field.service.mjs} +1 -1
- package/esm2020/lib/form/shared/form.interfaces.mjs +2 -0
- package/esm2020/lib/form/shared/form.service.mjs +81 -0
- package/{esm2015/lib/form/shared/form.utils.js → esm2020/lib/form/shared/form.utils.mjs} +1 -1
- package/{esm2015/lib/form/shared/index.js → esm2020/lib/form/shared/index.mjs} +1 -1
- package/{esm2015/lib/home-button/home-button.component.js → esm2020/lib/home-button/home-button.component.mjs} +6 -10
- package/{esm2015/lib/home-button/home-button.module.js → esm2020/lib/home-button/home-button.module.mjs} +6 -8
- package/{esm2015/lib/home-button/index.js → esm2020/lib/home-button/index.mjs} +1 -1
- package/{esm2015/lib/image/image.module.js → esm2020/lib/image/image.module.mjs} +2 -2
- package/{esm2015/lib/image/index.js → esm2020/lib/image/index.mjs} +1 -1
- package/esm2020/lib/image/secure-image.pipe.mjs +54 -0
- package/{esm2015/lib/interactive-tour/index.js → esm2020/lib/interactive-tour/index.mjs} +1 -1
- package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +135 -0
- package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +2 -0
- package/{esm2015/lib/interactive-tour/interactive-tour.loader.js → esm2020/lib/interactive-tour/interactive-tour.loader.mjs} +1 -1
- package/{esm2015/lib/interactive-tour/interactive-tour.module.js → esm2020/lib/interactive-tour/interactive-tour.module.mjs} +6 -8
- package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +285 -0
- package/{esm2015/lib/json-dialog/index.js → esm2020/lib/json-dialog/index.mjs} +1 -1
- package/{esm2015/lib/json-dialog/json-dialog.component.js → esm2020/lib/json-dialog/json-dialog.component.mjs} +6 -13
- package/{esm2015/lib/json-dialog/json-dialog.module.js → esm2020/lib/json-dialog/json-dialog.module.mjs} +2 -2
- package/{esm2015/lib/json-dialog/json-dialog.service.js → esm2020/lib/json-dialog/json-dialog.service.mjs} +1 -1
- package/{esm2015/lib/keyvalue/index.js → esm2020/lib/keyvalue/index.mjs} +1 -1
- package/{esm2015/lib/keyvalue/keyvalue.module.js → esm2020/lib/keyvalue/keyvalue.module.mjs} +2 -2
- package/{esm2015/lib/keyvalue/keyvalue.pipe.js → esm2020/lib/keyvalue/keyvalue.pipe.mjs} +1 -1
- package/{esm2015/lib/list/index.js → esm2020/lib/list/index.mjs} +1 -1
- package/{esm2015/lib/list/list-item.directive.js → esm2020/lib/list/list-item.directive.mjs} +1 -1
- package/{esm2015/lib/list/list.component.js → esm2020/lib/list/list.component.mjs} +6 -10
- package/{esm2015/lib/list/list.module.js → esm2020/lib/list/list.module.mjs} +2 -2
- package/{esm2015/lib/panel/index.js → esm2020/lib/panel/index.mjs} +1 -1
- package/esm2020/lib/panel/panel.component.mjs +60 -0
- package/{esm2015/lib/panel/panel.module.js → esm2020/lib/panel/panel.module.mjs} +2 -2
- package/{esm2015/lib/sidenav/index.js → esm2020/lib/sidenav/index.mjs} +1 -1
- package/{esm2015/lib/sidenav/sidenav-shim.directive.js → esm2020/lib/sidenav/sidenav-shim.directive.mjs} +1 -1
- package/{esm2015/lib/sidenav/sidenav.module.js → esm2020/lib/sidenav/sidenav.module.mjs} +2 -2
- package/{esm2015/lib/spinner/index.js → esm2020/lib/spinner/index.mjs} +1 -1
- package/{esm2015/lib/spinner/spinner-activity.directive.js → esm2020/lib/spinner/spinner-activity.directive.mjs} +1 -1
- package/{esm2015/lib/spinner/spinner.component.js → esm2020/lib/spinner/spinner.component.mjs} +4 -9
- package/{esm2015/lib/spinner/spinner.module.js → esm2020/lib/spinner/spinner.module.mjs} +2 -2
- package/{esm2015/lib/stop-propagation/index.js → esm2020/lib/stop-propagation/index.mjs} +1 -1
- package/{esm2015/lib/stop-propagation/stop-drop-propagation.directive.js → esm2020/lib/stop-propagation/stop-drop-propagation.directive.mjs} +1 -1
- package/{esm2015/lib/stop-propagation/stop-propagation.directive.js → esm2020/lib/stop-propagation/stop-propagation.directive.mjs} +1 -1
- package/{esm2015/lib/stop-propagation/stop-propagation.module.js → esm2020/lib/stop-propagation/stop-propagation.module.mjs} +2 -2
- package/{esm2015/lib/table/index.js → esm2020/lib/table/index.mjs} +1 -1
- package/{esm2015/lib/table/table-action-color.enum.js → esm2020/lib/table/table-action-color.enum.mjs} +1 -1
- package/{esm2015/lib/table/table-database.js → esm2020/lib/table/table-database.mjs} +1 -1
- package/{esm2015/lib/table/table-datasource.js → esm2020/lib/table/table-datasource.mjs} +1 -1
- package/esm2020/lib/table/table-model.interface.mjs +2 -0
- package/esm2020/lib/table/table.component.mjs +297 -0
- package/{esm2015/lib/table/table.module.js → esm2020/lib/table/table.module.mjs} +12 -14
- package/{esm2015/lib/tool/index.js → esm2020/lib/tool/index.mjs} +1 -1
- package/{esm2015/lib/tool/shared/index.js → esm2020/lib/tool/shared/index.mjs} +1 -1
- package/{esm2015/lib/tool/shared/tool-component.js → esm2020/lib/tool/shared/tool-component.mjs} +1 -1
- package/esm2020/lib/tool/shared/tool.interface.mjs +2 -0
- package/{esm2015/lib/tool/shared/tool.service.js → esm2020/lib/tool/shared/tool.service.mjs} +1 -1
- package/{esm2015/lib/tool/shared/toolbox.enums.js → esm2020/lib/tool/shared/toolbox.enums.mjs} +1 -1
- package/{esm2015/lib/tool/shared/toolbox.js → esm2020/lib/tool/shared/toolbox.mjs} +1 -1
- package/{esm2015/lib/tool/tool.module.js → esm2020/lib/tool/tool.module.mjs} +2 -4
- package/{esm2015/lib/tool/toolbox/toolbox.animation.js → esm2020/lib/tool/toolbox/toolbox.animation.mjs} +1 -1
- package/esm2020/lib/tool/toolbox/toolbox.component.mjs +255 -0
- package/{esm2015/lib/tool/toolbox/toolbox.module.js → esm2020/lib/tool/toolbox/toolbox.module.mjs} +4 -6
- package/{esm2015/lib/widget/index.js → esm2020/lib/widget/index.mjs} +1 -1
- package/{esm2015/lib/widget/shared/index.js → esm2020/lib/widget/shared/index.mjs} +1 -1
- package/esm2020/lib/widget/shared/widget.interfaces.mjs +2 -0
- package/{esm2015/lib/widget/shared/widget.js → esm2020/lib/widget/shared/widget.mjs} +1 -1
- package/{esm2015/lib/widget/shared/widget.service.js → esm2020/lib/widget/shared/widget.service.mjs} +1 -1
- package/{esm2015/lib/widget/widget-outlet/widget-outlet.component.js → esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs} +3 -8
- package/{esm2015/lib/widget/widget-outlet/widget-outlet.module.js → esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs} +3 -5
- package/{esm2015/lib/widget/widget.module.js → esm2020/lib/widget/widget.module.mjs} +3 -5
- package/{esm2015/lib/workspace/index.js → esm2020/lib/workspace/index.mjs} +1 -1
- package/{esm2015/lib/workspace/shared/index.js → esm2020/lib/workspace/shared/index.mjs} +1 -1
- package/{esm2015/lib/workspace/shared/store.js → esm2020/lib/workspace/shared/store.mjs} +1 -1
- package/esm2020/lib/workspace/shared/workspace.interfaces.mjs +2 -0
- package/{esm2015/lib/workspace/shared/workspace.js → esm2020/lib/workspace/shared/workspace.mjs} +1 -1
- package/{esm2015/lib/workspace/workspace-selector/workspace-selector.component.js → esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs} +3 -8
- package/{esm2015/lib/workspace/workspace-selector/workspace-selector.module.js → esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs} +3 -5
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +88 -0
- package/{esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js → esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs} +3 -5
- package/{esm2015/lib/workspace/workspace.module.js → esm2020/lib/workspace/workspace.module.mjs} +2 -4
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +1 -1
- package/fesm2015/igo2-common.mjs +10145 -0
- package/fesm2015/igo2-common.mjs.map +1 -0
- package/{fesm2015/igo2-common.js → fesm2020/igo2-common.mjs} +471 -706
- package/fesm2020/igo2-common.mjs.map +1 -0
- package/{igo2-common.d.ts → index.d.ts} +0 -0
- package/lib/action/actionbar/actionbar-item.component.d.ts +1 -1
- package/lib/action/actionbar/actionbar.component.d.ts +1 -1
- package/lib/backdrop/backdrop.component.d.ts +1 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +1 -1
- package/lib/clickout/clickout.directive.d.ts +1 -1
- package/lib/clone/clone.pipe.d.ts +1 -1
- package/lib/collapsible/collapse.directive.d.ts +1 -1
- package/lib/collapsible/collapsible.component.d.ts +1 -1
- package/lib/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/lib/context-menu/context-menu.directive.d.ts +1 -1
- package/lib/custom-html/custom-html.component.d.ts +1 -1
- package/lib/custom-html/custom-html.pipe.d.ts +1 -1
- package/lib/drag-drop/drag-drop.directive.d.ts +1 -1
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +1 -1
- package/lib/entity/entity-selector/entity-selector.component.d.ts +1 -1
- package/lib/entity/entity-table/entity-table-row.directive.d.ts +1 -1
- package/lib/entity/entity-table/entity-table.component.d.ts +4 -4
- package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +1 -1
- package/lib/flexible/flexible.component.d.ts +1 -1
- package/lib/form/form/form.component.d.ts +1 -1
- package/lib/form/form-field/form-field-select.component.d.ts +3 -3
- package/lib/form/form-field/form-field-text.component.d.ts +3 -3
- package/lib/form/form-field/form-field-textarea.component.d.ts +3 -3
- package/lib/form/form-field/form-field.component.d.ts +1 -1
- package/lib/form/form-group/form-group.component.d.ts +3 -3
- package/lib/form/shared/form.interfaces.d.ts +4 -4
- package/lib/form/shared/form.service.d.ts +2 -2
- package/lib/home-button/home-button.component.d.ts +1 -1
- package/lib/image/secure-image.pipe.d.ts +1 -1
- package/lib/interactive-tour/interactive-tour.component.d.ts +1 -1
- package/lib/json-dialog/json-dialog.component.d.ts +1 -1
- package/lib/keyvalue/keyvalue.pipe.d.ts +1 -1
- package/lib/list/list-item.directive.d.ts +1 -1
- package/lib/list/list.component.d.ts +1 -1
- package/lib/panel/panel.component.d.ts +1 -1
- package/lib/sidenav/sidenav-shim.directive.d.ts +1 -1
- package/lib/spinner/spinner-activity.directive.d.ts +1 -1
- package/lib/spinner/spinner.component.d.ts +1 -1
- package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +1 -1
- package/lib/stop-propagation/stop-propagation.directive.d.ts +1 -1
- package/lib/table/table.component.d.ts +1 -1
- package/lib/tool/toolbox/toolbox.component.d.ts +1 -1
- package/lib/widget/widget-outlet/widget-outlet.component.d.ts +1 -1
- package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +1 -1
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +1 -1
- package/package.json +25 -12
- package/style/common.theming.scss +12 -12
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
- package/bundles/igo2-common.umd.js +0 -11545
- package/bundles/igo2-common.umd.js.map +0 -1
- package/esm2015/lib/action/actionbar/actionbar-item.component.js +0 -257
- package/esm2015/lib/action/actionbar/actionbar.component.js +0 -385
- package/esm2015/lib/action/shared/action.interfaces.js +0 -2
- package/esm2015/lib/dom/dom.service.js +0 -33
- package/esm2015/lib/entity/entity-table/entity-table.component.js +0 -1359
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +0 -138
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +0 -2
- package/esm2015/lib/entity/shared/entity.interfaces.js +0 -2
- package/esm2015/lib/entity/shared/entity.utils.js +0 -67
- package/esm2015/lib/form/form/form.component.js +0 -125
- package/esm2015/lib/form/form-field/form-field-select.component.js +0 -132
- package/esm2015/lib/form/form-field/form-field-text.component.js +0 -108
- package/esm2015/lib/form/form-field/form-field-textarea.component.js +0 -110
- package/esm2015/lib/form/shared/form.interfaces.js +0 -2
- package/esm2015/lib/form/shared/form.service.js +0 -81
- package/esm2015/lib/image/secure-image.pipe.js +0 -55
- package/esm2015/lib/interactive-tour/interactive-tour.component.js +0 -140
- package/esm2015/lib/interactive-tour/interactive-tour.interface.js +0 -2
- package/esm2015/lib/interactive-tour/interactive-tour.service.js +0 -285
- package/esm2015/lib/panel/panel.component.js +0 -67
- package/esm2015/lib/table/table-model.interface.js +0 -2
- package/esm2015/lib/table/table.component.js +0 -310
- package/esm2015/lib/tool/shared/tool.interface.js +0 -2
- package/esm2015/lib/tool/toolbox/toolbox.component.js +0 -261
- package/esm2015/lib/widget/shared/widget.interfaces.js +0 -2
- package/esm2015/lib/workspace/shared/workspace.interfaces.js +0 -2
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +0 -93
- package/fesm2015/igo2-common.js.map +0 -1
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Directive, HostListener, ViewChild, Pipe, Optional, Self, HostBinding, NgModule, Injectable, ViewContainerRef, ViewEncapsulation, ContentChildren } from '@angular/core';
|
|
3
|
-
import * as i1
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i2$2 from '@angular/material/button';
|
|
6
6
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i9 from '@angular/material/card';
|
|
8
8
|
import { MatCardModule } from '@angular/material/card';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i10 from '@angular/material/checkbox';
|
|
10
10
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i3$2 from '@angular/material/icon';
|
|
12
12
|
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i2$3 from '@angular/material/list';
|
|
14
14
|
import { MatListModule } from '@angular/material/list';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i7$1 from '@angular/material/menu';
|
|
16
16
|
import { MatMenuModule } from '@angular/material/menu';
|
|
17
|
-
import * as i6 from '@angular/material/tooltip';
|
|
17
|
+
import * as i6$1 from '@angular/material/tooltip';
|
|
18
18
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
19
|
-
import * as i1$
|
|
19
|
+
import * as i1$1 from '@igo2/core';
|
|
20
20
|
import { Media, IgoLanguageModule } from '@igo2/core';
|
|
21
|
-
import t from 'typy';
|
|
21
|
+
import { t } from 'typy';
|
|
22
22
|
import { ReplaySubject, BehaviorSubject, combineLatest, of, Observable, isObservable, fromEvent, throwError, merge, Subject } from 'rxjs';
|
|
23
23
|
import { map, skip, debounceTime, catchError, tap, switchMap, filter, take, distinctUntilChanged } from 'rxjs/operators';
|
|
24
24
|
import { uuid, ObjectUtils } from '@igo2/utils';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i4 from '@angular/material/form-field';
|
|
26
26
|
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
27
|
-
import * as
|
|
27
|
+
import * as i3 from '@angular/material/select';
|
|
28
28
|
import { MatSelectModule } from '@angular/material/select';
|
|
29
|
-
import * as i3 from '@angular/material/core';
|
|
30
|
-
import * as
|
|
29
|
+
import * as i3$1 from '@angular/material/core';
|
|
30
|
+
import * as i5 from '@angular/material/table';
|
|
31
31
|
import { MatTableDataSource, MatTableModule } from '@angular/material/table';
|
|
32
|
-
import * as i1$
|
|
33
|
-
import {
|
|
34
|
-
import
|
|
35
|
-
import * as i2$
|
|
36
|
-
import * as
|
|
37
|
-
import { MatSortModule, MatSort } from '@angular/material/sort';
|
|
38
|
-
import * as i9 from '@angular/material/autocomplete';
|
|
32
|
+
import * as i1$4 from '@angular/forms';
|
|
33
|
+
import { UntypedFormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
34
|
+
import moment from 'moment';
|
|
35
|
+
import * as i2$1 from '@angular/cdk/a11y';
|
|
36
|
+
import * as i6 from '@angular/material/autocomplete';
|
|
39
37
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
40
|
-
import * as
|
|
41
|
-
import {
|
|
42
|
-
import * as i2
|
|
38
|
+
import * as i7 from '@angular/material/sort';
|
|
39
|
+
import { MatSortModule, MatSort } from '@angular/material/sort';
|
|
40
|
+
import * as i2 from '@angular/material/paginator';
|
|
41
|
+
import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
|
|
42
|
+
import * as i5$1 from '@angular/material/input';
|
|
43
43
|
import { MatInputModule } from '@angular/material/input';
|
|
44
|
+
import * as i16 from '@angular/material/datepicker';
|
|
45
|
+
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
44
46
|
import scrollIntoView from 'scroll-into-view-if-needed';
|
|
45
|
-
import * as
|
|
46
|
-
import {
|
|
47
|
-
import { __decorate, __awaiter } from 'tslib';
|
|
47
|
+
import * as i1$2 from '@angular/platform-browser';
|
|
48
|
+
import { __decorate } from 'tslib';
|
|
48
49
|
import * as i1$3 from '@angular/common/http';
|
|
49
50
|
import { HttpHeaders } from '@angular/common/http';
|
|
50
51
|
import { Cacheable } from 'ts-cacheable';
|
|
51
|
-
import * as i6$
|
|
52
|
-
import * as i1$
|
|
53
|
-
import * as i1$7 from '@angular/cdk/overlay';
|
|
52
|
+
import * as i6$2 from '@ngx-translate/core';
|
|
53
|
+
import * as i1$5 from '@angular/cdk/overlay';
|
|
54
54
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
55
|
-
import * as i1$
|
|
55
|
+
import * as i1$6 from '@angular/material/dialog';
|
|
56
56
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
57
57
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
58
|
-
import * as i3$
|
|
59
|
-
import * as i1$
|
|
58
|
+
import * as i3$3 from 'angular-shepherd';
|
|
59
|
+
import * as i1$7 from '@angular/material/sidenav';
|
|
60
60
|
import * as i2$4 from '@angular/material/progress-spinner';
|
|
61
61
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
62
62
|
import { DataSource, CdkTableModule } from '@angular/cdk/table';
|
|
@@ -1749,16 +1749,14 @@ class EntitySelectorComponent {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
EntitySelectorComponent.ɵfac = function EntitySelectorComponent_Factory(t) { return new (t || EntitySelectorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
1751
1751
|
EntitySelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntitySelectorComponent, selectors: [["igo-entity-selector"]], inputs: { store: "store", titleAccessor: "titleAccessor", emptyText: "emptyText", multi: "multi", multiAllText: "multiAllText", multiNoneText: "multiNoneText", placeholder: "placeholder", disabled: "disabled" }, outputs: { selectedChange: "selectedChange" }, decls: 7, vars: 11, consts: [[1, "igo-entity-selector"], [3, "disabled", "value", "multiple", "placeholder", "selectionChange"], [3, "value", 4, "ngIf"], ["ngFor", "", 3, "ngForOf"], [3, "value"]], template: function EntitySelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1752
|
-
i0.ɵɵelementStart(0, "mat-form-field", 0);
|
|
1753
|
-
i0.ɵɵelementStart(1, "mat-select", 1);
|
|
1752
|
+
i0.ɵɵelementStart(0, "mat-form-field", 0)(1, "mat-select", 1);
|
|
1754
1753
|
i0.ɵɵlistener("selectionChange", function EntitySelectorComponent_Template_mat_select_selectionChange_1_listener($event) { return ctx.onSelectionChange($event); });
|
|
1755
1754
|
i0.ɵɵpipe(2, "async");
|
|
1756
1755
|
i0.ɵɵtemplate(3, EntitySelectorComponent_mat_option_3_Template, 2, 2, "mat-option", 2);
|
|
1757
1756
|
i0.ɵɵtemplate(4, EntitySelectorComponent_mat_option_4_Template, 3, 4, "mat-option", 2);
|
|
1758
1757
|
i0.ɵɵtemplate(5, EntitySelectorComponent_ng_template_5_Template, 2, 2, "ng-template", 3);
|
|
1759
1758
|
i0.ɵɵpipe(6, "async");
|
|
1760
|
-
i0.ɵɵelementEnd();
|
|
1761
|
-
i0.ɵɵelementEnd();
|
|
1759
|
+
i0.ɵɵelementEnd()();
|
|
1762
1760
|
} if (rf & 2) {
|
|
1763
1761
|
i0.ɵɵadvance(1);
|
|
1764
1762
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", i0.ɵɵpipeBind1(2, 7, ctx.selected$))("multiple", ctx.multi)("placeholder", ctx.placeholder);
|
|
@@ -1768,15 +1766,10 @@ EntitySelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ent
|
|
|
1768
1766
|
i0.ɵɵproperty("ngIf", ctx.multi === true);
|
|
1769
1767
|
i0.ɵɵadvance(1);
|
|
1770
1768
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(6, 9, ctx.store.stateView.all$()));
|
|
1771
|
-
} },
|
|
1769
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i4.MatFormField, i3.MatSelect, i3$1.MatOption, i1.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
1772
1770
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntitySelectorComponent, [{
|
|
1773
1771
|
type: Component,
|
|
1774
|
-
args: [{
|
|
1775
|
-
selector: 'igo-entity-selector',
|
|
1776
|
-
templateUrl: './entity-selector.component.html',
|
|
1777
|
-
styleUrls: ['./entity-selector.component.scss'],
|
|
1778
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1779
|
-
}]
|
|
1772
|
+
args: [{ selector: 'igo-entity-selector', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field class=\"igo-entity-selector\">\r\n <mat-select\r\n [disabled]=\"disabled\"\r\n [value]=\"selected$ | async\"\r\n [multiple]=\"multi\"\r\n [placeholder]=\"placeholder\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n <mat-option *ngIf=\"emptyText !== undefined && multi === false\" [value]=\"emptyValue\">{{emptyText}}</mat-option>\r\n <mat-option *ngIf=\"multi === true\" [value]=\"multiSelectValue\">{{multiText$ | async}}</mat-option>\r\n <ng-template ngFor let-record [ngForOf]=\"store.stateView.all$() | async\">\r\n <mat-option [value]=\"record.entity\">\r\n {{titleAccessor(record.entity)}}\r\n </mat-option>\r\n </ng-template>\r\n </mat-select>\r\n</mat-form-field>\r\n", styles: ["mat-form-field{width:100%}\n"] }]
|
|
1780
1773
|
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { store: [{
|
|
1781
1774
|
type: Input
|
|
1782
1775
|
}], titleAccessor: [{
|
|
@@ -1816,6 +1809,132 @@ StopPropagationDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: St
|
|
|
1816
1809
|
args: ['click', ['$event']]
|
|
1817
1810
|
}] }); })();
|
|
1818
1811
|
|
|
1812
|
+
class EntityTablePaginatorComponent {
|
|
1813
|
+
constructor(languageService, mediaService) {
|
|
1814
|
+
this.languageService = languageService;
|
|
1815
|
+
this.mediaService = mediaService;
|
|
1816
|
+
this.disabled = false;
|
|
1817
|
+
this.hidePageSize = false;
|
|
1818
|
+
this.pageIndex = 0;
|
|
1819
|
+
this.pageSize = 50;
|
|
1820
|
+
this.pageSizeOptions = [5, 10, 20, 50, 100, 200];
|
|
1821
|
+
this.showFirstLastButtons = true;
|
|
1822
|
+
this.paginationLabelTranslation$$ = [];
|
|
1823
|
+
this.entitySortChange$ = new BehaviorSubject(false);
|
|
1824
|
+
this.length = 0;
|
|
1825
|
+
/**
|
|
1826
|
+
* Paginator emitted.
|
|
1827
|
+
*/
|
|
1828
|
+
this.paginatorChange = new EventEmitter();
|
|
1829
|
+
this.rangeLabel = (page, pageSize, length) => {
|
|
1830
|
+
const of = new BehaviorSubject('');
|
|
1831
|
+
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.of').subscribe((label) => {
|
|
1832
|
+
of.next(label);
|
|
1833
|
+
}));
|
|
1834
|
+
if (length === 0 || pageSize === 0) {
|
|
1835
|
+
return `0 ${of.value} ${length}`;
|
|
1836
|
+
}
|
|
1837
|
+
length = Math.max(length, 0);
|
|
1838
|
+
const startIndex = page * pageSize;
|
|
1839
|
+
const endIndex = startIndex < length ?
|
|
1840
|
+
Math.min(startIndex + pageSize, length) :
|
|
1841
|
+
startIndex + pageSize;
|
|
1842
|
+
return `${startIndex + 1} - ${endIndex} ${of.value} ${length}`;
|
|
1843
|
+
};
|
|
1844
|
+
}
|
|
1845
|
+
ngOnChanges() {
|
|
1846
|
+
this.unsubscribeAll();
|
|
1847
|
+
this.count$$ = this.store.stateView.count$.subscribe((count) => {
|
|
1848
|
+
this.length = count;
|
|
1849
|
+
this.emitPaginator();
|
|
1850
|
+
});
|
|
1851
|
+
this.entitySortChange$$ = this.entitySortChange$.subscribe(() => {
|
|
1852
|
+
if (this.paginator) {
|
|
1853
|
+
this.paginator.firstPage();
|
|
1854
|
+
}
|
|
1855
|
+
});
|
|
1856
|
+
this.initPaginatorOptions();
|
|
1857
|
+
this.translateLabels();
|
|
1858
|
+
}
|
|
1859
|
+
initPaginatorOptions() {
|
|
1860
|
+
this.disabled = this.paginatorOptions?.disabled || this.disabled;
|
|
1861
|
+
this.pageIndex = this.paginatorOptions?.pageIndex || this.pageIndex;
|
|
1862
|
+
this.pageSize = this.paginatorOptions?.pageSize || this.pageSize;
|
|
1863
|
+
this.pageSizeOptions = this.paginatorOptions?.pageSizeOptions || this.pageSizeOptions;
|
|
1864
|
+
if (this.mediaService.isMobile()) {
|
|
1865
|
+
this.showFirstLastButtons = false;
|
|
1866
|
+
this.hidePageSize = true;
|
|
1867
|
+
}
|
|
1868
|
+
else {
|
|
1869
|
+
this.showFirstLastButtons = this.paginatorOptions?.showFirstLastButtons || this.showFirstLastButtons;
|
|
1870
|
+
this.hidePageSize = this.paginatorOptions?.hidePageSize || this.hidePageSize;
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
translateLabels() {
|
|
1874
|
+
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.firstPageLabel').subscribe((label) => {
|
|
1875
|
+
this.paginator._intl.firstPageLabel = label;
|
|
1876
|
+
}));
|
|
1877
|
+
this.paginator._intl.getRangeLabel = this.rangeLabel;
|
|
1878
|
+
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.itemsPerPageLabel').subscribe((label) => {
|
|
1879
|
+
this.paginator._intl.itemsPerPageLabel = label;
|
|
1880
|
+
}));
|
|
1881
|
+
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.lastPageLabel').subscribe((label) => {
|
|
1882
|
+
this.paginator._intl.lastPageLabel = label;
|
|
1883
|
+
}));
|
|
1884
|
+
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.nextPageLabel').subscribe((label) => {
|
|
1885
|
+
this.paginator._intl.nextPageLabel = label;
|
|
1886
|
+
}));
|
|
1887
|
+
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.previousPageLabel').subscribe((label) => {
|
|
1888
|
+
this.paginator._intl.previousPageLabel = label;
|
|
1889
|
+
}));
|
|
1890
|
+
}
|
|
1891
|
+
unsubscribeAll() {
|
|
1892
|
+
this.paginationLabelTranslation$$.map(sub => sub.unsubscribe());
|
|
1893
|
+
if (this.count$$) {
|
|
1894
|
+
this.count$$.unsubscribe();
|
|
1895
|
+
}
|
|
1896
|
+
if (this.entitySortChange$$) {
|
|
1897
|
+
this.entitySortChange$$.unsubscribe();
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
ngOnDestroy() {
|
|
1901
|
+
this.unsubscribeAll();
|
|
1902
|
+
}
|
|
1903
|
+
emitPaginator() {
|
|
1904
|
+
this.paginatorChange.emit(this.paginator);
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
EntityTablePaginatorComponent.ɵfac = function EntityTablePaginatorComponent_Factory(t) { return new (t || EntityTablePaginatorComponent)(i0.ɵɵdirectiveInject(i1$1.LanguageService), i0.ɵɵdirectiveInject(i1$1.MediaService)); };
|
|
1908
|
+
EntityTablePaginatorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityTablePaginatorComponent, selectors: [["igo-entity-table-paginator"]], viewQuery: function EntityTablePaginatorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1909
|
+
i0.ɵɵviewQuery(MatPaginator, 7);
|
|
1910
|
+
} if (rf & 2) {
|
|
1911
|
+
let _t;
|
|
1912
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paginator = _t.first);
|
|
1913
|
+
} }, inputs: { entitySortChange$: "entitySortChange$", store: "store", paginatorOptions: "paginatorOptions" }, outputs: { page: "page", paginatorChange: "paginatorChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 7, consts: [[3, "disabled", "hidePageSize", "length", "pageIndex", "pageSize", "pageSizeOptions", "showFirstLastButtons", "page"]], template: function EntityTablePaginatorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1914
|
+
i0.ɵɵelementStart(0, "mat-paginator", 0);
|
|
1915
|
+
i0.ɵɵlistener("page", function EntityTablePaginatorComponent_Template_mat_paginator_page_0_listener() { return ctx.emitPaginator(); });
|
|
1916
|
+
i0.ɵɵelementEnd();
|
|
1917
|
+
} if (rf & 2) {
|
|
1918
|
+
i0.ɵɵproperty("disabled", ctx.disabled)("hidePageSize", ctx.hidePageSize)("length", ctx.length)("pageIndex", ctx.pageIndex)("pageSize", ctx.pageSize)("pageSizeOptions", ctx.pageSizeOptions)("showFirstLastButtons", ctx.showFirstLastButtons);
|
|
1919
|
+
} }, dependencies: [i2.MatPaginator], styles: ["[_nghost-%COMP%]{margin-top:-10px;padding-right:15px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%]{margin-top:0;padding-right:5px}}"], changeDetection: 0 });
|
|
1920
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityTablePaginatorComponent, [{
|
|
1921
|
+
type: Component,
|
|
1922
|
+
args: [{ selector: 'igo-entity-table-paginator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-paginator \r\n [disabled]=\"disabled\"\r\n [hidePageSize]=\"hidePageSize\"\r\n [length]=\"length\"\r\n [pageIndex]=\"pageIndex\"\r\n [pageSize]=\"pageSize\"\r\n [pageSizeOptions]=\"pageSizeOptions\"\r\n [showFirstLastButtons]=\"showFirstLastButtons\"\r\n (page)=\"emitPaginator()\">\r\n</mat-paginator>\r\n", styles: [":host{margin-top:-10px;padding-right:15px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){:host{margin-top:0;padding-right:5px}}\n"] }]
|
|
1923
|
+
}], function () { return [{ type: i1$1.LanguageService }, { type: i1$1.MediaService }]; }, { entitySortChange$: [{
|
|
1924
|
+
type: Input
|
|
1925
|
+
}], store: [{
|
|
1926
|
+
type: Input
|
|
1927
|
+
}], paginatorOptions: [{
|
|
1928
|
+
type: Input
|
|
1929
|
+
}], page: [{
|
|
1930
|
+
type: Output
|
|
1931
|
+
}], paginatorChange: [{
|
|
1932
|
+
type: Output
|
|
1933
|
+
}], paginator: [{
|
|
1934
|
+
type: ViewChild,
|
|
1935
|
+
args: [MatPaginator, { static: true }]
|
|
1936
|
+
}] }); })();
|
|
1937
|
+
|
|
1819
1938
|
/**
|
|
1820
1939
|
* Directive that handles an entity table row click and selection.
|
|
1821
1940
|
*/
|
|
@@ -1949,137 +2068,20 @@ EntityTableRowDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Ent
|
|
|
1949
2068
|
args: ['click']
|
|
1950
2069
|
}] }); })();
|
|
1951
2070
|
|
|
1952
|
-
class
|
|
1953
|
-
constructor(
|
|
1954
|
-
this.
|
|
1955
|
-
this.mediaService = mediaService;
|
|
1956
|
-
this.disabled = false;
|
|
1957
|
-
this.hidePageSize = false;
|
|
1958
|
-
this.pageIndex = 0;
|
|
1959
|
-
this.pageSize = 50;
|
|
1960
|
-
this.pageSizeOptions = [5, 10, 20, 50, 100, 200];
|
|
1961
|
-
this.showFirstLastButtons = true;
|
|
1962
|
-
this.paginationLabelTranslation$$ = [];
|
|
1963
|
-
this.entitySortChange$ = new BehaviorSubject(false);
|
|
1964
|
-
this.length = 0;
|
|
1965
|
-
/**
|
|
1966
|
-
* Paginator emitted.
|
|
1967
|
-
*/
|
|
1968
|
-
this.paginatorChange = new EventEmitter();
|
|
1969
|
-
this.rangeLabel = (page, pageSize, length) => {
|
|
1970
|
-
const of = new BehaviorSubject('');
|
|
1971
|
-
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.of').subscribe((label) => {
|
|
1972
|
-
of.next(label);
|
|
1973
|
-
}));
|
|
1974
|
-
if (length === 0 || pageSize === 0) {
|
|
1975
|
-
return `0 ${of.value} ${length}`;
|
|
1976
|
-
}
|
|
1977
|
-
length = Math.max(length, 0);
|
|
1978
|
-
const startIndex = page * pageSize;
|
|
1979
|
-
const endIndex = startIndex < length ?
|
|
1980
|
-
Math.min(startIndex + pageSize, length) :
|
|
1981
|
-
startIndex + pageSize;
|
|
1982
|
-
return `${startIndex + 1} - ${endIndex} ${of.value} ${length}`;
|
|
1983
|
-
};
|
|
1984
|
-
}
|
|
1985
|
-
ngOnChanges() {
|
|
1986
|
-
this.unsubscribeAll();
|
|
1987
|
-
this.count$$ = this.store.stateView.count$.subscribe((count) => {
|
|
1988
|
-
this.length = count;
|
|
1989
|
-
this.emitPaginator();
|
|
1990
|
-
});
|
|
1991
|
-
this.entitySortChange$$ = this.entitySortChange$.subscribe(() => {
|
|
1992
|
-
if (this.paginator) {
|
|
1993
|
-
this.paginator.firstPage();
|
|
1994
|
-
}
|
|
1995
|
-
});
|
|
1996
|
-
this.initPaginatorOptions();
|
|
1997
|
-
this.translateLabels();
|
|
1998
|
-
}
|
|
1999
|
-
initPaginatorOptions() {
|
|
2000
|
-
var _a, _b, _c, _d, _e, _f;
|
|
2001
|
-
this.disabled = ((_a = this.paginatorOptions) === null || _a === void 0 ? void 0 : _a.disabled) || this.disabled;
|
|
2002
|
-
this.pageIndex = ((_b = this.paginatorOptions) === null || _b === void 0 ? void 0 : _b.pageIndex) || this.pageIndex;
|
|
2003
|
-
this.pageSize = ((_c = this.paginatorOptions) === null || _c === void 0 ? void 0 : _c.pageSize) || this.pageSize;
|
|
2004
|
-
this.pageSizeOptions = ((_d = this.paginatorOptions) === null || _d === void 0 ? void 0 : _d.pageSizeOptions) || this.pageSizeOptions;
|
|
2005
|
-
if (this.mediaService.isMobile()) {
|
|
2006
|
-
this.showFirstLastButtons = false;
|
|
2007
|
-
this.hidePageSize = true;
|
|
2008
|
-
}
|
|
2009
|
-
else {
|
|
2010
|
-
this.showFirstLastButtons = ((_e = this.paginatorOptions) === null || _e === void 0 ? void 0 : _e.showFirstLastButtons) || this.showFirstLastButtons;
|
|
2011
|
-
this.hidePageSize = ((_f = this.paginatorOptions) === null || _f === void 0 ? void 0 : _f.hidePageSize) || this.hidePageSize;
|
|
2012
|
-
}
|
|
2013
|
-
}
|
|
2014
|
-
translateLabels() {
|
|
2015
|
-
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.firstPageLabel').subscribe((label) => {
|
|
2016
|
-
this.paginator._intl.firstPageLabel = label;
|
|
2017
|
-
}));
|
|
2018
|
-
this.paginator._intl.getRangeLabel = this.rangeLabel;
|
|
2019
|
-
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.itemsPerPageLabel').subscribe((label) => {
|
|
2020
|
-
this.paginator._intl.itemsPerPageLabel = label;
|
|
2021
|
-
}));
|
|
2022
|
-
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.lastPageLabel').subscribe((label) => {
|
|
2023
|
-
this.paginator._intl.lastPageLabel = label;
|
|
2024
|
-
}));
|
|
2025
|
-
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.nextPageLabel').subscribe((label) => {
|
|
2026
|
-
this.paginator._intl.nextPageLabel = label;
|
|
2027
|
-
}));
|
|
2028
|
-
this.paginationLabelTranslation$$.push(this.languageService.translate.get('igo.common.paginator.previousPageLabel').subscribe((label) => {
|
|
2029
|
-
this.paginator._intl.previousPageLabel = label;
|
|
2030
|
-
}));
|
|
2031
|
-
}
|
|
2032
|
-
unsubscribeAll() {
|
|
2033
|
-
this.paginationLabelTranslation$$.map(sub => sub.unsubscribe());
|
|
2034
|
-
if (this.count$$) {
|
|
2035
|
-
this.count$$.unsubscribe();
|
|
2036
|
-
}
|
|
2037
|
-
if (this.entitySortChange$$) {
|
|
2038
|
-
this.entitySortChange$$.unsubscribe();
|
|
2039
|
-
}
|
|
2040
|
-
}
|
|
2041
|
-
ngOnDestroy() {
|
|
2042
|
-
this.unsubscribeAll();
|
|
2071
|
+
class SanitizeHtmlPipe {
|
|
2072
|
+
constructor(_sanitizer) {
|
|
2073
|
+
this._sanitizer = _sanitizer;
|
|
2043
2074
|
}
|
|
2044
|
-
|
|
2045
|
-
this.
|
|
2075
|
+
transform(v) {
|
|
2076
|
+
return this._sanitizer.bypassSecurityTrustHtml(v);
|
|
2046
2077
|
}
|
|
2047
2078
|
}
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
} }, inputs: { entitySortChange$: "entitySortChange$", store: "store", paginatorOptions: "paginatorOptions" }, outputs: { page: "page", paginatorChange: "paginatorChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 7, consts: [[3, "disabled", "hidePageSize", "length", "pageIndex", "pageSize", "pageSizeOptions", "showFirstLastButtons", "page"]], template: function EntityTablePaginatorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2055
|
-
i0.ɵɵelementStart(0, "mat-paginator", 0);
|
|
2056
|
-
i0.ɵɵlistener("page", function EntityTablePaginatorComponent_Template_mat_paginator_page_0_listener() { return ctx.emitPaginator(); });
|
|
2057
|
-
i0.ɵɵelementEnd();
|
|
2058
|
-
} if (rf & 2) {
|
|
2059
|
-
i0.ɵɵproperty("disabled", ctx.disabled)("hidePageSize", ctx.hidePageSize)("length", ctx.length)("pageIndex", ctx.pageIndex)("pageSize", ctx.pageSize)("pageSizeOptions", ctx.pageSizeOptions)("showFirstLastButtons", ctx.showFirstLastButtons);
|
|
2060
|
-
} }, directives: [i2$1.MatPaginator], styles: ["[_nghost-%COMP%]{margin-top:-10px;padding-right:15px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%]{margin-top:0;padding-right:5px}}"], changeDetection: 0 });
|
|
2061
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityTablePaginatorComponent, [{
|
|
2062
|
-
type: Component,
|
|
2063
|
-
args: [{
|
|
2064
|
-
selector: 'igo-entity-table-paginator',
|
|
2065
|
-
templateUrl: './entity-table-paginator.component.html',
|
|
2066
|
-
styleUrls: ['./entity-table-paginator.component.scss'],
|
|
2067
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2068
|
-
}]
|
|
2069
|
-
}], function () { return [{ type: i1$2.LanguageService }, { type: i1$2.MediaService }]; }, { entitySortChange$: [{
|
|
2070
|
-
type: Input
|
|
2071
|
-
}], store: [{
|
|
2072
|
-
type: Input
|
|
2073
|
-
}], paginatorOptions: [{
|
|
2074
|
-
type: Input
|
|
2075
|
-
}], page: [{
|
|
2076
|
-
type: Output
|
|
2077
|
-
}], paginatorChange: [{
|
|
2078
|
-
type: Output
|
|
2079
|
-
}], paginator: [{
|
|
2080
|
-
type: ViewChild,
|
|
2081
|
-
args: [MatPaginator, { static: true }]
|
|
2082
|
-
}] }); })();
|
|
2079
|
+
SanitizeHtmlPipe.ɵfac = function SanitizeHtmlPipe_Factory(t) { return new (t || SanitizeHtmlPipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); };
|
|
2080
|
+
SanitizeHtmlPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitizeHtml", type: SanitizeHtmlPipe, pure: true });
|
|
2081
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizeHtmlPipe, [{
|
|
2082
|
+
type: Pipe,
|
|
2083
|
+
args: [{ name: 'sanitizeHtml' }]
|
|
2084
|
+
}], function () { return [{ type: i1$2.DomSanitizer }]; }, null); })();
|
|
2083
2085
|
|
|
2084
2086
|
class SecureImagePipe {
|
|
2085
2087
|
constructor(http, configService) {
|
|
@@ -2087,12 +2089,11 @@ class SecureImagePipe {
|
|
|
2087
2089
|
this.configService = configService;
|
|
2088
2090
|
}
|
|
2089
2091
|
transform(url) {
|
|
2090
|
-
var _a;
|
|
2091
2092
|
const headers = new HttpHeaders({
|
|
2092
2093
|
'Content-Type': 'text/plain',
|
|
2093
2094
|
activityInterceptor: 'false'
|
|
2094
2095
|
});
|
|
2095
|
-
const regexDepot = new RegExp(
|
|
2096
|
+
const regexDepot = new RegExp(this.configService?.getConfig('depot.url') + '.*?(?="|$)');
|
|
2096
2097
|
if (regexDepot.test(url)) {
|
|
2097
2098
|
url = url.match(regexDepot)[0];
|
|
2098
2099
|
}
|
|
@@ -2113,7 +2114,7 @@ class SecureImagePipe {
|
|
|
2113
2114
|
}));
|
|
2114
2115
|
}
|
|
2115
2116
|
}
|
|
2116
|
-
SecureImagePipe.ɵfac = function SecureImagePipe_Factory(t) { return new (t || SecureImagePipe)(i0.ɵɵdirectiveInject(i1$3.HttpClient, 16), i0.ɵɵdirectiveInject(i1$
|
|
2117
|
+
SecureImagePipe.ɵfac = function SecureImagePipe_Factory(t) { return new (t || SecureImagePipe)(i0.ɵɵdirectiveInject(i1$3.HttpClient, 16), i0.ɵɵdirectiveInject(i1$1.ConfigService, 16)); };
|
|
2117
2118
|
SecureImagePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "secureImage", type: SecureImagePipe, pure: true });
|
|
2118
2119
|
__decorate([
|
|
2119
2120
|
Cacheable({
|
|
@@ -2125,28 +2126,13 @@ __decorate([
|
|
|
2125
2126
|
args: [{
|
|
2126
2127
|
name: 'secureImage'
|
|
2127
2128
|
}]
|
|
2128
|
-
}], function () { return [{ type: i1$3.HttpClient }, { type: i1$
|
|
2129
|
-
|
|
2130
|
-
class SanitizeHtmlPipe {
|
|
2131
|
-
constructor(_sanitizer) {
|
|
2132
|
-
this._sanitizer = _sanitizer;
|
|
2133
|
-
}
|
|
2134
|
-
transform(v) {
|
|
2135
|
-
return this._sanitizer.bypassSecurityTrustHtml(v);
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
SanitizeHtmlPipe.ɵfac = function SanitizeHtmlPipe_Factory(t) { return new (t || SanitizeHtmlPipe)(i0.ɵɵdirectiveInject(i1$4.DomSanitizer, 16)); };
|
|
2139
|
-
SanitizeHtmlPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitizeHtml", type: SanitizeHtmlPipe, pure: true });
|
|
2140
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizeHtmlPipe, [{
|
|
2141
|
-
type: Pipe,
|
|
2142
|
-
args: [{ name: 'sanitizeHtml' }]
|
|
2143
|
-
}], function () { return [{ type: i1$4.DomSanitizer }]; }, null); })();
|
|
2129
|
+
}], function () { return [{ type: i1$3.HttpClient }, { type: i1$1.ConfigService }]; }, { transform: [] }); })();
|
|
2144
2130
|
|
|
2145
2131
|
function EntityTableComponent_th_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2146
2132
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
2147
2133
|
i0.ɵɵelementContainerStart(0);
|
|
2148
2134
|
i0.ɵɵelementStart(1, "mat-checkbox", 11);
|
|
2149
|
-
i0.ɵɵlistener("change", function EntityTableComponent_th_3_ng_container_1_ng_container_1_Template_mat_checkbox_change_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(3); return ctx_r9.onToggleRows($event.checked); });
|
|
2135
|
+
i0.ɵɵlistener("change", function EntityTableComponent_th_3_ng_container_1_ng_container_1_Template_mat_checkbox_change_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r9.onToggleRows($event.checked)); });
|
|
2150
2136
|
i0.ɵɵelementEnd();
|
|
2151
2137
|
i0.ɵɵelementContainerEnd();
|
|
2152
2138
|
} if (rf & 2) {
|
|
@@ -2176,11 +2162,9 @@ function EntityTableComponent_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
2176
2162
|
} }
|
|
2177
2163
|
function EntityTableComponent_td_4_Template(rf, ctx) { if (rf & 1) {
|
|
2178
2164
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
2179
|
-
i0.ɵɵelementStart(0, "td", 12);
|
|
2180
|
-
i0.ɵɵ
|
|
2181
|
-
i0.ɵɵ
|
|
2182
|
-
i0.ɵɵelementEnd();
|
|
2183
|
-
i0.ɵɵelementEnd();
|
|
2165
|
+
i0.ɵɵelementStart(0, "td", 12)(1, "mat-checkbox", 13);
|
|
2166
|
+
i0.ɵɵlistener("mousedown", function EntityTableComponent_td_4_Template_mat_checkbox_mousedown_1_listener($event) { return $event.shiftKey ? $event.preventDefault() : null; })("click", function EntityTableComponent_td_4_Template_mat_checkbox_click_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r14); const record_r11 = restoredCtx.$implicit; const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView($event.shiftKey ? ctx_r13.onShiftToggleRow(!ctx_r13.rowIsSelected(record_r11), record_r11, $event) : $event.stopPropagation()); })("change", function EntityTableComponent_td_4_Template_mat_checkbox_change_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r14); const record_r11 = restoredCtx.$implicit; const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.onToggleRow($event.checked, record_r11)); });
|
|
2167
|
+
i0.ɵɵelementEnd()();
|
|
2184
2168
|
} if (rf & 2) {
|
|
2185
2169
|
const record_r11 = ctx.$implicit;
|
|
2186
2170
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -2249,13 +2233,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
|
|
|
2249
2233
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.common.entity-table.targetHtmlUrl"), " ");
|
|
2250
2234
|
} }
|
|
2251
2235
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2252
|
-
i0.ɵɵelementStart(0, "td", 22);
|
|
2253
|
-
i0.ɵɵelementStart(1, "a", 23);
|
|
2236
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "a", 23);
|
|
2254
2237
|
i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
|
|
2255
2238
|
i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 24);
|
|
2256
2239
|
i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
|
|
2257
|
-
i0.ɵɵelementEnd();
|
|
2258
|
-
i0.ɵɵelementEnd();
|
|
2240
|
+
i0.ɵɵelementEnd()();
|
|
2259
2241
|
} if (rf & 2) {
|
|
2260
2242
|
const _r38 = i0.ɵɵreference(4);
|
|
2261
2243
|
const record_r31 = i0.ɵɵnextContext().$implicit;
|
|
@@ -2313,13 +2295,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
|
|
|
2313
2295
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.geo.targetHtmlUrl"), " ");
|
|
2314
2296
|
} }
|
|
2315
2297
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2316
|
-
i0.ɵɵelementStart(0, "td", 22);
|
|
2317
|
-
i0.ɵɵelementStart(1, "a", 23);
|
|
2298
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "a", 23);
|
|
2318
2299
|
i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
|
|
2319
2300
|
i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 24);
|
|
2320
2301
|
i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
|
|
2321
|
-
i0.ɵɵelementEnd();
|
|
2322
|
-
i0.ɵɵelementEnd();
|
|
2302
|
+
i0.ɵɵelementEnd()();
|
|
2323
2303
|
} if (rf & 2) {
|
|
2324
2304
|
const _r54 = i0.ɵɵreference(4);
|
|
2325
2305
|
const record_r47 = i0.ɵɵnextContext().$implicit;
|
|
@@ -2354,7 +2334,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2354
2334
|
i0.ɵɵelementStart(0, "div", 43);
|
|
2355
2335
|
i0.ɵɵelement(1, "mat-datepicker-toggle", 44);
|
|
2356
2336
|
i0.ɵɵelementStart(2, "input", 45);
|
|
2357
|
-
i0.ɵɵlistener("dateChange", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_div_1_Template_input_dateChange_2_listener($event) { i0.ɵɵrestoreView(_r79); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r77 = i0.ɵɵnextContext(); return ctx_r77.onDateChange(column_r16.name, record_r63, $event); });
|
|
2337
|
+
i0.ɵɵlistener("dateChange", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_div_1_Template_input_dateChange_2_listener($event) { i0.ɵɵrestoreView(_r79); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r77 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r77.onDateChange(column_r16.name, record_r63, $event)); });
|
|
2358
2338
|
i0.ɵɵelementEnd();
|
|
2359
2339
|
i0.ɵɵelement(3, "mat-datepicker", null, 46);
|
|
2360
2340
|
i0.ɵɵelementEnd();
|
|
@@ -2372,7 +2352,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2372
2352
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template(rf, ctx) { if (rf & 1) {
|
|
2373
2353
|
const _r85 = i0.ɵɵgetCurrentView();
|
|
2374
2354
|
i0.ɵɵelementStart(0, "input", 47);
|
|
2375
|
-
i0.ɵɵlistener("focus", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return column_r16.onFocus($event); })("keypress", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return column_r16.onChange($event); })("blur", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return column_r16.onBlur($event); });
|
|
2355
|
+
i0.ɵɵlistener("focus", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return i0.ɵɵresetView(column_r16.onFocus($event)); })("keypress", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return i0.ɵɵresetView(column_r16.onChange($event)); })("blur", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return i0.ɵɵresetView(column_r16.onBlur($event)); });
|
|
2376
2356
|
i0.ɵɵelementEnd();
|
|
2377
2357
|
} if (rf & 2) {
|
|
2378
2358
|
const column_r16 = i0.ɵɵnextContext(5).$implicit;
|
|
@@ -2381,7 +2361,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2381
2361
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template(rf, ctx) { if (rf & 1) {
|
|
2382
2362
|
const _r93 = i0.ɵɵgetCurrentView();
|
|
2383
2363
|
i0.ɵɵelementStart(0, "input", 48);
|
|
2384
|
-
i0.ɵɵlistener("input", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r93); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r91 = i0.ɵɵnextContext(); return ctx_r91.onValueChange(column_r16.name, record_r63, $event); });
|
|
2364
|
+
i0.ɵɵlistener("input", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r93); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r91 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r91.onValueChange(column_r16.name, record_r63, $event)); });
|
|
2385
2365
|
i0.ɵɵelementEnd();
|
|
2386
2366
|
} if (rf & 2) {
|
|
2387
2367
|
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -2398,7 +2378,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2398
2378
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template(rf, ctx) { if (rf & 1) {
|
|
2399
2379
|
const _r99 = i0.ɵɵgetCurrentView();
|
|
2400
2380
|
i0.ɵɵelementStart(0, "input", 49);
|
|
2401
|
-
i0.ɵɵlistener("input", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r99); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r97 = i0.ɵɵnextContext(); return ctx_r97.onValueChange(column_r16.name, record_r63, $event); });
|
|
2381
|
+
i0.ɵɵlistener("input", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r99); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r97 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r97.onValueChange(column_r16.name, record_r63, $event)); });
|
|
2402
2382
|
i0.ɵɵelementEnd();
|
|
2403
2383
|
} if (rf & 2) {
|
|
2404
2384
|
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -2412,7 +2392,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2412
2392
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_checkbox_5_Template(rf, ctx) { if (rf & 1) {
|
|
2413
2393
|
const _r105 = i0.ɵɵgetCurrentView();
|
|
2414
2394
|
i0.ɵɵelementStart(0, "mat-checkbox", 50);
|
|
2415
|
-
i0.ɵɵlistener("change", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_checkbox_5_Template_mat_checkbox_change_0_listener($event) { i0.ɵɵrestoreView(_r105); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r103 = i0.ɵɵnextContext(); return ctx_r103.onBooleanValueChange(column_r16.name, record_r63, $event); });
|
|
2395
|
+
i0.ɵɵlistener("change", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_checkbox_5_Template_mat_checkbox_change_0_listener($event) { i0.ɵɵrestoreView(_r105); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r103 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r103.onBooleanValueChange(column_r16.name, record_r63, $event)); });
|
|
2416
2396
|
i0.ɵɵelementEnd();
|
|
2417
2397
|
} if (rf & 2) {
|
|
2418
2398
|
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -2433,7 +2413,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2433
2413
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template(rf, ctx) { if (rf & 1) {
|
|
2434
2414
|
const _r113 = i0.ɵɵgetCurrentView();
|
|
2435
2415
|
i0.ɵɵelementStart(0, "mat-select", 51);
|
|
2436
|
-
i0.ɵɵlistener("selectionChange", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template_mat_select_selectionChange_0_listener($event) { i0.ɵɵrestoreView(_r113); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r111 = i0.ɵɵnextContext(); return ctx_r111.onSelectValueChange(column_r16.name, record_r63, $event); });
|
|
2416
|
+
i0.ɵɵlistener("selectionChange", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template_mat_select_selectionChange_0_listener($event) { i0.ɵɵrestoreView(_r113); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r111 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r111.onSelectValueChange(column_r16.name, record_r63, $event)); });
|
|
2437
2417
|
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_mat_option_1_Template, 2, 3, "mat-option", 52);
|
|
2438
2418
|
i0.ɵɵelementEnd();
|
|
2439
2419
|
} if (rf & 2) {
|
|
@@ -2478,11 +2458,10 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2478
2458
|
i0.ɵɵtemplate(6, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template, 2, 5, "mat-select", 38);
|
|
2479
2459
|
i0.ɵɵtemplate(7, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_7_Template, 1, 4, "input", 39);
|
|
2480
2460
|
i0.ɵɵelementStart(8, "mat-autocomplete", 40, 41);
|
|
2481
|
-
i0.ɵɵlistener("optionSelected", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template_mat_autocomplete_optionSelected_8_listener($event) { i0.ɵɵrestoreView(_r122); const record_r63 = i0.ɵɵnextContext().$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r120 = i0.ɵɵnextContext(); return ctx_r120.onAutocompleteValueChange(column_r16.name, record_r63, $event); });
|
|
2461
|
+
i0.ɵɵlistener("optionSelected", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template_mat_autocomplete_optionSelected_8_listener($event) { i0.ɵɵrestoreView(_r122); const record_r63 = i0.ɵɵnextContext().$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r120 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r120.onAutocompleteValueChange(column_r16.name, record_r63, $event)); });
|
|
2482
2462
|
i0.ɵɵtemplate(10, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_option_10_Template, 2, 2, "mat-option", 42);
|
|
2483
2463
|
i0.ɵɵpipe(11, "async");
|
|
2484
|
-
i0.ɵɵelementEnd();
|
|
2485
|
-
i0.ɵɵelementEnd();
|
|
2464
|
+
i0.ɵɵelementEnd()();
|
|
2486
2465
|
} if (rf & 2) {
|
|
2487
2466
|
const record_r63 = i0.ɵɵnextContext().$implicit;
|
|
2488
2467
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
@@ -2534,13 +2513,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2534
2513
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.geo.targetHtmlUrl"), " ");
|
|
2535
2514
|
} }
|
|
2536
2515
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
2537
|
-
i0.ɵɵelementStart(0, "td", 22);
|
|
2538
|
-
i0.ɵɵelementStart(1, "a", 23);
|
|
2516
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "a", 23);
|
|
2539
2517
|
i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
|
|
2540
2518
|
i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_img_2_Template, 3, 5, "img", 24);
|
|
2541
2519
|
i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_ng_template_3_Template, 3, 3, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
|
|
2542
|
-
i0.ɵɵelementEnd();
|
|
2543
|
-
i0.ɵɵelementEnd();
|
|
2520
|
+
i0.ɵɵelementEnd()();
|
|
2544
2521
|
} if (rf & 2) {
|
|
2545
2522
|
const _r132 = i0.ɵɵreference(4);
|
|
2546
2523
|
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -2581,11 +2558,9 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_Templ
|
|
|
2581
2558
|
} }
|
|
2582
2559
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2583
2560
|
const _r145 = i0.ɵɵgetCurrentView();
|
|
2584
|
-
i0.ɵɵelementStart(0, "td", 22);
|
|
2585
|
-
i0.ɵɵ
|
|
2586
|
-
i0.ɵɵ
|
|
2587
|
-
i0.ɵɵelementEnd();
|
|
2588
|
-
i0.ɵɵelementEnd();
|
|
2561
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "mat-icon", 58);
|
|
2562
|
+
i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template_mat_icon_click_1_listener($event) { i0.ɵɵrestoreView(_r145); const column_r16 = i0.ɵɵnextContext(3).$implicit; return i0.ɵɵresetView(column_r16.onClick($event)); });
|
|
2563
|
+
i0.ɵɵelementEnd()();
|
|
2589
2564
|
} if (rf & 2) {
|
|
2590
2565
|
const record_r142 = ctx.$implicit;
|
|
2591
2566
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
@@ -2602,7 +2577,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_Templ
|
|
|
2602
2577
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
2603
2578
|
const _r156 = i0.ɵɵgetCurrentView();
|
|
2604
2579
|
i0.ɵɵelementStart(0, "button", 62);
|
|
2605
|
-
i0.ɵɵlistener("mousedown", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_1_Template_button_mousedown_0_listener() { i0.ɵɵrestoreView(_r156); const button_r150 = i0.ɵɵnextContext(2).$implicit; const record_r148 = i0.ɵɵnextContext().$implicit; const ctx_r154 = i0.ɵɵnextContext(4); return ctx_r154.onButtonClick(button_r150.click, record_r148); });
|
|
2580
|
+
i0.ɵɵlistener("mousedown", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_1_Template_button_mousedown_0_listener() { i0.ɵɵrestoreView(_r156); const button_r150 = i0.ɵɵnextContext(2).$implicit; const record_r148 = i0.ɵɵnextContext().$implicit; const ctx_r154 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r154.onButtonClick(button_r150.click, record_r148)); });
|
|
2606
2581
|
i0.ɵɵelement(1, "mat-icon", 63);
|
|
2607
2582
|
i0.ɵɵelementEnd();
|
|
2608
2583
|
} if (rf & 2) {
|
|
@@ -2614,7 +2589,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_co
|
|
|
2614
2589
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
2615
2590
|
const _r161 = i0.ɵɵgetCurrentView();
|
|
2616
2591
|
i0.ɵɵelementStart(0, "button", 64);
|
|
2617
|
-
i0.ɵɵlistener("mousedown", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_2_Template_button_mousedown_0_listener() { i0.ɵɵrestoreView(_r161); const button_r150 = i0.ɵɵnextContext(2).$implicit; const record_r148 = i0.ɵɵnextContext().$implicit; const ctx_r159 = i0.ɵɵnextContext(4); return ctx_r159.onButtonClick(button_r150.click, record_r148); });
|
|
2592
|
+
i0.ɵɵlistener("mousedown", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_2_Template_button_mousedown_0_listener() { i0.ɵɵrestoreView(_r161); const button_r150 = i0.ɵɵnextContext(2).$implicit; const record_r148 = i0.ɵɵnextContext().$implicit; const ctx_r159 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r159.onButtonClick(button_r150.click, record_r148)); });
|
|
2618
2593
|
i0.ɵɵelement(1, "mat-icon", 63);
|
|
2619
2594
|
i0.ɵɵelementEnd();
|
|
2620
2595
|
} if (rf & 2) {
|
|
@@ -2714,7 +2689,7 @@ function EntityTableComponent_tr_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
2714
2689
|
function EntityTableComponent_tr_7_Template(rf, ctx) { if (rf & 1) {
|
|
2715
2690
|
const _r169 = i0.ɵɵgetCurrentView();
|
|
2716
2691
|
i0.ɵɵelementStart(0, "tr", 66);
|
|
2717
|
-
i0.ɵɵlistener("select", function EntityTableComponent_tr_7_Template_tr_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r169); const record_r167 = restoredCtx.$implicit; const ctx_r168 = i0.ɵɵnextContext(); return ctx_r168.onRowSelect(record_r167); })("click", function EntityTableComponent_tr_7_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r169); const record_r167 = restoredCtx.$implicit; const ctx_r170 = i0.ɵɵnextContext(); return ctx_r170.onRowClick(record_r167); });
|
|
2692
|
+
i0.ɵɵlistener("select", function EntityTableComponent_tr_7_Template_tr_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r169); const record_r167 = restoredCtx.$implicit; const ctx_r168 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r168.onRowSelect(record_r167)); })("click", function EntityTableComponent_tr_7_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r169); const record_r167 = restoredCtx.$implicit; const ctx_r170 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r170.onRowClick(record_r167)); });
|
|
2718
2693
|
i0.ɵɵelementEnd();
|
|
2719
2694
|
} if (rf & 2) {
|
|
2720
2695
|
const record_r167 = ctx.$implicit;
|
|
@@ -2724,13 +2699,12 @@ function EntityTableComponent_tr_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
2724
2699
|
function EntityTableComponent_igo_entity_table_paginator_8_Template(rf, ctx) { if (rf & 1) {
|
|
2725
2700
|
const _r172 = i0.ɵɵgetCurrentView();
|
|
2726
2701
|
i0.ɵɵelementStart(0, "igo-entity-table-paginator", 67);
|
|
2727
|
-
i0.ɵɵlistener("paginatorChange", function EntityTableComponent_igo_entity_table_paginator_8_Template_igo_entity_table_paginator_paginatorChange_0_listener($event) { i0.ɵɵrestoreView(_r172); const ctx_r171 = i0.ɵɵnextContext(); return ctx_r171.paginatorChange($event); });
|
|
2702
|
+
i0.ɵɵlistener("paginatorChange", function EntityTableComponent_igo_entity_table_paginator_8_Template_igo_entity_table_paginator_paginatorChange_0_listener($event) { i0.ɵɵrestoreView(_r172); const ctx_r171 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r171.paginatorChange($event)); });
|
|
2728
2703
|
i0.ɵɵelementEnd();
|
|
2729
2704
|
} if (rf & 2) {
|
|
2730
2705
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
2731
2706
|
i0.ɵɵproperty("store", ctx_r5.store)("paginatorOptions", ctx_r5.paginatorOptions)("entitySortChange$", ctx_r5.entitySortChange$);
|
|
2732
2707
|
} }
|
|
2733
|
-
const moment = moment_;
|
|
2734
2708
|
class EntityTableComponent {
|
|
2735
2709
|
constructor(cdRef, formBuilder, _focusMonitor, _elementRef, ngControl, _parentForm, _controlName, _defaultErrorStateMatcher, dateAdapter) {
|
|
2736
2710
|
this.cdRef = cdRef;
|
|
@@ -2743,7 +2717,7 @@ class EntityTableComponent {
|
|
|
2743
2717
|
this._defaultErrorStateMatcher = _defaultErrorStateMatcher;
|
|
2744
2718
|
this.dateAdapter = dateAdapter;
|
|
2745
2719
|
this.entitySortChange$ = new BehaviorSubject(false);
|
|
2746
|
-
this.formGroup = new
|
|
2720
|
+
this.formGroup = new UntypedFormGroup({});
|
|
2747
2721
|
/**
|
|
2748
2722
|
* Reference to the column renderer types
|
|
2749
2723
|
* @internal
|
|
@@ -2895,8 +2869,7 @@ class EntityTableComponent {
|
|
|
2895
2869
|
enableEdit(record) {
|
|
2896
2870
|
const item = record.entity.properties || record.entity;
|
|
2897
2871
|
this.template.columns.forEach(column => {
|
|
2898
|
-
|
|
2899
|
-
column.title = ((_a = column.validation) === null || _a === void 0 ? void 0 : _a.mandatory) && !column.title.includes('*') ? column.title + ' *' : column.title;
|
|
2872
|
+
column.title = column.validation?.mandatory && !column.title.includes('*') ? column.title + ' *' : column.title;
|
|
2900
2873
|
const key = this.getColumnKeyWithoutPropertiesTag(column.name);
|
|
2901
2874
|
if (column.type === 'boolean') {
|
|
2902
2875
|
if (!item[key] || item[key] === null) {
|
|
@@ -2941,7 +2914,7 @@ class EntityTableComponent {
|
|
|
2941
2914
|
this.formGroup.controls[column.name].setValue(formControlValue);
|
|
2942
2915
|
if (this.isEdition(record) && column.linkColumnForce) {
|
|
2943
2916
|
const entity = record.entity;
|
|
2944
|
-
this.formGroup.controls[column.name].setValue(entity
|
|
2917
|
+
this.formGroup.controls[column.name].setValue(entity?.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)]);
|
|
2945
2918
|
}
|
|
2946
2919
|
}
|
|
2947
2920
|
else if (column.type === 'date') {
|
|
@@ -3250,7 +3223,7 @@ class EntityTableComponent {
|
|
|
3250
3223
|
}
|
|
3251
3224
|
else {
|
|
3252
3225
|
if (!this.isEdition(record) && column.linkColumnForce) {
|
|
3253
|
-
value = entity
|
|
3226
|
+
value = entity?.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)];
|
|
3254
3227
|
}
|
|
3255
3228
|
else {
|
|
3256
3229
|
column.domainValues.forEach(option => {
|
|
@@ -3267,7 +3240,7 @@ class EntityTableComponent {
|
|
|
3267
3240
|
else if (column.type === 'autocomplete' && value && column.domainValues) {
|
|
3268
3241
|
const entity = record.entity;
|
|
3269
3242
|
if (!this.isEdition(record) && column.linkColumnForce) {
|
|
3270
|
-
value = entity
|
|
3243
|
+
value = entity?.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)];
|
|
3271
3244
|
}
|
|
3272
3245
|
else {
|
|
3273
3246
|
column.domainValues.forEach(option => {
|
|
@@ -3405,10 +3378,9 @@ class EntityTableComponent {
|
|
|
3405
3378
|
return column;
|
|
3406
3379
|
}
|
|
3407
3380
|
}
|
|
3408
|
-
EntityTableComponent.ɵfac = function EntityTableComponent_Factory(t) { return new (t || EntityTableComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$
|
|
3381
|
+
EntityTableComponent.ɵfac = function EntityTableComponent_Factory(t) { return new (t || EntityTableComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.UntypedFormBuilder), i0.ɵɵdirectiveInject(i2$1.FocusMonitor), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$4.NgControl, 10), i0.ɵɵdirectiveInject(i1$4.NgForm, 8), i0.ɵɵdirectiveInject(i1$4.FormControlName, 8), i0.ɵɵdirectiveInject(i3$1.ErrorStateMatcher), i0.ɵɵdirectiveInject(i3$1.DateAdapter)); };
|
|
3409
3382
|
EntityTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityTableComponent, selectors: [["igo-entity-table"]], inputs: { store: "store", paginator: "paginator", template: "template", scrollBehavior: "scrollBehavior", sortNullsFirst: "sortNullsFirst", withPaginator: "withPaginator", paginatorOptions: "paginatorOptions" }, outputs: { entityClick: "entityClick", entitySelectChange: "entitySelectChange", entitySortChange: "entitySortChange" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: EntityTableComponent }]), i0.ɵɵNgOnChangesFeature], decls: 9, vars: 8, consts: [[1, "table-container"], ["mat-table", "", "matSort", "", 3, "ngClass", "dataSource", "trackBy", "matSortChange"], ["matColumnDef", "selectionCheckbox", 1, "mat-cell-checkbox"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], [3, "matColumnDef", 4, "ngFor", "ngForOf"], ["mat-header-row", "", 3, "ngClass", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", "igoEntityTableRow", "", 3, "scrollBehavior", "ngClass", "selection", "selected", "select", "click", 4, "matRowDef", "matRowDefColumns"], [3, "store", "paginatorOptions", "entitySortChange$", "paginatorChange", 4, "ngIf"], ["mat-header-cell", ""], [4, "ngIf"], [3, "checked", "indeterminate", "change"], ["mat-cell", ""], [3, "checked", "mousedown", "click", "change"], [3, "matColumnDef"], ["mat-header-cell", "", "mat-sort-header", "", 3, "matTooltip", 4, "matHeaderCellDef"], ["mat-header-cell", "", "mat-sort-header", "", 3, "matTooltip"], ["mat-header-cell", "", 3, "matTooltip", 4, "matHeaderCellDef"], ["mat-header-cell", "", 3, "matTooltip"], [4, "matCellDef"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["isAnUrlDefault", ""], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 3, "href", "click"], ["width", "50", "heigth", "auto", 3, "src", 4, "ngIf", "ngIfElse"], ["notImg", ""], ["width", "50", "heigth", "auto", 3, "src"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", "innerHTML", 4, "ngIf", "ngIfElse"], ["isAnUrlHTML", ""], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass", "innerHTML"], ["mat-cell", "", "class", "mat-cell-text edition", 3, "formGroup", "ngClass", 4, "ngIf", "ngIfElse"], ["isUnsanitizedHTML", ""], ["mat-cell", "", 1, "mat-cell-text", "edition", 3, "formGroup", "ngClass"], ["class", "date-picker", 4, "ngIf"], ["matInput", "", "type", "time", "step", "900", 3, "formControlName", "focus", "keypress", "blur", 4, "ngIf"], ["matInput", "", "type", "number", "class", "class_number_edition", 3, "formControlName", "step", "value", "readonly", "required", "min", "max", "input", 4, "ngIf"], ["matInput", "", "type", "text", 3, "formControlName", "value", "readonly", "required", "input", 4, "ngIf"], [3, "formControlName", "checked", "change", 4, "ngIf"], [3, "required", "formControlName", "multiple", "value", "selectionChange", 4, "ngIf"], ["matInput", "", "type", "text", 3, "formControlName", "matAutocomplete", "required", "value", 4, "ngIf"], ["panelWidth", "430px", 3, "optionSelected"], ["auto", "matAutocomplete"], [3, "value", 4, "ngFor", "ngForOf"], [1, "date-picker"], ["matSuffix", "", 3, "for"], ["matInput", "", 3, "matDatepicker", "formControlName", "value", "dateChange"], ["picker", ""], ["matInput", "", "type", "time", "step", "900", 3, "formControlName", "focus", "keypress", "blur"], ["matInput", "", "type", "number", 1, "class_number_edition", 3, "formControlName", "step", "value", "readonly", "required", "min", "max", "input"], ["matInput", "", "type", "text", 3, "formControlName", "value", "readonly", "required", "input"], [3, "formControlName", "checked", "change"], [3, "required", "formControlName", "multiple", "value", "selectionChange"], [3, "value", "disabled", 4, "ngFor", "ngForOf"], [3, "value", "disabled"], ["matInput", "", "type", "text", 3, "formControlName", "matAutocomplete", "required", "value"], [3, "value"], ["isAnUrlUnsanitizedHTML", ""], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "matCellDef"], [3, "svgIcon", "click"], [4, "ngFor", "ngForOf"], ["igoStopPropagation", "", "mat-icon-button", "", 3, "color", "disabled", "mousedown", 4, "ngIf"], ["igoStopPropagation", "", "mat-mini-fab", "", 3, "color", "disabled", "mousedown", 4, "ngIf"], ["igoStopPropagation", "", "mat-icon-button", "", 3, "color", "disabled", "mousedown"], [3, "svgIcon"], ["igoStopPropagation", "", "mat-mini-fab", "", 3, "color", "disabled", "mousedown"], ["mat-header-row", "", 3, "ngClass"], ["mat-row", "", "igoEntityTableRow", "", 3, "scrollBehavior", "ngClass", "selection", "selected", "select", "click"], [3, "store", "paginatorOptions", "entitySortChange$", "paginatorChange"]], template: function EntityTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3410
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
3411
|
-
i0.ɵɵelementStart(1, "table", 1);
|
|
3383
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "table", 1);
|
|
3412
3384
|
i0.ɵɵlistener("matSortChange", function EntityTableComponent_Template_table_matSortChange_1_listener($event) { return ctx.onSort($event); });
|
|
3413
3385
|
i0.ɵɵelementContainerStart(2, 2);
|
|
3414
3386
|
i0.ɵɵtemplate(3, EntityTableComponent_th_3_Template, 2, 1, "th", 3);
|
|
@@ -3431,25 +3403,19 @@ EntityTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Entity
|
|
|
3431
3403
|
i0.ɵɵproperty("matRowDefColumns", ctx.headers);
|
|
3432
3404
|
i0.ɵɵadvance(1);
|
|
3433
3405
|
i0.ɵɵproperty("ngIf", ctx.withPaginator);
|
|
3434
|
-
} },
|
|
3406
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i5.MatTable, i5.MatHeaderCellDef, i5.MatHeaderRowDef, i5.MatColumnDef, i5.MatCellDef, i5.MatRowDef, i5.MatHeaderCell, i5.MatCell, i5.MatHeaderRow, i5.MatRow, i6.MatAutocomplete, i6.MatAutocompleteTrigger, i3$1.MatOption, i7.MatSort, i7.MatSortHeader, i3$2.MatIcon, i2$2.MatButton, i10.MatCheckbox, i4.MatSuffix, i3.MatSelect, StopPropagationDirective, EntityTablePaginatorComponent, i1$4.DefaultValueAccessor, i1$4.NumberValueAccessor, i1$4.NgControlStatus, i1$4.NgControlStatusGroup, i1$4.RequiredValidator, i1$4.MinValidator, i1$4.MaxValidator, i1$4.FormGroupDirective, i1$4.FormControlName, i5$1.MatInput, i16.MatDatepicker, i16.MatDatepickerInput, i16.MatDatepickerToggle, i6$1.MatTooltip, EntityTableRowDirective, i1.AsyncPipe, SanitizeHtmlPipe, SecureImagePipe, i6$2.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-compact[_nghost-%COMP%] tr.mat-header-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:36px}.table-compact[_nghost-%COMP%] tr.mat-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:28px}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{padding:0 3px}entity-table[_ngcontent-%COMP%] table.igo-entity-table-with-selection[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd;cursor:pointer}table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:7px}.class_hidden[_ngcontent-%COMP%]{visibility:hidden}.class_display_none[_ngcontent-%COMP%]{display:none}.class_boolean[_ngcontent-%COMP%], .class_icon[_ngcontent-%COMP%], .class_number[_ngcontent-%COMP%]{text-align:center;padding-right:35px!important}.class_sting[_ngcontent-%COMP%], .class_text[_ngcontent-%COMP%], .class_number_edition[_ngcontent-%COMP%]{text-align:left}td.edition[_ngcontent-%COMP%]{background:rgba(166,166,166,.2)}input[_ngcontent-%COMP%]{border-bottom:1px solid darkgrey}"], changeDetection: 0 });
|
|
3435
3407
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityTableComponent, [{
|
|
3436
3408
|
type: Component,
|
|
3437
|
-
args: [{
|
|
3438
|
-
|
|
3439
|
-
templateUrl: './entity-table.component.html',
|
|
3440
|
-
styleUrls: ['./entity-table.component.scss'],
|
|
3441
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3442
|
-
providers: [{ provide: MatFormFieldControl, useExisting: EntityTableComponent }]
|
|
3443
|
-
}]
|
|
3444
|
-
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$5.FormBuilder }, { type: i2$2.FocusMonitor }, { type: i0.ElementRef }, { type: i1$5.NgControl, decorators: [{
|
|
3409
|
+
args: [{ selector: 'igo-entity-table', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MatFormFieldControl, useExisting: EntityTableComponent }], template: "<div class=\"table-container\">\r\n <table mat-table matSort [ngClass]=\"getTableClass()\" [dataSource]=\"dataSource\" [trackBy]=\"getTrackByFunction()\" (matSortChange)=\"onSort($event)\">\r\n <ng-container matColumnDef=\"selectionCheckbox\" class=\"mat-cell-checkbox\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <ng-container *ngIf=\"selectMany\">\r\n <ng-container *ngIf=\"selectionState$ | async as selectionState\">\r\n <mat-checkbox (change)=\"onToggleRows($event.checked)\" [checked]=\"selectionState === entityTableSelectionState.All\"\r\n [indeterminate]=\"selectionState === entityTableSelectionState.Some\">\r\n </mat-checkbox>\r\n </ng-container>\r\n </ng-container>\r\n </th>\r\n <td mat-cell *matCellDef=\"let record\">\r\n <mat-checkbox (mousedown)=\"$event.shiftKey ? $event.preventDefault() : null\" (click)=\"$event.shiftKey ?\r\n onShiftToggleRow(!rowIsSelected(record), record, $event) : $event.stopPropagation()\" (change)=\"onToggleRow($event.checked,record)\"\r\n [checked]=\"rowIsSelected(record)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container [matColumnDef]=\"column.name\" *ngFor=\"let column of template.columns\">\r\n <ng-container *ngIf=\"columnIsSortable(column)\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header [matTooltip]=\"column.tooltip ? column.tooltip : undefined\">\r\n {{column.title}}\r\n </th>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!columnIsSortable(column)\">\r\n <th mat-header-cell *matHeaderCellDef [matTooltip]=\"column.tooltip ? column.tooltip : undefined\">\r\n {{column.title}}\r\n </th>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"getColumnRenderer(column) as columnRenderer\">\r\n <ng-container *ngIf=\"columnRenderer === entityTableColumnRenderer.Default\">\r\n <ng-container *matCellDef=\"let record\">\r\n <td mat-cell class=\"mat-cell-text\" *ngIf=\"!isUrl(getValue(record, column));else isAnUrlDefault\" [ngClass]=\"getCellClass(record, column)\">\r\n {{getValue(record, column)}}\r\n </td>\r\n <ng-template #isAnUrlDefault>\r\n <td mat-cell class=\"mat-cell-text\" [ngClass]=\"getCellClass(record, column)\">\r\n <a href=\"{{getValue(record, column)}}\" target='_blank' rel=\"noopener noreferrer\" (click)=\"$event.stopPropagation()\">\r\n <img *ngIf=\"isImg(getValue(record, column));else notImg\" src=\"{{(getValue(record, column) | secureImage) | async}}\" width=\"50\" heigth=\"auto\">\r\n <ng-template #notImg><span>{{\r\n 'igo.common.entity-table.targetHtmlUrl' | translate }}\r\n </span></ng-template>\r\n </a>\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"columnRenderer === entityTableColumnRenderer.HTML\">\r\n <ng-container *matCellDef=\"let record\">\r\n <td mat-cell class=\"mat-cell-text\" *ngIf=\"!isUrl(getValue(record, column));else isAnUrlHTML\" [ngClass]=\"getCellClass(record, column)\"\r\n [innerHTML]=\"getValue(record, column)\">\r\n </td>\r\n <ng-template #isAnUrlHTML>\r\n <td mat-cell class=\"mat-cell-text\" [ngClass]=\"getCellClass(record, column)\">\r\n <a href=\"{{getValue(record, column)}}\" target='_blank' rel=\"noopener noreferrer\" (click)=\"$event.stopPropagation()\">\r\n <img *ngIf=\"isImg(getValue(record, column));else notImg\" src=\"{{(getValue(record, column) | secureImage) | async}}\" width=\"50\" heigth=\"auto\">\r\n <ng-template #notImg><span>{{ 'igo.geo.targetHtmlUrl' |\r\n translate }} </span></ng-template>\r\n </a>\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"columnRenderer === entityTableColumnRenderer.UnsanitizedHTML\">\r\n <ng-container *matCellDef=\"let record\">\r\n <td mat-cell class=\"mat-cell-text edition\" [formGroup]=\"formGroup\" *ngIf=\"isEdition(record);else isUnsanitizedHTML\"\r\n [ngClass]=\"getCellClass(record, column)\">\r\n <div class=\"date-picker\" *ngIf=\"column.type === 'date'\">\r\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\r\n <input matInput [matDatepicker]=\"picker\" [formControlName]=\"column.name\" value=\"{{getValue(record, column)}}\"\r\n (dateChange)=\"onDateChange(column.name, record, $event)\">\r\n <mat-datepicker #picker></mat-datepicker>\r\n </div>\r\n <input matInput type=\"time\" *ngIf=\"column.type === 'time'\" [formControlName]=\"column.name\" step=\"900\" (focus)=\"column.onFocus($event)\"\r\n (keypress)=\"column.onChange($event)\" (blur)=\"column.onBlur($event)\">\r\n <input matInput type=\"number\" class=\"class_number_edition\" *ngIf=\"column.type === 'number'\" [formControlName]=\"column.name\" step=\"{{column.step}}\"\r\n value=\"{{getValue(record,column)}}\" (input)=\"onValueChange(column.name, record, $event)\"\r\n readonly=\"{{getValidationAttributeValue(column, 'readonly')}}\" required=\"{{getValidationAttributeValue(column, 'mandatory')}}\"\r\n min=\"{{getValidationAttributeValue(column, 'minValue')}}\" max=\"{{getValidationAttributeValue(column, 'maxValue')}}\">\r\n <input matInput type=\"text\" *ngIf=\"!column.type || column.type ==='string'\" [formControlName]=\"column.name\"\r\n value=\"{{getValue(record, column)}}\" (input)=\"onValueChange(column.name, record, $event)\"\r\n readonly=\"{{getValidationAttributeValue(column, 'readonly')}}\" required=\"{{getValidationAttributeValue(column, 'mandatory')}}\">\r\n <mat-checkbox *ngIf=\"column.type === 'boolean'\" [formControlName]=\"column.name\" [checked]=\"getValue(record,column)\"\r\n (change)=\"onBooleanValueChange(column.name, record,$event)\"></mat-checkbox>\r\n <mat-select *ngIf=\"column.type === 'list'\" required=\"{{getValidationAttributeValue(column, 'mandatory')}}\"\r\n [formControlName]=\"column.name\" [multiple]=\"column.multiple\" (selectionChange)=\"onSelectValueChange(column.name, record, $event)\"\r\n [value]=\"getValue(record, column)\">\r\n <mat-option *ngFor=\"let option of column.domainValues\" [value]=\"option.id\" [disabled]=\"option.disabled\">\r\n {{ option.value }}\r\n </mat-option>\r\n </mat-select>\r\n <input matInput type=\"text\" [formControlName]=\"column.name\" *ngIf=\"column.type === 'autocomplete'\"\r\n [matAutocomplete]=\"auto\" required=\"{{getValidationAttributeValue(column, 'mandatory')}}\" value=\"{{getValue(record, column)}}\">\r\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"onAutocompleteValueChange(column.name, record, $event)\"\r\n panelWidth=\"430px\">\r\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.id\">\r\n {{ option.value }}\r\n </mat-option>\r\n </mat-autocomplete>\r\n </td>\r\n <ng-template #isUnsanitizedHTML>\r\n <td mat-cell class=\"mat-cell-text\" *ngIf=\"!isUrl(getValue(record, column));else isAnUrlUnsanitizedHTML\" [ngClass]=\"getCellClass(record, column)\"\r\n [innerHTML]=\"getValue(record, column) | sanitizeHtml\">\r\n </td>\r\n <ng-template #isAnUrlUnsanitizedHTML>\r\n <td mat-cell class=\"mat-cell-text\" [ngClass]=\"getCellClass(record, column)\">\r\n <a href=\"{{getValue(record, column)}}\" target='_blank' rel=\"noopener noreferrer\" (click)=\"$event.stopPropagation()\">\r\n <img *ngIf=\"isImg(getValue(record, column));else notImg\" src=\"{{(getValue(record, column) | secureImage) | async}}\" width=\"50\" heigth=\"auto\">\r\n <ng-template #notImg><span>{{ 'igo.geo.targetHtmlUrl' | translate }} </span></ng-template>\r\n </a>\r\n </td>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"columnRenderer === entityTableColumnRenderer.Icon\">\r\n <td mat-cell *matCellDef=\"let record\" class=\"mat-cell-text\" [ngClass]=\"getCellClass(record, column)\">\r\n <mat-icon svgIcon=\"{{getValue(record, column)|| column.icon}}\" (click)=\"column.onClick($event)\"></mat-icon>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngIf=\"columnRenderer === entityTableColumnRenderer.ButtonGroup\">\r\n <ng-container *matCellDef=\"let record\">\r\n <td mat-cell class=\"mat-cell-text\" [ngClass]=\"getCellClass(record, column)\">\r\n <span *ngFor=\"let button of getValue(record, column)\">\r\n <ng-container *ngIf=\"isEdition(record) === button.editMode\">\r\n <button *ngIf=\"button.style === 'mat-icon-button'\" igoStopPropagation mat-icon-button\r\n [color]=\"button.color\" (mousedown)=\"onButtonClick(button.click, record)\" [disabled]=\"button.disabled\">\r\n <mat-icon svgIcon=\"{{button.icon}}\"></mat-icon>\r\n </button>\r\n <button *ngIf=\"button.style !== 'mat-icon-button'\" igoStopPropagation mat-mini-fab\r\n [color]=\"button.color\" (mousedown)=\"onButtonClick(button.click, record)\" [disabled]=\"button.disabled\">\r\n <mat-icon svgIcon=\"{{button.icon}}\"></mat-icon>\r\n </button>\r\n </ng-container>\r\n </span>\r\n </td>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"headers; sticky: fixedHeader;\" [ngClass]=\"getHeaderClass()\">\r\n </tr>\r\n <tr mat-row igoEntityTableRow *matRowDef=\"let record; columns: headers;\" [scrollBehavior]=\"scrollBehavior\" [ngClass]=\"getRowClass(record)\" [selection]=\"selection\" [selected]=\"rowIsSelected(record)\" (select)=\"onRowSelect(record)\" (click)=\"onRowClick(record)\">\r\n </tr>\r\n </table>\r\n <igo-entity-table-paginator *ngIf=\"withPaginator\" [store]=\"store\" [paginatorOptions]=\"paginatorOptions\" [entitySortChange$]=\"entitySortChange$\" (paginatorChange)=\"paginatorChange($event)\">\r\n </igo-entity-table-paginator>\r\n</div>", styles: [":host{width:100%;height:100%;display:block}:host.table-compact tr.mat-header-row,:host.table-compact ::ng-deep .mat-checkbox .mat-checkbox-ripple{height:36px}:host.table-compact tr.mat-row,:host.table-compact ::ng-deep .mat-checkbox .mat-checkbox-ripple{height:28px}.table-container{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.mat-cell-text{overflow:hidden;word-wrap:break-word}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0 3px}entity-table table.igo-entity-table-with-selection tr:hover{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd;cursor:pointer}table button{margin:7px}.class_hidden{visibility:hidden}.class_display_none{display:none}.class_boolean,.class_icon,.class_number{text-align:center;padding-right:35px!important}.class_sting,.class_text,.class_number_edition{text-align:left}td.edition{background:rgba(166,166,166,.2)}input{border-bottom:1px solid darkgrey}\n"] }]
|
|
3410
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$4.UntypedFormBuilder }, { type: i2$1.FocusMonitor }, { type: i0.ElementRef }, { type: i1$4.NgControl, decorators: [{
|
|
3445
3411
|
type: Optional
|
|
3446
3412
|
}, {
|
|
3447
3413
|
type: Self
|
|
3448
|
-
}] }, { type: i1$
|
|
3414
|
+
}] }, { type: i1$4.NgForm, decorators: [{
|
|
3449
3415
|
type: Optional
|
|
3450
|
-
}] }, { type: i1$
|
|
3416
|
+
}] }, { type: i1$4.FormControlName, decorators: [{
|
|
3451
3417
|
type: Optional
|
|
3452
|
-
}] }, { type: i3.ErrorStateMatcher }, { type: i3.DateAdapter }]; }, { store: [{
|
|
3418
|
+
}] }, { type: i3$1.ErrorStateMatcher }, { type: i3$1.DateAdapter }]; }, { store: [{
|
|
3453
3419
|
type: Input
|
|
3454
3420
|
}], paginator: [{
|
|
3455
3421
|
type: Input
|
|
@@ -3509,7 +3475,7 @@ function ActionbarItemComponent_mat_list_item_0_h4_5_Template(rf, ctx) { if (rf
|
|
|
3509
3475
|
function ActionbarItemComponent_mat_list_item_0_Template(rf, ctx) { if (rf & 1) {
|
|
3510
3476
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
3511
3477
|
i0.ɵɵelementStart(0, "mat-list-item", 2);
|
|
3512
|
-
i0.ɵɵlistener("click", function ActionbarItemComponent_mat_list_item_0_Template_mat_list_item_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onClick(); });
|
|
3478
|
+
i0.ɵɵlistener("click", function ActionbarItemComponent_mat_list_item_0_Template_mat_list_item_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onClick()); });
|
|
3513
3479
|
i0.ɵɵpipe(1, "translate");
|
|
3514
3480
|
i0.ɵɵpipe(2, "async");
|
|
3515
3481
|
i0.ɵɵpipe(3, "async");
|
|
@@ -3527,7 +3493,7 @@ function ActionbarItemComponent_mat_list_item_0_Template(rf, ctx) { if (rf & 1)
|
|
|
3527
3493
|
function ActionbarItemComponent_mat_list_item_1_mat_checkbox_4_Template(rf, ctx) { if (rf & 1) {
|
|
3528
3494
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
3529
3495
|
i0.ɵɵelementStart(0, "mat-checkbox", 11);
|
|
3530
|
-
i0.ɵɵlistener("change", function ActionbarItemComponent_mat_list_item_1_mat_checkbox_4_Template_mat_checkbox_change_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.action.handler(); });
|
|
3496
|
+
i0.ɵɵlistener("change", function ActionbarItemComponent_mat_list_item_1_mat_checkbox_4_Template_mat_checkbox_change_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.action.handler()); });
|
|
3531
3497
|
i0.ɵɵpipe(1, "async");
|
|
3532
3498
|
i0.ɵɵtext(2);
|
|
3533
3499
|
i0.ɵɵpipe(3, "translate");
|
|
@@ -3697,15 +3663,10 @@ ActionbarItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Acti
|
|
|
3697
3663
|
i0.ɵɵproperty("ngIf", !ctx.action.checkbox);
|
|
3698
3664
|
i0.ɵɵadvance(1);
|
|
3699
3665
|
i0.ɵɵproperty("ngIf", ctx.action.checkbox);
|
|
3700
|
-
} },
|
|
3666
|
+
} }, dependencies: [i1.NgClass, i1.NgIf, i2$2.MatButton, i3$2.MatIcon, i6$1.MatTooltip, i2$3.MatListItem, i2$3.MatListAvatarCssMatStyler, i3$1.MatLine, i10.MatCheckbox, i1.AsyncPipe, i6$2.TranslatePipe], styles: ["mat-list-item.igo-actionbar-item-disabled[_ngcontent-%COMP%]{color:#00000042;cursor:default!important}mat-list-item.igo-actionbar-item-no-display[_ngcontent-%COMP%]{display:none}mat-checkbox[_ngcontent-%COMP%]{padding:12px}.item-checkbox[_ngcontent-%COMP%]{height:56px}.item-checkbox[_ngcontent-%COMP%] .mat-checkbox-label{margin-left:20px}"], changeDetection: 0 });
|
|
3701
3667
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionbarItemComponent, [{
|
|
3702
3668
|
type: Component,
|
|
3703
|
-
args: [{
|
|
3704
|
-
selector: 'igo-actionbar-item',
|
|
3705
|
-
templateUrl: './actionbar-item.component.html',
|
|
3706
|
-
styleUrls: ['./actionbar-item.component.scss'],
|
|
3707
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
3708
|
-
}]
|
|
3669
|
+
args: [{ selector: 'igo-actionbar-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list-item *ngIf=\"!action.checkbox\"\r\n matTooltipClass=\"actionbarItemTooltip\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"withTooltip ? ((tooltip$ | async) || title | translate) : ''\"\r\n [ngClass]=\"ngClass$ | async\"\r\n (click)=\"onClick()\">\r\n <button *ngIf=\"withIcon\"\r\n mat-list-avatar\r\n mat-icon-button\r\n [color]=\"color\"\r\n [disabled]=\"disabled$ | async\">\r\n <mat-icon *ngIf=\"withIcon\" svgIcon=\"{{icon$ | async}}\"></mat-icon>\r\n </button>\r\n <h4 *ngIf=\"withTitle\" matLine>{{title | translate}}</h4>\r\n</mat-list-item>\r\n\r\n<mat-list-item class=\"item-checkbox\" *ngIf=\"action.checkbox\"\r\n matTooltipClass=\"actionbarItemTooltip\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"withTooltip ? ((tooltip$ | async) || title | translate) : ''\"\r\n [ngClass]=\"ngClass$ | async\">\r\n <mat-checkbox *ngIf=\"withTitle\"\r\n (change)=\"action.handler()\"\r\n [checked]=\"checkCondition$ | async\">\r\n {{title | translate}}\r\n </mat-checkbox>\r\n</mat-list-item>\r\n", styles: ["mat-list-item.igo-actionbar-item-disabled{color:#00000042;cursor:default!important}mat-list-item.igo-actionbar-item-no-display{display:none}mat-checkbox{padding:12px}.item-checkbox{height:56px}.item-checkbox ::ng-deep .mat-checkbox-label{margin-left:20px}\n"] }]
|
|
3709
3670
|
}], function () { return []; }, { action: [{
|
|
3710
3671
|
type: Input
|
|
3711
3672
|
}], color: [{
|
|
@@ -3726,13 +3687,11 @@ ActionbarItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Acti
|
|
|
3726
3687
|
|
|
3727
3688
|
function ActionbarComponent_mat_list_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
3728
3689
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
3729
|
-
i0.ɵɵelementStart(0, "div", 5);
|
|
3730
|
-
i0.ɵɵ
|
|
3731
|
-
i0.ɵɵlistener("click", function ActionbarComponent_mat_list_0_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.scrollUp(); });
|
|
3690
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "button", 6);
|
|
3691
|
+
i0.ɵɵlistener("click", function ActionbarComponent_mat_list_0_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.scrollUp()); });
|
|
3732
3692
|
i0.ɵɵpipe(2, "translate");
|
|
3733
3693
|
i0.ɵɵelement(3, "mat-icon", 7);
|
|
3734
|
-
i0.ɵɵelementEnd();
|
|
3735
|
-
i0.ɵɵelementEnd();
|
|
3694
|
+
i0.ɵɵelementEnd()();
|
|
3736
3695
|
} if (rf & 2) {
|
|
3737
3696
|
i0.ɵɵadvance(1);
|
|
3738
3697
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1, "igo.common.actionbar.scrollUp"));
|
|
@@ -3740,7 +3699,7 @@ function ActionbarComponent_mat_list_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
3740
3699
|
function ActionbarComponent_mat_list_0_igo_actionbar_item_2_Template(rf, ctx) { if (rf & 1) {
|
|
3741
3700
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
3742
3701
|
i0.ɵɵelementStart(0, "igo-actionbar-item", 8);
|
|
3743
|
-
i0.ɵɵlistener("trigger", function ActionbarComponent_mat_list_0_igo_actionbar_item_2_Template_igo_actionbar_item_trigger_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.onTriggerAction(ctx_r9.toggleCollapseAction); });
|
|
3702
|
+
i0.ɵɵlistener("trigger", function ActionbarComponent_mat_list_0_igo_actionbar_item_2_Template_igo_actionbar_item_trigger_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r9.onTriggerAction(ctx_r9.toggleCollapseAction)); });
|
|
3744
3703
|
i0.ɵɵelementEnd();
|
|
3745
3704
|
} if (rf & 2) {
|
|
3746
3705
|
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
@@ -3749,7 +3708,7 @@ function ActionbarComponent_mat_list_0_igo_actionbar_item_2_Template(rf, ctx) {
|
|
|
3749
3708
|
function ActionbarComponent_mat_list_0_3_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3750
3709
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
3751
3710
|
i0.ɵɵelementStart(0, "igo-actionbar-item", 11);
|
|
3752
|
-
i0.ɵɵlistener("trigger", function ActionbarComponent_mat_list_0_3_ng_template_0_Template_igo_actionbar_item_trigger_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r15); const action_r13 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(3); return ctx_r14.onTriggerAction(action_r13); });
|
|
3711
|
+
i0.ɵɵlistener("trigger", function ActionbarComponent_mat_list_0_3_ng_template_0_Template_igo_actionbar_item_trigger_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r15); const action_r13 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r14.onTriggerAction(action_r13)); });
|
|
3753
3712
|
i0.ɵɵelementEnd();
|
|
3754
3713
|
} if (rf & 2) {
|
|
3755
3714
|
const action_r13 = ctx.$implicit;
|
|
@@ -3765,13 +3724,11 @@ function ActionbarComponent_mat_list_0_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
3765
3724
|
} }
|
|
3766
3725
|
function ActionbarComponent_mat_list_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
3767
3726
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
3768
|
-
i0.ɵɵelementStart(0, "div", 12);
|
|
3769
|
-
i0.ɵɵ
|
|
3770
|
-
i0.ɵɵlistener("click", function ActionbarComponent_mat_list_0_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(2); return ctx_r16.scrollDown(); });
|
|
3727
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "button", 6);
|
|
3728
|
+
i0.ɵɵlistener("click", function ActionbarComponent_mat_list_0_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r16.scrollDown()); });
|
|
3771
3729
|
i0.ɵɵpipe(2, "translate");
|
|
3772
3730
|
i0.ɵɵelement(3, "mat-icon", 13);
|
|
3773
|
-
i0.ɵɵelementEnd();
|
|
3774
|
-
i0.ɵɵelementEnd();
|
|
3731
|
+
i0.ɵɵelementEnd()();
|
|
3775
3732
|
} if (rf & 2) {
|
|
3776
3733
|
i0.ɵɵadvance(1);
|
|
3777
3734
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1, "igo.common.actionbar.scrollDown"));
|
|
@@ -3780,7 +3737,7 @@ function ActionbarComponent_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
3780
3737
|
i0.ɵɵelementStart(0, "mat-list");
|
|
3781
3738
|
i0.ɵɵtemplate(1, ActionbarComponent_mat_list_0_div_1_Template, 4, 3, "div", 2);
|
|
3782
3739
|
i0.ɵɵtemplate(2, ActionbarComponent_mat_list_0_igo_actionbar_item_2_Template, 1, 5, "igo-actionbar-item", 3);
|
|
3783
|
-
i0.ɵɵtemplate(3, ActionbarComponent_mat_list_0_3_Template, 3, 3,
|
|
3740
|
+
i0.ɵɵtemplate(3, ActionbarComponent_mat_list_0_3_Template, 3, 3, null, 0);
|
|
3784
3741
|
i0.ɵɵtemplate(4, ActionbarComponent_mat_list_0_div_4_Template, 4, 3, "div", 4);
|
|
3785
3742
|
i0.ɵɵelementEnd();
|
|
3786
3743
|
} if (rf & 2) {
|
|
@@ -3797,7 +3754,7 @@ function ActionbarComponent_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
3797
3754
|
function ActionbarComponent_div_1_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
3798
3755
|
const _r22 = i0.ɵɵgetCurrentView();
|
|
3799
3756
|
i0.ɵɵelementStart(0, "igo-actionbar-item", 18);
|
|
3800
|
-
i0.ɵɵlistener("trigger", function ActionbarComponent_div_1_ng_template_7_Template_igo_actionbar_item_trigger_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r22); const action_r20 = restoredCtx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.onTriggerAction(action_r20); });
|
|
3757
|
+
i0.ɵɵlistener("trigger", function ActionbarComponent_div_1_ng_template_7_Template_igo_actionbar_item_trigger_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r22); const action_r20 = restoredCtx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.onTriggerAction(action_r20)); });
|
|
3801
3758
|
i0.ɵɵelementEnd();
|
|
3802
3759
|
} if (rf & 2) {
|
|
3803
3760
|
const action_r20 = ctx.$implicit;
|
|
@@ -3805,18 +3762,14 @@ function ActionbarComponent_div_1_ng_template_7_Template(rf, ctx) { if (rf & 1)
|
|
|
3805
3762
|
i0.ɵɵproperty("withTitle", ctx_r19.withTitle)("withIcon", ctx_r19.withIcon)("color", ctx_r19.color)("action", action_r20);
|
|
3806
3763
|
} }
|
|
3807
3764
|
function ActionbarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
3808
|
-
i0.ɵɵelementStart(0, "div");
|
|
3809
|
-
i0.ɵɵelementStart(1, "button", 14);
|
|
3765
|
+
i0.ɵɵelementStart(0, "div")(1, "button", 14);
|
|
3810
3766
|
i0.ɵɵpipe(2, "translate");
|
|
3811
3767
|
i0.ɵɵelement(3, "mat-icon", 15);
|
|
3812
3768
|
i0.ɵɵelementEnd();
|
|
3813
|
-
i0.ɵɵelementStart(4, "mat-menu", 16, 17);
|
|
3814
|
-
i0.ɵɵelementStart(6, "mat-list");
|
|
3769
|
+
i0.ɵɵelementStart(4, "mat-menu", 16, 17)(6, "mat-list");
|
|
3815
3770
|
i0.ɵɵtemplate(7, ActionbarComponent_div_1_ng_template_7_Template, 1, 4, "ng-template", 9);
|
|
3816
3771
|
i0.ɵɵpipe(8, "async");
|
|
3817
|
-
i0.ɵɵelementEnd();
|
|
3818
|
-
i0.ɵɵelementEnd();
|
|
3819
|
-
i0.ɵɵelementEnd();
|
|
3772
|
+
i0.ɵɵelementEnd()()();
|
|
3820
3773
|
} if (rf & 2) {
|
|
3821
3774
|
const _r18 = i0.ɵɵreference(5);
|
|
3822
3775
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -3833,7 +3786,7 @@ function ActionbarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
3833
3786
|
function ActionbarComponent_mat_card_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
3834
3787
|
const _r26 = i0.ɵɵgetCurrentView();
|
|
3835
3788
|
i0.ɵɵelementStart(0, "igo-actionbar-item", 18);
|
|
3836
|
-
i0.ɵɵlistener("trigger", function ActionbarComponent_mat_card_2_ng_template_2_Template_igo_actionbar_item_trigger_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r26); const action_r24 = restoredCtx.$implicit; const ctx_r25 = i0.ɵɵnextContext(2); return ctx_r25.onTriggerAction(action_r24); });
|
|
3789
|
+
i0.ɵɵlistener("trigger", function ActionbarComponent_mat_card_2_ng_template_2_Template_igo_actionbar_item_trigger_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r26); const action_r24 = restoredCtx.$implicit; const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.onTriggerAction(action_r24)); });
|
|
3837
3790
|
i0.ɵɵelementEnd();
|
|
3838
3791
|
i0.ɵɵelement(1, "br");
|
|
3839
3792
|
} if (rf & 2) {
|
|
@@ -3842,12 +3795,10 @@ function ActionbarComponent_mat_card_2_ng_template_2_Template(rf, ctx) { if (rf
|
|
|
3842
3795
|
i0.ɵɵproperty("withTitle", ctx_r23.withTitle)("withIcon", ctx_r23.withIcon)("color", ctx_r23.color)("action", action_r24);
|
|
3843
3796
|
} }
|
|
3844
3797
|
function ActionbarComponent_mat_card_2_Template(rf, ctx) { if (rf & 1) {
|
|
3845
|
-
i0.ɵɵelementStart(0, "mat-card", 19);
|
|
3846
|
-
i0.ɵɵelementStart(1, "mat-list");
|
|
3798
|
+
i0.ɵɵelementStart(0, "mat-card", 19)(1, "mat-list");
|
|
3847
3799
|
i0.ɵɵtemplate(2, ActionbarComponent_mat_card_2_ng_template_2_Template, 2, 4, "ng-template", 9);
|
|
3848
3800
|
i0.ɵɵpipe(3, "async");
|
|
3849
|
-
i0.ɵɵelementEnd();
|
|
3850
|
-
i0.ɵɵelementEnd();
|
|
3801
|
+
i0.ɵɵelementEnd()();
|
|
3851
3802
|
} if (rf & 2) {
|
|
3852
3803
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
3853
3804
|
i0.ɵɵadvance(2);
|
|
@@ -4031,7 +3982,7 @@ class ActionbarComponent {
|
|
|
4031
3982
|
this.elRef.nativeElement.scrollBy(0, -52);
|
|
4032
3983
|
}
|
|
4033
3984
|
}
|
|
4034
|
-
ActionbarComponent.ɵfac = function ActionbarComponent_Factory(t) { return new (t || ActionbarComponent)(i0.ɵɵdirectiveInject(i1$
|
|
3985
|
+
ActionbarComponent.ɵfac = function ActionbarComponent_Factory(t) { return new (t || ActionbarComponent)(i0.ɵɵdirectiveInject(i1$5.Overlay), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$1.MediaService)); };
|
|
4035
3986
|
ActionbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionbarComponent, selectors: [["igo-actionbar"]], hostVars: 6, hostBindings: function ActionbarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
4036
3987
|
i0.ɵɵclassProp("with-title", ctx.withTitleClass)("with-icon", ctx.withIconClass)("horizontal", ctx.horizontalClass);
|
|
4037
3988
|
} }, inputs: { store: "store", mode: "mode", withToggleButton: "withToggleButton", horizontal: "horizontal", color: "color", iconColor: "iconColor", withTitle: "withTitle", withTooltip: "withTooltip", scrollActive: "scrollActive", withIcon: "withIcon", icon: "icon", xPosition: "xPosition", yPosition: "yPosition", overlayClass: "overlayClass" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "context-menu-card mat-elevation-z4", 4, "ngIf"], ["id", "topChevron", 4, "ngIf"], ["color", "accent", 3, "withTitle", "withIcon", "color", "disabled", "action", "trigger", 4, "ngIf"], ["id", "lowChevron", 4, "ngIf"], ["id", "topChevron"], ["mat-icon-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "matTooltip", "click"], ["svgIcon", "chevron-up"], ["color", "accent", 3, "withTitle", "withIcon", "color", "disabled", "action", "trigger"], ["ngFor", "", 3, "ngForOf"], ["buttonContent", ""], ["color", "accent", 3, "withTitle", "withIcon", "withTooltip", "color", "disabled", "action", "trigger"], ["id", "lowChevron"], ["svgIcon", "chevron-down"], ["mat-icon-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 1, "buttonOverlay", 3, "matTooltip", "matMenuTriggerFor", "disabled", "color"], [3, "svgIcon"], ["overlapTrigger", "true", 1, "igo-compact-menu", "igo-no-min-width-menu", 3, "xPosition", "yPosition"], ["actionbarMenu", "matMenu"], ["color", "accent", 3, "withTitle", "withIcon", "color", "action", "trigger"], [1, "context-menu-card", "mat-elevation-z4"]], template: function ActionbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4044,16 +3995,11 @@ ActionbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actionba
|
|
|
4044
3995
|
i0.ɵɵproperty("ngIf", ctx.mode === ctx.actionbarMode.Overlay);
|
|
4045
3996
|
i0.ɵɵadvance(1);
|
|
4046
3997
|
i0.ɵɵproperty("ngIf", ctx.mode === ctx.actionbarMode.Context);
|
|
4047
|
-
} },
|
|
3998
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i2$2.MatButton, i3$2.MatIcon, i6$1.MatTooltip, i7$1.MatMenu, i7$1.MatMenuTrigger, i2$3.MatList, i9.MatCard, ActionbarItemComponent, i1.AsyncPipe, i6$2.TranslatePipe], styles: ["[_nghost-%COMP%]{display:block;height:100%;overflow:auto;position:relative}button[_ngcontent-%COMP%]{margin:4px}.buttonOverlay[_ngcontent-%COMP%]{margin:0}mat-list[_ngcontent-%COMP%]{padding-top:0}.horizontal[_nghost-%COMP%]{max-width:100%;overflow:visible;overflow:initial}.horizontal[_nghost-%COMP%] mat-list[_ngcontent-%COMP%]{width:auto;white-space:nowrap}.horizontal[_nghost-%COMP%] igo-actionbar-item[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .mat-list .mat-list-item .mat-list-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}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:46px}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content>mat-icon{padding:8px}igo-actionbar-item[_ngcontent-%COMP%] mat-list-item [mat-list-avatar]{height:auto;width:40px}igo-actionbar-item[_ngcontent-%COMP%] mat-list-item:hover{cursor:pointer}.context-menu-card[_ngcontent-%COMP%]{padding:8px 3px;margin:10px}#topChevron[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;z-index:3}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){#topChevron[_ngcontent-%COMP%]{position:fixed;top:auto;top:initial}}@supports (-ms-accelerator: true){#topChevron[_ngcontent-%COMP%]{position:fixed;top:auto;top:initial}}#lowChevron[_ngcontent-%COMP%]{position:fixed;position:-webkit-sticky;position:sticky;bottom:0;background-color:#fff;z-index:3}"], changeDetection: 0 });
|
|
4048
3999
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionbarComponent, [{
|
|
4049
4000
|
type: Component,
|
|
4050
|
-
args: [{
|
|
4051
|
-
|
|
4052
|
-
templateUrl: './actionbar.component.html',
|
|
4053
|
-
styleUrls: ['./actionbar.component.scss'],
|
|
4054
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4055
|
-
}]
|
|
4056
|
-
}], function () { return [{ type: i1$7.Overlay }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MediaService }]; }, { store: [{
|
|
4001
|
+
args: [{ selector: 'igo-actionbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list *ngIf=\"mode === actionbarMode.Dock\">\r\n\r\n <div *ngIf=\"heightCondition && positionConditionTop && isDesktop\"\r\n id=\"topChevron\">\r\n <button\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.common.actionbar.scrollUp' | translate\"\r\n (click)=\"scrollUp()\">\r\n <mat-icon svgIcon=\"chevron-up\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <igo-actionbar-item\r\n *ngIf=\"withToggleButton\"\r\n color=\"accent\"\r\n [withTitle]=\"false\"\r\n [withIcon]=\"true\"\r\n [color]=\"color\"\r\n [disabled]=\"store.view.empty\"\r\n [action]=\"toggleCollapseAction\"\r\n (trigger)=\"onTriggerAction(toggleCollapseAction)\">\r\n </igo-actionbar-item>\r\n\r\n <ng-template #buttonContent *ngIf=\"!collapsed\" ngFor let-action [ngForOf]=\"store.view.all$() | async\">\r\n <igo-actionbar-item\r\n color=\"accent\"\r\n [withTitle]=\"withTitle\"\r\n [withIcon]=\"withIcon\"\r\n [withTooltip]=\"withTooltip\"\r\n [color]=\"color\"\r\n [disabled]=\"store.state.get(action).disabled\"\r\n [action]=\"action\"\r\n (trigger)=\"onTriggerAction(action)\">\r\n </igo-actionbar-item>\r\n </ng-template>\r\n\r\n <div *ngIf=\"heightCondition && positionConditionLow && isDesktop\"\r\n id=\"lowChevron\">\r\n <button\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.common.actionbar.scrollDown' | translate\"\r\n (click)=\"scrollDown()\">\r\n <mat-icon svgIcon=\"chevron-down\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n</mat-list>\r\n\r\n<div *ngIf=\"mode === actionbarMode.Overlay\">\r\n <button class=\"buttonOverlay\"\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.common.actionbar.icon' | translate\"\r\n [matMenuTriggerFor]=\"actionbarMenu\"\r\n [disabled]=\"store.view.empty\"\r\n [color]=\"iconColor\">\r\n <mat-icon [svgIcon]=\"icon\"></mat-icon>\r\n </button>\r\n\r\n <mat-menu\r\n #actionbarMenu=\"matMenu\"\r\n class=\"igo-compact-menu igo-no-min-width-menu\"\r\n overlapTrigger=\"true\"\r\n [xPosition]=\"xPosition\"\r\n [yPosition]=\"yPosition\"\r\n [class]=\"overlayClass\">\r\n\r\n <mat-list>\r\n <ng-template ngFor let-action [ngForOf]=\"store.view.all$() | async\">\r\n <igo-actionbar-item\r\n color=\"accent\"\r\n [withTitle]=\"withTitle\"\r\n [withIcon]=\"withIcon\"\r\n [color]=\"color\"\r\n [action]=\"action\"\r\n (trigger)=\"onTriggerAction(action)\">\r\n </igo-actionbar-item>\r\n </ng-template>\r\n </mat-list>\r\n </mat-menu>\r\n</div>\r\n<mat-card *ngIf=\"mode === actionbarMode.Context\" class=\"context-menu-card mat-elevation-z4\">\r\n <mat-list>\r\n <ng-template ngFor let-action [ngForOf]=\"store.view.all$() | async\">\r\n <igo-actionbar-item\r\n color=\"accent\"\r\n [withTitle]=\"withTitle\"\r\n [withIcon]=\"withIcon\"\r\n [color]=\"color\"\r\n [action]=\"action\"\r\n (trigger)=\"onTriggerAction(action)\">\r\n </igo-actionbar-item>\r\n <br/>\r\n </ng-template>\r\n </mat-list>\r\n</mat-card>\r\n", styles: [":host{display:block;height:100%;overflow:auto;position:relative}button{margin:4px}.buttonOverlay{margin:0}mat-list{padding-top:0}:host.horizontal{max-width:100%;overflow:visible;overflow:initial}:host.horizontal mat-list{width:auto;white-space:nowrap}:host.horizontal igo-actionbar-item{display:inline-block}:host ::ng-deep .mat-list .mat-list-item .mat-list-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-list-base .mat-list-item.mat-list-item-with-avatar{height:46px}:host ::ng-deep .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}:host ::ng-deep .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content>mat-icon{padding:8px}igo-actionbar-item ::ng-deep mat-list-item [mat-list-avatar]{height:auto;width:40px}igo-actionbar-item ::ng-deep mat-list-item:hover{cursor:pointer}.context-menu-card{padding:8px 3px;margin:10px}#topChevron{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;z-index:3}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){#topChevron{position:fixed;top:auto;top:initial}}@supports (-ms-accelerator: true){#topChevron{position:fixed;top:auto;top:initial}}#lowChevron{position:fixed;position:-webkit-sticky;position:sticky;bottom:0;background-color:#fff;z-index:3}\n"] }]
|
|
4002
|
+
}], function () { return [{ type: i1$5.Overlay }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.MediaService }]; }, { store: [{
|
|
4057
4003
|
type: Input
|
|
4058
4004
|
}], mode: [{
|
|
4059
4005
|
type: Input
|
|
@@ -4099,17 +4045,15 @@ class IgoActionbarModule {
|
|
|
4099
4045
|
}
|
|
4100
4046
|
IgoActionbarModule.ɵfac = function IgoActionbarModule_Factory(t) { return new (t || IgoActionbarModule)(); };
|
|
4101
4047
|
IgoActionbarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoActionbarModule });
|
|
4102
|
-
IgoActionbarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
MatCheckboxModule
|
|
4112
|
-
]] });
|
|
4048
|
+
IgoActionbarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
4049
|
+
IgoLanguageModule,
|
|
4050
|
+
MatButtonModule,
|
|
4051
|
+
MatIconModule,
|
|
4052
|
+
MatTooltipModule,
|
|
4053
|
+
MatMenuModule,
|
|
4054
|
+
MatListModule,
|
|
4055
|
+
MatCardModule,
|
|
4056
|
+
MatCheckboxModule] });
|
|
4113
4057
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoActionbarModule, [{
|
|
4114
4058
|
type: NgModule,
|
|
4115
4059
|
args: [{
|
|
@@ -4142,10 +4086,8 @@ class IgoActionModule {
|
|
|
4142
4086
|
}
|
|
4143
4087
|
IgoActionModule.ɵfac = function IgoActionModule_Factory(t) { return new (t || IgoActionModule)(); };
|
|
4144
4088
|
IgoActionModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoActionModule });
|
|
4145
|
-
IgoActionModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
4146
|
-
|
|
4147
|
-
IgoActionbarModule
|
|
4148
|
-
], IgoActionbarModule] });
|
|
4089
|
+
IgoActionModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
4090
|
+
IgoActionbarModule, IgoActionbarModule] });
|
|
4149
4091
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoActionModule, [{
|
|
4150
4092
|
type: NgModule,
|
|
4151
4093
|
args: [{
|
|
@@ -4178,14 +4120,10 @@ BackdropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BackdropC
|
|
|
4178
4120
|
i0.ɵɵelement(0, "div", 0);
|
|
4179
4121
|
} if (rf & 2) {
|
|
4180
4122
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c0$b, ctx.shown));
|
|
4181
|
-
} },
|
|
4123
|
+
} }, dependencies: [i1.NgClass], styles: ["[_nghost-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:#64646480;z-index:2;display:none}[_nghost-%COMP%] > div.igo-backdrop-shown[_ngcontent-%COMP%]{display:block}"] });
|
|
4182
4124
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackdropComponent, [{
|
|
4183
4125
|
type: Component,
|
|
4184
|
-
args: [{
|
|
4185
|
-
selector: 'igo-backdrop',
|
|
4186
|
-
templateUrl: './backdrop.component.html',
|
|
4187
|
-
styleUrls: ['./backdrop.component.scss']
|
|
4188
|
-
}]
|
|
4126
|
+
args: [{ selector: 'igo-backdrop', template: "<div [ngClass]=\"{'igo-backdrop-shown': shown}\"></div>\r\n", styles: [":host>div{position:absolute;top:0;bottom:0;left:0;right:0;background-color:#64646480;z-index:2;display:none}:host>div.igo-backdrop-shown{display:block}\n"] }]
|
|
4189
4127
|
}], function () { return []; }, { shown: [{
|
|
4190
4128
|
type: Input
|
|
4191
4129
|
}] }); })();
|
|
@@ -4200,7 +4138,7 @@ class IgoBackdropModule {
|
|
|
4200
4138
|
}
|
|
4201
4139
|
IgoBackdropModule.ɵfac = function IgoBackdropModule_Factory(t) { return new (t || IgoBackdropModule)(); };
|
|
4202
4140
|
IgoBackdropModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoBackdropModule });
|
|
4203
|
-
IgoBackdropModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4141
|
+
IgoBackdropModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
|
|
4204
4142
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoBackdropModule, [{
|
|
4205
4143
|
type: NgModule,
|
|
4206
4144
|
args: [{
|
|
@@ -4314,14 +4252,14 @@ class IgoBadgeIconDirective {
|
|
|
4314
4252
|
}
|
|
4315
4253
|
}
|
|
4316
4254
|
}
|
|
4317
|
-
IgoBadgeIconDirective.ɵfac = function IgoBadgeIconDirective_Factory(t) { return new (t || IgoBadgeIconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(
|
|
4255
|
+
IgoBadgeIconDirective.ɵfac = function IgoBadgeIconDirective_Factory(t) { return new (t || IgoBadgeIconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i3$2.MatIconRegistry)); };
|
|
4318
4256
|
IgoBadgeIconDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: IgoBadgeIconDirective, selectors: [["", "igoMatBadgeIcon", ""]], inputs: { igoMatBadgeIcon: "igoMatBadgeIcon", matBadgeHidden: "matBadgeHidden", matBadgeDisabled: "matBadgeDisabled", igoMatBadgeInverseColor: "igoMatBadgeInverseColor", igoMatBadgeInheritColor: "igoMatBadgeInheritColor" } });
|
|
4319
4257
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoBadgeIconDirective, [{
|
|
4320
4258
|
type: Directive,
|
|
4321
4259
|
args: [{
|
|
4322
4260
|
selector: '[igoMatBadgeIcon]'
|
|
4323
4261
|
}]
|
|
4324
|
-
}], function () { return [{ type: i0.ElementRef }, { type:
|
|
4262
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i3$2.MatIconRegistry }]; }, { igoMatBadgeIcon: [{
|
|
4325
4263
|
type: Input
|
|
4326
4264
|
}], matBadgeHidden: [{
|
|
4327
4265
|
type: Input
|
|
@@ -4343,7 +4281,7 @@ class IgoMatBadgeIconModule {
|
|
|
4343
4281
|
}
|
|
4344
4282
|
IgoMatBadgeIconModule.ɵfac = function IgoMatBadgeIconModule_Factory(t) { return new (t || IgoMatBadgeIconModule)(); };
|
|
4345
4283
|
IgoMatBadgeIconModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoMatBadgeIconModule });
|
|
4346
|
-
IgoMatBadgeIconModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4284
|
+
IgoMatBadgeIconModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatBadgeModule, MatIconModule, MatBadgeModule] });
|
|
4347
4285
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoMatBadgeIconModule, [{
|
|
4348
4286
|
type: NgModule,
|
|
4349
4287
|
args: [{
|
|
@@ -4394,7 +4332,7 @@ class IgoClickoutModule {
|
|
|
4394
4332
|
}
|
|
4395
4333
|
IgoClickoutModule.ɵfac = function IgoClickoutModule_Factory(t) { return new (t || IgoClickoutModule)(); };
|
|
4396
4334
|
IgoClickoutModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoClickoutModule });
|
|
4397
|
-
IgoClickoutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
4335
|
+
IgoClickoutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
4398
4336
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoClickoutModule, [{
|
|
4399
4337
|
type: NgModule,
|
|
4400
4338
|
args: [{
|
|
@@ -4437,7 +4375,7 @@ class IgoCloneModule {
|
|
|
4437
4375
|
}
|
|
4438
4376
|
IgoCloneModule.ɵfac = function IgoCloneModule_Factory(t) { return new (t || IgoCloneModule)(); };
|
|
4439
4377
|
IgoCloneModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoCloneModule });
|
|
4440
|
-
IgoCloneModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
4378
|
+
IgoCloneModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
4441
4379
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoCloneModule, [{
|
|
4442
4380
|
type: NgModule,
|
|
4443
4381
|
args: [{
|
|
@@ -4525,14 +4463,12 @@ class CollapsibleComponent {
|
|
|
4525
4463
|
CollapsibleComponent.ɵfac = function CollapsibleComponent_Factory(t) { return new (t || CollapsibleComponent)(); };
|
|
4526
4464
|
CollapsibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollapsibleComponent, selectors: [["igo-collapsible"]], inputs: { title: "title", collapsed: "collapsed" }, outputs: { toggle: "toggle" }, ngContentSelectors: _c0$a, decls: 7, vars: 3, consts: [["svgIcon", "chevron-up", "mat-list-avatar", "", "igoCollapse", "", 1, "igo-chevron", 3, "target", "collapsed", "toggle"], ["matLine", ""], ["content", ""]], template: function CollapsibleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4527
4465
|
i0.ɵɵprojectionDef();
|
|
4528
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
4529
|
-
i0.ɵɵelementStart(1, "mat-icon", 0);
|
|
4466
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 0);
|
|
4530
4467
|
i0.ɵɵlistener("toggle", function CollapsibleComponent_Template_mat_icon_toggle_1_listener($event) { return ctx.collapsed = $event; });
|
|
4531
4468
|
i0.ɵɵelementEnd();
|
|
4532
4469
|
i0.ɵɵelementStart(2, "h4", 1);
|
|
4533
4470
|
i0.ɵɵtext(3);
|
|
4534
|
-
i0.ɵɵelementEnd();
|
|
4535
|
-
i0.ɵɵelementEnd();
|
|
4471
|
+
i0.ɵɵelementEnd()();
|
|
4536
4472
|
i0.ɵɵelementStart(4, "div", null, 2);
|
|
4537
4473
|
i0.ɵɵprojection(6);
|
|
4538
4474
|
i0.ɵɵelementEnd();
|
|
@@ -4542,14 +4478,10 @@ CollapsibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Collap
|
|
|
4542
4478
|
i0.ɵɵproperty("target", _r0)("collapsed", ctx.collapsed);
|
|
4543
4479
|
i0.ɵɵadvance(2);
|
|
4544
4480
|
i0.ɵɵtextInterpolate(ctx.title);
|
|
4545
|
-
} },
|
|
4481
|
+
} }, dependencies: [i3$2.MatIcon, i2$3.MatListItem, i2$3.MatListAvatarCssMatStyler, i3$1.MatLine, CollapseDirective], styles: ["[_nghost-%COMP%] .mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item[_ngcontent-%COMP%]{overflow:hidden}"] });
|
|
4546
4482
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollapsibleComponent, [{
|
|
4547
4483
|
type: Component,
|
|
4548
|
-
args: [{
|
|
4549
|
-
selector: 'igo-collapsible',
|
|
4550
|
-
templateUrl: './collapsible.component.html',
|
|
4551
|
-
styleUrls: ['./collapsible.component.scss']
|
|
4552
|
-
}]
|
|
4484
|
+
args: [{ selector: 'igo-collapsible', template: "<mat-list-item>\r\n <mat-icon\r\n svgIcon=\"chevron-up\" \r\n class=\"igo-chevron\"\r\n mat-list-avatar\r\n igoCollapse\r\n [target]=\"content\"\r\n [collapsed]=\"collapsed\"\r\n (toggle)=\"collapsed = $event\">\r\n </mat-icon>\r\n <h4 matLine>{{title}}</h4>\r\n</mat-list-item>\r\n\r\n<div #content>\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host ::ng-deep .mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}\n"] }]
|
|
4553
4485
|
}], null, { title: [{
|
|
4554
4486
|
type: Input
|
|
4555
4487
|
}], collapsed: [{
|
|
@@ -4568,7 +4500,7 @@ class IgoCollapsibleModule {
|
|
|
4568
4500
|
}
|
|
4569
4501
|
IgoCollapsibleModule.ɵfac = function IgoCollapsibleModule_Factory(t) { return new (t || IgoCollapsibleModule)(); };
|
|
4570
4502
|
IgoCollapsibleModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoCollapsibleModule });
|
|
4571
|
-
IgoCollapsibleModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4503
|
+
IgoCollapsibleModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatIconModule, MatListModule] });
|
|
4572
4504
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoCollapsibleModule, [{
|
|
4573
4505
|
type: NgModule,
|
|
4574
4506
|
args: [{
|
|
@@ -4584,7 +4516,7 @@ class ConfirmDialogComponent {
|
|
|
4584
4516
|
this.dialogRef = dialogRef;
|
|
4585
4517
|
}
|
|
4586
4518
|
}
|
|
4587
|
-
ConfirmDialogComponent.ɵfac = function ConfirmDialogComponent_Factory(t) { return new (t || ConfirmDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
4519
|
+
ConfirmDialogComponent.ɵfac = function ConfirmDialogComponent_Factory(t) { return new (t || ConfirmDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
|
|
4588
4520
|
ConfirmDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmDialogComponent, selectors: [["igo-confirm-dialog"]], decls: 12, vars: 10, consts: [["mat-dialog-title", "", 1, "mat-typography"], ["mat-dialog-content", "", 1, "mat-typography"], ["mat-dialog-actions", ""], ["mat-button", "", "color", "primary", 3, "click"], ["mat-button", "", 3, "click"]], template: function ConfirmDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4589
4521
|
i0.ɵɵelementStart(0, "h2", 0);
|
|
4590
4522
|
i0.ɵɵtext(1);
|
|
@@ -4593,8 +4525,7 @@ ConfirmDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Conf
|
|
|
4593
4525
|
i0.ɵɵelementStart(3, "div", 1);
|
|
4594
4526
|
i0.ɵɵtext(4);
|
|
4595
4527
|
i0.ɵɵelementEnd();
|
|
4596
|
-
i0.ɵɵelementStart(5, "div", 2);
|
|
4597
|
-
i0.ɵɵelementStart(6, "button", 3);
|
|
4528
|
+
i0.ɵɵelementStart(5, "div", 2)(6, "button", 3);
|
|
4598
4529
|
i0.ɵɵlistener("click", function ConfirmDialogComponent_Template_button_click_6_listener() { return ctx.dialogRef.close(true); });
|
|
4599
4530
|
i0.ɵɵtext(7);
|
|
4600
4531
|
i0.ɵɵpipe(8, "translate");
|
|
@@ -4603,8 +4534,7 @@ ConfirmDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Conf
|
|
|
4603
4534
|
i0.ɵɵlistener("click", function ConfirmDialogComponent_Template_button_click_9_listener() { return ctx.dialogRef.close(false); });
|
|
4604
4535
|
i0.ɵɵtext(10);
|
|
4605
4536
|
i0.ɵɵpipe(11, "translate");
|
|
4606
|
-
i0.ɵɵelementEnd();
|
|
4607
|
-
i0.ɵɵelementEnd();
|
|
4537
|
+
i0.ɵɵelementEnd()();
|
|
4608
4538
|
} if (rf & 2) {
|
|
4609
4539
|
i0.ɵɵadvance(1);
|
|
4610
4540
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, "igo.common.confirmDialog.title"));
|
|
@@ -4614,15 +4544,11 @@ ConfirmDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Conf
|
|
|
4614
4544
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 6, "igo.common.confirmDialog.confirmBtn"));
|
|
4615
4545
|
i0.ɵɵadvance(3);
|
|
4616
4546
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 8, "igo.common.confirmDialog.cancelBtn"));
|
|
4617
|
-
} },
|
|
4547
|
+
} }, dependencies: [i2$2.MatButton, i1$6.MatDialogTitle, i1$6.MatDialogContent, i1$6.MatDialogActions, i6$2.TranslatePipe], styles: ["h2[_ngcontent-%COMP%]{margin:5px 0 10px}div[mat-dialog-content][_ngcontent-%COMP%]{max-width:200px}div[mat-dialog-actions][_ngcontent-%COMP%]{margin:10px 0 0}"] });
|
|
4618
4548
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogComponent, [{
|
|
4619
4549
|
type: Component,
|
|
4620
|
-
args: [{
|
|
4621
|
-
|
|
4622
|
-
templateUrl: './confirm-dialog.component.html',
|
|
4623
|
-
styleUrls: ['./confirm-dialog.component.scss']
|
|
4624
|
-
}]
|
|
4625
|
-
}], function () { return [{ type: i1$8.MatDialogRef }]; }, null); })();
|
|
4550
|
+
args: [{ selector: 'igo-confirm-dialog', template: "<h2 mat-dialog-title class=\"mat-typography\">{{'igo.common.confirmDialog.title' |\u00A0translate}}</h2>\r\n<div mat-dialog-content class=\"mat-typography\">{{confirmMessage}}</div>\r\n<div mat-dialog-actions>\r\n <button mat-button color=\"primary\" (click)=\"dialogRef.close(true)\">{{'igo.common.confirmDialog.confirmBtn' | translate}}</button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">{{'igo.common.confirmDialog.cancelBtn' |\u00A0translate}}</button>\r\n</div>\r\n", styles: ["h2{margin:5px 0 10px}div[mat-dialog-content]{max-width:200px}div[mat-dialog-actions]{margin:10px 0 0}\n"] }]
|
|
4551
|
+
}], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
|
|
4626
4552
|
|
|
4627
4553
|
class ConfirmDialogService {
|
|
4628
4554
|
constructor(dialog) {
|
|
@@ -4636,11 +4562,11 @@ class ConfirmDialogService {
|
|
|
4636
4562
|
return dialogRef.afterClosed();
|
|
4637
4563
|
}
|
|
4638
4564
|
}
|
|
4639
|
-
ConfirmDialogService.ɵfac = function ConfirmDialogService_Factory(t) { return new (t || ConfirmDialogService)(i0.ɵɵinject(i1$
|
|
4565
|
+
ConfirmDialogService.ɵfac = function ConfirmDialogService_Factory(t) { return new (t || ConfirmDialogService)(i0.ɵɵinject(i1$6.MatDialog)); };
|
|
4640
4566
|
ConfirmDialogService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfirmDialogService, factory: ConfirmDialogService.ɵfac });
|
|
4641
4567
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogService, [{
|
|
4642
4568
|
type: Injectable
|
|
4643
|
-
}], function () { return [{ type: i1$
|
|
4569
|
+
}], function () { return [{ type: i1$6.MatDialog }]; }, null); })();
|
|
4644
4570
|
|
|
4645
4571
|
class IgoConfirmDialogModule {
|
|
4646
4572
|
static forRoot() {
|
|
@@ -4652,7 +4578,7 @@ class IgoConfirmDialogModule {
|
|
|
4652
4578
|
}
|
|
4653
4579
|
IgoConfirmDialogModule.ɵfac = function IgoConfirmDialogModule_Factory(t) { return new (t || IgoConfirmDialogModule)(); };
|
|
4654
4580
|
IgoConfirmDialogModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoConfirmDialogModule });
|
|
4655
|
-
IgoConfirmDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [ConfirmDialogService], imports: [
|
|
4581
|
+
IgoConfirmDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [ConfirmDialogService], imports: [MatButtonModule, MatDialogModule, IgoLanguageModule] });
|
|
4656
4582
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoConfirmDialogModule, [{
|
|
4657
4583
|
type: NgModule,
|
|
4658
4584
|
args: [{
|
|
@@ -4727,7 +4653,7 @@ class ContextMenuDirective {
|
|
|
4727
4653
|
}
|
|
4728
4654
|
}
|
|
4729
4655
|
}
|
|
4730
|
-
ContextMenuDirective.ɵfac = function ContextMenuDirective_Factory(t) { return new (t || ContextMenuDirective)(i0.ɵɵdirectiveInject(i1$
|
|
4656
|
+
ContextMenuDirective.ɵfac = function ContextMenuDirective_Factory(t) { return new (t || ContextMenuDirective)(i0.ɵɵdirectiveInject(i1$5.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
4731
4657
|
ContextMenuDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContextMenuDirective, selectors: [["", "igoContextMenu", ""]], hostBindings: function ContextMenuDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
4732
4658
|
i0.ɵɵlistener("contextmenu", function ContextMenuDirective_contextmenu_HostBindingHandler($event) { return ctx.onContextMenu($event); });
|
|
4733
4659
|
} }, inputs: { menuContext: ["igoContextMenu", "menuContext"] }, outputs: { menuPosition: "menuPosition" } });
|
|
@@ -4736,7 +4662,7 @@ ContextMenuDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Contex
|
|
|
4736
4662
|
args: [{
|
|
4737
4663
|
selector: '[igoContextMenu]'
|
|
4738
4664
|
}]
|
|
4739
|
-
}], function () { return [{ type: i1$
|
|
4665
|
+
}], function () { return [{ type: i1$5.Overlay }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }]; }, { menuContext: [{
|
|
4740
4666
|
type: Input,
|
|
4741
4667
|
args: ['igoContextMenu']
|
|
4742
4668
|
}], menuPosition: [{
|
|
@@ -4756,7 +4682,7 @@ class IgoContextMenuModule {
|
|
|
4756
4682
|
}
|
|
4757
4683
|
IgoContextMenuModule.ɵfac = function IgoContextMenuModule_Factory(t) { return new (t || IgoContextMenuModule)(); };
|
|
4758
4684
|
IgoContextMenuModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextMenuModule });
|
|
4759
|
-
IgoContextMenuModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
4685
|
+
IgoContextMenuModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
4760
4686
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextMenuModule, [{
|
|
4761
4687
|
type: NgModule,
|
|
4762
4688
|
args: [{
|
|
@@ -4784,14 +4710,10 @@ CustomHtmlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CustomH
|
|
|
4784
4710
|
i0.ɵɵpipe(1, "sanitizeHtml");
|
|
4785
4711
|
} if (rf & 2) {
|
|
4786
4712
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(1, 1, ctx.html), i0.ɵɵsanitizeHtml);
|
|
4787
|
-
} },
|
|
4713
|
+
} }, dependencies: [SanitizeHtmlPipe], styles: [".custom-html[_ngcontent-%COMP%]{padding:20px}"] });
|
|
4788
4714
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomHtmlComponent, [{
|
|
4789
4715
|
type: Component,
|
|
4790
|
-
args: [{
|
|
4791
|
-
selector: 'igo-custom-html',
|
|
4792
|
-
templateUrl: './custom-html.component.html',
|
|
4793
|
-
styleUrls: ['./custom-html.component.scss']
|
|
4794
|
-
}]
|
|
4716
|
+
args: [{ selector: 'igo-custom-html', template: "<div class=\"custom-html\" [innerHTML]=\"html | sanitizeHtml\"></div>\r\n", styles: [".custom-html{padding:20px}\n"] }]
|
|
4795
4717
|
}], function () { return []; }, { html: [{
|
|
4796
4718
|
type: Input
|
|
4797
4719
|
}] }); })();
|
|
@@ -4805,14 +4727,12 @@ class IgoCustomHtmlModule {
|
|
|
4805
4727
|
}
|
|
4806
4728
|
IgoCustomHtmlModule.ɵfac = function IgoCustomHtmlModule_Factory(t) { return new (t || IgoCustomHtmlModule)(); };
|
|
4807
4729
|
IgoCustomHtmlModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoCustomHtmlModule });
|
|
4808
|
-
IgoCustomHtmlModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
IgoLanguageModule
|
|
4815
|
-
]] });
|
|
4730
|
+
IgoCustomHtmlModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
4731
|
+
MatIconModule,
|
|
4732
|
+
MatTooltipModule,
|
|
4733
|
+
MatInputModule,
|
|
4734
|
+
MatButtonModule,
|
|
4735
|
+
IgoLanguageModule] });
|
|
4816
4736
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoCustomHtmlModule, [{
|
|
4817
4737
|
type: NgModule,
|
|
4818
4738
|
args: [{
|
|
@@ -4839,18 +4759,16 @@ class DOMService {
|
|
|
4839
4759
|
constructor(http) {
|
|
4840
4760
|
this.http = http;
|
|
4841
4761
|
}
|
|
4842
|
-
getDom(dom) {
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
return result;
|
|
4853
|
-
});
|
|
4762
|
+
async getDom(dom) {
|
|
4763
|
+
const url = dom.url;
|
|
4764
|
+
let result;
|
|
4765
|
+
await this.http.get(url).pipe(map(response => {
|
|
4766
|
+
result = response;
|
|
4767
|
+
return response;
|
|
4768
|
+
}), catchError((err) => {
|
|
4769
|
+
return throwError(err);
|
|
4770
|
+
})).toPromise();
|
|
4771
|
+
return result;
|
|
4854
4772
|
}
|
|
4855
4773
|
}
|
|
4856
4774
|
DOMService.ɵfac = function DOMService_Factory(t) { return new (t || DOMService)(i0.ɵɵinject(i1$3.HttpClient)); };
|
|
@@ -4978,7 +4896,7 @@ class IgoDrapDropModule {
|
|
|
4978
4896
|
}
|
|
4979
4897
|
IgoDrapDropModule.ɵfac = function IgoDrapDropModule_Factory(t) { return new (t || IgoDrapDropModule)(); };
|
|
4980
4898
|
IgoDrapDropModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoDrapDropModule });
|
|
4981
|
-
IgoDrapDropModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
4899
|
+
IgoDrapDropModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
4982
4900
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoDrapDropModule, [{
|
|
4983
4901
|
type: NgModule,
|
|
4984
4902
|
args: [{
|
|
@@ -5293,12 +5211,7 @@ DynamicOutletComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dyna
|
|
|
5293
5211
|
} }, styles: ["[_nghost-%COMP%]{display:block;width:100%;height:100%}"], changeDetection: 0 });
|
|
5294
5212
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicOutletComponent, [{
|
|
5295
5213
|
type: Component,
|
|
5296
|
-
args: [{
|
|
5297
|
-
selector: 'igo-dynamic-outlet',
|
|
5298
|
-
templateUrl: 'dynamic-outlet.component.html',
|
|
5299
|
-
styleUrls: ['dynamic-outlet.component.scss'],
|
|
5300
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5301
|
-
}]
|
|
5214
|
+
args: [{ selector: 'igo-dynamic-outlet', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #target></ng-template>\r\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
|
|
5302
5215
|
}], function () { return [{ type: DynamicComponentService }, { type: i0.ChangeDetectorRef }]; }, { component: [{
|
|
5303
5216
|
type: Input
|
|
5304
5217
|
}], inputs: [{
|
|
@@ -5317,9 +5230,7 @@ class IgoDynamicOutletModule {
|
|
|
5317
5230
|
}
|
|
5318
5231
|
IgoDynamicOutletModule.ɵfac = function IgoDynamicOutletModule_Factory(t) { return new (t || IgoDynamicOutletModule)(); };
|
|
5319
5232
|
IgoDynamicOutletModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoDynamicOutletModule });
|
|
5320
|
-
IgoDynamicOutletModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
5321
|
-
CommonModule
|
|
5322
|
-
]] });
|
|
5233
|
+
IgoDynamicOutletModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
|
|
5323
5234
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoDynamicOutletModule, [{
|
|
5324
5235
|
type: NgModule,
|
|
5325
5236
|
args: [{
|
|
@@ -5342,10 +5253,8 @@ IgoDynamicComponentModule.ɵfac = function IgoDynamicComponentModule_Factory(t)
|
|
|
5342
5253
|
IgoDynamicComponentModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoDynamicComponentModule });
|
|
5343
5254
|
IgoDynamicComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
5344
5255
|
DynamicComponentService
|
|
5345
|
-
], imports: [
|
|
5346
|
-
|
|
5347
|
-
IgoDynamicOutletModule
|
|
5348
|
-
], IgoDynamicOutletModule] });
|
|
5256
|
+
], imports: [CommonModule,
|
|
5257
|
+
IgoDynamicOutletModule, IgoDynamicOutletModule] });
|
|
5349
5258
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoDynamicComponentModule, [{
|
|
5350
5259
|
type: NgModule,
|
|
5351
5260
|
args: [{
|
|
@@ -5468,7 +5377,7 @@ class FlexibleComponent {
|
|
|
5468
5377
|
}
|
|
5469
5378
|
}
|
|
5470
5379
|
FlexibleComponent.transitionTime = 250;
|
|
5471
|
-
FlexibleComponent.ɵfac = function FlexibleComponent_Factory(t) { return new (t || FlexibleComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$
|
|
5380
|
+
FlexibleComponent.ɵfac = function FlexibleComponent_Factory(t) { return new (t || FlexibleComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.MediaService)); };
|
|
5472
5381
|
FlexibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlexibleComponent, selectors: [["igo-flexible"]], viewQuery: function FlexibleComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5473
5382
|
i0.ɵɵviewQuery(_c0$8, 7);
|
|
5474
5383
|
} if (rf & 2) {
|
|
@@ -5476,29 +5385,19 @@ FlexibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlexibleC
|
|
|
5476
5385
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.main = _t.first);
|
|
5477
5386
|
} }, inputs: { initial: "initial", collapsed: "collapsed", expanded: "expanded", initialMobile: "initialMobile", collapsedMobile: "collapsedMobile", expandedMobile: "expandedMobile", direction: "direction", state: "state" }, ngContentSelectors: _c2$1, decls: 8, vars: 4, consts: [["flexibleMain", ""], [1, "igo-container"], [1, "igo-flexible-fill"]], template: function FlexibleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5478
5387
|
i0.ɵɵprojectionDef(_c1$5);
|
|
5479
|
-
i0.ɵɵelementStart(0, "div", null, 0);
|
|
5480
|
-
i0.ɵɵelementStart(2, "div", 1);
|
|
5388
|
+
i0.ɵɵelementStart(0, "div", null, 0)(2, "div", 1);
|
|
5481
5389
|
i0.ɵɵprojection(3);
|
|
5482
|
-
i0.ɵɵelementEnd();
|
|
5483
|
-
i0.ɵɵ
|
|
5484
|
-
i0.ɵɵelementStart(4, "div", 2);
|
|
5485
|
-
i0.ɵɵelementStart(5, "div");
|
|
5486
|
-
i0.ɵɵelementStart(6, "div", 1);
|
|
5390
|
+
i0.ɵɵelementEnd()();
|
|
5391
|
+
i0.ɵɵelementStart(4, "div", 2)(5, "div")(6, "div", 1);
|
|
5487
5392
|
i0.ɵɵprojection(7, 1);
|
|
5488
|
-
i0.ɵɵelementEnd();
|
|
5489
|
-
i0.ɵɵelementEnd();
|
|
5490
|
-
i0.ɵɵelementEnd();
|
|
5393
|
+
i0.ɵɵelementEnd()()();
|
|
5491
5394
|
} if (rf & 2) {
|
|
5492
5395
|
i0.ɵɵclassMapInterpolate2("igo-flexible-main ", ctx.state, " ", ctx.direction, "");
|
|
5493
|
-
} }, styles: ["[_nghost-%COMP%]{display:flex;height:100%;width:100%}.column[_nghost-%COMP%]{flex-direction:column}.row[_nghost-%COMP%]{flex-direction:row}.igo-flexible-main[_ngcontent-%COMP%]{flex:0 0 auto;overflow:hidden}.igo-flexible-main.column[_ngcontent-%COMP%]{transition:height .25s ease-in}.igo-flexible-main.row[_ngcontent-%COMP%]{transition:width .25s ease-in}.igo-flexible-fill[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.igo-container[_ngcontent-%COMP%]{width:calc(100% -
|
|
5396
|
+
} }, styles: ["[_nghost-%COMP%]{display:flex;height:100%;width:100%}.column[_nghost-%COMP%]{flex-direction:column}.row[_nghost-%COMP%]{flex-direction:row}.igo-flexible-main[_ngcontent-%COMP%]{flex:0 0 auto;overflow:hidden}.igo-flexible-main.column[_ngcontent-%COMP%]{transition:height .25s ease-in}.igo-flexible-main.row[_ngcontent-%COMP%]{transition:width .25s ease-in}.igo-flexible-fill[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.igo-container[_ngcontent-%COMP%]{width:calc(100% - 10px);height:100%;padding:5px 0;margin:0 5px;overflow:hidden;position:relative} .igo-flexible-fill{flex:1 1 auto;overflow:hidden;position:relative} .igo-content{height:100%;width:100%;overflow:auto} igo-panel{height:100%}"] });
|
|
5494
5397
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FlexibleComponent, [{
|
|
5495
5398
|
type: Component,
|
|
5496
|
-
args: [{
|
|
5497
|
-
|
|
5498
|
-
templateUrl: './flexible.component.html',
|
|
5499
|
-
styleUrls: ['./flexible.component.scss']
|
|
5500
|
-
}]
|
|
5501
|
-
}], function () { return [{ type: i0.ElementRef }, { type: i1$2.MediaService }]; }, { main: [{
|
|
5399
|
+
args: [{ selector: 'igo-flexible', template: "<div #flexibleMain class=\"igo-flexible-main {{state}} {{direction}}\">\r\n <div class=\"igo-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n<div class=\"igo-flexible-fill\">\r\n <div>\r\n \t<div class=\"igo-container\">\r\n <ng-content select=\"[igoFlexibleFill]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:flex;height:100%;width:100%}:host.column{flex-direction:column}:host.row{flex-direction:row}.igo-flexible-main{flex:0 0 auto;overflow:hidden}.igo-flexible-main.column{transition:height .25s ease-in}.igo-flexible-main.row{transition:width .25s ease-in}.igo-flexible-fill>div{position:absolute;top:0;bottom:0;left:0;right:0}.igo-container{width:calc(100% - 10px);height:100%;padding:5px 0;margin:0 5px;overflow:hidden;position:relative}::ng-deep .igo-flexible-fill{flex:1 1 auto;overflow:hidden;position:relative}::ng-deep .igo-content{height:100%;width:100%;overflow:auto}::ng-deep igo-panel{height:100%}\n"] }]
|
|
5400
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i1$1.MediaService }]; }, { main: [{
|
|
5502
5401
|
type: ViewChild,
|
|
5503
5402
|
args: ['flexibleMain', { static: true }]
|
|
5504
5403
|
}], initial: [{
|
|
@@ -5529,7 +5428,7 @@ class IgoFlexibleModule {
|
|
|
5529
5428
|
}
|
|
5530
5429
|
IgoFlexibleModule.ɵfac = function IgoFlexibleModule_Factory(t) { return new (t || IgoFlexibleModule)(); };
|
|
5531
5430
|
IgoFlexibleModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFlexibleModule });
|
|
5532
|
-
IgoFlexibleModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
5431
|
+
IgoFlexibleModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
5533
5432
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFlexibleModule, [{
|
|
5534
5433
|
type: NgModule,
|
|
5535
5434
|
args: [{
|
|
@@ -5664,28 +5563,20 @@ FormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormComponent
|
|
|
5664
5563
|
i0.ɵɵprojectionDef(_c1$4);
|
|
5665
5564
|
i0.ɵɵelementStart(0, "form", 0);
|
|
5666
5565
|
i0.ɵɵlistener("ngSubmit", function FormComponent_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
5667
|
-
i0.ɵɵelementStart(1, "div", 1);
|
|
5668
|
-
i0.ɵɵelementStart(2, "div", 2);
|
|
5566
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
5669
5567
|
i0.ɵɵprojection(3);
|
|
5670
5568
|
i0.ɵɵelementEnd();
|
|
5671
5569
|
i0.ɵɵelementStart(4, "div", 3, 4);
|
|
5672
5570
|
i0.ɵɵprojection(6, 1);
|
|
5673
|
-
i0.ɵɵelementEnd();
|
|
5674
|
-
i0.ɵɵelementEnd();
|
|
5675
|
-
i0.ɵɵelementEnd();
|
|
5571
|
+
i0.ɵɵelementEnd()()();
|
|
5676
5572
|
} if (rf & 2) {
|
|
5677
5573
|
i0.ɵɵproperty("autocomplete", ctx.autocomplete)("formGroup", ctx.form.control);
|
|
5678
5574
|
i0.ɵɵadvance(1);
|
|
5679
5575
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2, ctx.hasButtons));
|
|
5680
|
-
} },
|
|
5576
|
+
} }, dependencies: [i1.NgClass, i1$4.ɵNgNoValidate, i1$4.NgControlStatusGroup, i1$4.FormGroupDirective], styles: ["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{width:100%;height:100%}.igo-form-body[_ngcontent-%COMP%], .igo-form-content[_ngcontent-%COMP%]{height:100%}.igo-form-body-with-buttons[_ngcontent-%COMP%] .igo-form-content[_ngcontent-%COMP%]{height:calc(100% - 56px)}.igo-form-content[_ngcontent-%COMP%]{display:flex}"], changeDetection: 0 });
|
|
5681
5577
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormComponent, [{
|
|
5682
5578
|
type: Component,
|
|
5683
|
-
args: [{
|
|
5684
|
-
selector: 'igo-form',
|
|
5685
|
-
templateUrl: './form.component.html',
|
|
5686
|
-
styleUrls: ['./form.component.scss'],
|
|
5687
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5688
|
-
}]
|
|
5579
|
+
args: [{ selector: 'igo-form', changeDetection: ChangeDetectionStrategy.OnPush, template: "\r\n<form\r\n [autocomplete]=\"autocomplete\"\r\n [formGroup]=\"form.control\"\r\n (ngSubmit)=\"onSubmit()\">\r\n <div class=\"igo-form-body\" [ngClass]=\"{'igo-form-body-with-buttons': hasButtons}\">\r\n <div class=\"igo-form-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div #buttons class=\"igo-form-buttons\">\r\n <ng-content select=\"[formButtons]\"></ng-content>\r\n </div>\r\n </div>\r\n</form>\r\n", styles: [":host{display:block}form{width:100%;height:100%}.igo-form-body,.igo-form-content{height:100%}.igo-form-body-with-buttons .igo-form-content{height:calc(100% - 56px)}.igo-form-content{display:flex}\n"] }]
|
|
5689
5580
|
}], function () { return []; }, { form: [{
|
|
5690
5581
|
type: Input
|
|
5691
5582
|
}], formData: [{
|
|
@@ -5706,11 +5597,9 @@ class IgoFormFormModule {
|
|
|
5706
5597
|
}
|
|
5707
5598
|
IgoFormFormModule.ɵfac = function IgoFormFormModule_Factory(t) { return new (t || IgoFormFormModule)(); };
|
|
5708
5599
|
IgoFormFormModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFormFormModule });
|
|
5709
|
-
IgoFormFormModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
ReactiveFormsModule
|
|
5713
|
-
], FormsModule,
|
|
5600
|
+
IgoFormFormModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
5601
|
+
FormsModule,
|
|
5602
|
+
ReactiveFormsModule, FormsModule,
|
|
5714
5603
|
ReactiveFormsModule] });
|
|
5715
5604
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFormFormModule, [{
|
|
5716
5605
|
type: NgModule,
|
|
@@ -5804,14 +5693,14 @@ class FormService {
|
|
|
5804
5693
|
return Validators[name](args);
|
|
5805
5694
|
}
|
|
5806
5695
|
}
|
|
5807
|
-
FormService.ɵfac = function FormService_Factory(t) { return new (t || FormService)(i0.ɵɵinject(i1$
|
|
5696
|
+
FormService.ɵfac = function FormService_Factory(t) { return new (t || FormService)(i0.ɵɵinject(i1$4.UntypedFormBuilder)); };
|
|
5808
5697
|
FormService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormService, factory: FormService.ɵfac, providedIn: 'root' });
|
|
5809
5698
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormService, [{
|
|
5810
5699
|
type: Injectable,
|
|
5811
5700
|
args: [{
|
|
5812
5701
|
providedIn: 'root'
|
|
5813
5702
|
}]
|
|
5814
|
-
}], function () { return [{ type: i1$
|
|
5703
|
+
}], function () { return [{ type: i1$4.UntypedFormBuilder }]; }, null); })();
|
|
5815
5704
|
|
|
5816
5705
|
/**
|
|
5817
5706
|
* Service where all available form fields are registered.
|
|
@@ -5904,15 +5793,10 @@ FormFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFiel
|
|
|
5904
5793
|
i0.ɵɵtemplate(0, FormFieldComponent_ng_container_0_Template, 2, 3, "ng-container", 0);
|
|
5905
5794
|
} if (rf & 2) {
|
|
5906
5795
|
i0.ɵɵproperty("ngIf", ctx.field !== undefined);
|
|
5907
|
-
} },
|
|
5796
|
+
} }, dependencies: [i1.NgIf, DynamicOutletComponent], styles: ["mat-form-field{width:100%} .igo-form-disable-switch{margin-right:8px}"], changeDetection: 0 });
|
|
5908
5797
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldComponent, [{
|
|
5909
5798
|
type: Component,
|
|
5910
|
-
args: [{
|
|
5911
|
-
selector: 'igo-form-field',
|
|
5912
|
-
templateUrl: './form-field.component.html',
|
|
5913
|
-
styleUrls: ['./form-field.component.scss'],
|
|
5914
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5915
|
-
}]
|
|
5799
|
+
args: [{ selector: 'igo-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "\r\n\r\n<ng-container *ngIf=\"field !== undefined\">\r\n <igo-dynamic-outlet\r\n [component]=\"getFieldComponent()\"\r\n [inputs]=\"getFieldInputs()\"\r\n [subscribers]=\"getFieldSubscribers()\">\r\n </igo-dynamic-outlet>\r\n</ng-container>\r\n", styles: ["::ng-deep mat-form-field{width:100%}::ng-deep .igo-form-disable-switch{margin-right:8px}\n"] }]
|
|
5916
5800
|
}], function () { return [{ type: FormFieldService }]; }, { field: [{
|
|
5917
5801
|
type: Input
|
|
5918
5802
|
}] }); })();
|
|
@@ -5930,7 +5814,7 @@ function FormFieldSelectComponent_mat_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
5930
5814
|
function FormFieldSelectComponent_mat_icon_4_Template(rf, ctx) { if (rf & 1) {
|
|
5931
5815
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
5932
5816
|
i0.ɵɵelementStart(0, "mat-icon", 5);
|
|
5933
|
-
i0.ɵɵlistener("click", function FormFieldSelectComponent_mat_icon_4_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.onDisableSwitchClick(); });
|
|
5817
|
+
i0.ɵɵlistener("click", function FormFieldSelectComponent_mat_icon_4_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onDisableSwitchClick()); });
|
|
5934
5818
|
i0.ɵɵpipe(1, "async");
|
|
5935
5819
|
i0.ɵɵelementEnd();
|
|
5936
5820
|
} if (rf & 2) {
|
|
@@ -5995,8 +5879,7 @@ let FormFieldSelectComponent = class FormFieldSelectComponent {
|
|
|
5995
5879
|
};
|
|
5996
5880
|
FormFieldSelectComponent.ɵfac = function FormFieldSelectComponent_Factory(t) { return new (t || FormFieldSelectComponent)(); };
|
|
5997
5881
|
FormFieldSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFieldSelectComponent, selectors: [["igo-form-field-select"]], inputs: { choices: "choices", formControl: "formControl", placeholder: "placeholder", errors: "errors", disableSwitch: "disableSwitch" }, decls: 6, vars: 8, consts: [[3, "required", "placeholder", "formControl"], [3, "value", 4, "ngFor", "ngForOf"], ["class", "igo-form-disable-switch", "matPrefix", "", 3, "svgIcon", "click", 4, "ngIf"], [4, "ngIf"], [3, "value"], ["matPrefix", "", 1, "igo-form-disable-switch", 3, "svgIcon", "click"]], template: function FormFieldSelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5998
|
-
i0.ɵɵelementStart(0, "mat-form-field");
|
|
5999
|
-
i0.ɵɵelementStart(1, "mat-select", 0);
|
|
5882
|
+
i0.ɵɵelementStart(0, "mat-form-field")(1, "mat-select", 0);
|
|
6000
5883
|
i0.ɵɵtemplate(2, FormFieldSelectComponent_mat_option_2_Template, 2, 2, "mat-option", 1);
|
|
6001
5884
|
i0.ɵɵpipe(3, "async");
|
|
6002
5885
|
i0.ɵɵelementEnd();
|
|
@@ -6012,17 +5895,13 @@ FormFieldSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Fo
|
|
|
6012
5895
|
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
6013
5896
|
i0.ɵɵadvance(1);
|
|
6014
5897
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
6015
|
-
} },
|
|
5898
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i1$4.NgControlStatus, i1$4.RequiredValidator, i1$4.FormControlDirective, i3$2.MatIcon, i4.MatError, i4.MatFormField, i4.MatPrefix, i3.MatSelect, i3$1.MatOption, i1.AsyncPipe, i6$2.TranslatePipe], encapsulation: 2, changeDetection: 0 });
|
|
6016
5899
|
FormFieldSelectComponent = __decorate([
|
|
6017
5900
|
IgoFormFieldComponent('select')
|
|
6018
5901
|
], FormFieldSelectComponent);
|
|
6019
5902
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldSelectComponent, [{
|
|
6020
5903
|
type: Component,
|
|
6021
|
-
args: [{
|
|
6022
|
-
selector: 'igo-form-field-select',
|
|
6023
|
-
templateUrl: './form-field-select.component.html',
|
|
6024
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6025
|
-
}]
|
|
5904
|
+
args: [{ selector: 'igo-form-field-select', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field>\r\n <mat-select\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\"\r\n [formControl]=\"formControl\">\r\n <mat-option *ngFor=\"let choice of choices$ | async\" [value]=\"choice.value\">\r\n {{choice.title}}\r\n </mat-option>\r\n </mat-select>\r\n <mat-icon\r\n *ngIf=\"disableSwitch === true\"\r\n class=\"igo-form-disable-switch\"\r\n [svgIcon]=\"(disabled$ | async) === true ? 'checkbox-blank-outline' : 'checkbox-marked-outline'\"\r\n (click)=\"onDisableSwitchClick()\"\r\n matPrefix>\r\n </mat-icon>\r\n <mat-error *ngIf=\"formControl.errors\">{{getErrorMessage() | translate}}</mat-error>\r\n</mat-form-field>\r\n" }]
|
|
6026
5905
|
}], null, { choices: [{
|
|
6027
5906
|
type: Input
|
|
6028
5907
|
}], formControl: [{
|
|
@@ -6038,7 +5917,7 @@ FormFieldSelectComponent = __decorate([
|
|
|
6038
5917
|
function FormFieldTextComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
6039
5918
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
6040
5919
|
i0.ɵɵelementStart(0, "mat-icon", 3);
|
|
6041
|
-
i0.ɵɵlistener("click", function FormFieldTextComponent_mat_icon_2_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.onDisableSwitchClick(); });
|
|
5920
|
+
i0.ɵɵlistener("click", function FormFieldTextComponent_mat_icon_2_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onDisableSwitchClick()); });
|
|
6042
5921
|
i0.ɵɵpipe(1, "async");
|
|
6043
5922
|
i0.ɵɵelementEnd();
|
|
6044
5923
|
} if (rf & 2) {
|
|
@@ -6109,17 +5988,13 @@ FormFieldTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Form
|
|
|
6109
5988
|
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
6110
5989
|
i0.ɵɵadvance(1);
|
|
6111
5990
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
6112
|
-
} },
|
|
5991
|
+
} }, dependencies: [i1.NgIf, i1$4.DefaultValueAccessor, i1$4.NgControlStatus, i1$4.RequiredValidator, i1$4.FormControlDirective, i3$2.MatIcon, i4.MatError, i4.MatFormField, i4.MatPrefix, i5$1.MatInput, i1.AsyncPipe, i6$2.TranslatePipe], encapsulation: 2, changeDetection: 0 });
|
|
6113
5992
|
FormFieldTextComponent = __decorate([
|
|
6114
5993
|
IgoFormFieldComponent('text')
|
|
6115
5994
|
], FormFieldTextComponent);
|
|
6116
5995
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldTextComponent, [{
|
|
6117
5996
|
type: Component,
|
|
6118
|
-
args: [{
|
|
6119
|
-
selector: 'igo-form-field-text',
|
|
6120
|
-
templateUrl: './form-field-text.component.html',
|
|
6121
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6122
|
-
}]
|
|
5997
|
+
args: [{ selector: 'igo-form-field-text', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field>\r\n <input\r\n matInput\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\"\r\n [formControl]=\"formControl\">\r\n <mat-icon\r\n *ngIf=\"disableSwitch === true\"\r\n class=\"igo-form-disable-switch\"\r\n [svgIcon]=\"(disabled$ | async) === true ? 'checkbox-blank-outline' : 'checkbox-marked-outline'\"\r\n (click)=\"onDisableSwitchClick()\"\r\n matPrefix>\r\n </mat-icon>\r\n <mat-error *ngIf=\"formControl.errors\">{{getErrorMessage() | translate}}</mat-error>\r\n</mat-form-field>\r\n" }]
|
|
6123
5998
|
}], null, { formControl: [{
|
|
6124
5999
|
type: Input
|
|
6125
6000
|
}], placeholder: [{
|
|
@@ -6133,7 +6008,7 @@ FormFieldTextComponent = __decorate([
|
|
|
6133
6008
|
function FormFieldTextareaComponent_mat_icon_3_Template(rf, ctx) { if (rf & 1) {
|
|
6134
6009
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
6135
6010
|
i0.ɵɵelementStart(0, "mat-icon", 3);
|
|
6136
|
-
i0.ɵɵlistener("click", function FormFieldTextareaComponent_mat_icon_3_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.onDisableSwitchClick(); });
|
|
6011
|
+
i0.ɵɵlistener("click", function FormFieldTextareaComponent_mat_icon_3_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onDisableSwitchClick()); });
|
|
6137
6012
|
i0.ɵɵpipe(1, "async");
|
|
6138
6013
|
i0.ɵɵelementEnd();
|
|
6139
6014
|
} if (rf & 2) {
|
|
@@ -6192,8 +6067,7 @@ let FormFieldTextareaComponent = class FormFieldTextareaComponent {
|
|
|
6192
6067
|
};
|
|
6193
6068
|
FormFieldTextareaComponent.ɵfac = function FormFieldTextareaComponent_Factory(t) { return new (t || FormFieldTextareaComponent)(); };
|
|
6194
6069
|
FormFieldTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFieldTextareaComponent, selectors: [["igo-form-field-textarea"]], inputs: { formControl: "formControl", placeholder: "placeholder", errors: "errors", disableSwitch: "disableSwitch" }, decls: 5, vars: 5, consts: [["matInput", "", 3, "required", "placeholder", "formControl"], ["class", "igo-form-disable-switch", "matPrefix", "", 3, "svgIcon", "click", 4, "ngIf"], [4, "ngIf"], ["matPrefix", "", 1, "igo-form-disable-switch", 3, "svgIcon", "click"]], template: function FormFieldTextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6195
|
-
i0.ɵɵelementStart(0, "mat-form-field");
|
|
6196
|
-
i0.ɵɵelementStart(1, "textarea", 0);
|
|
6070
|
+
i0.ɵɵelementStart(0, "mat-form-field")(1, "textarea", 0);
|
|
6197
6071
|
i0.ɵɵtext(2, " ");
|
|
6198
6072
|
i0.ɵɵelementEnd();
|
|
6199
6073
|
i0.ɵɵtemplate(3, FormFieldTextareaComponent_mat_icon_3_Template, 2, 3, "mat-icon", 1);
|
|
@@ -6206,17 +6080,13 @@ FormFieldTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
6206
6080
|
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
6207
6081
|
i0.ɵɵadvance(1);
|
|
6208
6082
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
6209
|
-
} },
|
|
6083
|
+
} }, dependencies: [i1.NgIf, i1$4.DefaultValueAccessor, i1$4.NgControlStatus, i1$4.RequiredValidator, i1$4.FormControlDirective, i3$2.MatIcon, i4.MatError, i4.MatFormField, i4.MatPrefix, i5$1.MatInput, i1.AsyncPipe, i6$2.TranslatePipe], encapsulation: 2, changeDetection: 0 });
|
|
6210
6084
|
FormFieldTextareaComponent = __decorate([
|
|
6211
6085
|
IgoFormFieldComponent('textarea')
|
|
6212
6086
|
], FormFieldTextareaComponent);
|
|
6213
6087
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldTextareaComponent, [{
|
|
6214
6088
|
type: Component,
|
|
6215
|
-
args: [{
|
|
6216
|
-
selector: 'igo-form-field-textarea',
|
|
6217
|
-
templateUrl: './form-field-textarea.component.html',
|
|
6218
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6219
|
-
}]
|
|
6089
|
+
args: [{ selector: 'igo-form-field-textarea', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field>\r\n <textarea\r\n matInput\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\"\r\n [formControl]=\"formControl\">\r\n </textarea>\r\n <mat-icon\r\n *ngIf=\"disableSwitch === true\"\r\n class=\"igo-form-disable-switch\"\r\n [svgIcon]=\"(disabled$ | async) === true ? 'checkbox-blank-outline' : 'checkbox-marked-outline'\"\r\n (click)=\"onDisableSwitchClick()\"\r\n matPrefix>\r\n </mat-icon>\r\n <mat-error *ngIf=\"formControl.errors\">{{getErrorMessage() | translate}}</mat-error>\r\n</mat-form-field>\r\n" }]
|
|
6220
6090
|
}], null, { formControl: [{
|
|
6221
6091
|
type: Input
|
|
6222
6092
|
}], placeholder: [{
|
|
@@ -6234,17 +6104,15 @@ class IgoFormFieldModule {
|
|
|
6234
6104
|
}
|
|
6235
6105
|
IgoFormFieldModule.ɵfac = function IgoFormFieldModule_Factory(t) { return new (t || IgoFormFieldModule)(); };
|
|
6236
6106
|
IgoFormFieldModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFormFieldModule });
|
|
6237
|
-
IgoFormFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
IgoDynamicOutletModule
|
|
6247
|
-
]] });
|
|
6107
|
+
IgoFormFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
6108
|
+
FormsModule,
|
|
6109
|
+
ReactiveFormsModule,
|
|
6110
|
+
MatIconModule,
|
|
6111
|
+
MatFormFieldModule,
|
|
6112
|
+
MatInputModule,
|
|
6113
|
+
MatSelectModule,
|
|
6114
|
+
IgoLanguageModule,
|
|
6115
|
+
IgoDynamicOutletModule] });
|
|
6248
6116
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFormFieldModule, [{
|
|
6249
6117
|
type: NgModule,
|
|
6250
6118
|
args: [{
|
|
@@ -6377,15 +6245,10 @@ FormGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGrou
|
|
|
6377
6245
|
i0.ɵɵproperty("ngIf", ctx.group && ctx.group.fields.length > 0);
|
|
6378
6246
|
i0.ɵɵadvance(3);
|
|
6379
6247
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
6380
|
-
} },
|
|
6248
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i4.MatError, FormFieldComponent, i6$2.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block;overflow:auto;padding:10px 5px}.igo-form-field-wrapper[_ngcontent-%COMP%]{display:inline-block;padding:0 5px}.igo-form-field-colspan-2[_ngcontent-%COMP%]{width:100%}.igo-form-field-colspan-1[_ngcontent-%COMP%]{width:50%}"], changeDetection: 0 });
|
|
6381
6249
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGroupComponent, [{
|
|
6382
6250
|
type: Component,
|
|
6383
|
-
args: [{
|
|
6384
|
-
selector: 'igo-form-group',
|
|
6385
|
-
templateUrl: './form-group.component.html',
|
|
6386
|
-
styleUrls: ['./form-group.component.scss'],
|
|
6387
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6388
|
-
}]
|
|
6251
|
+
args: [{ selector: 'igo-form-group', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n *ngIf=\"group && group.fields.length > 0\"\r\n class=\"igo-form-group-fields\">\r\n <div\r\n *ngFor=\"let field of group.fields\"\r\n class=\"igo-form-field-wrapper\"\r\n [ngClass]=\"getFieldNgClass(field)\">\r\n <igo-form-field [field]=\"field\"></igo-form-field>\r\n </div>\r\n</div>\r\n\r\n<div class=\"igo-form-group-extra-content\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<mat-error *ngIf=\"formControl.errors\">{{getErrorMessage() | translate}}</mat-error>\r\n", styles: [":host{width:100%;height:100%;display:block;overflow:auto;padding:10px 5px}.igo-form-field-wrapper{display:inline-block;padding:0 5px}.igo-form-field-colspan-2{width:100%}.igo-form-field-colspan-1{width:50%}\n"] }]
|
|
6389
6252
|
}], function () { return []; }, { group: [{
|
|
6390
6253
|
type: Input
|
|
6391
6254
|
}], errors: [{
|
|
@@ -6399,12 +6262,10 @@ class IgoFormGroupModule {
|
|
|
6399
6262
|
}
|
|
6400
6263
|
IgoFormGroupModule.ɵfac = function IgoFormGroupModule_Factory(t) { return new (t || IgoFormGroupModule)(); };
|
|
6401
6264
|
IgoFormGroupModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFormGroupModule });
|
|
6402
|
-
IgoFormGroupModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
IgoFormFieldModule
|
|
6407
|
-
]] });
|
|
6265
|
+
IgoFormGroupModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
6266
|
+
MatFormFieldModule,
|
|
6267
|
+
IgoLanguageModule,
|
|
6268
|
+
IgoFormFieldModule] });
|
|
6408
6269
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFormGroupModule, [{
|
|
6409
6270
|
type: NgModule,
|
|
6410
6271
|
args: [{
|
|
@@ -6437,11 +6298,9 @@ IgoFormModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFormModule
|
|
|
6437
6298
|
IgoFormModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
6438
6299
|
FormService,
|
|
6439
6300
|
FormFieldService
|
|
6440
|
-
], imports: [
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
IgoFormFieldModule
|
|
6444
|
-
], IgoFormFormModule,
|
|
6301
|
+
], imports: [CommonModule,
|
|
6302
|
+
IgoFormGroupModule,
|
|
6303
|
+
IgoFormFieldModule, IgoFormFormModule,
|
|
6445
6304
|
IgoFormGroupModule,
|
|
6446
6305
|
IgoFormFieldModule] });
|
|
6447
6306
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFormModule, [{
|
|
@@ -6487,14 +6346,10 @@ HomeButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HomeBut
|
|
|
6487
6346
|
i0.ɵɵelementEnd();
|
|
6488
6347
|
} if (rf & 2) {
|
|
6489
6348
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.sidenav.mainMenu"));
|
|
6490
|
-
} },
|
|
6349
|
+
} }, dependencies: [i3$2.MatIcon, i2$2.MatButton, i6$1.MatTooltip, i6$2.TranslatePipe], styles: ["#homeButton[_ngcontent-%COMP%]{position:absolute;top:50px;left:0px;border-radius:0;height:46px;width:48px}"] });
|
|
6491
6350
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HomeButtonComponent, [{
|
|
6492
6351
|
type: Component,
|
|
6493
|
-
args: [{
|
|
6494
|
-
selector: 'igo-home-button',
|
|
6495
|
-
templateUrl: './home-button.component.html',
|
|
6496
|
-
styleUrls: ['./home-button.component.scss']
|
|
6497
|
-
}]
|
|
6352
|
+
args: [{ selector: 'igo-home-button', template: "<button\r\n id=\"homeButton\"\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.mainMenu' | translate\"\r\n (click)=\"onUnselectButtonClick()\">\r\n <mat-icon svgIcon=\"home\"></mat-icon>\r\n</button>\r\n", styles: ["#homeButton{position:absolute;top:50px;left:0px;border-radius:0;height:46px;width:48px}\n"] }]
|
|
6498
6353
|
}], function () { return []; }, { unselectButton: [{
|
|
6499
6354
|
type: Output
|
|
6500
6355
|
}] }); })();
|
|
@@ -6506,13 +6361,11 @@ class IgoHomeButtonModule {
|
|
|
6506
6361
|
}
|
|
6507
6362
|
IgoHomeButtonModule.ɵfac = function IgoHomeButtonModule_Factory(t) { return new (t || IgoHomeButtonModule)(); };
|
|
6508
6363
|
IgoHomeButtonModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoHomeButtonModule });
|
|
6509
|
-
IgoHomeButtonModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
IgoLanguageModule
|
|
6515
|
-
]] });
|
|
6364
|
+
IgoHomeButtonModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
6365
|
+
MatIconModule,
|
|
6366
|
+
MatButtonModule,
|
|
6367
|
+
MatTooltipModule,
|
|
6368
|
+
IgoLanguageModule] });
|
|
6516
6369
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoHomeButtonModule, [{
|
|
6517
6370
|
type: NgModule,
|
|
6518
6371
|
args: [{
|
|
@@ -6541,11 +6394,9 @@ class IgoEntitySelectorModule {
|
|
|
6541
6394
|
}
|
|
6542
6395
|
IgoEntitySelectorModule.ɵfac = function IgoEntitySelectorModule_Factory(t) { return new (t || IgoEntitySelectorModule)(); };
|
|
6543
6396
|
IgoEntitySelectorModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoEntitySelectorModule });
|
|
6544
|
-
IgoEntitySelectorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
MatSelectModule
|
|
6548
|
-
]] });
|
|
6397
|
+
IgoEntitySelectorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
6398
|
+
FormsModule,
|
|
6399
|
+
MatSelectModule] });
|
|
6549
6400
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoEntitySelectorModule, [{
|
|
6550
6401
|
type: NgModule,
|
|
6551
6402
|
args: [{
|
|
@@ -6592,7 +6443,7 @@ class IgoStopPropagationModule {
|
|
|
6592
6443
|
}
|
|
6593
6444
|
IgoStopPropagationModule.ɵfac = function IgoStopPropagationModule_Factory(t) { return new (t || IgoStopPropagationModule)(); };
|
|
6594
6445
|
IgoStopPropagationModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoStopPropagationModule });
|
|
6595
|
-
IgoStopPropagationModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
6446
|
+
IgoStopPropagationModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6596
6447
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoStopPropagationModule, [{
|
|
6597
6448
|
type: NgModule,
|
|
6598
6449
|
args: [{
|
|
@@ -6610,9 +6461,7 @@ class IgoEntityTablePaginatorModule {
|
|
|
6610
6461
|
}
|
|
6611
6462
|
IgoEntityTablePaginatorModule.ɵfac = function IgoEntityTablePaginatorModule_Factory(t) { return new (t || IgoEntityTablePaginatorModule)(); };
|
|
6612
6463
|
IgoEntityTablePaginatorModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoEntityTablePaginatorModule });
|
|
6613
|
-
IgoEntityTablePaginatorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6614
|
-
MatPaginatorModule,
|
|
6615
|
-
]] });
|
|
6464
|
+
IgoEntityTablePaginatorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatPaginatorModule] });
|
|
6616
6465
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoEntityTablePaginatorModule, [{
|
|
6617
6466
|
type: NgModule,
|
|
6618
6467
|
args: [{
|
|
@@ -6639,7 +6488,7 @@ class IgoImageModule {
|
|
|
6639
6488
|
}
|
|
6640
6489
|
IgoImageModule.ɵfac = function IgoImageModule_Factory(t) { return new (t || IgoImageModule)(); };
|
|
6641
6490
|
IgoImageModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoImageModule });
|
|
6642
|
-
IgoImageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
6491
|
+
IgoImageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6643
6492
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoImageModule, [{
|
|
6644
6493
|
type: NgModule,
|
|
6645
6494
|
args: [{
|
|
@@ -6657,27 +6506,25 @@ class IgoEntityTableModule {
|
|
|
6657
6506
|
}
|
|
6658
6507
|
IgoEntityTableModule.ɵfac = function IgoEntityTableModule_Factory(t) { return new (t || IgoEntityTableModule)(); };
|
|
6659
6508
|
IgoEntityTableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoEntityTableModule });
|
|
6660
|
-
IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
MatTooltipModule
|
|
6680
|
-
]] });
|
|
6509
|
+
IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
6510
|
+
MatTableModule,
|
|
6511
|
+
MatAutocompleteModule,
|
|
6512
|
+
MatSortModule,
|
|
6513
|
+
MatIconModule,
|
|
6514
|
+
MatButtonModule,
|
|
6515
|
+
MatCheckboxModule,
|
|
6516
|
+
MatPaginatorModule,
|
|
6517
|
+
MatSelectModule,
|
|
6518
|
+
IgoStopPropagationModule,
|
|
6519
|
+
IgoCustomHtmlModule,
|
|
6520
|
+
IgoEntityTablePaginatorModule,
|
|
6521
|
+
IgoImageModule,
|
|
6522
|
+
IgoLanguageModule,
|
|
6523
|
+
FormsModule,
|
|
6524
|
+
ReactiveFormsModule,
|
|
6525
|
+
MatInputModule,
|
|
6526
|
+
MatDatepickerModule,
|
|
6527
|
+
MatTooltipModule] });
|
|
6681
6528
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoEntityTableModule, [{
|
|
6682
6529
|
type: NgModule,
|
|
6683
6530
|
args: [{
|
|
@@ -6736,9 +6583,7 @@ class IgoEntityModule {
|
|
|
6736
6583
|
}
|
|
6737
6584
|
IgoEntityModule.ɵfac = function IgoEntityModule_Factory(t) { return new (t || IgoEntityModule)(); };
|
|
6738
6585
|
IgoEntityModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoEntityModule });
|
|
6739
|
-
IgoEntityModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6740
|
-
CommonModule
|
|
6741
|
-
], IgoEntitySelectorModule,
|
|
6586
|
+
IgoEntityModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, IgoEntitySelectorModule,
|
|
6742
6587
|
IgoEntityTableModule,
|
|
6743
6588
|
IgoEntityTablePaginatorModule] });
|
|
6744
6589
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoEntityModule, [{
|
|
@@ -6792,11 +6637,11 @@ class InteractiveTourLoader {
|
|
|
6792
6637
|
return this.allToursOptions[nameInConfigFile];
|
|
6793
6638
|
}
|
|
6794
6639
|
}
|
|
6795
|
-
InteractiveTourLoader.ɵfac = function InteractiveTourLoader_Factory(t) { return new (t || InteractiveTourLoader)(i0.ɵɵinject(i1$3.HttpClient), i0.ɵɵinject(i1$
|
|
6640
|
+
InteractiveTourLoader.ɵfac = function InteractiveTourLoader_Factory(t) { return new (t || InteractiveTourLoader)(i0.ɵɵinject(i1$3.HttpClient), i0.ɵɵinject(i1$1.ConfigService)); };
|
|
6796
6641
|
InteractiveTourLoader.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: InteractiveTourLoader, factory: InteractiveTourLoader.ɵfac });
|
|
6797
6642
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InteractiveTourLoader, [{
|
|
6798
6643
|
type: Injectable
|
|
6799
|
-
}], function () { return [{ type: i1$3.HttpClient }, { type: i1$
|
|
6644
|
+
}], function () { return [{ type: i1$3.HttpClient }, { type: i1$1.ConfigService }]; }, null); })();
|
|
6800
6645
|
|
|
6801
6646
|
class InteractiveTourService {
|
|
6802
6647
|
constructor(configService, mediaService, languageService, interactiveTourLoader, shepherdService) {
|
|
@@ -6830,8 +6675,8 @@ class InteractiveTourService {
|
|
|
6830
6675
|
}
|
|
6831
6676
|
disabledTourButton(toolName) {
|
|
6832
6677
|
const stepConfig = this.interactiveTourLoader.getTourOptionData(toolName);
|
|
6833
|
-
if (stepConfig
|
|
6834
|
-
for (const condition of stepConfig
|
|
6678
|
+
if (stepConfig?.conditions) {
|
|
6679
|
+
for (const condition of stepConfig?.conditions) {
|
|
6835
6680
|
if (document.querySelector(condition) === null) {
|
|
6836
6681
|
return true;
|
|
6837
6682
|
}
|
|
@@ -7069,14 +6914,14 @@ class InteractiveTourService {
|
|
|
7069
6914
|
this.shepherdService.start();
|
|
7070
6915
|
}
|
|
7071
6916
|
}
|
|
7072
|
-
InteractiveTourService.ɵfac = function InteractiveTourService_Factory(t) { return new (t || InteractiveTourService)(i0.ɵɵinject(i1$
|
|
6917
|
+
InteractiveTourService.ɵfac = function InteractiveTourService_Factory(t) { return new (t || InteractiveTourService)(i0.ɵɵinject(i1$1.ConfigService), i0.ɵɵinject(i1$1.MediaService), i0.ɵɵinject(i1$1.LanguageService), i0.ɵɵinject(InteractiveTourLoader), i0.ɵɵinject(i3$3.ShepherdService)); };
|
|
7073
6918
|
InteractiveTourService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: InteractiveTourService, factory: InteractiveTourService.ɵfac, providedIn: 'root' });
|
|
7074
6919
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InteractiveTourService, [{
|
|
7075
6920
|
type: Injectable,
|
|
7076
6921
|
args: [{
|
|
7077
6922
|
providedIn: 'root'
|
|
7078
6923
|
}]
|
|
7079
|
-
}], function () { return [{ type: i1$
|
|
6924
|
+
}], function () { return [{ type: i1$1.ConfigService }, { type: i1$1.MediaService }, { type: i1$1.LanguageService }, { type: InteractiveTourLoader }, { type: i3$3.ShepherdService }]; }, null); })();
|
|
7080
6925
|
|
|
7081
6926
|
/**
|
|
7082
6927
|
* Service where all available tools and their component are registered.
|
|
@@ -7298,7 +7143,7 @@ ToolService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ToolService,
|
|
|
7298
7143
|
function InteractiveTourComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
7299
7144
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
7300
7145
|
i0.ɵɵelementStart(0, "button", 1);
|
|
7301
|
-
i0.ɵɵlistener("click", function InteractiveTourComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.startInteractiveTour(); });
|
|
7146
|
+
i0.ɵɵlistener("click", function InteractiveTourComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.startInteractiveTour()); });
|
|
7302
7147
|
i0.ɵɵelementStart(1, "span", 2);
|
|
7303
7148
|
i0.ɵɵtext(2);
|
|
7304
7149
|
i0.ɵɵpipe(3, "translate");
|
|
@@ -7408,15 +7253,10 @@ InteractiveTourComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: In
|
|
|
7408
7253
|
i0.ɵɵtemplate(0, InteractiveTourComponent_button_0_Template, 9, 15, "button", 0);
|
|
7409
7254
|
} if (rf & 2) {
|
|
7410
7255
|
i0.ɵɵproperty("ngIf", ctx.showTourButton);
|
|
7411
|
-
} },
|
|
7256
|
+
} }, dependencies: [i1.NgClass, i1.NgIf, i3$2.MatIcon, i2$2.MatButton, i6$1.MatTooltip, i1.AsyncPipe, i6$2.TranslatePipe], styles: [".shepherd-has-title .shepherd-content .shepherd-header{padding:.5em .75em}.shepherd-title{margin:0!important;font-weight:revert!important}.shepherd-progress{margin-right:15px;color:#737373}.shepherd-text{font-size:14px!important}.shepherd-element{border:1px solid;border-color:#474747;box-shadow:4px 5px #65656599}\n"], encapsulation: 2 });
|
|
7412
7257
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InteractiveTourComponent, [{
|
|
7413
7258
|
type: Component,
|
|
7414
|
-
args: [{
|
|
7415
|
-
selector: 'igo-interactive-tour',
|
|
7416
|
-
templateUrl: './interactive-tour.component.html',
|
|
7417
|
-
styleUrls: ['./interactive-tour.component.scss'],
|
|
7418
|
-
encapsulation: ViewEncapsulation.None
|
|
7419
|
-
}]
|
|
7259
|
+
args: [{ selector: 'igo-interactive-tour', encapsulation: ViewEncapsulation.None, template: "<button *ngIf=\"showTourButton\"\r\n (click) = \"startInteractiveTour()\"\r\n [ngClass]=\"getClass()\"\r\n mat-raised-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [disabled]=disabledTourButton>\r\n <span class=\"interactive-tour-button-title\">{{'igo.common.interactiveTour.buttonTitle' | translate}} {{(discoverTitleInLocale$ | async) | translate}}</span>\r\n <mat-icon\r\n svgIcon=\"presentation-play\"\r\n [matTooltip]=\"disabledTourButton ?\r\n ('igo.common.interactiveTour.disaledTooltipTourToolButton' | translate) :\r\n ('igo.common.interactiveTour.tooltipTourToolButton' | translate)\">\r\n </mat-icon>\r\n</button>\r\n", styles: [".shepherd-has-title .shepherd-content .shepherd-header{padding:.5em .75em}.shepherd-title{margin:0!important;font-weight:revert!important}.shepherd-progress{margin-right:15px;color:#737373}.shepherd-text{font-size:14px!important}.shepherd-element{border:1px solid;border-color:#474747;box-shadow:4px 5px #65656599}\n"] }]
|
|
7420
7260
|
}], function () { return [{ type: InteractiveTourService }, { type: ToolService }]; }, { tourToStart: [{
|
|
7421
7261
|
type: Input
|
|
7422
7262
|
}], styleButton: [{
|
|
@@ -7429,13 +7269,11 @@ class IgoInteractiveTourModule {
|
|
|
7429
7269
|
}
|
|
7430
7270
|
IgoInteractiveTourModule.ɵfac = function IgoInteractiveTourModule_Factory(t) { return new (t || IgoInteractiveTourModule)(); };
|
|
7431
7271
|
IgoInteractiveTourModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoInteractiveTourModule });
|
|
7432
|
-
IgoInteractiveTourModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [InteractiveTourService, InteractiveTourLoader], imports: [
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
IgoLanguageModule
|
|
7438
|
-
]] });
|
|
7272
|
+
IgoInteractiveTourModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [InteractiveTourService, InteractiveTourLoader], imports: [CommonModule,
|
|
7273
|
+
MatIconModule,
|
|
7274
|
+
MatButtonModule,
|
|
7275
|
+
MatTooltipModule,
|
|
7276
|
+
IgoLanguageModule] });
|
|
7439
7277
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoInteractiveTourModule, [{
|
|
7440
7278
|
type: NgModule,
|
|
7441
7279
|
args: [{
|
|
@@ -7483,7 +7321,7 @@ class IgoKeyValueModule {
|
|
|
7483
7321
|
}
|
|
7484
7322
|
IgoKeyValueModule.ɵfac = function IgoKeyValueModule_Factory(t) { return new (t || IgoKeyValueModule)(); };
|
|
7485
7323
|
IgoKeyValueModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoKeyValueModule });
|
|
7486
|
-
IgoKeyValueModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
7324
|
+
IgoKeyValueModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
7487
7325
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoKeyValueModule, [{
|
|
7488
7326
|
type: NgModule,
|
|
7489
7327
|
args: [{
|
|
@@ -7514,9 +7352,7 @@ function JsonDialogComponent_ng_template_4_ng_container_0_ng_container_1_ng_cont
|
|
|
7514
7352
|
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c0$5, property_r6.value, ctx_r8.getKey(baseKey_r4, property_r6.key)));
|
|
7515
7353
|
} }
|
|
7516
7354
|
function JsonDialogComponent_ng_template_4_ng_container_0_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
7517
|
-
i0.ɵɵelementStart(0, "p");
|
|
7518
|
-
i0.ɵɵelementStart(1, "span");
|
|
7519
|
-
i0.ɵɵelementStart(2, "b");
|
|
7355
|
+
i0.ɵɵelementStart(0, "p")(1, "span")(2, "b");
|
|
7520
7356
|
i0.ɵɵtext(3);
|
|
7521
7357
|
i0.ɵɵelementEnd();
|
|
7522
7358
|
i0.ɵɵtext(4, " : ");
|
|
@@ -7574,7 +7410,7 @@ class JsonDialogComponent {
|
|
|
7574
7410
|
return (baseKey ? baseKey + '.' : '') + key;
|
|
7575
7411
|
}
|
|
7576
7412
|
}
|
|
7577
|
-
JsonDialogComponent.ɵfac = function JsonDialogComponent_Factory(t) { return new (t || JsonDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
7413
|
+
JsonDialogComponent.ɵfac = function JsonDialogComponent_Factory(t) { return new (t || JsonDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
|
|
7578
7414
|
JsonDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsonDialogComponent, selectors: [["igo-json-dialog"]], decls: 9, vars: 5, consts: [["mat-dialog-title", "", 1, "mat-typography"], ["mat-dialog-content", "", 1, "mat-typography"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["loopObject", ""], ["mat-dialog-actions", ""], ["mat-button", "", "color", "primary", 3, "click"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["notObject", ""], [1, "propertyValue", 3, "innerHtml"]], template: function JsonDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7579
7415
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
7580
7416
|
i0.ɵɵtext(1);
|
|
@@ -7583,26 +7419,21 @@ JsonDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsonDia
|
|
|
7583
7419
|
i0.ɵɵtemplate(3, JsonDialogComponent_ng_container_3_Template, 1, 0, "ng-container", 2);
|
|
7584
7420
|
i0.ɵɵtemplate(4, JsonDialogComponent_ng_template_4_Template, 2, 3, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
7585
7421
|
i0.ɵɵelementEnd();
|
|
7586
|
-
i0.ɵɵelementStart(6, "div", 4);
|
|
7587
|
-
i0.ɵɵelementStart(7, "button", 5);
|
|
7422
|
+
i0.ɵɵelementStart(6, "div", 4)(7, "button", 5);
|
|
7588
7423
|
i0.ɵɵlistener("click", function JsonDialogComponent_Template_button_click_7_listener() { return ctx.dialogRef.close(false); });
|
|
7589
7424
|
i0.ɵɵtext(8, " OK ");
|
|
7590
|
-
i0.ɵɵelementEnd();
|
|
7591
|
-
i0.ɵɵelementEnd();
|
|
7425
|
+
i0.ɵɵelementEnd()();
|
|
7592
7426
|
} if (rf & 2) {
|
|
7593
7427
|
const _r1 = i0.ɵɵreference(5);
|
|
7594
7428
|
i0.ɵɵadvance(1);
|
|
7595
7429
|
i0.ɵɵtextInterpolate(ctx.title);
|
|
7596
7430
|
i0.ɵɵadvance(2);
|
|
7597
7431
|
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c1$3, ctx.data));
|
|
7598
|
-
} },
|
|
7432
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i2$2.MatButton, i1$6.MatDialogTitle, i1$6.MatDialogContent, i1$6.MatDialogActions, KeyValuePipe], encapsulation: 2 });
|
|
7599
7433
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsonDialogComponent, [{
|
|
7600
7434
|
type: Component,
|
|
7601
|
-
args: [{
|
|
7602
|
-
|
|
7603
|
-
templateUrl: './json-dialog.component.html'
|
|
7604
|
-
}]
|
|
7605
|
-
}], function () { return [{ type: i1$8.MatDialogRef }]; }, null); })();
|
|
7435
|
+
args: [{ selector: 'igo-json-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">{{ title }}</h1>\r\n\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <ng-container *ngTemplateOutlet=\"loopObject;context:{ obj: data }\"></ng-container>\r\n\r\n <ng-template #loopObject let-obj='obj' let-baseKey='baseKey'>\r\n <ng-container *ngFor=\"let property of obj | keyvalue\">\r\n <ng-container *ngIf=\"ignoreKeys.indexOf(getKey(baseKey, property.key)) === -1\">\r\n\r\n <ng-container *ngIf=\"isObject(property.value); else notObject\">\r\n <ng-container *ngTemplateOutlet=\"loopObject;context:{ obj: property.value, baseKey: getKey(baseKey, property.key) }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #notObject>\r\n <p><span><b>{{getKey(baseKey, property.key)}}</b> : </span><span class=\"propertyValue\" [innerHtml]=\"property.value\"></span></p>\r\n </ng-template>\r\n\r\n </ng-container>\r\n </ng-container>\r\n </ng-template>\r\n</div>\r\n\r\n<div mat-dialog-actions>\r\n <button mat-button color=\"primary\"\r\n (click)=\"dialogRef.close(false)\">\r\n OK\r\n </button>\r\n</div>\r\n" }]
|
|
7436
|
+
}], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
|
|
7606
7437
|
|
|
7607
7438
|
class JsonDialogService {
|
|
7608
7439
|
constructor(dialog) {
|
|
@@ -7618,11 +7449,11 @@ class JsonDialogService {
|
|
|
7618
7449
|
return dialogRef.afterClosed();
|
|
7619
7450
|
}
|
|
7620
7451
|
}
|
|
7621
|
-
JsonDialogService.ɵfac = function JsonDialogService_Factory(t) { return new (t || JsonDialogService)(i0.ɵɵinject(i1$
|
|
7452
|
+
JsonDialogService.ɵfac = function JsonDialogService_Factory(t) { return new (t || JsonDialogService)(i0.ɵɵinject(i1$6.MatDialog)); };
|
|
7622
7453
|
JsonDialogService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: JsonDialogService, factory: JsonDialogService.ɵfac });
|
|
7623
7454
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsonDialogService, [{
|
|
7624
7455
|
type: Injectable
|
|
7625
|
-
}], function () { return [{ type: i1$
|
|
7456
|
+
}], function () { return [{ type: i1$6.MatDialog }]; }, null); })();
|
|
7626
7457
|
|
|
7627
7458
|
class IgoJsonDialogModule {
|
|
7628
7459
|
static forRoot() {
|
|
@@ -7633,7 +7464,7 @@ class IgoJsonDialogModule {
|
|
|
7633
7464
|
}
|
|
7634
7465
|
IgoJsonDialogModule.ɵfac = function IgoJsonDialogModule_Factory(t) { return new (t || IgoJsonDialogModule)(); };
|
|
7635
7466
|
IgoJsonDialogModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoJsonDialogModule });
|
|
7636
|
-
IgoJsonDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [JsonDialogService], imports: [
|
|
7467
|
+
IgoJsonDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [JsonDialogService], imports: [CommonModule, MatButtonModule, MatDialogModule, IgoKeyValueModule] });
|
|
7637
7468
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoJsonDialogModule, [{
|
|
7638
7469
|
type: NgModule,
|
|
7639
7470
|
args: [{
|
|
@@ -8045,14 +7876,10 @@ ListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ListComponent
|
|
|
8045
7876
|
i0.ɵɵelementEnd();
|
|
8046
7877
|
} if (rf & 2) {
|
|
8047
7878
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c0$4, ctx.selection));
|
|
8048
|
-
} },
|
|
7879
|
+
} }, dependencies: [i1.NgClass, i2$3.MatList, ClickoutDirective], styles: ["[_nghost-%COMP%]{display:block;height:100%;overflow:auto;position:relative}mat-list[_ngcontent-%COMP%]{padding-top:0}[_nghost-%COMP%]{position:static}[_nghost-%COMP%] .mat-list .mat-list-item .mat-list-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}[_nghost-%COMP%] .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}[_nghost-%COMP%] .mat-list .mat-list-item.mat-list-item-with-avatar{height:46px}[_nghost-%COMP%] .mat-list igo-collapsible>.mat-list-item>.mat-list-item-content>.mat-list-text>.mat-line{font-weight:700;opacity:.9}[_nghost-%COMP%] .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content>mat-icon{padding:8px}[_nghost-%COMP%] [igolistitem] mat-list-item [mat-list-avatar]{height:auto;width:40px}[_nghost-%COMP%] mat-list.selectable[_ngcontent-%COMP%] [igolistitem]:not(.igo-list-item-disabled) mat-list-item:hover{cursor:pointer}[_nghost-%COMP%] [igolistitem]:focus{outline:none}"] });
|
|
8049
7880
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListComponent, [{
|
|
8050
7881
|
type: Component,
|
|
8051
|
-
args: [{
|
|
8052
|
-
selector: 'igo-list',
|
|
8053
|
-
templateUrl: './list.component.html',
|
|
8054
|
-
styleUrls: ['./list.component.scss']
|
|
8055
|
-
}]
|
|
7882
|
+
args: [{ selector: 'igo-list', template: "<mat-list\r\n igoClickout\r\n [ngClass]=\"{'selectable': selection}\"\r\n (clickout)=\"disableNavigation()\"\r\n (click)=\"enableNavigation()\">\r\n <ng-content></ng-content>\r\n</mat-list>\r\n", styles: [":host{display:block;height:100%;overflow:auto;position:relative}mat-list{padding-top:0}:host{position:static}:host ::ng-deep .mat-list .mat-list-item .mat-list-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-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}:host ::ng-deep .mat-list .mat-list-item.mat-list-item-with-avatar{height:46px}:host ::ng-deep .mat-list ::ng-deep igo-collapsible>.mat-list-item>.mat-list-item-content>.mat-list-text>.mat-line{font-weight:700;opacity:.9}:host ::ng-deep .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content>mat-icon{padding:8px}:host ::ng-deep [igolistitem] mat-list-item [mat-list-avatar]{height:auto;width:40px}: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"] }]
|
|
8056
7883
|
}], function () { return [{ type: i0.ElementRef }]; }, { navigation: [{
|
|
8057
7884
|
type: Input
|
|
8058
7885
|
}], selection: [{
|
|
@@ -8078,7 +7905,7 @@ class IgoListModule {
|
|
|
8078
7905
|
}
|
|
8079
7906
|
IgoListModule.ɵfac = function IgoListModule_Factory(t) { return new (t || IgoListModule)(); };
|
|
8080
7907
|
IgoListModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoListModule });
|
|
8081
|
-
IgoListModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
7908
|
+
IgoListModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, MatIconModule, MatListModule, IgoClickoutModule] });
|
|
8082
7909
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoListModule, [{
|
|
8083
7910
|
type: NgModule,
|
|
8084
7911
|
args: [{
|
|
@@ -8090,16 +7917,14 @@ IgoListModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[CommonMod
|
|
|
8090
7917
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoListModule, { declarations: [ListItemDirective, ListComponent], imports: [CommonModule, MatIconModule, MatListModule, IgoClickoutModule], exports: [ListItemDirective, ListComponent] }); })();
|
|
8091
7918
|
|
|
8092
7919
|
function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
8093
|
-
i0.ɵɵelementStart(0, "div", 2);
|
|
8094
|
-
i0.ɵɵelementStart(1, "h3");
|
|
7920
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "h3");
|
|
8095
7921
|
i0.ɵɵprojection(2, 1);
|
|
8096
7922
|
i0.ɵɵelementStart(3, "div", 3);
|
|
8097
7923
|
i0.ɵɵtext(4);
|
|
8098
7924
|
i0.ɵɵprojection(5, 2);
|
|
8099
7925
|
i0.ɵɵelementEnd();
|
|
8100
7926
|
i0.ɵɵprojection(6, 3);
|
|
8101
|
-
i0.ɵɵelementEnd();
|
|
8102
|
-
i0.ɵɵelementEnd();
|
|
7927
|
+
i0.ɵɵelementEnd()();
|
|
8103
7928
|
} if (rf & 2) {
|
|
8104
7929
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
8105
7930
|
i0.ɵɵadvance(4);
|
|
@@ -8135,15 +7960,10 @@ PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelCompone
|
|
|
8135
7960
|
i0.ɵɵelementEnd();
|
|
8136
7961
|
} if (rf & 2) {
|
|
8137
7962
|
i0.ɵɵproperty("ngIf", ctx.withHeader);
|
|
8138
|
-
} },
|
|
7963
|
+
} }, dependencies: [i1.NgIf], styles: ["[_nghost-%COMP%]{display:block}.igo-panel-header[_ngcontent-%COMP%]{height:46px;padding:3px;text-align:center}.igo-panel-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;height:40px}.igo-panel-header[_ngcontent-%COMP%] [panelleftbutton]{float:left;margin-right:-40px}.igo-panel-header[_ngcontent-%COMP%] [panelrightbutton]{float:right}.igo-panel-content[_ngcontent-%COMP%]{overflow:auto}.igo-panel-with-header[_nghost-%COMP%] .igo-panel-content[_ngcontent-%COMP%]{height:calc(100% - 46px)}[_nghost-%COMP%]:not(.igo-panel-with-header) .igo-panel-content[_ngcontent-%COMP%]{height:100%}.igo-panel-title[_ngcontent-%COMP%]{display:block;width:calc(100% - 80px);margin-left:40px;height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left;font-weight:700;font-size:1.17em}"], changeDetection: 0 });
|
|
8139
7964
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelComponent, [{
|
|
8140
7965
|
type: Component,
|
|
8141
|
-
args: [{
|
|
8142
|
-
selector: 'igo-panel',
|
|
8143
|
-
templateUrl: './panel.component.html',
|
|
8144
|
-
styleUrls: ['./panel.component.scss'],
|
|
8145
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
8146
|
-
}]
|
|
7966
|
+
args: [{ selector: 'igo-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"withHeader\" class=\"igo-panel-header mat-typography\" title=\"\">\r\n <h3>\r\n <ng-content select=\"[panelLeftButton]\"></ng-content>\r\n <div class=\"igo-panel-title\">\r\n {{ title }}\r\n <ng-content select=\"[panelHeader]\"></ng-content>\r\n </div>\r\n <ng-content select=\"[panelRightButton]\"></ng-content>\r\n </h3>\r\n</div>\r\n<div class=\"igo-panel-content\" title=\"\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:block}.igo-panel-header{height:46px;padding:3px;text-align:center}.igo-panel-header h3{margin:0;height:40px}.igo-panel-header ::ng-deep [panelleftbutton]{float:left;margin-right:-40px}.igo-panel-header ::ng-deep [panelrightbutton]{float:right}.igo-panel-content{overflow:auto}:host.igo-panel-with-header .igo-panel-content{height:calc(100% - 46px)}:host:not(.igo-panel-with-header) .igo-panel-content{height:100%}.igo-panel-title{display:block;width:calc(100% - 80px);margin-left:40px;height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left;font-weight:700;font-size:1.17em}\n"] }]
|
|
8147
7967
|
}], null, { title: [{
|
|
8148
7968
|
type: Input
|
|
8149
7969
|
}], withHeader: [{
|
|
@@ -8157,7 +7977,7 @@ class IgoPanelModule {
|
|
|
8157
7977
|
}
|
|
8158
7978
|
IgoPanelModule.ɵfac = function IgoPanelModule_Factory(t) { return new (t || IgoPanelModule)(); };
|
|
8159
7979
|
IgoPanelModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoPanelModule });
|
|
8160
|
-
IgoPanelModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
7980
|
+
IgoPanelModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
|
|
8161
7981
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoPanelModule, [{
|
|
8162
7982
|
type: NgModule,
|
|
8163
7983
|
args: [{
|
|
@@ -8198,7 +8018,7 @@ class SidenavShimDirective {
|
|
|
8198
8018
|
this.focusedElement = undefined;
|
|
8199
8019
|
}
|
|
8200
8020
|
}
|
|
8201
|
-
SidenavShimDirective.ɵfac = function SidenavShimDirective_Factory(t) { return new (t || SidenavShimDirective)(i0.ɵɵdirectiveInject(i1$
|
|
8021
|
+
SidenavShimDirective.ɵfac = function SidenavShimDirective_Factory(t) { return new (t || SidenavShimDirective)(i0.ɵɵdirectiveInject(i1$7.MatSidenav, 2), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
8202
8022
|
SidenavShimDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SidenavShimDirective, selectors: [["", "igoSidenavShim", ""]], hostBindings: function SidenavShimDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
8203
8023
|
i0.ɵɵlistener("open", function SidenavShimDirective_open_HostBindingHandler($event) { return ctx.onOpen($event); })("close-start", function SidenavShimDirective_close_start_HostBindingHandler($event) { return ctx.onCloseStart($event); })("close", function SidenavShimDirective_close_HostBindingHandler($event) { return ctx.onClose($event); });
|
|
8204
8024
|
} } });
|
|
@@ -8207,7 +8027,7 @@ SidenavShimDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Sidena
|
|
|
8207
8027
|
args: [{
|
|
8208
8028
|
selector: '[igoSidenavShim]'
|
|
8209
8029
|
}]
|
|
8210
|
-
}], function () { return [{ type: i1$
|
|
8030
|
+
}], function () { return [{ type: i1$7.MatSidenav, decorators: [{
|
|
8211
8031
|
type: Self
|
|
8212
8032
|
}] }, { type: i0.Renderer2 }]; }, { onOpen: [{
|
|
8213
8033
|
type: HostListener,
|
|
@@ -8230,7 +8050,7 @@ class IgoSidenavModule {
|
|
|
8230
8050
|
}
|
|
8231
8051
|
IgoSidenavModule.ɵfac = function IgoSidenavModule_Factory(t) { return new (t || IgoSidenavModule)(); };
|
|
8232
8052
|
IgoSidenavModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoSidenavModule });
|
|
8233
|
-
IgoSidenavModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
8053
|
+
IgoSidenavModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
8234
8054
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoSidenavModule, [{
|
|
8235
8055
|
type: NgModule,
|
|
8236
8056
|
args: [{
|
|
@@ -8259,19 +8079,14 @@ SpinnerComponent.ɵfac = function SpinnerComponent_Factory(t) { return new (t ||
|
|
|
8259
8079
|
SpinnerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SpinnerComponent, selectors: [["igo-spinner"]], inputs: { shown: "shown" }, decls: 4, vars: 5, consts: [[3, "ngClass"], [1, "igo-spinner-background"], ["diameter", "40", "mode", "indeterminate"]], template: function SpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8260
8080
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8261
8081
|
i0.ɵɵpipe(1, "async");
|
|
8262
|
-
i0.ɵɵelement(2, "div", 1);
|
|
8263
|
-
i0.ɵɵelement(3, "mat-progress-spinner", 2);
|
|
8082
|
+
i0.ɵɵelement(2, "div", 1)(3, "mat-progress-spinner", 2);
|
|
8264
8083
|
i0.ɵɵelementEnd();
|
|
8265
8084
|
} if (rf & 2) {
|
|
8266
8085
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$2, i0.ɵɵpipeBind1(1, 1, ctx.shown$)));
|
|
8267
|
-
} },
|
|
8086
|
+
} }, dependencies: [i1.NgClass, i2$4.MatProgressSpinner, i1.AsyncPipe], styles: [".igo-spinner-container[_ngcontent-%COMP%]{display:none;pointer-events:none}.igo-spinner-container.igo-spinner-shown[_ngcontent-%COMP%]{display:block}mat-progress-spinner[_ngcontent-%COMP%]{height:40px;width:40px;border-radius:50%}.igo-spinner-background[_ngcontent-%COMP%]{height:36px;width:36px;border-radius:50%;border:4px solid #ffffff;position:absolute;top:2px;left:2px}"] });
|
|
8268
8087
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpinnerComponent, [{
|
|
8269
8088
|
type: Component,
|
|
8270
|
-
args: [{
|
|
8271
|
-
selector: 'igo-spinner',
|
|
8272
|
-
templateUrl: './spinner.component.html',
|
|
8273
|
-
styleUrls: ['./spinner.component.scss']
|
|
8274
|
-
}]
|
|
8089
|
+
args: [{ selector: 'igo-spinner', template: "<div\r\n [ngClass]=\"{'igo-spinner-container': true, 'igo-spinner-shown': (shown$ | async)}\">\r\n <div class=\"igo-spinner-background\"></div>\r\n <mat-progress-spinner diameter=\"40\" mode=\"indeterminate\"></mat-progress-spinner>\r\n</div>\r\n", styles: [".igo-spinner-container{display:none;pointer-events:none}.igo-spinner-container.igo-spinner-shown{display:block}mat-progress-spinner{height:40px;width:40px;border-radius:50%}.igo-spinner-background{height:36px;width:36px;border-radius:50%;border:4px solid #ffffff;position:absolute;top:2px;left:2px}\n"] }]
|
|
8275
8090
|
}], function () { return []; }, { shown: [{
|
|
8276
8091
|
type: Input
|
|
8277
8092
|
}] }); })();
|
|
@@ -8307,7 +8122,7 @@ class SpinnerActivityDirective {
|
|
|
8307
8122
|
this.counter$$.unsubscribe();
|
|
8308
8123
|
}
|
|
8309
8124
|
}
|
|
8310
|
-
SpinnerActivityDirective.ɵfac = function SpinnerActivityDirective_Factory(t) { return new (t || SpinnerActivityDirective)(i0.ɵɵdirectiveInject(SpinnerComponent, 2), i0.ɵɵdirectiveInject(i1$
|
|
8125
|
+
SpinnerActivityDirective.ɵfac = function SpinnerActivityDirective_Factory(t) { return new (t || SpinnerActivityDirective)(i0.ɵɵdirectiveInject(SpinnerComponent, 2), i0.ɵɵdirectiveInject(i1$1.ActivityService)); };
|
|
8311
8126
|
SpinnerActivityDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SpinnerActivityDirective, selectors: [["", "igoSpinnerActivity", ""]] });
|
|
8312
8127
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpinnerActivityDirective, [{
|
|
8313
8128
|
type: Directive,
|
|
@@ -8316,13 +8131,13 @@ SpinnerActivityDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Sp
|
|
|
8316
8131
|
}]
|
|
8317
8132
|
}], function () { return [{ type: SpinnerComponent, decorators: [{
|
|
8318
8133
|
type: Self
|
|
8319
|
-
}] }, { type: i1$
|
|
8134
|
+
}] }, { type: i1$1.ActivityService }]; }, null); })();
|
|
8320
8135
|
|
|
8321
8136
|
class IgoSpinnerModule {
|
|
8322
8137
|
}
|
|
8323
8138
|
IgoSpinnerModule.ɵfac = function IgoSpinnerModule_Factory(t) { return new (t || IgoSpinnerModule)(); };
|
|
8324
8139
|
IgoSpinnerModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoSpinnerModule });
|
|
8325
|
-
IgoSpinnerModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
8140
|
+
IgoSpinnerModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, MatProgressSpinnerModule] });
|
|
8326
8141
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoSpinnerModule, [{
|
|
8327
8142
|
type: NgModule,
|
|
8328
8143
|
args: [{
|
|
@@ -8399,23 +8214,19 @@ var TableActionColor;
|
|
|
8399
8214
|
|
|
8400
8215
|
const _c0$1 = ["filter"];
|
|
8401
8216
|
function TableComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
8402
|
-
i0.ɵɵelementStart(0, "div", 12);
|
|
8403
|
-
i0.ɵɵelementStart(1, "mat-form-field", 13);
|
|
8217
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "mat-form-field", 13);
|
|
8404
8218
|
i0.ɵɵelement(2, "input", 14, 15);
|
|
8405
8219
|
i0.ɵɵpipe(4, "translate");
|
|
8406
|
-
i0.ɵɵelementEnd();
|
|
8407
|
-
i0.ɵɵelementEnd();
|
|
8220
|
+
i0.ɵɵelementEnd()();
|
|
8408
8221
|
} if (rf & 2) {
|
|
8409
8222
|
i0.ɵɵadvance(2);
|
|
8410
8223
|
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(4, 1, "igo.common.table.filter"));
|
|
8411
8224
|
} }
|
|
8412
8225
|
function TableComponent_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
8413
8226
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
8414
|
-
i0.ɵɵelementStart(0, "th", 16);
|
|
8415
|
-
i0.ɵɵ
|
|
8416
|
-
i0.ɵɵ
|
|
8417
|
-
i0.ɵɵelementEnd();
|
|
8418
|
-
i0.ɵɵelementEnd();
|
|
8227
|
+
i0.ɵɵelementStart(0, "th", 16)(1, "mat-checkbox", 17);
|
|
8228
|
+
i0.ɵɵlistener("change", function TableComponent_th_6_Template_mat_checkbox_change_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView($event ? ctx_r10.masterToggle() : null); });
|
|
8229
|
+
i0.ɵɵelementEnd()();
|
|
8419
8230
|
} if (rf & 2) {
|
|
8420
8231
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
8421
8232
|
i0.ɵɵadvance(1);
|
|
@@ -8423,11 +8234,9 @@ function TableComponent_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
8423
8234
|
} }
|
|
8424
8235
|
function TableComponent_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
8425
8236
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
8426
|
-
i0.ɵɵelementStart(0, "td", 18);
|
|
8427
|
-
i0.ɵɵ
|
|
8428
|
-
i0.ɵɵ
|
|
8429
|
-
i0.ɵɵelementEnd();
|
|
8430
|
-
i0.ɵɵelementEnd();
|
|
8237
|
+
i0.ɵɵelementStart(0, "td", 18)(1, "mat-checkbox", 19);
|
|
8238
|
+
i0.ɵɵlistener("click", function TableComponent_td_7_Template_mat_checkbox_click_1_listener($event) { return $event.stopPropagation(); })("change", function TableComponent_td_7_Template_mat_checkbox_change_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r15); const row_r12 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView($event ? ctx_r14.selection.toggle(row_r12) : null); });
|
|
8239
|
+
i0.ɵɵelementEnd()();
|
|
8431
8240
|
} if (rf & 2) {
|
|
8432
8241
|
const row_r12 = ctx.$implicit;
|
|
8433
8242
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
@@ -8515,7 +8324,7 @@ function TableComponent_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
8515
8324
|
function TableComponent_td_11_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
8516
8325
|
const _r36 = i0.ɵɵgetCurrentView();
|
|
8517
8326
|
i0.ɵɵelementStart(0, "button", 31);
|
|
8518
|
-
i0.ɵɵlistener("click", function TableComponent_td_11_button_1_Template_button_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r36); const action_r34 = restoredCtx.$implicit; const row_r32 = i0.ɵɵnextContext().$implicit; const ctx_r35 = i0.ɵɵnextContext(); return ctx_r35.handleClickAction($event, action_r34, row_r32); });
|
|
8327
|
+
i0.ɵɵlistener("click", function TableComponent_td_11_button_1_Template_button_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r36); const action_r34 = restoredCtx.$implicit; const row_r32 = i0.ɵɵnextContext().$implicit; const ctx_r35 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r35.handleClickAction($event, action_r34, row_r32)); });
|
|
8519
8328
|
i0.ɵɵelement(1, "mat-icon", 32);
|
|
8520
8329
|
i0.ɵɵelementEnd();
|
|
8521
8330
|
} if (rf & 2) {
|
|
@@ -8540,7 +8349,7 @@ function TableComponent_tr_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
8540
8349
|
function TableComponent_tr_13_Template(rf, ctx) { if (rf & 1) {
|
|
8541
8350
|
const _r40 = i0.ɵɵgetCurrentView();
|
|
8542
8351
|
i0.ɵɵelementStart(0, "tr", 34);
|
|
8543
|
-
i0.ɵɵlistener("click", function TableComponent_tr_13_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r40); const row_r38 = restoredCtx.$implicit; const ctx_r39 = i0.ɵɵnextContext(); return ctx_r39.selection.toggle(row_r38); });
|
|
8352
|
+
i0.ɵɵlistener("click", function TableComponent_tr_13_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r40); const row_r38 = restoredCtx.$implicit; const ctx_r39 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r39.selection.toggle(row_r38)); });
|
|
8544
8353
|
i0.ɵɵelementEnd();
|
|
8545
8354
|
} if (rf & 2) {
|
|
8546
8355
|
const row_r38 = ctx.$implicit;
|
|
@@ -8638,8 +8447,7 @@ TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableCompone
|
|
|
8638
8447
|
} }, inputs: { database: "database", model: "model", hasFilterInput: "hasFilterInput" }, outputs: { select: "select" }, features: [i0.ɵɵNgOnChangesFeature], decls: 14, vars: 5, consts: [[1, "table-box"], ["class", "table-header", 4, "ngIf"], [1, "table-container"], ["mat-table", "", "matSort", "", 3, "dataSource"], ["table", ""], ["matColumnDef", "selectionCheckbox"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], [3, "matColumnDef", 4, "ngFor", "ngForOf"], ["matColumnDef", "action"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 3, "ngClass", "click", 4, "matRowDef", "matRowDefColumns"], [1, "table-header"], ["floatPlaceholder", "never"], ["matInput", "", 3, "placeholder"], ["filter", ""], ["mat-header-cell", ""], [3, "checked", "indeterminate", "change"], ["mat-cell", ""], [3, "checked", "click", "change"], [3, "matColumnDef"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["cellHTML", ""], ["mat-header-cell", "", "mat-sort-header", "", 4, "matHeaderCellDef"], ["mat-header-cell", "", "mat-sort-header", ""], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "matCellDef"], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", "innerHTML", 4, "matCellDef"], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass", "innerHTML"], ["mat-mini-fab", "", 3, "color", "click", 4, "ngFor", "ngForOf"], ["mat-mini-fab", "", 3, "color", "click"], [3, "svgIcon"], ["mat-header-row", ""], ["mat-row", "", 3, "ngClass", "click"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8639
8448
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8640
8449
|
i0.ɵɵtemplate(1, TableComponent_div_1_Template, 5, 3, "div", 1);
|
|
8641
|
-
i0.ɵɵelementStart(2, "div", 2);
|
|
8642
|
-
i0.ɵɵelementStart(3, "table", 3, 4);
|
|
8450
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "table", 3, 4);
|
|
8643
8451
|
i0.ɵɵelementContainerStart(5, 5);
|
|
8644
8452
|
i0.ɵɵtemplate(6, TableComponent_th_6_Template, 2, 2, "th", 6);
|
|
8645
8453
|
i0.ɵɵtemplate(7, TableComponent_td_7_Template, 2, 1, "td", 7);
|
|
@@ -8651,9 +8459,7 @@ TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableCompone
|
|
|
8651
8459
|
i0.ɵɵelementContainerEnd();
|
|
8652
8460
|
i0.ɵɵtemplate(12, TableComponent_tr_12_Template, 1, 0, "tr", 10);
|
|
8653
8461
|
i0.ɵɵtemplate(13, TableComponent_tr_13_Template, 1, 2, "tr", 11);
|
|
8654
|
-
i0.ɵɵelementEnd();
|
|
8655
|
-
i0.ɵɵelementEnd();
|
|
8656
|
-
i0.ɵɵelementEnd();
|
|
8462
|
+
i0.ɵɵelementEnd()()();
|
|
8657
8463
|
} if (rf & 2) {
|
|
8658
8464
|
i0.ɵɵadvance(1);
|
|
8659
8465
|
i0.ɵɵproperty("ngIf", ctx.hasFilterInput);
|
|
@@ -8665,14 +8471,10 @@ TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableCompone
|
|
|
8665
8471
|
i0.ɵɵproperty("matHeaderRowDef", ctx.displayedColumns);
|
|
8666
8472
|
i0.ɵɵadvance(1);
|
|
8667
8473
|
i0.ɵɵproperty("matRowDefColumns", ctx.displayedColumns);
|
|
8668
|
-
} },
|
|
8474
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i3$2.MatIcon, i2$2.MatButton, i5.MatTable, i5.MatHeaderCellDef, i5.MatHeaderRowDef, i5.MatColumnDef, i5.MatCellDef, i5.MatRowDef, i5.MatHeaderCell, i5.MatCell, i5.MatHeaderRow, i5.MatRow, i4.MatFormField, i5$1.MatInput, i7.MatSort, i7.MatSortHeader, i10.MatCheckbox, i6$2.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.table-box[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.table-header[_ngcontent-%COMP%]{min-height:64px;max-width:500px;display:flex;flex:0 1 auto;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}tr[mat-header-row][_ngcontent-%COMP%], tr[mat-row][_ngcontent-%COMP%]{height:60px}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}td[mat-cell][_ngcontent-%COMP%]{padding-right:15px}th.mat-header-cell[_ngcontent-%COMP%]{padding-right:5px}button[_ngcontent-%COMP%]{margin-right:10px}"] });
|
|
8669
8475
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
8670
8476
|
type: Component,
|
|
8671
|
-
args: [{
|
|
8672
|
-
selector: 'igo-table',
|
|
8673
|
-
templateUrl: './table.component.html',
|
|
8674
|
-
styleUrls: ['./table.component.scss']
|
|
8675
|
-
}]
|
|
8477
|
+
args: [{ selector: 'igo-table', template: "<div class='table-box'>\r\n <div class='table-header' *ngIf=\"hasFilterInput\">\r\n <mat-form-field floatPlaceholder='never'>\r\n <input matInput #filter [placeholder]=\"'igo.common.table.filter' | translate\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class='table-container'>\r\n <table mat-table #table [dataSource]='dataSource' matSort>\r\n\r\n <!-- Checkbox Column -->\r\n <ng-container matColumnDef=\"selectionCheckbox\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\"\r\n [checked]=\"selection.isSelected(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container [matColumnDef]='column.name' *ngFor='let column of model.columns'>\r\n <ng-container *ngIf='column.sortable'>\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{column.title}} </th>\r\n </ng-container>\r\n\r\n <ng-container *ngIf='!column.sortable'>\r\n <th mat-header-cell *matHeaderCellDef> {{column.title}} </th>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!column.html; else cellHTML\">\r\n <td mat-cell *matCellDef='let row' class=\"mat-cell-text\"\r\n [ngClass]=\"model.cellClassFunc ? model.cellClassFunc(row, column) : {}\">\r\n {{getValue(row, column.name)}}\r\n </td>\r\n </ng-container>\r\n\r\n <ng-template #cellHTML>\r\n <td mat-cell *matCellDef='let row' class=\"mat-cell-text\"\r\n [ngClass]=\"model.cellClassFunc ? model.cellClassFunc(row, column) : {}\"\r\n [innerHTML]=\"getValue(row, column.name)\">\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <!-- Action Column -->\r\n <ng-container matColumnDef='action'>\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef='let row'>\r\n <button *ngFor='let action of model.actions'\r\n mat-mini-fab\r\n [color]='getActionColor(action.color)'\r\n (click)='handleClickAction($event, action, row)'>\r\n <mat-icon svgIcon=\"{{action.icon}}\"></mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef='displayedColumns;'></tr>\r\n <tr mat-row\r\n *matRowDef='let row; columns: displayedColumns;'\r\n [ngClass]=\"model.rowClassFunc ? model.rowClassFunc(row) : {}\"\r\n (click)=\"selection.toggle(row)\">\r\n </tr>\r\n\r\n </table>\r\n </div>\r\n\r\n</div>\r\n", styles: [":host{width:100%;height:100%;display:block}.table-container{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.table-box{height:100%;display:flex;flex-direction:column}.table-header{min-height:64px;max-width:500px;display:flex;flex:0 1 auto;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}tr[mat-header-row],tr[mat-row]{height:60px}.mat-cell-text{overflow:hidden;word-wrap:break-word}td[mat-cell]{padding-right:15px}th.mat-header-cell{padding-right:5px}button{margin-right:10px}\n"] }]
|
|
8676
8478
|
}], null, { database: [{
|
|
8677
8479
|
type: Input
|
|
8678
8480
|
}], model: [{
|
|
@@ -8699,19 +8501,17 @@ class IgoTableModule {
|
|
|
8699
8501
|
}
|
|
8700
8502
|
IgoTableModule.ɵfac = function IgoTableModule_Factory(t) { return new (t || IgoTableModule)(); };
|
|
8701
8503
|
IgoTableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoTableModule });
|
|
8702
|
-
IgoTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
IgoLanguageModule
|
|
8714
|
-
]] });
|
|
8504
|
+
IgoTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
8505
|
+
FormsModule,
|
|
8506
|
+
CdkTableModule,
|
|
8507
|
+
MatIconModule,
|
|
8508
|
+
MatButtonModule,
|
|
8509
|
+
MatTableModule,
|
|
8510
|
+
MatFormFieldModule,
|
|
8511
|
+
MatInputModule,
|
|
8512
|
+
MatSortModule,
|
|
8513
|
+
MatCheckboxModule,
|
|
8514
|
+
IgoLanguageModule] });
|
|
8715
8515
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoTableModule, [{
|
|
8716
8516
|
type: NgModule,
|
|
8717
8517
|
args: [{
|
|
@@ -8780,7 +8580,7 @@ const _c0 = function (a0, a1) { return { "igo-tool-container-with-toolbar": a0,
|
|
|
8780
8580
|
function ToolboxComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
8781
8581
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
8782
8582
|
i0.ɵɵelementStart(0, "div", 3);
|
|
8783
|
-
i0.ɵɵlistener("@toolSlideInOut.start", function ToolboxComponent_div_2_Template_div_animation_toolSlideInOut_start_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onAnimationStart(); })("@toolSlideInOut.done", function ToolboxComponent_div_2_Template_div_animation_toolSlideInOut_done_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onAnimationComplete(); });
|
|
8583
|
+
i0.ɵɵlistener("@toolSlideInOut.start", function ToolboxComponent_div_2_Template_div_animation_toolSlideInOut_start_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onAnimationStart()); })("@toolSlideInOut.done", function ToolboxComponent_div_2_Template_div_animation_toolSlideInOut_done_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onAnimationComplete()); });
|
|
8784
8584
|
i0.ɵɵpipe(1, "async");
|
|
8785
8585
|
i0.ɵɵelement(2, "igo-dynamic-outlet", 4);
|
|
8786
8586
|
i0.ɵɵelementEnd();
|
|
@@ -8994,16 +8794,10 @@ ToolboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToolboxCom
|
|
|
8994
8794
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.toolbar$).length > 0);
|
|
8995
8795
|
i0.ɵɵadvance(2);
|
|
8996
8796
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(3, 4, ctx.activeTool$));
|
|
8997
|
-
} },
|
|
8797
|
+
} }, dependencies: [i1.NgClass, i1.NgIf, ActionbarComponent, DynamicOutletComponent, i1.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;position:relative;overflow:hidden;width:100%;height:100%}.igo-tool-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.igo-tool-container-with-animation[_ngcontent-%COMP%]{transform:translate3d(100%,0,0)}.igo-tool-container-with-toolbar[_ngcontent-%COMP%]{left:50px}igo-actionbar[_ngcontent-%COMP%]{height:100%}igo-actionbar.with-title[_ngcontent-%COMP%]{width:100%;overflow:auto}igo-actionbar[_ngcontent-%COMP%]:not(.with-title){width:48px;overflow:hidden;-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){igo-actionbar[_ngcontent-%COMP%]:not(.with-title){overflow:auto}}igo-dynamic-outlet[_ngcontent-%COMP%]{overflow:auto}"], data: { animation: [toolSlideInOut()] }, changeDetection: 0 });
|
|
8998
8798
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToolboxComponent, [{
|
|
8999
8799
|
type: Component,
|
|
9000
|
-
args: [{
|
|
9001
|
-
selector: 'igo-toolbox',
|
|
9002
|
-
templateUrl: 'toolbox.component.html',
|
|
9003
|
-
styleUrls: ['toolbox.component.scss'],
|
|
9004
|
-
animations: [toolSlideInOut()],
|
|
9005
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
9006
|
-
}]
|
|
8800
|
+
args: [{ selector: 'igo-toolbox', animations: [toolSlideInOut()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-actionbar\r\n *ngIf=\"(toolbar$ | async).length > 0\"\r\n [store]=\"actionStore\"\r\n [withIcon]=\"true\"\r\n [withTitle]=\"toolbarWithTitle$ | async\"\r\n [withTooltip]=\"(toolbarWithTitle$ | async) === false\"\r\n [scrollActive]=\"toolbarWithTitle$ | async\"\r\n [horizontal]=\"false\">\r\n</igo-actionbar>\r\n\r\n<div\r\n *ngIf=\"activeTool$ | async as tool\"\r\n class=\"igo-tool-container\"\r\n [ngClass]=\"{'igo-tool-container-with-toolbar': !actionStore.empty, 'igo-tool-container-with-animation': animate}\"\r\n [@toolSlideInOut]=\"animation$ | async\"\r\n (@toolSlideInOut.start)=\"onAnimationStart()\"\r\n (@toolSlideInOut.done)=\"onAnimationComplete()\">\r\n\r\n <igo-dynamic-outlet\r\n [component]=\"tool.component\"\r\n [inputs]=\"getToolInputs(tool)\">\r\n </igo-dynamic-outlet>\r\n\r\n</div>\r\n", styles: [":host{display:block;position:relative;overflow:hidden;width:100%;height:100%}.igo-tool-container{position:absolute;top:0;bottom:0;left:0;right:0}.igo-tool-container-with-animation{transform:translate3d(100%,0,0)}.igo-tool-container-with-toolbar{left:50px}igo-actionbar{height:100%}igo-actionbar.with-title{width:100%;overflow:auto}igo-actionbar:not(.with-title){width:48px;overflow:hidden;-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){igo-actionbar:not(.with-title){overflow:auto}}igo-dynamic-outlet{overflow:auto}\n"] }]
|
|
9007
8801
|
}], null, { toolbox: [{
|
|
9008
8802
|
type: Input
|
|
9009
8803
|
}], animate: [{
|
|
@@ -9025,11 +8819,9 @@ class IgoToolboxModule {
|
|
|
9025
8819
|
}
|
|
9026
8820
|
IgoToolboxModule.ɵfac = function IgoToolboxModule_Factory(t) { return new (t || IgoToolboxModule)(); };
|
|
9027
8821
|
IgoToolboxModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoToolboxModule });
|
|
9028
|
-
IgoToolboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
IgoDynamicComponentModule
|
|
9032
|
-
]] });
|
|
8822
|
+
IgoToolboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
8823
|
+
IgoActionModule,
|
|
8824
|
+
IgoDynamicComponentModule] });
|
|
9033
8825
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoToolboxModule, [{
|
|
9034
8826
|
type: NgModule,
|
|
9035
8827
|
args: [{
|
|
@@ -9062,9 +8854,7 @@ class IgoToolModule {
|
|
|
9062
8854
|
}
|
|
9063
8855
|
IgoToolModule.ɵfac = function IgoToolModule_Factory(t) { return new (t || IgoToolModule)(); };
|
|
9064
8856
|
IgoToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoToolModule });
|
|
9065
|
-
IgoToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
9066
|
-
CommonModule
|
|
9067
|
-
], IgoToolboxModule] });
|
|
8857
|
+
IgoToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, IgoToolboxModule] });
|
|
9068
8858
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoToolModule, [{
|
|
9069
8859
|
type: NgModule,
|
|
9070
8860
|
args: [{
|
|
@@ -9175,15 +8965,10 @@ WidgetOutletComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Widge
|
|
|
9175
8965
|
i0.ɵɵtemplate(0, WidgetOutletComponent_igo_dynamic_outlet_0_Template, 1, 3, "igo-dynamic-outlet", 0);
|
|
9176
8966
|
} if (rf & 2) {
|
|
9177
8967
|
i0.ɵɵproperty("ngIf", ctx.widget);
|
|
9178
|
-
} },
|
|
8968
|
+
} }, dependencies: [i1.NgIf, DynamicOutletComponent], styles: ["igo-dynamic-outlet[_ngcontent-%COMP%]{height:100%}"], changeDetection: 0 });
|
|
9179
8969
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WidgetOutletComponent, [{
|
|
9180
8970
|
type: Component,
|
|
9181
|
-
args: [{
|
|
9182
|
-
selector: 'igo-widget-outlet',
|
|
9183
|
-
templateUrl: './widget-outlet.component.html',
|
|
9184
|
-
styleUrls: ['./widget-outlet.component.scss'],
|
|
9185
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
9186
|
-
}]
|
|
8971
|
+
args: [{ selector: 'igo-widget-outlet', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-dynamic-outlet\r\n *ngIf=\"widget\"\r\n [component]=\"widget\"\r\n [inputs]=\"inputs\"\r\n [subscribers]=\"getEffectiveSubscribers()\">\r\n</igo-dynamic-outlet>\r\n", styles: ["igo-dynamic-outlet{height:100%}\n"] }]
|
|
9187
8972
|
}], function () { return []; }, { widget: [{
|
|
9188
8973
|
type: Input
|
|
9189
8974
|
}], inputs: [{
|
|
@@ -9203,10 +8988,8 @@ class IgoWidgetOutletModule {
|
|
|
9203
8988
|
}
|
|
9204
8989
|
IgoWidgetOutletModule.ɵfac = function IgoWidgetOutletModule_Factory(t) { return new (t || IgoWidgetOutletModule)(); };
|
|
9205
8990
|
IgoWidgetOutletModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoWidgetOutletModule });
|
|
9206
|
-
IgoWidgetOutletModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
9207
|
-
|
|
9208
|
-
IgoDynamicComponentModule
|
|
9209
|
-
]] });
|
|
8991
|
+
IgoWidgetOutletModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
8992
|
+
IgoDynamicComponentModule] });
|
|
9210
8993
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoWidgetOutletModule, [{
|
|
9211
8994
|
type: NgModule,
|
|
9212
8995
|
args: [{
|
|
@@ -9248,10 +9031,8 @@ IgoWidgetModule.ɵfac = function IgoWidgetModule_Factory(t) { return new (t || I
|
|
|
9248
9031
|
IgoWidgetModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoWidgetModule });
|
|
9249
9032
|
IgoWidgetModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
9250
9033
|
WidgetService
|
|
9251
|
-
], imports: [
|
|
9252
|
-
|
|
9253
|
-
IgoWidgetOutletModule
|
|
9254
|
-
], IgoWidgetOutletModule] });
|
|
9034
|
+
], imports: [CommonModule,
|
|
9035
|
+
IgoWidgetOutletModule, IgoWidgetOutletModule] });
|
|
9255
9036
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoWidgetModule, [{
|
|
9256
9037
|
type: NgModule,
|
|
9257
9038
|
args: [{
|
|
@@ -9306,15 +9087,10 @@ WorkspaceSelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
9306
9087
|
i0.ɵɵelementEnd();
|
|
9307
9088
|
} if (rf & 2) {
|
|
9308
9089
|
i0.ɵɵproperty("store", ctx.store)("multi", false)("titleAccessor", ctx.getWorkspaceTitle)("disabled", ctx.disabled);
|
|
9309
|
-
} },
|
|
9090
|
+
} }, dependencies: [EntitySelectorComponent], styles: ["igo-entity-selector[_ngcontent-%COMP%] mat-form-field .mat-form-field-infix{padding:0}igo-entity-selector[_ngcontent-%COMP%] mat-form-field .mat-form-field-wrapper{padding-bottom:1.75em}"], changeDetection: 0 });
|
|
9310
9091
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceSelectorComponent, [{
|
|
9311
9092
|
type: Component,
|
|
9312
|
-
args: [{
|
|
9313
|
-
selector: 'igo-workspace-selector',
|
|
9314
|
-
templateUrl: './workspace-selector.component.html',
|
|
9315
|
-
styleUrls: ['./workspace-selector.component.scss'],
|
|
9316
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
9317
|
-
}]
|
|
9093
|
+
args: [{ selector: 'igo-workspace-selector', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-entity-selector\r\n [store]=\"store\"\r\n [multi]=\"false\"\r\n [titleAccessor]=\"getWorkspaceTitle\"\r\n [disabled]=\"disabled\"\r\n (selectedChange)=\"onSelectedChange($event)\">\r\n</igo-entity-selector>\r\n", styles: ["igo-entity-selector ::ng-deep mat-form-field .mat-form-field-infix{padding:0}igo-entity-selector ::ng-deep mat-form-field .mat-form-field-wrapper{padding-bottom:1.75em}\n"] }]
|
|
9318
9094
|
}], null, { store: [{
|
|
9319
9095
|
type: Input
|
|
9320
9096
|
}], disabled: [{
|
|
@@ -9330,10 +9106,8 @@ class IgoWorkspaceSelectorModule {
|
|
|
9330
9106
|
}
|
|
9331
9107
|
IgoWorkspaceSelectorModule.ɵfac = function IgoWorkspaceSelectorModule_Factory(t) { return new (t || IgoWorkspaceSelectorModule)(); };
|
|
9332
9108
|
IgoWorkspaceSelectorModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoWorkspaceSelectorModule });
|
|
9333
|
-
IgoWorkspaceSelectorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
9334
|
-
|
|
9335
|
-
IgoEntitySelectorModule
|
|
9336
|
-
]] });
|
|
9109
|
+
IgoWorkspaceSelectorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
9110
|
+
IgoEntitySelectorModule] });
|
|
9337
9111
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoWorkspaceSelectorModule, [{
|
|
9338
9112
|
type: NgModule,
|
|
9339
9113
|
args: [{
|
|
@@ -9356,7 +9130,7 @@ function WorkspaceWidgetOutletComponent_ng_container_0_Template(rf, ctx) { if (r
|
|
|
9356
9130
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
9357
9131
|
i0.ɵɵelementContainerStart(0);
|
|
9358
9132
|
i0.ɵɵelementStart(1, "igo-widget-outlet", 1);
|
|
9359
|
-
i0.ɵɵlistener("cancel", function WorkspaceWidgetOutletComponent_ng_container_0_Template_igo_widget_outlet_cancel_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const widget_r1 = restoredCtx.ngIf; const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.onWidgetCancel(widget_r1); })("complete", function WorkspaceWidgetOutletComponent_ng_container_0_Template_igo_widget_outlet_complete_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const widget_r1 = restoredCtx.ngIf; const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.onWidgetComplete(widget_r1); });
|
|
9133
|
+
i0.ɵɵlistener("cancel", function WorkspaceWidgetOutletComponent_ng_container_0_Template_igo_widget_outlet_cancel_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const widget_r1 = restoredCtx.ngIf; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onWidgetCancel(widget_r1)); })("complete", function WorkspaceWidgetOutletComponent_ng_container_0_Template_igo_widget_outlet_complete_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const widget_r1 = restoredCtx.ngIf; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onWidgetComplete(widget_r1)); });
|
|
9360
9134
|
i0.ɵɵpipe(2, "async");
|
|
9361
9135
|
i0.ɵɵpipe(3, "async");
|
|
9362
9136
|
i0.ɵɵelementEnd();
|
|
@@ -9426,15 +9200,10 @@ WorkspaceWidgetOutletComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
9426
9200
|
i0.ɵɵpipe(1, "async");
|
|
9427
9201
|
} if (rf & 2) {
|
|
9428
9202
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.widget$));
|
|
9429
|
-
} },
|
|
9203
|
+
} }, dependencies: [i1.NgIf, WidgetOutletComponent, i1.AsyncPipe], styles: ["igo-widget-outlet[_ngcontent-%COMP%]{height:100%}"], changeDetection: 0 });
|
|
9430
9204
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceWidgetOutletComponent, [{
|
|
9431
9205
|
type: Component,
|
|
9432
|
-
args: [{
|
|
9433
|
-
selector: 'igo-workspace-widget-outlet',
|
|
9434
|
-
templateUrl: './workspace-widget-outlet.component.html',
|
|
9435
|
-
styleUrls: ['./workspace-widget-outlet.component.scss'],
|
|
9436
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
9437
|
-
}]
|
|
9206
|
+
args: [{ selector: 'igo-workspace-widget-outlet', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"widget$ | async as widget\">\r\n <igo-widget-outlet\r\n [widget]=\"widget\"\r\n [inputs]=\"widgetInputs$ | async\"\r\n [subscribers]=\"widgetSubscribers$ | async\"\r\n (cancel)=\"onWidgetCancel(widget)\"\r\n (complete)=\"onWidgetComplete(widget)\">\r\n </igo-widget-outlet>\r\n</ng-container>\r\n", styles: ["igo-widget-outlet{height:100%}\n"] }]
|
|
9438
9207
|
}], function () { return []; }, { workspace: [{
|
|
9439
9208
|
type: Input
|
|
9440
9209
|
}], deactivateWidget: [{
|
|
@@ -9448,10 +9217,8 @@ class IgoWorkspaceWidgetOutletModule {
|
|
|
9448
9217
|
}
|
|
9449
9218
|
IgoWorkspaceWidgetOutletModule.ɵfac = function IgoWorkspaceWidgetOutletModule_Factory(t) { return new (t || IgoWorkspaceWidgetOutletModule)(); };
|
|
9450
9219
|
IgoWorkspaceWidgetOutletModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoWorkspaceWidgetOutletModule });
|
|
9451
|
-
IgoWorkspaceWidgetOutletModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
9452
|
-
|
|
9453
|
-
IgoWidgetOutletModule
|
|
9454
|
-
]] });
|
|
9220
|
+
IgoWorkspaceWidgetOutletModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
9221
|
+
IgoWidgetOutletModule] });
|
|
9455
9222
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoWorkspaceWidgetOutletModule, [{
|
|
9456
9223
|
type: NgModule,
|
|
9457
9224
|
args: [{
|
|
@@ -9474,9 +9241,7 @@ class IgoWorkspaceModule {
|
|
|
9474
9241
|
}
|
|
9475
9242
|
IgoWorkspaceModule.ɵfac = function IgoWorkspaceModule_Factory(t) { return new (t || IgoWorkspaceModule)(); };
|
|
9476
9243
|
IgoWorkspaceModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoWorkspaceModule });
|
|
9477
|
-
IgoWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
9478
|
-
CommonModule
|
|
9479
|
-
], IgoWorkspaceSelectorModule,
|
|
9244
|
+
IgoWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, IgoWorkspaceSelectorModule,
|
|
9480
9245
|
IgoWorkspaceWidgetOutletModule] });
|
|
9481
9246
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoWorkspaceModule, [{
|
|
9482
9247
|
type: NgModule,
|
|
@@ -9695,4 +9460,4 @@ class Workspace {
|
|
|
9695
9460
|
*/
|
|
9696
9461
|
|
|
9697
9462
|
export { ActionStore, ActionbarComponent, ActionbarMode, BackdropComponent, ClickoutDirective, ClonePipe, CollapseDirective, CollapsibleComponent, ConfirmDialogComponent, ConfirmDialogService, ContextMenuDirective, CustomHtmlComponent, DOMService, DragAndDropDirective, DynamicComponent, DynamicComponentService, DynamicOutletComponent, EntityOperationType, EntitySelectorComponent, EntityStateManager, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityStoreStrategy, EntityStoreWatcher, EntityTableColumnRenderer, EntityTableComponent, EntityTablePaginatorComponent, EntityTableScrollBehavior, EntityTableSelectionState, EntityTransaction, EntityView, FlexibleComponent, FormComponent, FormFieldComponent, FormFieldSelectComponent, FormFieldService, FormFieldTextComponent, FormFieldTextareaComponent, FormGroupComponent, FormService, HomeButtonComponent, IgoActionModule, IgoActionbarModule, IgoBackdropModule, IgoBadgeIconDirective, IgoClickoutModule, IgoCloneModule, IgoCollapsibleModule, IgoConfirmDialogModule, IgoContextMenuModule, IgoCustomHtmlModule, IgoDOMModule, IgoDrapDropModule, IgoDynamicComponentModule, IgoDynamicOutletModule, IgoEntityModule, IgoEntitySelectorModule, IgoEntityTableModule, IgoEntityTablePaginatorModule, IgoFlexibleModule, IgoFormFieldComponent, IgoFormFieldModule, IgoFormFormModule, IgoFormGroupModule, IgoFormModule, IgoHomeButtonModule, IgoImageModule, IgoInteractiveTourModule, IgoJsonDialogModule, IgoKeyValueModule, IgoListModule, IgoMatBadgeIconModule, IgoPanelModule, IgoSidenavModule, IgoSpinnerModule, IgoStopPropagationModule, IgoTableModule, IgoToolModule, IgoToolboxModule, IgoWidgetModule, IgoWidgetOutletModule, IgoWorkspaceModule, IgoWorkspaceSelectorModule, IgoWorkspaceWidgetOutletModule, InteractiveTourComponent, InteractiveTourLoader, InteractiveTourService, JsonDialogComponent, JsonDialogService, KeyValuePipe, ListComponent, ListItemDirective, PanelComponent, SanitizeHtmlPipe, SecureImagePipe, SidenavShimDirective, SpinnerActivityDirective, SpinnerComponent, StopDropPropagationDirective, StopPropagationDirective, TableActionColor, TableComponent, TableDataSource, TableDatabase, ToolComponent, ToolService, Toolbox, ToolboxColor, ToolboxComponent, Widget, WidgetOutletComponent, WidgetService, Workspace, WorkspaceSelectorComponent, WorkspaceStore, WorkspaceWidgetOutletComponent, formControlIsRequired, getAllFormFields, getControlErrorMessage, getDefaultErrorMessages, getEntityIcon, getEntityId, getEntityProperty, getEntityRevision, getEntityTitle, getEntityTitleHtml, getFormFieldByName };
|
|
9698
|
-
//# sourceMappingURL=igo2-common.
|
|
9463
|
+
//# sourceMappingURL=igo2-common.mjs.map
|