@coolon/angular-ui-powerups 16.0.2 → 16.1.0-alpha.191
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 -19
- 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 -4
- package/schematics/place-add/schema.js +0 -3
- package/schematics/place-add/schema.js.map +0 -1
- package/schematics/place-add/schema.json +0 -27
- 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
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { Command, FocusManager } from '@coolon/pectin';
|
|
3
2
|
import { FocusContainerComponent } from '../focus-container/focus-container.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class VerticalFocusContainerComponent extends FocusContainerComponent
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
leftArrowCommand: Command<void>;
|
|
4
|
+
export declare class VerticalFocusContainerComponent extends FocusContainerComponent {
|
|
5
|
+
accessor rightArrowCommand: Command<void>;
|
|
6
|
+
accessor leftArrowCommand: Command<void>;
|
|
9
7
|
arrowLeft(event: KeyboardEvent): void;
|
|
10
8
|
arrowRight(event: KeyboardEvent): void;
|
|
11
9
|
arrowDown(event: KeyboardEvent): void;
|
|
12
10
|
arrowUp(event: KeyboardEvent): void;
|
|
13
11
|
constructor(focusManager: FocusManager);
|
|
14
|
-
ngOnInit(): void;
|
|
15
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalFocusContainerComponent, [{ self: true; }]>;
|
|
16
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalFocusContainerComponent, "aup-vertical-focus-container", never, { "rightArrowCommand": { "alias": "command.arrowRight"; "required": false; }; "leftArrowCommand": { "alias": "command.arrowLeft"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
17
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { MatButton } from '@angular/material/button';
|
|
3
|
+
import { MatMenu, MatMenuItem } from '@angular/material/menu';
|
|
4
4
|
import { Command, GarbageCollector, UnaryCommand } from '@coolon/pectin';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CommandDirective<P = any> extends GarbageCollector implements OnInit, OnDestroy, AfterViewInit {
|
|
@@ -8,18 +8,20 @@ export declare class CommandDirective<P = any> extends GarbageCollector implemen
|
|
|
8
8
|
private _command;
|
|
9
9
|
private _commandEnabled;
|
|
10
10
|
private matControl;
|
|
11
|
+
private isInPopupMenu;
|
|
11
12
|
set pectinCommand(command: Command<any> | UnaryCommand<P>);
|
|
12
13
|
get pectinCommand(): Command<any> | UnaryCommand<P>;
|
|
13
14
|
private _commandParameter;
|
|
14
15
|
private _commandParameterProvided;
|
|
15
16
|
set commandParameter(value: P);
|
|
16
17
|
get commandParameter(): P;
|
|
17
|
-
|
|
18
|
+
preventDefault: boolean;
|
|
19
|
+
constructor(elementRef: ElementRef, matButton: MatButton, matMenuItem: MatMenuItem, matMenu?: MatMenu);
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
ngAfterViewInit(): void;
|
|
20
22
|
updateEnabledState(enabled: boolean): void;
|
|
21
23
|
ngOnDestroy(): void;
|
|
22
24
|
notifyClick($event: Event): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommandDirective<any>, [null, { optional: true; host: true; }, { optional: true; host: true; }]>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandDirective<any>, "[pectinCommand]", never, { "pectinCommand": { "alias": "pectinCommand"; "required": false; }; "commandParameter": { "alias": "commandParameter"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandDirective<any>, [null, { optional: true; host: true; }, { optional: true; host: true; }, { optional: true; }]>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandDirective<any>, "[pectinCommand]", never, { "pectinCommand": { "alias": "pectinCommand"; "required": false; }; "commandParameter": { "alias": "commandParameter"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
27
|
}
|
|
@@ -7,12 +7,12 @@ import * as i5 from "./garbage-collector.directive";
|
|
|
7
7
|
import * as i6 from "@angular/common";
|
|
8
8
|
import * as i7 from "@angular/platform-browser/animations";
|
|
9
9
|
import * as i8 from "@angular/forms";
|
|
10
|
-
import * as i9 from "@angular/material/
|
|
11
|
-
import * as i10 from "@angular/material/
|
|
12
|
-
import * as i11 from "@angular/material/
|
|
13
|
-
import * as i12 from "@angular/material/
|
|
10
|
+
import * as i9 from "@angular/material/input";
|
|
11
|
+
import * as i10 from "@angular/material/form-field";
|
|
12
|
+
import * as i11 from "@angular/material/select";
|
|
13
|
+
import * as i12 from "@angular/material/tabs";
|
|
14
14
|
export declare class DirectivesModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.MatInputModule, typeof i10.MatFormFieldModule, typeof i11.MatSelectModule, typeof i12.MatTabsModule], [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
18
18
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { FocusManager } from '@coolon/pectin';
|
|
3
3
|
import { DisposableComponent } from '../components/disposable-component';
|
|
4
4
|
import { FocusBindingFactory } from './focus-binding-factory';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FocusBindingDirective extends DisposableComponent implements
|
|
6
|
+
export declare class FocusBindingDirective extends DisposableComponent implements AfterViewInit {
|
|
7
7
|
private readonly el;
|
|
8
8
|
readonly focusBindingFactory: FocusBindingFactory;
|
|
9
9
|
pectinFocusBinding: FocusManager.Context;
|
|
@@ -11,7 +11,6 @@ export declare class FocusBindingDirective extends DisposableComponent implement
|
|
|
11
11
|
onFocusIn(): void;
|
|
12
12
|
onFocusOut(): void;
|
|
13
13
|
constructor(el: ElementRef, focusBindingFactory: FocusBindingFactory);
|
|
14
|
-
ngOnInit(): void;
|
|
15
14
|
ngAfterViewInit(): void;
|
|
16
15
|
private hasBinding;
|
|
17
16
|
get focusTarget(): HTMLElement;
|
|
@@ -2,7 +2,7 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { GarbageCollector, ValueModel } from '@coolon/pectin';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class HighlightTextModelDirective extends GarbageCollector implements OnDestroy {
|
|
5
|
-
aupHighlightTextModel: ValueModel<string>;
|
|
5
|
+
accessor aupHighlightTextModel: ValueModel<string>;
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnDestroy(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightTextModelDirective, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -9,7 +9,7 @@ export declare abstract class AbstractInteractionContext implements InteractionC
|
|
|
9
9
|
abstract dispose(): void;
|
|
10
10
|
abstract registerDisposable<T extends Disposable>(disposable: T): T;
|
|
11
11
|
abstract isActive(): boolean;
|
|
12
|
-
protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D,
|
|
12
|
+
protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, options?: InteractionContext.Options): Promise<R>;
|
|
13
13
|
startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D, options?: InteractionContext.Options): Promise<R>;
|
|
14
14
|
confirm(confirm: Confirm): Promise<boolean>;
|
|
15
15
|
alert(alert: Alert): Promise<void>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Command } from "@coolon/pectin";
|
|
2
|
+
import { 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,4 +1,4 @@
|
|
|
1
|
-
import { Constructable, Deferred
|
|
1
|
+
import { Constructable, Deferred } from '@coolon/pectin';
|
|
2
2
|
import { Activity } from './activity';
|
|
3
3
|
import { InteractionContext } from './interaction-context';
|
|
4
4
|
export declare class ActivityRef<D, R, E> {
|
|
@@ -20,5 +20,5 @@ export declare class ActivityRef<D, R, E> {
|
|
|
20
20
|
protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void): void;
|
|
21
21
|
cancel(): void;
|
|
22
22
|
get activityResult(): Promise<R>;
|
|
23
|
-
get activityBusy(): ValueModel<boolean>;
|
|
23
|
+
get activityBusy(): import("@coolon/pectin").ValueModel<boolean>;
|
|
24
24
|
}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
2
|
import { Command, Disposable, ValueModel } from "@coolon/pectin";
|
|
3
|
-
import {
|
|
4
|
-
import { ActivityActionsComponent } from "./components/activity-actions/activity-actions.component";
|
|
3
|
+
import { LoadableComponent } from "../components/loadable-component";
|
|
5
4
|
import { InteractionContext } from "./interaction-context";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare const ACTIVITY_DATA: InjectionToken<any>;
|
|
8
7
|
type OnActivityReadyParams<D, R, E = any> = (activity: Activity<D, R, E>) => void;
|
|
9
|
-
export declare class Activity<D, R, E = any> extends
|
|
8
|
+
export declare class Activity<D, R, E = any> extends LoadableComponent {
|
|
9
|
+
#private;
|
|
10
10
|
readonly activityData: D;
|
|
11
11
|
private readonly activityReadyListeners;
|
|
12
12
|
private readonly _busy$;
|
|
13
13
|
private _focused$;
|
|
14
14
|
private _activityContext;
|
|
15
15
|
private readonly _ready$;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
cancelCommand: Command<unknown>;
|
|
16
|
+
accessor confirmCommand: Command<unknown>;
|
|
17
|
+
accessor cancelCommand: Command<unknown>;
|
|
19
18
|
private _interactionContext;
|
|
20
19
|
class: string;
|
|
21
20
|
get isFocused(): boolean;
|
|
22
21
|
constructor();
|
|
23
22
|
initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Context<R, E>): void;
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
protected initialiseActivityAction(activityActions: ActivityActionsComponent): void;
|
|
26
23
|
get interactionContext(): InteractionContext;
|
|
27
24
|
done(result?: R): void;
|
|
28
25
|
cancel(error?: E): void;
|
|
@@ -40,9 +37,12 @@ export declare class Activity<D, R, E = any> extends DisposableComponent impleme
|
|
|
40
37
|
}): Disposable;
|
|
41
38
|
get ready$(): ValueModel<boolean>;
|
|
42
39
|
get busy$(): ValueModel<boolean>;
|
|
40
|
+
get disableClose$(): ValueModel<boolean>;
|
|
43
41
|
get focused$(): ValueModel<boolean>;
|
|
44
42
|
busyWhile(busyModel: ValueModel<boolean>): void;
|
|
45
43
|
isBusy(): boolean;
|
|
44
|
+
get disableClose(): boolean;
|
|
45
|
+
disableCloseWhile(condition: ValueModel<boolean>): void;
|
|
46
46
|
isInitialised(): boolean;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<Activity<any, any, any>, never>;
|
|
48
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<Activity<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -2,8 +2,9 @@ import { CommandFace } from '../../components/commands/command-face';
|
|
|
2
2
|
import { Confirm } from '../confirm';
|
|
3
3
|
import { AbstractDialogComponent } from './abstract-dialog.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<D, R, E> {
|
|
5
|
+
export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<Confirm, D, R, E> {
|
|
6
6
|
readonly cancelFace: CommandFace;
|
|
7
|
+
confirmClass: string;
|
|
7
8
|
constructor(config: Confirm);
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfirmDialogComponent<any, any, any>, never>;
|
|
9
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractConfirmDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { CommandFace } from '../../components/commands/command-face';
|
|
3
2
|
import { Activity } from '../activity';
|
|
4
3
|
import { Alert } from '../alert';
|
|
5
|
-
import { Confirm } from '../confirm';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare const ALERT_CONFIG: InjectionToken<any>;
|
|
8
|
-
export declare class AbstractDialogComponent<D, R, E = any> extends Activity<D, R, E> {
|
|
9
|
-
protected readonly config:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly color?: 'primary' | 'accent' | 'warn';
|
|
14
|
-
constructor(config: Alert | Confirm);
|
|
15
|
-
getConfig(): Alert | Confirm;
|
|
16
|
-
protected checkColor(rawColor: string): 'primary' | 'accent' | 'warn';
|
|
17
|
-
isDestructive(): boolean;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogComponent<any, any, any>, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
6
|
+
export declare class AbstractDialogComponent<C extends Alert, D, R, E = any> extends Activity<D, R, E> {
|
|
7
|
+
protected readonly config: C;
|
|
8
|
+
constructor(config: C);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogComponent<any, any, any, any>, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDialogComponent<any, any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
20
11
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
1
|
import { Command } from '@coolon/pectin';
|
|
3
2
|
import { Enum } from 'typescript-string-enums';
|
|
4
3
|
import { CommandFace } from '../../../components/commands/command-face';
|
|
5
4
|
import { CommandComponent } from "../../../components/commands/command/command.component";
|
|
6
5
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
6
|
+
import { ActivityContext } from "../../activity-context";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @example
|
|
@@ -26,18 +26,17 @@ import * as i0 from "@angular/core";
|
|
|
26
26
|
* <span>This content will be between the two commands</span>
|
|
27
27
|
* </aup-activity-actions>
|
|
28
28
|
*/
|
|
29
|
-
export declare class ActivityActionsComponent extends DisposableComponent
|
|
30
|
-
private readonly cdr;
|
|
29
|
+
export declare class ActivityActionsComponent extends DisposableComponent {
|
|
31
30
|
protected confirmCommandComponent: CommandComponent;
|
|
32
31
|
protected cancelCommandComponent: CommandComponent;
|
|
33
32
|
/**
|
|
34
33
|
* @deprecated activity actions now use the confirm command of the activity automatically
|
|
35
34
|
*/
|
|
36
|
-
confirmCommand: Command<any>;
|
|
35
|
+
accessor confirmCommand: Command<any>;
|
|
37
36
|
/**
|
|
38
37
|
* @deprecated activity actions now use the cancel command of the activity automatically
|
|
39
38
|
*/
|
|
40
|
-
cancelCommand: Command<any>;
|
|
39
|
+
accessor cancelCommand: Command<any>;
|
|
41
40
|
set faces(faces: ActivityActionsComponent.Style);
|
|
42
41
|
confirmFace: CommandFace;
|
|
43
42
|
cancelFace: CommandFace;
|
|
@@ -47,18 +46,15 @@ export declare class ActivityActionsComponent extends DisposableComponent implem
|
|
|
47
46
|
set style(style: ActivityActionsComponent.Style);
|
|
48
47
|
layout: ActivityActionsComponent.Layout;
|
|
49
48
|
align: ActivityActionsComponent.Align;
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
alignContent: ActivityActionsComponent.AlignContent;
|
|
50
|
+
protected readonly activityContext: ActivityContext;
|
|
51
|
+
constructor();
|
|
52
52
|
hasConfirmFace(): boolean;
|
|
53
53
|
hasCancelFace(): boolean;
|
|
54
|
-
initCommands(activity: {
|
|
55
|
-
confirmCommand: Command<unknown>;
|
|
56
|
-
cancelCommand: Command<unknown>;
|
|
57
|
-
}): void;
|
|
58
54
|
focusConfirm(): void;
|
|
59
55
|
focusCancel(): void;
|
|
60
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityActionsComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityActionsComponent, "aup-activity-actions", never, { "confirmCommand": { "alias": "confirmCommand"; "required": false; }; "cancelCommand": { "alias": "cancelCommand"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "confirmFace": { "alias": "confirmFace"; "required": false; }; "cancelFace": { "alias": "cancelFace"; "required": false; }; "style": { "alias": "style"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityActionsComponent, "aup-activity-actions", never, { "confirmCommand": { "alias": "confirmCommand"; "required": false; }; "cancelCommand": { "alias": "cancelCommand"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "confirmFace": { "alias": "confirmFace"; "required": false; }; "cancelFace": { "alias": "cancelFace"; "required": false; }; "style": { "alias": "style"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignContent": { "alias": "alignContent"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
62
58
|
}
|
|
63
59
|
export declare namespace ActivityActionsComponent {
|
|
64
60
|
const Layout: {
|
|
@@ -68,10 +64,16 @@ export declare namespace ActivityActionsComponent {
|
|
|
68
64
|
type Layout = Enum<typeof Layout>;
|
|
69
65
|
const Align: {
|
|
70
66
|
START: "start";
|
|
71
|
-
END: "end";
|
|
72
67
|
STRETCH: "stretch";
|
|
68
|
+
END: "end";
|
|
73
69
|
};
|
|
74
70
|
type Align = Enum<typeof Align>;
|
|
71
|
+
const AlignContent: {
|
|
72
|
+
START: "start";
|
|
73
|
+
CENTER: "center";
|
|
74
|
+
END: "end";
|
|
75
|
+
};
|
|
76
|
+
type AlignContent = Enum<typeof AlignContent>;
|
|
75
77
|
interface Style {
|
|
76
78
|
confirm: CommandFace;
|
|
77
79
|
cancel: CommandFace;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ActivityBodyComponent extends DisposableComponent
|
|
3
|
+
export declare class ActivityBodyComponent extends DisposableComponent {
|
|
5
4
|
fullWidth: boolean;
|
|
6
|
-
|
|
5
|
+
fullHeight: boolean;
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityBodyComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBodyComponent, "aup-activity-body", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBodyComponent, "aup-activity-body", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
9
8
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { QueryList } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { MatTabGroup } from "@angular/material/tabs";
|
|
3
3
|
import { BooleanValueModelChain, Constructable, DelegatingValueModel, Disposable, MutableValueModel } from "@coolon/pectin";
|
|
4
4
|
import { PlaceRouter } from "../../../place/place-router";
|
|
5
5
|
import { AbstractInteractionContext } from "../../abstract-interaction-context";
|
|
6
6
|
import { Activity } from "../../activity";
|
|
7
7
|
import { ActivityRef } from "../../activity-ref";
|
|
8
|
+
import { InteractionContext } from "../../interaction-context";
|
|
8
9
|
import { InteractionService } from "../../services/interaction.service";
|
|
9
10
|
import { ActivityOutletComponent } from "./activity-outlet/activity-outlet.component";
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
@@ -14,6 +15,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
14
15
|
tabs: MatTabGroup;
|
|
15
16
|
activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;
|
|
16
17
|
activityRefs: ActivityRef<any, any, any>[];
|
|
18
|
+
animationDuration: string;
|
|
17
19
|
private _identifier;
|
|
18
20
|
private _deferredCleanUp;
|
|
19
21
|
private interactionServiceApi;
|
|
@@ -26,6 +28,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
26
28
|
readonly busy: DelegatingValueModel<boolean>;
|
|
27
29
|
readonly syncTabsJob: () => void;
|
|
28
30
|
readonly stable$: BooleanValueModelChain;
|
|
31
|
+
private wasActive;
|
|
29
32
|
constructor(placeRouter: PlaceRouter);
|
|
30
33
|
get started$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
31
34
|
get ready$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
@@ -41,12 +44,13 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
41
44
|
registerDisposable<T extends Disposable>(disposable: T): T;
|
|
42
45
|
dispose(): void;
|
|
43
46
|
getActiveActivityRef(): ActivityRef<any, any, any>;
|
|
47
|
+
get disableClose(): boolean;
|
|
44
48
|
/**
|
|
45
49
|
* Cancels the current activity and returns true the context is no longer active, false if
|
|
46
50
|
* there is still another activity running.
|
|
47
51
|
*/
|
|
48
52
|
cancelActiveActivity(): Promise<boolean>;
|
|
49
|
-
protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1,
|
|
53
|
+
protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, options?: InteractionContext.Options): Promise<R1>;
|
|
50
54
|
private getActiveActivityCount;
|
|
51
55
|
/**
|
|
52
56
|
* Checks if this interaction context has finished an is in the process of waiting
|
|
@@ -61,11 +65,13 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
61
65
|
* Synchronises the selected tab index.
|
|
62
66
|
*/
|
|
63
67
|
private synchroniseSelectedTabIndex;
|
|
64
|
-
|
|
68
|
+
finaliseActivityStates(): void;
|
|
65
69
|
private getSelectedOutlet;
|
|
66
|
-
|
|
70
|
+
protected getTabAnimationDuration(): string;
|
|
71
|
+
protected getTabAnimationDurationInMillis(): number;
|
|
67
72
|
getSelectedTabIndex(): number;
|
|
68
73
|
private triggerTabSynchronisation;
|
|
74
|
+
onAnimationDone(): void;
|
|
69
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityContainerComponent<any, any, any>, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, {}, never, never, false, never>;
|
|
71
77
|
}
|
package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Activity } from '../../../activity';
|
|
3
3
|
import { ActivityRef } from '../../../activity-ref';
|
|
4
4
|
import { InteractionContext } from '../../../interaction-context';
|
|
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an
|
|
8
8
|
* external service.
|
|
9
9
|
*/
|
|
10
|
-
export declare class ActivityOutletComponent<D, R, E>
|
|
11
|
-
private
|
|
10
|
+
export declare class ActivityOutletComponent<D, R, E> {
|
|
11
|
+
private interactionContext;
|
|
12
12
|
private viewContainerRef;
|
|
13
13
|
private injector;
|
|
14
14
|
private activityComponentRef;
|
|
@@ -16,8 +16,7 @@ export declare class ActivityOutletComponent<D, R, E> implements OnInit {
|
|
|
16
16
|
private _activityRef;
|
|
17
17
|
set activityRef(activityRef: ActivityRef<D, R, E>);
|
|
18
18
|
get activityRef(): ActivityRef<D, R, E>;
|
|
19
|
-
constructor(
|
|
20
|
-
ngOnInit(): void;
|
|
19
|
+
constructor(interactionContext: InteractionContext, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
21
20
|
loadActivity(activityRef: ActivityRef<D, R, E>): void;
|
|
22
21
|
get component(): Activity<D, R, E>;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityOutletComponent<any, any, any>, never>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { ThemePalette } from '@angular/material/core';
|
|
3
2
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ActivityTitleComponent extends DisposableComponent
|
|
4
|
+
export declare class ActivityTitleComponent extends DisposableComponent {
|
|
6
5
|
private _color;
|
|
7
6
|
private _hasUserTransparentBackground;
|
|
8
7
|
/**
|
|
@@ -13,7 +12,6 @@ export declare class ActivityTitleComponent extends DisposableComponent implemen
|
|
|
13
12
|
get hasTransparentBackground(): boolean;
|
|
14
13
|
set color(color: ThemePalette);
|
|
15
14
|
get color(): ThemePalette;
|
|
16
|
-
ngOnInit(): void;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTitleComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*", "[slot='title-end']"], false, never>;
|
|
19
17
|
}
|
package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts
CHANGED
|
@@ -7,20 +7,19 @@ import { Activity } from '../../activity';
|
|
|
7
7
|
import { InteractionContext } from '../../interaction-context';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AbstractActivityTriggerComponent<D = any, R = any, E = any> extends DisposableComponent implements OnInit {
|
|
10
|
-
activityClass: Constructable<Activity<D, R, E>>;
|
|
11
|
-
|
|
12
|
-
activityData: D;
|
|
13
|
-
|
|
14
|
-
face: CommandFace;
|
|
15
|
-
|
|
10
|
+
accessor activityClass: Constructable<Activity<D, R, E>>;
|
|
11
|
+
accessor activityClass$: ValueModel<Constructable<Activity<D, R, E>>>;
|
|
12
|
+
accessor activityData: D;
|
|
13
|
+
accessor activityData$: ValueModel<D>;
|
|
14
|
+
accessor face: CommandFace;
|
|
15
|
+
accessor face$: ValueModel<CommandFace>;
|
|
16
16
|
alignFace: HorizontalAlignment;
|
|
17
17
|
readonly startActivityCommand: Command<unknown>;
|
|
18
18
|
get interactionContext(): InteractionContext;
|
|
19
19
|
confirmEvent: EventEmitter<R>;
|
|
20
20
|
cancelEvent: EventEmitter<E>;
|
|
21
21
|
constructor();
|
|
22
|
-
ngOnInit(): void;
|
|
23
22
|
get isActive(): boolean;
|
|
24
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractActivityTriggerComponent<any, any, any>, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractActivityTriggerComponent<any, any, any>, "aup-abstract-activity-trigger", never, { "activityClass": { "alias": "activityClass"; "required": false; }; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractActivityTriggerComponent<any, any, any>, "aup-abstract-activity-trigger", never, { "activityClass": { "alias": "activityClass"; "required": false; }; "activityClass$": { "alias": "activityClass$"; "required": false; }; "activityData": { "alias": "activityData"; "required": false; }; "activityData$": { "alias": "activityData$"; "required": false; }; "face": { "alias": "face"; "required": false; }; "face$": { "alias": "face$"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; }, { "confirmEvent": "confirmEvent"; "cancelEvent": "cancelEvent"; }, never, never, false, never>;
|
|
26
25
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { ListModelChain } from '@coolon/pectin';
|
|
3
2
|
import { Enum } from 'typescript-string-enums';
|
|
4
3
|
import { CommandFace } from '../../../components/commands/command-face';
|
|
@@ -9,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
9
8
|
/**
|
|
10
9
|
*
|
|
11
10
|
*/
|
|
12
|
-
export declare class AddCardActivityComponent extends AbstractActivityTriggerComponent
|
|
11
|
+
export declare class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
13
12
|
private modalInteractionContext;
|
|
14
13
|
inlineInteractionContext: InteractionContext;
|
|
15
14
|
interactionStyle: AddCardActivityComponent.InteractionType;
|
|
@@ -21,7 +20,6 @@ export declare class AddCardActivityComponent extends AbstractActivityTriggerCom
|
|
|
21
20
|
isRenderAsCard(): boolean;
|
|
22
21
|
isRenderAsButton(): boolean;
|
|
23
22
|
constructor(interactionService: InteractionService);
|
|
24
|
-
ngOnInit(): void;
|
|
25
23
|
get interactionContext(): InteractionContext;
|
|
26
24
|
isModal(): boolean;
|
|
27
25
|
isInline(): boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { Command, Constructable } from '@coolon/pectin';
|
|
3
2
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
4
3
|
import { Activity } from '../../activity';
|
|
@@ -13,19 +12,18 @@ import * as i0 from "@angular/core";
|
|
|
13
12
|
* --link-border-radius
|
|
14
13
|
* --link-padding
|
|
15
14
|
*/
|
|
16
|
-
export declare class AddItemInteractionContextComponent extends DisposableComponent
|
|
15
|
+
export declare class AddItemInteractionContextComponent extends DisposableComponent {
|
|
17
16
|
label: string;
|
|
18
17
|
icon: string;
|
|
19
18
|
activityClass: Constructable<Activity<any, any, any>>;
|
|
20
19
|
activityData: any;
|
|
21
|
-
addCommand: Command<any>;
|
|
20
|
+
accessor addCommand: Command<any>;
|
|
22
21
|
protected interactionContext: InPlaceInteractionContextComponent<any, any, any>;
|
|
23
22
|
readonly clickCommand: Command<void>;
|
|
24
23
|
get active(): boolean;
|
|
25
24
|
readonly tabindex = 0;
|
|
26
25
|
constructor();
|
|
27
26
|
startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;
|
|
28
|
-
ngOnInit(): void;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddItemInteractionContextComponent, never>;
|
|
30
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddItemInteractionContextComponent, "aup-add-item-interaction-context", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "activityClass": { "alias": "activityClass"; "required": false; }; "activityData": { "alias": "activityData"; "required": false; }; "addCommand": { "alias": "addCommand"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
29
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { CommandFace } from "../../../components/commands/command-face";
|
|
1
2
|
import { Alert } from '../../alert';
|
|
2
3
|
import { AbstractDialogComponent } from '../abstract-dialog.component';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AlertDialogComponent extends AbstractDialogComponent<Alert, void> {
|
|
5
|
+
export declare class AlertDialogComponent extends AbstractDialogComponent<Alert, Alert, void> {
|
|
6
|
+
readonly confirmFace: CommandFace;
|
|
7
|
+
readonly title: string;
|
|
8
|
+
readonly content: string[];
|
|
9
|
+
readonly color?: 'primary' | 'accent' | 'warn';
|
|
5
10
|
constructor(alert: Alert);
|
|
6
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertDialogComponent, never>;
|
|
7
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<AlertDialogComponent, "aup-alert-dialog", never, {}, {}, never, never, false, never>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command } from "@coolon/pectin";
|
|
2
|
+
import { 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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Command } from "@coolon/pectin";
|
|
2
|
+
import { 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
|
+
}
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ConfirmThenDialogComponent<D, R, E> extends AbstractConfirmDialogComponent<ConfirmThenDialogComponent.Data<D, R, E>, R, E> {
|
|
7
7
|
constructor(config: ConfirmThenDialogComponent.Data<D, R, E>);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmThenDialogComponent<any, any, any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmThenDialogComponent<any, any, any>, "aup-confirmation-dialog", never, {}, {}, never, never, false, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmThenDialogComponent<any, any, any>, "aup-confirmation-then-dialog", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace ConfirmThenDialogComponent {
|
|
12
12
|
interface Data<D, R, E> {
|