@coolon/angular-ui-powerups 16.1.0-alpha.237 → 16.1.0-aplpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/activities/activities.scss +6 -8
- package/assets/activities/input-activities.scss +6 -14
- package/assets/form.scss +23 -77
- package/assets/icons.scss +1 -2
- package/assets/interaction/editor/inline-string-editor.scss +0 -4
- package/assets/interaction.scss +1 -1
- package/assets/styles.scss +0 -4
- package/assets/table.scss +31 -84
- package/assets/tabs.scss +2 -15
- package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
- package/esm2022/lib/animations/slide-animations.mjs +10 -15
- package/esm2022/lib/components/alignment.mjs +1 -1
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +12 -7
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +7 -31
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +6 -6
- package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +81 -0
- package/esm2022/lib/components/commands/command/command.component.mjs +33 -35
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +5 -13
- package/esm2022/lib/components/commands/command-face.mjs +11 -12
- 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 +8 -31
- package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +25 -27
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +24 -15
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +12 -18
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +23 -14
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +19 -12
- package/esm2022/lib/components/commands/separator.component.mjs +14 -8
- package/esm2022/lib/components/components.module.mjs +58 -73
- package/esm2022/lib/components/disposable-component.mjs +40 -74
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +9 -5
- package/esm2022/lib/components/exports.mjs +12 -16
- 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 +18 -67
- 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 +15 -18
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +8 -10
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +11 -12
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +13 -94
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -44
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +19 -21
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +16 -35
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +8 -12
- package/esm2022/lib/components/icon/icon.component.mjs +7 -10
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +12 -7
- package/esm2022/lib/components/noop/noop.component.mjs +7 -5
- package/esm2022/lib/components/resize-aware.component.mjs +27 -64
- 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 +17 -15
- package/esm2022/lib/components/tables/abstract-table-model.mjs +113 -116
- package/esm2022/lib/components/tables/abstract-table.component.mjs +8 -23
- package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +23 -20
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -5
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -4
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +21 -0
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +21 -8
- package/esm2022/lib/components/tables/column/property-column-model.mjs +20 -7
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +13 -35
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +60 -0
- package/esm2022/lib/components/tables/editor/edit-session.mjs +26 -0
- package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +2 -0
- 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 +12 -16
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -17
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
- package/esm2022/lib/components/tables/renderer/cell-editors.mjs +2 -0
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +26 -22
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +8 -6
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +7 -5
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +8 -19
- package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +9 -18
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +53 -266
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +50 -9
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +7 -5
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +33 -0
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +60 -0
- package/esm2022/lib/components/tables/table/table-model.mjs +35 -18
- package/esm2022/lib/components/tables/table/table.component.mjs +64 -42
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +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 +7 -5
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +6 -6
- 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 +8 -15
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +7 -4
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +6 -6
- package/esm2022/lib/components/track.mjs +1 -1
- package/esm2022/lib/components/types/bounds.class.mjs +1 -1
- package/esm2022/lib/components/types/loadable.mjs +2 -0
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
- package/esm2022/lib/directives/command.directive.mjs +14 -26
- package/esm2022/lib/directives/directives.module.mjs +10 -10
- package/esm2022/lib/directives/exports.mjs +1 -2
- package/esm2022/lib/directives/focus-binding-factory.mjs +4 -5
- package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
- package/esm2022/lib/directives/focus-binding.mjs +2 -22
- package/esm2022/lib/directives/garbage-collector.directive.mjs +4 -5
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
- package/esm2022/lib/directives/highlight.pipe.mjs +13 -22
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +8 -6
- package/esm2022/lib/interaction/activity-ref.mjs +2 -2
- package/esm2022/lib/interaction/activity.mjs +23 -24
- package/esm2022/lib/interaction/alert.mjs +2 -2
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +10 -14
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +45 -5
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +17 -30
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -10
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +25 -119
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +19 -55
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -6
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +4 -5
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -5
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -5
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -5
- 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 -5
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +10 -6
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +10 -6
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +11 -9
- 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 +13 -13
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +9 -25
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +5 -6
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +38 -44
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +12 -14
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +5 -6
- package/esm2022/lib/interaction/confirm.mjs +2 -26
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
- package/esm2022/lib/interaction/exports.mjs +1 -6
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context.mjs +2 -3
- package/esm2022/lib/interaction/interaction.module.mjs +36 -44
- package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
- package/esm2022/lib/interaction/services/interaction.service.mjs +10 -23
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +10 -16
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +5 -29
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +5 -15
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +9 -8
- package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +7 -5
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +21 -23
- 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 +11 -19
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +7 -5
- package/esm2022/lib/place/guards/place.guard.mjs +14 -30
- 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 +4 -39
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +9 -9
- 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 +2 -11
- 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-auth-service.mjs +7 -8
- package/esm2022/lib/place/place-component.mjs +79 -82
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +5 -18
- package/esm2022/lib/place/place-history.mjs +8 -17
- package/esm2022/lib/place/place-router.mjs +70 -191
- package/esm2022/lib/place/place.decorator.mjs +3 -4
- package/esm2022/lib/place/place.module.mjs +17 -17
- 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 +51 -55
- package/esm2022/lib/place/route/parameter-definition.mjs +2 -6
- package/esm2022/lib/place/route/parameter-sanitiser.mjs +2 -7
- 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 +3 -3
- package/esm2022/lib/place/visit-segment.mjs +2 -3
- package/esm2022/lib/place/visit.mjs +5 -5
- package/esm2022/lib/services/markdown/markdown.service.mjs +7 -5
- package/esm2022/lib/services/markdown/pill-plugin.mjs +3 -1
- package/esm2022/lib/services/visibility-service.mjs +7 -7
- package/fesm2022/coolon-angular-ui-powerups.mjs +3634 -5281
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/angular-ui-powerups.module.d.ts +5 -5
- package/lib/animations/slide-animations.d.ts +0 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +3 -6
- package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
- package/lib/components/cards/card-stack/card-stack.component.d.ts +68 -0
- package/lib/components/commands/command/command.component.d.ts +10 -9
- package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
- package/lib/components/commands/command-face.d.ts +9 -8
- package/lib/components/commands/group/popup-aware.component.d.ts +5 -10
- package/lib/components/commands/group/popup-container.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +6 -6
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -2
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +2 -4
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +4 -2
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +7 -3
- package/lib/components/commands/separator.component.d.ts +4 -2
- package/lib/components/components.module.d.ts +30 -33
- package/lib/components/disposable-component.d.ts +9 -26
- package/lib/components/empty-state/empty-state.component.d.ts +4 -1
- package/lib/components/exports.d.ts +11 -15
- package/lib/components/forms/abstract-input.component.d.ts +7 -16
- package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +0 -2
- package/lib/components/forms/number-input/number-input.component.d.ts +4 -16
- 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 -7
- package/lib/components/forms/text-input/text-input.component.d.ts +0 -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 +7 -26
- package/lib/components/switch-case/switch-case.component.d.ts +7 -6
- package/lib/components/tables/abstract-table-model.d.ts +37 -51
- package/lib/components/tables/abstract-table.component.d.ts +7 -8
- package/lib/components/tables/column/column-list-model.d.ts +13 -0
- package/lib/components/tables/column/column-model.d.ts +17 -14
- package/lib/components/tables/column/custom-template-column-model.d.ts +2 -3
- package/lib/components/tables/column/custom-value-column-model.d.ts +3 -4
- package/lib/components/tables/column/editor-controls-column-model.d.ts +13 -0
- package/lib/components/tables/column/list-propery-column-model.d.ts +7 -5
- package/lib/components/tables/column/property-column-model.d.ts +9 -7
- package/lib/components/tables/column/selection-column-model.d.ts +4 -10
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +17 -0
- package/lib/components/tables/editor/edit-session.d.ts +9 -0
- package/lib/components/tables/{renderer → 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/table-filter-model.d.ts +1 -1
- package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
- package/lib/components/tables/renderer/cell-editors.d.ts +9 -0
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +25 -22
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +2 -1
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -0
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +2 -3
- package/lib/components/tables/renderer/selection-cell/selection-cell.component.d.ts +0 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +21 -55
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +14 -5
- 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-popup/table-more-menu-popup.component.d.ts +15 -0
- package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +23 -0
- package/lib/components/tables/table/table-model.d.ts +36 -10
- package/lib/components/tables/table/table.component.d.ts +13 -17
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +28 -0
- package/lib/components/tables/tree-table/flattened-tree-list-model.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 +1 -0
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +3 -3
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -4
- package/lib/components/tables/tree-table/tree-table-component.d.ts +3 -6
- package/lib/components/tables/tree-table/tree-table-model.d.ts +6 -5
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/components/types/loadable.d.ts +5 -0
- package/lib/directives/command.directive.d.ts +5 -7
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/directives/exports.d.ts +0 -1
- package/lib/directives/focus-binding.d.ts +0 -1
- package/lib/directives/highlight.pipe.d.ts +2 -8
- package/lib/interaction/abstract-interaction-context.d.ts +5 -5
- package/lib/interaction/activity-ref.d.ts +4 -4
- package/lib/interaction/activity.d.ts +8 -8
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +2 -3
- package/lib/interaction/components/abstract-dialog.component.d.ts +15 -6
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +9 -12
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -2
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +13 -32
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +7 -6
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +2 -2
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +2 -2
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +3 -3
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -6
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +2 -2
- package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +2 -2
- package/lib/interaction/components/editors/edit-context.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +2 -2
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +10 -12
- package/lib/interaction/components/input-activities/input-activity.d.ts +1 -1
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +2 -2
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
- package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +2 -2
- package/lib/interaction/confirm.d.ts +0 -4
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +5 -5
- package/lib/interaction/exports.d.ts +0 -5
- package/lib/interaction/in-place-interaction-context.d.ts +2 -2
- package/lib/interaction/interaction-context.d.ts +4 -10
- package/lib/interaction/interaction.module.d.ts +33 -35
- package/lib/interaction/route-synchronisation-adapter.d.ts +3 -3
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +4 -4
- package/lib/interaction/services/interaction.service.d.ts +4 -5
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +5 -4
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +5 -6
- package/lib/interaction/services/modal-interaction-context.factory.d.ts +2 -2
- package/lib/place/components/abstract-place-navigation.component.d.ts +2 -3
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -0
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +7 -6
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -2
- package/lib/place/guards/noop-auth-guard.service.d.ts +1 -0
- package/lib/place/guards/place.guard.d.ts +1 -8
- package/lib/place/navigation/place-component-deactivation-handler.d.ts +4 -4
- package/lib/place/navigation/session/abstract-pop-state-navigation.d.ts +1 -1
- package/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.d.ts +3 -3
- package/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.d.ts +3 -3
- package/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.d.ts +3 -3
- package/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.d.ts +1 -1
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +3 -16
- package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +1 -1
- package/lib/place/navigation/session/navigation-context.d.ts +5 -5
- package/lib/place/navigation/session/navigation-session.d.ts +8 -15
- package/lib/place/place-access-guard.d.ts +1 -1
- package/lib/place/place-auth-service.d.ts +8 -8
- package/lib/place/place-component.d.ts +23 -15
- package/lib/place/place-definition.d.ts +3 -6
- package/lib/place/place-history.d.ts +4 -5
- package/lib/place/place-router.d.ts +10 -41
- package/lib/place/place.decorator.d.ts +1 -9
- package/lib/place/place.module.d.ts +8 -8
- package/lib/place/route/json-types.d.ts +3 -1
- package/lib/place/route/parameter-decorators.d.ts +6 -5
- package/lib/place/route/parameter-definition.d.ts +5 -5
- package/lib/place/route/parameter-sanitiser.d.ts +1 -8
- package/lib/place/route/parameter-snapshot.d.ts +2 -2
- package/lib/place/route/visit-segment-sanitiser.d.ts +3 -3
- package/lib/place/url-service.d.ts +1 -1
- package/lib/place/url-snapshot.d.ts +1 -1
- package/lib/place/visit-segment.d.ts +6 -6
- package/lib/place/visit.d.ts +4 -4
- package/lib/services/markdown/markdown.service.d.ts +1 -0
- package/lib/services/visibility-service.d.ts +1 -1
- package/package.json +20 -19
- package/assets/draw.scss +0 -20
- package/assets/layout.scss +0 -3
- package/assets/place.scss +0 -31
- package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +0 -115
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +0 -89
- 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 -69
- package/esm2022/lib/components/tables/column/column-manager.mjs +0 -82
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
- package/esm2022/lib/components/tables/footer/footer-row-model.mjs +0 -135
- package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +0 -7
- package/esm2022/lib/components/tables/renderer/editable-cell-renderer.mjs +0 -2
- package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +0 -2
- package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +0 -153
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +0 -45
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +0 -71
- package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +0 -32
- package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
- package/esm2022/lib/interaction/activity-context.mjs +0 -4
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +0 -55
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +0 -54
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -134
- package/esm2022/lib/interaction/interaction-context-provider.mjs +0 -17
- package/esm2022/lib/place/place-metadata.mjs +0 -16
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +0 -30
- package/lib/components/file/file-download/file-download.component.d.ts +0 -45
- 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 -20
- 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/components/tables/footer/footer-row-model.d.ts +0 -72
- package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +0 -6
- package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +0 -7
- package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +0 -42
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +0 -19
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts +0 -24
- package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +0 -10
- package/lib/directives/resize-observer.directive.d.ts +0 -16
- package/lib/interaction/activity-context.d.ts +0 -9
- package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +0 -17
- package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +0 -15
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
- package/lib/interaction/interaction-context-provider.d.ts +0 -11
- package/lib/place/place-metadata.d.ts +0 -8
|
@@ -1,134 +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 { INTERACTION_CONTEXT } from "../../interaction-context";
|
|
6
|
-
import { InteractionService } from "../../services/interaction.service";
|
|
7
|
-
import { ActivityContainerComponent } from "../activity-container/activity-container.component";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../activity-container/activity-container.component";
|
|
10
|
-
const cssDurationRegex = /(\d+)(m?s)/;
|
|
11
|
-
/**
|
|
12
|
-
* This interaction context remains hidden (height: 0) until it is active.
|
|
13
|
-
* @example
|
|
14
|
-
* <aup-slide-down-interaction-context #inPlaceInteractionContext>
|
|
15
|
-
* </aup-slide-down-interaction-context>
|
|
16
|
-
*
|
|
17
|
-
* in your component
|
|
18
|
-
* @ViewChild(SlideDownInteractionContextComponent)
|
|
19
|
-
* interactionContext: InteractionContext;
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export class SlideDownInteractionContextComponent extends DisposableComponent {
|
|
24
|
-
tabConfig;
|
|
25
|
-
activityContainerComponent;
|
|
26
|
-
// NOTE: disabling this as I'm using the initialise callback to release the hacky height clamp.
|
|
27
|
-
// The whole registration thing is a bit naf so I should really clean that up at some point.
|
|
28
|
-
// /**
|
|
29
|
-
// * If true the activity will sync with the router to enable back button support. This is a work around for
|
|
30
|
-
// * deeply nested activities that can't be linked with the root place interactionContext hook for cancelling
|
|
31
|
-
// * active interactions.
|
|
32
|
-
// */
|
|
33
|
-
// @Input()
|
|
34
|
-
// syncWithRoutes = true;
|
|
35
|
-
dynamicHeight = true;
|
|
36
|
-
get active() {
|
|
37
|
-
return this.isActive();
|
|
38
|
-
}
|
|
39
|
-
// Horrible hack to stop the div and activity container bouncing back for a bit in after closing. No idea why it's doing that.
|
|
40
|
-
clampShut = true;
|
|
41
|
-
interactionService = this.inject(InteractionService);
|
|
42
|
-
constructor(tabConfig) {
|
|
43
|
-
super();
|
|
44
|
-
this.tabConfig = tabConfig;
|
|
45
|
-
}
|
|
46
|
-
ngAfterViewInit() {
|
|
47
|
-
// NOTE: this is a temp work around to detach inplace contexts from the router until AUP-88 is implemented.
|
|
48
|
-
// https://coolon.atlassian.net/browse/AUP-88?atlOrigin=eyJpIjoiOTg5YjEzZGUzZjRmNDg0NmExOWU3ZGJmMzJiNTRmNGYiLCJwIjoiaiJ9
|
|
49
|
-
const self = this;
|
|
50
|
-
this.activityContainerComponent.initialise("dont-care", {
|
|
51
|
-
async notifyActive(interactionContext) {
|
|
52
|
-
self.clampShut = false;
|
|
53
|
-
return undefined;
|
|
54
|
-
},
|
|
55
|
-
async notifyFinished(interactionContext) {
|
|
56
|
-
return undefined;
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
// if (this.syncWithRoutes) {
|
|
60
|
-
// this.interactionService.registerInplaceInteractionContext(this);
|
|
61
|
-
// }
|
|
62
|
-
}
|
|
63
|
-
getAnimationState() {
|
|
64
|
-
return {
|
|
65
|
-
value: this.isActive() ? "open" : "closed",
|
|
66
|
-
params: { duration: "200ms" }
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
// this is a regsitration callback from the interaction service
|
|
70
|
-
// @Trace() // webstorm says no usages... but I'm not sure.
|
|
71
|
-
onInplaceInteractionContextRegistered(id, api) {
|
|
72
|
-
this.activityContainerComponent.initialise(id, api);
|
|
73
|
-
}
|
|
74
|
-
get identifier() {
|
|
75
|
-
return this.activityContainerComponent.identifier;
|
|
76
|
-
}
|
|
77
|
-
alert(alert) {
|
|
78
|
-
return this.activityContainerComponent.alert(alert);
|
|
79
|
-
}
|
|
80
|
-
cancelActiveActivity() {
|
|
81
|
-
return this.activityContainerComponent.cancelActiveActivity();
|
|
82
|
-
}
|
|
83
|
-
confirm(confirm) {
|
|
84
|
-
return this.activityContainerComponent.confirm(confirm);
|
|
85
|
-
}
|
|
86
|
-
confirmOrReject(confirm) {
|
|
87
|
-
return this.activityContainerComponent.confirmOrReject(confirm);
|
|
88
|
-
}
|
|
89
|
-
confirmThen(confirm, activityType, data) {
|
|
90
|
-
return this.activityContainerComponent.confirmThen(confirm, activityType);
|
|
91
|
-
}
|
|
92
|
-
confirmThenExecute(confirm, operation) {
|
|
93
|
-
return this.activityContainerComponent.confirmThenExecute(confirm, operation);
|
|
94
|
-
}
|
|
95
|
-
isActive() {
|
|
96
|
-
return this.activityContainerComponent.isActive();
|
|
97
|
-
}
|
|
98
|
-
startActivity(activityType, data, options) {
|
|
99
|
-
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
100
|
-
}
|
|
101
|
-
onAnimationDone() {
|
|
102
|
-
if (!this.isActive()) {
|
|
103
|
-
this.clampShut = true;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
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 });
|
|
107
|
-
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" } }, providers: [
|
|
108
|
-
{ provide: INTERACTION_CONTEXT, useExisting: SlideDownInteractionContextComponent }
|
|
109
|
-
], 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: [
|
|
110
|
-
slideDownWhenOpenAnimation
|
|
111
|
-
] });
|
|
112
|
-
}
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, decorators: [{
|
|
114
|
-
type: Component,
|
|
115
|
-
args: [{ selector: "aup-slide-down-interaction-context", providers: [
|
|
116
|
-
{ provide: INTERACTION_CONTEXT, useExisting: SlideDownInteractionContextComponent }
|
|
117
|
-
], animations: [
|
|
118
|
-
slideDownWhenOpenAnimation
|
|
119
|
-
], 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"] }]
|
|
120
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
121
|
-
type: Inject,
|
|
122
|
-
args: [MAT_TABS_CONFIG]
|
|
123
|
-
}, {
|
|
124
|
-
type: Optional
|
|
125
|
-
}] }]; }, propDecorators: { activityContainerComponent: [{
|
|
126
|
-
type: ViewChild,
|
|
127
|
-
args: ["activityContainer", { static: true }]
|
|
128
|
-
}], dynamicHeight: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}], active: [{
|
|
131
|
-
type: HostBinding,
|
|
132
|
-
args: ["class.active"]
|
|
133
|
-
}] } });
|
|
134
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUtZG93bi1pbnRlcmFjdGlvbi1jb250ZXh0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2ludGVyYWN0aW9uL2NvbXBvbmVudHMvc2xpZGUtZG93bi1pbnRlcmFjdGlvbi1jb250ZXh0L3NsaWRlLWRvd24taW50ZXJhY3Rpb24tY29udGV4dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1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
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export class InteractionContextProvider {
|
|
2
|
-
static forActivity(activity) {
|
|
3
|
-
return new class extends InteractionContextProvider {
|
|
4
|
-
getInteractionContext() {
|
|
5
|
-
return activity.interactionContext;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
static forInteractionContext(interactionContext) {
|
|
10
|
-
return new class extends InteractionContextProvider {
|
|
11
|
-
getInteractionContext() {
|
|
12
|
-
return interactionContext;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3Rpb24tY29udGV4dC1wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2ludGVyYWN0aW9uL2ludGVyYWN0aW9uLWNvbnRleHQtcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFnQiwwQkFBMEI7SUFDOUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxRQUFvQztRQUNyRCxPQUFPLElBQUksS0FBTSxTQUFRLDBCQUEwQjtZQUNqRCxxQkFBcUI7Z0JBQ25CLE9BQU8sUUFBUSxDQUFDLGtCQUFrQixDQUFDO1lBQ3JDLENBQUM7U0FDRixDQUFBO0lBQ0gsQ0FBQztJQUNELE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxrQkFBc0M7UUFDakUsT0FBTyxJQUFJLEtBQU0sU0FBUSwwQkFBMEI7WUFDakQscUJBQXFCO2dCQUNuQixPQUFPLGtCQUFrQixDQUFDO1lBQzVCLENBQUM7U0FDRixDQUFBO0lBQ0gsQ0FBQztDQUVGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUge0FjdGl2aXR5fSBmcm9tIFwiLi9hY3Rpdml0eVwiO1xuaW1wb3J0IHR5cGUge0ludGVyYWN0aW9uQ29udGV4dH0gZnJvbSBcIi4vaW50ZXJhY3Rpb24tY29udGV4dFwiO1xuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgSW50ZXJhY3Rpb25Db250ZXh0UHJvdmlkZXIge1xuICBzdGF0aWMgZm9yQWN0aXZpdHkoYWN0aXZpdHk6IEFjdGl2aXR5PHVua25vd24sIHVua25vd24+KSB7XG4gICAgcmV0dXJuIG5ldyBjbGFzcyBleHRlbmRzIEludGVyYWN0aW9uQ29udGV4dFByb3ZpZGVyIHtcbiAgICAgIGdldEludGVyYWN0aW9uQ29udGV4dCgpOiBJbnRlcmFjdGlvbkNvbnRleHQge1xuICAgICAgICByZXR1cm4gYWN0aXZpdHkuaW50ZXJhY3Rpb25Db250ZXh0O1xuICAgICAgfVxuICAgIH1cbiAgfVxuICBzdGF0aWMgZm9ySW50ZXJhY3Rpb25Db250ZXh0KGludGVyYWN0aW9uQ29udGV4dDogSW50ZXJhY3Rpb25Db250ZXh0KSB7XG4gICAgcmV0dXJuIG5ldyBjbGFzcyBleHRlbmRzIEludGVyYWN0aW9uQ29udGV4dFByb3ZpZGVyIHtcbiAgICAgIGdldEludGVyYWN0aW9uQ29udGV4dCgpOiBJbnRlcmFjdGlvbkNvbnRleHQge1xuICAgICAgICByZXR1cm4gaW50ZXJhY3Rpb25Db250ZXh0O1xuICAgICAgfVxuICAgIH1cbiAgfVxuICBhYnN0cmFjdCBnZXRJbnRlcmFjdGlvbkNvbnRleHQoKTogSW50ZXJhY3Rpb25Db250ZXh0XG59XG5cblxuIl19
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
// Raw place metadata access, split out of place-component.ts so collaborators that
|
|
3
|
-
// PlaceComponent itself depends on (visit, place-router, place-auth-service) can read
|
|
4
|
-
// definitions without a value-level import cycle. Use PlaceComponent.getDefinition /
|
|
5
|
-
// injectDefinition unless importing place-component.ts would create a cycle.
|
|
6
|
-
// RAKE: making this Symbol(...) broke things.
|
|
7
|
-
export const DEFINITION_META_DATA_KEY = 'PLACE_DEFINITION_OPTIONS';
|
|
8
|
-
// this one seems ok.
|
|
9
|
-
export const ROUTE_PARAMETER_LIST_KEY = Symbol('place:route:parameters');
|
|
10
|
-
export function getPlaceDefinition(placeComponent) {
|
|
11
|
-
return Reflect.getMetadata(DEFINITION_META_DATA_KEY, placeComponent);
|
|
12
|
-
}
|
|
13
|
-
export function setPlaceDefinition(placeComponent, definition) {
|
|
14
|
-
Reflect.defineMetadata(DEFINITION_META_DATA_KEY, definition, placeComponent);
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhY2UtbWV0YWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9wbGFjZS9wbGFjZS1tZXRhZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLGtCQUFrQixDQUFDO0FBSTFCLG1GQUFtRjtBQUNuRixzRkFBc0Y7QUFDdEYscUZBQXFGO0FBQ3JGLDZFQUE2RTtBQUU3RSw4Q0FBOEM7QUFDOUMsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQUcsMEJBQTBCLENBQUM7QUFDbkUscUJBQXFCO0FBQ3JCLE1BQU0sQ0FBQyxNQUFNLHdCQUF3QixHQUFHLE1BQU0sQ0FBQyx3QkFBd0IsQ0FBQyxDQUFDO0FBRXpFLE1BQU0sVUFBVSxrQkFBa0IsQ0FBQyxjQUE2QztJQUM5RSxPQUFPLE9BQU8sQ0FBQyxXQUFXLENBQUMsd0JBQXdCLEVBQUUsY0FBYyxDQUFDLENBQUM7QUFDdk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U9OUyc7XG4vLyB0aGlzIG9uZSBzZWVtcyBvay5cbmV4cG9ydCBjb25zdCBST1VURV9QQVJBTUVURVJfTElTVF9LRVkgPSBTeW1ib2woJ3BsYWNlOnJvdXRlOnBhcmFtZXRlcnMnKTtcblxuZXhwb3J0IGZ1bmN0aW9uIGdldFBsYWNlRGVmaW5pdGlvbihwbGFjZUNvbXBvbmVudDogQ29uc3RydWN0YWJsZTxQbGFjZUNvbXBvbmVudD4pOiBQbGFjZURlZmluaXRpb24ge1xuICByZXR1cm4gUmVmbGVjdC5nZXRNZXRhZGF0YShERUZJTklUSU9OX01FVEFfREFUQV9LRVksIHBsYWNlQ29tcG9uZW50KTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHNldFBsYWNlRGVmaW5pdGlvbihwbGFjZUNvbXBvbmVudDogQ29uc3RydWN0YWJsZTxQbGFjZUNvbXBvbmVudD4sIGRlZmluaXRpb246IFBsYWNlRGVmaW5pdGlvbik6IHZvaWQge1xuICBSZWZsZWN0LmRlZmluZU1ldGFkYXRhKERFRklOSVRJT05fTUVUQV9EQVRBX0tFWSwgZGVmaW5pdGlvbiwgcGxhY2VDb21wb25lbnQpO1xufVxuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { MatButton } from "@angular/material/button";
|
|
2
|
-
import { ThemePalette } from "@angular/material/core";
|
|
3
|
-
import { MatMenuItem } from "@angular/material/menu";
|
|
4
|
-
import { BooleanValueModelChain, CommandFace, ListModel, ValueModel, ValueModelChain } from "@coolon/pectin";
|
|
5
|
-
import { HorizontalAlignment } from "../../alignment";
|
|
6
|
-
import { CommandFace as CommandFaceUtils } from '../command-face';
|
|
7
|
-
import { PopupAwareComponent } from "../group/popup-aware.component";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ButtonRendererComponent extends PopupAwareComponent {
|
|
10
|
-
accessor faces$: ListModel<CommandFace>;
|
|
11
|
-
accessor faces: CommandFace[];
|
|
12
|
-
accessor enabled$: ValueModel<boolean>;
|
|
13
|
-
accessor enabled: boolean;
|
|
14
|
-
accessor busy$: ValueModel<boolean>;
|
|
15
|
-
accessor busy: boolean;
|
|
16
|
-
alignFace: HorizontalAlignment;
|
|
17
|
-
forceRenderAsButton: boolean;
|
|
18
|
-
matControl: MatMenuItem | MatButton;
|
|
19
|
-
readonly buttonStyle$: ValueModelChain<string>;
|
|
20
|
-
readonly color$: ValueModelChain<ThemePalette>;
|
|
21
|
-
private activeFace$;
|
|
22
|
-
readonly iconOnly$: BooleanValueModelChain;
|
|
23
|
-
readonly tooltip$: ValueModelChain<string>;
|
|
24
|
-
CommandFaceUtils: typeof CommandFaceUtils;
|
|
25
|
-
constructor();
|
|
26
|
-
get renderAsMenuItem(): boolean;
|
|
27
|
-
focus(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRendererComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonRendererComponent, "aup-button-renderer", never, { "faces$": { "alias": "faces$"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "enabled$": { "alias": "enabled$"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "busy$": { "alias": "busy$"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; "forceRenderAsButton": { "alias": "forceRenderAsButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from '@angular/material/core';
|
|
2
|
-
import { CommandFace, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
3
|
-
import { HorizontalAlignment } from '../../alignment';
|
|
4
|
-
import { CommandFace as CommandFaceUtil } from '../../commands/command-face';
|
|
5
|
-
import { PopupAwareComponent } from '../../commands/group/popup-aware.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare class FileDownloadComponent extends PopupAwareComponent {
|
|
11
|
-
protected readonly CommandFaceUtil: typeof CommandFaceUtil;
|
|
12
|
-
accessor download$: ValueModel<FileDownloadComponent.DownloadInfo>;
|
|
13
|
-
accessor download: FileDownloadComponent.DownloadInfo;
|
|
14
|
-
alignFace: HorizontalAlignment;
|
|
15
|
-
readonly faces$: ListModel<FileDownloadComponent.DownloadInfo>;
|
|
16
|
-
protected readonly buttonStyle$: ValueModelChain<string>;
|
|
17
|
-
protected readonly color$: ValueModelChain<ThemePalette>;
|
|
18
|
-
protected readonly tooltip$: ValueModelChain<string>;
|
|
19
|
-
protected readonly document: Document;
|
|
20
|
-
constructor();
|
|
21
|
-
downloadFile(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadComponent, "aup-file-download", never, { "download$": { "alias": "download$"; "required": false; }; "download": { "alias": "download"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace FileDownloadComponent {
|
|
26
|
-
function createInfo(options: {
|
|
27
|
-
face: CommandFace;
|
|
28
|
-
url: string;
|
|
29
|
-
saveAs: string;
|
|
30
|
-
}): {
|
|
31
|
-
text?(): string;
|
|
32
|
-
icon?(): string;
|
|
33
|
-
iconPosition?(): string;
|
|
34
|
-
tooltip?(): string;
|
|
35
|
-
color?(): string;
|
|
36
|
-
style?(): string;
|
|
37
|
-
face: CommandFace;
|
|
38
|
-
url: string;
|
|
39
|
-
saveAs: string;
|
|
40
|
-
};
|
|
41
|
-
interface DownloadInfo extends CommandFace {
|
|
42
|
-
saveAs: string;
|
|
43
|
-
url: string;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { 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,20 +0,0 @@
|
|
|
1
|
-
import { InjectOptions, OnInit, ProviderToken } from '@angular/core';
|
|
2
|
-
import { Loadable, LoadingStateTracker } from '@coolon/pectin';
|
|
3
|
-
import { DisposableComponent } from './disposable-component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LoadableComponent extends DisposableComponent implements OnInit {
|
|
6
|
-
#private;
|
|
7
|
-
protected readonly loadTracker: LoadingStateTracker.Tracker | undefined;
|
|
8
|
-
constructor();
|
|
9
|
-
get loaded$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
private loadDependencies;
|
|
12
|
-
protected injectLoadable<T extends Loadable>(token: ProviderToken<T>, options?: InjectOptions & {
|
|
13
|
-
wait: boolean;
|
|
14
|
-
}): T;
|
|
15
|
-
registerLoadable<T extends Loadable>(loadable: T, options?: {
|
|
16
|
-
wait: boolean;
|
|
17
|
-
}): T;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadableComponent, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadableComponent, never, never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { GarbageCollector, ListModel, WatchList } from '@coolon/pectin';
|
|
2
|
-
import type { ColumnModel } from './column-model';
|
|
3
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
4
|
-
export declare class ColumnManager<Row extends object> 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 type { 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,72 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from "@angular/cdk/overlay";
|
|
2
|
-
import { ComponentPortal } from "@angular/cdk/portal";
|
|
3
|
-
declare class RowClass {
|
|
4
|
-
readonly className: string;
|
|
5
|
-
readonly matches: () => boolean;
|
|
6
|
-
constructor(className: string, matches: () => boolean);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* A single cell within a footer row.
|
|
10
|
-
* - `span: 'all'` — the legacy full-width footer (one cell spanning every column).
|
|
11
|
-
* - `span: 'rest'` — anchored after the previous cell, spanning all remaining columns.
|
|
12
|
-
* - `span: <n>` — anchored at `columnId`, covering `n` columns.
|
|
13
|
-
*/
|
|
14
|
-
export interface FooterCell {
|
|
15
|
-
readonly portal: ComponentPortal<any>;
|
|
16
|
-
readonly onInit?: (component: any) => void;
|
|
17
|
-
/** Visible column this cell anchors to. Undefined => placed immediately after the previous cell. */
|
|
18
|
-
readonly columnId?: string;
|
|
19
|
-
readonly span: number | 'rest' | 'all';
|
|
20
|
-
}
|
|
21
|
-
/** Builds the cells of a column-aligned footer row. */
|
|
22
|
-
export declare class FooterRowCellsBuilder {
|
|
23
|
-
readonly cells: FooterCell[];
|
|
24
|
-
/** A cell occupying the single column `columnId`. */
|
|
25
|
-
cell<C>(columnId: string, component: ComponentType<C>, onInit?: (component: C) => void): this;
|
|
26
|
-
/** A cell anchored at `columnId`, spanning `span` columns. */
|
|
27
|
-
cellSpanning<C>(columnId: string, span: number, component: ComponentType<C>, onInit?: (component: C) => void): this;
|
|
28
|
-
/** A cell anchored immediately after the previous cell, spanning every remaining column. */
|
|
29
|
-
cellSpanningRest<C>(component: ComponentType<C>, onInit?: (component: C) => void): this;
|
|
30
|
-
private add;
|
|
31
|
-
}
|
|
32
|
-
/** A footer cell resolved against the current visible columns — ready to render. */
|
|
33
|
-
export interface ResolvedFooterCell {
|
|
34
|
-
readonly defId: string;
|
|
35
|
-
readonly portal?: ComponentPortal<any>;
|
|
36
|
-
readonly onInit?: (component: any) => void;
|
|
37
|
-
readonly colspan: number;
|
|
38
|
-
readonly columnId?: string;
|
|
39
|
-
readonly filler: boolean;
|
|
40
|
-
readonly fullWidth: boolean;
|
|
41
|
-
readonly firstColumn: boolean;
|
|
42
|
-
readonly lastColumn: boolean;
|
|
43
|
-
}
|
|
44
|
-
export interface ResolvedFooterRow {
|
|
45
|
-
readonly rowIndex: number;
|
|
46
|
-
readonly defIds: string[];
|
|
47
|
-
readonly cells: ResolvedFooterCell[];
|
|
48
|
-
readonly rowClasses: string;
|
|
49
|
-
}
|
|
50
|
-
export declare abstract class FooterRowModel {
|
|
51
|
-
protected readonly _rowClasses: RowClass[];
|
|
52
|
-
noPadding(): this;
|
|
53
|
-
addClass(className: string, condition?: () => boolean): this;
|
|
54
|
-
}
|
|
55
|
-
export declare namespace FooterRowModel {
|
|
56
|
-
class Impl extends FooterRowModel {
|
|
57
|
-
readonly cells: FooterCell[];
|
|
58
|
-
constructor(cells: FooterCell[]);
|
|
59
|
-
/** Legacy footer: one component spanning the full table width. */
|
|
60
|
-
static fullWidth<C>(component: ComponentType<C>, onInit?: (component: C) => void): Impl;
|
|
61
|
-
static fromBuilder(build: (row: FooterRowCellsBuilder) => void): Impl;
|
|
62
|
-
getActiveRowClasses(): string;
|
|
63
|
-
/**
|
|
64
|
-
* Resolve this row's cells against the current visible column ids: anchor each cell,
|
|
65
|
-
* fill unanchored gaps with empty cells, and drop cells whose anchor column is hidden
|
|
66
|
-
* (their space folds into the surrounding fillers). The colspans always sum to the
|
|
67
|
-
* column count so the footer aligns with the body columns.
|
|
68
|
-
*/
|
|
69
|
-
resolve(rowIndex: number, visibleColumnIds: string[]): ResolvedFooterRow;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LoadableComponent } from "../../loadable-component";
|
|
2
|
-
import type { CellRenderer } from "./cell-renderer";
|
|
3
|
-
export declare abstract class AbstractCellRenderer<T> extends LoadableComponent implements CellRenderer<T> {
|
|
4
|
-
abstract accessor value: T;
|
|
5
|
-
protected constructor();
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandFace } from '@coolon/pectin';
|
|
2
|
-
import type { FileDownloadComponent } from '../../../file/file-download/file-download.component';
|
|
3
|
-
export interface MenuBuilder<Row extends object> {
|
|
4
|
-
addCommand(factory: Command.Factory<Row>, face: CommandFace): void;
|
|
5
|
-
addDownload(callback: (row: Row) => FileDownloadComponent.DownloadInfo): void;
|
|
6
|
-
addSeparator(): void;
|
|
7
|
-
}
|
package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
2
|
-
import { Command } from '@coolon/pectin';
|
|
3
|
-
import type { CommandFace } from '../../../commands/command-face';
|
|
4
|
-
import { DisposableComponent } from '../../../disposable-component';
|
|
5
|
-
import type { FileDownloadComponent } from '../../../file/file-download/file-download.component';
|
|
6
|
-
import type { CellRenderer } from '../cell-renderer';
|
|
7
|
-
import type { MenuBuilder } from './menu-builder';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
declare class CommandData<T extends object> {
|
|
10
|
-
readonly factory: Command.Factory<T, void>;
|
|
11
|
-
readonly face: CommandFace;
|
|
12
|
-
constructor(factory: Command.Factory<T, void>, face: CommandFace);
|
|
13
|
-
}
|
|
14
|
-
declare class DownloadData<T extends object> {
|
|
15
|
-
private createInfo;
|
|
16
|
-
private cache;
|
|
17
|
-
constructor(createInfo: (value: T) => FileDownloadComponent.DownloadInfo);
|
|
18
|
-
createDownloadInfo(value: T): FileDownloadComponent.DownloadInfo;
|
|
19
|
-
}
|
|
20
|
-
type MenuItem<T extends object> = CommandData<T> | DownloadData<T> | null;
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export declare class TableActionColumnComponent<T extends object> extends DisposableComponent implements CellRenderer<T>, MenuBuilder<T> {
|
|
25
|
-
value: T;
|
|
26
|
-
menu: MatMenuTrigger;
|
|
27
|
-
readonly actions: MenuItem<T>[];
|
|
28
|
-
readonly moreActions: MenuItem<T>[];
|
|
29
|
-
readonly trackByIndex: import("@angular/core").TrackByFunction<any>;
|
|
30
|
-
constructor();
|
|
31
|
-
addCommand(commandFactory: Command.Factory<T, void>, properties: CommandFace): void;
|
|
32
|
-
addSeparator(): void;
|
|
33
|
-
addDownload(factory: (row: T) => FileDownloadComponent.DownloadInfo): void;
|
|
34
|
-
addMoreMenu(builder: (menu: MenuBuilder<T>) => void): void;
|
|
35
|
-
private closeMoreMenu;
|
|
36
|
-
isCommand(item: MenuItem<T>): item is CommandData<T>;
|
|
37
|
-
isDownload(item: MenuItem<T>): item is DownloadData<T>;
|
|
38
|
-
isSeparator(item: MenuItem<T>): boolean;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableActionColumnComponent<any>, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableActionColumnComponent<any>, "aup-table-action-column", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
-
}
|
|
42
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Command, ValueModel } from "@coolon/pectin";
|
|
2
|
-
import type { PopupAwareComponent } from "../../../commands/group/popup-aware.component";
|
|
3
|
-
import { type PopupContainer } from "../../../commands/group/popup-container";
|
|
4
|
-
import { LoadableComponent } from "../../../loadable-component";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TableCustomMoreMenuPopupComponent<T> extends LoadableComponent implements PopupContainer {
|
|
7
|
-
private _value$;
|
|
8
|
-
private readonly _visible$;
|
|
9
|
-
private readonly _closeCommand;
|
|
10
|
-
constructor();
|
|
11
|
-
initialise(row$: ValueModel<T>, closeCommand: Command<void>): void;
|
|
12
|
-
protected visibleWhile(condition: ValueModel<boolean>): this;
|
|
13
|
-
get visible$(): ValueModel<boolean>;
|
|
14
|
-
get closeCommand(): Command<void>;
|
|
15
|
-
get value$(): ValueModel<T>;
|
|
16
|
-
register(comp: PopupAwareComponent): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableCustomMoreMenuPopupComponent<any>, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableCustomMoreMenuPopupComponent<any>, "aup-table-more-menu-popup", never, {}, {}, never, never, false, never>;
|
|
19
|
-
}
|
package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CdkPortalOutletAttachedRef, ComponentPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { MatMenuTrigger } from "@angular/material/menu";
|
|
3
|
-
import { ValueModelChain } from '@coolon/pectin';
|
|
4
|
-
import { Constructable } from "@coolon/typescript-utilities";
|
|
5
|
-
import { DisposableComponent } from "../../../disposable-component";
|
|
6
|
-
import type { CellRenderer } from "../cell-renderer";
|
|
7
|
-
import type { TableCustomMoreMenuPopupComponent } from "./table-custom-more-menu-popup.component";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TableCustomMoreMenuComponent<T> extends DisposableComponent implements CellRenderer<T> {
|
|
10
|
-
private value$;
|
|
11
|
-
accessor value: T;
|
|
12
|
-
matMenuTrigger: MatMenuTrigger;
|
|
13
|
-
private readonly popupType$;
|
|
14
|
-
popupComponentPortal$: ValueModelChain<ComponentPortal<TableCustomMoreMenuPopupComponent<T>>>;
|
|
15
|
-
private readonly _visible$;
|
|
16
|
-
private initialiseCallback?;
|
|
17
|
-
constructor();
|
|
18
|
-
configurePopupComponentType(popupComponentType: Constructable<TableCustomMoreMenuPopupComponent<T>>, configureCallback?: (component: TableCustomMoreMenuPopupComponent<T>) => void): void;
|
|
19
|
-
preventDefault($event: MouseEvent): void;
|
|
20
|
-
initialise($event: CdkPortalOutletAttachedRef): void;
|
|
21
|
-
get visible$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableCustomMoreMenuComponent<any>, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableCustomMoreMenuComponent<any>, "aup-table-custom-more-menu", never, {}, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
|
|
2
|
-
import type { ResolvedFooterCell } from "../../footer/footer-row-model";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TableFooterRow {
|
|
5
|
-
cell: ResolvedFooterCell;
|
|
6
|
-
get cssClasses(): string;
|
|
7
|
-
initialise($event: CdkPortalOutletAttachedRef): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterRow, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableFooterRow, "aup-table-footer-row", never, { "cell": { "alias": "cell"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -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,9 +0,0 @@
|
|
|
1
|
-
import { Command } from "@coolon/pectin";
|
|
2
|
-
import type { InteractionContext } from "./interaction-context";
|
|
3
|
-
import { InteractionContextProvider } from "./interaction-context-provider";
|
|
4
|
-
export declare abstract class ActivityContext extends InteractionContextProvider {
|
|
5
|
-
abstract readonly interactionContext: InteractionContext;
|
|
6
|
-
abstract readonly confirmCommand: Command;
|
|
7
|
-
abstract readonly cancelCommand: Command;
|
|
8
|
-
abstract onActivityReady(callback: () => void): void;
|
|
9
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command } from "@coolon/pectin";
|
|
2
|
-
import type { CommandFace } from "../../../components/commands/command-face";
|
|
3
|
-
import { DisposableComponent } from "../../../components/disposable-component";
|
|
4
|
-
import { ActivityContext } from "../../activity-context";
|
|
5
|
-
import { Alert } from "../../alert";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AlertRendererComponent<T extends Alert = Alert> extends DisposableComponent {
|
|
8
|
-
config: T;
|
|
9
|
-
accessor confirmCommand: Command;
|
|
10
|
-
protected confirmFace: CommandFace;
|
|
11
|
-
protected title: string;
|
|
12
|
-
protected content: string[];
|
|
13
|
-
protected color?: 'primary' | 'accent' | 'warn';
|
|
14
|
-
constructor(activityContext: ActivityContext);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertRendererComponent<any>, [{ optional: true; }]>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertRendererComponent<any>, "aup-alert-renderer", never, { "config": { "alias": "config"; "required": false; }; "confirmCommand": { "alias": "confirmCommand"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command } from "@coolon/pectin";
|
|
2
|
-
import type { CommandFace } from "../../../components/commands/command-face";
|
|
3
|
-
import { ActivityContext } from "../../activity-context";
|
|
4
|
-
import { Confirm } from "../../confirm";
|
|
5
|
-
import { ActivityActionsComponent } from "../activity-actions/activity-actions.component";
|
|
6
|
-
import { AlertRendererComponent } from "../alert-renderer/alert-renderer.component";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ConfirmRendererComponent extends AlertRendererComponent<Confirm> {
|
|
9
|
-
accessor cancelCommand: Command;
|
|
10
|
-
protected activityActions: ActivityActionsComponent;
|
|
11
|
-
protected cancelFace: CommandFace;
|
|
12
|
-
constructor(activityContext: ActivityContext);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmRendererComponent, [{ optional: true; }]>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmRendererComponent, "aup-confirm-renderer", never, { "cancelCommand": { "alias": "cancelCommand"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|