@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,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { MutableValueModel } from "@coolon/pectin";
|
|
2
|
+
import { MutableValueModel, ValueModel } from "@coolon/pectin";
|
|
3
3
|
import { PlaceRouter } from '../../place-router';
|
|
4
4
|
import { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -46,9 +46,10 @@ import * as i0 from "@angular/core";
|
|
|
46
46
|
* })
|
|
47
47
|
*/
|
|
48
48
|
export declare class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
49
|
-
expanded$: MutableValueModel<boolean>;
|
|
50
|
-
expanded: boolean;
|
|
49
|
+
accessor expanded$: MutableValueModel<boolean>;
|
|
50
|
+
accessor expanded: boolean;
|
|
51
51
|
navEndTemplate: TemplateRef<any>;
|
|
52
|
+
readonly homeIcon$: ValueModel<string>;
|
|
52
53
|
constructor(router: PlaceRouter);
|
|
53
54
|
expandMenu(): void;
|
|
54
55
|
collapseMenu(): void;
|
package/lib/place/exports.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class NoopAuthGuard {
|
|
4
|
-
constructor();
|
|
5
4
|
canActivate(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean | UrlTree>;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoopAuthGuard, never>;
|
|
7
6
|
static ɵprov: i0.ɵɵInjectableDeclaration<NoopAuthGuard>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
3
3
|
import { InteractionService } from '../../interaction/services/interaction.service';
|
|
4
|
-
import {
|
|
4
|
+
import { PlaceAuthService } from "../place-auth-service";
|
|
5
5
|
import { PlaceComponent } from '../place-component';
|
|
6
6
|
import { PlaceHistory } from '../place-history';
|
|
7
7
|
import { PlaceRouter } from '../place-router';
|
|
@@ -16,7 +16,7 @@ export declare class PlaceGuard {
|
|
|
16
16
|
private readonly interactionService;
|
|
17
17
|
private readonly injector;
|
|
18
18
|
constructor(router: Router, urlService: UrlService, placeRouter: PlaceRouter, placeHistory: PlaceHistory, interactionService: InteractionService, injector: Injector);
|
|
19
|
-
get
|
|
19
|
+
get authService(): PlaceAuthService;
|
|
20
20
|
canActivate(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean | UrlTree>;
|
|
21
21
|
private findBestAuthenticatedAlternative;
|
|
22
22
|
canDeactivate(component: PlaceComponent, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Promise<boolean | UrlTree>;
|
|
@@ -17,7 +17,6 @@ export declare class RemoveLastInteractionFromUrlNavigationSession extends Navig
|
|
|
17
17
|
onPopState(event: NavigationStart): void;
|
|
18
18
|
onRouterStarted(event: NavigationStart): void;
|
|
19
19
|
onRouterCancelled(event: NavigationCancel): void;
|
|
20
|
-
onUrlChange(url: string): void;
|
|
21
20
|
private finishUp;
|
|
22
21
|
onRouterEnd(event: NavigationEnd): void;
|
|
23
22
|
handleCanDeactivateCancelledEventScenario(locationTriggerUrl: string): void;
|
|
@@ -10,7 +10,7 @@ export declare class SynchroniseInteractionContextIdsWithRoute extends Navigatio
|
|
|
10
10
|
onRouterEnd(event: NavigationEnd): void;
|
|
11
11
|
onRouterCancelled(event: NavigationCancel): void;
|
|
12
12
|
syncInteractionIdsWithRouter(): void;
|
|
13
|
-
addActivityContextToRoute(activeInteractionContextIds: string[], isFirst: boolean): void;
|
|
14
|
-
removeActivityContextFromRoute(activeInteractionContextId: string[]): void;
|
|
13
|
+
addActivityContextToRoute(activeInteractionContextIds: readonly string[], isFirst: boolean): void;
|
|
14
|
+
removeActivityContextFromRoute(activeInteractionContextId: readonly string[]): void;
|
|
15
15
|
handleCanDeactivateCancelledEventScenario(newUrl: string): void;
|
|
16
16
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PlaceDefinition } from './place-definition';
|
|
2
2
|
export interface PlaceAccessGuard {
|
|
3
|
-
isAuthenticated(): boolean
|
|
3
|
+
isAuthenticated(): boolean;
|
|
4
4
|
isAuthorised(placeDefinition: PlaceDefinition): boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare namespace PlaceAccessGuard {
|
|
7
7
|
class NoAuth implements PlaceAccessGuard {
|
|
8
|
-
isAuthenticated(): boolean
|
|
8
|
+
isAuthenticated(): boolean;
|
|
9
9
|
isAuthorised(placeDefinition: PlaceDefinition): boolean;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router";
|
|
2
|
+
import { ComputedModelMechanics, Constructable, GarbageCollector, HasValue, ValueModel } from "@coolon/pectin";
|
|
3
|
+
import { PlaceAccessGuard } from "./place-access-guard";
|
|
4
|
+
import { PlaceComponent } from "./place-component";
|
|
5
|
+
import { PlaceDefinition } from "./place-definition";
|
|
6
|
+
import { Visit } from "./visit";
|
|
7
|
+
export declare class PlaceAuthService extends GarbageCollector {
|
|
8
|
+
private authZOptions;
|
|
9
|
+
private authNOptions;
|
|
10
|
+
private readonly _authNReady$;
|
|
11
|
+
private readonly _authZReady$;
|
|
12
|
+
private authenticated$;
|
|
13
|
+
private authChecker$;
|
|
14
|
+
private enabledPlaceChecker;
|
|
15
|
+
readonly accessGuard$: ValueModel<PlaceAuthService.AccessGuard>;
|
|
16
|
+
constructor();
|
|
17
|
+
configureAuthentication(options: PlaceAuthService.AuthenticationOptions): void;
|
|
18
|
+
configureAuthorisation(options: PlaceAuthService.AuthorisationOptions): void;
|
|
19
|
+
enablePlace(placeDefinition: Constructable<PlaceComponent>, options: PlaceAuthService.AuthPlaceOptions): void;
|
|
20
|
+
waitUntilAuthenticationReady(): Promise<void>;
|
|
21
|
+
waitUntilAuthorisationReadyFor(placeDef: PlaceDefinition): Promise<void>;
|
|
22
|
+
getAuthenticationFailureRedirect(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<Visit>;
|
|
23
|
+
getAuthorisationFailureRedirectOptions(component: Constructable<PlaceComponent>): Promise<Visit[]>;
|
|
24
|
+
isAuthenticated(): boolean;
|
|
25
|
+
isAuthorised(c: PlaceDefinition): boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace PlaceAuthService {
|
|
28
|
+
type AuthorisationCheck = (def: PlaceDefinition) => boolean;
|
|
29
|
+
interface AuthenticationOptions extends ComputedModelMechanics.PostponeOptions {
|
|
30
|
+
isAuthenticated$: ValueModel<boolean>;
|
|
31
|
+
redirectTo(activatedRoute?: ActivatedRouteSnapshot, state?: RouterStateSnapshot): Visit | Constructable<PlaceComponent> | Promise<Visit> | Promise<Constructable<PlaceComponent>>;
|
|
32
|
+
}
|
|
33
|
+
interface AuthorisationOptions extends ComputedModelMechanics.PostponeOptions {
|
|
34
|
+
isAuthorised: AuthorisationCheck;
|
|
35
|
+
dependsOn$?: HasValue<any>;
|
|
36
|
+
redirectTo(component: Constructable<PlaceComponent>): (Constructable<PlaceComponent> | Visit)[] | Promise<(Constructable<PlaceComponent> | Visit)[]>;
|
|
37
|
+
}
|
|
38
|
+
interface AuthPlaceOptions extends ComputedModelMechanics.PostponeOptions {
|
|
39
|
+
when$?: ValueModel<boolean>;
|
|
40
|
+
unless$?: ValueModel<boolean>;
|
|
41
|
+
}
|
|
42
|
+
class AccessGuard implements PlaceAccessGuard {
|
|
43
|
+
private readonly authenticated;
|
|
44
|
+
private readonly checkAuth;
|
|
45
|
+
constructor(authenticated: boolean, checkAuth: AuthorisationCheck);
|
|
46
|
+
isAuthenticated(): boolean;
|
|
47
|
+
isAuthorised(placeDefinition: PlaceDefinition): boolean;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
2
|
-
import { Constructable,
|
|
2
|
+
import { Constructable, ListModel } from '@coolon/pectin';
|
|
3
3
|
import 'reflect-metadata';
|
|
4
|
-
import {
|
|
4
|
+
import { LoadableComponent } from "../components/loadable-component";
|
|
5
5
|
import { InteractionContext } from '../interaction/interaction-context';
|
|
6
6
|
import { PlaceDefinition } from './place-definition';
|
|
7
|
+
import { PlaceRouter } from "./place-router";
|
|
7
8
|
import { ParameterDefinition } from './route/parameter-definition';
|
|
8
9
|
import { UrlSnapshot } from './url-snapshot';
|
|
9
10
|
import { VisitSegment } from './visit-segment';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare const DEFINITION_META_DATA_KEY = "PLACE_DEFINITION_OPTIONS";
|
|
12
13
|
export declare const ROUTE_PARAMETER_LIST_KEY: unique symbol;
|
|
13
|
-
export declare class PlaceComponent extends
|
|
14
|
+
export declare class PlaceComponent extends LoadableComponent {
|
|
14
15
|
private readonly _placeReadyCallbacks;
|
|
15
|
-
private
|
|
16
|
+
private visit$;
|
|
16
17
|
private _inVisitUpdate;
|
|
17
18
|
private _active;
|
|
18
19
|
interactionContext?: InteractionContext;
|
|
19
|
-
childPlaces
|
|
20
|
-
|
|
20
|
+
readonly childPlaces$: ListModel<Constructable<PlaceComponent>>;
|
|
21
|
+
readonly placeId: string;
|
|
21
22
|
canDeactivate?(interactionContext: InteractionContext): boolean | Promise<boolean>;
|
|
23
|
+
protected readonly placeRouter: PlaceRouter;
|
|
24
|
+
private readonly activatedRoute;
|
|
22
25
|
constructor();
|
|
23
26
|
initialiseVisit(visit: VisitSegment, notifyVisitChanged: (current: VisitSegment, previous: VisitSegment) => void): void;
|
|
27
|
+
get childPlaces(): readonly Constructable<PlaceComponent>[];
|
|
24
28
|
updateVisit(visit: VisitSegment): void;
|
|
25
29
|
isInitialised(): boolean;
|
|
26
30
|
/**
|
|
@@ -30,7 +34,7 @@ export declare class PlaceComponent extends DisposableComponent {
|
|
|
30
34
|
*/
|
|
31
35
|
private installAndInitialiseBinding;
|
|
32
36
|
get placeDefinition(): PlaceDefinition;
|
|
33
|
-
get active(): ValueModel<boolean>;
|
|
37
|
+
get active(): import("@coolon/pectin").ValueModel<boolean>;
|
|
34
38
|
/**
|
|
35
39
|
* Called by the router to see if this component can deactivate. This isn't called for route parameter changes.
|
|
36
40
|
* @param interactionContext
|
|
@@ -51,7 +55,6 @@ export declare class PlaceComponent extends DisposableComponent {
|
|
|
51
55
|
*/
|
|
52
56
|
_notifyPlaceReady(): void;
|
|
53
57
|
onPlaceReady(callback: () => void): void;
|
|
54
|
-
interceptVisitParameterChange<T>(model: ValueModel<T>, callback: PlaceComponent.InterceptCallback<T>, options?: PlaceComponent.InterceptOptions): void;
|
|
55
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceComponent, never>;
|
|
56
59
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PlaceComponent, never, never, {}, {}, never, never, false, never>;
|
|
57
60
|
}
|
|
@@ -60,8 +63,4 @@ export declare namespace PlaceComponent {
|
|
|
60
63
|
function getRouteParameters(klass: Constructable<PlaceComponent>): ParameterDefinition<any>[];
|
|
61
64
|
function getDefinition(snapshotOrConstructor: ActivatedRouteSnapshot | Constructable<PlaceComponent>): PlaceDefinition;
|
|
62
65
|
function injectDefinition(klass: Constructable<PlaceComponent>, definition: PlaceDefinition): void;
|
|
63
|
-
type InterceptCallback<T> = (is: T, was: T, interactionContext: InteractionContext) => boolean | Promise<boolean>;
|
|
64
|
-
interface InterceptOptions {
|
|
65
|
-
initialValue: 'evaluationUnlessNil' | 'evaluate';
|
|
66
|
-
}
|
|
67
66
|
}
|
|
@@ -13,9 +13,11 @@ export declare class PlaceDefinition {
|
|
|
13
13
|
readonly children: PlaceDefinition[];
|
|
14
14
|
readonly redirectToFirstChild: boolean;
|
|
15
15
|
private _parent;
|
|
16
|
+
readonly name: string;
|
|
16
17
|
constructor(component: Constructable<PlaceComponent>, path: string, authenticate: boolean, role: any, data: Record<string, any>, routeParameters: ParameterDefinition<any>[], children: PlaceDefinition[], redirectToFirstChild: boolean);
|
|
17
18
|
ancestors(): PlaceDefinition[];
|
|
18
19
|
ancestorsAndSelf(): PlaceDefinition[];
|
|
20
|
+
get placeId(): string;
|
|
19
21
|
protected setParent(parent: PlaceDefinition): void;
|
|
20
22
|
get parent(): PlaceDefinition;
|
|
21
23
|
isRoot(): boolean;
|
|
@@ -12,7 +12,6 @@ export declare class PlaceHistory {
|
|
|
12
12
|
private _previousVisits;
|
|
13
13
|
private _archive;
|
|
14
14
|
private readonly placeHistoryDepth;
|
|
15
|
-
constructor();
|
|
16
15
|
notifyNavigationStarted(): void;
|
|
17
16
|
notifyNavigationFinished(visits: Visit): void;
|
|
18
17
|
updateVisitSegment(visit: VisitSegment): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Location } from "@angular/common";
|
|
2
2
|
import { ActivatedRouteSnapshot, NavigationCancel, NavigationEnd, NavigationError, NavigationExtras, NavigationStart, Router, RouterStateSnapshot } from "@angular/router";
|
|
3
|
-
import { GarbageCollector, MutableValueModel, ValueModel, ValueModelChain } from
|
|
3
|
+
import { DisposedWith, GarbageCollector, ListModel, MutableValueModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
4
4
|
import { Constructable } from "@coolon/typescript-utilities";
|
|
5
5
|
import { InteractionService } from "../interaction/services/interaction.service";
|
|
6
6
|
import { NavigationSession } from "./navigation/session/navigation-session";
|
|
7
|
-
import {
|
|
7
|
+
import { PlaceAuthService } from "./place-auth-service";
|
|
8
8
|
import { PlaceComponent } from "./place-component";
|
|
9
9
|
import { PlaceHistory } from "./place-history";
|
|
10
10
|
import { UrlService } from "./url-service";
|
|
@@ -26,20 +26,17 @@ export declare class PlaceRouter extends GarbageCollector {
|
|
|
26
26
|
private readonly _activeVisit$;
|
|
27
27
|
private readonly routerInteractionAdapter;
|
|
28
28
|
private sessionFinishedJobs;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
private readonly _accessGuard$;
|
|
34
|
-
private redirections;
|
|
29
|
+
readonly authService: PlaceAuthService;
|
|
30
|
+
private readonly _ready$;
|
|
31
|
+
readonly ready$: ValueModel<boolean>;
|
|
35
32
|
constructor(angularRouter: Router, angularLocation: Location, interactionService: InteractionService, urlService: UrlService, placeHistory: PlaceHistory);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
getAuthorisationFailureRedirectOptions(component: Constructable<PlaceComponent>): Visit[];
|
|
33
|
+
postponeRoutingUntil(condition$: ValueModel<boolean>): void;
|
|
34
|
+
getAuthenticationFailureRedirect(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<Visit>;
|
|
35
|
+
getAuthorisationFailureRedirectOptions(component: Constructable<PlaceComponent>): Promise<Visit[]>;
|
|
40
36
|
get navigationSession(): NavigationSession;
|
|
41
37
|
get currentSession(): NavigationSession;
|
|
42
38
|
isNavigating(): boolean;
|
|
39
|
+
waitUntilRouterReady(): Promise<this>;
|
|
43
40
|
waitUntilIdle(): Promise<this>;
|
|
44
41
|
waitActivitiesSynchronised(): Promise<this>;
|
|
45
42
|
onPopState(event: NavigationStart): void;
|
|
@@ -49,10 +46,11 @@ export declare class PlaceRouter extends GarbageCollector {
|
|
|
49
46
|
onRouterError(event: NavigationError): void;
|
|
50
47
|
onRouterEnd(event: NavigationEnd): void;
|
|
51
48
|
navigate(visit: Visit): any;
|
|
52
|
-
navigate(placeComponent: Constructable<PlaceComponent>, params?: Record<string,
|
|
49
|
+
navigate(placeComponent: Constructable<PlaceComponent>, params?: Record<string, unknown>): any;
|
|
53
50
|
doNavigation(visit: Visit, runNavigationCommands: (router: Router) => any): Promise<void>;
|
|
54
51
|
navigateByUrl(urlSnapshot: UrlSnapshot, navigationExtras?: NavigationExtras): Promise<boolean>;
|
|
55
52
|
get activeVisit$(): ValueModel<Visit>;
|
|
53
|
+
filterAuthorizedPlaces(places: ReadonlyArray<Constructable<PlaceComponent>>, options: DisposedWith): ListModel<Constructable<PlaceComponent>>;
|
|
56
54
|
notifyVisitSegmentChanged(is: VisitSegment, was: VisitSegment): Promise<void>;
|
|
57
55
|
private createNavigationSession;
|
|
58
56
|
protected transitionTo(next: NavigationSession): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Constructable } from '@coolon/pectin';
|
|
2
2
|
import { PlaceComponent } from './place-component';
|
|
3
|
-
export declare function Place(options: Place.Options): (target:
|
|
3
|
+
export declare function Place(options: Place.Options): (target: Constructable<any>) => void;
|
|
4
4
|
export declare namespace Place {
|
|
5
5
|
interface Options {
|
|
6
6
|
path: string;
|
|
@@ -7,17 +7,18 @@ import * as i5 from "./components/abstract-place-navigation.component";
|
|
|
7
7
|
import * as i6 from "./components/not-authorised-notice/not-authorised-notice.component";
|
|
8
8
|
import * as i7 from "@angular/common";
|
|
9
9
|
import * as i8 from "@angular/platform-browser/animations";
|
|
10
|
-
import * as i9 from "@angular/material/
|
|
10
|
+
import * as i9 from "@angular/material/progress-spinner";
|
|
11
11
|
import * as i10 from "@angular/router";
|
|
12
|
-
import * as i11 from "@angular/material/
|
|
13
|
-
import * as i12 from "@angular/material/
|
|
14
|
-
import * as i13 from "@angular/material/
|
|
12
|
+
import * as i11 from "@angular/material/tabs";
|
|
13
|
+
import * as i12 from "@angular/material/list";
|
|
14
|
+
import * as i13 from "@angular/material/tooltip";
|
|
15
15
|
import * as i14 from "@angular/material/icon";
|
|
16
16
|
import * as i15 from "../directives/directives.module";
|
|
17
17
|
import * as i16 from "../components/components.module";
|
|
18
18
|
import * as i17 from "@angular/cdk/portal";
|
|
19
|
+
import * as i18 from "@angular/material/card";
|
|
19
20
|
export declare class PlaceModule {
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.MatProgressSpinnerModule, typeof i10.RouterModule, typeof i11.MatTabsModule, typeof i12.MatListModule, typeof i13.MatTooltipModule, typeof i14.MatIconModule, typeof i15.DirectivesModule, typeof i16.ComponentsModule, typeof i17.PortalModule, typeof i18.MatCardModule], [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent]>;
|
|
22
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<PlaceModule>;
|
|
23
24
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export type JsonPrimitive = boolean | number | string;
|
|
2
|
-
export type AnyJson = JsonPrimitive | null |
|
|
3
|
-
export interface JsonArray extends Array<AnyJson> {
|
|
4
|
-
}
|
|
2
|
+
export type AnyJson = JsonPrimitive | null | Array<AnyJson> | JsonMap;
|
|
5
3
|
export interface JsonMap {
|
|
6
4
|
[key: string]: AnyJson;
|
|
7
5
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Constructable } from '@coolon/pectin';
|
|
2
1
|
import { Formatter } from './formatter';
|
|
3
2
|
import { ParameterSanitiser } from './parameter-sanitiser';
|
|
4
3
|
export interface RouteIdOptions<T> {
|
|
@@ -6,7 +5,7 @@ export interface RouteIdOptions<T> {
|
|
|
6
5
|
optional?: boolean;
|
|
7
6
|
remember?: boolean;
|
|
8
7
|
defaultValue?: T;
|
|
9
|
-
sanitiser?:
|
|
8
|
+
sanitiser?: ParameterSanitiser.Def<T>;
|
|
10
9
|
}
|
|
11
10
|
export interface RouteParameterOptions<T> {
|
|
12
11
|
as?: string;
|
|
@@ -14,7 +13,7 @@ export interface RouteParameterOptions<T> {
|
|
|
14
13
|
remember?: boolean;
|
|
15
14
|
defaultValue?: T;
|
|
16
15
|
storeInUrl?: Formatter<T>;
|
|
17
|
-
sanitiser?:
|
|
16
|
+
sanitiser?: ParameterSanitiser.Def<T>;
|
|
18
17
|
}
|
|
19
18
|
export interface RouteListParameterOptions<T> {
|
|
20
19
|
as?: string;
|
|
@@ -22,7 +21,7 @@ export interface RouteListParameterOptions<T> {
|
|
|
22
21
|
remember?: boolean;
|
|
23
22
|
defaultValue?: T[];
|
|
24
23
|
storeInUrl?: Formatter<T>;
|
|
25
|
-
sanitiser?:
|
|
24
|
+
sanitiser?: ParameterSanitiser.Def<T[]>;
|
|
26
25
|
}
|
|
27
26
|
export declare function RouteId<T extends string | number>(formatter: Formatter<T>, options?: RouteIdOptions<T>): PropertyDecorator;
|
|
28
27
|
export declare function VisitParameter<T>(options?: RouteParameterOptions<T>): PropertyDecorator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HasValue, ListModel, MutableListModel, MutableValueModel, ValueModel } from '@coolon/pectin';
|
|
3
3
|
import { PlaceHistory } from '../place-history';
|
|
4
4
|
import { VisitSegment } from '../visit-segment';
|
|
5
5
|
import { Formatter } from './formatter';
|
|
@@ -32,7 +32,7 @@ export declare namespace ParameterDefinition {
|
|
|
32
32
|
optional?: boolean;
|
|
33
33
|
remember?: boolean;
|
|
34
34
|
defaultValue?: T;
|
|
35
|
-
sanitiser?:
|
|
35
|
+
sanitiser?: ParameterSanitiser.Def<T>;
|
|
36
36
|
}
|
|
37
37
|
class RouteId<T> extends ParameterDefinition<T> {
|
|
38
38
|
readonly isRouteId = true;
|
|
@@ -48,7 +48,7 @@ export declare namespace ParameterDefinition {
|
|
|
48
48
|
isEmptyValue(value: T): boolean;
|
|
49
49
|
hasChanged(a: any, b: any): boolean;
|
|
50
50
|
}
|
|
51
|
-
class ArrayParameter<T> extends ParameterDefinition<T
|
|
51
|
+
class ArrayParameter<T> extends ParameterDefinition<ReadonlyArray<T>, T> {
|
|
52
52
|
readonly isRouteId = false;
|
|
53
53
|
readonly isArray = true;
|
|
54
54
|
protected backingModelFactory: () => MutableListModel<T>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
+
import { Constructable } from '@coolon/pectin';
|
|
2
3
|
import { VisitSegment } from '../visit-segment';
|
|
3
4
|
export interface ParameterSanitiser<T> {
|
|
4
5
|
sanitise(parameterValue: T, visit?: VisitSegment, injector?: Injector): Promise<T> | T;
|
|
5
6
|
}
|
|
7
|
+
export declare namespace ParameterSanitiser {
|
|
8
|
+
abstract class Factory<T> {
|
|
9
|
+
abstract create(injector: Injector): ParameterSanitiser<T>;
|
|
10
|
+
}
|
|
11
|
+
type Def<T> = ParameterSanitiser<T> | Constructable<ParameterSanitiser<T>> | Factory<T>;
|
|
12
|
+
}
|
|
@@ -19,8 +19,8 @@ export declare class UrlSnapshot {
|
|
|
19
19
|
createVisitSegmentFor(placeDef: PlaceDefinition): VisitSegment;
|
|
20
20
|
getInteractionIds(): string[];
|
|
21
21
|
hasInteractions(): boolean;
|
|
22
|
-
hasInteractionIds(ids: string[]): boolean;
|
|
23
|
-
updateInteractionIds(ids: string[]): UrlSnapshot;
|
|
22
|
+
hasInteractionIds(ids: readonly string[]): boolean;
|
|
23
|
+
updateInteractionIds(ids: readonly string[]): UrlSnapshot;
|
|
24
24
|
removeInteractionIds(): UrlSnapshot;
|
|
25
25
|
toString(): string;
|
|
26
26
|
containsVisitSegment(segment: VisitSegment): boolean;
|
|
@@ -29,7 +29,7 @@ export declare namespace UrlSnapshot {
|
|
|
29
29
|
const INTERACTION_QUERY_PARAM = "aup-interactions";
|
|
30
30
|
const INTERACTION_ID_SEPARATOR = "--";
|
|
31
31
|
function parseInteractionIds(path: string): string[];
|
|
32
|
-
function createPathIdFor(interactionIds: string[]): string;
|
|
32
|
+
function createPathIdFor(interactionIds: readonly string[]): string;
|
|
33
33
|
interface NavigationOptions {
|
|
34
34
|
replaceUrl?: boolean;
|
|
35
35
|
}
|
|
@@ -4,7 +4,7 @@ export declare class VisitSegment {
|
|
|
4
4
|
readonly placeDefinition: PlaceDefinition;
|
|
5
5
|
readonly visitParameters: Record<string, any>;
|
|
6
6
|
constructor(placeDefinition: PlaceDefinition, visitParameters?: Record<string, any>);
|
|
7
|
-
getRouteId():
|
|
7
|
+
getRouteId(): string | null;
|
|
8
8
|
hasRouteId(): boolean;
|
|
9
9
|
/**
|
|
10
10
|
* Returns the value of the place parameter with the specified name. The parameter
|
|
@@ -13,9 +13,9 @@ export declare class VisitSegment {
|
|
|
13
13
|
* @param parameter the visit parameter definition
|
|
14
14
|
*/
|
|
15
15
|
getParameterValue<T, S>(parameter: ParameterDefinition<T, S> | string): T;
|
|
16
|
-
hasParameter(parameterDef: ParameterDefinition<
|
|
17
|
-
replace<T>(parameter: ParameterDefinition<T,
|
|
18
|
-
mergeRouteParameters
|
|
16
|
+
hasParameter(parameterDef: ParameterDefinition<unknown>): boolean;
|
|
17
|
+
replace<T>(parameter: ParameterDefinition<T, unknown>, value: T): VisitSegment;
|
|
18
|
+
mergeRouteParameters(routeParams: Record<string, unknown>): VisitSegment;
|
|
19
19
|
hasRoutingChangedFrom(other: VisitSegment): boolean;
|
|
20
20
|
hasChangedFrom(other: VisitSegment): boolean;
|
|
21
21
|
createRouterCommands(): string[];
|
package/lib/place/visit.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export declare class Visit {
|
|
|
7
7
|
protected segmentsByPlaceComponent: Map<Constructable<PlaceComponent>, VisitSegment>;
|
|
8
8
|
protected readonly destinationSegment: VisitSegment;
|
|
9
9
|
protected readonly destinationPlaceDef: PlaceDefinition;
|
|
10
|
-
static goto(placeComponent: Constructable<PlaceComponent>, visitParameters?: Record<string,
|
|
10
|
+
static goto(placeComponent: Constructable<PlaceComponent>, visitParameters?: Record<string, unknown>): Visit;
|
|
11
11
|
static fromSegments(segments: VisitSegment[]): Visit;
|
|
12
12
|
protected constructor(segments: VisitSegment[]);
|
|
13
13
|
protected get definedSegments(): Map<Constructable<PlaceComponent>, VisitSegment>;
|
|
14
|
-
withAncestorParameters(placeComponent: Constructable<PlaceComponent>, parameters: Record<string,
|
|
14
|
+
withAncestorParameters(placeComponent: Constructable<PlaceComponent>, parameters: Record<string, unknown>): this;
|
|
15
15
|
get segments(): VisitSegment[];
|
|
16
16
|
private resolveSegments;
|
|
17
17
|
copyWithDefaultsFrom(other: Visit | undefined): Visit;
|
|
@@ -5,7 +5,7 @@ export declare class VisibilityService extends GarbageCollector {
|
|
|
5
5
|
private readonly attributeName;
|
|
6
6
|
private readonly eventName;
|
|
7
7
|
private _visible$;
|
|
8
|
-
constructor(document:
|
|
8
|
+
constructor(document: Document);
|
|
9
9
|
protected updateVisibilityState(): void;
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated use visible$ instead.
|
package/package.json
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.0.
|
|
4
|
-
"schematics": "./schematics/collection.json",
|
|
3
|
+
"version": "16.1.0-alpha.191",
|
|
5
4
|
"peerDependencies": {
|
|
6
|
-
"@angular/animations": "^16.
|
|
7
|
-
"@angular/common": "^16.
|
|
8
|
-
"@angular/core": "^16.
|
|
9
|
-
"@angular/cdk": "^16.
|
|
10
|
-
"@angular/forms": "^16.
|
|
11
|
-
"@angular/material": "^16.
|
|
12
|
-
"@angular/platform-browser": "^16.
|
|
13
|
-
"@angular/
|
|
14
|
-
"@
|
|
15
|
-
"@
|
|
5
|
+
"@angular/animations": "^16.2.9",
|
|
6
|
+
"@angular/common": "^16.2.9",
|
|
7
|
+
"@angular/core": "^16.2.9",
|
|
8
|
+
"@angular/cdk": "^16.2.10",
|
|
9
|
+
"@angular/forms": "^16.2.9",
|
|
10
|
+
"@angular/material": "^16.2.10",
|
|
11
|
+
"@angular/platform-browser": "^16.2.9",
|
|
12
|
+
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
|
+
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
|
+
"@angular/router": "^16.2.9",
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.100",
|
|
16
|
+
"fast-typescript-memoize": "^1.1.1",
|
|
16
17
|
"lodash-es": "^4.17.21",
|
|
17
|
-
"marked": "4.0.
|
|
18
|
+
"marked": "4.0.10",
|
|
18
19
|
"reflect-metadata": "^0.1.13",
|
|
19
20
|
"resize-observer-polyfill": "^1.5.1",
|
|
20
21
|
"typescript-string-enums": "^1.0.0",
|
|
21
22
|
"json5": "^2.1.0",
|
|
22
|
-
"immer": ">=
|
|
23
|
+
"immer": ">=10.0.3",
|
|
23
24
|
"escape-string-regexp": "^5.0.0",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
25
|
+
"@coolon/typescript-utilities": "^5.0.0-alpha.14",
|
|
26
|
+
"fractional-indexing": "^3.2.0",
|
|
27
|
+
"ng-table-virtual-scroll": "^1.6.1"
|
|
26
28
|
},
|
|
27
29
|
"optionalDependencies": {
|
|
28
30
|
"@fortawesome/fontawesome-free": "^6.0.0"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
|
-
"tslib": "^2.3.0"
|
|
32
|
-
"@coolon/typescript-utilities": "^3.0.0"
|
|
33
|
+
"tslib": "^2.3.0"
|
|
33
34
|
},
|
|
34
35
|
"module": "fesm2022/coolon-angular-ui-powerups.mjs",
|
|
35
36
|
"typings": "index.d.ts",
|
|
@@ -45,4 +46,4 @@
|
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
"sideEffects": false
|
|
48
|
-
}
|
|
49
|
+
}
|