@coolon/angular-ui-powerups 16.1.0-aplpha.79 → 16.1.0-aplpha.8
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/input-activities.scss +2 -10
- package/assets/form.scss +27 -62
- package/assets/table.scss +18 -15
- package/assets/tabs.scss +6 -2
- package/esm2022/lib/angular-ui-powerups.module.mjs +1 -1
- package/esm2022/lib/animations/slide-animations.mjs +1 -6
- package/esm2022/lib/components/alignment.mjs +1 -1
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +9 -4
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +1 -1
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +2 -2
- package/esm2022/lib/components/commands/command/command.component.mjs +13 -24
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +3 -11
- package/esm2022/lib/components/commands/command-face.mjs +11 -11
- package/esm2022/lib/components/commands/flex.component.mjs +1 -1
- 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 +11 -11
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +2 -2
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +16 -9
- package/esm2022/lib/components/commands/separator.component.mjs +1 -1
- package/esm2022/lib/components/components.module.mjs +17 -31
- package/esm2022/lib/components/disposable-component.mjs +37 -8
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +6 -2
- package/esm2022/lib/components/exports.mjs +2 -6
- package/esm2022/lib/components/focus-container/focus-container.component.mjs +1 -1
- package/esm2022/lib/components/focusable.component.mjs +2 -2
- package/esm2022/lib/components/forms/abstract-input.component.mjs +15 -62
- package/esm2022/lib/components/forms/abstract-list-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/abstract-value-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +4 -3
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +10 -49
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +3 -40
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +11 -12
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +10 -22
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +1 -1
- package/esm2022/lib/components/icon/icon.component.mjs +3 -6
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +1 -1
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +9 -4
- package/esm2022/lib/components/noop/noop.component.mjs +4 -2
- package/esm2022/lib/components/resize-aware.component.mjs +24 -61
- package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +2 -2
- package/esm2022/lib/components/section-header/section-header.component.mjs +1 -1
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +2 -2
- package/esm2022/lib/components/tables/abstract-table-model.mjs +23 -40
- package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -19
- package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +7 -18
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +1 -1
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +5 -6
- package/esm2022/lib/components/tables/column/property-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +6 -6
- package/esm2022/lib/components/tables/editor/edit-session.mjs +2 -4
- 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 +2 -3
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +2 -4
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -16
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +3 -1
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +6 -4
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +4 -2
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +38 -213
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +4 -2
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +2 -7
- package/esm2022/lib/components/tables/table/table-model.mjs +1 -1
- package/esm2022/lib/components/tables/table/table.component.mjs +67 -12
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
- 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 +4 -2
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -4
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +4 -7
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +3 -3
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +3 -3
- 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 +1 -1
- package/esm2022/lib/directives/command.directive.mjs +2 -2
- package/esm2022/lib/directives/directives.module.mjs +2 -2
- package/esm2022/lib/directives/exports.mjs +1 -2
- package/esm2022/lib/directives/focus-binding-factory.mjs +1 -1
- package/esm2022/lib/directives/focus-binding.directive.mjs +2 -2
- package/esm2022/lib/directives/focus-binding.mjs +1 -1
- package/esm2022/lib/directives/garbage-collector.directive.mjs +1 -2
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +1 -1
- package/esm2022/lib/directives/highlight.pipe.mjs +2 -2
- 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 +4 -4
- package/esm2022/lib/interaction/alert.mjs +2 -2
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +4 -8
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +3 -2
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +3 -3
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +11 -28
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +3 -1
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +2 -2
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +1 -1
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
- 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 +3 -3
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +3 -3
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +2 -3
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +1 -4
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +4 -9
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +2 -3
- package/esm2022/lib/interaction/confirm.mjs +1 -1
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
- package/esm2022/lib/interaction/exports.mjs +1 -2
- 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 -21
- 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 +3 -3
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +3 -2
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +2 -1
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +1 -1
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +4 -3
- package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +4 -2
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +4 -4
- 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 +4 -4
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +1 -1
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +4 -2
- package/esm2022/lib/place/guards/place.guard.mjs +2 -2
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
- 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 +6 -3
- 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 +30 -29
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +3 -3
- package/esm2022/lib/place/place-history.mjs +5 -3
- package/esm2022/lib/place/place-router.mjs +15 -17
- package/esm2022/lib/place/place.decorator.mjs +2 -2
- package/esm2022/lib/place/place.module.mjs +5 -1
- 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 +50 -54
- package/esm2022/lib/place/route/parameter-definition.mjs +2 -2
- 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 +1 -1
- package/esm2022/lib/place/url-snapshot.mjs +3 -3
- package/esm2022/lib/place/visit-segment.mjs +2 -2
- package/esm2022/lib/place/visit.mjs +2 -2
- package/esm2022/lib/services/markdown/markdown.service.mjs +4 -2
- package/esm2022/lib/services/markdown/pill-plugin.mjs +3 -1
- package/esm2022/lib/services/visibility-service.mjs +4 -4
- package/fesm2022/coolon-angular-ui-powerups.mjs +1769 -2395
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/animations/slide-animations.d.ts +0 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -1
- package/lib/components/commands/command/command.component.d.ts +4 -4
- package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
- package/lib/components/commands/command-face.d.ts +7 -5
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +7 -3
- package/lib/components/components.module.d.ts +53 -55
- package/lib/components/disposable-component.d.ts +6 -1
- package/lib/components/empty-state/empty-state.component.d.ts +4 -1
- package/lib/components/exports.d.ts +1 -5
- package/lib/components/forms/abstract-input.component.d.ts +5 -13
- package/lib/components/forms/number-input/number-input.component.d.ts +4 -8
- package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
- package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
- package/lib/components/forms/string-input/string-input.component.d.ts +1 -3
- package/lib/components/loading-container/loading-container.component.d.ts +4 -1
- package/lib/components/noop/noop.component.d.ts +1 -0
- package/lib/components/resize-aware.component.d.ts +5 -24
- package/lib/components/switch-case/switch-case.component.d.ts +4 -4
- package/lib/components/tables/abstract-table-model.d.ts +5 -10
- package/lib/components/tables/abstract-table.component.d.ts +4 -5
- package/lib/components/tables/column/column-list-model.d.ts +13 -0
- package/lib/components/tables/column/column-model.d.ts +2 -6
- package/lib/components/tables/column/custom-template-column-model.d.ts +1 -2
- package/lib/components/tables/column/custom-value-column-model.d.ts +1 -2
- package/lib/components/tables/column/editor-controls-column-model.d.ts +1 -2
- package/lib/components/tables/column/list-propery-column-model.d.ts +1 -2
- package/lib/components/tables/column/property-column-model.d.ts +1 -2
- package/lib/components/tables/column/selection-column-model.d.ts +1 -2
- 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/filter/text-search-predicate.d.ts +0 -9
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +3 -2
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -0
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -0
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +15 -25
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +1 -0
- package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +1 -2
- package/lib/components/tables/table/table.component.d.ts +12 -6
- 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 +1 -0
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +1 -2
- package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -5
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/directives/exports.d.ts +0 -1
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +2 -2
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +0 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +3 -7
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -2
- package/lib/interaction/components/editors/edit-context.d.ts +1 -1
- 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/exports.d.ts +0 -1
- package/lib/interaction/interaction.module.d.ts +28 -28
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +2 -1
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -0
- package/lib/place/guards/noop-auth-guard.service.d.ts +1 -0
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +1 -0
- package/lib/place/place-component.d.ts +10 -4
- package/lib/place/place-history.d.ts +1 -0
- 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 +5 -4
- package/lib/place/route/json-types.d.ts +3 -1
- 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 +1 -0
- package/lib/services/visibility-service.d.ts +1 -1
- package/package.json +7 -8
- package/esm2022/lib/components/forms/form-field.mjs +0 -2
- package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
- package/esm2022/lib/components/loadable-component.mjs +0 -49
- package/esm2022/lib/components/tables/column/column-manager.mjs +0 -81
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
- package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -129
- package/lib/components/forms/form-field.d.ts +0 -5
- package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
- package/lib/components/loadable-component.d.ts +0 -17
- package/lib/components/tables/column/column-manager.d.ts +0 -19
- package/lib/components/tables/column/column-order-manager.d.ts +0 -20
- package/lib/directives/resize-observer.directive.d.ts +0 -16
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export var ColumnOrderManager;
|
|
2
|
-
(function (ColumnOrderManager) {
|
|
3
|
-
function processPosition(position, callback) {
|
|
4
|
-
if (position) {
|
|
5
|
-
const keys = Object.keys(position);
|
|
6
|
-
if (keys.includes("before")) {
|
|
7
|
-
return position["before"] ? callback.before(position["before"]) : callback.first();
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
return position["after"] ? callback.after(position["after"]) : callback.last();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
return callback.last();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
ColumnOrderManager.processPosition = processPosition;
|
|
18
|
-
})(ColumnOrderManager || (ColumnOrderManager = {}));
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLW9yZGVyLW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3NpdGlvbik7XG4gICAgICBpZiAoa2V5cy5pbmNsdWRlcyhcImJlZm9yZVwiKSkge1xuICAgICAgICByZXR1cm4gcG9zaXRpb25bXCJiZWZvcmVcIl0gPyBjYWxsYmFjay5iZWZvcmUocG9zaXRpb25bXCJiZWZvcmVcIl0pIDogY2FsbGJhY2suZmlyc3QoKVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcmV0dXJuIHBvc2l0aW9uW1wiYWZ0ZXJcIl0gPyBjYWxsYmFjay5hZnRlcihwb3NpdGlvbltcImFmdGVyXCJdKSA6IGNhbGxiYWNrLmxhc3QoKVxuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gY2FsbGJhY2subGFzdCgpO1xuICAgIH1cbiAgfVxuXG5cbn1cblxuIl19
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, EventEmitter, NgZone, Output } from '@angular/core';
|
|
2
|
-
import { MutableValueModel } from '@coolon/pectin';
|
|
3
|
-
import ResizeObserver from 'resize-observer-polyfill';
|
|
4
|
-
import { DisposableComponent } from '../components/disposable-component';
|
|
5
|
-
import { Bounds } from '../components/types/bounds.class';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class ResizeObserverDirective extends DisposableComponent {
|
|
8
|
-
aupOnResize = new EventEmitter();
|
|
9
|
-
elementRef = this.inject(ElementRef);
|
|
10
|
-
ngZone = this.inject(NgZone);
|
|
11
|
-
_bounds$ = new MutableValueModel();
|
|
12
|
-
ngAfterViewInit() {
|
|
13
|
-
const element = this.elementRef.nativeElement;
|
|
14
|
-
const ro = new ResizeObserver((entries, observer) => {
|
|
15
|
-
this.ngZone.run(() => this._updateBounds());
|
|
16
|
-
});
|
|
17
|
-
ro.observe(element);
|
|
18
|
-
this.onDispose(() => ro.disconnect());
|
|
19
|
-
setTimeout(() => this._updateBounds());
|
|
20
|
-
}
|
|
21
|
-
get bounds$() {
|
|
22
|
-
return this._bounds$.readonly$;
|
|
23
|
-
}
|
|
24
|
-
_updateBounds() {
|
|
25
|
-
this._bounds$.value = Bounds.ofElement(this.elementRef.nativeElement);
|
|
26
|
-
this.aupOnResize.emit(this._bounds$.value);
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ResizeObserverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: ResizeObserverDirective, isStandalone: true, selector: "[aupOnResize]", outputs: { aupOnResize: "aupOnResize" }, usesInheritance: true, ngImport: i0 });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ResizeObserverDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: "[aupOnResize]",
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], propDecorators: { aupOnResize: [{
|
|
38
|
-
type: Output
|
|
39
|
-
}] } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXplLW9ic2VydmVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2RpcmVjdGl2ZXMvcmVzaXplLW9ic2VydmVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakcsT0FBTyxFQUF3QixpQkFBaUIsRUFBYSxNQUFNLGd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seSQ7XG4gIH1cblxuICBwcml2YXRlIF91cGRhdGVCb3VuZHMoKSB7XG4gICAgdGhpcy5fYm91bmRzJC52YWx1ZSA9IEJvdW5kcy5vZkVsZW1lbnQodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQpXG4gICAgdGhpcy5hdXBPblJlc2l6ZS5lbWl0KHRoaXMuX2JvdW5kcyQudmFsdWUpXG4gIH1cblxufVxuIl19
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Inject, Input, Optional, ViewChild } from "@angular/core";
|
|
2
|
-
import { MAT_TABS_CONFIG } from "@angular/material/tabs";
|
|
3
|
-
import { slideDownWhenOpenAnimation } from "../../../animations/slide-animations";
|
|
4
|
-
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
|
-
import { InteractionService } from "../../services/interaction.service";
|
|
6
|
-
import { ActivityContainerComponent } from "../activity-container/activity-container.component";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../activity-container/activity-container.component";
|
|
9
|
-
const cssDurationRegex = /(\d+)(m?s)/;
|
|
10
|
-
/**
|
|
11
|
-
* This interaction context remains hidden (height: 0) until it is active.
|
|
12
|
-
* @example
|
|
13
|
-
* <aup-slide-down-interaction-context #inPlaceInteractionContext>
|
|
14
|
-
* </aup-slide-down-interaction-context>
|
|
15
|
-
*
|
|
16
|
-
* in your component
|
|
17
|
-
* @ViewChild(SlideDownInteractionContextComponent)
|
|
18
|
-
* interactionContext: InteractionContext;
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
export class SlideDownInteractionContextComponent extends DisposableComponent {
|
|
23
|
-
tabConfig;
|
|
24
|
-
activityContainerComponent;
|
|
25
|
-
// NOTE: disabling this as I'm using the initialise callback to release the hacky height clamp.
|
|
26
|
-
// The whole registration thing is a bit naf so I should really clean that up at some point.
|
|
27
|
-
// /**
|
|
28
|
-
// * If true the activity will sync with the router to enable back button support. This is a work around for
|
|
29
|
-
// * deeply nested activities that can't be linked with the root place interactionContext hook for cancelling
|
|
30
|
-
// * active interactions.
|
|
31
|
-
// */
|
|
32
|
-
// @Input()
|
|
33
|
-
// syncWithRoutes = true;
|
|
34
|
-
dynamicHeight = true;
|
|
35
|
-
get active() {
|
|
36
|
-
return this.isActive();
|
|
37
|
-
}
|
|
38
|
-
// Horrible hack to stop the div and activity container bouncing back for a bit in after closing. No idea why it's doing that.
|
|
39
|
-
clampShut = true;
|
|
40
|
-
interactionService = this.inject(InteractionService);
|
|
41
|
-
constructor(tabConfig) {
|
|
42
|
-
super();
|
|
43
|
-
this.tabConfig = tabConfig;
|
|
44
|
-
}
|
|
45
|
-
ngAfterViewInit() {
|
|
46
|
-
// NOTE: this is a temp work around to detach inplace contexts from the router until AUP-88 is implemented.
|
|
47
|
-
// https://coolon.atlassian.net/browse/AUP-88?atlOrigin=eyJpIjoiOTg5YjEzZGUzZjRmNDg0NmExOWU3ZGJmMzJiNTRmNGYiLCJwIjoiaiJ9
|
|
48
|
-
const self = this;
|
|
49
|
-
this.activityContainerComponent.initialise("dont-care", {
|
|
50
|
-
async notifyActive(interactionContext) {
|
|
51
|
-
self.clampShut = false;
|
|
52
|
-
return undefined;
|
|
53
|
-
},
|
|
54
|
-
async notifyFinished(interactionContext) {
|
|
55
|
-
return undefined;
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
// if (this.syncWithRoutes) {
|
|
59
|
-
// this.interactionService.registerInplaceInteractionContext(this);
|
|
60
|
-
// }
|
|
61
|
-
}
|
|
62
|
-
getAnimationState() {
|
|
63
|
-
return {
|
|
64
|
-
value: this.isActive() ? "open" : "closed",
|
|
65
|
-
params: { duration: "200ms" }
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
// this is a regsitration callback from the interaction service
|
|
69
|
-
// @Trace() // webstorm says no usages... but I'm not sure.
|
|
70
|
-
onInplaceInteractionContextRegistered(id, api) {
|
|
71
|
-
this.activityContainerComponent.initialise(id, api);
|
|
72
|
-
}
|
|
73
|
-
get identifier() {
|
|
74
|
-
return this.activityContainerComponent.identifier;
|
|
75
|
-
}
|
|
76
|
-
alert(alert) {
|
|
77
|
-
return this.activityContainerComponent.alert(alert);
|
|
78
|
-
}
|
|
79
|
-
cancelActiveActivity() {
|
|
80
|
-
return this.activityContainerComponent.cancelActiveActivity();
|
|
81
|
-
}
|
|
82
|
-
confirm(confirm) {
|
|
83
|
-
return this.activityContainerComponent.confirm(confirm);
|
|
84
|
-
}
|
|
85
|
-
confirmOrReject(confirm) {
|
|
86
|
-
return this.activityContainerComponent.confirmOrReject(confirm);
|
|
87
|
-
}
|
|
88
|
-
confirmThen(confirm, activityType, data) {
|
|
89
|
-
return this.activityContainerComponent.confirmThen(confirm, activityType);
|
|
90
|
-
}
|
|
91
|
-
confirmThenExecute(confirm, operation) {
|
|
92
|
-
return this.activityContainerComponent.confirmThenExecute(confirm, operation);
|
|
93
|
-
}
|
|
94
|
-
isActive() {
|
|
95
|
-
return this.activityContainerComponent.isActive();
|
|
96
|
-
}
|
|
97
|
-
startActivity(activityType, data, options) {
|
|
98
|
-
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
99
|
-
}
|
|
100
|
-
onAnimationDone() {
|
|
101
|
-
if (!this.isActive()) {
|
|
102
|
-
this.clampShut = true;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, deps: [{ token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SlideDownInteractionContextComponent, selector: "aup-slide-down-interaction-context", inputs: { dynamicHeight: "dynamicHeight" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div [@slideDownWhenOpen]=\"getAnimationState()\" (@slideDownWhenOpen.done)=\"onAnimationDone()\" [style.max-height.px]=\"clampShut ? 0 : undefined\">\n <aup-activity-container #activityContainer [dynamicHeight]=\"dynamicHeight\"></aup-activity-container>\n</div>\n\n", styles: [":host{display:flex;flex-direction:column}:host>div{overflow:hidden}\n"], dependencies: [{ kind: "component", type: i1.ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight", "animationDuration"] }], animations: [
|
|
107
|
-
slideDownWhenOpenAnimation
|
|
108
|
-
] });
|
|
109
|
-
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, decorators: [{
|
|
111
|
-
type: Component,
|
|
112
|
-
args: [{ selector: "aup-slide-down-interaction-context", animations: [
|
|
113
|
-
slideDownWhenOpenAnimation
|
|
114
|
-
], template: "<div [@slideDownWhenOpen]=\"getAnimationState()\" (@slideDownWhenOpen.done)=\"onAnimationDone()\" [style.max-height.px]=\"clampShut ? 0 : undefined\">\n <aup-activity-container #activityContainer [dynamicHeight]=\"dynamicHeight\"></aup-activity-container>\n</div>\n\n", styles: [":host{display:flex;flex-direction:column}:host>div{overflow:hidden}\n"] }]
|
|
115
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
116
|
-
type: Inject,
|
|
117
|
-
args: [MAT_TABS_CONFIG]
|
|
118
|
-
}, {
|
|
119
|
-
type: Optional
|
|
120
|
-
}] }]; }, propDecorators: { activityContainerComponent: [{
|
|
121
|
-
type: ViewChild,
|
|
122
|
-
args: ["activityContainer", { static: true }]
|
|
123
|
-
}], dynamicHeight: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], active: [{
|
|
126
|
-
type: HostBinding,
|
|
127
|
-
args: ["class.active"]
|
|
128
|
-
}] } });
|
|
129
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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command } from '@coolon/pectin';
|
|
2
|
-
import { AbstractValueInputComponent } from '../abstract-value-input.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SearchInputComponent extends AbstractValueInputComponent<string> {
|
|
5
|
-
autocomplete: string;
|
|
6
|
-
readonly clearCommand: Command<void>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "aup-search-input", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ProviderToken } from '@angular/core';
|
|
2
|
-
import { DisposableComponent } from "./disposable-component";
|
|
3
|
-
import { Loadable } from "./types/loadable";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LoadableComponent extends DisposableComponent {
|
|
6
|
-
#private;
|
|
7
|
-
get loaded$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
protected injectLoadable<T extends Loadable>(token: ProviderToken<T>, options?: {
|
|
10
|
-
wait: boolean;
|
|
11
|
-
}): T;
|
|
12
|
-
registerLoadable<T extends Loadable>(loadable: T, options?: {
|
|
13
|
-
wait: boolean;
|
|
14
|
-
}): T;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadableComponent, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadableComponent, never, never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { GarbageCollector, ListModel, WatchList } from '@coolon/pectin';
|
|
2
|
-
import { ColumnModel } from './column-model';
|
|
3
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
4
|
-
export declare class ColumnManager<Row> extends GarbageCollector implements ColumnOrderManager {
|
|
5
|
-
private readonly _columnRefs$;
|
|
6
|
-
private readonly orderedColumnRefs$;
|
|
7
|
-
private readonly _columnsById$;
|
|
8
|
-
readonly allColumns$: ListModel<ColumnModel<Row>>;
|
|
9
|
-
readonly columnVisibilities$: WatchList<boolean>;
|
|
10
|
-
readonly visibleColumns$: ListModel<ColumnModel<Row>>;
|
|
11
|
-
constructor();
|
|
12
|
-
position(column: ColumnModel<any>, newPosition: ColumnOrderManager.Position): void;
|
|
13
|
-
getColumn(id: string): ColumnModel<Row>;
|
|
14
|
-
hasColumn(id: string): boolean;
|
|
15
|
-
hasMatchingColumn(row: Row, regex: RegExp): boolean;
|
|
16
|
-
addColumn<C extends ColumnModel<Row>>(column: C, position?: ColumnOrderManager.Position): C;
|
|
17
|
-
computePosition(position?: ColumnOrderManager.Position): string;
|
|
18
|
-
doComputeValue(): ColumnModel<Row>[];
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ColumnModel } from "./column-model";
|
|
2
|
-
export interface ColumnOrderManager {
|
|
3
|
-
position(column: ColumnModel<any>, position: ColumnOrderManager.Position): void;
|
|
4
|
-
}
|
|
5
|
-
export declare namespace ColumnOrderManager {
|
|
6
|
-
interface Before {
|
|
7
|
-
before: ColumnModel<any> | null;
|
|
8
|
-
}
|
|
9
|
-
interface After {
|
|
10
|
-
after: ColumnModel<any> | null;
|
|
11
|
-
}
|
|
12
|
-
export type Position = Before | After;
|
|
13
|
-
export function processPosition(position: Position | undefined, callback: {
|
|
14
|
-
before(col: ColumnModel<any> | null): string;
|
|
15
|
-
after(col: ColumnModel<any> | null): string;
|
|
16
|
-
first(): string;
|
|
17
|
-
last(): string;
|
|
18
|
-
}): string;
|
|
19
|
-
export {};
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueModel } from '@coolon/pectin';
|
|
3
|
-
import { DisposableComponent } from '../components/disposable-component';
|
|
4
|
-
import { Bounds } from '../components/types/bounds.class';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ResizeObserverDirective extends DisposableComponent implements AfterViewInit {
|
|
7
|
-
aupOnResize: EventEmitter<Bounds>;
|
|
8
|
-
protected readonly elementRef: ElementRef<any>;
|
|
9
|
-
protected readonly ngZone: NgZone;
|
|
10
|
-
private _bounds$;
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
get bounds$(): ValueModel<Bounds>;
|
|
13
|
-
private _updateBounds;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeObserverDirective, "[aupOnResize]", never, {}, { "aupOnResize": "aupOnResize"; }, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import { MatTabsConfig } from "@angular/material/tabs";
|
|
3
|
-
import { Constructable } from "@coolon/pectin";
|
|
4
|
-
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
|
-
import { Activity } from "../../activity";
|
|
6
|
-
import { Alert } from "../../alert";
|
|
7
|
-
import { Confirm } from "../../confirm";
|
|
8
|
-
import { InPlaceInteractionContext } from "../../in-place-interaction-context";
|
|
9
|
-
import { InteractionContext } from "../../interaction-context";
|
|
10
|
-
import { InteractionService } from "../../services/interaction.service";
|
|
11
|
-
import { ActivityContainerComponent } from "../activity-container/activity-container.component";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* This interaction context remains hidden (height: 0) until it is active.
|
|
15
|
-
* @example
|
|
16
|
-
* <aup-slide-down-interaction-context #inPlaceInteractionContext>
|
|
17
|
-
* </aup-slide-down-interaction-context>
|
|
18
|
-
*
|
|
19
|
-
* in your component
|
|
20
|
-
* @ViewChild(SlideDownInteractionContextComponent)
|
|
21
|
-
* interactionContext: InteractionContext;
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
export declare class SlideDownInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
|
|
26
|
-
private readonly tabConfig;
|
|
27
|
-
activityContainerComponent: ActivityContainerComponent<any, any, any>;
|
|
28
|
-
dynamicHeight: boolean;
|
|
29
|
-
get active(): boolean;
|
|
30
|
-
protected clampShut: boolean;
|
|
31
|
-
readonly interactionService: InteractionService;
|
|
32
|
-
constructor(tabConfig: MatTabsConfig);
|
|
33
|
-
ngAfterViewInit(): void;
|
|
34
|
-
getAnimationState(): {
|
|
35
|
-
value: string;
|
|
36
|
-
params: {
|
|
37
|
-
duration: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
onInplaceInteractionContextRegistered(id: string, api: InteractionService.Api): void;
|
|
41
|
-
get identifier(): string;
|
|
42
|
-
alert(alert: Alert): Promise<void>;
|
|
43
|
-
cancelActiveActivity(): Promise<boolean>;
|
|
44
|
-
confirm(confirm: Confirm): Promise<boolean>;
|
|
45
|
-
confirmOrReject(confirm: Confirm): Promise<void>;
|
|
46
|
-
confirmThen<D1, R1, E1>(confirm: Confirm, activityType: Constructable<Activity<D1, R1, E1>>, data?: D1): Promise<R1>;
|
|
47
|
-
confirmThenExecute<R1>(confirm: Confirm, operation: (interactionContext: InteractionContext) => (Promise<R1> | R1)): Promise<R1>;
|
|
48
|
-
isActive(): boolean;
|
|
49
|
-
startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
|
|
50
|
-
onAnimationDone(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SlideDownInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SlideDownInteractionContextComponent<any, any, any>, "aup-slide-down-interaction-context", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
|
-
}
|