@coolon/angular-ui-powerups 16.0.1 → 16.1.0-alpha.190
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 +8 -6
- package/assets/activities/input-activities.scss +14 -6
- package/assets/draw.scss +20 -0
- package/assets/form.scss +77 -23
- package/assets/icons.scss +2 -1
- package/assets/interaction/editor/inline-string-editor.scss +4 -0
- package/assets/interaction.scss +1 -1
- package/assets/layout.scss +3 -0
- package/assets/place.scss +31 -0
- package/assets/styles.scss +4 -0
- package/assets/table.scss +60 -18
- package/assets/tabs.scss +15 -2
- package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
- package/esm2022/lib/animations/slide-animations.mjs +15 -10
- package/esm2022/lib/components/alignment.mjs +1 -1
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +19 -20
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +36 -13
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +7 -10
- package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +115 -0
- package/esm2022/lib/components/commands/command/command.component.mjs +66 -56
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +21 -13
- package/esm2022/lib/components/commands/command-face.mjs +12 -11
- package/esm2022/lib/components/commands/flex.component.mjs +4 -6
- package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +31 -8
- package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +37 -31
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +20 -27
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +19 -14
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +24 -29
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +12 -19
- package/esm2022/lib/components/commands/separator.component.mjs +8 -16
- package/esm2022/lib/components/components.module.mjs +83 -53
- package/esm2022/lib/components/disposable-component.mjs +54 -7
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +7 -11
- package/esm2022/lib/components/exports.mjs +16 -5
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +89 -0
- package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -6
- package/esm2022/lib/components/focusable.component.mjs +5 -5
- package/esm2022/lib/components/forms/abstract-input.component.mjs +70 -24
- package/esm2022/lib/components/forms/abstract-list-input.component.mjs +11 -19
- package/esm2022/lib/components/forms/abstract-value-input.component.mjs +11 -19
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +29 -37
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +10 -10
- package/esm2022/lib/components/forms/form-field.mjs +2 -0
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +22 -28
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +89 -14
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +43 -8
- package/esm2022/lib/components/forms/search-input/search-input.component.mjs +33 -0
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +44 -45
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +46 -25
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +12 -10
- package/esm2022/lib/components/icon/icon.component.mjs +10 -7
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -6
- package/esm2022/lib/components/loadable-component.mjs +69 -0
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +32 -29
- package/esm2022/lib/components/noop/noop.component.mjs +5 -7
- package/esm2022/lib/components/resize-aware.component.mjs +64 -27
- package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +17 -15
- package/esm2022/lib/components/section-header/section-header.component.mjs +4 -6
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +28 -28
- package/esm2022/lib/components/tables/abstract-table-model.mjs +123 -64
- package/esm2022/lib/components/tables/abstract-table.component.mjs +34 -15
- package/esm2022/lib/components/tables/column/column-manager.mjs +81 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +23 -12
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +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 +7 -6
- package/esm2022/lib/components/tables/column/property-column-model.mjs +6 -6
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +35 -13
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +13 -13
- package/esm2022/lib/components/tables/editor/edit-session.mjs +5 -3
- package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
- package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
- package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +3 -2
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +16 -11
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +16 -2
- package/esm2022/lib/components/tables/footer/footer-row-model.mjs +38 -0
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +12 -12
- package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +7 -0
- package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +23 -7
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +6 -8
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +5 -7
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +26 -14
- package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +11 -8
- package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +2 -0
- package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +153 -0
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +180 -63
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +12 -12
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +45 -0
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +71 -0
- package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +30 -0
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +5 -7
- package/esm2022/lib/components/tables/table/table-model.mjs +12 -3
- package/esm2022/lib/components/tables/table/table.component.mjs +54 -68
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +5 -4
- 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 +5 -5
- package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +5 -7
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +16 -13
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -7
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +27 -16
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +5 -8
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +25 -22
- package/esm2022/lib/components/track.mjs +24 -0
- package/esm2022/lib/components/types/bounds.class.mjs +1 -5
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +17 -17
- package/esm2022/lib/directives/command.directive.mjs +25 -14
- package/esm2022/lib/directives/directives.module.mjs +10 -10
- package/esm2022/lib/directives/exports.mjs +2 -1
- package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
- package/esm2022/lib/directives/focus-binding.directive.mjs +6 -8
- package/esm2022/lib/directives/focus-binding.mjs +4 -5
- package/esm2022/lib/directives/garbage-collector.directive.mjs +5 -4
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +11 -9
- package/esm2022/lib/directives/highlight.pipe.mjs +12 -11
- package/esm2022/lib/directives/resize-observer.directive.mjs +40 -0
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +6 -7
- package/esm2022/lib/interaction/activity-context.mjs +4 -0
- package/esm2022/lib/interaction/activity-ref.mjs +4 -4
- package/esm2022/lib/interaction/activity.mjs +39 -35
- package/esm2022/lib/interaction/alert.mjs +2 -2
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +13 -10
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +4 -45
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +42 -28
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +10 -6
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +53 -22
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +55 -19
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -8
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +41 -31
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +5 -5
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +5 -5
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +5 -5
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +6 -8
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +11 -11
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +55 -0
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +54 -0
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +6 -10
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +6 -10
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +9 -11
- package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +5 -5
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +55 -48
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +32 -25
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +21 -16
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +49 -33
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +30 -28
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +18 -15
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +134 -0
- package/esm2022/lib/interaction/confirm.mjs +26 -2
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
- package/esm2022/lib/interaction/exports.mjs +6 -1
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context-provider.mjs +17 -0
- package/esm2022/lib/interaction/interaction-context.mjs +3 -2
- package/esm2022/lib/interaction/interaction.module.mjs +44 -29
- 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 +23 -11
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +9 -10
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +23 -5
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +39 -31
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +7 -7
- package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +5 -7
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +49 -44
- 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 +25 -16
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
- package/esm2022/lib/place/exports.mjs +2 -1
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +5 -7
- package/esm2022/lib/place/guards/place.guard.mjs +19 -16
- 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 +3 -6
- 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 -2
- 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 +152 -0
- package/esm2022/lib/place/place-component.mjs +62 -48
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +15 -4
- package/esm2022/lib/place/place-history.mjs +6 -8
- package/esm2022/lib/place/place-router.mjs +87 -94
- package/esm2022/lib/place/place.decorator.mjs +2 -2
- package/esm2022/lib/place/place.module.mjs +16 -12
- package/esm2022/lib/place/route/formatter.mjs +2 -2
- package/esm2022/lib/place/route/json-types.mjs +1 -1
- package/esm2022/lib/place/route/parameter-decorators.mjs +54 -50
- package/esm2022/lib/place/route/parameter-definition.mjs +6 -2
- package/esm2022/lib/place/route/parameter-sanitiser.mjs +7 -2
- 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 -2
- package/esm2022/lib/place/visit.mjs +2 -2
- package/esm2022/lib/services/markdown/markdown.service.mjs +5 -7
- package/esm2022/lib/services/markdown/pill-plugin.mjs +1 -3
- package/esm2022/lib/services/visibility-service.mjs +9 -9
- package/fesm2022/coolon-angular-ui-powerups.mjs +4720 -3041
- 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 +1 -0
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -7
- package/lib/components/cards/abstract-card-container.component.d.ts +9 -7
- package/lib/components/cards/card-container/card-container.component.d.ts +3 -4
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +30 -0
- package/lib/components/commands/command/command.component.d.ts +15 -17
- package/lib/components/commands/command-face/command-face.component.d.ts +5 -5
- package/lib/components/commands/command-face.d.ts +8 -9
- package/lib/components/commands/flex.component.d.ts +1 -3
- package/lib/components/commands/group/popup-aware.component.d.ts +9 -4
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +7 -7
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -6
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +7 -5
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +5 -7
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -7
- package/lib/components/commands/separator.component.d.ts +3 -6
- package/lib/components/components.module.d.ts +57 -51
- package/lib/components/disposable-component.d.ts +21 -3
- package/lib/components/empty-state/empty-state.component.d.ts +1 -4
- package/lib/components/exports.d.ts +15 -4
- package/lib/components/file/file-download/file-download.component.d.ts +45 -0
- package/lib/components/focus-container/focus-container.component.d.ts +1 -3
- package/lib/components/forms/abstract-input.component.d.ts +21 -13
- package/lib/components/forms/abstract-list-input.component.d.ts +4 -8
- package/lib/components/forms/abstract-value-input.component.d.ts +3 -7
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +8 -14
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +3 -3
- package/lib/components/forms/form-field.d.ts +5 -0
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +3 -8
- package/lib/components/forms/number-input/number-input.component.d.ts +17 -7
- package/lib/components/forms/password-input/password-input.component.d.ts +8 -4
- package/lib/components/forms/search-input/search-input.component.d.ts +10 -0
- package/lib/components/forms/select-input/select-input.component.d.ts +7 -10
- package/lib/components/forms/string-input/string-input.component.d.ts +10 -6
- package/lib/components/forms/text-input/text-input.component.d.ts +4 -3
- package/lib/components/labelled-value/labelled-value.component.d.ts +1 -3
- package/lib/components/loadable-component.d.ts +20 -0
- package/lib/components/loading-container/loading-container.component.d.ts +6 -9
- package/lib/components/noop/noop.component.d.ts +0 -1
- package/lib/components/resize-aware.component.d.ts +25 -6
- package/lib/components/scroll-container/scroll-container.component.d.ts +2 -3
- package/lib/components/section-header/section-header.component.d.ts +1 -3
- package/lib/components/switch-case/switch-case.component.d.ts +10 -12
- package/lib/components/tables/abstract-table-model.d.ts +50 -23
- package/lib/components/tables/abstract-table.component.d.ts +8 -7
- package/lib/components/tables/column/column-manager.d.ts +19 -0
- package/lib/components/tables/column/column-model.d.ts +8 -4
- package/lib/components/tables/column/column-order-manager.d.ts +20 -0
- package/lib/components/tables/column/custom-template-column-model.d.ts +3 -2
- package/lib/components/tables/column/custom-value-column-model.d.ts +3 -2
- package/lib/components/tables/column/editor-controls-column-model.d.ts +3 -2
- package/lib/components/tables/column/list-propery-column-model.d.ts +3 -2
- package/lib/components/tables/column/property-column-model.d.ts +3 -2
- package/lib/components/tables/column/selection-column-model.d.ts +10 -4
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +4 -6
- package/lib/components/tables/editor/edit-session.d.ts +1 -1
- 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 +9 -0
- package/lib/components/tables/footer/footer-row-model.d.ts +22 -0
- package/lib/components/tables/paginator/paginator.component.d.ts +2 -4
- package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +6 -0
- package/lib/components/tables/renderer/cell-editors.d.ts +5 -5
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +21 -14
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -1
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +3 -2
- package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +7 -0
- package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +42 -0
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +47 -24
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -5
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +19 -0
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts +24 -0
- package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +11 -0
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +0 -1
- package/lib/components/tables/table/table-model.d.ts +4 -4
- package/lib/components/tables/table/table.component.d.ts +18 -14
- 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 +0 -1
- 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 -3
- package/lib/components/tables/tree-table/tree-table-component.d.ts +7 -4
- package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
- package/lib/components/text/markdown/markdown.component.d.ts +3 -4
- package/lib/components/{track-by.d.ts → track.d.ts} +4 -7
- package/lib/components/types/bounds.class.d.ts +0 -2
- package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +3 -6
- package/lib/directives/command.directive.d.ts +7 -5
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/directives/exports.d.ts +1 -0
- package/lib/directives/focus-binding.directive.d.ts +2 -3
- package/lib/directives/highlight-text-model.directive.d.ts +1 -1
- package/lib/directives/resize-observer.directive.d.ts +16 -0
- package/lib/interaction/abstract-interaction-context.d.ts +1 -1
- package/lib/interaction/activity-context.d.ts +9 -0
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +9 -9
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +2 -1
- package/lib/interaction/components/abstract-dialog.component.d.ts +5 -14
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +15 -13
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +3 -4
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +11 -5
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +4 -5
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +2 -4
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +7 -8
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +1 -3
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +2 -4
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +6 -1
- package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +17 -0
- package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +15 -0
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
- package/lib/interaction/components/editors/edit-context.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +7 -9
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +9 -7
- package/lib/interaction/components/input-activities/input-activity.d.ts +5 -3
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +4 -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 +4 -5
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +53 -0
- package/lib/interaction/confirm.d.ts +4 -0
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
- package/lib/interaction/exports.d.ts +5 -0
- package/lib/interaction/interaction-context-provider.d.ts +11 -0
- package/lib/interaction/interaction-context.d.ts +7 -1
- package/lib/interaction/interaction.module.d.ts +35 -32
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +3 -3
- package/lib/interaction/services/interaction.service.d.ts +2 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -3
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +4 -3
- package/lib/place/components/abstract-place-navigation.component.d.ts +8 -8
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +9 -11
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +4 -3
- package/lib/place/exports.d.ts +1 -0
- package/lib/place/guards/noop-auth-guard.service.d.ts +0 -1
- package/lib/place/guards/place.guard.d.ts +2 -2
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +0 -1
- package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +2 -2
- package/lib/place/place-access-guard.d.ts +2 -2
- package/lib/place/place-auth-service.d.ts +49 -0
- package/lib/place/place-component.d.ts +11 -12
- package/lib/place/place-definition.d.ts +2 -0
- package/lib/place/place-history.d.ts +0 -1
- package/lib/place/place-router.d.ts +11 -13
- package/lib/place/place.decorator.d.ts +1 -1
- package/lib/place/place.module.d.ts +6 -5
- package/lib/place/route/json-types.d.ts +1 -3
- package/lib/place/route/parameter-decorators.d.ts +3 -4
- package/lib/place/route/parameter-definition.d.ts +3 -3
- package/lib/place/route/parameter-sanitiser.d.ts +7 -0
- package/lib/place/url-snapshot.d.ts +3 -3
- package/lib/place/visit-segment.d.ts +4 -4
- package/lib/place/visit.d.ts +2 -2
- package/lib/services/markdown/markdown.service.d.ts +0 -1
- package/lib/services/visibility-service.d.ts +1 -1
- package/package.json +20 -18
- package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +0 -81
- package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -44
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +0 -84
- package/esm2022/lib/components/track-by.mjs +0 -24
- package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -68
- package/lib/components/tables/column/column-list-model.d.ts +0 -13
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +0 -28
- package/schematics/activity/index.d.ts +0 -3
- package/schematics/activity/index.js +0 -32
- package/schematics/activity/index.js.map +0 -1
- package/schematics/activity/index.spec.d.ts +0 -1
- package/schematics/activity/index.spec.js +0 -364
- package/schematics/activity/index.spec.js.map +0 -1
- package/schematics/activity/schema.d.ts +0 -4
- package/schematics/activity/schema.js +0 -3
- package/schematics/activity/schema.js.map +0 -1
- package/schematics/activity/schema.json +0 -27
- package/schematics/activity/templates/component/__name@dasherize__.component.html.template +0 -5
- package/schematics/activity/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/activity/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +0 -40
- package/schematics/activity/templates/component/__name@dasherize__.i18n.yml.template +0 -9
- package/schematics/aup-i18n/index.d.ts +0 -4
- package/schematics/aup-i18n/index.js +0 -86
- package/schematics/aup-i18n/index.js.map +0 -1
- package/schematics/aup-i18n/schema.d.ts +0 -3
- package/schematics/aup-i18n/schema.js +0 -3
- package/schematics/aup-i18n/schema.js.map +0 -1
- package/schematics/aup-i18n/schema.json +0 -18
- package/schematics/aup-i18n/templates/app/aup.i18n.yml.template +0 -80
- package/schematics/bootstrap-app/index.d.ts +0 -4
- package/schematics/bootstrap-app/index.js +0 -109
- package/schematics/bootstrap-app/index.js.map +0 -1
- package/schematics/bootstrap-app/schema.d.ts +0 -3
- package/schematics/bootstrap-app/schema.js +0 -3
- package/schematics/bootstrap-app/schema.js.map +0 -1
- package/schematics/bootstrap-app/schema.json +0 -18
- package/schematics/bootstrap-app/templates/i18n.config.json.template +0 -11
- package/schematics/bootstrap-app/templates/src/app/app-routing.module.ts.template +0 -23
- package/schematics/bootstrap-app/templates/src/app/app.component.html.template +0 -7
- package/schematics/bootstrap-app/templates/src/app/app.component.scss.template +0 -12
- package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +0 -19
- package/schematics/bootstrap-app/templates/src/app/app.module.ts.template +0 -74
- package/schematics/bootstrap-app/templates/src/app/components/components.module.ts.template +0 -16
- package/schematics/bootstrap-app/templates/src/app/i18n.ts.template +0 -9
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.eot +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ijmap +0 -1
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.svg +0 -2373
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ttf +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff2 +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/README.md +0 -9
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/codepoints +0 -932
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/material-icons.css +0 -36
- package/schematics/bootstrap-app/templates/src/index.html.template +0 -13
- package/schematics/bootstrap-app/templates/src/styles/global-variables.scss.template +0 -13
- package/schematics/bootstrap-app/templates/src/styles.scss.template +0 -85
- package/schematics/collection.json +0 -48
- package/schematics/component/index.d.ts +0 -3
- package/schematics/component/index.js +0 -36
- package/schematics/component/index.js.map +0 -1
- package/schematics/component/index.spec.d.ts +0 -1
- package/schematics/component/index.spec.js +0 -364
- package/schematics/component/index.spec.js.map +0 -1
- package/schematics/component/schema.d.ts +0 -5
- package/schematics/component/schema.js +0 -3
- package/schematics/component/schema.js.map +0 -1
- package/schematics/component/schema.json +0 -39
- package/schematics/component/templates/component/__name@dasherize__.component.html.template +0 -1
- package/schematics/component/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/component/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/component/templates/component/__name@dasherize__.component.ts.template +0 -24
- package/schematics/component/templates/component/__name@dasherize__.i18n.yml.template +0 -1
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -37
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/package-util.d.ts +0 -13
- package/schematics/package-util.js +0 -61
- package/schematics/package-util.js.map +0 -1
- package/schematics/place-add/index.d.ts +0 -3
- package/schematics/place-add/index.js +0 -45
- package/schematics/place-add/index.js.map +0 -1
- package/schematics/place-add/index.spec.d.ts +0 -1
- package/schematics/place-add/index.spec.js +0 -364
- package/schematics/place-add/index.spec.js.map +0 -1
- package/schematics/place-add/schema.d.ts +0 -5
- package/schematics/place-add/schema.js +0 -3
- package/schematics/place-add/schema.js.map +0 -1
- package/schematics/place-add/schema.json +0 -33
- package/schematics/place-add/templates/component/__name@dasherize__.component.html.template +0 -1
- package/schematics/place-add/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/place-add/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/place-add/templates/component/__name@dasherize__.component.ts.template +0 -35
- package/schematics/place-add/templates/component/__name@dasherize__.i18n.yml.template +0 -5
- package/schematics/place-bootstrap/index.d.ts +0 -3
- package/schematics/place-bootstrap/index.js +0 -21
- package/schematics/place-bootstrap/index.js.map +0 -1
- package/schematics/place-bootstrap/schema.d.ts +0 -4
- package/schematics/place-bootstrap/schema.js +0 -3
- package/schematics/place-bootstrap/schema.js.map +0 -1
- package/schematics/place-bootstrap/schema.json +0 -28
- package/schematics/place-bootstrap/templates/__name@dasherize__/place-routes.ts.template +0 -3
- package/schematics/place-bootstrap/templates/__name@dasherize__/places.module.ts.template +0 -16
- package/schematics/place-routes/index.d.ts +0 -3
- package/schematics/place-routes/index.js +0 -24
- package/schematics/place-routes/index.js.map +0 -1
- package/schematics/place-routes/place-builder.d.ts +0 -18
- package/schematics/place-routes/place-builder.js +0 -123
- package/schematics/place-routes/place-builder.js.map +0 -1
- package/schematics/place-routes/place-class-scanner.d.ts +0 -47
- package/schematics/place-routes/place-class-scanner.js +0 -223
- package/schematics/place-routes/place-class-scanner.js.map +0 -1
- package/schematics/place-routes/place-def.d.ts +0 -62
- package/schematics/place-routes/place-def.js +0 -195
- package/schematics/place-routes/place-def.js.map +0 -1
- package/schematics/place-routes/schema.d.ts +0 -4
- package/schematics/place-routes/schema.js +0 -3
- package/schematics/place-routes/schema.js.map +0 -1
- package/schematics/place-routes/schema.json +0 -26
- package/schematics/place-routes/templates/place-routes.ts.template +0 -15
- package/schematics/utils/build-context.d.ts +0 -74
- package/schematics/utils/build-context.js +0 -189
- package/schematics/utils/build-context.js.map +0 -1
- package/schematics/utils/decorators/decorated-class.d.ts +0 -13
- package/schematics/utils/decorators/decorated-class.js +0 -28
- package/schematics/utils/decorators/decorated-class.js.map +0 -1
- package/schematics/utils/decorators/decorated-source-file.d.ts +0 -15
- package/schematics/utils/decorators/decorated-source-file.js +0 -27
- package/schematics/utils/decorators/decorated-source-file.js.map +0 -1
- package/schematics/utils/import-def.d.ts +0 -30
- package/schematics/utils/import-def.js +0 -97
- package/schematics/utils/import-def.js.map +0 -1
- package/schematics/utils/method-scanner.d.ts +0 -16
- package/schematics/utils/method-scanner.js +0 -70
- package/schematics/utils/method-scanner.js.map +0 -1
- package/schematics/utils/mixin.d.ts +0 -11
- package/schematics/utils/mixin.js +0 -27
- package/schematics/utils/mixin.js.map +0 -1
- package/schematics/utils/parameter-def.d.ts +0 -5
- package/schematics/utils/parameter-def.js +0 -3
- package/schematics/utils/parameter-def.js.map +0 -1
- package/schematics/utils/path-helper.d.ts +0 -14
- package/schematics/utils/path-helper.js +0 -30
- package/schematics/utils/path-helper.js.map +0 -1
- package/schematics/utils/schematic-tree-file-system.d.ts +0 -30
- package/schematics/utils/schematic-tree-file-system.js +0 -113
- package/schematics/utils/schematic-tree-file-system.js.map +0 -1
- package/schematics/utils/source-file-scanner.d.ts +0 -14
- package/schematics/utils/source-file-scanner.js +0 -89
- package/schematics/utils/source-file-scanner.js.map +0 -1
- package/schematics/utils/source-file-utilities.d.ts +0 -6
- package/schematics/utils/source-file-utilities.js +0 -36
- package/schematics/utils/source-file-utilities.js.map +0 -1
- package/schematics/utils/stringy.d.ts +0 -15
- package/schematics/utils/stringy.js +0 -50
- package/schematics/utils/stringy.js.map +0 -1
- package/schematics/utils/template-utilities.d.ts +0 -2
- package/schematics/utils/template-utilities.js +0 -24
- package/schematics/utils/template-utilities.js.map +0 -1
- package/schematics/utils/workspace.d.ts +0 -15
- package/schematics/utils/workspace.js +0 -59
- package/schematics/utils/workspace.js.map +0 -1
package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { BooleanValueModelChain, Command, DelegatingValueModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
3
2
|
import { CommandFace } from '../../../../components/commands/command-face';
|
|
4
3
|
import { DisposableComponent } from '../../../../components/disposable-component';
|
|
@@ -24,14 +23,14 @@ import * as i0 from "@angular/core";
|
|
|
24
23
|
* placeHolder="I'm ready for a string..."
|
|
25
24
|
* [editorModel]="model"></aup-inline-string-editor>
|
|
26
25
|
*/
|
|
27
|
-
export declare class InlineStringEditorComponent extends DisposableComponent
|
|
28
|
-
editorModel: InlineEditorModel<string>;
|
|
29
|
-
facesModel: ValueModel<InlineStringEditorComponent.Faces>;
|
|
30
|
-
faces: InlineStringEditorComponent.Faces;
|
|
26
|
+
export declare class InlineStringEditorComponent extends DisposableComponent {
|
|
27
|
+
accessor editorModel: InlineEditorModel<string>;
|
|
28
|
+
accessor facesModel: ValueModel<InlineStringEditorComponent.Faces>;
|
|
29
|
+
accessor faces: InlineStringEditorComponent.Faces;
|
|
31
30
|
interactionContext: InPlaceInteractionContextComponent<any, any, any>;
|
|
32
31
|
label: string;
|
|
33
|
-
placeHolder: string;
|
|
34
|
-
|
|
32
|
+
accessor placeHolder: string;
|
|
33
|
+
accessor placeHolder$: ValueModel<string>;
|
|
35
34
|
readonly description: ValueModelChain<string>;
|
|
36
35
|
empty$: BooleanValueModelChain;
|
|
37
36
|
readonly editCommand: Command<void>;
|
|
@@ -41,7 +40,6 @@ export declare class InlineStringEditorComponent extends DisposableComponent imp
|
|
|
41
40
|
readonly cancelFace: ValueModelChain<CommandFace>;
|
|
42
41
|
readonly editingEnabled$: DelegatingValueModel<boolean>;
|
|
43
42
|
constructor(interactionService: InteractionService);
|
|
44
|
-
ngOnInit(): void;
|
|
45
43
|
private createInputActivityData;
|
|
46
44
|
cancelEdit(): void;
|
|
47
45
|
startEdit(): void;
|
|
@@ -49,7 +47,7 @@ export declare class InlineStringEditorComponent extends DisposableComponent imp
|
|
|
49
47
|
isEmpty(): boolean;
|
|
50
48
|
private get isDisabled();
|
|
51
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineStringEditorComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InlineStringEditorComponent, "aup-inline-string-editor", never, { "editorModel": { "alias": "editorModel"; "required": false; }; "facesModel": { "alias": "facesModel"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InlineStringEditorComponent, "aup-inline-string-editor", never, { "editorModel": { "alias": "editorModel"; "required": false; }; "facesModel": { "alias": "facesModel"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "placeHolder$": { "alias": "placeHolder$"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
51
|
}
|
|
54
52
|
export declare namespace InlineStringEditorComponent {
|
|
55
53
|
interface Faces {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
2
|
+
import { MatTabChangeEvent, MatTabsConfig } from "@angular/material/tabs";
|
|
3
3
|
import { Constructable } from "@coolon/pectin";
|
|
4
4
|
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
5
|
import { Activity } from "../../activity";
|
|
@@ -16,13 +16,12 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
* </aup-in-place-interaction-context>
|
|
17
17
|
*
|
|
18
18
|
* in your component
|
|
19
|
-
* @ViewChild(
|
|
19
|
+
* @ViewChild(InPlaceInteractionContextComponent)
|
|
20
20
|
* interactionContext: InteractionContext;
|
|
21
21
|
*
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
24
|
export declare class InPlaceInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
|
|
25
|
-
readonly interactionService: InteractionService;
|
|
26
25
|
private readonly tabConfig;
|
|
27
26
|
activityContainerComponent: ActivityContainerComponent<any, any, any>;
|
|
28
27
|
/**
|
|
@@ -36,10 +35,13 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
|
|
|
36
35
|
* active interactions.
|
|
37
36
|
*/
|
|
38
37
|
syncWithRoutes: boolean;
|
|
38
|
+
started: EventEmitter<void>;
|
|
39
|
+
finished: EventEmitter<void>;
|
|
39
40
|
get animationDuration(): string;
|
|
40
41
|
get animationDurationMillis(): number;
|
|
41
42
|
get active(): boolean;
|
|
42
|
-
|
|
43
|
+
readonly interactionService: InteractionService;
|
|
44
|
+
constructor(tabConfig: MatTabsConfig);
|
|
43
45
|
ngAfterViewInit(): void;
|
|
44
46
|
onInplaceInteractionContextRegistered(id: string, api: InteractionService.Api): void;
|
|
45
47
|
get identifier(): string;
|
|
@@ -52,6 +54,6 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
|
|
|
52
54
|
isActive(): boolean;
|
|
53
55
|
startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
|
|
54
56
|
onTabChanged($event: MatTabChangeEvent): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceInteractionContextComponent<any, any, any>, [
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceInteractionContextComponent<any, any, any>, "aup-in-place-interaction-context", never, { "animateFirstActivity": { "alias": "animateFirstActivity"; "required": false; }; "syncWithRoutes": { "alias": "syncWithRoutes"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceInteractionContextComponent<any, any, any>, "aup-in-place-interaction-context", never, { "animateFirstActivity": { "alias": "animateFirstActivity"; "required": false; }; "syncWithRoutes": { "alias": "syncWithRoutes"; "required": false; }; }, { "started": "started"; "finished": "finished"; }, never, ["*"], false, never>;
|
|
57
59
|
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormValueModel, Validator } from '@coolon/pectin';
|
|
2
2
|
import { Enum } from 'typescript-string-enums';
|
|
3
3
|
import { CommandFace } from '../../../components/commands/command-face';
|
|
4
4
|
import { Activity } from '../../activity';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class InputActivity<T, D extends InputActivity.Data<T> = InputActivity.Data<T>> extends Activity<D, T> {
|
|
7
|
-
readonly
|
|
7
|
+
readonly value$: FormValueModel<T>;
|
|
8
8
|
class: string;
|
|
9
9
|
readonly confirmFace: CommandFace;
|
|
10
10
|
readonly cancelFace: CommandFace;
|
|
11
11
|
get layout(): InputActivity.Layout;
|
|
12
12
|
constructor();
|
|
13
13
|
get additionalCssClassName(): string;
|
|
14
|
+
get dataCyAttribute(): string;
|
|
14
15
|
onEscape(): void;
|
|
15
16
|
shouldCancelOnEscape(): boolean;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputActivity<any, any>, never>;
|
|
@@ -32,9 +33,10 @@ export declare namespace InputActivity {
|
|
|
32
33
|
layout?: InputActivity.Layout;
|
|
33
34
|
confirmFace?: CommandFace;
|
|
34
35
|
cancelFace?: CommandFace;
|
|
35
|
-
validators?: Validator<T>[]
|
|
36
|
+
validators?: Validator<T>[] | ReadonlyArray<Validator<T>>;
|
|
36
37
|
cancelOnEscape?: boolean;
|
|
37
38
|
cssClassName?: string;
|
|
39
|
+
dataCy?: string;
|
|
38
40
|
save?(valueModel: T, interactionContext?: Context): void | Promise<void>;
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -2,9 +2,9 @@ import { ListModel } from '@coolon/pectin';
|
|
|
2
2
|
import { InputActivity } from './input-activity';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SelectInputActivity<T> extends InputActivity<T, SelectInputActivity.Data<T>> {
|
|
5
|
-
readonly defaultOptionLabelFormat: (option: T) => T | T[keyof T];
|
|
5
|
+
readonly defaultOptionLabelFormat: (option: T) => "" | T | T[keyof T];
|
|
6
6
|
get optionLabelFormat(): (option: T) => any;
|
|
7
|
-
get options(): T[];
|
|
7
|
+
get options(): readonly T[];
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputActivity<any>, never>;
|
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputActivity<any>, "aup-select-input-activity", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -14,5 +14,7 @@ export declare namespace SelectInputActivity {
|
|
|
14
14
|
optionsModel?: ListModel<T>;
|
|
15
15
|
optionLabel?: keyof T;
|
|
16
16
|
optionLabelFormat?: (option: T) => any;
|
|
17
|
+
allowNil?: boolean;
|
|
18
|
+
nilLabel?: string;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -5,6 +5,6 @@ export declare class StringInputActivity extends InputActivity<string> {
|
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<StringInputActivity, "aup-string-input-activity", never, {}, {}, never, never, false, never>;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace StringInputActivity {
|
|
8
|
-
interface Data extends InputActivity.Data<
|
|
8
|
+
interface Data extends InputActivity.Data<string> {
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdkScrollable, ConnectedPosition, Overlay } from '@angular/cdk/overlay';
|
|
2
2
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
-
import { ElementRef
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
4
|
import { Constructable, ValueModel } from '@coolon/pectin';
|
|
5
5
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
6
6
|
import { Activity } from '../../activity';
|
|
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
* @ViewChild('ctx', { static: true })
|
|
17
17
|
* interactionContext: InteractionContext;
|
|
18
18
|
*/
|
|
19
|
-
export declare class PopupInteractionContextComponent extends DisposableComponent
|
|
19
|
+
export declare class PopupInteractionContextComponent extends DisposableComponent {
|
|
20
20
|
private _element;
|
|
21
21
|
private _overlay;
|
|
22
22
|
private interactionContext;
|
|
@@ -25,14 +25,13 @@ export declare class PopupInteractionContextComponent extends DisposableComponen
|
|
|
25
25
|
readonly outputPortal: ComponentPortal<InPlaceInteractionContextComponent<any, any, any>>;
|
|
26
26
|
anchorX: 'start' | 'end';
|
|
27
27
|
anchorY: 'top' | 'bottom';
|
|
28
|
-
cancelOnEscape$: ValueModel<boolean>;
|
|
29
|
-
cancelOnEscape: boolean;
|
|
28
|
+
accessor cancelOnEscape$: ValueModel<boolean>;
|
|
29
|
+
accessor cancelOnEscape: boolean;
|
|
30
30
|
constructor(_element: ElementRef, _overlay: Overlay, scrollable: CdkScrollable);
|
|
31
31
|
startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;
|
|
32
32
|
computePositions(): ConnectedPosition[];
|
|
33
33
|
cancelActiveActivity(): Promise<boolean>;
|
|
34
34
|
isActive(): boolean;
|
|
35
|
-
ngOnInit(): void;
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopupInteractionContextComponent, [null, null, { optional: true; skipSelf: true; }]>;
|
|
37
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<PopupInteractionContextComponent, "aup-popup-interaction-context", never, { "anchorX": { "alias": "anchorX"; "required": false; }; "anchorY": { "alias": "anchorY"; "required": false; }; "cancelOnEscape$": { "alias": "cancelOnEscape$"; "required": false; }; "cancelOnEscape": { "alias": "cancelOnEscape"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
38
37
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
}
|
|
@@ -3,3 +3,7 @@ export interface Confirm extends Alert {
|
|
|
3
3
|
destructive?: () => boolean;
|
|
4
4
|
cancel(): string;
|
|
5
5
|
}
|
|
6
|
+
export declare namespace Confirm {
|
|
7
|
+
function checkColor(config: Alert | Confirm): 'primary' | 'accent' | 'warn';
|
|
8
|
+
function isDestructive(config: Alert | Confirm): boolean;
|
|
9
|
+
}
|
|
@@ -3,7 +3,7 @@ import { Constructable, GarbageCollector } from '@coolon/pectin';
|
|
|
3
3
|
import { Activity } from '../activity';
|
|
4
4
|
import { InteractionContext } from '../interaction-context';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class InteractionContextTriggerForDirective<D, R, E> extends GarbageCollector {
|
|
7
7
|
aupInteractionContextTriggerFor: Pick<InteractionContext, 'startActivity' | 'isActive' | 'cancelActiveActivity'>;
|
|
8
8
|
activityClass: Constructable<Activity<D, R, E>>;
|
|
9
9
|
activityData?: D;
|
|
@@ -15,6 +15,6 @@ export declare class InteractionContextTriggerFor<D, R, E> extends GarbageCollec
|
|
|
15
15
|
onClick(event: MouseEvent): void;
|
|
16
16
|
protected startActivity(): void;
|
|
17
17
|
prepareActivityData(): D;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionContextTriggerForDirective<any, any, any>, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InteractionContextTriggerForDirective<any, any, any>, "[aupInteractionContextTriggerFor]", never, { "aupInteractionContextTriggerFor": { "alias": "aupInteractionContextTriggerFor"; "required": false; }; "activityClass": { "alias": "activityClass"; "required": false; }; "activityData": { "alias": "activityData"; "required": false; }; "activityDataFactory": { "alias": "activityDataFactory"; "required": false; }; }, { "activityDone": "activityDone"; "activityCancelled": "activityCancelled"; }, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
* @file Automatically generated by barrelsby.
|
|
3
3
|
*/
|
|
4
4
|
export * from "./abstract-interaction-context";
|
|
5
|
+
export * from "./activity-context";
|
|
5
6
|
export * from "./activity-ref";
|
|
6
7
|
export * from "./activity";
|
|
7
8
|
export * from "./alert";
|
|
8
9
|
export * from "./confirm";
|
|
9
10
|
export * from "./in-place-interaction-context";
|
|
11
|
+
export * from "./interaction-context-provider";
|
|
10
12
|
export * from "./interaction-context";
|
|
11
13
|
export * from "./interaction.module";
|
|
12
14
|
export * from "./route-synchronisation-adapter";
|
|
@@ -24,6 +26,8 @@ export * from "./components/activity-triggers/popup-activity-trigger/popup-activ
|
|
|
24
26
|
export * from "./components/add-card-activity/add-card-activity.component";
|
|
25
27
|
export * from "./components/add-item-interaction-context/add-item-interaction-context.component";
|
|
26
28
|
export * from "./components/alert-dialog/alert-dialog.component";
|
|
29
|
+
export * from "./components/alert-renderer/alert-renderer.component";
|
|
30
|
+
export * from "./components/confirm-renderer/confirm-renderer.component";
|
|
27
31
|
export * from "./components/confirm-then-dialog/confirm-then-dialog.component";
|
|
28
32
|
export * from "./components/confirm-then-execute-dialog/confirm-then-execute-dialog.component";
|
|
29
33
|
export * from "./components/confirmation-dialog/confirmation-dialog.component";
|
|
@@ -35,6 +39,7 @@ export * from "./components/input-activities/input-activity";
|
|
|
35
39
|
export * from "./components/input-activities/select-input-activity";
|
|
36
40
|
export * from "./components/input-activities/string-input-activity";
|
|
37
41
|
export * from "./components/popup-interaction-context/popup-interaction-context.component";
|
|
42
|
+
export * from "./components/slide-down-interaction-context/slide-down-interaction-context.component";
|
|
38
43
|
export * from "./directives/interaction-context-trigger-for.directive";
|
|
39
44
|
export * from "./services/interaction-service-routing-adapter";
|
|
40
45
|
export * from "./services/interaction.service";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Activity } from "./activity";
|
|
2
|
+
import { InteractionContext } from "./interaction-context";
|
|
3
|
+
export declare abstract class InteractionContextProvider {
|
|
4
|
+
static forActivity(activity: Activity<any, any>): {
|
|
5
|
+
getInteractionContext(): InteractionContext;
|
|
6
|
+
};
|
|
7
|
+
static forInteractionContext(interactionContext: InteractionContext): {
|
|
8
|
+
getInteractionContext(): InteractionContext;
|
|
9
|
+
};
|
|
10
|
+
abstract getInteractionContext(): InteractionContext;
|
|
11
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
1
2
|
import { Constructable, Disposable } from '@coolon/pectin';
|
|
2
3
|
import { Activity } from './activity';
|
|
3
4
|
import { Alert } from './alert';
|
|
4
5
|
import { Confirm } from './confirm';
|
|
6
|
+
export declare const INTERACTION_CONTEXT: InjectionToken<InteractionContext>;
|
|
5
7
|
export interface InteractionContext extends Disposable, Disposable.Collector {
|
|
6
8
|
readonly identifier: string;
|
|
7
9
|
isActive(): boolean;
|
|
@@ -15,6 +17,10 @@ export interface InteractionContext extends Disposable, Disposable.Collector {
|
|
|
15
17
|
}
|
|
16
18
|
export declare namespace InteractionContext {
|
|
17
19
|
interface Options {
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use Activity.disableCloseWhile(condition$);
|
|
22
|
+
*/
|
|
23
|
+
disableClose?: boolean;
|
|
24
|
+
enableCloseOnBackdropClick?: boolean;
|
|
19
25
|
}
|
|
20
26
|
}
|
|
@@ -6,39 +6,42 @@ import * as i4 from "./components/confirm-then-execute-dialog/confirm-then-execu
|
|
|
6
6
|
import * as i5 from "./components/alert-dialog/alert-dialog.component";
|
|
7
7
|
import * as i6 from "./components/activity-container/activity-outlet/activity-outlet.component";
|
|
8
8
|
import * as i7 from "./components/inplace-interaction-context/in-place-interaction-context.component";
|
|
9
|
-
import * as i8 from "./components/
|
|
10
|
-
import * as i9 from "./components/
|
|
11
|
-
import * as i10 from "./components/
|
|
12
|
-
import * as i11 from "./components/
|
|
13
|
-
import * as i12 from "./components/input-activities/
|
|
14
|
-
import * as i13 from "./components/input-activities/input-activity";
|
|
15
|
-
import * as i14 from "./
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "./
|
|
18
|
-
import * as i17 from "./components/activity-
|
|
19
|
-
import * as i18 from "./components/activity-
|
|
20
|
-
import * as i19 from "./components/activity-triggers/
|
|
21
|
-
import * as i20 from "./components/activity-triggers/
|
|
22
|
-
import * as i21 from "./components/activity-triggers/
|
|
23
|
-
import * as i22 from "./components/
|
|
24
|
-
import * as i23 from "./components/
|
|
25
|
-
import * as i24 from "./components/
|
|
26
|
-
import * as i25 from "./components/abstract-
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "@angular/
|
|
31
|
-
import * as i30 from "@angular/
|
|
32
|
-
import * as i31 from "@angular/
|
|
33
|
-
import * as i32 from "@angular/material/
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "
|
|
36
|
-
import * as i35 from "@angular/
|
|
37
|
-
import * as i36 from "
|
|
38
|
-
import * as i37 from "
|
|
39
|
-
import * as i38 from "@angular/
|
|
9
|
+
import * as i8 from "./components/slide-down-interaction-context/slide-down-interaction-context.component";
|
|
10
|
+
import * as i9 from "./components/add-item-interaction-context/add-item-interaction-context.component";
|
|
11
|
+
import * as i10 from "./components/activity-actions/activity-actions.component";
|
|
12
|
+
import * as i11 from "./components/popup-interaction-context/popup-interaction-context.component";
|
|
13
|
+
import * as i12 from "./components/input-activities/string-input-activity";
|
|
14
|
+
import * as i13 from "./components/input-activities/select-input-activity";
|
|
15
|
+
import * as i14 from "./components/input-activities/input-activity";
|
|
16
|
+
import * as i15 from "./directives/interaction-context-trigger-for.directive";
|
|
17
|
+
import * as i16 from "./activity";
|
|
18
|
+
import * as i17 from "./components/activity-title/activity-title.component";
|
|
19
|
+
import * as i18 from "./components/activity-body/activity-body.component";
|
|
20
|
+
import * as i19 from "./components/activity-triggers/abstract-activity-trigger.component";
|
|
21
|
+
import * as i20 from "./components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component";
|
|
22
|
+
import * as i21 from "./components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component";
|
|
23
|
+
import * as i22 from "./components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component";
|
|
24
|
+
import * as i23 from "./components/add-card-activity/add-card-activity.component";
|
|
25
|
+
import * as i24 from "./components/editors/inline-string-editor/inline-string-editor.component";
|
|
26
|
+
import * as i25 from "./components/abstract-dialog.component";
|
|
27
|
+
import * as i26 from "./components/abstract-confirm-dialog.component";
|
|
28
|
+
import * as i27 from "./components/confirm-renderer/confirm-renderer.component";
|
|
29
|
+
import * as i28 from "./components/alert-renderer/alert-renderer.component";
|
|
30
|
+
import * as i29 from "@angular/common";
|
|
31
|
+
import * as i30 from "@angular/material/button";
|
|
32
|
+
import * as i31 from "@angular/material/dialog";
|
|
33
|
+
import * as i32 from "@angular/material/tabs";
|
|
34
|
+
import * as i33 from "@angular/cdk/portal";
|
|
35
|
+
import * as i34 from "@angular/router";
|
|
36
|
+
import * as i35 from "@angular/material/icon";
|
|
37
|
+
import * as i36 from "../directives/directives.module";
|
|
38
|
+
import * as i37 from "../components/components.module";
|
|
39
|
+
import * as i38 from "@angular/forms";
|
|
40
|
+
import * as i39 from "@angular/material/input";
|
|
41
|
+
import * as i40 from "@angular/material/form-field";
|
|
42
|
+
import * as i41 from "@angular/cdk/a11y";
|
|
40
43
|
export declare class InteractionModule {
|
|
41
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InteractionModule, [typeof i1.ActivityContainerComponent, typeof i2.ConfirmationDialogComponent, typeof i3.ConfirmThenDialogComponent, typeof i4.ConfirmThenExecuteDialogComponent, typeof i5.AlertDialogComponent, typeof i6.ActivityOutletComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InteractionModule, [typeof i1.ActivityContainerComponent, typeof i2.ConfirmationDialogComponent, typeof i3.ConfirmThenDialogComponent, typeof i4.ConfirmThenExecuteDialogComponent, typeof i5.AlertDialogComponent, typeof i6.ActivityOutletComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.SlideDownInteractionContextComponent, typeof i9.AddItemInteractionContextComponent, typeof i10.ActivityActionsComponent, typeof i11.PopupInteractionContextComponent, typeof i12.StringInputActivity, typeof i13.SelectInputActivity, typeof i14.InputActivity, typeof i15.InteractionContextTriggerForDirective, typeof i16.Activity, typeof i17.ActivityTitleComponent, typeof i18.ActivityBodyComponent, typeof i10.ActivityActionsComponent, typeof i19.AbstractActivityTriggerComponent, typeof i20.PopupActivityTriggerComponent, typeof i21.InlineActivityTriggerComponent, typeof i22.ModalActivityTriggerComponent, typeof i23.AddCardActivityComponent, typeof i24.InlineStringEditorComponent, typeof i25.AbstractDialogComponent, typeof i26.AbstractConfirmDialogComponent, typeof i27.ConfirmRendererComponent, typeof i28.AlertRendererComponent], [typeof i29.CommonModule, typeof i30.MatButtonModule, typeof i31.MatDialogModule, typeof i32.MatTabsModule, typeof i33.PortalModule, typeof i34.RouterModule, typeof i35.MatIconModule, typeof i36.DirectivesModule, typeof i37.ComponentsModule, typeof i38.FormsModule, typeof i39.MatInputModule, typeof i40.MatFormFieldModule, typeof i41.A11yModule], [typeof i1.ActivityContainerComponent, typeof i6.ActivityOutletComponent, typeof i17.ActivityTitleComponent, typeof i7.InPlaceInteractionContextComponent, typeof i9.AddItemInteractionContextComponent, typeof i10.ActivityActionsComponent, typeof i11.PopupInteractionContextComponent, typeof i15.InteractionContextTriggerForDirective, typeof i12.StringInputActivity, typeof i13.SelectInputActivity, typeof i18.ActivityBodyComponent, typeof i20.PopupActivityTriggerComponent, typeof i21.InlineActivityTriggerComponent, typeof i22.ModalActivityTriggerComponent, typeof i23.AddCardActivityComponent, typeof i24.InlineStringEditorComponent, typeof i8.SlideDownInteractionContextComponent, typeof i27.ConfirmRendererComponent, typeof i28.AlertRendererComponent]>;
|
|
43
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<InteractionModule>;
|
|
44
47
|
}
|
|
@@ -4,12 +4,12 @@ import { InteractionContext } from '../interaction-context';
|
|
|
4
4
|
export declare class InteractionServiceRoutingAdapter {
|
|
5
5
|
private readonly activeInteractionContextIds;
|
|
6
6
|
private readonly activeModalContext;
|
|
7
|
-
readonly
|
|
8
|
-
constructor(activeInteractionContextIds: ListModel<string>, activeModalContext: ValueModel<InteractionContext>,
|
|
7
|
+
readonly createNavigationSessionInteractionContext: () => InteractionContext;
|
|
8
|
+
constructor(activeInteractionContextIds: ListModel<string>, activeModalContext: ValueModel<InteractionContext>, createNavigationSessionInteractionContext: () => InteractionContext);
|
|
9
9
|
isActive(): boolean;
|
|
10
10
|
isModalActive(): boolean;
|
|
11
11
|
isComponentInteracting(component: PlaceComponent): boolean;
|
|
12
|
-
getActiveInteractionContextIds(): string[];
|
|
12
|
+
getActiveInteractionContextIds(): readonly string[];
|
|
13
13
|
cancelCurrentModalInteraction(): Promise<boolean>;
|
|
14
14
|
cancelComponentInteraction(component: PlaceComponent): Promise<boolean>;
|
|
15
15
|
}
|
|
@@ -11,7 +11,7 @@ export declare class InteractionService {
|
|
|
11
11
|
readonly active: BooleanValueModelChain;
|
|
12
12
|
private readonly _navigationInProgress;
|
|
13
13
|
private placeRouter;
|
|
14
|
-
private
|
|
14
|
+
private navigationSessionInteractionRegistry;
|
|
15
15
|
private modalInteractionRegistry;
|
|
16
16
|
private inPlaceInteractionRegistry;
|
|
17
17
|
private activeModalContext;
|
|
@@ -19,6 +19,7 @@ export declare class InteractionService {
|
|
|
19
19
|
readonly inModalInteraction: BooleanValueModelChain;
|
|
20
20
|
constructor(modelInteractionContextFactory: ModalInteractionContextFactory);
|
|
21
21
|
isActive(): boolean;
|
|
22
|
+
cancelAllActivities(): Promise<void>;
|
|
22
23
|
/**
|
|
23
24
|
* @deprecated use #createModalInteractionContextDisposedWith instead.
|
|
24
25
|
* @param disposable
|
package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
|
|
2
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
4
3
|
import { BooleanValueModelChain } from '@coolon/pectin';
|
|
5
4
|
import { InteractionContext } from '../../interaction-context';
|
|
6
5
|
import { InteractionService } from '../interaction.service';
|
|
@@ -13,7 +12,7 @@ export declare class DialogInteractionContextFactory extends ModalInteractionCon
|
|
|
13
12
|
readonly matDialogDefaultConfig: MatDialogConfig<any>;
|
|
14
13
|
readonly active: BooleanValueModelChain;
|
|
15
14
|
constructor(dialogService: MatDialog, dialogServiceDefaults: MatDialogConfig<any>, matDialogDefaultConfig: MatDialogConfig<any>);
|
|
16
|
-
createInteractionContext(identifier: string, api: InteractionService.Api
|
|
15
|
+
createInteractionContext(identifier: string, api: InteractionService.Api): InteractionContext;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogInteractionContextFactory, [null, { optional: true; }, { optional: true; }]>;
|
|
18
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogInteractionContextFactory>;
|
|
19
18
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
|
|
1
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
3
2
|
import { Constructable, Disposable } from '@coolon/pectin';
|
|
4
3
|
import { AbstractInteractionContext } from '../../abstract-interaction-context';
|
|
5
4
|
import { Activity } from '../../activity';
|
|
5
|
+
import { InteractionContext } from '../../interaction-context';
|
|
6
6
|
import { InteractionService } from '../interaction.service';
|
|
7
7
|
export declare class DialogInteractionContext extends AbstractInteractionContext {
|
|
8
8
|
readonly identifier: string;
|
|
@@ -17,5 +17,6 @@ export declare class DialogInteractionContext extends AbstractInteractionContext
|
|
|
17
17
|
dispose(): void;
|
|
18
18
|
registerDisposable<T extends Disposable>(disposable: T): T;
|
|
19
19
|
isActive(): boolean;
|
|
20
|
-
protected createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D,
|
|
20
|
+
protected createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, options?: InteractionContext.Options): Promise<R>;
|
|
21
|
+
private canClose;
|
|
21
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TrackByFunction } from '@angular/core';
|
|
2
2
|
import { Command, Constructable, DelegatingValueModel, ListModel, ListModelChain, ValueModel } from '@coolon/pectin';
|
|
3
3
|
import { CommandFace } from '../../components/commands/command-face';
|
|
4
4
|
import { DisposableComponent } from '../../components/disposable-component';
|
|
@@ -11,12 +11,12 @@ interface MenuItem {
|
|
|
11
11
|
active: boolean;
|
|
12
12
|
place: PlaceDefinition;
|
|
13
13
|
}
|
|
14
|
-
export declare class AbstractPlaceNavigationComponent extends DisposableComponent
|
|
14
|
+
export declare class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
15
15
|
readonly placeRouter: PlaceRouter;
|
|
16
|
-
places: Constructable<PlaceComponent>[];
|
|
17
|
-
|
|
18
|
-
placeOutlet: PlaceOutletComponent;
|
|
19
|
-
|
|
16
|
+
accessor places: Constructable<PlaceComponent>[];
|
|
17
|
+
accessor places$: ListModel<Constructable<PlaceComponent>>;
|
|
18
|
+
accessor placeOutlet: PlaceOutletComponent;
|
|
19
|
+
accessor placeOutlet$: ValueModel<PlaceOutletComponent>;
|
|
20
20
|
private readonly placeDefinitions;
|
|
21
21
|
readonly menuItems: ListModelChain<MenuItem>;
|
|
22
22
|
readonly commandFactory: Command.Factory<PlaceDefinition, void>;
|
|
@@ -24,12 +24,12 @@ export declare class AbstractPlaceNavigationComponent extends DisposableComponen
|
|
|
24
24
|
private activePlaceDefinition;
|
|
25
25
|
private placeFaces;
|
|
26
26
|
readonly trackByPlaceDef: TrackByFunction<MenuItem>;
|
|
27
|
+
private authorisedPlaces$;
|
|
27
28
|
constructor(placeRouter: PlaceRouter);
|
|
28
29
|
protected handlePlaceOutLetChanged(outlet: PlaceOutletComponent): void;
|
|
29
30
|
getNavigationFace(placeDef: PlaceDefinition): CommandFace;
|
|
30
31
|
private createCommandFaceFor;
|
|
31
|
-
ngOnInit(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPlaceNavigationComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractPlaceNavigationComponent, "ng-component", never, { "places": { "alias": "places"; "required": false; }; "
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractPlaceNavigationComponent, "ng-component", never, { "places": { "alias": "places"; "required": false; }; "places$": { "alias": "places$"; "required": false; }; "placeOutlet": { "alias": "placeOutlet"; "required": false; }; "placeOutlet$": { "alias": "placeOutlet$"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class NotAuthorisedNoticeComponent {
|
|
3
|
-
constructor();
|
|
4
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotAuthorisedNoticeComponent, never>;
|
|
5
4
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotAuthorisedNoticeComponent, "aup-not-authorised-notice", never, {}, {}, never, never, false, never>;
|
|
6
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
2
|
-
import {
|
|
2
|
+
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute, Router, RouterOutlet } from '@angular/router';
|
|
4
4
|
import { BooleanValueModelChain, Constructable, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
5
5
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
@@ -9,15 +9,14 @@ import { PlaceDefinition } from '../../place-definition';
|
|
|
9
9
|
import { PlaceRouter } from '../../place-router';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare const AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT: InjectionToken<Constructable<any>>;
|
|
12
|
-
export declare class PlaceOutletComponent extends DisposableComponent
|
|
12
|
+
export declare class PlaceOutletComponent extends DisposableComponent {
|
|
13
13
|
private readonly router;
|
|
14
14
|
private readonly placeRouter;
|
|
15
15
|
readonly placeConfig: PlaceConfig;
|
|
16
|
-
|
|
17
|
-
animate: boolean;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
customPlaceAnimationOrder: Constructable<PlaceComponent>[];
|
|
16
|
+
accessor animate$: ValueModel<boolean>;
|
|
17
|
+
accessor animate: boolean;
|
|
18
|
+
accessor customPlaceAnimationOrder$: ListModel<Constructable<PlaceComponent>>;
|
|
19
|
+
accessor customPlaceAnimationOrder: ReadonlyArray<Constructable<PlaceComponent>>;
|
|
21
20
|
readonly placeChanged: EventEmitter<PlaceComponent>;
|
|
22
21
|
routerOut: RouterOutlet;
|
|
23
22
|
private onAnimationFinishedJob;
|
|
@@ -37,8 +36,7 @@ export declare class PlaceOutletComponent extends DisposableComponent implements
|
|
|
37
36
|
readonly animationEnabled: BooleanValueModelChain;
|
|
38
37
|
readonly authorised: ValueModelChain<boolean>;
|
|
39
38
|
readonly notAuthorisedNoticePortal: ComponentPortal<any>;
|
|
40
|
-
constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent
|
|
41
|
-
ngOnInit(): void;
|
|
39
|
+
constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent);
|
|
42
40
|
getAnimationOrder(): number;
|
|
43
41
|
get animationDuration(): string;
|
|
44
42
|
get isAuthorised(): boolean;
|
|
@@ -54,6 +52,6 @@ export declare class PlaceOutletComponent extends DisposableComponent implements
|
|
|
54
52
|
private notifyComponentVisitSegmentChanged;
|
|
55
53
|
animationStarted(): void;
|
|
56
54
|
animationDone(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PlaceOutletComponent, "aup-place-outlet", never, { "animate": { "alias": "animate"; "required": false; }; "
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }]>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlaceOutletComponent, "aup-place-outlet", never, { "animate$": { "alias": "animate$"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "customPlaceAnimationOrder$": { "alias": "placeAnimationOrderModel"; "required": false; }; "customPlaceAnimationOrder": { "alias": "placeAnimationOrder"; "required": false; }; }, { "placeChanged": "placeChanged"; }, never, never, false, never>;
|
|
59
57
|
}
|