@coolon/angular-ui-powerups 12.4.2 → 12.4.4
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/bundles/coolon-angular-ui-powerups.umd.js +3423 -2582
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +2 -1
- package/esm2015/coolon-angular-ui-powerups.js +2 -2
- package/esm2015/index.js +2 -0
- package/esm2015/lib/angular-ui-powerups.module.js +61 -26
- package/esm2015/lib/animations/exports.js +1 -1
- package/esm2015/lib/animations/slide-animations.js +1 -1
- package/esm2015/lib/components/alignment.js +1 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +18 -13
- package/esm2015/lib/components/cards/abstract-card-container.component.js +18 -13
- package/esm2015/lib/components/cards/card-container/card-container.component.js +27 -17
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +16 -9
- package/esm2015/lib/components/commands/command/command.component.js +37 -20
- package/esm2015/lib/components/commands/command-face/command-face.component.js +32 -19
- package/esm2015/lib/components/commands/command-face.js +1 -1
- package/esm2015/lib/components/commands/flex.component.js +12 -8
- package/esm2015/lib/components/commands/group/command-container.js +1 -1
- package/esm2015/lib/components/commands/group/popup-aware.component.js +1 -1
- package/esm2015/lib/components/commands/group/popup-container.js +1 -1
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +26 -18
- package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.js +32 -18
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +35 -24
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.js +35 -18
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +13 -10
- package/esm2015/lib/components/commands/separator.component.js +28 -18
- package/esm2015/lib/components/components.module.js +267 -130
- package/esm2015/lib/components/disposable-component.js +7 -4
- package/esm2015/lib/components/empty-state/empty-state.component.js +16 -9
- package/esm2015/lib/components/exports.js +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.js +23 -17
- package/esm2015/lib/components/focusable.component.js +19 -14
- package/esm2015/lib/components/forms/abstract-input.component.js +57 -25
- package/esm2015/lib/components/forms/abstract-list-input.component.js +14 -10
- package/esm2015/lib/components/forms/abstract-value-input.component.js +14 -10
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +32 -17
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +20 -13
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +29 -16
- package/esm2015/lib/components/forms/number-input/number-input.component.js +26 -15
- package/esm2015/lib/components/forms/password-input/password-input.component.js +19 -12
- package/esm2015/lib/components/forms/select-input/select-input.component.js +34 -18
- package/esm2015/lib/components/forms/string-input/string-input.component.js +28 -15
- package/esm2015/lib/components/forms/text-input/text-input.component.js +21 -13
- package/esm2015/lib/components/icon/icon.component.js +21 -11
- package/esm2015/lib/components/labelled-value/labelled-value.component.js +14 -12
- package/esm2015/lib/components/loading-container/loading-container.component.js +25 -16
- package/esm2015/lib/components/noop/noop.component.js +12 -9
- package/esm2015/lib/components/resize-aware.component.js +7 -8
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +13 -9
- package/esm2015/lib/components/section-header/section-header.component.js +27 -14
- package/esm2015/lib/components/switch-case/switch-case.component.js +41 -37
- package/esm2015/lib/components/tables/abstract-table-model.js +1 -1
- package/esm2015/lib/components/tables/abstract-table.component.js +26 -18
- package/esm2015/lib/components/tables/column-list-model.js +1 -1
- package/esm2015/lib/components/tables/edit-session.js +1 -1
- package/esm2015/lib/components/tables/table/cell-editors.js +1 -1
- package/esm2015/lib/components/tables/table/cell-portal-ref.js +1 -1
- package/esm2015/lib/components/tables/table/cell-renderer.js +1 -1
- package/esm2015/lib/components/tables/table/column-model.js +26 -9
- package/esm2015/lib/components/tables/table/column-template/column-template.directive.js +19 -17
- package/esm2015/lib/components/tables/table/column-text-properties.js +1 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js +15 -12
- package/esm2015/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.js +14 -12
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +22 -14
- package/esm2015/lib/components/tables/table/mutable-cell-renderer.js +1 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.js +17 -12
- package/esm2015/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.js +16 -12
- package/esm2015/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.js +15 -9
- package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js +48 -31
- package/esm2015/lib/components/tables/table/table-def.js +1 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +20 -15
- package/esm2015/lib/components/tables/table/table-model.js +1 -1
- package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js +32 -13
- package/esm2015/lib/components/tables/table/table.component.js +23 -18
- package/esm2015/lib/components/tables/table/text-search-predicate.js +1 -1
- package/esm2015/lib/components/tables/tree-table/decorated-tree-node.js +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-expansion-model.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +22 -14
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +29 -18
- package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js +23 -18
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js +1 -1
- package/esm2015/lib/components/text/markdown/markdown.component.js +22 -18
- package/esm2015/lib/components/track-by.js +1 -1
- package/esm2015/lib/components/types/bounds.class.js +1 -1
- package/esm2015/lib/components/types/dimension.class.js +1 -1
- package/esm2015/lib/components/types/point.class.js +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +38 -22
- package/esm2015/lib/directives/command.directive.js +31 -17
- package/esm2015/lib/directives/directives.module.js +51 -26
- package/esm2015/lib/directives/exports.js +1 -1
- package/esm2015/lib/directives/focus-binding-factory.js +15 -12
- package/esm2015/lib/directives/focus-binding.directive.js +25 -17
- package/esm2015/lib/directives/focus-binding.js +11 -9
- package/esm2015/lib/directives/highlight-text-model.directive.js +12 -10
- package/esm2015/lib/directives/highlight.pipe.js +15 -11
- package/esm2015/lib/interaction/abstract-interaction-context.js +1 -1
- package/esm2015/lib/interaction/activity-ref.js +1 -1
- package/esm2015/lib/interaction/activity.js +19 -12
- package/esm2015/lib/interaction/alert.js +1 -1
- package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.js +13 -9
- package/esm2015/lib/interaction/components/abstract-dialog.component.js +13 -9
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +36 -21
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.js +17 -11
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +25 -14
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +16 -17
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +22 -12
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +32 -20
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +17 -12
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +14 -11
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +21 -14
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +37 -19
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +34 -19
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +21 -11
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +20 -11
- package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js +20 -11
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +20 -11
- package/esm2015/lib/interaction/components/editors/edit-context.js +1 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +1 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +34 -19
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +34 -23
- package/esm2015/lib/interaction/components/input-activities/input-activity.js +25 -13
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +26 -7
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +23 -7
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +24 -18
- package/esm2015/lib/interaction/confirm.js +1 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js +28 -17
- package/esm2015/lib/interaction/exports.js +2 -1
- package/esm2015/lib/interaction/in-place-interaction-context.js +2 -0
- package/esm2015/lib/interaction/interaction-context.js +1 -1
- package/esm2015/lib/interaction/interaction.module.js +160 -80
- package/esm2015/lib/interaction/route-synchronisation-adapter.js +1 -1
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js +1 -1
- package/esm2015/lib/interaction/services/interaction.service.js +9 -10
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +19 -12
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +1 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +20 -16
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +19 -11
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +12 -9
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +50 -27
- package/esm2015/lib/place/components/place-outlet/route-animations.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +39 -17
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +18 -11
- package/esm2015/lib/place/exports.js +1 -1
- package/esm2015/lib/place/guards/consolidated-param-map.js +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.js +9 -8
- package/esm2015/lib/place/guards/place.guard.js +7 -13
- package/esm2015/lib/place/nav-item.js +1 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js +1 -1
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +1 -1
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js +1 -1
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +1 -1
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +1 -1
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +1 -1
- package/esm2015/lib/place/navigation/session/navigating.js +1 -1
- package/esm2015/lib/place/navigation/session/navigation-context.js +1 -1
- package/esm2015/lib/place/navigation/session/navigation-session.js +1 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js +1 -1
- package/esm2015/lib/place/place-access-guard.js +1 -1
- package/esm2015/lib/place/place-component.js +7 -5
- package/esm2015/lib/place/place-config.js +1 -1
- package/esm2015/lib/place/place-definition.js +1 -1
- package/esm2015/lib/place/place-history.js +9 -8
- package/esm2015/lib/place/place-router.js +9 -14
- package/esm2015/lib/place/place.decorator.js +1 -1
- package/esm2015/lib/place/place.module.js +78 -38
- package/esm2015/lib/place/route/formatter.js +1 -1
- package/esm2015/lib/place/route/json-types.js +1 -1
- package/esm2015/lib/place/route/parameter-decorators.js +1 -1
- package/esm2015/lib/place/route/parameter-definition.js +1 -1
- package/esm2015/lib/place/route/parameter-sanitiser.js +1 -1
- package/esm2015/lib/place/route/parameter-snapshot.js +1 -1
- package/esm2015/lib/place/route/visit-sanitiser.js +1 -1
- package/esm2015/lib/place/url-service.js +9 -12
- package/esm2015/lib/place/url-snapshot.js +1 -1
- package/esm2015/lib/place/visit.js +1 -1
- package/esm2015/lib/services/exports.js +1 -1
- package/esm2015/lib/services/markdown/markdown.service.js +7 -5
- package/esm2015/lib/services/markdown/pill-plugin.js +1 -1
- package/esm2015/lib/services/visibility-service.js +10 -9
- package/esm2015/public-api.js +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +2605 -1775
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/index.d.ts +1 -0
- package/lib/angular-ui-powerups.module.d.ts +16 -0
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +3 -0
- package/lib/components/cards/abstract-card-container.component.d.ts +3 -0
- package/lib/components/cards/card-container/card-container.component.d.ts +3 -0
- package/lib/components/cards/card-stack/card-stack.component.d.ts +3 -0
- package/lib/components/commands/command/command.component.d.ts +3 -0
- package/lib/components/commands/command-face/command-face.component.d.ts +3 -0
- package/lib/components/commands/flex.component.d.ts +3 -0
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +3 -0
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -1
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +15 -13
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +3 -0
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -0
- package/lib/components/commands/separator.component.d.ts +3 -0
- package/lib/components/components.module.d.ts +76 -0
- package/lib/components/disposable-component.d.ts +3 -0
- package/lib/components/empty-state/empty-state.component.d.ts +3 -0
- package/lib/components/focus-container/focus-container.component.d.ts +3 -0
- package/lib/components/focusable.component.d.ts +3 -0
- package/lib/components/forms/abstract-input.component.d.ts +3 -0
- package/lib/components/forms/abstract-list-input.component.d.ts +3 -0
- package/lib/components/forms/abstract-value-input.component.d.ts +3 -0
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +3 -0
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +3 -0
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +3 -0
- package/lib/components/forms/number-input/number-input.component.d.ts +3 -0
- package/lib/components/forms/password-input/password-input.component.d.ts +3 -0
- package/lib/components/forms/select-input/select-input.component.d.ts +3 -0
- package/lib/components/forms/string-input/string-input.component.d.ts +3 -0
- package/lib/components/forms/text-input/text-input.component.d.ts +3 -0
- package/lib/components/icon/icon.component.d.ts +5 -0
- package/lib/components/labelled-value/labelled-value.component.d.ts +3 -0
- package/lib/components/loading-container/loading-container.component.d.ts +3 -0
- package/lib/components/noop/noop.component.d.ts +3 -0
- package/lib/components/resize-aware.component.d.ts +3 -0
- package/lib/components/scroll-container/scroll-container.component.d.ts +3 -0
- package/lib/components/section-header/section-header.component.d.ts +3 -0
- package/lib/components/switch-case/switch-case.component.d.ts +7 -0
- package/lib/components/tables/abstract-table.component.d.ts +3 -0
- package/lib/components/tables/table/column-model.d.ts +7 -4
- package/lib/components/tables/table/column-template/column-template.directive.d.ts +3 -0
- package/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.d.ts +3 -0
- package/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +3 -0
- package/lib/components/tables/table/edit-row-controls/edit-row-controls.component.d.ts +3 -0
- package/lib/components/tables/table/paginator/paginator.component.d.ts +3 -0
- package/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.d.ts +3 -0
- package/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.d.ts +3 -0
- package/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.d.ts +6 -3
- package/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.d.ts +5 -1
- package/lib/components/tables/table/table-row-menu/table-row-menu.component.d.ts +3 -0
- package/lib/components/tables/table/table.component.d.ts +3 -0
- package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +4 -1
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +6 -4
- package/lib/components/tables/tree-table/tree-table-component.d.ts +3 -0
- package/lib/components/text/markdown/markdown.component.d.ts +3 -0
- package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +3 -0
- package/lib/directives/command.directive.d.ts +3 -0
- package/lib/directives/directives.module.d.ts +15 -0
- package/lib/directives/focus-binding-factory.d.ts +3 -0
- package/lib/directives/focus-binding.directive.d.ts +3 -0
- package/lib/directives/highlight-text-model.directive.d.ts +3 -0
- package/lib/directives/highlight.pipe.d.ts +3 -0
- package/lib/interaction/activity.d.ts +3 -0
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +3 -0
- package/lib/interaction/components/abstract-dialog.component.d.ts +3 -0
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -0
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +3 -0
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +3 -0
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -0
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +3 -0
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +3 -0
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +3 -0
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +3 -0
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +3 -0
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +3 -0
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +3 -0
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +3 -0
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +3 -0
- package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +3 -0
- package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +3 -0
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +3 -0
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +15 -11
- package/lib/interaction/components/input-activities/input-activity.d.ts +3 -0
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +3 -0
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +3 -0
- package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +3 -0
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -0
- package/lib/interaction/exports.d.ts +1 -0
- package/lib/interaction/in-place-interaction-context.d.ts +5 -0
- package/lib/interaction/interaction.module.d.ts +43 -0
- package/lib/interaction/services/interaction.service.d.ts +5 -2
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +3 -0
- package/lib/place/components/abstract-place-navigation.component.d.ts +5 -2
- package/lib/place/components/list-place-nav/list-place-nav.component.d.ts +3 -0
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +3 -0
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +3 -0
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +6 -1
- package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +3 -0
- package/lib/place/guards/noop-auth-guard.service.d.ts +3 -0
- package/lib/place/guards/place.guard.d.ts +3 -0
- package/lib/place/navigation/place-component-deactivation-handler.d.ts +2 -2
- package/lib/place/place-component.d.ts +4 -1
- package/lib/place/place-history.d.ts +3 -0
- package/lib/place/place-router.d.ts +3 -0
- package/lib/place/place.module.d.ts +22 -0
- package/lib/place/url-service.d.ts +3 -0
- package/lib/services/markdown/markdown.service.d.ts +3 -0
- package/lib/services/visibility-service.d.ts +3 -0
- package/package.json +31 -32
- package/schematics/place-routes/place-class-scanner.js +9 -2
- package/schematics/place-routes/place-class-scanner.js.map +1 -1
- package/schematics/place-routes/place-def.js +15 -4
- package/schematics/place-routes/place-def.js.map +1 -1
- package/schematics/utils/import-def.js +12 -3
- package/schematics/utils/import-def.js.map +1 -1
- package/schematics/utils/method-scanner.js +11 -2
- package/schematics/utils/method-scanner.js.map +1 -1
- package/schematics/utils/path-helper.js +15 -3
- package/schematics/utils/path-helper.js.map +1 -1
- package/assets/activities/activities.scss +0 -80
- package/assets/activities/input-activities.scss +0 -36
- package/assets/cards.scss +0 -17
- package/assets/commands.scss +0 -3
- package/assets/empty-state.scss +0 -11
- package/assets/form.scss +0 -100
- package/assets/forms/mixins.scss +0 -6
- package/assets/icons.scss +0 -30
- package/assets/interaction/editor/inline-string-editor.scss +0 -54
- package/assets/interaction.scss +0 -32
- package/assets/markdown.scss +0 -10
- package/assets/mixins.scss +0 -27
- package/assets/pills.scss +0 -45
- package/assets/router.scss +0 -9
- package/assets/styles.scss +0 -30
- package/assets/table.scss +0 -93
- package/assets/tabs.scss +0 -17
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js +0 -1347
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +0 -1
- package/coolon-angular-ui-powerups.metadata.json +0 -1
- package/cypress/component-builder.d.ts +0 -71
- package/cypress/components/aup-abstract-activity.d.ts +0 -31
- package/cypress/components/aup-abstract-table.d.ts +0 -18
- package/cypress/components/aup-activity.d.ts +0 -9
- package/cypress/components/aup-alert-dialog.d.ts +0 -27
- package/cypress/components/aup-alert.d.ts +0 -9
- package/cypress/components/aup-command-face.d.ts +0 -7
- package/cypress/components/aup-command-group.d.ts +0 -3
- package/cypress/components/aup-command.d.ts +0 -11
- package/cypress/components/aup-confirm-dialog.d.ts +0 -27
- package/cypress/components/aup-confirm.d.ts +0 -11
- package/cypress/components/aup-empty-state.d.ts +0 -4
- package/cypress/components/aup-input.d.ts +0 -35
- package/cypress/components/aup-modal-activity.d.ts +0 -24
- package/cypress/components/aup-modal-mixin.d.ts +0 -23
- package/cypress/components/aup-navigation.d.ts +0 -8
- package/cypress/components/aup-table.d.ts +0 -6
- package/cypress/components/aup-tool-bar.d.ts +0 -5
- package/cypress/components/aup-tree-table.d.ts +0 -16
- package/cypress/components/button.d.ts +0 -26
- package/cypress/components/form-element-mixin.d.ts +0 -22
- package/cypress/components/mat-checkbox.d.ts +0 -31
- package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
- package/cypress/components/popup/aup-more-menu.d.ts +0 -5
- package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
- package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
- package/cypress/components/table/aup-table-cell.d.ts +0 -9
- package/cypress/components/table/aup-table-column.d.ts +0 -10
- package/cypress/components/table/aup-table-row.d.ts +0 -17
- package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
- package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
- package/cypress/components/types.d.ts +0 -6
- package/cypress/coolon-angular-ui-powerups-cypress.d.ts +0 -5
- package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +0 -1
- package/cypress/element-locator.d.ts +0 -8
- package/cypress/exports.d.ts +0 -40
- package/cypress/package.json +0 -16
- package/cypress/page-builder.d.ts +0 -9
- package/cypress/page-element.d.ts +0 -22
- package/cypress/page.d.ts +0 -28
- package/cypress/path.d.ts +0 -26
- package/esm2015/coolon-angular-ui-powerups.js.map +0 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +0 -1
- package/esm2015/cypress/component-builder.js +0 -92
- package/esm2015/cypress/component-builder.js.map +0 -1
- package/esm2015/cypress/component-builder.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
- package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-table.js +0 -50
- package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
- package/esm2015/cypress/components/aup-activity.js +0 -13
- package/esm2015/cypress/components/aup-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
- package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert.js +0 -13
- package/esm2015/cypress/components/aup-alert.js.map +0 -1
- package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
- package/esm2015/cypress/components/aup-command-face.js +0 -18
- package/esm2015/cypress/components/aup-command-face.js.map +0 -1
- package/esm2015/cypress/components/aup-command-face.metadata.json +0 -1
- package/esm2015/cypress/components/aup-command-group.js +0 -4
- package/esm2015/cypress/components/aup-command-group.js.map +0 -1
- package/esm2015/cypress/components/aup-command-group.metadata.json +0 -1
- package/esm2015/cypress/components/aup-command.js +0 -31
- package/esm2015/cypress/components/aup-command.js.map +0 -1
- package/esm2015/cypress/components/aup-command.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
- package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm.js +0 -19
- package/esm2015/cypress/components/aup-confirm.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
- package/esm2015/cypress/components/aup-empty-state.js +0 -7
- package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
- package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
- package/esm2015/cypress/components/aup-input.js +0 -81
- package/esm2015/cypress/components/aup-input.js.map +0 -1
- package/esm2015/cypress/components/aup-input.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-activity.js +0 -5
- package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
- package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/aup-navigation.js +0 -17
- package/esm2015/cypress/components/aup-navigation.js.map +0 -1
- package/esm2015/cypress/components/aup-navigation.metadata.json +0 -1
- package/esm2015/cypress/components/aup-table.js +0 -8
- package/esm2015/cypress/components/aup-table.js.map +0 -1
- package/esm2015/cypress/components/aup-table.metadata.json +0 -1
- package/esm2015/cypress/components/aup-tool-bar.js +0 -8
- package/esm2015/cypress/components/aup-tool-bar.js.map +0 -1
- package/esm2015/cypress/components/aup-tool-bar.metadata.json +0 -1
- package/esm2015/cypress/components/aup-tree-table.js +0 -34
- package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
- package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
- package/esm2015/cypress/components/button.js +0 -9
- package/esm2015/cypress/components/button.js.map +0 -1
- package/esm2015/cypress/components/button.metadata.json +0 -1
- package/esm2015/cypress/components/form-element-mixin.js +0 -11
- package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
- package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/mat-checkbox.js +0 -34
- package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
- package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
- package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
- package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
- package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-column.js +0 -19
- package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-row.js +0 -28
- package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
- package/esm2015/cypress/components/types.js +0 -2
- package/esm2015/cypress/components/types.js.map +0 -1
- package/esm2015/cypress/coolon-angular-ui-powerups-cypress.js +0 -5
- package/esm2015/cypress/coolon-angular-ui-powerups-cypress.js.map +0 -1
- package/esm2015/cypress/coolon-angular-ui-powerups-cypress.metadata.json +0 -1
- package/esm2015/cypress/element-locator.js +0 -16
- package/esm2015/cypress/element-locator.js.map +0 -1
- package/esm2015/cypress/element-locator.metadata.json +0 -1
- package/esm2015/cypress/exports.js +0 -41
- package/esm2015/cypress/exports.js.map +0 -1
- package/esm2015/cypress/exports.metadata.json +0 -1
- package/esm2015/cypress/page-builder.js +0 -16
- package/esm2015/cypress/page-builder.js.map +0 -1
- package/esm2015/cypress/page-builder.metadata.json +0 -1
- package/esm2015/cypress/page-element.js +0 -50
- package/esm2015/cypress/page-element.js.map +0 -1
- package/esm2015/cypress/page-element.metadata.json +0 -1
- package/esm2015/cypress/page.js +0 -81
- package/esm2015/cypress/page.js.map +0 -1
- package/esm2015/cypress/page.metadata.json +0 -1
- package/esm2015/cypress/path.js +0 -63
- package/esm2015/cypress/path.js.map +0 -1
- package/esm2015/cypress/path.metadata.json +0 -1
- package/esm2015/lib/angular-ui-powerups.module.js.map +0 -1
- package/esm2015/lib/angular-ui-powerups.module.metadata.json +0 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +0 -1
- package/esm2015/lib/animations/exports.js.map +0 -1
- package/esm2015/lib/animations/exports.metadata.json +0 -1
- package/esm2015/lib/animations/slide-animations.js.map +0 -1
- package/esm2015/lib/animations/slide-animations.metadata.json +0 -1
- package/esm2015/lib/components/alignment.js.map +0 -1
- package/esm2015/lib/components/alignment.metadata.json +0 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.js.map +0 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +0 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/commands/command/command.component.js.map +0 -1
- package/esm2015/lib/components/commands/command/command.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/command/command.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/command/command.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.js.map +0 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +0 -1
- package/esm2015/lib/components/commands/command-face.js.map +0 -1
- package/esm2015/lib/components/commands/command-face.metadata.json +0 -1
- package/esm2015/lib/components/commands/flex.component.js.map +0 -1
- package/esm2015/lib/components/commands/flex.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/flex.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/group/command-container.js.map +0 -1
- package/esm2015/lib/components/commands/group/command-container.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-aware.component.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-aware.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-container.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-container.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.js.map +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +0 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.scss.ngstyle.js.map +0 -1
- package/esm2015/lib/components/commands/separator.component.js.map +0 -1
- package/esm2015/lib/components/commands/separator.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/separator.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/components.module.js.map +0 -1
- package/esm2015/lib/components/components.module.metadata.json +0 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +0 -1
- package/esm2015/lib/components/disposable-component.js.map +0 -1
- package/esm2015/lib/components/disposable-component.metadata.json +0 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js.map +0 -1
- package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +0 -1
- package/esm2015/lib/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/exports.js.map +0 -1
- package/esm2015/lib/components/exports.metadata.json +0 -1
- package/esm2015/lib/components/focus-container/focus-container.component.js.map +0 -1
- package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +0 -1
- package/esm2015/lib/components/focus-container/focus-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/focusable.component.js.map +0 -1
- package/esm2015/lib/components/focusable.component.metadata.json +0 -1
- package/esm2015/lib/components/focusable.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/abstract-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/abstract-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/abstract-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js.map +0 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +0 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/icon/icon.component.js.map +0 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +0 -1
- package/esm2015/lib/components/icon/icon.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.js.map +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/noop/noop.component.js.map +0 -1
- package/esm2015/lib/components/noop/noop.component.metadata.json +0 -1
- package/esm2015/lib/components/noop/noop.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/resize-aware.component.js.map +0 -1
- package/esm2015/lib/components/resize-aware.component.metadata.json +0 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +0 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +0 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/section-header/section-header.component.js.map +0 -1
- package/esm2015/lib/components/section-header/section-header.component.metadata.json +0 -1
- package/esm2015/lib/components/section-header/section-header.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js.map +0 -1
- package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +0 -1
- package/esm2015/lib/components/switch-case/switch-case.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/abstract-table-model.js.map +0 -1
- package/esm2015/lib/components/tables/abstract-table-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/abstract-table.component.js.map +0 -1
- package/esm2015/lib/components/tables/abstract-table.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/abstract-table.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/column-list-model.js.map +0 -1
- package/esm2015/lib/components/tables/column-list-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/edit-session.js.map +0 -1
- package/esm2015/lib/components/tables/edit-session.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/cell-editors.js.map +0 -1
- package/esm2015/lib/components/tables/table/cell-editors.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/cell-portal-ref.js.map +0 -1
- package/esm2015/lib/components/tables/table/cell-portal-ref.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/cell-renderer.js.map +0 -1
- package/esm2015/lib/components/tables/table/cell-renderer.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/column-model.js.map +0 -1
- package/esm2015/lib/components/tables/table/column-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/column-template/column-template.directive.js.map +0 -1
- package/esm2015/lib/components/tables/table/column-template/column-template.directive.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/column-template/column-template.directive.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/column-text-properties.js.map +0 -1
- package/esm2015/lib/components/tables/table/column-text-properties.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/mutable-cell-renderer.js.map +0 -1
- package/esm2015/lib/components/tables/table/mutable-cell-renderer.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-def.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-def.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-model.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/table.component.js.map +0 -1
- package/esm2015/lib/components/tables/table/table.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/table/table.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/table/text-search-predicate.js.map +0 -1
- package/esm2015/lib/components/tables/table/text-search-predicate.metadata.json +0 -1
- package/esm2015/lib/components/tables/table.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/decorated-tree-node.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/decorated-tree-node.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-expansion-model.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-expansion-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-column-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/text/markdown/markdown.component.js.map +0 -1
- package/esm2015/lib/components/text/markdown/markdown.component.metadata.json +0 -1
- package/esm2015/lib/components/text/markdown/markdown.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/text/markdown/markdown.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/track-by.js.map +0 -1
- package/esm2015/lib/components/types/bounds.class.js.map +0 -1
- package/esm2015/lib/components/types/bounds.class.metadata.json +0 -1
- package/esm2015/lib/components/types/dimension.class.js.map +0 -1
- package/esm2015/lib/components/types/dimension.class.metadata.json +0 -1
- package/esm2015/lib/components/types/point.class.js.map +0 -1
- package/esm2015/lib/components/types/point.class.metadata.json +0 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +0 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +0 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/directives/command.directive.js.map +0 -1
- package/esm2015/lib/directives/command.directive.metadata.json +0 -1
- package/esm2015/lib/directives/command.directive.ngfactory.js.map +0 -1
- package/esm2015/lib/directives/directives.module.js.map +0 -1
- package/esm2015/lib/directives/directives.module.metadata.json +0 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +0 -1
- package/esm2015/lib/directives/exports.js.map +0 -1
- package/esm2015/lib/directives/exports.metadata.json +0 -1
- package/esm2015/lib/directives/focus-binding-factory.js.map +0 -1
- package/esm2015/lib/directives/focus-binding-factory.metadata.json +0 -1
- package/esm2015/lib/directives/focus-binding-factory.ngfactory.js.map +0 -1
- package/esm2015/lib/directives/focus-binding.directive.js.map +0 -1
- package/esm2015/lib/directives/focus-binding.directive.metadata.json +0 -1
- package/esm2015/lib/directives/focus-binding.directive.ngfactory.js.map +0 -1
- package/esm2015/lib/directives/focus-binding.js.map +0 -1
- package/esm2015/lib/directives/focus-binding.metadata.json +0 -1
- package/esm2015/lib/directives/highlight-text-model.directive.js.map +0 -1
- package/esm2015/lib/directives/highlight-text-model.directive.metadata.json +0 -1
- package/esm2015/lib/directives/highlight-text-model.directive.ngfactory.js.map +0 -1
- package/esm2015/lib/directives/highlight.pipe.js.map +0 -1
- package/esm2015/lib/directives/highlight.pipe.metadata.json +0 -1
- package/esm2015/lib/directives/highlight.pipe.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/abstract-interaction-context.js.map +0 -1
- package/esm2015/lib/interaction/abstract-interaction-context.metadata.json +0 -1
- package/esm2015/lib/interaction/activity-ref.js.map +0 -1
- package/esm2015/lib/interaction/activity-ref.metadata.json +0 -1
- package/esm2015/lib/interaction/activity.js.map +0 -1
- package/esm2015/lib/interaction/activity.metadata.json +0 -1
- package/esm2015/lib/interaction/activity.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/alert.js.map +0 -1
- package/esm2015/lib/interaction/alert.metadata.json +0 -1
- package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.js.map +0 -1
- package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/abstract-dialog.component.js.map +0 -1
- package/esm2015/lib/interaction/components/abstract-dialog.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/abstract-dialog.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.html.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +0 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +0 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +0 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js.map +0 -1
- package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +0 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/edit-context.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +0 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +0 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +0 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/confirm.js.map +0 -1
- package/esm2015/lib/interaction/confirm.metadata.json +0 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +0 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.metadata.json +0 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/exports.js.map +0 -1
- package/esm2015/lib/interaction/exports.metadata.json +0 -1
- package/esm2015/lib/interaction/interaction-context.js.map +0 -1
- package/esm2015/lib/interaction/interaction-context.metadata.json +0 -1
- package/esm2015/lib/interaction/interaction.module.js.map +0 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +0 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +0 -1
- package/esm2015/lib/interaction/route-synchronisation-adapter.metadata.json +0 -1
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +0 -1
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.metadata.json +0 -1
- package/esm2015/lib/interaction/services/interaction.service.js.map +0 -1
- package/esm2015/lib/interaction/services/interaction.service.metadata.json +0 -1
- package/esm2015/lib/interaction/services/interaction.service.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +0 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.metadata.json +0 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +0 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.metadata.json +0 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +0 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.metadata.json +0 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +0 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +0 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +0 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +0 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js.map +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +0 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +0 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/components/place-outlet/route-animations.js.map +0 -1
- package/esm2015/lib/place/components/place-outlet/route-animations.metadata.json +0 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +0 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +0 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +0 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +0 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/exports.js.map +0 -1
- package/esm2015/lib/place/exports.metadata.json +0 -1
- package/esm2015/lib/place/guards/consolidated-param-map.js.map +0 -1
- package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +0 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.js.map +0 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.metadata.json +0 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +0 -1
- package/esm2015/lib/place/guards/place.guard.js.map +0 -1
- package/esm2015/lib/place/guards/place.guard.metadata.json +0 -1
- package/esm2015/lib/place/guards/place.guard.ngfactory.js.map +0 -1
- package/esm2015/lib/place/nav-item.js.map +0 -1
- package/esm2015/lib/place/nav-item.metadata.json +0 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +0 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +0 -1
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js.map +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +0 -1
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +0 -1
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +0 -1
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +0 -1
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/navigating.js.map +0 -1
- package/esm2015/lib/place/navigation/session/navigating.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/navigation-context.js.map +0 -1
- package/esm2015/lib/place/navigation/session/navigation-context.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/navigation-session.js.map +0 -1
- package/esm2015/lib/place/navigation/session/navigation-session.metadata.json +0 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +0 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.metadata.json +0 -1
- package/esm2015/lib/place/place-access-guard.js.map +0 -1
- package/esm2015/lib/place/place-access-guard.metadata.json +0 -1
- package/esm2015/lib/place/place-component.js.map +0 -1
- package/esm2015/lib/place/place-component.metadata.json +0 -1
- package/esm2015/lib/place/place-config.js.map +0 -1
- package/esm2015/lib/place/place-config.metadata.json +0 -1
- package/esm2015/lib/place/place-definition.js.map +0 -1
- package/esm2015/lib/place/place-definition.metadata.json +0 -1
- package/esm2015/lib/place/place-history.js.map +0 -1
- package/esm2015/lib/place/place-history.metadata.json +0 -1
- package/esm2015/lib/place/place-history.ngfactory.js.map +0 -1
- package/esm2015/lib/place/place-router.js.map +0 -1
- package/esm2015/lib/place/place-router.metadata.json +0 -1
- package/esm2015/lib/place/place-router.ngfactory.js.map +0 -1
- package/esm2015/lib/place/place.decorator.js.map +0 -1
- package/esm2015/lib/place/place.decorator.metadata.json +0 -1
- package/esm2015/lib/place/place.module.js.map +0 -1
- package/esm2015/lib/place/place.module.metadata.json +0 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +0 -1
- package/esm2015/lib/place/route/formatter.js.map +0 -1
- package/esm2015/lib/place/route/formatter.metadata.json +0 -1
- package/esm2015/lib/place/route/json-types.js.map +0 -1
- package/esm2015/lib/place/route/json-types.metadata.json +0 -1
- package/esm2015/lib/place/route/parameter-decorators.js.map +0 -1
- package/esm2015/lib/place/route/parameter-decorators.metadata.json +0 -1
- package/esm2015/lib/place/route/parameter-definition.js.map +0 -1
- package/esm2015/lib/place/route/parameter-definition.metadata.json +0 -1
- package/esm2015/lib/place/route/parameter-sanitiser.js.map +0 -1
- package/esm2015/lib/place/route/parameter-sanitiser.metadata.json +0 -1
- package/esm2015/lib/place/route/parameter-snapshot.js.map +0 -1
- package/esm2015/lib/place/route/parameter-snapshot.metadata.json +0 -1
- package/esm2015/lib/place/route/visit-sanitiser.js.map +0 -1
- package/esm2015/lib/place/route/visit-sanitiser.metadata.json +0 -1
- package/esm2015/lib/place/url-service.js.map +0 -1
- package/esm2015/lib/place/url-service.metadata.json +0 -1
- package/esm2015/lib/place/url-service.ngfactory.js.map +0 -1
- package/esm2015/lib/place/url-snapshot.js.map +0 -1
- package/esm2015/lib/place/url-snapshot.metadata.json +0 -1
- package/esm2015/lib/place/visit.js.map +0 -1
- package/esm2015/lib/place/visit.metadata.json +0 -1
- package/esm2015/lib/services/exports.js.map +0 -1
- package/esm2015/lib/services/exports.metadata.json +0 -1
- package/esm2015/lib/services/markdown/markdown.service.js.map +0 -1
- package/esm2015/lib/services/markdown/markdown.service.metadata.json +0 -1
- package/esm2015/lib/services/markdown/markdown.service.ngfactory.js.map +0 -1
- package/esm2015/lib/services/markdown/pill-plugin.js.map +0 -1
- package/esm2015/lib/services/markdown/pill-plugin.metadata.json +0 -1
- package/esm2015/lib/services/visibility-service.js.map +0 -1
- package/esm2015/lib/services/visibility-service.metadata.json +0 -1
- package/esm2015/lib/services/visibility-service.ngfactory.js.map +0 -1
- package/esm2015/public-api.js.map +0 -1
- package/esm2015/public-api.metadata.json +0 -1
- package/fesm2015/coolon-angular-ui-powerups-cypress.js +0 -787
- package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-session.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/navigation/session/navigation-session.ts"],"names":[],"mappings":";AACA,OAAO,EAAO,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAS,MAAM,gBAAgB,CAAC;AAQ5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAG5F;;GAEG;AACH,MAAM,OAAgB,iBAAkB,SAAQ,gBAAgB;IAU9D,YAAqB,OAA0B,EAAW,WAAmB;QAC3E,KAAK,EAAE,CAAC;QADW,YAAO,GAAP,OAAO,CAAmB;QAAW,gBAAW,GAAX,WAAW,CAAQ;QAR7E,sBAAiB,GAAa,EAAE,CAAC;QACzB,YAAO,GAAG,IAAI,GAAG,EAA0B,CAAC;QAE5C,kCAA6B,GAAG,IAAI,GAAG,EAAqD,CAAC;QAOnG,wDAAwD;QACxD,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,iCAAiC,EAAE,CAAC;QACrG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE;YAClB,+FAA+F;YAC/F,8FAA8F;YAC9F,iGAAiG;YACjG,8FAA8F;YAC9F,IAAI,IAAI,CAAC,mBAAmB,EAAE;gBAC5B,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAE,CAAC,CAAC,yCAAyC;aAC9E;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IAC/B,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC;IACjC,CAAC;IAED,IAAI,yBAAyB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC;IAC/C,CAAC;IAED,UAAU,CAAC,KAAY;QACrB,qFAAqF;QACrF,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;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,GAAW;QACnE,sFAAsF;QACtF,wGAAwG;QACxG,oCAAoC;QACpC,iBAAiB;QACjB,sEAAsE;QACtE,wDAAwD;QACxD,IAAI,CAAC,oBAAoB,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3D,CAAC;IAES,qCAAqC;QAC7C,MAAM,OAAO,GAAG,IAAI,CAAC,mBAAmB,CAAC;QACzC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAChC,OAAO,OAAO,CAAC;IACjB,CAAC;CACF","sourcesContent":["import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, RouterEvent } from '@angular/router';\nimport { Dsl, GarbageCollector, lang, Logger, Trace } from '@coolon/pectin';\nimport { InteractionContext } from '../../../interaction/interaction-context';\nimport { InteractionServiceRoutingAdapter } from '../../../interaction/services/interaction-service-routing-adapter';\nimport { PlaceComponent } from '../../place-component';\nimport { PlaceDefinition } from '../../place-definition';\nimport { UrlService } from '../../url-service';\nimport { UrlSnapshot } from '../../url-snapshot';\nimport { Visit } from '../../visit';\nimport { PlaceComponentDeactivationHandler } from '../place-component-deactivation-handler';\nimport { NavigationContext } from './navigation-context';\n\n/**\n * Transient states\n */\nexport abstract class NavigationSession extends GarbageCollector {\n\n debugPropertyKeys: string[] = [];\n private _visits = new Map<PlaceDefinition, Visit>();\n\n private componentDeactivationHandlers = new Map<PlaceComponent, PlaceComponentDeactivationHandler>();\n abstract readonly isPopState: boolean;\n\n private _interactionContext: InteractionContext;\n\n constructor(readonly context: NavigationContext, readonly startingUrl: string) {\n super();\n // TODO: can I get away without creating one every time?\n this._interactionContext = this.context.routerInteractionAdapter.createExclusiveInteractionContext();\n this.onDispose(() => {\n // the interaction context can be detached during the back button cancellation state transition\n // as the transition is synchronous and activityCancellation isn't. Otherwise dispose will be\n // called before the context has been cancelled. It might be work having the interaction context\n // automatically cancel if the context is disposed so we don't have worry about detaching etc.\n if (this._interactionContext) {\n this._interactionContext.dispose(); // or do something like cancelAndDispose?\n }\n });\n }\n\n get name(): string {\n return this.constructor.name;\n }\n\n get urlService(): UrlService {\n return this.context.urlService;\n }\n\n get interactionServiceAdapter(): InteractionServiceRoutingAdapter {\n return this.context.routerInteractionAdapter;\n }\n\n storeVisit(visit: Visit) {\n // console.log(`Storing visit for ${visit.placeDefinition.component.name}`, {visit});\n this._visits.set(visit.placeDefinition, visit);\n }\n\n\n getVisitFor(placeDef: PlaceDefinition) {\n const visit = this._visits.get(placeDef);\n // console.log(`Getting visit for ${placeDef.component.name}`, {visit});\n return visit;\n }\n\n get canDeactivateInteractionContext(): InteractionContext {\n return this._interactionContext;\n }\n\n notifyActive() {\n // noop.\n }\n\n onRouterStarted(event: NavigationStart): void {\n // navigation sessions can have many cancel start cycles due to place guard redirects\n this.ignore(event);\n }\n\n // @Trace()\n onUrlChange(url: string) {\n // Normally we just ignore these but they are the only way of detecting if the back button\n // was clicked during a canDeactivate promise.\n // 1. a route is in progress and awaiting a canDeactivateGuard\n // 2. the user the clicks the back button.\n // So to handle that scenario we need to check if we've got a can deactivate interaction in\n // progress and the do the appropriate clean up.\n if (this.canDeactivateInteractionContext && this.canDeactivateInteractionContext.isActive()) {\n this.cancelCanDeactivateInteraction(url);\n }\n }\n\n onPopState(event: NavigationStart): void {\n return this.illegalTransition(event);\n }\n\n onRouterCancelled(event: NavigationCancel): void {\n return this.illegalTransition(event);\n }\n\n onRouterError(event: NavigationError): void {\n return this.illegalTransition(event);\n }\n\n onRouterEnd(event: NavigationEnd): void {\n return this.illegalTransition(event);\n }\n\n getVisits(): Visit[] {\n return Array.from(this._visits.values());\n }\n\n protected illegalTransition<R>(message: string | RouterEvent): R {\n return lang.illegalState(`${message.toString()} not supported by ${this.toString()}`);\n }\n\n protected currentRouterUrl(): string {\n return this.urlService.getCurrentRouterUrl();\n }\n\n resetBrowserLocation(url, options: { replaceCurrent: boolean } = { replaceCurrent: false }) {\n // console.log(`---> resetting browser location to: ${url}`);\n this.urlService.resetBrowserLocation(url, options);\n }\n\n // @Trace()\n protected repairBrowserHistoryAndUrlAfterGuardCancellation(poppedHistoryToReplace: string, activeUrl:string): void {\n // Important: I tried to perform this fix at a later point int he routing cycle but it created all kinds of\n // strangeness.\n Logger.get(this).info('WORK-AROUND: Updating browser location after pop state - see angular issue #13586');\n // console.log(`replacing ${this.urlService.getCurrentLocationUrlSnapshot().url} with ${poppedHistoryToReplace}`);\n this.urlService.resetBrowserLocation(poppedHistoryToReplace, { replaceCurrent: true });\n // console.log(`pushing ${activeUrl} back onto the history.`);\n this.urlService.resetBrowserLocation(activeUrl, { replaceCurrent: false });\n }\n\n\n ignore(event: RouterEvent, reason?: string): void {\n reason = reason ? ` -> ${reason}` : '';\n // Logger.get(this).info(`Ignoring router event${reason}: ${event.constructor.name} -> ${event.url} :: ${this.toString()}`);\n }\n\n toString(): string {\n return `${this.constructor.name}(${this.debugState()})`;\n }\n\n protected debugState(properties?: string[]) {\n return (properties || this.debugPropertyKeys).map(p => {\n return `${p}: ${this[p]}`;\n }).join(', ');\n }\n\n async canDeactivatePlace(component: PlaceComponent, currentUrl: UrlSnapshot, nextUrl: UrlSnapshot): Promise<boolean | UrlSnapshot> {\n // console.log(`---> canDeactivatePlace(${component.placeDefinition.path}, ${currentUrl.url} -> ${nextUrl.url})`);\n // lookup the handler and create it if we've not seen it yet\n let handler = this.componentDeactivationHandlers.get(component);\n if (!handler) {\n const isPrimaryHandler = this.componentDeactivationHandlers.size === 0; // only primary handler cancels the app model interations\n handler = new PlaceComponentDeactivationHandler(component, this, isPrimaryHandler);\n this.componentDeactivationHandlers.set(component, handler);\n }\n return handler.canDeactivate(currentUrl, nextUrl).then(result => {\n // console.log(`<--- canDeactivatePlace(${component.placeDefinition.path}): ${result}`);\n return result;\n }).catch(error => {\n throw error;\n });\n }\n\n cancelCanDeactivateInteraction(newUrl: string): void {\n Logger.get(this).info(`back button pressed during navigation session interaction promise`);\n // detach the interaction from the session so it doesn't get disposed until the activity has finished\n // all it's things.\n const canDeactivateInteractionContext = this.detachCanDeactivateInteractionContext();\n // TODO: I need to make the exclusive interaction context disallow nested activities or\n // that would mess things up entirely. Or, can I do a context.abortAll().then(..)\n Logger.get(this).info('cancelling current navigation activity..');\n canDeactivateInteractionContext.cancelActiveActivity().then(() => {\n canDeactivateInteractionContext.dispose();\n });\n\n this.handleCanDeactivateCancelledEventScenario(newUrl);\n }\n\n abstract handleCanDeactivateCancelledEventScenario(newUrl: string): void\n\n protected reinstateUrlAfterAngularChangedItOnCancellation(url: string) {\n // Angular calls _this.resetUrlToCurrentUrlTree() on cancelling and fucks our history.\n // So this means that the top of the stack is the url we want to go back to, and not the one that was on\n // it before the cancel event fired.\n // So we need to:\n // - replace the just inserted url with the one that used to be there.\n // - push our actual url back onto the top of the stack.\n this.resetBrowserLocation(url, { replaceCurrent: true });\n }\n\n protected detachCanDeactivateInteractionContext(): InteractionContext {\n const context = this._interactionContext;\n this._interactionContext = null;\n return context;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"NavigationSession":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@coolon/pectin","name":"GarbageCollector","line":15,"character":48},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./navigation-context","name":"NavigationContext","line":25,"character":32},{"__symbolic":"reference","name":"string"}]}],"storeVisit":[{"__symbolic":"method"}],"getVisitFor":[{"__symbolic":"method"}],"notifyActive":[{"__symbolic":"method"}],"onRouterStarted":[{"__symbolic":"method"}],"onUrlChange":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onRouterCancelled":[{"__symbolic":"method"}],"onRouterError":[{"__symbolic":"method"}],"onRouterEnd":[{"__symbolic":"method"}],"getVisits":[{"__symbolic":"method"}],"illegalTransition":[{"__symbolic":"method"}],"currentRouterUrl":[{"__symbolic":"method"}],"resetBrowserLocation":[{"__symbolic":"method"}],"repairBrowserHistoryAndUrlAfterGuardCancellation":[{"__symbolic":"method"}],"ignore":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"debugState":[{"__symbolic":"method"}],"canDeactivatePlace":[{"__symbolic":"method"}],"cancelCanDeactivateInteraction":[{"__symbolic":"method"}],"handleCanDeactivateCancelledEventScenario":[{"__symbolic":"method"}],"reinstateUrlAfterAngularChangedItOnCancellation":[{"__symbolic":"method"}],"detachCanDeactivateInteractionContext":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pop-state-navigation.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/navigation/session/pop-state-navigation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,uDAAuD,EAAE,MAAM,+EAA+E,CAAC;AAExJ,MAAM,OAAO,kBAAmB,SAAQ,0BAA0B;IAEhE,iBAAiB,CAAC,KAAuB;QACvC,IAAI,CAAC,gDAAgD,EAAE,CAAC;QACxD,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,WAAW,CAAC,KAAoB;QAC9B,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,yCAAyC,CAAC,kBAA0B;QAClE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,uDAAuD,CAAC,IAAI,CAAC,OAAO,EAChG,IAAI,CAAC,WAAW,EAChB,kBAAkB,EAClB,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC5B,CAAC;CAEF","sourcesContent":["import { NavigationCancel, NavigationEnd } from '@angular/router';\nimport { AbstractPopStateNavigation } from './abstract-pop-state-navigation';\nimport { WaitUntilPopStateDuringCanDeactivateInteractionFinishes } from './event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes';\n\nexport class PopStateNavigation extends AbstractPopStateNavigation {\n\n onRouterCancelled(event: NavigationCancel): void {\n this.repairBrowserHistoryAndUrlAfterGuardCancellation();\n this.context.finishRoutingSession();\n }\n\n onRouterEnd(event: NavigationEnd): void {\n this.context.finishRoutingSession(this.getVisits());\n }\n\n handleCanDeactivateCancelledEventScenario(locationTriggerUrl: string): void {\n this.context.transitionTo(new WaitUntilPopStateDuringCanDeactivateInteractionFinishes(this.context,\n this.startingUrl,\n locationTriggerUrl,\n this.poppedHistoryUrl));\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"PopStateNavigation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./abstract-pop-state-navigation","name":"AbstractPopStateNavigation","line":4,"character":40},"members":{"onRouterCancelled":[{"__symbolic":"method"}],"onRouterEnd":[{"__symbolic":"method"}],"handleCanDeactivateCancelledEventScenario":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-access-guard.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-access-guard.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,gBAAgB,CAYhC;AAZD,WAAiB,gBAAgB;IAC/B,MAAa,MAAM;QACjB,WAAW;QACX,eAAe;YACb,OAAO,IAAI,CAAC;QACd,CAAC;QACD,WAAW;QACX,YAAY,CAAC,eAAgC;YAC3C,OAAO,IAAI,CAAC;QACd,CAAC;KAEF;IAVY,uBAAM,SAUlB,CAAA;AACH,CAAC,EAZgB,gBAAgB,KAAhB,gBAAgB,QAYhC","sourcesContent":["import { Trace } from '@coolon/pectin';\nimport { PlaceDefinition } from './place-definition';\n\nexport interface PlaceAccessGuard {\n isAuthenticated(): boolean | Promise<boolean>;\n isAuthorised(placeDefinition: PlaceDefinition): boolean;\n}\n\nexport namespace PlaceAccessGuard {\n export class NoAuth implements PlaceAccessGuard {\n // @Trace()\n isAuthenticated(): boolean | Promise<boolean> {\n return true;\n }\n // @Trace()\n isAuthorised(placeDefinition: PlaceDefinition): boolean {\n return true;\n }\n\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"PlaceAccessGuard":{"__symbolic":"interface"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-component.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,MAAM,EACN,OAAO,EAEP,YAAY,EACZ,GAAG,EACH,KAAK,EAEL,IAAI,EACJ,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAKnE,8CAA8C;AAC9C,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AACnE,qBAAqB;AACrB,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAGzE,MAAM,0BAA0B;IAC9B,YAAY,YAAoC,EAAE,KAAoB,EAAE,QAA6C,EAAE,OAAwC;IAC/J,CAAC;IAEK,UAAU,CAAC,SAAgB,EAAE,kBAAsC;;YACvE,OAAO,IAAI,CAAC;QACd,CAAC;KAAA;CACF;AAGD,MAAM,OAAO,cAAe,SAAQ,mBAAmB;IAar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C;AAgEH,WAAiB,cAAc;IAE7B,SAAgB,2BAA2B,CAAC,MAAW;QACrD,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAA4B,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IACtF,CAAC;IAFe,0CAA2B,8BAE1C,CAAA;IAED,SAAgB,kBAAkB,CAAC,KAAoC;QACrE,OAAO,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,wBAAwB,CAA+B,CAAC;IAClG,CAAC;IAFe,iCAAkB,qBAEjC,CAAA;IAED,SAAgB,aAAa,CAAC,qBAA6E;QACzG,IAAI,qBAAqB,YAAY,sBAAsB,EAAE;YAC3D,MAAM,SAAS,GAAG,qBAAqB,CAAC,SAAS,CAAC;YAClD,IAAI,CAAC,2BAA2B,CAAC,SAAS,CAAC,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,iEAAiE,SAAS,EAAE,CAAC,CAAC;aAC/F;YACD,OAAO,OAAO,CAAC,WAAW,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;SACjE;aAAM;YACL,OAAO,OAAO,CAAC,WAAW,CAAC,wBAAwB,EAAE,qBAAqB,CAAC,CAAC;SAC7E;IACH,CAAC;IAVe,4BAAa,gBAU5B,CAAA;IAED,SAAgB,gBAAgB,CAAC,KAAoC,EAAE,UAA2B;QAChG,OAAO,CAAC,cAAc,CAAC,wBAAwB,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;IAFe,+BAAgB,mBAE/B,CAAA;AASH,CAAC,EAjCgB,cAAc,KAAd,cAAc,QAiC9B","sourcesContent":["import { Directive } from '@angular/core';\nimport { ActivatedRouteSnapshot } from '@angular/router';\nimport {\n assert,\n Binding,\n Constructable,\n DebugContext,\n Dsl,\n Guard,\n IMutableHasValue,\n lang,\n MutableValueModel,\n ValueModel\n} from '@coolon/pectin';\nimport { Klass } from '@coolon/typescript-utilities';\nimport { Memoize } from '@typescript-plus/fast-memoize-decorator';\nimport 'reflect-metadata';\nimport { isNil } from 'lodash-es';\nimport { DisposableComponent } from '../components/disposable-component';\nimport { InteractionContext } from '../interaction/interaction-context';\nimport { PlaceDefinition } from './place-definition';\nimport { ParameterDefinition } from './route/parameter-definition';\nimport { UrlSnapshot } from './url-snapshot';\nimport { Visit } from './visit';\n\n\n// RAKE: making this Symbol(...) broke things.\nexport const DEFINITION_META_DATA_KEY = 'PLACE_DEFINITION_OPTIONS';\n// this one seems ok.\nexport const ROUTE_PARAMETER_LIST_KEY = Symbol('place:route:parameters');\n\n\nclass ParameterChangeInterceptor<T> {\n constructor(parameterDef: ParameterDefinition<T>, model: ValueModel<T>, callback: PlaceComponent.InterceptCallback<T>, options: PlaceComponent.InterceptOptions) {\n }\n\n async canProceed(nextState: Visit, interactionContext: InteractionContext) {\n return true;\n }\n}\n\n@Directive()\nexport class PlaceComponent extends DisposableComponent {\n\n private readonly _placeReadyCallbacks: Function[] = [];\n private visitModel = new MutableValueModel<Visit>();\n private _inVisitUpdate = new Guard();\n private _active = new MutableValueModel<boolean>(false);\n\n interactionContext?: InteractionContext;\n readonly childPlaces: ReadonlyArray<Constructable<PlaceComponent>>;\n private readonly _parameterChangeInterceptors: ParameterChangeInterceptor<any>[] = [];\n\n canDeactivate?(interactionContext: InteractionContext): boolean | Promise<boolean>;\n\n constructor() {\n super();\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n when(this._active).becomesTruthy(() => this._notifyPlaceReady());\n this.childPlaces = this.placeDefinition.children.map(d => d.component);\n }\n\n public initialiseVisit(visit: Visit, notifyVisitChanged: (current: Visit, previous: Visit) => void) {\n assert.isNil(this.visitModel.value);\n\n const { when } = Dsl.disposeWith(this);\n\n this.visitModel.value = visit;\n DebugContext.getOrCreate(this.visitModel).tag(`${this.placeDefinition.component.name}.visitModel`);\n\n // we track if the any of the bindings updated the route. If so we remember it and update the\n // route in one go at the end.\n this.placeDefinition\n .getVisitParameterDefs()\n .forEach(parameterDef => this.installAndInitialiseBinding(visit, parameterDef));\n\n when(this.visitModel).changes((current, previous) => {\n notifyVisitChanged(current, previous);\n }, { unless: this._inVisitUpdate });\n\n // TODO: this needs to do a replace url option so that the new url isn't put in the history.... for\n // now we're not doing it as it's a fair bit of effort and will only affect people if they're\n // cutting and pasting urls to each other.\n // // the binding process can update the visit (e.g. if a selection model has already selected during\n // // component construction) and there was no value specified in the route\n // if (visit.hasRoutingChangedFrom(this.visitModel.value)) {\n // notifyVisitChanged(this.visitModel.value, visit)\n // }\n }\n\n public updateVisit(visit: Visit) {\n assert.isTruthy(this.isInitialised());\n assert.notNil(visit);\n this._inVisitUpdate.whileTrue(() => {\n this.visitModel.value = visit;\n });\n }\n\n isInitialised() {\n return !!this.visitModel.value;\n }\n\n // @Trace()\n /**\n * Initialised the component bindings. If any binding has an initial model value (e.g. a selection model\n * initialised during the constructor) and the route has nothing, then the visit will be udpated and this\n * method will return ture to nofiy the the visit has changed.\n */\n private installAndInitialiseBinding<T, S>(initialVisit: Visit, parameterDef: ParameterDefinition<T, S>) {\n const model = this[parameterDef.propertyName] as IMutableHasValue<T>;\n DebugContext.tag(model, `${this.placeDefinition.component.name}.${parameterDef.propertyName}`);\n const binding = this.registerDisposable(new Binding(this.visitModel, model, {\n toRight(visit: Visit): T {\n const value = visit.getParameterValue(parameterDef);\n // console.log('push to component', { name: parameterDef.name, value, visit });\n return value;\n },\n toLeft(value: T, currentVisit?: Visit): Visit {\n // console.log('push to route', { name: parameterDef.name, value, currentVisit });\n return currentVisit.replace(parameterDef, value);\n }\n }));\n\n // Now we need to initialise the binding direction. If we have a value in the Url then we should always push\n // that to the view. If we don't and the view already has a value (e.g. a selection model has already initialised in the\n // component constructor) then we should push that to the route.\n const isInVisit = !isNil(initialVisit.getParameterValue(parameterDef));\n const isInModel = !isNil(model.value);\n if (!isInVisit && isInModel) {\n binding.writeLeft(); // push it to the route\n } else {\n binding.writeRight(); // push it to the model\n }\n }\n\n @Memoize()\n get placeDefinition(): PlaceDefinition {\n const definition = PlaceComponent.getDefinition(this.constructor as any as Constructable<PlaceComponent>);\n if (!definition) {\n lang.illegalState(`${this.constructor.name} extends PlaceComponent but doesn't have @Place({..}) decorator.`)\n }\n return definition;\n }\n\n get active() {\n return this._active.readonly;\n }\n\n /**\n * Called by the router to see if this component can deactivate. This isn't called for route parameter changes.\n * @param interactionContext\n */\n async _canLeavePlace(interactionContext: InteractionContext): Promise<boolean> {\n return this.canDeactivate ? this.canDeactivate(interactionContext) : true;\n }\n\n /**\n * Called by the router to see if this component can deactivate. This isn't called for route parameter changes.\n * @param interactionContext\n * @param nextState\n */\n async _canChangeRouteParameters(interactionContext: InteractionContext, nextState: UrlSnapshot): Promise<boolean> {\n if (this._parameterChangeInterceptors.length > 0) {\n const visit = nextState.createVisitFor(this.placeDefinition);\n for (let i = 0; i < this._parameterChangeInterceptors.length; i++) {\n const interceptor = this._parameterChangeInterceptors[i];\n const keepGoing = await interceptor.canProceed(visit, interactionContext);\n if (!keepGoing) {\n return false;\n }\n }\n }\n return true;\n }\n\n\n /**\n * Called by the router when the place is ready to interact after any animations have run.\n */\n _notifyActive(active: boolean) {\n this._active.value = active;\n }\n\n /**\n * Called by the router when the place is ready to interact after any animations have run.\n */\n _notifyPlaceReady() {\n if (this.onPlaceReady.length === 1) {\n this._placeReadyCallbacks.forEach(callback => callback());\n } else {\n console.warn('Overriding PlaceComponent.onPlaceReady has been deprecated. Use PlaceComponent.onPlaceReady(() => {... do stuff...}) instead.');\n this.onPlaceReady(undefined);\n }\n }\n\n onPlaceReady(callback: () => void) {\n this._placeReadyCallbacks.push(callback);\n }\n\n interceptVisitParameterChange<T>(model: ValueModel<T>, callback: PlaceComponent.InterceptCallback<T>, options?: PlaceComponent.InterceptOptions) {\n const parameterDef = ParameterDefinition.get(model);\n this._parameterChangeInterceptors.push(new ParameterChangeInterceptor(parameterDef, model, callback, options));\n }\n\n}\n\nexport namespace PlaceComponent {\n\n export function isPlaceComponentConstructor(target: any): target is Constructable<PlaceComponent> {\n return lang.constructorChain(target as Constructable<any>).includes(PlaceComponent);\n }\n\n export function getRouteParameters(klass: Constructable<PlaceComponent>): ParameterDefinition<any>[] {\n return Klass.get(klass).getMetadataList(ROUTE_PARAMETER_LIST_KEY) as ParameterDefinition<any>[];\n }\n\n export function getDefinition(snapshotOrConstructor: ActivatedRouteSnapshot | Constructable<PlaceComponent>): PlaceDefinition {\n if (snapshotOrConstructor instanceof ActivatedRouteSnapshot) {\n const component = snapshotOrConstructor.component;\n if (!isPlaceComponentConstructor(component)) {\n throw new Error(`ActivatedRouteSnapshot component is not a PlaceComponent, got ${component}`);\n }\n return Reflect.getMetadata(DEFINITION_META_DATA_KEY, component);\n } else {\n return Reflect.getMetadata(DEFINITION_META_DATA_KEY, snapshotOrConstructor);\n }\n }\n\n export function injectDefinition(klass: Constructable<PlaceComponent>, definition: PlaceDefinition) {\n Reflect.defineMetadata(DEFINITION_META_DATA_KEY, definition, klass);\n }\n\n export type InterceptCallback<T> = (is: T, was: T, interactionContext: InteractionContext) => boolean | Promise<boolean>;\n\n export interface InterceptOptions {\n initialValue: 'evaluationUnlessNil' | 'evaluate'\n }\n\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"DEFINITION_META_DATA_KEY":"PLACE_DEFINITION_OPTIONS","ROUTE_PARAMETER_LIST_KEY":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Symbol"},"arguments":["place:route:parameters"]},"PlaceComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../components/disposable-component","name":"DisposableComponent","line":42,"character":36},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":41,"character":1}}],"members":{"canDeactivate":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor"}],"initialiseVisit":[{"__symbolic":"method"}],"updateVisit":[{"__symbolic":"method"}],"isInitialised":[{"__symbolic":"method"}],"installAndInitialiseBinding":[{"__symbolic":"method"}],"placeDefinition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@typescript-plus/fast-memoize-decorator","name":"Memoize","line":135,"character":3}}]}],"_canLeavePlace":[{"__symbolic":"method"}],"_canChangeRouteParameters":[{"__symbolic":"method"}],"_notifyActive":[{"__symbolic":"method"}],"_notifyPlaceReady":[{"__symbolic":"method"}],"onPlaceReady":[{"__symbolic":"method"}],"interceptVisitParameterChange":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-config.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,cAAc,CAAc,kBAAkB,CAAC,CAAC","sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const AUP_PLACE_CONFIG = new InjectionToken<PlaceConfig>('AUP_PLACE_CONFIG');\n\nexport interface PlaceConfig {\n animationDuration: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"AUP_PLACE_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":36},"arguments":["AUP_PLACE_CONFIG"]},"PlaceConfig":{"__symbolic":"interface"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-definition.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-definition.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAwB,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,W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,KAAK,CAAC,CAAC;yBAC/C;qBACF;yBAAM;wBACL,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;qBAC/C;iBACF;aACF;QACH,CAAC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;CAEF;AAjHC;IADC,OAAO,EAAE;;;oCACgB,mBAAmB;6DAE5C;AAGD;IADC,OAAO,EAAE;;;;4DAGT;AAGD;IADC,OAAO,EAAE;;;;4DAYT","sourcesContent":["import { ParamMap } from '@angular/router';\nimport { assert, Constructable, Trace } from '@coolon/pectin';\nimport { Opts } from '@coolon/typescript-utilities';\nimport { Memoize } from '@typescript-plus/fast-memoize-decorator';\n\nimport { isEmpty, isNil } from 'lodash-es';\nimport { PlaceComponent } from './place-component';\nimport { ParameterDefinition } from './route/parameter-definition';\nimport { Visit } from './visit';\n\nexport class PlaceDefinition {\n\n constructor(readonly component: Constructable<PlaceComponent>,\n readonly path: string,\n readonly authenticate: boolean,\n readonly role: any,\n readonly data: { [key: string]: any },\n readonly routeParameters: ParameterDefinition<any>[],\n readonly children: PlaceDefinition[]) {\n }\n\n hasRouteId() {\n return !!this.getRouteIdParameterDef();\n }\n\n @Memoize()\n getRouteIdParameterDef(): ParameterDefinition<any> {\n return this.routeParameters.find(p => p.isRouteId);\n }\n\n @Memoize()\n getRouteParameterDefs(includeRouteId = false): ParameterDefinition<any>[] {\n return this.getVisitParameterDefs({ includeRouteId, includeRouteParameters: true });\n }\n\n @Memoize()\n getVisitParameterDefs(include?: PlaceDefinition.ParameterOptions): ParameterDefinition<any>[] {\n const opts = Opts.get(include);\n // includes\n const includeRouteId = !include || opts.getOptional('includeRouteId', false);\n const includeRouteParameters = !include || opts.getOptional('includeRouteParameters', false);\n const includeNonRouteParameters = !include || opts.getOptional('includeNonRouteParameters', false);\n return this.routeParameters.filter(p => {\n return (includeRouteId && p.isRouteId)\n || (includeRouteParameters && p.isRouteParameter && !p.isRouteId) // route id is included in the line above\n || (includeNonRouteParameters && !p.isRouteParameter);\n });\n }\n\n getPlaceData<T>(key: string, defaultValue?: T): T {\n return this.data ?\n isNil(this.data[key]) ? defaultValue : this.data[key] :\n defaultValue;\n }\n\n searchPlaceData<T>(keys: string[], defaultValue?: T): T {\n if (this.data) {\n const found = keys.find(key => !isNil(this.data[key]));\n return found ? this.data[found] : defaultValue;\n } else {\n return defaultValue;\n }\n }\n\n getRouteIdFrom(visit: Visit) {\n const routeIdParameterDef = this.getRouteIdParameterDef();\n return routeIdParameterDef ? visit.getParameterValue(routeIdParameterDef) : null;\n }\n\n getFormattedRouteId(visit: Visit): any {\n // Note: RouteIds are always present in the url and are just empty strings when not defined. This is\n // mandated by the fact that redirects from <path> to <path>/:id always include the id parameter as\n // an empty string.\n return visit.hasRouteId() ? this.getRouteIdParameterDef().urlFormat.format(visit.getRouteId()) : \"\";\n }\n\n // @Trace()\n getFormattedRouteParameters(visit: Visit, includeRouteId = false): { [p: string]: string } {\n const result: { [p: string]: string } = {};\n this.getVisitParameterDefs({\n includeRouteId, includeRouteParameters: true\n }).forEach(def => {\n const value = visit.getParameterValue(def);\n if (!def.isEmptyValue(value)) {\n if (def.isArray) {\n assert.isArray(value);\n result[def.name] = value.map(v => def.urlFormat.format(v));\n } else {\n assert.isFalsey(Array.isArray(value));\n result[def.name] = def.urlFormat.format(value);\n }\n }\n });\n return result;\n }\n\n getNonRouteParameters(visit: Visit): { [p: string]: string } {\n const result: { [p: string]: string } = {};\n this.getVisitParameterDefs({ includeNonRouteParameters: true }).forEach(def => {\n const value = visit.getParameterValue(def);\n if (!def.isEmptyValue(value)) {\n result[def.name] = value;\n }\n });\n return result;\n }\n\n // @Trace()\n parseRouteParams(params: ParamMap): { [p: string]: any } {\n const result: { [p: string]: any } = {};\n this.getVisitParameterDefs({\n includeRouteId: true,\n includeRouteParameters: true,\n includeNonRouteParameters: false\n }).forEach(def => {\n // params will return null for non existent names\n if (params.has(def.name)) {\n if (def.isArray) {\n // const values = params.getAll(def.name); // TODO: EEEK getAll is returning [\"1,2,3,4\"] when we gave it [\"1\",\"2\",\"3\",\"4\"].\n const values = params.get(def.name).split(',').map(s => s.trim());\n result[def.name] = values.map(v => def.urlFormat.parse(v));\n } else {\n const value = params.get(def.name);\n if (def.isRouteId) { // TODO: Move this to parameter def so it's a strategy pattern\n // because our id routes redirect if the id isn't present we always have a id\n // parameter in our params. This will bugger our remember and defaultvalue sanitisation\n // as it'll see that the id is present (event thought its a blank string).\n if (!isEmpty(value)) {\n result[def.name] = def.urlFormat.parse(value);\n }\n } else {\n result[def.name] = def.urlFormat.parse(value);\n }\n }\n }\n });\n return result;\n }\n\n}\n\nexport namespace PlaceDefinition {\n export interface ParameterOptions {\n includeRouteId?: boolean;\n includeRouteParameters?: boolean;\n includeNonRouteParameters?: boolean;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"PlaceDefinition":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@coolon/pectin","name":"Constructable","line":12,"character":34,"arguments":[{"__symbolic":"reference","module":"./place-component","name":"PlaceComponent","line":12,"character":48}]},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":16,"character":29},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./route/parameter-definition","name":"ParameterDefinition","line":17,"character":40,"arguments":[{"__symbolic":"reference","name":"any"}]}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"PlaceDefinition"}]}]}],"hasRouteId":[{"__symbolic":"method"}],"getRouteIdParameterDef":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@typescript-plus/fast-memoize-decorator","name":"Memoize","line":25,"character":3}}]}],"getRouteParameterDefs":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@typescript-plus/fast-memoize-decorator","name":"Memoize","line":30,"character":3}}]}],"getVisitParameterDefs":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@typescript-plus/fast-memoize-decorator","name":"Memoize","line":35,"character":3}}]}],"getPlaceData":[{"__symbolic":"method"}],"searchPlaceData":[{"__symbolic":"method"}],"getRouteIdFrom":[{"__symbolic":"method"}],"getFormattedRouteId":[{"__symbolic":"method"}],"getFormattedRouteParameters":[{"__symbolic":"method"}],"getNonRouteParameters":[{"__symbolic":"method"}],"parseRouteParams":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-history.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAS,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;;AAOlC,MAAM,OAAO,YAAY;IAQvB;QAHQ,aAAQ,GAAG,IAAI,GAAG,EAA4B,CAAC;QACtC,sBAAiB,GAAW,CAAC,CAAC;IAG/C,CAAC;IAED,uBAAuB;QACrB,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YACxC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,aAAa,CAAC;SAC3C;IACH,CAAC;IAED,wBAAwB,CAAC,MAAe;QACtC,IAAI,CAAC,aAAa,GAAG,IAAI,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5D,CAAC;IAED,WAAW,CAAC,KAAY;QACtB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACpC,IAAI,CAAC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E,mCAAmC;IACnC,mBAAmB;IACnB,MAAM;IACN,EAAE;IACF,mCAAmC;IACnC,kEAAkE;IAClE,MAAM;IACN,EAAE;IACF,wCAAwC;IACxC,2EAA2E;IAC3E,MAAM;IACN,EAAE;IACF,IAAI;AAEN,CAAC,EAjFgB,YAAY,KAAZ,YAAY,QAiF5B","sourcesContent":["import { Injectable } from '@angular/core';\nimport { assert, Trace } from '@coolon/pectin';\n\nimport { first } from 'lodash-es';\nimport { PlaceDefinition } from './place-definition';\nimport { Visit } from './visit';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PlaceHistory {\n\n private _activeVisits: PlaceHistory.VisitRecord;\n private _previousVisits: PlaceHistory.VisitRecord;\n\n private _archive = new Map<PlaceDefinition, Visit[]>();\n private readonly placeHistoryDepth: number = 4;\n\n constructor() {\n }\n\n notifyNavigationStarted() {\n if (this._activeVisits) {\n this.archive(this._activeVisits.visits);\n this._previousVisits = this._activeVisits;\n }\n }\n\n notifyNavigationFinished(visits: Visit[]) {\n this._activeVisits = new PlaceHistory.VisitRecord(visits);\n }\n\n updateVisit(visit: Visit) {\n assert.isTruthy(this._activeVisits);\n this._activeVisits.update(visit);\n }\n\n lastVisitIncluded(placeDef: PlaceDefinition): boolean {\n return !!this._previousVisits?.getVisitFor(placeDef);\n }\n\n getMostRecentVisitFor(placeDef: PlaceDefinition) {\n return first(this.getHistory(placeDef));\n }\n\n getHistory(placeDef: PlaceDefinition): Visit[] {\n let history = this._archive.get(placeDef);\n if (!history) {\n history = [];\n this.setHistory(placeDef, history);\n }\n return history;\n }\n\n private setHistory(placeDef: PlaceDefinition, history: Visit[]) {\n this._archive.set(placeDef, history);\n }\n\n protected archive(visits: Visit[]) {\n visits.forEach(state => {\n const history = this.getHistory(state.placeDefinition);\n const previousState = first(history);\n if (!previousState || state.hasChangedFrom(previousState)) {\n history.unshift(state); // LIFO\n this.setHistory(state.placeDefinition, history.slice(0, this.placeHistoryDepth));\n }\n });\n }\n\n\n}\n\nexport namespace PlaceHistory {\n\n export class VisitRecord {\n constructor(public visits: Visit[]) {\n }\n\n update(visit: Visit) {\n this.visits = this.visits.filter(v => v.placeDefinition !== visit.placeDefinition).concat(visit);\n }\n\n getVisitFor(placeDef: PlaceDefinition): Visit | undefined {\n return this.visits.find(v => v.placeDefinition === placeDef);\n }\n }\n\n // export class Query {\n // private _history: Visit.State[];\n // private _places: Place[];\n // private _predicate: (visit: any) => boolean;\n // private _limit: number;\n //\n // constructor(history, limit = history.length) {\n // this._history = history;\n // this._places = [];\n // this._predicate = (visit => true);\n // this._limit = limit;\n // }\n //\n // to(...places:Place[]):this {\n // this._places = places;\n // return this;\n // }\n //\n // with(parameters: { [parameter: string]: any }): this {\n // this.matching(state => {\n // return Object.keys(parameters).reduce((acc, key) => {\n // const matchValue = parameters[key];\n // const visitValue = state.get(key);\n // const matched = matchValue === '*' ? !isNil(visitValue) : visitValue == matchValue;\n // // Logger.get(this).info(`matched=${matched}`, parameters, visitValue);\n // return acc && matched;\n // }, true);\n // });\n // return this;\n // }\n //\n // last(): Visit.State {\n // return findLast(this._history, visit => this._matches(visit))\n // }\n //\n // // @trace\n // allThatMatch(): Visit.State[] {\n // return filter(this._history, visit => this._matches(visit)).slice(-this._limit);\n // }\n //\n // // @trace\n // mostRecentValueOf<T=any>(param: string, defaultValue: T = null): T {\n // const lastStateWithParam = findLast(this.allThatMatch(), state => !isNil(state.get(param)));\n // return isNil(lastStateWithParam) ? defaultValue : lastStateWithParam.get(param);\n // }\n //\n // limit(limit: number): this {\n // this._limit = limit;\n // return this;\n // }\n //\n // matching(predicate: (visit: Visit.State) => boolean): this {\n // this._predicate = predicate;\n // return this;\n // }\n //\n // _matches(visit: Visit.State) {\n // return this._isPlaceMatch(visit) && this._predicate(visit);\n // }\n //\n // _isPlaceMatch(visit: Visit.State) {\n // return this._places.length < 1 || this._places.includes(visit.place)\n // }\n //\n // }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"PlaceHistory":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"notifyNavigationStarted":[{"__symbolic":"method"}],"notifyNavigationFinished":[{"__symbolic":"method"}],"updateVisit":[{"__symbolic":"method"}],"lastVisitIncluded":[{"__symbolic":"method"}],"getMostRecentVisitFor":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"setHistory":[{"__symbolic":"method"}],"archive":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-history.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-history.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-router.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-router.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAGL,gBAAgB,EAChB,aAAa,EACb,eAAe,EAEf,eAAe,EACf,MAAM,EAEP,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,MAAM,EACN,OAAO,EACP,YAAY,EACZ,oBAAoB,EACpB,GAAG,EACH,gBAAgB,EAChB,IAAI,EAEJ,gBAAgB,EAChB,iBAAiB,EAGlB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AAC9G,OAAO,EAAE,mCAAmC,EAAE,MAAM,2EAA2E,CAA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,OAAO,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC,CAAC;SAEL;IACH,CAAC;IAGO,qBAAqB,CAAC,KAAY;QACxC,MAAM,GAAG,GAAG,KAAK,CAAC,eAAe,CAAC;QAClC,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;YACzB,CAAC,GAAG,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC1E,CAAC,GAAG,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7C,CAAC;;;;YA9UF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YAvCC,MAAM;YAVC,QAAQ;YA4BR,kBAAkB;YAWlB,UAAU;YADV,YAAY;;AA2VrB,WAAiB,WAAW;IAM1B,MAAa,KAAK;QAChB,YAA6B,YAAqB;YAArB,iBAAY,GAAZ,YAAY,CAAS;QAClD,CAAC;QAED,aAAa,CAAC,eAAgC;YAC5C,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAC7C,CAAC;QAED,WAAW,CAAC,eAAgC;YAC1C,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,eAAe,KAAK,eAAe,CAAC,CAAC;QAC5E,CAAC;KACF;IAXY,iBAAK,QAWjB,CAAA;AAEH,CAAC,EAnBgB,WAAW,KAAX,WAAW,QAmB3B","sourcesContent":["import { Location } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport {\n ActivatedRoute,\n ActivatedRouteSnapshot,\n NavigationCancel,\n NavigationEnd,\n NavigationError,\n NavigationExtras,\n NavigationStart,\n Router,\n RouterStateSnapshot\n} from '@angular/router';\nimport {\n assert,\n Binding,\n DebugContext,\n DelegatingValueModel,\n Dsl,\n GarbageCollector,\n lang,\n ListModel,\n MutableListModel,\n MutableValueModel,\n ValueModel,\n ValueModelChain\n} from '@coolon/pectin';\nimport { InteractionServiceRoutingAdapter } from '../interaction/services/interaction-service-routing-adapter';\nimport { InteractionService } from '../interaction/services/interaction.service';\nimport { NavigatingDuringInteraction } from './navigation/session/interactions/navigating-during-interaction';\nimport { PopStateDuringInteractionNavigation } from './navigation/session/interactions/pop-state-during-interaction-navigation';\nimport { SynchroniseInteractionContextIdsWithRoute } from './navigation/session/interactions/synchronise-interaction-context-ids-with-route';\nimport { Navigating } from './navigation/session/navigating';\nimport { NavigationContext } from './navigation/session/navigation-context';\nimport { NavigationSession } from './navigation/session/navigation-session';\nimport { PopStateNavigation } from './navigation/session/pop-state-navigation';\nimport { PlaceAccessGuard } from './place-access-guard';\nimport { PlaceDefinition } from './place-definition';\nimport { PlaceHistory } from './place-history';\nimport { UrlService } from './url-service';\nimport { UrlSnapshot } from './url-snapshot';\nimport { Visit } from './visit';\n\nfunction asArray<T>(item: T | T[]):T[] {\n return Array.isArray(item) ? item : [item];\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PlaceRouter extends GarbageCollector {\n\n readonly navigationSessionModel = new MutableValueModel<NavigationSession>();\n readonly navigationInProgress: ValueModelChain<boolean>;\n readonly navigationSessionName: ValueModelChain<string>; // used by tests\n\n private readonly navigationContext: NavigationContext.Impl;\n\n private readonly _activeVisits = new MutableListModel<Visit>();\n private readonly routerInteractionAdapter: InteractionServiceRoutingAdapter;\n private sessionFinishedJobs: (() => void)[] = [];\n\n public readonly state: ValueModel<PlaceRouter.State>;\n\n /**\n * An observable model containing the authoriser function. This allows places to react to changes\n * in permissions when any underlying auth logic changes, e.g. a role being removed from a user.\n */\n private readonly _accessGuard = this.registerDisposable(new DelegatingValueModel<PlaceAccessGuard>().withDefault(new PlaceAccessGuard.NoAuth()));\n private redirections: PlaceRouter.Redirections;\n\n constructor(private readonly angularRouter: Router,\n private readonly angularLocation: Location,\n private readonly interactionService: InteractionService,\n private readonly urlService: UrlService,\n private readonly placeHistory: PlaceHistory) {\n super();\n\n if (window['Cypress']) {\n window['aup.PlaceRouter'] = this;\n }\n\n this.routerInteractionAdapter = interactionService.registerPlaceRouter(this);\n\n // TODO: Make this an interface and use 'this' instead.\n this.navigationContext = new NavigationContext.Impl(\n this.urlService,\n this.routerInteractionAdapter,\n (urlSnapshot: UrlSnapshot, options: { replaceUrl: boolean }) => {\n return this.navigateByUrl(urlSnapshot, options);\n },\n state => {\n this.transitionTo(state);\n },\n visits => {\n this.routingSessionFinished(visits);\n });\n\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n this.navigationInProgress = chain(this.navigationSessionModel).isNotNil();\n\n const idleStateName = chain(this.interactionService.active).map(active => active ? 'IdleDuringInteraction' : 'Idle');\n this.navigationSessionName = chain(this.navigationSessionModel)\n .pluck('name')\n .otherwise(idleStateName);\n\n DebugContext.tag(this._activeVisits, 'PlaceRouter.activeVisits');\n this.state = chain(this._activeVisits).reduce(visits => new PlaceRouter.State(visits));\n\n // TODO: make setup the callbacks in during module initiation to make this testable.\n angularRouter.events.subscribe(event => {\n // Routing event sequence\n // ======================\n // NavigationStart -> .... -> NavigationCancel --> redirect, go around again in the same session\n // NavigationStart -> .... -> NavigationEnd --> navigation complete, end session.\n // NavigationStart -> .... -> NavigationError --> navigation aborted, end session.\n // =======================\n if (event instanceof NavigationStart) {\n // console.log(`---> NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n if (event.navigationTrigger === 'popstate') {\n this.onPopState(event);\n } else {\n this.onRouterStarted(event);\n }\n // console.log(`<--- NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n }\n if (event instanceof NavigationEnd) {\n // console.log(`---> NavigationEnd[${event.id}]: ${event.url}`);\n this.onRouterEnd(event);\n // console.log(`<--- NavigationEnd[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationError) {\n // console.log(`---> NavigationError[${event.id}]: ${event.url}`);\n this.onRouterError(event);\n // console.log(`<--- NavigationError[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationCancel) {\n // console.log(`---> NavigationCancel[${event.id}]: ${event.url}`);\n this.onRouterCancelled(event);\n // console.log(`<--- NavigationCancel[${event.id}]: ${event.url}`);\n }\n });\n\n // The router needs to know about url changes and in some cases they are the only way the router can know if\n // the back button was clicked.\n angularLocation.onUrlChange(url => this.onUrlChanged(url));\n\n }\n\n get accessGuard(): ValueModel<PlaceAccessGuard> {\n return this._accessGuard.readonly;\n }\n\n // @Trace()\n configureAuth(accessGrant: ValueModel<PlaceAccessGuard>, redirections: PlaceRouter.Redirections) {\n // We need a shitty mutable model until setDelegate is clever enough to work with readonly models.\n const hackyMutableModel = new MutableValueModel<PlaceAccessGuard>();\n const binding = new Binding(hackyMutableModel, accessGrant, {\n toRight(leftValue: PlaceAccessGuard) {\n return lang.illegalState('hackyMutableModel is read only');\n },\n toLeft: (rightValue: PlaceAccessGuard) => rightValue\n });\n binding.writeLeft();\n this._accessGuard.setDelegate(hackyMutableModel);\n this.redirections = redirections;\n }\n\n getAuthenticationFailureRedirect(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Visit {\n return this.redirections.onAuthenticationFailure(activatedRoute, state);\n }\n\n get navigationSession() {\n return this.navigationSessionModel.value;\n }\n\n get currentSession() {\n return this.navigationSessionModel.value;\n }\n\n isNavigating(): boolean {\n return this.navigationInProgress.value;\n }\n\n waitUntilIdle(): Promise<this> {\n const { when } = Dsl.disposeWith(this);\n return new Promise<this>(resolve => {\n when(this.navigationInProgress).becomesFalsey(() => resolve(this), {\n initialValue: 'evaluate',\n once: true\n });\n });\n }\n\n // @Trace()\n onPopState(event: NavigationStart) {\n assert.isTruthy(event.navigationTrigger === 'popstate');\n if (this.currentSession) {\n this.currentSession.onPopState(event);\n } else {\n const poppedHistoryUrl = event.url;\n const currentRouterUrl = this.urlService.getCurrentRouterUrl();\n const session = this.interactionService.isActive() ?\n new PopStateDuringInteractionNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl) :\n new PopStateNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl);\n this.transitionTo(session);\n }\n }\n\n // @Trace()\n onRouterStarted(event: NavigationStart) {\n assert.isFalsey(event.navigationTrigger === 'popstate');\n const inInteraction = this.interactionService.isActive();\n if (this.currentSession) {\n this.currentSession.onRouterStarted(event);\n } else {\n this.transitionTo(this.createNavigationSession(this.urlService.getCurrentRouterUrl()));\n }\n }\n\n // @Trace()\n onUrlChanged(newUrl: string) {\n // the back button can trigger a url change without a navigation session in progress so we\n // console.log(`---> Url Changed ${newUrl}`);\n if (this.currentSession) {\n this.currentSession.onUrlChange(newUrl);\n } else {\n console.log('FYI: url changed without a navigation session in progress');\n }\n // console.log(`<--- Url Changed`);\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel) {\n this.currentSession.onRouterCancelled(event);\n }\n\n // @Trace()\n onRouterError(event: NavigationError) {\n this.currentSession.onRouterError(event);\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd) {\n this.currentSession.onRouterEnd(event);\n }\n\n navigate(visit: Visit | Visit[], options?: { relativeTo: ActivatedRoute }) {\n const commands = asArray(visit).reduce((result, v) => {\n return [...result, v.placeDefinition.path, ...this.createRouteParameters(v)];\n }, []);\n return this.doNavigation(visit, async router => {\n await this.angularRouter.navigate(commands, {\n relativeTo: options ? options.relativeTo : null\n });\n });\n }\n\n // @Trace()\n async doNavigation(visit: Visit| Visit[], runNavigationCommands: (router: Router) => any) {\n if (this.navigationInProgress.value) {\n lang.illegalState('Navigation already in progress');\n }\n const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());\n asArray(visit).forEach(v => navigation.storeVisit(v));\n this.transitionTo(navigation);\n try {\n await runNavigationCommands(this.angularRouter);\n } finally {\n // Check if the router has finished (in the case where no router change required) and we're still in a\n // transient state and finish of the transition.\n if (!this.angularRouter.getCurrentNavigation() && this.currentSession) {\n this.currentSession.onRouterEnd(new NavigationEnd(-1, '', ''));\n }\n }\n }\n\n navigateByUrl(urlSnapshot: UrlSnapshot, navigationExtras?: NavigationExtras): Promise<boolean> {\n console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);\n return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);\n }\n\n get activeVisits(): ListModel<Visit> {\n return this._activeVisits.readonly;\n }\n\n // @Trace()\n async pushVisitChangesToRoute(previous: Visit, next: Visit): Promise<void> {\n this.placeHistory.updateVisit(next);\n\n // FIXME: no route id -> route id duplicates route parameters\n if (next.hasRoutingChangedFrom(previous)) {\n return this.doNavigation(next, router => {\n const urlSnapshot = this.urlService.parseUrl(this.angularRouter.routerState.snapshot.url).updateVisitSegments(next);\n // console.log('### Push Changes to route Redirect', { commands: urlSnapshot.url });\n return this.navigateByUrl(urlSnapshot);\n });\n }\n }\n\n\n private createNavigationSession(currentRouterUrl: string): NavigationSession {\n const inInteraction = this.interactionService.isActive();\n return inInteraction ?\n new NavigatingDuringInteraction(this.navigationContext, currentRouterUrl) :\n new Navigating(this.navigationContext, currentRouterUrl);\n }\n\n // @Trace()\n protected transitionTo(next: NavigationSession) {\n const previous = this.navigationSessionModel.value;\n if (!previous) {\n this.placeHistory.notifyNavigationStarted();\n }\n assert.isTruthy(next !== previous);\n // Logger.get(this).info(`### Router State Transition: ${previous ? previous.toString() : 'null'} -> ${next.toString()}`);\n this.navigationSessionModel.value = next;\n if (!!previous) {\n previous.dispose();\n }\n next.notifyActive();\n }\n\n // @Trace()\n private routingSessionFinished(visits: Visit[]) {\n if (visits && visits.length > 0) {\n assert.isTruthy(this.navigationInProgress.value);\n this.placeHistory.notifyNavigationFinished(visits);\n // We update the active visits before we finish the session so the\n // place outlets can ignore the incoming changes until things are\n // settled. TODO: can we removed the event'ness here and just do a push?\n this._activeVisits.value = visits;\n }\n const session = this.currentSession;\n session.dispose();\n this.navigationSessionModel.value = null;\n // console.log(`### Router Session Finished (was ${session.toString()})`);\n this.sessionFinishedJobs.forEach(job => job());\n this.sessionFinishedJobs = [];\n }\n\n private runAfterRoutingSessionFinishes(func: () => void) {\n assert.isTruthy(this.navigationInProgress);\n this.sessionFinishedJobs.push(func);\n }\n\n\n /**\n * Sync's the current interaction state with the URL. We need to push something in the URL in order\n * to be able to capture the back button on the first page. If we don't then the back click will exit\n * the app directly and we don't get to ask.\n */\n // @Trace()\n syncInteractionContextIdsWithRouter(): Promise<void> {\n if (this.navigationSession) {\n // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);\n const session = this.navigationSession;\n return new Promise<void>((resolve, reject) => {\n this.runAfterRoutingSessionFinishes(() => {\n this.runAfterRoutingSessionFinishes(resolve);\n const syncSession = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(syncSession);\n });\n });\n } else {\n return new Promise<void>(((resolve, reject) => {\n // console.log(`No navigation in progress, starting synchronisation job`);\n this.runAfterRoutingSessionFinishes(resolve);\n const session = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(session);\n }));\n\n }\n }\n\n\n private createRouteParameters(visit: Visit) {\n const def = visit.placeDefinition;\n return visit.hasRouteId() ?\n [def.getFormattedRouteId(visit), def.getFormattedRouteParameters(visit)] :\n [def.getFormattedRouteParameters(visit)];\n }\n\n}\n\nexport namespace PlaceRouter {\n\n export interface Redirections {\n onAuthenticationFailure(activatedRoute?: ActivatedRouteSnapshot, state?: RouterStateSnapshot): Visit;\n }\n\n export class State {\n constructor(private readonly activeVisits: Visit[]) {\n }\n\n isPlaceActive(placeDefinition: PlaceDefinition): boolean {\n return !!this.getVisitFor(placeDefinition);\n }\n\n getVisitFor(placeDefinition: PlaceDefinition): Visit {\n return this.activeVisits.find(v => v.placeDefinition === placeDefinition);\n }\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"PlaceRouter":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@coolon/pectin","name":"GarbageCollector","line":50,"character":33},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":47,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":71,"character":46},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":48},{"__symbolic":"reference","module":"../interaction/services/interaction.service","name":"InteractionService","line":73,"character":51},{"__symbolic":"reference","module":"./url-service","name":"UrlService","line":74,"character":43},{"__symbolic":"reference","module":"./place-history","name":"PlaceHistory","line":75,"character":45}]}],"configureAuth":[{"__symbolic":"method"}],"getAuthenticationFailureRedirect":[{"__symbolic":"method"}],"isNavigating":[{"__symbolic":"method"}],"waitUntilIdle":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onRouterStarted":[{"__symbolic":"method"}],"onUrlChanged":[{"__symbolic":"method"}],"onRouterCancelled":[{"__symbolic":"method"}],"onRouterError":[{"__symbolic":"method"}],"onRouterEnd":[{"__symbolic":"method"}],"navigate":[{"__symbolic":"method"}],"doNavigation":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}],"pushVisitChangesToRoute":[{"__symbolic":"method"}],"createNavigationSession":[{"__symbolic":"method"}],"transitionTo":[{"__symbolic":"method"}],"routingSessionFinished":[{"__symbolic":"method"}],"runAfterRoutingSessionFinishes":[{"__symbolic":"method"}],"syncInteractionContextIdsWithRouter":[{"__symbolic":"method"}],"createRouteParameters":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-router.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-router.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place.decorator.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,IAAI,EAAU,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,UAAU,KAAK,CAAC,OAAsB;IAC1C,OAAO,CAAC,MAAgB,EAAE,EAAE;;QAC1B,IAAI,cAAc,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE;YACtD,cAAc,CAAC,gBAAgB,CAAC,MAAM,EAAE,IAAI,eAAe,CACzD,MAAM,EACN,OAAO,CAAC,IAAI,EACZ,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,EACzD,MAAA,OAAO,CAAC,IAAI,mCAAI,OAAO,CAAC,KAAK,EAC7B,OAAO,CAAC,IAAI,EACZ,cAAc,CAAC,kBAAkB,CAAC,MAAM,CAAC,EACzC,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CACnE,CAAC,CAAC;YAEH,IAAI,OAAO,CAAC,KAAK,EAAE;gBACjB,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,2EAA2E,CAAC,CAAA;aACxG;SAEF;aAAM;YACL,IAAI,CAAC,YAAY,CAAC,GAAG,MAAM,yDAAyD,CAAC,CAAC;SACvF;IACH,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { Constructable, lang, Logger } from '@coolon/pectin';\n\nimport { isNil } from 'lodash-es';\nimport { PlaceComponent } from './place-component';\nimport { PlaceDefinition } from './place-definition';\n\nexport function Place(options: Place.Options) {\n return (target: Function) => {\n if (PlaceComponent.isPlaceComponentConstructor(target)) {\n PlaceComponent.injectDefinition(target, new PlaceDefinition(\n target,\n options.path,\n isNil(options.authenticate) ? true : options.authenticate,\n options.role ?? options.roles,\n options.data,\n PlaceComponent.getRouteParameters(target),\n (options.children || []).map(c => PlaceComponent.getDefinition(c))\n ));\n\n if (options.roles) {\n console.warn(`${target.name} @Place({roles: string[]}) is deprecated. Use @Place({role:any}) instead`)\n }\n\n } else {\n lang.illegalState(`${target} must extend PlaceComponent to use the @Place decorator`);\n }\n };\n}\n\nexport namespace Place {\n\n export interface Options {\n path: string;\n data?: { [key: string]: any }; // defaults to true\n authenticate?: boolean; // defaults to true\n role?: any; // defaults to empty array\n\n /**\n * @deprecated use #role instead\n */\n roles?: string[]; // defaults to empty array\n\n children?: Constructable<PlaceComponent>[];\n defaultChild?: Constructable<PlaceComponent>;\n }\n\n}\n\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"Place":{"__symbolic":"function","parameters":["options"],"value":{"__symbolic":"error","message":"Lambda not supported","line":7,"character":9}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place.module.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAkB,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,oEAAoE,CAAC;AAClH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oEAAoE,CAAC;AAClH,OAAO,EAAE,8BAA8B,EAAE,MAAM,wEAAwE,CAAC;AAsCxH,MAAM,OAAO,WAAW;;;YAnCvB,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,uBAAuB;oBACvB,wBAAwB;oBACxB,YAAY;oBACZ,aAAa;oBACb,aAAa;oBACb,gBAAgB;oBAChB,aAAa;oBACb,gBAAgB;oBAChB,UAAU;oBACV,gBAAgB;oBAChB,YAAY;iBACb;gBACD,YAAY,EAAE;oBACZ,oBAAoB;oBACpB,8BAA8B;oBAC9B,qBAAqB;oBACrB,4BAA4B;oBAC5B,gCAAgC;oBAChC,4BAA4B;iBAC7B;gBACD,eAAe,EAAE,EAAE;gBACnB,OAAO,EAAE;oBACP,oBAAoB;oBACpB,8BAA8B;oBAC9B,qBAAqB;oBACrB,4BAA4B;oBAC5B,gCAAgC;iBACjC;gBACD,SAAS,EAAE;gBACT,uEAAuE;iBACxE;aACF","sourcesContent":["import { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { InjectionToken, NgModule } from '@angular/core';\nimport { FlexModule } from '@angular/flex-layout';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { RouterModule } from '@angular/router';\nimport { Constructable } from '@coolon/pectin';\nimport { ComponentsModule } from '../components/exports';\nimport { DirectivesModule } from '../directives/directives.module';\nimport { AbstractPlaceNavigationComponent } from './components/abstract-place-navigation.component';\nimport { ListPlaceNavComponent } from './components/list-place-nav/list-place-nav.component';\nimport { NotAuthorisedNoticeComponent } from './components/not-authorised-notice/not-authorised-notice.component';\nimport { PlaceOutletComponent } from './components/place-outlet/place-outlet.component';\nimport { SidePlaceNavigationComponent } from './components/side-place-navigation/side-place-navigation.component';\nimport { TabbedPlaceNavigationComponent } from './components/tabbed-place-navigation/tabbed-place-navigation.component';\n\n\n@NgModule({\n imports: [\n CommonModule,\n BrowserAnimationsModule,\n MatProgressSpinnerModule,\n RouterModule,\n MatTabsModule,\n MatListModule,\n MatTooltipModule,\n MatIconModule,\n DirectivesModule,\n FlexModule,\n ComponentsModule,\n PortalModule\n ],\n declarations: [\n PlaceOutletComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n SidePlaceNavigationComponent,\n AbstractPlaceNavigationComponent,\n NotAuthorisedNoticeComponent\n ],\n entryComponents: [],\n exports: [\n PlaceOutletComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n SidePlaceNavigationComponent,\n AbstractPlaceNavigationComponent\n ],\n providers: [\n // {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: \"2000ms\"}}\n ]\n})\nexport class PlaceModule {\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"PlaceModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material/progress-spinner","name":"MatProgressSpinnerModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material/tabs","name":"MatTabsModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material/list","name":"MatListModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material/tooltip","name":"MatTooltipModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":31,"character":4},{"__symbolic":"reference","module":"../directives/directives.module","name":"DirectivesModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexModule","line":33,"character":4},{"__symbolic":"reference","module":"../components/exports","name":"ComponentsModule","line":34,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":35,"character":4}],"declarations":[{"__symbolic":"reference","module":"./components/place-outlet/place-outlet.component","name":"PlaceOutletComponent","line":38,"character":4},{"__symbolic":"reference","module":"./components/tabbed-place-navigation/tabbed-place-navigation.component","name":"TabbedPlaceNavigationComponent","line":39,"character":4},{"__symbolic":"reference","module":"./components/list-place-nav/list-place-nav.component","name":"ListPlaceNavComponent","line":40,"character":4},{"__symbolic":"reference","module":"./components/side-place-navigation/side-place-navigation.component","name":"SidePlaceNavigationComponent","line":41,"character":4},{"__symbolic":"reference","module":"./components/abstract-place-navigation.component","name":"AbstractPlaceNavigationComponent","line":42,"character":4},{"__symbolic":"reference","module":"./components/not-authorised-notice/not-authorised-notice.component","name":"NotAuthorisedNoticeComponent","line":43,"character":4}],"entryComponents":[],"exports":[{"__symbolic":"reference","module":"./components/place-outlet/place-outlet.component","name":"PlaceOutletComponent","line":47,"character":4},{"__symbolic":"reference","module":"./components/tabbed-place-navigation/tabbed-place-navigation.component","name":"TabbedPlaceNavigationComponent","line":48,"character":4},{"__symbolic":"reference","module":"./components/list-place-nav/list-place-nav.component","name":"ListPlaceNavComponent","line":49,"character":4},{"__symbolic":"reference","module":"./components/side-place-navigation/side-place-navigation.component","name":"SidePlaceNavigationComponent","line":50,"character":4},{"__symbolic":"reference","module":"./components/abstract-place-navigation.component","name":"AbstractPlaceNavigationComponent","line":51,"character":4}],"providers":[]}]}]}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '../directives/highlight-text-model.directive';\nimport * as i16 from '@angular/flex-layout/flex';\nimport * as i17 from '../components/forms/number-input/number-input.component';\nimport * as i18 from '../components/forms/string-input/string-input.component';\nimport * as i19 from '../components/forms/text-input/text-input.component';\nimport * as i20 from '../components/forms/password-input/password-input.component';\nimport * as i21 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i22 from '../components/forms/select-input/select-input.component';\nimport * as i23 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i24 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i25 from '../components/scroll-container/scroll-container.component';\nimport * as i26 from '../components/noop/noop.component';\nimport * as i27 from '../components/switch-case/switch-case.component';\nimport * as i28 from '../components/focus-container/focus-container.component';\nimport * as i29 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i30 from '../components/focusable.component';\nimport * as i31 from '../components/cards/card-container/card-container.component';\nimport * as i32 from '../components/tables/table/table.component';\nimport * as i33 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i34 from '../components/tables/table/column-template/column-template.directive';\nimport * as i35 from '../components/icon/icon.component';\nimport * as i36 from '../components/section-header/section-header.component';\nimport * as i37 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i38 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i39 from '../components/commands/command/command.component';\nimport * as i40 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i41 from '../components/commands/command-face/command-face.component';\nimport * as i42 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i43 from '../components/commands/separator.component';\nimport * as i44 from '../components/commands/flex.component';\nimport * as i45 from '../components/tables/tree-table/tree-table-component';\nimport * as i46 from '../components/busy-overlay/busy-overlay.component';\nimport * as i47 from '../components/empty-state/empty-state.component';\nimport * as i48 from '../components/tables/table/paginator/paginator.component';\nimport * as i49 from '../components/cards/card-stack/card-stack.component';\nimport * as i50 from '../components/labelled-value/labelled-value.component';\nimport * as i51 from '../components/loading-container/loading-container.component';\nimport * as i52 from '../components/text/markdown/markdown.component';\nimport * as i53 from '@angular/cdk/portal';\nimport * as i54 from './components/place-outlet/place-outlet.component';\nimport * as i55 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i56 from './components/list-place-nav/list-place-nav.component';\nimport * as i57 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i58 from './components/abstract-place-navigation.component';\nimport * as i59 from './components/not-authorised-notice/not-authorised-notice.component';\nimport * as i60 from '../directives/highlight.pipe';\nimport * as i61 from '@angular/platform-browser/animations';\nimport * as i62 from '../directives/directives.module';\nimport * as i63 from '../components/components.module';\nexport const PlaceModuleNgFactory:i0.NgModuleFactory<i1.PlaceModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any,any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatProgressSpinner = (<any>(null as any));\nvar _decl0_13:i4.MatSpinner = (<any>(null as any));\nvar _decl0_14:i5.RouterOutlet = (<any>(null as any));\nvar _decl0_15:i5.RouterLink = (<any>(null as any));\nvar _decl0_16:i5.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_17:i5.RouterLinkActive = (<any>(null as any));\nvar _decl0_18:i5.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.MatLine = (<any>(null as any));\nvar _decl0_26:i7.MatPseudoCheckbox = (<any>(null as any));\nvar _decl0_27:i8.MatDivider = (<any>(null as any));\nvar _decl0_28:i9.MatList = (<any>(null as any));\nvar _decl0_29:i9.MatNavList = (<any>(null as any));\nvar _decl0_30:i9.MatListItem = (<any>(null as any));\nvar _decl0_31:i9.MatListAvatarCssMatStyler = (<any>(null as any));\nvar _decl0_32:i9.MatListIconCssMatStyler = (<any>(null as any));\nvar _decl0_33:i9.MatListSubheaderCssMatStyler = (<any>(null as any));\nvar _decl0_34:i9.MatSelectionList = (<any>(null as any));\nvar _decl0_35:i9.MatListOption = (<any>(null as any));\nvar _decl0_36:i10.CdkScrollable = (<any>(null as any));\nvar _decl0_37:i11.MatTooltip = (<any>(null as any));\nvar _decl0_38:i11.TooltipComponent = (<any>(null as any));\nvar _decl0_39:i12.MatIcon = (<any>(null as any));\nvar _decl0_40:i13.CommandDirective<any> = (<any>(null as any));\nvar _decl0_41:i14.FocusBindingDirective = (<any>(null as any));\nvar _decl0_42:i15.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_43:i16.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_44:i16.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_45:i16.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_46:i16.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_47:i16.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_48:i16.FlexFillDirective = (<any>(null as any));\nvar _decl0_49:i16.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_50:i16.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_51:i17.NumberInputComponent = (<any>(null as any));\nvar _decl0_52:i18.StringInputComponent = (<any>(null as any));\nvar _decl0_53:i19.TextInputComponent = (<any>(null as any));\nvar _decl0_54:i20.PasswordInputComponent = (<any>(null as any));\nvar _decl0_55:i21.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_56:i22.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_57:i23.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_58:i24.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_59:i25.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_60:i26.NoopComponent = (<any>(null as any));\nvar _decl0_61:i27.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_62:i27.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_63:i27.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_64:i28.FocusContainerComponent = (<any>(null as any));\nvar _decl0_65:i29.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_66:i30.FocusableComponent = (<any>(null as any));\nvar _decl0_67:i31.CardContainerComponent = (<any>(null as any));\nvar _decl0_68:i32.TableComponent<any> = (<any>(null as any));\nvar _decl0_69:i33.EditRowControls<any> = (<any>(null as any));\nvar _decl0_70:i34.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_71:i35.IconComponent = (<any>(null as any));\nvar _decl0_72:i36.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_73:i37.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_74:i38.ToolBarComponent = (<any>(null as any));\nvar _decl0_75:i39.CommandComponent = (<any>(null as any));\nvar _decl0_76:i40.PopupMenuComponent = (<any>(null as any));\nvar _decl0_77:i41.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_78:i42.MoreMenuComponent = (<any>(null as any));\nvar _decl0_79:i43.SeparatorComponent = (<any>(null as any));\nvar _decl0_80:i44.FlexComponent = (<any>(null as any));\nvar _decl0_81:i45.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_82:i46.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_83:i47.EmptyStateComponent = (<any>(null as any));\nvar _decl0_84:i48.PaginatorComponent = (<any>(null as any));\nvar _decl0_85:i49.CardStackComponent = (<any>(null as any));\nvar _decl0_86:i50.LabelledValueComponent = (<any>(null as any));\nvar _decl0_87:i51.LoadingContainerComponent = (<any>(null as any));\nvar _decl0_88:i52.MarkdownComponent = (<any>(null as any));\nvar _decl0_89:i53.CdkPortal = (<any>(null as any));\nvar _decl0_90:i53.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_91:i53.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_92:i53.PortalHostDirective = (<any>(null as any));\nvar _decl0_93:i54.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_94:i55.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_95:i56.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_96:i57.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_97:i58.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_98:i59.NotAuthorisedNoticeComponent = (<any>(null as any));\nvar _decl0_99:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_100:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_101:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_102:i2.JsonPipe = (<any>(null as any));\nvar _decl0_103:i2.SlicePipe = (<any>(null as any));\nvar _decl0_104:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_105:i2.PercentPipe = (<any>(null as any));\nvar _decl0_106:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_107:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_108:i2.DatePipe = (<any>(null as any));\nvar _decl0_109:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_110:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_111:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_112:i60.HighlightPipe = (<any>(null as any));\nvar _decl0_113:i2.CommonModule = (<any>(null as any));\nvar _decl0_114:i61.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_115:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_116:i5.RouterModule = (<any>(null as any));\nvar _decl0_117:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_118:i9.MatListModule = (<any>(null as any));\nvar _decl0_119:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_120:i12.MatIconModule = (<any>(null as any));\nvar _decl0_121:i62.DirectivesModule = (<any>(null as any));\nvar _decl0_122:i16.FlexModule = (<any>(null as any));\nvar _decl0_123:i63.ComponentsModule = (<any>(null as any));\nvar _decl0_124:i53.PortalModule = (<any>(null as any));\nvar _decl0_125:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_126:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_PlaceOutletComponent_Host_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.isAuthorised;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_1_1():void {\n if (_decl0_93.animationEnabled.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_93.getAnimationOrder(),params:{duration:_decl0_93.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_93.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_93.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_93.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_93.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_1_2():void {\n if (!_decl0_93.animationEnabled.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_93.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_93.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_1_4():void {\n if (!_decl0_93.authorised.value) { var _any:any = (null as any); }\n}\nfunction _View_PlaceOutletComponent_1_3():void {\n if (!_decl0_93.authorised.value) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.notAuthorisedNoticePortal;\n currVal_0;\n }\n}\nfunction _View_PlaceOutletComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.animationEnabled.value;\n currVal_0;\n const currVal_1:any = !_decl0_93.animationEnabled.value;\n currVal_1;\n const currVal_2:any = !_decl0_93.authorised.value;\n currVal_2;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_2_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _any.active;\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_94.getNavigationFace(_any.place).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_94.commandFactory.create(_any.place);\n currVal_7;\n const currVal_8:any = [_decl0_94.getNavigationFace(_any.place)];\n currVal_8;\n const currVal_9:any = _decl0_77.requiresMissingIconInLayout;\n currVal_9;\n const currVal_10:any = _decl0_77.color;\n currVal_10;\n const pd_11:any = ((<any>_decl0_23._handleFocus()) !== false);\n const pd_12:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_94.menuItems.value;\n currVal_5;\n const currVal_6:any = _decl0_94.trackByPlaceDef;\n currVal_6;\n}\nfunction _View_ListPlaceNavComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ListPlaceNavComponent_3_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_95.getNavigationFace(_any.place).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_95.commandFactory.create(_any.place);\n currVal_4;\n const currVal_5:any = _any.active;\n currVal_5;\n const currVal_6:any = [_decl0_95.getNavigationFace(_any.place)];\n currVal_6;\n const currVal_7:any = _decl0_77.requiresMissingIconInLayout;\n currVal_7;\n const currVal_8:any = _decl0_77.color;\n currVal_8;\n const pd_9:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_95.menuItems.value;\n currVal_1;\n const currVal_2:any = _decl0_95.trackByPlaceDef;\n currVal_2;\n}\nfunction _View_SidePlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_4_2():void {\n if (_decl0_96.getNavigationFace(_any.place).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.getNavigationFace(_any.place).icon();\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_96.getNavigationFace(_any.place).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_96.commandFactory.create(_any.place);\n currVal_4;\n const currVal_5:any = _any.active;\n currVal_5;\n const currVal_6:any = _decl0_96.getNavigationFace(_any.place).icon();\n currVal_6;\n const currVal_7:any = _decl0_96.getNavigationFace(_any.place).text();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_4_3():void {\n if (_decl0_96.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = 'mat:menu';\n currVal_3;\n const currVal_4:any = 'mat:arrow_back';\n currVal_4;\n const currVal_5:any = _decl0_96.menuItems.value;\n currVal_5;\n const currVal_6:any = _decl0_96.trackByPlaceDef;\n currVal_6;\n const currVal_7:any = 1;\n currVal_7;\n const currVal_8:any = _decl0_96.navEndTemplate;\n currVal_8;\n const pd_9:any = ((<any>_decl0_96.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NotAuthorisedNoticeComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NotAuthorisedNoticeComponent_6_0():void {\n var _any:any = (null as any);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/place/route/formatter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAG,KAAK,IAAI,MAAM,EAAC,MAAM,WAAW,CAAC;AAQtD,MAAM,KAAW,SAAS,CAoCzB;AApCD,WAAiB,SAAS;IAExB,MAAM,UAAU;QACd,MAAM,CAAC,KAAa;YAClB,OAAO,KAAK,CAAC;QACf,CAAC;QAED,KAAK,CAAC,KAAa;YACjB,OAAO,KAAK,CAAC;QACf,CAAC;KACF;IAED,MAAM,UAAU;QACd,MAAM,CAAC,KAAa;YAClB,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9D,CAAC;QAED,KAAK,CAAC,KAAa;YACjB,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACxC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;QACxC,CAAC;KACF;IAED,MAAM,WAAW;QACf,MAAM,CAAC,KAAc;YACnB,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;QAClC,CAAC;QAED,KAAK,CAAC,KAAa;YACjB,OAAO,KAAK,KAAK,MAAM,CAAC;QAC1B,CAAC;KACF;IAEY,gBAAM,GAAG,IAAI,UAAU,EAAE,CAAC;IAC1B,gBAAM,GAAG,IAAI,UAAU,EAAE,CAAC;IAC1B,iBAAO,GAAG,IAAI,WAAW,EAAE,CAAC;AAC3C,CAAC,EApCgB,SAAS,KAAT,SAAS,QAoCzB","sourcesContent":["\nimport { isNumber , isNaN as _isNaN} from 'lodash-es';\n\nexport interface Formatter<T> {\n format(value: T): string;\n\n parse(value: string): T;\n}\n\nexport namespace Formatter {\n\n class StringType implements Formatter<string> {\n format(value: string): string {\n return value;\n }\n\n parse(value: string): string {\n return value;\n }\n }\n\n class NumberType implements Formatter<number> {\n format(value: number): string {\n return isNumber(value) && !isNaN(value) ? `${value}` : null;\n }\n\n parse(value: string): number {\n const parsed = Number.parseFloat(value);\n return _isNaN(parsed) ? null : parsed;\n }\n }\n\n class BooleanType implements Formatter<boolean> {\n format(value: boolean): string {\n return value ? 'true' : 'false';\n }\n\n parse(value: string): boolean {\n return value === 'true';\n }\n }\n\n export const STRING = new StringType();\n export const NUMBER = new NumberType();\n export const BOOLEAN = new BooleanType();\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"Formatter":{"__symbolic":"interface"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json-types.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/place/route/json-types.ts"],"names":[],"mappings":"","sourcesContent":["export type JsonPrimitive = boolean | number | string;\nexport type AnyJson = JsonPrimitive | null | JsonArray | JsonMap;\n\nexport interface JsonArray extends Array<AnyJson> {\n}\n\nexport interface JsonMap {\n [key: string]: AnyJson;\n}\n\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"JsonPrimitive":{"__symbolic":"interface"},"AnyJson":{"__symbolic":"interface"},"JsonArray":{"__symbolic":"interface"},"JsonMap":{"__symbolic":"interface"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameter-decorators.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/place/route/parameter-decorators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAiB,YAAY,EAAE,SAAS,EAAY,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AA+B7D,SAAS,gBAAgB,CAA0B,YAAsC,EAAE,SAAiB,EAAE,WAA4B,EAAE,SAAiB;IAE3J,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;IAElF,SAAS,YAAY,CAAC,QAAW,EAAE,YAA6B;QAC9D,MAAM,GAAG,GAAG,eAAe,YAAY,CAAC,QAAQ,EAAE,EAAE,CAAC;QACrD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAClB,MAAM,YAAY,GAAG,YAAY,CAAC,kBAAkB,EAAE,CAAC;YACvD,QAAQ,CAAC,GAAG,CAAC,GAAG;gBACd,YAAY,EAAE,YAAY;gBAC1B,OAAO,EAAE,IAAyB;aACnC,CAAC;YACF,MAAM,GAAG,GAAG,GAAG,SAAS,IAA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\nimport { Klass, Opts } from '@coolon/typescript-utilities';\nimport { ROUTE_PARAMETER_LIST_KEY } from '../place-component';\nimport { Formatter } from './formatter';\nimport { ParameterDefinition } from './parameter-definition';\nimport { ParameterSanitiser } from './parameter-sanitiser';\n\n\nexport interface RouteIdOptions<T> {\n as?: string;\n optional?: boolean;\n remember?: boolean;\n defaultValue?: T;\n sanitiser?: Constructable<ParameterSanitiser<T>> | ParameterSanitiser<T>;\n}\n\nexport interface RouteParameterOptions<T> {\n as?: string;\n optional?: boolean;\n remember?: boolean;\n defaultValue?: T;\n storeInUrl?: Formatter<T>\n sanitiser?: Constructable<ParameterSanitiser<T>> | ParameterSanitiser<T>;\n}\n\nexport interface RouteListParameterOptions<T> {\n as?: string;\n optional?: boolean;\n remember?: boolean;\n defaultValue?: T[];\n storeInUrl?: Formatter<T>\n sanitiser?: Constructable<ParameterSanitiser<T[]>> | ParameterSanitiser<T[]>;\n}\n\n\nfunction installMechanics<M extends HasValue<any>>(parameterDef: ParameterDefinition<any>, prototype: Object, propertyKey: string | symbol, tagPrefix: string) {\n\n Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, parameterDef);\n\n function getMechanics(instance: M, propertyName: string | symbol) {\n const key = `__mechanics_${propertyName.toString()}`;\n if (!instance[key]) {\n const backingModel = parameterDef.createBackingModel();\n instance[key] = {\n backingModel: backingModel,\n binding: null as Binding<any, any>\n };\n const tag = `${tagPrefix}(${prototype.constructor.name}.${propertyKey.toString()})`;\n DebugContext.getOrCreate(instance[key].backingModel).tag(tag);\n }\n return instance[key];\n }\n\n Object.defineProperty(prototype, propertyKey, {\n get: function() {\n return getMechanics(this, propertyKey).backingModel;\n },\n set: function(userModel: M) {\n const mechanics = getMechanics(this, propertyKey);\n // This handles the scenario where we want to push an existing value model (such as a form model)\n // to and from the route.\n if (mechanics.binding) {\n mechanics.binding.dispose();\n }\n if (userModel) {\n mechanics.binding = new Binding(mechanics.backingModel, userModel, {\n toLeft: Functions.identity,\n toRight: Functions.identity\n });\n if (parameterDef.isEmptyValue(userModel.value)) {\n // console.log(`Push visit to model for ${tag}`, {value: mechanics.backingModel.value});\n mechanics.binding.writeRight(); // push the visit into the user model;\n } else {\n if (!parameterDef.isEmptyValue(mechanics.backingModel.value)) {\n console.warn('Assigning a visit model with an existing value to a visit parameter with an existing value. Visit parameter will be overridden');\n }\n mechanics.binding.writeLeft(); // push the user model into the visit\n }\n }\n }\n });\n}\n\nexport function RouteId<T extends string | number>(type: Formatter<T>, options?: RouteIdOptions<T>): PropertyDecorator {\n return (prototype: Object, propertyKey: string | symbol) => {\n const parameterDef = new ParameterDefinition.RouteId(propertyKey.toString(), options, type);\n installMechanics(parameterDef, prototype, propertyKey, '@RouteId');\n };\n}\n\nexport function VisitParameter<T>(options?: RouteParameterOptions<T>): PropertyDecorator {\n const opts = Opts.get(options);\n return (prototype: Object, propertyKey: string | symbol) => {\n const parameterDef = new ParameterDefinition.ValueParameter(propertyKey.toString(), options, opts.getOptional('storeInUrl', null));\n installMechanics(parameterDef, prototype, propertyKey, '@VisitParameter');\n };\n}\n\nexport function VisitParameterList<E>(options?: RouteListParameterOptions<E>): PropertyDecorator {\n const opts = Opts.get(options);\n return (prototype: Object, propertyKey: string | symbol) => {\n const parameterDef = new ParameterDefinition.ArrayParameter(propertyKey.toString(), options, opts.getOptional('storeInUrl', null));\n installMechanics(parameterDef, prototype, propertyKey, '@VisitParameterList');\n };\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"RouteIdOptions":{"__symbolic":"interface"},"RouteParameterOptions":{"__symbolic":"interface"},"RouteListParameterOptions":{"__symbolic":"interface"},"RouteId":{"__symbolic":"function","parameters":["type","options"],"value":{"__symbolic":"error","message":"Lambda not supported","line":84,"character":9}},"VisitParameter":{"__symbolic":"function"},"VisitParameterList":{"__symbolic":"function"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameter-definition.js","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YACnB,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;QAED,UAAU,CAAC,CAAM,EAAE,CAAM;YACvB,OAAO,CAAC,KAAK,CAAC,CAAC;QACjB,CAAC;KACF;IAZY,kCAAc,iBAY1B,CAAA;IAED,MAAa,cAAkB,SAAQ,mBAA2B;QAKhE,YAAY,aAAqB,EAAE,OAAqB,EAAE,SAAuB;YAC/E,KAAK,CAAC,aAAa,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;YALlC,cAAS,GAAG,KAAK,CAAC;YAClB,YAAO,GAAG,IAAI,CAAC;YACd,wBAAmB,GAAG,GAAG,EAAE,CAAC,IAAI,gBAAgB,EAAK,CAAC;QAIhE,CAAC;QAED,YAAY,CAAC,KAAU;YACrB,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;QAC1C,CAAC;QAED,UAAU,CAAC,CAAM,EAAE,CAAM;YACvB,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACxB,CAAC;KAEF;IAjBY,kCAAc,iBAiB1B,CAAA;IAID,SAAgB,GAAG,CAAI,KAAmC;QACxD,MAAM,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5D,IAAI,CAAC,mBAAmB,EAAE;YACxB,IAAI,CAAC,eAAe,CAAC,oFAAoF,CAAC,CAAC;SAC5G;QACD,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IANe,uBAAG,MAMlB,CAAA;AAGH,CAAC,EArEgB,mBAAmB,KAAnB,mBAAmB,QAqEnC","sourcesContent":["import { Injector } from '@angular/core';\nimport { Constructable, HasValue, ListModel, MutableListModel, MutableValueModel, ValueModel } from '@coolon/pectin';\nimport { lang, Opts } from '@coolon/typescript-utilities';\n\nimport { isEqual, isFunction, isNil, isObject } from 'lodash-es';\nimport { PlaceHistory } from '../place-history';\nimport { Visit } from '../visit';\nimport { Formatter } from './formatter';\nimport { ParameterSanitiser } from './parameter-sanitiser';\n\nconst PARAMETER_DEFINITION_KEY = Symbol('parameterDefinition');\n\n\nexport abstract class ParameterDefinition<T, E = T> {\n\n abstract readonly isRouteId: boolean;\n abstract readonly isArray: boolean;\n\n readonly remember: boolean;\n readonly defaultValue: T;\n private options: Opts<ParameterDefinition.Options<T>>;\n protected abstract backingModelFactory: () => HasValue<T>;\n\n constructor(readonly propertyName: string, options: ParameterDefinition.Options<T>, readonly urlFormat?: Formatter<E>) {\n this.options = Opts.get(options);\n this.remember = this.options.getOptional('remember', false);\n this.defaultValue = this.options.getOptional('defaultValue', null);\n }\n\n get name() {\n return this.options.getOptional('as', this.propertyName);\n }\n\n // @Trace()\n get isRouteParameter(): boolean {\n return !!this.urlFormat;\n }\n\n abstract isEmptyValue(value: T): boolean;\n\n abstract hasChanged(a: any, b: any): boolean;\n\n createBackingModel(): HasValue<T> {\n const model = this.backingModelFactory();\n model[PARAMETER_DEFINITION_KEY] = this;\n return model;\n }\n\n protected getOptionValue<K extends keyof ParameterDefinition.Options<T>>(key: K): ParameterDefinition.Options<T>[K] {\n return this.options.getOptional(key, null);\n }\n\n // @Trace()\n async sanitise(value: T, visit: Visit, placeHistory: PlaceHistory, injector: Injector, isPopState: boolean): Promise<T> {\n // console.log(`sanitise(${this.propertyName})`)\n value = await this.sanitiseMissing(visit, placeHistory, value);\n value = await this.runCustomSanitiser(value, visit, placeHistory, injector, isPopState);\n return value;\n }\n\n private async runCustomSanitiser(value: T, visit: Visit, placeHistory: PlaceHistory, injector: Injector, isPopState: boolean): Promise<T> {\n const customSanitiser = this.prepareCustomSanitiser(injector);\n return customSanitiser ? customSanitiser.sanitise(value, visit, injector) : value;\n }\n\n private sanitiseMissing(visit: Visit, placeHistory: PlaceHistory, value: T) {\n if (this.isMissingFrom(visit)) {\n const returningFromSomewhereElse = !placeHistory.lastVisitIncluded(visit.placeDefinition);\n if (returningFromSomewhereElse) {\n const lastKnownVisit = placeHistory.getMostRecentVisitFor(visit.placeDefinition);\n if (this.remember && lastKnownVisit) {\n value = lastKnownVisit.getParameterValue(this);\n }\n value = this.isEmptyValue(value) ? this.defaultValue : value;\n }\n }\n return value;\n }\n\n private prepareCustomSanitiser(injector: Injector): ParameterSanitiser<any> {\n const customSanitiser = this.options.getOptional('sanitiser', null);\n if (isFunction(customSanitiser)) {\n return injector.get(customSanitiser);\n }\n if (isObject(customSanitiser)) {\n return isFunction(customSanitiser['sanitise']) ?\n customSanitiser as ParameterSanitiser<any> :\n lang.illegalState(`expected @VisitParameter({sanitiser: ...}) for ${this.propertyName} to be a constructor or instance of ParameterSanitiser, got: ` + customSanitiser);\n }\n return undefined;\n }\n\n private isMissingFrom(visit: Visit) {\n return !visit.hasParameter(this);\n }\n}\n\nexport namespace ParameterDefinition {\n\n export interface Options<T> {\n as?: string;\n optional?: boolean;\n remember?: boolean;\n defaultValue?: T;\n sanitiser?: Constructable<ParameterSanitiser<T>> | ParameterSanitiser<T>;\n }\n\n export class RouteId<T> extends ParameterDefinition<T> {\n readonly isRouteId = true;\n readonly isArray = false;\n protected backingModelFactory = () => new MutableValueModel<T>();\n\n isEmptyValue(value: T): boolean {\n return isNil(value);\n }\n\n hasChanged(a: any, b: any): boolean {\n return a !== b;\n }\n\n }\n\n export class ValueParameter<T> extends ParameterDefinition<T> {\n readonly isRouteId = false;\n readonly isArray = false;\n protected backingModelFactory = () => new MutableValueModel<T>();\n\n isEmptyValue(value: T): boolean {\n return isNil(value);\n }\n\n hasChanged(a: any, b: any): boolean {\n return a !== b;\n }\n }\n\n export class ArrayParameter<T> extends ParameterDefinition<T[], T> {\n readonly isRouteId = false;\n readonly isArray = true;\n protected backingModelFactory = () => new MutableListModel<T>();\n\n constructor(parameterName: string, options: Options<T[]>, urlFormat: Formatter<T>) {\n super(parameterName, options, urlFormat);\n }\n\n isEmptyValue(value: T[]): boolean {\n return isNil(value) || value.length < 1;\n }\n\n hasChanged(a: T[], b: T[]): boolean {\n return !isEqual(a, b);\n }\n\n }\n\n export function get<T>(model: ValueModel<T>): ParameterDefinition.ValueParameter<T>\n export function get<T>(model: ListModel<T>): ParameterDefinition.ArrayParameter<T>\n export function get<T>(model: ValueModel<T> | ListModel<T>): ParameterDefinition.ValueParameter<T> | ParameterDefinition.ArrayParameter<T> {\n const parameterDefinition = model[PARAMETER_DEFINITION_KEY];\n if (!parameterDefinition) {\n lang.illegalArgument('model hasn\\'t been annotated with @VisitParameter, @VisitParameterList or @RouteId');\n }\n return parameterDefinition;\n }\n\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"ParameterDefinition":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ParameterDefinition"},"member":"Options","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":23,"character":82,"context":{"typeName":"T"}}]},{"__symbolic":"reference","module":"./formatter","name":"Formatter","line":23,"character":107,"arguments":[{"__symbolic":"error","message":"Could not resolve type","line":23,"character":117,"context":{"typeName":"E"}}]}]}],"isEmptyValue":[{"__symbolic":"method"}],"hasChanged":[{"__symbolic":"method"}],"createBackingModel":[{"__symbolic":"method"}],"getOptionValue":[{"__symbolic":"method"}],"sanitise":[{"__symbolic":"method"}],"runCustomSanitiser":[{"__symbolic":"method"}],"sanitiseMissing":[{"__symbolic":"method"}],"prepareCustomSanitiser":[{"__symbolic":"method"}],"isMissingFrom":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameter-sanitiser.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/place/route/parameter-sanitiser.ts"],"names":[],"mappings":"","sourcesContent":["import { Injector } from '@angular/core';\nimport { Visit } from '../visit';\nimport { ParameterSnapshot } from './parameter-snapshot';\n\nexport interface ParameterSanitiser<T> {\n sanitise(parameterValue: T, visit?: Visit, injector?: Injector): Promise<T> | T;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"ParameterSanitiser":{"__symbolic":"interface"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameter-snapshot.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/place/route/parameter-snapshot.ts"],"names":[],"mappings":"","sourcesContent":["import { ParameterDefinition } from './parameter-definition';\n\nexport interface ParameterSnapshot<T> {\n definition: ParameterDefinition<T, any>\n readonly value: T;\n isMissing(): boolean;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"ParameterSnapshot":{"__symbolic":"interface"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visit-sanitiser.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/place/route/visit-sanitiser.ts"],"names":[],"mappings":";AAOA,MAAM,OAAO,cAAc;IACzB,YAAoB,iBAAoC,EAAU,cAAsC,EAAU,MAAc,EAAU,YAA0B,EAAU,QAAkB;QAA5K,sBAAiB,GAAjB,iBAAiB,CAAmB;QAAU,mBAAc,GAAd,cAAc,CAAwB;QAAU,WAAM,GAAN,MAAM,CAAQ;QAAU,iBAAY,GAAZ,YAAY,CAAc;QAAU,aAAQ,GAAR,QAAQ,CAAU;IAEhM,CAAC;IAED,WAAW;IACL,QAAQ,CAAC,KAAY;;YACzB,MAAM,QAAQ,GAAG,KAAK,CAAC,eAAe,CAAC;YACvC,IAAI,QAAQ,CAAC,UAAU,EAAE,EAAE;gBACzB,MAAM,UAAU,GAAG,QAAQ,CAAC,sBAAsB,EAAE,CAAC;gBACrD,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC;gBACnC,MAAM,cAAc,GAAG,MAAM,UAAU,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;gBACtI,0CAA0C;gBAC1C,oCAAoC;gBACpC,IAAI,UAAU,CAAC,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,EAAE;oBAClD,+DAA+D;oBAC/D,qCAAqC;oBACrC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;iBAClD;aACF;YAED,2EAA2E;YAC3E,MAAM,aAAa,GAAG,QAAQ,CAAC,qBAAqB,CAAC;gBACnD,sBAAsB,EAAE,IAAI;gBAC5B,yBAAyB,EAAE,IAAI;aAChC,CAAC,CAAC;YACH,IAAI,cAAc,GAAU,KAAK,CAAC;YAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBAC7C,MAAM,GAAG,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;gBAC7B,MAAM,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;gBAC3C,MAAM,cAAc,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;gBACtI,IAAI,GAAG,CAAC,UAAU,CAAC,KAAK,EAAE,cAAc,CAAC,EAAE;oBACzC,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;iBAC9D;aACF;YAED,OAAO,cAAc,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC;QACvE,CAAC;KAAA;CAEF","sourcesContent":["import { Injector } from '@angular/core';\nimport { ActivatedRouteSnapshot, Router } from '@angular/router';\nimport { Trace } from '@coolon/pectin';\nimport { NavigationSession } from '../navigation/session/navigation-session';\nimport { PlaceHistory } from '../place-history';\nimport { Visit } from '../visit';\n\nexport class VisitSanitiser {\n constructor(private navigationSession: NavigationSession, private activatedRoute: ActivatedRouteSnapshot, private router: Router, private placeHistory: PlaceHistory, private injector: Injector) {\n\n }\n\n // @Trace()\n async sanitise(visit: Visit): Promise<Visit> {\n const placeDef = visit.placeDefinition;\n if (placeDef.hasRouteId()) {\n const routeIdDef = placeDef.getRouteIdParameterDef();\n const routeId = visit.getRouteId();\n const sanitisedValue = await routeIdDef.sanitise(routeId, visit, this.placeHistory, this.injector, this.navigationSession.isPopState);\n // console.log({routeId, sanitisedValue});\n // ###------- EARLY EXIT --------###\n if (routeIdDef.hasChanged(routeId, sanitisedValue)) {\n // if the route id has changed we redirect immediately as other\n // parameter sanitisers might use it.\n return visit.replace(routeIdDef, sanitisedValue);\n }\n }\n\n // if we didn't replace the routeId we continue the url present parameters.\n const parameterDefs = placeDef.getVisitParameterDefs({\n includeRouteParameters: true,\n includeNonRouteParameters: true\n });\n let sanitisedVisit: Visit = visit;\n for (let i = 0; i < parameterDefs.length; i++) {\n const def = parameterDefs[i];\n const value = visit.getParameterValue(def);\n const sanitisedValue = await def.sanitise(value, sanitisedVisit, this.placeHistory, this.injector, this.navigationSession.isPopState);\n if (def.hasChanged(value, sanitisedValue)) {\n sanitisedVisit = sanitisedVisit.replace(def, sanitisedValue);\n }\n }\n\n return sanitisedVisit.hasChangedFrom(visit) ? sanitisedVisit : visit;\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"VisitSanitiser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../navigation/session/navigation-session","name":"NavigationSession","line":8,"character":41},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRouteSnapshot","line":8,"character":84},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":8,"character":124},{"__symbolic":"reference","module":"../place-history","name":"PlaceHistory","line":8,"character":154},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":8,"character":186}]}],"sanitise":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url-service.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/url-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;;;AAM7C,MAAM,OAAO,UAAU;IACrB,YAA6B,aAAqB,EAAW,eAAyB,EAAW,aAA4B;QAAhG,kBAAa,GAAb,aAAa,CAAQ;QAAW,oBAAe,GAAf,eAAe,CAAU;QAAW,kBAAa,GAAb,aAAa,CAAe;IAC7H,CAAC;IAED,QAAQ,CAAC,GAAW;QAClB,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;IAClD,CAAC;IAED,iBAAiB,CAAC,GAAG,MAAe;QAClC,MAAM,IAAI,GAAG,EAAE,CAAC;QAChB,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACjB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QACnF,CAAC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IACtC,CAAC;IAED,mBAAmB;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7F,CAAC;IAED,qBAAqB;QACnB,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;IACrC,CAAC;IAED;;;OAGG;IACH,6BAA6B;QAC3B,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,wBAAwB;QACtB,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,8BAA8B,CAAC,GAAW;QACxC,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAChD,CAAC;IAED,qBAAqB,CAAC,GAAW;QAC/B,OAAO,IAAI,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAC7D,CAAC;IAED,oBAAoB,CAAC,GAAW,EAAE,OAAoC;QACpE,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACjG,CAAC;IAED,IAAI;QACF,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;IAC9B,CAAC;;;;YAzDF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YANQ,MAAM;YAFN,QAAQ;YAEA,aAAa","sourcesContent":["import { Location } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport { Router, UrlSerializer } from '@angular/router';\nimport { UrlSnapshot } from './url-snapshot';\nimport { Visit } from './visit';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class UrlService {\n constructor(private readonly angularRouter: Router, readonly angularLocation: Location, readonly urlSerializer: UrlSerializer) {\n }\n\n parseUrl(url: string): UrlSnapshot {\n return new UrlSnapshot(this.urlSerializer, url);\n }\n\n createUrlSnapshot(...visits: Visit[]): UrlSnapshot {\n const bits = [];\n visits.forEach(v => {\n bits.push(this.parseUrl(`${v.placeDefinition.path}`).updateVisitSegments(v).url);\n });\n return this.parseUrl(bits.join(''));\n }\n\n getCurrentRouterUrl(): string {\n return this.angularRouter.routerState ? this.angularRouter.routerState.snapshot.url : null;\n }\n\n getCurrentLocationUrl(): string {\n return this.angularLocation.path();\n }\n\n /**\n * Return the a UrlSnapshot using the browsers current location. Note this may not be the same\n * as the routers current url.\n */\n getCurrentLocationUrlSnapshot(): UrlSnapshot {\n return this.parseUrl(this.getCurrentLocationUrl());\n }\n\n /**\n * Return the a UrlSnapshot using the routers current state. This may not be the same as\n * the browsers actual url.\n */\n getCurrentRouterSnapshot(): UrlSnapshot {\n return this.parseUrl(this.getCurrentRouterUrl());\n }\n\n getActiveInteractionIdsFromUrl(url: string): string[] {\n return this.parseUrl(url).getInteractionIds();\n }\n\n hasActiveInteractions(url: string) {\n return this.getActiveInteractionIdsFromUrl(url).length > 0;\n }\n\n resetBrowserLocation(url: string, options: { replaceCurrent: boolean }) {\n options.replaceCurrent ? this.angularLocation.replaceState(url) : this.angularLocation.go(url);\n }\n\n back() {\n this.angularLocation.back();\n }\n\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"UrlService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":10,"character":46},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":10,"character":80},{"__symbolic":"reference","module":"@angular/router","name":"UrlSerializer","line":10,"character":114}]}],"parseUrl":[{"__symbolic":"method"}],"createUrlSnapshot":[{"__symbolic":"method"}],"getCurrentRouterUrl":[{"__symbolic":"method"}],"getCurrentLocationUrl":[{"__symbolic":"method"}],"getCurrentLocationUrlSnapshot":[{"__symbolic":"method"}],"getCurrentRouterSnapshot":[{"__symbolic":"method"}],"getActiveInteractionIdsFromUrl":[{"__symbolic":"method"}],"hasActiveInteractions":[{"__symbolic":"method"}],"resetBrowserLocation":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url-service.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/url-service.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url-snapshot.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/url-snapshot.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAA0B,MAAM,iBAAiB,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,SAAS,sBAAsB,CAAC,OAAgB;IAC9C,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC;AAChD,CAAC;AAED,MAAM,OAAO,WAAW;IAItB,iIAAiI;IACjI,YAAqB,aAA4B,EAAW,GAAW;QAAlD,kBAAa,GAAb,aAAa,CAAe;QAAW,QAAG,GAAH,GAAG,CAAQ;QACrE,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC;IAED,WAAW;IACJ,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CAAC,QAAQ,EAAE,CAAC,CAAC;SAChE;IACH,CAAC;IAED,WAAW;IACX,oBAAoB;QAClB,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,uBAAuB,CAAC,EAAE;YACnF,OAAO,CAAC,WAAW,GAAG,EAAE,CAAC,CAAA,yCAAyC;SACnE;QACD,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,QAAQ;QACN,OAAO,eAAe,IAAI,CAAC,GAAG,GAAG,CAAC;IACpC,CAAC;CAWF;AAhFC;IADC,OAAO,EAAE;;;;qDAGT;AAgFH,WAAiB,WAAW;IAEb,mCAAuB,GAAG,kBAAkB,CAAC;IAC7C,oCAAwB,GAAG,IAAI,CAAC;IAE7C,SAAgB,mBAAmB,CAAC,IAAY;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,YAAA,wBAAwB,CAAC,CAAC;IAC9C,CAAC;IAFe,+BAAmB,sBAElC,CAAA;IAED,SAAgB,eAAe,CAAC,cAAwB;QACtD,OAAO,cAAc,CAAC,IAAI,CAAC,YAAA,wBAAwB,CAAC,CAAC;IACvD,CAAC;IAFe,2BAAe,kBAE9B,CAAA;AAKH,CAAC,EAhBgB,WAAW,KAAX,WAAW,QAgB3B","sourcesContent":["import { UrlSegment, UrlSerializer, UrlTree } from '@angular/router';\nimport { Trace } from '@coolon/pectin';\nimport { Memoize } from '@typescript-plus/fast-memoize-decorator';\n\nimport { isEqual } from 'lodash-es';\nimport { ConsolidatedParameterMap } from './guards/consolidated-param-map';\nimport { PlaceDefinition } from './place-definition';\nimport { Visit } from './visit';\n\nfunction extractPrimarySegments(urlTree: UrlTree): UrlSegment[] {\n return urlTree.root.children.primary.segments;\n}\n\nexport class UrlSnapshot {\n\n readonly urlTree: UrlTree;\n\n // TODO: Update this accept a url Parser so it can be immutable and generate new trees on mutation using toString() are parseUrl.\n constructor(readonly urlSerializer: UrlSerializer, readonly url: string) {\n this.urlTree = urlSerializer.parse(url);\n }\n\n // @Trace()\n public updateVisitSegments(visit: Visit): UrlSnapshot {\n const newUrlTree = this.urlSerializer.parse(this.url);\n // Ugly, but it works for now.\n const segments = [...extractPrimarySegments(newUrlTree)];\n const visitSegments = this.getSegmentsFor(visit);\n const replaceAt = segments.findIndex(segment => segment.path === visitSegments[0].path);\n // do not use the return value, it's the items that were removed!\n segments.splice(replaceAt, visitSegments.length, ...visitSegments);\n newUrlTree.root.children.primary.segments = segments;\n return new UrlSnapshot(this.urlSerializer, newUrlTree.toString());\n }\n\n @Memoize()\n private getPrimarySegments(): UrlSegment[] {\n return extractPrimarySegments(this.urlTree);\n }\n\n /**\n * Converts the visit into segments. Please not that these segments are not e\n * @param visit\n */\n protected getSegmentsFor(visit: Visit): UrlSegment[] {\n return visit.placeDefinition.hasRouteId() ?\n [\n // NOTE:\n // It's important to attach the params to the root path and not the id. If we attach them\n // to an empty id then the angular router won't match the pattern.\n new UrlSegment(visit.placeDefinition.path, visit.placeDefinition.getFormattedRouteParameters(visit)),\n new UrlSegment(visit.placeDefinition.getFormattedRouteId(visit), {})]\n :\n [\n new UrlSegment(visit.placeDefinition.path, visit.placeDefinition.getFormattedRouteParameters(visit))\n ];\n }\n\n includesPathOf(placeDef: PlaceDefinition) {\n return this.getPrimarySegments().find(s => s.path === placeDef.path);\n }\n\n createVisitFor(placeDef: PlaceDefinition) {\n return new Visit(placeDef, new ConsolidatedParameterMap(this.getPrimarySegments()));\n }\n\n getInteractionIds() {\n const queryParam = this.urlTree.queryParams[UrlSnapshot.INTERACTION_QUERY_PARAM];\n if (queryParam) {\n return UrlSnapshot.parseInteractionIds(queryParam);\n } else {\n return [];\n }\n }\n\n hasInteractions() {\n return this.getInteractionIds().length > 0;\n }\n\n hasInteractionIds(ids: string[]): boolean {\n return isEqual(this.getInteractionIds(), ids);\n }\n\n // @Trace()\n updateInteractionIds(ids: string[]): UrlSnapshot {\n if (ids.length === 0) {\n return this.removeInteractionIds();\n } else {\n const urlTree = this.urlSerializer.parse(this.url);\n urlTree.queryParams[UrlSnapshot.INTERACTION_QUERY_PARAM] = UrlSnapshot.createPathIdFor(ids);\n return new UrlSnapshot(this.urlSerializer, urlTree.toString());\n }\n }\n\n // @Trace()\n removeInteractionIds(): UrlSnapshot {\n const urlTree = this.urlSerializer.parse(this.url);\n if (urlTree.queryParams && urlTree.queryParams[UrlSnapshot.INTERACTION_QUERY_PARAM]) {\n urlTree.queryParams = {};//[UrlSnapshot.INTERACTION_ROUTER_OUTLET]\n }\n return new UrlSnapshot(this.urlSerializer, urlTree.toString());\n }\n\n toString(): string {\n return `UrlSnapshot(${this.url})`;\n }\n\n // withOptions(options: NavigationExtras) {\n // return new UrlSnapshot(this.urlSerializer, this.url, options);\n // }\n //\n // @Trace()\n // getNavigationExtras(): NavigationExtras {\n // return this.options;\n // }\n\n}\n\nexport namespace UrlSnapshot {\n\n export const INTERACTION_QUERY_PARAM = 'aup-interactions';\n export const INTERACTION_ID_SEPARATOR = '--';\n\n export function parseInteractionIds(path: string) {\n return path.split(INTERACTION_ID_SEPARATOR);\n }\n\n export function createPathIdFor(interactionIds: string[]) {\n return interactionIds.join(INTERACTION_ID_SEPARATOR);\n }\n\n export interface NavigationOptions {\n replaceUrl?: boolean;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"UrlSnapshot":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"UrlSerializer","line":18,"character":38},{"__symbolic":"reference","name":"string"}]}],"updateVisitSegments":[{"__symbolic":"method"}],"getPrimarySegments":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@typescript-plus/fast-memoize-decorator","name":"Memoize","line":35,"character":3}}]}],"getSegmentsFor":[{"__symbolic":"method"}],"includesPathOf":[{"__symbolic":"method"}],"createVisitFor":[{"__symbolic":"method"}],"getInteractionIds":[{"__symbolic":"method"}],"hasInteractions":[{"__symbolic":"method"}],"hasInteractionIds":[{"__symbolic":"method"}],"updateInteractionIds":[{"__symbolic":"method"}],"removeInteractionIds":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visit.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/visit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AASrD,MAAM,OAAO,KAAK;IAEhB,YAAqB,eAAgC,EAAmB,kBAA0B,EAAE;QAA/E,oBAAe,GAAf,eAAe,CAAiB;QAAmB,oBAAe,GAAf,eAAe,CAAa;IACpG,CAAC;IAED,WAAW;IACX,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,WAAW;IACX,UAAU;QACR,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACnC,CAAC;IAED;;;;;OAKG;IACH,iBAAiB,CAAO,SAA6C;QACnE,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACtG,CAAC;IAED,WAAW;IACX,YAAY,CAAC,YAAsC;QACjD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;IAED,OAAO,CAAI,SAAsC,EAAE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KAAK,EAAE,IAAI,CAAC,CAAC;QAClF,6CAA6C;QAC7C,MAAM,mBAAmB,GAAG,OAAO,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;QAChE,OAAO,CAAC,SAAS,IAAI,CAAC,mBAAmB,CAAC;IAC5C,CAAC;IAED,cAAc,CAAC,KAAY;QACzB,MAAM,sBAAsB,GAAG,OAAO,CACpC,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAChD,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAClD,CAAC;QACF,OAAO,CAAC,sBAAsB,IAAI,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;IACtE,CAAC;IAED,aAAa;QACX,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACjG,CAAC;CAEF","sourcesContent":["import { Trace } from '@coolon/pectin';\n\nimport { isEqual, isNil, isString } from 'lodash-es';\nimport { PlaceDefinition } from './place-definition';\nimport { ParameterDefinition } from './route/parameter-definition';\n\ninterface Params {\n [p: string]: any;\n}\n\n\nexport class Visit {\n\n constructor(readonly placeDefinition: PlaceDefinition, private readonly visitParameters: Params = {}) {\n }\n\n // @Trace()\n getRouteId(): any {\n return this.placeDefinition.getRouteIdFrom(this);\n }\n\n // @Trace()\n hasRouteId(): boolean {\n return !isNil(this.getRouteId());\n }\n\n /**\n * Returns the value of the place parameter with the specified name. The parameter\n * name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the\n * same as the the ValueModel property name.\n * @param parameter the visit parameter definition\n */\n getParameterValue<T, S>(parameter: ParameterDefinition<T, S> | string): T {\n return isString(parameter) ? this.visitParameters[parameter] : this.visitParameters[parameter.name];\n }\n\n // @Trace()\n hasParameter(parameterDef: ParameterDefinition<any>): boolean {\n return Object.keys(this.visitParameters).includes(parameterDef.name);\n }\n\n replace<T>(parameter: ParameterDefinition<T, any>, value: T): Visit {\n return new Visit(this.placeDefinition, { ...this.visitParameters, [parameter.name]: value });\n }\n\n mergeRouteParameters<S>(routeParams: { [p: string]: any }): Visit {\n // todo: whitelist parameters.\n const routeParameterKeys = Object.keys(routeParams);\n const params = {};\n this.placeDefinition.getVisitParameterDefs().forEach(def => {\n if (def.isRouteId || def.isRouteParameter) {\n if (routeParameterKeys.includes(def.name)) {\n params[def.name] = routeParams[def.name];\n }\n } else {\n // copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the\n // defaults and remember sanitisation process.\n const value = this.getParameterValue(def);\n if (this.hasParameter(def)) {\n params[def.name] = value;\n }\n }\n });\n return new Visit(this.placeDefinition, params);\n }\n\n // @Trace()\n hasRoutingChangedFrom(other: Visit): boolean {\n const samePlace = other.placeDefinition === this.placeDefinition;\n const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);\n const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);\n // console.log({currentParams, otherParams});\n const sameRouteParameters = isEqual(currentParams, otherParams);\n return !samePlace || !sameRouteParameters;\n }\n\n hasChangedFrom(other: Visit) {\n const sameNonRouteParameters = isEqual(\n this.placeDefinition.getNonRouteParameters(this),\n this.placeDefinition.getNonRouteParameters(other)\n );\n return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);\n }\n\n toDebugString() {\n return Object.keys(this.visitParameters).map(k => `${k}=${this.visitParameters[k]}`).join(',');\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"Visit":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./place-definition","name":"PlaceDefinition","line":13,"character":40},{"__symbolic":"reference","name":"any"}]}],"getRouteId":[{"__symbolic":"method"}],"hasRouteId":[{"__symbolic":"method"}],"getParameterValue":[{"__symbolic":"method"}],"hasParameter":[{"__symbolic":"method"}],"replace":[{"__symbolic":"method"}],"mergeRouteParameters":[{"__symbolic":"method"}],"hasRoutingChangedFrom":[{"__symbolic":"method"}],"hasChangedFrom":[{"__symbolic":"method"}],"toDebugString":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/services/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./visibility-service\";\nexport * from \"./markdown/markdown.service\";\nexport * from \"./markdown/pill-plugin\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./visibility-service"},{"from":"./markdown/markdown.service"},{"from":"./markdown/pill-plugin"}]}]
|