@coolon/angular-ui-powerups 12.4.9 → 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/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/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +95 -0
- package/{esm2015/lib/components/text/markdown/markdown.component.js → esm2020/lib/components/text/markdown/markdown.component.mjs} +5 -9
- 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} +6 -7
- package/esm2020/lib/interaction/activity.mjs +87 -0
- 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} +4 -4
- 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/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/esm2020/lib/place/navigation/session/navigation-session.mjs +157 -0
- package/esm2020/lib/place/place-component.mjs +198 -0
- 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/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/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} +1201 -1415
- 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 +37 -24
- 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 +3 -3
- 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 +4 -4
- 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 +5 -5
- package/schematics/utils/source-file-scanner.js.map +1 -1
- package/schematics/utils/source-file-utilities.js +1 -1
- 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/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/column-list-model.js → esm2020/lib/components/tables/column-list-model.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/tables/tree-table/tree-label-column-model.js → esm2020/lib/components/tables/tree-table/tree-label-column-model.mjs} +0 -0
- /package/{esm2015/lib/components/tables/tree-table/tree-table-model.js → esm2020/lib/components/tables/tree-table/tree-table-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/alert.js → esm2020/lib/interaction/alert.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/guards/consolidated-param-map.js → esm2020/lib/place/guards/consolidated-param-map.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/interactions/synchronise-interaction-context-ids-with-route.js → esm2020/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.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/place-definition.js → esm2020/lib/place/place-definition.mjs} +0 -0
- /package/{esm2015/lib/place/route/formatter.js → esm2020/lib/place/route/formatter.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/place/url-snapshot.js → esm2020/lib/place/url-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';
|
|
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';
|
|
@@ -154,26 +154,28 @@ class CommandDirective extends GarbageCollector {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
CommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
CommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
159
|
-
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: [{
|
|
160
160
|
type: Directive,
|
|
161
161
|
args: [{
|
|
162
162
|
// tslint:disable-next-line:directive-selector
|
|
163
163
|
selector: '[pectinCommand]'
|
|
164
164
|
}]
|
|
165
|
-
}], ctorParameters: function () {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
type:
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
type:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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: [{
|
|
177
179
|
type: Input
|
|
178
180
|
}], commandParameter: [{
|
|
179
181
|
type: Input
|
|
@@ -187,9 +189,9 @@ class DisposableComponent extends GarbageCollector {
|
|
|
187
189
|
this.dispose();
|
|
188
190
|
}
|
|
189
191
|
}
|
|
190
|
-
DisposableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
191
|
-
DisposableComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
192
|
-
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: [{
|
|
193
195
|
type: Directive
|
|
194
196
|
}] });
|
|
195
197
|
|
|
@@ -278,20 +280,22 @@ class FocusBindingFactory {
|
|
|
278
280
|
return new FocusBinding(el, this.ngZone, this.document, focusContext);
|
|
279
281
|
}
|
|
280
282
|
}
|
|
281
|
-
FocusBindingFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
282
|
-
FocusBindingFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
283
|
-
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: [{
|
|
284
286
|
type: Injectable,
|
|
285
287
|
args: [{
|
|
286
288
|
providedIn: 'root'
|
|
287
289
|
}]
|
|
288
|
-
}], ctorParameters: function () {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
type:
|
|
293
|
-
|
|
294
|
-
|
|
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
|
+
} });
|
|
295
299
|
|
|
296
300
|
class FocusBindingDirective extends DisposableComponent {
|
|
297
301
|
constructor(el, focusBindingFactory) {
|
|
@@ -326,18 +330,20 @@ class FocusBindingDirective extends DisposableComponent {
|
|
|
326
330
|
return this.focusBindingTarget || this.el.nativeElement;
|
|
327
331
|
}
|
|
328
332
|
}
|
|
329
|
-
FocusBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
330
|
-
FocusBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
331
|
-
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: [{
|
|
332
336
|
type: Directive,
|
|
333
337
|
args: [{
|
|
334
338
|
// tslint:disable-next-line:directive-selector
|
|
335
339
|
selector: '[pectinFocusBinding]'
|
|
336
340
|
}]
|
|
337
|
-
}], ctorParameters: function () {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
+
}], ctorParameters: function () {
|
|
342
|
+
return [{ type: i0.ElementRef, decorators: [{
|
|
343
|
+
type: Inject,
|
|
344
|
+
args: [ElementRef]
|
|
345
|
+
}] }, { type: FocusBindingFactory }];
|
|
346
|
+
}, propDecorators: { pectinFocusBinding: [{
|
|
341
347
|
type: Input
|
|
342
348
|
}], focusBindingTarget: [{
|
|
343
349
|
type: Input
|
|
@@ -357,13 +363,13 @@ class HighlightTextModelDirective extends GarbageCollector {
|
|
|
357
363
|
this.dispose();
|
|
358
364
|
}
|
|
359
365
|
}
|
|
360
|
-
HighlightTextModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
361
|
-
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 });
|
|
362
368
|
__decorate([
|
|
363
369
|
TrackExternal(),
|
|
364
370
|
__metadata("design:type", ValueModel)
|
|
365
371
|
], HighlightTextModelDirective.prototype, "aupHighlightTextModel", void 0);
|
|
366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightTextModelDirective, decorators: [{
|
|
367
373
|
type: Directive,
|
|
368
374
|
args: [{
|
|
369
375
|
selector: '[aupHighlightTextModel]'
|
|
@@ -399,22 +405,24 @@ class HighlightPipe extends GarbageCollector {
|
|
|
399
405
|
return this.sanitizer.bypassSecurityTrustHtml(result);
|
|
400
406
|
}
|
|
401
407
|
}
|
|
402
|
-
HighlightPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
403
|
-
HighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
404
|
-
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: [{
|
|
405
411
|
type: Pipe,
|
|
406
412
|
args: [{
|
|
407
413
|
name: 'aupHighlight',
|
|
408
414
|
pure: false
|
|
409
415
|
}]
|
|
410
|
-
}], ctorParameters: function () {
|
|
411
|
-
|
|
412
|
-
|
|
416
|
+
}], ctorParameters: function () {
|
|
417
|
+
return [{ type: i1$2.DomSanitizer }, { type: HighlightTextModelDirective, decorators: [{
|
|
418
|
+
type: Optional
|
|
419
|
+
}] }];
|
|
420
|
+
} });
|
|
413
421
|
|
|
414
422
|
class DirectivesModule {
|
|
415
423
|
}
|
|
416
|
-
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
417
|
-
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,
|
|
418
426
|
FocusBindingDirective,
|
|
419
427
|
HighlightPipe,
|
|
420
428
|
HighlightTextModelDirective], imports: [CommonModule,
|
|
@@ -427,7 +435,7 @@ DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
427
435
|
FocusBindingDirective,
|
|
428
436
|
HighlightPipe,
|
|
429
437
|
HighlightTextModelDirective] });
|
|
430
|
-
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: [[
|
|
431
439
|
CommonModule,
|
|
432
440
|
BrowserAnimationsModule,
|
|
433
441
|
FormsModule,
|
|
@@ -436,7 +444,7 @@ DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
436
444
|
MatSelectModule,
|
|
437
445
|
MatTabsModule
|
|
438
446
|
]] });
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, decorators: [{
|
|
440
448
|
type: NgModule,
|
|
441
449
|
args: [{
|
|
442
450
|
declarations: [
|
|
@@ -518,9 +526,9 @@ class MarkdownService {
|
|
|
518
526
|
});
|
|
519
527
|
}
|
|
520
528
|
}
|
|
521
|
-
MarkdownService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
522
|
-
MarkdownService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
523
|
-
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: [{
|
|
524
532
|
type: Injectable
|
|
525
533
|
}], ctorParameters: function () { return []; } });
|
|
526
534
|
|
|
@@ -531,8 +539,8 @@ class BusyOverlayComponent extends GarbageCollector {
|
|
|
531
539
|
ngOnInit() {
|
|
532
540
|
}
|
|
533
541
|
}
|
|
534
|
-
BusyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
535
|
-
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"] }] });
|
|
536
544
|
__decorate([
|
|
537
545
|
TrackExternal(),
|
|
538
546
|
__metadata("design:type", ValueModel)
|
|
@@ -541,19 +549,43 @@ __decorate([
|
|
|
541
549
|
StoreInValueModel('busyModel'),
|
|
542
550
|
__metadata("design:type", Boolean)
|
|
543
551
|
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BusyOverlayComponent, decorators: [{
|
|
545
553
|
type: Component,
|
|
546
|
-
args: [{
|
|
547
|
-
selector: 'aup-busy-overlay',
|
|
548
|
-
templateUrl: `./busy-overlay.component.html`,
|
|
549
|
-
styleUrls: ['./busy-overlay.component.scss']
|
|
550
|
-
}]
|
|
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"] }]
|
|
551
555
|
}], ctorParameters: function () { return []; }, propDecorators: { busyModel: [{
|
|
552
556
|
type: Input
|
|
553
557
|
}], busy: [{
|
|
554
558
|
type: Input
|
|
555
559
|
}] } });
|
|
556
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
|
+
|
|
557
589
|
var CommandFace;
|
|
558
590
|
(function (CommandFace) {
|
|
559
591
|
let Position;
|
|
@@ -662,34 +694,6 @@ var CommandFace;
|
|
|
662
694
|
CommandFace.Adapter = Adapter;
|
|
663
695
|
})(CommandFace || (CommandFace = {}));
|
|
664
696
|
|
|
665
|
-
class AbstractCardContainerComponent extends DisposableComponent {
|
|
666
|
-
constructor() {
|
|
667
|
-
super();
|
|
668
|
-
}
|
|
669
|
-
ngOnInit() {
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
AbstractCardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractCardContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
673
|
-
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 });
|
|
674
|
-
__decorate([
|
|
675
|
-
TrackExternal(),
|
|
676
|
-
__metadata("design:type", Command)
|
|
677
|
-
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractCardContainerComponent, decorators: [{
|
|
679
|
-
type: Component,
|
|
680
|
-
args: [{
|
|
681
|
-
selector: 'aup-abstract-card-container',
|
|
682
|
-
template: '',
|
|
683
|
-
}]
|
|
684
|
-
}], ctorParameters: function () { return []; }, propDecorators: { addCardCommand: [{
|
|
685
|
-
type: Input
|
|
686
|
-
}], addCardFace: [{
|
|
687
|
-
type: Input
|
|
688
|
-
}], addCardTemplate: [{
|
|
689
|
-
type: ContentChild,
|
|
690
|
-
args: ['addCardTemplate']
|
|
691
|
-
}] } });
|
|
692
|
-
|
|
693
697
|
class IconComponent {
|
|
694
698
|
constructor() {
|
|
695
699
|
this.allowedPrefixes = Enum.values(IconComponent.IconPrefix).map(p => `${p}:`);
|
|
@@ -719,15 +723,11 @@ class IconComponent {
|
|
|
719
723
|
return this.suffix;
|
|
720
724
|
}
|
|
721
725
|
}
|
|
722
|
-
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
723
|
-
IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
724
|
-
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: [{
|
|
725
729
|
type: Component,
|
|
726
|
-
args: [{
|
|
727
|
-
selector: 'aup-icon',
|
|
728
|
-
templateUrl: './icon.component.html',
|
|
729
|
-
styleUrls: ['./icon.component.scss']
|
|
730
|
-
}]
|
|
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"] }]
|
|
731
731
|
}], propDecorators: { icon: [{
|
|
732
732
|
type: Input
|
|
733
733
|
}] } });
|
|
@@ -783,20 +783,15 @@ class CommandFaceComponent extends DisposableComponent {
|
|
|
783
783
|
return this.activeColor.value;
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
CommandFaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
787
|
-
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 });
|
|
788
788
|
__decorate([
|
|
789
789
|
StoreInListModel('facesModel'),
|
|
790
790
|
__metadata("design:type", Array)
|
|
791
791
|
], CommandFaceComponent.prototype, "_rawFaces", void 0);
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandFaceComponent, decorators: [{
|
|
793
793
|
type: Component,
|
|
794
|
-
args: [{
|
|
795
|
-
selector: 'aup-command-face',
|
|
796
|
-
templateUrl: './command-face.component.html',
|
|
797
|
-
styleUrls: ['./command-face.component.scss'],
|
|
798
|
-
encapsulation: ViewEncapsulation.None
|
|
799
|
-
}]
|
|
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"] }]
|
|
800
795
|
}], ctorParameters: function () { return []; }, propDecorators: { _rawFaces: [{
|
|
801
796
|
type: Input,
|
|
802
797
|
args: ['faces']
|
|
@@ -821,15 +816,11 @@ class ScrollContainerComponent {
|
|
|
821
816
|
ngOnInit() {
|
|
822
817
|
}
|
|
823
818
|
}
|
|
824
|
-
ScrollContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
825
|
-
ScrollContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
826
|
-
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: [{
|
|
827
822
|
type: Component,
|
|
828
|
-
args: [{
|
|
829
|
-
selector: 'aup-scroll-container',
|
|
830
|
-
templateUrl: './scroll-container.component.html',
|
|
831
|
-
styleUrls: ['./scroll-container.component.scss']
|
|
832
|
-
}]
|
|
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"] }]
|
|
833
824
|
}], ctorParameters: function () { return []; } });
|
|
834
825
|
|
|
835
826
|
/**
|
|
@@ -934,15 +925,11 @@ class CardContainerComponent extends AbstractCardContainerComponent {
|
|
|
934
925
|
}
|
|
935
926
|
}
|
|
936
927
|
}
|
|
937
|
-
CardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
938
|
-
CardContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
939
|
-
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: [{
|
|
940
931
|
type: Component,
|
|
941
|
-
args: [{
|
|
942
|
-
selector: 'aup-card-container',
|
|
943
|
-
templateUrl: './card-container.component.html',
|
|
944
|
-
styleUrls: ['./card-container.component.scss']
|
|
945
|
-
}]
|
|
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"] }]
|
|
946
933
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { columnCount: [{
|
|
947
934
|
type: Input
|
|
948
935
|
}], enabledScroll: [{
|
|
@@ -1022,15 +1009,11 @@ class CardStackComponent extends AbstractCardContainerComponent {
|
|
|
1022
1009
|
console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
|
|
1023
1010
|
}
|
|
1024
1011
|
}
|
|
1025
|
-
CardStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1026
|
-
CardStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1027
|
-
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: [{
|
|
1028
1015
|
type: Component,
|
|
1029
|
-
args: [{
|
|
1030
|
-
selector: 'aup-card-stack',
|
|
1031
|
-
templateUrl: './card-stack.component.html',
|
|
1032
|
-
styleUrls: ['./card-stack.component.scss']
|
|
1033
|
-
}]
|
|
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"] }]
|
|
1034
1017
|
}], ctorParameters: function () { return []; } });
|
|
1035
1018
|
|
|
1036
1019
|
const HorizontalAlignment = Enum({
|
|
@@ -1101,8 +1084,8 @@ class CommandComponent extends PopupAwareComponent {
|
|
|
1101
1084
|
return this.face;
|
|
1102
1085
|
}
|
|
1103
1086
|
}
|
|
1104
|
-
CommandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1105
|
-
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]" }] });
|
|
1106
1089
|
__decorate([
|
|
1107
1090
|
TrackExternal(),
|
|
1108
1091
|
__metadata("design:type", Command)
|
|
@@ -1123,19 +1106,17 @@ __decorate([
|
|
|
1123
1106
|
StoreInValueModel('busyFaceModel'),
|
|
1124
1107
|
__metadata("design:type", Object)
|
|
1125
1108
|
], CommandComponent.prototype, "busyFace", void 0);
|
|
1126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandComponent, decorators: [{
|
|
1127
1110
|
type: Component,
|
|
1128
|
-
args: [{
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
type: Optional
|
|
1138
|
-
}] }]; }, 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: [{
|
|
1139
1120
|
type: Input
|
|
1140
1121
|
}], faceModel: [{
|
|
1141
1122
|
type: Input
|
|
@@ -1162,9 +1143,9 @@ class FlexComponent extends DisposableComponent {
|
|
|
1162
1143
|
ngOnInit() {
|
|
1163
1144
|
}
|
|
1164
1145
|
}
|
|
1165
|
-
FlexComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1166
|
-
FlexComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1167
|
-
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: [{
|
|
1168
1149
|
type: Component,
|
|
1169
1150
|
args: [{
|
|
1170
1151
|
selector: 'aup-flex',
|
|
@@ -1221,8 +1202,8 @@ class AbstractPopupMenuComponent extends PopupAwareComponent {
|
|
|
1221
1202
|
return this.faceAdapter.face;
|
|
1222
1203
|
}
|
|
1223
1204
|
}
|
|
1224
|
-
AbstractPopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1225
|
-
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 });
|
|
1226
1207
|
__decorate([
|
|
1227
1208
|
StoreInValueModel('enabledModel'),
|
|
1228
1209
|
__metadata("design:type", Boolean)
|
|
@@ -1231,17 +1212,15 @@ __decorate([
|
|
|
1231
1212
|
TrackExternal({ defaultValue: true }),
|
|
1232
1213
|
__metadata("design:type", ValueModel)
|
|
1233
1214
|
], AbstractPopupMenuComponent.prototype, "enabledModel", void 0);
|
|
1234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPopupMenuComponent, decorators: [{
|
|
1235
1216
|
type: Component,
|
|
1236
|
-
args: [{
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
args: [POPUP_CONTAINER]
|
|
1244
|
-
}] }]; }, 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: [{
|
|
1245
1224
|
type: Input
|
|
1246
1225
|
}], yPosition: [{
|
|
1247
1226
|
type: Input
|
|
@@ -1315,16 +1294,11 @@ class ToolBarComponent extends CommandContainer {
|
|
|
1315
1294
|
ngAfterViewInit() {
|
|
1316
1295
|
}
|
|
1317
1296
|
}
|
|
1318
|
-
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1319
|
-
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1320
|
-
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: [{
|
|
1321
1300
|
type: Component,
|
|
1322
|
-
args: [{
|
|
1323
|
-
selector: 'aup-tool-bar',
|
|
1324
|
-
template: '<div class="toolbar-content"><ng-content></ng-content></div>',
|
|
1325
|
-
styleUrls: ['./tool-bar.component.scss'],
|
|
1326
|
-
encapsulation: ViewEncapsulation.None
|
|
1327
|
-
}]
|
|
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"] }]
|
|
1328
1302
|
}], ctorParameters: function () { return []; } });
|
|
1329
1303
|
|
|
1330
1304
|
/**
|
|
@@ -1341,10 +1315,10 @@ class SeparatorComponent extends PopupAwareComponent {
|
|
|
1341
1315
|
ngOnInit() {
|
|
1342
1316
|
}
|
|
1343
1317
|
}
|
|
1344
|
-
SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1345
|
-
SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1346
|
-
<mat-divider [vertical]="!isHorizontalContainer()"></mat-divider>`, isInline: true, styles: ["
|
|
1347
|
-
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: [{
|
|
1348
1322
|
type: Component,
|
|
1349
1323
|
args: [{
|
|
1350
1324
|
selector: 'aup-separator',
|
|
@@ -1359,14 +1333,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
1359
1333
|
}`
|
|
1360
1334
|
]
|
|
1361
1335
|
}]
|
|
1362
|
-
}], ctorParameters: function () {
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
type:
|
|
1369
|
-
|
|
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: [{
|
|
1370
1346
|
type: HostBinding,
|
|
1371
1347
|
args: ['class.horizontal-container']
|
|
1372
1348
|
}] } });
|
|
@@ -1440,14 +1416,11 @@ class PopupMenuRendererComponent extends DisposableComponent {
|
|
|
1440
1416
|
undefined;
|
|
1441
1417
|
}
|
|
1442
1418
|
}
|
|
1443
|
-
PopupMenuRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1444
|
-
PopupMenuRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1445
|
-
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: [{
|
|
1446
1422
|
type: Component,
|
|
1447
|
-
args: [{
|
|
1448
|
-
selector: "aup-popup-menu-renderer",
|
|
1449
|
-
templateUrl: "./popup-menu-renderer.component.html"
|
|
1450
|
-
}]
|
|
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" }]
|
|
1451
1424
|
}], ctorParameters: function () { return []; }, propDecorators: { parent: [{
|
|
1452
1425
|
type: Input
|
|
1453
1426
|
}], menuComponent: [{
|
|
@@ -1481,31 +1454,29 @@ class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1481
1454
|
return this.faceModelDelegate.value;
|
|
1482
1455
|
}
|
|
1483
1456
|
}
|
|
1484
|
-
MoreMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1485
|
-
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: [
|
|
1486
1459
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1487
|
-
], 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]" }] });
|
|
1488
1461
|
__decorate([
|
|
1489
1462
|
StoreInValueModel('tooltipModel'),
|
|
1490
1463
|
__metadata("design:type", String)
|
|
1491
1464
|
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MoreMenuComponent, decorators: [{
|
|
1493
1466
|
type: Component,
|
|
1494
|
-
args: [{
|
|
1495
|
-
selector: 'aup-more-menu',
|
|
1496
|
-
templateUrl: './popup-menu.component.html',
|
|
1497
|
-
providers: [
|
|
1467
|
+
args: [{ selector: 'aup-more-menu', providers: [
|
|
1498
1468
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1499
|
-
]
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
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: [{
|
|
1509
1480
|
type: Input
|
|
1510
1481
|
}] } });
|
|
1511
1482
|
|
|
@@ -1519,10 +1490,10 @@ class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1519
1490
|
// group.faceListModel = chain(this.faceModel).mapToList(face => [face]);
|
|
1520
1491
|
}
|
|
1521
1492
|
}
|
|
1522
|
-
PopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1523
|
-
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: [
|
|
1524
1495
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1525
|
-
], 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]" }] });
|
|
1526
1497
|
__decorate([
|
|
1527
1498
|
TrackExternal({ delegateTo: 'faceModelDelegate' }),
|
|
1528
1499
|
__metadata("design:type", ValueModel)
|
|
@@ -1531,24 +1502,21 @@ __decorate([
|
|
|
1531
1502
|
StoreInValueModel('faceModel'),
|
|
1532
1503
|
__metadata("design:type", Object)
|
|
1533
1504
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
1534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuComponent, decorators: [{
|
|
1535
1506
|
type: Component,
|
|
1536
|
-
args: [{
|
|
1537
|
-
selector: 'aup-popup-menu',
|
|
1538
|
-
templateUrl: './popup-menu.component.html',
|
|
1539
|
-
styleUrls: [],
|
|
1540
|
-
providers: [
|
|
1507
|
+
args: [{ selector: 'aup-popup-menu', providers: [
|
|
1541
1508
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1542
|
-
]
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
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: [{
|
|
1552
1520
|
type: Input
|
|
1553
1521
|
}], face: [{
|
|
1554
1522
|
type: Input
|
|
@@ -1560,23 +1528,19 @@ class EmptyStateComponent {
|
|
|
1560
1528
|
ngOnInit() {
|
|
1561
1529
|
}
|
|
1562
1530
|
}
|
|
1563
|
-
EmptyStateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1564
|
-
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: `
|
|
1565
1533
|
<div class="container">
|
|
1566
1534
|
<ng-content></ng-content>
|
|
1567
1535
|
</div>
|
|
1568
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"] });
|
|
1569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
1570
1538
|
type: Component,
|
|
1571
|
-
args: [{
|
|
1572
|
-
selector: 'aup-empty-state',
|
|
1573
|
-
template: `
|
|
1539
|
+
args: [{ selector: 'aup-empty-state', template: `
|
|
1574
1540
|
<div class="container">
|
|
1575
1541
|
<ng-content></ng-content>
|
|
1576
1542
|
</div>
|
|
1577
|
-
`,
|
|
1578
|
-
styleUrls: ['./empty-state.component.scss']
|
|
1579
|
-
}]
|
|
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"] }]
|
|
1580
1544
|
}], ctorParameters: function () { return []; } });
|
|
1581
1545
|
|
|
1582
1546
|
class FocusContainerComponent extends DisposableComponent {
|
|
@@ -1595,23 +1559,20 @@ class FocusContainerComponent extends DisposableComponent {
|
|
|
1595
1559
|
this.focusManager.restoreFocus();
|
|
1596
1560
|
}
|
|
1597
1561
|
}
|
|
1598
|
-
FocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1599
|
-
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: [
|
|
1600
1564
|
{ provide: FocusManager }
|
|
1601
1565
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
1602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusContainerComponent, decorators: [{
|
|
1603
1567
|
type: Component,
|
|
1604
|
-
args: [{
|
|
1605
|
-
selector: 'aup-focus-container',
|
|
1606
|
-
templateUrl: './focus-container.component.html',
|
|
1607
|
-
styleUrls: ['./focus-container.component.scss'],
|
|
1608
|
-
providers: [
|
|
1568
|
+
args: [{ selector: 'aup-focus-container', providers: [
|
|
1609
1569
|
{ provide: FocusManager }
|
|
1610
|
-
]
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
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: [{
|
|
1615
1576
|
type: HostBinding,
|
|
1616
1577
|
args: ['attr.tabindex']
|
|
1617
1578
|
}] } });
|
|
@@ -1643,9 +1604,9 @@ class FocusableComponent extends DisposableComponent {
|
|
|
1643
1604
|
return this._focusContext;
|
|
1644
1605
|
}
|
|
1645
1606
|
}
|
|
1646
|
-
FocusableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1647
|
-
FocusableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1648
|
-
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: [{
|
|
1649
1610
|
type: Component,
|
|
1650
1611
|
args: [{ template: '' }]
|
|
1651
1612
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$7.FocusManager }, { type: FocusBindingFactory }]; }, propDecorators: { focusable: [{
|
|
@@ -1741,9 +1702,9 @@ class AbstractInputComponent extends DisposableComponent {
|
|
|
1741
1702
|
return this.onValueEditedListeners.add(callback);
|
|
1742
1703
|
}
|
|
1743
1704
|
}
|
|
1744
|
-
AbstractInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1745
|
-
AbstractInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1746
|
-
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: [{
|
|
1747
1708
|
type: Component,
|
|
1748
1709
|
args: [{ template: '' }]
|
|
1749
1710
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -1845,13 +1806,13 @@ class AbstractListInputComponent extends AbstractInputComponent {
|
|
|
1845
1806
|
});
|
|
1846
1807
|
}
|
|
1847
1808
|
}
|
|
1848
|
-
AbstractListInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1849
|
-
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 });
|
|
1850
1811
|
__decorate([
|
|
1851
1812
|
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1852
1813
|
__metadata("design:type", Object)
|
|
1853
1814
|
], AbstractListInputComponent.prototype, "listModel", void 0);
|
|
1854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractListInputComponent, decorators: [{
|
|
1855
1816
|
type: Component,
|
|
1856
1817
|
args: [{ template: '' }]
|
|
1857
1818
|
}], ctorParameters: function () { return []; }, propDecorators: { listModel: [{
|
|
@@ -1910,13 +1871,13 @@ class AbstractValueInputComponent extends AbstractInputComponent {
|
|
|
1910
1871
|
});
|
|
1911
1872
|
}
|
|
1912
1873
|
}
|
|
1913
|
-
AbstractValueInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1914
|
-
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 });
|
|
1915
1876
|
__decorate([
|
|
1916
1877
|
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1917
1878
|
__metadata("design:type", Object)
|
|
1918
1879
|
], AbstractValueInputComponent.prototype, "valueModel", void 0);
|
|
1919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractValueInputComponent, decorators: [{
|
|
1920
1881
|
type: Component,
|
|
1921
1882
|
args: [{ template: '' }]
|
|
1922
1883
|
}], ctorParameters: function () { return []; }, propDecorators: { valueModel: [{
|
|
@@ -1958,8 +1919,8 @@ class AutocompleteInputComponent extends AbstractValueInputComponent {
|
|
|
1958
1919
|
this.valueModel.value = $event.option.value;
|
|
1959
1920
|
}
|
|
1960
1921
|
}
|
|
1961
|
-
AutocompleteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1962
|
-
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"] }] });
|
|
1963
1924
|
__decorate([
|
|
1964
1925
|
TrackExternal(),
|
|
1965
1926
|
__metadata("design:type", ListModel)
|
|
@@ -1968,13 +1929,9 @@ __decorate([
|
|
|
1968
1929
|
StoreInListModel('optionsModel'),
|
|
1969
1930
|
__metadata("design:type", Array)
|
|
1970
1931
|
], AutocompleteInputComponent.prototype, "options", void 0);
|
|
1971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AutocompleteInputComponent, decorators: [{
|
|
1972
1933
|
type: Component,
|
|
1973
|
-
args: [{
|
|
1974
|
-
selector: 'aup-autocomplete-input',
|
|
1975
|
-
templateUrl: './autocomplete-input.component.html',
|
|
1976
|
-
styleUrls: ['./autocomplete-input.component.scss']
|
|
1977
|
-
}]
|
|
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"] }]
|
|
1978
1935
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
1979
1936
|
type: Input
|
|
1980
1937
|
}], options: [{
|
|
@@ -2001,15 +1958,11 @@ class CheckboxInputComponent extends AbstractValueInputComponent {
|
|
|
2001
1958
|
ngOnInit() {
|
|
2002
1959
|
}
|
|
2003
1960
|
}
|
|
2004
|
-
CheckboxInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2005
|
-
CheckboxInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2006
|
-
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: [{
|
|
2007
1964
|
type: Component,
|
|
2008
|
-
args: [{
|
|
2009
|
-
selector: 'aup-checkbox-input',
|
|
2010
|
-
templateUrl: './checkbox-input.component.html',
|
|
2011
|
-
styleUrls: ['./checkbox-input.component.scss']
|
|
2012
|
-
}]
|
|
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"] }]
|
|
2013
1966
|
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
2014
1967
|
type: Input
|
|
2015
1968
|
}], labelPosition: [{
|
|
@@ -2031,8 +1984,8 @@ class MultipleSelectInputComponent extends AbstractListInputComponent {
|
|
|
2031
1984
|
ngOnInit() {
|
|
2032
1985
|
}
|
|
2033
1986
|
}
|
|
2034
|
-
MultipleSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2035
|
-
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"] }] });
|
|
2036
1989
|
__decorate([
|
|
2037
1990
|
TrackExternal(),
|
|
2038
1991
|
__metadata("design:type", ListModel)
|
|
@@ -2041,13 +1994,9 @@ __decorate([
|
|
|
2041
1994
|
StoreInListModel('optionsModel'),
|
|
2042
1995
|
__metadata("design:type", Array)
|
|
2043
1996
|
], MultipleSelectInputComponent.prototype, "options", void 0);
|
|
2044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MultipleSelectInputComponent, decorators: [{
|
|
2045
1998
|
type: Component,
|
|
2046
|
-
args: [{
|
|
2047
|
-
selector: 'aup-multiple-select-input',
|
|
2048
|
-
templateUrl: './multiple-select-input.component.html',
|
|
2049
|
-
styleUrls: ['./multiple-select-input.component.scss']
|
|
2050
|
-
}]
|
|
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"] }]
|
|
2051
2000
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
2052
2001
|
type: Input
|
|
2053
2002
|
}], options: [{
|
|
@@ -2070,15 +2019,11 @@ class NumberInputComponent extends AbstractValueInputComponent {
|
|
|
2070
2019
|
ngOnInit() {
|
|
2071
2020
|
}
|
|
2072
2021
|
}
|
|
2073
|
-
NumberInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2074
|
-
NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2075
|
-
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: [{
|
|
2076
2025
|
type: Component,
|
|
2077
|
-
args: [{
|
|
2078
|
-
selector: 'aup-number-input',
|
|
2079
|
-
templateUrl: './number-input.component.html',
|
|
2080
|
-
styleUrls: ['./number-input.component.scss']
|
|
2081
|
-
}]
|
|
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: [""] }]
|
|
2082
2027
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2083
2028
|
type: Input
|
|
2084
2029
|
}], min: [{
|
|
@@ -2096,15 +2041,11 @@ class PasswordInputComponent extends AbstractValueInputComponent {
|
|
|
2096
2041
|
ngOnInit() {
|
|
2097
2042
|
}
|
|
2098
2043
|
}
|
|
2099
|
-
PasswordInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2100
|
-
PasswordInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2101
|
-
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: [{
|
|
2102
2047
|
type: Component,
|
|
2103
|
-
args: [{
|
|
2104
|
-
selector: 'aup-password-input',
|
|
2105
|
-
templateUrl: './password-input.component.html',
|
|
2106
|
-
styleUrls: ['./password-input.component.scss']
|
|
2107
|
-
}]
|
|
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: [""] }]
|
|
2108
2049
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2109
2050
|
type: Input
|
|
2110
2051
|
}] } });
|
|
@@ -2124,8 +2065,8 @@ class SelectInputComponent extends AbstractValueInputComponent {
|
|
|
2124
2065
|
ngOnInit() {
|
|
2125
2066
|
}
|
|
2126
2067
|
}
|
|
2127
|
-
SelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2128
|
-
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"] }] });
|
|
2129
2070
|
__decorate([
|
|
2130
2071
|
TrackExternal(),
|
|
2131
2072
|
__metadata("design:type", ListModel)
|
|
@@ -2134,13 +2075,9 @@ __decorate([
|
|
|
2134
2075
|
StoreInListModel('optionsModel'),
|
|
2135
2076
|
__metadata("design:type", Array)
|
|
2136
2077
|
], SelectInputComponent.prototype, "options", void 0);
|
|
2137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputComponent, decorators: [{
|
|
2138
2079
|
type: Component,
|
|
2139
|
-
args: [{
|
|
2140
|
-
selector: 'aup-select-input',
|
|
2141
|
-
templateUrl: './select-input.component.html',
|
|
2142
|
-
styleUrls: ['./select-input.component.scss']
|
|
2143
|
-
}]
|
|
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"] }]
|
|
2144
2081
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
2145
2082
|
type: Input
|
|
2146
2083
|
}], options: [{
|
|
@@ -2171,8 +2108,8 @@ class StringInputComponent extends AbstractValueInputComponent {
|
|
|
2171
2108
|
ngOnInit() {
|
|
2172
2109
|
}
|
|
2173
2110
|
}
|
|
2174
|
-
StringInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2175
|
-
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"] }] });
|
|
2176
2113
|
__decorate([
|
|
2177
2114
|
TrackExternal({ defaultValue: false }),
|
|
2178
2115
|
__metadata("design:type", ValueModel)
|
|
@@ -2181,13 +2118,9 @@ __decorate([
|
|
|
2181
2118
|
StoreInValueModel('enableClearModel'),
|
|
2182
2119
|
__metadata("design:type", Boolean)
|
|
2183
2120
|
], StringInputComponent.prototype, "enableClear", void 0);
|
|
2184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputComponent, decorators: [{
|
|
2185
2122
|
type: Component,
|
|
2186
|
-
args: [{
|
|
2187
|
-
selector: 'aup-string-input',
|
|
2188
|
-
templateUrl: './string-input.component.html',
|
|
2189
|
-
styleUrls: ['./string-input.component.scss']
|
|
2190
|
-
}]
|
|
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"] }]
|
|
2191
2124
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2192
2125
|
type: Input
|
|
2193
2126
|
}], enableClearModel: [{
|
|
@@ -2209,15 +2142,11 @@ class TextInputComponent extends AbstractValueInputComponent {
|
|
|
2209
2142
|
ngOnInit() {
|
|
2210
2143
|
}
|
|
2211
2144
|
}
|
|
2212
|
-
TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2213
|
-
TextInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2214
|
-
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: [{
|
|
2215
2148
|
type: Component,
|
|
2216
|
-
args: [{
|
|
2217
|
-
selector: 'aup-text-input',
|
|
2218
|
-
templateUrl: './text-input.component.html',
|
|
2219
|
-
styleUrls: ['./text-input.component.scss']
|
|
2220
|
-
}]
|
|
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"] }]
|
|
2221
2150
|
}], ctorParameters: function () { return []; }, propDecorators: { rows: [{
|
|
2222
2151
|
type: Input
|
|
2223
2152
|
}], cols: [{
|
|
@@ -2234,8 +2163,8 @@ class LoadingContainerComponent extends GarbageCollector {
|
|
|
2234
2163
|
ngOnInit() {
|
|
2235
2164
|
}
|
|
2236
2165
|
}
|
|
2237
|
-
LoadingContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2238
|
-
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"] }] });
|
|
2239
2168
|
__decorate([
|
|
2240
2169
|
TrackExternal(),
|
|
2241
2170
|
__metadata("design:type", ValueModel)
|
|
@@ -2252,13 +2181,9 @@ __decorate([
|
|
|
2252
2181
|
StoreInValueModel("messageModel"),
|
|
2253
2182
|
__metadata("design:type", String)
|
|
2254
2183
|
], LoadingContainerComponent.prototype, "message", void 0);
|
|
2255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingContainerComponent, decorators: [{
|
|
2256
2185
|
type: Component,
|
|
2257
|
-
args: [{
|
|
2258
|
-
selector: 'aup-loading-container',
|
|
2259
|
-
templateUrl: `./loading-container.component.html`,
|
|
2260
|
-
styleUrls: ['./loading-container.component.scss']
|
|
2261
|
-
}]
|
|
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"] }]
|
|
2262
2187
|
}], ctorParameters: function () { return []; }, propDecorators: { loadingModel: [{
|
|
2263
2188
|
type: Input
|
|
2264
2189
|
}], loading: [{
|
|
@@ -2276,15 +2201,11 @@ class NoopComponent {
|
|
|
2276
2201
|
constructor() {
|
|
2277
2202
|
}
|
|
2278
2203
|
}
|
|
2279
|
-
NoopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2280
|
-
NoopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2281
|
-
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: [{
|
|
2282
2207
|
type: Component,
|
|
2283
|
-
args: [{
|
|
2284
|
-
selector: 'aup-noop',
|
|
2285
|
-
templateUrl: './noop.component.html',
|
|
2286
|
-
styleUrls: ['./noop.component.scss']
|
|
2287
|
-
}]
|
|
2208
|
+
args: [{ selector: 'aup-noop', template: "", styles: [":host{display:block}\n"] }]
|
|
2288
2209
|
}], ctorParameters: function () { return []; } });
|
|
2289
2210
|
|
|
2290
2211
|
class SectionHeaderComponent extends DisposableComponent {
|
|
@@ -2298,15 +2219,11 @@ class SectionHeaderComponent extends DisposableComponent {
|
|
|
2298
2219
|
ngOnInit() {
|
|
2299
2220
|
}
|
|
2300
2221
|
}
|
|
2301
|
-
SectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2302
|
-
SectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2303
|
-
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: [{
|
|
2304
2225
|
type: Component,
|
|
2305
|
-
args: [{
|
|
2306
|
-
selector: 'aup-section-header',
|
|
2307
|
-
templateUrl: './section-header.component.html',
|
|
2308
|
-
styleUrls: ['./section-header.component.scss']
|
|
2309
|
-
}]
|
|
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"] }]
|
|
2310
2227
|
}], ctorParameters: function () { return []; }, propDecorators: { size: [{
|
|
2311
2228
|
type: Input
|
|
2312
2229
|
}, {
|
|
@@ -2341,9 +2258,9 @@ class SwitchCaseWhenDirective extends SwitchCaseOption {
|
|
|
2341
2258
|
return this.aupSwitchCaseWhen === value;
|
|
2342
2259
|
}
|
|
2343
2260
|
}
|
|
2344
|
-
SwitchCaseWhenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2345
|
-
SwitchCaseWhenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2346
|
-
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: [{
|
|
2347
2264
|
type: Directive,
|
|
2348
2265
|
args: [{
|
|
2349
2266
|
selector: '[aupSwitchCaseWhen]',
|
|
@@ -2361,9 +2278,9 @@ class SwitchCaseDefaultDirective extends SwitchCaseOption {
|
|
|
2361
2278
|
return false;
|
|
2362
2279
|
}
|
|
2363
2280
|
}
|
|
2364
|
-
SwitchCaseDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2365
|
-
SwitchCaseDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2366
|
-
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: [{
|
|
2367
2284
|
type: Directive,
|
|
2368
2285
|
args: [{
|
|
2369
2286
|
selector: '[aupSwitchCaseDefault]',
|
|
@@ -2421,8 +2338,8 @@ class SwitchCaseComponent extends DisposableComponent {
|
|
|
2421
2338
|
}
|
|
2422
2339
|
}
|
|
2423
2340
|
}
|
|
2424
|
-
SwitchCaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2425
|
-
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"] }] });
|
|
2426
2343
|
__decorate([
|
|
2427
2344
|
TrackExternal(),
|
|
2428
2345
|
__metadata("design:type", ValueModel)
|
|
@@ -2431,13 +2348,9 @@ __decorate([
|
|
|
2431
2348
|
StoreInValueModel('switchModel'),
|
|
2432
2349
|
__metadata("design:type", Object)
|
|
2433
2350
|
], SwitchCaseComponent.prototype, "switch", void 0);
|
|
2434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseComponent, decorators: [{
|
|
2435
2352
|
type: Component,
|
|
2436
|
-
args: [{
|
|
2437
|
-
selector: 'aup-switch-case',
|
|
2438
|
-
templateUrl: './switch-case.component.html',
|
|
2439
|
-
styleUrls: ['./switch-case.component.scss']
|
|
2440
|
-
}]
|
|
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"] }]
|
|
2441
2354
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { switchModel: [{
|
|
2442
2355
|
type: Input
|
|
2443
2356
|
}], switch: [{
|
|
@@ -2525,9 +2438,9 @@ class ResizeAwareComponent extends DisposableComponent {
|
|
|
2525
2438
|
this._boundsModel.value = Bounds.ofElement(this.nativeElement);
|
|
2526
2439
|
}
|
|
2527
2440
|
}
|
|
2528
|
-
ResizeAwareComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2529
|
-
ResizeAwareComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2530
|
-
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: [{
|
|
2531
2444
|
type: Directive
|
|
2532
2445
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2533
2446
|
|
|
@@ -2632,15 +2545,11 @@ class DefaultCellRendererComponent {
|
|
|
2632
2545
|
return this._value;
|
|
2633
2546
|
}
|
|
2634
2547
|
}
|
|
2635
|
-
DefaultCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2636
|
-
DefaultCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2637
|
-
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: [{
|
|
2638
2551
|
type: Component,
|
|
2639
|
-
args: [{
|
|
2640
|
-
selector: 'aup-default-cell-renderer',
|
|
2641
|
-
templateUrl: './default-cell-renderer.component.html',
|
|
2642
|
-
styleUrls: ['./default-cell-renderer.component.scss']
|
|
2643
|
-
}]
|
|
2552
|
+
args: [{ selector: 'aup-default-cell-renderer', template: "<span [innerHTML]=\"value| aupHighlight\"></span>\n", styles: [""] }]
|
|
2644
2553
|
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
2645
2554
|
type: Input
|
|
2646
2555
|
}] } });
|
|
@@ -2649,40 +2558,15 @@ class DefaultHeaderCellRendererComponent {
|
|
|
2649
2558
|
constructor() {
|
|
2650
2559
|
}
|
|
2651
2560
|
}
|
|
2652
|
-
DefaultHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2653
|
-
DefaultHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2654
|
-
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: [{
|
|
2655
2564
|
type: Component,
|
|
2656
|
-
args: [{
|
|
2657
|
-
selector: 'aup-default-header-renderer',
|
|
2658
|
-
templateUrl: './default-header-cell-renderer.component.html',
|
|
2659
|
-
styleUrls: ['./default-header-cell-renderer.component.scss']
|
|
2660
|
-
}]
|
|
2565
|
+
args: [{ selector: 'aup-default-header-renderer', template: "{{headerText}}\n", styles: [""] }]
|
|
2661
2566
|
}], ctorParameters: function () { return []; }, propDecorators: { headerText: [{
|
|
2662
2567
|
type: Input
|
|
2663
2568
|
}] } });
|
|
2664
2569
|
|
|
2665
|
-
class EditSession extends GarbageCollector {
|
|
2666
|
-
constructor(rowId, row, form, saveCommand) {
|
|
2667
|
-
super();
|
|
2668
|
-
this.rowId = rowId;
|
|
2669
|
-
this.form = form;
|
|
2670
|
-
this.saveCommand = saveCommand;
|
|
2671
|
-
this._liveRowValue = new MutableValueModel();
|
|
2672
|
-
this.liveRowValue = this._liveRowValue.readonly;
|
|
2673
|
-
this.form.load(row);
|
|
2674
|
-
this._liveRowValue.value = row;
|
|
2675
|
-
this.form.onEdit(() => {
|
|
2676
|
-
// if (!this._liveRowValue.value[immerable]) {
|
|
2677
|
-
// console.warn()
|
|
2678
|
-
// }
|
|
2679
|
-
this._liveRowValue.value = produce(this._liveRowValue.value, draft => {
|
|
2680
|
-
this.form.writeDirtyStateTo(draft);
|
|
2681
|
-
});
|
|
2682
|
-
});
|
|
2683
|
-
}
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
2570
|
class EditRowControls extends DisposableComponent {
|
|
2687
2571
|
constructor() {
|
|
2688
2572
|
super();
|
|
@@ -2712,19 +2596,15 @@ class EditRowControls extends DisposableComponent {
|
|
|
2712
2596
|
return (_a = this.editSession) === null || _a === void 0 ? void 0 : _a.form;
|
|
2713
2597
|
}
|
|
2714
2598
|
}
|
|
2715
|
-
EditRowControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2716
|
-
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"] }] });
|
|
2717
2601
|
__decorate([
|
|
2718
2602
|
TrackExternal(),
|
|
2719
2603
|
__metadata("design:type", Command)
|
|
2720
2604
|
], EditRowControls.prototype, "editRowCommand", void 0);
|
|
2721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EditRowControls, decorators: [{
|
|
2722
2606
|
type: Component,
|
|
2723
|
-
args: [{
|
|
2724
|
-
selector: 'aup-row-editor-controls',
|
|
2725
|
-
templateUrl: './edit-row-controls.component.html',
|
|
2726
|
-
styleUrls: ['./edit-row-controls.component.scss']
|
|
2727
|
-
}]
|
|
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"] }]
|
|
2728
2608
|
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
2729
2609
|
type: Input
|
|
2730
2610
|
}], editRowCommand: [{
|
|
@@ -2746,15 +2626,11 @@ class SelectCellRendererComponent extends DisposableComponent {
|
|
|
2746
2626
|
return (_a = this.selectionModel) === null || _a === void 0 ? void 0 : _a.isSelected(this.row);
|
|
2747
2627
|
}
|
|
2748
2628
|
}
|
|
2749
|
-
SelectCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2750
|
-
SelectCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2751
|
-
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: [{
|
|
2752
2632
|
type: Component,
|
|
2753
|
-
args: [{
|
|
2754
|
-
selector: 'aup-select-cell-renderer',
|
|
2755
|
-
templateUrl: './select-cell-renderer.component.html',
|
|
2756
|
-
styleUrls: ['./select-cell-renderer.component.scss']
|
|
2757
|
-
}]
|
|
2633
|
+
args: [{ selector: 'aup-select-cell-renderer', template: "<mat-checkbox [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\"></mat-checkbox>\n", styles: [""] }]
|
|
2758
2634
|
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
2759
2635
|
type: Input
|
|
2760
2636
|
}] } });
|
|
@@ -2778,15 +2654,11 @@ class SelectHeaderCellRendererComponent extends DisposableComponent {
|
|
|
2778
2654
|
return this.enableHeaderControls && this.selectionModel.getDelegate() instanceof MultipleSelectionModel;
|
|
2779
2655
|
}
|
|
2780
2656
|
}
|
|
2781
|
-
SelectHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2782
|
-
SelectHeaderCellRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2783
|
-
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: [{
|
|
2784
2660
|
type: Component,
|
|
2785
|
-
args: [{
|
|
2786
|
-
selector: 'aup-select-header-cell-renderer',
|
|
2787
|
-
templateUrl: './select-header-cell-renderer.component.html',
|
|
2788
|
-
styleUrls: ['./select-header-cell-renderer.component.scss']
|
|
2789
|
-
}]
|
|
2661
|
+
args: [{ selector: 'aup-select-header-cell-renderer', template: "<mat-checkbox *ngIf=\"isVisible()\" [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\" [indeterminate]=\"this.isIntermediate()\"></mat-checkbox>\n", styles: [""] }]
|
|
2790
2662
|
}], ctorParameters: function () { return []; } });
|
|
2791
2663
|
|
|
2792
2664
|
const noop = () => {
|
|
@@ -3039,12 +2911,16 @@ class ListPropertyColumnModel extends ColumnModel {
|
|
|
3039
2911
|
this._format = (value) => value.map(v => v === null || v === void 0 ? void 0 : v.toString()).join(', ');
|
|
3040
2912
|
this.cellRenderer(DefaultCellRendererComponent);
|
|
3041
2913
|
this.useTextSearchPredicate((row, regex) => {
|
|
3042
|
-
|
|
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));
|
|
3043
2917
|
});
|
|
3044
2918
|
}
|
|
3045
2919
|
cellRenderer(componentType) {
|
|
3046
2920
|
this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData) => {
|
|
3047
|
-
|
|
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);
|
|
3048
2924
|
}));
|
|
3049
2925
|
return this;
|
|
3050
2926
|
}
|
|
@@ -3296,8 +3172,8 @@ class AbstractTableComponent extends ResizeAwareComponent {
|
|
|
3296
3172
|
return classes;
|
|
3297
3173
|
}
|
|
3298
3174
|
}
|
|
3299
|
-
AbstractTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3300
|
-
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 });
|
|
3301
3177
|
__decorate([
|
|
3302
3178
|
TrackExternal({ defaultValue: true }),
|
|
3303
3179
|
__metadata("design:type", ValueModel)
|
|
@@ -3306,7 +3182,7 @@ __decorate([
|
|
|
3306
3182
|
StoreInValueModel('showHeaderModel'),
|
|
3307
3183
|
__metadata("design:type", Boolean)
|
|
3308
3184
|
], AbstractTableComponent.prototype, "showHeader", void 0);
|
|
3309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractTableComponent, decorators: [{
|
|
3310
3186
|
type: Component,
|
|
3311
3187
|
args: [{
|
|
3312
3188
|
selector: 'aup-abstract-table',
|
|
@@ -3343,9 +3219,9 @@ class ColumnTemplateDirective {
|
|
|
3343
3219
|
this.host.registerColumnTemplate(this.aupColumnTemplateColumnId, this.templateRef, this.viewContainer, this.aupColumnTemplateFillCell, (_a = this.aupColumnTemplateAutoPadChild) !== null && _a !== void 0 ? _a : this.aupColumnTemplateFillCell);
|
|
3344
3220
|
}
|
|
3345
3221
|
}
|
|
3346
|
-
ColumnTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3347
|
-
ColumnTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3348
|
-
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: [{
|
|
3349
3225
|
type: Directive,
|
|
3350
3226
|
args: [{
|
|
3351
3227
|
selector: '[aupColumnTemplate]'
|
|
@@ -3360,49 +3236,256 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
3360
3236
|
type: Input
|
|
3361
3237
|
}] } });
|
|
3362
3238
|
|
|
3363
|
-
class
|
|
3239
|
+
class TableCellRendererComponent extends DisposableComponent {
|
|
3364
3240
|
constructor() {
|
|
3365
3241
|
super();
|
|
3366
|
-
this.
|
|
3367
|
-
|
|
3368
|
-
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
|
+
});
|
|
3369
3248
|
}
|
|
3370
|
-
|
|
3371
|
-
|
|
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);
|
|
3372
3253
|
}
|
|
3373
|
-
|
|
3374
|
-
return this.
|
|
3254
|
+
hasActiveEditor() {
|
|
3255
|
+
return !!this.editSession && !!this.column.hasEditorPortal();
|
|
3375
3256
|
}
|
|
3376
|
-
|
|
3377
|
-
|
|
3257
|
+
initialiseRenderer(ref) {
|
|
3258
|
+
this.column.onRendererAttached(this, ref);
|
|
3378
3259
|
}
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
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));
|
|
3382
3265
|
}
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
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();
|
|
3387
3274
|
}
|
|
3388
3275
|
else {
|
|
3389
|
-
|
|
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();
|
|
3390
3278
|
}
|
|
3391
|
-
|
|
3392
|
-
});
|
|
3393
|
-
return column;
|
|
3279
|
+
}
|
|
3394
3280
|
}
|
|
3395
|
-
|
|
3396
|
-
|
|
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
|
+
};
|
|
3397
3297
|
}
|
|
3398
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
|
+
}] } });
|
|
3399
3322
|
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
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;
|
|
3406
3489
|
}
|
|
3407
3490
|
}
|
|
3408
3491
|
class AbstractTableModel extends GarbageCollector {
|
|
@@ -3580,200 +3663,6 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3580
3663
|
}
|
|
3581
3664
|
TrackExternal.oneTimeBinding(AbstractTableModel);
|
|
3582
3665
|
|
|
3583
|
-
class TableCellRendererComponent extends DisposableComponent {
|
|
3584
|
-
constructor() {
|
|
3585
|
-
super();
|
|
3586
|
-
this.defaultClassNames = 'aup-cell-renderer';
|
|
3587
|
-
this.fillCell = false;
|
|
3588
|
-
this.padChild = false;
|
|
3589
|
-
this.editRowCommand = Command.create(() => {
|
|
3590
|
-
this.tableModel.startEditSession(this.row);
|
|
3591
|
-
});
|
|
3592
|
-
}
|
|
3593
|
-
ngOnInit() {
|
|
3594
|
-
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
3595
|
-
this.firstEditableColumn = chain(this.tableModel.firstEditableColumn).equals(this.column); // this would break if the column changed.
|
|
3596
|
-
this.column.attachCell(this);
|
|
3597
|
-
}
|
|
3598
|
-
hasActiveEditor() {
|
|
3599
|
-
return !!this.editSession && !!this.column.hasEditorPortal();
|
|
3600
|
-
}
|
|
3601
|
-
initialiseRenderer(ref) {
|
|
3602
|
-
this.column.onRendererAttached(this, ref);
|
|
3603
|
-
}
|
|
3604
|
-
initialiseEditor(ref) {
|
|
3605
|
-
this.column.onEditorAttached(this, ref);
|
|
3606
|
-
if (this.firstEditableColumn.value) {
|
|
3607
|
-
// @see https://github.com/angular/components/issues/12070
|
|
3608
|
-
setTimeout(() => this.tryAndFocusEditor(ref));
|
|
3609
|
-
}
|
|
3610
|
-
}
|
|
3611
|
-
tryAndFocusEditor(ref) {
|
|
3612
|
-
var _a;
|
|
3613
|
-
if (ref instanceof ComponentRef) {
|
|
3614
|
-
const editor = ref.instance;
|
|
3615
|
-
// CellEditorComponent<Row> | CellListEditorComponent<Row>
|
|
3616
|
-
if (editor.requestFocus) {
|
|
3617
|
-
editor.requestFocus();
|
|
3618
|
-
}
|
|
3619
|
-
else {
|
|
3620
|
-
const model = (editor['valueModel'] || editor['listModel']);
|
|
3621
|
-
(_a = model === null || model === void 0 ? void 0 : model.focusContext) === null || _a === void 0 ? void 0 : _a.requestFocus();
|
|
3622
|
-
}
|
|
3623
|
-
}
|
|
3624
|
-
}
|
|
3625
|
-
// @Trace()
|
|
3626
|
-
ngOnChanges(changes) {
|
|
3627
|
-
this.column.updatePortalContent(this);
|
|
3628
|
-
}
|
|
3629
|
-
getRendererPortal() {
|
|
3630
|
-
return this[CELL_RENDERER_PORTAL];
|
|
3631
|
-
}
|
|
3632
|
-
getEditorPortal() {
|
|
3633
|
-
return this[CELL_EDITOR_PORTAL];
|
|
3634
|
-
}
|
|
3635
|
-
getRowData() {
|
|
3636
|
-
return {
|
|
3637
|
-
row: this.row,
|
|
3638
|
-
editSession: this.editSession,
|
|
3639
|
-
editRowCommand: this.editRowCommand
|
|
3640
|
-
};
|
|
3641
|
-
}
|
|
3642
|
-
}
|
|
3643
|
-
TableCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3644
|
-
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"] }] });
|
|
3645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableCellRendererComponent, decorators: [{
|
|
3646
|
-
type: Component,
|
|
3647
|
-
args: [{
|
|
3648
|
-
selector: 'aup-table-cell-renderer',
|
|
3649
|
-
templateUrl: './table-cell-renderer.component.html',
|
|
3650
|
-
styleUrls: ['./table-cell-renderer.component.scss']
|
|
3651
|
-
}]
|
|
3652
|
-
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
3653
|
-
type: Input
|
|
3654
|
-
}], column: [{
|
|
3655
|
-
type: Input
|
|
3656
|
-
}], editSession: [{
|
|
3657
|
-
type: Input
|
|
3658
|
-
}], tableModel: [{
|
|
3659
|
-
type: Input
|
|
3660
|
-
}], defaultClassNames: [{
|
|
3661
|
-
type: HostBinding,
|
|
3662
|
-
args: ['class']
|
|
3663
|
-
}], fillCell: [{
|
|
3664
|
-
type: HostBinding,
|
|
3665
|
-
args: ['class.fillCell']
|
|
3666
|
-
}], padChild: [{
|
|
3667
|
-
type: HostBinding,
|
|
3668
|
-
args: ['class.padChild']
|
|
3669
|
-
}] } });
|
|
3670
|
-
|
|
3671
|
-
class TableHeaderCellRendererComponent {
|
|
3672
|
-
constructor() {
|
|
3673
|
-
this.defaultClassNames = 'aup-header-cell-renderer';
|
|
3674
|
-
}
|
|
3675
|
-
ngOnInit() {
|
|
3676
|
-
this.column.attachHeaderCell(this);
|
|
3677
|
-
}
|
|
3678
|
-
// @Trace()
|
|
3679
|
-
initialiseHeader(ref) {
|
|
3680
|
-
this.column.onHeaderAttached(this, ref);
|
|
3681
|
-
}
|
|
3682
|
-
getPortal() {
|
|
3683
|
-
return this[HEADER_CELL_RENDERER_PORTAL];
|
|
3684
|
-
}
|
|
3685
|
-
}
|
|
3686
|
-
TableHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3687
|
-
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"] }] });
|
|
3688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableHeaderCellRendererComponent, decorators: [{
|
|
3689
|
-
type: Component,
|
|
3690
|
-
args: [{
|
|
3691
|
-
selector: 'aup-table-header-cell-renderer',
|
|
3692
|
-
templateUrl: './table-header-cell-renderer.component.html',
|
|
3693
|
-
styleUrls: ['./table-header-cell-renderer.component.scss']
|
|
3694
|
-
}]
|
|
3695
|
-
}], ctorParameters: function () { return []; }, propDecorators: { column: [{
|
|
3696
|
-
type: Input
|
|
3697
|
-
}], defaultClassNames: [{
|
|
3698
|
-
type: HostBinding,
|
|
3699
|
-
args: ['class']
|
|
3700
|
-
}] } });
|
|
3701
|
-
|
|
3702
|
-
class MenuItemData {
|
|
3703
|
-
constructor(factory, face) {
|
|
3704
|
-
this.factory = factory;
|
|
3705
|
-
this.face = face;
|
|
3706
|
-
}
|
|
3707
|
-
}
|
|
3708
|
-
/**
|
|
3709
|
-
*
|
|
3710
|
-
*/
|
|
3711
|
-
class TableRowMenuComponent extends DisposableComponent {
|
|
3712
|
-
constructor() {
|
|
3713
|
-
super();
|
|
3714
|
-
this.actions = [];
|
|
3715
|
-
this.moreActions = [];
|
|
3716
|
-
}
|
|
3717
|
-
registerAction(commandFactory, properties) {
|
|
3718
|
-
this.actions.push(new MenuItemData(commandFactory, properties));
|
|
3719
|
-
}
|
|
3720
|
-
registerMoreAction(commandFactory, properties) {
|
|
3721
|
-
this.moreActions.push(new MenuItemData(commandFactory, properties));
|
|
3722
|
-
}
|
|
3723
|
-
createMoreMenuCommand(item, value) {
|
|
3724
|
-
const { when } = Dsl.disposeWith(this);
|
|
3725
|
-
const command = item.factory.create(value);
|
|
3726
|
-
when(command.busy).becomesFalsey(() => {
|
|
3727
|
-
this.closeMoreMenu();
|
|
3728
|
-
});
|
|
3729
|
-
return command;
|
|
3730
|
-
}
|
|
3731
|
-
closeMoreMenu() {
|
|
3732
|
-
this.menu.closeMenu();
|
|
3733
|
-
}
|
|
3734
|
-
}
|
|
3735
|
-
TableRowMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableRowMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3736
|
-
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: `
|
|
3737
|
-
<aup-tool-bar>
|
|
3738
|
-
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3739
|
-
[face]="action.face"></aup-command>
|
|
3740
|
-
</aup-tool-bar>
|
|
3741
|
-
<ng-container *ngIf="moreActions.length > 0">
|
|
3742
|
-
<aup-more-menu>
|
|
3743
|
-
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3744
|
-
[face]="action.face"></aup-command>
|
|
3745
|
-
</aup-more-menu>
|
|
3746
|
-
</ng-container>
|
|
3747
|
-
`, 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"] }] });
|
|
3748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TableRowMenuComponent, decorators: [{
|
|
3749
|
-
type: Component,
|
|
3750
|
-
args: [{
|
|
3751
|
-
selector: 'aup-table-row-menu',
|
|
3752
|
-
template: `
|
|
3753
|
-
<aup-tool-bar>
|
|
3754
|
-
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3755
|
-
[face]="action.face"></aup-command>
|
|
3756
|
-
</aup-tool-bar>
|
|
3757
|
-
<ng-container *ngIf="moreActions.length > 0">
|
|
3758
|
-
<aup-more-menu>
|
|
3759
|
-
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3760
|
-
[face]="action.face"></aup-command>
|
|
3761
|
-
</aup-more-menu>
|
|
3762
|
-
</ng-container>
|
|
3763
|
-
`,
|
|
3764
|
-
styles: [`:host {
|
|
3765
|
-
display: inline-flex;
|
|
3766
|
-
flex-direction: row;
|
|
3767
|
-
align-items: center;
|
|
3768
|
-
}`]
|
|
3769
|
-
}]
|
|
3770
|
-
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
3771
|
-
type: Input
|
|
3772
|
-
}], menu: [{
|
|
3773
|
-
type: ViewChild,
|
|
3774
|
-
args: [MatMenuTrigger]
|
|
3775
|
-
}] } });
|
|
3776
|
-
|
|
3777
3666
|
/**
|
|
3778
3667
|
* Create your model:
|
|
3779
3668
|
* @example
|
|
@@ -3842,24 +3731,19 @@ class TableComponent extends AbstractTableComponent {
|
|
|
3842
3731
|
return this.tableModel;
|
|
3843
3732
|
}
|
|
3844
3733
|
}
|
|
3845
|
-
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3846
|
-
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: [
|
|
3847
3736
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3848
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"] }] });
|
|
3849
3738
|
__decorate([
|
|
3850
3739
|
TrackExternal(),
|
|
3851
3740
|
__metadata("design:type", AbstractTableModel)
|
|
3852
3741
|
], TableComponent.prototype, "tableModel", void 0);
|
|
3853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableComponent, decorators: [{
|
|
3854
3743
|
type: Component,
|
|
3855
|
-
args: [{
|
|
3856
|
-
selector: 'aup-table',
|
|
3857
|
-
templateUrl: '../table.component.html',
|
|
3858
|
-
styleUrls: ['../table.component.scss'],
|
|
3859
|
-
providers: [
|
|
3744
|
+
args: [{ selector: 'aup-table', providers: [
|
|
3860
3745
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3861
|
-
]
|
|
3862
|
-
}]
|
|
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"] }]
|
|
3863
3747
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tableModel: [{
|
|
3864
3748
|
type: Input
|
|
3865
3749
|
}] } });
|
|
@@ -3889,15 +3773,11 @@ class TreeInheritanceIconComponent {
|
|
|
3889
3773
|
return TreeInheritanceIconComponent.HAS_TAIL.includes(this.type);
|
|
3890
3774
|
}
|
|
3891
3775
|
}
|
|
3892
|
-
TreeInheritanceIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3893
|
-
TreeInheritanceIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3894
|
-
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: [{
|
|
3895
3779
|
type: Component,
|
|
3896
|
-
args: [{
|
|
3897
|
-
selector: 'aup-tree-inheritance-icon',
|
|
3898
|
-
templateUrl: './tree-inheritance-icon.component.svg',
|
|
3899
|
-
styleUrls: ['./tree-inheritance-icon.component.scss']
|
|
3900
|
-
}]
|
|
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"] }]
|
|
3901
3781
|
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
3902
3782
|
type: Input
|
|
3903
3783
|
}, {
|
|
@@ -4104,6 +3984,87 @@ var DecoratedTreeNode;
|
|
|
4104
3984
|
DecoratedTreeNode.Decorator = Decorator;
|
|
4105
3985
|
})(DecoratedTreeNode || (DecoratedTreeNode = {}));
|
|
4106
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
|
+
|
|
4107
4068
|
class FlattenedTreeListModel extends ComputedListModel {
|
|
4108
4069
|
constructor(source, childRef, expansionModel) {
|
|
4109
4070
|
super(source, {
|
|
@@ -4302,91 +4263,6 @@ class TreeTableModel extends AbstractTableModel {
|
|
|
4302
4263
|
//
|
|
4303
4264
|
// }
|
|
4304
4265
|
|
|
4305
|
-
class TreeLabelCellRendererComponent extends DisposableComponent {
|
|
4306
|
-
constructor() {
|
|
4307
|
-
super();
|
|
4308
|
-
this.nodeModel = new MutableValueModel();
|
|
4309
|
-
const { chain } = Dsl.disposeWith(this);
|
|
4310
|
-
this.iconList = chain(this.nodeModel).mapToList(node => {
|
|
4311
|
-
const icons = DecoratedTreeNode.getDecorator(node).ancestors().slice(1).map(ancestor => {
|
|
4312
|
-
return DecoratedTreeNode.getDecorator(ancestor).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_BLANK : TreeInheritanceIconComponent.Type.ICON_THROUGH;
|
|
4313
|
-
});
|
|
4314
|
-
if (!DecoratedTreeNode.getDecorator(node).isRoot()) {
|
|
4315
|
-
icons.push(DecoratedTreeNode.getDecorator(node).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_INHERITED_TERMINAL : TreeInheritanceIconComponent.Type.ICON_INHERITED_THROUGH_TERMINAL);
|
|
4316
|
-
}
|
|
4317
|
-
return icons;
|
|
4318
|
-
});
|
|
4319
|
-
}
|
|
4320
|
-
ngOnInit() {
|
|
4321
|
-
const { chain } = Dsl.disposeWith(this);
|
|
4322
|
-
this.canExpand = chain(this.nodeModel).map(node => {
|
|
4323
|
-
return DecoratedTreeNode.getDecorator(node).hasChildren() && this.treeTableModel.isCollapsed(node);
|
|
4324
|
-
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4325
|
-
this.canCollapse = chain(this.nodeModel).map(node => {
|
|
4326
|
-
return DecoratedTreeNode.getDecorator(node).hasChildren() && !this.treeTableModel.isCollapsed(node);
|
|
4327
|
-
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4328
|
-
this.iconModel = chain(this.nodeModel).map(node => {
|
|
4329
|
-
var _a;
|
|
4330
|
-
const expanded = this.treeTableModel.treeExpansionModel.isExpanded(this.node);
|
|
4331
|
-
const iconFactory = (_a = this.iconFactory) !== null && _a !== void 0 ? _a : TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY;
|
|
4332
|
-
return iconFactory(node, expanded, TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY(node, expanded, undefined));
|
|
4333
|
-
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4334
|
-
}
|
|
4335
|
-
get isRoot() {
|
|
4336
|
-
return DecoratedTreeNode.getDecorator(this.node).isRoot();
|
|
4337
|
-
}
|
|
4338
|
-
get isLeaf() {
|
|
4339
|
-
return DecoratedTreeNode.getDecorator(this.node).isLeaf();
|
|
4340
|
-
}
|
|
4341
|
-
get node() {
|
|
4342
|
-
return this.nodeModel.value;
|
|
4343
|
-
}
|
|
4344
|
-
// @Trace()
|
|
4345
|
-
expandOrCollapse($event, node) {
|
|
4346
|
-
$event.preventDefault();
|
|
4347
|
-
$event.stopPropagation();
|
|
4348
|
-
this.treeTableModel.isCollapsed(node) ? this.treeTableModel.expand(node) : this.treeTableModel.collapse(node);
|
|
4349
|
-
}
|
|
4350
|
-
}
|
|
4351
|
-
TreeLabelCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TreeLabelCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4352
|
-
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"] }] });
|
|
4353
|
-
__decorate([
|
|
4354
|
-
StoreInValueModel('nodeModel'),
|
|
4355
|
-
__metadata("design:type", Object)
|
|
4356
|
-
], TreeLabelCellRendererComponent.prototype, "value", void 0);
|
|
4357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TreeLabelCellRendererComponent, decorators: [{
|
|
4358
|
-
type: Component,
|
|
4359
|
-
args: [{
|
|
4360
|
-
selector: 'aup-tree-label-cell-renderer',
|
|
4361
|
-
templateUrl: './tree-label-cell-renderer.component.html',
|
|
4362
|
-
styleUrls: ['./tree-label-cell-renderer.component.scss']
|
|
4363
|
-
}]
|
|
4364
|
-
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
4365
|
-
type: Input
|
|
4366
|
-
}], label: [{
|
|
4367
|
-
type: Input
|
|
4368
|
-
}], iconFactory: [{
|
|
4369
|
-
type: Input
|
|
4370
|
-
}], treeTableModel: [{
|
|
4371
|
-
type: Input
|
|
4372
|
-
}], isRoot: [{
|
|
4373
|
-
type: HostBinding,
|
|
4374
|
-
args: ['class.root']
|
|
4375
|
-
}], isLeaf: [{
|
|
4376
|
-
type: HostBinding,
|
|
4377
|
-
args: ['class.leaf']
|
|
4378
|
-
}] } });
|
|
4379
|
-
(function (TreeLabelCellRendererComponent) {
|
|
4380
|
-
TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY = (node, expanded, defaultIcon) => {
|
|
4381
|
-
const isLeaf = DecoratedTreeNode.getDecorator(node).isLeaf();
|
|
4382
|
-
return isLeaf ?
|
|
4383
|
-
undefined :
|
|
4384
|
-
expanded ?
|
|
4385
|
-
'mat:expand_more' :
|
|
4386
|
-
'mat:chevron_right';
|
|
4387
|
-
};
|
|
4388
|
-
})(TreeLabelCellRendererComponent || (TreeLabelCellRendererComponent = {}));
|
|
4389
|
-
|
|
4390
4266
|
/**
|
|
4391
4267
|
* Create your model:
|
|
4392
4268
|
* @example
|
|
@@ -4455,24 +4331,19 @@ class TreeTableComponent extends AbstractTableComponent {
|
|
|
4455
4331
|
return this.treeTableModel;
|
|
4456
4332
|
}
|
|
4457
4333
|
}
|
|
4458
|
-
TreeTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4459
|
-
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: [
|
|
4460
4336
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4461
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"] }] });
|
|
4462
4338
|
__decorate([
|
|
4463
4339
|
TrackExternal(),
|
|
4464
4340
|
__metadata("design:type", TreeTableModel)
|
|
4465
4341
|
], TreeTableComponent.prototype, "treeTableModel", void 0);
|
|
4466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeTableComponent, decorators: [{
|
|
4467
4343
|
type: Component,
|
|
4468
|
-
args: [{
|
|
4469
|
-
selector: 'aup-tree-table',
|
|
4470
|
-
templateUrl: '../table.component.html',
|
|
4471
|
-
styleUrls: ['../table.component.scss', './tree-table.component.scss'],
|
|
4472
|
-
providers: [
|
|
4344
|
+
args: [{ selector: 'aup-tree-table', providers: [
|
|
4473
4345
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4474
|
-
]
|
|
4475
|
-
}]
|
|
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"] }]
|
|
4476
4347
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { treeTableModel: [{
|
|
4477
4348
|
type: Input
|
|
4478
4349
|
}] } });
|
|
@@ -4509,8 +4380,8 @@ class VerticalFocusContainerComponent extends FocusContainerComponent {
|
|
|
4509
4380
|
ngOnInit() {
|
|
4510
4381
|
}
|
|
4511
4382
|
}
|
|
4512
|
-
VerticalFocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4513
|
-
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: [
|
|
4514
4385
|
{ provide: FocusManager }
|
|
4515
4386
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
4516
4387
|
__decorate([
|
|
@@ -4521,19 +4392,16 @@ __decorate([
|
|
|
4521
4392
|
TrackExternal(),
|
|
4522
4393
|
__metadata("design:type", Command)
|
|
4523
4394
|
], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
|
|
4524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VerticalFocusContainerComponent, decorators: [{
|
|
4525
4396
|
type: Component,
|
|
4526
|
-
args: [{
|
|
4527
|
-
selector: 'aup-vertical-focus-container',
|
|
4528
|
-
templateUrl: './vertical-focus-container.component.html',
|
|
4529
|
-
styleUrls: ['./vertical-focus-container.component.scss'],
|
|
4530
|
-
providers: [
|
|
4397
|
+
args: [{ selector: 'aup-vertical-focus-container', providers: [
|
|
4531
4398
|
{ provide: FocusManager }
|
|
4532
|
-
]
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
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: [{
|
|
4537
4405
|
type: Input,
|
|
4538
4406
|
args: ['command.arrowRight']
|
|
4539
4407
|
}], leftArrowCommand: [{
|
|
@@ -4572,19 +4440,15 @@ class PaginatorComponent extends DisposableComponent {
|
|
|
4572
4440
|
return this.pageController.nextCommand;
|
|
4573
4441
|
}
|
|
4574
4442
|
}
|
|
4575
|
-
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4576
|
-
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"] }] });
|
|
4577
4445
|
__decorate([
|
|
4578
4446
|
TrackExternal(),
|
|
4579
4447
|
__metadata("design:type", PageController)
|
|
4580
4448
|
], PaginatorComponent.prototype, "pageController", void 0);
|
|
4581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
4582
4450
|
type: Component,
|
|
4583
|
-
args: [{
|
|
4584
|
-
selector: 'aup-paginator',
|
|
4585
|
-
templateUrl: './paginator.component.html',
|
|
4586
|
-
styleUrls: ['./paginator.component.scss']
|
|
4587
|
-
}]
|
|
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"] }]
|
|
4588
4452
|
}], ctorParameters: function () { return []; }, propDecorators: { pageController: [{
|
|
4589
4453
|
type: Input
|
|
4590
4454
|
}] } });
|
|
@@ -4597,15 +4461,11 @@ class LabelledValueComponent extends DisposableComponent {
|
|
|
4597
4461
|
ngOnInit() {
|
|
4598
4462
|
}
|
|
4599
4463
|
}
|
|
4600
|
-
LabelledValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4601
|
-
LabelledValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4602
|
-
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: [{
|
|
4603
4467
|
type: Component,
|
|
4604
|
-
args: [{
|
|
4605
|
-
selector: 'aup-labelled-value',
|
|
4606
|
-
templateUrl: './labelled-value.component.html',
|
|
4607
|
-
styleUrls: ['./labelled-value.component.scss']
|
|
4608
|
-
}]
|
|
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"] }]
|
|
4609
4469
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
4610
4470
|
type: Input
|
|
4611
4471
|
}] } });
|
|
@@ -4656,8 +4516,8 @@ class MarkdownComponent extends DisposableComponent {
|
|
|
4656
4516
|
}
|
|
4657
4517
|
}
|
|
4658
4518
|
}
|
|
4659
|
-
MarkdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4660
|
-
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"] });
|
|
4661
4521
|
__decorate([
|
|
4662
4522
|
TrackExternal(),
|
|
4663
4523
|
__metadata("design:type", ValueModel)
|
|
@@ -4666,17 +4526,15 @@ __decorate([
|
|
|
4666
4526
|
StoreInValueModel('content$'),
|
|
4667
4527
|
__metadata("design:type", String)
|
|
4668
4528
|
], MarkdownComponent.prototype, "content", void 0);
|
|
4669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownComponent, decorators: [{
|
|
4670
4530
|
type: Component,
|
|
4671
|
-
args: [{
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
args: [PLATFORM_ID]
|
|
4679
|
-
}] }, { 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$: [{
|
|
4680
4538
|
type: Input
|
|
4681
4539
|
}], content: [{
|
|
4682
4540
|
type: Input
|
|
@@ -4689,8 +4547,8 @@ class ComponentsModule {
|
|
|
4689
4547
|
faIconLibrary.addIconPacks(fas);
|
|
4690
4548
|
}
|
|
4691
4549
|
}
|
|
4692
|
-
ComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4693
|
-
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,
|
|
4694
4552
|
AbstractValueInputComponent,
|
|
4695
4553
|
AbstractListInputComponent,
|
|
4696
4554
|
NumberInputComponent,
|
|
@@ -4800,7 +4658,7 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
4800
4658
|
LabelledValueComponent,
|
|
4801
4659
|
LoadingContainerComponent,
|
|
4802
4660
|
MarkdownComponent] });
|
|
4803
|
-
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: [
|
|
4804
4662
|
FocusBindingFactory,
|
|
4805
4663
|
MarkdownService
|
|
4806
4664
|
], imports: [[
|
|
@@ -4826,7 +4684,7 @@ ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
4826
4684
|
MatProgressSpinnerModule,
|
|
4827
4685
|
MatProgressBarModule
|
|
4828
4686
|
]] });
|
|
4829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, decorators: [{
|
|
4830
4688
|
type: NgModule,
|
|
4831
4689
|
args: [{
|
|
4832
4690
|
imports: [
|
|
@@ -5006,8 +4864,8 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
5006
4864
|
this.cdr.detectChanges();
|
|
5007
4865
|
}
|
|
5008
4866
|
}
|
|
5009
|
-
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5010
|
-
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"] }] });
|
|
5011
4869
|
__decorate([
|
|
5012
4870
|
TrackExternal(),
|
|
5013
4871
|
__metadata("design:type", Command)
|
|
@@ -5016,13 +4874,9 @@ __decorate([
|
|
|
5016
4874
|
TrackExternal(),
|
|
5017
4875
|
__metadata("design:type", Command)
|
|
5018
4876
|
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
5019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityActionsComponent, decorators: [{
|
|
5020
4878
|
type: Component,
|
|
5021
|
-
args: [{
|
|
5022
|
-
selector: 'aup-activity-actions',
|
|
5023
|
-
templateUrl: './activity-actions.component.html',
|
|
5024
|
-
styleUrls: ['./activity-actions.component.scss']
|
|
5025
|
-
}]
|
|
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"] }]
|
|
5026
4880
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { confirmCommand: [{
|
|
5027
4881
|
type: Input
|
|
5028
4882
|
}], cancelCommand: [{
|
|
@@ -5113,8 +4967,8 @@ class Activity extends DisposableComponent {
|
|
|
5113
4967
|
return !!this._activityContext;
|
|
5114
4968
|
}
|
|
5115
4969
|
}
|
|
5116
|
-
Activity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5117
|
-
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 });
|
|
5118
4972
|
__decorate([
|
|
5119
4973
|
TrackExternal(),
|
|
5120
4974
|
__metadata("design:type", Command)
|
|
@@ -5123,7 +4977,7 @@ __decorate([
|
|
|
5123
4977
|
TrackExternal(),
|
|
5124
4978
|
__metadata("design:type", Command)
|
|
5125
4979
|
], Activity.prototype, "cancelCommand", void 0);
|
|
5126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: Activity, decorators: [{
|
|
5127
4981
|
type: Component,
|
|
5128
4982
|
args: [{
|
|
5129
4983
|
template: ''
|
|
@@ -5193,17 +5047,19 @@ class AbstractDialogComponent extends Activity {
|
|
|
5193
5047
|
return isFunction(this.config['destructive']) && this.config.destructive();
|
|
5194
5048
|
}
|
|
5195
5049
|
}
|
|
5196
|
-
AbstractDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5197
|
-
AbstractDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5198
|
-
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: [{
|
|
5199
5053
|
type: Component,
|
|
5200
5054
|
args: [{
|
|
5201
5055
|
template: ''
|
|
5202
5056
|
}]
|
|
5203
|
-
}], ctorParameters: function () {
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5057
|
+
}], ctorParameters: function () {
|
|
5058
|
+
return [{ type: undefined, decorators: [{
|
|
5059
|
+
type: Inject,
|
|
5060
|
+
args: [ALERT_CONFIG]
|
|
5061
|
+
}] }];
|
|
5062
|
+
} });
|
|
5207
5063
|
|
|
5208
5064
|
class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
5209
5065
|
constructor(config) {
|
|
@@ -5216,17 +5072,19 @@ class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
|
5216
5072
|
});
|
|
5217
5073
|
}
|
|
5218
5074
|
}
|
|
5219
|
-
AbstractConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5220
|
-
AbstractConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5221
|
-
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: [{
|
|
5222
5078
|
type: Component,
|
|
5223
5079
|
args: [{
|
|
5224
5080
|
template: ''
|
|
5225
5081
|
}]
|
|
5226
|
-
}], ctorParameters: function () {
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5082
|
+
}], ctorParameters: function () {
|
|
5083
|
+
return [{ type: undefined, decorators: [{
|
|
5084
|
+
type: Inject,
|
|
5085
|
+
args: [ALERT_CONFIG]
|
|
5086
|
+
}] }];
|
|
5087
|
+
} });
|
|
5230
5088
|
|
|
5231
5089
|
class ActivityTitleComponent extends DisposableComponent {
|
|
5232
5090
|
/**
|
|
@@ -5248,15 +5106,11 @@ class ActivityTitleComponent extends DisposableComponent {
|
|
|
5248
5106
|
ngOnInit() {
|
|
5249
5107
|
}
|
|
5250
5108
|
}
|
|
5251
|
-
ActivityTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5252
|
-
ActivityTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5253
|
-
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: [{
|
|
5254
5112
|
type: Component,
|
|
5255
|
-
args: [{
|
|
5256
|
-
selector: 'aup-activity-title',
|
|
5257
|
-
templateUrl: './activity-title.component.html',
|
|
5258
|
-
styleUrls: ['./activity-title.component.scss']
|
|
5259
|
-
}]
|
|
5113
|
+
args: [{ selector: 'aup-activity-title', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
5260
5114
|
}], propDecorators: { hasTransparentBackground: [{
|
|
5261
5115
|
type: Input
|
|
5262
5116
|
}, {
|
|
@@ -5277,15 +5131,11 @@ class ActivityBodyComponent extends DisposableComponent {
|
|
|
5277
5131
|
ngOnInit() {
|
|
5278
5132
|
}
|
|
5279
5133
|
}
|
|
5280
|
-
ActivityBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5281
|
-
ActivityBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5282
|
-
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: [{
|
|
5283
5137
|
type: Component,
|
|
5284
|
-
args: [{
|
|
5285
|
-
selector: 'aup-activity-body',
|
|
5286
|
-
templateUrl: './activity-body.component.html',
|
|
5287
|
-
styleUrls: ['./activity-body.component.html'],
|
|
5288
|
-
}]
|
|
5138
|
+
args: [{ selector: 'aup-activity-body', template: "<ng-content></ng-content>\n", styles: ["<ng-content></ng-content>\n"] }]
|
|
5289
5139
|
}], propDecorators: { fullWidth: [{
|
|
5290
5140
|
type: Input
|
|
5291
5141
|
}, {
|
|
@@ -5301,19 +5151,17 @@ class AlertDialogComponent extends AbstractDialogComponent {
|
|
|
5301
5151
|
});
|
|
5302
5152
|
}
|
|
5303
5153
|
}
|
|
5304
|
-
AlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5305
|
-
AlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5306
|
-
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: [{
|
|
5307
5157
|
type: Component,
|
|
5308
|
-
args: [{
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
args: [ACTIVITY_DATA]
|
|
5316
|
-
}] }]; } });
|
|
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
|
+
} });
|
|
5317
5165
|
|
|
5318
5166
|
class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
5319
5167
|
constructor(config) {
|
|
@@ -5325,19 +5173,17 @@ class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5325
5173
|
});
|
|
5326
5174
|
}
|
|
5327
5175
|
}
|
|
5328
|
-
ConfirmThenDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5329
|
-
ConfirmThenDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5330
|
-
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: [{
|
|
5331
5179
|
type: Component,
|
|
5332
|
-
args: [{
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
args: [ACTIVITY_DATA]
|
|
5340
|
-
}] }]; } });
|
|
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
|
+
} });
|
|
5341
5187
|
|
|
5342
5188
|
class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
5343
5189
|
constructor(data) {
|
|
@@ -5353,19 +5199,17 @@ class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5353
5199
|
}));
|
|
5354
5200
|
}
|
|
5355
5201
|
}
|
|
5356
|
-
ConfirmThenExecuteDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5357
|
-
ConfirmThenExecuteDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5358
|
-
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: [{
|
|
5359
5205
|
type: Component,
|
|
5360
|
-
args: [{
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
args: [ACTIVITY_DATA]
|
|
5368
|
-
}] }]; } });
|
|
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
|
+
} });
|
|
5369
5213
|
|
|
5370
5214
|
class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
5371
5215
|
constructor(confirm) {
|
|
@@ -5376,19 +5220,17 @@ class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5376
5220
|
});
|
|
5377
5221
|
}
|
|
5378
5222
|
}
|
|
5379
|
-
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5380
|
-
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5381
|
-
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: [{
|
|
5382
5226
|
type: Component,
|
|
5383
|
-
args: [{
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
args: [ACTIVITY_DATA]
|
|
5391
|
-
}] }]; } });
|
|
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
|
+
} });
|
|
5392
5234
|
|
|
5393
5235
|
class AbstractInteractionContext {
|
|
5394
5236
|
startActivity(activityType, data, options) {
|
|
@@ -5527,15 +5369,11 @@ class ActivityOutletComponent {
|
|
|
5527
5369
|
return this.activityComponentRef.instance;
|
|
5528
5370
|
}
|
|
5529
5371
|
}
|
|
5530
|
-
ActivityOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5531
|
-
ActivityOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5532
|
-
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: [{
|
|
5533
5375
|
type: Component,
|
|
5534
|
-
args: [{
|
|
5535
|
-
selector: 'aup-activity-outlet',
|
|
5536
|
-
template: '',
|
|
5537
|
-
styleUrls: ['./activity-outlet.component.scss']
|
|
5538
|
-
}]
|
|
5376
|
+
args: [{ selector: 'aup-activity-outlet', template: '', styles: [":host{display:block}\n"] }]
|
|
5539
5377
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { nestedInteractionContext: [{
|
|
5540
5378
|
type: Input
|
|
5541
5379
|
}], activityRef: [{
|
|
@@ -5722,15 +5560,11 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
5722
5560
|
}, 75);
|
|
5723
5561
|
}
|
|
5724
5562
|
}
|
|
5725
|
-
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5726
|
-
ActivityContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5727
|
-
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: [{
|
|
5728
5566
|
type: Component,
|
|
5729
|
-
args: [{
|
|
5730
|
-
selector: 'aup-activity-container',
|
|
5731
|
-
templateUrl: './activity-container.component.html',
|
|
5732
|
-
styleUrls: ['./activity-container.component.scss']
|
|
5733
|
-
}]
|
|
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"] }]
|
|
5734
5568
|
}], ctorParameters: function () { return []; }, propDecorators: { dynamicHeight: [{
|
|
5735
5569
|
type: Input
|
|
5736
5570
|
}], tabs: [{
|
|
@@ -5768,8 +5602,8 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
|
5768
5602
|
return (_a = this.interactionContext) === null || _a === void 0 ? void 0 : _a.isActive();
|
|
5769
5603
|
}
|
|
5770
5604
|
}
|
|
5771
|
-
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5772
|
-
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 });
|
|
5773
5607
|
__decorate([
|
|
5774
5608
|
StoreInValueModel('activityClassModel'),
|
|
5775
5609
|
__metadata("design:type", Object)
|
|
@@ -5794,7 +5628,7 @@ __decorate([
|
|
|
5794
5628
|
TrackExternal(),
|
|
5795
5629
|
__metadata("design:type", ValueModel)
|
|
5796
5630
|
], AbstractActivityTriggerComponent.prototype, "faceModel", void 0);
|
|
5797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractActivityTriggerComponent, decorators: [{
|
|
5798
5632
|
type: Component,
|
|
5799
5633
|
args: [{
|
|
5800
5634
|
selector: 'aup-abstract-activity-trigger',
|
|
@@ -5918,9 +5752,9 @@ class InteractionService {
|
|
|
5918
5752
|
});
|
|
5919
5753
|
}
|
|
5920
5754
|
}
|
|
5921
|
-
InteractionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5922
|
-
InteractionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5923
|
-
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: [{
|
|
5924
5758
|
type: Injectable,
|
|
5925
5759
|
args: [{
|
|
5926
5760
|
providedIn: 'root'
|
|
@@ -5998,15 +5832,11 @@ class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5998
5832
|
return this._interactionContext;
|
|
5999
5833
|
}
|
|
6000
5834
|
}
|
|
6001
|
-
ModalActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6002
|
-
ModalActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6003
|
-
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: [{
|
|
6004
5838
|
type: Component,
|
|
6005
|
-
args: [{
|
|
6006
|
-
selector: 'aup-modal-activity-trigger',
|
|
6007
|
-
templateUrl: './modal-activity-trigger.component.html',
|
|
6008
|
-
styleUrls: ['./modal-activity-trigger.component.scss']
|
|
6009
|
-
}]
|
|
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"] }]
|
|
6010
5840
|
}], ctorParameters: function () { return [{ type: InteractionService }]; } });
|
|
6011
5841
|
|
|
6012
5842
|
/**
|
|
@@ -6072,21 +5902,19 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
6072
5902
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
6073
5903
|
}
|
|
6074
5904
|
}
|
|
6075
|
-
InPlaceInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6076
|
-
InPlaceInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6077
|
-
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: [{
|
|
6078
5908
|
type: Component,
|
|
6079
|
-
args: [{
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
type: Optional
|
|
6089
|
-
}] }]; }, 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: [{
|
|
6090
5918
|
type: ViewChild,
|
|
6091
5919
|
args: ["activityContainer", { static: true }]
|
|
6092
5920
|
}], animateFirstActivity: [{
|
|
@@ -6138,15 +5966,11 @@ class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
|
6138
5966
|
return this.interactionStyle === 'inline';
|
|
6139
5967
|
}
|
|
6140
5968
|
}
|
|
6141
|
-
AddCardActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6142
|
-
AddCardActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6143
|
-
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: [{
|
|
6144
5972
|
type: Component,
|
|
6145
|
-
args: [{
|
|
6146
|
-
selector: 'aup-add-card-activity',
|
|
6147
|
-
templateUrl: './add-card-activity.component.html',
|
|
6148
|
-
styleUrls: ['./add-card-activity.component.scss'],
|
|
6149
|
-
}]
|
|
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"] }]
|
|
6150
5974
|
}], ctorParameters: function () { return [{ type: InteractionService }]; }, propDecorators: { inlineInteractionContext: [{
|
|
6151
5975
|
type: ViewChild,
|
|
6152
5976
|
args: [InPlaceInteractionContextComponent, { static: true }]
|
|
@@ -6212,19 +6036,15 @@ class AddItemInteractionContextComponent extends DisposableComponent {
|
|
|
6212
6036
|
ngOnInit() {
|
|
6213
6037
|
}
|
|
6214
6038
|
}
|
|
6215
|
-
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6216
|
-
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"] }] });
|
|
6217
6041
|
__decorate([
|
|
6218
6042
|
TrackExternal(),
|
|
6219
6043
|
__metadata("design:type", Command)
|
|
6220
6044
|
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
6221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddItemInteractionContextComponent, decorators: [{
|
|
6222
6046
|
type: Component,
|
|
6223
|
-
args: [{
|
|
6224
|
-
selector: 'aup-add-item-interaction-context',
|
|
6225
|
-
templateUrl: './add-item-interaction-context.component.html',
|
|
6226
|
-
styleUrls: ['./add-item-interaction-context.component.scss']
|
|
6227
|
-
}]
|
|
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"] }]
|
|
6228
6048
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
6229
6049
|
type: Input
|
|
6230
6050
|
}], icon: [{
|
|
@@ -6254,15 +6074,11 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
6254
6074
|
return this._interactionContext;
|
|
6255
6075
|
}
|
|
6256
6076
|
}
|
|
6257
|
-
InlineActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6258
|
-
InlineActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6259
|
-
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: [{
|
|
6260
6080
|
type: Component,
|
|
6261
|
-
args: [{
|
|
6262
|
-
selector: 'aup-inline-activity-trigger',
|
|
6263
|
-
templateUrl: './inline-activity-trigger.component.html',
|
|
6264
|
-
styleUrls: ['./inline-activity-trigger.component.scss']
|
|
6265
|
-
}]
|
|
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"] }]
|
|
6266
6082
|
}], ctorParameters: function () { return []; }, propDecorators: { _interactionContext: [{
|
|
6267
6083
|
type: ViewChild,
|
|
6268
6084
|
args: [InPlaceInteractionContextComponent, { static: true }]
|
|
@@ -6347,20 +6163,18 @@ class PopupInteractionContextComponent extends DisposableComponent {
|
|
|
6347
6163
|
ngOnInit() {
|
|
6348
6164
|
}
|
|
6349
6165
|
}
|
|
6350
|
-
PopupInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6351
|
-
PopupInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6352
|
-
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: [{
|
|
6353
6169
|
type: Component,
|
|
6354
|
-
args: [{
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
type: SkipSelf
|
|
6363
|
-
}] }]; }, 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: [{
|
|
6364
6178
|
type: HostBinding,
|
|
6365
6179
|
args: ['class.interaction-active']
|
|
6366
6180
|
}], anchorX: [{
|
|
@@ -6411,9 +6225,9 @@ class InteractionContextTriggerFor extends GarbageCollector {
|
|
|
6411
6225
|
return isFunction(this.activityDataFactory()) ? this.activityDataFactory() : this.activityData;
|
|
6412
6226
|
}
|
|
6413
6227
|
}
|
|
6414
|
-
InteractionContextTriggerFor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6415
|
-
InteractionContextTriggerFor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6416
|
-
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: [{
|
|
6417
6231
|
type: Directive,
|
|
6418
6232
|
args: [{
|
|
6419
6233
|
selector: '[aupInteractionContextTriggerFor]'
|
|
@@ -6508,15 +6322,17 @@ class InputActivity extends Activity {
|
|
|
6508
6322
|
|| this.data.cancelOnEscape;
|
|
6509
6323
|
}
|
|
6510
6324
|
}
|
|
6511
|
-
InputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6512
|
-
InputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6513
|
-
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: [{
|
|
6514
6328
|
type: Component,
|
|
6515
6329
|
args: [{ template: `` }]
|
|
6516
|
-
}], ctorParameters: function () {
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6330
|
+
}], ctorParameters: function () {
|
|
6331
|
+
return [{ type: undefined, decorators: [{
|
|
6332
|
+
type: Inject,
|
|
6333
|
+
args: [ACTIVITY_DATA]
|
|
6334
|
+
}] }];
|
|
6335
|
+
}, propDecorators: { class: [{
|
|
6520
6336
|
type: HostBinding,
|
|
6521
6337
|
args: ['class']
|
|
6522
6338
|
}], layout: [{
|
|
@@ -6540,8 +6356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
6540
6356
|
|
|
6541
6357
|
class StringInputActivity extends InputActivity {
|
|
6542
6358
|
}
|
|
6543
|
-
StringInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6544
|
-
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: `
|
|
6545
6361
|
<aup-string-input [valueModel]="valueModel"
|
|
6546
6362
|
[label]="data.label"
|
|
6547
6363
|
[placeholder]="data.placeholder"
|
|
@@ -6552,7 +6368,7 @@ StringInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6552
6368
|
[cancelFace]="cancelFace"
|
|
6553
6369
|
></aup-activity-actions>
|
|
6554
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"] }] });
|
|
6555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputActivity, decorators: [{
|
|
6556
6372
|
type: Component,
|
|
6557
6373
|
args: [{
|
|
6558
6374
|
selector: 'aup-string-input-activity',
|
|
@@ -6586,8 +6402,8 @@ class SelectInputActivity extends InputActivity {
|
|
|
6586
6402
|
return ((_a = this.data.optionsModel) === null || _a === void 0 ? void 0 : _a.value) || this.data.options;
|
|
6587
6403
|
}
|
|
6588
6404
|
}
|
|
6589
|
-
SelectInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6590
|
-
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: `
|
|
6591
6407
|
<aup-select-input [valueModel]="valueModel"
|
|
6592
6408
|
[label]="data.label"
|
|
6593
6409
|
[placeholder]="data.placeholder"
|
|
@@ -6601,7 +6417,7 @@ SelectInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6601
6417
|
[cancelFace]="cancelFace"
|
|
6602
6418
|
></aup-activity-actions>
|
|
6603
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"] }] });
|
|
6604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputActivity, decorators: [{
|
|
6605
6421
|
type: Component,
|
|
6606
6422
|
args: [{
|
|
6607
6423
|
selector: 'aup-select-input-activity',
|
|
@@ -6736,15 +6552,11 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
6736
6552
|
return this._interactionContext;
|
|
6737
6553
|
}
|
|
6738
6554
|
}
|
|
6739
|
-
PopupActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6740
|
-
PopupActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6741
|
-
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: [{
|
|
6742
6558
|
type: Component,
|
|
6743
|
-
args: [{
|
|
6744
|
-
selector: 'aup-popup-activity-trigger',
|
|
6745
|
-
templateUrl: './popup-activity-trigger.component.html',
|
|
6746
|
-
styleUrls: ['./popup-activity-trigger.component.scss']
|
|
6747
|
-
}]
|
|
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"] }]
|
|
6748
6560
|
}], ctorParameters: function () { return []; }, propDecorators: { anchorX: [{
|
|
6749
6561
|
type: Input
|
|
6750
6562
|
}], anchorY: [{
|
|
@@ -6901,8 +6713,8 @@ class InlineStringEditorComponent extends DisposableComponent {
|
|
|
6901
6713
|
return this.empty.value;
|
|
6902
6714
|
}
|
|
6903
6715
|
}
|
|
6904
|
-
InlineStringEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6905
|
-
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"] }] });
|
|
6906
6718
|
__decorate([
|
|
6907
6719
|
TrackExternal(),
|
|
6908
6720
|
__metadata("design:type", InlineEditorModel)
|
|
@@ -6923,13 +6735,9 @@ __decorate([
|
|
|
6923
6735
|
TrackExternal(),
|
|
6924
6736
|
__metadata("design:type", ValueModel)
|
|
6925
6737
|
], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
|
|
6926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineStringEditorComponent, decorators: [{
|
|
6927
6739
|
type: Component,
|
|
6928
|
-
args: [{
|
|
6929
|
-
selector: 'aup-inline-string-editor',
|
|
6930
|
-
templateUrl: './inline-string-editor.component.html',
|
|
6931
|
-
styleUrls: [] // See assets/interaction/editor/inline-string-editor.scss
|
|
6932
|
-
}]
|
|
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: [] }]
|
|
6933
6741
|
}], ctorParameters: function () { return [{ type: InteractionService }]; }, propDecorators: { editorModel: [{
|
|
6934
6742
|
type: Input
|
|
6935
6743
|
}], facesModel: [{
|
|
@@ -6962,8 +6770,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
6962
6770
|
|
|
6963
6771
|
class InteractionModule {
|
|
6964
6772
|
}
|
|
6965
|
-
InteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6966
|
-
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,
|
|
6967
6775
|
ConfirmationDialogComponent,
|
|
6968
6776
|
ConfirmThenDialogComponent,
|
|
6969
6777
|
ConfirmThenExecuteDialogComponent,
|
|
@@ -7018,7 +6826,7 @@ InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
7018
6826
|
ModalActivityTriggerComponent,
|
|
7019
6827
|
AddCardActivityComponent,
|
|
7020
6828
|
InlineStringEditorComponent] });
|
|
7021
|
-
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: [
|
|
7022
6830
|
InteractionService
|
|
7023
6831
|
// {
|
|
7024
6832
|
// provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
|
|
@@ -7040,7 +6848,7 @@ InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
7040
6848
|
MatFormFieldModule,
|
|
7041
6849
|
A11yModule
|
|
7042
6850
|
]] });
|
|
7043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, decorators: [{
|
|
7044
6852
|
type: NgModule,
|
|
7045
6853
|
args: [{
|
|
7046
6854
|
imports: [
|
|
@@ -7106,12 +6914,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
7106
6914
|
AddCardActivityComponent,
|
|
7107
6915
|
InlineStringEditorComponent,
|
|
7108
6916
|
],
|
|
7109
|
-
entryComponents: [
|
|
7110
|
-
// ActivityContainerComponent,
|
|
7111
|
-
// ConfirmationDialogComponent,
|
|
7112
|
-
// ConfirmThenDialogComponent,
|
|
7113
|
-
// AlertDialogComponent
|
|
7114
|
-
],
|
|
7115
6917
|
providers: [
|
|
7116
6918
|
InteractionService
|
|
7117
6919
|
// {
|
|
@@ -7537,14 +7339,14 @@ class PlaceComponent extends DisposableComponent {
|
|
|
7537
7339
|
this._parameterChangeInterceptors.push(new ParameterChangeInterceptor(parameterDef, model, callback, options));
|
|
7538
7340
|
}
|
|
7539
7341
|
}
|
|
7540
|
-
PlaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7541
|
-
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 });
|
|
7542
7344
|
__decorate([
|
|
7543
7345
|
Memoize(),
|
|
7544
7346
|
__metadata("design:type", PlaceDefinition),
|
|
7545
7347
|
__metadata("design:paramtypes", [])
|
|
7546
7348
|
], PlaceComponent.prototype, "placeDefinition", null);
|
|
7547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceComponent, decorators: [{
|
|
7548
7350
|
type: Directive
|
|
7549
7351
|
}], ctorParameters: function () { return []; }, propDecorators: { placeDefinition: [] } });
|
|
7550
7352
|
(function (PlaceComponent) {
|
|
@@ -7568,12 +7370,137 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
7568
7370
|
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, snapshotOrConstructor);
|
|
7569
7371
|
}
|
|
7570
7372
|
}
|
|
7571
|
-
PlaceComponent.getDefinition = getDefinition;
|
|
7572
|
-
function injectDefinition(klass, definition) {
|
|
7573
|
-
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);
|
|
7574
7442
|
}
|
|
7575
|
-
|
|
7576
|
-
|
|
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');
|
|
7577
7504
|
|
|
7578
7505
|
/**
|
|
7579
7506
|
* This class handles the logic around canDeactivate for a given router state transition. It's core responsibilities are:
|
|
@@ -8354,141 +8281,6 @@ var PlaceAccessGuard;
|
|
|
8354
8281
|
PlaceAccessGuard.NoAuth = NoAuth;
|
|
8355
8282
|
})(PlaceAccessGuard || (PlaceAccessGuard = {}));
|
|
8356
8283
|
|
|
8357
|
-
class PlaceHistory {
|
|
8358
|
-
constructor() {
|
|
8359
|
-
this._archive = new Map();
|
|
8360
|
-
this.placeHistoryDepth = 4;
|
|
8361
|
-
}
|
|
8362
|
-
notifyNavigationStarted() {
|
|
8363
|
-
if (this._activeVisits) {
|
|
8364
|
-
this.archive(this._activeVisits.visits);
|
|
8365
|
-
this._previousVisits = this._activeVisits;
|
|
8366
|
-
}
|
|
8367
|
-
}
|
|
8368
|
-
notifyNavigationFinished(visits) {
|
|
8369
|
-
this._activeVisits = new PlaceHistory.VisitRecord(visits);
|
|
8370
|
-
}
|
|
8371
|
-
updateVisit(visit) {
|
|
8372
|
-
assert.isTruthy(this._activeVisits);
|
|
8373
|
-
this._activeVisits.update(visit);
|
|
8374
|
-
}
|
|
8375
|
-
lastVisitIncluded(placeDef) {
|
|
8376
|
-
var _a;
|
|
8377
|
-
return !!((_a = this._previousVisits) === null || _a === void 0 ? void 0 : _a.getVisitFor(placeDef));
|
|
8378
|
-
}
|
|
8379
|
-
getMostRecentVisitFor(placeDef) {
|
|
8380
|
-
return first(this.getHistory(placeDef));
|
|
8381
|
-
}
|
|
8382
|
-
getHistory(placeDef) {
|
|
8383
|
-
let history = this._archive.get(placeDef);
|
|
8384
|
-
if (!history) {
|
|
8385
|
-
history = [];
|
|
8386
|
-
this.setHistory(placeDef, history);
|
|
8387
|
-
}
|
|
8388
|
-
return history;
|
|
8389
|
-
}
|
|
8390
|
-
setHistory(placeDef, history) {
|
|
8391
|
-
this._archive.set(placeDef, history);
|
|
8392
|
-
}
|
|
8393
|
-
archive(visits) {
|
|
8394
|
-
visits.forEach(state => {
|
|
8395
|
-
const history = this.getHistory(state.placeDefinition);
|
|
8396
|
-
const previousState = first(history);
|
|
8397
|
-
if (!previousState || state.hasChangedFrom(previousState)) {
|
|
8398
|
-
history.unshift(state); // LIFO
|
|
8399
|
-
this.setHistory(state.placeDefinition, history.slice(0, this.placeHistoryDepth));
|
|
8400
|
-
}
|
|
8401
|
-
});
|
|
8402
|
-
}
|
|
8403
|
-
}
|
|
8404
|
-
PlaceHistory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PlaceHistory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8405
|
-
PlaceHistory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PlaceHistory, providedIn: 'root' });
|
|
8406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PlaceHistory, decorators: [{
|
|
8407
|
-
type: Injectable,
|
|
8408
|
-
args: [{
|
|
8409
|
-
providedIn: 'root'
|
|
8410
|
-
}]
|
|
8411
|
-
}], ctorParameters: function () { return []; } });
|
|
8412
|
-
(function (PlaceHistory) {
|
|
8413
|
-
class VisitRecord {
|
|
8414
|
-
constructor(visits) {
|
|
8415
|
-
this.visits = visits;
|
|
8416
|
-
}
|
|
8417
|
-
update(visit) {
|
|
8418
|
-
this.visits = this.visits.filter(v => v.placeDefinition !== visit.placeDefinition).concat(visit);
|
|
8419
|
-
}
|
|
8420
|
-
getVisitFor(placeDef) {
|
|
8421
|
-
return this.visits.find(v => v.placeDefinition === placeDef);
|
|
8422
|
-
}
|
|
8423
|
-
}
|
|
8424
|
-
PlaceHistory.VisitRecord = VisitRecord;
|
|
8425
|
-
// export class Query {
|
|
8426
|
-
// private _history: Visit.State[];
|
|
8427
|
-
// private _places: Place[];
|
|
8428
|
-
// private _predicate: (visit: any) => boolean;
|
|
8429
|
-
// private _limit: number;
|
|
8430
|
-
//
|
|
8431
|
-
// constructor(history, limit = history.length) {
|
|
8432
|
-
// this._history = history;
|
|
8433
|
-
// this._places = [];
|
|
8434
|
-
// this._predicate = (visit => true);
|
|
8435
|
-
// this._limit = limit;
|
|
8436
|
-
// }
|
|
8437
|
-
//
|
|
8438
|
-
// to(...places:Place[]):this {
|
|
8439
|
-
// this._places = places;
|
|
8440
|
-
// return this;
|
|
8441
|
-
// }
|
|
8442
|
-
//
|
|
8443
|
-
// with(parameters: { [parameter: string]: any }): this {
|
|
8444
|
-
// this.matching(state => {
|
|
8445
|
-
// return Object.keys(parameters).reduce((acc, key) => {
|
|
8446
|
-
// const matchValue = parameters[key];
|
|
8447
|
-
// const visitValue = state.get(key);
|
|
8448
|
-
// const matched = matchValue === '*' ? !isNil(visitValue) : visitValue == matchValue;
|
|
8449
|
-
// // Logger.get(this).info(`matched=${matched}`, parameters, visitValue);
|
|
8450
|
-
// return acc && matched;
|
|
8451
|
-
// }, true);
|
|
8452
|
-
// });
|
|
8453
|
-
// return this;
|
|
8454
|
-
// }
|
|
8455
|
-
//
|
|
8456
|
-
// last(): Visit.State {
|
|
8457
|
-
// return findLast(this._history, visit => this._matches(visit))
|
|
8458
|
-
// }
|
|
8459
|
-
//
|
|
8460
|
-
// // @trace
|
|
8461
|
-
// allThatMatch(): Visit.State[] {
|
|
8462
|
-
// return filter(this._history, visit => this._matches(visit)).slice(-this._limit);
|
|
8463
|
-
// }
|
|
8464
|
-
//
|
|
8465
|
-
// // @trace
|
|
8466
|
-
// mostRecentValueOf<T=any>(param: string, defaultValue: T = null): T {
|
|
8467
|
-
// const lastStateWithParam = findLast(this.allThatMatch(), state => !isNil(state.get(param)));
|
|
8468
|
-
// return isNil(lastStateWithParam) ? defaultValue : lastStateWithParam.get(param);
|
|
8469
|
-
// }
|
|
8470
|
-
//
|
|
8471
|
-
// limit(limit: number): this {
|
|
8472
|
-
// this._limit = limit;
|
|
8473
|
-
// return this;
|
|
8474
|
-
// }
|
|
8475
|
-
//
|
|
8476
|
-
// matching(predicate: (visit: Visit.State) => boolean): this {
|
|
8477
|
-
// this._predicate = predicate;
|
|
8478
|
-
// return this;
|
|
8479
|
-
// }
|
|
8480
|
-
//
|
|
8481
|
-
// _matches(visit: Visit.State) {
|
|
8482
|
-
// return this._isPlaceMatch(visit) && this._predicate(visit);
|
|
8483
|
-
// }
|
|
8484
|
-
//
|
|
8485
|
-
// _isPlaceMatch(visit: Visit.State) {
|
|
8486
|
-
// return this._places.length < 1 || this._places.includes(visit.place)
|
|
8487
|
-
// }
|
|
8488
|
-
//
|
|
8489
|
-
// }
|
|
8490
|
-
})(PlaceHistory || (PlaceHistory = {}));
|
|
8491
|
-
|
|
8492
8284
|
/**
|
|
8493
8285
|
* This a work around for the fact that an activated route with multiple segments doesn't
|
|
8494
8286
|
* include the segment params in the paramMap as well as each segment returns an empty
|
|
@@ -8511,102 +8303,34 @@ class ConsolidatedParameterMap {
|
|
|
8511
8303
|
const paramMap = this.paramMaps.find(m => m.has(name));
|
|
8512
8304
|
return paramMap.getAll(name);
|
|
8513
8305
|
}
|
|
8514
|
-
has(name) {
|
|
8515
|
-
return !!this.paramMaps.find(m => m.has(name));
|
|
8516
|
-
}
|
|
8517
|
-
get keys() {
|
|
8518
|
-
return uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
|
|
8519
|
-
}
|
|
8520
|
-
}
|
|
8521
|
-
__decorate([
|
|
8522
|
-
Memoize(),
|
|
8523
|
-
__metadata("design:type", Array),
|
|
8524
|
-
__metadata("design:paramtypes", [])
|
|
8525
|
-
], ConsolidatedParameterMap.prototype, "keys", null);
|
|
8526
|
-
class ParamMapAdapter {
|
|
8527
|
-
constructor(params) {
|
|
8528
|
-
this.params = params;
|
|
8529
|
-
}
|
|
8530
|
-
get(name) {
|
|
8531
|
-
return this.params[name];
|
|
8532
|
-
}
|
|
8533
|
-
getAll(name) {
|
|
8534
|
-
const value = this.get(name);
|
|
8535
|
-
return Array.isArray(value) ? value : [value];
|
|
8536
|
-
}
|
|
8537
|
-
has(name) {
|
|
8538
|
-
return this.keys.includes(name);
|
|
8539
|
-
}
|
|
8540
|
-
get keys() {
|
|
8541
|
-
return Object.keys(this.params);
|
|
8542
|
-
}
|
|
8543
|
-
}
|
|
8544
|
-
|
|
8545
|
-
class Visit {
|
|
8546
|
-
constructor(placeDefinition, visitParameters = {}) {
|
|
8547
|
-
this.placeDefinition = placeDefinition;
|
|
8548
|
-
this.visitParameters = visitParameters;
|
|
8549
|
-
}
|
|
8550
|
-
// @Trace()
|
|
8551
|
-
getRouteId() {
|
|
8552
|
-
return this.placeDefinition.getRouteIdFrom(this);
|
|
8553
|
-
}
|
|
8554
|
-
// @Trace()
|
|
8555
|
-
hasRouteId() {
|
|
8556
|
-
return !isNil(this.getRouteId());
|
|
8557
|
-
}
|
|
8558
|
-
/**
|
|
8559
|
-
* Returns the value of the place parameter with the specified name. The parameter
|
|
8560
|
-
* name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
|
|
8561
|
-
* same as the the ValueModel property name.
|
|
8562
|
-
* @param parameter the visit parameter definition
|
|
8563
|
-
*/
|
|
8564
|
-
getParameterValue(parameter) {
|
|
8565
|
-
return isString(parameter) ? this.visitParameters[parameter] : this.visitParameters[parameter.name];
|
|
8566
|
-
}
|
|
8567
|
-
// @Trace()
|
|
8568
|
-
hasParameter(parameterDef) {
|
|
8569
|
-
return Object.keys(this.visitParameters).includes(parameterDef.name);
|
|
8306
|
+
has(name) {
|
|
8307
|
+
return !!this.paramMaps.find(m => m.has(name));
|
|
8570
8308
|
}
|
|
8571
|
-
|
|
8572
|
-
return
|
|
8309
|
+
get keys() {
|
|
8310
|
+
return uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
|
|
8573
8311
|
}
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
}
|
|
8584
|
-
else {
|
|
8585
|
-
// copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the
|
|
8586
|
-
// defaults and remember sanitisation process.
|
|
8587
|
-
const value = this.getParameterValue(def);
|
|
8588
|
-
if (this.hasParameter(def)) {
|
|
8589
|
-
params[def.name] = value;
|
|
8590
|
-
}
|
|
8591
|
-
}
|
|
8592
|
-
});
|
|
8593
|
-
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;
|
|
8594
8321
|
}
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
const samePlace = other.placeDefinition === this.placeDefinition;
|
|
8598
|
-
const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
|
|
8599
|
-
const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
|
|
8600
|
-
// console.log({currentParams, otherParams});
|
|
8601
|
-
const sameRouteParameters = isEqual(currentParams, otherParams);
|
|
8602
|
-
return !samePlace || !sameRouteParameters;
|
|
8322
|
+
get(name) {
|
|
8323
|
+
return this.params[name];
|
|
8603
8324
|
}
|
|
8604
|
-
|
|
8605
|
-
const
|
|
8606
|
-
return
|
|
8325
|
+
getAll(name) {
|
|
8326
|
+
const value = this.get(name);
|
|
8327
|
+
return Array.isArray(value) ? value : [value];
|
|
8607
8328
|
}
|
|
8608
|
-
|
|
8609
|
-
return
|
|
8329
|
+
has(name) {
|
|
8330
|
+
return this.keys.includes(name);
|
|
8331
|
+
}
|
|
8332
|
+
get keys() {
|
|
8333
|
+
return Object.keys(this.params);
|
|
8610
8334
|
}
|
|
8611
8335
|
}
|
|
8612
8336
|
|
|
@@ -8765,15 +8489,150 @@ class UrlService {
|
|
|
8765
8489
|
this.angularLocation.back();
|
|
8766
8490
|
}
|
|
8767
8491
|
}
|
|
8768
|
-
UrlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8769
|
-
UrlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8770
|
-
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: [{
|
|
8771
8495
|
type: Injectable,
|
|
8772
8496
|
args: [{
|
|
8773
8497
|
providedIn: 'root'
|
|
8774
8498
|
}]
|
|
8775
8499
|
}], ctorParameters: function () { return [{ type: i1$e.Router }, { type: i4.Location }, { type: i1$e.UrlSerializer }]; } });
|
|
8776
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
|
+
|
|
8777
8636
|
function asArray(item) {
|
|
8778
8637
|
return Array.isArray(item) ? item : [item];
|
|
8779
8638
|
}
|
|
@@ -9066,9 +8925,9 @@ class PlaceRouter extends GarbageCollector {
|
|
|
9066
8925
|
[def.getFormattedRouteParameters(visit)];
|
|
9067
8926
|
}
|
|
9068
8927
|
}
|
|
9069
|
-
PlaceRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9070
|
-
PlaceRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9071
|
-
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: [{
|
|
9072
8931
|
type: Injectable,
|
|
9073
8932
|
args: [{
|
|
9074
8933
|
providedIn: 'root'
|
|
@@ -9089,67 +8948,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9089
8948
|
PlaceRouter.State = State;
|
|
9090
8949
|
})(PlaceRouter || (PlaceRouter = {}));
|
|
9091
8950
|
|
|
9092
|
-
const AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
|
|
9093
|
-
|
|
9094
|
-
class NotAuthorisedNoticeComponent {
|
|
9095
|
-
constructor() {
|
|
9096
|
-
}
|
|
9097
|
-
}
|
|
9098
|
-
NotAuthorisedNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NotAuthorisedNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9099
|
-
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"] });
|
|
9100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NotAuthorisedNoticeComponent, decorators: [{
|
|
9101
|
-
type: Component,
|
|
9102
|
-
args: [{
|
|
9103
|
-
selector: 'aup-not-authorised-notice',
|
|
9104
|
-
templateUrl: './not-authorised-notice.component.html',
|
|
9105
|
-
styleUrls: ['./not-authorised-notice.component.scss']
|
|
9106
|
-
}]
|
|
9107
|
-
}], ctorParameters: function () { return []; } });
|
|
9108
|
-
|
|
9109
|
-
// Freezes the state of the components at the start of the animation.
|
|
9110
|
-
const animationStartStyle = style({ position: 'absolute', top: '0', left: '0', bottom: '0', right: '0' });
|
|
9111
|
-
const left = [
|
|
9112
|
-
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
9113
|
-
group([
|
|
9114
|
-
query(':enter', [
|
|
9115
|
-
style({ transform: 'translateX(-100%)' }),
|
|
9116
|
-
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
9117
|
-
], {
|
|
9118
|
-
optional: true
|
|
9119
|
-
}),
|
|
9120
|
-
query(':leave', [
|
|
9121
|
-
style({ transform: 'translateX(0%)' }),
|
|
9122
|
-
animate('{{duration}} ease-out', style({ transform: 'translateX(100%)' }))
|
|
9123
|
-
], {
|
|
9124
|
-
optional: true
|
|
9125
|
-
})
|
|
9126
|
-
])
|
|
9127
|
-
];
|
|
9128
|
-
const right = [
|
|
9129
|
-
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
9130
|
-
group([
|
|
9131
|
-
query(':enter', [
|
|
9132
|
-
style({ transform: 'translateX(100%)', minHeight: '1px' }),
|
|
9133
|
-
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
9134
|
-
], {
|
|
9135
|
-
optional: true
|
|
9136
|
-
}),
|
|
9137
|
-
query(':leave', [style({ transform: 'translateX(0%)' }), animate('{{duration}} ease-out', style({
|
|
9138
|
-
transform: 'translateX(-100%)',
|
|
9139
|
-
minHeight: '1px'
|
|
9140
|
-
}))], {
|
|
9141
|
-
optional: true
|
|
9142
|
-
})
|
|
9143
|
-
])
|
|
9144
|
-
];
|
|
9145
|
-
function leftRightPlaceAnimation(duration) {
|
|
9146
|
-
return trigger('routeAnimations', [
|
|
9147
|
-
transition(':increment', right, { params: { duration: duration } }),
|
|
9148
|
-
transition(':decrement', left, { params: { duration: duration } })
|
|
9149
|
-
]);
|
|
9150
|
-
}
|
|
9151
|
-
const LEFT_RIGHT_PLACE_ANIMATION = leftRightPlaceAnimation('0.3s');
|
|
9152
|
-
|
|
9153
8951
|
const AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT = new InjectionToken('AUP_UNAUTHORISED_PLACE_COMPONENT');
|
|
9154
8952
|
class PlaceOutletComponent extends DisposableComponent {
|
|
9155
8953
|
constructor(router, placeRouter, placeConfig, unauthorisedPlaceNotice, parentOutlet, cdr) {
|
|
@@ -9336,8 +9134,8 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
9336
9134
|
}
|
|
9337
9135
|
}
|
|
9338
9136
|
}
|
|
9339
|
-
PlaceOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9340
|
-
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] });
|
|
9341
9139
|
__decorate([
|
|
9342
9140
|
StoreInValueModel('animateModel'),
|
|
9343
9141
|
__metadata("design:type", Boolean)
|
|
@@ -9354,29 +9152,26 @@ __decorate([
|
|
|
9354
9152
|
StoreInListModel('customPlaceAnimationOrderModel'),
|
|
9355
9153
|
__metadata("design:type", Array)
|
|
9356
9154
|
], PlaceOutletComponent.prototype, "customPlaceAnimationOrder", void 0);
|
|
9357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceOutletComponent, decorators: [{
|
|
9358
9156
|
type: Component,
|
|
9359
|
-
args: [{
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
type:
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
type:
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
}, {
|
|
9378
|
-
type: Optional
|
|
9379
|
-
}] }, { 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: [{
|
|
9380
9175
|
type: Input
|
|
9381
9176
|
}], animateModel: [{
|
|
9382
9177
|
type: Input
|
|
@@ -9443,8 +9238,8 @@ class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
|
9443
9238
|
ngOnInit() {
|
|
9444
9239
|
}
|
|
9445
9240
|
}
|
|
9446
|
-
AbstractPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9447
|
-
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 });
|
|
9448
9243
|
__decorate([
|
|
9449
9244
|
StoreInListModel('placesModel'),
|
|
9450
9245
|
__metadata("design:type", Array)
|
|
@@ -9467,7 +9262,7 @@ __decorate([
|
|
|
9467
9262
|
__metadata("design:paramtypes", [PlaceDefinition]),
|
|
9468
9263
|
__metadata("design:returntype", Object)
|
|
9469
9264
|
], AbstractPlaceNavigationComponent.prototype, "getNavigationFace", null);
|
|
9470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPlaceNavigationComponent, decorators: [{
|
|
9471
9266
|
type: Component,
|
|
9472
9267
|
args: [{
|
|
9473
9268
|
template: ''
|
|
@@ -9487,15 +9282,11 @@ class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {
|
|
|
9487
9282
|
super(router);
|
|
9488
9283
|
}
|
|
9489
9284
|
}
|
|
9490
|
-
ListPlaceNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9491
|
-
ListPlaceNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9492
|
-
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: [{
|
|
9493
9288
|
type: Component,
|
|
9494
|
-
args: [{
|
|
9495
|
-
selector: 'aup-list-place-nav',
|
|
9496
|
-
templateUrl: './list-place-nav.component.html',
|
|
9497
|
-
styleUrls: ['./list-place-nav.component.scss']
|
|
9498
|
-
}]
|
|
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"] }]
|
|
9499
9290
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; } });
|
|
9500
9291
|
|
|
9501
9292
|
/**
|
|
@@ -9554,8 +9345,8 @@ class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
9554
9345
|
this.expanded = !this.expanded;
|
|
9555
9346
|
}
|
|
9556
9347
|
}
|
|
9557
|
-
SidePlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9558
|
-
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"] }] });
|
|
9559
9350
|
__decorate([
|
|
9560
9351
|
TrackExternal(),
|
|
9561
9352
|
__metadata("design:type", MutableValueModel)
|
|
@@ -9564,13 +9355,9 @@ __decorate([
|
|
|
9564
9355
|
StoreInValueModel("expanded$"),
|
|
9565
9356
|
__metadata("design:type", Boolean)
|
|
9566
9357
|
], SidePlaceNavigationComponent.prototype, "expanded", void 0);
|
|
9567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SidePlaceNavigationComponent, decorators: [{
|
|
9568
9359
|
type: Component,
|
|
9569
|
-
args: [{
|
|
9570
|
-
selector: 'aup-side-place-navigation',
|
|
9571
|
-
templateUrl: './side-place-navigation.component.html',
|
|
9572
|
-
styleUrls: ['./side-place-navigation.component.scss']
|
|
9573
|
-
}]
|
|
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"] }]
|
|
9574
9361
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; }, propDecorators: { expanded$: [{
|
|
9575
9362
|
type: Input
|
|
9576
9363
|
}], expanded: [{
|
|
@@ -9588,21 +9375,17 @@ class TabbedPlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
9588
9375
|
super(router);
|
|
9589
9376
|
}
|
|
9590
9377
|
}
|
|
9591
|
-
TabbedPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9592
|
-
TabbedPlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9593
|
-
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: [{
|
|
9594
9381
|
type: Component,
|
|
9595
|
-
args: [{
|
|
9596
|
-
selector: 'aup-tabbed-place-navigation',
|
|
9597
|
-
templateUrl: './tabbed-place-navigation.component.html',
|
|
9598
|
-
styleUrls: ['./tabbed-place-navigation.component.scss']
|
|
9599
|
-
}]
|
|
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"] }]
|
|
9600
9383
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; } });
|
|
9601
9384
|
|
|
9602
9385
|
class PlaceModule {
|
|
9603
9386
|
}
|
|
9604
|
-
PlaceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9605
|
-
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,
|
|
9606
9389
|
TabbedPlaceNavigationComponent,
|
|
9607
9390
|
ListPlaceNavComponent,
|
|
9608
9391
|
SidePlaceNavigationComponent,
|
|
@@ -9623,7 +9406,7 @@ PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
9623
9406
|
ListPlaceNavComponent,
|
|
9624
9407
|
SidePlaceNavigationComponent,
|
|
9625
9408
|
AbstractPlaceNavigationComponent] });
|
|
9626
|
-
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: [
|
|
9627
9410
|
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "2000ms"}}
|
|
9628
9411
|
], imports: [[
|
|
9629
9412
|
CommonModule,
|
|
@@ -9639,7 +9422,7 @@ PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "1
|
|
|
9639
9422
|
ComponentsModule,
|
|
9640
9423
|
PortalModule
|
|
9641
9424
|
]] });
|
|
9642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, decorators: [{
|
|
9643
9426
|
type: NgModule,
|
|
9644
9427
|
args: [{
|
|
9645
9428
|
imports: [
|
|
@@ -9664,7 +9447,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9664
9447
|
AbstractPlaceNavigationComponent,
|
|
9665
9448
|
NotAuthorisedNoticeComponent
|
|
9666
9449
|
],
|
|
9667
|
-
entryComponents: [],
|
|
9668
9450
|
exports: [
|
|
9669
9451
|
PlaceOutletComponent,
|
|
9670
9452
|
TabbedPlaceNavigationComponent,
|
|
@@ -9681,8 +9463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9681
9463
|
// Trick @jscutlery/semver to bump the version again..
|
|
9682
9464
|
class AngularUiPowerupsModule {
|
|
9683
9465
|
}
|
|
9684
|
-
AngularUiPowerupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9685
|
-
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,
|
|
9686
9468
|
BrowserAnimationsModule,
|
|
9687
9469
|
FormsModule,
|
|
9688
9470
|
MatInputModule,
|
|
@@ -9697,7 +9479,7 @@ AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
9697
9479
|
DirectivesModule,
|
|
9698
9480
|
ComponentsModule,
|
|
9699
9481
|
NoopComponent] });
|
|
9700
|
-
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: [[
|
|
9701
9483
|
CommonModule,
|
|
9702
9484
|
BrowserAnimationsModule,
|
|
9703
9485
|
FormsModule,
|
|
@@ -9713,7 +9495,7 @@ AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
9713
9495
|
PlaceModule,
|
|
9714
9496
|
DirectivesModule,
|
|
9715
9497
|
ComponentsModule] });
|
|
9716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, decorators: [{
|
|
9717
9499
|
type: NgModule,
|
|
9718
9500
|
args: [{
|
|
9719
9501
|
declarations: [],
|
|
@@ -9838,24 +9620,26 @@ class DialogInteractionContextFactory extends ModalInteractionContextFactory {
|
|
|
9838
9620
|
return new DialogInteractionContext(identifier, api, this.dialogService, config);
|
|
9839
9621
|
}
|
|
9840
9622
|
}
|
|
9841
|
-
DialogInteractionContextFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9842
|
-
DialogInteractionContextFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9843
|
-
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: [{
|
|
9844
9626
|
type: Injectable,
|
|
9845
9627
|
args: [{
|
|
9846
9628
|
providedIn: 'root'
|
|
9847
9629
|
}]
|
|
9848
|
-
}], ctorParameters: function () {
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
type:
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
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
|
+
} });
|
|
9859
9643
|
|
|
9860
9644
|
/**
|
|
9861
9645
|
* @file Automatically generated by barrelsby.
|
|
@@ -9885,9 +9669,9 @@ class NoopAuthGuard {
|
|
|
9885
9669
|
});
|
|
9886
9670
|
}
|
|
9887
9671
|
}
|
|
9888
|
-
NoopAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9889
|
-
NoopAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9890
|
-
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: [{
|
|
9891
9675
|
type: Injectable,
|
|
9892
9676
|
args: [{
|
|
9893
9677
|
providedIn: 'root'
|
|
@@ -10027,9 +9811,9 @@ class PlaceGuard {
|
|
|
10027
9811
|
});
|
|
10028
9812
|
}
|
|
10029
9813
|
}
|
|
10030
|
-
PlaceGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10031
|
-
PlaceGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10032
|
-
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: [{
|
|
10033
9817
|
type: Injectable,
|
|
10034
9818
|
args: [{ providedIn: 'root' }]
|
|
10035
9819
|
}], ctorParameters: function () { return [{ type: i1$e.Router }, { type: UrlService }, { type: PlaceRouter }, { type: PlaceHistory }, { type: InteractionService }, { type: i0.Injector }]; } });
|
|
@@ -10196,15 +9980,17 @@ class VisibilityService extends GarbageCollector {
|
|
|
10196
9980
|
return !this.isHidden();
|
|
10197
9981
|
}
|
|
10198
9982
|
}
|
|
10199
|
-
VisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10200
|
-
VisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10201
|
-
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: [{
|
|
10202
9986
|
type: Injectable,
|
|
10203
9987
|
args: [{ providedIn: 'root' }]
|
|
10204
|
-
}], ctorParameters: function () {
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
9988
|
+
}], ctorParameters: function () {
|
|
9989
|
+
return [{ type: undefined, decorators: [{
|
|
9990
|
+
type: Inject,
|
|
9991
|
+
args: [DOCUMENT]
|
|
9992
|
+
}] }];
|
|
9993
|
+
} });
|
|
10208
9994
|
|
|
10209
9995
|
/**
|
|
10210
9996
|
* @file Automatically generated by barrelsby.
|
|
@@ -10215,4 +10001,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
10215
10001
|
*/
|
|
10216
10002
|
|
|
10217
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 };
|
|
10218
|
-
//# sourceMappingURL=coolon-angular-ui-powerups.
|
|
10004
|
+
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|