@coolon/angular-ui-powerups 12.4.9 → 13.0.1
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/esm2020/lib/services/visibility-service.mjs +79 -0
- package/fesm2015/{coolon-angular-ui-powerups.js → coolon-angular-ui-powerups.mjs} +1220 -1430
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -0
- package/fesm2020/coolon-angular-ui-powerups.mjs +9895 -0
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -0
- package/lib/services/visibility-service.d.ts +5 -1
- package/package.json +37 -25
- 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/esm2015/lib/services/visibility-service.js +0 -75
- 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';
|
|
@@ -65,7 +65,6 @@ import * as i2$4 from '@angular/material/list';
|
|
|
65
65
|
import { MatListModule } from '@angular/material/list';
|
|
66
66
|
import 'reflect-metadata';
|
|
67
67
|
import { style, query, group, animate, trigger, transition } from '@angular/animations';
|
|
68
|
-
import * as wakeEvent from 'wake-event';
|
|
69
68
|
|
|
70
69
|
class CommandDirective extends GarbageCollector {
|
|
71
70
|
constructor(elementRef, matButton, matMenuItem) {
|
|
@@ -154,26 +153,28 @@ class CommandDirective extends GarbageCollector {
|
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
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: "
|
|
156
|
+
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 });
|
|
157
|
+
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 });
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandDirective, decorators: [{
|
|
160
159
|
type: Directive,
|
|
161
160
|
args: [{
|
|
162
161
|
// tslint:disable-next-line:directive-selector
|
|
163
162
|
selector: '[pectinCommand]'
|
|
164
163
|
}]
|
|
165
|
-
}], ctorParameters: function () {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
type:
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
type:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
164
|
+
}], ctorParameters: function () {
|
|
165
|
+
return [{ type: i0.ElementRef, decorators: [{
|
|
166
|
+
type: Inject,
|
|
167
|
+
args: [ElementRef]
|
|
168
|
+
}] }, { type: i1.MatButton, decorators: [{
|
|
169
|
+
type: Host
|
|
170
|
+
}, {
|
|
171
|
+
type: Optional
|
|
172
|
+
}] }, { type: i1$1.MatMenuItem, decorators: [{
|
|
173
|
+
type: Host
|
|
174
|
+
}, {
|
|
175
|
+
type: Optional
|
|
176
|
+
}] }];
|
|
177
|
+
}, propDecorators: { pectinCommand: [{
|
|
177
178
|
type: Input
|
|
178
179
|
}], commandParameter: [{
|
|
179
180
|
type: Input
|
|
@@ -187,9 +188,9 @@ class DisposableComponent extends GarbageCollector {
|
|
|
187
188
|
this.dispose();
|
|
188
189
|
}
|
|
189
190
|
}
|
|
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: "
|
|
191
|
+
DisposableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DisposableComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
192
|
+
DisposableComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: DisposableComponent, usesInheritance: true, ngImport: i0 });
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DisposableComponent, decorators: [{
|
|
193
194
|
type: Directive
|
|
194
195
|
}] });
|
|
195
196
|
|
|
@@ -278,20 +279,22 @@ class FocusBindingFactory {
|
|
|
278
279
|
return new FocusBinding(el, this.ngZone, this.document, focusContext);
|
|
279
280
|
}
|
|
280
281
|
}
|
|
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: "
|
|
282
|
+
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 });
|
|
283
|
+
FocusBindingFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingFactory, providedIn: 'root' });
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingFactory, decorators: [{
|
|
284
285
|
type: Injectable,
|
|
285
286
|
args: [{
|
|
286
287
|
providedIn: 'root'
|
|
287
288
|
}]
|
|
288
|
-
}], ctorParameters: function () {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
type:
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
}], ctorParameters: function () {
|
|
290
|
+
return [{ type: i0.NgZone, decorators: [{
|
|
291
|
+
type: Inject,
|
|
292
|
+
args: [NgZone]
|
|
293
|
+
}] }, { type: undefined, decorators: [{
|
|
294
|
+
type: Inject,
|
|
295
|
+
args: [DOCUMENT]
|
|
296
|
+
}] }];
|
|
297
|
+
} });
|
|
295
298
|
|
|
296
299
|
class FocusBindingDirective extends DisposableComponent {
|
|
297
300
|
constructor(el, focusBindingFactory) {
|
|
@@ -326,18 +329,20 @@ class FocusBindingDirective extends DisposableComponent {
|
|
|
326
329
|
return this.focusBindingTarget || this.el.nativeElement;
|
|
327
330
|
}
|
|
328
331
|
}
|
|
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: "
|
|
332
|
+
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 });
|
|
333
|
+
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 });
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusBindingDirective, decorators: [{
|
|
332
335
|
type: Directive,
|
|
333
336
|
args: [{
|
|
334
337
|
// tslint:disable-next-line:directive-selector
|
|
335
338
|
selector: '[pectinFocusBinding]'
|
|
336
339
|
}]
|
|
337
|
-
}], ctorParameters: function () {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
340
|
+
}], ctorParameters: function () {
|
|
341
|
+
return [{ type: i0.ElementRef, decorators: [{
|
|
342
|
+
type: Inject,
|
|
343
|
+
args: [ElementRef]
|
|
344
|
+
}] }, { type: FocusBindingFactory }];
|
|
345
|
+
}, propDecorators: { pectinFocusBinding: [{
|
|
341
346
|
type: Input
|
|
342
347
|
}], focusBindingTarget: [{
|
|
343
348
|
type: Input
|
|
@@ -357,13 +362,13 @@ class HighlightTextModelDirective extends GarbageCollector {
|
|
|
357
362
|
this.dispose();
|
|
358
363
|
}
|
|
359
364
|
}
|
|
360
|
-
HighlightTextModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
361
|
-
HighlightTextModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
365
|
+
HighlightTextModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightTextModelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
366
|
+
HighlightTextModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: { aupHighlightTextModel: "aupHighlightTextModel" }, usesInheritance: true, ngImport: i0 });
|
|
362
367
|
__decorate([
|
|
363
368
|
TrackExternal(),
|
|
364
369
|
__metadata("design:type", ValueModel)
|
|
365
370
|
], HighlightTextModelDirective.prototype, "aupHighlightTextModel", void 0);
|
|
366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightTextModelDirective, decorators: [{
|
|
367
372
|
type: Directive,
|
|
368
373
|
args: [{
|
|
369
374
|
selector: '[aupHighlightTextModel]'
|
|
@@ -399,22 +404,24 @@ class HighlightPipe extends GarbageCollector {
|
|
|
399
404
|
return this.sanitizer.bypassSecurityTrustHtml(result);
|
|
400
405
|
}
|
|
401
406
|
}
|
|
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: "
|
|
407
|
+
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 });
|
|
408
|
+
HighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightPipe, name: "aupHighlight", pure: false });
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HighlightPipe, decorators: [{
|
|
405
410
|
type: Pipe,
|
|
406
411
|
args: [{
|
|
407
412
|
name: 'aupHighlight',
|
|
408
413
|
pure: false
|
|
409
414
|
}]
|
|
410
|
-
}], ctorParameters: function () {
|
|
411
|
-
|
|
412
|
-
|
|
415
|
+
}], ctorParameters: function () {
|
|
416
|
+
return [{ type: i1$2.DomSanitizer }, { type: HighlightTextModelDirective, decorators: [{
|
|
417
|
+
type: Optional
|
|
418
|
+
}] }];
|
|
419
|
+
} });
|
|
413
420
|
|
|
414
421
|
class DirectivesModule {
|
|
415
422
|
}
|
|
416
|
-
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
417
|
-
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
423
|
+
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
424
|
+
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, declarations: [CommandDirective,
|
|
418
425
|
FocusBindingDirective,
|
|
419
426
|
HighlightPipe,
|
|
420
427
|
HighlightTextModelDirective], imports: [CommonModule,
|
|
@@ -427,7 +434,7 @@ DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
427
434
|
FocusBindingDirective,
|
|
428
435
|
HighlightPipe,
|
|
429
436
|
HighlightTextModelDirective] });
|
|
430
|
-
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
437
|
+
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, imports: [[
|
|
431
438
|
CommonModule,
|
|
432
439
|
BrowserAnimationsModule,
|
|
433
440
|
FormsModule,
|
|
@@ -436,7 +443,7 @@ DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
436
443
|
MatSelectModule,
|
|
437
444
|
MatTabsModule
|
|
438
445
|
]] });
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DirectivesModule, decorators: [{
|
|
440
447
|
type: NgModule,
|
|
441
448
|
args: [{
|
|
442
449
|
declarations: [
|
|
@@ -518,9 +525,9 @@ class MarkdownService {
|
|
|
518
525
|
});
|
|
519
526
|
}
|
|
520
527
|
}
|
|
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: "
|
|
528
|
+
MarkdownService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
529
|
+
MarkdownService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownService });
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownService, decorators: [{
|
|
524
531
|
type: Injectable
|
|
525
532
|
}], ctorParameters: function () { return []; } });
|
|
526
533
|
|
|
@@ -531,8 +538,8 @@ class BusyOverlayComponent extends GarbageCollector {
|
|
|
531
538
|
ngOnInit() {
|
|
532
539
|
}
|
|
533
540
|
}
|
|
534
|
-
BusyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
535
|
-
BusyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
541
|
+
BusyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BusyOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
542
|
+
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
543
|
__decorate([
|
|
537
544
|
TrackExternal(),
|
|
538
545
|
__metadata("design:type", ValueModel)
|
|
@@ -541,19 +548,43 @@ __decorate([
|
|
|
541
548
|
StoreInValueModel('busyModel'),
|
|
542
549
|
__metadata("design:type", Boolean)
|
|
543
550
|
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BusyOverlayComponent, decorators: [{
|
|
545
552
|
type: Component,
|
|
546
|
-
args: [{
|
|
547
|
-
selector: 'aup-busy-overlay',
|
|
548
|
-
templateUrl: `./busy-overlay.component.html`,
|
|
549
|
-
styleUrls: ['./busy-overlay.component.scss']
|
|
550
|
-
}]
|
|
553
|
+
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
554
|
}], ctorParameters: function () { return []; }, propDecorators: { busyModel: [{
|
|
552
555
|
type: Input
|
|
553
556
|
}], busy: [{
|
|
554
557
|
type: Input
|
|
555
558
|
}] } });
|
|
556
559
|
|
|
560
|
+
class AbstractCardContainerComponent extends DisposableComponent {
|
|
561
|
+
constructor() {
|
|
562
|
+
super();
|
|
563
|
+
}
|
|
564
|
+
ngOnInit() {
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
AbstractCardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractCardContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
568
|
+
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 });
|
|
569
|
+
__decorate([
|
|
570
|
+
TrackExternal(),
|
|
571
|
+
__metadata("design:type", Command)
|
|
572
|
+
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractCardContainerComponent, decorators: [{
|
|
574
|
+
type: Component,
|
|
575
|
+
args: [{
|
|
576
|
+
selector: 'aup-abstract-card-container',
|
|
577
|
+
template: '',
|
|
578
|
+
}]
|
|
579
|
+
}], ctorParameters: function () { return []; }, propDecorators: { addCardCommand: [{
|
|
580
|
+
type: Input
|
|
581
|
+
}], addCardFace: [{
|
|
582
|
+
type: Input
|
|
583
|
+
}], addCardTemplate: [{
|
|
584
|
+
type: ContentChild,
|
|
585
|
+
args: ['addCardTemplate']
|
|
586
|
+
}] } });
|
|
587
|
+
|
|
557
588
|
var CommandFace;
|
|
558
589
|
(function (CommandFace) {
|
|
559
590
|
let Position;
|
|
@@ -662,34 +693,6 @@ var CommandFace;
|
|
|
662
693
|
CommandFace.Adapter = Adapter;
|
|
663
694
|
})(CommandFace || (CommandFace = {}));
|
|
664
695
|
|
|
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
696
|
class IconComponent {
|
|
694
697
|
constructor() {
|
|
695
698
|
this.allowedPrefixes = Enum.values(IconComponent.IconPrefix).map(p => `${p}:`);
|
|
@@ -719,15 +722,11 @@ class IconComponent {
|
|
|
719
722
|
return this.suffix;
|
|
720
723
|
}
|
|
721
724
|
}
|
|
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: "
|
|
725
|
+
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
726
|
+
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"] }] });
|
|
727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconComponent, decorators: [{
|
|
725
728
|
type: Component,
|
|
726
|
-
args: [{
|
|
727
|
-
selector: 'aup-icon',
|
|
728
|
-
templateUrl: './icon.component.html',
|
|
729
|
-
styleUrls: ['./icon.component.scss']
|
|
730
|
-
}]
|
|
729
|
+
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
730
|
}], propDecorators: { icon: [{
|
|
732
731
|
type: Input
|
|
733
732
|
}] } });
|
|
@@ -783,20 +782,15 @@ class CommandFaceComponent extends DisposableComponent {
|
|
|
783
782
|
return this.activeColor.value;
|
|
784
783
|
}
|
|
785
784
|
}
|
|
786
|
-
CommandFaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
787
|
-
CommandFaceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
785
|
+
CommandFaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandFaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
786
|
+
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
787
|
__decorate([
|
|
789
788
|
StoreInListModel('facesModel'),
|
|
790
789
|
__metadata("design:type", Array)
|
|
791
790
|
], CommandFaceComponent.prototype, "_rawFaces", void 0);
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandFaceComponent, decorators: [{
|
|
793
792
|
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
|
-
}]
|
|
793
|
+
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
794
|
}], ctorParameters: function () { return []; }, propDecorators: { _rawFaces: [{
|
|
801
795
|
type: Input,
|
|
802
796
|
args: ['faces']
|
|
@@ -821,15 +815,11 @@ class ScrollContainerComponent {
|
|
|
821
815
|
ngOnInit() {
|
|
822
816
|
}
|
|
823
817
|
}
|
|
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: "
|
|
818
|
+
ScrollContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
819
|
+
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]" }] });
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollContainerComponent, decorators: [{
|
|
827
821
|
type: Component,
|
|
828
|
-
args: [{
|
|
829
|
-
selector: 'aup-scroll-container',
|
|
830
|
-
templateUrl: './scroll-container.component.html',
|
|
831
|
-
styleUrls: ['./scroll-container.component.scss']
|
|
832
|
-
}]
|
|
822
|
+
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
823
|
}], ctorParameters: function () { return []; } });
|
|
834
824
|
|
|
835
825
|
/**
|
|
@@ -934,15 +924,11 @@ class CardContainerComponent extends AbstractCardContainerComponent {
|
|
|
934
924
|
}
|
|
935
925
|
}
|
|
936
926
|
}
|
|
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: "
|
|
927
|
+
CardContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardContainerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
928
|
+
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"] }] });
|
|
929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardContainerComponent, decorators: [{
|
|
940
930
|
type: Component,
|
|
941
|
-
args: [{
|
|
942
|
-
selector: 'aup-card-container',
|
|
943
|
-
templateUrl: './card-container.component.html',
|
|
944
|
-
styleUrls: ['./card-container.component.scss']
|
|
945
|
-
}]
|
|
931
|
+
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
932
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { columnCount: [{
|
|
947
933
|
type: Input
|
|
948
934
|
}], enabledScroll: [{
|
|
@@ -1022,15 +1008,11 @@ class CardStackComponent extends AbstractCardContainerComponent {
|
|
|
1022
1008
|
console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
|
|
1023
1009
|
}
|
|
1024
1010
|
}
|
|
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: "
|
|
1011
|
+
CardStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1012
|
+
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"] }] });
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CardStackComponent, decorators: [{
|
|
1028
1014
|
type: Component,
|
|
1029
|
-
args: [{
|
|
1030
|
-
selector: 'aup-card-stack',
|
|
1031
|
-
templateUrl: './card-stack.component.html',
|
|
1032
|
-
styleUrls: ['./card-stack.component.scss']
|
|
1033
|
-
}]
|
|
1015
|
+
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
1016
|
}], ctorParameters: function () { return []; } });
|
|
1035
1017
|
|
|
1036
1018
|
const HorizontalAlignment = Enum({
|
|
@@ -1101,8 +1083,8 @@ class CommandComponent extends PopupAwareComponent {
|
|
|
1101
1083
|
return this.face;
|
|
1102
1084
|
}
|
|
1103
1085
|
}
|
|
1104
|
-
CommandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1105
|
-
CommandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1086
|
+
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 });
|
|
1087
|
+
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
1088
|
__decorate([
|
|
1107
1089
|
TrackExternal(),
|
|
1108
1090
|
__metadata("design:type", Command)
|
|
@@ -1123,19 +1105,17 @@ __decorate([
|
|
|
1123
1105
|
StoreInValueModel('busyFaceModel'),
|
|
1124
1106
|
__metadata("design:type", Object)
|
|
1125
1107
|
], CommandComponent.prototype, "busyFace", void 0);
|
|
1126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CommandComponent, decorators: [{
|
|
1127
1109
|
type: Component,
|
|
1128
|
-
args: [{
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
type: Optional
|
|
1138
|
-
}] }]; }, propDecorators: { command: [{
|
|
1110
|
+
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"] }]
|
|
1111
|
+
}], ctorParameters: function () {
|
|
1112
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1113
|
+
type: Inject,
|
|
1114
|
+
args: [POPUP_CONTAINER]
|
|
1115
|
+
}, {
|
|
1116
|
+
type: Optional
|
|
1117
|
+
}] }];
|
|
1118
|
+
}, propDecorators: { command: [{
|
|
1139
1119
|
type: Input
|
|
1140
1120
|
}], faceModel: [{
|
|
1141
1121
|
type: Input
|
|
@@ -1162,9 +1142,9 @@ class FlexComponent extends DisposableComponent {
|
|
|
1162
1142
|
ngOnInit() {
|
|
1163
1143
|
}
|
|
1164
1144
|
}
|
|
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: "
|
|
1145
|
+
FlexComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FlexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1146
|
+
FlexComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FlexComponent, selector: "aup-flex", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FlexComponent, decorators: [{
|
|
1168
1148
|
type: Component,
|
|
1169
1149
|
args: [{
|
|
1170
1150
|
selector: 'aup-flex',
|
|
@@ -1221,8 +1201,8 @@ class AbstractPopupMenuComponent extends PopupAwareComponent {
|
|
|
1221
1201
|
return this.faceAdapter.face;
|
|
1222
1202
|
}
|
|
1223
1203
|
}
|
|
1224
|
-
AbstractPopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1225
|
-
AbstractPopupMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1204
|
+
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 });
|
|
1205
|
+
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
1206
|
__decorate([
|
|
1227
1207
|
StoreInValueModel('enabledModel'),
|
|
1228
1208
|
__metadata("design:type", Boolean)
|
|
@@ -1231,17 +1211,15 @@ __decorate([
|
|
|
1231
1211
|
TrackExternal({ defaultValue: true }),
|
|
1232
1212
|
__metadata("design:type", ValueModel)
|
|
1233
1213
|
], AbstractPopupMenuComponent.prototype, "enabledModel", void 0);
|
|
1234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPopupMenuComponent, decorators: [{
|
|
1235
1215
|
type: Component,
|
|
1236
|
-
args: [{
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
args: [POPUP_CONTAINER]
|
|
1244
|
-
}] }]; }, propDecorators: { xPosition: [{
|
|
1216
|
+
args: [{ selector: 'aup-abstract-popup-menu', template: '', styles: [] }]
|
|
1217
|
+
}], ctorParameters: function () {
|
|
1218
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1219
|
+
type: Inject,
|
|
1220
|
+
args: [POPUP_CONTAINER]
|
|
1221
|
+
}] }];
|
|
1222
|
+
}, propDecorators: { xPosition: [{
|
|
1245
1223
|
type: Input
|
|
1246
1224
|
}], yPosition: [{
|
|
1247
1225
|
type: Input
|
|
@@ -1315,16 +1293,11 @@ class ToolBarComponent extends CommandContainer {
|
|
|
1315
1293
|
ngAfterViewInit() {
|
|
1316
1294
|
}
|
|
1317
1295
|
}
|
|
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: "
|
|
1296
|
+
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToolBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1297
|
+
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 });
|
|
1298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
1321
1299
|
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
|
-
}]
|
|
1300
|
+
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
1301
|
}], ctorParameters: function () { return []; } });
|
|
1329
1302
|
|
|
1330
1303
|
/**
|
|
@@ -1341,10 +1314,10 @@ class SeparatorComponent extends PopupAwareComponent {
|
|
|
1341
1314
|
ngOnInit() {
|
|
1342
1315
|
}
|
|
1343
1316
|
}
|
|
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: "
|
|
1317
|
+
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 });
|
|
1318
|
+
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: `
|
|
1319
|
+
<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"] }] });
|
|
1320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SeparatorComponent, decorators: [{
|
|
1348
1321
|
type: Component,
|
|
1349
1322
|
args: [{
|
|
1350
1323
|
selector: 'aup-separator',
|
|
@@ -1359,14 +1332,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
1359
1332
|
}`
|
|
1360
1333
|
]
|
|
1361
1334
|
}]
|
|
1362
|
-
}], ctorParameters: function () {
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
type:
|
|
1369
|
-
|
|
1335
|
+
}], ctorParameters: function () {
|
|
1336
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1337
|
+
type: Optional
|
|
1338
|
+
}, {
|
|
1339
|
+
type: Inject,
|
|
1340
|
+
args: [POPUP_CONTAINER]
|
|
1341
|
+
}] }, { type: CommandContainer, decorators: [{
|
|
1342
|
+
type: Optional
|
|
1343
|
+
}] }];
|
|
1344
|
+
}, propDecorators: { isHorizontalContainer: [{
|
|
1370
1345
|
type: HostBinding,
|
|
1371
1346
|
args: ['class.horizontal-container']
|
|
1372
1347
|
}] } });
|
|
@@ -1440,14 +1415,11 @@ class PopupMenuRendererComponent extends DisposableComponent {
|
|
|
1440
1415
|
undefined;
|
|
1441
1416
|
}
|
|
1442
1417
|
}
|
|
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: "
|
|
1418
|
+
PopupMenuRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1419
|
+
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"] }] });
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuRendererComponent, decorators: [{
|
|
1446
1421
|
type: Component,
|
|
1447
|
-
args: [{
|
|
1448
|
-
selector: "aup-popup-menu-renderer",
|
|
1449
|
-
templateUrl: "./popup-menu-renderer.component.html"
|
|
1450
|
-
}]
|
|
1422
|
+
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
1423
|
}], ctorParameters: function () { return []; }, propDecorators: { parent: [{
|
|
1452
1424
|
type: Input
|
|
1453
1425
|
}], menuComponent: [{
|
|
@@ -1481,31 +1453,29 @@ class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1481
1453
|
return this.faceModelDelegate.value;
|
|
1482
1454
|
}
|
|
1483
1455
|
}
|
|
1484
|
-
MoreMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1485
|
-
MoreMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1456
|
+
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 });
|
|
1457
|
+
MoreMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MoreMenuComponent, selector: "aup-more-menu", inputs: { tooltip: "tooltip" }, providers: [
|
|
1486
1458
|
{ 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]",
|
|
1459
|
+
], 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
1460
|
__decorate([
|
|
1489
1461
|
StoreInValueModel('tooltipModel'),
|
|
1490
1462
|
__metadata("design:type", String)
|
|
1491
1463
|
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MoreMenuComponent, decorators: [{
|
|
1493
1465
|
type: Component,
|
|
1494
|
-
args: [{
|
|
1495
|
-
selector: 'aup-more-menu',
|
|
1496
|
-
templateUrl: './popup-menu.component.html',
|
|
1497
|
-
providers: [
|
|
1466
|
+
args: [{ selector: 'aup-more-menu', providers: [
|
|
1498
1467
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1499
|
-
]
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1468
|
+
], 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" }]
|
|
1469
|
+
}], ctorParameters: function () {
|
|
1470
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1471
|
+
type: Inject,
|
|
1472
|
+
args: [POPUP_CONTAINER]
|
|
1473
|
+
}, {
|
|
1474
|
+
type: Optional
|
|
1475
|
+
}, {
|
|
1476
|
+
type: SkipSelf
|
|
1477
|
+
}] }];
|
|
1478
|
+
}, propDecorators: { tooltip: [{
|
|
1509
1479
|
type: Input
|
|
1510
1480
|
}] } });
|
|
1511
1481
|
|
|
@@ -1519,10 +1489,10 @@ class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1519
1489
|
// group.faceListModel = chain(this.faceModel).mapToList(face => [face]);
|
|
1520
1490
|
}
|
|
1521
1491
|
}
|
|
1522
|
-
PopupMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1523
|
-
PopupMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1492
|
+
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 });
|
|
1493
|
+
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
1494
|
{ 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]",
|
|
1495
|
+
], 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
1496
|
__decorate([
|
|
1527
1497
|
TrackExternal({ delegateTo: 'faceModelDelegate' }),
|
|
1528
1498
|
__metadata("design:type", ValueModel)
|
|
@@ -1531,24 +1501,21 @@ __decorate([
|
|
|
1531
1501
|
StoreInValueModel('faceModel'),
|
|
1532
1502
|
__metadata("design:type", Object)
|
|
1533
1503
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
1534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupMenuComponent, decorators: [{
|
|
1535
1505
|
type: Component,
|
|
1536
|
-
args: [{
|
|
1537
|
-
selector: 'aup-popup-menu',
|
|
1538
|
-
templateUrl: './popup-menu.component.html',
|
|
1539
|
-
styleUrls: [],
|
|
1540
|
-
providers: [
|
|
1506
|
+
args: [{ selector: 'aup-popup-menu', providers: [
|
|
1541
1507
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1542
|
-
]
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1508
|
+
], 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: [] }]
|
|
1509
|
+
}], ctorParameters: function () {
|
|
1510
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1511
|
+
type: Inject,
|
|
1512
|
+
args: [POPUP_CONTAINER]
|
|
1513
|
+
}, {
|
|
1514
|
+
type: Optional
|
|
1515
|
+
}, {
|
|
1516
|
+
type: SkipSelf
|
|
1517
|
+
}] }];
|
|
1518
|
+
}, propDecorators: { faceModel: [{
|
|
1552
1519
|
type: Input
|
|
1553
1520
|
}], face: [{
|
|
1554
1521
|
type: Input
|
|
@@ -1560,23 +1527,19 @@ class EmptyStateComponent {
|
|
|
1560
1527
|
ngOnInit() {
|
|
1561
1528
|
}
|
|
1562
1529
|
}
|
|
1563
|
-
EmptyStateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1564
|
-
EmptyStateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1530
|
+
EmptyStateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EmptyStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1531
|
+
EmptyStateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: EmptyStateComponent, selector: "aup-empty-state", ngImport: i0, template: `
|
|
1565
1532
|
<div class="container">
|
|
1566
1533
|
<ng-content></ng-content>
|
|
1567
1534
|
</div>
|
|
1568
1535
|
`, 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: "
|
|
1536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
1570
1537
|
type: Component,
|
|
1571
|
-
args: [{
|
|
1572
|
-
selector: 'aup-empty-state',
|
|
1573
|
-
template: `
|
|
1538
|
+
args: [{ selector: 'aup-empty-state', template: `
|
|
1574
1539
|
<div class="container">
|
|
1575
1540
|
<ng-content></ng-content>
|
|
1576
1541
|
</div>
|
|
1577
|
-
`,
|
|
1578
|
-
styleUrls: ['./empty-state.component.scss']
|
|
1579
|
-
}]
|
|
1542
|
+
`, 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
1543
|
}], ctorParameters: function () { return []; } });
|
|
1581
1544
|
|
|
1582
1545
|
class FocusContainerComponent extends DisposableComponent {
|
|
@@ -1595,23 +1558,20 @@ class FocusContainerComponent extends DisposableComponent {
|
|
|
1595
1558
|
this.focusManager.restoreFocus();
|
|
1596
1559
|
}
|
|
1597
1560
|
}
|
|
1598
|
-
FocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1599
|
-
FocusContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1561
|
+
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 });
|
|
1562
|
+
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
1563
|
{ provide: FocusManager }
|
|
1601
1564
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
1602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusContainerComponent, decorators: [{
|
|
1603
1566
|
type: Component,
|
|
1604
|
-
args: [{
|
|
1605
|
-
selector: 'aup-focus-container',
|
|
1606
|
-
templateUrl: './focus-container.component.html',
|
|
1607
|
-
styleUrls: ['./focus-container.component.scss'],
|
|
1608
|
-
providers: [
|
|
1567
|
+
args: [{ selector: 'aup-focus-container', providers: [
|
|
1609
1568
|
{ provide: FocusManager }
|
|
1610
|
-
]
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1569
|
+
], template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
1570
|
+
}], ctorParameters: function () {
|
|
1571
|
+
return [{ type: i1$7.FocusManager, decorators: [{
|
|
1572
|
+
type: Self
|
|
1573
|
+
}] }];
|
|
1574
|
+
}, propDecorators: { tabIndex: [{
|
|
1615
1575
|
type: HostBinding,
|
|
1616
1576
|
args: ['attr.tabindex']
|
|
1617
1577
|
}] } });
|
|
@@ -1643,9 +1603,9 @@ class FocusableComponent extends DisposableComponent {
|
|
|
1643
1603
|
return this._focusContext;
|
|
1644
1604
|
}
|
|
1645
1605
|
}
|
|
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: "
|
|
1606
|
+
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 });
|
|
1607
|
+
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 });
|
|
1608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FocusableComponent, decorators: [{
|
|
1649
1609
|
type: Component,
|
|
1650
1610
|
args: [{ template: '' }]
|
|
1651
1611
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$7.FocusManager }, { type: FocusBindingFactory }]; }, propDecorators: { focusable: [{
|
|
@@ -1741,9 +1701,9 @@ class AbstractInputComponent extends DisposableComponent {
|
|
|
1741
1701
|
return this.onValueEditedListeners.add(callback);
|
|
1742
1702
|
}
|
|
1743
1703
|
}
|
|
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: "
|
|
1704
|
+
AbstractInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1705
|
+
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 });
|
|
1706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractInputComponent, decorators: [{
|
|
1747
1707
|
type: Component,
|
|
1748
1708
|
args: [{ template: '' }]
|
|
1749
1709
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -1845,13 +1805,13 @@ class AbstractListInputComponent extends AbstractInputComponent {
|
|
|
1845
1805
|
});
|
|
1846
1806
|
}
|
|
1847
1807
|
}
|
|
1848
|
-
AbstractListInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1849
|
-
AbstractListInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1808
|
+
AbstractListInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractListInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1809
|
+
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
1810
|
__decorate([
|
|
1851
1811
|
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1852
1812
|
__metadata("design:type", Object)
|
|
1853
1813
|
], AbstractListInputComponent.prototype, "listModel", void 0);
|
|
1854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractListInputComponent, decorators: [{
|
|
1855
1815
|
type: Component,
|
|
1856
1816
|
args: [{ template: '' }]
|
|
1857
1817
|
}], ctorParameters: function () { return []; }, propDecorators: { listModel: [{
|
|
@@ -1910,13 +1870,13 @@ class AbstractValueInputComponent extends AbstractInputComponent {
|
|
|
1910
1870
|
});
|
|
1911
1871
|
}
|
|
1912
1872
|
}
|
|
1913
|
-
AbstractValueInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1914
|
-
AbstractValueInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1873
|
+
AbstractValueInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractValueInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1874
|
+
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
1875
|
__decorate([
|
|
1916
1876
|
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1917
1877
|
__metadata("design:type", Object)
|
|
1918
1878
|
], AbstractValueInputComponent.prototype, "valueModel", void 0);
|
|
1919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractValueInputComponent, decorators: [{
|
|
1920
1880
|
type: Component,
|
|
1921
1881
|
args: [{ template: '' }]
|
|
1922
1882
|
}], ctorParameters: function () { return []; }, propDecorators: { valueModel: [{
|
|
@@ -1958,8 +1918,8 @@ class AutocompleteInputComponent extends AbstractValueInputComponent {
|
|
|
1958
1918
|
this.valueModel.value = $event.option.value;
|
|
1959
1919
|
}
|
|
1960
1920
|
}
|
|
1961
|
-
AutocompleteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1962
|
-
AutocompleteInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1921
|
+
AutocompleteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AutocompleteInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1922
|
+
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
1923
|
__decorate([
|
|
1964
1924
|
TrackExternal(),
|
|
1965
1925
|
__metadata("design:type", ListModel)
|
|
@@ -1968,13 +1928,9 @@ __decorate([
|
|
|
1968
1928
|
StoreInListModel('optionsModel'),
|
|
1969
1929
|
__metadata("design:type", Array)
|
|
1970
1930
|
], AutocompleteInputComponent.prototype, "options", void 0);
|
|
1971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AutocompleteInputComponent, decorators: [{
|
|
1972
1932
|
type: Component,
|
|
1973
|
-
args: [{
|
|
1974
|
-
selector: 'aup-autocomplete-input',
|
|
1975
|
-
templateUrl: './autocomplete-input.component.html',
|
|
1976
|
-
styleUrls: ['./autocomplete-input.component.scss']
|
|
1977
|
-
}]
|
|
1933
|
+
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
1934
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
1979
1935
|
type: Input
|
|
1980
1936
|
}], options: [{
|
|
@@ -2001,15 +1957,11 @@ class CheckboxInputComponent extends AbstractValueInputComponent {
|
|
|
2001
1957
|
ngOnInit() {
|
|
2002
1958
|
}
|
|
2003
1959
|
}
|
|
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: "
|
|
1960
|
+
CheckboxInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1961
|
+
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"] }] });
|
|
1962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxInputComponent, decorators: [{
|
|
2007
1963
|
type: Component,
|
|
2008
|
-
args: [{
|
|
2009
|
-
selector: 'aup-checkbox-input',
|
|
2010
|
-
templateUrl: './checkbox-input.component.html',
|
|
2011
|
-
styleUrls: ['./checkbox-input.component.scss']
|
|
2012
|
-
}]
|
|
1964
|
+
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
1965
|
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
2014
1966
|
type: Input
|
|
2015
1967
|
}], labelPosition: [{
|
|
@@ -2031,8 +1983,8 @@ class MultipleSelectInputComponent extends AbstractListInputComponent {
|
|
|
2031
1983
|
ngOnInit() {
|
|
2032
1984
|
}
|
|
2033
1985
|
}
|
|
2034
|
-
MultipleSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2035
|
-
MultipleSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1986
|
+
MultipleSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MultipleSelectInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1987
|
+
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
1988
|
__decorate([
|
|
2037
1989
|
TrackExternal(),
|
|
2038
1990
|
__metadata("design:type", ListModel)
|
|
@@ -2041,13 +1993,9 @@ __decorate([
|
|
|
2041
1993
|
StoreInListModel('optionsModel'),
|
|
2042
1994
|
__metadata("design:type", Array)
|
|
2043
1995
|
], MultipleSelectInputComponent.prototype, "options", void 0);
|
|
2044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MultipleSelectInputComponent, decorators: [{
|
|
2045
1997
|
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
|
-
}]
|
|
1998
|
+
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
1999
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
2052
2000
|
type: Input
|
|
2053
2001
|
}], options: [{
|
|
@@ -2070,15 +2018,11 @@ class NumberInputComponent extends AbstractValueInputComponent {
|
|
|
2070
2018
|
ngOnInit() {
|
|
2071
2019
|
}
|
|
2072
2020
|
}
|
|
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: "
|
|
2021
|
+
NumberInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NumberInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2022
|
+
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]" }] });
|
|
2023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
2076
2024
|
type: Component,
|
|
2077
|
-
args: [{
|
|
2078
|
-
selector: 'aup-number-input',
|
|
2079
|
-
templateUrl: './number-input.component.html',
|
|
2080
|
-
styleUrls: ['./number-input.component.scss']
|
|
2081
|
-
}]
|
|
2025
|
+
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
2026
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2083
2027
|
type: Input
|
|
2084
2028
|
}], min: [{
|
|
@@ -2096,15 +2040,11 @@ class PasswordInputComponent extends AbstractValueInputComponent {
|
|
|
2096
2040
|
ngOnInit() {
|
|
2097
2041
|
}
|
|
2098
2042
|
}
|
|
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: "
|
|
2043
|
+
PasswordInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PasswordInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2044
|
+
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"] }] });
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PasswordInputComponent, decorators: [{
|
|
2102
2046
|
type: Component,
|
|
2103
|
-
args: [{
|
|
2104
|
-
selector: 'aup-password-input',
|
|
2105
|
-
templateUrl: './password-input.component.html',
|
|
2106
|
-
styleUrls: ['./password-input.component.scss']
|
|
2107
|
-
}]
|
|
2047
|
+
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
2048
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2109
2049
|
type: Input
|
|
2110
2050
|
}] } });
|
|
@@ -2124,8 +2064,8 @@ class SelectInputComponent extends AbstractValueInputComponent {
|
|
|
2124
2064
|
ngOnInit() {
|
|
2125
2065
|
}
|
|
2126
2066
|
}
|
|
2127
|
-
SelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2128
|
-
SelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2067
|
+
SelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2068
|
+
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
2069
|
__decorate([
|
|
2130
2070
|
TrackExternal(),
|
|
2131
2071
|
__metadata("design:type", ListModel)
|
|
@@ -2134,13 +2074,9 @@ __decorate([
|
|
|
2134
2074
|
StoreInListModel('optionsModel'),
|
|
2135
2075
|
__metadata("design:type", Array)
|
|
2136
2076
|
], SelectInputComponent.prototype, "options", void 0);
|
|
2137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputComponent, decorators: [{
|
|
2138
2078
|
type: Component,
|
|
2139
|
-
args: [{
|
|
2140
|
-
selector: 'aup-select-input',
|
|
2141
|
-
templateUrl: './select-input.component.html',
|
|
2142
|
-
styleUrls: ['./select-input.component.scss']
|
|
2143
|
-
}]
|
|
2079
|
+
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
2080
|
}], ctorParameters: function () { return []; }, propDecorators: { optionsModel: [{
|
|
2145
2081
|
type: Input
|
|
2146
2082
|
}], options: [{
|
|
@@ -2171,8 +2107,8 @@ class StringInputComponent extends AbstractValueInputComponent {
|
|
|
2171
2107
|
ngOnInit() {
|
|
2172
2108
|
}
|
|
2173
2109
|
}
|
|
2174
|
-
StringInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2175
|
-
StringInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2110
|
+
StringInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2111
|
+
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
2112
|
__decorate([
|
|
2177
2113
|
TrackExternal({ defaultValue: false }),
|
|
2178
2114
|
__metadata("design:type", ValueModel)
|
|
@@ -2181,13 +2117,9 @@ __decorate([
|
|
|
2181
2117
|
StoreInValueModel('enableClearModel'),
|
|
2182
2118
|
__metadata("design:type", Boolean)
|
|
2183
2119
|
], StringInputComponent.prototype, "enableClear", void 0);
|
|
2184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputComponent, decorators: [{
|
|
2185
2121
|
type: Component,
|
|
2186
|
-
args: [{
|
|
2187
|
-
selector: 'aup-string-input',
|
|
2188
|
-
templateUrl: './string-input.component.html',
|
|
2189
|
-
styleUrls: ['./string-input.component.scss']
|
|
2190
|
-
}]
|
|
2122
|
+
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
2123
|
}], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
|
|
2192
2124
|
type: Input
|
|
2193
2125
|
}], enableClearModel: [{
|
|
@@ -2209,15 +2141,11 @@ class TextInputComponent extends AbstractValueInputComponent {
|
|
|
2209
2141
|
ngOnInit() {
|
|
2210
2142
|
}
|
|
2211
2143
|
}
|
|
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: "
|
|
2144
|
+
TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TextInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2145
|
+
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"] }] });
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
2215
2147
|
type: Component,
|
|
2216
|
-
args: [{
|
|
2217
|
-
selector: 'aup-text-input',
|
|
2218
|
-
templateUrl: './text-input.component.html',
|
|
2219
|
-
styleUrls: ['./text-input.component.scss']
|
|
2220
|
-
}]
|
|
2148
|
+
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
2149
|
}], ctorParameters: function () { return []; }, propDecorators: { rows: [{
|
|
2222
2150
|
type: Input
|
|
2223
2151
|
}], cols: [{
|
|
@@ -2234,8 +2162,8 @@ class LoadingContainerComponent extends GarbageCollector {
|
|
|
2234
2162
|
ngOnInit() {
|
|
2235
2163
|
}
|
|
2236
2164
|
}
|
|
2237
|
-
LoadingContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2238
|
-
LoadingContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2165
|
+
LoadingContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2166
|
+
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
2167
|
__decorate([
|
|
2240
2168
|
TrackExternal(),
|
|
2241
2169
|
__metadata("design:type", ValueModel)
|
|
@@ -2252,13 +2180,9 @@ __decorate([
|
|
|
2252
2180
|
StoreInValueModel("messageModel"),
|
|
2253
2181
|
__metadata("design:type", String)
|
|
2254
2182
|
], LoadingContainerComponent.prototype, "message", void 0);
|
|
2255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingContainerComponent, decorators: [{
|
|
2256
2184
|
type: Component,
|
|
2257
|
-
args: [{
|
|
2258
|
-
selector: 'aup-loading-container',
|
|
2259
|
-
templateUrl: `./loading-container.component.html`,
|
|
2260
|
-
styleUrls: ['./loading-container.component.scss']
|
|
2261
|
-
}]
|
|
2185
|
+
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
2186
|
}], ctorParameters: function () { return []; }, propDecorators: { loadingModel: [{
|
|
2263
2187
|
type: Input
|
|
2264
2188
|
}], loading: [{
|
|
@@ -2276,15 +2200,11 @@ class NoopComponent {
|
|
|
2276
2200
|
constructor() {
|
|
2277
2201
|
}
|
|
2278
2202
|
}
|
|
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: "
|
|
2203
|
+
NoopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2204
|
+
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"] });
|
|
2205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopComponent, decorators: [{
|
|
2282
2206
|
type: Component,
|
|
2283
|
-
args: [{
|
|
2284
|
-
selector: 'aup-noop',
|
|
2285
|
-
templateUrl: './noop.component.html',
|
|
2286
|
-
styleUrls: ['./noop.component.scss']
|
|
2287
|
-
}]
|
|
2207
|
+
args: [{ selector: 'aup-noop', template: "", styles: [":host{display:block}\n"] }]
|
|
2288
2208
|
}], ctorParameters: function () { return []; } });
|
|
2289
2209
|
|
|
2290
2210
|
class SectionHeaderComponent extends DisposableComponent {
|
|
@@ -2298,15 +2218,11 @@ class SectionHeaderComponent extends DisposableComponent {
|
|
|
2298
2218
|
ngOnInit() {
|
|
2299
2219
|
}
|
|
2300
2220
|
}
|
|
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: "
|
|
2221
|
+
SectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2222
|
+
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"] });
|
|
2223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SectionHeaderComponent, decorators: [{
|
|
2304
2224
|
type: Component,
|
|
2305
|
-
args: [{
|
|
2306
|
-
selector: 'aup-section-header',
|
|
2307
|
-
templateUrl: './section-header.component.html',
|
|
2308
|
-
styleUrls: ['./section-header.component.scss']
|
|
2309
|
-
}]
|
|
2225
|
+
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
2226
|
}], ctorParameters: function () { return []; }, propDecorators: { size: [{
|
|
2311
2227
|
type: Input
|
|
2312
2228
|
}, {
|
|
@@ -2341,9 +2257,9 @@ class SwitchCaseWhenDirective extends SwitchCaseOption {
|
|
|
2341
2257
|
return this.aupSwitchCaseWhen === value;
|
|
2342
2258
|
}
|
|
2343
2259
|
}
|
|
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: "
|
|
2260
|
+
SwitchCaseWhenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseWhenDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2261
|
+
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 });
|
|
2262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseWhenDirective, decorators: [{
|
|
2347
2263
|
type: Directive,
|
|
2348
2264
|
args: [{
|
|
2349
2265
|
selector: '[aupSwitchCaseWhen]',
|
|
@@ -2361,9 +2277,9 @@ class SwitchCaseDefaultDirective extends SwitchCaseOption {
|
|
|
2361
2277
|
return false;
|
|
2362
2278
|
}
|
|
2363
2279
|
}
|
|
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: "
|
|
2280
|
+
SwitchCaseDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseDefaultDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2281
|
+
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 });
|
|
2282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseDefaultDirective, decorators: [{
|
|
2367
2283
|
type: Directive,
|
|
2368
2284
|
args: [{
|
|
2369
2285
|
selector: '[aupSwitchCaseDefault]',
|
|
@@ -2421,8 +2337,8 @@ class SwitchCaseComponent extends DisposableComponent {
|
|
|
2421
2337
|
}
|
|
2422
2338
|
}
|
|
2423
2339
|
}
|
|
2424
|
-
SwitchCaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2425
|
-
SwitchCaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2340
|
+
SwitchCaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2341
|
+
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
2342
|
__decorate([
|
|
2427
2343
|
TrackExternal(),
|
|
2428
2344
|
__metadata("design:type", ValueModel)
|
|
@@ -2431,13 +2347,9 @@ __decorate([
|
|
|
2431
2347
|
StoreInValueModel('switchModel'),
|
|
2432
2348
|
__metadata("design:type", Object)
|
|
2433
2349
|
], SwitchCaseComponent.prototype, "switch", void 0);
|
|
2434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SwitchCaseComponent, decorators: [{
|
|
2435
2351
|
type: Component,
|
|
2436
|
-
args: [{
|
|
2437
|
-
selector: 'aup-switch-case',
|
|
2438
|
-
templateUrl: './switch-case.component.html',
|
|
2439
|
-
styleUrls: ['./switch-case.component.scss']
|
|
2440
|
-
}]
|
|
2352
|
+
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
2353
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { switchModel: [{
|
|
2442
2354
|
type: Input
|
|
2443
2355
|
}], switch: [{
|
|
@@ -2525,9 +2437,9 @@ class ResizeAwareComponent extends DisposableComponent {
|
|
|
2525
2437
|
this._boundsModel.value = Bounds.ofElement(this.nativeElement);
|
|
2526
2438
|
}
|
|
2527
2439
|
}
|
|
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: "
|
|
2440
|
+
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 });
|
|
2441
|
+
ResizeAwareComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ResizeAwareComponent, usesInheritance: true, ngImport: i0 });
|
|
2442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ResizeAwareComponent, decorators: [{
|
|
2531
2443
|
type: Directive
|
|
2532
2444
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2533
2445
|
|
|
@@ -2632,15 +2544,11 @@ class DefaultCellRendererComponent {
|
|
|
2632
2544
|
return this._value;
|
|
2633
2545
|
}
|
|
2634
2546
|
}
|
|
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: "
|
|
2547
|
+
DefaultCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2548
|
+
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 } });
|
|
2549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultCellRendererComponent, decorators: [{
|
|
2638
2550
|
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
|
-
}]
|
|
2551
|
+
args: [{ selector: 'aup-default-cell-renderer', template: "<span [innerHTML]=\"value| aupHighlight\"></span>\n", styles: [""] }]
|
|
2644
2552
|
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
2645
2553
|
type: Input
|
|
2646
2554
|
}] } });
|
|
@@ -2649,40 +2557,15 @@ class DefaultHeaderCellRendererComponent {
|
|
|
2649
2557
|
constructor() {
|
|
2650
2558
|
}
|
|
2651
2559
|
}
|
|
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: "
|
|
2560
|
+
DefaultHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2561
|
+
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: [""] });
|
|
2562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultHeaderCellRendererComponent, decorators: [{
|
|
2655
2563
|
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
|
-
}]
|
|
2564
|
+
args: [{ selector: 'aup-default-header-renderer', template: "{{headerText}}\n", styles: [""] }]
|
|
2661
2565
|
}], ctorParameters: function () { return []; }, propDecorators: { headerText: [{
|
|
2662
2566
|
type: Input
|
|
2663
2567
|
}] } });
|
|
2664
2568
|
|
|
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
2569
|
class EditRowControls extends DisposableComponent {
|
|
2687
2570
|
constructor() {
|
|
2688
2571
|
super();
|
|
@@ -2712,19 +2595,15 @@ class EditRowControls extends DisposableComponent {
|
|
|
2712
2595
|
return (_a = this.editSession) === null || _a === void 0 ? void 0 : _a.form;
|
|
2713
2596
|
}
|
|
2714
2597
|
}
|
|
2715
|
-
EditRowControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2716
|
-
EditRowControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2598
|
+
EditRowControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EditRowControls, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2599
|
+
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
2600
|
__decorate([
|
|
2718
2601
|
TrackExternal(),
|
|
2719
2602
|
__metadata("design:type", Command)
|
|
2720
2603
|
], EditRowControls.prototype, "editRowCommand", void 0);
|
|
2721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: EditRowControls, decorators: [{
|
|
2722
2605
|
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
|
-
}]
|
|
2606
|
+
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
2607
|
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
2729
2608
|
type: Input
|
|
2730
2609
|
}], editRowCommand: [{
|
|
@@ -2746,15 +2625,11 @@ class SelectCellRendererComponent extends DisposableComponent {
|
|
|
2746
2625
|
return (_a = this.selectionModel) === null || _a === void 0 ? void 0 : _a.isSelected(this.row);
|
|
2747
2626
|
}
|
|
2748
2627
|
}
|
|
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: "
|
|
2628
|
+
SelectCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2629
|
+
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"] }] });
|
|
2630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectCellRendererComponent, decorators: [{
|
|
2752
2631
|
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
|
-
}]
|
|
2632
|
+
args: [{ selector: 'aup-select-cell-renderer', template: "<mat-checkbox [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\"></mat-checkbox>\n", styles: [""] }]
|
|
2758
2633
|
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
2759
2634
|
type: Input
|
|
2760
2635
|
}] } });
|
|
@@ -2778,15 +2653,11 @@ class SelectHeaderCellRendererComponent extends DisposableComponent {
|
|
|
2778
2653
|
return this.enableHeaderControls && this.selectionModel.getDelegate() instanceof MultipleSelectionModel;
|
|
2779
2654
|
}
|
|
2780
2655
|
}
|
|
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: "
|
|
2656
|
+
SelectHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2657
|
+
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"] }] });
|
|
2658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectHeaderCellRendererComponent, decorators: [{
|
|
2784
2659
|
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
|
-
}]
|
|
2660
|
+
args: [{ selector: 'aup-select-header-cell-renderer', template: "<mat-checkbox *ngIf=\"isVisible()\" [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\" [indeterminate]=\"this.isIntermediate()\"></mat-checkbox>\n", styles: [""] }]
|
|
2790
2661
|
}], ctorParameters: function () { return []; } });
|
|
2791
2662
|
|
|
2792
2663
|
const noop = () => {
|
|
@@ -3039,12 +2910,16 @@ class ListPropertyColumnModel extends ColumnModel {
|
|
|
3039
2910
|
this._format = (value) => value.map(v => v === null || v === void 0 ? void 0 : v.toString()).join(', ');
|
|
3040
2911
|
this.cellRenderer(DefaultCellRendererComponent);
|
|
3041
2912
|
this.useTextSearchPredicate((row, regex) => {
|
|
3042
|
-
|
|
2913
|
+
let rowElement = row[this.property];
|
|
2914
|
+
// @ts-ignore Started complaining in ts 4.5.. but I think my logic is correct...
|
|
2915
|
+
return regex.test(this._format(rowElement));
|
|
3043
2916
|
});
|
|
3044
2917
|
}
|
|
3045
2918
|
cellRenderer(componentType) {
|
|
3046
2919
|
this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData) => {
|
|
3047
|
-
|
|
2920
|
+
let rowElement = rowData.row[this.property];
|
|
2921
|
+
// @ts-ignore Started complaining in ts 4.5.. but I think my logic is correct...
|
|
2922
|
+
component.value = this._format(rowElement);
|
|
3048
2923
|
}));
|
|
3049
2924
|
return this;
|
|
3050
2925
|
}
|
|
@@ -3296,8 +3171,8 @@ class AbstractTableComponent extends ResizeAwareComponent {
|
|
|
3296
3171
|
return classes;
|
|
3297
3172
|
}
|
|
3298
3173
|
}
|
|
3299
|
-
AbstractTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3300
|
-
AbstractTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3174
|
+
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 });
|
|
3175
|
+
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
3176
|
__decorate([
|
|
3302
3177
|
TrackExternal({ defaultValue: true }),
|
|
3303
3178
|
__metadata("design:type", ValueModel)
|
|
@@ -3306,7 +3181,7 @@ __decorate([
|
|
|
3306
3181
|
StoreInValueModel('showHeaderModel'),
|
|
3307
3182
|
__metadata("design:type", Boolean)
|
|
3308
3183
|
], AbstractTableComponent.prototype, "showHeader", void 0);
|
|
3309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractTableComponent, decorators: [{
|
|
3310
3185
|
type: Component,
|
|
3311
3186
|
args: [{
|
|
3312
3187
|
selector: 'aup-abstract-table',
|
|
@@ -3343,9 +3218,9 @@ class ColumnTemplateDirective {
|
|
|
3343
3218
|
this.host.registerColumnTemplate(this.aupColumnTemplateColumnId, this.templateRef, this.viewContainer, this.aupColumnTemplateFillCell, (_a = this.aupColumnTemplateAutoPadChild) !== null && _a !== void 0 ? _a : this.aupColumnTemplateFillCell);
|
|
3344
3219
|
}
|
|
3345
3220
|
}
|
|
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: "
|
|
3221
|
+
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 });
|
|
3222
|
+
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 });
|
|
3223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ColumnTemplateDirective, decorators: [{
|
|
3349
3224
|
type: Directive,
|
|
3350
3225
|
args: [{
|
|
3351
3226
|
selector: '[aupColumnTemplate]'
|
|
@@ -3360,49 +3235,256 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
3360
3235
|
type: Input
|
|
3361
3236
|
}] } });
|
|
3362
3237
|
|
|
3363
|
-
class
|
|
3238
|
+
class TableCellRendererComponent extends DisposableComponent {
|
|
3364
3239
|
constructor() {
|
|
3365
3240
|
super();
|
|
3366
|
-
this.
|
|
3367
|
-
|
|
3368
|
-
this.
|
|
3241
|
+
this.defaultClassNames = 'aup-cell-renderer';
|
|
3242
|
+
this.fillCell = false;
|
|
3243
|
+
this.padChild = false;
|
|
3244
|
+
this.editRowCommand = Command.create(() => {
|
|
3245
|
+
this.tableModel.startEditSession(this.row);
|
|
3246
|
+
});
|
|
3369
3247
|
}
|
|
3370
|
-
|
|
3371
|
-
|
|
3248
|
+
ngOnInit() {
|
|
3249
|
+
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
3250
|
+
this.firstEditableColumn = chain(this.tableModel.firstEditableColumn).equals(this.column); // this would break if the column changed.
|
|
3251
|
+
this.column.attachCell(this);
|
|
3372
3252
|
}
|
|
3373
|
-
|
|
3374
|
-
return this.
|
|
3253
|
+
hasActiveEditor() {
|
|
3254
|
+
return !!this.editSession && !!this.column.hasEditorPortal();
|
|
3375
3255
|
}
|
|
3376
|
-
|
|
3377
|
-
|
|
3256
|
+
initialiseRenderer(ref) {
|
|
3257
|
+
this.column.onRendererAttached(this, ref);
|
|
3378
3258
|
}
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3259
|
+
initialiseEditor(ref) {
|
|
3260
|
+
this.column.onEditorAttached(this, ref);
|
|
3261
|
+
if (this.firstEditableColumn.value) {
|
|
3262
|
+
// @see https://github.com/angular/components/issues/12070
|
|
3263
|
+
setTimeout(() => this.tryAndFocusEditor(ref));
|
|
3382
3264
|
}
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3265
|
+
}
|
|
3266
|
+
tryAndFocusEditor(ref) {
|
|
3267
|
+
var _a;
|
|
3268
|
+
if (ref instanceof ComponentRef) {
|
|
3269
|
+
const editor = ref.instance;
|
|
3270
|
+
// CellEditorComponent<Row> | CellListEditorComponent<Row>
|
|
3271
|
+
if (editor.requestFocus) {
|
|
3272
|
+
editor.requestFocus();
|
|
3387
3273
|
}
|
|
3388
3274
|
else {
|
|
3389
|
-
|
|
3275
|
+
const model = (editor['valueModel'] || editor['listModel']);
|
|
3276
|
+
(_a = model === null || model === void 0 ? void 0 : model.focusContext) === null || _a === void 0 ? void 0 : _a.requestFocus();
|
|
3390
3277
|
}
|
|
3391
|
-
|
|
3392
|
-
});
|
|
3393
|
-
return column;
|
|
3278
|
+
}
|
|
3394
3279
|
}
|
|
3395
|
-
|
|
3396
|
-
|
|
3280
|
+
// @Trace()
|
|
3281
|
+
ngOnChanges(changes) {
|
|
3282
|
+
this.column.updatePortalContent(this);
|
|
3283
|
+
}
|
|
3284
|
+
getRendererPortal() {
|
|
3285
|
+
return this[CELL_RENDERER_PORTAL];
|
|
3286
|
+
}
|
|
3287
|
+
getEditorPortal() {
|
|
3288
|
+
return this[CELL_EDITOR_PORTAL];
|
|
3289
|
+
}
|
|
3290
|
+
getRowData() {
|
|
3291
|
+
return {
|
|
3292
|
+
row: this.row,
|
|
3293
|
+
editSession: this.editSession,
|
|
3294
|
+
editRowCommand: this.editRowCommand
|
|
3295
|
+
};
|
|
3397
3296
|
}
|
|
3398
3297
|
}
|
|
3298
|
+
TableCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3299
|
+
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"] }] });
|
|
3300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCellRendererComponent, decorators: [{
|
|
3301
|
+
type: Component,
|
|
3302
|
+
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: [""] }]
|
|
3303
|
+
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
3304
|
+
type: Input
|
|
3305
|
+
}], column: [{
|
|
3306
|
+
type: Input
|
|
3307
|
+
}], editSession: [{
|
|
3308
|
+
type: Input
|
|
3309
|
+
}], tableModel: [{
|
|
3310
|
+
type: Input
|
|
3311
|
+
}], defaultClassNames: [{
|
|
3312
|
+
type: HostBinding,
|
|
3313
|
+
args: ['class']
|
|
3314
|
+
}], fillCell: [{
|
|
3315
|
+
type: HostBinding,
|
|
3316
|
+
args: ['class.fillCell']
|
|
3317
|
+
}], padChild: [{
|
|
3318
|
+
type: HostBinding,
|
|
3319
|
+
args: ['class.padChild']
|
|
3320
|
+
}] } });
|
|
3399
3321
|
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
this.
|
|
3322
|
+
class TableHeaderCellRendererComponent {
|
|
3323
|
+
constructor() {
|
|
3324
|
+
this.defaultClassNames = 'aup-header-cell-renderer';
|
|
3325
|
+
}
|
|
3326
|
+
ngOnInit() {
|
|
3327
|
+
this.column.attachHeaderCell(this);
|
|
3328
|
+
}
|
|
3329
|
+
// @Trace()
|
|
3330
|
+
initialiseHeader(ref) {
|
|
3331
|
+
this.column.onHeaderAttached(this, ref);
|
|
3332
|
+
}
|
|
3333
|
+
getPortal() {
|
|
3334
|
+
return this[HEADER_CELL_RENDERER_PORTAL];
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
TableHeaderCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3338
|
+
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"] }] });
|
|
3339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellRendererComponent, decorators: [{
|
|
3340
|
+
type: Component,
|
|
3341
|
+
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"] }]
|
|
3342
|
+
}], ctorParameters: function () { return []; }, propDecorators: { column: [{
|
|
3343
|
+
type: Input
|
|
3344
|
+
}], defaultClassNames: [{
|
|
3345
|
+
type: HostBinding,
|
|
3346
|
+
args: ['class']
|
|
3347
|
+
}] } });
|
|
3348
|
+
|
|
3349
|
+
class MenuItemData {
|
|
3350
|
+
constructor(factory, face) {
|
|
3351
|
+
this.factory = factory;
|
|
3352
|
+
this.face = face;
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
/**
|
|
3356
|
+
*
|
|
3357
|
+
*/
|
|
3358
|
+
class TableRowMenuComponent extends DisposableComponent {
|
|
3359
|
+
constructor() {
|
|
3360
|
+
super();
|
|
3361
|
+
this.actions = [];
|
|
3362
|
+
this.moreActions = [];
|
|
3363
|
+
}
|
|
3364
|
+
registerAction(commandFactory, properties) {
|
|
3365
|
+
this.actions.push(new MenuItemData(commandFactory, properties));
|
|
3366
|
+
}
|
|
3367
|
+
registerMoreAction(commandFactory, properties) {
|
|
3368
|
+
this.moreActions.push(new MenuItemData(commandFactory, properties));
|
|
3369
|
+
}
|
|
3370
|
+
createMoreMenuCommand(item, value) {
|
|
3371
|
+
const { when } = Dsl.disposeWith(this);
|
|
3372
|
+
const command = item.factory.create(value);
|
|
3373
|
+
when(command.busy).becomesFalsey(() => {
|
|
3374
|
+
this.closeMoreMenu();
|
|
3375
|
+
});
|
|
3376
|
+
return command;
|
|
3377
|
+
}
|
|
3378
|
+
closeMoreMenu() {
|
|
3379
|
+
this.menu.closeMenu();
|
|
3380
|
+
}
|
|
3381
|
+
}
|
|
3382
|
+
TableRowMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3383
|
+
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: `
|
|
3384
|
+
<aup-tool-bar>
|
|
3385
|
+
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3386
|
+
[face]="action.face"></aup-command>
|
|
3387
|
+
</aup-tool-bar>
|
|
3388
|
+
<ng-container *ngIf="moreActions.length > 0">
|
|
3389
|
+
<aup-more-menu>
|
|
3390
|
+
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3391
|
+
[face]="action.face"></aup-command>
|
|
3392
|
+
</aup-more-menu>
|
|
3393
|
+
</ng-container>
|
|
3394
|
+
`, 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"] }] });
|
|
3395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowMenuComponent, decorators: [{
|
|
3396
|
+
type: Component,
|
|
3397
|
+
args: [{
|
|
3398
|
+
selector: 'aup-table-row-menu',
|
|
3399
|
+
template: `
|
|
3400
|
+
<aup-tool-bar>
|
|
3401
|
+
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3402
|
+
[face]="action.face"></aup-command>
|
|
3403
|
+
</aup-tool-bar>
|
|
3404
|
+
<ng-container *ngIf="moreActions.length > 0">
|
|
3405
|
+
<aup-more-menu>
|
|
3406
|
+
<aup-command *ngFor="let action of moreActions" [command]="action.factory.create(value)"
|
|
3407
|
+
[face]="action.face"></aup-command>
|
|
3408
|
+
</aup-more-menu>
|
|
3409
|
+
</ng-container>
|
|
3410
|
+
`,
|
|
3411
|
+
styles: [`:host {
|
|
3412
|
+
display: inline-flex;
|
|
3413
|
+
flex-direction: row;
|
|
3414
|
+
align-items: center;
|
|
3415
|
+
}`]
|
|
3416
|
+
}]
|
|
3417
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
3418
|
+
type: Input
|
|
3419
|
+
}], menu: [{
|
|
3420
|
+
type: ViewChild,
|
|
3421
|
+
args: [MatMenuTrigger]
|
|
3422
|
+
}] } });
|
|
3423
|
+
|
|
3424
|
+
class ColumnListModel extends AbstractComputedListModel {
|
|
3425
|
+
constructor() {
|
|
3426
|
+
super();
|
|
3427
|
+
this._allColumns = new MutableListModel();
|
|
3428
|
+
const { chain } = Dsl.disposeWith(this);
|
|
3429
|
+
this.columnsById = chain(this._allColumns).indexBy('columnId');
|
|
3430
|
+
}
|
|
3431
|
+
get allColumns() {
|
|
3432
|
+
return this._allColumns.readonly;
|
|
3433
|
+
}
|
|
3434
|
+
getColumn(id) {
|
|
3435
|
+
return this.columnsById.get(id);
|
|
3436
|
+
}
|
|
3437
|
+
hasColumn(id) {
|
|
3438
|
+
return !!this.columnsById.get(id);
|
|
3439
|
+
}
|
|
3440
|
+
addColumn(column, index) {
|
|
3441
|
+
if (this.hasColumn(column.columnId)) {
|
|
3442
|
+
lang.illegalState(`Column with id=${column.columnId} already exists`);
|
|
3443
|
+
}
|
|
3444
|
+
this.registerDisposable(column);
|
|
3445
|
+
this.runInTransaction(() => {
|
|
3446
|
+
if (!isNil(index)) {
|
|
3447
|
+
this._allColumns.insert(index, column);
|
|
3448
|
+
}
|
|
3449
|
+
else {
|
|
3450
|
+
this._allColumns.push(column);
|
|
3451
|
+
}
|
|
3452
|
+
this.registerDisposable(this.trackSource(column.visible));
|
|
3453
|
+
});
|
|
3454
|
+
return column;
|
|
3455
|
+
}
|
|
3456
|
+
doComputeValue() {
|
|
3457
|
+
return this._allColumns.value.filter(c => c.visible.value);
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
class EditSession extends GarbageCollector {
|
|
3462
|
+
constructor(rowId, row, form, saveCommand) {
|
|
3463
|
+
super();
|
|
3464
|
+
this.rowId = rowId;
|
|
3465
|
+
this.form = form;
|
|
3466
|
+
this.saveCommand = saveCommand;
|
|
3467
|
+
this._liveRowValue = new MutableValueModel();
|
|
3468
|
+
this.liveRowValue = this._liveRowValue.readonly;
|
|
3469
|
+
this.form.load(row);
|
|
3470
|
+
this._liveRowValue.value = row;
|
|
3471
|
+
this.form.onEdit(() => {
|
|
3472
|
+
// if (!this._liveRowValue.value[immerable]) {
|
|
3473
|
+
// console.warn()
|
|
3474
|
+
// }
|
|
3475
|
+
this._liveRowValue.value = produce(this._liveRowValue.value, draft => {
|
|
3476
|
+
this.form.writeDirtyStateTo(draft);
|
|
3477
|
+
});
|
|
3478
|
+
});
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
// export type StringPropertiesOf<T> = { [K in keyof T]: T[K] extends string ? K : never }[keyof T];
|
|
3483
|
+
// export type NumberPropertiesOf<T> = { [K in keyof T]: T[K] extends number ? K : never }[keyof T];
|
|
3484
|
+
class RowClass {
|
|
3485
|
+
constructor(className, matches) {
|
|
3486
|
+
this.className = className;
|
|
3487
|
+
this.matches = matches;
|
|
3406
3488
|
}
|
|
3407
3489
|
}
|
|
3408
3490
|
class AbstractTableModel extends GarbageCollector {
|
|
@@ -3580,200 +3662,6 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3580
3662
|
}
|
|
3581
3663
|
TrackExternal.oneTimeBinding(AbstractTableModel);
|
|
3582
3664
|
|
|
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
3665
|
/**
|
|
3778
3666
|
* Create your model:
|
|
3779
3667
|
* @example
|
|
@@ -3842,24 +3730,19 @@ class TableComponent extends AbstractTableComponent {
|
|
|
3842
3730
|
return this.tableModel;
|
|
3843
3731
|
}
|
|
3844
3732
|
}
|
|
3845
|
-
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3846
|
-
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3733
|
+
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 });
|
|
3734
|
+
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableComponent, selector: "aup-table", inputs: { tableModel: "tableModel" }, providers: [
|
|
3847
3735
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3848
3736
|
], 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
3737
|
__decorate([
|
|
3850
3738
|
TrackExternal(),
|
|
3851
3739
|
__metadata("design:type", AbstractTableModel)
|
|
3852
3740
|
], TableComponent.prototype, "tableModel", void 0);
|
|
3853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableComponent, decorators: [{
|
|
3854
3742
|
type: Component,
|
|
3855
|
-
args: [{
|
|
3856
|
-
selector: 'aup-table',
|
|
3857
|
-
templateUrl: '../table.component.html',
|
|
3858
|
-
styleUrls: ['../table.component.scss'],
|
|
3859
|
-
providers: [
|
|
3743
|
+
args: [{ selector: 'aup-table', providers: [
|
|
3860
3744
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3861
|
-
]
|
|
3862
|
-
}]
|
|
3745
|
+
], 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
3746
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tableModel: [{
|
|
3864
3747
|
type: Input
|
|
3865
3748
|
}] } });
|
|
@@ -3889,15 +3772,11 @@ class TreeInheritanceIconComponent {
|
|
|
3889
3772
|
return TreeInheritanceIconComponent.HAS_TAIL.includes(this.type);
|
|
3890
3773
|
}
|
|
3891
3774
|
}
|
|
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: "
|
|
3775
|
+
TreeInheritanceIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeInheritanceIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3776
|
+
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"] }] });
|
|
3777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeInheritanceIconComponent, decorators: [{
|
|
3895
3778
|
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
|
-
}]
|
|
3779
|
+
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
3780
|
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
3902
3781
|
type: Input
|
|
3903
3782
|
}, {
|
|
@@ -4104,6 +3983,87 @@ var DecoratedTreeNode;
|
|
|
4104
3983
|
DecoratedTreeNode.Decorator = Decorator;
|
|
4105
3984
|
})(DecoratedTreeNode || (DecoratedTreeNode = {}));
|
|
4106
3985
|
|
|
3986
|
+
class TreeLabelCellRendererComponent extends DisposableComponent {
|
|
3987
|
+
constructor() {
|
|
3988
|
+
super();
|
|
3989
|
+
this.nodeModel = new MutableValueModel();
|
|
3990
|
+
const { chain } = Dsl.disposeWith(this);
|
|
3991
|
+
this.iconList = chain(this.nodeModel).mapToList(node => {
|
|
3992
|
+
const icons = DecoratedTreeNode.getDecorator(node).ancestors().slice(1).map(ancestor => {
|
|
3993
|
+
return DecoratedTreeNode.getDecorator(ancestor).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_BLANK : TreeInheritanceIconComponent.Type.ICON_THROUGH;
|
|
3994
|
+
});
|
|
3995
|
+
if (!DecoratedTreeNode.getDecorator(node).isRoot()) {
|
|
3996
|
+
icons.push(DecoratedTreeNode.getDecorator(node).isLastChild() ? TreeInheritanceIconComponent.Type.ICON_INHERITED_TERMINAL : TreeInheritanceIconComponent.Type.ICON_INHERITED_THROUGH_TERMINAL);
|
|
3997
|
+
}
|
|
3998
|
+
return icons;
|
|
3999
|
+
});
|
|
4000
|
+
}
|
|
4001
|
+
ngOnInit() {
|
|
4002
|
+
const { chain } = Dsl.disposeWith(this);
|
|
4003
|
+
this.canExpand = chain(this.nodeModel).map(node => {
|
|
4004
|
+
return DecoratedTreeNode.getDecorator(node).hasChildren() && this.treeTableModel.isCollapsed(node);
|
|
4005
|
+
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4006
|
+
this.canCollapse = chain(this.nodeModel).map(node => {
|
|
4007
|
+
return DecoratedTreeNode.getDecorator(node).hasChildren() && !this.treeTableModel.isCollapsed(node);
|
|
4008
|
+
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4009
|
+
this.iconModel = chain(this.nodeModel).map(node => {
|
|
4010
|
+
var _a;
|
|
4011
|
+
const expanded = this.treeTableModel.treeExpansionModel.isExpanded(this.node);
|
|
4012
|
+
const iconFactory = (_a = this.iconFactory) !== null && _a !== void 0 ? _a : TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY;
|
|
4013
|
+
return iconFactory(node, expanded, TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY(node, expanded, undefined));
|
|
4014
|
+
}, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
|
|
4015
|
+
}
|
|
4016
|
+
get isRoot() {
|
|
4017
|
+
return DecoratedTreeNode.getDecorator(this.node).isRoot();
|
|
4018
|
+
}
|
|
4019
|
+
get isLeaf() {
|
|
4020
|
+
return DecoratedTreeNode.getDecorator(this.node).isLeaf();
|
|
4021
|
+
}
|
|
4022
|
+
get node() {
|
|
4023
|
+
return this.nodeModel.value;
|
|
4024
|
+
}
|
|
4025
|
+
// @Trace()
|
|
4026
|
+
expandOrCollapse($event, node) {
|
|
4027
|
+
$event.preventDefault();
|
|
4028
|
+
$event.stopPropagation();
|
|
4029
|
+
this.treeTableModel.isCollapsed(node) ? this.treeTableModel.expand(node) : this.treeTableModel.collapse(node);
|
|
4030
|
+
}
|
|
4031
|
+
}
|
|
4032
|
+
TreeLabelCellRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeLabelCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4033
|
+
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"] }] });
|
|
4034
|
+
__decorate([
|
|
4035
|
+
StoreInValueModel('nodeModel'),
|
|
4036
|
+
__metadata("design:type", Object)
|
|
4037
|
+
], TreeLabelCellRendererComponent.prototype, "value", void 0);
|
|
4038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeLabelCellRendererComponent, decorators: [{
|
|
4039
|
+
type: Component,
|
|
4040
|
+
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"] }]
|
|
4041
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
4042
|
+
type: Input
|
|
4043
|
+
}], label: [{
|
|
4044
|
+
type: Input
|
|
4045
|
+
}], iconFactory: [{
|
|
4046
|
+
type: Input
|
|
4047
|
+
}], treeTableModel: [{
|
|
4048
|
+
type: Input
|
|
4049
|
+
}], isRoot: [{
|
|
4050
|
+
type: HostBinding,
|
|
4051
|
+
args: ['class.root']
|
|
4052
|
+
}], isLeaf: [{
|
|
4053
|
+
type: HostBinding,
|
|
4054
|
+
args: ['class.leaf']
|
|
4055
|
+
}] } });
|
|
4056
|
+
(function (TreeLabelCellRendererComponent) {
|
|
4057
|
+
TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY = (node, expanded, defaultIcon) => {
|
|
4058
|
+
const isLeaf = DecoratedTreeNode.getDecorator(node).isLeaf();
|
|
4059
|
+
return isLeaf ?
|
|
4060
|
+
undefined :
|
|
4061
|
+
expanded ?
|
|
4062
|
+
'mat:expand_more' :
|
|
4063
|
+
'mat:chevron_right';
|
|
4064
|
+
};
|
|
4065
|
+
})(TreeLabelCellRendererComponent || (TreeLabelCellRendererComponent = {}));
|
|
4066
|
+
|
|
4107
4067
|
class FlattenedTreeListModel extends ComputedListModel {
|
|
4108
4068
|
constructor(source, childRef, expansionModel) {
|
|
4109
4069
|
super(source, {
|
|
@@ -4302,91 +4262,6 @@ class TreeTableModel extends AbstractTableModel {
|
|
|
4302
4262
|
//
|
|
4303
4263
|
// }
|
|
4304
4264
|
|
|
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
4265
|
/**
|
|
4391
4266
|
* Create your model:
|
|
4392
4267
|
* @example
|
|
@@ -4455,24 +4330,19 @@ class TreeTableComponent extends AbstractTableComponent {
|
|
|
4455
4330
|
return this.treeTableModel;
|
|
4456
4331
|
}
|
|
4457
4332
|
}
|
|
4458
|
-
TreeTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4459
|
-
TreeTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4333
|
+
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 });
|
|
4334
|
+
TreeTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TreeTableComponent, selector: "aup-tree-table", inputs: { treeTableModel: "treeTableModel" }, providers: [
|
|
4460
4335
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4461
4336
|
], 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
4337
|
__decorate([
|
|
4463
4338
|
TrackExternal(),
|
|
4464
4339
|
__metadata("design:type", TreeTableModel)
|
|
4465
4340
|
], TreeTableComponent.prototype, "treeTableModel", void 0);
|
|
4466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TreeTableComponent, decorators: [{
|
|
4467
4342
|
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: [
|
|
4343
|
+
args: [{ selector: 'aup-tree-table', providers: [
|
|
4473
4344
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4474
|
-
]
|
|
4475
|
-
}]
|
|
4345
|
+
], 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
4346
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { treeTableModel: [{
|
|
4477
4347
|
type: Input
|
|
4478
4348
|
}] } });
|
|
@@ -4509,8 +4379,8 @@ class VerticalFocusContainerComponent extends FocusContainerComponent {
|
|
|
4509
4379
|
ngOnInit() {
|
|
4510
4380
|
}
|
|
4511
4381
|
}
|
|
4512
|
-
VerticalFocusContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4513
|
-
VerticalFocusContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4382
|
+
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 });
|
|
4383
|
+
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
4384
|
{ provide: FocusManager }
|
|
4515
4385
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
4516
4386
|
__decorate([
|
|
@@ -4521,19 +4391,16 @@ __decorate([
|
|
|
4521
4391
|
TrackExternal(),
|
|
4522
4392
|
__metadata("design:type", Command)
|
|
4523
4393
|
], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
|
|
4524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VerticalFocusContainerComponent, decorators: [{
|
|
4525
4395
|
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: [
|
|
4396
|
+
args: [{ selector: 'aup-vertical-focus-container', providers: [
|
|
4531
4397
|
{ provide: FocusManager }
|
|
4532
|
-
]
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4398
|
+
], template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
4399
|
+
}], ctorParameters: function () {
|
|
4400
|
+
return [{ type: i1$7.FocusManager, decorators: [{
|
|
4401
|
+
type: Self
|
|
4402
|
+
}] }];
|
|
4403
|
+
}, propDecorators: { rightArrowCommand: [{
|
|
4537
4404
|
type: Input,
|
|
4538
4405
|
args: ['command.arrowRight']
|
|
4539
4406
|
}], leftArrowCommand: [{
|
|
@@ -4572,19 +4439,15 @@ class PaginatorComponent extends DisposableComponent {
|
|
|
4572
4439
|
return this.pageController.nextCommand;
|
|
4573
4440
|
}
|
|
4574
4441
|
}
|
|
4575
|
-
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4576
|
-
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4442
|
+
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4443
|
+
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
4444
|
__decorate([
|
|
4578
4445
|
TrackExternal(),
|
|
4579
4446
|
__metadata("design:type", PageController)
|
|
4580
4447
|
], PaginatorComponent.prototype, "pageController", void 0);
|
|
4581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
4582
4449
|
type: Component,
|
|
4583
|
-
args: [{
|
|
4584
|
-
selector: 'aup-paginator',
|
|
4585
|
-
templateUrl: './paginator.component.html',
|
|
4586
|
-
styleUrls: ['./paginator.component.scss']
|
|
4587
|
-
}]
|
|
4450
|
+
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
4451
|
}], ctorParameters: function () { return []; }, propDecorators: { pageController: [{
|
|
4589
4452
|
type: Input
|
|
4590
4453
|
}] } });
|
|
@@ -4597,15 +4460,11 @@ class LabelledValueComponent extends DisposableComponent {
|
|
|
4597
4460
|
ngOnInit() {
|
|
4598
4461
|
}
|
|
4599
4462
|
}
|
|
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: "
|
|
4463
|
+
LabelledValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LabelledValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4464
|
+
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"] });
|
|
4465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LabelledValueComponent, decorators: [{
|
|
4603
4466
|
type: Component,
|
|
4604
|
-
args: [{
|
|
4605
|
-
selector: 'aup-labelled-value',
|
|
4606
|
-
templateUrl: './labelled-value.component.html',
|
|
4607
|
-
styleUrls: ['./labelled-value.component.scss']
|
|
4608
|
-
}]
|
|
4467
|
+
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
4468
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
4610
4469
|
type: Input
|
|
4611
4470
|
}] } });
|
|
@@ -4656,8 +4515,8 @@ class MarkdownComponent extends DisposableComponent {
|
|
|
4656
4515
|
}
|
|
4657
4516
|
}
|
|
4658
4517
|
}
|
|
4659
|
-
MarkdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4660
|
-
MarkdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4518
|
+
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 });
|
|
4519
|
+
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
4520
|
__decorate([
|
|
4662
4521
|
TrackExternal(),
|
|
4663
4522
|
__metadata("design:type", ValueModel)
|
|
@@ -4666,17 +4525,15 @@ __decorate([
|
|
|
4666
4525
|
StoreInValueModel('content$'),
|
|
4667
4526
|
__metadata("design:type", String)
|
|
4668
4527
|
], MarkdownComponent.prototype, "content", void 0);
|
|
4669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MarkdownComponent, decorators: [{
|
|
4670
4529
|
type: Component,
|
|
4671
|
-
args: [{
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
args: [PLATFORM_ID]
|
|
4679
|
-
}] }, { type: i0.ElementRef }, { type: MarkdownService }]; }, propDecorators: { content$: [{
|
|
4530
|
+
args: [{ selector: 'aup-markdown, [aupMarkdown]', template: "<ng-content></ng-content>\n", styles: [":host{display:inline-block}\n"] }]
|
|
4531
|
+
}], ctorParameters: function () {
|
|
4532
|
+
return [{ type: Object, decorators: [{
|
|
4533
|
+
type: Inject,
|
|
4534
|
+
args: [PLATFORM_ID]
|
|
4535
|
+
}] }, { type: i0.ElementRef }, { type: MarkdownService }];
|
|
4536
|
+
}, propDecorators: { content$: [{
|
|
4680
4537
|
type: Input
|
|
4681
4538
|
}], content: [{
|
|
4682
4539
|
type: Input
|
|
@@ -4689,8 +4546,8 @@ class ComponentsModule {
|
|
|
4689
4546
|
faIconLibrary.addIconPacks(fas);
|
|
4690
4547
|
}
|
|
4691
4548
|
}
|
|
4692
|
-
ComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4693
|
-
ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4549
|
+
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 });
|
|
4550
|
+
ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, declarations: [AbstractInputComponent,
|
|
4694
4551
|
AbstractValueInputComponent,
|
|
4695
4552
|
AbstractListInputComponent,
|
|
4696
4553
|
NumberInputComponent,
|
|
@@ -4800,7 +4657,7 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
4800
4657
|
LabelledValueComponent,
|
|
4801
4658
|
LoadingContainerComponent,
|
|
4802
4659
|
MarkdownComponent] });
|
|
4803
|
-
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4660
|
+
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, providers: [
|
|
4804
4661
|
FocusBindingFactory,
|
|
4805
4662
|
MarkdownService
|
|
4806
4663
|
], imports: [[
|
|
@@ -4826,7 +4683,7 @@ ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
4826
4683
|
MatProgressSpinnerModule,
|
|
4827
4684
|
MatProgressBarModule
|
|
4828
4685
|
]] });
|
|
4829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ComponentsModule, decorators: [{
|
|
4830
4687
|
type: NgModule,
|
|
4831
4688
|
args: [{
|
|
4832
4689
|
imports: [
|
|
@@ -5006,8 +4863,8 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
5006
4863
|
this.cdr.detectChanges();
|
|
5007
4864
|
}
|
|
5008
4865
|
}
|
|
5009
|
-
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5010
|
-
ActivityActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4866
|
+
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityActionsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4867
|
+
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
4868
|
__decorate([
|
|
5012
4869
|
TrackExternal(),
|
|
5013
4870
|
__metadata("design:type", Command)
|
|
@@ -5016,13 +4873,9 @@ __decorate([
|
|
|
5016
4873
|
TrackExternal(),
|
|
5017
4874
|
__metadata("design:type", Command)
|
|
5018
4875
|
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
5019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityActionsComponent, decorators: [{
|
|
5020
4877
|
type: Component,
|
|
5021
|
-
args: [{
|
|
5022
|
-
selector: 'aup-activity-actions',
|
|
5023
|
-
templateUrl: './activity-actions.component.html',
|
|
5024
|
-
styleUrls: ['./activity-actions.component.scss']
|
|
5025
|
-
}]
|
|
4878
|
+
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
4879
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { confirmCommand: [{
|
|
5027
4880
|
type: Input
|
|
5028
4881
|
}], cancelCommand: [{
|
|
@@ -5113,8 +4966,8 @@ class Activity extends DisposableComponent {
|
|
|
5113
4966
|
return !!this._activityContext;
|
|
5114
4967
|
}
|
|
5115
4968
|
}
|
|
5116
|
-
Activity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5117
|
-
Activity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4969
|
+
Activity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: Activity, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4970
|
+
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
4971
|
__decorate([
|
|
5119
4972
|
TrackExternal(),
|
|
5120
4973
|
__metadata("design:type", Command)
|
|
@@ -5123,7 +4976,7 @@ __decorate([
|
|
|
5123
4976
|
TrackExternal(),
|
|
5124
4977
|
__metadata("design:type", Command)
|
|
5125
4978
|
], Activity.prototype, "cancelCommand", void 0);
|
|
5126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: Activity, decorators: [{
|
|
5127
4980
|
type: Component,
|
|
5128
4981
|
args: [{
|
|
5129
4982
|
template: ''
|
|
@@ -5193,17 +5046,19 @@ class AbstractDialogComponent extends Activity {
|
|
|
5193
5046
|
return isFunction(this.config['destructive']) && this.config.destructive();
|
|
5194
5047
|
}
|
|
5195
5048
|
}
|
|
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: "
|
|
5049
|
+
AbstractDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractDialogComponent, deps: [{ token: ALERT_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
5050
|
+
AbstractDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
5051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractDialogComponent, decorators: [{
|
|
5199
5052
|
type: Component,
|
|
5200
5053
|
args: [{
|
|
5201
5054
|
template: ''
|
|
5202
5055
|
}]
|
|
5203
|
-
}], ctorParameters: function () {
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5056
|
+
}], ctorParameters: function () {
|
|
5057
|
+
return [{ type: undefined, decorators: [{
|
|
5058
|
+
type: Inject,
|
|
5059
|
+
args: [ALERT_CONFIG]
|
|
5060
|
+
}] }];
|
|
5061
|
+
} });
|
|
5207
5062
|
|
|
5208
5063
|
class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
5209
5064
|
constructor(config) {
|
|
@@ -5216,17 +5071,19 @@ class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
|
5216
5071
|
});
|
|
5217
5072
|
}
|
|
5218
5073
|
}
|
|
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: "
|
|
5074
|
+
AbstractConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractConfirmDialogComponent, deps: [{ token: ALERT_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
5075
|
+
AbstractConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: AbstractConfirmDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
5076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractConfirmDialogComponent, decorators: [{
|
|
5222
5077
|
type: Component,
|
|
5223
5078
|
args: [{
|
|
5224
5079
|
template: ''
|
|
5225
5080
|
}]
|
|
5226
|
-
}], ctorParameters: function () {
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5081
|
+
}], ctorParameters: function () {
|
|
5082
|
+
return [{ type: undefined, decorators: [{
|
|
5083
|
+
type: Inject,
|
|
5084
|
+
args: [ALERT_CONFIG]
|
|
5085
|
+
}] }];
|
|
5086
|
+
} });
|
|
5230
5087
|
|
|
5231
5088
|
class ActivityTitleComponent extends DisposableComponent {
|
|
5232
5089
|
/**
|
|
@@ -5248,15 +5105,11 @@ class ActivityTitleComponent extends DisposableComponent {
|
|
|
5248
5105
|
ngOnInit() {
|
|
5249
5106
|
}
|
|
5250
5107
|
}
|
|
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: "
|
|
5108
|
+
ActivityTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityTitleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5109
|
+
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"] });
|
|
5110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityTitleComponent, decorators: [{
|
|
5254
5111
|
type: Component,
|
|
5255
|
-
args: [{
|
|
5256
|
-
selector: 'aup-activity-title',
|
|
5257
|
-
templateUrl: './activity-title.component.html',
|
|
5258
|
-
styleUrls: ['./activity-title.component.scss']
|
|
5259
|
-
}]
|
|
5112
|
+
args: [{ selector: 'aup-activity-title', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
5260
5113
|
}], propDecorators: { hasTransparentBackground: [{
|
|
5261
5114
|
type: Input
|
|
5262
5115
|
}, {
|
|
@@ -5277,15 +5130,11 @@ class ActivityBodyComponent extends DisposableComponent {
|
|
|
5277
5130
|
ngOnInit() {
|
|
5278
5131
|
}
|
|
5279
5132
|
}
|
|
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: "
|
|
5133
|
+
ActivityBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5134
|
+
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"] });
|
|
5135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityBodyComponent, decorators: [{
|
|
5283
5136
|
type: Component,
|
|
5284
|
-
args: [{
|
|
5285
|
-
selector: 'aup-activity-body',
|
|
5286
|
-
templateUrl: './activity-body.component.html',
|
|
5287
|
-
styleUrls: ['./activity-body.component.html'],
|
|
5288
|
-
}]
|
|
5137
|
+
args: [{ selector: 'aup-activity-body', template: "<ng-content></ng-content>\n", styles: ["<ng-content></ng-content>\n"] }]
|
|
5289
5138
|
}], propDecorators: { fullWidth: [{
|
|
5290
5139
|
type: Input
|
|
5291
5140
|
}, {
|
|
@@ -5301,19 +5150,17 @@ class AlertDialogComponent extends AbstractDialogComponent {
|
|
|
5301
5150
|
});
|
|
5302
5151
|
}
|
|
5303
5152
|
}
|
|
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: "
|
|
5153
|
+
AlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AlertDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5154
|
+
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"] }] });
|
|
5155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AlertDialogComponent, decorators: [{
|
|
5307
5156
|
type: Component,
|
|
5308
|
-
args: [{
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
args: [ACTIVITY_DATA]
|
|
5316
|
-
}] }]; } });
|
|
5157
|
+
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"] }]
|
|
5158
|
+
}], ctorParameters: function () {
|
|
5159
|
+
return [{ type: Alert, decorators: [{
|
|
5160
|
+
type: Inject,
|
|
5161
|
+
args: [ACTIVITY_DATA]
|
|
5162
|
+
}] }];
|
|
5163
|
+
} });
|
|
5317
5164
|
|
|
5318
5165
|
class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
5319
5166
|
constructor(config) {
|
|
@@ -5325,19 +5172,17 @@ class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5325
5172
|
});
|
|
5326
5173
|
}
|
|
5327
5174
|
}
|
|
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: "
|
|
5175
|
+
ConfirmThenDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5176
|
+
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"] }] });
|
|
5177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenDialogComponent, decorators: [{
|
|
5331
5178
|
type: Component,
|
|
5332
|
-
args: [{
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
args: [ACTIVITY_DATA]
|
|
5340
|
-
}] }]; } });
|
|
5179
|
+
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"] }]
|
|
5180
|
+
}], ctorParameters: function () {
|
|
5181
|
+
return [{ type: undefined, decorators: [{
|
|
5182
|
+
type: Inject,
|
|
5183
|
+
args: [ACTIVITY_DATA]
|
|
5184
|
+
}] }];
|
|
5185
|
+
} });
|
|
5341
5186
|
|
|
5342
5187
|
class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
5343
5188
|
constructor(data) {
|
|
@@ -5353,19 +5198,17 @@ class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5353
5198
|
}));
|
|
5354
5199
|
}
|
|
5355
5200
|
}
|
|
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: "
|
|
5201
|
+
ConfirmThenExecuteDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenExecuteDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5202
|
+
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"] }] });
|
|
5203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmThenExecuteDialogComponent, decorators: [{
|
|
5359
5204
|
type: Component,
|
|
5360
|
-
args: [{
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
args: [ACTIVITY_DATA]
|
|
5368
|
-
}] }]; } });
|
|
5205
|
+
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"] }]
|
|
5206
|
+
}], ctorParameters: function () {
|
|
5207
|
+
return [{ type: undefined, decorators: [{
|
|
5208
|
+
type: Inject,
|
|
5209
|
+
args: [ACTIVITY_DATA]
|
|
5210
|
+
}] }];
|
|
5211
|
+
} });
|
|
5369
5212
|
|
|
5370
5213
|
class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
5371
5214
|
constructor(confirm) {
|
|
@@ -5376,19 +5219,17 @@ class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
5376
5219
|
});
|
|
5377
5220
|
}
|
|
5378
5221
|
}
|
|
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: "
|
|
5222
|
+
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5223
|
+
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"] }] });
|
|
5224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
|
|
5382
5225
|
type: Component,
|
|
5383
|
-
args: [{
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
args: [ACTIVITY_DATA]
|
|
5391
|
-
}] }]; } });
|
|
5226
|
+
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"] }]
|
|
5227
|
+
}], ctorParameters: function () {
|
|
5228
|
+
return [{ type: undefined, decorators: [{
|
|
5229
|
+
type: Inject,
|
|
5230
|
+
args: [ACTIVITY_DATA]
|
|
5231
|
+
}] }];
|
|
5232
|
+
} });
|
|
5392
5233
|
|
|
5393
5234
|
class AbstractInteractionContext {
|
|
5394
5235
|
startActivity(activityType, data, options) {
|
|
@@ -5527,15 +5368,11 @@ class ActivityOutletComponent {
|
|
|
5527
5368
|
return this.activityComponentRef.instance;
|
|
5528
5369
|
}
|
|
5529
5370
|
}
|
|
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: "
|
|
5371
|
+
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 });
|
|
5372
|
+
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"] });
|
|
5373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityOutletComponent, decorators: [{
|
|
5533
5374
|
type: Component,
|
|
5534
|
-
args: [{
|
|
5535
|
-
selector: 'aup-activity-outlet',
|
|
5536
|
-
template: '',
|
|
5537
|
-
styleUrls: ['./activity-outlet.component.scss']
|
|
5538
|
-
}]
|
|
5375
|
+
args: [{ selector: 'aup-activity-outlet', template: '', styles: [":host{display:block}\n"] }]
|
|
5539
5376
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { nestedInteractionContext: [{
|
|
5540
5377
|
type: Input
|
|
5541
5378
|
}], activityRef: [{
|
|
@@ -5722,15 +5559,11 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
5722
5559
|
}, 75);
|
|
5723
5560
|
}
|
|
5724
5561
|
}
|
|
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: "
|
|
5562
|
+
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5563
|
+
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"] }] });
|
|
5564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActivityContainerComponent, decorators: [{
|
|
5728
5565
|
type: Component,
|
|
5729
|
-
args: [{
|
|
5730
|
-
selector: 'aup-activity-container',
|
|
5731
|
-
templateUrl: './activity-container.component.html',
|
|
5732
|
-
styleUrls: ['./activity-container.component.scss']
|
|
5733
|
-
}]
|
|
5566
|
+
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
5567
|
}], ctorParameters: function () { return []; }, propDecorators: { dynamicHeight: [{
|
|
5735
5568
|
type: Input
|
|
5736
5569
|
}], tabs: [{
|
|
@@ -5768,8 +5601,8 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
|
5768
5601
|
return (_a = this.interactionContext) === null || _a === void 0 ? void 0 : _a.isActive();
|
|
5769
5602
|
}
|
|
5770
5603
|
}
|
|
5771
|
-
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5772
|
-
AbstractActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5604
|
+
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5605
|
+
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
5606
|
__decorate([
|
|
5774
5607
|
StoreInValueModel('activityClassModel'),
|
|
5775
5608
|
__metadata("design:type", Object)
|
|
@@ -5794,7 +5627,7 @@ __decorate([
|
|
|
5794
5627
|
TrackExternal(),
|
|
5795
5628
|
__metadata("design:type", ValueModel)
|
|
5796
5629
|
], AbstractActivityTriggerComponent.prototype, "faceModel", void 0);
|
|
5797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractActivityTriggerComponent, decorators: [{
|
|
5798
5631
|
type: Component,
|
|
5799
5632
|
args: [{
|
|
5800
5633
|
selector: 'aup-abstract-activity-trigger',
|
|
@@ -5918,9 +5751,9 @@ class InteractionService {
|
|
|
5918
5751
|
});
|
|
5919
5752
|
}
|
|
5920
5753
|
}
|
|
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: "
|
|
5754
|
+
InteractionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionService, deps: [{ token: ModalInteractionContextFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5755
|
+
InteractionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionService, providedIn: 'root' });
|
|
5756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionService, decorators: [{
|
|
5924
5757
|
type: Injectable,
|
|
5925
5758
|
args: [{
|
|
5926
5759
|
providedIn: 'root'
|
|
@@ -5998,15 +5831,11 @@ class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5998
5831
|
return this._interactionContext;
|
|
5999
5832
|
}
|
|
6000
5833
|
}
|
|
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: "
|
|
5834
|
+
ModalActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ModalActivityTriggerComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5835
|
+
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"] }] });
|
|
5836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ModalActivityTriggerComponent, decorators: [{
|
|
6004
5837
|
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
|
-
}]
|
|
5838
|
+
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
5839
|
}], ctorParameters: function () { return [{ type: InteractionService }]; } });
|
|
6011
5840
|
|
|
6012
5841
|
/**
|
|
@@ -6072,21 +5901,19 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
6072
5901
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
6073
5902
|
}
|
|
6074
5903
|
}
|
|
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: "
|
|
5904
|
+
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 });
|
|
5905
|
+
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"] }] });
|
|
5906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InPlaceInteractionContextComponent, decorators: [{
|
|
6078
5907
|
type: Component,
|
|
6079
|
-
args: [{
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
type: Optional
|
|
6089
|
-
}] }]; }, propDecorators: { activityContainerComponent: [{
|
|
5908
|
+
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"] }]
|
|
5909
|
+
}], ctorParameters: function () {
|
|
5910
|
+
return [{ type: InteractionService }, { type: undefined, decorators: [{
|
|
5911
|
+
type: Inject,
|
|
5912
|
+
args: [MAT_TABS_CONFIG]
|
|
5913
|
+
}, {
|
|
5914
|
+
type: Optional
|
|
5915
|
+
}] }];
|
|
5916
|
+
}, propDecorators: { activityContainerComponent: [{
|
|
6090
5917
|
type: ViewChild,
|
|
6091
5918
|
args: ["activityContainer", { static: true }]
|
|
6092
5919
|
}], animateFirstActivity: [{
|
|
@@ -6138,15 +5965,11 @@ class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
|
6138
5965
|
return this.interactionStyle === 'inline';
|
|
6139
5966
|
}
|
|
6140
5967
|
}
|
|
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: "
|
|
5968
|
+
AddCardActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddCardActivityComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5969
|
+
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"] }] });
|
|
5970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddCardActivityComponent, decorators: [{
|
|
6144
5971
|
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
|
-
}]
|
|
5972
|
+
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
5973
|
}], ctorParameters: function () { return [{ type: InteractionService }]; }, propDecorators: { inlineInteractionContext: [{
|
|
6151
5974
|
type: ViewChild,
|
|
6152
5975
|
args: [InPlaceInteractionContextComponent, { static: true }]
|
|
@@ -6212,19 +6035,15 @@ class AddItemInteractionContextComponent extends DisposableComponent {
|
|
|
6212
6035
|
ngOnInit() {
|
|
6213
6036
|
}
|
|
6214
6037
|
}
|
|
6215
|
-
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6216
|
-
AddItemInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6038
|
+
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddItemInteractionContextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6039
|
+
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
6040
|
__decorate([
|
|
6218
6041
|
TrackExternal(),
|
|
6219
6042
|
__metadata("design:type", Command)
|
|
6220
6043
|
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
6221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AddItemInteractionContextComponent, decorators: [{
|
|
6222
6045
|
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
|
-
}]
|
|
6046
|
+
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
6047
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
6229
6048
|
type: Input
|
|
6230
6049
|
}], icon: [{
|
|
@@ -6254,15 +6073,11 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
6254
6073
|
return this._interactionContext;
|
|
6255
6074
|
}
|
|
6256
6075
|
}
|
|
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: "
|
|
6076
|
+
InlineActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6077
|
+
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"] }] });
|
|
6078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineActivityTriggerComponent, decorators: [{
|
|
6260
6079
|
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
|
-
}]
|
|
6080
|
+
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
6081
|
}], ctorParameters: function () { return []; }, propDecorators: { _interactionContext: [{
|
|
6267
6082
|
type: ViewChild,
|
|
6268
6083
|
args: [InPlaceInteractionContextComponent, { static: true }]
|
|
@@ -6347,20 +6162,18 @@ class PopupInteractionContextComponent extends DisposableComponent {
|
|
|
6347
6162
|
ngOnInit() {
|
|
6348
6163
|
}
|
|
6349
6164
|
}
|
|
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: "
|
|
6165
|
+
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 });
|
|
6166
|
+
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"] });
|
|
6167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupInteractionContextComponent, decorators: [{
|
|
6353
6168
|
type: Component,
|
|
6354
|
-
args: [{
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
type: SkipSelf
|
|
6363
|
-
}] }]; }, propDecorators: { active: [{
|
|
6169
|
+
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"] }]
|
|
6170
|
+
}], ctorParameters: function () {
|
|
6171
|
+
return [{ type: i0.ElementRef }, { type: i1$d.Overlay }, { type: i1$d.CdkScrollable, decorators: [{
|
|
6172
|
+
type: Optional
|
|
6173
|
+
}, {
|
|
6174
|
+
type: SkipSelf
|
|
6175
|
+
}] }];
|
|
6176
|
+
}, propDecorators: { active: [{
|
|
6364
6177
|
type: HostBinding,
|
|
6365
6178
|
args: ['class.interaction-active']
|
|
6366
6179
|
}], anchorX: [{
|
|
@@ -6411,9 +6224,9 @@ class InteractionContextTriggerFor extends GarbageCollector {
|
|
|
6411
6224
|
return isFunction(this.activityDataFactory()) ? this.activityDataFactory() : this.activityData;
|
|
6412
6225
|
}
|
|
6413
6226
|
}
|
|
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: "
|
|
6227
|
+
InteractionContextTriggerFor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionContextTriggerFor, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6228
|
+
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 });
|
|
6229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionContextTriggerFor, decorators: [{
|
|
6417
6230
|
type: Directive,
|
|
6418
6231
|
args: [{
|
|
6419
6232
|
selector: '[aupInteractionContextTriggerFor]'
|
|
@@ -6508,15 +6321,17 @@ class InputActivity extends Activity {
|
|
|
6508
6321
|
|| this.data.cancelOnEscape;
|
|
6509
6322
|
}
|
|
6510
6323
|
}
|
|
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: "
|
|
6324
|
+
InputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputActivity, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
6325
|
+
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 });
|
|
6326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputActivity, decorators: [{
|
|
6514
6327
|
type: Component,
|
|
6515
6328
|
args: [{ template: `` }]
|
|
6516
|
-
}], ctorParameters: function () {
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6329
|
+
}], ctorParameters: function () {
|
|
6330
|
+
return [{ type: undefined, decorators: [{
|
|
6331
|
+
type: Inject,
|
|
6332
|
+
args: [ACTIVITY_DATA]
|
|
6333
|
+
}] }];
|
|
6334
|
+
}, propDecorators: { class: [{
|
|
6520
6335
|
type: HostBinding,
|
|
6521
6336
|
args: ['class']
|
|
6522
6337
|
}], layout: [{
|
|
@@ -6540,8 +6355,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
6540
6355
|
|
|
6541
6356
|
class StringInputActivity extends InputActivity {
|
|
6542
6357
|
}
|
|
6543
|
-
StringInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6544
|
-
StringInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6358
|
+
StringInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputActivity, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6359
|
+
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
6360
|
<aup-string-input [valueModel]="valueModel"
|
|
6546
6361
|
[label]="data.label"
|
|
6547
6362
|
[placeholder]="data.placeholder"
|
|
@@ -6552,7 +6367,7 @@ StringInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6552
6367
|
[cancelFace]="cancelFace"
|
|
6553
6368
|
></aup-activity-actions>
|
|
6554
6369
|
`, 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: "
|
|
6370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StringInputActivity, decorators: [{
|
|
6556
6371
|
type: Component,
|
|
6557
6372
|
args: [{
|
|
6558
6373
|
selector: 'aup-string-input-activity',
|
|
@@ -6586,8 +6401,8 @@ class SelectInputActivity extends InputActivity {
|
|
|
6586
6401
|
return ((_a = this.data.optionsModel) === null || _a === void 0 ? void 0 : _a.value) || this.data.options;
|
|
6587
6402
|
}
|
|
6588
6403
|
}
|
|
6589
|
-
SelectInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6590
|
-
SelectInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6404
|
+
SelectInputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputActivity, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6405
|
+
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
6406
|
<aup-select-input [valueModel]="valueModel"
|
|
6592
6407
|
[label]="data.label"
|
|
6593
6408
|
[placeholder]="data.placeholder"
|
|
@@ -6601,7 +6416,7 @@ SelectInputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6601
6416
|
[cancelFace]="cancelFace"
|
|
6602
6417
|
></aup-activity-actions>
|
|
6603
6418
|
`, 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: "
|
|
6419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectInputActivity, decorators: [{
|
|
6605
6420
|
type: Component,
|
|
6606
6421
|
args: [{
|
|
6607
6422
|
selector: 'aup-select-input-activity',
|
|
@@ -6736,15 +6551,11 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
6736
6551
|
return this._interactionContext;
|
|
6737
6552
|
}
|
|
6738
6553
|
}
|
|
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: "
|
|
6554
|
+
PopupActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6555
|
+
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"] }] });
|
|
6556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PopupActivityTriggerComponent, decorators: [{
|
|
6742
6557
|
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
|
-
}]
|
|
6558
|
+
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
6559
|
}], ctorParameters: function () { return []; }, propDecorators: { anchorX: [{
|
|
6749
6560
|
type: Input
|
|
6750
6561
|
}], anchorY: [{
|
|
@@ -6901,8 +6712,8 @@ class InlineStringEditorComponent extends DisposableComponent {
|
|
|
6901
6712
|
return this.empty.value;
|
|
6902
6713
|
}
|
|
6903
6714
|
}
|
|
6904
|
-
InlineStringEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6905
|
-
InlineStringEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6715
|
+
InlineStringEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineStringEditorComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6716
|
+
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
6717
|
__decorate([
|
|
6907
6718
|
TrackExternal(),
|
|
6908
6719
|
__metadata("design:type", InlineEditorModel)
|
|
@@ -6923,13 +6734,9 @@ __decorate([
|
|
|
6923
6734
|
TrackExternal(),
|
|
6924
6735
|
__metadata("design:type", ValueModel)
|
|
6925
6736
|
], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
|
|
6926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InlineStringEditorComponent, decorators: [{
|
|
6927
6738
|
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
|
-
}]
|
|
6739
|
+
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
6740
|
}], ctorParameters: function () { return [{ type: InteractionService }]; }, propDecorators: { editorModel: [{
|
|
6934
6741
|
type: Input
|
|
6935
6742
|
}], facesModel: [{
|
|
@@ -6962,8 +6769,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
6962
6769
|
|
|
6963
6770
|
class InteractionModule {
|
|
6964
6771
|
}
|
|
6965
|
-
InteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6966
|
-
InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6772
|
+
InteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6773
|
+
InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, declarations: [ActivityContainerComponent,
|
|
6967
6774
|
ConfirmationDialogComponent,
|
|
6968
6775
|
ConfirmThenDialogComponent,
|
|
6969
6776
|
ConfirmThenExecuteDialogComponent,
|
|
@@ -7018,7 +6825,7 @@ InteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
7018
6825
|
ModalActivityTriggerComponent,
|
|
7019
6826
|
AddCardActivityComponent,
|
|
7020
6827
|
InlineStringEditorComponent] });
|
|
7021
|
-
InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6828
|
+
InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, providers: [
|
|
7022
6829
|
InteractionService
|
|
7023
6830
|
// {
|
|
7024
6831
|
// provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
|
|
@@ -7040,7 +6847,7 @@ InteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
7040
6847
|
MatFormFieldModule,
|
|
7041
6848
|
A11yModule
|
|
7042
6849
|
]] });
|
|
7043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InteractionModule, decorators: [{
|
|
7044
6851
|
type: NgModule,
|
|
7045
6852
|
args: [{
|
|
7046
6853
|
imports: [
|
|
@@ -7106,12 +6913,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
7106
6913
|
AddCardActivityComponent,
|
|
7107
6914
|
InlineStringEditorComponent,
|
|
7108
6915
|
],
|
|
7109
|
-
entryComponents: [
|
|
7110
|
-
// ActivityContainerComponent,
|
|
7111
|
-
// ConfirmationDialogComponent,
|
|
7112
|
-
// ConfirmThenDialogComponent,
|
|
7113
|
-
// AlertDialogComponent
|
|
7114
|
-
],
|
|
7115
6916
|
providers: [
|
|
7116
6917
|
InteractionService
|
|
7117
6918
|
// {
|
|
@@ -7537,14 +7338,14 @@ class PlaceComponent extends DisposableComponent {
|
|
|
7537
7338
|
this._parameterChangeInterceptors.push(new ParameterChangeInterceptor(parameterDef, model, callback, options));
|
|
7538
7339
|
}
|
|
7539
7340
|
}
|
|
7540
|
-
PlaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7541
|
-
PlaceComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7341
|
+
PlaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7342
|
+
PlaceComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: PlaceComponent, usesInheritance: true, ngImport: i0 });
|
|
7542
7343
|
__decorate([
|
|
7543
7344
|
Memoize(),
|
|
7544
7345
|
__metadata("design:type", PlaceDefinition),
|
|
7545
7346
|
__metadata("design:paramtypes", [])
|
|
7546
7347
|
], PlaceComponent.prototype, "placeDefinition", null);
|
|
7547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceComponent, decorators: [{
|
|
7548
7349
|
type: Directive
|
|
7549
7350
|
}], ctorParameters: function () { return []; }, propDecorators: { placeDefinition: [] } });
|
|
7550
7351
|
(function (PlaceComponent) {
|
|
@@ -7555,25 +7356,150 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
7555
7356
|
function getRouteParameters(klass) {
|
|
7556
7357
|
return Klass.get(klass).getMetadataList(ROUTE_PARAMETER_LIST_KEY);
|
|
7557
7358
|
}
|
|
7558
|
-
PlaceComponent.getRouteParameters = getRouteParameters;
|
|
7559
|
-
function getDefinition(snapshotOrConstructor) {
|
|
7560
|
-
if (snapshotOrConstructor instanceof ActivatedRouteSnapshot) {
|
|
7561
|
-
const component = snapshotOrConstructor.component;
|
|
7562
|
-
if (!isPlaceComponentConstructor(component)) {
|
|
7563
|
-
throw new Error(`ActivatedRouteSnapshot component is not a PlaceComponent, got ${component}`);
|
|
7564
|
-
}
|
|
7565
|
-
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, component);
|
|
7566
|
-
}
|
|
7567
|
-
else {
|
|
7568
|
-
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, snapshotOrConstructor);
|
|
7569
|
-
}
|
|
7359
|
+
PlaceComponent.getRouteParameters = getRouteParameters;
|
|
7360
|
+
function getDefinition(snapshotOrConstructor) {
|
|
7361
|
+
if (snapshotOrConstructor instanceof ActivatedRouteSnapshot) {
|
|
7362
|
+
const component = snapshotOrConstructor.component;
|
|
7363
|
+
if (!isPlaceComponentConstructor(component)) {
|
|
7364
|
+
throw new Error(`ActivatedRouteSnapshot component is not a PlaceComponent, got ${component}`);
|
|
7365
|
+
}
|
|
7366
|
+
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, component);
|
|
7367
|
+
}
|
|
7368
|
+
else {
|
|
7369
|
+
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, snapshotOrConstructor);
|
|
7370
|
+
}
|
|
7371
|
+
}
|
|
7372
|
+
PlaceComponent.getDefinition = getDefinition;
|
|
7373
|
+
function injectDefinition(klass, definition) {
|
|
7374
|
+
Reflect.defineMetadata(DEFINITION_META_DATA_KEY, definition, klass);
|
|
7375
|
+
}
|
|
7376
|
+
PlaceComponent.injectDefinition = injectDefinition;
|
|
7377
|
+
})(PlaceComponent || (PlaceComponent = {}));
|
|
7378
|
+
|
|
7379
|
+
class Visit {
|
|
7380
|
+
constructor(placeDefinition, visitParameters = {}) {
|
|
7381
|
+
this.placeDefinition = placeDefinition;
|
|
7382
|
+
this.visitParameters = visitParameters;
|
|
7383
|
+
}
|
|
7384
|
+
// @Trace()
|
|
7385
|
+
getRouteId() {
|
|
7386
|
+
return this.placeDefinition.getRouteIdFrom(this);
|
|
7387
|
+
}
|
|
7388
|
+
// @Trace()
|
|
7389
|
+
hasRouteId() {
|
|
7390
|
+
return !isNil(this.getRouteId());
|
|
7391
|
+
}
|
|
7392
|
+
/**
|
|
7393
|
+
* Returns the value of the place parameter with the specified name. The parameter
|
|
7394
|
+
* name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
|
|
7395
|
+
* same as the the ValueModel property name.
|
|
7396
|
+
* @param parameter the visit parameter definition
|
|
7397
|
+
*/
|
|
7398
|
+
getParameterValue(parameter) {
|
|
7399
|
+
return isString(parameter) ? this.visitParameters[parameter] : this.visitParameters[parameter.name];
|
|
7400
|
+
}
|
|
7401
|
+
// @Trace()
|
|
7402
|
+
hasParameter(parameterDef) {
|
|
7403
|
+
return Object.keys(this.visitParameters).includes(parameterDef.name);
|
|
7404
|
+
}
|
|
7405
|
+
replace(parameter, value) {
|
|
7406
|
+
return new Visit(this.placeDefinition, Object.assign(Object.assign({}, this.visitParameters), { [parameter.name]: value }));
|
|
7407
|
+
}
|
|
7408
|
+
mergeRouteParameters(routeParams) {
|
|
7409
|
+
// todo: whitelist parameters.
|
|
7410
|
+
const routeParameterKeys = Object.keys(routeParams);
|
|
7411
|
+
const params = {};
|
|
7412
|
+
this.placeDefinition.getVisitParameterDefs().forEach(def => {
|
|
7413
|
+
if (def.isRouteId || def.isRouteParameter) {
|
|
7414
|
+
if (routeParameterKeys.includes(def.name)) {
|
|
7415
|
+
params[def.name] = routeParams[def.name];
|
|
7416
|
+
}
|
|
7417
|
+
}
|
|
7418
|
+
else {
|
|
7419
|
+
// copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the
|
|
7420
|
+
// defaults and remember sanitisation process.
|
|
7421
|
+
const value = this.getParameterValue(def);
|
|
7422
|
+
if (this.hasParameter(def)) {
|
|
7423
|
+
params[def.name] = value;
|
|
7424
|
+
}
|
|
7425
|
+
}
|
|
7426
|
+
});
|
|
7427
|
+
return new Visit(this.placeDefinition, params);
|
|
7428
|
+
}
|
|
7429
|
+
// @Trace()
|
|
7430
|
+
hasRoutingChangedFrom(other) {
|
|
7431
|
+
const samePlace = other.placeDefinition === this.placeDefinition;
|
|
7432
|
+
const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
|
|
7433
|
+
const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
|
|
7434
|
+
// console.log({currentParams, otherParams});
|
|
7435
|
+
const sameRouteParameters = isEqual(currentParams, otherParams);
|
|
7436
|
+
return !samePlace || !sameRouteParameters;
|
|
7437
|
+
}
|
|
7438
|
+
hasChangedFrom(other) {
|
|
7439
|
+
const sameNonRouteParameters = isEqual(this.placeDefinition.getNonRouteParameters(this), this.placeDefinition.getNonRouteParameters(other));
|
|
7440
|
+
return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);
|
|
7441
|
+
}
|
|
7442
|
+
toDebugString() {
|
|
7443
|
+
return Object.keys(this.visitParameters).map(k => `${k}=${this.visitParameters[k]}`).join(',');
|
|
7570
7444
|
}
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7445
|
+
}
|
|
7446
|
+
|
|
7447
|
+
const AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
|
|
7448
|
+
|
|
7449
|
+
class NotAuthorisedNoticeComponent {
|
|
7450
|
+
constructor() {
|
|
7574
7451
|
}
|
|
7575
|
-
|
|
7576
|
-
|
|
7452
|
+
}
|
|
7453
|
+
NotAuthorisedNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NotAuthorisedNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7454
|
+
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"] });
|
|
7455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NotAuthorisedNoticeComponent, decorators: [{
|
|
7456
|
+
type: Component,
|
|
7457
|
+
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"] }]
|
|
7458
|
+
}], ctorParameters: function () { return []; } });
|
|
7459
|
+
|
|
7460
|
+
// Freezes the state of the components at the start of the animation.
|
|
7461
|
+
const animationStartStyle = style({ position: 'absolute', top: '0', left: '0', bottom: '0', right: '0' });
|
|
7462
|
+
const left = [
|
|
7463
|
+
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
7464
|
+
group([
|
|
7465
|
+
query(':enter', [
|
|
7466
|
+
style({ transform: 'translateX(-100%)' }),
|
|
7467
|
+
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
7468
|
+
], {
|
|
7469
|
+
optional: true
|
|
7470
|
+
}),
|
|
7471
|
+
query(':leave', [
|
|
7472
|
+
style({ transform: 'translateX(0%)' }),
|
|
7473
|
+
animate('{{duration}} ease-out', style({ transform: 'translateX(100%)' }))
|
|
7474
|
+
], {
|
|
7475
|
+
optional: true
|
|
7476
|
+
})
|
|
7477
|
+
])
|
|
7478
|
+
];
|
|
7479
|
+
const right = [
|
|
7480
|
+
query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
7481
|
+
group([
|
|
7482
|
+
query(':enter', [
|
|
7483
|
+
style({ transform: 'translateX(100%)', minHeight: '1px' }),
|
|
7484
|
+
animate('{{duration}} ease-out', style({ transform: 'translateX(0%)' }))
|
|
7485
|
+
], {
|
|
7486
|
+
optional: true
|
|
7487
|
+
}),
|
|
7488
|
+
query(':leave', [style({ transform: 'translateX(0%)' }), animate('{{duration}} ease-out', style({
|
|
7489
|
+
transform: 'translateX(-100%)',
|
|
7490
|
+
minHeight: '1px'
|
|
7491
|
+
}))], {
|
|
7492
|
+
optional: true
|
|
7493
|
+
})
|
|
7494
|
+
])
|
|
7495
|
+
];
|
|
7496
|
+
function leftRightPlaceAnimation(duration) {
|
|
7497
|
+
return trigger('routeAnimations', [
|
|
7498
|
+
transition(':increment', right, { params: { duration: duration } }),
|
|
7499
|
+
transition(':decrement', left, { params: { duration: duration } })
|
|
7500
|
+
]);
|
|
7501
|
+
}
|
|
7502
|
+
const LEFT_RIGHT_PLACE_ANIMATION = leftRightPlaceAnimation('0.3s');
|
|
7577
7503
|
|
|
7578
7504
|
/**
|
|
7579
7505
|
* This class handles the logic around canDeactivate for a given router state transition. It's core responsibilities are:
|
|
@@ -8354,141 +8280,6 @@ var PlaceAccessGuard;
|
|
|
8354
8280
|
PlaceAccessGuard.NoAuth = NoAuth;
|
|
8355
8281
|
})(PlaceAccessGuard || (PlaceAccessGuard = {}));
|
|
8356
8282
|
|
|
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
8283
|
/**
|
|
8493
8284
|
* This a work around for the fact that an activated route with multiple segments doesn't
|
|
8494
8285
|
* include the segment params in the paramMap as well as each segment returns an empty
|
|
@@ -8514,99 +8305,31 @@ class ConsolidatedParameterMap {
|
|
|
8514
8305
|
has(name) {
|
|
8515
8306
|
return !!this.paramMaps.find(m => m.has(name));
|
|
8516
8307
|
}
|
|
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);
|
|
8308
|
+
get keys() {
|
|
8309
|
+
return uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
|
|
8570
8310
|
}
|
|
8571
|
-
|
|
8572
|
-
|
|
8311
|
+
}
|
|
8312
|
+
__decorate([
|
|
8313
|
+
Memoize(),
|
|
8314
|
+
__metadata("design:type", Array),
|
|
8315
|
+
__metadata("design:paramtypes", [])
|
|
8316
|
+
], ConsolidatedParameterMap.prototype, "keys", null);
|
|
8317
|
+
class ParamMapAdapter {
|
|
8318
|
+
constructor(params) {
|
|
8319
|
+
this.params = params;
|
|
8573
8320
|
}
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
const routeParameterKeys = Object.keys(routeParams);
|
|
8577
|
-
const params = {};
|
|
8578
|
-
this.placeDefinition.getVisitParameterDefs().forEach(def => {
|
|
8579
|
-
if (def.isRouteId || def.isRouteParameter) {
|
|
8580
|
-
if (routeParameterKeys.includes(def.name)) {
|
|
8581
|
-
params[def.name] = routeParams[def.name];
|
|
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);
|
|
8321
|
+
get(name) {
|
|
8322
|
+
return this.params[name];
|
|
8594
8323
|
}
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
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;
|
|
8324
|
+
getAll(name) {
|
|
8325
|
+
const value = this.get(name);
|
|
8326
|
+
return Array.isArray(value) ? value : [value];
|
|
8603
8327
|
}
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);
|
|
8328
|
+
has(name) {
|
|
8329
|
+
return this.keys.includes(name);
|
|
8607
8330
|
}
|
|
8608
|
-
|
|
8609
|
-
return Object.keys(this.
|
|
8331
|
+
get keys() {
|
|
8332
|
+
return Object.keys(this.params);
|
|
8610
8333
|
}
|
|
8611
8334
|
}
|
|
8612
8335
|
|
|
@@ -8765,15 +8488,150 @@ class UrlService {
|
|
|
8765
8488
|
this.angularLocation.back();
|
|
8766
8489
|
}
|
|
8767
8490
|
}
|
|
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: "
|
|
8491
|
+
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 });
|
|
8492
|
+
UrlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: UrlService, providedIn: 'root' });
|
|
8493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: UrlService, decorators: [{
|
|
8771
8494
|
type: Injectable,
|
|
8772
8495
|
args: [{
|
|
8773
8496
|
providedIn: 'root'
|
|
8774
8497
|
}]
|
|
8775
8498
|
}], ctorParameters: function () { return [{ type: i1$e.Router }, { type: i4.Location }, { type: i1$e.UrlSerializer }]; } });
|
|
8776
8499
|
|
|
8500
|
+
class PlaceHistory {
|
|
8501
|
+
constructor() {
|
|
8502
|
+
this._archive = new Map();
|
|
8503
|
+
this.placeHistoryDepth = 4;
|
|
8504
|
+
}
|
|
8505
|
+
notifyNavigationStarted() {
|
|
8506
|
+
if (this._activeVisits) {
|
|
8507
|
+
this.archive(this._activeVisits.visits);
|
|
8508
|
+
this._previousVisits = this._activeVisits;
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8511
|
+
notifyNavigationFinished(visits) {
|
|
8512
|
+
this._activeVisits = new PlaceHistory.VisitRecord(visits);
|
|
8513
|
+
}
|
|
8514
|
+
updateVisit(visit) {
|
|
8515
|
+
assert.isTruthy(this._activeVisits);
|
|
8516
|
+
this._activeVisits.update(visit);
|
|
8517
|
+
}
|
|
8518
|
+
lastVisitIncluded(placeDef) {
|
|
8519
|
+
var _a;
|
|
8520
|
+
return !!((_a = this._previousVisits) === null || _a === void 0 ? void 0 : _a.getVisitFor(placeDef));
|
|
8521
|
+
}
|
|
8522
|
+
getMostRecentVisitFor(placeDef) {
|
|
8523
|
+
return first(this.getHistory(placeDef));
|
|
8524
|
+
}
|
|
8525
|
+
getHistory(placeDef) {
|
|
8526
|
+
let history = this._archive.get(placeDef);
|
|
8527
|
+
if (!history) {
|
|
8528
|
+
history = [];
|
|
8529
|
+
this.setHistory(placeDef, history);
|
|
8530
|
+
}
|
|
8531
|
+
return history;
|
|
8532
|
+
}
|
|
8533
|
+
setHistory(placeDef, history) {
|
|
8534
|
+
this._archive.set(placeDef, history);
|
|
8535
|
+
}
|
|
8536
|
+
archive(visits) {
|
|
8537
|
+
visits.forEach(state => {
|
|
8538
|
+
const history = this.getHistory(state.placeDefinition);
|
|
8539
|
+
const previousState = first(history);
|
|
8540
|
+
if (!previousState || state.hasChangedFrom(previousState)) {
|
|
8541
|
+
history.unshift(state); // LIFO
|
|
8542
|
+
this.setHistory(state.placeDefinition, history.slice(0, this.placeHistoryDepth));
|
|
8543
|
+
}
|
|
8544
|
+
});
|
|
8545
|
+
}
|
|
8546
|
+
}
|
|
8547
|
+
PlaceHistory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceHistory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8548
|
+
PlaceHistory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceHistory, providedIn: 'root' });
|
|
8549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceHistory, decorators: [{
|
|
8550
|
+
type: Injectable,
|
|
8551
|
+
args: [{
|
|
8552
|
+
providedIn: 'root'
|
|
8553
|
+
}]
|
|
8554
|
+
}], ctorParameters: function () { return []; } });
|
|
8555
|
+
(function (PlaceHistory) {
|
|
8556
|
+
class VisitRecord {
|
|
8557
|
+
constructor(visits) {
|
|
8558
|
+
this.visits = visits;
|
|
8559
|
+
}
|
|
8560
|
+
update(visit) {
|
|
8561
|
+
this.visits = this.visits.filter(v => v.placeDefinition !== visit.placeDefinition).concat(visit);
|
|
8562
|
+
}
|
|
8563
|
+
getVisitFor(placeDef) {
|
|
8564
|
+
return this.visits.find(v => v.placeDefinition === placeDef);
|
|
8565
|
+
}
|
|
8566
|
+
}
|
|
8567
|
+
PlaceHistory.VisitRecord = VisitRecord;
|
|
8568
|
+
// export class Query {
|
|
8569
|
+
// private _history: Visit.State[];
|
|
8570
|
+
// private _places: Place[];
|
|
8571
|
+
// private _predicate: (visit: any) => boolean;
|
|
8572
|
+
// private _limit: number;
|
|
8573
|
+
//
|
|
8574
|
+
// constructor(history, limit = history.length) {
|
|
8575
|
+
// this._history = history;
|
|
8576
|
+
// this._places = [];
|
|
8577
|
+
// this._predicate = (visit => true);
|
|
8578
|
+
// this._limit = limit;
|
|
8579
|
+
// }
|
|
8580
|
+
//
|
|
8581
|
+
// to(...places:Place[]):this {
|
|
8582
|
+
// this._places = places;
|
|
8583
|
+
// return this;
|
|
8584
|
+
// }
|
|
8585
|
+
//
|
|
8586
|
+
// with(parameters: { [parameter: string]: any }): this {
|
|
8587
|
+
// this.matching(state => {
|
|
8588
|
+
// return Object.keys(parameters).reduce((acc, key) => {
|
|
8589
|
+
// const matchValue = parameters[key];
|
|
8590
|
+
// const visitValue = state.get(key);
|
|
8591
|
+
// const matched = matchValue === '*' ? !isNil(visitValue) : visitValue == matchValue;
|
|
8592
|
+
// // Logger.get(this).info(`matched=${matched}`, parameters, visitValue);
|
|
8593
|
+
// return acc && matched;
|
|
8594
|
+
// }, true);
|
|
8595
|
+
// });
|
|
8596
|
+
// return this;
|
|
8597
|
+
// }
|
|
8598
|
+
//
|
|
8599
|
+
// last(): Visit.State {
|
|
8600
|
+
// return findLast(this._history, visit => this._matches(visit))
|
|
8601
|
+
// }
|
|
8602
|
+
//
|
|
8603
|
+
// // @trace
|
|
8604
|
+
// allThatMatch(): Visit.State[] {
|
|
8605
|
+
// return filter(this._history, visit => this._matches(visit)).slice(-this._limit);
|
|
8606
|
+
// }
|
|
8607
|
+
//
|
|
8608
|
+
// // @trace
|
|
8609
|
+
// mostRecentValueOf<T=any>(param: string, defaultValue: T = null): T {
|
|
8610
|
+
// const lastStateWithParam = findLast(this.allThatMatch(), state => !isNil(state.get(param)));
|
|
8611
|
+
// return isNil(lastStateWithParam) ? defaultValue : lastStateWithParam.get(param);
|
|
8612
|
+
// }
|
|
8613
|
+
//
|
|
8614
|
+
// limit(limit: number): this {
|
|
8615
|
+
// this._limit = limit;
|
|
8616
|
+
// return this;
|
|
8617
|
+
// }
|
|
8618
|
+
//
|
|
8619
|
+
// matching(predicate: (visit: Visit.State) => boolean): this {
|
|
8620
|
+
// this._predicate = predicate;
|
|
8621
|
+
// return this;
|
|
8622
|
+
// }
|
|
8623
|
+
//
|
|
8624
|
+
// _matches(visit: Visit.State) {
|
|
8625
|
+
// return this._isPlaceMatch(visit) && this._predicate(visit);
|
|
8626
|
+
// }
|
|
8627
|
+
//
|
|
8628
|
+
// _isPlaceMatch(visit: Visit.State) {
|
|
8629
|
+
// return this._places.length < 1 || this._places.includes(visit.place)
|
|
8630
|
+
// }
|
|
8631
|
+
//
|
|
8632
|
+
// }
|
|
8633
|
+
})(PlaceHistory || (PlaceHistory = {}));
|
|
8634
|
+
|
|
8777
8635
|
function asArray(item) {
|
|
8778
8636
|
return Array.isArray(item) ? item : [item];
|
|
8779
8637
|
}
|
|
@@ -9066,9 +8924,9 @@ class PlaceRouter extends GarbageCollector {
|
|
|
9066
8924
|
[def.getFormattedRouteParameters(visit)];
|
|
9067
8925
|
}
|
|
9068
8926
|
}
|
|
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: "
|
|
8927
|
+
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 });
|
|
8928
|
+
PlaceRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceRouter, providedIn: 'root' });
|
|
8929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceRouter, decorators: [{
|
|
9072
8930
|
type: Injectable,
|
|
9073
8931
|
args: [{
|
|
9074
8932
|
providedIn: 'root'
|
|
@@ -9089,67 +8947,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9089
8947
|
PlaceRouter.State = State;
|
|
9090
8948
|
})(PlaceRouter || (PlaceRouter = {}));
|
|
9091
8949
|
|
|
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
8950
|
const AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT = new InjectionToken('AUP_UNAUTHORISED_PLACE_COMPONENT');
|
|
9154
8951
|
class PlaceOutletComponent extends DisposableComponent {
|
|
9155
8952
|
constructor(router, placeRouter, placeConfig, unauthorisedPlaceNotice, parentOutlet, cdr) {
|
|
@@ -9336,8 +9133,8 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
9336
9133
|
}
|
|
9337
9134
|
}
|
|
9338
9135
|
}
|
|
9339
|
-
PlaceOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9340
|
-
PlaceOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9136
|
+
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 });
|
|
9137
|
+
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
9138
|
__decorate([
|
|
9342
9139
|
StoreInValueModel('animateModel'),
|
|
9343
9140
|
__metadata("design:type", Boolean)
|
|
@@ -9354,29 +9151,26 @@ __decorate([
|
|
|
9354
9151
|
StoreInListModel('customPlaceAnimationOrderModel'),
|
|
9355
9152
|
__metadata("design:type", Array)
|
|
9356
9153
|
], PlaceOutletComponent.prototype, "customPlaceAnimationOrder", void 0);
|
|
9357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceOutletComponent, decorators: [{
|
|
9358
9155
|
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: [{
|
|
9156
|
+
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"] }]
|
|
9157
|
+
}], ctorParameters: function () {
|
|
9158
|
+
return [{ type: i1$e.Router }, { type: PlaceRouter }, { type: undefined, decorators: [{
|
|
9159
|
+
type: Optional
|
|
9160
|
+
}, {
|
|
9161
|
+
type: Inject,
|
|
9162
|
+
args: [AUP_PLACE_CONFIG]
|
|
9163
|
+
}] }, { type: undefined, decorators: [{
|
|
9164
|
+
type: Optional
|
|
9165
|
+
}, {
|
|
9166
|
+
type: Inject,
|
|
9167
|
+
args: [AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT]
|
|
9168
|
+
}] }, { type: PlaceOutletComponent, decorators: [{
|
|
9169
|
+
type: SkipSelf
|
|
9170
|
+
}, {
|
|
9171
|
+
type: Optional
|
|
9172
|
+
}] }, { type: i0.ChangeDetectorRef }];
|
|
9173
|
+
}, propDecorators: { animate: [{
|
|
9380
9174
|
type: Input
|
|
9381
9175
|
}], animateModel: [{
|
|
9382
9176
|
type: Input
|
|
@@ -9443,8 +9237,8 @@ class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
|
9443
9237
|
ngOnInit() {
|
|
9444
9238
|
}
|
|
9445
9239
|
}
|
|
9446
|
-
AbstractPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9447
|
-
AbstractPlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9240
|
+
AbstractPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPlaceNavigationComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9241
|
+
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
9242
|
__decorate([
|
|
9449
9243
|
StoreInListModel('placesModel'),
|
|
9450
9244
|
__metadata("design:type", Array)
|
|
@@ -9467,7 +9261,7 @@ __decorate([
|
|
|
9467
9261
|
__metadata("design:paramtypes", [PlaceDefinition]),
|
|
9468
9262
|
__metadata("design:returntype", Object)
|
|
9469
9263
|
], AbstractPlaceNavigationComponent.prototype, "getNavigationFace", null);
|
|
9470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AbstractPlaceNavigationComponent, decorators: [{
|
|
9471
9265
|
type: Component,
|
|
9472
9266
|
args: [{
|
|
9473
9267
|
template: ''
|
|
@@ -9487,15 +9281,11 @@ class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {
|
|
|
9487
9281
|
super(router);
|
|
9488
9282
|
}
|
|
9489
9283
|
}
|
|
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: "
|
|
9284
|
+
ListPlaceNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ListPlaceNavComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9285
|
+
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"] }] });
|
|
9286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ListPlaceNavComponent, decorators: [{
|
|
9493
9287
|
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
|
-
}]
|
|
9288
|
+
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
9289
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; } });
|
|
9500
9290
|
|
|
9501
9291
|
/**
|
|
@@ -9554,8 +9344,8 @@ class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
9554
9344
|
this.expanded = !this.expanded;
|
|
9555
9345
|
}
|
|
9556
9346
|
}
|
|
9557
|
-
SidePlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9558
|
-
SidePlaceNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9347
|
+
SidePlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SidePlaceNavigationComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9348
|
+
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
9349
|
__decorate([
|
|
9560
9350
|
TrackExternal(),
|
|
9561
9351
|
__metadata("design:type", MutableValueModel)
|
|
@@ -9564,13 +9354,9 @@ __decorate([
|
|
|
9564
9354
|
StoreInValueModel("expanded$"),
|
|
9565
9355
|
__metadata("design:type", Boolean)
|
|
9566
9356
|
], SidePlaceNavigationComponent.prototype, "expanded", void 0);
|
|
9567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SidePlaceNavigationComponent, decorators: [{
|
|
9568
9358
|
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
|
-
}]
|
|
9359
|
+
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
9360
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; }, propDecorators: { expanded$: [{
|
|
9575
9361
|
type: Input
|
|
9576
9362
|
}], expanded: [{
|
|
@@ -9588,21 +9374,17 @@ class TabbedPlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
9588
9374
|
super(router);
|
|
9589
9375
|
}
|
|
9590
9376
|
}
|
|
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: "
|
|
9377
|
+
TabbedPlaceNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TabbedPlaceNavigationComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9378
|
+
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"] }] });
|
|
9379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TabbedPlaceNavigationComponent, decorators: [{
|
|
9594
9380
|
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
|
-
}]
|
|
9381
|
+
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
9382
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; } });
|
|
9601
9383
|
|
|
9602
9384
|
class PlaceModule {
|
|
9603
9385
|
}
|
|
9604
|
-
PlaceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9605
|
-
PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
9386
|
+
PlaceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9387
|
+
PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, declarations: [PlaceOutletComponent,
|
|
9606
9388
|
TabbedPlaceNavigationComponent,
|
|
9607
9389
|
ListPlaceNavComponent,
|
|
9608
9390
|
SidePlaceNavigationComponent,
|
|
@@ -9623,7 +9405,7 @@ PlaceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
9623
9405
|
ListPlaceNavComponent,
|
|
9624
9406
|
SidePlaceNavigationComponent,
|
|
9625
9407
|
AbstractPlaceNavigationComponent] });
|
|
9626
|
-
PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9408
|
+
PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, providers: [
|
|
9627
9409
|
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "2000ms"}}
|
|
9628
9410
|
], imports: [[
|
|
9629
9411
|
CommonModule,
|
|
@@ -9639,7 +9421,7 @@ PlaceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "1
|
|
|
9639
9421
|
ComponentsModule,
|
|
9640
9422
|
PortalModule
|
|
9641
9423
|
]] });
|
|
9642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceModule, decorators: [{
|
|
9643
9425
|
type: NgModule,
|
|
9644
9426
|
args: [{
|
|
9645
9427
|
imports: [
|
|
@@ -9664,7 +9446,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9664
9446
|
AbstractPlaceNavigationComponent,
|
|
9665
9447
|
NotAuthorisedNoticeComponent
|
|
9666
9448
|
],
|
|
9667
|
-
entryComponents: [],
|
|
9668
9449
|
exports: [
|
|
9669
9450
|
PlaceOutletComponent,
|
|
9670
9451
|
TabbedPlaceNavigationComponent,
|
|
@@ -9681,8 +9462,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
9681
9462
|
// Trick @jscutlery/semver to bump the version again..
|
|
9682
9463
|
class AngularUiPowerupsModule {
|
|
9683
9464
|
}
|
|
9684
|
-
AngularUiPowerupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9685
|
-
AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
9465
|
+
AngularUiPowerupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9466
|
+
AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, imports: [CommonModule,
|
|
9686
9467
|
BrowserAnimationsModule,
|
|
9687
9468
|
FormsModule,
|
|
9688
9469
|
MatInputModule,
|
|
@@ -9697,7 +9478,7 @@ AngularUiPowerupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
9697
9478
|
DirectivesModule,
|
|
9698
9479
|
ComponentsModule,
|
|
9699
9480
|
NoopComponent] });
|
|
9700
|
-
AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9481
|
+
AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, imports: [[
|
|
9701
9482
|
CommonModule,
|
|
9702
9483
|
BrowserAnimationsModule,
|
|
9703
9484
|
FormsModule,
|
|
@@ -9713,7 +9494,7 @@ AngularUiPowerupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
9713
9494
|
PlaceModule,
|
|
9714
9495
|
DirectivesModule,
|
|
9715
9496
|
ComponentsModule] });
|
|
9716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AngularUiPowerupsModule, decorators: [{
|
|
9717
9498
|
type: NgModule,
|
|
9718
9499
|
args: [{
|
|
9719
9500
|
declarations: [],
|
|
@@ -9838,24 +9619,26 @@ class DialogInteractionContextFactory extends ModalInteractionContextFactory {
|
|
|
9838
9619
|
return new DialogInteractionContext(identifier, api, this.dialogService, config);
|
|
9839
9620
|
}
|
|
9840
9621
|
}
|
|
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: "
|
|
9622
|
+
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 });
|
|
9623
|
+
DialogInteractionContextFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogInteractionContextFactory, providedIn: 'root' });
|
|
9624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogInteractionContextFactory, decorators: [{
|
|
9844
9625
|
type: Injectable,
|
|
9845
9626
|
args: [{
|
|
9846
9627
|
providedIn: 'root'
|
|
9847
9628
|
}]
|
|
9848
|
-
}], ctorParameters: function () {
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
type:
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9629
|
+
}], ctorParameters: function () {
|
|
9630
|
+
return [{ type: i1$f.MatDialog }, { type: i1$f.MatDialogConfig, decorators: [{
|
|
9631
|
+
type: Optional
|
|
9632
|
+
}, {
|
|
9633
|
+
type: Inject,
|
|
9634
|
+
args: [DIALOG_INTERACTION_SERVICE_DEFAULTS]
|
|
9635
|
+
}] }, { type: i1$f.MatDialogConfig, decorators: [{
|
|
9636
|
+
type: Optional
|
|
9637
|
+
}, {
|
|
9638
|
+
type: Inject,
|
|
9639
|
+
args: [MAT_DIALOG_DEFAULT_OPTIONS]
|
|
9640
|
+
}] }];
|
|
9641
|
+
} });
|
|
9859
9642
|
|
|
9860
9643
|
/**
|
|
9861
9644
|
* @file Automatically generated by barrelsby.
|
|
@@ -9885,9 +9668,9 @@ class NoopAuthGuard {
|
|
|
9885
9668
|
});
|
|
9886
9669
|
}
|
|
9887
9670
|
}
|
|
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: "
|
|
9671
|
+
NoopAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopAuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9672
|
+
NoopAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopAuthGuard, providedIn: 'root' });
|
|
9673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NoopAuthGuard, decorators: [{
|
|
9891
9674
|
type: Injectable,
|
|
9892
9675
|
args: [{
|
|
9893
9676
|
providedIn: 'root'
|
|
@@ -10027,9 +9810,9 @@ class PlaceGuard {
|
|
|
10027
9810
|
});
|
|
10028
9811
|
}
|
|
10029
9812
|
}
|
|
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: "
|
|
9813
|
+
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 });
|
|
9814
|
+
PlaceGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceGuard, providedIn: 'root' });
|
|
9815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PlaceGuard, decorators: [{
|
|
10033
9816
|
type: Injectable,
|
|
10034
9817
|
args: [{ providedIn: 'root' }]
|
|
10035
9818
|
}], ctorParameters: function () { return [{ type: i1$e.Router }, { type: UrlService }, { type: PlaceRouter }, { type: PlaceHistory }, { type: InteractionService }, { type: i0.Injector }]; } });
|
|
@@ -10143,7 +9926,7 @@ class VisibilityService extends GarbageCollector {
|
|
|
10143
9926
|
// private _throttledWakeEvents: Stream<Instant>;
|
|
10144
9927
|
constructor(document) {
|
|
10145
9928
|
super();
|
|
10146
|
-
this.
|
|
9929
|
+
this._visible$ = new MutableValueModel();
|
|
10147
9930
|
this.document = document; // see https://stackoverflow.com/a/53715642
|
|
10148
9931
|
const { chain } = Dsl.disposeWith(this);
|
|
10149
9932
|
// Set the name of the hidden property and the change event for visibility
|
|
@@ -10171,8 +9954,7 @@ class VisibilityService extends GarbageCollector {
|
|
|
10171
9954
|
this.document.removeEventListener(this.eventName, handler);
|
|
10172
9955
|
});
|
|
10173
9956
|
}
|
|
10174
|
-
|
|
10175
|
-
this._visibleModel.value = this.isVisible();
|
|
9957
|
+
this._visible$.value = this.isVisible();
|
|
10176
9958
|
// give the network a chance to come back or we end up with a bunch of failed requests.
|
|
10177
9959
|
// should probably also implement a connection service so that we can go
|
|
10178
9960
|
// connectionServer.ensureConnectedThen(fireWakeEvent);
|
|
@@ -10183,11 +9965,17 @@ class VisibilityService extends GarbageCollector {
|
|
|
10183
9965
|
// }
|
|
10184
9966
|
// @trace
|
|
10185
9967
|
updateVisibilityState() {
|
|
10186
|
-
this.
|
|
9968
|
+
this._visible$.value = this.isVisible();
|
|
10187
9969
|
// this._wakeEvents.publish(Instant.now());
|
|
10188
9970
|
}
|
|
9971
|
+
/**
|
|
9972
|
+
* @deprecated use visible$ instead.
|
|
9973
|
+
*/
|
|
10189
9974
|
get visibleModel() {
|
|
10190
|
-
return this.
|
|
9975
|
+
return this._visible$.readonly;
|
|
9976
|
+
}
|
|
9977
|
+
get visible$() {
|
|
9978
|
+
return this._visible$.readonly;
|
|
10191
9979
|
}
|
|
10192
9980
|
isHidden() {
|
|
10193
9981
|
return !!this.document[this.attributeName];
|
|
@@ -10196,15 +9984,17 @@ class VisibilityService extends GarbageCollector {
|
|
|
10196
9984
|
return !this.isHidden();
|
|
10197
9985
|
}
|
|
10198
9986
|
}
|
|
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: "
|
|
9987
|
+
VisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VisibilityService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9988
|
+
VisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VisibilityService, providedIn: 'root' });
|
|
9989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: VisibilityService, decorators: [{
|
|
10202
9990
|
type: Injectable,
|
|
10203
9991
|
args: [{ providedIn: 'root' }]
|
|
10204
|
-
}], ctorParameters: function () {
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
9992
|
+
}], ctorParameters: function () {
|
|
9993
|
+
return [{ type: undefined, decorators: [{
|
|
9994
|
+
type: Inject,
|
|
9995
|
+
args: [DOCUMENT]
|
|
9996
|
+
}] }];
|
|
9997
|
+
} });
|
|
10208
9998
|
|
|
10209
9999
|
/**
|
|
10210
10000
|
* @file Automatically generated by barrelsby.
|
|
@@ -10215,4 +10005,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
10215
10005
|
*/
|
|
10216
10006
|
|
|
10217
10007
|
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.
|
|
10008
|
+
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|