@coolon/angular-ui-powerups 2.0.1 → 3.0.0
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 +13 -18
- package/schematics/bootstrap-app/index.js +2 -1
- package/schematics/bootstrap-app/index.js.map +1 -1
- package/schematics/bootstrap-app/templates/app/auth/{auth.module.ts → auth.module.ts.template} +1 -1
- package/schematics/bootstrap-app/templates/app/places/home/{home.component.spec.ts → home.component.spec.ts.template} +1 -1
- package/schematics/bootstrap-app/templates/app/places/home/{home.component.ts → home.component.ts.template} +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
- package/schematics/bootstrap-app/templates/app/auth/auth.guard.spec.ts +0 -15
- /package/schematics/bootstrap-app/templates/app/{app-routing.module.ts → app-routing.module.ts.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/auth/{auth.guard.ts → auth.guard.ts.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/auth/{auth.service.ts → auth.service.ts.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/{i18n.ts → i18n.ts.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/places/home/{home.component.html → home.component.html.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/places/home/{home.component.scss → home.component.scss.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/places/{place-routes.ts → place-routes.ts.template} +0 -0
- /package/schematics/bootstrap-app/templates/app/places/{places.json5 → places.json5.template} +0 -0
- /package/schematics/bootstrap-app/templates/i18n/{config.json → config.json.template} +0 -0
- /package/schematics/bootstrap-app/templates/i18n/{notifications.yml → notifications.yml.template} +0 -0
- /package/schematics/bootstrap-app/templates/i18n/places/{home.yml → home.yml.template} +0 -0
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __decorate, __extends, __generator, __metadata, __read, __spread } from "tslib";
|
|
2
|
-
import { Location } from '@angular/common';
|
|
3
|
-
import { Injectable } from '@angular/core';
|
|
4
|
-
import { ActivatedRoute, NavigationCancel, NavigationEnd, NavigationError, NavigationExtras, NavigationStart, Router } from '@angular/router';
|
|
5
|
-
import { assert, DebugContext, Dsl, GarbageCollector, lang, Logger, MutableListModel, MutableValueModel } from '@coolon/pectin';
|
|
6
|
-
import { InteractionService } from '../interaction/services/interaction.service';
|
|
7
|
-
import { NavigatingDuringInteraction } from './navigation/session/interactions/navigating-during-interaction';
|
|
8
|
-
import { PopStateDuringInteractionNavigation } from './navigation/session/interactions/pop-state-during-interaction-navigation';
|
|
9
|
-
import { SynchroniseInteractionContextIdsWithRoute } from './navigation/session/interactions/synchronise-interaction-context-ids-with-route';
|
|
10
|
-
import { Navigating } from './navigation/session/navigating';
|
|
11
|
-
import { NavigationContext } from './navigation/session/navigation-context';
|
|
12
|
-
import { PopStateNavigation } from './navigation/session/pop-state-navigation';
|
|
13
|
-
import { PlaceHistory } from './place-history';
|
|
14
|
-
import { UrlService } from './url-service';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "@angular/router";
|
|
17
|
-
import * as i2 from "@angular/common";
|
|
18
|
-
import * as i3 from "../interaction/services/interaction.service";
|
|
19
|
-
import * as i4 from "./url-service";
|
|
20
|
-
import * as i5 from "./place-history";
|
|
21
|
-
var PlaceRouter = /** @class */ (function (_super) {
|
|
22
|
-
__extends(PlaceRouter, _super);
|
|
23
|
-
function PlaceRouter(angularRouter, angularLocation, interactionService, urlService, placeHistory) {
|
|
24
|
-
var _this = _super.call(this) || this;
|
|
25
|
-
_this.angularRouter = angularRouter;
|
|
26
|
-
_this.angularLocation = angularLocation;
|
|
27
|
-
_this.interactionService = interactionService;
|
|
28
|
-
_this.urlService = urlService;
|
|
29
|
-
_this.placeHistory = placeHistory;
|
|
30
|
-
_this.navigationSessionModel = new MutableValueModel();
|
|
31
|
-
_this._activeVisits = new MutableListModel();
|
|
32
|
-
_this.sessionFinishedJobs = [];
|
|
33
|
-
_this.routerInteractionAdapter = interactionService.registerPlaceRouter(_this);
|
|
34
|
-
// TODO: Make this an interface and use 'this' instead.
|
|
35
|
-
_this.navigationContext = new NavigationContext.Impl(_this.urlService, _this.routerInteractionAdapter, function (urlSnapshot, options) {
|
|
36
|
-
return _this.navigateByUrl(urlSnapshot, options);
|
|
37
|
-
}, function (state) {
|
|
38
|
-
_this.transitionTo(state);
|
|
39
|
-
}, function (visits) {
|
|
40
|
-
_this.routingSessionFinished(visits);
|
|
41
|
-
});
|
|
42
|
-
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
43
|
-
_this.navigationInProgress = chain(_this.navigationSessionModel).isNotNil();
|
|
44
|
-
var idleStateName = chain(_this.interactionService.active).map(function (active) { return active ? 'IdleDuringInteraction' : 'Idle'; });
|
|
45
|
-
_this.navigationSessionName = chain(_this.navigationSessionModel)
|
|
46
|
-
.pluck('name')
|
|
47
|
-
.otherwise(idleStateName);
|
|
48
|
-
DebugContext.tag(_this._activeVisits, 'PlaceRouter.activeVisits');
|
|
49
|
-
_this.activeVisitsByPlaceDefinition = chain(_this._activeVisits).indexBy('placeDefinition');
|
|
50
|
-
// TODO: make setup the callbacks in during module initiation to make this testable.
|
|
51
|
-
angularRouter.events.subscribe(function (event) {
|
|
52
|
-
// Routing event sequence
|
|
53
|
-
// ======================
|
|
54
|
-
// NavigationStart -> .... -> NavigationCancel --> redirect, go around again in the same session
|
|
55
|
-
// NavigationStart -> .... -> NavigationEnd --> navigation complete, end session.
|
|
56
|
-
// NavigationStart -> .... -> NavigationError --> navigation aborted, end session.
|
|
57
|
-
// =======================
|
|
58
|
-
if (event instanceof NavigationStart) {
|
|
59
|
-
// console.log(`---> NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);
|
|
60
|
-
if (event.navigationTrigger === 'popstate') {
|
|
61
|
-
_this.onPopState(event);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
_this.onRouterStarted(event);
|
|
65
|
-
}
|
|
66
|
-
// console.log(`<--- NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);
|
|
67
|
-
}
|
|
68
|
-
if (event instanceof NavigationEnd) {
|
|
69
|
-
// console.log(`---> NavigationEnd[${event.id}]: ${event.url}`);
|
|
70
|
-
_this.onRouterEnd(event);
|
|
71
|
-
// console.log(`<--- NavigationEnd[${event.id}]: ${event.url}`);
|
|
72
|
-
}
|
|
73
|
-
if (event instanceof NavigationError) {
|
|
74
|
-
// console.log(`---> NavigationError[${event.id}]: ${event.url}`);
|
|
75
|
-
_this.onRouterError(event);
|
|
76
|
-
// console.log(`<--- NavigationError[${event.id}]: ${event.url}`);
|
|
77
|
-
}
|
|
78
|
-
if (event instanceof NavigationCancel) {
|
|
79
|
-
// console.log(`---> NavigationCancel[${event.id}]: ${event.url}`);
|
|
80
|
-
_this.onRouterCancelled(event);
|
|
81
|
-
// console.log(`<--- NavigationCancel[${event.id}]: ${event.url}`);
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
// The router needs to know about url changes and in some cases they are the only way the router can know if
|
|
85
|
-
// the back button was clicked.
|
|
86
|
-
angularLocation.onUrlChange(function (url) { return _this.onUrlChanged(url); });
|
|
87
|
-
return _this;
|
|
88
|
-
}
|
|
89
|
-
Object.defineProperty(PlaceRouter.prototype, "navigationSession", {
|
|
90
|
-
get: function () {
|
|
91
|
-
return this.navigationSessionModel.value;
|
|
92
|
-
},
|
|
93
|
-
enumerable: true,
|
|
94
|
-
configurable: true
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(PlaceRouter.prototype, "currentSession", {
|
|
97
|
-
get: function () {
|
|
98
|
-
return this.navigationSessionModel.value;
|
|
99
|
-
},
|
|
100
|
-
enumerable: true,
|
|
101
|
-
configurable: true
|
|
102
|
-
});
|
|
103
|
-
// @Trace()
|
|
104
|
-
PlaceRouter.prototype.onPopState = function (event) {
|
|
105
|
-
assert.isTruthy(event.navigationTrigger === 'popstate');
|
|
106
|
-
if (this.currentSession) {
|
|
107
|
-
this.currentSession.onPopState(event);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
var poppedHistoryUrl = event.url;
|
|
111
|
-
var currentRouterUrl = this.urlService.getCurrentRouterUrl();
|
|
112
|
-
var session = this.interactionService.isActive() ?
|
|
113
|
-
new PopStateDuringInteractionNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl) :
|
|
114
|
-
new PopStateNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl);
|
|
115
|
-
this.transitionTo(session);
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
// @Trace()
|
|
119
|
-
PlaceRouter.prototype.onRouterStarted = function (event) {
|
|
120
|
-
assert.isFalsey(event.navigationTrigger === 'popstate');
|
|
121
|
-
var inInteraction = this.interactionService.isActive();
|
|
122
|
-
if (this.currentSession) {
|
|
123
|
-
this.currentSession.onRouterStarted(event);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
this.transitionTo(this.createNavigationSession(this.urlService.getCurrentRouterUrl()));
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
// @Trace()
|
|
130
|
-
PlaceRouter.prototype.onUrlChanged = function (newUrl) {
|
|
131
|
-
// the back button can trigger a url change without a navigation session in progress so we
|
|
132
|
-
// console.log(`---> Url Changed ${newUrl}`);
|
|
133
|
-
if (this.currentSession) {
|
|
134
|
-
this.currentSession.onUrlChange(newUrl);
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
console.log('FYI: url changed without a navigation session in progress');
|
|
138
|
-
}
|
|
139
|
-
// console.log(`<--- Url Changed`);
|
|
140
|
-
};
|
|
141
|
-
// @Trace()
|
|
142
|
-
PlaceRouter.prototype.onRouterCancelled = function (event) {
|
|
143
|
-
this.currentSession.onRouterCancelled(event);
|
|
144
|
-
};
|
|
145
|
-
// @Trace()
|
|
146
|
-
PlaceRouter.prototype.onRouterError = function (event) {
|
|
147
|
-
this.currentSession.onRouterError(event);
|
|
148
|
-
};
|
|
149
|
-
// @Trace()
|
|
150
|
-
PlaceRouter.prototype.onRouterEnd = function (event) {
|
|
151
|
-
this.currentSession.onRouterEnd(event);
|
|
152
|
-
};
|
|
153
|
-
PlaceRouter.prototype.navigate = function (visit, options) {
|
|
154
|
-
var _this = this;
|
|
155
|
-
return this.doNavigation(visit, function (router) { return __awaiter(_this, void 0, void 0, function () {
|
|
156
|
-
var commands;
|
|
157
|
-
return __generator(this, function (_a) {
|
|
158
|
-
switch (_a.label) {
|
|
159
|
-
case 0:
|
|
160
|
-
commands = __spread([
|
|
161
|
-
visit.placeDefinition.path
|
|
162
|
-
], this.createRouteParameters(visit));
|
|
163
|
-
return [4 /*yield*/, this.angularRouter.navigate(commands, {
|
|
164
|
-
relativeTo: options ? options.relativeTo : null
|
|
165
|
-
})];
|
|
166
|
-
case 1:
|
|
167
|
-
_a.sent();
|
|
168
|
-
return [2 /*return*/];
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
}); });
|
|
172
|
-
};
|
|
173
|
-
// @Trace()
|
|
174
|
-
PlaceRouter.prototype.doNavigation = function (visit, runNavigationCommands) {
|
|
175
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
176
|
-
var navigation;
|
|
177
|
-
return __generator(this, function (_a) {
|
|
178
|
-
switch (_a.label) {
|
|
179
|
-
case 0:
|
|
180
|
-
if (this.navigationInProgress.value) {
|
|
181
|
-
lang.illegalState('Navigation already in progress');
|
|
182
|
-
}
|
|
183
|
-
navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());
|
|
184
|
-
navigation.storeVisit(visit);
|
|
185
|
-
this.transitionTo(navigation);
|
|
186
|
-
_a.label = 1;
|
|
187
|
-
case 1:
|
|
188
|
-
_a.trys.push([1, , 3, 4]);
|
|
189
|
-
return [4 /*yield*/, runNavigationCommands(this.angularRouter)];
|
|
190
|
-
case 2:
|
|
191
|
-
_a.sent();
|
|
192
|
-
return [3 /*break*/, 4];
|
|
193
|
-
case 3:
|
|
194
|
-
// Check if the router has finished (in the case where no router change required) and we're still in a
|
|
195
|
-
// transient state and finish of the transition.
|
|
196
|
-
if (!this.angularRouter.getCurrentNavigation() && this.currentSession) {
|
|
197
|
-
this.currentSession.onRouterEnd(new NavigationEnd(-1, '', ''));
|
|
198
|
-
}
|
|
199
|
-
return [7 /*endfinally*/];
|
|
200
|
-
case 4: return [2 /*return*/];
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
PlaceRouter.prototype.navigateByUrl = function (urlSnapshot, navigationExtras) {
|
|
206
|
-
// console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);
|
|
207
|
-
return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);
|
|
208
|
-
};
|
|
209
|
-
Object.defineProperty(PlaceRouter.prototype, "activeVisits", {
|
|
210
|
-
get: function () {
|
|
211
|
-
return this._activeVisits.readonly;
|
|
212
|
-
},
|
|
213
|
-
enumerable: true,
|
|
214
|
-
configurable: true
|
|
215
|
-
});
|
|
216
|
-
// @Trace()
|
|
217
|
-
PlaceRouter.prototype.pushVisitChangesToRoute = function (previous, next) {
|
|
218
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
219
|
-
var _this = this;
|
|
220
|
-
return __generator(this, function (_a) {
|
|
221
|
-
this.placeHistory.updateVisit(next);
|
|
222
|
-
// FIXME: no route id -> route id duplicates route parameters
|
|
223
|
-
if (next.hasRoutingChangedFrom(previous)) {
|
|
224
|
-
return [2 /*return*/, this.doNavigation(next, function (router) {
|
|
225
|
-
var urlSnapshot = _this.urlService.parseUrl(_this.angularRouter.routerState.snapshot.url).updateVisitSegments(next);
|
|
226
|
-
// console.log('### Push Changes to route Redirect', { commands: urlSnapshot.url });
|
|
227
|
-
return _this.navigateByUrl(urlSnapshot);
|
|
228
|
-
})];
|
|
229
|
-
}
|
|
230
|
-
return [2 /*return*/];
|
|
231
|
-
});
|
|
232
|
-
});
|
|
233
|
-
};
|
|
234
|
-
PlaceRouter.prototype.createNavigationSession = function (currentRouterUrl) {
|
|
235
|
-
var inInteraction = this.interactionService.isActive();
|
|
236
|
-
return inInteraction ?
|
|
237
|
-
new NavigatingDuringInteraction(this.navigationContext, currentRouterUrl) :
|
|
238
|
-
new Navigating(this.navigationContext, currentRouterUrl);
|
|
239
|
-
};
|
|
240
|
-
// @Trace()
|
|
241
|
-
PlaceRouter.prototype.transitionTo = function (next) {
|
|
242
|
-
var previous = this.navigationSessionModel.value;
|
|
243
|
-
if (!previous) {
|
|
244
|
-
this.placeHistory.notifyNavigationStarted();
|
|
245
|
-
}
|
|
246
|
-
assert.isTruthy(next !== previous);
|
|
247
|
-
Logger.get(this).info("### Router State Transition: " + (previous ? previous.toString() : 'null') + " -> " + next.toString());
|
|
248
|
-
this.navigationSessionModel.value = next;
|
|
249
|
-
if (!!previous) {
|
|
250
|
-
previous.dispose();
|
|
251
|
-
}
|
|
252
|
-
next.notifyActive();
|
|
253
|
-
};
|
|
254
|
-
// @Trace()
|
|
255
|
-
PlaceRouter.prototype.routingSessionFinished = function (visits) {
|
|
256
|
-
if (visits && visits.length > 0) {
|
|
257
|
-
assert.isTruthy(this.navigationInProgress.value);
|
|
258
|
-
this.placeHistory.notifyNavigationFinished(visits);
|
|
259
|
-
// We update the active visits before we finish the session so the
|
|
260
|
-
// place outlets can ignore the incoming changes until things are
|
|
261
|
-
// settled. TODO: can we removed the event'ness here and just do a push?
|
|
262
|
-
this._activeVisits.value = visits;
|
|
263
|
-
}
|
|
264
|
-
var session = this.currentSession;
|
|
265
|
-
session.dispose();
|
|
266
|
-
this.navigationSessionModel.value = null;
|
|
267
|
-
console.log("### Router Session Finished (was " + session.toString() + ")");
|
|
268
|
-
this.sessionFinishedJobs.forEach(function (job) { return job(); });
|
|
269
|
-
this.sessionFinishedJobs = [];
|
|
270
|
-
};
|
|
271
|
-
PlaceRouter.prototype.runAfterRoutingSessionFinishes = function (func) {
|
|
272
|
-
assert.isTruthy(this.navigationInProgress);
|
|
273
|
-
this.sessionFinishedJobs.push(func);
|
|
274
|
-
};
|
|
275
|
-
/**
|
|
276
|
-
* Sync's the current interaction state with the URL. We need to push something in the URL in order
|
|
277
|
-
* to be able to capture the back button on the first page. If we don't then the back click will exit
|
|
278
|
-
* the app directly and we don't get to ask.
|
|
279
|
-
*/
|
|
280
|
-
// @Trace()
|
|
281
|
-
PlaceRouter.prototype.syncInteractionContextIdsWithRouter = function () {
|
|
282
|
-
var _this = this;
|
|
283
|
-
if (this.navigationSession) {
|
|
284
|
-
// console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
|
|
285
|
-
var session = this.navigationSession;
|
|
286
|
-
return new Promise(function (resolve, reject) {
|
|
287
|
-
_this.runAfterRoutingSessionFinishes(function () {
|
|
288
|
-
_this.runAfterRoutingSessionFinishes(resolve);
|
|
289
|
-
var syncSession = new SynchroniseInteractionContextIdsWithRoute(_this.navigationContext, _this.urlService.getCurrentRouterUrl(), false);
|
|
290
|
-
_this.transitionTo(syncSession);
|
|
291
|
-
});
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
else {
|
|
295
|
-
return new Promise((function (resolve, reject) {
|
|
296
|
-
// console.log(`No navigation in progress, starting synchronisation job`);
|
|
297
|
-
_this.runAfterRoutingSessionFinishes(resolve);
|
|
298
|
-
var session = new SynchroniseInteractionContextIdsWithRoute(_this.navigationContext, _this.urlService.getCurrentRouterUrl(), false);
|
|
299
|
-
_this.transitionTo(session);
|
|
300
|
-
}));
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
PlaceRouter.prototype.createRouteParameters = function (visit) {
|
|
304
|
-
var def = visit.placeDefinition;
|
|
305
|
-
return visit.hasRouteId() ?
|
|
306
|
-
[def.getFormattedRouteId(visit), def.getFormattedRouteParameters(visit)] :
|
|
307
|
-
[def.getFormattedRouteParameters(visit)];
|
|
308
|
-
};
|
|
309
|
-
PlaceRouter.ctorParameters = function () { return [
|
|
310
|
-
{ type: Router },
|
|
311
|
-
{ type: Location },
|
|
312
|
-
{ type: InteractionService },
|
|
313
|
-
{ type: UrlService },
|
|
314
|
-
{ type: PlaceHistory }
|
|
315
|
-
]; };
|
|
316
|
-
PlaceRouter.ɵprov = i0.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i2.Location), i0.ɵɵinject(i3.InteractionService), i0.ɵɵinject(i4.UrlService), i0.ɵɵinject(i5.PlaceHistory)); }, token: PlaceRouter, providedIn: "root" });
|
|
317
|
-
PlaceRouter = __decorate([
|
|
318
|
-
Injectable({
|
|
319
|
-
providedIn: 'root'
|
|
320
|
-
}),
|
|
321
|
-
__metadata("design:paramtypes", [Router,
|
|
322
|
-
Location,
|
|
323
|
-
InteractionService,
|
|
324
|
-
UrlService,
|
|
325
|
-
PlaceHistory])
|
|
326
|
-
], PlaceRouter);
|
|
327
|
-
return PlaceRouter;
|
|
328
|
-
}(GarbageCollector));
|
|
329
|
-
export { PlaceRouter };
|
|
330
|
-
//# sourceMappingURL=place-router.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-router.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place-router.ts"],"names":[],"mappings":"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","sourcesContent":["import { Location } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport {\n ActivatedRoute,\n NavigationCancel,\n NavigationEnd,\n NavigationError,\n NavigationExtras,\n NavigationStart,\n Router\n} from '@angular/router';\nimport {\n assert,\n DebugContext,\n Dsl,\n GarbageCollector,\n lang,\n ListModel,\n Logger, MapModelChain,\n MutableListModel,\n MutableValueModel,\n Trace,\n ValueModelChain\n} from '@coolon/pectin';\nimport { InteractionServiceRoutingAdapter } from '../interaction/services/interaction-service-routing-adapter';\nimport { InteractionService } from '../interaction/services/interaction.service';\nimport { NavigatingDuringInteraction } from './navigation/session/interactions/navigating-during-interaction';\nimport { PopStateDuringInteractionNavigation } from './navigation/session/interactions/pop-state-during-interaction-navigation';\nimport { SynchroniseInteractionContextIdsWithRoute } from './navigation/session/interactions/synchronise-interaction-context-ids-with-route';\nimport { Navigating } from './navigation/session/navigating';\nimport { NavigationContext } from './navigation/session/navigation-context';\nimport { NavigationSession } from './navigation/session/navigation-session';\nimport { PopStateNavigation } from './navigation/session/pop-state-navigation';\nimport { PlaceDefinition } from './place-definition';\nimport { PlaceHistory } from './place-history';\nimport { UrlService } from './url-service';\nimport { UrlSnapshot } from './url-snapshot';\nimport { Visit } from './visit';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PlaceRouter extends GarbageCollector {\n\n readonly navigationSessionModel = new MutableValueModel<NavigationSession>();\n readonly navigationInProgress: ValueModelChain<boolean>;\n readonly navigationSessionName: ValueModelChain<string>; // used by tests\n\n private readonly navigationContext: NavigationContext.Impl;\n\n private readonly _activeVisits = new MutableListModel<Visit>();\n readonly activeVisitsByPlaceDefinition: MapModelChain<PlaceDefinition, Visit>;\n private routerInteractionAdapter: InteractionServiceRoutingAdapter;\n private sessionFinishedJobs: (() => void)[] = [];\n\n constructor(private readonly angularRouter: Router,\n private readonly angularLocation: Location,\n private readonly interactionService: InteractionService,\n private readonly urlService: UrlService,\n private readonly placeHistory: PlaceHistory) {\n super();\n\n this.routerInteractionAdapter = interactionService.registerPlaceRouter(this);\n\n // TODO: Make this an interface and use 'this' instead.\n this.navigationContext = new NavigationContext.Impl(\n this.urlService,\n this.routerInteractionAdapter,\n (urlSnapshot: UrlSnapshot, options: { replaceUrl: boolean }) => {\n return this.navigateByUrl(urlSnapshot, options);\n },\n state => {\n this.transitionTo(state);\n },\n visits => {\n this.routingSessionFinished(visits);\n });\n\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n this.navigationInProgress = chain(this.navigationSessionModel).isNotNil();\n\n const idleStateName = chain(this.interactionService.active).map(active => active ? 'IdleDuringInteraction' : 'Idle');\n this.navigationSessionName = chain(this.navigationSessionModel)\n .pluck('name')\n .otherwise(idleStateName);\n\n DebugContext.tag(this._activeVisits, 'PlaceRouter.activeVisits');\n this.activeVisitsByPlaceDefinition = chain(this._activeVisits).indexBy('placeDefinition');\n\n // TODO: make setup the callbacks in during module initiation to make this testable.\n angularRouter.events.subscribe(event => {\n // Routing event sequence\n // ======================\n // NavigationStart -> .... -> NavigationCancel --> redirect, go around again in the same session\n // NavigationStart -> .... -> NavigationEnd --> navigation complete, end session.\n // NavigationStart -> .... -> NavigationError --> navigation aborted, end session.\n // =======================\n if (event instanceof NavigationStart) {\n // console.log(`---> NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n if (event.navigationTrigger === 'popstate') {\n this.onPopState(event);\n } else {\n this.onRouterStarted(event);\n }\n // console.log(`<--- NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n }\n if (event instanceof NavigationEnd) {\n // console.log(`---> NavigationEnd[${event.id}]: ${event.url}`);\n this.onRouterEnd(event);\n // console.log(`<--- NavigationEnd[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationError) {\n // console.log(`---> NavigationError[${event.id}]: ${event.url}`);\n this.onRouterError(event);\n // console.log(`<--- NavigationError[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationCancel) {\n // console.log(`---> NavigationCancel[${event.id}]: ${event.url}`);\n this.onRouterCancelled(event);\n // console.log(`<--- NavigationCancel[${event.id}]: ${event.url}`);\n }\n });\n\n // The router needs to know about url changes and in some cases they are the only way the router can know if\n // the back button was clicked.\n angularLocation.onUrlChange(url => this.onUrlChanged(url));\n\n }\n\n get navigationSession() {\n return this.navigationSessionModel.value;\n }\n\n get currentSession() {\n return this.navigationSessionModel.value;\n }\n\n // @Trace()\n onPopState(event: NavigationStart) {\n assert.isTruthy(event.navigationTrigger === 'popstate');\n if (this.currentSession) {\n this.currentSession.onPopState(event);\n } else {\n const poppedHistoryUrl = event.url;\n const currentRouterUrl = this.urlService.getCurrentRouterUrl();\n const session = this.interactionService.isActive() ?\n new PopStateDuringInteractionNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl) :\n new PopStateNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl);\n this.transitionTo(session);\n }\n }\n\n // @Trace()\n onRouterStarted(event: NavigationStart) {\n assert.isFalsey(event.navigationTrigger === 'popstate');\n const inInteraction = this.interactionService.isActive();\n if (this.currentSession) {\n this.currentSession.onRouterStarted(event);\n } else {\n this.transitionTo(this.createNavigationSession(this.urlService.getCurrentRouterUrl()));\n }\n }\n\n // @Trace()\n onUrlChanged(newUrl: string) {\n // the back button can trigger a url change without a navigation session in progress so we\n // console.log(`---> Url Changed ${newUrl}`);\n if (this.currentSession) {\n this.currentSession.onUrlChange(newUrl);\n } else {\n console.log('FYI: url changed without a navigation session in progress');\n }\n // console.log(`<--- Url Changed`);\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel) {\n this.currentSession.onRouterCancelled(event);\n }\n\n // @Trace()\n onRouterError(event: NavigationError) {\n this.currentSession.onRouterError(event);\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd) {\n this.currentSession.onRouterEnd(event);\n }\n\n navigate(visit: Visit, options?: { relativeTo: ActivatedRoute }) {\n return this.doNavigation(visit, async router => {\n const commands = [\n visit.placeDefinition.path,\n ...this.createRouteParameters(visit)\n ];\n await this.angularRouter.navigate(commands, {\n relativeTo: options ? options.relativeTo : null\n });\n });\n }\n\n // @Trace()\n async doNavigation(visit: Visit, runNavigationCommands: (router: Router) => any) {\n if (this.navigationInProgress.value) {\n lang.illegalState('Navigation already in progress');\n }\n const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());\n navigation.storeVisit(visit);\n this.transitionTo(navigation);\n try {\n await runNavigationCommands(this.angularRouter);\n } finally {\n // Check if the router has finished (in the case where no router change required) and we're still in a\n // transient state and finish of the transition.\n if (!this.angularRouter.getCurrentNavigation() && this.currentSession) {\n this.currentSession.onRouterEnd(new NavigationEnd(-1, '', ''));\n }\n }\n }\n\n navigateByUrl(urlSnapshot: UrlSnapshot, navigationExtras?: NavigationExtras) {\n // console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);\n return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);\n }\n\n get activeVisits(): ListModel<Visit> {\n return this._activeVisits.readonly;\n }\n\n // @Trace()\n async pushVisitChangesToRoute(previous: Visit, next: Visit): Promise<void> {\n this.placeHistory.updateVisit(next);\n\n // FIXME: no route id -> route id duplicates route parameters\n if (next.hasRoutingChangedFrom(previous)) {\n return this.doNavigation(next, router => {\n const urlSnapshot = this.urlService.parseUrl(this.angularRouter.routerState.snapshot.url).updateVisitSegments(next);\n // console.log('### Push Changes to route Redirect', { commands: urlSnapshot.url });\n return this.navigateByUrl(urlSnapshot);\n });\n }\n }\n\n\n private createNavigationSession(currentRouterUrl: string): NavigationSession {\n const inInteraction = this.interactionService.isActive();\n return inInteraction ?\n new NavigatingDuringInteraction(this.navigationContext, currentRouterUrl) :\n new Navigating(this.navigationContext, currentRouterUrl);\n }\n\n // @Trace()\n protected transitionTo(next: NavigationSession) {\n const previous = this.navigationSessionModel.value;\n if (!previous) {\n this.placeHistory.notifyNavigationStarted();\n }\n assert.isTruthy(next !== previous);\n Logger.get(this).info(`### Router State Transition: ${previous ? previous.toString() : 'null'} -> ${next.toString()}`);\n this.navigationSessionModel.value = next;\n if (!!previous) {\n previous.dispose();\n }\n next.notifyActive();\n }\n\n // @Trace()\n private routingSessionFinished(visits: Visit[]) {\n if (visits && visits.length > 0) {\n assert.isTruthy(this.navigationInProgress.value);\n this.placeHistory.notifyNavigationFinished(visits);\n // We update the active visits before we finish the session so the\n // place outlets can ignore the incoming changes until things are\n // settled. TODO: can we removed the event'ness here and just do a push?\n this._activeVisits.value = visits;\n }\n const session = this.currentSession;\n session.dispose();\n this.navigationSessionModel.value = null;\n console.log(`### Router Session Finished (was ${session.toString()})`);\n this.sessionFinishedJobs.forEach(job => job());\n this.sessionFinishedJobs = [];\n }\n\n private runAfterRoutingSessionFinishes(func: () => void) {\n assert.isTruthy(this.navigationInProgress);\n this.sessionFinishedJobs.push(func);\n }\n\n\n /**\n * Sync's the current interaction state with the URL. We need to push something in the URL in order\n * to be able to capture the back button on the first page. If we don't then the back click will exit\n * the app directly and we don't get to ask.\n */\n // @Trace()\n syncInteractionContextIdsWithRouter(): Promise<unknown> {\n if (this.navigationSession) {\n // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);\n const session = this.navigationSession;\n return new Promise((resolve, reject) => {\n this.runAfterRoutingSessionFinishes(() => {\n this.runAfterRoutingSessionFinishes(resolve);\n const syncSession = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(syncSession);\n });\n });\n } else {\n return new Promise<unknown>(((resolve, reject) => {\n // console.log(`No navigation in progress, starting synchronisation job`);\n this.runAfterRoutingSessionFinishes(resolve);\n const session = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(session);\n }));\n\n }\n }\n\n\n private createRouteParameters(visit: Visit) {\n const def = visit.placeDefinition;\n return visit.hasRouteId() ?\n [def.getFormattedRouteId(visit), def.getFormattedRouteParameters(visit)] :\n [def.getFormattedRouteParameters(visit)];\n }\n\n}\n\nexport namespace NavigationStateMachine {\n export type VisitsUpdatedCallback = (visits: Visit[]) => void;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place-router.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place-router.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { lang } from '@coolon/pectin';
|
|
2
|
-
import * as _ from 'lodash';
|
|
3
|
-
import { PlaceComponent } from './place-component';
|
|
4
|
-
import { PlaceDefinition } from './place-definition';
|
|
5
|
-
export function Place(options) {
|
|
6
|
-
return function (target) {
|
|
7
|
-
if (PlaceComponent.isPlaceComponentConstructor(target)) {
|
|
8
|
-
PlaceComponent.injectDefinition(target, new PlaceDefinition(target, options.path, _.isNil(options.authenticate) ? true : options.authenticate, options.data, PlaceComponent.getRouteParameters(target), (options.children || []).map(function (c) { return PlaceComponent.getDefinition(c); })));
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
lang.illegalState(target + " must extend PlaceComponent to use the @Place decorator");
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=place.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place.decorator.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,UAAU,KAAK,CAAC,OAAsB;IAC1C,OAAO,UAAC,MAAgB;QACtB,IAAI,cAAc,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE;YACtD,cAAc,CAAC,gBAAgB,CAAC,MAAM,EAAE,IAAI,eAAe,CACzD,MAAM,EACN,OAAO,CAAC,IAAI,EACZ,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,EAC3D,OAAO,CAAC,IAAI,EACZ,cAAc,CAAC,kBAAkB,CAAC,MAAM,CAAC,EACzC,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,UAAA,CAAC,IAAI,OAAA,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,EAA/B,CAA+B,CAAC,CACnE,CAAC,CAAC;SAEJ;aAAM;YACL,IAAI,CAAC,YAAY,CAAI,MAAM,4DAAyD,CAAC,CAAC;SACvF;IACH,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { Constructable, lang } from '@coolon/pectin';\nimport * as _ from 'lodash';\nimport { PlaceComponent } from './place-component';\nimport { PlaceDefinition } from './place-definition';\n\nexport function Place(options: Place.Options) {\n return (target: Function) => {\n if (PlaceComponent.isPlaceComponentConstructor(target)) {\n PlaceComponent.injectDefinition(target, new PlaceDefinition(\n target,\n options.path,\n _.isNil(options.authenticate) ? true : options.authenticate,\n options.data,\n PlaceComponent.getRouteParameters(target),\n (options.children || []).map(c => PlaceComponent.getDefinition(c))\n ));\n\n } else {\n lang.illegalState(`${target} must extend PlaceComponent to use the @Place decorator`);\n }\n };\n}\n\nexport namespace Place {\n\n export interface Options {\n path: string,\n data?: { [key: string]: any }, // defaults to true\n authenticate?: boolean, // defaults to true\n children?: Constructable<PlaceComponent>[]\n defaultChild?: Constructable<PlaceComponent>\n }\n\n}\n\n"]}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { FlexModule } from '@angular/flex-layout';
|
|
5
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
6
|
-
import { MatListModule } from '@angular/material/list';
|
|
7
|
-
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
8
|
-
import { MatTabsModule } from '@angular/material/tabs';
|
|
9
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
10
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
11
|
-
import { RouterModule } from '@angular/router';
|
|
12
|
-
import { ComponentsModule } from '../components';
|
|
13
|
-
import { DirectivesModule } from '../directives/directives.module';
|
|
14
|
-
import { AbstractPlaceNavigationComponent } from './components/abstract-place-navigation.component';
|
|
15
|
-
import { BusyOverlayComponent } from './components/busy-overlay/busy-overlay.component';
|
|
16
|
-
import { EmptyStateComponent } from './components/empty-state/empty-state.component';
|
|
17
|
-
import { ListPlaceNavComponent } from './components/list-place-nav/list-place-nav.component';
|
|
18
|
-
import { PlaceOutletComponent } from './components/place-outlet/place-outlet.component';
|
|
19
|
-
import { SidePlaceNavigationComponent } from './components/side-place-navigation/side-place-navigation.component';
|
|
20
|
-
import { TabbedPlaceNavigationComponent } from './components/tabbed-place-navigation/tabbed-place-navigation.component';
|
|
21
|
-
var PlaceModule = /** @class */ (function () {
|
|
22
|
-
function PlaceModule() {
|
|
23
|
-
}
|
|
24
|
-
PlaceModule = __decorate([
|
|
25
|
-
NgModule({
|
|
26
|
-
imports: [
|
|
27
|
-
CommonModule,
|
|
28
|
-
BrowserAnimationsModule,
|
|
29
|
-
MatProgressSpinnerModule,
|
|
30
|
-
RouterModule,
|
|
31
|
-
MatTabsModule,
|
|
32
|
-
MatListModule,
|
|
33
|
-
MatTooltipModule,
|
|
34
|
-
MatIconModule,
|
|
35
|
-
DirectivesModule,
|
|
36
|
-
FlexModule,
|
|
37
|
-
ComponentsModule
|
|
38
|
-
],
|
|
39
|
-
declarations: [
|
|
40
|
-
EmptyStateComponent,
|
|
41
|
-
BusyOverlayComponent,
|
|
42
|
-
PlaceOutletComponent,
|
|
43
|
-
TabbedPlaceNavigationComponent,
|
|
44
|
-
ListPlaceNavComponent,
|
|
45
|
-
SidePlaceNavigationComponent,
|
|
46
|
-
AbstractPlaceNavigationComponent
|
|
47
|
-
],
|
|
48
|
-
entryComponents: [BusyOverlayComponent],
|
|
49
|
-
exports: [
|
|
50
|
-
BusyOverlayComponent,
|
|
51
|
-
PlaceOutletComponent,
|
|
52
|
-
EmptyStateComponent,
|
|
53
|
-
TabbedPlaceNavigationComponent,
|
|
54
|
-
ListPlaceNavComponent,
|
|
55
|
-
SidePlaceNavigationComponent,
|
|
56
|
-
AbstractPlaceNavigationComponent
|
|
57
|
-
],
|
|
58
|
-
providers: [
|
|
59
|
-
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "2000ms"}}
|
|
60
|
-
]
|
|
61
|
-
})
|
|
62
|
-
], PlaceModule);
|
|
63
|
-
return PlaceModule;
|
|
64
|
-
}());
|
|
65
|
-
export { PlaceModule };
|
|
66
|
-
//# sourceMappingURL=place.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place.module.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oEAAoE,CAAC;AAClH,OAAO,EAAE,8BAA8B,EAAE,MAAM,wEAAwE,CAAC;AAuCxH;IAAA;IAEA,CAAC;IAFY,WAAW;QArCvB,QAAQ,CAAC;YACR,OAAO,EAAE;gBACP,YAAY;gBACZ,uBAAuB;gBACvB,wBAAwB;gBACxB,YAAY;gBACZ,aAAa;gBACb,aAAa;gBACb,gBAAgB;gBAChB,aAAa;gBACb,gBAAgB;gBAChB,UAAU;gBACV,gBAAgB;aACjB;YACD,YAAY,EAAE;gBACZ,mBAAmB;gBACnB,oBAAoB;gBACpB,oBAAoB;gBACpB,8BAA8B;gBAC9B,qBAAqB;gBACrB,4BAA4B;gBAC5B,gCAAgC;aACjC;YACD,eAAe,EAAE,CAAC,oBAAoB,CAAC;YACvC,OAAO,EAAE;gBACP,oBAAoB;gBACpB,oBAAoB;gBACpB,mBAAmB;gBACnB,8BAA8B;gBAC9B,qBAAqB;gBACrB,4BAA4B;gBAC5B,gCAAgC;aACjC;YACD,SAAS,EAAE;YACT,uEAAuE;aACxE;SACF,CAAC;OACW,WAAW,CAEvB;IAAD,kBAAC;CAAA,AAFD,IAEC;SAFY,WAAW","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexModule } from '@angular/flex-layout';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { RouterModule } from '@angular/router';\nimport { ComponentsModule } from '../components';\nimport { DirectivesModule } from '../directives/directives.module';\nimport { AbstractPlaceNavigationComponent } from './components/abstract-place-navigation.component';\nimport { BusyOverlayComponent } from './components/busy-overlay/busy-overlay.component';\nimport { EmptyStateComponent } from './components/empty-state/empty-state.component';\nimport { ListPlaceNavComponent } from './components/list-place-nav/list-place-nav.component';\nimport { PlaceOutletComponent } from './components/place-outlet/place-outlet.component';\nimport { SidePlaceNavigationComponent } from './components/side-place-navigation/side-place-navigation.component';\nimport { TabbedPlaceNavigationComponent } from './components/tabbed-place-navigation/tabbed-place-navigation.component';\n\n@NgModule({\n imports: [\n CommonModule,\n BrowserAnimationsModule,\n MatProgressSpinnerModule,\n RouterModule,\n MatTabsModule,\n MatListModule,\n MatTooltipModule,\n MatIconModule,\n DirectivesModule,\n FlexModule,\n ComponentsModule\n ],\n declarations: [\n EmptyStateComponent,\n BusyOverlayComponent,\n PlaceOutletComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n SidePlaceNavigationComponent,\n AbstractPlaceNavigationComponent\n ],\n entryComponents: [BusyOverlayComponent],\n exports: [\n BusyOverlayComponent,\n PlaceOutletComponent,\n EmptyStateComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n SidePlaceNavigationComponent,\n AbstractPlaceNavigationComponent\n ],\n providers: [\n // {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: \"2000ms\"}}\n ]\n})\nexport class PlaceModule {\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"place.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '@angular/flex-layout/flex';\nimport * as i16 from '../components/forms/number-input/number-input.component';\nimport * as i17 from '../components/forms/string-input/string-input.component';\nimport * as i18 from '../components/forms/text-input/text-input.component';\nimport * as i19 from '../components/forms/password-input/password-input.component';\nimport * as i20 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i21 from '../components/forms/select-input/select-input.component';\nimport * as i22 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i23 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i24 from '../components/scroll-container/scroll-container.component';\nimport * as i25 from '../components/noop/noop.component';\nimport * as i26 from '../components/switch-case/switch-case.component';\nimport * as i27 from '../components/focus-container/focus-container.component';\nimport * as i28 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i29 from '../components/focusable.component';\nimport * as i30 from '../components/card-container/card-container.component';\nimport * as i31 from '../components/table/table.component';\nimport * as i32 from '../components/table/edit-row-controls/edit-row-controls.component';\nimport * as i33 from '../components/table/column-template/column-template.directive';\nimport * as i34 from '../components/icon/icon.component';\nimport * as i35 from '../components/section-header/section-header.component';\nimport * as i36 from '../components/table/table-row-menu/table-row-menu.component';\nimport * as i37 from '../components/commands/group/command-group/command-group.component';\nimport * as i38 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i39 from '../components/commands/command/command.component';\nimport * as i40 from '../components/commands/group/popup-menu.component';\nimport * as i41 from '../components/commands/command-face/command-face.component';\nimport * as i42 from '../components/commands/group/more-menu.component';\nimport * as i43 from '../components/commands/separator.component';\nimport * as i44 from '../components/commands/flex.component';\nimport * as i45 from './components/empty-state/empty-state.component';\nimport * as i46 from './components/busy-overlay/busy-overlay.component';\nimport * as i47 from './components/place-outlet/place-outlet.component';\nimport * as i48 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i49 from './components/list-place-nav/list-place-nav.component';\nimport * as i50 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i51 from './components/abstract-place-navigation.component';\nimport * as i52 from '@angular/platform-browser/animations';\nimport * as i53 from '../directives/directives.module';\nimport * as i54 from '../components/components.module';\nexport const PlaceModuleNgFactory:i0.NgModuleFactory<i1.PlaceModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any,any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatProgressSpinner = (<any>(null as any));\nvar _decl0_13:i4.MatSpinner = (<any>(null as any));\nvar _decl0_14:i5.RouterOutlet = (<any>(null as any));\nvar _decl0_15:i5.RouterLink = (<any>(null as any));\nvar _decl0_16:i5.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_17:i5.RouterLinkActive = (<any>(null as any));\nvar _decl0_18:i5.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.MatLine = (<any>(null as any));\nvar _decl0_26:i7.MatPseudoCheckbox = (<any>(null as any));\nvar _decl0_27:i8.MatDivider = (<any>(null as any));\nvar _decl0_28:i9.MatList = (<any>(null as any));\nvar _decl0_29:i9.MatNavList = (<any>(null as any));\nvar _decl0_30:i9.MatListItem = (<any>(null as any));\nvar _decl0_31:i9.MatListAvatarCssMatStyler = (<any>(null as any));\nvar _decl0_32:i9.MatListIconCssMatStyler = (<any>(null as any));\nvar _decl0_33:i9.MatListSubheaderCssMatStyler = (<any>(null as any));\nvar _decl0_34:i9.MatSelectionList = (<any>(null as any));\nvar _decl0_35:i9.MatListOption = (<any>(null as any));\nvar _decl0_36:i10.CdkScrollable = (<any>(null as any));\nvar _decl0_37:i11.MatTooltip = (<any>(null as any));\nvar _decl0_38:i11.TooltipComponent = (<any>(null as any));\nvar _decl0_39:i12.MatIcon = (<any>(null as any));\nvar _decl0_40:i13.CommandDirective<any> = (<any>(null as any));\nvar _decl0_41:i14.FocusBindingDirective = (<any>(null as any));\nvar _decl0_42:i15.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_43:i15.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_44:i15.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_45:i15.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_46:i15.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_47:i15.FlexFillDirective = (<any>(null as any));\nvar _decl0_48:i15.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_49:i15.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_50:i16.NumberInputComponent = (<any>(null as any));\nvar _decl0_51:i17.StringInputComponent = (<any>(null as any));\nvar _decl0_52:i18.TextInputComponent = (<any>(null as any));\nvar _decl0_53:i19.PasswordInputComponent = (<any>(null as any));\nvar _decl0_54:i20.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_55:i21.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_56:i22.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_57:i23.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_58:i24.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_59:i25.NoopComponent = (<any>(null as any));\nvar _decl0_60:i26.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_61:i26.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_62:i26.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_63:i27.FocusContainerComponent = (<any>(null as any));\nvar _decl0_64:i28.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_65:i29.FocusableComponent = (<any>(null as any));\nvar _decl0_66:i30.CardContainerComponent = (<any>(null as any));\nvar _decl0_67:i31.TableComponent<any> = (<any>(null as any));\nvar _decl0_68:i32.EditRowControls<any> = (<any>(null as any));\nvar _decl0_69:i33.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_70:i34.IconComponent = (<any>(null as any));\nvar _decl0_71:i35.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_72:i36.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_73:i37.CommandGroupComponent = (<any>(null as any));\nvar _decl0_74:i38.ToolBarComponent = (<any>(null as any));\nvar _decl0_75:i39.CommandComponent = (<any>(null as any));\nvar _decl0_76:i40.PopupMenuComponent = (<any>(null as any));\nvar _decl0_77:i41.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_78:i42.MoreMenuComponent = (<any>(null as any));\nvar _decl0_79:i43.SeparatorComponent = (<any>(null as any));\nvar _decl0_80:i44.FlexComponent = (<any>(null as any));\nvar _decl0_81:i45.EmptyStateComponent = (<any>(null as any));\nvar _decl0_82:i46.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_83:i47.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_84:i48.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_85:i49.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_86:i50.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_87:i51.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_88:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_89:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_90:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_91:i2.JsonPipe = (<any>(null as any));\nvar _decl0_92:i2.SlicePipe = (<any>(null as any));\nvar _decl0_93:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_94:i2.PercentPipe = (<any>(null as any));\nvar _decl0_95:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_96:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_97:i2.DatePipe = (<any>(null as any));\nvar _decl0_98:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_99:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_100:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_101:i2.CommonModule = (<any>(null as any));\nvar _decl0_102:i52.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_103:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_104:i5.RouterModule = (<any>(null as any));\nvar _decl0_105:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_106:i9.MatListModule = (<any>(null as any));\nvar _decl0_107:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_108:i12.MatIconModule = (<any>(null as any));\nvar _decl0_109:i53.DirectivesModule = (<any>(null as any));\nvar _decl0_110:i15.FlexModule = (<any>(null as any));\nvar _decl0_111:i54.ComponentsModule = (<any>(null as any));\nvar _decl0_112:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_113:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_EmptyStateComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_EmptyStateComponent_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_2_1():void {\n if (_decl0_82.busyModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = 52;\n currVal_0;\n const currVal_1:any = 'indeterminate';\n currVal_1;\n const currVal_2:any = _decl0_12._noopAnimations;\n currVal_2;\n const currVal_3:any = _decl0_12.diameter;\n currVal_3;\n const currVal_4:any = _decl0_12.diameter;\n currVal_4;\n const currVal_5:any = ((_decl0_12.mode === 'determinate')? 0: null);\n currVal_5;\n const currVal_6:any = ((_decl0_12.mode === 'determinate')? 100: null);\n currVal_6;\n const currVal_7:any = ((_decl0_12.mode === 'determinate')? _decl0_12.value: null);\n currVal_7;\n const currVal_8:any = _decl0_12.mode;\n currVal_8;\n }\n}\nfunction _View_BusyOverlayComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_82.busyModel.value;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PlaceOutletComponent_3_1():void {\n if (_decl0_83.animationEnabled.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_83.getAnimationOrder(),params:{duration:_decl0_83.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_83.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_83.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_83.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_83.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_2():void {\n if (!_decl0_83.animationEnabled.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_83.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_83.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_83.animationEnabled.value;\n currVal_0;\n const currVal_1:any = !_decl0_83.animationEnabled.value;\n currVal_1;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_84.isActive(_any);\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_84.getNavigationFace(_any).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_84.commandFactory.create(_any);\n currVal_7;\n const currVal_8:any = _decl0_84.getNavigationFace(_any);\n currVal_8;\n const currVal_9:any = _decl0_77.requiresMissingIconInLayout;\n currVal_9;\n const currVal_10:any = _decl0_77.color;\n currVal_10;\n const pd_11:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_84.placeDefinitions.value;\n currVal_5;\n}\nfunction _View_ListPlaceNavComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ListPlaceNavComponent_5_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_85.getNavigationFace(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_85.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_85.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_85.getNavigationFace(_any);\n currVal_6;\n const currVal_7:any = _decl0_77.requiresMissingIconInLayout;\n currVal_7;\n const currVal_8:any = _decl0_77.color;\n currVal_8;\n const pd_9:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_85.placeDefinitions.value;\n currVal_1;\n}\nfunction _View_SidePlaceNavigationComponent_Host_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_86.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_6_2():void {\n if (_decl0_86.getNavigationFace(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_86.getNavigationFace(_any).icon();\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_86.getNavigationFace(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_86.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_86.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_86.getNavigationFace(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_86.getNavigationFace(_any).text();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_6_3():void {\n if (_decl0_86.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_86.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = 'mat:menu';\n currVal_3;\n const currVal_4:any = 'mat:arrow_back';\n currVal_4;\n const currVal_5:any = _decl0_86.placeDefinitions.value;\n currVal_5;\n const currVal_6:any = 1;\n currVal_6;\n const currVal_7:any = _decl0_86.navEndTemplate;\n currVal_7;\n const pd_8:any = ((<any>_decl0_86.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_7_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_7_0():void {\n var _any:any = (null as any);\n}\n"]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import _ from 'lodash';
|
|
2
|
-
export var Formatter;
|
|
3
|
-
(function (Formatter) {
|
|
4
|
-
var StringType = /** @class */ (function () {
|
|
5
|
-
function StringType() {
|
|
6
|
-
}
|
|
7
|
-
StringType.prototype.format = function (value) {
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
StringType.prototype.parse = function (value) {
|
|
11
|
-
return value;
|
|
12
|
-
};
|
|
13
|
-
return StringType;
|
|
14
|
-
}());
|
|
15
|
-
var NumberType = /** @class */ (function () {
|
|
16
|
-
function NumberType() {
|
|
17
|
-
}
|
|
18
|
-
NumberType.prototype.format = function (value) {
|
|
19
|
-
return _.isNumber(value) && !_.isNaN(value) ? "" + value : null;
|
|
20
|
-
};
|
|
21
|
-
NumberType.prototype.parse = function (value) {
|
|
22
|
-
var parsed = Number.parseFloat(value);
|
|
23
|
-
return _.isNaN(parsed) ? null : parsed;
|
|
24
|
-
};
|
|
25
|
-
return NumberType;
|
|
26
|
-
}());
|
|
27
|
-
var BooleanType = /** @class */ (function () {
|
|
28
|
-
function BooleanType() {
|
|
29
|
-
}
|
|
30
|
-
BooleanType.prototype.format = function (value) {
|
|
31
|
-
return value ? 'true' : 'false';
|
|
32
|
-
};
|
|
33
|
-
BooleanType.prototype.parse = function (value) {
|
|
34
|
-
return value === 'true';
|
|
35
|
-
};
|
|
36
|
-
return BooleanType;
|
|
37
|
-
}());
|
|
38
|
-
Formatter.STRING = new StringType();
|
|
39
|
-
Formatter.NUMBER = new NumberType();
|
|
40
|
-
Formatter.BOOLEAN = new BooleanType();
|
|
41
|
-
})(Formatter || (Formatter = {}));
|
|
42
|
-
//# sourceMappingURL=formatter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatter.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/route/formatter.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAQvB,MAAM,KAAW,SAAS,CAoCzB;AApCD,WAAiB,SAAS;IAExB;QAAA;QAQA,CAAC;QAPC,2BAAM,GAAN,UAAO,KAAa;YAClB,OAAO,KAAK,CAAC;QACf,CAAC;QAED,0BAAK,GAAL,UAAM,KAAa;YACjB,OAAO,KAAK,CAAC;QACf,CAAC;QACH,iBAAC;IAAD,CAAC,AARD,IAQC;IAED;QAAA;QASA,CAAC;QARC,2BAAM,GAAN,UAAO,KAAa;YAClB,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAG,KAAO,CAAC,CAAC,CAAC,IAAI,CAAC;QAClE,CAAC;QAED,0BAAK,GAAL,UAAM,KAAa;YACjB,IAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACxC,OAAO,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;QACzC,CAAC;QACH,iBAAC;IAAD,CAAC,AATD,IASC;IAED;QAAA;QAQA,CAAC;QAPC,4BAAM,GAAN,UAAO,KAAc;YACnB,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;QAClC,CAAC;QAED,2BAAK,GAAL,UAAM,KAAa;YACjB,OAAO,KAAK,KAAK,MAAM,CAAC;QAC1B,CAAC;QACH,kBAAC;IAAD,CAAC,AARD,IAQC;IAEY,gBAAM,GAAG,IAAI,UAAU,EAAE,CAAC;IAC1B,gBAAM,GAAG,IAAI,UAAU,EAAE,CAAC;IAC1B,iBAAO,GAAG,IAAI,WAAW,EAAE,CAAC;AAC3C,CAAC,EApCgB,SAAS,KAAT,SAAS,QAoCzB","sourcesContent":["import _ from 'lodash';\n\nexport interface Formatter<T> {\n format(value: T): string;\n\n parse(value: string): T;\n}\n\nexport namespace Formatter {\n\n class StringType implements Formatter<string> {\n format(value: string): string {\n return value;\n }\n\n parse(value: string): string {\n return value;\n }\n }\n\n class NumberType implements Formatter<number> {\n format(value: number): string {\n return _.isNumber(value) && !_.isNaN(value) ? `${value}` : null;\n }\n\n parse(value: string): number {\n const parsed = Number.parseFloat(value);\n return _.isNaN(parsed) ? null : parsed;\n }\n }\n\n class BooleanType implements Formatter<boolean> {\n format(value: boolean): string {\n return value ? 'true' : 'false';\n }\n\n parse(value: string): boolean {\n return value === 'true';\n }\n }\n\n export const STRING = new StringType();\n export const NUMBER = new NumberType();\n export const BOOLEAN = new BooleanType();\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=json-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json-types.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/route/json-types.ts"],"names":[],"mappings":"","sourcesContent":["export type JsonPrimitive = boolean | number | string;\nexport type AnyJson = JsonPrimitive | null | JsonArray | JsonMap;\n\nexport interface JsonArray extends Array<AnyJson> {\n}\n\nexport interface JsonMap {\n [key: string]: AnyJson;\n}\n\n"]}
|