@coolon/angular-ui-powerups 16.1.0-aplpha.2 → 16.1.0-aplpha.20
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 +3 -3
- package/assets/form.scss +20 -13
- package/assets/icons.scss +1 -1
- package/assets/interaction/editor/inline-string-editor.scss +4 -0
- package/assets/interaction.scss +1 -1
- package/assets/place.scss +31 -0
- package/assets/styles.scss +2 -0
- package/assets/table.scss +20 -16
- package/assets/tabs.scss +3 -0
- package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
- package/esm2022/lib/components/alignment.mjs +1 -1
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +7 -12
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +4 -4
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
- package/esm2022/lib/components/commands/command/command.component.mjs +7 -10
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +3 -3
- package/esm2022/lib/components/commands/flex.component.mjs +4 -4
- package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +14 -14
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +8 -8
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +7 -7
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +9 -9
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +11 -18
- package/esm2022/lib/components/commands/separator.component.mjs +4 -4
- package/esm2022/lib/components/components.module.mjs +27 -32
- package/esm2022/lib/components/disposable-component.mjs +11 -40
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +5 -9
- package/esm2022/lib/components/exports.mjs +2 -2
- package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -4
- package/esm2022/lib/components/focusable.component.mjs +5 -5
- package/esm2022/lib/components/forms/abstract-input.component.mjs +14 -9
- package/esm2022/lib/components/forms/abstract-list-input.component.mjs +4 -4
- package/esm2022/lib/components/forms/abstract-value-input.component.mjs +4 -4
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +11 -12
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +6 -6
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +9 -9
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +7 -7
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -7
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +9 -9
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +9 -9
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +7 -7
- package/esm2022/lib/components/icon/icon.component.mjs +5 -5
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
- package/esm2022/lib/components/loadable-component.mjs +47 -0
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +7 -12
- package/esm2022/lib/components/noop/noop.component.mjs +5 -7
- package/esm2022/lib/components/resize-aware.component.mjs +9 -9
- package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +5 -5
- package/esm2022/lib/components/section-header/section-header.component.mjs +4 -4
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +12 -12
- package/esm2022/lib/components/tables/abstract-table-model.mjs +2 -2
- package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -5
- package/esm2022/lib/components/tables/column/column-list-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/column-model.mjs +6 -5
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +4 -3
- package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +7 -7
- package/esm2022/lib/components/tables/editor/edit-session.mjs +4 -2
- package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
- package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
- package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +3 -2
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +11 -8
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
- package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +1 -3
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +5 -7
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +5 -7
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +14 -7
- package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +11 -8
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +24 -24
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +4 -4
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +5 -7
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +4 -4
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +7 -7
- package/esm2022/lib/components/tables/table/table-model.mjs +1 -1
- package/esm2022/lib/components/tables/table/table.component.mjs +6 -6
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +5 -5
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +5 -7
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +5 -5
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +2 -2
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +6 -6
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +1 -1
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +5 -5
- package/esm2022/lib/components/track.mjs +1 -1
- package/esm2022/lib/components/types/bounds.class.mjs +1 -1
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
- package/esm2022/lib/directives/command.directive.mjs +11 -11
- package/esm2022/lib/directives/directives.module.mjs +10 -10
- package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
- package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
- package/esm2022/lib/directives/focus-binding.mjs +1 -1
- package/esm2022/lib/directives/garbage-collector.directive.mjs +5 -4
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
- package/esm2022/lib/directives/highlight.pipe.mjs +4 -4
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/activity-ref.mjs +2 -2
- package/esm2022/lib/interaction/activity.mjs +5 -4
- package/esm2022/lib/interaction/alert.mjs +1 -1
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +4 -4
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +5 -6
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +6 -6
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +4 -6
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +3 -3
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +3 -3
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -4
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +4 -4
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +4 -4
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +5 -5
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +5 -5
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +5 -5
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +5 -5
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +2 -2
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +8 -8
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +6 -6
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +5 -4
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +5 -4
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +5 -4
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +6 -5
- package/esm2022/lib/interaction/confirm.mjs +1 -1
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +5 -5
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction.module.mjs +23 -23
- package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction.service.mjs +6 -6
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +8 -9
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +1 -2
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +15 -5
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +6 -6
- package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +5 -7
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +5 -5
- package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
- package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +15 -10
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +1 -1
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +5 -7
- package/esm2022/lib/place/guards/place.guard.mjs +5 -5
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +1 -1
- package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
- package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
- package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
- package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +1 -1
- package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
- package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
- package/esm2022/lib/place/navigation/session/navigation-session.mjs +1 -1
- package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
- package/esm2022/lib/place/place-access-guard.mjs +1 -1
- package/esm2022/lib/place/place-component.mjs +27 -41
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +1 -1
- package/esm2022/lib/place/place-history.mjs +5 -7
- package/esm2022/lib/place/place-router.mjs +20 -18
- package/esm2022/lib/place/place.decorator.mjs +1 -1
- package/esm2022/lib/place/place.module.mjs +16 -12
- package/esm2022/lib/place/route/formatter.mjs +2 -2
- package/esm2022/lib/place/route/json-types.mjs +1 -1
- package/esm2022/lib/place/route/parameter-decorators.mjs +1 -1
- package/esm2022/lib/place/route/parameter-definition.mjs +1 -1
- package/esm2022/lib/place/route/parameter-sanitiser.mjs +1 -1
- package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
- package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
- package/esm2022/lib/place/url-service.mjs +4 -4
- package/esm2022/lib/place/url-snapshot.mjs +1 -1
- package/esm2022/lib/place/visit-segment.mjs +1 -1
- package/esm2022/lib/place/visit.mjs +1 -1
- package/esm2022/lib/services/markdown/markdown.service.mjs +5 -7
- package/esm2022/lib/services/markdown/pill-plugin.mjs +1 -3
- package/esm2022/lib/services/visibility-service.mjs +7 -7
- package/fesm2022/coolon-angular-ui-powerups.mjs +1842 -1922
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/angular-ui-powerups.module.d.ts +5 -5
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +1 -4
- package/lib/components/commands/command/command.component.d.ts +3 -4
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +3 -3
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -1
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -7
- package/lib/components/components.module.d.ts +27 -28
- package/lib/components/disposable-component.d.ts +3 -8
- package/lib/components/empty-state/empty-state.component.d.ts +1 -4
- package/lib/components/exports.d.ts +1 -1
- package/lib/components/forms/abstract-input.component.d.ts +3 -2
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
- package/lib/components/loadable-component.d.ts +14 -0
- package/lib/components/loading-container/loading-container.component.d.ts +1 -4
- package/lib/components/noop/noop.component.d.ts +0 -1
- package/lib/components/resize-aware.component.d.ts +2 -2
- package/lib/components/switch-case/switch-case.component.d.ts +4 -4
- package/lib/components/tables/abstract-table-model.d.ts +1 -1
- package/lib/components/tables/abstract-table.component.d.ts +2 -2
- package/lib/components/tables/column/column-model.d.ts +1 -1
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +3 -3
- package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
- package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +2 -3
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -1
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -0
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +6 -6
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +0 -1
- package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +1 -1
- package/lib/components/tables/table/table.component.d.ts +2 -2
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
- package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +0 -1
- package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -2
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/directives/command.directive.d.ts +2 -2
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +1 -1
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +2 -3
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
- package/lib/interaction/interaction.module.d.ts +6 -6
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +1 -2
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +1 -2
- package/lib/place/components/abstract-place-navigation.component.d.ts +1 -0
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -1
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +2 -1
- package/lib/place/guards/noop-auth-guard.service.d.ts +0 -1
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +0 -1
- package/lib/place/place-component.d.ts +1 -11
- package/lib/place/place-history.d.ts +0 -1
- package/lib/place/place-router.d.ts +2 -2
- package/lib/place/place.decorator.d.ts +1 -1
- package/lib/place/place.module.d.ts +6 -5
- package/lib/place/route/json-types.d.ts +1 -3
- package/lib/place/visit-segment.d.ts +4 -4
- package/lib/place/visit.d.ts +2 -2
- package/lib/services/markdown/markdown.service.d.ts +0 -1
- package/lib/services/visibility-service.d.ts +1 -1
- package/package.json +15 -18
- package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +0 -81
- package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -68
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
aup-activity-title {
|
|
22
22
|
display: block;
|
|
23
23
|
font-family: mat.font-family($typography-config);
|
|
24
|
-
font-size: mat.font-size($typography-config,
|
|
25
|
-
line-height: mat.line-height($typography-config,
|
|
26
|
-
letter-spacing: mat.letter-spacing($typography-config,
|
|
24
|
+
font-size: mat.font-size($typography-config, headline-6);
|
|
25
|
+
line-height: mat.line-height($typography-config, headline-6);
|
|
26
|
+
letter-spacing: mat.letter-spacing($typography-config, headline-6);
|
|
27
27
|
padding: var(--aup-activity-padding);
|
|
28
28
|
|
|
29
29
|
&:not(.transparent-background) {
|
package/assets/form.scss
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use "@angular/material/theming";
|
|
2
3
|
|
|
3
4
|
.aup-input-component {
|
|
4
5
|
|
|
6
|
+
@include mat.all-component-densities(-3);
|
|
7
|
+
|
|
5
8
|
display: block;
|
|
6
9
|
|
|
7
10
|
mat-form-field, input {
|
|
@@ -16,6 +19,7 @@
|
|
|
16
19
|
mat-form-field {
|
|
17
20
|
// matPrefix/Suffix alignment is a bit shit..
|
|
18
21
|
// Icons float much higher than the text, button icons don't center.
|
|
22
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
19
23
|
.mat-form-field-prefix {
|
|
20
24
|
display: inline-flex;
|
|
21
25
|
flex-direction: row;
|
|
@@ -23,14 +27,14 @@
|
|
|
23
27
|
align-self: flex-end; // sit on the bottom of the line
|
|
24
28
|
align-items: center; // and center our internal content.
|
|
25
29
|
}
|
|
26
|
-
|
|
30
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
27
31
|
.mat-form-field-infix {
|
|
28
32
|
width: auto;
|
|
29
33
|
}
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
35
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
32
36
|
.mat-form-field-suffix {
|
|
33
|
-
.mat-icon-button {
|
|
37
|
+
.mat-mdc-icon-button {
|
|
34
38
|
line-height: 2.5em; // fix centering of aup-icons within the button.
|
|
35
39
|
}
|
|
36
40
|
}
|
|
@@ -40,30 +44,33 @@
|
|
|
40
44
|
|
|
41
45
|
&.dense {
|
|
42
46
|
mat-form-field {
|
|
47
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
43
48
|
.mat-form-field-infix {
|
|
44
49
|
border-top: none;
|
|
45
50
|
}
|
|
46
|
-
|
|
51
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
47
52
|
.mat-form-field-flex {
|
|
48
53
|
padding-top: 0;
|
|
49
54
|
align-items: center; // normally baseline but this causes the date range picker to add about 3px to the height
|
|
50
55
|
}
|
|
51
|
-
|
|
56
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
52
57
|
.mat-form-field-wrapper {
|
|
53
58
|
padding-bottom: 0;
|
|
54
59
|
border-bottom: 0;
|
|
55
60
|
}
|
|
56
|
-
|
|
61
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
57
62
|
.mat-form-field-underline {
|
|
58
63
|
bottom: 0
|
|
59
64
|
}
|
|
60
|
-
|
|
65
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
66
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
61
67
|
&.mat-form-field-can-float.mat-form-field-should-float {
|
|
68
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
62
69
|
.mat-form-field-label-wrapper {
|
|
63
70
|
display: none;
|
|
64
71
|
}
|
|
65
72
|
}
|
|
66
|
-
|
|
73
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
67
74
|
&.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper {
|
|
68
75
|
transform: translateY(0); // stop the arrow moving up to center with the input and the now missing label.
|
|
69
76
|
}
|
|
@@ -76,20 +83,20 @@
|
|
|
76
83
|
aup-table-cell-renderer > .aup-input-component {
|
|
77
84
|
|
|
78
85
|
// TODO: enter/exit animations for the editor size.
|
|
79
|
-
|
|
86
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
80
87
|
.mat-form-field-flex {
|
|
81
88
|
padding-top: 0;
|
|
82
89
|
}
|
|
83
|
-
|
|
90
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
84
91
|
.mat-form-field-infix {
|
|
85
92
|
width: 0; // ensure it doesn't expand the cell.
|
|
86
93
|
//border-top: none; // remove label space
|
|
87
94
|
}
|
|
88
|
-
|
|
95
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
89
96
|
.mat-form-field-label-wrapper { // hide the label
|
|
90
97
|
display: none;
|
|
91
98
|
}
|
|
92
|
-
|
|
99
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
93
100
|
.mat-form-field-subscript-wrapper {
|
|
94
101
|
|
|
95
102
|
}
|
package/assets/icons.scss
CHANGED
|
@@ -30,13 +30,16 @@
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
&.editable {
|
|
33
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
33
34
|
.mat-form-field-flex, input {
|
|
34
35
|
cursor: pointer;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
38
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
37
39
|
.mat-form-field-infix {
|
|
38
40
|
width: auto;
|
|
39
41
|
}
|
|
42
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
40
43
|
.mat-form-field-underline {
|
|
41
44
|
//opacity: 0; // hide the underline...
|
|
42
45
|
}
|
|
@@ -48,6 +51,7 @@
|
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
&.disabled {
|
|
54
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
51
55
|
.mat-form-field-underline {
|
|
52
56
|
visibility: hidden;
|
|
53
57
|
}
|
package/assets/interaction.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
.dialog-interaction-context {
|
|
11
11
|
max-width: 95vw !important;
|
|
12
12
|
max-height: 95vh !important;
|
|
13
|
-
|
|
13
|
+
/* TODO(mdc-migration): The following rule targets internal classes of dialog that may no longer apply for the MDC version. */
|
|
14
14
|
mat-dialog-container {
|
|
15
15
|
max-width: 95vw !important;
|
|
16
16
|
max-height: 95vh !important;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin apply-theme($color-config, $typography-config) {
|
|
5
|
+
|
|
6
|
+
//// Define a dark theme
|
|
7
|
+
//$dark-theme: mat.define-dark-theme((
|
|
8
|
+
// color: (
|
|
9
|
+
// primary: mat.define-palette(mat.$indigo-palette),
|
|
10
|
+
// accent: mat.define-palette(mat.$pink-palette, A200, A100, A400),
|
|
11
|
+
// warn: map.get($color-config, "warn"),
|
|
12
|
+
// ),
|
|
13
|
+
// //color: (
|
|
14
|
+
// // primary: map.get($color-config, "primary"),
|
|
15
|
+
// // accent: map.get($color-config, "accent"),
|
|
16
|
+
// // warn: map.get($color-config, "warn"),
|
|
17
|
+
// //),
|
|
18
|
+
// // Only include `typography` and `density` in the default dark theme.
|
|
19
|
+
// typography: $typography-config,
|
|
20
|
+
// density: 0,
|
|
21
|
+
//));
|
|
22
|
+
//
|
|
23
|
+
//
|
|
24
|
+
//aup-side-place-navigation {
|
|
25
|
+
// @include mat.all-component-themes($dark-theme);
|
|
26
|
+
// background-color: var(--mdc-elevated-card-container-color);
|
|
27
|
+
//
|
|
28
|
+
//}
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
package/assets/styles.scss
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@use "./icons";
|
|
13
13
|
@use "./empty-state";
|
|
14
14
|
@use "./pills";
|
|
15
|
+
@use "./place";
|
|
15
16
|
@use "./markdown";
|
|
16
17
|
|
|
17
18
|
@mixin apply-light-theme($theme, $typography) {
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
@include cards.apply-theme($color-config, $typography);
|
|
23
24
|
@include activities.apply-theme($color-config, $typography);
|
|
24
25
|
@include pills.apply-theme($color-config, $typography);
|
|
26
|
+
@include place.apply-theme($color-config, $typography);
|
|
25
27
|
|
|
26
28
|
:root {
|
|
27
29
|
--aup-default-padding: var(--default-padding, 16px);
|
package/assets/table.scss
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
1
3
|
.aup-table-component {
|
|
2
|
-
--resolved-column-gap: var(--column-gap, var(--aup-table-column-gap,
|
|
4
|
+
--resolved-column-gap: var(--column-gap, var(--aup-table-column-gap, var(--default-padding, 16px))); // material design table column padding
|
|
3
5
|
--resolved-row-selected-background-color: var(--row-selected-background-color, var(--aup-table-row-selected-background-color, rgba(0, 0, 255, 0.04)));
|
|
4
6
|
--resolved-row-hover-background-color: var(--row-hover-background-color, var(--aup-table-row-hover-background-color, rgba(0, 0, 0, 0.05)));
|
|
5
7
|
--resolved-first-column-padding-left: var(--first-column-padding-left, var(--aup-table-first-column-padding-left, var(--resolved-column-gap)));
|
|
@@ -7,33 +9,30 @@
|
|
|
7
9
|
--resolved-header-row-height: var(--aup-table-header-row-height, 48px);
|
|
8
10
|
--resolved-row-height: var(--aup-table-row-height, 48px);
|
|
9
11
|
|
|
12
|
+
@include mat.all-component-densities(-2);
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
10
16
|
&.hide-header {
|
|
11
|
-
.mat-table thead {
|
|
17
|
+
.mat-mdc-table thead {
|
|
12
18
|
display: none;
|
|
13
19
|
}
|
|
14
20
|
}
|
|
15
21
|
|
|
16
|
-
.mat-table {
|
|
22
|
+
.mat-mdc-table {
|
|
17
23
|
td, th {
|
|
18
24
|
&.hide {
|
|
19
25
|
display: none;
|
|
20
26
|
}
|
|
21
27
|
}
|
|
22
28
|
|
|
23
|
-
tr.mat-header-row {
|
|
24
|
-
height: auto;
|
|
29
|
+
tr.mat-mdc-header-row {
|
|
30
|
+
//height: auto;
|
|
25
31
|
}
|
|
26
32
|
|
|
27
|
-
th.mat-header-cell:first-of-type,
|
|
28
|
-
td.mat-cell:first-of-type,
|
|
29
|
-
td.mat-footer-cell:first-of-type {
|
|
30
|
-
padding-left: 0;
|
|
31
|
-
}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
td.mat-footer-cell:last-of-type {
|
|
36
|
-
padding-right: 0;
|
|
34
|
+
.mdc-data-table__cell, .mdc-data-table__header-cell {
|
|
35
|
+
padding: 0
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
tr {
|
|
@@ -55,7 +54,8 @@
|
|
|
55
54
|
// - columns with an explicit with will try to remain that width, but will expand to fit their content.
|
|
56
55
|
// - extra space will be allocated to columns that have the same width... e.g. setting all columns to 1px results
|
|
57
56
|
// in the same scenario as not specifying the width.
|
|
58
|
-
.mat-cell, .mat-header-cell {
|
|
57
|
+
.mat-mdc-cell, .mat-mdc-header-cell {
|
|
58
|
+
padding: 0;
|
|
59
59
|
&:not(.flex) {
|
|
60
60
|
width: 1px;
|
|
61
61
|
white-space: nowrap;
|
|
@@ -83,6 +83,10 @@
|
|
|
83
83
|
padding-right: 0;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
&.aup-col-selection-column {
|
|
88
|
+
padding-left: 8px;
|
|
89
|
+
}
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
aup-table-cell{
|
|
@@ -93,7 +97,7 @@
|
|
|
93
97
|
|
|
94
98
|
&.padChild {
|
|
95
99
|
> *:first-child {
|
|
96
|
-
padding-left: var(--resolved-column-
|
|
100
|
+
padding-left: var(--resolved-first-column-padding-left);
|
|
97
101
|
flex: 1;
|
|
98
102
|
}
|
|
99
103
|
}
|
package/assets/tabs.scss
CHANGED
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
[full-height-tabs], mat-tab-group.full-height-tabs {
|
|
8
|
+
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
|
|
9
|
+
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
|
|
8
10
|
.mat-tab-body-wrapper {
|
|
9
11
|
flex: 1;
|
|
12
|
+
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
|
|
10
13
|
mat-tab-body, .mat-tab-body-content {
|
|
11
14
|
display: flex;
|
|
12
15
|
flex-direction: column;
|
|
@@ -2,10 +2,10 @@ import { ObserversModule } from '@angular/cdk/observers';
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { NgModule } from '@angular/core';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
6
|
+
import { MatInputModule } from '@angular/material/input';
|
|
7
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
8
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
9
9
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
10
10
|
import { ComponentsModule } from './components/components.module';
|
|
11
11
|
import { NoopComponent } from './components/noop/noop.component';
|
|
@@ -15,8 +15,8 @@ import { InteractionModule } from './interaction/interaction.module';
|
|
|
15
15
|
import { PlaceModule } from './place/place.module';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export class AngularUiPowerupsModule {
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
19
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AngularUiPowerupsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: AngularUiPowerupsModule, imports: [CommonModule,
|
|
20
20
|
BrowserAnimationsModule,
|
|
21
21
|
FormsModule,
|
|
22
22
|
MatInputModule,
|
|
@@ -33,7 +33,7 @@ export class AngularUiPowerupsModule {
|
|
|
33
33
|
ComponentsModule,
|
|
34
34
|
NoopComponent,
|
|
35
35
|
HighlightPipe] });
|
|
36
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
36
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AngularUiPowerupsModule, imports: [CommonModule,
|
|
37
37
|
BrowserAnimationsModule,
|
|
38
38
|
FormsModule,
|
|
39
39
|
MatInputModule,
|
|
@@ -49,7 +49,7 @@ export class AngularUiPowerupsModule {
|
|
|
49
49
|
DirectivesModule,
|
|
50
50
|
ComponentsModule] });
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AngularUiPowerupsModule, decorators: [{
|
|
53
53
|
type: NgModule,
|
|
54
54
|
args: [{
|
|
55
55
|
declarations: [],
|
|
@@ -77,4 +77,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImpor
|
|
|
77
77
|
]
|
|
78
78
|
}]
|
|
79
79
|
}] });
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci11aS1wb3dlcnVwcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9hbmd1bGFyLXVpLXBvd2VydXBzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDdkQsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzNDLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ2hFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUN2RCxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDekQsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sRUFBQyx1QkFBdUIsRUFBQyxNQUFNLHNDQUFzQyxDQUFDO0FBQzdFLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLGdDQUFnQyxDQUFDO0FBQ2hF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aWdodFBpcGVcbiAgXVxuXG59KVxuZXhwb3J0IGNsYXNzIEFuZ3VsYXJVaVBvd2VydXBzTW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -4,4 +4,4 @@ export const HorizontalAlignment = Enum({
|
|
|
4
4
|
CENTER: 'center',
|
|
5
5
|
END: 'end'
|
|
6
6
|
});
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxpZ25tZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9hbGlnbm1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRTdDLE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUFHLElBQUksQ0FBQztJQUN0QyxLQUFLLEVBQUUsT0FBTztJQUNkLE1BQU0sRUFBRSxRQUFRO0lBQ2hCLEdBQUcsRUFBRSxLQUFLO0NBQ1gsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtFbnVtfSBmcm9tICd0eXBlc2NyaXB0LXN0cmluZy1lbnVtcyc7XG5cbmV4cG9ydCBjb25zdCBIb3Jpem9udGFsQWxpZ25tZW50ID0gRW51bSh7XG4gIFNUQVJUOiAnc3RhcnQnLFxuICBDRU5URVI6ICdjZW50ZXInLFxuICBFTkQ6ICdlbmQnXG59KTtcbmV4cG9ydCB0eXBlIEhvcml6b250YWxBbGlnbm1lbnQgPSBFbnVtPHR5cGVvZiBIb3Jpem9udGFsQWxpZ25tZW50PjtcbiJdfQ==
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
2
|
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { GarbageCollector,
|
|
3
|
+
import { GarbageCollector, Proxify, proxify, StoreInValueModel, ValueModel } from '@coolon/pectin';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/material/
|
|
6
|
+
import * as i2 from "@angular/material/progress-spinner";
|
|
7
7
|
export class BusyOverlayComponent extends GarbageCollector {
|
|
8
8
|
#busy$_accessor_storage = proxify((ValueModel));
|
|
9
9
|
get busy$() { return this.#busy$_accessor_storage; }
|
|
@@ -11,13 +11,8 @@ export class BusyOverlayComponent extends GarbageCollector {
|
|
|
11
11
|
#busy_accessor_storage;
|
|
12
12
|
get busy() { return this.#busy_accessor_storage; }
|
|
13
13
|
set busy(value) { this.#busy_accessor_storage = value; }
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: BusyOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: { busy$: "busy$", busy: "busy" }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busy$.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"] }] });
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BusyOverlayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: { busy$: "busy$", busy: "busy" }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busy$.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.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
21
16
|
}
|
|
22
17
|
__decorate([
|
|
23
18
|
Proxify(),
|
|
@@ -27,12 +22,12 @@ __decorate([
|
|
|
27
22
|
StoreInValueModel(),
|
|
28
23
|
__metadata("design:type", Boolean)
|
|
29
24
|
], BusyOverlayComponent.prototype, "busy", null);
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BusyOverlayComponent, decorators: [{
|
|
31
26
|
type: Component,
|
|
32
27
|
args: [{ selector: 'aup-busy-overlay', template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busy$.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"] }]
|
|
33
|
-
}],
|
|
28
|
+
}], propDecorators: { busy$: [{
|
|
34
29
|
type: Input
|
|
35
30
|
}], busy: [{
|
|
36
31
|
type: Input
|
|
37
32
|
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1vdmVybGF5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2NvbXBvbmVudHMvYnVzeS1vdmVybGF5L2J1c3ktb3ZlcmxheS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2J1c3ktb3ZlcmxheS9idXN5LW92ZXJsYXkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBQ3ZELE9BQU8sRUFBQyxnQkFBZ0IsRUFBRSxPQUFPLEVBQUUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLFVBQVUsRUFBQyxNQUFNLGdCQUFnQixDQUFDOzs7O0FBT2pHLE1BQU0sT0F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ZU1vZGVsPGJvb2xlYW4+KTtcblxuICBASW5wdXQoKSBAU3RvcmVJblZhbHVlTW9kZWwoKVxuICBhY2Nlc3NvciBidXN5OiBib29sZWFuO1xuXG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48ZGl2IGNsYXNzPVwiYnVzeS1vdmVybGF5LWJhY2tkcm9wXCIgKm5nSWY9XCJidXN5JC52YWx1ZVwiPlxuICA8bWF0LXByb2dyZXNzLXNwaW5uZXIgbW9kZT1cImluZGV0ZXJtaW5hdGVcIiBbZGlhbWV0ZXJdPVwiNTJcIj48L21hdC1wcm9ncmVzcy1zcGlubmVyPlxuPC9kaXY+XG4iXX0=
|
|
@@ -13,14 +13,14 @@ export class AbstractCardContainerComponent extends DisposableComponent {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super();
|
|
15
15
|
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AbstractCardContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", 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
18
|
}
|
|
19
19
|
__decorate([
|
|
20
20
|
Proxify(),
|
|
21
21
|
__metadata("design:type", Object)
|
|
22
22
|
], AbstractCardContainerComponent.prototype, "addCardCommand", null);
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AbstractCardContainerComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: 'aup-abstract-card-container',
|
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImpor
|
|
|
34
34
|
type: ContentChild,
|
|
35
35
|
args: ['addCardTemplate']
|
|
36
36
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtY2FyZC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9jYXJkcy9hYnN0cmFjdC1jYXJkLWNvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUUsT0FBTyxFQUFDLE9BQU8sRUFBRSxPQUFPLEVBQUUsT0FBTyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDekQsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQ3JELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHlCQUF5QixDQUFDOztBQU01RCxNQUFNLE9BQU8sOEJBQStCLFNBQVEsbUJBQW1CO0lBRzVELG1DQUFpQixPQUFPLENBQUMsQ0FBQSxPQUFZLENBQUEsQ0FBQyxDQUFDO0lBQXZDLElBQUEsY0FBYyxvREFBeUI7SUFBdkMs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eShDb21tYW5kPGFueT4pO1xuXG4gIEBJbnB1dCgpXG4gIGFkZENhcmRGYWNlOiBDb21tYW5kRmFjZTtcblxuICBAQ29udGVudENoaWxkKCdhZGRDYXJkVGVtcGxhdGUnKVxuICBhZGRDYXJkVGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT47XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -108,10 +108,10 @@ export class CardContainerComponent extends AbstractCardContainerComponent {
|
|
|
108
108
|
el.style.setProperty('--aup-card-container-column-count', this._columnCount);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
112
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: CardContainerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
112
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", 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"] }] });
|
|
113
113
|
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: CardContainerComponent, decorators: [{
|
|
115
115
|
type: Component,
|
|
116
116
|
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"] }]
|
|
117
117
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { columnCount: [{
|
|
@@ -125,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImpor
|
|
|
125
125
|
type: HostBinding,
|
|
126
126
|
args: ['class.single-column']
|
|
127
127
|
}] } });
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9jYXJkcy9jYXJkLWNvbnRhaW5lci9jYXJkLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmRzL2NhcmQtY29udGFpbmVyL2NhcmQtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsVUFBVSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBRWxELE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBQ3hDLE9BQU8sRUFBQyw4QkFBOEIsRUFBQyxNQUFNLHNDQUFzQyxDQUFDOzs7Ozs7O0FBR3BGOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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