@coolon/angular-ui-powerups 12.4.8 → 13.0.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/assets/activities/activities.scss +1 -1
- package/assets/cards.scss +1 -1
- package/assets/form.scss +1 -1
- package/assets/interaction/editor/inline-string-editor.scss +1 -1
- package/assets/interaction.scss +1 -1
- package/assets/mixins.scss +2 -2
- package/assets/pills.scss +1 -1
- package/assets/styles.scss +1 -1
- package/{esm2015/lib/angular-ui-powerups.module.js → esm2020/lib/angular-ui-powerups.module.mjs} +5 -5
- package/esm2020/lib/components/busy-overlay/busy-overlay.component.mjs +32 -0
- package/{esm2015/lib/components/cards/abstract-card-container.component.js → esm2020/lib/components/cards/abstract-card-container.component.mjs} +4 -4
- package/esm2020/lib/components/cards/card-container/card-container.component.mjs +129 -0
- package/esm2020/lib/components/cards/card-stack/card-stack.component.mjs +81 -0
- package/esm2020/lib/components/commands/command/command.component.mjs +96 -0
- package/{esm2015/lib/components/commands/command-face/command-face.component.js → esm2020/lib/components/commands/command-face/command-face.component.mjs} +5 -10
- package/esm2020/lib/components/commands/command-face.mjs +112 -0
- package/{esm2015/lib/components/commands/flex.component.js → esm2020/lib/components/commands/flex.component.mjs} +4 -4
- package/esm2020/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +84 -0
- package/esm2020/lib/components/commands/group/popup-menu/more-menu.component.mjs +57 -0
- package/esm2020/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +101 -0
- package/esm2020/lib/components/commands/group/popup-menu/popup-menu.component.mjs +53 -0
- package/esm2020/lib/components/commands/group/tool-bar/tool-bar.component.mjs +31 -0
- package/{esm2015/lib/components/commands/separator.component.js → esm2020/lib/components/commands/separator.component.mjs} +5 -5
- package/{esm2015/lib/components/components.module.js → esm2020/lib/components/components.module.mjs} +6 -6
- package/{esm2015/lib/components/disposable-component.js → esm2020/lib/components/disposable-component.mjs} +4 -4
- package/{esm2015/lib/components/empty-state/empty-state.component.js → esm2020/lib/components/empty-state/empty-state.component.mjs} +6 -10
- package/{esm2015/lib/components/focus-container/focus-container.component.js → esm2020/lib/components/focus-container/focus-container.component.mjs} +6 -11
- package/{esm2015/lib/components/focusable.component.js → esm2020/lib/components/focusable.component.mjs} +6 -8
- package/{esm2015/lib/components/forms/abstract-input.component.js → esm2020/lib/components/forms/abstract-input.component.mjs} +4 -4
- package/{esm2015/lib/components/forms/abstract-list-input.component.js → esm2020/lib/components/forms/abstract-list-input.component.mjs} +4 -4
- package/{esm2015/lib/components/forms/abstract-value-input.component.js → esm2020/lib/components/forms/abstract-value-input.component.mjs} +4 -4
- package/esm2020/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +72 -0
- package/esm2020/lib/components/forms/checkbox-input/checkbox-input.component.mjs +29 -0
- package/esm2020/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +52 -0
- package/esm2020/lib/components/forms/number-input/number-input.component.mjs +33 -0
- package/esm2020/lib/components/forms/password-input/password-input.component.mjs +24 -0
- package/esm2020/lib/components/forms/select-input/select-input.component.mjs +57 -0
- package/esm2020/lib/components/forms/string-input/string-input.component.mjs +48 -0
- package/esm2020/lib/components/forms/text-input/text-input.component.mjs +30 -0
- package/esm2020/lib/components/icon/icon.component.mjs +52 -0
- package/esm2020/lib/components/labelled-value/labelled-value.component.mjs +20 -0
- package/esm2020/lib/components/loading-container/loading-container.component.mjs +50 -0
- package/esm2020/lib/components/noop/noop.component.mjs +13 -0
- package/{esm2015/lib/components/resize-aware.component.js → esm2020/lib/components/resize-aware.component.mjs} +4 -4
- package/esm2020/lib/components/scroll-container/scroll-container.component.mjs +15 -0
- package/esm2020/lib/components/section-header/section-header.component.mjs +36 -0
- package/{esm2015/lib/components/switch-case/switch-case.component.js → esm2020/lib/components/switch-case/switch-case.component.mjs} +11 -15
- package/esm2020/lib/components/tables/abstract-table-model.mjs +185 -0
- package/esm2020/lib/components/tables/abstract-table.component.mjs +168 -0
- package/{esm2015/lib/components/tables/column-list-model.js → esm2020/lib/components/tables/column-list-model.mjs} +2 -2
- package/{esm2015/lib/components/tables/table/cell-portal-ref.js → esm2020/lib/components/tables/table/cell-portal-ref.mjs} +2 -2
- package/esm2020/lib/components/tables/table/column-model.mjs +392 -0
- package/esm2020/lib/components/tables/table/column-template/column-template.directive.mjs +35 -0
- package/esm2020/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.mjs +22 -0
- package/esm2020/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.mjs +15 -0
- package/esm2020/lib/components/tables/table/edit-row-controls/edit-row-controls.component.mjs +55 -0
- package/esm2020/lib/components/tables/table/paginator/paginator.component.mjs +40 -0
- package/esm2020/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.mjs +26 -0
- package/esm2020/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.mjs +31 -0
- package/esm2020/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.mjs +93 -0
- package/esm2020/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.mjs +32 -0
- package/{esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js → esm2020/lib/components/tables/table/table-row-menu/table-row-menu.component.mjs} +5 -5
- package/esm2020/lib/components/tables/table/table.component.mjs +95 -0
- package/esm2020/lib/components/tables/tree-table/decorated-tree-node.mjs +171 -0
- package/esm2020/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +72 -0
- package/esm2020/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +91 -0
- package/{esm2015/lib/components/tables/tree-table/tree-label-column-model.js → esm2020/lib/components/tables/tree-table/tree-label-column-model.mjs} +2 -2
- package/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +95 -0
- package/esm2020/lib/components/tables/tree-table/tree-table-model.mjs +94 -0
- package/{esm2015/lib/components/text/markdown/markdown.component.js → esm2020/lib/components/text/markdown/markdown.component.mjs} +6 -10
- package/{esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js → esm2020/lib/components/vertical-focus-container/vertical-focus-container.component.mjs} +6 -11
- package/{esm2015/lib/directives/command.directive.js → esm2020/lib/directives/command.directive.mjs} +4 -4
- package/{esm2015/lib/directives/directives.module.js → esm2020/lib/directives/directives.module.mjs} +5 -5
- package/{esm2015/lib/directives/focus-binding-factory.js → esm2020/lib/directives/focus-binding-factory.mjs} +4 -4
- package/{esm2015/lib/directives/focus-binding.directive.js → esm2020/lib/directives/focus-binding.directive.mjs} +4 -4
- package/{esm2015/lib/directives/highlight-text-model.directive.js → esm2020/lib/directives/highlight-text-model.directive.mjs} +4 -4
- package/{esm2015/lib/directives/highlight.pipe.js → esm2020/lib/directives/highlight.pipe.mjs} +7 -8
- package/esm2020/lib/interaction/activity.mjs +87 -0
- package/{esm2015/lib/interaction/alert.js → esm2020/lib/interaction/alert.mjs} +2 -2
- package/{esm2015/lib/interaction/components/abstract-confirm-dialog.component.js → esm2020/lib/interaction/components/abstract-confirm-dialog.component.mjs} +4 -4
- package/{esm2015/lib/interaction/components/abstract-dialog.component.js → esm2020/lib/interaction/components/abstract-dialog.component.mjs} +4 -4
- package/esm2020/lib/interaction/components/activity-actions/activity-actions.component.mjs +109 -0
- package/esm2020/lib/interaction/components/activity-body/activity-body.component.mjs +23 -0
- package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs +205 -0
- package/{esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js → esm2020/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs} +5 -9
- package/esm2020/lib/interaction/components/activity-title/activity-title.component.mjs +41 -0
- package/{esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js → esm2020/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs} +5 -6
- package/esm2020/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +24 -0
- package/esm2020/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +22 -0
- package/esm2020/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +30 -0
- package/esm2020/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +91 -0
- package/esm2020/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +73 -0
- package/esm2020/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +30 -0
- package/esm2020/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +30 -0
- package/esm2020/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +34 -0
- package/esm2020/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +29 -0
- package/esm2020/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +173 -0
- package/esm2020/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +91 -0
- package/esm2020/lib/interaction/components/input-activities/input-activity.mjs +103 -0
- package/{esm2015/lib/interaction/components/input-activities/select-input-activity.js → esm2020/lib/interaction/components/input-activities/select-input-activity.mjs} +6 -8
- package/{esm2015/lib/interaction/components/input-activities/string-input-activity.js → esm2020/lib/interaction/components/input-activities/string-input-activity.mjs} +4 -4
- package/{esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js → esm2020/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs} +5 -9
- package/{esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js → esm2020/lib/interaction/directives/interaction-context-trigger-for.directive.mjs} +5 -5
- package/{esm2015/lib/interaction/interaction.module.js → esm2020/lib/interaction/interaction.module.mjs} +5 -11
- package/{esm2015/lib/interaction/services/interaction.service.js → esm2020/lib/interaction/services/interaction.service.mjs} +4 -4
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +47 -0
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +61 -0
- package/{esm2015/lib/place/components/abstract-place-navigation.component.js → esm2020/lib/place/components/abstract-place-navigation.component.mjs} +4 -4
- package/esm2020/lib/place/components/list-place-nav/list-place-nav.component.mjs +23 -0
- package/esm2020/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +13 -0
- package/esm2020/lib/place/components/place-outlet/place-outlet.component.mjs +256 -0
- package/esm2020/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +93 -0
- package/esm2020/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +22 -0
- package/{esm2015/lib/place/guards/consolidated-param-map.js → esm2020/lib/place/guards/consolidated-param-map.mjs} +2 -2
- package/esm2020/lib/place/guards/noop-auth-guard.service.mjs +18 -0
- package/esm2020/lib/place/guards/place.guard.mjs +109 -0
- package/esm2020/lib/place/navigation/place-component-deactivation-handler.mjs +83 -0
- package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +43 -0
- package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +152 -0
- package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +62 -0
- package/{esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js → esm2020/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs} +2 -2
- package/esm2020/lib/place/navigation/session/navigation-session.mjs +157 -0
- package/esm2020/lib/place/place-component.mjs +198 -0
- package/{esm2015/lib/place/place-definition.js → esm2020/lib/place/place-definition.mjs} +2 -2
- package/esm2020/lib/place/place-history.mjs +138 -0
- package/esm2020/lib/place/place-router.mjs +331 -0
- package/esm2020/lib/place/place.decorator.mjs +18 -0
- package/{esm2015/lib/place/place.module.js → esm2020/lib/place/place.module.mjs} +5 -6
- package/{esm2015/lib/place/route/formatter.js → esm2020/lib/place/route/formatter.mjs} +2 -2
- package/esm2020/lib/place/route/parameter-definition.mjs +123 -0
- package/esm2020/lib/place/route/visit-sanitiser.mjs +41 -0
- package/{esm2015/lib/place/url-service.js → esm2020/lib/place/url-service.mjs} +4 -4
- package/{esm2015/lib/place/url-snapshot.js → esm2020/lib/place/url-snapshot.mjs} +2 -2
- package/esm2020/lib/place/visit.mjs +69 -0
- package/{esm2015/lib/services/markdown/markdown.service.js → esm2020/lib/services/markdown/markdown.service.mjs} +5 -5
- package/esm2020/lib/services/markdown/pill-plugin.mjs +37 -0
- package/{esm2015/lib/services/visibility-service.js → esm2020/lib/services/visibility-service.mjs} +4 -4
- package/fesm2015/{coolon-angular-ui-powerups.js → coolon-angular-ui-powerups.mjs} +1202 -1417
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -0
- package/fesm2020/coolon-angular-ui-powerups.mjs +9891 -0
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -0
- package/package.json +39 -26
- package/schematics/activity/index.js +3 -3
- package/schematics/activity/index.js.map +1 -1
- package/schematics/aup-i18n/index.js +7 -7
- package/schematics/aup-i18n/index.js.map +1 -1
- package/schematics/bootstrap-app/index.js +9 -9
- package/schematics/bootstrap-app/index.js.map +1 -1
- package/schematics/bootstrap-app/templates/src/styles.scss.template +2 -2
- package/schematics/component/index.js +3 -3
- package/schematics/component/index.js.map +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/place-add/index.js +3 -3
- package/schematics/place-add/index.js.map +1 -1
- package/schematics/place-bootstrap/index.js +1 -1
- package/schematics/place-bootstrap/index.js.map +1 -1
- package/schematics/place-routes/place-builder.js +6 -6
- package/schematics/place-routes/place-builder.js.map +1 -1
- package/schematics/place-routes/place-class-scanner.js +4 -4
- package/schematics/place-routes/place-class-scanner.js.map +1 -1
- package/schematics/place-routes/place-def.js +4 -4
- package/schematics/place-routes/place-def.js.map +1 -1
- package/schematics/utils/decorators/decorated-class.js +1 -1
- package/schematics/utils/decorators/decorated-class.js.map +1 -1
- package/schematics/utils/import-def.js +3 -3
- package/schematics/utils/import-def.js.map +1 -1
- package/schematics/utils/method-scanner.js +5 -5
- package/schematics/utils/method-scanner.js.map +1 -1
- package/schematics/utils/path-helper.js +3 -3
- package/schematics/utils/path-helper.js.map +1 -1
- package/schematics/utils/source-file-scanner.js +6 -6
- package/schematics/utils/source-file-scanner.js.map +1 -1
- package/schematics/utils/source-file-utilities.js +2 -2
- package/schematics/utils/source-file-utilities.js.map +1 -1
- package/schematics/utils/template-utilities.js +4 -4
- package/schematics/utils/template-utilities.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +0 -11847
- package/bundles/coolon-angular-ui-powerups.umd.js.map +0 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +0 -36
- package/esm2015/lib/components/cards/card-container/card-container.component.js +0 -133
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -85
- package/esm2015/lib/components/commands/command/command.component.js +0 -100
- package/esm2015/lib/components/commands/command-face.js +0 -112
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +0 -89
- package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.js +0 -61
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +0 -104
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.js +0 -58
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +0 -36
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -76
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +0 -33
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +0 -56
- package/esm2015/lib/components/forms/number-input/number-input.component.js +0 -37
- package/esm2015/lib/components/forms/password-input/password-input.component.js +0 -28
- package/esm2015/lib/components/forms/select-input/select-input.component.js +0 -61
- package/esm2015/lib/components/forms/string-input/string-input.component.js +0 -52
- package/esm2015/lib/components/forms/text-input/text-input.component.js +0 -34
- package/esm2015/lib/components/icon/icon.component.js +0 -56
- package/esm2015/lib/components/labelled-value/labelled-value.component.js +0 -24
- package/esm2015/lib/components/loading-container/loading-container.component.js +0 -54
- package/esm2015/lib/components/noop/noop.component.js +0 -17
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +0 -19
- package/esm2015/lib/components/section-header/section-header.component.js +0 -40
- package/esm2015/lib/components/tables/abstract-table-model.js +0 -188
- package/esm2015/lib/components/tables/abstract-table.component.js +0 -170
- package/esm2015/lib/components/tables/table/column-model.js +0 -389
- package/esm2015/lib/components/tables/table/column-template/column-template.directive.js +0 -36
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js +0 -26
- package/esm2015/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.js +0 -19
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +0 -60
- package/esm2015/lib/components/tables/table/paginator/paginator.component.js +0 -44
- package/esm2015/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.js +0 -32
- package/esm2015/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.js +0 -37
- package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js +0 -98
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +0 -36
- package/esm2015/lib/components/tables/table/table.component.js +0 -100
- package/esm2015/lib/components/tables/tree-table/decorated-tree-node.js +0 -171
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +0 -76
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +0 -96
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js +0 -100
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js +0 -94
- package/esm2015/lib/interaction/activity.js +0 -88
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +0 -113
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.js +0 -27
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +0 -214
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +0 -45
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +0 -28
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +0 -26
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +0 -34
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -95
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +0 -77
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +0 -34
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +0 -34
- package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js +0 -39
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +0 -33
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +0 -176
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +0 -96
- package/esm2015/lib/interaction/components/input-activities/input-activity.js +0 -107
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +0 -41
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +0 -58
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +0 -27
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +0 -17
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +0 -263
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +0 -97
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +0 -26
- package/esm2015/lib/place/guards/noop-auth-guard.service.js +0 -21
- package/esm2015/lib/place/guards/place.guard.js +0 -116
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js +0 -88
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +0 -46
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js +0 -159
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +0 -65
- package/esm2015/lib/place/navigation/session/navigation-session.js +0 -160
- package/esm2015/lib/place/place-component.js +0 -204
- package/esm2015/lib/place/place-history.js +0 -139
- package/esm2015/lib/place/place-router.js +0 -336
- package/esm2015/lib/place/place.decorator.js +0 -19
- package/esm2015/lib/place/route/parameter-definition.js +0 -128
- package/esm2015/lib/place/route/visit-sanitiser.js +0 -44
- package/esm2015/lib/place/visit.js +0 -69
- package/esm2015/lib/services/markdown/pill-plugin.js +0 -38
- package/fesm2015/coolon-angular-ui-powerups.js.map +0 -1
- /package/{esm2015/coolon-angular-ui-powerups.js → esm2020/coolon-angular-ui-powerups.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/lib/animations/exports.js → esm2020/lib/animations/exports.mjs} +0 -0
- /package/{esm2015/lib/animations/slide-animations.js → esm2020/lib/animations/slide-animations.mjs} +0 -0
- /package/{esm2015/lib/components/alignment.js → esm2020/lib/components/alignment.mjs} +0 -0
- /package/{esm2015/lib/components/commands/group/command-container.js → esm2020/lib/components/commands/group/command-container.mjs} +0 -0
- /package/{esm2015/lib/components/commands/group/popup-aware.component.js → esm2020/lib/components/commands/group/popup-aware.component.mjs} +0 -0
- /package/{esm2015/lib/components/commands/group/popup-container.js → esm2020/lib/components/commands/group/popup-container.mjs} +0 -0
- /package/{esm2015/lib/components/exports.js → esm2020/lib/components/exports.mjs} +0 -0
- /package/{esm2015/lib/components/tables/edit-session.js → esm2020/lib/components/tables/edit-session.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/cell-editors.js → esm2020/lib/components/tables/table/cell-editors.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/cell-renderer.js → esm2020/lib/components/tables/table/cell-renderer.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/column-text-properties.js → esm2020/lib/components/tables/table/column-text-properties.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/mutable-cell-renderer.js → esm2020/lib/components/tables/table/mutable-cell-renderer.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/table-def.js → esm2020/lib/components/tables/table/table-def.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/table-model.js → esm2020/lib/components/tables/table/table-model.mjs} +0 -0
- /package/{esm2015/lib/components/tables/table/text-search-predicate.js → esm2020/lib/components/tables/table/text-search-predicate.mjs} +0 -0
- /package/{esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js → esm2020/lib/components/tables/tree-table/flattened-tree-list-model.mjs} +0 -0
- /package/{esm2015/lib/components/tables/tree-table/tree-expansion-model.js → esm2020/lib/components/tables/tree-table/tree-expansion-model.mjs} +0 -0
- /package/{esm2015/lib/components/track-by.js → esm2020/lib/components/track-by.mjs} +0 -0
- /package/{esm2015/lib/components/types/bounds.class.js → esm2020/lib/components/types/bounds.class.mjs} +0 -0
- /package/{esm2015/lib/components/types/dimension.class.js → esm2020/lib/components/types/dimension.class.mjs} +0 -0
- /package/{esm2015/lib/components/types/point.class.js → esm2020/lib/components/types/point.class.mjs} +0 -0
- /package/{esm2015/lib/directives/exports.js → esm2020/lib/directives/exports.mjs} +0 -0
- /package/{esm2015/lib/directives/focus-binding.js → esm2020/lib/directives/focus-binding.mjs} +0 -0
- /package/{esm2015/lib/interaction/abstract-interaction-context.js → esm2020/lib/interaction/abstract-interaction-context.mjs} +0 -0
- /package/{esm2015/lib/interaction/activity-ref.js → esm2020/lib/interaction/activity-ref.mjs} +0 -0
- /package/{esm2015/lib/interaction/components/editors/edit-context.js → esm2020/lib/interaction/components/editors/edit-context.mjs} +0 -0
- /package/{esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js → esm2020/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs} +0 -0
- /package/{esm2015/lib/interaction/confirm.js → esm2020/lib/interaction/confirm.mjs} +0 -0
- /package/{esm2015/lib/interaction/exports.js → esm2020/lib/interaction/exports.mjs} +0 -0
- /package/{esm2015/lib/interaction/in-place-interaction-context.js → esm2020/lib/interaction/in-place-interaction-context.mjs} +0 -0
- /package/{esm2015/lib/interaction/interaction-context.js → esm2020/lib/interaction/interaction-context.mjs} +0 -0
- /package/{esm2015/lib/interaction/route-synchronisation-adapter.js → esm2020/lib/interaction/route-synchronisation-adapter.mjs} +0 -0
- /package/{esm2015/lib/interaction/services/interaction-service-routing-adapter.js → esm2020/lib/interaction/services/interaction-service-routing-adapter.mjs} +0 -0
- /package/{esm2015/lib/interaction/services/modal-interaction-context.factory.js → esm2020/lib/interaction/services/modal-interaction-context.factory.mjs} +0 -0
- /package/{esm2015/lib/place/components/place-outlet/route-animations.js → esm2020/lib/place/components/place-outlet/route-animations.mjs} +0 -0
- /package/{esm2015/lib/place/exports.js → esm2020/lib/place/exports.mjs} +0 -0
- /package/{esm2015/lib/place/nav-item.js → esm2020/lib/place/nav-item.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js → esm2020/lib/place/navigation/session/abstract-pop-state-navigation.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js → esm2020/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js → esm2020/lib/place/navigation/session/interactions/navigating-during-interaction.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js → esm2020/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js → esm2020/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/navigating.js → esm2020/lib/place/navigation/session/navigating.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/navigation-context.js → esm2020/lib/place/navigation/session/navigation-context.mjs} +0 -0
- /package/{esm2015/lib/place/navigation/session/pop-state-navigation.js → esm2020/lib/place/navigation/session/pop-state-navigation.mjs} +0 -0
- /package/{esm2015/lib/place/place-access-guard.js → esm2020/lib/place/place-access-guard.mjs} +0 -0
- /package/{esm2015/lib/place/place-config.js → esm2020/lib/place/place-config.mjs} +0 -0
- /package/{esm2015/lib/place/route/json-types.js → esm2020/lib/place/route/json-types.mjs} +0 -0
- /package/{esm2015/lib/place/route/parameter-decorators.js → esm2020/lib/place/route/parameter-decorators.mjs} +0 -0
- /package/{esm2015/lib/place/route/parameter-sanitiser.js → esm2020/lib/place/route/parameter-sanitiser.mjs} +0 -0
- /package/{esm2015/lib/place/route/parameter-snapshot.js → esm2020/lib/place/route/parameter-snapshot.mjs} +0 -0
- /package/{esm2015/lib/services/exports.js → esm2020/lib/services/exports.mjs} +0 -0
- /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
|
@@ -39,19 +39,19 @@ import * as i6 from '@angular/material/tooltip';
|
|
|
39
39
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
40
40
|
import * as i1$5 from '@fortawesome/angular-fontawesome';
|
|
41
41
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
42
|
-
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
43
42
|
import * as i1$7 from '@coolon/pectin';
|
|
44
43
|
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, DelegatingListModel, MutableValueModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Functions } from '@coolon/pectin';
|
|
45
44
|
import { __decorate, __param, __metadata, __awaiter } from 'tslib';
|
|
45
|
+
import { isEmpty, isString, isFunction, isNil, isInteger, findLast, isObject, isEqual, uniq, first, isNumber, isNaN as isNaN$1 } from 'lodash';
|
|
46
46
|
import * as i1$2 from '@angular/platform-browser';
|
|
47
|
-
import { isEmpty, isString, isFunction, isNil, isInteger, findLast, isObject, isEqual, first, uniq, isNumber, isNaN as isNaN$1 } from 'lodash-es';
|
|
48
47
|
import { marked } from 'marked';
|
|
48
|
+
import { lang as lang$1, assert as assert$1, Stringy, Opts, Klass } from '@coolon/typescript-utilities';
|
|
49
49
|
import { Memoize } from '@typescript-plus/fast-memoize-decorator';
|
|
50
50
|
import { Enum } from 'typescript-string-enums';
|
|
51
|
-
import { lang as lang$1, assert as assert$1, Stringy, Opts, Klass } from '@coolon/typescript-utilities';
|
|
52
51
|
import * as i3 from '@angular/material/core';
|
|
53
52
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
54
53
|
import produce from 'immer';
|
|
54
|
+
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
55
55
|
import * as i5$1 from '@angular/cdk/a11y';
|
|
56
56
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
57
57
|
import * as i4$2 from '@angular/flex-layout';
|
|
@@ -60,7 +60,6 @@ import * as i1$f from '@angular/material/dialog';
|
|
|
60
60
|
import { MatDialogModule, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
|
61
61
|
import * as i1$e from '@angular/router';
|
|
62
62
|
import { RouterModule, ActivatedRouteSnapshot, UrlSegment, NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
|
|
63
|
-
import { isFunction as isFunction$1 } from 'lodash';
|
|
64
63
|
import * as i1$d from '@angular/cdk/overlay';
|
|
65
64
|
import * as i2$4 from '@angular/material/list';
|
|
66
65
|
import { MatListModule } from '@angular/material/list';
|
|
@@ -155,26 +154,28 @@ class CommandDirective extends GarbageCollector {
|
|
|
155
154
|
}
|
|
156
155
|
}
|
|
157
156
|
}
|
|
158
|
-
CommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
159
|
-
CommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
157
|
+
CommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandDirective, deps: [{ token: ElementRef }, { token: i1.MatButton, host: true, optional: true }, { token: i1$1.MatMenuItem, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
158
|
+
CommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: CommandDirective, selector: "[pectinCommand]", inputs: { pectinCommand: "pectinCommand", commandParameter: "commandParameter" }, host: { listeners: { "click": "notifyClick($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandDirective, decorators: [{
|
|
161
160
|
type: Directive,
|
|
162
161
|
args: [{
|
|
163
162
|
// tslint:disable-next-line:directive-selector
|
|
164
163
|
selector: '[pectinCommand]'
|
|
165
164
|
}]
|
|
166
|
-
}], ctorParameters: function () {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
type:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
type:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
165
|
+
}], ctorParameters: function () {
|
|
166
|
+
return [{ type: i0.ElementRef, decorators: [{
|
|
167
|
+
type: Inject,
|
|
168
|
+
args: [ElementRef]
|
|
169
|
+
}] }, { type: i1.MatButton, decorators: [{
|
|
170
|
+
type: Host
|
|
171
|
+
}, {
|
|
172
|
+
type: Optional
|
|
173
|
+
}] }, { type: i1$1.MatMenuItem, decorators: [{
|
|
174
|
+
type: Host
|
|
175
|
+
}, {
|
|
176
|
+
type: Optional
|
|
177
|
+
}] }];
|
|
178
|
+
}, propDecorators: { pectinCommand: [{
|
|
178
179
|
type: Input
|
|
179
180
|
}], commandParameter: [{
|
|
180
181
|
type: Input
|
|
@@ -188,9 +189,9 @@ class DisposableComponent extends GarbageCollector {
|
|
|
188
189
|
this.dispose();
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
|
-
DisposableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
192
|
-
DisposableComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
192
|
+
DisposableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DisposableComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
193
|
+
DisposableComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: DisposableComponent, usesInheritance: true, ngImport: i0 });
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DisposableComponent, decorators: [{
|
|
194
195
|
type: Directive
|
|
195
196
|
}] });
|
|
196
197
|
|
|
@@ -279,20 +280,22 @@ class FocusBindingFactory {
|
|
|
279
280
|
return new FocusBinding(el, this.ngZone, this.document, focusContext);
|
|
280
281
|
}
|
|
281
282
|
}
|
|
282
|
-
FocusBindingFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
283
|
-
FocusBindingFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
283
|
+
FocusBindingFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingFactory, deps: [{ token: NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
284
|
+
FocusBindingFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingFactory, providedIn: 'root' });
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingFactory, decorators: [{
|
|
285
286
|
type: Injectable,
|
|
286
287
|
args: [{
|
|
287
288
|
providedIn: 'root'
|
|
288
289
|
}]
|
|
289
|
-
}], ctorParameters: function () {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
type:
|
|
294
|
-
|
|
295
|
-
|
|
290
|
+
}], ctorParameters: function () {
|
|
291
|
+
return [{ type: i0.NgZone, decorators: [{
|
|
292
|
+
type: Inject,
|
|
293
|
+
args: [NgZone]
|
|
294
|
+
}] }, { type: undefined, decorators: [{
|
|
295
|
+
type: Inject,
|
|
296
|
+
args: [DOCUMENT]
|
|
297
|
+
}] }];
|
|
298
|
+
} });
|
|
296
299
|
|
|
297
300
|
class FocusBindingDirective extends DisposableComponent {
|
|
298
301
|
constructor(el, focusBindingFactory) {
|
|
@@ -327,18 +330,20 @@ class FocusBindingDirective extends DisposableComponent {
|
|
|
327
330
|
return this.focusBindingTarget || this.el.nativeElement;
|
|
328
331
|
}
|
|
329
332
|
}
|
|
330
|
-
FocusBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
331
|
-
FocusBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
333
|
+
FocusBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingDirective, deps: [{ token: ElementRef }, { token: FocusBindingFactory }], target: i0.ɵɵFactoryTarget.Directive });
|
|
334
|
+
FocusBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: { pectinFocusBinding: "pectinFocusBinding", focusBindingTarget: "focusBindingTarget" }, host: { listeners: { "focusin": "onFocusIn()", "focusout": "onFocusOut()" } }, usesInheritance: true, ngImport: i0 });
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingDirective, decorators: [{
|
|
333
336
|
type: Directive,
|
|
334
337
|
args: [{
|
|
335
338
|
// tslint:disable-next-line:directive-selector
|
|
336
339
|
selector: '[pectinFocusBinding]'
|
|
337
340
|
}]
|
|
338
|
-
}], ctorParameters: function () {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
341
|
+
}], ctorParameters: function () {
|
|
342
|
+
return [{ type: i0.ElementRef, decorators: [{
|
|
343
|
+
type: Inject,
|
|
344
|
+
args: [ElementRef]
|
|
345
|
+
}] }, { type: FocusBindingFactory }];
|
|
346
|
+
}, propDecorators: { pectinFocusBinding: [{
|
|
342
347
|
type: Input
|
|
343
348
|
}], focusBindingTarget: [{
|
|
344
349
|
type: Input
|
|
@@ -358,13 +363,13 @@ class HighlightTextModelDirective extends GarbageCollector {
|
|
|
358
363
|
this.dispose();
|
|
359
364
|
}
|
|
360
365
|
}
|
|
361
|
-
HighlightTextModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
362
|
-
HighlightTextModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
366
|
+
HighlightTextModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightTextModelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
367
|
+
HighlightTextModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: { aupHighlightTextModel: "aupHighlightTextModel" }, usesInheritance: true, ngImport: i0 });
|
|
363
368
|
__decorate([
|
|
364
369
|
TrackExternal(),
|
|
365
370
|
__metadata("design:type", ValueModel)
|
|
366
371
|
], HighlightTextModelDirective.prototype, "aupHighlightTextModel", void 0);
|
|
367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightTextModelDirective, decorators: [{
|
|
368
373
|
type: Directive,
|
|
369
374
|
args: [{
|
|
370
375
|
selector: '[aupHighlightTextModel]'
|
|
@@ -400,22 +405,24 @@ class HighlightPipe extends GarbageCollector {
|
|
|
400
405
|
return this.sanitizer.bypassSecurityTrustHtml(result);
|
|
401
406
|
}
|
|
402
407
|
}
|
|
403
|
-
HighlightPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
404
|
-
HighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
408
|
+
HighlightPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightPipe, deps: [{ token: i1$2.DomSanitizer }, { token: HighlightTextModelDirective, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
409
|
+
HighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightPipe, name: "aupHighlight", pure: false });
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightPipe, decorators: [{
|
|
406
411
|
type: Pipe,
|
|
407
412
|
args: [{
|
|
408
413
|
name: 'aupHighlight',
|
|
409
414
|
pure: false
|
|
410
415
|
}]
|
|
411
|
-
}], ctorParameters: function () {
|
|
412
|
-
|
|
413
|
-
|
|
416
|
+
}], ctorParameters: function () {
|
|
417
|
+
return [{ type: i1$2.DomSanitizer }, { type: HighlightTextModelDirective, decorators: [{
|
|
418
|
+
type: Optional
|
|
419
|
+
}] }];
|
|
420
|
+
} });
|
|
414
421
|
|
|
415
422
|
class DirectivesModule {
|
|
416
423
|
}
|
|
417
|
-
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
418
|
-
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
424
|
+
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
425
|
+
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, declarations: [CommandDirective,
|
|
419
426
|
FocusBindingDirective,
|
|
420
427
|
HighlightPipe,
|
|
421
428
|
HighlightTextModelDirective], imports: [CommonModule,
|
|
@@ -428,7 +435,7 @@ DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
428
435
|
FocusBindingDirective,
|
|
429
436
|
HighlightPipe,
|
|
430
437
|
HighlightTextModelDirective] });
|
|
431
|
-
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
438
|
+
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, imports: [[
|
|
432
439
|
CommonModule,
|
|
433
440
|
BrowserAnimationsModule,
|
|
434
441
|
FormsModule,
|
|
@@ -437,7 +444,7 @@ DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
437
444
|
MatSelectModule,
|
|
438
445
|
MatTabsModule
|
|
439
446
|
]] });
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, decorators: [{
|
|
441
448
|
type: NgModule,
|
|
442
449
|
args: [{
|
|
443
450
|
declarations: [
|
|
@@ -519,9 +526,9 @@ class MarkdownService {
|
|
|
519
526
|
});
|
|
520
527
|
}
|
|
521
528
|
}
|
|
522
|
-
MarkdownService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
523
|
-
MarkdownService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
529
|
+
MarkdownService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
530
|
+
MarkdownService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownService });
|
|
531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownService, decorators: [{
|
|
525
532
|
type: Injectable
|
|
526
533
|
}], ctorParameters: function () { return []; } });
|
|
527
534
|
|
|
@@ -532,8 +539,8 @@ class BusyOverlayComponent extends GarbageCollector {
|
|
|
532
539
|
ngOnInit() {
|
|
533
540
|
}
|
|
534
541
|
}
|
|
535
|
-
BusyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
536
|
-
BusyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
542
|
+
BusyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BusyOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
543
|
+
BusyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: { busyModel: "busyModel", busy: "busy" }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n", styles: [":host{position:relative;display:flex;flex-direction:column;align-items:stretch}div.busy-overlay-backdrop{z-index:var(--aup-busy-overlay-z-index, 10);position:absolute;background-color:#0003;top:0;left:0;bottom:0;right:0;display:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}\n"], components: [{ type: i1$3.MatProgressSpinner, selector: "mat-progress-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
537
544
|
__decorate([
|
|
538
545
|
TrackExternal(),
|
|
539
546
|
__metadata("design:type", ValueModel)
|
|
@@ -542,19 +549,43 @@ __decorate([
|
|
|
542
549
|
StoreInValueModel('busyModel'),
|
|
543
550
|
__metadata("design:type", Boolean)
|
|
544
551
|
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BusyOverlayComponent, decorators: [{
|
|
546
553
|
type: Component,
|
|
547
|
-
args: [{
|
|
548
|
-
selector: 'aup-busy-overlay',
|
|
549
|
-
templateUrl: `./busy-overlay.component.html`,
|
|
550
|
-
styleUrls: ['./busy-overlay.component.scss']
|
|
551
|
-
}]
|
|
554
|
+
args: [{ selector: 'aup-busy-overlay', template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n", styles: [":host{position:relative;display:flex;flex-direction:column;align-items:stretch}div.busy-overlay-backdrop{z-index:var(--aup-busy-overlay-z-index, 10);position:absolute;background-color:#0003;top:0;left:0;bottom:0;right:0;display:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}\n"] }]
|
|
552
555
|
}], ctorParameters: function () { return []; }, propDecorators: { busyModel: [{
|
|
553
556
|
type: Input
|
|
554
557
|
}], busy: [{
|
|
555
558
|
type: Input
|
|
556
559
|
}] } });
|
|
557
560
|
|
|
561
|
+
class AbstractCardContainerComponent extends DisposableComponent {
|
|
562
|
+
constructor() {
|
|
563
|
+
super();
|
|
564
|
+
}
|
|
565
|
+
ngOnInit() {
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
AbstractCardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractCardContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
569
|
+
AbstractCardContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractCardContainerComponent, selector: "aup-abstract-card-container", inputs: { addCardCommand: "addCardCommand", addCardFace: "addCardFace" }, queries: [{ propertyName: "addCardTemplate", first: true, predicate: ["addCardTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
570
|
+
__decorate([
|
|
571
|
+
TrackExternal(),
|
|
572
|
+
__metadata("design:type", Command)
|
|
573
|
+
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractCardContainerComponent, decorators: [{
|
|
575
|
+
type: Component,
|
|
576
|
+
args: [{
|
|
577
|
+
selector: 'aup-abstract-card-container',
|
|
578
|
+
template: '',
|
|
579
|
+
}]
|
|
580
|
+
}], ctorParameters: function () { return []; }, propDecorators: { addCardCommand: [{
|
|
581
|
+
type: Input
|
|
582
|
+
}], addCardFace: [{
|
|
583
|
+
type: Input
|
|
584
|
+
}], addCardTemplate: [{
|
|
585
|
+
type: ContentChild,
|
|
586
|
+
args: ['addCardTemplate']
|
|
587
|
+
}] } });
|
|
588
|
+
|
|
558
589
|
var CommandFace;
|
|
559
590
|
(function (CommandFace) {
|
|
560
591
|
let Position;
|
|
@@ -663,34 +694,6 @@ var CommandFace;
|
|
|
663
694
|
CommandFace.Adapter = Adapter;
|
|
664
695
|
})(CommandFace || (CommandFace = {}));
|
|
665
696
|
|
|
666
|
-
class AbstractCardContainerComponent extends DisposableComponent {
|
|
667
|
-
constructor() {
|
|
668
|
-
super();
|
|
669
|
-
}
|
|
670
|
-
ngOnInit() {
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
AbstractCardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractCardContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
674
|
-
AbstractCardContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: AbstractCardContainerComponent, selector: "aup-abstract-card-container", inputs: { addCardCommand: "addCardCommand", addCardFace: "addCardFace" }, queries: [{ propertyName: "addCardTemplate", first: true, predicate: ["addCardTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
675
|
-
__decorate([
|
|
676
|
-
TrackExternal(),
|
|
677
|
-
__metadata("design:type", Command)
|
|
678
|
-
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractCardContainerComponent, decorators: [{
|
|
680
|
-
type: Component,
|
|
681
|
-
args: [{
|
|
682
|
-
selector: 'aup-abstract-card-container',
|
|
683
|
-
template: '',
|
|
684
|
-
}]
|
|
685
|
-
}], ctorParameters: function () { return []; }, propDecorators: { addCardCommand: [{
|
|
686
|
-
type: Input
|
|
687
|
-
}], addCardFace: [{
|
|
688
|
-
type: Input
|
|
689
|
-
}], addCardTemplate: [{
|
|
690
|
-
type: ContentChild,
|
|
691
|
-
args: ['addCardTemplate']
|
|
692
|
-
}] } });
|
|
693
|
-
|
|
694
697
|
class IconComponent {
|
|
695
698
|
constructor() {
|
|
696
699
|
this.allowedPrefixes = Enum.values(IconComponent.IconPrefix).map(p => `${p}:`);
|
|
@@ -720,15 +723,11 @@ class IconComponent {
|
|
|
720
723
|
return this.suffix;
|
|
721
724
|
}
|
|
722
725
|
}
|
|
723
|
-
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
724
|
-
IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
726
|
+
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
727
|
+
IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: IconComponent, selector: "aup-icon", inputs: { icon: "icon" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"iconPrefix.SVG\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"iconPrefix.MATERIAL\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"iconPrefix.FONT_AWESOME\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"faIcon\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n", styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}\n"], components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1$5.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], directives: [{ type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconComponent, decorators: [{
|
|
726
729
|
type: Component,
|
|
727
|
-
args: [{
|
|
728
|
-
selector: 'aup-icon',
|
|
729
|
-
templateUrl: './icon.component.html',
|
|
730
|
-
styleUrls: ['./icon.component.scss']
|
|
731
|
-
}]
|
|
730
|
+
args: [{ selector: 'aup-icon', template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"iconPrefix.SVG\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"iconPrefix.MATERIAL\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"iconPrefix.FONT_AWESOME\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"faIcon\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n", styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}\n"] }]
|
|
732
731
|
}], propDecorators: { icon: [{
|
|
733
732
|
type: Input
|
|
734
733
|
}] } });
|
|
@@ -784,20 +783,15 @@ class CommandFaceComponent extends DisposableComponent {
|
|
|
784
783
|
return this.activeColor.value;
|
|
785
784
|
}
|
|
786
785
|
}
|
|
787
|
-
CommandFaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
788
|
-
CommandFaceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
786
|
+
CommandFaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandFaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
787
|
+
CommandFaceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: CommandFaceComponent, selector: "aup-command-face", inputs: { _rawFaces: ["faces", "_rawFaces"], face: "face", ignoreIcon: "ignoreIcon", ignoreText: "ignoreText", includeMissingIconInLayout: "includeMissingIconInLayout" }, host: { properties: { "class.hide-icon": "this.requiresMissingIconInLayout", "attr.color": "this.color" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"face-container\" *ngFor=\"let face of faceAdapters.value\">\n <aup-icon *ngIf=\"hasIconStart(face)\" [icon]=\"face.icon\"></aup-icon>\n <span *ngIf=\"face.text\">{{face.text}}</span>\n <aup-icon *ngIf=\"hasIconEnd(face)\" [icon]=\"face.icon\"></aup-icon>\n</div>\n", styles: ["aup-command-face{--icon-gap: var(--aup-command-face-icon-gap);display:inline-grid}aup-command-face>.face-container{grid-column:1;grid-row:1;display:inline-flex;flex-direction:row;align-items:center}aup-command-face>.face-container:not(:first-child){visibility:hidden}aup-command-face>.face-container *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}aup-command-face.centered{justify-items:center}aup-command-face.start{justify-items:self-start}aup-command-face.end{justify-items:self-end}\n"], components: [{ type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
789
788
|
__decorate([
|
|
790
789
|
StoreInListModel('facesModel'),
|
|
791
790
|
__metadata("design:type", Array)
|
|
792
791
|
], CommandFaceComponent.prototype, "_rawFaces", void 0);
|
|
793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandFaceComponent, decorators: [{
|
|
794
793
|
type: Component,
|
|
795
|
-
args: [{
|
|
796
|
-
selector: 'aup-command-face',
|
|
797
|
-
templateUrl: './command-face.component.html',
|
|
798
|
-
styleUrls: ['./command-face.component.scss'],
|
|
799
|
-
encapsulation: ViewEncapsulation.None
|
|
800
|
-
}]
|
|
794
|
+
args: [{ selector: 'aup-command-face', encapsulation: ViewEncapsulation.None, template: "<div class=\"face-container\" *ngFor=\"let face of faceAdapters.value\">\n <aup-icon *ngIf=\"hasIconStart(face)\" [icon]=\"face.icon\"></aup-icon>\n <span *ngIf=\"face.text\">{{face.text}}</span>\n <aup-icon *ngIf=\"hasIconEnd(face)\" [icon]=\"face.icon\"></aup-icon>\n</div>\n", styles: ["aup-command-face{--icon-gap: var(--aup-command-face-icon-gap);display:inline-grid}aup-command-face>.face-container{grid-column:1;grid-row:1;display:inline-flex;flex-direction:row;align-items:center}aup-command-face>.face-container:not(:first-child){visibility:hidden}aup-command-face>.face-container *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}aup-command-face.centered{justify-items:center}aup-command-face.start{justify-items:self-start}aup-command-face.end{justify-items:self-end}\n"] }]
|
|
801
795
|
}], ctorParameters: function () { return []; }, propDecorators: { _rawFaces: [{
|
|
802
796
|
type: Input,
|
|
803
797
|
args: ['faces']
|
|
@@ -822,15 +816,11 @@ class ScrollContainerComponent {
|
|
|
822
816
|
ngOnInit() {
|
|
823
817
|
}
|
|
824
818
|
}
|
|
825
|
-
ScrollContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
826
|
-
ScrollContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
819
|
+
ScrollContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
820
|
+
ScrollContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ScrollContainerComponent, selector: "aup-scroll-container", ngImport: i0, template: "<div class=\"container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}\n"], directives: [{ type: i1$6.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }] });
|
|
821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollContainerComponent, decorators: [{
|
|
828
822
|
type: Component,
|
|
829
|
-
args: [{
|
|
830
|
-
selector: 'aup-scroll-container',
|
|
831
|
-
templateUrl: './scroll-container.component.html',
|
|
832
|
-
styleUrls: ['./scroll-container.component.scss']
|
|
833
|
-
}]
|
|
823
|
+
args: [{ selector: 'aup-scroll-container', template: "<div class=\"container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}\n"] }]
|
|
834
824
|
}], ctorParameters: function () { return []; } });
|
|
835
825
|
|
|
836
826
|
/**
|
|
@@ -935,15 +925,11 @@ class CardContainerComponent extends AbstractCardContainerComponent {
|
|
|
935
925
|
}
|
|
936
926
|
}
|
|
937
927
|
}
|
|
938
|
-
CardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
939
|
-
CardContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
928
|
+
CardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardContainerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
929
|
+
CardContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: CardContainerComponent, selector: "aup-card-container", inputs: { columnCount: "columnCount", enabledScroll: "enabledScroll" }, host: { properties: { "class.auto-columns": "this.isAutoColumns", "class.single-column": "this.isSingleColumn" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"header-container\">\n <ng-content select=\"[card-container-header]\"></ng-content>\n</div>\n\n<ng-template #content>\n <div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n </div>\n</ng-template>\n\n<div class=\"no-scroll-container\" *ngIf=\"!enabledScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</div>\n\n<aup-scroll-container *ngIf=\"enabledScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aup-scroll-container>\n\n<div class=\"footer-container\">\n <ng-content select=\"[card-container-footer]\"></ng-content>\n</div>\n\n", styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-width: var(--card-width, 300px);--resolved-card-max-width: var(--card-max-width, auto);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, var(--aup-card-container-default-background-color));flex:1;display:flex;flex-direction:column;align-items:stretch;background:var(--resolved-card-background)}:host.auto-columns .card-container{grid-template-columns:repeat(auto-fit,minmax(var(--resolved-card-width),var(--resolved-card-max-width)));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap))}:host:not(.auto-columns) .card-container{grid-template-columns:repeat(var(--aup-card-container-column-count),1fr)}.card-container{display:grid;box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));max-width:100%;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap)}aup-scroll-container,.no-scroll-container{flex:1}.add-card-container{height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"], components: [{ type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { type: ScrollContainerComponent, selector: "aup-scroll-container" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardContainerComponent, decorators: [{
|
|
941
931
|
type: Component,
|
|
942
|
-
args: [{
|
|
943
|
-
selector: 'aup-card-container',
|
|
944
|
-
templateUrl: './card-container.component.html',
|
|
945
|
-
styleUrls: ['./card-container.component.scss']
|
|
946
|
-
}]
|
|
932
|
+
args: [{ selector: 'aup-card-container', template: "<div class=\"header-container\">\n <ng-content select=\"[card-container-header]\"></ng-content>\n</div>\n\n<ng-template #content>\n <div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n </div>\n</ng-template>\n\n<div class=\"no-scroll-container\" *ngIf=\"!enabledScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</div>\n\n<aup-scroll-container *ngIf=\"enabledScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aup-scroll-container>\n\n<div class=\"footer-container\">\n <ng-content select=\"[card-container-footer]\"></ng-content>\n</div>\n\n", styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-width: var(--card-width, 300px);--resolved-card-max-width: var(--card-max-width, auto);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, var(--aup-card-container-default-background-color));flex:1;display:flex;flex-direction:column;align-items:stretch;background:var(--resolved-card-background)}:host.auto-columns .card-container{grid-template-columns:repeat(auto-fit,minmax(var(--resolved-card-width),var(--resolved-card-max-width)));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap))}:host:not(.auto-columns) .card-container{grid-template-columns:repeat(var(--aup-card-container-column-count),1fr)}.card-container{display:grid;box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));max-width:100%;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap)}aup-scroll-container,.no-scroll-container{flex:1}.add-card-container{height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"] }]
|
|
947
933
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { columnCount: [{
|
|
948
934
|
type: Input
|
|
949
935
|
}], enabledScroll: [{
|
|
@@ -1023,15 +1009,11 @@ class CardStackComponent extends AbstractCardContainerComponent {
|
|
|
1023
1009
|
console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
|
|
1024
1010
|
}
|
|
1025
1011
|
}
|
|
1026
|
-
CardStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1027
|
-
CardStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1012
|
+
CardStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1013
|
+
CardStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: CardStackComponent, selector: "aup-card-stack", usesInheritance: true, ngImport: i0, template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n", styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{display:flex;flex-direction:column;align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"], components: [{ type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardStackComponent, decorators: [{
|
|
1029
1015
|
type: Component,
|
|
1030
|
-
args: [{
|
|
1031
|
-
selector: 'aup-card-stack',
|
|
1032
|
-
templateUrl: './card-stack.component.html',
|
|
1033
|
-
styleUrls: ['./card-stack.component.scss']
|
|
1034
|
-
}]
|
|
1016
|
+
args: [{ selector: 'aup-card-stack', template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n", styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{display:flex;flex-direction:column;align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"] }]
|
|
1035
1017
|
}], ctorParameters: function () { return []; } });
|
|
1036
1018
|
|
|
1037
1019
|
const HorizontalAlignment = Enum({
|
|
@@ -1102,8 +1084,8 @@ class CommandComponent extends PopupAwareComponent {
|
|
|
1102
1084
|
return this.face;
|
|
1103
1085
|
}
|
|
1104
1086
|
}
|
|
1105
|
-
CommandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1106
|
-
CommandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1087
|
+
CommandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandComponent, deps: [{ token: i0.ElementRef }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1088
|
+
CommandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: CommandComponent, selector: "aup-command", inputs: { command: "command", faceModel: "faceModel", face: "face", busyFaceModel: "busyFaceModel", busyFace: "busyFace", alignFace: "alignFace" }, host: { properties: { "class": "this.alignFace" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"iconOnly$.value\">\n <button mat-icon-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n</ng-container>\n<ng-container *ngIf=\"!iconOnly$.value\">\n <ng-container [ngSwitch]=\"buttonStyle$.value\">\n <ng-container *ngSwitchCase=\"CommandFace.Style.STROKED\">\n <button mat-stroked-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFace.Style.RAISED\">\n <button mat-raised-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}button{flex:1}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
1107
1089
|
__decorate([
|
|
1108
1090
|
TrackExternal(),
|
|
1109
1091
|
__metadata("design:type", Command)
|
|
@@ -1124,19 +1106,17 @@ __decorate([
|
|
|
1124
1106
|
StoreInValueModel('busyFaceModel'),
|
|
1125
1107
|
__metadata("design:type", Object)
|
|
1126
1108
|
], CommandComponent.prototype, "busyFace", void 0);
|
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandComponent, decorators: [{
|
|
1128
1110
|
type: Component,
|
|
1129
|
-
args: [{
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
type: Optional
|
|
1139
|
-
}] }]; }, propDecorators: { command: [{
|
|
1111
|
+
args: [{ selector: 'aup-command', template: "<ng-container *ngIf=\"iconOnly$.value\">\n <button mat-icon-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n</ng-container>\n<ng-container *ngIf=\"!iconOnly$.value\">\n <ng-container [ngSwitch]=\"buttonStyle$.value\">\n <ng-container *ngSwitchCase=\"CommandFace.Style.STROKED\">\n <button mat-stroked-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFace.Style.RAISED\">\n <button mat-raised-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-button [pectinCommand]=\"command\" [color]=\"color$.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}button{flex:1}\n"] }]
|
|
1112
|
+
}], ctorParameters: function () {
|
|
1113
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1114
|
+
type: Inject,
|
|
1115
|
+
args: [POPUP_CONTAINER]
|
|
1116
|
+
}, {
|
|
1117
|
+
type: Optional
|
|
1118
|
+
}] }];
|
|
1119
|
+
}, propDecorators: { command: [{
|
|
1140
1120
|
type: Input
|
|
1141
1121
|
}], faceModel: [{
|
|
1142
1122
|
type: Input
|
|
@@ -1163,9 +1143,9 @@ class FlexComponent extends DisposableComponent {
|
|
|
1163
1143
|
ngOnInit() {
|
|
1164
1144
|
}
|
|
1165
1145
|
}
|
|
1166
|
-
FlexComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1167
|
-
FlexComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1146
|
+
FlexComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FlexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1147
|
+
FlexComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FlexComponent, selector: "aup-flex", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FlexComponent, decorators: [{
|
|
1169
1149
|
type: Component,
|
|
1170
1150
|
args: [{
|
|
1171
1151
|
selector: 'aup-flex',
|
|
@@ -1222,8 +1202,8 @@ class AbstractPopupMenuComponent extends PopupAwareComponent {
|
|
|
1222
1202
|
return this.faceAdapter.face;
|
|
1223
1203
|
}
|
|
1224
1204
|
}
|
|
1225
|
-
AbstractPopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1226
|
-
AbstractPopupMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1205
|
+
AbstractPopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPopupMenuComponent, deps: [{ token: i0.ElementRef }, { token: POPUP_CONTAINER }], target: i0.ɵɵFactoryTarget.Component });
|
|
1206
|
+
AbstractPopupMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractPopupMenuComponent, selector: "aup-abstract-popup-menu", inputs: { xPosition: "xPosition", yPosition: "yPosition", enabled: "enabled", enabledModel: "enabledModel" }, viewQueries: [{ propertyName: "triggers", predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1227
1207
|
__decorate([
|
|
1228
1208
|
StoreInValueModel('enabledModel'),
|
|
1229
1209
|
__metadata("design:type", Boolean)
|
|
@@ -1232,17 +1212,15 @@ __decorate([
|
|
|
1232
1212
|
TrackExternal({ defaultValue: true }),
|
|
1233
1213
|
__metadata("design:type", ValueModel)
|
|
1234
1214
|
], AbstractPopupMenuComponent.prototype, "enabledModel", void 0);
|
|
1235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPopupMenuComponent, decorators: [{
|
|
1236
1216
|
type: Component,
|
|
1237
|
-
args: [{
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
args: [POPUP_CONTAINER]
|
|
1245
|
-
}] }]; }, propDecorators: { xPosition: [{
|
|
1217
|
+
args: [{ selector: 'aup-abstract-popup-menu', template: '', styles: [] }]
|
|
1218
|
+
}], ctorParameters: function () {
|
|
1219
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1220
|
+
type: Inject,
|
|
1221
|
+
args: [POPUP_CONTAINER]
|
|
1222
|
+
}] }];
|
|
1223
|
+
}, propDecorators: { xPosition: [{
|
|
1246
1224
|
type: Input
|
|
1247
1225
|
}], yPosition: [{
|
|
1248
1226
|
type: Input
|
|
@@ -1316,16 +1294,11 @@ class ToolBarComponent extends CommandContainer {
|
|
|
1316
1294
|
ngAfterViewInit() {
|
|
1317
1295
|
}
|
|
1318
1296
|
}
|
|
1319
|
-
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1320
|
-
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1297
|
+
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToolBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1298
|
+
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ToolBarComponent, selector: "aup-tool-bar", usesInheritance: true, ngImport: i0, template: '<div class="toolbar-content"><ng-content></ng-content></div>', isInline: true, styles: [":host{display:inline-block}.toolbar-content{display:inline-flex;flex-direction:row;align-items:center}.toolbar-content>aup-separator{align-self:stretch;margin:4px 0 4px 8px}.toolbar-content>aup-flex{flex:1}.toolbar-content>*+*{margin-left:8px}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
1299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
1322
1300
|
type: Component,
|
|
1323
|
-
args: [{
|
|
1324
|
-
selector: 'aup-tool-bar',
|
|
1325
|
-
template: '<div class="toolbar-content"><ng-content></ng-content></div>',
|
|
1326
|
-
styleUrls: ['./tool-bar.component.scss'],
|
|
1327
|
-
encapsulation: ViewEncapsulation.None
|
|
1328
|
-
}]
|
|
1301
|
+
args: [{ selector: 'aup-tool-bar', template: '<div class="toolbar-content"><ng-content></ng-content></div>', encapsulation: ViewEncapsulation.None, styles: [":host{display:inline-block}.toolbar-content{display:inline-flex;flex-direction:row;align-items:center}.toolbar-content>aup-separator{align-self:stretch;margin:4px 0 4px 8px}.toolbar-content>aup-flex{flex:1}.toolbar-content>*+*{margin-left:8px}\n"] }]
|
|
1329
1302
|
}], ctorParameters: function () { return []; } });
|
|
1330
1303
|
|
|
1331
1304
|
/**
|
|
@@ -1342,10 +1315,10 @@ class SeparatorComponent extends PopupAwareComponent {
|
|
|
1342
1315
|
ngOnInit() {
|
|
1343
1316
|
}
|
|
1344
1317
|
}
|
|
1345
|
-
SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1346
|
-
SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1347
|
-
<mat-divider [vertical]="!isHorizontalContainer()"></mat-divider>`, isInline: true, styles: ["
|
|
1348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1318
|
+
SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SeparatorComponent, deps: [{ token: i0.ElementRef }, { token: POPUP_CONTAINER, optional: true }, { token: CommandContainer, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1319
|
+
SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SeparatorComponent, selector: "aup-separator", host: { properties: { "class.horizontal-container": "this.isHorizontalContainer" } }, usesInheritance: true, ngImport: i0, template: `
|
|
1320
|
+
<mat-divider [vertical]="!isHorizontalContainer()"></mat-divider>`, isInline: true, styles: ["", ":host(.horizontal-container){display:inline-flex;flex-direction:row;align-items:stretch}\n"], components: [{ type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }] });
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SeparatorComponent, decorators: [{
|
|
1349
1322
|
type: Component,
|
|
1350
1323
|
args: [{
|
|
1351
1324
|
selector: 'aup-separator',
|
|
@@ -1360,14 +1333,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
1360
1333
|
}`
|
|
1361
1334
|
]
|
|
1362
1335
|
}]
|
|
1363
|
-
}], ctorParameters: function () {
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
type:
|
|
1370
|
-
|
|
1336
|
+
}], ctorParameters: function () {
|
|
1337
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1338
|
+
type: Optional
|
|
1339
|
+
}, {
|
|
1340
|
+
type: Inject,
|
|
1341
|
+
args: [POPUP_CONTAINER]
|
|
1342
|
+
}] }, { type: CommandContainer, decorators: [{
|
|
1343
|
+
type: Optional
|
|
1344
|
+
}] }];
|
|
1345
|
+
}, propDecorators: { isHorizontalContainer: [{
|
|
1371
1346
|
type: HostBinding,
|
|
1372
1347
|
args: ['class.horizontal-container']
|
|
1373
1348
|
}] } });
|
|
@@ -1441,14 +1416,11 @@ class PopupMenuRendererComponent extends DisposableComponent {
|
|
|
1441
1416
|
undefined;
|
|
1442
1417
|
}
|
|
1443
1418
|
}
|
|
1444
|
-
PopupMenuRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1445
|
-
PopupMenuRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1419
|
+
PopupMenuRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1420
|
+
PopupMenuRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: { parent: "parent" }, outputs: { commandFired: "commandFired" }, viewQueries: [{ propertyName: "menuComponent", first: true, predicate: ["menu"], descendants: true, static: true }, { propertyName: "triggers", predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-menu #menu [xPosition]=\"parent.xPosition\" [yPosition]=\"parent.yPosition\">\n <ng-template matMenuContent>\n <ng-container *ngFor=\"let child of children; trackBy: TrackBy.byIndex\" >\n <button *ngIf=\"isCommand(child)\"\n (click)=\"executeCommand(child)\"\n [disabled]=\"!isCommandEnabled(child)\"\n [matTooltip]=\"getTooltip(child)\"\n mat-menu-item>\n <aup-command-face [faces]=\"getFaces(child)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n\n <ng-container *ngIf=\"isPopupMenu(child)\">\n <button mat-menu-item\n matMenuTrigger\n [disabled]=\"!isPopupMenuEnabled(child)\"\n [matMenuTriggerFor]=\"innerPanel.menuComponent\"\n >\n <aup-command-face [faces]=\"getFaces(child)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #innerPanel\n [parent]=\"child\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <mat-divider *ngIf=\"isSeparator(child)\"></mat-divider>\n\n </ng-container>\n\n </ng-template>\n</mat-menu>\n", components: [{ type: i1$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i1$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i1$1.MatMenuContent, selector: "ng-template[matMenuContent]" }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i1$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }] });
|
|
1421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuRendererComponent, decorators: [{
|
|
1447
1422
|
type: Component,
|
|
1448
|
-
args: [{
|
|
1449
|
-
selector: "aup-popup-menu-renderer",
|
|
1450
|
-
templateUrl: "./popup-menu-renderer.component.html"
|
|
1451
|
-
}]
|
|
1423
|
+
args: [{ selector: "aup-popup-menu-renderer", template: "<mat-menu #menu [xPosition]=\"parent.xPosition\" [yPosition]=\"parent.yPosition\">\n <ng-template matMenuContent>\n <ng-container *ngFor=\"let child of children; trackBy: TrackBy.byIndex\" >\n <button *ngIf=\"isCommand(child)\"\n (click)=\"executeCommand(child)\"\n [disabled]=\"!isCommandEnabled(child)\"\n [matTooltip]=\"getTooltip(child)\"\n mat-menu-item>\n <aup-command-face [faces]=\"getFaces(child)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n\n <ng-container *ngIf=\"isPopupMenu(child)\">\n <button mat-menu-item\n matMenuTrigger\n [disabled]=\"!isPopupMenuEnabled(child)\"\n [matMenuTriggerFor]=\"innerPanel.menuComponent\"\n >\n <aup-command-face [faces]=\"getFaces(child)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #innerPanel\n [parent]=\"child\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <mat-divider *ngIf=\"isSeparator(child)\"></mat-divider>\n\n </ng-container>\n\n </ng-template>\n</mat-menu>\n" }]
|
|
1452
1424
|
}], ctorParameters: function () { return []; }, propDecorators: { parent: [{
|
|
1453
1425
|
type: Input
|
|
1454
1426
|
}], menuComponent: [{
|
|
@@ -1482,31 +1454,29 @@ class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1482
1454
|
return this.faceModelDelegate.value;
|
|
1483
1455
|
}
|
|
1484
1456
|
}
|
|
1485
|
-
MoreMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1486
|
-
MoreMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1457
|
+
MoreMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MoreMenuComponent, deps: [{ token: i0.ElementRef }, { token: POPUP_CONTAINER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1458
|
+
MoreMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MoreMenuComponent, selector: "aup-more-menu", inputs: { tooltip: "tooltip" }, providers: [
|
|
1487
1459
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1488
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"isRoot()\">\n <ng-container *ngIf=\"faceAdapter.text\" [ngSwitch]=\"faceAdapter.style\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-stroked-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-raised-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!faceAdapter.text\">\n <button matMenuTrigger\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n >\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n</ng-container>\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
|
|
1460
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"isRoot()\">\n <ng-container *ngIf=\"faceAdapter.text\" [ngSwitch]=\"faceAdapter.style\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-stroked-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-raised-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!faceAdapter.text\">\n <button matMenuTrigger\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n >\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n</ng-container>\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
1489
1461
|
__decorate([
|
|
1490
1462
|
StoreInValueModel('tooltipModel'),
|
|
1491
1463
|
__metadata("design:type", String)
|
|
1492
1464
|
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
1493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MoreMenuComponent, decorators: [{
|
|
1494
1466
|
type: Component,
|
|
1495
|
-
args: [{
|
|
1496
|
-
selector: 'aup-more-menu',
|
|
1497
|
-
templateUrl: './popup-menu.component.html',
|
|
1498
|
-
providers: [
|
|
1467
|
+
args: [{ selector: 'aup-more-menu', providers: [
|
|
1499
1468
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1500
|
-
]
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1469
|
+
], template: "<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"isRoot()\">\n <ng-container *ngIf=\"faceAdapter.text\" [ngSwitch]=\"faceAdapter.style\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-stroked-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-raised-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!faceAdapter.text\">\n <button matMenuTrigger\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n >\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n</ng-container>\n" }]
|
|
1470
|
+
}], ctorParameters: function () {
|
|
1471
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1472
|
+
type: Inject,
|
|
1473
|
+
args: [POPUP_CONTAINER]
|
|
1474
|
+
}, {
|
|
1475
|
+
type: Optional
|
|
1476
|
+
}, {
|
|
1477
|
+
type: SkipSelf
|
|
1478
|
+
}] }];
|
|
1479
|
+
}, propDecorators: { tooltip: [{
|
|
1510
1480
|
type: Input
|
|
1511
1481
|
}] } });
|
|
1512
1482
|
|
|
@@ -1520,10 +1490,10 @@ class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1520
1490
|
// group.faceListModel = chain(this.faceModel).mapToList(face => [face]);
|
|
1521
1491
|
}
|
|
1522
1492
|
}
|
|
1523
|
-
PopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1524
|
-
PopupMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1493
|
+
PopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuComponent, deps: [{ token: i0.ElementRef }, { token: POPUP_CONTAINER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1494
|
+
PopupMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PopupMenuComponent, selector: "aup-popup-menu", inputs: { faceModel: "faceModel", face: "face" }, providers: [
|
|
1525
1495
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1526
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"isRoot()\">\n <ng-container *ngIf=\"faceAdapter.text\" [ngSwitch]=\"faceAdapter.style\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-stroked-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-raised-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!faceAdapter.text\">\n <button matMenuTrigger\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n >\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n</ng-container>\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
|
|
1496
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"isRoot()\">\n <ng-container *ngIf=\"faceAdapter.text\" [ngSwitch]=\"faceAdapter.style\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-stroked-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-raised-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!faceAdapter.text\">\n <button matMenuTrigger\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n >\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n</ng-container>\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
1527
1497
|
__decorate([
|
|
1528
1498
|
TrackExternal({ delegateTo: 'faceModelDelegate' }),
|
|
1529
1499
|
__metadata("design:type", ValueModel)
|
|
@@ -1532,24 +1502,21 @@ __decorate([
|
|
|
1532
1502
|
StoreInValueModel('faceModel'),
|
|
1533
1503
|
__metadata("design:type", Object)
|
|
1534
1504
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
1535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuComponent, decorators: [{
|
|
1536
1506
|
type: Component,
|
|
1537
|
-
args: [{
|
|
1538
|
-
selector: 'aup-popup-menu',
|
|
1539
|
-
templateUrl: './popup-menu.component.html',
|
|
1540
|
-
styleUrls: [],
|
|
1541
|
-
providers: [
|
|
1507
|
+
args: [{ selector: 'aup-popup-menu', providers: [
|
|
1542
1508
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1543
|
-
]
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1509
|
+
], template: "<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"isRoot()\">\n <ng-container *ngIf=\"faceAdapter.text\" [ngSwitch]=\"faceAdapter.style\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-stroked-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-raised-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button matMenuTrigger\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n mat-button>\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!faceAdapter.text\">\n <button matMenuTrigger\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click) = \"$event.stopPropagation()\"\n [matTooltip]=\"faceAdapter.tooltip\"\n [color]=\"faceAdapter.color\"\n [disabled]=\"!enabled\"\n >\n <aup-command-face [faces]=\"faces$.value\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer #subMenu\n [parent]=\"this\"\n (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n </ng-container>\n</ng-container>\n", styles: [] }]
|
|
1510
|
+
}], ctorParameters: function () {
|
|
1511
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1512
|
+
type: Inject,
|
|
1513
|
+
args: [POPUP_CONTAINER]
|
|
1514
|
+
}, {
|
|
1515
|
+
type: Optional
|
|
1516
|
+
}, {
|
|
1517
|
+
type: SkipSelf
|
|
1518
|
+
}] }];
|
|
1519
|
+
}, propDecorators: { faceModel: [{
|
|
1553
1520
|
type: Input
|
|
1554
1521
|
}], face: [{
|
|
1555
1522
|
type: Input
|
|
@@ -1561,23 +1528,19 @@ class EmptyStateComponent {
|
|
|
1561
1528
|
ngOnInit() {
|
|
1562
1529
|
}
|
|
1563
1530
|
}
|
|
1564
|
-
EmptyStateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1565
|
-
EmptyStateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1531
|
+
EmptyStateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EmptyStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1532
|
+
EmptyStateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: EmptyStateComponent, selector: "aup-empty-state", ngImport: i0, template: `
|
|
1566
1533
|
<div class="container">
|
|
1567
1534
|
<ng-content></ng-content>
|
|
1568
1535
|
</div>
|
|
1569
1536
|
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}\n"] });
|
|
1570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
1571
1538
|
type: Component,
|
|
1572
|
-
args: [{
|
|
1573
|
-
selector: 'aup-empty-state',
|
|
1574
|
-
template: `
|
|
1539
|
+
args: [{ selector: 'aup-empty-state', template: `
|
|
1575
1540
|
<div class="container">
|
|
1576
1541
|
<ng-content></ng-content>
|
|
1577
1542
|
</div>
|
|
1578
|
-
`,
|
|
1579
|
-
styleUrls: ['./empty-state.component.scss']
|
|
1580
|
-
}]
|
|
1543
|
+
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}\n"] }]
|
|
1581
1544
|
}], ctorParameters: function () { return []; } });
|
|
1582
1545
|
|
|
1583
1546
|
class FocusContainerComponent extends DisposableComponent {
|
|
@@ -1596,23 +1559,20 @@ class FocusContainerComponent extends DisposableComponent {
|
|
|
1596
1559
|
this.focusManager.restoreFocus();
|
|
1597
1560
|
}
|
|
1598
1561
|
}
|
|
1599
|
-
FocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1600
|
-
FocusContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1562
|
+
FocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusContainerComponent, deps: [{ token: i1$7.FocusManager, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1563
|
+
FocusContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FocusContainerComponent, selector: "aup-focus-container", host: { properties: { "attr.tabindex": "this.tabIndex" } }, providers: [
|
|
1601
1564
|
{ provide: FocusManager }
|
|
1602
1565
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
1603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusContainerComponent, decorators: [{
|
|
1604
1567
|
type: Component,
|
|
1605
|
-
args: [{
|
|
1606
|
-
selector: 'aup-focus-container',
|
|
1607
|
-
templateUrl: './focus-container.component.html',
|
|
1608
|
-
styleUrls: ['./focus-container.component.scss'],
|
|
1609
|
-
providers: [
|
|
1568
|
+
args: [{ selector: 'aup-focus-container', providers: [
|
|
1610
1569
|
{ provide: FocusManager }
|
|
1611
|
-
]
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1570
|
+
], template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
1571
|
+
}], ctorParameters: function () {
|
|
1572
|
+
return [{ type: i1$7.FocusManager, decorators: [{
|
|
1573
|
+
type: Self
|
|
1574
|
+
}] }];
|
|
1575
|
+
}, propDecorators: { tabIndex: [{
|
|
1616
1576
|
type: HostBinding,
|
|
1617
1577
|
args: ['attr.tabindex']
|
|
1618
1578
|
}] } });
|
|
@@ -1644,9 +1604,9 @@ class FocusableComponent extends DisposableComponent {
|
|
|
1644
1604
|
return this._focusContext;
|
|
1645
1605
|
}
|
|
1646
1606
|
}
|
|
1647
|
-
FocusableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1648
|
-
FocusableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1607
|
+
FocusableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusableComponent, deps: [{ token: i0.ElementRef }, { token: i1$7.FocusManager }, { token: FocusBindingFactory }], target: i0.ɵɵFactoryTarget.Component });
|
|
1608
|
+
FocusableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FocusableComponent, selector: "ng-component", host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.tabindex": "this.focusable" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusableComponent, decorators: [{
|
|
1650
1610
|
type: Component,
|
|
1651
1611
|
args: [{ template: '' }]
|
|
1652
1612
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$7.FocusManager }, { type: FocusBindingFactory }]; }, propDecorators: { focusable: [{
|
|
@@ -1742,9 +1702,9 @@ class AbstractInputComponent extends DisposableComponent {
|
|
|
1742
1702
|
return this.onValueEditedListeners.add(callback);
|
|
1743
1703
|
}
|
|
1744
1704
|
}
|
|
1745
|
-
AbstractInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1746
|
-
AbstractInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1705
|
+
AbstractInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1706
|
+
AbstractInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractInputComponent, selector: "ng-component", inputs: { label: "label", userFloatLabel: ["floatLabel", "userFloatLabel"], hint: "hint", placeholder: "placeholder", dense: "dense", focusCommand: ["command.focus", "focusCommand"], blurCommand: ["command.blur", "blurCommand"], enterCommand: ["command.enter", "enterCommand"], escapeCommand: ["command.escape", "escapeCommand"], clickCommand: ["command.click", "clickCommand"] }, outputs: { focus: "focus", blur: "blur", enterKey: "enterKey", escapeKey: "escapeKey" }, host: { listeners: { "click": "notifyClick()", "focusin": "notifyFocusIn()", "focusout": "notifyFocusOut()" }, properties: { "class.dense": "this.dense", "class": "this.baseClassName" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractInputComponent, decorators: [{
|
|
1748
1708
|
type: Component,
|
|
1749
1709
|
args: [{ template: '' }]
|
|
1750
1710
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -1846,13 +1806,13 @@ class AbstractListInputComponent extends AbstractInputComponent {
|
|
|
1846
1806
|
});
|
|
1847
1807
|
}
|
|
1848
1808
|
}
|
|
1849
|
-
AbstractListInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1850
|
-
AbstractListInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1809
|
+
AbstractListInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractListInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1810
|
+
AbstractListInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractListInputComponent, selector: "ng-component", inputs: { listModel: "listModel", value: "value" }, outputs: { valueChange: "valueChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1851
1811
|
__decorate([
|
|
1852
1812
|
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1853
1813
|
__metadata("design:type", Object)
|
|
1854
1814
|
], AbstractListInputComponent.prototype, "listModel", void 0);
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractListInputComponent, decorators: [{
|
|
1856
1816
|
type: Component,
|
|
1857
1817
|
args: [{ template: '' }]
|
|
1858
1818
|
}], ctorParameters: function () { return []; }, propDecorators: { listModel: [{
|
|
@@ -1911,13 +1871,13 @@ class AbstractValueInputComponent extends AbstractInputComponent {
|
|
|
1911
1871
|
});
|
|
1912
1872
|
}
|
|
1913
1873
|
}
|
|
1914
|
-
AbstractValueInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1915
|
-
AbstractValueInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1874
|
+
AbstractValueInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractValueInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1875
|
+
AbstractValueInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractValueInputComponent, selector: "ng-component", inputs: { valueModel: "valueModel", value: "value" }, outputs: { valueChange: "valueChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1916
1876
|
__decorate([
|
|
1917
1877
|
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1918
1878
|
__metadata("design:type", Object)
|
|
1919
1879
|
], AbstractValueInputComponent.prototype, "valueModel", void 0);
|
|
1920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractValueInputComponent, decorators: [{
|
|
1921
1881
|
type: Component,
|
|
1922
1882
|
args: [{ template: '' }]
|
|
1923
1883
|
}], ctorParameters: function () { return []; }, propDecorators: { valueModel: [{
|
|
@@ -1959,8 +1919,8 @@ class AutocompleteInputComponent extends AbstractValueInputComponent {
|
|
|
1959
1919
|
this.valueModel.value = $event.option.value;
|
|
1960
1920
|
}
|
|
1961
1921
|
}
|
|
1962
|
-
AutocompleteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1963
|
-
AutocompleteInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1922
|
+
AutocompleteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AutocompleteInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1923
|
+
AutocompleteInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AutocompleteInputComponent, selector: "aup-autocomplete-input", inputs: { optionsModel: "optionsModel", options: "options", optionLabel: "optionLabel", allowNil: "allowNil", optionLabelFormat: "optionLabelFormat" }, queries: [{ propertyName: "nilOptionTemplateRef", first: true, predicate: ["nilOptionTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"string\"\n matInput\n [matAutocomplete]=\"autocomplete\"\n placeholder=\"{{placeholder}}\"\n [ngModel]=\"componentValueModel.value\"\n (ngModelChange)=\"updateFilter($event)\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-autocomplete #autocomplete [displayWith]=\"optionLabelFormat\" [autoActiveFirstOption]=\"true\" (optionSelected)=\"onSelect($event)\">\n <mat-option *ngFor=\"let option of filteredOptions.value; let i = index\"\n [value]=\"option\"\n >{{formatOption(option)}}</mat-option>\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n </mat-autocomplete>\n\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n<div class=\"width-strut\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <div>{{placeholder}}</div>\n <div class=\"item\" *ngFor=\"let item of options\">{{optionLabelFormat(item)}}</div>\n</div>\n", styles: [":host{display:inline-block}mat-form-field{width:100%}.width-strut{display:block;height:0;max-height:0;width:auto;visibility:hidden;overflow:hidden;padding-right:35px}.width-strut mat-label{font-size:75%}.width-strut>.item{font-size:16px;padding-left:0}\n"], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2$1.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i2$1.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
1964
1924
|
__decorate([
|
|
1965
1925
|
TrackExternal(),
|
|
1966
1926
|
__metadata("design:type", ListModel)
|
|
@@ -1969,13 +1929,9 @@ __decorate([
|
|
|
1969
1929
|
StoreInListModel('optionsModel'),
|
|
1970
1930
|
__metadata("design:type", Array)
|
|
1971
1931
|
], AutocompleteInputComponent.prototype, "options", void 0);
|
|
1972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AutocompleteInputComponent, decorators: [{
|
|
1973
1933
|
type: Component,
|
|
1974
|
-
args: [{
|
|
1975
|
-
selector: 'aup-autocomplete-input',
|
|
1976
|
-
templateUrl: './autocomplete-input.component.html',
|
|
1977
|
-
styleUrls: ['./autocomplete-input.component.scss']
|
|
1978
|
-
}]
|
|
1934
|
+
args: [{ selector: 'aup-autocomplete-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"string\"\n matInput\n [matAutocomplete]=\"autocomplete\"\n placeholder=\"{{placeholder}}\"\n [ngModel]=\"componentValueModel.value\"\n (ngModelChange)=\"updateFilter($event)\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-autocomplete #autocomplete [displayWith]=\"optionLabelFormat\" [autoActiveFirstOption]=\"true\" (optionSelected)=\"onSelect($event)\">\n <mat-option *ngFor=\"let option of filteredOptions.value; let i = index\"\n [value]=\"option\"\n >{{formatOption(option)}}</mat-option>\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n </mat-autocomplete>\n\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n<div class=\"width-strut\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <div>{{placeholder}}</div>\n <div class=\"item\" *ngFor=\"let item of options\">{{optionLabelFormat(item)}}</div>\n</div>\n", styles: [":host{display:inline-block}mat-form-field{width:100%}.width-strut{display:block;height:0;max-height:0;width:auto;visibility:hidden;overflow:hidden;padding-right:35px}.width-strut mat-label{font-size:75%}.width-strut>.item{font-size:16px;padding-left:0}\n"] }]
|
|
1979
1935
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
1980
1936
|
type: Input
|
|
1981
1937
|
}], options: [{
|
|
@@ -2002,15 +1958,11 @@ class CheckboxInputComponent extends AbstractValueInputComponent {
|
|
|
2002
1958
|
ngOnInit() {
|
|
2003
1959
|
}
|
|
2004
1960
|
}
|
|
2005
|
-
CheckboxInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2006
|
-
CheckboxInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1961
|
+
CheckboxInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1962
|
+
CheckboxInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: CheckboxInputComponent, selector: "aup-checkbox-input", inputs: { color: "color", labelPosition: "labelPosition" }, usesInheritance: true, ngImport: i0, template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"componentValueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n", styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-hint,mat-error{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}\n"], components: [{ type: i1$9.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
1963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxInputComponent, decorators: [{
|
|
2008
1964
|
type: Component,
|
|
2009
|
-
args: [{
|
|
2010
|
-
selector: 'aup-checkbox-input',
|
|
2011
|
-
templateUrl: './checkbox-input.component.html',
|
|
2012
|
-
styleUrls: ['./checkbox-input.component.scss']
|
|
2013
|
-
}]
|
|
1965
|
+
args: [{ selector: 'aup-checkbox-input', template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"componentValueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n", styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-hint,mat-error{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}\n"] }]
|
|
2014
1966
|
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
2015
1967
|
type: Input
|
|
2016
1968
|
}], labelPosition: [{
|
|
@@ -2032,8 +1984,8 @@ class MultipleSelectInputComponent extends AbstractListInputComponent {
|
|
|
2032
1984
|
ngOnInit() {
|
|
2033
1985
|
}
|
|
2034
1986
|
}
|
|
2035
|
-
MultipleSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2036
|
-
MultipleSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1987
|
+
MultipleSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MultipleSelectInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1988
|
+
MultipleSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MultipleSelectInputComponent, selector: "aup-multiple-select-input", inputs: { optionsModel: "optionsModel", options: "options", optionLabel: "optionLabel", optionLabelFormat: "optionLabelFormat" }, queries: [{ propertyName: "optionTemplateRef", first: true, predicate: ["optionTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"componentListModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n<div class=\"width-strut\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <div>{{placeholder}}</div>\n <div class=\"item\" *ngFor=\"let item of options\">{{optionLabelFormat(item)}}</div>\n</div>\n", styles: [":host{display:inline-block}mat-form-field{width:100%}.width-strut{display:block;height:0;max-height:0;width:auto;visibility:hidden;overflow:hidden;padding-right:35px}.width-strut mat-label{font-size:75%}.width-strut>.item{font-size:16px;padding-left:30px}\n"], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2$2.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
2037
1989
|
__decorate([
|
|
2038
1990
|
TrackExternal(),
|
|
2039
1991
|
__metadata("design:type", ListModel)
|
|
@@ -2042,13 +1994,9 @@ __decorate([
|
|
|
2042
1994
|
StoreInListModel('optionsModel'),
|
|
2043
1995
|
__metadata("design:type", Array)
|
|
2044
1996
|
], MultipleSelectInputComponent.prototype, "options", void 0);
|
|
2045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MultipleSelectInputComponent, decorators: [{
|
|
2046
1998
|
type: Component,
|
|
2047
|
-
args: [{
|
|
2048
|
-
selector: 'aup-multiple-select-input',
|
|
2049
|
-
templateUrl: './multiple-select-input.component.html',
|
|
2050
|
-
styleUrls: ['./multiple-select-input.component.scss']
|
|
2051
|
-
}]
|
|
1999
|
+
args: [{ selector: 'aup-multiple-select-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"componentListModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n<div class=\"width-strut\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <div>{{placeholder}}</div>\n <div class=\"item\" *ngFor=\"let item of options\">{{optionLabelFormat(item)}}</div>\n</div>\n", styles: [":host{display:inline-block}mat-form-field{width:100%}.width-strut{display:block;height:0;max-height:0;width:auto;visibility:hidden;overflow:hidden;padding-right:35px}.width-strut mat-label{font-size:75%}.width-strut>.item{font-size:16px;padding-left:30px}\n"] }]
|
|
2052
2000
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
2053
2001
|
type: Input
|
|
2054
2002
|
}], options: [{
|
|
@@ -2071,15 +2019,11 @@ class NumberInputComponent extends AbstractValueInputComponent {
|
|
|
2071
2019
|
ngOnInit() {
|
|
2072
2020
|
}
|
|
2073
2021
|
}
|
|
2074
|
-
NumberInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2075
|
-
NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2022
|
+
NumberInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NumberInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2023
|
+
NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: NumberInputComponent, selector: "aup-number-input", inputs: { autocomplete: "autocomplete", min: "min", max: "max", iconPrefix: "iconPrefix" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n</mat-form-field>\n", styles: [""], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i4$1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i4$1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { type: i4$1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1$8.MatPrefix, selector: "[matPrefix]" }] });
|
|
2024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
2077
2025
|
type: Component,
|
|
2078
|
-
args: [{
|
|
2079
|
-
selector: 'aup-number-input',
|
|
2080
|
-
templateUrl: './number-input.component.html',
|
|
2081
|
-
styleUrls: ['./number-input.component.scss']
|
|
2082
|
-
}]
|
|
2026
|
+
args: [{ selector: 'aup-number-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n</mat-form-field>\n", styles: [""] }]
|
|
2083
2027
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2084
2028
|
type: Input
|
|
2085
2029
|
}], min: [{
|
|
@@ -2097,15 +2041,11 @@ class PasswordInputComponent extends AbstractValueInputComponent {
|
|
|
2097
2041
|
ngOnInit() {
|
|
2098
2042
|
}
|
|
2099
2043
|
}
|
|
2100
|
-
PasswordInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2101
|
-
PasswordInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2044
|
+
PasswordInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PasswordInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2045
|
+
PasswordInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PasswordInputComponent, selector: "aup-password-input", inputs: { autocomplete: "autocomplete" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n", styles: [""], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
2046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PasswordInputComponent, decorators: [{
|
|
2103
2047
|
type: Component,
|
|
2104
|
-
args: [{
|
|
2105
|
-
selector: 'aup-password-input',
|
|
2106
|
-
templateUrl: './password-input.component.html',
|
|
2107
|
-
styleUrls: ['./password-input.component.scss']
|
|
2108
|
-
}]
|
|
2048
|
+
args: [{ selector: 'aup-password-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n", styles: [""] }]
|
|
2109
2049
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2110
2050
|
type: Input
|
|
2111
2051
|
}] } });
|
|
@@ -2125,8 +2065,8 @@ class SelectInputComponent extends AbstractValueInputComponent {
|
|
|
2125
2065
|
ngOnInit() {
|
|
2126
2066
|
}
|
|
2127
2067
|
}
|
|
2128
|
-
SelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2129
|
-
SelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2068
|
+
SelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2069
|
+
SelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SelectInputComponent, selector: "aup-select-input", inputs: { optionsModel: "optionsModel", options: "options", optionLabel: "optionLabel", allowNil: "allowNil", optionLabelFormat: "optionLabelFormat" }, queries: [{ propertyName: "optionTemplateRef", first: true, predicate: ["optionTemplate"], descendants: true }, { propertyName: "nilOptionTemplateRef", first: true, predicate: ["nilOptionTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n<div class=\"width-strut\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <div class=\"item\" *ngFor=\"let item of options\">{{optionLabelFormat(item)}}</div>\n</div>\n", styles: [":host{display:inline-block}mat-form-field{width:100%}.width-strut{display:block;height:0;max-height:0;width:auto;visibility:hidden;overflow:hidden;padding-right:35px}.width-strut mat-label{font-size:75%}.width-strut>.item{font-size:16px;padding-left:0}\n"], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2$2.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
2130
2070
|
__decorate([
|
|
2131
2071
|
TrackExternal(),
|
|
2132
2072
|
__metadata("design:type", ListModel)
|
|
@@ -2135,13 +2075,9 @@ __decorate([
|
|
|
2135
2075
|
StoreInListModel('optionsModel'),
|
|
2136
2076
|
__metadata("design:type", Array)
|
|
2137
2077
|
], SelectInputComponent.prototype, "options", void 0);
|
|
2138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputComponent, decorators: [{
|
|
2139
2079
|
type: Component,
|
|
2140
|
-
args: [{
|
|
2141
|
-
selector: 'aup-select-input',
|
|
2142
|
-
templateUrl: './select-input.component.html',
|
|
2143
|
-
styleUrls: ['./select-input.component.scss']
|
|
2144
|
-
}]
|
|
2080
|
+
args: [{ selector: 'aup-select-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n<div class=\"width-strut\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <div class=\"item\" *ngFor=\"let item of options\">{{optionLabelFormat(item)}}</div>\n</div>\n", styles: [":host{display:inline-block}mat-form-field{width:100%}.width-strut{display:block;height:0;max-height:0;width:auto;visibility:hidden;overflow:hidden;padding-right:35px}.width-strut mat-label{font-size:75%}.width-strut>.item{font-size:16px;padding-left:0}\n"] }]
|
|
2145
2081
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
2146
2082
|
type: Input
|
|
2147
2083
|
}], options: [{
|
|
@@ -2172,8 +2108,8 @@ class StringInputComponent extends AbstractValueInputComponent {
|
|
|
2172
2108
|
ngOnInit() {
|
|
2173
2109
|
}
|
|
2174
2110
|
}
|
|
2175
|
-
StringInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2176
|
-
StringInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2111
|
+
StringInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2112
|
+
StringInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: StringInputComponent, selector: "aup-string-input", inputs: { autocomplete: "autocomplete", enableClearModel: "enableClearModel", enableClear: "enableClear", iconPrefix: "iconPrefix" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}\n"], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1$8.MatPrefix, selector: "[matPrefix]" }, { type: i1$8.MatSuffix, selector: "[matSuffix]" }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }] });
|
|
2177
2113
|
__decorate([
|
|
2178
2114
|
TrackExternal({ defaultValue: false }),
|
|
2179
2115
|
__metadata("design:type", ValueModel)
|
|
@@ -2182,13 +2118,9 @@ __decorate([
|
|
|
2182
2118
|
StoreInValueModel('enableClearModel'),
|
|
2183
2119
|
__metadata("design:type", Boolean)
|
|
2184
2120
|
], StringInputComponent.prototype, "enableClear", void 0);
|
|
2185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputComponent, decorators: [{
|
|
2186
2122
|
type: Component,
|
|
2187
|
-
args: [{
|
|
2188
|
-
selector: 'aup-string-input',
|
|
2189
|
-
templateUrl: './string-input.component.html',
|
|
2190
|
-
styleUrls: ['./string-input.component.scss']
|
|
2191
|
-
}]
|
|
2123
|
+
args: [{ selector: 'aup-string-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}\n"] }]
|
|
2192
2124
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2193
2125
|
type: Input
|
|
2194
2126
|
}], enableClearModel: [{
|
|
@@ -2210,15 +2142,11 @@ class TextInputComponent extends AbstractValueInputComponent {
|
|
|
2210
2142
|
ngOnInit() {
|
|
2211
2143
|
}
|
|
2212
2144
|
}
|
|
2213
|
-
TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2214
|
-
TextInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2145
|
+
TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TextInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2146
|
+
TextInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TextInputComponent, selector: "aup-text-input", inputs: { rows: "rows", cols: "cols" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}\n"], components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { type: i1$8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i1$8.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
2147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
2216
2148
|
type: Component,
|
|
2217
|
-
args: [{
|
|
2218
|
-
selector: 'aup-text-input',
|
|
2219
|
-
templateUrl: './text-input.component.html',
|
|
2220
|
-
styleUrls: ['./text-input.component.scss']
|
|
2221
|
-
}]
|
|
2149
|
+
args: [{ selector: 'aup-text-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}\n"] }]
|
|
2222
2150
|
}], ctorParameters: function () { return []; }, propDecorators: { rows: [{
|
|
2223
2151
|
type: Input
|
|
2224
2152
|
}], cols: [{
|
|
@@ -2235,8 +2163,8 @@ class LoadingContainerComponent extends GarbageCollector {
|
|
|
2235
2163
|
ngOnInit() {
|
|
2236
2164
|
}
|
|
2237
2165
|
}
|
|
2238
|
-
LoadingContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2239
|
-
LoadingContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2166
|
+
LoadingContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2167
|
+
LoadingContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: LoadingContainerComponent, selector: "aup-loading-container", inputs: { loadingModel: "loadingModel", loading: "loading", messageModel: "messageModel", message: "message" }, host: { properties: { "class": "this.state" } }, usesInheritance: true, ngImport: i0, template: "<ng-content *ngIf=\"!loadingModel.value\"></ng-content>\n<section *ngIf=\"loadingModel.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{messageModel.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n", styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"], components: [{ type: i1$a.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2240
2168
|
__decorate([
|
|
2241
2169
|
TrackExternal(),
|
|
2242
2170
|
__metadata("design:type", ValueModel)
|
|
@@ -2253,13 +2181,9 @@ __decorate([
|
|
|
2253
2181
|
StoreInValueModel("messageModel"),
|
|
2254
2182
|
__metadata("design:type", String)
|
|
2255
2183
|
], LoadingContainerComponent.prototype, "message", void 0);
|
|
2256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingContainerComponent, decorators: [{
|
|
2257
2185
|
type: Component,
|
|
2258
|
-
args: [{
|
|
2259
|
-
selector: 'aup-loading-container',
|
|
2260
|
-
templateUrl: `./loading-container.component.html`,
|
|
2261
|
-
styleUrls: ['./loading-container.component.scss']
|
|
2262
|
-
}]
|
|
2186
|
+
args: [{ selector: 'aup-loading-container', template: "<ng-content *ngIf=\"!loadingModel.value\"></ng-content>\n<section *ngIf=\"loadingModel.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{messageModel.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n", styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"] }]
|
|
2263
2187
|
}], ctorParameters: function () { return []; }, propDecorators: { loadingModel: [{
|
|
2264
2188
|
type: Input
|
|
2265
2189
|
}], loading: [{
|
|
@@ -2277,15 +2201,11 @@ class NoopComponent {
|
|
|
2277
2201
|
constructor() {
|
|
2278
2202
|
}
|
|
2279
2203
|
}
|
|
2280
|
-
NoopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2281
|
-
NoopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2204
|
+
NoopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2205
|
+
NoopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: NoopComponent, selector: "aup-noop", ngImport: i0, template: "", styles: [":host{display:block}\n"] });
|
|
2206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopComponent, decorators: [{
|
|
2283
2207
|
type: Component,
|
|
2284
|
-
args: [{
|
|
2285
|
-
selector: 'aup-noop',
|
|
2286
|
-
templateUrl: './noop.component.html',
|
|
2287
|
-
styleUrls: ['./noop.component.scss']
|
|
2288
|
-
}]
|
|
2208
|
+
args: [{ selector: 'aup-noop', template: "", styles: [":host{display:block}\n"] }]
|
|
2289
2209
|
}], ctorParameters: function () { return []; } });
|
|
2290
2210
|
|
|
2291
2211
|
class SectionHeaderComponent extends DisposableComponent {
|
|
@@ -2299,15 +2219,11 @@ class SectionHeaderComponent extends DisposableComponent {
|
|
|
2299
2219
|
ngOnInit() {
|
|
2300
2220
|
}
|
|
2301
2221
|
}
|
|
2302
|
-
SectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2303
|
-
SectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2222
|
+
SectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2223
|
+
SectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SectionHeaderComponent, selector: "aup-section-header", inputs: { size: "size", borderTop: "borderTop", borderBottom: "borderBottom" }, host: { properties: { "class": "this.size", "class.border-top": "this.borderTop", "class.border-bottom": "this.borderBottom" } }, usesInheritance: true, ngImport: i0, template: "<span class=\"container-start\"><ng-content select=\"[header-start]\"></ng-content><ng-content></ng-content></span>\n<span class=\"container-middle\"><ng-content select=\"[header-center]\"></ng-content></span>\n<span class=\"container-end\"><ng-content select=\"[header-end]\"></ng-content></span>\n", styles: [":host{display:flex;flex-direction:row;align-items:center;--resolved-padding: var(--padding, var(--default-padding));--resolved-padding-right: var(--padding-right, calc(var(--default-padding)/2));padding-left:var(--resolved-padding);padding-right:var(--resolved-padding-right);box-sizing:border-box}:host.has-back-button{padding-left:0}:host.toolbar{height:56px;min-height:56px}:host.toolbar span{font-weight:500;font-size:18px;color:#000000ab}:host.large{height:48px;min-height:48px}:host.large span{font-weight:500;font-size:14px;color:#000000ab}:host.medium{height:48px;min-height:48px}:host.medium span{font-weight:500;font-size:13px;color:#000000ab}:host.small{height:30px;min-height:30px}:host.small span{font-weight:300;font-size:12px;color:#000000ab}:host.border-top{border-top:var(--pinstripe-border)}:host.border-bottom{border-bottom:var(--pinstripe-border)}span{white-space:nowrap;display:inline-flex;flex-direction:row;align-items:center}span.container-start{justify-content:flex-start}span.container-middle{justify-content:center;flex:1;width:0;overflow:hidden}span.container-end{justify-content:flex-end}\n"] });
|
|
2224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SectionHeaderComponent, decorators: [{
|
|
2305
2225
|
type: Component,
|
|
2306
|
-
args: [{
|
|
2307
|
-
selector: 'aup-section-header',
|
|
2308
|
-
templateUrl: './section-header.component.html',
|
|
2309
|
-
styleUrls: ['./section-header.component.scss']
|
|
2310
|
-
}]
|
|
2226
|
+
args: [{ selector: 'aup-section-header', template: "<span class=\"container-start\"><ng-content select=\"[header-start]\"></ng-content><ng-content></ng-content></span>\n<span class=\"container-middle\"><ng-content select=\"[header-center]\"></ng-content></span>\n<span class=\"container-end\"><ng-content select=\"[header-end]\"></ng-content></span>\n", styles: [":host{display:flex;flex-direction:row;align-items:center;--resolved-padding: var(--padding, var(--default-padding));--resolved-padding-right: var(--padding-right, calc(var(--default-padding)/2));padding-left:var(--resolved-padding);padding-right:var(--resolved-padding-right);box-sizing:border-box}:host.has-back-button{padding-left:0}:host.toolbar{height:56px;min-height:56px}:host.toolbar span{font-weight:500;font-size:18px;color:#000000ab}:host.large{height:48px;min-height:48px}:host.large span{font-weight:500;font-size:14px;color:#000000ab}:host.medium{height:48px;min-height:48px}:host.medium span{font-weight:500;font-size:13px;color:#000000ab}:host.small{height:30px;min-height:30px}:host.small span{font-weight:300;font-size:12px;color:#000000ab}:host.border-top{border-top:var(--pinstripe-border)}:host.border-bottom{border-bottom:var(--pinstripe-border)}span{white-space:nowrap;display:inline-flex;flex-direction:row;align-items:center}span.container-start{justify-content:flex-start}span.container-middle{justify-content:center;flex:1;width:0;overflow:hidden}span.container-end{justify-content:flex-end}\n"] }]
|
|
2311
2227
|
}], ctorParameters: function () { return []; }, propDecorators: { size: [{
|
|
2312
2228
|
type: Input
|
|
2313
2229
|
}, {
|
|
@@ -2342,9 +2258,9 @@ class SwitchCaseWhenDirective extends SwitchCaseOption {
|
|
|
2342
2258
|
return this.aupSwitchCaseWhen === value;
|
|
2343
2259
|
}
|
|
2344
2260
|
}
|
|
2345
|
-
SwitchCaseWhenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2346
|
-
SwitchCaseWhenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2261
|
+
SwitchCaseWhenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseWhenDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2262
|
+
SwitchCaseWhenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: SwitchCaseWhenDirective, selector: "[aupSwitchCaseWhen]", inputs: { aupSwitchCaseWhen: "aupSwitchCaseWhen" }, providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective }], usesInheritance: true, ngImport: i0 });
|
|
2263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseWhenDirective, decorators: [{
|
|
2348
2264
|
type: Directive,
|
|
2349
2265
|
args: [{
|
|
2350
2266
|
selector: '[aupSwitchCaseWhen]',
|
|
@@ -2362,9 +2278,9 @@ class SwitchCaseDefaultDirective extends SwitchCaseOption {
|
|
|
2362
2278
|
return false;
|
|
2363
2279
|
}
|
|
2364
2280
|
}
|
|
2365
|
-
SwitchCaseDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2366
|
-
SwitchCaseDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2281
|
+
SwitchCaseDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseDefaultDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2282
|
+
SwitchCaseDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: SwitchCaseDefaultDirective, selector: "[aupSwitchCaseDefault]", providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective }], usesInheritance: true, ngImport: i0 });
|
|
2283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseDefaultDirective, decorators: [{
|
|
2368
2284
|
type: Directive,
|
|
2369
2285
|
args: [{
|
|
2370
2286
|
selector: '[aupSwitchCaseDefault]',
|
|
@@ -2422,8 +2338,8 @@ class SwitchCaseComponent extends DisposableComponent {
|
|
|
2422
2338
|
}
|
|
2423
2339
|
}
|
|
2424
2340
|
}
|
|
2425
|
-
SwitchCaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2426
|
-
SwitchCaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2341
|
+
SwitchCaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2342
|
+
SwitchCaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SwitchCaseComponent, selector: "aup-switch-case", inputs: { switchModel: "switchModel", switch: "switch" }, queries: [{ propertyName: "switchCaseOptions", predicate: SwitchCaseOption }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}\n"], components: [{ type: i1$b.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i1$b.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2427
2343
|
__decorate([
|
|
2428
2344
|
TrackExternal(),
|
|
2429
2345
|
__metadata("design:type", ValueModel)
|
|
@@ -2432,13 +2348,9 @@ __decorate([
|
|
|
2432
2348
|
StoreInValueModel('switchModel'),
|
|
2433
2349
|
__metadata("design:type", Object)
|
|
2434
2350
|
], SwitchCaseComponent.prototype, "switch", void 0);
|
|
2435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseComponent, decorators: [{
|
|
2436
2352
|
type: Component,
|
|
2437
|
-
args: [{
|
|
2438
|
-
selector: 'aup-switch-case',
|
|
2439
|
-
templateUrl: './switch-case.component.html',
|
|
2440
|
-
styleUrls: ['./switch-case.component.scss']
|
|
2441
|
-
}]
|
|
2353
|
+
args: [{ selector: 'aup-switch-case', template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}\n"] }]
|
|
2442
2354
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { switchModel: [{
|
|
2443
2355
|
type: Input
|
|
2444
2356
|
}], switch: [{
|
|
@@ -2526,9 +2438,9 @@ class ResizeAwareComponent extends DisposableComponent {
|
|
|
2526
2438
|
this._boundsModel.value = Bounds.ofElement(this.nativeElement);
|
|
2527
2439
|
}
|
|
2528
2440
|
}
|
|
2529
|
-
ResizeAwareComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2530
|
-
ResizeAwareComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2441
|
+
ResizeAwareComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ResizeAwareComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2442
|
+
ResizeAwareComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ResizeAwareComponent, usesInheritance: true, ngImport: i0 });
|
|
2443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ResizeAwareComponent, decorators: [{
|
|
2532
2444
|
type: Directive
|
|
2533
2445
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2534
2446
|
|
|
@@ -2633,15 +2545,11 @@ class DefaultCellRendererComponent {
|
|
|
2633
2545
|
return this._value;
|
|
2634
2546
|
}
|
|
2635
2547
|
}
|
|
2636
|
-
DefaultCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2637
|
-
DefaultCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2548
|
+
DefaultCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2549
|
+
DefaultCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DefaultCellRendererComponent, selector: "aup-default-cell-renderer", inputs: { value: "value" }, ngImport: i0, template: "<span [innerHTML]=\"value| aupHighlight\"></span>\n", styles: [""], pipes: { "aupHighlight": HighlightPipe } });
|
|
2550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultCellRendererComponent, decorators: [{
|
|
2639
2551
|
type: Component,
|
|
2640
|
-
args: [{
|
|
2641
|
-
selector: 'aup-default-cell-renderer',
|
|
2642
|
-
templateUrl: './default-cell-renderer.component.html',
|
|
2643
|
-
styleUrls: ['./default-cell-renderer.component.scss']
|
|
2644
|
-
}]
|
|
2552
|
+
args: [{ selector: 'aup-default-cell-renderer', template: "<span [innerHTML]=\"value| aupHighlight\"></span>\n", styles: [""] }]
|
|
2645
2553
|
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
2646
2554
|
type: Input
|
|
2647
2555
|
}] } });
|
|
@@ -2650,40 +2558,15 @@ class DefaultHeaderCellRendererComponent {
|
|
|
2650
2558
|
constructor() {
|
|
2651
2559
|
}
|
|
2652
2560
|
}
|
|
2653
|
-
DefaultHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2654
|
-
DefaultHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2561
|
+
DefaultHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2562
|
+
DefaultHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DefaultHeaderCellRendererComponent, selector: "aup-default-header-renderer", inputs: { headerText: "headerText" }, ngImport: i0, template: "{{headerText}}\n", styles: [""] });
|
|
2563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultHeaderCellRendererComponent, decorators: [{
|
|
2656
2564
|
type: Component,
|
|
2657
|
-
args: [{
|
|
2658
|
-
selector: 'aup-default-header-renderer',
|
|
2659
|
-
templateUrl: './default-header-cell-renderer.component.html',
|
|
2660
|
-
styleUrls: ['./default-header-cell-renderer.component.scss']
|
|
2661
|
-
}]
|
|
2565
|
+
args: [{ selector: 'aup-default-header-renderer', template: "{{headerText}}\n", styles: [""] }]
|
|
2662
2566
|
}], ctorParameters: function () { return []; }, propDecorators: { headerText: [{
|
|
2663
2567
|
type: Input
|
|
2664
2568
|
}] } });
|
|
2665
2569
|
|
|
2666
|
-
class EditSession extends GarbageCollector {
|
|
2667
|
-
constructor(rowId, row, form, saveCommand) {
|
|
2668
|
-
super();
|
|
2669
|
-
this.rowId = rowId;
|
|
2670
|
-
this.form = form;
|
|
2671
|
-
this.saveCommand = saveCommand;
|
|
2672
|
-
this._liveRowValue = new MutableValueModel();
|
|
2673
|
-
this.liveRowValue = this._liveRowValue.readonly;
|
|
2674
|
-
this.form.load(row);
|
|
2675
|
-
this._liveRowValue.value = row;
|
|
2676
|
-
this.form.onEdit(() => {
|
|
2677
|
-
// if (!this._liveRowValue.value[immerable]) {
|
|
2678
|
-
// console.warn()
|
|
2679
|
-
// }
|
|
2680
|
-
this._liveRowValue.value = produce(this._liveRowValue.value, draft => {
|
|
2681
|
-
this.form.writeDirtyStateTo(draft);
|
|
2682
|
-
});
|
|
2683
|
-
});
|
|
2684
|
-
}
|
|
2685
|
-
}
|
|
2686
|
-
|
|
2687
2570
|
class EditRowControls extends DisposableComponent {
|
|
2688
2571
|
constructor() {
|
|
2689
2572
|
super();
|
|
@@ -2713,19 +2596,15 @@ class EditRowControls extends DisposableComponent {
|
|
|
2713
2596
|
return (_a = this.editSession) === null || _a === void 0 ? void 0 : _a.form;
|
|
2714
2597
|
}
|
|
2715
2598
|
}
|
|
2716
|
-
EditRowControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2717
|
-
EditRowControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2599
|
+
EditRowControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EditRowControls, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2600
|
+
EditRowControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: EditRowControls, selector: "aup-row-editor-controls", inputs: { row: "row", editRowCommand: "editRowCommand", editSession: "editSession" }, usesInheritance: true, ngImport: i0, template: "<button *ngIf=\"!editSession\" mat-icon-button [pectinCommand]=\"editRowCommand\" class=\"edit-button\"><aup-icon icon=\"mat:edit\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"saveCommand\"><aup-icon icon=\"mat:done\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"cancelCommand\"><aup-icon icon=\"mat:clear\"></aup-icon></button>\n", styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }] });
|
|
2718
2601
|
__decorate([
|
|
2719
2602
|
TrackExternal(),
|
|
2720
2603
|
__metadata("design:type", Command)
|
|
2721
2604
|
], EditRowControls.prototype, "editRowCommand", void 0);
|
|
2722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EditRowControls, decorators: [{
|
|
2723
2606
|
type: Component,
|
|
2724
|
-
args: [{
|
|
2725
|
-
selector: 'aup-row-editor-controls',
|
|
2726
|
-
templateUrl: './edit-row-controls.component.html',
|
|
2727
|
-
styleUrls: ['./edit-row-controls.component.scss']
|
|
2728
|
-
}]
|
|
2607
|
+
args: [{ selector: 'aup-row-editor-controls', template: "<button *ngIf=\"!editSession\" mat-icon-button [pectinCommand]=\"editRowCommand\" class=\"edit-button\"><aup-icon icon=\"mat:edit\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"saveCommand\"><aup-icon icon=\"mat:done\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"cancelCommand\"><aup-icon icon=\"mat:clear\"></aup-icon></button>\n", styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}\n"] }]
|
|
2729
2608
|
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
2730
2609
|
type: Input
|
|
2731
2610
|
}], editRowCommand: [{
|
|
@@ -2747,15 +2626,11 @@ class SelectCellRendererComponent extends DisposableComponent {
|
|
|
2747
2626
|
return (_a = this.selectionModel) === null || _a === void 0 ? void 0 : _a.isSelected(this.row);
|
|
2748
2627
|
}
|
|
2749
2628
|
}
|
|
2750
|
-
SelectCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2751
|
-
SelectCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2629
|
+
SelectCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2630
|
+
SelectCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SelectCellRendererComponent, selector: "aup-select-cell-renderer", inputs: { row: "row" }, usesInheritance: true, ngImport: i0, template: "<mat-checkbox [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\"></mat-checkbox>\n", styles: [""], components: [{ type: i1$9.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }] });
|
|
2631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectCellRendererComponent, decorators: [{
|
|
2753
2632
|
type: Component,
|
|
2754
|
-
args: [{
|
|
2755
|
-
selector: 'aup-select-cell-renderer',
|
|
2756
|
-
templateUrl: './select-cell-renderer.component.html',
|
|
2757
|
-
styleUrls: ['./select-cell-renderer.component.scss']
|
|
2758
|
-
}]
|
|
2633
|
+
args: [{ selector: 'aup-select-cell-renderer', template: "<mat-checkbox [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\"></mat-checkbox>\n", styles: [""] }]
|
|
2759
2634
|
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
2760
2635
|
type: Input
|
|
2761
2636
|
}] } });
|
|
@@ -2779,15 +2654,11 @@ class SelectHeaderCellRendererComponent extends DisposableComponent {
|
|
|
2779
2654
|
return this.enableHeaderControls && this.selectionModel.getDelegate() instanceof MultipleSelectionModel;
|
|
2780
2655
|
}
|
|
2781
2656
|
}
|
|
2782
|
-
SelectHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2783
|
-
SelectHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2657
|
+
SelectHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2658
|
+
SelectHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SelectHeaderCellRendererComponent, selector: "aup-select-header-cell-renderer", usesInheritance: true, ngImport: i0, template: "<mat-checkbox *ngIf=\"isVisible()\" [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\" [indeterminate]=\"this.isIntermediate()\"></mat-checkbox>\n", styles: [""], components: [{ type: i1$9.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }] });
|
|
2659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectHeaderCellRendererComponent, decorators: [{
|
|
2785
2660
|
type: Component,
|
|
2786
|
-
args: [{
|
|
2787
|
-
selector: 'aup-select-header-cell-renderer',
|
|
2788
|
-
templateUrl: './select-header-cell-renderer.component.html',
|
|
2789
|
-
styleUrls: ['./select-header-cell-renderer.component.scss']
|
|
2790
|
-
}]
|
|
2661
|
+
args: [{ selector: 'aup-select-header-cell-renderer', template: "<mat-checkbox *ngIf=\"isVisible()\" [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\" [indeterminate]=\"this.isIntermediate()\"></mat-checkbox>\n", styles: [""] }]
|
|
2791
2662
|
}], ctorParameters: function () { return []; } });
|
|
2792
2663
|
|
|
2793
2664
|
const noop = () => {
|
|
@@ -3040,12 +2911,16 @@ class ListPropertyColumnModel extends ColumnModel {
|
|
|
3040
2911
|
this._format = (value) => value.map(v => v === null || v === void 0 ? void 0 : v.toString()).join(', ');
|
|
3041
2912
|
this.cellRenderer(DefaultCellRendererComponent);
|
|
3042
2913
|
this.useTextSearchPredicate((row, regex) => {
|
|
3043
|
-
|
|
2914
|
+
let rowElement = row[this.property];
|
|
2915
|
+
// @ts-ignore Started complaining in ts 4.5.. but I think my logic is correct...
|
|
2916
|
+
return regex.test(this._format(rowElement));
|
|
3044
2917
|
});
|
|
3045
2918
|
}
|
|
3046
2919
|
cellRenderer(componentType) {
|
|
3047
2920
|
this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData) => {
|
|
3048
|
-
|
|
2921
|
+
let rowElement = rowData.row[this.property];
|
|
2922
|
+
// @ts-ignore Started complaining in ts 4.5.. but I think my logic is correct...
|
|
2923
|
+
component.value = this._format(rowElement);
|
|
3049
2924
|
}));
|
|
3050
2925
|
return this;
|
|
3051
2926
|
}
|
|
@@ -3297,8 +3172,8 @@ class AbstractTableComponent extends ResizeAwareComponent {
|
|
|
3297
3172
|
return classes;
|
|
3298
3173
|
}
|
|
3299
3174
|
}
|
|
3300
|
-
AbstractTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3301
|
-
AbstractTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3175
|
+
AbstractTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractTableComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3176
|
+
AbstractTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractTableComponent, selector: "aup-abstract-table", inputs: { showHeaderModel: "showHeaderModel", showHeader: "showHeader", enableScrolling: "enableScrolling" }, host: { properties: { "class.enable-scrolling": "this.enableScrolling", "class": "this.baseCssClass", "class.hide-header": "this.hideHeader" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
3302
3177
|
__decorate([
|
|
3303
3178
|
TrackExternal({ defaultValue: true }),
|
|
3304
3179
|
__metadata("design:type", ValueModel)
|
|
@@ -3307,7 +3182,7 @@ __decorate([
|
|
|
3307
3182
|
StoreInValueModel('showHeaderModel'),
|
|
3308
3183
|
__metadata("design:type", Boolean)
|
|
3309
3184
|
], AbstractTableComponent.prototype, "showHeader", void 0);
|
|
3310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractTableComponent, decorators: [{
|
|
3311
3186
|
type: Component,
|
|
3312
3187
|
args: [{
|
|
3313
3188
|
selector: 'aup-abstract-table',
|
|
@@ -3344,9 +3219,9 @@ class ColumnTemplateDirective {
|
|
|
3344
3219
|
this.host.registerColumnTemplate(this.aupColumnTemplateColumnId, this.templateRef, this.viewContainer, this.aupColumnTemplateFillCell, (_a = this.aupColumnTemplateAutoPadChild) !== null && _a !== void 0 ? _a : this.aupColumnTemplateFillCell);
|
|
3345
3220
|
}
|
|
3346
3221
|
}
|
|
3347
|
-
ColumnTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3348
|
-
ColumnTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3222
|
+
ColumnTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ColumnTemplateDirective, deps: [{ token: AbstractTableComponent }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3223
|
+
ColumnTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ColumnTemplateDirective, selector: "[aupColumnTemplate]", inputs: { aupColumnTemplate: "aupColumnTemplate", aupColumnTemplateColumnId: "aupColumnTemplateColumnId", aupColumnTemplateFillCell: "aupColumnTemplateFillCell", aupColumnTemplateAutoPadChild: "aupColumnTemplateAutoPadChild" }, ngImport: i0 });
|
|
3224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ColumnTemplateDirective, decorators: [{
|
|
3350
3225
|
type: Directive,
|
|
3351
3226
|
args: [{
|
|
3352
3227
|
selector: '[aupColumnTemplate]'
|
|
@@ -3361,49 +3236,256 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
3361
3236
|
type: Input
|
|
3362
3237
|
}] } });
|
|
3363
3238
|
|
|
3364
|
-
class
|
|
3239
|
+
class TableCellRendererComponent extends DisposableComponent {
|
|
3365
3240
|
constructor() {
|
|
3366
3241
|
super();
|
|
3367
|
-
this.
|
|
3368
|
-
|
|
3369
|
-
this.
|
|
3242
|
+
this.defaultClassNames = 'aup-cell-renderer';
|
|
3243
|
+
this.fillCell = false;
|
|
3244
|
+
this.padChild = false;
|
|
3245
|
+
this.editRowCommand = Command.create(() => {
|
|
3246
|
+
this.tableModel.startEditSession(this.row);
|
|
3247
|
+
});
|
|
3370
3248
|
}
|
|
3371
|
-
|
|
3372
|
-
|
|
3249
|
+
ngOnInit() {
|
|
3250
|
+
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
3251
|
+
this.firstEditableColumn = chain(this.tableModel.firstEditableColumn).equals(this.column); // this would break if the column changed.
|
|
3252
|
+
this.column.attachCell(this);
|
|
3373
3253
|
}
|
|
3374
|
-
|
|
3375
|
-
return this.
|
|
3254
|
+
hasActiveEditor() {
|
|
3255
|
+
return !!this.editSession && !!this.column.hasEditorPortal();
|
|
3376
3256
|
}
|
|
3377
|
-
|
|
3378
|
-
|
|
3257
|
+
initialiseRenderer(ref) {
|
|
3258
|
+
this.column.onRendererAttached(this, ref);
|
|
3379
3259
|
}
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3260
|
+
initialiseEditor(ref) {
|
|
3261
|
+
this.column.onEditorAttached(this, ref);
|
|
3262
|
+
if (this.firstEditableColumn.value) {
|
|
3263
|
+
// @see https://github.com/angular/components/issues/12070
|
|
3264
|
+
setTimeout(() => this.tryAndFocusEditor(ref));
|
|
3383
3265
|
}
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3266
|
+
}
|
|
3267
|
+
tryAndFocusEditor(ref) {
|
|
3268
|
+
var _a;
|
|
3269
|
+
if (ref instanceof ComponentRef) {
|
|
3270
|
+
const editor = ref.instance;
|
|
3271
|
+
// CellEditorComponent<Row> | CellListEditorComponent<Row>
|
|
3272
|
+
if (editor.requestFocus) {
|
|
3273
|
+
editor.requestFocus();
|
|
3388
3274
|
}
|
|
3389
3275
|
else {
|
|
3390
|
-
|
|
3276
|
+
const model = (editor['valueModel'] || editor['listModel']);
|
|
3277
|
+
(_a = model === null || model === void 0 ? void 0 : model.focusContext) === null || _a === void 0 ? void 0 : _a.requestFocus();
|
|
3391
3278
|
}
|
|
3392
|
-
|
|
3393
|
-
});
|
|
3394
|
-
return column;
|
|
3279
|
+
}
|
|
3395
3280
|
}
|
|
3396
|
-
|
|
3397
|
-
|
|
3281
|
+
// @Trace()
|
|
3282
|
+
ngOnChanges(changes) {
|
|
3283
|
+
this.column.updatePortalContent(this);
|
|
3284
|
+
}
|
|
3285
|
+
getRendererPortal() {
|
|
3286
|
+
return this[CELL_RENDERER_PORTAL];
|
|
3287
|
+
}
|
|
3288
|
+
getEditorPortal() {
|
|
3289
|
+
return this[CELL_EDITOR_PORTAL];
|
|
3290
|
+
}
|
|
3291
|
+
getRowData() {
|
|
3292
|
+
return {
|
|
3293
|
+
row: this.row,
|
|
3294
|
+
editSession: this.editSession,
|
|
3295
|
+
editRowCommand: this.editRowCommand
|
|
3296
|
+
};
|
|
3398
3297
|
}
|
|
3399
3298
|
}
|
|
3299
|
+
TableCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3300
|
+
TableCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableCellRendererComponent, selector: "aup-table-cell-renderer", inputs: { row: "row", column: "column", editSession: "editSession", tableModel: "tableModel" }, host: { properties: { "class": "this.defaultClassNames", "class.fillCell": "this.fillCell", "class.padChild": "this.padChild" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"!hasActiveEditor()\" [cdkPortalOutlet]=\"getRendererPortal()\" (attached)=\"initialiseRenderer($event)\"></ng-container>\n<ng-container *ngIf=\"hasActiveEditor()\" [cdkPortalOutlet]=\"getEditorPortal()\" (attached)=\"initialiseEditor($event)\"></ng-container>\n", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
3301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCellRendererComponent, decorators: [{
|
|
3302
|
+
type: Component,
|
|
3303
|
+
args: [{ selector: 'aup-table-cell-renderer', template: "<ng-container *ngIf=\"!hasActiveEditor()\" [cdkPortalOutlet]=\"getRendererPortal()\" (attached)=\"initialiseRenderer($event)\"></ng-container>\n<ng-container *ngIf=\"hasActiveEditor()\" [cdkPortalOutlet]=\"getEditorPortal()\" (attached)=\"initialiseEditor($event)\"></ng-container>\n", styles: [""] }]
|
|
3304
|
+
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
3305
|
+
type: Input
|
|
3306
|
+
}], column: [{
|
|
3307
|
+
type: Input
|
|
3308
|
+
}], editSession: [{
|
|
3309
|
+
type: Input
|
|
3310
|
+
}], tableModel: [{
|
|
3311
|
+
type: Input
|
|
3312
|
+
}], defaultClassNames: [{
|
|
3313
|
+
type: HostBinding,
|
|
3314
|
+
args: ['class']
|
|
3315
|
+
}], fillCell: [{
|
|
3316
|
+
type: HostBinding,
|
|
3317
|
+
args: ['class.fillCell']
|
|
3318
|
+
}], padChild: [{
|
|
3319
|
+
type: HostBinding,
|
|
3320
|
+
args: ['class.padChild']
|
|
3321
|
+
}] } });
|
|
3400
3322
|
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
this.
|
|
3323
|
+
class TableHeaderCellRendererComponent {
|
|
3324
|
+
constructor() {
|
|
3325
|
+
this.defaultClassNames = 'aup-header-cell-renderer';
|
|
3326
|
+
}
|
|
3327
|
+
ngOnInit() {
|
|
3328
|
+
this.column.attachHeaderCell(this);
|
|
3329
|
+
}
|
|
3330
|
+
// @Trace()
|
|
3331
|
+
initialiseHeader(ref) {
|
|
3332
|
+
this.column.onHeaderAttached(this, ref);
|
|
3333
|
+
}
|
|
3334
|
+
getPortal() {
|
|
3335
|
+
return this[HEADER_CELL_RENDERER_PORTAL];
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
TableHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3339
|
+
TableHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableHeaderCellRendererComponent, selector: "aup-table-header-cell-renderer", inputs: { column: "column" }, host: { properties: { "class": "this.defaultClassNames" } }, ngImport: i0, template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event)\"></ng-container>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}\n"], directives: [{ type: i2$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
3340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellRendererComponent, decorators: [{
|
|
3341
|
+
type: Component,
|
|
3342
|
+
args: [{ selector: 'aup-table-header-cell-renderer', template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event)\"></ng-container>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}\n"] }]
|
|
3343
|
+
}], ctorParameters: function () { return []; }, propDecorators: { column: [{
|
|
3344
|
+
type: Input
|
|
3345
|
+
}], defaultClassNames: [{
|
|
3346
|
+
type: HostBinding,
|
|
3347
|
+
args: ['class']
|
|
3348
|
+
}] } });
|
|
3349
|
+
|
|
3350
|
+
class MenuItemData {
|
|
3351
|
+
constructor(factory, face) {
|
|
3352
|
+
this.factory = factory;
|
|
3353
|
+
this.face = face;
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
/**
|
|
3357
|
+
*
|
|
3358
|
+
*/
|
|
3359
|
+
class TableRowMenuComponent extends DisposableComponent {
|
|
3360
|
+
constructor() {
|
|
3361
|
+
super();
|
|
3362
|
+
this.actions = [];
|
|
3363
|
+
this.moreActions = [];
|
|
3364
|
+
}
|
|
3365
|
+
registerAction(commandFactory, properties) {
|
|
3366
|
+
this.actions.push(new MenuItemData(commandFactory, properties));
|
|
3367
|
+
}
|
|
3368
|
+
registerMoreAction(commandFactory, properties) {
|
|
3369
|
+
this.moreActions.push(new MenuItemData(commandFactory, properties));
|
|
3370
|
+
}
|
|
3371
|
+
createMoreMenuCommand(item, value) {
|
|
3372
|
+
const { when } = Dsl.disposeWith(this);
|
|
3373
|
+
const command = item.factory.create(value);
|
|
3374
|
+
when(command.busy).becomesFalsey(() => {
|
|
3375
|
+
this.closeMoreMenu();
|
|
3376
|
+
});
|
|
3377
|
+
return command;
|
|
3378
|
+
}
|
|
3379
|
+
closeMoreMenu() {
|
|
3380
|
+
this.menu.closeMenu();
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
TableRowMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3384
|
+
TableRowMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableRowMenuComponent, selector: "aup-table-row-menu", inputs: { value: "value" }, viewQueries: [{ propertyName: "menu", first: true, predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3385
|
+
<aup-tool-bar>
|
|
3386
|
+
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3387
|
+
[face]="action.face"></aup-command>
|
|
3388
|
+
</aup-tool-bar>
|
|
3389
|
+
<ng-container *ngIf="moreActions.length > 0">
|
|
3390
|
+
<aup-more-menu>
|
|
3391
|
+
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3392
|
+
[face]="action.face"></aup-command>
|
|
3393
|
+
</aup-more-menu>
|
|
3394
|
+
</ng-container>
|
|
3395
|
+
`, isInline: true, styles: [":host{display:inline-flex;flex-direction:row;align-items:center}\n"], components: [{ type: ToolBarComponent, selector: "aup-tool-bar" }, { type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { type: MoreMenuComponent, selector: "aup-more-menu", inputs: ["tooltip"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowMenuComponent, decorators: [{
|
|
3397
|
+
type: Component,
|
|
3398
|
+
args: [{
|
|
3399
|
+
selector: 'aup-table-row-menu',
|
|
3400
|
+
template: `
|
|
3401
|
+
<aup-tool-bar>
|
|
3402
|
+
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3403
|
+
[face]="action.face"></aup-command>
|
|
3404
|
+
</aup-tool-bar>
|
|
3405
|
+
<ng-container *ngIf="moreActions.length > 0">
|
|
3406
|
+
<aup-more-menu>
|
|
3407
|
+
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3408
|
+
[face]="action.face"></aup-command>
|
|
3409
|
+
</aup-more-menu>
|
|
3410
|
+
</ng-container>
|
|
3411
|
+
`,
|
|
3412
|
+
styles: [`:host {
|
|
3413
|
+
display: inline-flex;
|
|
3414
|
+
flex-direction: row;
|
|
3415
|
+
align-items: center;
|
|
3416
|
+
}`]
|
|
3417
|
+
}]
|
|
3418
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
3419
|
+
type: Input
|
|
3420
|
+
}], menu: [{
|
|
3421
|
+
type: ViewChild,
|
|
3422
|
+
args: [MatMenuTrigger]
|
|
3423
|
+
}] } });
|
|
3424
|
+
|
|
3425
|
+
class ColumnListModel extends AbstractComputedListModel {
|
|
3426
|
+
constructor() {
|
|
3427
|
+
super();
|
|
3428
|
+
this._allColumns = new MutableListModel();
|
|
3429
|
+
const { chain } = Dsl.disposeWith(this);
|
|
3430
|
+
this.columnsById = chain(this._allColumns).indexBy('columnId');
|
|
3431
|
+
}
|
|
3432
|
+
get allColumns() {
|
|
3433
|
+
return this._allColumns.readonly;
|
|
3434
|
+
}
|
|
3435
|
+
getColumn(id) {
|
|
3436
|
+
return this.columnsById.get(id);
|
|
3437
|
+
}
|
|
3438
|
+
hasColumn(id) {
|
|
3439
|
+
return !!this.columnsById.get(id);
|
|
3440
|
+
}
|
|
3441
|
+
addColumn(column, index) {
|
|
3442
|
+
if (this.hasColumn(column.columnId)) {
|
|
3443
|
+
lang.illegalState(`Column with id=${column.columnId} already exists`);
|
|
3444
|
+
}
|
|
3445
|
+
this.registerDisposable(column);
|
|
3446
|
+
this.runInTransaction(() => {
|
|
3447
|
+
if (!isNil(index)) {
|
|
3448
|
+
this._allColumns.insert(index, column);
|
|
3449
|
+
}
|
|
3450
|
+
else {
|
|
3451
|
+
this._allColumns.push(column);
|
|
3452
|
+
}
|
|
3453
|
+
this.registerDisposable(this.trackSource(column.visible));
|
|
3454
|
+
});
|
|
3455
|
+
return column;
|
|
3456
|
+
}
|
|
3457
|
+
doComputeValue() {
|
|
3458
|
+
return this._allColumns.value.filter(c => c.visible.value);
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
class EditSession extends GarbageCollector {
|
|
3463
|
+
constructor(rowId, row, form, saveCommand) {
|
|
3464
|
+
super();
|
|
3465
|
+
this.rowId = rowId;
|
|
3466
|
+
this.form = form;
|
|
3467
|
+
this.saveCommand = saveCommand;
|
|
3468
|
+
this._liveRowValue = new MutableValueModel();
|
|
3469
|
+
this.liveRowValue = this._liveRowValue.readonly;
|
|
3470
|
+
this.form.load(row);
|
|
3471
|
+
this._liveRowValue.value = row;
|
|
3472
|
+
this.form.onEdit(() => {
|
|
3473
|
+
// if (!this._liveRowValue.value[immerable]) {
|
|
3474
|
+
// console.warn()
|
|
3475
|
+
// }
|
|
3476
|
+
this._liveRowValue.value = produce(this._liveRowValue.value, draft => {
|
|
3477
|
+
this.form.writeDirtyStateTo(draft);
|
|
3478
|
+
});
|
|
3479
|
+
});
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
// export type StringPropertiesOf<T> = { [K in keyof T]: T[K] extends string ? K : never }[keyof T];
|
|
3484
|
+
// export type NumberPropertiesOf<T> = { [K in keyof T]: T[K] extends number ? K : never }[keyof T];
|
|
3485
|
+
class RowClass {
|
|
3486
|
+
constructor(className, matches) {
|
|
3487
|
+
this.className = className;
|
|
3488
|
+
this.matches = matches;
|
|
3407
3489
|
}
|
|
3408
3490
|
}
|
|
3409
3491
|
class AbstractTableModel extends GarbageCollector {
|
|
@@ -3581,200 +3663,6 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3581
3663
|
}
|
|
3582
3664
|
TrackExternal.oneTimeBinding(AbstractTableModel);
|
|
3583
3665
|
|
|
3584
|
-
class TableCellRendererComponent extends DisposableComponent {
|
|
3585
|
-
constructor() {
|
|
3586
|
-
super();
|
|
3587
|
-
this.defaultClassNames = 'aup-cell-renderer';
|
|
3588
|
-
this.fillCell = false;
|
|
3589
|
-
this.padChild = false;
|
|
3590
|
-
this.editRowCommand = Command.create(() => {
|
|
3591
|
-
this.tableModel.startEditSession(this.row);
|
|
3592
|
-
});
|
|
3593
|
-
}
|
|
3594
|
-
ngOnInit() {
|
|
3595
|
-
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
3596
|
-
this.firstEditableColumn = chain(this.tableModel.firstEditableColumn).equals(this.column); // this would break if the column changed.
|
|
3597
|
-
this.column.attachCell(this);
|
|
3598
|
-
}
|
|
3599
|
-
hasActiveEditor() {
|
|
3600
|
-
return !!this.editSession && !!this.column.hasEditorPortal();
|
|
3601
|
-
}
|
|
3602
|
-
initialiseRenderer(ref) {
|
|
3603
|
-
this.column.onRendererAttached(this, ref);
|
|
3604
|
-
}
|
|
3605
|
-
initialiseEditor(ref) {
|
|
3606
|
-
this.column.onEditorAttached(this, ref);
|
|
3607
|
-
if (this.firstEditableColumn.value) {
|
|
3608
|
-
// @see https://github.com/angular/components/issues/12070
|
|
3609
|
-
setTimeout(() => this.tryAndFocusEditor(ref));
|
|
3610
|
-
}
|
|
3611
|
-
}
|
|
3612
|
-
tryAndFocusEditor(ref) {
|
|
3613
|
-
var _a;
|
|
3614
|
-
if (ref instanceof ComponentRef) {
|
|
3615
|
-
const editor = ref.instance;
|
|
3616
|
-
// CellEditorComponent<Row> | CellListEditorComponent<Row>
|
|
3617
|
-
if (editor.requestFocus) {
|
|
3618
|
-
editor.requestFocus();
|
|
3619
|
-
}
|
|
3620
|
-
else {
|
|
3621
|
-
const model = (editor['valueModel'] || editor['listModel']);
|
|
3622
|
-
(_a = model === null || model === void 0 ? void 0 : model.focusContext) === null || _a === void 0 ? void 0 : _a.requestFocus();
|
|
3623
|
-
}
|
|
3624
|
-
}
|
|
3625
|
-
}
|
|
3626
|
-
// @Trace()
|
|
3627
|
-
ngOnChanges(changes) {
|
|
3628
|
-
this.column.updatePortalContent(this);
|
|
3629
|
-
}
|
|
3630
|
-
getRendererPortal() {
|
|
3631
|
-
return this[CELL_RENDERER_PORTAL];
|
|
3632
|
-
}
|
|
3633
|
-
getEditorPortal() {
|
|
3634
|
-
return this[CELL_EDITOR_PORTAL];
|
|
3635
|
-
}
|
|
3636
|
-
getRowData() {
|
|
3637
|
-
return {
|
|
3638
|
-
row: this.row,
|
|
3639
|
-
editSession: this.editSession,
|
|
3640
|
-
editRowCommand: this.editRowCommand
|
|
3641
|
-
};
|
|
3642
|
-
}
|
|
3643
|
-
}
|
|
3644
|
-
TableCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3645
|
-
TableCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TableCellRendererComponent, selector: "aup-table-cell-renderer", inputs: { row: "row", column: "column", editSession: "editSession", tableModel: "tableModel" }, host: { properties: { "class": "this.defaultClassNames", "class.fillCell": "this.fillCell", "class.padChild": "this.padChild" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"!hasActiveEditor()\" [cdkPortalOutlet]=\"getRendererPortal()\" (attached)=\"initialiseRenderer($event)\"></ng-container>\n<ng-container *ngIf=\"hasActiveEditor()\" [cdkPortalOutlet]=\"getEditorPortal()\" (attached)=\"initialiseEditor($event)\"></ng-container>\n", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
3646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableCellRendererComponent, decorators: [{
|
|
3647
|
-
type: Component,
|
|
3648
|
-
args: [{
|
|
3649
|
-
selector: 'aup-table-cell-renderer',
|
|
3650
|
-
templateUrl: './table-cell-renderer.component.html',
|
|
3651
|
-
styleUrls: ['./table-cell-renderer.component.scss']
|
|
3652
|
-
}]
|
|
3653
|
-
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
3654
|
-
type: Input
|
|
3655
|
-
}], column: [{
|
|
3656
|
-
type: Input
|
|
3657
|
-
}], editSession: [{
|
|
3658
|
-
type: Input
|
|
3659
|
-
}], tableModel: [{
|
|
3660
|
-
type: Input
|
|
3661
|
-
}], defaultClassNames: [{
|
|
3662
|
-
type: HostBinding,
|
|
3663
|
-
args: ['class']
|
|
3664
|
-
}], fillCell: [{
|
|
3665
|
-
type: HostBinding,
|
|
3666
|
-
args: ['class.fillCell']
|
|
3667
|
-
}], padChild: [{
|
|
3668
|
-
type: HostBinding,
|
|
3669
|
-
args: ['class.padChild']
|
|
3670
|
-
}] } });
|
|
3671
|
-
|
|
3672
|
-
class TableHeaderCellRendererComponent {
|
|
3673
|
-
constructor() {
|
|
3674
|
-
this.defaultClassNames = 'aup-header-cell-renderer';
|
|
3675
|
-
}
|
|
3676
|
-
ngOnInit() {
|
|
3677
|
-
this.column.attachHeaderCell(this);
|
|
3678
|
-
}
|
|
3679
|
-
// @Trace()
|
|
3680
|
-
initialiseHeader(ref) {
|
|
3681
|
-
this.column.onHeaderAttached(this, ref);
|
|
3682
|
-
}
|
|
3683
|
-
getPortal() {
|
|
3684
|
-
return this[HEADER_CELL_RENDERER_PORTAL];
|
|
3685
|
-
}
|
|
3686
|
-
}
|
|
3687
|
-
TableHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3688
|
-
TableHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TableHeaderCellRendererComponent, selector: "aup-table-header-cell-renderer", inputs: { column: "column" }, host: { properties: { "class": "this.defaultClassNames" } }, ngImport: i0, template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event)\"></ng-container>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}\n"], directives: [{ type: i2$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
3689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableHeaderCellRendererComponent, decorators: [{
|
|
3690
|
-
type: Component,
|
|
3691
|
-
args: [{
|
|
3692
|
-
selector: 'aup-table-header-cell-renderer',
|
|
3693
|
-
templateUrl: './table-header-cell-renderer.component.html',
|
|
3694
|
-
styleUrls: ['./table-header-cell-renderer.component.scss']
|
|
3695
|
-
}]
|
|
3696
|
-
}], ctorParameters: function () { return []; }, propDecorators: { column: [{
|
|
3697
|
-
type: Input
|
|
3698
|
-
}], defaultClassNames: [{
|
|
3699
|
-
type: HostBinding,
|
|
3700
|
-
args: ['class']
|
|
3701
|
-
}] } });
|
|
3702
|
-
|
|
3703
|
-
class MenuItemData {
|
|
3704
|
-
constructor(factory, face) {
|
|
3705
|
-
this.factory = factory;
|
|
3706
|
-
this.face = face;
|
|
3707
|
-
}
|
|
3708
|
-
}
|
|
3709
|
-
/**
|
|
3710
|
-
*
|
|
3711
|
-
*/
|
|
3712
|
-
class TableRowMenuComponent extends DisposableComponent {
|
|
3713
|
-
constructor() {
|
|
3714
|
-
super();
|
|
3715
|
-
this.actions = [];
|
|
3716
|
-
this.moreActions = [];
|
|
3717
|
-
}
|
|
3718
|
-
registerAction(commandFactory, properties) {
|
|
3719
|
-
this.actions.push(new MenuItemData(commandFactory, properties));
|
|
3720
|
-
}
|
|
3721
|
-
registerMoreAction(commandFactory, properties) {
|
|
3722
|
-
this.moreActions.push(new MenuItemData(commandFactory, properties));
|
|
3723
|
-
}
|
|
3724
|
-
createMoreMenuCommand(item, value) {
|
|
3725
|
-
const { when } = Dsl.disposeWith(this);
|
|
3726
|
-
const command = item.factory.create(value);
|
|
3727
|
-
when(command.busy).becomesFalsey(() => {
|
|
3728
|
-
this.closeMoreMenu();
|
|
3729
|
-
});
|
|
3730
|
-
return command;
|
|
3731
|
-
}
|
|
3732
|
-
closeMoreMenu() {
|
|
3733
|
-
this.menu.closeMenu();
|
|
3734
|
-
}
|
|
3735
|
-
}
|
|
3736
|
-
TableRowMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableRowMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3737
|
-
TableRowMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TableRowMenuComponent, selector: "aup-table-row-menu", inputs: { value: "value" }, viewQueries: [{ propertyName: "menu", first: true, predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3738
|
-
<aup-tool-bar>
|
|
3739
|
-
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3740
|
-
[face]="action.face"></aup-command>
|
|
3741
|
-
</aup-tool-bar>
|
|
3742
|
-
<ng-container *ngIf="moreActions.length > 0">
|
|
3743
|
-
<aup-more-menu>
|
|
3744
|
-
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3745
|
-
[face]="action.face"></aup-command>
|
|
3746
|
-
</aup-more-menu>
|
|
3747
|
-
</ng-container>
|
|
3748
|
-
`, isInline: true, styles: [":host {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n }"], components: [{ type: ToolBarComponent, selector: "aup-tool-bar" }, { type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { type: MoreMenuComponent, selector: "aup-more-menu", inputs: ["tooltip"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableRowMenuComponent, decorators: [{
|
|
3750
|
-
type: Component,
|
|
3751
|
-
args: [{
|
|
3752
|
-
selector: 'aup-table-row-menu',
|
|
3753
|
-
template: `
|
|
3754
|
-
<aup-tool-bar>
|
|
3755
|
-
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3756
|
-
[face]="action.face"></aup-command>
|
|
3757
|
-
</aup-tool-bar>
|
|
3758
|
-
<ng-container *ngIf="moreActions.length > 0">
|
|
3759
|
-
<aup-more-menu>
|
|
3760
|
-
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3761
|
-
[face]="action.face"></aup-command>
|
|
3762
|
-
</aup-more-menu>
|
|
3763
|
-
</ng-container>
|
|
3764
|
-
`,
|
|
3765
|
-
styles: [`:host {
|
|
3766
|
-
display: inline-flex;
|
|
3767
|
-
flex-direction: row;
|
|
3768
|
-
align-items: center;
|
|
3769
|
-
}`]
|
|
3770
|
-
}]
|
|
3771
|
-
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
3772
|
-
type: Input
|
|
3773
|
-
}], menu: [{
|
|
3774
|
-
type: ViewChild,
|
|
3775
|
-
args: [MatMenuTrigger]
|
|
3776
|
-
}] } });
|
|
3777
|
-
|
|
3778
3666
|
/**
|
|
3779
3667
|
* Create your model:
|
|
3780
3668
|
* @example
|
|
@@ -3843,24 +3731,19 @@ class TableComponent extends AbstractTableComponent {
|
|
|
3843
3731
|
return this.tableModel;
|
|
3844
3732
|
}
|
|
3845
3733
|
}
|
|
3846
|
-
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3847
|
-
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3734
|
+
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3735
|
+
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableComponent, selector: "aup-table", inputs: { tableModel: "tableModel" }, providers: [
|
|
3848
3736
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3849
3737
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"scroll-container\">\n <table mat-table [dataSource]=\"getModel().dataSource.value\" [trackBy]=\"getModel().trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"getModel().isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"getModel()\"\n [editSession]=\"getModel().getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"getModel().getRowClasses(row)\" [class.enable-hover]=\"getModel().isHoverEnabled()\"\n [attr.aup-row-id]=\"getModel().trackBy(i, row)\"\n ></tr>\n\n </table>\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"], components: [{ type: i1$c.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: TableHeaderCellRendererComponent, selector: "aup-table-header-cell-renderer", inputs: ["column"] }, { type: TableCellRendererComponent, selector: "aup-table-cell-renderer", inputs: ["row", "column", "editSession", "tableModel"] }, { type: i1$c.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1$c.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$c.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1$c.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1$c.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1$c.MatCellDef, selector: "[matCellDef]" }, { type: i1$c.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i1$c.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1$c.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
3850
3738
|
__decorate([
|
|
3851
3739
|
TrackExternal(),
|
|
3852
3740
|
__metadata("design:type", AbstractTableModel)
|
|
3853
3741
|
], TableComponent.prototype, "tableModel", void 0);
|
|
3854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableComponent, decorators: [{
|
|
3855
3743
|
type: Component,
|
|
3856
|
-
args: [{
|
|
3857
|
-
selector: 'aup-table',
|
|
3858
|
-
templateUrl: '../table.component.html',
|
|
3859
|
-
styleUrls: ['../table.component.scss'],
|
|
3860
|
-
providers: [
|
|
3744
|
+
args: [{ selector: 'aup-table', providers: [
|
|
3861
3745
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3862
|
-
]
|
|
3863
|
-
}]
|
|
3746
|
+
], template: "<div class=\"scroll-container\">\n <table mat-table [dataSource]=\"getModel().dataSource.value\" [trackBy]=\"getModel().trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"getModel().isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"getModel()\"\n [editSession]=\"getModel().getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"getModel().getRowClasses(row)\" [class.enable-hover]=\"getModel().isHoverEnabled()\"\n [attr.aup-row-id]=\"getModel().trackBy(i, row)\"\n ></tr>\n\n </table>\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"] }]
|
|
3864
3747
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tableModel: [{
|
|
3865
3748
|
type: Input
|
|
3866
3749
|
}] } });
|
|
@@ -3890,15 +3773,11 @@ class TreeInheritanceIconComponent {
|
|
|
3890
3773
|
return TreeInheritanceIconComponent.HAS_TAIL.includes(this.type);
|
|
3891
3774
|
}
|
|
3892
3775
|
}
|
|
3893
|
-
TreeInheritanceIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3894
|
-
TreeInheritanceIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3776
|
+
TreeInheritanceIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeInheritanceIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3777
|
+
TreeInheritanceIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TreeInheritanceIconComponent, selector: "aup-tree-inheritance-icon", inputs: { type: "type", pixelWidth: "pixelWidth", pixelHeight: "pixelHeight" }, host: { properties: { "class": "this.type" } }, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" [attr.width]=\"pixelWidth\" [attr.height]=\"pixelHeight\" [attr.viewBox]=\"viewBox\">\n <g fill=\"none\" fill-rule=\"evenodd\">\n <rect *ngIf=\"hasHead()\" width=\"1\" height=\"32.5\" x=\"11.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTail()\" width=\"1\" height=\"32.5\" x=\"11.5\" y=\"31.5\" fill=\"currentColor\"/>\n\n <rect *ngIf=\"hasLeadIn()\" width=\"12\" height=\"1\" y=\"31.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTerminal()\" width=\"12\" height=\"1\" x=\"12\" y=\"31.5\" fill=\"currentColor\"/>\n </g>\n</svg>\n", styles: [":host{position:relative;color:inherit}svg{color:var(--line-color);display:block}\n"], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeInheritanceIconComponent, decorators: [{
|
|
3896
3779
|
type: Component,
|
|
3897
|
-
args: [{
|
|
3898
|
-
selector: 'aup-tree-inheritance-icon',
|
|
3899
|
-
templateUrl: './tree-inheritance-icon.component.svg',
|
|
3900
|
-
styleUrls: ['./tree-inheritance-icon.component.scss']
|
|
3901
|
-
}]
|
|
3780
|
+
args: [{ selector: 'aup-tree-inheritance-icon', template: "<svg xmlns=\"http://www.w3.org/2000/svg\" [attr.width]=\"pixelWidth\" [attr.height]=\"pixelHeight\" [attr.viewBox]=\"viewBox\">\n <g fill=\"none\" fill-rule=\"evenodd\">\n <rect *ngIf=\"hasHead()\" width=\"1\" height=\"32.5\" x=\"11.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTail()\" width=\"1\" height=\"32.5\" x=\"11.5\" y=\"31.5\" fill=\"currentColor\"/>\n\n <rect *ngIf=\"hasLeadIn()\" width=\"12\" height=\"1\" y=\"31.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTerminal()\" width=\"12\" height=\"1\" x=\"12\" y=\"31.5\" fill=\"currentColor\"/>\n </g>\n</svg>\n", styles: [":host{position:relative;color:inherit}svg{color:var(--line-color);display:block}\n"] }]
|
|
3902
3781
|
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
3903
3782
|
type: Input
|
|
3904
3783
|
}, {
|
|
@@ -4105,6 +3984,87 @@ var DecoratedTreeNode;
|
|
|
4105
3984
|
DecoratedTreeNode.Decorator = Decorator;
|
|
4106
3985
|
})(DecoratedTreeNode || (DecoratedTreeNode = {}));
|
|
4107
3986
|
|
|
3987
|
+
class TreeLabelCellRendererComponent extends DisposableComponent {
|
|
3988
|
+
constructor() {
|
|
3989
|
+
super();
|
|
3990
|
+
this.nodeModel = new MutableValueModel();
|
|
3991
|
+
const { chain } = Dsl.disposeWith(this);
|
|
3992
|
+
this.iconList = chain(this.nodeModel).mapToList(node => {
|
|
3993
|
+
const icons = DecoratedTreeNode.getDecorator(node).ancestors().slice(1).map(ancestor => {
|
|
3994
|
+
return DecoratedTreeNode.getDecorator(ancestor).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_BLANK : TreeInheritanceIconComponent.Type.ICON_THROUGH;
|
|
3995
|
+
});
|
|
3996
|
+
if (!DecoratedTreeNode.getDecorator(node).isRoot()) {
|
|
3997
|
+
icons.push(DecoratedTreeNode.getDecorator(node).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_INHERITED_TERMINAL : TreeInheritanceIconComponent.Type.ICON_INHERITED_THROUGH_TERMINAL);
|
|
3998
|
+
}
|
|
3999
|
+
return icons;
|
|
4000
|
+
});
|
|
4001
|
+
}
|
|
4002
|
+
ngOnInit() {
|
|
4003
|
+
const { chain } = Dsl.disposeWith(this);
|
|
4004
|
+
this.canExpand = chain(this.nodeModel).map(node => {
|
|
4005
|
+
return DecoratedTreeNode.getDecorator(node).hasChildren() && this.treeTableModel.isCollapsed(node);
|
|
4006
|
+
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4007
|
+
this.canCollapse = chain(this.nodeModel).map(node => {
|
|
4008
|
+
return DecoratedTreeNode.getDecorator(node).hasChildren() && !this.treeTableModel.isCollapsed(node);
|
|
4009
|
+
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4010
|
+
this.iconModel = chain(this.nodeModel).map(node => {
|
|
4011
|
+
var _a;
|
|
4012
|
+
const expanded = this.treeTableModel.treeExpansionModel.isExpanded(this.node);
|
|
4013
|
+
const iconFactory = (_a = this.iconFactory) !== null && _a !== void 0 ? _a : TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY;
|
|
4014
|
+
return iconFactory(node, expanded, TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY(node, expanded, undefined));
|
|
4015
|
+
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4016
|
+
}
|
|
4017
|
+
get isRoot() {
|
|
4018
|
+
return DecoratedTreeNode.getDecorator(this.node).isRoot();
|
|
4019
|
+
}
|
|
4020
|
+
get isLeaf() {
|
|
4021
|
+
return DecoratedTreeNode.getDecorator(this.node).isLeaf();
|
|
4022
|
+
}
|
|
4023
|
+
get node() {
|
|
4024
|
+
return this.nodeModel.value;
|
|
4025
|
+
}
|
|
4026
|
+
// @Trace()
|
|
4027
|
+
expandOrCollapse($event, node) {
|
|
4028
|
+
$event.preventDefault();
|
|
4029
|
+
$event.stopPropagation();
|
|
4030
|
+
this.treeTableModel.isCollapsed(node) ? this.treeTableModel.expand(node) : this.treeTableModel.collapse(node);
|
|
4031
|
+
}
|
|
4032
|
+
}
|
|
4033
|
+
TreeLabelCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeLabelCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4034
|
+
TreeLabelCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TreeLabelCellRendererComponent, selector: "aup-tree-label-cell-renderer", inputs: { value: "value", label: "label", iconFactory: "iconFactory", treeTableModel: "treeTableModel" }, host: { properties: { "class.root": "this.isRoot", "class.leaf": "this.isLeaf" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"tree-icons\">\n <aup-tree-inheritance-icon *ngFor=\"let type of iconList.value\" [type]=\"type\"></aup-tree-inheritance-icon>\n <aup-icon *ngIf=\"iconModel.value\"\n [icon]=\"iconModel.value\"\n [class.clickable]=\"canExpand.value || canCollapse.value\"\n (click)=\"expandOrCollapse($event, node)\" ></aup-icon>\n</div>\n<div class=\"label\">{{label}}</div>\n", styles: [":host{--line-color: #ddd;--node-color: #999;display:inline-flex;flex-direction:row;align-items:stretch}:host div.label{display:flex;flex-direction:row;align-items:center;white-space:nowrap;padding-left:6px}:host div.tree-icons{display:grid;grid-auto-flow:column;grid-auto-columns:auto;grid-template-rows:1fr;align-items:stretch;justify-content:stretch}:host div.tree-icons aup-icon{align-self:center;color:var(--node-color)}:host div.tree-icons aup-icon.clickable{cursor:pointer}:host div.tree-icons aup-tree-inheritance-icon,:host div.tree-icons aup-icon{margin-left:4px}\n"], components: [{ type: TreeInheritanceIconComponent, selector: "aup-tree-inheritance-icon", inputs: ["type", "pixelWidth", "pixelHeight"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4035
|
+
__decorate([
|
|
4036
|
+
StoreInValueModel('nodeModel'),
|
|
4037
|
+
__metadata("design:type", Object)
|
|
4038
|
+
], TreeLabelCellRendererComponent.prototype, "value", void 0);
|
|
4039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeLabelCellRendererComponent, decorators: [{
|
|
4040
|
+
type: Component,
|
|
4041
|
+
args: [{ selector: 'aup-tree-label-cell-renderer', template: "<div class=\"tree-icons\">\n <aup-tree-inheritance-icon *ngFor=\"let type of iconList.value\" [type]=\"type\"></aup-tree-inheritance-icon>\n <aup-icon *ngIf=\"iconModel.value\"\n [icon]=\"iconModel.value\"\n [class.clickable]=\"canExpand.value || canCollapse.value\"\n (click)=\"expandOrCollapse($event, node)\" ></aup-icon>\n</div>\n<div class=\"label\">{{label}}</div>\n", styles: [":host{--line-color: #ddd;--node-color: #999;display:inline-flex;flex-direction:row;align-items:stretch}:host div.label{display:flex;flex-direction:row;align-items:center;white-space:nowrap;padding-left:6px}:host div.tree-icons{display:grid;grid-auto-flow:column;grid-auto-columns:auto;grid-template-rows:1fr;align-items:stretch;justify-content:stretch}:host div.tree-icons aup-icon{align-self:center;color:var(--node-color)}:host div.tree-icons aup-icon.clickable{cursor:pointer}:host div.tree-icons aup-tree-inheritance-icon,:host div.tree-icons aup-icon{margin-left:4px}\n"] }]
|
|
4042
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
4043
|
+
type: Input
|
|
4044
|
+
}], label: [{
|
|
4045
|
+
type: Input
|
|
4046
|
+
}], iconFactory: [{
|
|
4047
|
+
type: Input
|
|
4048
|
+
}], treeTableModel: [{
|
|
4049
|
+
type: Input
|
|
4050
|
+
}], isRoot: [{
|
|
4051
|
+
type: HostBinding,
|
|
4052
|
+
args: ['class.root']
|
|
4053
|
+
}], isLeaf: [{
|
|
4054
|
+
type: HostBinding,
|
|
4055
|
+
args: ['class.leaf']
|
|
4056
|
+
}] } });
|
|
4057
|
+
(function (TreeLabelCellRendererComponent) {
|
|
4058
|
+
TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY = (node, expanded, defaultIcon) => {
|
|
4059
|
+
const isLeaf = DecoratedTreeNode.getDecorator(node).isLeaf();
|
|
4060
|
+
return isLeaf ?
|
|
4061
|
+
undefined :
|
|
4062
|
+
expanded ?
|
|
4063
|
+
'mat:expand_more' :
|
|
4064
|
+
'mat:chevron_right';
|
|
4065
|
+
};
|
|
4066
|
+
})(TreeLabelCellRendererComponent || (TreeLabelCellRendererComponent = {}));
|
|
4067
|
+
|
|
4108
4068
|
class FlattenedTreeListModel extends ComputedListModel {
|
|
4109
4069
|
constructor(source, childRef, expansionModel) {
|
|
4110
4070
|
super(source, {
|
|
@@ -4303,91 +4263,6 @@ class TreeTableModel extends AbstractTableModel {
|
|
|
4303
4263
|
//
|
|
4304
4264
|
// }
|
|
4305
4265
|
|
|
4306
|
-
class TreeLabelCellRendererComponent extends DisposableComponent {
|
|
4307
|
-
constructor() {
|
|
4308
|
-
super();
|
|
4309
|
-
this.nodeModel = new MutableValueModel();
|
|
4310
|
-
const { chain } = Dsl.disposeWith(this);
|
|
4311
|
-
this.iconList = chain(this.nodeModel).mapToList(node => {
|
|
4312
|
-
const icons = DecoratedTreeNode.getDecorator(node).ancestors().slice(1).map(ancestor => {
|
|
4313
|
-
return DecoratedTreeNode.getDecorator(ancestor).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_BLANK : TreeInheritanceIconComponent.Type.ICON_THROUGH;
|
|
4314
|
-
});
|
|
4315
|
-
if (!DecoratedTreeNode.getDecorator(node).isRoot()) {
|
|
4316
|
-
icons.push(DecoratedTreeNode.getDecorator(node).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_INHERITED_TERMINAL : TreeInheritanceIconComponent.Type.ICON_INHERITED_THROUGH_TERMINAL);
|
|
4317
|
-
}
|
|
4318
|
-
return icons;
|
|
4319
|
-
});
|
|
4320
|
-
}
|
|
4321
|
-
ngOnInit() {
|
|
4322
|
-
const { chain } = Dsl.disposeWith(this);
|
|
4323
|
-
this.canExpand = chain(this.nodeModel).map(node => {
|
|
4324
|
-
return DecoratedTreeNode.getDecorator(node).hasChildren() && this.treeTableModel.isCollapsed(node);
|
|
4325
|
-
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4326
|
-
this.canCollapse = chain(this.nodeModel).map(node => {
|
|
4327
|
-
return DecoratedTreeNode.getDecorator(node).hasChildren() && !this.treeTableModel.isCollapsed(node);
|
|
4328
|
-
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4329
|
-
this.iconModel = chain(this.nodeModel).map(node => {
|
|
4330
|
-
var _a;
|
|
4331
|
-
const expanded = this.treeTableModel.treeExpansionModel.isExpanded(this.node);
|
|
4332
|
-
const iconFactory = (_a = this.iconFactory) !== null && _a !== void 0 ? _a : TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY;
|
|
4333
|
-
return iconFactory(node, expanded, TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY(node, expanded, undefined));
|
|
4334
|
-
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4335
|
-
}
|
|
4336
|
-
get isRoot() {
|
|
4337
|
-
return DecoratedTreeNode.getDecorator(this.node).isRoot();
|
|
4338
|
-
}
|
|
4339
|
-
get isLeaf() {
|
|
4340
|
-
return DecoratedTreeNode.getDecorator(this.node).isLeaf();
|
|
4341
|
-
}
|
|
4342
|
-
get node() {
|
|
4343
|
-
return this.nodeModel.value;
|
|
4344
|
-
}
|
|
4345
|
-
// @Trace()
|
|
4346
|
-
expandOrCollapse($event, node) {
|
|
4347
|
-
$event.preventDefault();
|
|
4348
|
-
$event.stopPropagation();
|
|
4349
|
-
this.treeTableModel.isCollapsed(node) ? this.treeTableModel.expand(node) : this.treeTableModel.collapse(node);
|
|
4350
|
-
}
|
|
4351
|
-
}
|
|
4352
|
-
TreeLabelCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TreeLabelCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4353
|
-
TreeLabelCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TreeLabelCellRendererComponent, selector: "aup-tree-label-cell-renderer", inputs: { value: "value", label: "label", iconFactory: "iconFactory", treeTableModel: "treeTableModel" }, host: { properties: { "class.root": "this.isRoot", "class.leaf": "this.isLeaf" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"tree-icons\">\n <aup-tree-inheritance-icon *ngFor=\"let type of iconList.value\" [type]=\"type\"></aup-tree-inheritance-icon>\n <aup-icon *ngIf=\"iconModel.value\"\n [icon]=\"iconModel.value\"\n [class.clickable]=\"canExpand.value || canCollapse.value\"\n (click)=\"expandOrCollapse($event, node)\" ></aup-icon>\n</div>\n<div class=\"label\">{{label}}</div>\n", styles: [":host{--line-color: #ddd;--node-color: #999;display:inline-flex;flex-direction:row;align-items:stretch}:host div.label{display:flex;flex-direction:row;align-items:center;white-space:nowrap;padding-left:6px}:host div.tree-icons{display:grid;grid-auto-flow:column;grid-auto-columns:auto;grid-template-rows:1fr;align-items:stretch;justify-content:stretch}:host div.tree-icons aup-icon{align-self:center;color:var(--node-color)}:host div.tree-icons aup-icon.clickable{cursor:pointer}:host div.tree-icons aup-tree-inheritance-icon,:host div.tree-icons aup-icon{margin-left:4px}\n"], components: [{ type: TreeInheritanceIconComponent, selector: "aup-tree-inheritance-icon", inputs: ["type", "pixelWidth", "pixelHeight"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4354
|
-
__decorate([
|
|
4355
|
-
StoreInValueModel('nodeModel'),
|
|
4356
|
-
__metadata("design:type", Object)
|
|
4357
|
-
], TreeLabelCellRendererComponent.prototype, "value", void 0);
|
|
4358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TreeLabelCellRendererComponent, decorators: [{
|
|
4359
|
-
type: Component,
|
|
4360
|
-
args: [{
|
|
4361
|
-
selector: 'aup-tree-label-cell-renderer',
|
|
4362
|
-
templateUrl: './tree-label-cell-renderer.component.html',
|
|
4363
|
-
styleUrls: ['./tree-label-cell-renderer.component.scss']
|
|
4364
|
-
}]
|
|
4365
|
-
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
4366
|
-
type: Input
|
|
4367
|
-
}], label: [{
|
|
4368
|
-
type: Input
|
|
4369
|
-
}], iconFactory: [{
|
|
4370
|
-
type: Input
|
|
4371
|
-
}], treeTableModel: [{
|
|
4372
|
-
type: Input
|
|
4373
|
-
}], isRoot: [{
|
|
4374
|
-
type: HostBinding,
|
|
4375
|
-
args: ['class.root']
|
|
4376
|
-
}], isLeaf: [{
|
|
4377
|
-
type: HostBinding,
|
|
4378
|
-
args: ['class.leaf']
|
|
4379
|
-
}] } });
|
|
4380
|
-
(function (TreeLabelCellRendererComponent) {
|
|
4381
|
-
TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY = (node, expanded, defaultIcon) => {
|
|
4382
|
-
const isLeaf = DecoratedTreeNode.getDecorator(node).isLeaf();
|
|
4383
|
-
return isLeaf ?
|
|
4384
|
-
undefined :
|
|
4385
|
-
expanded ?
|
|
4386
|
-
'mat:expand_more' :
|
|
4387
|
-
'mat:chevron_right';
|
|
4388
|
-
};
|
|
4389
|
-
})(TreeLabelCellRendererComponent || (TreeLabelCellRendererComponent = {}));
|
|
4390
|
-
|
|
4391
4266
|
/**
|
|
4392
4267
|
* Create your model:
|
|
4393
4268
|
* @example
|
|
@@ -4456,24 +4331,19 @@ class TreeTableComponent extends AbstractTableComponent {
|
|
|
4456
4331
|
return this.treeTableModel;
|
|
4457
4332
|
}
|
|
4458
4333
|
}
|
|
4459
|
-
TreeTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4460
|
-
TreeTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4334
|
+
TreeTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeTableComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4335
|
+
TreeTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TreeTableComponent, selector: "aup-tree-table", inputs: { treeTableModel: "treeTableModel" }, providers: [
|
|
4461
4336
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4462
4337
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"scroll-container\">\n <table mat-table [dataSource]=\"getModel().dataSource.value\" [trackBy]=\"getModel().trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"getModel().isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"getModel()\"\n [editSession]=\"getModel().getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"getModel().getRowClasses(row)\" [class.enable-hover]=\"getModel().isHoverEnabled()\"\n [attr.aup-row-id]=\"getModel().trackBy(i, row)\"\n ></tr>\n\n </table>\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n", "td.mat-cell{border-top-width:0!important;border-bottom-width:0!important}td.mat-column-tree-label,td.mat-column-tree-label{width:1px}aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}aup-tree-label-cell-renderer{flex:1}\n"], components: [{ type: i1$c.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: TableHeaderCellRendererComponent, selector: "aup-table-header-cell-renderer", inputs: ["column"] }, { type: TableCellRendererComponent, selector: "aup-table-cell-renderer", inputs: ["row", "column", "editSession", "tableModel"] }, { type: i1$c.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1$c.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$c.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1$c.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1$c.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1$c.MatCellDef, selector: "[matCellDef]" }, { type: i1$c.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i1$c.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1$c.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
4463
4338
|
__decorate([
|
|
4464
4339
|
TrackExternal(),
|
|
4465
4340
|
__metadata("design:type", TreeTableModel)
|
|
4466
4341
|
], TreeTableComponent.prototype, "treeTableModel", void 0);
|
|
4467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeTableComponent, decorators: [{
|
|
4468
4343
|
type: Component,
|
|
4469
|
-
args: [{
|
|
4470
|
-
selector: 'aup-tree-table',
|
|
4471
|
-
templateUrl: '../table.component.html',
|
|
4472
|
-
styleUrls: ['../table.component.scss', './tree-table.component.scss'],
|
|
4473
|
-
providers: [
|
|
4344
|
+
args: [{ selector: 'aup-tree-table', providers: [
|
|
4474
4345
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4475
|
-
]
|
|
4476
|
-
}]
|
|
4346
|
+
], template: "<div class=\"scroll-container\">\n <table mat-table [dataSource]=\"getModel().dataSource.value\" [trackBy]=\"getModel().trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"getModel().isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"getModel()\"\n [editSession]=\"getModel().getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"getModel().getRowClasses(row)\" [class.enable-hover]=\"getModel().isHoverEnabled()\"\n [attr.aup-row-id]=\"getModel().trackBy(i, row)\"\n ></tr>\n\n </table>\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n", "td.mat-cell{border-top-width:0!important;border-bottom-width:0!important}td.mat-column-tree-label,td.mat-column-tree-label{width:1px}aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}aup-tree-label-cell-renderer{flex:1}\n"] }]
|
|
4477
4347
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { treeTableModel: [{
|
|
4478
4348
|
type: Input
|
|
4479
4349
|
}] } });
|
|
@@ -4510,8 +4380,8 @@ class VerticalFocusContainerComponent extends FocusContainerComponent {
|
|
|
4510
4380
|
ngOnInit() {
|
|
4511
4381
|
}
|
|
4512
4382
|
}
|
|
4513
|
-
VerticalFocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4514
|
-
VerticalFocusContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4383
|
+
VerticalFocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VerticalFocusContainerComponent, deps: [{ token: i1$7.FocusManager, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4384
|
+
VerticalFocusContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: VerticalFocusContainerComponent, selector: "aup-vertical-focus-container", inputs: { rightArrowCommand: ["command.arrowRight", "rightArrowCommand"], leftArrowCommand: ["command.arrowLeft", "leftArrowCommand"] }, host: { listeners: { "keyup.arrowLeft": "arrowLeft($event)", "keyup.arrowRight": "arrowRight($event)", "keyup.arrowDown": "arrowDown($event)", "keyup.arrowUp": "arrowUp($event)" } }, providers: [
|
|
4515
4385
|
{ provide: FocusManager }
|
|
4516
4386
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
4517
4387
|
__decorate([
|
|
@@ -4522,19 +4392,16 @@ __decorate([
|
|
|
4522
4392
|
TrackExternal(),
|
|
4523
4393
|
__metadata("design:type", Command)
|
|
4524
4394
|
], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
|
|
4525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VerticalFocusContainerComponent, decorators: [{
|
|
4526
4396
|
type: Component,
|
|
4527
|
-
args: [{
|
|
4528
|
-
selector: 'aup-vertical-focus-container',
|
|
4529
|
-
templateUrl: './vertical-focus-container.component.html',
|
|
4530
|
-
styleUrls: ['./vertical-focus-container.component.scss'],
|
|
4531
|
-
providers: [
|
|
4397
|
+
args: [{ selector: 'aup-vertical-focus-container', providers: [
|
|
4532
4398
|
{ provide: FocusManager }
|
|
4533
|
-
]
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4399
|
+
], template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
4400
|
+
}], ctorParameters: function () {
|
|
4401
|
+
return [{ type: i1$7.FocusManager, decorators: [{
|
|
4402
|
+
type: Self
|
|
4403
|
+
}] }];
|
|
4404
|
+
}, propDecorators: { rightArrowCommand: [{
|
|
4538
4405
|
type: Input,
|
|
4539
4406
|
args: ['command.arrowRight']
|
|
4540
4407
|
}], leftArrowCommand: [{
|
|
@@ -4573,19 +4440,15 @@ class PaginatorComponent extends DisposableComponent {
|
|
|
4573
4440
|
return this.pageController.nextCommand;
|
|
4574
4441
|
}
|
|
4575
4442
|
}
|
|
4576
|
-
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4577
|
-
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4443
|
+
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4444
|
+
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PaginatorComponent, selector: "aup-paginator", inputs: { pageController: "pageController" }, usesInheritance: true, ngImport: i0, template: "<p>Page {{pageNumber}} of {{totalPages}}</p>\n<button mat-icon-button [pectinCommand]=\"previousCommand\"><aup-icon icon=\"mat:keyboard_arrow_left\"></aup-icon></button>\n<button mat-icon-button [pectinCommand]=\"nextCommand\"><aup-icon icon=\"mat:keyboard_arrow_right\"></aup-icon></button>\n\n", styles: [":host{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:12px;padding:0 8px;color:#0009}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{padding:0;margin:0;width:30px;height:30px}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }] });
|
|
4578
4445
|
__decorate([
|
|
4579
4446
|
TrackExternal(),
|
|
4580
4447
|
__metadata("design:type", PageController)
|
|
4581
4448
|
], PaginatorComponent.prototype, "pageController", void 0);
|
|
4582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
4583
4450
|
type: Component,
|
|
4584
|
-
args: [{
|
|
4585
|
-
selector: 'aup-paginator',
|
|
4586
|
-
templateUrl: './paginator.component.html',
|
|
4587
|
-
styleUrls: ['./paginator.component.scss']
|
|
4588
|
-
}]
|
|
4451
|
+
args: [{ selector: 'aup-paginator', template: "<p>Page {{pageNumber}} of {{totalPages}}</p>\n<button mat-icon-button [pectinCommand]=\"previousCommand\"><aup-icon icon=\"mat:keyboard_arrow_left\"></aup-icon></button>\n<button mat-icon-button [pectinCommand]=\"nextCommand\"><aup-icon icon=\"mat:keyboard_arrow_right\"></aup-icon></button>\n\n", styles: [":host{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:12px;padding:0 8px;color:#0009}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{padding:0;margin:0;width:30px;height:30px}\n"] }]
|
|
4589
4452
|
}], ctorParameters: function () { return []; }, propDecorators: { pageController: [{
|
|
4590
4453
|
type: Input
|
|
4591
4454
|
}] } });
|
|
@@ -4598,15 +4461,11 @@ class LabelledValueComponent extends DisposableComponent {
|
|
|
4598
4461
|
ngOnInit() {
|
|
4599
4462
|
}
|
|
4600
4463
|
}
|
|
4601
|
-
LabelledValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4602
|
-
LabelledValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4464
|
+
LabelledValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LabelledValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4465
|
+
LabelledValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: LabelledValueComponent, selector: "aup-labelled-value", inputs: { label: "label" }, usesInheritance: true, ngImport: i0, template: "<label>{{label}}</label>\n<ng-content></ng-content>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:#00000091;margin-bottom:6px;white-space:nowrap}\n"] });
|
|
4466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LabelledValueComponent, decorators: [{
|
|
4604
4467
|
type: Component,
|
|
4605
|
-
args: [{
|
|
4606
|
-
selector: 'aup-labelled-value',
|
|
4607
|
-
templateUrl: './labelled-value.component.html',
|
|
4608
|
-
styleUrls: ['./labelled-value.component.scss']
|
|
4609
|
-
}]
|
|
4468
|
+
args: [{ selector: 'aup-labelled-value', template: "<label>{{label}}</label>\n<ng-content></ng-content>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:#00000091;margin-bottom:6px;white-space:nowrap}\n"] }]
|
|
4610
4469
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
4611
4470
|
type: Input
|
|
4612
4471
|
}] } });
|
|
@@ -4657,8 +4516,8 @@ class MarkdownComponent extends DisposableComponent {
|
|
|
4657
4516
|
}
|
|
4658
4517
|
}
|
|
4659
4518
|
}
|
|
4660
|
-
MarkdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4661
|
-
MarkdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4519
|
+
MarkdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownComponent, deps: [{ token: PLATFORM_ID }, { token: i0.ElementRef }, { token: MarkdownService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4520
|
+
MarkdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: { content$: "content$", content: "content", inline: "inline" }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:inline-block}\n"] });
|
|
4662
4521
|
__decorate([
|
|
4663
4522
|
TrackExternal(),
|
|
4664
4523
|
__metadata("design:type", ValueModel)
|
|
@@ -4667,17 +4526,15 @@ __decorate([
|
|
|
4667
4526
|
StoreInValueModel('content$'),
|
|
4668
4527
|
__metadata("design:type", String)
|
|
4669
4528
|
], MarkdownComponent.prototype, "content", void 0);
|
|
4670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownComponent, decorators: [{
|
|
4671
4530
|
type: Component,
|
|
4672
|
-
args: [{
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
args: [PLATFORM_ID]
|
|
4680
|
-
}] }, { type: i0.ElementRef }, { type: MarkdownService }]; }, propDecorators: { content$: [{
|
|
4531
|
+
args: [{ selector: 'aup-markdown, [aupMarkdown]', template: "<ng-content></ng-content>\n", styles: [":host{display:inline-block}\n"] }]
|
|
4532
|
+
}], ctorParameters: function () {
|
|
4533
|
+
return [{ type: Object, decorators: [{
|
|
4534
|
+
type: Inject,
|
|
4535
|
+
args: [PLATFORM_ID]
|
|
4536
|
+
}] }, { type: i0.ElementRef }, { type: MarkdownService }];
|
|
4537
|
+
}, propDecorators: { content$: [{
|
|
4681
4538
|
type: Input
|
|
4682
4539
|
}], content: [{
|
|
4683
4540
|
type: Input
|
|
@@ -4690,8 +4547,8 @@ class ComponentsModule {
|
|
|
4690
4547
|
faIconLibrary.addIconPacks(fas);
|
|
4691
4548
|
}
|
|
4692
4549
|
}
|
|
4693
|
-
ComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4694
|
-
ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4550
|
+
ComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, deps: [{ token: i1$5.FaIconLibrary }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4551
|
+
ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, declarations: [AbstractInputComponent,
|
|
4695
4552
|
AbstractValueInputComponent,
|
|
4696
4553
|
AbstractListInputComponent,
|
|
4697
4554
|
NumberInputComponent,
|
|
@@ -4801,7 +4658,7 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
4801
4658
|
LabelledValueComponent,
|
|
4802
4659
|
LoadingContainerComponent,
|
|
4803
4660
|
MarkdownComponent] });
|
|
4804
|
-
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4661
|
+
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, providers: [
|
|
4805
4662
|
FocusBindingFactory,
|
|
4806
4663
|
MarkdownService
|
|
4807
4664
|
], imports: [[
|
|
@@ -4827,7 +4684,7 @@ ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
4827
4684
|
MatProgressSpinnerModule,
|
|
4828
4685
|
MatProgressBarModule
|
|
4829
4686
|
]] });
|
|
4830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, decorators: [{
|
|
4831
4688
|
type: NgModule,
|
|
4832
4689
|
args: [{
|
|
4833
4690
|
imports: [
|
|
@@ -5007,8 +4864,8 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
5007
4864
|
this.cdr.detectChanges();
|
|
5008
4865
|
}
|
|
5009
4866
|
}
|
|
5010
|
-
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5011
|
-
ActivityActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4867
|
+
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityActionsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4868
|
+
ActivityActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: { confirmCommand: "confirmCommand", cancelCommand: "cancelCommand", faces: "faces", confirmFace: "confirmFace", cancelFace: "cancelFace", style: "style", layout: "layout", align: "align" }, host: { properties: { "attr.layout": "this.layout", "attr.align": "this.align" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}\n"], components: [{ type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5012
4869
|
__decorate([
|
|
5013
4870
|
TrackExternal(),
|
|
5014
4871
|
__metadata("design:type", Command)
|
|
@@ -5017,13 +4874,9 @@ __decorate([
|
|
|
5017
4874
|
TrackExternal(),
|
|
5018
4875
|
__metadata("design:type", Command)
|
|
5019
4876
|
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
5020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityActionsComponent, decorators: [{
|
|
5021
4878
|
type: Component,
|
|
5022
|
-
args: [{
|
|
5023
|
-
selector: 'aup-activity-actions',
|
|
5024
|
-
templateUrl: './activity-actions.component.html',
|
|
5025
|
-
styleUrls: ['./activity-actions.component.scss']
|
|
5026
|
-
}]
|
|
4879
|
+
args: [{ selector: 'aup-activity-actions', template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}\n"] }]
|
|
5027
4880
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { confirmCommand: [{
|
|
5028
4881
|
type: Input
|
|
5029
4882
|
}], cancelCommand: [{
|
|
@@ -5114,8 +4967,8 @@ class Activity extends DisposableComponent {
|
|
|
5114
4967
|
return !!this._activityContext;
|
|
5115
4968
|
}
|
|
5116
4969
|
}
|
|
5117
|
-
Activity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5118
|
-
Activity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4970
|
+
Activity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: Activity, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4971
|
+
Activity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: Activity, selector: "ng-component", host: { properties: { "class": "this.class", "attr.focused": "this.isFocused" } }, viewQueries: [{ propertyName: "activityActions", first: true, predicate: ActivityActionsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
5119
4972
|
__decorate([
|
|
5120
4973
|
TrackExternal(),
|
|
5121
4974
|
__metadata("design:type", Command)
|
|
@@ -5124,7 +4977,7 @@ __decorate([
|
|
|
5124
4977
|
TrackExternal(),
|
|
5125
4978
|
__metadata("design:type", Command)
|
|
5126
4979
|
], Activity.prototype, "cancelCommand", void 0);
|
|
5127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: Activity, decorators: [{
|
|
5128
4981
|
type: Component,
|
|
5129
4982
|
args: [{
|
|
5130
4983
|
template: ''
|
|
@@ -5191,20 +5044,22 @@ class AbstractDialogComponent extends Activity {
|
|
|
5191
5044
|
}
|
|
5192
5045
|
isDestructive() {
|
|
5193
5046
|
// @ts-ignore
|
|
5194
|
-
return isFunction
|
|
5047
|
+
return isFunction(this.config['destructive']) && this.config.destructive();
|
|
5195
5048
|
}
|
|
5196
5049
|
}
|
|
5197
|
-
AbstractDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5198
|
-
AbstractDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5050
|
+
AbstractDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractDialogComponent, deps: [{ token: ALERT_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
5051
|
+
AbstractDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
5052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractDialogComponent, decorators: [{
|
|
5200
5053
|
type: Component,
|
|
5201
5054
|
args: [{
|
|
5202
5055
|
template: ''
|
|
5203
5056
|
}]
|
|
5204
|
-
}], ctorParameters: function () {
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5057
|
+
}], ctorParameters: function () {
|
|
5058
|
+
return [{ type: undefined, decorators: [{
|
|
5059
|
+
type: Inject,
|
|
5060
|
+
args: [ALERT_CONFIG]
|
|
5061
|
+
}] }];
|
|
5062
|
+
} });
|
|
5208
5063
|
|
|
5209
5064
|
class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
5210
5065
|
constructor(config) {
|
|
@@ -5217,17 +5072,19 @@ class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
|
5217
5072
|
});
|
|
5218
5073
|
}
|
|
5219
5074
|
}
|
|
5220
|
-
AbstractConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5221
|
-
AbstractConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5075
|
+
AbstractConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractConfirmDialogComponent, deps: [{ token: ALERT_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
5076
|
+
AbstractConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractConfirmDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
5077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractConfirmDialogComponent, decorators: [{
|
|
5223
5078
|
type: Component,
|
|
5224
5079
|
args: [{
|
|
5225
5080
|
template: ''
|
|
5226
5081
|
}]
|
|
5227
|
-
}], ctorParameters: function () {
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5082
|
+
}], ctorParameters: function () {
|
|
5083
|
+
return [{ type: undefined, decorators: [{
|
|
5084
|
+
type: Inject,
|
|
5085
|
+
args: [ALERT_CONFIG]
|
|
5086
|
+
}] }];
|
|
5087
|
+
} });
|
|
5231
5088
|
|
|
5232
5089
|
class ActivityTitleComponent extends DisposableComponent {
|
|
5233
5090
|
/**
|
|
@@ -5249,15 +5106,11 @@ class ActivityTitleComponent extends DisposableComponent {
|
|
|
5249
5106
|
ngOnInit() {
|
|
5250
5107
|
}
|
|
5251
5108
|
}
|
|
5252
|
-
ActivityTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5253
|
-
ActivityTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5109
|
+
ActivityTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityTitleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5110
|
+
ActivityTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ActivityTitleComponent, selector: "aup-activity-title", inputs: { hasTransparentBackground: "hasTransparentBackground", color: "color" }, host: { properties: { "class.transparent-background": "this.hasTransparentBackground", "attr.color": "this.color" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
5111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityTitleComponent, decorators: [{
|
|
5255
5112
|
type: Component,
|
|
5256
|
-
args: [{
|
|
5257
|
-
selector: 'aup-activity-title',
|
|
5258
|
-
templateUrl: './activity-title.component.html',
|
|
5259
|
-
styleUrls: ['./activity-title.component.scss']
|
|
5260
|
-
}]
|
|
5113
|
+
args: [{ selector: 'aup-activity-title', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
5261
5114
|
}], propDecorators: { hasTransparentBackground: [{
|
|
5262
5115
|
type: Input
|
|
5263
5116
|
}, {
|
|
@@ -5278,15 +5131,11 @@ class ActivityBodyComponent extends DisposableComponent {
|
|
|
5278
5131
|
ngOnInit() {
|
|
5279
5132
|
}
|
|
5280
5133
|
}
|
|
5281
|
-
ActivityBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5282
|
-
ActivityBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5134
|
+
ActivityBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5135
|
+
ActivityBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ActivityBodyComponent, selector: "aup-activity-body", inputs: { fullWidth: "fullWidth" }, host: { properties: { "class.full-width": "this.fullWidth" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["<ng-content></ng-content>\n"] });
|
|
5136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityBodyComponent, decorators: [{
|
|
5284
5137
|
type: Component,
|
|
5285
|
-
args: [{
|
|
5286
|
-
selector: 'aup-activity-body',
|
|
5287
|
-
templateUrl: './activity-body.component.html',
|
|
5288
|
-
styleUrls: ['./activity-body.component.html'],
|
|
5289
|
-
}]
|
|
5138
|
+
args: [{ selector: 'aup-activity-body', template: "<ng-content></ng-content>\n", styles: ["<ng-content></ng-content>\n"] }]
|
|
5290
5139
|
}], propDecorators: { fullWidth: [{
|
|
5291
5140
|
type: Input
|
|
5292
5141
|
}, {
|
|
@@ -5302,19 +5151,17 @@ class AlertDialogComponent extends AbstractDialogComponent {
|
|
|
5302
5151
|
});
|
|
5303
5152
|
}
|
|
5304
5153
|
}
|
|
5305
|
-
AlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5306
|
-
AlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5154
|
+
AlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AlertDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5155
|
+
AlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AlertDialogComponent, selector: "aup-alert-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], components: [{ type: ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { type: MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { type: ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }, { type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
5156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AlertDialogComponent, decorators: [{
|
|
5308
5157
|
type: Component,
|
|
5309
|
-
args: [{
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
args: [ACTIVITY_DATA]
|
|
5317
|
-
}] }]; } });
|
|
5158
|
+
args: [{ selector: 'aup-alert-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
5159
|
+
}], ctorParameters: function () {
|
|
5160
|
+
return [{ type: Alert, decorators: [{
|
|
5161
|
+
type: Inject,
|
|
5162
|
+
args: [ACTIVITY_DATA]
|
|
5163
|
+
}] }];
|
|
5164
|
+
} });
|
|
5318
5165
|
|
|
5319
5166
|
class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
5320
5167
|
constructor(config) {
|
|
@@ -5326,19 +5173,17 @@ class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5326
5173
|
});
|
|
5327
5174
|
}
|
|
5328
5175
|
}
|
|
5329
|
-
ConfirmThenDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5330
|
-
ConfirmThenDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5176
|
+
ConfirmThenDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5177
|
+
ConfirmThenDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ConfirmThenDialogComponent, selector: "aup-confirmation-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], components: [{ type: ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { type: MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { type: ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }, { type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
5178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenDialogComponent, decorators: [{
|
|
5332
5179
|
type: Component,
|
|
5333
|
-
args: [{
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
args: [ACTIVITY_DATA]
|
|
5341
|
-
}] }]; } });
|
|
5180
|
+
args: [{ selector: 'aup-confirmation-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
5181
|
+
}], ctorParameters: function () {
|
|
5182
|
+
return [{ type: undefined, decorators: [{
|
|
5183
|
+
type: Inject,
|
|
5184
|
+
args: [ACTIVITY_DATA]
|
|
5185
|
+
}] }];
|
|
5186
|
+
} });
|
|
5342
5187
|
|
|
5343
5188
|
class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
5344
5189
|
constructor(data) {
|
|
@@ -5354,19 +5199,17 @@ class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5354
5199
|
}));
|
|
5355
5200
|
}
|
|
5356
5201
|
}
|
|
5357
|
-
ConfirmThenExecuteDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5358
|
-
ConfirmThenExecuteDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5202
|
+
ConfirmThenExecuteDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenExecuteDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5203
|
+
ConfirmThenExecuteDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ConfirmThenExecuteDialogComponent, selector: "aup-confirmation-execute-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], components: [{ type: ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { type: MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { type: ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }, { type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
5204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenExecuteDialogComponent, decorators: [{
|
|
5360
5205
|
type: Component,
|
|
5361
|
-
args: [{
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
args: [ACTIVITY_DATA]
|
|
5369
|
-
}] }]; } });
|
|
5206
|
+
args: [{ selector: 'aup-confirmation-execute-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
5207
|
+
}], ctorParameters: function () {
|
|
5208
|
+
return [{ type: undefined, decorators: [{
|
|
5209
|
+
type: Inject,
|
|
5210
|
+
args: [ACTIVITY_DATA]
|
|
5211
|
+
}] }];
|
|
5212
|
+
} });
|
|
5370
5213
|
|
|
5371
5214
|
class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
5372
5215
|
constructor(confirm) {
|
|
@@ -5377,19 +5220,17 @@ class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5377
5220
|
});
|
|
5378
5221
|
}
|
|
5379
5222
|
}
|
|
5380
|
-
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5381
|
-
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5223
|
+
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5224
|
+
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ConfirmationDialogComponent, selector: "aup-confirmation-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], components: [{ type: ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { type: MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { type: ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }, { type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
5225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
|
|
5383
5226
|
type: Component,
|
|
5384
|
-
args: [{
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
args: [ACTIVITY_DATA]
|
|
5392
|
-
}] }]; } });
|
|
5227
|
+
args: [{ selector: 'aup-confirmation-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
5228
|
+
}], ctorParameters: function () {
|
|
5229
|
+
return [{ type: undefined, decorators: [{
|
|
5230
|
+
type: Inject,
|
|
5231
|
+
args: [ACTIVITY_DATA]
|
|
5232
|
+
}] }];
|
|
5233
|
+
} });
|
|
5393
5234
|
|
|
5394
5235
|
class AbstractInteractionContext {
|
|
5395
5236
|
startActivity(activityType, data, options) {
|
|
@@ -5528,15 +5369,11 @@ class ActivityOutletComponent {
|
|
|
5528
5369
|
return this.activityComponentRef.instance;
|
|
5529
5370
|
}
|
|
5530
5371
|
}
|
|
5531
|
-
ActivityOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5532
|
-
ActivityOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5372
|
+
ActivityOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityOutletComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
5373
|
+
ActivityOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: { nestedInteractionContext: "nestedInteractionContext", activityRef: "activityRef" }, ngImport: i0, template: '', isInline: true, styles: [":host{display:block}\n"] });
|
|
5374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityOutletComponent, decorators: [{
|
|
5534
5375
|
type: Component,
|
|
5535
|
-
args: [{
|
|
5536
|
-
selector: 'aup-activity-outlet',
|
|
5537
|
-
template: '',
|
|
5538
|
-
styleUrls: ['./activity-outlet.component.scss']
|
|
5539
|
-
}]
|
|
5376
|
+
args: [{ selector: 'aup-activity-outlet', template: '', styles: [":host{display:block}\n"] }]
|
|
5540
5377
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { nestedInteractionContext: [{
|
|
5541
5378
|
type: Input
|
|
5542
5379
|
}], activityRef: [{
|
|
@@ -5723,15 +5560,11 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
5723
5560
|
}, 75);
|
|
5724
5561
|
}
|
|
5725
5562
|
}
|
|
5726
|
-
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5727
|
-
ActivityContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5563
|
+
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5564
|
+
ActivityContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: { dynamicHeight: "dynamicHeight" }, viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], components: [{ type: i1$b.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i1$b.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busyModel", "busy"] }, { type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: ["nestedInteractionContext", "activityRef"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }] });
|
|
5565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityContainerComponent, decorators: [{
|
|
5729
5566
|
type: Component,
|
|
5730
|
-
args: [{
|
|
5731
|
-
selector: 'aup-activity-container',
|
|
5732
|
-
templateUrl: './activity-container.component.html',
|
|
5733
|
-
styleUrls: ['./activity-container.component.scss']
|
|
5734
|
-
}]
|
|
5567
|
+
args: [{ selector: 'aup-activity-container', template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"] }]
|
|
5735
5568
|
}], ctorParameters: function () { return []; }, propDecorators: { dynamicHeight: [{
|
|
5736
5569
|
type: Input
|
|
5737
5570
|
}], tabs: [{
|
|
@@ -5769,8 +5602,8 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
|
5769
5602
|
return (_a = this.interactionContext) === null || _a === void 0 ? void 0 : _a.isActive();
|
|
5770
5603
|
}
|
|
5771
5604
|
}
|
|
5772
|
-
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5773
|
-
AbstractActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5605
|
+
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5606
|
+
AbstractActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractActivityTriggerComponent, selector: "aup-abstract-activity-trigger", inputs: { activityClass: "activityClass", activityClassModel: "activityClassModel", activityData: "activityData", activityDataModel: "activityDataModel", face: "face", faceModel: "faceModel", alignFace: "alignFace" }, outputs: { confirmEvent: "confirmEvent", cancelEvent: "cancelEvent" }, host: { properties: { "class.active": "this.isActive" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
5774
5607
|
__decorate([
|
|
5775
5608
|
StoreInValueModel('activityClassModel'),
|
|
5776
5609
|
__metadata("design:type", Object)
|
|
@@ -5795,7 +5628,7 @@ __decorate([
|
|
|
5795
5628
|
TrackExternal(),
|
|
5796
5629
|
__metadata("design:type", ValueModel)
|
|
5797
5630
|
], AbstractActivityTriggerComponent.prototype, "faceModel", void 0);
|
|
5798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractActivityTriggerComponent, decorators: [{
|
|
5799
5632
|
type: Component,
|
|
5800
5633
|
args: [{
|
|
5801
5634
|
selector: 'aup-abstract-activity-trigger',
|
|
@@ -5919,9 +5752,9 @@ class InteractionService {
|
|
|
5919
5752
|
});
|
|
5920
5753
|
}
|
|
5921
5754
|
}
|
|
5922
|
-
InteractionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5923
|
-
InteractionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5755
|
+
InteractionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionService, deps: [{ token: ModalInteractionContextFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5756
|
+
InteractionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionService, providedIn: 'root' });
|
|
5757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionService, decorators: [{
|
|
5925
5758
|
type: Injectable,
|
|
5926
5759
|
args: [{
|
|
5927
5760
|
providedIn: 'root'
|
|
@@ -5999,15 +5832,11 @@ class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5999
5832
|
return this._interactionContext;
|
|
6000
5833
|
}
|
|
6001
5834
|
}
|
|
6002
|
-
ModalActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6003
|
-
ModalActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5835
|
+
ModalActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ModalActivityTriggerComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5836
|
+
ModalActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ModalActivityTriggerComponent, selector: "aup-modal-activity-trigger", usesInheritance: true, ngImport: i0, template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"], components: [{ type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }] });
|
|
5837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ModalActivityTriggerComponent, decorators: [{
|
|
6005
5838
|
type: Component,
|
|
6006
|
-
args: [{
|
|
6007
|
-
selector: 'aup-modal-activity-trigger',
|
|
6008
|
-
templateUrl: './modal-activity-trigger.component.html',
|
|
6009
|
-
styleUrls: ['./modal-activity-trigger.component.scss']
|
|
6010
|
-
}]
|
|
5839
|
+
args: [{ selector: 'aup-modal-activity-trigger', template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"] }]
|
|
6011
5840
|
}], ctorParameters: function () { return [{ type: InteractionService }]; } });
|
|
6012
5841
|
|
|
6013
5842
|
/**
|
|
@@ -6073,21 +5902,19 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
6073
5902
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
6074
5903
|
}
|
|
6075
5904
|
}
|
|
6076
|
-
InPlaceInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6077
|
-
InPlaceInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5905
|
+
InPlaceInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InPlaceInteractionContextComponent, deps: [{ token: InteractionService }, { token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5906
|
+
InPlaceInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: { animateFirstActivity: "animateFirstActivity" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs [dynamicHeight]=\"false\" [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-activity-container{flex:1}\n"], components: [{ type: i1$b.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i1$b.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { type: ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight"] }] });
|
|
5907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InPlaceInteractionContextComponent, decorators: [{
|
|
6079
5908
|
type: Component,
|
|
6080
|
-
args: [{
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
type: Optional
|
|
6090
|
-
}] }]; }, propDecorators: { activityContainerComponent: [{
|
|
5909
|
+
args: [{ selector: "aup-in-place-interaction-context", template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs [dynamicHeight]=\"false\" [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-activity-container{flex:1}\n"] }]
|
|
5910
|
+
}], ctorParameters: function () {
|
|
5911
|
+
return [{ type: InteractionService }, { type: undefined, decorators: [{
|
|
5912
|
+
type: Inject,
|
|
5913
|
+
args: [MAT_TABS_CONFIG]
|
|
5914
|
+
}, {
|
|
5915
|
+
type: Optional
|
|
5916
|
+
}] }];
|
|
5917
|
+
}, propDecorators: { activityContainerComponent: [{
|
|
6091
5918
|
type: ViewChild,
|
|
6092
5919
|
args: ["activityContainer", { static: true }]
|
|
6093
5920
|
}], animateFirstActivity: [{
|
|
@@ -6139,15 +5966,11 @@ class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
|
6139
5966
|
return this.interactionStyle === 'inline';
|
|
6140
5967
|
}
|
|
6141
5968
|
}
|
|
6142
|
-
AddCardActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6143
|
-
AddCardActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5969
|
+
AddCardActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddCardActivityComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5970
|
+
AddCardActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AddCardActivityComponent, selector: "aup-add-card-activity", inputs: { interactionStyle: "interactionStyle", renderAs: "renderAs" }, host: { properties: { "class": "this.activityTypeClass", "class.not-card": "this.notCard" } }, viewQueries: [{ propertyName: "inlineInteractionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"], components: [{ type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity"] }, { type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }], directives: [{ type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddCardActivityComponent, decorators: [{
|
|
6145
5972
|
type: Component,
|
|
6146
|
-
args: [{
|
|
6147
|
-
selector: 'aup-add-card-activity',
|
|
6148
|
-
templateUrl: './add-card-activity.component.html',
|
|
6149
|
-
styleUrls: ['./add-card-activity.component.scss'],
|
|
6150
|
-
}]
|
|
5973
|
+
args: [{ selector: 'aup-add-card-activity', template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"] }]
|
|
6151
5974
|
}], ctorParameters: function () { return [{ type: InteractionService }]; }, propDecorators: { inlineInteractionContext: [{
|
|
6152
5975
|
type: ViewChild,
|
|
6153
5976
|
args: [InPlaceInteractionContextComponent, { static: true }]
|
|
@@ -6213,19 +6036,15 @@ class AddItemInteractionContextComponent extends DisposableComponent {
|
|
|
6213
6036
|
ngOnInit() {
|
|
6214
6037
|
}
|
|
6215
6038
|
}
|
|
6216
|
-
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6217
|
-
AddItemInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6039
|
+
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddItemInteractionContextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6040
|
+
AddItemInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AddItemInteractionContextComponent, selector: "aup-add-item-interaction-context", inputs: { label: "label", icon: "icon", activityClass: "activityClass", activityData: "activityData", addCommand: "addCommand" }, host: { properties: { "class.interaction-active": "this.active", "tabindex": "this.tabindex" } }, viewQueries: [{ propertyName: "interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n", styles: [":host{--def-link-color: var(--link-color, currentColor);--def-link-color-hover: var(--link-color-hover, currentColor);--def-link-background: var(--link-background, transparent);--def-link-background-hover: var(--link-background-hover, rgba(0, 0, 0, .05));--def-link-border-radius: var(--link-border-radius, 4px);--def-link-padding: var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}\n"], components: [{ type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }] });
|
|
6218
6041
|
__decorate([
|
|
6219
6042
|
TrackExternal(),
|
|
6220
6043
|
__metadata("design:type", Command)
|
|
6221
6044
|
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
6222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddItemInteractionContextComponent, decorators: [{
|
|
6223
6046
|
type: Component,
|
|
6224
|
-
args: [{
|
|
6225
|
-
selector: 'aup-add-item-interaction-context',
|
|
6226
|
-
templateUrl: './add-item-interaction-context.component.html',
|
|
6227
|
-
styleUrls: ['./add-item-interaction-context.component.scss']
|
|
6228
|
-
}]
|
|
6047
|
+
args: [{ selector: 'aup-add-item-interaction-context', template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n", styles: [":host{--def-link-color: var(--link-color, currentColor);--def-link-color-hover: var(--link-color-hover, currentColor);--def-link-background: var(--link-background, transparent);--def-link-background-hover: var(--link-background-hover, rgba(0, 0, 0, .05));--def-link-border-radius: var(--link-border-radius, 4px);--def-link-padding: var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}\n"] }]
|
|
6229
6048
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
6230
6049
|
type: Input
|
|
6231
6050
|
}], icon: [{
|
|
@@ -6255,15 +6074,11 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
6255
6074
|
return this._interactionContext;
|
|
6256
6075
|
}
|
|
6257
6076
|
}
|
|
6258
|
-
InlineActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6259
|
-
InlineActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6077
|
+
InlineActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6078
|
+
InlineActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: InlineActivityTriggerComponent, selector: "aup-inline-activity-trigger", viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n", styles: [":host{display:inline-block}\n"], components: [{ type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity"] }, { type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }] });
|
|
6079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineActivityTriggerComponent, decorators: [{
|
|
6261
6080
|
type: Component,
|
|
6262
|
-
args: [{
|
|
6263
|
-
selector: 'aup-inline-activity-trigger',
|
|
6264
|
-
templateUrl: './inline-activity-trigger.component.html',
|
|
6265
|
-
styleUrls: ['./inline-activity-trigger.component.scss']
|
|
6266
|
-
}]
|
|
6081
|
+
args: [{ selector: 'aup-inline-activity-trigger', template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n", styles: [":host{display:inline-block}\n"] }]
|
|
6267
6082
|
}], ctorParameters: function () { return []; }, propDecorators: { _interactionContext: [{
|
|
6268
6083
|
type: ViewChild,
|
|
6269
6084
|
args: [InPlaceInteractionContextComponent, { static: true }]
|
|
@@ -6348,20 +6163,18 @@ class PopupInteractionContextComponent extends DisposableComponent {
|
|
|
6348
6163
|
ngOnInit() {
|
|
6349
6164
|
}
|
|
6350
6165
|
}
|
|
6351
|
-
PopupInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6352
|
-
PopupInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6166
|
+
PopupInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupInteractionContextComponent, deps: [{ token: i0.ElementRef }, { token: i1$d.Overlay }, { token: i1$d.CdkScrollable, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6167
|
+
PopupInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PopupInteractionContextComponent, selector: "aup-popup-interaction-context", inputs: { anchorX: "anchorX", anchorY: "anchorY" }, host: { properties: { "class.interaction-active": "this.active" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:inline-block}:host.interaction-active{background:rgba(0,0,0,.05)}\n"] });
|
|
6168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupInteractionContextComponent, decorators: [{
|
|
6354
6169
|
type: Component,
|
|
6355
|
-
args: [{
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
type: SkipSelf
|
|
6364
|
-
}] }]; }, propDecorators: { active: [{
|
|
6170
|
+
args: [{ selector: 'aup-popup-interaction-context', template: "<ng-content></ng-content>\n", styles: [":host{display:inline-block}:host.interaction-active{background:rgba(0,0,0,.05)}\n"] }]
|
|
6171
|
+
}], ctorParameters: function () {
|
|
6172
|
+
return [{ type: i0.ElementRef }, { type: i1$d.Overlay }, { type: i1$d.CdkScrollable, decorators: [{
|
|
6173
|
+
type: Optional
|
|
6174
|
+
}, {
|
|
6175
|
+
type: SkipSelf
|
|
6176
|
+
}] }];
|
|
6177
|
+
}, propDecorators: { active: [{
|
|
6365
6178
|
type: HostBinding,
|
|
6366
6179
|
args: ['class.interaction-active']
|
|
6367
6180
|
}], anchorX: [{
|
|
@@ -6412,9 +6225,9 @@ class InteractionContextTriggerFor extends GarbageCollector {
|
|
|
6412
6225
|
return isFunction(this.activityDataFactory()) ? this.activityDataFactory() : this.activityData;
|
|
6413
6226
|
}
|
|
6414
6227
|
}
|
|
6415
|
-
InteractionContextTriggerFor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6416
|
-
InteractionContextTriggerFor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6228
|
+
InteractionContextTriggerFor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionContextTriggerFor, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6229
|
+
InteractionContextTriggerFor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: InteractionContextTriggerFor, selector: "[aupInteractionContextTriggerFor]", inputs: { aupInteractionContextTriggerFor: "aupInteractionContextTriggerFor", activityClass: "activityClass", activityData: "activityData", activityDataFactory: "activityDataFactory" }, outputs: { activityDone: "activityDone", activityCancelled: "activityCancelled" }, host: { listeners: { "keyup.enter": "onEnter($event)", "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
6230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionContextTriggerFor, decorators: [{
|
|
6418
6231
|
type: Directive,
|
|
6419
6232
|
args: [{
|
|
6420
6233
|
selector: '[aupInteractionContextTriggerFor]'
|
|
@@ -6509,15 +6322,17 @@ class InputActivity extends Activity {
|
|
|
6509
6322
|
|| this.data.cancelOnEscape;
|
|
6510
6323
|
}
|
|
6511
6324
|
}
|
|
6512
|
-
InputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6513
|
-
InputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6325
|
+
InputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputActivity, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
6326
|
+
InputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: InputActivity, selector: "ng-component", inputs: { layout: "layout" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "class": "this.additionalCssClassName", "attr.layout": "this.layout" } }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputActivity, decorators: [{
|
|
6515
6328
|
type: Component,
|
|
6516
6329
|
args: [{ template: `` }]
|
|
6517
|
-
}], ctorParameters: function () {
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6330
|
+
}], ctorParameters: function () {
|
|
6331
|
+
return [{ type: undefined, decorators: [{
|
|
6332
|
+
type: Inject,
|
|
6333
|
+
args: [ACTIVITY_DATA]
|
|
6334
|
+
}] }];
|
|
6335
|
+
}, propDecorators: { class: [{
|
|
6521
6336
|
type: HostBinding,
|
|
6522
6337
|
args: ['class']
|
|
6523
6338
|
}], layout: [{
|
|
@@ -6541,8 +6356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
6541
6356
|
|
|
6542
6357
|
class StringInputActivity extends InputActivity {
|
|
6543
6358
|
}
|
|
6544
|
-
StringInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6545
|
-
StringInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6359
|
+
StringInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputActivity, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6360
|
+
StringInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: StringInputActivity, selector: "aup-string-input-activity", usesInheritance: true, ngImport: i0, template: `
|
|
6546
6361
|
<aup-string-input [valueModel]="valueModel"
|
|
6547
6362
|
[label]="data.label"
|
|
6548
6363
|
[placeholder]="data.placeholder"
|
|
@@ -6553,7 +6368,7 @@ StringInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6553
6368
|
[cancelFace]="cancelFace"
|
|
6554
6369
|
></aup-activity-actions>
|
|
6555
6370
|
`, isInline: true, components: [{ type: StringInputComponent, selector: "aup-string-input", inputs: ["autocomplete", "enableClearModel", "enableClear", "iconPrefix"] }, { type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }] });
|
|
6556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputActivity, decorators: [{
|
|
6557
6372
|
type: Component,
|
|
6558
6373
|
args: [{
|
|
6559
6374
|
selector: 'aup-string-input-activity',
|
|
@@ -6587,8 +6402,8 @@ class SelectInputActivity extends InputActivity {
|
|
|
6587
6402
|
return ((_a = this.data.optionsModel) === null || _a === void 0 ? void 0 : _a.value) || this.data.options;
|
|
6588
6403
|
}
|
|
6589
6404
|
}
|
|
6590
|
-
SelectInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6591
|
-
SelectInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6405
|
+
SelectInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputActivity, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6406
|
+
SelectInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SelectInputActivity, selector: "aup-select-input-activity", usesInheritance: true, ngImport: i0, template: `
|
|
6592
6407
|
<aup-select-input [valueModel]="valueModel"
|
|
6593
6408
|
[label]="data.label"
|
|
6594
6409
|
[placeholder]="data.placeholder"
|
|
@@ -6602,7 +6417,7 @@ SelectInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6602
6417
|
[cancelFace]="cancelFace"
|
|
6603
6418
|
></aup-activity-actions>
|
|
6604
6419
|
`, isInline: true, components: [{ type: SelectInputComponent, selector: "aup-select-input", inputs: ["optionsModel", "options", "optionLabel", "allowNil", "optionLabelFormat"] }, { type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }] });
|
|
6605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputActivity, decorators: [{
|
|
6606
6421
|
type: Component,
|
|
6607
6422
|
args: [{
|
|
6608
6423
|
selector: 'aup-select-input-activity',
|
|
@@ -6737,15 +6552,11 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
6737
6552
|
return this._interactionContext;
|
|
6738
6553
|
}
|
|
6739
6554
|
}
|
|
6740
|
-
PopupActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6741
|
-
PopupActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6555
|
+
PopupActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6556
|
+
PopupActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PopupActivityTriggerComponent, selector: "aup-popup-activity-trigger", inputs: { anchorX: "anchorX", anchorY: "anchorY" }, viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: PopupInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n", styles: [":host{display:inline-block}\n"], components: [{ type: PopupInteractionContextComponent, selector: "aup-popup-interaction-context", inputs: ["anchorX", "anchorY"] }, { type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }] });
|
|
6557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupActivityTriggerComponent, decorators: [{
|
|
6743
6558
|
type: Component,
|
|
6744
|
-
args: [{
|
|
6745
|
-
selector: 'aup-popup-activity-trigger',
|
|
6746
|
-
templateUrl: './popup-activity-trigger.component.html',
|
|
6747
|
-
styleUrls: ['./popup-activity-trigger.component.scss']
|
|
6748
|
-
}]
|
|
6559
|
+
args: [{ selector: 'aup-popup-activity-trigger', template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n", styles: [":host{display:inline-block}\n"] }]
|
|
6749
6560
|
}], ctorParameters: function () { return []; }, propDecorators: { anchorX: [{
|
|
6750
6561
|
type: Input
|
|
6751
6562
|
}], anchorY: [{
|
|
@@ -6902,8 +6713,8 @@ class InlineStringEditorComponent extends DisposableComponent {
|
|
|
6902
6713
|
return this.empty.value;
|
|
6903
6714
|
}
|
|
6904
6715
|
}
|
|
6905
|
-
InlineStringEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6906
|
-
InlineStringEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6716
|
+
InlineStringEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineStringEditorComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6717
|
+
InlineStringEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: InlineStringEditorComponent, selector: "aup-inline-string-editor", inputs: { editorModel: "editorModel", facesModel: "facesModel", faces: "faces", label: "label", placeHolder: "placeHolder", placeHolderModel: "placeHolderModel" }, viewQueries: [{ propertyName: "interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"container\" *ngIf=\"!editorModel.isEditing()\">\n <mat-form-field appearance=\"standard\" floatLabel=\"always\" (click)=\"startEdit()\"\n [class.editable]=\"editingEnabled.value\" [class.empty]=\"isEmpty()\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeHolder}}\"\n [ngModel]=\"editorModel.valueModel.value\"\n [disabled]=\"true\"\n >\n <!-- <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>-->\n <!-- <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>-->\n <!-- <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>-->\n </mat-form-field>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n</div>\n<aup-in-place-interaction-context [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n", components: [{ type: i1$8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$8.MatLabel, selector: "mat-label" }, { type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
6907
6718
|
__decorate([
|
|
6908
6719
|
TrackExternal(),
|
|
6909
6720
|
__metadata("design:type", InlineEditorModel)
|
|
@@ -6924,13 +6735,9 @@ __decorate([
|
|
|
6924
6735
|
TrackExternal(),
|
|
6925
6736
|
__metadata("design:type", ValueModel)
|
|
6926
6737
|
], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
|
|
6927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineStringEditorComponent, decorators: [{
|
|
6928
6739
|
type: Component,
|
|
6929
|
-
args: [{
|
|
6930
|
-
selector: 'aup-inline-string-editor',
|
|
6931
|
-
templateUrl: './inline-string-editor.component.html',
|
|
6932
|
-
styleUrls: [] // See assets/interaction/editor/inline-string-editor.scss
|
|
6933
|
-
}]
|
|
6740
|
+
args: [{ selector: 'aup-inline-string-editor', template: "<div class=\"container\" *ngIf=\"!editorModel.isEditing()\">\n <mat-form-field appearance=\"standard\" floatLabel=\"always\" (click)=\"startEdit()\"\n [class.editable]=\"editingEnabled.value\" [class.empty]=\"isEmpty()\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeHolder}}\"\n [ngModel]=\"editorModel.valueModel.value\"\n [disabled]=\"true\"\n >\n <!-- <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>-->\n <!-- <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>-->\n <!-- <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>-->\n </mat-form-field>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n</div>\n<aup-in-place-interaction-context [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n", styles: [] }]
|
|
6934
6741
|
}], ctorParameters: function () { return [{ type: InteractionService }]; }, propDecorators: { editorModel: [{
|
|
6935
6742
|
type: Input
|
|
6936
6743
|
}], facesModel: [{
|
|
@@ -6963,8 +6770,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
6963
6770
|
|
|
6964
6771
|
class InteractionModule {
|
|
6965
6772
|
}
|
|
6966
|
-
InteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6967
|
-
InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6773
|
+
InteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6774
|
+
InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, declarations: [ActivityContainerComponent,
|
|
6968
6775
|
ConfirmationDialogComponent,
|
|
6969
6776
|
ConfirmThenDialogComponent,
|
|
6970
6777
|
ConfirmThenExecuteDialogComponent,
|
|
@@ -7019,7 +6826,7 @@ InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
7019
6826
|
ModalActivityTriggerComponent,
|
|
7020
6827
|
AddCardActivityComponent,
|
|
7021
6828
|
InlineStringEditorComponent] });
|
|
7022
|
-
InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6829
|
+
InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, providers: [
|
|
7023
6830
|
InteractionService
|
|
7024
6831
|
// {
|
|
7025
6832
|
// provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
|
|
@@ -7041,7 +6848,7 @@ InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
7041
6848
|
MatFormFieldModule,
|
|
7042
6849
|
A11yModule
|
|
7043
6850
|
]] });
|
|
7044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, decorators: [{
|
|
7045
6852
|
type: NgModule,
|
|
7046
6853
|
args: [{
|
|
7047
6854
|
imports: [
|
|
@@ -7107,12 +6914,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
7107
6914
|
AddCardActivityComponent,
|
|
7108
6915
|
InlineStringEditorComponent,
|
|
7109
6916
|
],
|
|
7110
|
-
entryComponents: [
|
|
7111
|
-
// ActivityContainerComponent,
|
|
7112
|
-
// ConfirmationDialogComponent,
|
|
7113
|
-
// ConfirmThenDialogComponent,
|
|
7114
|
-
// AlertDialogComponent
|
|
7115
|
-
],
|
|
7116
6917
|
providers: [
|
|
7117
6918
|
InteractionService
|
|
7118
6919
|
// {
|
|
@@ -7538,14 +7339,14 @@ class PlaceComponent extends DisposableComponent {
|
|
|
7538
7339
|
this._parameterChangeInterceptors.push(new ParameterChangeInterceptor(parameterDef, model, callback, options));
|
|
7539
7340
|
}
|
|
7540
7341
|
}
|
|
7541
|
-
PlaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7542
|
-
PlaceComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7342
|
+
PlaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7343
|
+
PlaceComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: PlaceComponent, usesInheritance: true, ngImport: i0 });
|
|
7543
7344
|
__decorate([
|
|
7544
7345
|
Memoize(),
|
|
7545
7346
|
__metadata("design:type", PlaceDefinition),
|
|
7546
7347
|
__metadata("design:paramtypes", [])
|
|
7547
7348
|
], PlaceComponent.prototype, "placeDefinition", null);
|
|
7548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceComponent, decorators: [{
|
|
7549
7350
|
type: Directive
|
|
7550
7351
|
}], ctorParameters: function () { return []; }, propDecorators: { placeDefinition: [] } });
|
|
7551
7352
|
(function (PlaceComponent) {
|
|
@@ -7569,12 +7370,137 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
7569
7370
|
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, snapshotOrConstructor);
|
|
7570
7371
|
}
|
|
7571
7372
|
}
|
|
7572
|
-
PlaceComponent.getDefinition = getDefinition;
|
|
7573
|
-
function injectDefinition(klass, definition) {
|
|
7574
|
-
Reflect.defineMetadata(DEFINITION_META_DATA_KEY, definition, klass);
|
|
7373
|
+
PlaceComponent.getDefinition = getDefinition;
|
|
7374
|
+
function injectDefinition(klass, definition) {
|
|
7375
|
+
Reflect.defineMetadata(DEFINITION_META_DATA_KEY, definition, klass);
|
|
7376
|
+
}
|
|
7377
|
+
PlaceComponent.injectDefinition = injectDefinition;
|
|
7378
|
+
})(PlaceComponent || (PlaceComponent = {}));
|
|
7379
|
+
|
|
7380
|
+
class Visit {
|
|
7381
|
+
constructor(placeDefinition, visitParameters = {}) {
|
|
7382
|
+
this.placeDefinition = placeDefinition;
|
|
7383
|
+
this.visitParameters = visitParameters;
|
|
7384
|
+
}
|
|
7385
|
+
// @Trace()
|
|
7386
|
+
getRouteId() {
|
|
7387
|
+
return this.placeDefinition.getRouteIdFrom(this);
|
|
7388
|
+
}
|
|
7389
|
+
// @Trace()
|
|
7390
|
+
hasRouteId() {
|
|
7391
|
+
return !isNil(this.getRouteId());
|
|
7392
|
+
}
|
|
7393
|
+
/**
|
|
7394
|
+
* Returns the value of the place parameter with the specified name. The parameter
|
|
7395
|
+
* name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
|
|
7396
|
+
* same as the the ValueModel property name.
|
|
7397
|
+
* @param parameter the visit parameter definition
|
|
7398
|
+
*/
|
|
7399
|
+
getParameterValue(parameter) {
|
|
7400
|
+
return isString(parameter) ? this.visitParameters[parameter] : this.visitParameters[parameter.name];
|
|
7401
|
+
}
|
|
7402
|
+
// @Trace()
|
|
7403
|
+
hasParameter(parameterDef) {
|
|
7404
|
+
return Object.keys(this.visitParameters).includes(parameterDef.name);
|
|
7405
|
+
}
|
|
7406
|
+
replace(parameter, value) {
|
|
7407
|
+
return new Visit(this.placeDefinition, Object.assign(Object.assign({}, this.visitParameters), { [parameter.name]: value }));
|
|
7408
|
+
}
|
|
7409
|
+
mergeRouteParameters(routeParams) {
|
|
7410
|
+
// todo: whitelist parameters.
|
|
7411
|
+
const routeParameterKeys = Object.keys(routeParams);
|
|
7412
|
+
const params = {};
|
|
7413
|
+
this.placeDefinition.getVisitParameterDefs().forEach(def => {
|
|
7414
|
+
if (def.isRouteId || def.isRouteParameter) {
|
|
7415
|
+
if (routeParameterKeys.includes(def.name)) {
|
|
7416
|
+
params[def.name] = routeParams[def.name];
|
|
7417
|
+
}
|
|
7418
|
+
}
|
|
7419
|
+
else {
|
|
7420
|
+
// copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the
|
|
7421
|
+
// defaults and remember sanitisation process.
|
|
7422
|
+
const value = this.getParameterValue(def);
|
|
7423
|
+
if (this.hasParameter(def)) {
|
|
7424
|
+
params[def.name] = value;
|
|
7425
|
+
}
|
|
7426
|
+
}
|
|
7427
|
+
});
|
|
7428
|
+
return new Visit(this.placeDefinition, params);
|
|
7429
|
+
}
|
|
7430
|
+
// @Trace()
|
|
7431
|
+
hasRoutingChangedFrom(other) {
|
|
7432
|
+
const samePlace = other.placeDefinition === this.placeDefinition;
|
|
7433
|
+
const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
|
|
7434
|
+
const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
|
|
7435
|
+
// console.log({currentParams, otherParams});
|
|
7436
|
+
const sameRouteParameters = isEqual(currentParams, otherParams);
|
|
7437
|
+
return !samePlace || !sameRouteParameters;
|
|
7438
|
+
}
|
|
7439
|
+
hasChangedFrom(other) {
|
|
7440
|
+
const sameNonRouteParameters = isEqual(this.placeDefinition.getNonRouteParameters(this), this.placeDefinition.getNonRouteParameters(other));
|
|
7441
|
+
return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);
|
|
7575
7442
|
}
|
|
7576
|
-
|
|
7577
|
-
|
|
7443
|
+
toDebugString() {
|
|
7444
|
+
return Object.keys(this.visitParameters).map(k => `${k}=${this.visitParameters[k]}`).join(',');
|
|
7445
|
+
}
|
|
7446
|
+
}
|
|
7447
|
+
|
|
7448
|
+
const AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
|
|
7449
|
+
|
|
7450
|
+
class NotAuthorisedNoticeComponent {
|
|
7451
|
+
constructor() {
|
|
7452
|
+
}
|
|
7453
|
+
}
|
|
7454
|
+
NotAuthorisedNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NotAuthorisedNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7455
|
+
NotAuthorisedNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: NotAuthorisedNoticeComponent, selector: "aup-not-authorised-notice", ngImport: i0, template: "<p>You are not authorised to access this page</p>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"] });
|
|
7456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NotAuthorisedNoticeComponent, decorators: [{
|
|
7457
|
+
type: Component,
|
|
7458
|
+
args: [{ selector: 'aup-not-authorised-notice', template: "<p>You are not authorised to access this page</p>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"] }]
|
|
7459
|
+
}], ctorParameters: function () { return []; } });
|
|
7460
|
+
|
|
7461
|
+
// Freezes the state of the components at the start of the animation.
|
|
7462
|
+
const animationStartStyle = style({ position: 'absolute', top: '0', left: '0', bottom: '0', right: '0' });
|
|
7463
|
+
const left = [
|
|
7464
|
+
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
7465
|
+
group([
|
|
7466
|
+
query(':enter', [
|
|
7467
|
+
style({ transform: 'translateX(-100%)' }),
|
|
7468
|
+
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
7469
|
+
], {
|
|
7470
|
+
optional: true
|
|
7471
|
+
}),
|
|
7472
|
+
query(':leave', [
|
|
7473
|
+
style({ transform: 'translateX(0%)' }),
|
|
7474
|
+
animate('{{duration}} ease-out', style({ transform: 'translateX(100%)' }))
|
|
7475
|
+
], {
|
|
7476
|
+
optional: true
|
|
7477
|
+
})
|
|
7478
|
+
])
|
|
7479
|
+
];
|
|
7480
|
+
const right = [
|
|
7481
|
+
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
7482
|
+
group([
|
|
7483
|
+
query(':enter', [
|
|
7484
|
+
style({ transform: 'translateX(100%)', minHeight: '1px' }),
|
|
7485
|
+
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
7486
|
+
], {
|
|
7487
|
+
optional: true
|
|
7488
|
+
}),
|
|
7489
|
+
query(':leave', [style({ transform: 'translateX(0%)' }), animate('{{duration}} ease-out', style({
|
|
7490
|
+
transform: 'translateX(-100%)',
|
|
7491
|
+
minHeight: '1px'
|
|
7492
|
+
}))], {
|
|
7493
|
+
optional: true
|
|
7494
|
+
})
|
|
7495
|
+
])
|
|
7496
|
+
];
|
|
7497
|
+
function leftRightPlaceAnimation(duration) {
|
|
7498
|
+
return trigger('routeAnimations', [
|
|
7499
|
+
transition(':increment', right, { params: { duration: duration } }),
|
|
7500
|
+
transition(':decrement', left, { params: { duration: duration } })
|
|
7501
|
+
]);
|
|
7502
|
+
}
|
|
7503
|
+
const LEFT_RIGHT_PLACE_ANIMATION = leftRightPlaceAnimation('0.3s');
|
|
7578
7504
|
|
|
7579
7505
|
/**
|
|
7580
7506
|
* This class handles the logic around canDeactivate for a given router state transition. It's core responsibilities are:
|
|
@@ -8355,141 +8281,6 @@ var PlaceAccessGuard;
|
|
|
8355
8281
|
PlaceAccessGuard.NoAuth = NoAuth;
|
|
8356
8282
|
})(PlaceAccessGuard || (PlaceAccessGuard = {}));
|
|
8357
8283
|
|
|
8358
|
-
class PlaceHistory {
|
|
8359
|
-
constructor() {
|
|
8360
|
-
this._archive = new Map();
|
|
8361
|
-
this.placeHistoryDepth = 4;
|
|
8362
|
-
}
|
|
8363
|
-
notifyNavigationStarted() {
|
|
8364
|
-
if (this._activeVisits) {
|
|
8365
|
-
this.archive(this._activeVisits.visits);
|
|
8366
|
-
this._previousVisits = this._activeVisits;
|
|
8367
|
-
}
|
|
8368
|
-
}
|
|
8369
|
-
notifyNavigationFinished(visits) {
|
|
8370
|
-
this._activeVisits = new PlaceHistory.VisitRecord(visits);
|
|
8371
|
-
}
|
|
8372
|
-
updateVisit(visit) {
|
|
8373
|
-
assert.isTruthy(this._activeVisits);
|
|
8374
|
-
this._activeVisits.update(visit);
|
|
8375
|
-
}
|
|
8376
|
-
lastVisitIncluded(placeDef) {
|
|
8377
|
-
var _a;
|
|
8378
|
-
return !!((_a = this._previousVisits) === null || _a === void 0 ? void 0 : _a.getVisitFor(placeDef));
|
|
8379
|
-
}
|
|
8380
|
-
getMostRecentVisitFor(placeDef) {
|
|
8381
|
-
return first(this.getHistory(placeDef));
|
|
8382
|
-
}
|
|
8383
|
-
getHistory(placeDef) {
|
|
8384
|
-
let history = this._archive.get(placeDef);
|
|
8385
|
-
if (!history) {
|
|
8386
|
-
history = [];
|
|
8387
|
-
this.setHistory(placeDef, history);
|
|
8388
|
-
}
|
|
8389
|
-
return history;
|
|
8390
|
-
}
|
|
8391
|
-
setHistory(placeDef, history) {
|
|
8392
|
-
this._archive.set(placeDef, history);
|
|
8393
|
-
}
|
|
8394
|
-
archive(visits) {
|
|
8395
|
-
visits.forEach(state => {
|
|
8396
|
-
const history = this.getHistory(state.placeDefinition);
|
|
8397
|
-
const previousState = first(history);
|
|
8398
|
-
if (!previousState || state.hasChangedFrom(previousState)) {
|
|
8399
|
-
history.unshift(state); // LIFO
|
|
8400
|
-
this.setHistory(state.placeDefinition, history.slice(0, this.placeHistoryDepth));
|
|
8401
|
-
}
|
|
8402
|
-
});
|
|
8403
|
-
}
|
|
8404
|
-
}
|
|
8405
|
-
PlaceHistory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PlaceHistory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8406
|
-
PlaceHistory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PlaceHistory, providedIn: 'root' });
|
|
8407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PlaceHistory, decorators: [{
|
|
8408
|
-
type: Injectable,
|
|
8409
|
-
args: [{
|
|
8410
|
-
providedIn: 'root'
|
|
8411
|
-
}]
|
|
8412
|
-
}], ctorParameters: function () { return []; } });
|
|
8413
|
-
(function (PlaceHistory) {
|
|
8414
|
-
class VisitRecord {
|
|
8415
|
-
constructor(visits) {
|
|
8416
|
-
this.visits = visits;
|
|
8417
|
-
}
|
|
8418
|
-
update(visit) {
|
|
8419
|
-
this.visits = this.visits.filter(v => v.placeDefinition !== visit.placeDefinition).concat(visit);
|
|
8420
|
-
}
|
|
8421
|
-
getVisitFor(placeDef) {
|
|
8422
|
-
return this.visits.find(v => v.placeDefinition === placeDef);
|
|
8423
|
-
}
|
|
8424
|
-
}
|
|
8425
|
-
PlaceHistory.VisitRecord = VisitRecord;
|
|
8426
|
-
// export class Query {
|
|
8427
|
-
// private _history: Visit.State[];
|
|
8428
|
-
// private _places: Place[];
|
|
8429
|
-
// private _predicate: (visit: any) => boolean;
|
|
8430
|
-
// private _limit: number;
|
|
8431
|
-
//
|
|
8432
|
-
// constructor(history, limit = history.length) {
|
|
8433
|
-
// this._history = history;
|
|
8434
|
-
// this._places = [];
|
|
8435
|
-
// this._predicate = (visit => true);
|
|
8436
|
-
// this._limit = limit;
|
|
8437
|
-
// }
|
|
8438
|
-
//
|
|
8439
|
-
// to(...places:Place[]):this {
|
|
8440
|
-
// this._places = places;
|
|
8441
|
-
// return this;
|
|
8442
|
-
// }
|
|
8443
|
-
//
|
|
8444
|
-
// with(parameters: { [parameter: string]: any }): this {
|
|
8445
|
-
// this.matching(state => {
|
|
8446
|
-
// return Object.keys(parameters).reduce((acc, key) => {
|
|
8447
|
-
// const matchValue = parameters[key];
|
|
8448
|
-
// const visitValue = state.get(key);
|
|
8449
|
-
// const matched = matchValue === '*' ? !isNil(visitValue) : visitValue == matchValue;
|
|
8450
|
-
// // Logger.get(this).info(`matched=${matched}`, parameters, visitValue);
|
|
8451
|
-
// return acc && matched;
|
|
8452
|
-
// }, true);
|
|
8453
|
-
// });
|
|
8454
|
-
// return this;
|
|
8455
|
-
// }
|
|
8456
|
-
//
|
|
8457
|
-
// last(): Visit.State {
|
|
8458
|
-
// return findLast(this._history, visit => this._matches(visit))
|
|
8459
|
-
// }
|
|
8460
|
-
//
|
|
8461
|
-
// // @trace
|
|
8462
|
-
// allThatMatch(): Visit.State[] {
|
|
8463
|
-
// return filter(this._history, visit => this._matches(visit)).slice(-this._limit);
|
|
8464
|
-
// }
|
|
8465
|
-
//
|
|
8466
|
-
// // @trace
|
|
8467
|
-
// mostRecentValueOf<T=any>(param: string, defaultValue: T = null): T {
|
|
8468
|
-
// const lastStateWithParam = findLast(this.allThatMatch(), state => !isNil(state.get(param)));
|
|
8469
|
-
// return isNil(lastStateWithParam) ? defaultValue : lastStateWithParam.get(param);
|
|
8470
|
-
// }
|
|
8471
|
-
//
|
|
8472
|
-
// limit(limit: number): this {
|
|
8473
|
-
// this._limit = limit;
|
|
8474
|
-
// return this;
|
|
8475
|
-
// }
|
|
8476
|
-
//
|
|
8477
|
-
// matching(predicate: (visit: Visit.State) => boolean): this {
|
|
8478
|
-
// this._predicate = predicate;
|
|
8479
|
-
// return this;
|
|
8480
|
-
// }
|
|
8481
|
-
//
|
|
8482
|
-
// _matches(visit: Visit.State) {
|
|
8483
|
-
// return this._isPlaceMatch(visit) && this._predicate(visit);
|
|
8484
|
-
// }
|
|
8485
|
-
//
|
|
8486
|
-
// _isPlaceMatch(visit: Visit.State) {
|
|
8487
|
-
// return this._places.length < 1 || this._places.includes(visit.place)
|
|
8488
|
-
// }
|
|
8489
|
-
//
|
|
8490
|
-
// }
|
|
8491
|
-
})(PlaceHistory || (PlaceHistory = {}));
|
|
8492
|
-
|
|
8493
8284
|
/**
|
|
8494
8285
|
* This a work around for the fact that an activated route with multiple segments doesn't
|
|
8495
8286
|
* include the segment params in the paramMap as well as each segment returns an empty
|
|
@@ -8512,102 +8303,34 @@ class ConsolidatedParameterMap {
|
|
|
8512
8303
|
const paramMap = this.paramMaps.find(m => m.has(name));
|
|
8513
8304
|
return paramMap.getAll(name);
|
|
8514
8305
|
}
|
|
8515
|
-
has(name) {
|
|
8516
|
-
return !!this.paramMaps.find(m => m.has(name));
|
|
8517
|
-
}
|
|
8518
|
-
get keys() {
|
|
8519
|
-
return uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
|
|
8520
|
-
}
|
|
8521
|
-
}
|
|
8522
|
-
__decorate([
|
|
8523
|
-
Memoize(),
|
|
8524
|
-
__metadata("design:type", Array),
|
|
8525
|
-
__metadata("design:paramtypes", [])
|
|
8526
|
-
], ConsolidatedParameterMap.prototype, "keys", null);
|
|
8527
|
-
class ParamMapAdapter {
|
|
8528
|
-
constructor(params) {
|
|
8529
|
-
this.params = params;
|
|
8530
|
-
}
|
|
8531
|
-
get(name) {
|
|
8532
|
-
return this.params[name];
|
|
8533
|
-
}
|
|
8534
|
-
getAll(name) {
|
|
8535
|
-
const value = this.get(name);
|
|
8536
|
-
return Array.isArray(value) ? value : [value];
|
|
8537
|
-
}
|
|
8538
|
-
has(name) {
|
|
8539
|
-
return this.keys.includes(name);
|
|
8540
|
-
}
|
|
8541
|
-
get keys() {
|
|
8542
|
-
return Object.keys(this.params);
|
|
8543
|
-
}
|
|
8544
|
-
}
|
|
8545
|
-
|
|
8546
|
-
class Visit {
|
|
8547
|
-
constructor(placeDefinition, visitParameters = {}) {
|
|
8548
|
-
this.placeDefinition = placeDefinition;
|
|
8549
|
-
this.visitParameters = visitParameters;
|
|
8550
|
-
}
|
|
8551
|
-
// @Trace()
|
|
8552
|
-
getRouteId() {
|
|
8553
|
-
return this.placeDefinition.getRouteIdFrom(this);
|
|
8554
|
-
}
|
|
8555
|
-
// @Trace()
|
|
8556
|
-
hasRouteId() {
|
|
8557
|
-
return !isNil(this.getRouteId());
|
|
8558
|
-
}
|
|
8559
|
-
/**
|
|
8560
|
-
* Returns the value of the place parameter with the specified name. The parameter
|
|
8561
|
-
* name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
|
|
8562
|
-
* same as the the ValueModel property name.
|
|
8563
|
-
* @param parameter the visit parameter definition
|
|
8564
|
-
*/
|
|
8565
|
-
getParameterValue(parameter) {
|
|
8566
|
-
return isString(parameter) ? this.visitParameters[parameter] : this.visitParameters[parameter.name];
|
|
8567
|
-
}
|
|
8568
|
-
// @Trace()
|
|
8569
|
-
hasParameter(parameterDef) {
|
|
8570
|
-
return Object.keys(this.visitParameters).includes(parameterDef.name);
|
|
8306
|
+
has(name) {
|
|
8307
|
+
return !!this.paramMaps.find(m => m.has(name));
|
|
8571
8308
|
}
|
|
8572
|
-
|
|
8573
|
-
return
|
|
8309
|
+
get keys() {
|
|
8310
|
+
return uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
|
|
8574
8311
|
}
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
}
|
|
8585
|
-
else {
|
|
8586
|
-
// copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the
|
|
8587
|
-
// defaults and remember sanitisation process.
|
|
8588
|
-
const value = this.getParameterValue(def);
|
|
8589
|
-
if (this.hasParameter(def)) {
|
|
8590
|
-
params[def.name] = value;
|
|
8591
|
-
}
|
|
8592
|
-
}
|
|
8593
|
-
});
|
|
8594
|
-
return new Visit(this.placeDefinition, params);
|
|
8312
|
+
}
|
|
8313
|
+
__decorate([
|
|
8314
|
+
Memoize(),
|
|
8315
|
+
__metadata("design:type", Array),
|
|
8316
|
+
__metadata("design:paramtypes", [])
|
|
8317
|
+
], ConsolidatedParameterMap.prototype, "keys", null);
|
|
8318
|
+
class ParamMapAdapter {
|
|
8319
|
+
constructor(params) {
|
|
8320
|
+
this.params = params;
|
|
8595
8321
|
}
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
const samePlace = other.placeDefinition === this.placeDefinition;
|
|
8599
|
-
const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
|
|
8600
|
-
const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
|
|
8601
|
-
// console.log({currentParams, otherParams});
|
|
8602
|
-
const sameRouteParameters = isEqual(currentParams, otherParams);
|
|
8603
|
-
return !samePlace || !sameRouteParameters;
|
|
8322
|
+
get(name) {
|
|
8323
|
+
return this.params[name];
|
|
8604
8324
|
}
|
|
8605
|
-
|
|
8606
|
-
const
|
|
8607
|
-
return
|
|
8325
|
+
getAll(name) {
|
|
8326
|
+
const value = this.get(name);
|
|
8327
|
+
return Array.isArray(value) ? value : [value];
|
|
8608
8328
|
}
|
|
8609
|
-
|
|
8610
|
-
return
|
|
8329
|
+
has(name) {
|
|
8330
|
+
return this.keys.includes(name);
|
|
8331
|
+
}
|
|
8332
|
+
get keys() {
|
|
8333
|
+
return Object.keys(this.params);
|
|
8611
8334
|
}
|
|
8612
8335
|
}
|
|
8613
8336
|
|
|
@@ -8766,15 +8489,150 @@ class UrlService {
|
|
|
8766
8489
|
this.angularLocation.back();
|
|
8767
8490
|
}
|
|
8768
8491
|
}
|
|
8769
|
-
UrlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8770
|
-
UrlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8492
|
+
UrlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: UrlService, deps: [{ token: i1$e.Router }, { token: i4.Location }, { token: i1$e.UrlSerializer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8493
|
+
UrlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: UrlService, providedIn: 'root' });
|
|
8494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: UrlService, decorators: [{
|
|
8772
8495
|
type: Injectable,
|
|
8773
8496
|
args: [{
|
|
8774
8497
|
providedIn: 'root'
|
|
8775
8498
|
}]
|
|
8776
8499
|
}], ctorParameters: function () { return [{ type: i1$e.Router }, { type: i4.Location }, { type: i1$e.UrlSerializer }]; } });
|
|
8777
8500
|
|
|
8501
|
+
class PlaceHistory {
|
|
8502
|
+
constructor() {
|
|
8503
|
+
this._archive = new Map();
|
|
8504
|
+
this.placeHistoryDepth = 4;
|
|
8505
|
+
}
|
|
8506
|
+
notifyNavigationStarted() {
|
|
8507
|
+
if (this._activeVisits) {
|
|
8508
|
+
this.archive(this._activeVisits.visits);
|
|
8509
|
+
this._previousVisits = this._activeVisits;
|
|
8510
|
+
}
|
|
8511
|
+
}
|
|
8512
|
+
notifyNavigationFinished(visits) {
|
|
8513
|
+
this._activeVisits = new PlaceHistory.VisitRecord(visits);
|
|
8514
|
+
}
|
|
8515
|
+
updateVisit(visit) {
|
|
8516
|
+
assert.isTruthy(this._activeVisits);
|
|
8517
|
+
this._activeVisits.update(visit);
|
|
8518
|
+
}
|
|
8519
|
+
lastVisitIncluded(placeDef) {
|
|
8520
|
+
var _a;
|
|
8521
|
+
return !!((_a = this._previousVisits) === null || _a === void 0 ? void 0 : _a.getVisitFor(placeDef));
|
|
8522
|
+
}
|
|
8523
|
+
getMostRecentVisitFor(placeDef) {
|
|
8524
|
+
return first(this.getHistory(placeDef));
|
|
8525
|
+
}
|
|
8526
|
+
getHistory(placeDef) {
|
|
8527
|
+
let history = this._archive.get(placeDef);
|
|
8528
|
+
if (!history) {
|
|
8529
|
+
history = [];
|
|
8530
|
+
this.setHistory(placeDef, history);
|
|
8531
|
+
}
|
|
8532
|
+
return history;
|
|
8533
|
+
}
|
|
8534
|
+
setHistory(placeDef, history) {
|
|
8535
|
+
this._archive.set(placeDef, history);
|
|
8536
|
+
}
|
|
8537
|
+
archive(visits) {
|
|
8538
|
+
visits.forEach(state => {
|
|
8539
|
+
const history = this.getHistory(state.placeDefinition);
|
|
8540
|
+
const previousState = first(history);
|
|
8541
|
+
if (!previousState || state.hasChangedFrom(previousState)) {
|
|
8542
|
+
history.unshift(state); // LIFO
|
|
8543
|
+
this.setHistory(state.placeDefinition, history.slice(0, this.placeHistoryDepth));
|
|
8544
|
+
}
|
|
8545
|
+
});
|
|
8546
|
+
}
|
|
8547
|
+
}
|
|
8548
|
+
PlaceHistory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceHistory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8549
|
+
PlaceHistory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceHistory, providedIn: 'root' });
|
|
8550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceHistory, decorators: [{
|
|
8551
|
+
type: Injectable,
|
|
8552
|
+
args: [{
|
|
8553
|
+
providedIn: 'root'
|
|
8554
|
+
}]
|
|
8555
|
+
}], ctorParameters: function () { return []; } });
|
|
8556
|
+
(function (PlaceHistory) {
|
|
8557
|
+
class VisitRecord {
|
|
8558
|
+
constructor(visits) {
|
|
8559
|
+
this.visits = visits;
|
|
8560
|
+
}
|
|
8561
|
+
update(visit) {
|
|
8562
|
+
this.visits = this.visits.filter(v => v.placeDefinition !== visit.placeDefinition).concat(visit);
|
|
8563
|
+
}
|
|
8564
|
+
getVisitFor(placeDef) {
|
|
8565
|
+
return this.visits.find(v => v.placeDefinition === placeDef);
|
|
8566
|
+
}
|
|
8567
|
+
}
|
|
8568
|
+
PlaceHistory.VisitRecord = VisitRecord;
|
|
8569
|
+
// export class Query {
|
|
8570
|
+
// private _history: Visit.State[];
|
|
8571
|
+
// private _places: Place[];
|
|
8572
|
+
// private _predicate: (visit: any) => boolean;
|
|
8573
|
+
// private _limit: number;
|
|
8574
|
+
//
|
|
8575
|
+
// constructor(history, limit = history.length) {
|
|
8576
|
+
// this._history = history;
|
|
8577
|
+
// this._places = [];
|
|
8578
|
+
// this._predicate = (visit => true);
|
|
8579
|
+
// this._limit = limit;
|
|
8580
|
+
// }
|
|
8581
|
+
//
|
|
8582
|
+
// to(...places:Place[]):this {
|
|
8583
|
+
// this._places = places;
|
|
8584
|
+
// return this;
|
|
8585
|
+
// }
|
|
8586
|
+
//
|
|
8587
|
+
// with(parameters: { [parameter: string]: any }): this {
|
|
8588
|
+
// this.matching(state => {
|
|
8589
|
+
// return Object.keys(parameters).reduce((acc, key) => {
|
|
8590
|
+
// const matchValue = parameters[key];
|
|
8591
|
+
// const visitValue = state.get(key);
|
|
8592
|
+
// const matched = matchValue === '*' ? !isNil(visitValue) : visitValue == matchValue;
|
|
8593
|
+
// // Logger.get(this).info(`matched=${matched}`, parameters, visitValue);
|
|
8594
|
+
// return acc && matched;
|
|
8595
|
+
// }, true);
|
|
8596
|
+
// });
|
|
8597
|
+
// return this;
|
|
8598
|
+
// }
|
|
8599
|
+
//
|
|
8600
|
+
// last(): Visit.State {
|
|
8601
|
+
// return findLast(this._history, visit => this._matches(visit))
|
|
8602
|
+
// }
|
|
8603
|
+
//
|
|
8604
|
+
// // @trace
|
|
8605
|
+
// allThatMatch(): Visit.State[] {
|
|
8606
|
+
// return filter(this._history, visit => this._matches(visit)).slice(-this._limit);
|
|
8607
|
+
// }
|
|
8608
|
+
//
|
|
8609
|
+
// // @trace
|
|
8610
|
+
// mostRecentValueOf<T=any>(param: string, defaultValue: T = null): T {
|
|
8611
|
+
// const lastStateWithParam = findLast(this.allThatMatch(), state => !isNil(state.get(param)));
|
|
8612
|
+
// return isNil(lastStateWithParam) ? defaultValue : lastStateWithParam.get(param);
|
|
8613
|
+
// }
|
|
8614
|
+
//
|
|
8615
|
+
// limit(limit: number): this {
|
|
8616
|
+
// this._limit = limit;
|
|
8617
|
+
// return this;
|
|
8618
|
+
// }
|
|
8619
|
+
//
|
|
8620
|
+
// matching(predicate: (visit: Visit.State) => boolean): this {
|
|
8621
|
+
// this._predicate = predicate;
|
|
8622
|
+
// return this;
|
|
8623
|
+
// }
|
|
8624
|
+
//
|
|
8625
|
+
// _matches(visit: Visit.State) {
|
|
8626
|
+
// return this._isPlaceMatch(visit) && this._predicate(visit);
|
|
8627
|
+
// }
|
|
8628
|
+
//
|
|
8629
|
+
// _isPlaceMatch(visit: Visit.State) {
|
|
8630
|
+
// return this._places.length < 1 || this._places.includes(visit.place)
|
|
8631
|
+
// }
|
|
8632
|
+
//
|
|
8633
|
+
// }
|
|
8634
|
+
})(PlaceHistory || (PlaceHistory = {}));
|
|
8635
|
+
|
|
8778
8636
|
function asArray(item) {
|
|
8779
8637
|
return Array.isArray(item) ? item : [item];
|
|
8780
8638
|
}
|
|
@@ -9067,9 +8925,9 @@ class PlaceRouter extends GarbageCollector {
|
|
|
9067
8925
|
[def.getFormattedRouteParameters(visit)];
|
|
9068
8926
|
}
|
|
9069
8927
|
}
|
|
9070
|
-
PlaceRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9071
|
-
PlaceRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8928
|
+
PlaceRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceRouter, deps: [{ token: i1$e.Router }, { token: i4.Location }, { token: InteractionService }, { token: UrlService }, { token: PlaceHistory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8929
|
+
PlaceRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceRouter, providedIn: 'root' });
|
|
8930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceRouter, decorators: [{
|
|
9073
8931
|
type: Injectable,
|
|
9074
8932
|
args: [{
|
|
9075
8933
|
providedIn: 'root'
|
|
@@ -9090,67 +8948,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9090
8948
|
PlaceRouter.State = State;
|
|
9091
8949
|
})(PlaceRouter || (PlaceRouter = {}));
|
|
9092
8950
|
|
|
9093
|
-
const AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
|
|
9094
|
-
|
|
9095
|
-
class NotAuthorisedNoticeComponent {
|
|
9096
|
-
constructor() {
|
|
9097
|
-
}
|
|
9098
|
-
}
|
|
9099
|
-
NotAuthorisedNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NotAuthorisedNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9100
|
-
NotAuthorisedNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NotAuthorisedNoticeComponent, selector: "aup-not-authorised-notice", ngImport: i0, template: "<p>You are not authorised to access this page</p>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"] });
|
|
9101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NotAuthorisedNoticeComponent, decorators: [{
|
|
9102
|
-
type: Component,
|
|
9103
|
-
args: [{
|
|
9104
|
-
selector: 'aup-not-authorised-notice',
|
|
9105
|
-
templateUrl: './not-authorised-notice.component.html',
|
|
9106
|
-
styleUrls: ['./not-authorised-notice.component.scss']
|
|
9107
|
-
}]
|
|
9108
|
-
}], ctorParameters: function () { return []; } });
|
|
9109
|
-
|
|
9110
|
-
// Freezes the state of the components at the start of the animation.
|
|
9111
|
-
const animationStartStyle = style({ position: 'absolute', top: '0', left: '0', bottom: '0', right: '0' });
|
|
9112
|
-
const left = [
|
|
9113
|
-
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
9114
|
-
group([
|
|
9115
|
-
query(':enter', [
|
|
9116
|
-
style({ transform: 'translateX(-100%)' }),
|
|
9117
|
-
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
9118
|
-
], {
|
|
9119
|
-
optional: true
|
|
9120
|
-
}),
|
|
9121
|
-
query(':leave', [
|
|
9122
|
-
style({ transform: 'translateX(0%)' }),
|
|
9123
|
-
animate('{{duration}} ease-out', style({ transform: 'translateX(100%)' }))
|
|
9124
|
-
], {
|
|
9125
|
-
optional: true
|
|
9126
|
-
})
|
|
9127
|
-
])
|
|
9128
|
-
];
|
|
9129
|
-
const right = [
|
|
9130
|
-
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
9131
|
-
group([
|
|
9132
|
-
query(':enter', [
|
|
9133
|
-
style({ transform: 'translateX(100%)', minHeight: '1px' }),
|
|
9134
|
-
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
9135
|
-
], {
|
|
9136
|
-
optional: true
|
|
9137
|
-
}),
|
|
9138
|
-
query(':leave', [style({ transform: 'translateX(0%)' }), animate('{{duration}} ease-out', style({
|
|
9139
|
-
transform: 'translateX(-100%)',
|
|
9140
|
-
minHeight: '1px'
|
|
9141
|
-
}))], {
|
|
9142
|
-
optional: true
|
|
9143
|
-
})
|
|
9144
|
-
])
|
|
9145
|
-
];
|
|
9146
|
-
function leftRightPlaceAnimation(duration) {
|
|
9147
|
-
return trigger('routeAnimations', [
|
|
9148
|
-
transition(':increment', right, { params: { duration: duration } }),
|
|
9149
|
-
transition(':decrement', left, { params: { duration: duration } })
|
|
9150
|
-
]);
|
|
9151
|
-
}
|
|
9152
|
-
const LEFT_RIGHT_PLACE_ANIMATION = leftRightPlaceAnimation('0.3s');
|
|
9153
|
-
|
|
9154
8951
|
const AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT = new InjectionToken('AUP_UNAUTHORISED_PLACE_COMPONENT');
|
|
9155
8952
|
class PlaceOutletComponent extends DisposableComponent {
|
|
9156
8953
|
constructor(router, placeRouter, placeConfig, unauthorisedPlaceNotice, parentOutlet, cdr) {
|
|
@@ -9337,8 +9134,8 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
9337
9134
|
}
|
|
9338
9135
|
}
|
|
9339
9136
|
}
|
|
9340
|
-
PlaceOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9341
|
-
PlaceOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9137
|
+
PlaceOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceOutletComponent, deps: [{ token: i1$e.Router }, { token: PlaceRouter }, { token: AUP_PLACE_CONFIG, optional: true }, { token: AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, optional: true }, { token: PlaceOutletComponent, optional: true, skipSelf: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9138
|
+
PlaceOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: PlaceOutletComponent, selector: "aup-place-outlet", inputs: { animate: "animate", animateModel: "animateModel", customPlaceAnimationOrderModel: ["placeAnimationOrderModel", "customPlaceAnimationOrderModel"], customPlaceAnimationOrder: ["placeAnimationOrder", "customPlaceAnimationOrder"] }, outputs: { placeChanged: "placeChanged" }, host: { properties: { "class.authorised": "this.isAuthorised" } }, viewQueries: [{ propertyName: "routerOut", first: true, predicate: ["routeOutlet"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$6.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { type: i1$e.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { type: i2$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [LEFT_RIGHT_PLACE_ANIMATION] });
|
|
9342
9139
|
__decorate([
|
|
9343
9140
|
StoreInValueModel('animateModel'),
|
|
9344
9141
|
__metadata("design:type", Boolean)
|
|
@@ -9355,29 +9152,26 @@ __decorate([
|
|
|
9355
9152
|
StoreInListModel('customPlaceAnimationOrderModel'),
|
|
9356
9153
|
__metadata("design:type", Array)
|
|
9357
9154
|
], PlaceOutletComponent.prototype, "customPlaceAnimationOrder", void 0);
|
|
9358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceOutletComponent, decorators: [{
|
|
9359
9156
|
type: Component,
|
|
9360
|
-
args: [{
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
type:
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
type:
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
}, {
|
|
9379
|
-
type: Optional
|
|
9380
|
-
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { animate: [{
|
|
9157
|
+
args: [{ selector: 'aup-place-outlet', animations: [LEFT_RIGHT_PLACE_ANIMATION], template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"] }]
|
|
9158
|
+
}], ctorParameters: function () {
|
|
9159
|
+
return [{ type: i1$e.Router }, { type: PlaceRouter }, { type: undefined, decorators: [{
|
|
9160
|
+
type: Optional
|
|
9161
|
+
}, {
|
|
9162
|
+
type: Inject,
|
|
9163
|
+
args: [AUP_PLACE_CONFIG]
|
|
9164
|
+
}] }, { type: undefined, decorators: [{
|
|
9165
|
+
type: Optional
|
|
9166
|
+
}, {
|
|
9167
|
+
type: Inject,
|
|
9168
|
+
args: [AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT]
|
|
9169
|
+
}] }, { type: PlaceOutletComponent, decorators: [{
|
|
9170
|
+
type: SkipSelf
|
|
9171
|
+
}, {
|
|
9172
|
+
type: Optional
|
|
9173
|
+
}] }, { type: i0.ChangeDetectorRef }];
|
|
9174
|
+
}, propDecorators: { animate: [{
|
|
9381
9175
|
type: Input
|
|
9382
9176
|
}], animateModel: [{
|
|
9383
9177
|
type: Input
|
|
@@ -9444,8 +9238,8 @@ class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
|
9444
9238
|
ngOnInit() {
|
|
9445
9239
|
}
|
|
9446
9240
|
}
|
|
9447
|
-
AbstractPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9448
|
-
AbstractPlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9241
|
+
AbstractPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPlaceNavigationComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9242
|
+
AbstractPlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractPlaceNavigationComponent, selector: "ng-component", inputs: { places: "places", placesModel: "placesModel", placeOutlet: "placeOutlet", placeOutletModel: "placeOutletModel" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
9449
9243
|
__decorate([
|
|
9450
9244
|
StoreInListModel('placesModel'),
|
|
9451
9245
|
__metadata("design:type", Array)
|
|
@@ -9468,7 +9262,7 @@ __decorate([
|
|
|
9468
9262
|
__metadata("design:paramtypes", [PlaceDefinition]),
|
|
9469
9263
|
__metadata("design:returntype", Object)
|
|
9470
9264
|
], AbstractPlaceNavigationComponent.prototype, "getNavigationFace", null);
|
|
9471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPlaceNavigationComponent, decorators: [{
|
|
9472
9266
|
type: Component,
|
|
9473
9267
|
args: [{
|
|
9474
9268
|
template: ''
|
|
@@ -9488,15 +9282,11 @@ class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {
|
|
|
9488
9282
|
super(router);
|
|
9489
9283
|
}
|
|
9490
9284
|
}
|
|
9491
|
-
ListPlaceNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9492
|
-
ListPlaceNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9285
|
+
ListPlaceNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ListPlaceNavComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9286
|
+
ListPlaceNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ListPlaceNavComponent, selector: "aup-list-place-nav", usesInheritance: true, ngImport: i0, template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n</mat-nav-list>\n", styles: [":host{display:flex;flex-direction:column;--selected-border-color: #838383;--selected-color: inherit;--selected-background: #f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}\n"], components: [{ type: i2$4.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: i2$4.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }], directives: [{ type: i4$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
9287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ListPlaceNavComponent, decorators: [{
|
|
9494
9288
|
type: Component,
|
|
9495
|
-
args: [{
|
|
9496
|
-
selector: 'aup-list-place-nav',
|
|
9497
|
-
templateUrl: './list-place-nav.component.html',
|
|
9498
|
-
styleUrls: ['./list-place-nav.component.scss']
|
|
9499
|
-
}]
|
|
9289
|
+
args: [{ selector: 'aup-list-place-nav', template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n</mat-nav-list>\n", styles: [":host{display:flex;flex-direction:column;--selected-border-color: #838383;--selected-color: inherit;--selected-background: #f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}\n"] }]
|
|
9500
9290
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; } });
|
|
9501
9291
|
|
|
9502
9292
|
/**
|
|
@@ -9555,8 +9345,8 @@ class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
9555
9345
|
this.expanded = !this.expanded;
|
|
9556
9346
|
}
|
|
9557
9347
|
}
|
|
9558
|
-
SidePlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9559
|
-
SidePlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9348
|
+
SidePlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SidePlaceNavigationComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9349
|
+
SidePlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SidePlaceNavigationComponent, selector: "aup-side-place-navigation", inputs: { expanded$: "expanded$", expanded: "expanded" }, host: { properties: { "class.expanded": "this.expanded" } }, queries: [{ propertyName: "navEndTemplate", first: true, predicate: ["navEndTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(item.place).icon()\" [icon]=\"getNavigationFace(item.place).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(item.place).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n", styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width: var(--nav-width, 56px);--resolved-nav-item-height: var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width: var(--nav-expanded-width, 235px);--resolved-color: var(--nav-color, rgba(255, 255, 255, .9));--resolved-background-color: var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}\n"], components: [{ type: i2$4.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: i2$4.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: IconComponent, selector: "aup-icon", inputs: ["icon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9560
9350
|
__decorate([
|
|
9561
9351
|
TrackExternal(),
|
|
9562
9352
|
__metadata("design:type", MutableValueModel)
|
|
@@ -9565,13 +9355,9 @@ __decorate([
|
|
|
9565
9355
|
StoreInValueModel("expanded$"),
|
|
9566
9356
|
__metadata("design:type", Boolean)
|
|
9567
9357
|
], SidePlaceNavigationComponent.prototype, "expanded", void 0);
|
|
9568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SidePlaceNavigationComponent, decorators: [{
|
|
9569
9359
|
type: Component,
|
|
9570
|
-
args: [{
|
|
9571
|
-
selector: 'aup-side-place-navigation',
|
|
9572
|
-
templateUrl: './side-place-navigation.component.html',
|
|
9573
|
-
styleUrls: ['./side-place-navigation.component.scss']
|
|
9574
|
-
}]
|
|
9360
|
+
args: [{ selector: 'aup-side-place-navigation', template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(item.place).icon()\" [icon]=\"getNavigationFace(item.place).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(item.place).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n", styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width: var(--nav-width, 56px);--resolved-nav-item-height: var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width: var(--nav-expanded-width, 235px);--resolved-color: var(--nav-color, rgba(255, 255, 255, .9));--resolved-background-color: var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}\n"] }]
|
|
9575
9361
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; }, propDecorators: { expanded$: [{
|
|
9576
9362
|
type: Input
|
|
9577
9363
|
}], expanded: [{
|
|
@@ -9589,21 +9375,17 @@ class TabbedPlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
9589
9375
|
super(router);
|
|
9590
9376
|
}
|
|
9591
9377
|
}
|
|
9592
|
-
TabbedPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9593
|
-
TabbedPlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9378
|
+
TabbedPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TabbedPlaceNavigationComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9379
|
+
TabbedPlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TabbedPlaceNavigationComponent, selector: "aup-tabbed-place-navigation", usesInheritance: true, ngImport: i0, template: "<nav mat-tab-nav-bar>\n <ng-content select=\"[nav-start]\"></ng-content>\n <a mat-tab-link *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n <ng-content select=\"[nav-end]\"></ng-content>\n</nav>\n", styles: [":host{display:block}div.place-holder{border:1px solid green}\n"], components: [{ type: i1$b.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["color"], exportAs: ["matTabNavBar", "matTabNav"] }, { type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$b.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matTabLink"] }, { type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
9380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TabbedPlaceNavigationComponent, decorators: [{
|
|
9595
9381
|
type: Component,
|
|
9596
|
-
args: [{
|
|
9597
|
-
selector: 'aup-tabbed-place-navigation',
|
|
9598
|
-
templateUrl: './tabbed-place-navigation.component.html',
|
|
9599
|
-
styleUrls: ['./tabbed-place-navigation.component.scss']
|
|
9600
|
-
}]
|
|
9382
|
+
args: [{ selector: 'aup-tabbed-place-navigation', template: "<nav mat-tab-nav-bar>\n <ng-content select=\"[nav-start]\"></ng-content>\n <a mat-tab-link *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n <ng-content select=\"[nav-end]\"></ng-content>\n</nav>\n", styles: [":host{display:block}div.place-holder{border:1px solid green}\n"] }]
|
|
9601
9383
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; } });
|
|
9602
9384
|
|
|
9603
9385
|
class PlaceModule {
|
|
9604
9386
|
}
|
|
9605
|
-
PlaceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9606
|
-
PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
9387
|
+
PlaceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9388
|
+
PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, declarations: [PlaceOutletComponent,
|
|
9607
9389
|
TabbedPlaceNavigationComponent,
|
|
9608
9390
|
ListPlaceNavComponent,
|
|
9609
9391
|
SidePlaceNavigationComponent,
|
|
@@ -9624,7 +9406,7 @@ PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
9624
9406
|
ListPlaceNavComponent,
|
|
9625
9407
|
SidePlaceNavigationComponent,
|
|
9626
9408
|
AbstractPlaceNavigationComponent] });
|
|
9627
|
-
PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9409
|
+
PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, providers: [
|
|
9628
9410
|
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "2000ms"}}
|
|
9629
9411
|
], imports: [[
|
|
9630
9412
|
CommonModule,
|
|
@@ -9640,7 +9422,7 @@ PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "1
|
|
|
9640
9422
|
ComponentsModule,
|
|
9641
9423
|
PortalModule
|
|
9642
9424
|
]] });
|
|
9643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, decorators: [{
|
|
9644
9426
|
type: NgModule,
|
|
9645
9427
|
args: [{
|
|
9646
9428
|
imports: [
|
|
@@ -9665,7 +9447,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9665
9447
|
AbstractPlaceNavigationComponent,
|
|
9666
9448
|
NotAuthorisedNoticeComponent
|
|
9667
9449
|
],
|
|
9668
|
-
entryComponents: [],
|
|
9669
9450
|
exports: [
|
|
9670
9451
|
PlaceOutletComponent,
|
|
9671
9452
|
TabbedPlaceNavigationComponent,
|
|
@@ -9682,8 +9463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9682
9463
|
// Trick @jscutlery/semver to bump the version again..
|
|
9683
9464
|
class AngularUiPowerupsModule {
|
|
9684
9465
|
}
|
|
9685
|
-
AngularUiPowerupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9686
|
-
AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
9466
|
+
AngularUiPowerupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9467
|
+
AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, imports: [CommonModule,
|
|
9687
9468
|
BrowserAnimationsModule,
|
|
9688
9469
|
FormsModule,
|
|
9689
9470
|
MatInputModule,
|
|
@@ -9698,7 +9479,7 @@ AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
9698
9479
|
DirectivesModule,
|
|
9699
9480
|
ComponentsModule,
|
|
9700
9481
|
NoopComponent] });
|
|
9701
|
-
AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9482
|
+
AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, imports: [[
|
|
9702
9483
|
CommonModule,
|
|
9703
9484
|
BrowserAnimationsModule,
|
|
9704
9485
|
FormsModule,
|
|
@@ -9714,7 +9495,7 @@ AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
9714
9495
|
PlaceModule,
|
|
9715
9496
|
DirectivesModule,
|
|
9716
9497
|
ComponentsModule] });
|
|
9717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, decorators: [{
|
|
9718
9499
|
type: NgModule,
|
|
9719
9500
|
args: [{
|
|
9720
9501
|
declarations: [],
|
|
@@ -9839,24 +9620,26 @@ class DialogInteractionContextFactory extends ModalInteractionContextFactory {
|
|
|
9839
9620
|
return new DialogInteractionContext(identifier, api, this.dialogService, config);
|
|
9840
9621
|
}
|
|
9841
9622
|
}
|
|
9842
|
-
DialogInteractionContextFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9843
|
-
DialogInteractionContextFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9844
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9623
|
+
DialogInteractionContextFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogInteractionContextFactory, deps: [{ token: i1$f.MatDialog }, { token: DIALOG_INTERACTION_SERVICE_DEFAULTS, optional: true }, { token: MAT_DIALOG_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9624
|
+
DialogInteractionContextFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogInteractionContextFactory, providedIn: 'root' });
|
|
9625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogInteractionContextFactory, decorators: [{
|
|
9845
9626
|
type: Injectable,
|
|
9846
9627
|
args: [{
|
|
9847
9628
|
providedIn: 'root'
|
|
9848
9629
|
}]
|
|
9849
|
-
}], ctorParameters: function () {
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
type:
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9630
|
+
}], ctorParameters: function () {
|
|
9631
|
+
return [{ type: i1$f.MatDialog }, { type: i1$f.MatDialogConfig, decorators: [{
|
|
9632
|
+
type: Optional
|
|
9633
|
+
}, {
|
|
9634
|
+
type: Inject,
|
|
9635
|
+
args: [DIALOG_INTERACTION_SERVICE_DEFAULTS]
|
|
9636
|
+
}] }, { type: i1$f.MatDialogConfig, decorators: [{
|
|
9637
|
+
type: Optional
|
|
9638
|
+
}, {
|
|
9639
|
+
type: Inject,
|
|
9640
|
+
args: [MAT_DIALOG_DEFAULT_OPTIONS]
|
|
9641
|
+
}] }];
|
|
9642
|
+
} });
|
|
9860
9643
|
|
|
9861
9644
|
/**
|
|
9862
9645
|
* @file Automatically generated by barrelsby.
|
|
@@ -9886,9 +9669,9 @@ class NoopAuthGuard {
|
|
|
9886
9669
|
});
|
|
9887
9670
|
}
|
|
9888
9671
|
}
|
|
9889
|
-
NoopAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9890
|
-
NoopAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9672
|
+
NoopAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopAuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9673
|
+
NoopAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopAuthGuard, providedIn: 'root' });
|
|
9674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopAuthGuard, decorators: [{
|
|
9892
9675
|
type: Injectable,
|
|
9893
9676
|
args: [{
|
|
9894
9677
|
providedIn: 'root'
|
|
@@ -10028,9 +9811,9 @@ class PlaceGuard {
|
|
|
10028
9811
|
});
|
|
10029
9812
|
}
|
|
10030
9813
|
}
|
|
10031
|
-
PlaceGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10032
|
-
PlaceGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9814
|
+
PlaceGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceGuard, deps: [{ token: i1$e.Router }, { token: UrlService }, { token: PlaceRouter }, { token: PlaceHistory }, { token: InteractionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9815
|
+
PlaceGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceGuard, providedIn: 'root' });
|
|
9816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceGuard, decorators: [{
|
|
10034
9817
|
type: Injectable,
|
|
10035
9818
|
args: [{ providedIn: 'root' }]
|
|
10036
9819
|
}], ctorParameters: function () { return [{ type: i1$e.Router }, { type: UrlService }, { type: PlaceRouter }, { type: PlaceHistory }, { type: InteractionService }, { type: i0.Injector }]; } });
|
|
@@ -10197,15 +9980,17 @@ class VisibilityService extends GarbageCollector {
|
|
|
10197
9980
|
return !this.isHidden();
|
|
10198
9981
|
}
|
|
10199
9982
|
}
|
|
10200
|
-
VisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10201
|
-
VisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9983
|
+
VisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VisibilityService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9984
|
+
VisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VisibilityService, providedIn: 'root' });
|
|
9985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VisibilityService, decorators: [{
|
|
10203
9986
|
type: Injectable,
|
|
10204
9987
|
args: [{ providedIn: 'root' }]
|
|
10205
|
-
}], ctorParameters: function () {
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
9988
|
+
}], ctorParameters: function () {
|
|
9989
|
+
return [{ type: undefined, decorators: [{
|
|
9990
|
+
type: Inject,
|
|
9991
|
+
args: [DOCUMENT]
|
|
9992
|
+
}] }];
|
|
9993
|
+
} });
|
|
10209
9994
|
|
|
10210
9995
|
/**
|
|
10211
9996
|
* @file Automatically generated by barrelsby.
|
|
@@ -10216,4 +10001,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
10216
10001
|
*/
|
|
10217
10002
|
|
|
10218
10003
|
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CardStackComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadingContainerComponent, MarkdownComponent, MarkdownService, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, markdownPillExtension, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
|
|
10219
|
-
//# sourceMappingURL=coolon-angular-ui-powerups.
|
|
10004
|
+
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|