@coolon/angular-ui-powerups 2.0.2 → 3.0.1
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/CHANGELOG.md +18 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +2192 -2390
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -16
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.js +27 -29
- package/esm2015/lib/angular-ui-powerups.module.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/animations/index.js.map +1 -1
- package/esm2015/lib/animations/slide-animations.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +13 -15
- package/esm2015/lib/components/card-container/card-container.component.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +21 -17
- package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.js +19 -34
- package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/command-face.js.map +1 -1
- package/esm2015/lib/components/commands/flex.component.js +8 -11
- package/esm2015/lib/components/commands/flex.component.js.map +1 -1
- package/esm2015/lib/components/commands/flex.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group/command-group.component.js +20 -26
- package/esm2015/lib/components/commands/group/command-group/command-group.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +16 -25
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +16 -17
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group.js.map +1 -1
- package/esm2015/lib/components/commands/group/more-menu.component.js +15 -19
- package/esm2015/lib/components/commands/group/more-menu.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/more-menu.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/more-menu.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/popup-menu.component.js +19 -32
- package/esm2015/lib/components/commands/group/popup-menu.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/popup-menu.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/popup-menu.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/registration.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +13 -32
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/group/view-data.js.map +1 -1
- package/esm2015/lib/components/commands/separator.component.js +9 -13
- package/esm2015/lib/components/commands/separator.component.js.map +1 -1
- package/esm2015/lib/components/commands/separator.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/components.module.js +107 -110
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/disposable-component.js +5 -7
- package/esm2015/lib/components/disposable-component.js.map +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.js +16 -21
- package/esm2015/lib/components/focus-container/focus-container.component.js.map +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/focusable.component.js +10 -25
- package/esm2015/lib/components/focusable.component.js.map +1 -1
- package/esm2015/lib/components/focusable.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.js +25 -86
- package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js +12 -17
- package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js +12 -17
- package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +19 -28
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +14 -20
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +18 -24
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js +14 -20
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js +11 -13
- package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +20 -32
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +15 -12
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js +14 -20
- package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.js +13 -18
- package/esm2015/lib/components/icon/icon.component.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
- package/esm2015/lib/components/icon/icon.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/index.js +5 -0
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.js +10 -12
- package/esm2015/lib/components/noop/noop.component.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/resize-aware.component.js +6 -9
- package/esm2015/lib/components/resize-aware.component.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +10 -12
- package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.js +12 -16
- package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
- package/esm2015/lib/components/section-header/section-header.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js +36 -43
- package/esm2015/lib/components/switch-case/switch-case.component.js.map +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/cell-editors.js +1 -0
- package/esm2015/lib/components/table/cell-editors.js.map +1 -1
- package/esm2015/lib/components/table/cell-portal-ref.js.map +1 -1
- package/esm2015/lib/components/table/cell-renderer.js +1 -0
- package/esm2015/lib/components/table/cell-renderer.js.map +1 -1
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-template/column-template.directive.js +14 -29
- package/esm2015/lib/components/table/column-template/column-template.directive.js.map +1 -1
- package/esm2015/lib/components/table/column-template/column-template.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/column-text-properties.js +1 -0
- package/esm2015/lib/components/table/column-text-properties.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +12 -16
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js +12 -15
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js +14 -19
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/edit-session.js.map +1 -1
- package/esm2015/lib/components/table/mutable-cell-renderer.js +1 -0
- package/esm2015/lib/components/table/mutable-cell-renderer.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js +12 -15
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js +10 -12
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +18 -39
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/table-def.js +1 -0
- package/esm2015/lib/components/table/table-def.js.map +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +13 -19
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/table-model.js +1 -4
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js +14 -20
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js.map +1 -1
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table.component.js +12 -11
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/track-by.js.map +1 -1
- package/esm2015/lib/components/types/bounds.class.js.map +1 -1
- package/esm2015/lib/components/types/dimension.class.js.map +1 -1
- package/esm2015/lib/components/types/point.class.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +21 -42
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/directives/command.directive.js +14 -29
- package/esm2015/lib/directives/command.directive.js.map +1 -1
- package/esm2015/lib/directives/command.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/directives.module.js +23 -25
- package/esm2015/lib/directives/directives.module.js.map +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding-factory.js +9 -13
- package/esm2015/lib/directives/focus-binding-factory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding-factory.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.directive.js +15 -34
- package/esm2015/lib/directives/focus-binding.directive.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.js +8 -10
- package/esm2015/lib/directives/focus-binding.js.map +1 -1
- package/esm2015/lib/directives/index.js.map +1 -1
- package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.js.map +1 -1
- package/esm2015/lib/interaction/activity.js +10 -11
- package/esm2015/lib/interaction/activity.js.map +1 -1
- package/esm2015/lib/interaction/activity.metadata.json +1 -1
- package/esm2015/lib/interaction/activity.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/alert.js +1 -0
- package/esm2015/lib/interaction/alert.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -33
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +15 -23
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +14 -24
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +19 -40
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +9 -13
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +9 -13
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +9 -13
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +13 -21
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +8 -13
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +1 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +8 -10
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +8 -10
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +16 -28
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/confirm.js +1 -0
- package/esm2015/lib/interaction/confirm.js.map +1 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js +17 -45
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +1 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/index.js +7 -0
- package/esm2015/lib/interaction/index.js.map +1 -1
- package/esm2015/lib/interaction/interaction-context.js +1 -0
- package/esm2015/lib/interaction/interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.js +59 -59
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/result.js +1 -0
- package/esm2015/lib/interaction/result.js.map +1 -1
- package/esm2015/lib/interaction/route-synchronisation-adapter.js +1 -0
- package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.js +14 -18
- package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +8 -15
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +17 -13
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js +15 -12
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.js +10 -12
- package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.metadata.json +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +9 -12
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +24 -29
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/route-animations.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +13 -20
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +9 -12
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.js +9 -10
- package/esm2015/lib/place/guards/noop-auth-guard.service.js.map +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +1 -1
- package/esm2015/lib/place/guards/place.guard.js.map +1 -1
- package/esm2015/lib/place/index.js +5 -1
- package/esm2015/lib/place/index.js.map +1 -1
- package/esm2015/lib/place/index.metadata.json +1 -1
- package/esm2015/lib/place/nav-item.js +1 -0
- package/esm2015/lib/place/nav-item.js.map +1 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js +171 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js.map +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigating.js +2 -2
- package/esm2015/lib/place/navigation/session/navigating.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigation-context.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigation-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.metadata.json +1 -1
- package/esm2015/lib/place/place-component.js +7 -9
- package/esm2015/lib/place/place-component.js.map +1 -1
- package/esm2015/lib/place/place-config.js.map +1 -1
- package/esm2015/lib/place/place-definition.js.map +1 -1
- package/esm2015/lib/place/place-history.js +9 -12
- package/esm2015/lib/place/place-history.js.map +1 -1
- package/esm2015/lib/place/place-history.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place-router.js +10 -16
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place.decorator.js.map +1 -1
- package/esm2015/lib/place/place.module.js +41 -43
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/route/formatter.js.map +1 -1
- package/esm2015/lib/place/route/json-types.js +1 -0
- package/esm2015/lib/place/route/json-types.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm2015/lib/place/route/parameter-definition.class.js.map +1 -1
- package/esm2015/lib/place/route/parameter-sanitiser.js +1 -0
- package/esm2015/lib/place/route/parameter-sanitiser.js.map +1 -1
- package/esm2015/lib/place/route/parameter-snapshot.js +1 -0
- package/esm2015/lib/place/route/parameter-snapshot.js.map +1 -1
- package/esm2015/lib/place/route/visit-sanitiser.js.map +1 -1
- package/esm2015/lib/place/url-service.js +8 -11
- package/esm2015/lib/place/url-service.js.map +1 -1
- package/esm2015/lib/place/url-service.ngfactory.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/visit.js.map +1 -1
- package/esm2015/public_api.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +1446 -1754
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +3 -3
- package/lib/components/forms/abstract-value-input.component.d.ts +3 -3
- package/lib/components/table/cell-editors.d.ts +3 -3
- package/lib/interaction/activity.d.ts +1 -1
- package/lib/place/index.d.ts +1 -1
- package/lib/place/navigation/session/event-cleanup/{wait-until-link-triggered-interaction-cancelation-finishes.d.ts → wait-until-link-triggered-navigation-interaction-cancelation-type-determined.d.ts} +8 -24
- package/package.json +16 -18
- package/schematics/bootstrap-app/index.js +1 -0
- package/schematics/bootstrap-app/index.js.map +1 -1
- package/schematics/ng-add/index.js +1 -0
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/package-util.js +1 -0
- package/schematics/package-util.js.map +1 -1
- package/schematics/place-add/index.js +1 -0
- package/schematics/place-add/index.js.map +1 -1
- package/schematics/place-routes/index.js +1 -0
- package/schematics/place-routes/index.js.map +1 -1
- package/schematics/place-routes/place-builder.js +1 -0
- package/schematics/place-routes/place-builder.js.map +1 -1
- package/schematics/place-routes/place-class-scanner.js +1 -0
- package/schematics/place-routes/place-class-scanner.js.map +1 -1
- package/schematics/place-routes/place-def.js +1 -0
- package/schematics/place-routes/place-def.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +0 -80
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.metadata.json +0 -1
- package/esm5/coolon-angular-ui-powerups.js +0 -84
- package/esm5/coolon-angular-ui-powerups.js.map +0 -1
- package/esm5/index.js +0 -2
- package/esm5/index.js.map +0 -1
- package/esm5/lib/angular-ui-powerups.module.js +0 -46
- package/esm5/lib/angular-ui-powerups.module.js.map +0 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +0 -1
- package/esm5/lib/animations/index.js +0 -5
- package/esm5/lib/animations/index.js.map +0 -1
- package/esm5/lib/animations/slide-animations.js +0 -23
- package/esm5/lib/animations/slide-animations.js.map +0 -1
- package/esm5/lib/components/card-container/card-container.component.js +0 -50
- package/esm5/lib/components/card-container/card-container.component.js.map +0 -1
- package/esm5/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/command/command.component.js +0 -64
- package/esm5/lib/components/commands/command/command.component.js.map +0 -1
- package/esm5/lib/components/commands/command/command.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/command-face/command-face.component.js +0 -123
- package/esm5/lib/components/commands/command-face/command-face.component.js.map +0 -1
- package/esm5/lib/components/commands/command-face/command-face.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/command-face.js +0 -145
- package/esm5/lib/components/commands/command-face.js.map +0 -1
- package/esm5/lib/components/commands/flex.component.js +0 -33
- package/esm5/lib/components/commands/flex.component.js.map +0 -1
- package/esm5/lib/components/commands/flex.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group/command-group.component.js +0 -51
- package/esm5/lib/components/commands/group/command-group/command-group.component.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +0 -59
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +0 -42
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group.js +0 -122
- package/esm5/lib/components/commands/group/command-group.js.map +0 -1
- package/esm5/lib/components/commands/group/more-menu.component.js +0 -58
- package/esm5/lib/components/commands/group/more-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/group/more-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/popup-menu.component.js +0 -68
- package/esm5/lib/components/commands/group/popup-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/group/popup-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/registration.js +0 -80
- package/esm5/lib/components/commands/group/registration.js.map +0 -1
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js +0 -58
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js.map +0 -1
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/group/view-data.js +0 -131
- package/esm5/lib/components/commands/group/view-data.js.map +0 -1
- package/esm5/lib/components/commands/separator.component.js +0 -37
- package/esm5/lib/components/commands/separator.component.js.map +0 -1
- package/esm5/lib/components/commands/separator.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/components.module.js +0 -180
- package/esm5/lib/components/components.module.js.map +0 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +0 -1
- package/esm5/lib/components/disposable-component.js +0 -18
- package/esm5/lib/components/disposable-component.js.map +0 -1
- package/esm5/lib/components/focus-container/focus-container.component.js +0 -44
- package/esm5/lib/components/focus-container/focus-container.component.js.map +0 -1
- package/esm5/lib/components/focus-container/focus-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/focusable.component.js +0 -71
- package/esm5/lib/components/focusable.component.js.map +0 -1
- package/esm5/lib/components/focusable.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/abstract-input.component.js +0 -197
- package/esm5/lib/components/forms/abstract-input.component.js.map +0 -1
- package/esm5/lib/components/forms/abstract-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/abstract-list-input.component.js +0 -80
- package/esm5/lib/components/forms/abstract-list-input.component.js.map +0 -1
- package/esm5/lib/components/forms/abstract-list-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/abstract-value-input.component.js +0 -80
- package/esm5/lib/components/forms/abstract-value-input.component.js.map +0 -1
- package/esm5/lib/components/forms/abstract-value-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -73
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +0 -35
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +0 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js +0 -52
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +0 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js +0 -35
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +0 -1
- package/esm5/lib/components/forms/number-input/number-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js +0 -24
- package/esm5/lib/components/forms/password-input/password-input.component.js.map +0 -1
- package/esm5/lib/components/forms/password-input/password-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/select-input/select-input.component.js +0 -60
- package/esm5/lib/components/forms/select-input/select-input.component.js.map +0 -1
- package/esm5/lib/components/forms/select-input/select-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js +0 -37
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +0 -1
- package/esm5/lib/components/forms/string-input/string-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/text-input/text-input.component.js +0 -35
- package/esm5/lib/components/forms/text-input/text-input.component.js.map +0 -1
- package/esm5/lib/components/forms/text-input/text-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/icon/icon.component.js +0 -57
- package/esm5/lib/components/icon/icon.component.js.map +0 -1
- package/esm5/lib/components/icon/icon.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/index.js +0 -59
- package/esm5/lib/components/index.js.map +0 -1
- package/esm5/lib/components/noop/noop.component.js +0 -17
- package/esm5/lib/components/noop/noop.component.js.map +0 -1
- package/esm5/lib/components/noop/noop.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/resize-aware.component.js +0 -65
- package/esm5/lib/components/resize-aware.component.js.map +0 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.js +0 -19
- package/esm5/lib/components/scroll-container/scroll-container.component.js.map +0 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/section-header/section-header.component.js +0 -25
- package/esm5/lib/components/section-header/section-header.component.js.map +0 -1
- package/esm5/lib/components/section-header/section-header.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/switch-case/switch-case.component.js +0 -144
- package/esm5/lib/components/switch-case/switch-case.component.js.map +0 -1
- package/esm5/lib/components/switch-case/switch-case.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/cell-editors.js +0 -1
- package/esm5/lib/components/table/cell-editors.js.map +0 -1
- package/esm5/lib/components/table/cell-portal-ref.js +0 -117
- package/esm5/lib/components/table/cell-portal-ref.js.map +0 -1
- package/esm5/lib/components/table/cell-renderer.js +0 -1
- package/esm5/lib/components/table/cell-renderer.js.map +0 -1
- package/esm5/lib/components/table/column-model.js +0 -346
- package/esm5/lib/components/table/column-model.js.map +0 -1
- package/esm5/lib/components/table/column-template/column-template.directive.js +0 -50
- package/esm5/lib/components/table/column-template/column-template.directive.js.map +0 -1
- package/esm5/lib/components/table/column-template/column-template.directive.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/column-text-properties.js +0 -1
- package/esm5/lib/components/table/column-text-properties.js.map +0 -1
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +0 -32
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js +0 -21
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js +0 -57
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +0 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/edit-session.js +0 -28
- package/esm5/lib/components/table/edit-session.js.map +0 -1
- package/esm5/lib/components/table/mutable-cell-renderer.js +0 -1
- package/esm5/lib/components/table/mutable-cell-renderer.js.map +0 -1
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.js +0 -32
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js +0 -33
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +0 -106
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/table-def.js +0 -1
- package/esm5/lib/components/table/table-def.js.map +0 -1
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +0 -38
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/table-model.js +0 -243
- package/esm5/lib/components/table/table-model.js.map +0 -1
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js +0 -63
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js.map +0 -1
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table.component.js +0 -75
- package/esm5/lib/components/table/table.component.js.map +0 -1
- package/esm5/lib/components/table/table.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/track-by.js +0 -5
- package/esm5/lib/components/track-by.js.map +0 -1
- package/esm5/lib/components/types/bounds.class.js +0 -32
- package/esm5/lib/components/types/bounds.class.js.map +0 -1
- package/esm5/lib/components/types/dimension.class.js +0 -9
- package/esm5/lib/components/types/dimension.class.js.map +0 -1
- package/esm5/lib/components/types/point.class.js +0 -15
- package/esm5/lib/components/types/point.class.js.map +0 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js +0 -90
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +0 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/directives/command.directive.js +0 -116
- package/esm5/lib/directives/command.directive.js.map +0 -1
- package/esm5/lib/directives/command.directive.ngfactory.js.map +0 -1
- package/esm5/lib/directives/directives.module.js +0 -39
- package/esm5/lib/directives/directives.module.js.map +0 -1
- package/esm5/lib/directives/directives.module.ngfactory.js.map +0 -1
- package/esm5/lib/directives/focus-binding-factory.js +0 -32
- package/esm5/lib/directives/focus-binding-factory.js.map +0 -1
- package/esm5/lib/directives/focus-binding-factory.ngfactory.js.map +0 -1
- package/esm5/lib/directives/focus-binding.directive.js +0 -80
- package/esm5/lib/directives/focus-binding.directive.js.map +0 -1
- package/esm5/lib/directives/focus-binding.directive.ngfactory.js.map +0 -1
- package/esm5/lib/directives/focus-binding.js +0 -88
- package/esm5/lib/directives/focus-binding.js.map +0 -1
- package/esm5/lib/directives/index.js +0 -9
- package/esm5/lib/directives/index.js.map +0 -1
- package/esm5/lib/interaction/abstract-interaction-context.js +0 -40
- package/esm5/lib/interaction/abstract-interaction-context.js.map +0 -1
- package/esm5/lib/interaction/activity-ref.js +0 -68
- package/esm5/lib/interaction/activity-ref.js.map +0 -1
- package/esm5/lib/interaction/activity.js +0 -86
- package/esm5/lib/interaction/activity.js.map +0 -1
- package/esm5/lib/interaction/alert.js +0 -1
- package/esm5/lib/interaction/alert.js.map +0 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js +0 -83
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +0 -226
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +0 -80
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +0 -90
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js +0 -28
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +0 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +0 -46
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +0 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +0 -33
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +0 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +0 -86
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js +0 -51
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/input-activity-data.js +0 -1
- package/esm5/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity-data.js +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity.js +0 -38
- package/esm5/lib/interaction/components/input-activities/select-input-activity.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/string-input-activity.js +0 -18
- package/esm5/lib/interaction/components/input-activities/string-input-activity.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +0 -111
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/confirm.js +0 -1
- package/esm5/lib/interaction/confirm.js.map +0 -1
- package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.js +0 -94
- package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +0 -1
- package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/index.js +0 -26
- package/esm5/lib/interaction/index.js.map +0 -1
- package/esm5/lib/interaction/interaction-context.js +0 -1
- package/esm5/lib/interaction/interaction-context.js.map +0 -1
- package/esm5/lib/interaction/interaction.module.js +0 -88
- package/esm5/lib/interaction/interaction.module.js.map +0 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/result.js +0 -3
- package/esm5/lib/interaction/result.js.map +0 -1
- package/esm5/lib/interaction/route-synchronisation-adapter.js +0 -1
- package/esm5/lib/interaction/route-synchronisation-adapter.js.map +0 -1
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js +0 -31
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js.map +0 -1
- package/esm5/lib/interaction/services/interaction.service.js +0 -157
- package/esm5/lib/interaction/services/interaction.service.js.map +0 -1
- package/esm5/lib/interaction/services/interaction.service.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +0 -44
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +0 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +0 -64
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +0 -1
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js +0 -7
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js.map +0 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.js +0 -78
- package/esm5/lib/place/components/abstract-place-navigation.component.js.map +0 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js +0 -28
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js.map +0 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.js +0 -19
- package/esm5/lib/place/components/empty-state/empty-state.component.js.map +0 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +0 -24
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +0 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +0 -246
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/route-animations.js +0 -45
- package/esm5/lib/place/components/place-outlet/route-animations.js.map +0 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +0 -88
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +0 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +0 -24
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +0 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/guards/consolidated-param-map.js +0 -61
- package/esm5/lib/place/guards/consolidated-param-map.js.map +0 -1
- package/esm5/lib/place/guards/noop-auth-guard.service.js +0 -24
- package/esm5/lib/place/guards/noop-auth-guard.service.js.map +0 -1
- package/esm5/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +0 -1
- package/esm5/lib/place/guards/place.guard.js +0 -157
- package/esm5/lib/place/guards/place.guard.js.map +0 -1
- package/esm5/lib/place/index.js +0 -43
- package/esm5/lib/place/index.js.map +0 -1
- package/esm5/lib/place/nav-item.js +0 -1
- package/esm5/lib/place/nav-item.js.map +0 -1
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js +0 -98
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js.map +0 -1
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js +0 -19
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +0 -15
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +0 -52
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +0 -86
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +0 -71
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js +0 -43
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +0 -34
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +0 -58
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +0 -92
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +0 -1
- package/esm5/lib/place/navigation/session/navigating.js +0 -28
- package/esm5/lib/place/navigation/session/navigating.js.map +0 -1
- package/esm5/lib/place/navigation/session/navigation-context.js +0 -15
- package/esm5/lib/place/navigation/session/navigation-context.js.map +0 -1
- package/esm5/lib/place/navigation/session/navigation-session.js +0 -183
- package/esm5/lib/place/navigation/session/navigation-session.js.map +0 -1
- package/esm5/lib/place/navigation/session/pop-state-navigation.js +0 -22
- package/esm5/lib/place/navigation/session/pop-state-navigation.js.map +0 -1
- package/esm5/lib/place/place-component.js +0 -125
- package/esm5/lib/place/place-component.js.map +0 -1
- package/esm5/lib/place/place-config.js +0 -3
- package/esm5/lib/place/place-config.js.map +0 -1
- package/esm5/lib/place/place-definition.js +0 -148
- package/esm5/lib/place/place-definition.js.map +0 -1
- package/esm5/lib/place/place-history.js +0 -145
- package/esm5/lib/place/place-history.js.map +0 -1
- package/esm5/lib/place/place-history.ngfactory.js.map +0 -1
- package/esm5/lib/place/place-router.js +0 -330
- package/esm5/lib/place/place-router.js.map +0 -1
- package/esm5/lib/place/place-router.ngfactory.js.map +0 -1
- package/esm5/lib/place/place.decorator.js +0 -15
- package/esm5/lib/place/place.decorator.js.map +0 -1
- package/esm5/lib/place/place.module.js +0 -66
- package/esm5/lib/place/place.module.js.map +0 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +0 -1
- package/esm5/lib/place/route/formatter.js +0 -42
- package/esm5/lib/place/route/formatter.js.map +0 -1
- package/esm5/lib/place/route/json-types.js +0 -1
- package/esm5/lib/place/route/json-types.js.map +0 -1
- package/esm5/lib/place/route/parameter-decorators.js +0 -64
- package/esm5/lib/place/route/parameter-decorators.js.map +0 -1
- package/esm5/lib/place/route/parameter-definition.class.js +0 -109
- package/esm5/lib/place/route/parameter-definition.class.js.map +0 -1
- package/esm5/lib/place/route/parameter-sanitiser.js +0 -1
- package/esm5/lib/place/route/parameter-sanitiser.js.map +0 -1
- package/esm5/lib/place/route/parameter-snapshot.js +0 -1
- package/esm5/lib/place/route/parameter-snapshot.js.map +0 -1
- package/esm5/lib/place/route/visit-sanitiser.js +0 -62
- package/esm5/lib/place/route/visit-sanitiser.js.map +0 -1
- package/esm5/lib/place/url-service.js +0 -77
- package/esm5/lib/place/url-service.js.map +0 -1
- package/esm5/lib/place/url-service.ngfactory.js.map +0 -1
- package/esm5/lib/place/url-snapshot.js +0 -98
- package/esm5/lib/place/url-snapshot.js.map +0 -1
- package/esm5/lib/place/visit.js +0 -72
- package/esm5/lib/place/visit.js.map +0 -1
- package/esm5/public_api.js +0 -7
- package/esm5/public_api.js.map +0 -1
- package/fesm5/coolon-angular-ui-powerups.js +0 -8132
- package/fesm5/coolon-angular-ui-powerups.js.map +0 -1
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __extends, __generator } from "tslib";
|
|
2
|
-
import { EventCleanUpSession } from './event-clean-up-session';
|
|
3
|
-
/**
|
|
4
|
-
* This state handles the scenario where a pop state triggered and interaction and the user clickeb back a second time to cancel it.
|
|
5
|
-
* The sequence of routing events/state transitions is as follows.
|
|
6
|
-
* -> Idle -> PopStateTransition (poppedHistoryUrl == page to go to, startingUrl = page to stay on )
|
|
7
|
-
* -> confirm dialog shown.
|
|
8
|
-
* -> click back
|
|
9
|
-
* -> PopStateTransition -> CancelledDuringBackButtonNavigationInteraction(trigger url is the page before the popped history url)
|
|
10
|
-
* -> NavigationCancel (for the previous back)
|
|
11
|
-
* -> PopState
|
|
12
|
-
* -> NavigationCancel
|
|
13
|
-
*/
|
|
14
|
-
var WaitUntilPopStateDuringCanDeactivateInteractionFinishes = /** @class */ (function (_super) {
|
|
15
|
-
__extends(WaitUntilPopStateDuringCanDeactivateInteractionFinishes, _super);
|
|
16
|
-
function WaitUntilPopStateDuringCanDeactivateInteractionFinishes(context, startingUrl, locationChangeTriggerUrl, poppedHistoryUrl) {
|
|
17
|
-
var _this = _super.call(this, context, startingUrl) || this;
|
|
18
|
-
_this.locationChangeTriggerUrl = locationChangeTriggerUrl;
|
|
19
|
-
_this.poppedHistoryUrl = poppedHistoryUrl;
|
|
20
|
-
_this.isPopState = false;
|
|
21
|
-
_this.firstCancelHandled = false;
|
|
22
|
-
_this.popStateHandled = false;
|
|
23
|
-
_this.debugPropertyKeys = ['idle', 'startingUrl', 'poppedHistoryUrl', 'locationChangeTriggerUrl', 'popStateEventUrl', 'firstCancelHandled', 'popStateHandled'];
|
|
24
|
-
return _this;
|
|
25
|
-
}
|
|
26
|
-
// @Trace()
|
|
27
|
-
WaitUntilPopStateDuringCanDeactivateInteractionFinishes.prototype.onRouterStarted = function (event) {
|
|
28
|
-
this.ignore(event);
|
|
29
|
-
};
|
|
30
|
-
// @Trace()
|
|
31
|
-
WaitUntilPopStateDuringCanDeactivateInteractionFinishes.prototype.onRouterCancelled = function (event) {
|
|
32
|
-
if (!this.firstCancelHandled) {
|
|
33
|
-
this.firstCancelHandled = true;
|
|
34
|
-
this.parentPageUrl = event.url;
|
|
35
|
-
this.ignore(event);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
if (this.popStateHandled) {
|
|
39
|
-
var grandParentPageUrl = event.url;
|
|
40
|
-
this.repairBrowserHistoryAndUrlAfterGuardCancellation(grandParentPageUrl, this.parentPageUrl);
|
|
41
|
-
// we've had one more back click than normal so we need to add our initial url back in as well.
|
|
42
|
-
this.resetBrowserLocation(this.startingUrl, { replaceCurrent: false });
|
|
43
|
-
return this.context.finishRoutingSession();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
// @Trace()
|
|
48
|
-
WaitUntilPopStateDuringCanDeactivateInteractionFinishes.prototype.onRouterEnd = function (event) {
|
|
49
|
-
this.ignore(event);
|
|
50
|
-
};
|
|
51
|
-
// @Trace()
|
|
52
|
-
WaitUntilPopStateDuringCanDeactivateInteractionFinishes.prototype.onRouterError = function (event) {
|
|
53
|
-
void this.ignore(event);
|
|
54
|
-
};
|
|
55
|
-
// @Trace()
|
|
56
|
-
WaitUntilPopStateDuringCanDeactivateInteractionFinishes.prototype.onPopState = function (event) {
|
|
57
|
-
this.popStateHandled = true;
|
|
58
|
-
this.popStateEventUrl = event.url;
|
|
59
|
-
this.ignore(event);
|
|
60
|
-
};
|
|
61
|
-
WaitUntilPopStateDuringCanDeactivateInteractionFinishes.prototype.canDeactivatePlace = function (component, currentUrl, nextUrl) {
|
|
62
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
63
|
-
return __generator(this, function (_a) {
|
|
64
|
-
return [2 /*return*/, false];
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
return WaitUntilPopStateDuringCanDeactivateInteractionFinishes;
|
|
69
|
-
}(EventCleanUpSession));
|
|
70
|
-
export { WaitUntilPopStateDuringCanDeactivateInteractionFinishes };
|
|
71
|
-
//# sourceMappingURL=wait-until-popstate-during-can-deactivate-transition-finishes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wait-until-popstate-during-can-deactivate-transition-finishes.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;;;;;;;GAUG;AACH;IAA6E,2EAAmB;IAS9F,iEAAY,OAA0B,EAC1B,WAAmB,EACV,wBAAgC,EAChC,gBAAwB;QAH7C,YAIE,kBAAM,OAAO,EAAE,WAAW,CAAC,SAC5B;QAHoB,8BAAwB,GAAxB,wBAAwB,CAAQ;QAChC,sBAAgB,GAAhB,gBAAgB,CAAQ;QAVpC,gBAAU,GAAG,KAAK,CAAC;QAC5B,wBAAkB,GAAG,KAAK,CAAC;QAC3B,qBAAe,GAAG,KAAK,CAAC;QAExB,uBAAiB,GAAG,CAAC,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,iBAAiB,CAAC,CAAC;;IAQzJ,CAAC;IAED,WAAW;IACX,iFAAe,GAAf,UAAgB,KAAsB;QACpC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,WAAW;IACX,mFAAiB,GAAjB,UAAkB,KAAuB;QACvC,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC5B,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;YAC/B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC;YAC/B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;SACpB;aAAM;YACL,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,IAAM,kBAAkB,GAAG,KAAK,CAAC,GAAG,CAAC;gBACrC,IAAI,CAAC,gDAAgD,CAAC,kBAAkB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;gBAC9F,+FAA+F;gBAC/F,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,EAAC,cAAc,EAAE,KAAK,EAAC,CAAC,CAAC;gBACrE,OAAO,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;aAC5C;SACF;IACH,CAAC;IAED,WAAW;IACX,6EAAW,GAAX,UAAY,KAAoB;QAC9B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,WAAW;IACX,+EAAa,GAAb,UAAc,KAAsB;QAClC,KAAK,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,WAAW;IACX,4EAAU,GAAV,UAAW,KAAsB;QAC/B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,GAAG,CAAC;QAClC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAEK,oFAAkB,GAAxB,UAAyB,SAAyB,EAAE,UAAuB,EAAE,OAAoB;;;gBAC/F,sBAAO,KAAK,EAAC;;;KACd;IACH,8DAAC;AAAD,CAAC,AA1DD,CAA6E,mBAAmB,GA0D/F","sourcesContent":["import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart } from '@angular/router';\nimport { Logger, Trace } from '@coolon/pectin';\nimport { PlaceComponent } from '../../../place-component';\nimport { UrlSnapshot } from '../../../url-snapshot';\nimport { NavigationContext } from '../navigation-context';\nimport { EventCleanUpSession } from './event-clean-up-session';\n\n/**\n * This state handles the scenario where a pop state triggered and interaction and the user clickeb back a second time to cancel it.\n * The sequence of routing events/state transitions is as follows.\n * -> Idle -> PopStateTransition (poppedHistoryUrl == page to go to, startingUrl = page to stay on )\n * -> confirm dialog shown.\n * -> click back\n * -> PopStateTransition -> CancelledDuringBackButtonNavigationInteraction(trigger url is the page before the popped history url)\n * -> NavigationCancel (for the previous back)\n * -> PopState\n * -> NavigationCancel\n */\nexport class WaitUntilPopStateDuringCanDeactivateInteractionFinishes extends EventCleanUpSession {\n\n readonly isPopState = false;\n firstCancelHandled = false;\n popStateHandled = false;\n popStateEventUrl: string;\n debugPropertyKeys = ['idle', 'startingUrl', 'poppedHistoryUrl', 'locationChangeTriggerUrl', 'popStateEventUrl', 'firstCancelHandled', 'popStateHandled'];\n private parentPageUrl: string;\n\n constructor(context: NavigationContext,\n startingUrl: string,\n readonly locationChangeTriggerUrl: string,\n readonly poppedHistoryUrl: string) {\n super(context, startingUrl);\n }\n\n // @Trace()\n onRouterStarted(event: NavigationStart): void {\n this.ignore(event);\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel): void {\n if (!this.firstCancelHandled) {\n this.firstCancelHandled = true;\n this.parentPageUrl = event.url;\n this.ignore(event);\n } else {\n if (this.popStateHandled) {\n const grandParentPageUrl = event.url;\n this.repairBrowserHistoryAndUrlAfterGuardCancellation(grandParentPageUrl, this.parentPageUrl);\n // we've had one more back click than normal so we need to add our initial url back in as well.\n this.resetBrowserLocation(this.startingUrl, {replaceCurrent: false});\n return this.context.finishRoutingSession();\n }\n }\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd): void {\n this.ignore(event);\n }\n\n // @Trace()\n onRouterError(event: NavigationError): void {\n void this.ignore(event);\n }\n\n // @Trace()\n onPopState(event: NavigationStart): void {\n this.popStateHandled = true;\n this.popStateEventUrl = event.url;\n this.ignore(event);\n }\n\n async canDeactivatePlace(component: PlaceComponent, currentUrl: UrlSnapshot, nextUrl: UrlSnapshot): Promise<boolean | UrlSnapshot> {\n return false;\n }\n}\n"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { NavigationSession } from '../navigation-session';
|
|
3
|
-
import { WaitUntilLeavingInteractionTransitionCancelled } from '../event-cleanup/wait-until-leaving-interaction-transition-cancelled';
|
|
4
|
-
import { SynchroniseInteractionContextIdsWithRoute } from './synchronise-interaction-context-ids-with-route';
|
|
5
|
-
/**
|
|
6
|
-
* This state exists to handle all events while any kind of navigation is in progress. That way all other states can
|
|
7
|
-
* happily ignore interaction contexts.
|
|
8
|
-
* NOTE: This state is activated when ever an interaction is started. It might be better to split it into
|
|
9
|
-
* different states for different scenarios, e.g. starting model, starting model during route guard etc.
|
|
10
|
-
*/
|
|
11
|
-
var NavigatingDuringInteraction = /** @class */ (function (_super) {
|
|
12
|
-
__extends(NavigatingDuringInteraction, _super);
|
|
13
|
-
function NavigatingDuringInteraction() {
|
|
14
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15
|
-
_this.isPopState = false;
|
|
16
|
-
return _this;
|
|
17
|
-
}
|
|
18
|
-
// @Trace()
|
|
19
|
-
NavigatingDuringInteraction.prototype.onRouterCancelled = function (event) {
|
|
20
|
-
this.context.finishRoutingSession();
|
|
21
|
-
};
|
|
22
|
-
// @Trace()
|
|
23
|
-
NavigatingDuringInteraction.prototype.onRouterError = function (event) {
|
|
24
|
-
// navigation was aborted.
|
|
25
|
-
this.context.finishRoutingSession();
|
|
26
|
-
};
|
|
27
|
-
// @Trace()
|
|
28
|
-
NavigatingDuringInteraction.prototype.onRouterEnd = function (event) {
|
|
29
|
-
if (this.context.routerInteractionAdapter.isActive()) {
|
|
30
|
-
this.context.transitionTo(new SynchroniseInteractionContextIdsWithRoute(this.context, this.startingUrl, false));
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
this.context.finishRoutingSession(this.getVisits());
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
// @Trace()
|
|
37
|
-
NavigatingDuringInteraction.prototype.handleCanDeactivateCancelledEventScenario = function (locationTriggerUrl) {
|
|
38
|
-
this.context.transitionTo(new WaitUntilLeavingInteractionTransitionCancelled(this.context, this.startingUrl, locationTriggerUrl));
|
|
39
|
-
};
|
|
40
|
-
return NavigatingDuringInteraction;
|
|
41
|
-
}(NavigationSession));
|
|
42
|
-
export { NavigatingDuringInteraction };
|
|
43
|
-
//# sourceMappingURL=navigating-during-interaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigating-during-interaction.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/interactions/navigating-during-interaction.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,8CAA8C,EAAE,MAAM,sEAAsE,CAAC;AACtI,OAAO,EAAE,yCAAyC,EAAE,MAAM,kDAAkD,CAAC;AAE7G;;;;;GAKG;AACH;IAAiD,+CAAiB;IAAlE;QAAA,qEA8BC;QA7BU,gBAAU,GAAG,KAAK,CAAC;;IA6B9B,CAAC;IA3BC,WAAW;IACX,uDAAiB,GAAjB,UAAkB,KAAuB;QACvC,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,WAAW;IACX,mDAAa,GAAb,UAAc,KAAsB;QAClC,0BAA0B;QAC1B,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,WAAW;IACX,iDAAW,GAAX,UAAY,KAAoB;QAC9B,IAAI,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,EAAE,EAAE;YACpD,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,yCAAyC,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAA;SAChH;aAAM;YACL,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;SACrD;IACH,CAAC;IAED,WAAW;IACX,+EAAyC,GAAzC,UAA0C,kBAA0B;QAClE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,8CAA8C,CAAC,IAAI,CAAC,OAAO,EACvF,IAAI,CAAC,WAAW,EAChB,kBAAkB,CAAC,CAAC,CAAC;IACzB,CAAC;IAEH,kCAAC;AAAD,CAAC,AA9BD,CAAiD,iBAAiB,GA8BjE","sourcesContent":["import { NavigationCancel, NavigationEnd, NavigationError } from '@angular/router';\nimport { Trace } from '@coolon/pectin';\nimport { NavigationSession } from '../navigation-session';\n\nimport { WaitUntilLeavingInteractionTransitionCancelled } from '../event-cleanup/wait-until-leaving-interaction-transition-cancelled';\nimport { SynchroniseInteractionContextIdsWithRoute } from './synchronise-interaction-context-ids-with-route';\n\n/**\n * This state exists to handle all events while any kind of navigation is in progress. That way all other states can\n * happily ignore interaction contexts.\n * NOTE: This state is activated when ever an interaction is started. It might be better to split it into\n * different states for different scenarios, e.g. starting model, starting model during route guard etc.\n */\nexport class NavigatingDuringInteraction extends NavigationSession {\n readonly isPopState = false;\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel): void {\n this.context.finishRoutingSession();\n }\n\n // @Trace()\n onRouterError(event: NavigationError): void {\n // navigation was aborted.\n this.context.finishRoutingSession();\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd): void {\n if (this.context.routerInteractionAdapter.isActive()) {\n this.context.transitionTo(new SynchroniseInteractionContextIdsWithRoute(this.context, this.startingUrl, false))\n } else {\n this.context.finishRoutingSession(this.getVisits());\n }\n }\n\n // @Trace()\n handleCanDeactivateCancelledEventScenario(locationTriggerUrl: string): void {\n this.context.transitionTo(new WaitUntilLeavingInteractionTransitionCancelled(this.context,\n this.startingUrl,\n locationTriggerUrl));\n }\n\n}\n"]}
|
package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { AbstractPopStateNavigation } from '../abstract-pop-state-navigation';
|
|
3
|
-
import { SynchroniseInteractionContextIdsWithRoute } from './synchronise-interaction-context-ids-with-route';
|
|
4
|
-
/**
|
|
5
|
-
* This state exists to handle all events while any kind of navigation is in progress. That way all other states can
|
|
6
|
-
* happily ignore interaction contexts.
|
|
7
|
-
*/
|
|
8
|
-
var PopStateDuringInteractionNavigation = /** @class */ (function (_super) {
|
|
9
|
-
__extends(PopStateDuringInteractionNavigation, _super);
|
|
10
|
-
function PopStateDuringInteractionNavigation(context, startingUrl, poppedHistoryUrl) {
|
|
11
|
-
return _super.call(this, context, startingUrl, poppedHistoryUrl) || this;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Invoked when the place refuses to deactivate because of an unfinished interaction.
|
|
15
|
-
* @param event
|
|
16
|
-
*/
|
|
17
|
-
// @Trace()
|
|
18
|
-
PopStateDuringInteractionNavigation.prototype.onRouterCancelled = function (event) {
|
|
19
|
-
this.repairBrowserHistoryAndUrlAfterGuardCancellation();
|
|
20
|
-
// NOTE: for now we need to wasTriggeredByPopState=false because we're resetting the url and history in the previous line.
|
|
21
|
-
this.context.transitionTo(new SynchroniseInteractionContextIdsWithRoute(this.context, this.poppedHistoryUrl, false));
|
|
22
|
-
};
|
|
23
|
-
// @Trace()
|
|
24
|
-
PopStateDuringInteractionNavigation.prototype.onRouterEnd = function (event) {
|
|
25
|
-
// this.context.transitionTo(new SynchroniseInteractionContextIdsWithRoute(this.context, this.poppedHistoryUrl, false));
|
|
26
|
-
this.context.finishRoutingSession();
|
|
27
|
-
};
|
|
28
|
-
PopStateDuringInteractionNavigation.prototype.handleCanDeactivateCancelledEventScenario = function (newUrl) {
|
|
29
|
-
this.illegalTransition('Leaving interaction after pop-state should\'t block so should never see a back button click');
|
|
30
|
-
};
|
|
31
|
-
return PopStateDuringInteractionNavigation;
|
|
32
|
-
}(AbstractPopStateNavigation));
|
|
33
|
-
export { PopStateDuringInteractionNavigation };
|
|
34
|
-
//# sourceMappingURL=pop-state-during-interaction-navigation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pop-state-during-interaction-navigation.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,kDAAkD,CAAC;AAE7G;;;GAGG;AACH;IAAyD,uDAA0B;IAEjF,6CAAY,OAA0B,EAAE,WAAmB,EAAE,gBAAwB;eACnF,kBAAM,OAAO,EAAE,WAAW,EAAE,gBAAgB,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACH,WAAW;IACX,+DAAiB,GAAjB,UAAkB,KAAuB;QACvC,IAAI,CAAC,gDAAgD,EAAE,CAAC;QACxD,0HAA0H;QAC1H,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,yCAAyC,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC,CAAC;IACvH,CAAC;IAED,WAAW;IACX,yDAAW,GAAX,UAAY,KAAoB;QAC9B,wHAAwH;QACxH,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,uFAAyC,GAAzC,UAA0C,MAAc;QACtD,IAAI,CAAC,iBAAiB,CAAC,6FAA6F,CAAC,CAAC;IACxH,CAAC;IAEH,0CAAC;AAAD,CAAC,AA3BD,CAAyD,0BAA0B,GA2BlF","sourcesContent":["import { NavigationCancel, NavigationEnd } from '@angular/router';\nimport { Trace } from '@coolon/pectin';\nimport { AbstractPopStateNavigation } from '../abstract-pop-state-navigation';\nimport { NavigationContext } from '../navigation-context';\nimport { SynchroniseInteractionContextIdsWithRoute } from './synchronise-interaction-context-ids-with-route';\n\n/**\n * This state exists to handle all events while any kind of navigation is in progress. That way all other states can\n * happily ignore interaction contexts.\n */\nexport class PopStateDuringInteractionNavigation extends AbstractPopStateNavigation {\n\n constructor(context: NavigationContext, startingUrl: string, poppedHistoryUrl: string) {\n super(context, startingUrl, poppedHistoryUrl);\n }\n\n /**\n * Invoked when the place refuses to deactivate because of an unfinished interaction.\n * @param event\n */\n // @Trace()\n onRouterCancelled(event: NavigationCancel): void {\n this.repairBrowserHistoryAndUrlAfterGuardCancellation();\n // NOTE: for now we need to wasTriggeredByPopState=false because we're resetting the url and history in the previous line.\n this.context.transitionTo(new SynchroniseInteractionContextIdsWithRoute(this.context, this.poppedHistoryUrl, false));\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd): void {\n // this.context.transitionTo(new SynchroniseInteractionContextIdsWithRoute(this.context, this.poppedHistoryUrl, false));\n this.context.finishRoutingSession();\n }\n\n handleCanDeactivateCancelledEventScenario(newUrl: string): void {\n this.illegalTransition('Leaving interaction after pop-state should\\'t block so should never see a back button click');\n }\n\n}\n"]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Deferred, lang } from '@coolon/pectin';
|
|
3
|
-
import { NavigationSession } from '../navigation-session';
|
|
4
|
-
/**
|
|
5
|
-
* This session tracks the process of removing the last interaction context from the URL and provides a promise
|
|
6
|
-
* the resolves when the process and completed. This case is special as the process involves a regular routing cycle
|
|
7
|
-
* followed by a call to location.back(). The later triggers a url change with no other routing events. So this
|
|
8
|
-
* class tracks when the first routing cycle finishes and then waits for the subsequent lone url change event.
|
|
9
|
-
*/
|
|
10
|
-
var RemoveLastInteractionFromUrlNavigationSession = /** @class */ (function (_super) {
|
|
11
|
-
__extends(RemoveLastInteractionFromUrlNavigationSession, _super);
|
|
12
|
-
function RemoveLastInteractionFromUrlNavigationSession(context, startingUrl) {
|
|
13
|
-
var _this = _super.call(this, context, startingUrl) || this;
|
|
14
|
-
_this.isPopState = true;
|
|
15
|
-
_this.debugPropertyKeys = ['startingUrl', 'poppedHistoryUrl'];
|
|
16
|
-
_this.finished = Deferred.defer();
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
// @Trace()
|
|
20
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.onPopState = function (event) {
|
|
21
|
-
this.gotPopState = true;
|
|
22
|
-
};
|
|
23
|
-
// @Trace()
|
|
24
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.onRouterStarted = function (event) {
|
|
25
|
-
this.ignore(event);
|
|
26
|
-
};
|
|
27
|
-
// @Trace()
|
|
28
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.onRouterCancelled = function (event) {
|
|
29
|
-
this.ignore(event);
|
|
30
|
-
};
|
|
31
|
-
// @Trace()
|
|
32
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.onUrlChange = function (url) {
|
|
33
|
-
};
|
|
34
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.finishUp = function () {
|
|
35
|
-
this.context.finishRoutingSession();
|
|
36
|
-
this.finished.resolve(true);
|
|
37
|
-
};
|
|
38
|
-
// @Trace()
|
|
39
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.onRouterEnd = function (event) {
|
|
40
|
-
if (this.gotPopState) {
|
|
41
|
-
this.finishUp();
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
// @Trace()
|
|
45
|
-
RemoveLastInteractionFromUrlNavigationSession.prototype.handleCanDeactivateCancelledEventScenario = function (locationTriggerUrl) {
|
|
46
|
-
lang.illegalState('onCanDeactivateInteractionCancelled not supported for activity context synchronisation since we should never leave a place');
|
|
47
|
-
};
|
|
48
|
-
Object.defineProperty(RemoveLastInteractionFromUrlNavigationSession.prototype, "finishedPromise", {
|
|
49
|
-
get: function () {
|
|
50
|
-
return this.finished.promise;
|
|
51
|
-
},
|
|
52
|
-
enumerable: true,
|
|
53
|
-
configurable: true
|
|
54
|
-
});
|
|
55
|
-
return RemoveLastInteractionFromUrlNavigationSession;
|
|
56
|
-
}(NavigationSession));
|
|
57
|
-
export { RemoveLastInteractionFromUrlNavigationSession };
|
|
58
|
-
//# sourceMappingURL=remove-last-interaction-from-url-navigation-session.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove-last-interaction-from-url-navigation-session.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAS,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;;GAKG;AACH;IAAmE,iEAAiB;IAOlF,uDAAY,OAA0B,EAAE,WAAmB;QAA3D,YACE,kBAAM,OAAO,EAAE,WAAW,CAAC,SAE5B;QATQ,gBAAU,GAAG,IAAI,CAAC;QAC3B,uBAAiB,GAAG,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;QAOtD,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,KAAK,EAAW,CAAC;;IAC5C,CAAC;IAED,WAAW;IACX,kEAAU,GAAV,UAAW,KAAsB;QAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;IAED,WAAW;IACX,uEAAe,GAAf,UAAgB,KAAsB;QACpC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,WAAW;IACX,yEAAiB,GAAjB,UAAkB,KAAuB;QACvC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,WAAW;IACX,mEAAW,GAAX,UAAY,GAAW;IACvB,CAAC;IAEO,gEAAQ,GAAhB;QACE,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;QACpC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED,WAAW;IACX,mEAAW,GAAX,UAAY,KAAoB;QAC9B,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,QAAQ,EAAE,CAAC;SACjB;IACH,CAAC;IAED,WAAW;IACX,iGAAyC,GAAzC,UAA0C,kBAA0B;QAClE,IAAI,CAAC,YAAY,CAAC,4HAA4H,CAAC,CAAC;IAClJ,CAAC;IAED,sBAAI,0EAAe;aAAnB;YACE,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;QAC/B,CAAC;;;OAAA;IAEH,oDAAC;AAAD,CAAC,AApDD,CAAmE,iBAAiB,GAoDnF","sourcesContent":["import { NavigationCancel, NavigationEnd, NavigationStart } from '@angular/router';\nimport { Deferred, lang, Trace } from '@coolon/pectin';\nimport { NavigationContext } from '../navigation-context';\nimport { NavigationSession } from '../navigation-session';\n\n/**\n * This session tracks the process of removing the last interaction context from the URL and provides a promise\n * the resolves when the process and completed. This case is special as the process involves a regular routing cycle\n * followed by a call to location.back(). The later triggers a url change with no other routing events. So this\n * class tracks when the first routing cycle finishes and then waits for the subsequent lone url change event.\n */\nexport class RemoveLastInteractionFromUrlNavigationSession extends NavigationSession {\n readonly isPopState = true;\n debugPropertyKeys = ['startingUrl', 'poppedHistoryUrl'];\n\n private finished: Deferred<boolean>;\n private gotPopState: boolean;\n\n constructor(context: NavigationContext, startingUrl: string) {\n super(context, startingUrl);\n this.finished = Deferred.defer<boolean>();\n }\n\n // @Trace()\n onPopState(event: NavigationStart): void {\n this.gotPopState = true;\n }\n\n // @Trace()\n onRouterStarted(event: NavigationStart): void {\n this.ignore(event);\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel): void {\n this.ignore(event);\n }\n\n // @Trace()\n onUrlChange(url: string) {\n }\n\n private finishUp() {\n this.context.finishRoutingSession();\n this.finished.resolve(true);\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd): void {\n if (this.gotPopState) {\n this.finishUp();\n }\n }\n\n // @Trace()\n handleCanDeactivateCancelledEventScenario(locationTriggerUrl: string): void {\n lang.illegalState('onCanDeactivateInteractionCancelled not supported for activity context synchronisation since we should never leave a place');\n }\n\n get finishedPromise(): Promise<boolean> {\n return this.finished.promise;\n }\n\n}\n"]}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { lang } from '@coolon/typescript-utilities';
|
|
3
|
-
import _ from 'lodash';
|
|
4
|
-
import { NavigationSession } from '../navigation-session';
|
|
5
|
-
import { RemoveLastInteractionFromUrlNavigationSession } from './remove-last-interaction-from-url-navigation-session';
|
|
6
|
-
var SynchroniseInteractionContextIdsWithRoute = /** @class */ (function (_super) {
|
|
7
|
-
__extends(SynchroniseInteractionContextIdsWithRoute, _super);
|
|
8
|
-
function SynchroniseInteractionContextIdsWithRoute(context, startingUrl, wasTriggeredByPopState) {
|
|
9
|
-
var _this = _super.call(this, context, startingUrl) || this;
|
|
10
|
-
_this.wasTriggeredByPopState = wasTriggeredByPopState;
|
|
11
|
-
_this.isPopState = false;
|
|
12
|
-
return _this;
|
|
13
|
-
}
|
|
14
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.notifyActive = function () {
|
|
15
|
-
var _this = this;
|
|
16
|
-
// TODO: Do I still need this??
|
|
17
|
-
setTimeout(function () {
|
|
18
|
-
_this.syncInteractionIdsWithRouter();
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
// @Trace()
|
|
22
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.onRouterEnd = function (event) {
|
|
23
|
-
this.context.finishRoutingSession();
|
|
24
|
-
};
|
|
25
|
-
// @Trace()
|
|
26
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.onRouterCancelled = function (event) {
|
|
27
|
-
this.context.finishRoutingSession();
|
|
28
|
-
};
|
|
29
|
-
// @Trace()
|
|
30
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.syncInteractionIdsWithRouter = function () {
|
|
31
|
-
var currentIds = this.interactionServiceAdapter.getActiveInteractionContextIds();
|
|
32
|
-
var previousIds = this.urlService.getCurrentLocationUrlSnapshot().getInteractionIds();
|
|
33
|
-
// console.log(`---> synchroniseInteractionIds`, { is: currentIds.join(','), was: previousIds.join(',') });
|
|
34
|
-
if (_.isEqual(currentIds, previousIds)) {
|
|
35
|
-
// console.log('### Activity context ids were the same, skipping');
|
|
36
|
-
this.context.finishRoutingSession();
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
if (currentIds.length > previousIds.length) {
|
|
40
|
-
var isFirstActivity = currentIds.length > previousIds.length && previousIds.length < 1;
|
|
41
|
-
this.addActivityContextToRoute(currentIds, isFirstActivity);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
this.removeActivityContextFromRoute(currentIds);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
// @Trace()
|
|
49
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.addActivityContextToRoute = function (activeInteractionContextIds, isFirst) {
|
|
50
|
-
var _this = this;
|
|
51
|
-
var urlSnapshot = this.urlService.getCurrentRouterSnapshot().updateInteractionIds(activeInteractionContextIds);
|
|
52
|
-
this.context.navigateByUrl(urlSnapshot, {
|
|
53
|
-
replaceUrl: !isFirst
|
|
54
|
-
}).then(function (result) {
|
|
55
|
-
if (!_this.urlService.getCurrentLocationUrlSnapshot().hasInteractionIds(activeInteractionContextIds)) {
|
|
56
|
-
lang.illegalState("Expected url to be " + urlSnapshot.url + " but was " + _this.urlService.getCurrentLocationUrl());
|
|
57
|
-
// this.urlService.resetBrowserLocation(urlSnapshot.url, {replaceCurrent: !isFirst})
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
};
|
|
61
|
-
// @Trace()
|
|
62
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.removeActivityContextFromRoute = function (activeInteractionContextId) {
|
|
63
|
-
var urlSnapshot = this.urlService.getCurrentRouterSnapshot().updateInteractionIds(activeInteractionContextId);
|
|
64
|
-
var isRemovingLastActivity = activeInteractionContextId.length < 1;
|
|
65
|
-
if (isRemovingLastActivity) {
|
|
66
|
-
if (this.wasTriggeredByPopState) {
|
|
67
|
-
// console.log('removal was triggered by pop state, nothing to do.');
|
|
68
|
-
// noop. Our url will be back to the non interaction version now so we dont' need to do anything.
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
// now we just pop our interaction id's from the browser history.
|
|
72
|
-
// console.log(`Removal of the last activity wasn't triggered by pop state so we have to trigger one to clean the history`);
|
|
73
|
-
var session = new RemoveLastInteractionFromUrlNavigationSession(this.context, this.urlService.getCurrentRouterUrl());
|
|
74
|
-
this.context.transitionTo(session);
|
|
75
|
-
this.urlService.back();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
// we've removed an interaction, but we still have remaining activities so we
|
|
80
|
-
// update the url in place if it wasn't a pop state. If it was a pop state we need
|
|
81
|
-
// to push it back up.
|
|
82
|
-
// this.urlService.resetBrowserLocation(urlSnapshot.url, { replaceCurrent: !this.wasTriggeredByPopState });
|
|
83
|
-
this.context.navigateByUrl(urlSnapshot, { replaceUrl: !this.wasTriggeredByPopState });
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
SynchroniseInteractionContextIdsWithRoute.prototype.handleCanDeactivateCancelledEventScenario = function (newUrl) {
|
|
87
|
-
lang.methodNotSupported();
|
|
88
|
-
};
|
|
89
|
-
return SynchroniseInteractionContextIdsWithRoute;
|
|
90
|
-
}(NavigationSession));
|
|
91
|
-
export { SynchroniseInteractionContextIdsWithRoute };
|
|
92
|
-
//# sourceMappingURL=synchronise-interaction-context-ids-with-route.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"synchronise-interaction-context-ids-with-route.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,6CAA6C,EAAE,MAAM,uDAAuD,CAAC;AAEtH;IAA+D,6DAAiB;IAI9E,mDAAY,OAA0B,EAAE,WAAmB,EAAW,sBAA+B;QAArG,YACE,kBAAM,OAAO,EAAE,WAAW,CAAC,SAC5B;QAFqE,4BAAsB,GAAtB,sBAAsB,CAAS;QAF5F,gBAAU,GAAG,KAAK,CAAC;;IAI5B,CAAC;IAED,gEAAY,GAAZ;QAAA,iBAKC;QAJC,+BAA+B;QAC/B,UAAU,CAAC;YACT,KAAI,CAAC,4BAA4B,EAAE,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,WAAW;IACX,+DAAW,GAAX,UAAY,KAAoB;QAC9B,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,WAAW;IACX,qEAAiB,GAAjB,UAAkB,KAAuB;QACvC,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,WAAW;IACX,gFAA4B,GAA5B;QACE,IAAM,UAAU,GAAG,IAAI,CAAC,yBAAyB,CAAC,8BAA8B,EAAE,CAAC;QACnF,IAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,6BAA6B,EAAE,CAAC,iBAAiB,EAAE,CAAC;QACxF,2GAA2G;QAC3G,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE;YACtC,mEAAmE;YACnE,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;SACrC;aAAM;YACL,IAAI,UAAU,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE;gBAC1C,IAAM,eAAe,GAAG,UAAU,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC;gBACzF,IAAI,CAAC,yBAAyB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;aAC7D;iBAAM;gBACL,IAAI,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC;aACjD;SACF;IACH,CAAC;IAED,WAAW;IACX,6EAAyB,GAAzB,UAA0B,2BAAqC,EAAE,OAAgB;QAAjF,iBAUC;QATC,IAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;QAChH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE;YACvC,UAAU,EAAE,CAAC,OAAO;SACrB,CAAC,CAAC,IAAI,CAAC,UAAA,MAAM;YACZ,IAAI,CAAC,KAAI,CAAC,UAAU,CAAC,6BAA6B,EAAE,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,EAAE;gBACnG,IAAI,CAAC,YAAY,CAAC,wBAAsB,WAAW,CAAC,GAAG,iBAAY,KAAI,CAAC,UAAU,CAAC,qBAAqB,EAAI,CAAC,CAAC;gBAC9G,oFAAoF;aACrF;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAGD,WAAW;IACX,kFAA8B,GAA9B,UAA+B,0BAAoC;QACjE,IAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAC,oBAAoB,CAAC,0BAA0B,CAAC,CAAC;QAChH,IAAM,sBAAsB,GAAG,0BAA0B,CAAC,MAAM,GAAG,CAAC,CAAC;QACrE,IAAI,sBAAsB,EAAE;YAC1B,IAAI,IAAI,CAAC,sBAAsB,EAAE;gBAC/B,qEAAqE;gBACrE,oGAAoG;aACrG;iBAAM;gBACL,iEAAiE;gBACjE,4HAA4H;gBAC5H,IAAM,OAAO,GAAG,IAAI,6CAA6C,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAAC;gBACvH,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;gBACnC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;aACxB;SACF;aAAM;YACL,6EAA6E;YAC7E,kFAAkF;YAClF,uBAAuB;YACvB,2GAA2G;YAC3G,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;SACvF;IACH,CAAC;IAED,6FAAyC,GAAzC,UAA0C,MAAc;QACtD,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAEH,gDAAC;AAAD,CAAC,AArFD,CAA+D,iBAAiB,GAqF/E","sourcesContent":["import { NavigationCancel, NavigationEnd } from '@angular/router';\nimport { Trace } from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport _ from 'lodash';\nimport { NavigationContext } from '../navigation-context';\nimport { NavigationSession } from '../navigation-session';\nimport { RemoveLastInteractionFromUrlNavigationSession } from './remove-last-interaction-from-url-navigation-session';\n\nexport class SynchroniseInteractionContextIdsWithRoute extends NavigationSession {\n\n readonly isPopState = false;\n\n constructor(context: NavigationContext, startingUrl: string, readonly wasTriggeredByPopState: boolean) {\n super(context, startingUrl);\n }\n\n notifyActive() {\n // TODO: Do I still need this??\n setTimeout(() => {\n this.syncInteractionIdsWithRouter();\n });\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd): void {\n this.context.finishRoutingSession();\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel): void {\n this.context.finishRoutingSession();\n }\n\n // @Trace()\n syncInteractionIdsWithRouter(): void {\n const currentIds = this.interactionServiceAdapter.getActiveInteractionContextIds();\n const previousIds = this.urlService.getCurrentLocationUrlSnapshot().getInteractionIds();\n // console.log(`---> synchroniseInteractionIds`, { is: currentIds.join(','), was: previousIds.join(',') });\n if (_.isEqual(currentIds, previousIds)) {\n // console.log('### Activity context ids were the same, skipping');\n this.context.finishRoutingSession();\n } else {\n if (currentIds.length > previousIds.length) {\n const isFirstActivity = currentIds.length > previousIds.length && previousIds.length < 1;\n this.addActivityContextToRoute(currentIds, isFirstActivity);\n } else {\n this.removeActivityContextFromRoute(currentIds);\n }\n }\n }\n\n // @Trace()\n addActivityContextToRoute(activeInteractionContextIds: string[], isFirst: boolean): void {\n const urlSnapshot = this.urlService.getCurrentRouterSnapshot().updateInteractionIds(activeInteractionContextIds);\n this.context.navigateByUrl(urlSnapshot, {\n replaceUrl: !isFirst\n }).then(result => {\n if (!this.urlService.getCurrentLocationUrlSnapshot().hasInteractionIds(activeInteractionContextIds)) {\n lang.illegalState(`Expected url to be ${urlSnapshot.url} but was ${this.urlService.getCurrentLocationUrl()}`);\n // this.urlService.resetBrowserLocation(urlSnapshot.url, {replaceCurrent: !isFirst})\n }\n });\n }\n\n\n // @Trace()\n removeActivityContextFromRoute(activeInteractionContextId: string[]):void {\n const urlSnapshot = this.urlService.getCurrentRouterSnapshot().updateInteractionIds(activeInteractionContextId);\n const isRemovingLastActivity = activeInteractionContextId.length < 1;\n if (isRemovingLastActivity) {\n if (this.wasTriggeredByPopState) {\n // console.log('removal was triggered by pop state, nothing to do.');\n // noop. Our url will be back to the non interaction version now so we dont' need to do anything.\n } else {\n // now we just pop our interaction id's from the browser history.\n // console.log(`Removal of the last activity wasn't triggered by pop state so we have to trigger one to clean the history`);\n const session = new RemoveLastInteractionFromUrlNavigationSession(this.context, this.urlService.getCurrentRouterUrl());\n this.context.transitionTo(session);\n this.urlService.back();\n }\n } else {\n // we've removed an interaction, but we still have remaining activities so we\n // update the url in place if it wasn't a pop state. If it was a pop state we need\n // to push it back up.\n // this.urlService.resetBrowserLocation(urlSnapshot.url, { replaceCurrent: !this.wasTriggeredByPopState });\n this.context.navigateByUrl(urlSnapshot, { replaceUrl: !this.wasTriggeredByPopState });\n }\n }\n\n handleCanDeactivateCancelledEventScenario(newUrl: string): void {\n lang.methodNotSupported();\n }\n\n}\n"]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { NavigationSession } from './navigation-session';
|
|
3
|
-
import { WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish } from './event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes';
|
|
4
|
-
var Navigating = /** @class */ (function (_super) {
|
|
5
|
-
__extends(Navigating, _super);
|
|
6
|
-
function Navigating() {
|
|
7
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
8
|
-
_this.isPopState = false;
|
|
9
|
-
_this.debugPropertyKeys = ['startingUrl', 'urlAfterRedirects'];
|
|
10
|
-
return _this;
|
|
11
|
-
}
|
|
12
|
-
Navigating.prototype.onRouterCancelled = function (event) {
|
|
13
|
-
};
|
|
14
|
-
Navigating.prototype.onRouterError = function (event) {
|
|
15
|
-
// navigation was aborted.
|
|
16
|
-
this.context.finishRoutingSession();
|
|
17
|
-
};
|
|
18
|
-
Navigating.prototype.onRouterEnd = function (event) {
|
|
19
|
-
this.urlAfterRedirects = event.urlAfterRedirects;
|
|
20
|
-
this.context.finishRoutingSession(this.getVisits());
|
|
21
|
-
};
|
|
22
|
-
Navigating.prototype.handleCanDeactivateCancelledEventScenario = function (newUrl) {
|
|
23
|
-
this.context.transitionTo(new WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish(this.context, this.startingUrl, newUrl));
|
|
24
|
-
};
|
|
25
|
-
return Navigating;
|
|
26
|
-
}(NavigationSession));
|
|
27
|
-
export { Navigating };
|
|
28
|
-
//# sourceMappingURL=navigating.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigating.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/navigating.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,mEAAmE,EAAE,MAAM,4EAA4E,CAAC;AAGjK;IAAgC,8BAAiB;IAAjD;QAAA,qEA2BC;QA1BU,gBAAU,GAAG,KAAK,CAAC;QAE5B,uBAAiB,GAAG,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC;;IAwB3D,CAAC;IArBC,sCAAiB,GAAjB,UAAkB,KAAuB;IACzC,CAAC;IAED,kCAAa,GAAb,UAAc,KAAsB;QAClC,0BAA0B;QAC1B,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAED,gCAAW,GAAX,UAAY,KAAoB;QAC9B,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;QACjD,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,8DAAyC,GAAzC,UAA0C,MAAc;QACtD,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,mEAAmE,CAC/F,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,WAAW,EAChB,MAAM,CACP,CAAC,CAAC;IACL,CAAC;IAEH,iBAAC;AAAD,CAAC,AA3BD,CAAgC,iBAAiB,GA2BhD","sourcesContent":["import { NavigationCancel, NavigationEnd, NavigationError } from '@angular/router';\nimport { NavigationSession } from './navigation-session';\nimport { WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish } from './event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes';\n\n\nexport class Navigating extends NavigationSession {\n readonly isPopState = false;\n\n debugPropertyKeys = ['startingUrl', 'urlAfterRedirects'];\n private urlAfterRedirects: string;\n\n onRouterCancelled(event: NavigationCancel): void {\n }\n\n onRouterError(event: NavigationError): void {\n // navigation was aborted.\n this.context.finishRoutingSession();\n }\n\n onRouterEnd(event: NavigationEnd): void {\n this.urlAfterRedirects = event.urlAfterRedirects;\n this.context.finishRoutingSession(this.getVisits());\n }\n\n handleCanDeactivateCancelledEventScenario(newUrl: string): void {\n this.context.transitionTo(new WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish(\n this.context,\n this.startingUrl,\n newUrl\n ));\n }\n\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export var NavigationContext;
|
|
2
|
-
(function (NavigationContext) {
|
|
3
|
-
var Impl = /** @class */ (function () {
|
|
4
|
-
function Impl(urlService, routerInteractionAdapter, navigateByUrl, transitionTo, finishRoutingSession) {
|
|
5
|
-
this.urlService = urlService;
|
|
6
|
-
this.routerInteractionAdapter = routerInteractionAdapter;
|
|
7
|
-
this.navigateByUrl = navigateByUrl;
|
|
8
|
-
this.transitionTo = transitionTo;
|
|
9
|
-
this.finishRoutingSession = finishRoutingSession;
|
|
10
|
-
}
|
|
11
|
-
return Impl;
|
|
12
|
-
}());
|
|
13
|
-
NavigationContext.Impl = Impl;
|
|
14
|
-
})(NavigationContext || (NavigationContext = {}));
|
|
15
|
-
//# sourceMappingURL=navigation-context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/navigation/session/navigation-context.ts"],"names":[],"mappings":"AAiBA,MAAM,KAAW,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC;QACE,cAAqB,UAAsB,EACtB,wBAA0D,EAC1D,aAA8F,EAC9F,YAAmD,EACnD,oBAAgD;YAJhD,eAAU,GAAV,UAAU,CAAY;YACtB,6BAAwB,GAAxB,wBAAwB,CAAkC;YAC1D,kBAAa,GAAb,aAAa,CAAiF;YAC9F,iBAAY,GAAZ,YAAY,CAAuC;YACnD,yBAAoB,GAApB,oBAAoB,CAA4B;QACrE,CAAC;QAEH,WAAC;IAAD,CAAC,AARD,IAQC;IARY,sBAAI,OAQhB,CAAA;AAEH,CAAC,EAXgB,iBAAiB,KAAjB,iBAAiB,QAWjC","sourcesContent":["import { InteractionServiceRoutingAdapter } from '../../../interaction/services/interaction-service-routing-adapter';\nimport { UrlService } from '../../url-service';\nimport { UrlSnapshot } from '../../url-snapshot';\nimport { Visit } from '../../visit';\nimport { NavigationSession } from './navigation-session';\n\nexport interface NavigationContext {\n readonly urlService: UrlService,\n readonly routerInteractionAdapter: InteractionServiceRoutingAdapter;\n\n finishRoutingSession(visits?: Visit[]);\n\n transitionTo(newState: NavigationSession);\n\n navigateByUrl(urlSnapshot: UrlSnapshot, options: { replaceUrl: boolean }): Promise<boolean>;\n}\n\nexport namespace NavigationContext {\n export class Impl implements NavigationContext {\n constructor(readonly urlService: UrlService,\n readonly routerInteractionAdapter: InteractionServiceRoutingAdapter,\n readonly navigateByUrl: (urlSnapshot: UrlSnapshot, options: { replaceUrl: boolean })=> Promise<boolean>,\n readonly transitionTo: (newState: NavigationSession) => void,\n readonly finishRoutingSession: (visits?: Visit[]) => void) {\n }\n\n }\n\n}\n"]}
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __extends, __generator } from "tslib";
|
|
2
|
-
import { GarbageCollector, lang, Logger } from '@coolon/pectin';
|
|
3
|
-
import { PlaceComponentDeactivationHandler } from '../place-component-deactivation-handler';
|
|
4
|
-
/**
|
|
5
|
-
* Transient states
|
|
6
|
-
*/
|
|
7
|
-
var NavigationSession = /** @class */ (function (_super) {
|
|
8
|
-
__extends(NavigationSession, _super);
|
|
9
|
-
function NavigationSession(context, startingUrl) {
|
|
10
|
-
var _this = _super.call(this) || this;
|
|
11
|
-
_this.context = context;
|
|
12
|
-
_this.startingUrl = startingUrl;
|
|
13
|
-
_this.debugPropertyKeys = [];
|
|
14
|
-
_this._visits = new Map();
|
|
15
|
-
_this.componentDeactivationHandlers = new Map();
|
|
16
|
-
// TODO: can I get away without creating one every time?
|
|
17
|
-
_this._interactionContext = _this.context.routerInteractionAdapter.createExclusiveInteractionContext();
|
|
18
|
-
_this.onDispose(function () {
|
|
19
|
-
// the interaction context can be detached during the back button cancellation state transition
|
|
20
|
-
// as the transition is synchronous and activityCancellation isn't. Otherwise dispose will be
|
|
21
|
-
// called before the context has been cancelled. It might be work having the interaction context
|
|
22
|
-
// automatically cancel if the context is disposed so we don't have worry about detaching etc.
|
|
23
|
-
if (_this._interactionContext) {
|
|
24
|
-
_this._interactionContext.dispose(); // or do something like cancelAndDispose?
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
return _this;
|
|
28
|
-
}
|
|
29
|
-
Object.defineProperty(NavigationSession.prototype, "name", {
|
|
30
|
-
get: function () {
|
|
31
|
-
return this.constructor.name;
|
|
32
|
-
},
|
|
33
|
-
enumerable: true,
|
|
34
|
-
configurable: true
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(NavigationSession.prototype, "urlService", {
|
|
37
|
-
get: function () {
|
|
38
|
-
return this.context.urlService;
|
|
39
|
-
},
|
|
40
|
-
enumerable: true,
|
|
41
|
-
configurable: true
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(NavigationSession.prototype, "interactionServiceAdapter", {
|
|
44
|
-
get: function () {
|
|
45
|
-
return this.context.routerInteractionAdapter;
|
|
46
|
-
},
|
|
47
|
-
enumerable: true,
|
|
48
|
-
configurable: true
|
|
49
|
-
});
|
|
50
|
-
NavigationSession.prototype.storeVisit = function (visit) {
|
|
51
|
-
// console.log(`Storing visit for ${visit.placeDefinition.component.name}`, {visit});
|
|
52
|
-
this._visits.set(visit.placeDefinition, visit);
|
|
53
|
-
};
|
|
54
|
-
NavigationSession.prototype.getVisitFor = function (placeDef) {
|
|
55
|
-
var visit = this._visits.get(placeDef);
|
|
56
|
-
// console.log(`Getting visit for ${placeDef.component.name}`, {visit});
|
|
57
|
-
return visit;
|
|
58
|
-
};
|
|
59
|
-
Object.defineProperty(NavigationSession.prototype, "canDeactivateInteractionContext", {
|
|
60
|
-
get: function () {
|
|
61
|
-
return this._interactionContext;
|
|
62
|
-
},
|
|
63
|
-
enumerable: true,
|
|
64
|
-
configurable: true
|
|
65
|
-
});
|
|
66
|
-
NavigationSession.prototype.notifyActive = function () {
|
|
67
|
-
// noop.
|
|
68
|
-
};
|
|
69
|
-
NavigationSession.prototype.onRouterStarted = function (event) {
|
|
70
|
-
// navigation sessions can have many cancel start cycles due to place guard redirects
|
|
71
|
-
this.ignore(event);
|
|
72
|
-
};
|
|
73
|
-
// @Trace()
|
|
74
|
-
NavigationSession.prototype.onUrlChange = function (url) {
|
|
75
|
-
// Normally we just ignore these but they are the only way of detecting if the back button
|
|
76
|
-
// was clicked during a canDeactivate promise.
|
|
77
|
-
// 1. a route is in progress and awaiting a canDeactivateGuard
|
|
78
|
-
// 2. the user the clicks the back button.
|
|
79
|
-
// So to handle that scenario we need to check if we've got a can deactivate interaction in
|
|
80
|
-
// progress and the do the appropriate clean up.
|
|
81
|
-
if (this.canDeactivateInteractionContext && this.canDeactivateInteractionContext.isActive()) {
|
|
82
|
-
this.cancelCanDeactivateInteraction(url);
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
NavigationSession.prototype.onPopState = function (event) {
|
|
86
|
-
return this.illegalTransition(event);
|
|
87
|
-
};
|
|
88
|
-
NavigationSession.prototype.onRouterCancelled = function (event) {
|
|
89
|
-
return this.illegalTransition(event);
|
|
90
|
-
};
|
|
91
|
-
NavigationSession.prototype.onRouterError = function (event) {
|
|
92
|
-
return this.illegalTransition(event);
|
|
93
|
-
};
|
|
94
|
-
NavigationSession.prototype.onRouterEnd = function (event) {
|
|
95
|
-
return this.illegalTransition(event);
|
|
96
|
-
};
|
|
97
|
-
NavigationSession.prototype.getVisits = function () {
|
|
98
|
-
return Array.from(this._visits.values());
|
|
99
|
-
};
|
|
100
|
-
NavigationSession.prototype.illegalTransition = function (message) {
|
|
101
|
-
return lang.illegalState(message.toString() + " not supported by " + this.toString());
|
|
102
|
-
};
|
|
103
|
-
NavigationSession.prototype.currentRouterUrl = function () {
|
|
104
|
-
return this.urlService.getCurrentRouterUrl();
|
|
105
|
-
};
|
|
106
|
-
NavigationSession.prototype.resetBrowserLocation = function (url, options) {
|
|
107
|
-
if (options === void 0) { options = { replaceCurrent: false }; }
|
|
108
|
-
// console.log(`---> resetting browser location to: ${url}`);
|
|
109
|
-
this.urlService.resetBrowserLocation(url, options);
|
|
110
|
-
};
|
|
111
|
-
// @Trace()
|
|
112
|
-
NavigationSession.prototype.repairBrowserHistoryAndUrlAfterGuardCancellation = function (poppedHistoryToReplace, activeUrl) {
|
|
113
|
-
// Important: I tried to perform this fix at a later point int he routing cycle but it created all kinds of
|
|
114
|
-
// strangeness.
|
|
115
|
-
Logger.get(this).info('WORK-AROUND: Updating browser location after pop state - see angular issue #13586');
|
|
116
|
-
console.log("replacing " + this.urlService.getCurrentLocationUrlSnapshot().url + " with " + poppedHistoryToReplace);
|
|
117
|
-
this.urlService.resetBrowserLocation(poppedHistoryToReplace, { replaceCurrent: true });
|
|
118
|
-
console.log("pushing " + activeUrl + " back onto the history.");
|
|
119
|
-
this.urlService.resetBrowserLocation(activeUrl, { replaceCurrent: false });
|
|
120
|
-
};
|
|
121
|
-
NavigationSession.prototype.ignore = function (event, reason) {
|
|
122
|
-
reason = reason ? " -> " + reason : '';
|
|
123
|
-
Logger.get(this).info("Ignoring router event" + reason + ": " + event.constructor.name + " -> " + event.url + " :: " + this.toString());
|
|
124
|
-
};
|
|
125
|
-
NavigationSession.prototype.toString = function () {
|
|
126
|
-
return this.constructor.name + "(" + this.debugState() + ")";
|
|
127
|
-
};
|
|
128
|
-
NavigationSession.prototype.debugState = function (properties) {
|
|
129
|
-
var _this = this;
|
|
130
|
-
return (properties || this.debugPropertyKeys).map(function (p) {
|
|
131
|
-
return p + ": " + _this[p];
|
|
132
|
-
}).join(', ');
|
|
133
|
-
};
|
|
134
|
-
NavigationSession.prototype.canDeactivatePlace = function (component, currentUrl, nextUrl) {
|
|
135
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
136
|
-
var handler, isPrimaryHandler;
|
|
137
|
-
return __generator(this, function (_a) {
|
|
138
|
-
handler = this.componentDeactivationHandlers.get(component);
|
|
139
|
-
if (!handler) {
|
|
140
|
-
isPrimaryHandler = this.componentDeactivationHandlers.size === 0;
|
|
141
|
-
handler = new PlaceComponentDeactivationHandler(component, this, isPrimaryHandler);
|
|
142
|
-
this.componentDeactivationHandlers.set(component, handler);
|
|
143
|
-
}
|
|
144
|
-
return [2 /*return*/, handler.canDeactivate(currentUrl, nextUrl).then(function (result) {
|
|
145
|
-
// console.log(`<--- canDeactivatePlace(${component.placeDefinition.path}): ${result}`);
|
|
146
|
-
return result;
|
|
147
|
-
}).catch(function (error) {
|
|
148
|
-
throw error;
|
|
149
|
-
})];
|
|
150
|
-
});
|
|
151
|
-
});
|
|
152
|
-
};
|
|
153
|
-
NavigationSession.prototype.cancelCanDeactivateInteraction = function (newUrl) {
|
|
154
|
-
Logger.get(this).info("back button pressed during navigation session interaction promise");
|
|
155
|
-
// detach the interaction from the session so it doesn't get disposed until the activity has finished
|
|
156
|
-
// all it's things.
|
|
157
|
-
var canDeactivateInteractionContext = this.detachCanDeactivateInteractionContext();
|
|
158
|
-
// TODO: I need to make the exclusive interaction context disallow nested activities or
|
|
159
|
-
// that would mess things up entirely. Or, can I do a context.abortAll().then(..)
|
|
160
|
-
Logger.get(this).info('cancelling current navigation activity..');
|
|
161
|
-
canDeactivateInteractionContext.cancelActiveActivity().then(function () {
|
|
162
|
-
canDeactivateInteractionContext.dispose();
|
|
163
|
-
});
|
|
164
|
-
this.handleCanDeactivateCancelledEventScenario(newUrl);
|
|
165
|
-
};
|
|
166
|
-
NavigationSession.prototype.reinstateUrlAfterAngularChangedItOnCancellation = function (url) {
|
|
167
|
-
// Angular calls _this.resetUrlToCurrentUrlTree() on cancelling and fucks our history.
|
|
168
|
-
// 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
|
|
169
|
-
// it before the cancel event fired.
|
|
170
|
-
// So we need to:
|
|
171
|
-
// - replace the just inserted url with the one that used to be there.
|
|
172
|
-
// - push our actual url back onto the top of the stack.
|
|
173
|
-
this.resetBrowserLocation(url, { replaceCurrent: true });
|
|
174
|
-
};
|
|
175
|
-
NavigationSession.prototype.detachCanDeactivateInteractionContext = function () {
|
|
176
|
-
var context = this._interactionContext;
|
|
177
|
-
this._interactionContext = null;
|
|
178
|
-
return context;
|
|
179
|
-
};
|
|
180
|
-
return NavigationSession;
|
|
181
|
-
}(GarbageCollector));
|
|
182
|
-
export { NavigationSession };
|
|
183
|
-
//# sourceMappingURL=navigation-session.js.map
|