@coolon/angular-ui-powerups 14.47.3 → 15.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/table.scss +1 -18
- package/esm2022/lib/angular-ui-powerups.module.mjs +80 -0
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +34 -0
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +37 -0
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +131 -0
- package/{esm2020 → esm2022}/lib/components/cards/card-stack/card-stack.component.mjs +4 -4
- package/esm2022/lib/components/commands/command/command.component.mjs +115 -0
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +85 -0
- package/{esm2020 → esm2022}/lib/components/commands/command-face.mjs +2 -1
- package/{esm2020 → esm2022}/lib/components/commands/flex.component.mjs +4 -4
- package/esm2022/lib/components/commands/group/command-container.mjs +22 -0
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +28 -0
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +90 -0
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +58 -0
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +106 -0
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +55 -0
- package/{esm2020 → esm2022}/lib/components/commands/group/tool-bar/tool-bar.component.mjs +4 -4
- package/esm2022/lib/components/commands/separator.component.mjs +42 -0
- package/esm2022/lib/components/components.module.mjs +340 -0
- package/{esm2020 → esm2022}/lib/components/disposable-component.mjs +4 -4
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +23 -0
- package/esm2022/lib/components/exports.mjs +93 -0
- package/esm2022/lib/components/focus-container/focus-container.component.mjs +38 -0
- package/esm2022/lib/components/focusable.component.mjs +51 -0
- package/esm2022/lib/components/forms/abstract-input.component.mjs +175 -0
- package/esm2022/lib/components/forms/abstract-list-input.component.mjs +72 -0
- package/esm2022/lib/components/forms/abstract-value-input.component.mjs +72 -0
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +133 -0
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +29 -0
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +86 -0
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +35 -0
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +25 -0
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +130 -0
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +53 -0
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/components/icon/icon.component.mjs +11 -9
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +22 -0
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +54 -0
- package/{esm2020 → esm2022}/lib/components/noop/noop.component.mjs +4 -4
- package/esm2022/lib/components/resize-aware.component.mjs +47 -0
- package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +37 -0
- package/esm2022/lib/components/section-header/section-header.component.mjs +36 -0
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +132 -0
- package/esm2022/lib/components/tables/abstract-table-model.mjs +254 -0
- package/esm2022/lib/components/tables/abstract-table.component.mjs +156 -0
- package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +190 -0
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +40 -0
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +16 -0
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +38 -0
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +56 -0
- package/esm2022/lib/components/tables/column/property-column-model.mjs +98 -0
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +51 -0
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +60 -0
- package/esm2022/lib/components/tables/editor/edit-session.mjs +26 -0
- package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +53 -0
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +58 -0
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +45 -0
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +103 -0
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +23 -0
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +16 -0
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +51 -0
- package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +33 -0
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +129 -0
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +101 -0
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +34 -0
- package/esm2022/lib/components/tables/table/table.component.mjs +175 -0
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +174 -0
- package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +32 -0
- package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +70 -0
- package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +73 -0
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +100 -0
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +44 -0
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +115 -0
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +108 -0
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +83 -0
- package/esm2022/lib/components/types/bounds.class.mjs +31 -0
- package/{esm2020 → esm2022}/lib/components/types/dimension.class.mjs +3 -1
- package/esm2022/lib/components/types/point.class.mjs +15 -0
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +80 -0
- package/esm2022/lib/directives/command.directive.mjs +126 -0
- package/esm2022/lib/directives/directives.module.mjs +68 -0
- package/esm2022/lib/directives/focus-binding-factory.mjs +32 -0
- package/esm2022/lib/directives/focus-binding.directive.mjs +66 -0
- package/esm2022/lib/directives/focus-binding.mjs +83 -0
- package/{esm2020 → esm2022}/lib/directives/garbage-collector.directive.mjs +4 -4
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +28 -0
- package/esm2022/lib/directives/highlight.pipe.mjs +49 -0
- package/esm2022/lib/interaction/activity-ref.mjs +69 -0
- package/{esm2020 → esm2022}/lib/interaction/activity.mjs +19 -13
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +28 -0
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +66 -0
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +135 -0
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +20 -0
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +250 -0
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +65 -0
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +43 -0
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +96 -0
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +25 -0
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +23 -0
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +31 -0
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +94 -0
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +79 -0
- package/{esm2020 → esm2022}/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +4 -4
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +30 -0
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +52 -0
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +193 -0
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +143 -0
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +102 -0
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +52 -0
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +37 -0
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +134 -0
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +77 -0
- package/esm2022/lib/interaction/interaction.module.mjs +195 -0
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +32 -0
- package/esm2022/lib/interaction/services/interaction.service.mjs +157 -0
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +51 -0
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +68 -0
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +109 -0
- package/{esm2020 → esm2022}/lib/place/components/list-place-nav/list-place-nav.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +4 -4
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +279 -0
- package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +97 -0
- package/{esm2020 → esm2022}/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +6 -6
- package/esm2022/lib/place/exports.mjs +48 -0
- package/{esm2020 → esm2022}/lib/place/guards/consolidated-param-map.mjs +3 -2
- package/{esm2020 → esm2022}/lib/place/guards/noop-auth-guard.service.mjs +4 -4
- package/esm2022/lib/place/guards/place.guard.mjs +158 -0
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +87 -0
- package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +15 -0
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +45 -0
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +159 -0
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +66 -0
- package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +35 -0
- package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +54 -0
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +89 -0
- package/{esm2020 → esm2022}/lib/place/navigation/session/navigating.mjs +4 -6
- package/esm2022/lib/place/navigation/session/navigation-context.mjs +19 -0
- package/esm2022/lib/place/navigation/session/navigation-session.mjs +176 -0
- package/esm2022/lib/place/place-access-guard.mjs +15 -0
- package/esm2022/lib/place/place-component.mjs +200 -0
- package/esm2022/lib/place/place-definition.mjs +213 -0
- package/esm2022/lib/place/place-history.mjs +148 -0
- package/esm2022/lib/place/place-router.mjs +352 -0
- package/esm2022/lib/place/place.module.mjs +94 -0
- package/esm2022/lib/place/route/parameter-definition.mjs +121 -0
- package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +46 -0
- package/esm2022/lib/place/url-service.mjs +68 -0
- package/esm2022/lib/place/url-snapshot.mjs +125 -0
- package/esm2022/lib/place/visit-segment.mjs +88 -0
- package/esm2022/lib/place/visit.mjs +97 -0
- package/{esm2020 → esm2022}/lib/services/markdown/markdown.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/visibility-service.mjs +8 -5
- package/{fesm2020 → fesm2022}/coolon-angular-ui-powerups.mjs +1827 -1526
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -0
- package/lib/angular-ui-powerups.module.d.ts +5 -5
- package/lib/components/alignment.d.ts +1 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +1 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +1 -1
- package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
- package/lib/components/cards/card-stack/card-stack.component.d.ts +1 -1
- package/lib/components/commands/command/command.component.d.ts +2 -2
- package/lib/components/commands/command-face/command-face.component.d.ts +1 -1
- package/lib/components/commands/flex.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +2 -2
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +1 -1
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +1 -1
- package/lib/components/commands/separator.component.d.ts +1 -1
- package/lib/components/components.module.d.ts +21 -23
- package/lib/components/disposable-component.d.ts +1 -1
- package/lib/components/empty-state/empty-state.component.d.ts +1 -1
- package/lib/components/exports.d.ts +0 -2
- package/lib/components/focus-container/focus-container.component.d.ts +1 -1
- package/lib/components/focusable.component.d.ts +1 -1
- package/lib/components/forms/abstract-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +3 -3
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +1 -1
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +1 -1
- package/lib/components/forms/number-input/number-input.component.d.ts +1 -1
- package/lib/components/forms/password-input/password-input.component.d.ts +1 -1
- package/lib/components/forms/select-input/select-input.component.d.ts +1 -2
- package/lib/components/forms/string-input/string-input.component.d.ts +1 -1
- package/lib/components/forms/text-input/text-input.component.d.ts +1 -1
- package/lib/components/icon/icon.component.d.ts +1 -1
- package/lib/components/labelled-value/labelled-value.component.d.ts +1 -1
- package/lib/components/loading-container/loading-container.component.d.ts +1 -1
- package/lib/components/noop/noop.component.d.ts +1 -1
- package/lib/components/resize-aware.component.d.ts +1 -1
- package/lib/components/scroll-container/scroll-container.component.d.ts +1 -1
- package/lib/components/section-header/section-header.component.d.ts +1 -1
- package/lib/components/switch-case/switch-case.component.d.ts +3 -3
- package/lib/components/tables/abstract-table-model.d.ts +1 -3
- package/lib/components/tables/abstract-table.component.d.ts +1 -1
- package/lib/components/tables/column/column-model.d.ts +1 -1
- package/lib/components/tables/column/column-template/column-template.directive.d.ts +1 -1
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +1 -1
- package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
- package/lib/components/tables/filter/text-search-predicate.d.ts +1 -1
- package/lib/components/tables/paginator/paginator.component.d.ts +1 -1
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -1
- package/lib/components/tables/renderer/selection-cell/selection-cell.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +1 -1
- package/lib/components/tables/table/table.component.d.ts +1 -1
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +2 -2
- package/lib/components/tables/tree-table/decorated-tree-node.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-table-model.d.ts +1 -1
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +1 -1
- package/lib/directives/command.directive.d.ts +3 -3
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/directives/focus-binding.directive.d.ts +1 -1
- package/lib/directives/garbage-collector.directive.d.ts +1 -1
- package/lib/directives/highlight-text-model.directive.d.ts +1 -1
- package/lib/interaction/activity.d.ts +2 -2
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -1
- package/lib/interaction/components/abstract-dialog.component.d.ts +1 -1
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +1 -1
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -2
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +1 -1
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +1 -1
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -1
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
- package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +1 -1
- package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +1 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +2 -2
- package/lib/interaction/components/input-activities/input-activity.d.ts +3 -7
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +2 -4
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
- package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +1 -1
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +1 -1
- package/lib/interaction/interaction.module.d.ts +6 -6
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -2
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +2 -2
- package/lib/place/components/abstract-place-navigation.component.d.ts +3 -4
- package/lib/place/components/list-place-nav/list-place-nav.component.d.ts +1 -1
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +1 -1
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -1
- package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +1 -1
- package/lib/place/exports.d.ts +0 -1
- package/lib/place/guards/noop-auth-guard.service.d.ts +2 -2
- package/lib/place/guards/place.guard.d.ts +4 -4
- package/lib/place/place-access-guard.d.ts +2 -2
- package/lib/place/place-component.d.ts +3 -6
- package/lib/place/place-router.d.ts +9 -2
- package/lib/place/place.module.d.ts +5 -5
- package/lib/place/route/json-types.d.ts +2 -2
- package/package.json +16 -24
- package/schematics/activity/index.js +1 -2
- package/schematics/activity/index.js.map +1 -1
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +5 -4
- package/schematics/aup-i18n/index.js +6 -6
- package/schematics/aup-i18n/index.js.map +1 -1
- package/schematics/bootstrap-app/index.js +10 -10
- package/schematics/bootstrap-app/index.js.map +1 -1
- package/schematics/component/index.js +2 -2
- package/schematics/component/index.js.map +1 -1
- package/schematics/component/schema.d.ts +1 -1
- package/schematics/component/schema.json +6 -6
- package/schematics/place-add/index.js +3 -3
- package/schematics/place-add/index.js.map +1 -1
- package/schematics/place-add/schema.d.ts +1 -1
- package/schematics/place-add/schema.json +4 -4
- package/schematics/place-add/templates/component/__name@dasherize__.component.scss.template +0 -1
- package/schematics/place-routes/index.js.map +1 -1
- package/schematics/place-routes/place-def.js +1 -1
- package/schematics/place-routes/place-def.js.map +1 -1
- package/schematics/place-routes/schema.json +2 -1
- package/schematics/place-routes/templates/place-routes.ts.template +3 -2
- package/schematics/utils/import-def.js +3 -3
- package/schematics/utils/import-def.js.map +1 -1
- package/schematics/utils/stringy.js +3 -3
- package/schematics/utils/stringy.js.map +1 -1
- package/schematics/utils/workspace.js +3 -3
- package/schematics/utils/workspace.js.map +1 -1
- package/esm2020/lib/angular-ui-powerups.module.mjs +0 -80
- package/esm2020/lib/components/busy-overlay/busy-overlay.component.mjs +0 -32
- package/esm2020/lib/components/cards/abstract-card-container.component.mjs +0 -34
- package/esm2020/lib/components/cards/card-container/card-container.component.mjs +0 -129
- package/esm2020/lib/components/commands/command/command.component.mjs +0 -103
- package/esm2020/lib/components/commands/command-face/command-face.component.mjs +0 -80
- package/esm2020/lib/components/commands/group/command-container.mjs +0 -21
- package/esm2020/lib/components/commands/group/popup-aware.component.mjs +0 -26
- package/esm2020/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +0 -84
- package/esm2020/lib/components/commands/group/popup-menu/more-menu.component.mjs +0 -57
- package/esm2020/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +0 -101
- package/esm2020/lib/components/commands/group/popup-menu/popup-menu.component.mjs +0 -53
- package/esm2020/lib/components/commands/separator.component.mjs +0 -41
- package/esm2020/lib/components/components.module.mjs +0 -350
- package/esm2020/lib/components/empty-state/empty-state.component.mjs +0 -23
- package/esm2020/lib/components/exports.mjs +0 -95
- package/esm2020/lib/components/focus-container/focus-container.component.mjs +0 -37
- package/esm2020/lib/components/focusable.component.mjs +0 -48
- package/esm2020/lib/components/forms/abstract-input.component.mjs +0 -154
- package/esm2020/lib/components/forms/abstract-list-input.component.mjs +0 -65
- package/esm2020/lib/components/forms/abstract-value-input.component.mjs +0 -65
- package/esm2020/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +0 -120
- package/esm2020/lib/components/forms/checkbox-input/checkbox-input.component.mjs +0 -29
- package/esm2020/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +0 -78
- package/esm2020/lib/components/forms/number-input/number-input.component.mjs +0 -33
- package/esm2020/lib/components/forms/password-input/password-input.component.mjs +0 -24
- package/esm2020/lib/components/forms/select-input/select-input.component.mjs +0 -121
- package/esm2020/lib/components/forms/string-input/string-input.component.mjs +0 -48
- package/esm2020/lib/components/forms/text-input/text-input.component.mjs +0 -30
- package/esm2020/lib/components/labelled-value/labelled-value.component.mjs +0 -20
- package/esm2020/lib/components/loading-container/loading-container.component.mjs +0 -50
- package/esm2020/lib/components/resize-aware.component.mjs +0 -45
- package/esm2020/lib/components/scroll-container/scroll-container.component.mjs +0 -35
- package/esm2020/lib/components/section-header/section-header.component.mjs +0 -36
- package/esm2020/lib/components/switch-case/switch-case.component.mjs +0 -126
- package/esm2020/lib/components/tables/abstract-table-model.mjs +0 -246
- package/esm2020/lib/components/tables/abstract-table.component.mjs +0 -149
- package/esm2020/lib/components/tables/column/column-list-model.mjs +0 -43
- package/esm2020/lib/components/tables/column/column-model.mjs +0 -184
- package/esm2020/lib/components/tables/column/column-template/column-template.directive.mjs +0 -35
- package/esm2020/lib/components/tables/column/custom-template-column-model.mjs +0 -16
- package/esm2020/lib/components/tables/column/custom-value-column-model.mjs +0 -37
- package/esm2020/lib/components/tables/column/list-propery-column-model.mjs +0 -54
- package/esm2020/lib/components/tables/column/property-column-model.mjs +0 -96
- package/esm2020/lib/components/tables/column/selection-column-model.mjs +0 -50
- package/esm2020/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +0 -55
- package/esm2020/lib/components/tables/editor/edit-session.mjs +0 -23
- package/esm2020/lib/components/tables/filter/column-text-search-formatter.mjs +0 -51
- package/esm2020/lib/components/tables/filter/table-filter-model.mjs +0 -56
- package/esm2020/lib/components/tables/paginator/paginator.component.mjs +0 -44
- package/esm2020/lib/components/tables/renderer/cell-portal-ref.mjs +0 -93
- package/esm2020/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +0 -22
- package/esm2020/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +0 -15
- package/esm2020/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +0 -47
- package/esm2020/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +0 -28
- package/esm2020/lib/components/tables/renderer/table-body/table-body.component.mjs +0 -120
- package/esm2020/lib/components/tables/renderer/table-cell/table-cell.component.mjs +0 -93
- package/esm2020/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +0 -32
- package/esm2020/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +0 -36
- package/esm2020/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +0 -55
- package/esm2020/lib/components/tables/table/table.component.mjs +0 -170
- package/esm2020/lib/components/tables/table-row-menu/table-row-menu.component.mjs +0 -80
- package/esm2020/lib/components/tables/tree-table/decorated-tree-node.mjs +0 -171
- package/esm2020/lib/components/tables/tree-table/flattened-tree-list-model.mjs +0 -29
- package/esm2020/lib/components/tables/tree-table/tree-expansion-model.mjs +0 -70
- package/esm2020/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +0 -72
- package/esm2020/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +0 -91
- package/esm2020/lib/components/tables/tree-table/tree-label-column-model.mjs +0 -42
- package/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +0 -113
- package/esm2020/lib/components/tables/tree-table/tree-table-model.mjs +0 -105
- package/esm2020/lib/components/text/markdown/markdown.component.mjs +0 -78
- package/esm2020/lib/components/types/bounds.class.mjs +0 -27
- package/esm2020/lib/components/types/point.class.mjs +0 -13
- package/esm2020/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +0 -77
- package/esm2020/lib/directives/command.directive.mjs +0 -122
- package/esm2020/lib/directives/directives.module.mjs +0 -68
- package/esm2020/lib/directives/focus-binding-factory.mjs +0 -30
- package/esm2020/lib/directives/focus-binding.directive.mjs +0 -62
- package/esm2020/lib/directives/focus-binding.mjs +0 -79
- package/esm2020/lib/directives/highlight-text-model.directive.mjs +0 -27
- package/esm2020/lib/directives/highlight.pipe.mjs +0 -47
- package/esm2020/lib/interaction/activity-ref.mjs +0 -65
- package/esm2020/lib/interaction/components/abstract-confirm-dialog.component.mjs +0 -27
- package/esm2020/lib/interaction/components/abstract-dialog.component.mjs +0 -61
- package/esm2020/lib/interaction/components/activity-actions/activity-actions.component.mjs +0 -122
- package/esm2020/lib/interaction/components/activity-body/activity-body.component.mjs +0 -23
- package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs +0 -241
- package/esm2020/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +0 -59
- package/esm2020/lib/interaction/components/activity-title/activity-title.component.mjs +0 -41
- package/esm2020/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +0 -89
- package/esm2020/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +0 -24
- package/esm2020/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +0 -22
- package/esm2020/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +0 -30
- package/esm2020/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +0 -91
- package/esm2020/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +0 -73
- package/esm2020/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -29
- package/esm2020/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +0 -50
- package/esm2020/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +0 -179
- package/esm2020/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +0 -133
- package/esm2020/lib/interaction/components/input-activities/input-activity.mjs +0 -103
- package/esm2020/lib/interaction/components/input-activities/select-input-activity.mjs +0 -65
- package/esm2020/lib/interaction/components/input-activities/string-input-activity.mjs +0 -37
- package/esm2020/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +0 -128
- package/esm2020/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +0 -73
- package/esm2020/lib/interaction/interaction.module.mjs +0 -195
- package/esm2020/lib/interaction/services/interaction-service-routing-adapter.mjs +0 -29
- package/esm2020/lib/interaction/services/interaction.service.mjs +0 -144
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +0 -47
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +0 -62
- package/esm2020/lib/place/components/abstract-place-navigation.component.mjs +0 -101
- package/esm2020/lib/place/components/place-outlet/place-outlet.component.mjs +0 -257
- package/esm2020/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +0 -94
- package/esm2020/lib/place/exports.mjs +0 -49
- package/esm2020/lib/place/guards/place.guard.mjs +0 -154
- package/esm2020/lib/place/navigation/place-component-deactivation-handler.mjs +0 -83
- package/esm2020/lib/place/navigation/session/abstract-pop-state-navigation.mjs +0 -14
- package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +0 -43
- package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +0 -152
- package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +0 -62
- package/esm2020/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +0 -38
- package/esm2020/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +0 -52
- package/esm2020/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +0 -88
- package/esm2020/lib/place/navigation/session/navigation-context.mjs +0 -14
- package/esm2020/lib/place/navigation/session/navigation-session.mjs +0 -173
- package/esm2020/lib/place/place-access-guard.mjs +0 -15
- package/esm2020/lib/place/place-auth-service.mjs +0 -142
- package/esm2020/lib/place/place-component.mjs +0 -203
- package/esm2020/lib/place/place-definition.mjs +0 -204
- package/esm2020/lib/place/place-history.mjs +0 -145
- package/esm2020/lib/place/place-router.mjs +0 -319
- package/esm2020/lib/place/place.module.mjs +0 -94
- package/esm2020/lib/place/route/parameter-definition.mjs +0 -122
- package/esm2020/lib/place/route/visit-segment-sanitiser.mjs +0 -41
- package/esm2020/lib/place/url-service.mjs +0 -65
- package/esm2020/lib/place/url-snapshot.mjs +0 -122
- package/esm2020/lib/place/visit-segment.mjs +0 -86
- package/esm2020/lib/place/visit.mjs +0 -95
- package/fesm2015/coolon-angular-ui-powerups.mjs +0 -11329
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +0 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +0 -1
- package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +0 -15
- package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +0 -23
- package/lib/place/place-auth-service.d.ts +0 -49
- /package/{esm2020 → esm2022}/coolon-angular-ui-powerups.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/animations/exports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/animations/slide-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/alignment.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/commands/group/popup-container.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/column/column-text-properties.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/column/editor-controls-column-model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/editor/editable-cell-renderer.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/filter/text-search-predicate.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/renderer/cell-editors.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/renderer/cell-renderer.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tables/table/table-model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/track-by.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/exports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/abstract-interaction-context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/alert.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/components/editors/edit-context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/confirm.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/exports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/in-place-interaction-context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/interaction-context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/route-synchronisation-adapter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interaction/services/modal-interaction-context.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/components/place-outlet/route-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/nav-item.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/navigation/session/pop-state-navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/place-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/place.decorator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/route/formatter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/route/json-types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/route/parameter-decorators.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/route/parameter-sanitiser.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/place/route/parameter-snapshot.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/exports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/markdown/pill-plugin.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
package/assets/table.scss
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
--resolved-row-hover-background-color: var(--row-hover-background-color, var(--aup-table-row-hover-background-color, rgba(0, 0, 0, 0.05)));
|
|
5
5
|
--resolved-first-column-padding-left: var(--first-column-padding-left, var(--aup-table-first-column-padding-left, var(--resolved-column-gap)));
|
|
6
6
|
--resolved-last-column-padding-right: var(--last-column-padding-right, var(--aup-table-last-column-padding-right, var(--resolved-column-gap)));
|
|
7
|
-
--resolved-header-row-height: var(--aup-table-header-row-height, 48px);
|
|
8
|
-
--resolved-row-height: var(--aup-table-row-height, 48px);
|
|
9
7
|
|
|
10
8
|
&.hide-header {
|
|
11
9
|
.mat-table thead {
|
|
@@ -20,10 +18,6 @@
|
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
20
|
|
|
23
|
-
tr.mat-header-row {
|
|
24
|
-
height: auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
21
|
th.mat-header-cell:first-of-type,
|
|
28
22
|
td.mat-cell:first-of-type,
|
|
29
23
|
td.mat-footer-cell:first-of-type {
|
|
@@ -70,6 +64,7 @@
|
|
|
70
64
|
align-items: stretch;
|
|
71
65
|
justify-content: center;
|
|
72
66
|
height: 100%;
|
|
67
|
+
min-height: 47px; // same as mat table row height - border bottom.
|
|
73
68
|
|
|
74
69
|
padding-left: var(--resolved-column-gap);
|
|
75
70
|
|
|
@@ -79,9 +74,6 @@
|
|
|
79
74
|
|
|
80
75
|
&.last-visible-column {
|
|
81
76
|
padding-right: var(--resolved-last-column-padding-right);
|
|
82
|
-
&.aup-col-more-menu {
|
|
83
|
-
padding-right: 0;
|
|
84
|
-
}
|
|
85
77
|
}
|
|
86
78
|
}
|
|
87
79
|
|
|
@@ -98,13 +90,4 @@
|
|
|
98
90
|
}
|
|
99
91
|
}
|
|
100
92
|
}
|
|
101
|
-
|
|
102
|
-
aup-table-header-cell {
|
|
103
|
-
min-height: calc(var(--resolved-header-row-height) - 1px); // subtracting the bottom border width.
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
aup-table-cell {
|
|
107
|
-
min-height: var(--resolved-row-height); // same as mat table row height - border bottom.
|
|
108
|
-
}
|
|
109
|
-
|
|
110
93
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ObserversModule } from '@angular/cdk/observers';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NgModule } from '@angular/core';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
|
|
6
|
+
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
|
|
7
|
+
import { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';
|
|
8
|
+
import { MatLegacyTabsModule as MatTabsModule } from '@angular/material/legacy-tabs';
|
|
9
|
+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
10
|
+
import { ComponentsModule } from './components/components.module';
|
|
11
|
+
import { NoopComponent } from './components/noop/noop.component';
|
|
12
|
+
import { DirectivesModule } from './directives/directives.module';
|
|
13
|
+
import { HighlightPipe } from "./directives/highlight.pipe";
|
|
14
|
+
import { InteractionModule } from './interaction/interaction.module';
|
|
15
|
+
import { PlaceModule } from './place/place.module';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export class AngularUiPowerupsModule {
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: AngularUiPowerupsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.6", ngImport: i0, type: AngularUiPowerupsModule, imports: [CommonModule,
|
|
20
|
+
BrowserAnimationsModule,
|
|
21
|
+
FormsModule,
|
|
22
|
+
MatInputModule,
|
|
23
|
+
MatFormFieldModule,
|
|
24
|
+
MatSelectModule,
|
|
25
|
+
MatTabsModule,
|
|
26
|
+
DirectivesModule,
|
|
27
|
+
ComponentsModule,
|
|
28
|
+
PlaceModule,
|
|
29
|
+
InteractionModule,
|
|
30
|
+
ObserversModule], exports: [InteractionModule,
|
|
31
|
+
PlaceModule,
|
|
32
|
+
DirectivesModule,
|
|
33
|
+
ComponentsModule,
|
|
34
|
+
NoopComponent,
|
|
35
|
+
HighlightPipe] });
|
|
36
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: AngularUiPowerupsModule, imports: [CommonModule,
|
|
37
|
+
BrowserAnimationsModule,
|
|
38
|
+
FormsModule,
|
|
39
|
+
MatInputModule,
|
|
40
|
+
MatFormFieldModule,
|
|
41
|
+
MatSelectModule,
|
|
42
|
+
MatTabsModule,
|
|
43
|
+
DirectivesModule,
|
|
44
|
+
ComponentsModule,
|
|
45
|
+
PlaceModule,
|
|
46
|
+
InteractionModule,
|
|
47
|
+
ObserversModule, InteractionModule,
|
|
48
|
+
PlaceModule,
|
|
49
|
+
DirectivesModule,
|
|
50
|
+
ComponentsModule] });
|
|
51
|
+
}
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: AngularUiPowerupsModule, decorators: [{
|
|
53
|
+
type: NgModule,
|
|
54
|
+
args: [{
|
|
55
|
+
declarations: [],
|
|
56
|
+
imports: [
|
|
57
|
+
CommonModule,
|
|
58
|
+
BrowserAnimationsModule,
|
|
59
|
+
FormsModule,
|
|
60
|
+
MatInputModule,
|
|
61
|
+
MatFormFieldModule,
|
|
62
|
+
MatSelectModule,
|
|
63
|
+
MatTabsModule,
|
|
64
|
+
DirectivesModule,
|
|
65
|
+
ComponentsModule,
|
|
66
|
+
PlaceModule,
|
|
67
|
+
InteractionModule,
|
|
68
|
+
ObserversModule
|
|
69
|
+
],
|
|
70
|
+
exports: [
|
|
71
|
+
InteractionModule,
|
|
72
|
+
PlaceModule,
|
|
73
|
+
DirectivesModule,
|
|
74
|
+
ComponentsModule,
|
|
75
|
+
NoopComponent,
|
|
76
|
+
HighlightPipe
|
|
77
|
+
]
|
|
78
|
+
}]
|
|
79
|
+
}] });
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci11aS1wb3dlcnVwcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9hbmd1bGFyLXVpLXBvd2VydXBzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDekQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSx3QkFBd0IsSUFBSSxrQkFBa0IsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQ3JHLE9BQU8sRUFBRSxvQkFBb0IsSUFBSSxjQUFjLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN4RixPQUFPLEVBQUUscUJBQXFCLElBQUksZUFBZSxFQUFFLE1BQU0saUNBQWlDLENBQUM7QU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bnB1dE1vZHVsZSxcbiAgICBNYXRGb3JtRmllbGRNb2R1bGUsXG4gICAgTWF0U2VsZWN0TW9kdWxlLFxuICAgIE1hdFRhYnNNb2R1bGUsXG4gICAgRGlyZWN0aXZlc01vZHVsZSxcbiAgICBDb21wb25lbnRzTW9kdWxlLFxuICAgIFBsYWNlTW9kdWxlLFxuICAgIEludGVyYWN0aW9uTW9kdWxlLFxuICAgIE9ic2VydmVyc01vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgSW50ZXJhY3Rpb25Nb2R1bGUsXG4gICAgUGxhY2VNb2R1bGUsXG4gICAgRGlyZWN0aXZlc01vZHVsZSxcbiAgICBDb21wb25lbnRzTW9kdWxlLFxuICAgIE5vb3BDb21wb25lbnQsXG4gICAgSGlnaGxpZ2h0UGlwZVxuICBdXG5cbn0pXG5leHBvcnQgY2xhc3MgQW5ndWxhclVpUG93ZXJ1cHNNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import { GarbageCollector, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/material/legacy-progress-spinner";
|
|
7
|
+
export class BusyOverlayComponent extends GarbageCollector {
|
|
8
|
+
busyModel;
|
|
9
|
+
busy;
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
}
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: BusyOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", 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;inset:0;display:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatLegacyProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }] });
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
TrackExternal(),
|
|
20
|
+
__metadata("design:type", ValueModel)
|
|
21
|
+
], BusyOverlayComponent.prototype, "busyModel", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
StoreInValueModel('busyModel'),
|
|
24
|
+
__metadata("design:type", Boolean)
|
|
25
|
+
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: BusyOverlayComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
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;inset:0;display:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}\n"] }]
|
|
29
|
+
}], ctorParameters: function () { return []; }, propDecorators: { busyModel: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], busy: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}] } });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1vdmVybGF5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2NvbXBvbmVudHMvYnVzeS1vdmVybGF5L2J1c3ktb3ZlcmxheS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2J1c3ktb3ZlcmxheS9idXN5LW92ZXJsYXkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxpQkFBaUIsRUFBRSxhQUFhLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7QUFPaEcsTUFBTSxPQUFPLG9CQUFxQixTQUFRLGdCQUFnQjtJQUd4RCxTQUFTLENBQXNCO0lBRy9CLElBQUksQ0FBVTtJQUVkO1FBQ0UsS0FBSyxFQUFFLENBQUE7SUFDVCxDQUFDO0lBRUQsUUFBUTtJQUNSLENBQUM7dUdBYlUsb0JBQW9COzJGQUFwQixvQkFBb0IsaUlDUmpDLGdNQUlBOztBRE1FO0lBQVUsYUFBYSxFQUFFOzhCQUNkLFVBQVU7dURBQVU7QUFFL0I7SUFBVSxpQkFBaUIsQ0FBQyxXQUFXLENBQUM7O2tEQUMxQjsyR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IG1vZGU9XCJpbmRldGVybWluYXRlXCIgW2RpYW1ldGVyXT1cIjUyXCI+PC9tYXQtcHJvZ3Jlc3Mtc3Bpbm5lcj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Component, ContentChild, Input, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Command, TrackExternal } from '@coolon/pectin';
|
|
4
|
+
import { CommandFace } from '../commands/command-face';
|
|
5
|
+
import { DisposableComponent } from '../disposable-component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class AbstractCardContainerComponent extends DisposableComponent {
|
|
8
|
+
addCardCommand;
|
|
9
|
+
addCardFace;
|
|
10
|
+
addCardTemplate;
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
}
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: AbstractCardContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", 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 });
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
TrackExternal(),
|
|
21
|
+
__metadata("design:type", Command)
|
|
22
|
+
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: AbstractCardContainerComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'aup-abstract-card-container',
|
|
27
|
+
template: '',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return []; }, propDecorators: { addCardCommand: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], addCardFace: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], addCardTemplate: [{
|
|
34
|
+
type: ContentChild,
|
|
35
|
+
args: ['addCardTemplate']
|
|
36
|
+
}] } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtY2FyZC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9jYXJkcy9hYnN0cmFjdC1jYXJkLWNvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEYsT0FBTyxFQUFFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDdkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBTTlELE1BQU0sT0FBTyw4QkFBK0IsU0FBUSxtQkFBbUI7SUFJckUsY0FBYyxDQUFlO0lBRzdCLFdBQVcsQ0FBYztJQUd6QixlQUFlLENBQW1CO0lBRWxDO1FBQ0UsS0FBSyxFQUFFLENBQUM7SUFDVixDQUFDO0lBRUQsUUFBUTtJQUNSLENBQUM7dUdBakJVLDhCQUE4QjsyRkFBOUIsOEJBQThCLG9SQUYvQixFQUFFOztBQ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AgYWRkQ2FyZFRlbXBsYXRlOiBUZW1wbGF0ZVJlZjxhbnk+O1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBuZ09uSW5pdCgpIHtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { Component, ElementRef, HostBinding, Input } from '@angular/core';
|
|
2
|
+
import { lang } from '@coolon/typescript-utilities';
|
|
3
|
+
import { isInteger, isNil } from 'lodash';
|
|
4
|
+
import { AbstractCardContainerComponent } from '../abstract-card-container.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "../../../directives/command.directive";
|
|
8
|
+
import * as i3 from "../../scroll-container/scroll-container.component";
|
|
9
|
+
import * as i4 from "../../icon/icon.component";
|
|
10
|
+
import * as i5 from "../../commands/command-face/command-face.component";
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* // basic usage
|
|
14
|
+
* <aup-card-container>
|
|
15
|
+
* <my-card *ngFor="..."></my-card>
|
|
16
|
+
* </aup-card-container>
|
|
17
|
+
*
|
|
18
|
+
* // adds an add button with a the '+' icon to the end of the card list.
|
|
19
|
+
* <aup-card-container [addCardCommand]="addCard">
|
|
20
|
+
* <my-card *ngFor="..."></my-card>
|
|
21
|
+
* </aup-card-container>
|
|
22
|
+
*
|
|
23
|
+
* // adds an add button with the specified face
|
|
24
|
+
* <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
25
|
+
* <my-card *ngFor="..."></my-card>
|
|
26
|
+
* </aup-card-container>
|
|
27
|
+
*
|
|
28
|
+
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
29
|
+
* // the activity inside teh card
|
|
30
|
+
* <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
31
|
+
* <my-card *ngFor="..."></my-card>
|
|
32
|
+
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
33
|
+
* </aup-card-container>
|
|
34
|
+
*
|
|
35
|
+
* // adds an add card component using the specified template. The template
|
|
36
|
+
* // will fill it's container in the grid.
|
|
37
|
+
* <aup-card-container>
|
|
38
|
+
* <my-card *ngFor="..."></my-card>
|
|
39
|
+
* <ng-template #addCardTemplate>
|
|
40
|
+
* <div>This is a new card template, it will the the size of the other cards.</div>
|
|
41
|
+
* </ng-template>
|
|
42
|
+
* </aup-card-container>
|
|
43
|
+
*
|
|
44
|
+
* // sing the default new card styles for your template
|
|
45
|
+
* @import "../../../../assets/styles";
|
|
46
|
+
* .my-new-card {
|
|
47
|
+
* @include aup-card-container-new-card-style();
|
|
48
|
+
* // OR
|
|
49
|
+
* @include aup-card-container-new-card-style(
|
|
50
|
+
* $color: rgba(0,0,0,0.54),
|
|
51
|
+
* $background-color: rgba(255,255,255,0.8),
|
|
52
|
+
* $hover-color: $color,
|
|
53
|
+
* $background-hover-color: white
|
|
54
|
+
* )
|
|
55
|
+
* }
|
|
56
|
+
* <aup-card-container>
|
|
57
|
+
* <my-card *ngFor="..."></my-card>
|
|
58
|
+
* <ng-template #addCardTemplate>
|
|
59
|
+
* <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
|
|
60
|
+
* </ng-template>
|
|
61
|
+
* </aup-card-container>
|
|
62
|
+
*
|
|
63
|
+
* // CSS Vars
|
|
64
|
+
* aup-card-container {
|
|
65
|
+
* --card-gap: var(--card-gap, 16px);
|
|
66
|
+
* --card-width: var(--card-width, 300px);
|
|
67
|
+
* --card-max-width: auto;
|
|
68
|
+
* --card-height: var(--card-height, auto);
|
|
69
|
+
* --card-min-height: var(--card-min-height, auto);
|
|
70
|
+
* --card-background: var(--card-background, #fcfcfb);
|
|
71
|
+
* }
|
|
72
|
+
*/
|
|
73
|
+
export class CardContainerComponent extends AbstractCardContainerComponent {
|
|
74
|
+
elementRef;
|
|
75
|
+
_columnCount;
|
|
76
|
+
set columnCount(count) {
|
|
77
|
+
if (!isNil(count) && (!isInteger(count) || count < 1)) {
|
|
78
|
+
lang.illegalState('columnCount must be a positive integer or nil');
|
|
79
|
+
}
|
|
80
|
+
this._columnCount = count;
|
|
81
|
+
this.updateColumnCountStyles();
|
|
82
|
+
}
|
|
83
|
+
get columnCount() {
|
|
84
|
+
return this._columnCount;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Enable scrolling. If true the container will have height==0 so you must set it's height explicitly
|
|
88
|
+
* or place in a layout that will stretch it such as a grid or flex layout.
|
|
89
|
+
*/
|
|
90
|
+
enableScroll = false;
|
|
91
|
+
constructor(elementRef) {
|
|
92
|
+
super();
|
|
93
|
+
this.elementRef = elementRef;
|
|
94
|
+
}
|
|
95
|
+
ngOnInit() {
|
|
96
|
+
super.ngOnInit();
|
|
97
|
+
this.updateColumnCountStyles();
|
|
98
|
+
}
|
|
99
|
+
get isAutoColumns() {
|
|
100
|
+
return isNil(this._columnCount);
|
|
101
|
+
}
|
|
102
|
+
get isSingleColumn() {
|
|
103
|
+
return this._columnCount === 1;
|
|
104
|
+
}
|
|
105
|
+
updateColumnCountStyles() {
|
|
106
|
+
const el = this.elementRef.nativeElement;
|
|
107
|
+
if (isNil(this._columnCount)) {
|
|
108
|
+
el.style.setProperty('--aup-card-container-column-count', '');
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
el.style.setProperty('--aup-card-container-column-count', this._columnCount);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: CardContainerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
115
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", type: CardContainerComponent, selector: "aup-card-container", inputs: { columnCount: "columnCount", enableScroll: "enableScroll" }, 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=\"!enableScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</div>\n\n<aup-scroll-container *ngIf=\"enableScroll\">\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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i3.ScrollContainerComponent, selector: "aup-scroll-container", inputs: ["disableScroll$", "disableScroll"] }, { kind: "component", type: i4.IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: i5.CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
116
|
+
}
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: CardContainerComponent, decorators: [{
|
|
118
|
+
type: Component,
|
|
119
|
+
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=\"!enableScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</div>\n\n<aup-scroll-container *ngIf=\"enableScroll\">\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"] }]
|
|
120
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { columnCount: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], enableScroll: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], isAutoColumns: [{
|
|
125
|
+
type: HostBinding,
|
|
126
|
+
args: ['class.auto-columns']
|
|
127
|
+
}], isSingleColumn: [{
|
|
128
|
+
type: HostBinding,
|
|
129
|
+
args: ['class.single-column']
|
|
130
|
+
}] } });
|
|
131
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9jYXJkcy9jYXJkLWNvbnRhaW5lci9jYXJkLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmRzL2NhcmQtY29udGFpbmVyL2NhcmQtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQ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PjwvbmctY29udGFpbmVyPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG5cbjxkaXYgY2xhc3M9XCJuby1zY3JvbGwtY29udGFpbmVyXCIgKm5nSWY9XCIhZW5hYmxlU2Nyb2xsXCI+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cImNvbnRlbnRcIj48L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuXG48YXVwLXNjcm9sbC1jb250YWluZXIgKm5nSWY9XCJlbmFibGVTY3JvbGxcIj5cbiAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiY29udGVudFwiPjwvbmctY29udGFpbmVyPlxuPC9hdXAtc2Nyb2xsLWNvbnRhaW5lcj5cblxuPGRpdiBjbGFzcz1cImZvb3Rlci1jb250YWluZXJcIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2NhcmQtY29udGFpbmVyLWZvb3Rlcl1cIj48L25nLWNvbnRlbnQ+XG48L2Rpdj5cblxuIl19
|
|
@@ -71,11 +71,11 @@ export class CardStackComponent extends AbstractCardContainerComponent {
|
|
|
71
71
|
super();
|
|
72
72
|
console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
|
|
73
73
|
}
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: CardStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", 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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i3.IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: i4.CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
74
76
|
}
|
|
75
|
-
|
|
76
|
-
CardStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i3.IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: i4.CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CardStackComponent, decorators: [{
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: CardStackComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
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"] }]
|
|
80
80
|
}], ctorParameters: function () { return []; } });
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1zdGFjay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmRzL2NhcmQtc3RhY2svY2FyZC1zdGFjay5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmR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iAgVXNlIDxhdXAtY2FyZC1jb250YWluZXIgW2NvbHVtbkNvdW50XT1cIjFcIj4gaW5zdGVhZC4nKVxuICB9XG5cbn1cbiIsIjxkaXYgY2xhc3M9XCJjYXJkLWNvbnRhaW5lclwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJmb290ZXJcIj5cbiAgPGRpdiBjbGFzcz1cImFkZC1jYXJkLWNvbnRhaW5lclwiICpuZ0lmPVwiYWRkQ2FyZENvbW1hbmQuZW5hYmxlZCQudmFsdWVcIiBbcGVjdGluQ29tbWFuZF09XCJhZGRDYXJkQ29tbWFuZFwiPlxuICAgIDxhdXAtY29tbWFuZC1mYWNlICpuZ0lmPVwiYWRkQ2FyZEZhY2VcIiBbZmFjZXNdPVwiW2FkZENhcmRGYWNlXVwiPjwvYXVwLWNvbW1hbmQtZmFjZT5cbiAgICA8YXVwLWljb24gKm5nSWY9XCIhYWRkQ2FyZEZhY2VcIiBpY29uPVwibWF0OmFkZFwiPjwvYXVwLWljb24+XG4gIDwvZGl2PlxuXG4gIDxkaXYgY2xhc3M9XCJhZGQtY2FyZC10ZW1wbGF0ZVwiICpuZ0lmPVwiYWRkQ2FyZFRlbXBsYXRlXCI+XG4gICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJhZGRDYXJkVGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cbiAgPC9kaXY+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIlthdXAtY2FyZC1zdGFjay1mb290ZXJdXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Component, ElementRef, HostBinding, Inject, Input, Optional, ViewChild } from "@angular/core";
|
|
3
|
+
import { MatLegacyButton as MatButton } from "@angular/material/legacy-button";
|
|
4
|
+
import { Command, Dsl, StoreInValueModel, TrackExternal, ValueModel } from "@coolon/pectin";
|
|
5
|
+
import { isEmpty } from 'lodash';
|
|
6
|
+
import { HorizontalAlignment } from '../../alignment';
|
|
7
|
+
import { CommandFace } from '../command-face';
|
|
8
|
+
import { PopupAwareComponent } from '../group/popup-aware.component';
|
|
9
|
+
import { POPUP_CONTAINER } from '../group/popup-container';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "../../../directives/command.directive";
|
|
13
|
+
import * as i3 from "@angular/material/legacy-button";
|
|
14
|
+
import * as i4 from "@angular/material/legacy-tooltip";
|
|
15
|
+
import * as i5 from "../command-face/command-face.component";
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class CommandComponent extends PopupAwareComponent {
|
|
20
|
+
command;
|
|
21
|
+
faceModel;
|
|
22
|
+
face;
|
|
23
|
+
busyFaceModel;
|
|
24
|
+
busyFace;
|
|
25
|
+
CommandFace = CommandFace;
|
|
26
|
+
alignFace = HorizontalAlignment.CENTER;
|
|
27
|
+
button;
|
|
28
|
+
faces$;
|
|
29
|
+
buttonStyle$;
|
|
30
|
+
color$;
|
|
31
|
+
activeFace$;
|
|
32
|
+
iconOnly$;
|
|
33
|
+
tooltip$;
|
|
34
|
+
constructor(element, parent) {
|
|
35
|
+
super(element, parent);
|
|
36
|
+
const { chain, switchOn } = Dsl.disposeWith(this);
|
|
37
|
+
this.faces$ = chain(this.command.busy$).mapToList(busy => {
|
|
38
|
+
return busy ?
|
|
39
|
+
[this.busyFaceModel.value, this.faceModel.value] :
|
|
40
|
+
[this.faceModel.value, this.busyFaceModel.value];
|
|
41
|
+
}, { allowNil: true, dependsOn: [this.faceModel, this.busyFaceModel] })
|
|
42
|
+
.rejectNil();
|
|
43
|
+
this.activeFace$ = this.faces$.first();
|
|
44
|
+
this.buttonStyle$ = chain(this.activeFace$).map(f => CommandFace.getStyleOf(f));
|
|
45
|
+
this.color$ = chain(this.activeFace$).map(f => CommandFace.getColorOf(f));
|
|
46
|
+
this.tooltip$ = chain(this.activeFace$).map(f => CommandFace.getTooltipOf(f));
|
|
47
|
+
this.iconOnly$ = this.faces$.select(face => {
|
|
48
|
+
return isEmpty(CommandFace.getTextOf(face)) && !isEmpty(CommandFace.getIconOf(face));
|
|
49
|
+
}).count().equals(this.faces$.count());
|
|
50
|
+
}
|
|
51
|
+
isActive(face) {
|
|
52
|
+
return this.activeFace$.query().equals(face);
|
|
53
|
+
}
|
|
54
|
+
ngOnInit() {
|
|
55
|
+
}
|
|
56
|
+
ngAfterViewInit() {
|
|
57
|
+
// console.log(this.element.nativeElement.previousSibling)
|
|
58
|
+
}
|
|
59
|
+
getFace() {
|
|
60
|
+
return this.face;
|
|
61
|
+
}
|
|
62
|
+
requestFocus() {
|
|
63
|
+
this.button.focus();
|
|
64
|
+
}
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: CommandComponent, deps: [{ token: i0.ElementRef }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", type: CommandComponent, selector: "aup-command", inputs: { command: "command", faceModel: "faceModel", face: "face", busyFaceModel: "busyFaceModel", busyFace: "busyFace", alignFace: "alignFace" }, host: { properties: { "class": "this.alignFace" } }, viewQueries: [{ propertyName: "button", first: true, predicate: MatButton, descendants: true }], 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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i3.MatLegacyButton, 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"] }, { kind: "directive", type: i4.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i5.CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
67
|
+
}
|
|
68
|
+
__decorate([
|
|
69
|
+
TrackExternal(),
|
|
70
|
+
__metadata("design:type", Command)
|
|
71
|
+
], CommandComponent.prototype, "command", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
TrackExternal(),
|
|
74
|
+
__metadata("design:type", ValueModel)
|
|
75
|
+
], CommandComponent.prototype, "faceModel", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
StoreInValueModel('faceModel'),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], CommandComponent.prototype, "face", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
TrackExternal(),
|
|
82
|
+
__metadata("design:type", ValueModel)
|
|
83
|
+
], CommandComponent.prototype, "busyFaceModel", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
StoreInValueModel('busyFaceModel'),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], CommandComponent.prototype, "busyFace", void 0);
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: CommandComponent, decorators: [{
|
|
89
|
+
type: Component,
|
|
90
|
+
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"] }]
|
|
91
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
92
|
+
type: Inject,
|
|
93
|
+
args: [POPUP_CONTAINER]
|
|
94
|
+
}, {
|
|
95
|
+
type: Optional
|
|
96
|
+
}] }]; }, propDecorators: { command: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], faceModel: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], face: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], busyFaceModel: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], busyFace: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], alignFace: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}, {
|
|
109
|
+
type: HostBinding,
|
|
110
|
+
args: ["class"]
|
|
111
|
+
}], button: [{
|
|
112
|
+
type: ViewChild,
|
|
113
|
+
args: [MatButton]
|
|
114
|
+
}] } });
|
|
115
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiw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