@coolon/angular-ui-powerups 2.0.2 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +2192 -2390
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -16
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.js +27 -29
- package/esm2015/lib/angular-ui-powerups.module.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/animations/index.js.map +1 -1
- package/esm2015/lib/animations/slide-animations.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +13 -15
- package/esm2015/lib/components/card-container/card-container.component.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +21 -17
- package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.js +19 -34
- package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/command-face.js.map +1 -1
- package/esm2015/lib/components/commands/flex.component.js +8 -11
- package/esm2015/lib/components/commands/flex.component.js.map +1 -1
- package/esm2015/lib/components/commands/flex.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group/command-group.component.js +20 -26
- package/esm2015/lib/components/commands/group/command-group/command-group.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +16 -25
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +16 -17
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group.js.map +1 -1
- package/esm2015/lib/components/commands/group/more-menu.component.js +15 -19
- package/esm2015/lib/components/commands/group/more-menu.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/more-menu.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/more-menu.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/popup-menu.component.js +19 -32
- package/esm2015/lib/components/commands/group/popup-menu.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/popup-menu.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/popup-menu.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/registration.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +13 -32
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/commands/group/view-data.js.map +1 -1
- package/esm2015/lib/components/commands/separator.component.js +9 -13
- package/esm2015/lib/components/commands/separator.component.js.map +1 -1
- package/esm2015/lib/components/commands/separator.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/components.module.js +107 -110
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/disposable-component.js +5 -7
- package/esm2015/lib/components/disposable-component.js.map +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.js +16 -21
- package/esm2015/lib/components/focus-container/focus-container.component.js.map +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/focusable.component.js +10 -25
- package/esm2015/lib/components/focusable.component.js.map +1 -1
- package/esm2015/lib/components/focusable.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.js +25 -86
- package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js +12 -17
- package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js +12 -17
- package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +19 -28
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +14 -20
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +18 -24
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js +14 -20
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js +11 -13
- package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +20 -32
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +15 -12
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js +14 -20
- package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.js +13 -18
- package/esm2015/lib/components/icon/icon.component.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
- package/esm2015/lib/components/icon/icon.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/index.js +5 -0
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.js +10 -12
- package/esm2015/lib/components/noop/noop.component.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/resize-aware.component.js +6 -9
- package/esm2015/lib/components/resize-aware.component.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +10 -12
- package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.js +12 -16
- package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
- package/esm2015/lib/components/section-header/section-header.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js +36 -43
- package/esm2015/lib/components/switch-case/switch-case.component.js.map +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/cell-editors.js +1 -0
- package/esm2015/lib/components/table/cell-editors.js.map +1 -1
- package/esm2015/lib/components/table/cell-portal-ref.js.map +1 -1
- package/esm2015/lib/components/table/cell-renderer.js +1 -0
- package/esm2015/lib/components/table/cell-renderer.js.map +1 -1
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-template/column-template.directive.js +14 -29
- package/esm2015/lib/components/table/column-template/column-template.directive.js.map +1 -1
- package/esm2015/lib/components/table/column-template/column-template.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/column-text-properties.js +1 -0
- package/esm2015/lib/components/table/column-text-properties.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +12 -16
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js +12 -15
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js +14 -19
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/edit-session.js.map +1 -1
- package/esm2015/lib/components/table/mutable-cell-renderer.js +1 -0
- package/esm2015/lib/components/table/mutable-cell-renderer.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js +12 -15
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js +10 -12
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +18 -39
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/table-def.js +1 -0
- package/esm2015/lib/components/table/table-def.js.map +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +13 -19
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/table/table-model.js +1 -4
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js +14 -20
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js.map +1 -1
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table.component.js +12 -11
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/components/track-by.js.map +1 -1
- package/esm2015/lib/components/types/bounds.class.js.map +1 -1
- package/esm2015/lib/components/types/dimension.class.js.map +1 -1
- package/esm2015/lib/components/types/point.class.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +21 -42
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/directives/command.directive.js +14 -29
- package/esm2015/lib/directives/command.directive.js.map +1 -1
- package/esm2015/lib/directives/command.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/directives.module.js +23 -25
- package/esm2015/lib/directives/directives.module.js.map +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding-factory.js +9 -13
- package/esm2015/lib/directives/focus-binding-factory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding-factory.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.directive.js +15 -34
- package/esm2015/lib/directives/focus-binding.directive.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.js +8 -10
- package/esm2015/lib/directives/focus-binding.js.map +1 -1
- package/esm2015/lib/directives/index.js.map +1 -1
- package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.js.map +1 -1
- package/esm2015/lib/interaction/activity.js +10 -11
- package/esm2015/lib/interaction/activity.js.map +1 -1
- package/esm2015/lib/interaction/activity.metadata.json +1 -1
- package/esm2015/lib/interaction/activity.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/alert.js +1 -0
- package/esm2015/lib/interaction/alert.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -33
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +15 -23
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +14 -24
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +19 -40
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +9 -13
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +9 -13
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +9 -13
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +13 -21
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +8 -13
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +1 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +8 -10
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +8 -10
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +16 -28
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/interaction/confirm.js +1 -0
- package/esm2015/lib/interaction/confirm.js.map +1 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js +17 -45
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +1 -1
- package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/index.js +7 -0
- package/esm2015/lib/interaction/index.js.map +1 -1
- package/esm2015/lib/interaction/interaction-context.js +1 -0
- package/esm2015/lib/interaction/interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.js +59 -59
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/result.js +1 -0
- package/esm2015/lib/interaction/result.js.map +1 -1
- package/esm2015/lib/interaction/route-synchronisation-adapter.js +1 -0
- package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.js +14 -18
- package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +8 -15
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +17 -13
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js +15 -12
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.js +10 -12
- package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.metadata.json +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +9 -12
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +24 -29
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/route-animations.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +13 -20
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +9 -12
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +1 -1
- package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.js +9 -10
- package/esm2015/lib/place/guards/noop-auth-guard.service.js.map +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +1 -1
- package/esm2015/lib/place/guards/place.guard.js.map +1 -1
- package/esm2015/lib/place/index.js +5 -1
- package/esm2015/lib/place/index.js.map +1 -1
- package/esm2015/lib/place/index.metadata.json +1 -1
- package/esm2015/lib/place/nav-item.js +1 -0
- package/esm2015/lib/place/nav-item.js.map +1 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js +171 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js.map +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigating.js +2 -2
- package/esm2015/lib/place/navigation/session/navigating.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigation-context.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigation-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.metadata.json +1 -1
- package/esm2015/lib/place/place-component.js +7 -9
- package/esm2015/lib/place/place-component.js.map +1 -1
- package/esm2015/lib/place/place-config.js.map +1 -1
- package/esm2015/lib/place/place-definition.js.map +1 -1
- package/esm2015/lib/place/place-history.js +9 -12
- package/esm2015/lib/place/place-history.js.map +1 -1
- package/esm2015/lib/place/place-history.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place-router.js +10 -16
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place.decorator.js.map +1 -1
- package/esm2015/lib/place/place.module.js +41 -43
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/route/formatter.js.map +1 -1
- package/esm2015/lib/place/route/json-types.js +1 -0
- package/esm2015/lib/place/route/json-types.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm2015/lib/place/route/parameter-definition.class.js.map +1 -1
- package/esm2015/lib/place/route/parameter-sanitiser.js +1 -0
- package/esm2015/lib/place/route/parameter-sanitiser.js.map +1 -1
- package/esm2015/lib/place/route/parameter-snapshot.js +1 -0
- package/esm2015/lib/place/route/parameter-snapshot.js.map +1 -1
- package/esm2015/lib/place/route/visit-sanitiser.js.map +1 -1
- package/esm2015/lib/place/url-service.js +8 -11
- package/esm2015/lib/place/url-service.js.map +1 -1
- package/esm2015/lib/place/url-service.ngfactory.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/visit.js.map +1 -1
- package/esm2015/public_api.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +1446 -1754
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +3 -3
- package/lib/components/forms/abstract-value-input.component.d.ts +3 -3
- package/lib/components/table/cell-editors.d.ts +3 -3
- package/lib/interaction/activity.d.ts +1 -1
- package/lib/place/index.d.ts +1 -1
- package/lib/place/navigation/session/event-cleanup/{wait-until-link-triggered-interaction-cancelation-finishes.d.ts → wait-until-link-triggered-navigation-interaction-cancelation-type-determined.d.ts} +8 -24
- package/package.json +16 -18
- package/schematics/bootstrap-app/index.js +1 -0
- package/schematics/bootstrap-app/index.js.map +1 -1
- package/schematics/ng-add/index.js +1 -0
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/package-util.js +1 -0
- package/schematics/package-util.js.map +1 -1
- package/schematics/place-add/index.js +1 -0
- package/schematics/place-add/index.js.map +1 -1
- package/schematics/place-routes/index.js +1 -0
- package/schematics/place-routes/index.js.map +1 -1
- package/schematics/place-routes/place-builder.js +1 -0
- package/schematics/place-routes/place-builder.js.map +1 -1
- package/schematics/place-routes/place-class-scanner.js +1 -0
- package/schematics/place-routes/place-class-scanner.js.map +1 -1
- package/schematics/place-routes/place-def.js +1 -0
- package/schematics/place-routes/place-def.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +0 -80
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +0 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.metadata.json +0 -1
- package/esm5/coolon-angular-ui-powerups.js +0 -84
- package/esm5/coolon-angular-ui-powerups.js.map +0 -1
- package/esm5/index.js +0 -2
- package/esm5/index.js.map +0 -1
- package/esm5/lib/angular-ui-powerups.module.js +0 -46
- package/esm5/lib/angular-ui-powerups.module.js.map +0 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +0 -1
- package/esm5/lib/animations/index.js +0 -5
- package/esm5/lib/animations/index.js.map +0 -1
- package/esm5/lib/animations/slide-animations.js +0 -23
- package/esm5/lib/animations/slide-animations.js.map +0 -1
- package/esm5/lib/components/card-container/card-container.component.js +0 -50
- package/esm5/lib/components/card-container/card-container.component.js.map +0 -1
- package/esm5/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/command/command.component.js +0 -64
- package/esm5/lib/components/commands/command/command.component.js.map +0 -1
- package/esm5/lib/components/commands/command/command.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/command-face/command-face.component.js +0 -123
- package/esm5/lib/components/commands/command-face/command-face.component.js.map +0 -1
- package/esm5/lib/components/commands/command-face/command-face.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/command-face.js +0 -145
- package/esm5/lib/components/commands/command-face.js.map +0 -1
- package/esm5/lib/components/commands/flex.component.js +0 -33
- package/esm5/lib/components/commands/flex.component.js.map +0 -1
- package/esm5/lib/components/commands/flex.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group/command-group.component.js +0 -51
- package/esm5/lib/components/commands/group/command-group/command-group.component.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +0 -59
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +0 -42
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/group/command-group.js +0 -122
- package/esm5/lib/components/commands/group/command-group.js.map +0 -1
- package/esm5/lib/components/commands/group/more-menu.component.js +0 -58
- package/esm5/lib/components/commands/group/more-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/group/more-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/popup-menu.component.js +0 -68
- package/esm5/lib/components/commands/group/popup-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/group/popup-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/registration.js +0 -80
- package/esm5/lib/components/commands/group/registration.js.map +0 -1
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js +0 -58
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js.map +0 -1
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/group/view-data.js +0 -131
- package/esm5/lib/components/commands/group/view-data.js.map +0 -1
- package/esm5/lib/components/commands/separator.component.js +0 -37
- package/esm5/lib/components/commands/separator.component.js.map +0 -1
- package/esm5/lib/components/commands/separator.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/components.module.js +0 -180
- package/esm5/lib/components/components.module.js.map +0 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +0 -1
- package/esm5/lib/components/disposable-component.js +0 -18
- package/esm5/lib/components/disposable-component.js.map +0 -1
- package/esm5/lib/components/focus-container/focus-container.component.js +0 -44
- package/esm5/lib/components/focus-container/focus-container.component.js.map +0 -1
- package/esm5/lib/components/focus-container/focus-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/focusable.component.js +0 -71
- package/esm5/lib/components/focusable.component.js.map +0 -1
- package/esm5/lib/components/focusable.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/abstract-input.component.js +0 -197
- package/esm5/lib/components/forms/abstract-input.component.js.map +0 -1
- package/esm5/lib/components/forms/abstract-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/abstract-list-input.component.js +0 -80
- package/esm5/lib/components/forms/abstract-list-input.component.js.map +0 -1
- package/esm5/lib/components/forms/abstract-list-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/abstract-value-input.component.js +0 -80
- package/esm5/lib/components/forms/abstract-value-input.component.js.map +0 -1
- package/esm5/lib/components/forms/abstract-value-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -73
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +0 -35
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +0 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js +0 -52
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +0 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js +0 -35
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +0 -1
- package/esm5/lib/components/forms/number-input/number-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js +0 -24
- package/esm5/lib/components/forms/password-input/password-input.component.js.map +0 -1
- package/esm5/lib/components/forms/password-input/password-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/select-input/select-input.component.js +0 -60
- package/esm5/lib/components/forms/select-input/select-input.component.js.map +0 -1
- package/esm5/lib/components/forms/select-input/select-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js +0 -37
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +0 -1
- package/esm5/lib/components/forms/string-input/string-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/forms/text-input/text-input.component.js +0 -35
- package/esm5/lib/components/forms/text-input/text-input.component.js.map +0 -1
- package/esm5/lib/components/forms/text-input/text-input.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/icon/icon.component.js +0 -57
- package/esm5/lib/components/icon/icon.component.js.map +0 -1
- package/esm5/lib/components/icon/icon.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/index.js +0 -59
- package/esm5/lib/components/index.js.map +0 -1
- package/esm5/lib/components/noop/noop.component.js +0 -17
- package/esm5/lib/components/noop/noop.component.js.map +0 -1
- package/esm5/lib/components/noop/noop.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/resize-aware.component.js +0 -65
- package/esm5/lib/components/resize-aware.component.js.map +0 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.js +0 -19
- package/esm5/lib/components/scroll-container/scroll-container.component.js.map +0 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/section-header/section-header.component.js +0 -25
- package/esm5/lib/components/section-header/section-header.component.js.map +0 -1
- package/esm5/lib/components/section-header/section-header.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/switch-case/switch-case.component.js +0 -144
- package/esm5/lib/components/switch-case/switch-case.component.js.map +0 -1
- package/esm5/lib/components/switch-case/switch-case.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/cell-editors.js +0 -1
- package/esm5/lib/components/table/cell-editors.js.map +0 -1
- package/esm5/lib/components/table/cell-portal-ref.js +0 -117
- package/esm5/lib/components/table/cell-portal-ref.js.map +0 -1
- package/esm5/lib/components/table/cell-renderer.js +0 -1
- package/esm5/lib/components/table/cell-renderer.js.map +0 -1
- package/esm5/lib/components/table/column-model.js +0 -346
- package/esm5/lib/components/table/column-model.js.map +0 -1
- package/esm5/lib/components/table/column-template/column-template.directive.js +0 -50
- package/esm5/lib/components/table/column-template/column-template.directive.js.map +0 -1
- package/esm5/lib/components/table/column-template/column-template.directive.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/column-text-properties.js +0 -1
- package/esm5/lib/components/table/column-text-properties.js.map +0 -1
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +0 -32
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js +0 -21
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js +0 -57
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +0 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/edit-session.js +0 -28
- package/esm5/lib/components/table/edit-session.js.map +0 -1
- package/esm5/lib/components/table/mutable-cell-renderer.js +0 -1
- package/esm5/lib/components/table/mutable-cell-renderer.js.map +0 -1
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.js +0 -32
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js +0 -33
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +0 -106
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/table-def.js +0 -1
- package/esm5/lib/components/table/table-def.js.map +0 -1
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +0 -38
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +0 -1
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/table/table-model.js +0 -243
- package/esm5/lib/components/table/table-model.js.map +0 -1
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js +0 -63
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js.map +0 -1
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table.component.js +0 -75
- package/esm5/lib/components/table/table.component.js.map +0 -1
- package/esm5/lib/components/table/table.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/table/table.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/track-by.js +0 -5
- package/esm5/lib/components/track-by.js.map +0 -1
- package/esm5/lib/components/types/bounds.class.js +0 -32
- package/esm5/lib/components/types/bounds.class.js.map +0 -1
- package/esm5/lib/components/types/dimension.class.js +0 -9
- package/esm5/lib/components/types/dimension.class.js.map +0 -1
- package/esm5/lib/components/types/point.class.js +0 -15
- package/esm5/lib/components/types/point.class.js.map +0 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js +0 -90
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +0 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/directives/command.directive.js +0 -116
- package/esm5/lib/directives/command.directive.js.map +0 -1
- package/esm5/lib/directives/command.directive.ngfactory.js.map +0 -1
- package/esm5/lib/directives/directives.module.js +0 -39
- package/esm5/lib/directives/directives.module.js.map +0 -1
- package/esm5/lib/directives/directives.module.ngfactory.js.map +0 -1
- package/esm5/lib/directives/focus-binding-factory.js +0 -32
- package/esm5/lib/directives/focus-binding-factory.js.map +0 -1
- package/esm5/lib/directives/focus-binding-factory.ngfactory.js.map +0 -1
- package/esm5/lib/directives/focus-binding.directive.js +0 -80
- package/esm5/lib/directives/focus-binding.directive.js.map +0 -1
- package/esm5/lib/directives/focus-binding.directive.ngfactory.js.map +0 -1
- package/esm5/lib/directives/focus-binding.js +0 -88
- package/esm5/lib/directives/focus-binding.js.map +0 -1
- package/esm5/lib/directives/index.js +0 -9
- package/esm5/lib/directives/index.js.map +0 -1
- package/esm5/lib/interaction/abstract-interaction-context.js +0 -40
- package/esm5/lib/interaction/abstract-interaction-context.js.map +0 -1
- package/esm5/lib/interaction/activity-ref.js +0 -68
- package/esm5/lib/interaction/activity-ref.js.map +0 -1
- package/esm5/lib/interaction/activity.js +0 -86
- package/esm5/lib/interaction/activity.js.map +0 -1
- package/esm5/lib/interaction/alert.js +0 -1
- package/esm5/lib/interaction/alert.js.map +0 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js +0 -83
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +0 -226
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +0 -80
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +0 -90
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js +0 -28
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +0 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +0 -46
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +0 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +0 -33
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +0 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +0 -86
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js +0 -51
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/input-activity-data.js +0 -1
- package/esm5/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity-data.js +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity.js +0 -38
- package/esm5/lib/interaction/components/input-activities/select-input-activity.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/string-input-activity.js +0 -18
- package/esm5/lib/interaction/components/input-activities/string-input-activity.js.map +0 -1
- package/esm5/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +0 -111
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/confirm.js +0 -1
- package/esm5/lib/interaction/confirm.js.map +0 -1
- package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.js +0 -94
- package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +0 -1
- package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/index.js +0 -26
- package/esm5/lib/interaction/index.js.map +0 -1
- package/esm5/lib/interaction/interaction-context.js +0 -1
- package/esm5/lib/interaction/interaction-context.js.map +0 -1
- package/esm5/lib/interaction/interaction.module.js +0 -88
- package/esm5/lib/interaction/interaction.module.js.map +0 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/result.js +0 -3
- package/esm5/lib/interaction/result.js.map +0 -1
- package/esm5/lib/interaction/route-synchronisation-adapter.js +0 -1
- package/esm5/lib/interaction/route-synchronisation-adapter.js.map +0 -1
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js +0 -31
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js.map +0 -1
- package/esm5/lib/interaction/services/interaction.service.js +0 -157
- package/esm5/lib/interaction/services/interaction.service.js.map +0 -1
- package/esm5/lib/interaction/services/interaction.service.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +0 -44
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +0 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +0 -64
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +0 -1
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js +0 -7
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js.map +0 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.js +0 -78
- package/esm5/lib/place/components/abstract-place-navigation.component.js.map +0 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js +0 -28
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js.map +0 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.js +0 -19
- package/esm5/lib/place/components/empty-state/empty-state.component.js.map +0 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +0 -24
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +0 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +0 -246
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/place-outlet/route-animations.js +0 -45
- package/esm5/lib/place/components/place-outlet/route-animations.js.map +0 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +0 -88
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +0 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +0 -24
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +0 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +0 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/place/guards/consolidated-param-map.js +0 -61
- package/esm5/lib/place/guards/consolidated-param-map.js.map +0 -1
- package/esm5/lib/place/guards/noop-auth-guard.service.js +0 -24
- package/esm5/lib/place/guards/noop-auth-guard.service.js.map +0 -1
- package/esm5/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +0 -1
- package/esm5/lib/place/guards/place.guard.js +0 -157
- package/esm5/lib/place/guards/place.guard.js.map +0 -1
- package/esm5/lib/place/index.js +0 -43
- package/esm5/lib/place/index.js.map +0 -1
- package/esm5/lib/place/nav-item.js +0 -1
- package/esm5/lib/place/nav-item.js.map +0 -1
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js +0 -98
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js.map +0 -1
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js +0 -19
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +0 -15
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +0 -52
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +0 -86
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +0 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +0 -71
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js +0 -43
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +0 -34
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +0 -58
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +0 -1
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +0 -92
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +0 -1
- package/esm5/lib/place/navigation/session/navigating.js +0 -28
- package/esm5/lib/place/navigation/session/navigating.js.map +0 -1
- package/esm5/lib/place/navigation/session/navigation-context.js +0 -15
- package/esm5/lib/place/navigation/session/navigation-context.js.map +0 -1
- package/esm5/lib/place/navigation/session/navigation-session.js +0 -183
- package/esm5/lib/place/navigation/session/navigation-session.js.map +0 -1
- package/esm5/lib/place/navigation/session/pop-state-navigation.js +0 -22
- package/esm5/lib/place/navigation/session/pop-state-navigation.js.map +0 -1
- package/esm5/lib/place/place-component.js +0 -125
- package/esm5/lib/place/place-component.js.map +0 -1
- package/esm5/lib/place/place-config.js +0 -3
- package/esm5/lib/place/place-config.js.map +0 -1
- package/esm5/lib/place/place-definition.js +0 -148
- package/esm5/lib/place/place-definition.js.map +0 -1
- package/esm5/lib/place/place-history.js +0 -145
- package/esm5/lib/place/place-history.js.map +0 -1
- package/esm5/lib/place/place-history.ngfactory.js.map +0 -1
- package/esm5/lib/place/place-router.js +0 -330
- package/esm5/lib/place/place-router.js.map +0 -1
- package/esm5/lib/place/place-router.ngfactory.js.map +0 -1
- package/esm5/lib/place/place.decorator.js +0 -15
- package/esm5/lib/place/place.decorator.js.map +0 -1
- package/esm5/lib/place/place.module.js +0 -66
- package/esm5/lib/place/place.module.js.map +0 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +0 -1
- package/esm5/lib/place/route/formatter.js +0 -42
- package/esm5/lib/place/route/formatter.js.map +0 -1
- package/esm5/lib/place/route/json-types.js +0 -1
- package/esm5/lib/place/route/json-types.js.map +0 -1
- package/esm5/lib/place/route/parameter-decorators.js +0 -64
- package/esm5/lib/place/route/parameter-decorators.js.map +0 -1
- package/esm5/lib/place/route/parameter-definition.class.js +0 -109
- package/esm5/lib/place/route/parameter-definition.class.js.map +0 -1
- package/esm5/lib/place/route/parameter-sanitiser.js +0 -1
- package/esm5/lib/place/route/parameter-sanitiser.js.map +0 -1
- package/esm5/lib/place/route/parameter-snapshot.js +0 -1
- package/esm5/lib/place/route/parameter-snapshot.js.map +0 -1
- package/esm5/lib/place/route/visit-sanitiser.js +0 -62
- package/esm5/lib/place/route/visit-sanitiser.js.map +0 -1
- package/esm5/lib/place/url-service.js +0 -77
- package/esm5/lib/place/url-service.js.map +0 -1
- package/esm5/lib/place/url-service.ngfactory.js.map +0 -1
- package/esm5/lib/place/url-snapshot.js +0 -98
- package/esm5/lib/place/url-snapshot.js.map +0 -1
- package/esm5/lib/place/visit.js +0 -72
- package/esm5/lib/place/visit.js.map +0 -1
- package/esm5/public_api.js +0 -7
- package/esm5/public_api.js.map +0 -1
- package/fesm5/coolon-angular-ui-powerups.js +0 -8132
- package/fesm5/coolon-angular-ui-powerups.js.map +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { __decorate, __metadata, __param, __awaiter } from 'tslib';
|
|
2
1
|
import { DOCUMENT, CommonModule, Location } from '@angular/common';
|
|
3
|
-
import { ElementRef, Inject, Input, HostListener,
|
|
2
|
+
import { Directive, ElementRef, Inject, Input, HostListener, NgZone, ɵɵdefineInjectable, ɵɵinject, Injectable, NgModule, Component, ContentChild, EventEmitter, Optional, SkipSelf, ViewChild, Output, ViewChildren, HostBinding, ViewEncapsulation, Self, TemplateRef, ChangeDetectorRef, ContentChildren, ViewContainerRef, InjectionToken, Injector, ComponentFactoryResolver } from '@angular/core';
|
|
4
3
|
import { FormsModule } from '@angular/forms';
|
|
5
4
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
6
5
|
import { MatInputModule } from '@angular/material/input';
|
|
7
6
|
import { MatSelectModule } from '@angular/material/select';
|
|
8
|
-
import { MatTabsModule,
|
|
7
|
+
import { MatTabsModule, MAT_TABS_CONFIG } from '@angular/material/tabs';
|
|
9
8
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
10
9
|
import { ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
11
10
|
import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
@@ -14,20 +13,21 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
14
13
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
15
14
|
import { MatDividerModule } from '@angular/material/divider';
|
|
16
15
|
import { MatIconModule } from '@angular/material/icon';
|
|
17
|
-
import {
|
|
16
|
+
import { MatMenuTrigger, MatMenuModule } from '@angular/material/menu';
|
|
18
17
|
import { MatTableModule } from '@angular/material/table';
|
|
19
18
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
20
|
-
import {
|
|
19
|
+
import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
|
|
21
20
|
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
22
|
-
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, Command, MutableValueModel, StoreInValueModel, ValueModel, MutableListModel,
|
|
21
|
+
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, Command, MutableValueModel, StoreInValueModel, ValueModel, MutableListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, StoreInListModel, MultipleSelectionModel, DirtyTrackingForm, DelegatingCommand, Deferred, Trace, Functions } from '@coolon/pectin';
|
|
22
|
+
import { __decorate, __metadata, __awaiter } from 'tslib';
|
|
23
23
|
import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
|
|
24
|
-
import
|
|
24
|
+
import _, { isEqual, isNil } from 'lodash';
|
|
25
25
|
import { Enum } from 'typescript-string-enums';
|
|
26
26
|
import { assert as assert$1, Opts, lang as lang$1, Klass } from '@coolon/typescript-utilities';
|
|
27
27
|
import produce from 'immer';
|
|
28
28
|
import { FlexModule, GridModule } from '@angular/flex-layout';
|
|
29
|
-
import { MatDialogModule, MatDialog,
|
|
30
|
-
import { RouterModule, UrlSegment, Router, UrlSerializer,
|
|
29
|
+
import { MatDialogModule, MatDialog, MAT_DIALOG_DEFAULT_OPTIONS, MatDialogConfig } from '@angular/material/dialog';
|
|
30
|
+
import { RouterModule, NavigationStart, NavigationCancel, UrlSegment, Router, UrlSerializer, NavigationEnd, NavigationError, RouterOutlet } from '@angular/router';
|
|
31
31
|
import { Overlay, CdkScrollable } from '@angular/cdk/overlay';
|
|
32
32
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
33
33
|
import { MatListModule } from '@angular/material/list';
|
|
@@ -37,7 +37,7 @@ import 'reflect-metadata';
|
|
|
37
37
|
import { style, query, group, animate, trigger, transition } from '@angular/animations';
|
|
38
38
|
import { Observable } from 'rxjs';
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
class CommandDirective extends GarbageCollector {
|
|
41
41
|
constructor(elementRef) {
|
|
42
42
|
super();
|
|
43
43
|
this.elementRef = elementRef;
|
|
@@ -108,45 +108,32 @@ let CommandDirective = class CommandDirective extends GarbageCollector {
|
|
|
108
108
|
console.warn('disabled command clicked, ignoring.');
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
}
|
|
111
|
+
}
|
|
112
|
+
CommandDirective.decorators = [
|
|
113
|
+
{ type: Directive, args: [{
|
|
114
|
+
// tslint:disable-next-line:directive-selector
|
|
115
|
+
selector: '[pectinCommand]'
|
|
116
|
+
},] }
|
|
117
|
+
];
|
|
112
118
|
CommandDirective.ctorParameters = () => [
|
|
113
119
|
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] }
|
|
114
120
|
];
|
|
115
|
-
|
|
116
|
-
Input
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
__metadata("design:type", Object),
|
|
123
|
-
__metadata("design:paramtypes", [Object])
|
|
124
|
-
], CommandDirective.prototype, "commandParameter", null);
|
|
125
|
-
__decorate([
|
|
126
|
-
HostListener('click', ['$event']),
|
|
127
|
-
__metadata("design:type", Function),
|
|
128
|
-
__metadata("design:paramtypes", [Event]),
|
|
129
|
-
__metadata("design:returntype", void 0)
|
|
130
|
-
], CommandDirective.prototype, "notifyClick", null);
|
|
131
|
-
CommandDirective = __decorate([
|
|
132
|
-
Directive({
|
|
133
|
-
// tslint:disable-next-line:directive-selector
|
|
134
|
-
selector: '[pectinCommand]'
|
|
135
|
-
}),
|
|
136
|
-
__param(0, Inject(ElementRef)),
|
|
137
|
-
__metadata("design:paramtypes", [ElementRef])
|
|
138
|
-
], CommandDirective);
|
|
139
|
-
|
|
140
|
-
let DisposableComponent = class DisposableComponent extends GarbageCollector {
|
|
121
|
+
CommandDirective.propDecorators = {
|
|
122
|
+
pectinCommand: [{ type: Input }],
|
|
123
|
+
commandParameter: [{ type: Input }],
|
|
124
|
+
notifyClick: [{ type: HostListener, args: ['click', ['$event'],] }]
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
class DisposableComponent extends GarbageCollector {
|
|
141
128
|
ngOnDestroy() {
|
|
142
129
|
this.dispose();
|
|
143
130
|
}
|
|
144
|
-
}
|
|
145
|
-
DisposableComponent =
|
|
146
|
-
Directive
|
|
147
|
-
]
|
|
131
|
+
}
|
|
132
|
+
DisposableComponent.decorators = [
|
|
133
|
+
{ type: Directive }
|
|
134
|
+
];
|
|
148
135
|
|
|
149
|
-
|
|
136
|
+
class FocusBinding extends GarbageCollector {
|
|
150
137
|
// TODO: update to support alternate focus mechanisms so we can interoperate with mat-checkbox
|
|
151
138
|
constructor(focusTargetElement, ngZone, document, focusContext) {
|
|
152
139
|
super();
|
|
@@ -212,15 +199,15 @@ let FocusBinding = class FocusBinding extends GarbageCollector {
|
|
|
212
199
|
// tslint:disable-next-line:no-string-literal
|
|
213
200
|
return hasSize && !this.focusTarget['disabled'];
|
|
214
201
|
}
|
|
215
|
-
}
|
|
216
|
-
FocusBinding =
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
]
|
|
222
|
-
|
|
223
|
-
|
|
202
|
+
}
|
|
203
|
+
FocusBinding.ctorParameters = () => [
|
|
204
|
+
{ type: HTMLElement },
|
|
205
|
+
{ type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
|
|
206
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
|
|
207
|
+
{ type: undefined }
|
|
208
|
+
];
|
|
209
|
+
|
|
210
|
+
class FocusBindingFactory {
|
|
224
211
|
constructor(ngZone, document) {
|
|
225
212
|
this.ngZone = ngZone;
|
|
226
213
|
// @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642
|
|
@@ -230,21 +217,19 @@ let FocusBindingFactory = class FocusBindingFactory {
|
|
|
230
217
|
createBinding(el, focusContext) {
|
|
231
218
|
return new FocusBinding(el, this.ngZone, this.document, focusContext);
|
|
232
219
|
}
|
|
233
|
-
}
|
|
220
|
+
}
|
|
221
|
+
FocusBindingFactory.ɵprov = ɵɵdefineInjectable({ factory: function FocusBindingFactory_Factory() { return new FocusBindingFactory(ɵɵinject(NgZone), ɵɵinject(DOCUMENT)); }, token: FocusBindingFactory, providedIn: "root" });
|
|
222
|
+
FocusBindingFactory.decorators = [
|
|
223
|
+
{ type: Injectable, args: [{
|
|
224
|
+
providedIn: 'root'
|
|
225
|
+
},] }
|
|
226
|
+
];
|
|
234
227
|
FocusBindingFactory.ctorParameters = () => [
|
|
235
228
|
{ type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
|
|
236
229
|
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
|
237
230
|
];
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
Injectable({
|
|
241
|
-
providedIn: 'root'
|
|
242
|
-
}),
|
|
243
|
-
__param(0, Inject(NgZone)), __param(1, Inject(DOCUMENT)),
|
|
244
|
-
__metadata("design:paramtypes", [NgZone, Object])
|
|
245
|
-
], FocusBindingFactory);
|
|
246
|
-
|
|
247
|
-
let FocusBindingDirective = class FocusBindingDirective extends DisposableComponent {
|
|
231
|
+
|
|
232
|
+
class FocusBindingDirective extends DisposableComponent {
|
|
248
233
|
constructor(el, focusBindingFactory) {
|
|
249
234
|
super();
|
|
250
235
|
this.el = el;
|
|
@@ -276,64 +261,47 @@ let FocusBindingDirective = class FocusBindingDirective extends DisposableCompon
|
|
|
276
261
|
get focusTarget() {
|
|
277
262
|
return this.focusBindingTarget || this.el.nativeElement;
|
|
278
263
|
}
|
|
279
|
-
}
|
|
264
|
+
}
|
|
265
|
+
FocusBindingDirective.decorators = [
|
|
266
|
+
{ type: Directive, args: [{
|
|
267
|
+
// tslint:disable-next-line:directive-selector
|
|
268
|
+
selector: '[pectinFocusBinding]'
|
|
269
|
+
},] }
|
|
270
|
+
];
|
|
280
271
|
FocusBindingDirective.ctorParameters = () => [
|
|
281
272
|
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
282
273
|
{ type: FocusBindingFactory }
|
|
283
274
|
];
|
|
284
|
-
|
|
285
|
-
Input
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
Input(),
|
|
290
|
-
__metadata("design:type", HTMLElement)
|
|
291
|
-
], FocusBindingDirective.prototype, "focusBindingTarget", void 0);
|
|
292
|
-
__decorate([
|
|
293
|
-
HostListener('focusin'),
|
|
294
|
-
__metadata("design:type", Function),
|
|
295
|
-
__metadata("design:paramtypes", []),
|
|
296
|
-
__metadata("design:returntype", void 0)
|
|
297
|
-
], FocusBindingDirective.prototype, "onFocusIn", null);
|
|
298
|
-
__decorate([
|
|
299
|
-
HostListener('focusout'),
|
|
300
|
-
__metadata("design:type", Function),
|
|
301
|
-
__metadata("design:paramtypes", []),
|
|
302
|
-
__metadata("design:returntype", void 0)
|
|
303
|
-
], FocusBindingDirective.prototype, "onFocusOut", null);
|
|
304
|
-
FocusBindingDirective = __decorate([
|
|
305
|
-
Directive({
|
|
306
|
-
// tslint:disable-next-line:directive-selector
|
|
307
|
-
selector: '[pectinFocusBinding]'
|
|
308
|
-
}),
|
|
309
|
-
__param(0, Inject(ElementRef)),
|
|
310
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
311
|
-
FocusBindingFactory])
|
|
312
|
-
], FocusBindingDirective);
|
|
313
|
-
|
|
314
|
-
let DirectivesModule = class DirectivesModule {
|
|
275
|
+
FocusBindingDirective.propDecorators = {
|
|
276
|
+
pectinFocusBinding: [{ type: Input }],
|
|
277
|
+
focusBindingTarget: [{ type: Input }],
|
|
278
|
+
onFocusIn: [{ type: HostListener, args: ['focusin',] }],
|
|
279
|
+
onFocusOut: [{ type: HostListener, args: ['focusout',] }]
|
|
315
280
|
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
281
|
+
|
|
282
|
+
class DirectivesModule {
|
|
283
|
+
}
|
|
284
|
+
DirectivesModule.decorators = [
|
|
285
|
+
{ type: NgModule, args: [{
|
|
286
|
+
declarations: [
|
|
287
|
+
CommandDirective,
|
|
288
|
+
FocusBindingDirective
|
|
289
|
+
],
|
|
290
|
+
imports: [
|
|
291
|
+
CommonModule,
|
|
292
|
+
BrowserAnimationsModule,
|
|
293
|
+
FormsModule,
|
|
294
|
+
MatInputModule,
|
|
295
|
+
MatFormFieldModule,
|
|
296
|
+
MatSelectModule,
|
|
297
|
+
MatTabsModule
|
|
298
|
+
],
|
|
299
|
+
exports: [
|
|
300
|
+
CommandDirective,
|
|
301
|
+
FocusBindingDirective
|
|
302
|
+
]
|
|
303
|
+
},] }
|
|
304
|
+
];
|
|
337
305
|
|
|
338
306
|
/**
|
|
339
307
|
* @example
|
|
@@ -353,30 +321,29 @@ DirectivesModule = __decorate([
|
|
|
353
321
|
* </nav-template>
|
|
354
322
|
*
|
|
355
323
|
*/
|
|
356
|
-
|
|
324
|
+
class CardContainerComponent extends DisposableComponent {
|
|
357
325
|
constructor() {
|
|
358
326
|
super();
|
|
359
327
|
}
|
|
360
328
|
ngOnInit() {
|
|
361
329
|
}
|
|
330
|
+
}
|
|
331
|
+
CardContainerComponent.decorators = [
|
|
332
|
+
{ type: Component, args: [{
|
|
333
|
+
selector: 'aup-card-container',
|
|
334
|
+
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-icon icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
|
|
335
|
+
styles: [":root{--aup-default-background:#fff;--aup-default-padding:var(--default-padding,18px)}.router-outlet-container>*{bottom:0;left:0;position:absolute;right:0;top:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context,.dialog-interaction-context mat-dialog-container{max-height:95vh!important;max-width:95vw!important}.dialog-interaction-context mat-dialog-container{padding:0}.activity-outlet-wrapper{align-items:stretch;display:flex;flex-direction:column}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow .28s cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{border-bottom:0;padding-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap,24px);--resolved-row-hover-background-color:var(--row-hover-background-color,rgba(0,0,0,0.05))}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:center;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{flex:1;padding-left:var(--default-column-gap)}:root{--aup-command-face-icon-gap:8px;--aup-fa-icon-width:18px;--aup-icon-width:24px}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width))/2);position:relative}aup-icon fa-icon .svg-inline--fa{height:var(--aup-fa-icon-width)!important;left:var(--fa-icon-offset);position:absolute;top:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-background:var(--card-background,#fcfcfb);--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-width:var(--card-width,300px);background:var(--resolved-card-background);display:block;flex:1}.card-container{box-sizing:border-box;display:-ms-grid;display:grid;grid-gap:var(--resolved-card-gap);grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(0,var(--resolved-card-height)));max-width:100%;min-height:calc(var(--resolved-card-height) + 2*var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2*var(--resolved-card-gap));padding:var(--resolved-card-gap);width:calc((var(--resolved-card-width) + var(--resolved-card-gap))*2 + var(--grid-gap))}.add-card-container{align-items:center;background-color:hsla(0,0%,100%,.8);border:2px dashed rgba(0,0,0,.1);border-radius:6px;box-sizing:border-box;color:rgba(0,0,0,.54);cursor:pointer;display:flex;flex-direction:column;font-weight:300;height:var(--resolved-card-height);justify-content:center;min-height:var(--resolved-card-min-height);transition:all .28s cubic-bezier(.4,0,.2,1);width:var(--resolved-card-width)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{background-color:#fff;border-color:transparent;color:rgba(0,0,0,.54);transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{align-items:stretch;display:flex;flex-direction:column;height:var(--resolved-card-height);justify-content:stretch;width:var(--resolved-card-width)}"]
|
|
336
|
+
},] }
|
|
337
|
+
];
|
|
338
|
+
CardContainerComponent.ctorParameters = () => [];
|
|
339
|
+
CardContainerComponent.propDecorators = {
|
|
340
|
+
addCardCommand: [{ type: Input }],
|
|
341
|
+
addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
|
|
362
342
|
};
|
|
363
343
|
__decorate([
|
|
364
|
-
Input(),
|
|
365
344
|
TrackExternal(),
|
|
366
345
|
__metadata("design:type", Command)
|
|
367
346
|
], CardContainerComponent.prototype, "addCardCommand", void 0);
|
|
368
|
-
__decorate([
|
|
369
|
-
ContentChild("addCardTemplate"),
|
|
370
|
-
__metadata("design:type", TemplateRef)
|
|
371
|
-
], CardContainerComponent.prototype, "addCardTemplate", void 0);
|
|
372
|
-
CardContainerComponent = __decorate([
|
|
373
|
-
Component({
|
|
374
|
-
selector: 'aup-card-container',
|
|
375
|
-
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-icon icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
|
|
376
|
-
styles: [":root{--aup-default-padding:var(--default-padding, 18px);--aup-default-background:white;--aup-command-face-icon-gap:8px;--aup-icon-width:24px;--aup-fa-icon-width:18px}.router-outlet-container>*{position:absolute;top:0;left:0;bottom:0;right:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context{max-width:95vw!important;max-height:95vh!important}.dialog-interaction-context mat-dialog-container{max-width:95vw!important;max-height:95vh!important;padding:0}.activity-outlet-wrapper{display:flex;flex-direction:column;align-items:stretch}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{padding-bottom:0;border-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap, 24px);--resolved-row-hover-background-color:var(--row-hover-background-color, rgba(0, 0, 0, 0.05))}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{padding-left:var(--default-column-gap);flex:1}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width)) / 2);position:relative}aup-icon fa-icon .svg-inline--fa{position:absolute;top:var(--fa-icon-offset);left:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important;height:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-gap:var(--card-gap, 16px);--resolved-card-width:var(--card-width, 300px);--resolved-card-height:var(--card-height, auto);--resolved-card-min-height:var(--card-min-height, auto);--resolved-card-background:var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(0,var(--resolved-card-height)));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap));max-width:100%}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:rgba(255,255,255,.8);transition:280ms cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:280ms cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
|
|
377
|
-
}),
|
|
378
|
-
__metadata("design:paramtypes", [])
|
|
379
|
-
], CardContainerComponent);
|
|
380
347
|
|
|
381
348
|
var TrackBy;
|
|
382
349
|
(function (TrackBy) {
|
|
@@ -396,27 +363,27 @@ var CommandFace;
|
|
|
396
363
|
RAISED: 'raised'
|
|
397
364
|
});
|
|
398
365
|
function getColorOf(face) {
|
|
399
|
-
return
|
|
366
|
+
return _.isFunction(face === null || face === void 0 ? void 0 : face.color) ? face.color() : undefined;
|
|
400
367
|
}
|
|
401
368
|
CommandFace.getColorOf = getColorOf;
|
|
402
369
|
function getStyleOf(face) {
|
|
403
|
-
return
|
|
370
|
+
return _.isFunction(face === null || face === void 0 ? void 0 : face.style) ? face.style() : undefined;
|
|
404
371
|
}
|
|
405
372
|
CommandFace.getStyleOf = getStyleOf;
|
|
406
373
|
function getIconOf(face) {
|
|
407
|
-
return
|
|
374
|
+
return _.isFunction(face === null || face === void 0 ? void 0 : face.icon) ? face.icon() : undefined;
|
|
408
375
|
}
|
|
409
376
|
CommandFace.getIconOf = getIconOf;
|
|
410
377
|
function getIconPositionOf(face) {
|
|
411
|
-
return
|
|
378
|
+
return _.isFunction(face === null || face === void 0 ? void 0 : face.iconPosition) ? face.iconPosition() : undefined;
|
|
412
379
|
}
|
|
413
380
|
CommandFace.getIconPositionOf = getIconPositionOf;
|
|
414
381
|
function getTooltipOf(face) {
|
|
415
|
-
return
|
|
382
|
+
return _.isFunction(face === null || face === void 0 ? void 0 : face.tooltip) ? face.tooltip() : undefined;
|
|
416
383
|
}
|
|
417
384
|
CommandFace.getTooltipOf = getTooltipOf;
|
|
418
385
|
function getTextOf(face) {
|
|
419
|
-
return
|
|
386
|
+
return _.isFunction(face === null || face === void 0 ? void 0 : face.text) ? face.text() : undefined;
|
|
420
387
|
}
|
|
421
388
|
CommandFace.getTextOf = getTextOf;
|
|
422
389
|
class Adapter {
|
|
@@ -591,7 +558,7 @@ class ViewData {
|
|
|
591
558
|
ViewData.isFlex = isFlex;
|
|
592
559
|
})(ViewData || (ViewData = {}));
|
|
593
560
|
|
|
594
|
-
|
|
561
|
+
class CommandGroupMenuRendererComponent extends DisposableComponent {
|
|
595
562
|
constructor(parent) {
|
|
596
563
|
super();
|
|
597
564
|
this.parent = parent;
|
|
@@ -609,36 +576,28 @@ let CommandGroupMenuRendererComponent = class CommandGroupMenuRendererComponent
|
|
|
609
576
|
when(command.busy).becomesFalsey(() => this.commandFired.emit());
|
|
610
577
|
return command;
|
|
611
578
|
}
|
|
612
|
-
}
|
|
579
|
+
}
|
|
580
|
+
CommandGroupMenuRendererComponent.decorators = [
|
|
581
|
+
{ type: Component, args: [{
|
|
582
|
+
selector: 'aup-command-group-menu',
|
|
583
|
+
template: "<mat-menu #menu [xPosition]=\"groupViewData.xPosition\" [yPosition]=\"groupViewData.yPosition\">\n <ng-container *ngFor=\"let data of children.value; trackBy: TrackBy.byIndex\" >\n <button *ngIf=\"ViewData.isCommand(data)\"\n [pectinCommand]=\"getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n mat-menu-item>\n <aup-command-face [face]=\"ViewData.getFace(data)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n\n <ng-container *ngIf=\"ViewData.isGroup(data)\">\n <button mat-menu-item\n #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"innerPanel.menuComponent\"\n >\n <aup-command-face [face]=\"ViewData.getFace(data)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n <aup-command-group-menu #innerPanel\n [groupViewData]=\"ViewData.asGroup(data)\"\n (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <mat-divider *ngIf=\"ViewData.isSeparator(data)\"></mat-divider>\n\n </ng-container>\n</mat-menu>\n"
|
|
584
|
+
},] }
|
|
585
|
+
];
|
|
613
586
|
CommandGroupMenuRendererComponent.ctorParameters = () => [
|
|
614
587
|
{ type: CommandGroupMenuRendererComponent, decorators: [{ type: Optional }, { type: SkipSelf }] }
|
|
615
588
|
];
|
|
589
|
+
CommandGroupMenuRendererComponent.propDecorators = {
|
|
590
|
+
menuComponent: [{ type: ViewChild, args: ['menu', { static: true },] }],
|
|
591
|
+
groupViewData: [{ type: Input }],
|
|
592
|
+
commandFired: [{ type: Output }],
|
|
593
|
+
triggers: [{ type: ViewChildren, args: [MatMenuTrigger,] }]
|
|
594
|
+
};
|
|
616
595
|
__decorate([
|
|
617
|
-
|
|
618
|
-
__metadata("design:type", MatMenu)
|
|
619
|
-
], CommandGroupMenuRendererComponent.prototype, "menuComponent", void 0);
|
|
620
|
-
__decorate([
|
|
621
|
-
Input(), StoreInValueModel('groupViewDataModel'),
|
|
596
|
+
StoreInValueModel('groupViewDataModel'),
|
|
622
597
|
__metadata("design:type", ViewData.GroupData)
|
|
623
598
|
], CommandGroupMenuRendererComponent.prototype, "groupViewData", void 0);
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
__metadata("design:type", Object)
|
|
627
|
-
], CommandGroupMenuRendererComponent.prototype, "commandFired", void 0);
|
|
628
|
-
__decorate([
|
|
629
|
-
ViewChildren(MatMenuTrigger),
|
|
630
|
-
__metadata("design:type", QueryList)
|
|
631
|
-
], CommandGroupMenuRendererComponent.prototype, "triggers", void 0);
|
|
632
|
-
CommandGroupMenuRendererComponent = __decorate([
|
|
633
|
-
Component({
|
|
634
|
-
selector: 'aup-command-group-menu',
|
|
635
|
-
template: "<mat-menu #menu [xPosition]=\"groupViewData.xPosition\" [yPosition]=\"groupViewData.yPosition\">\n <ng-container *ngFor=\"let data of children.value; trackBy: TrackBy.byIndex\" >\n <button *ngIf=\"ViewData.isCommand(data)\"\n [pectinCommand]=\"getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n mat-menu-item>\n <aup-command-face [face]=\"ViewData.getFace(data)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n\n <ng-container *ngIf=\"ViewData.isGroup(data)\">\n <button mat-menu-item\n #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"innerPanel.menuComponent\"\n >\n <aup-command-face [face]=\"ViewData.getFace(data)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n <aup-command-group-menu #innerPanel\n [groupViewData]=\"ViewData.asGroup(data)\"\n (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <mat-divider *ngIf=\"ViewData.isSeparator(data)\"></mat-divider>\n\n </ng-container>\n</mat-menu>\n"
|
|
636
|
-
}),
|
|
637
|
-
__param(0, Optional()), __param(0, SkipSelf()),
|
|
638
|
-
__metadata("design:paramtypes", [CommandGroupMenuRendererComponent])
|
|
639
|
-
], CommandGroupMenuRendererComponent);
|
|
640
|
-
|
|
641
|
-
let CommandGroupRendererComponent = class CommandGroupRendererComponent extends DisposableComponent {
|
|
599
|
+
|
|
600
|
+
class CommandGroupRendererComponent extends DisposableComponent {
|
|
642
601
|
constructor() {
|
|
643
602
|
super();
|
|
644
603
|
this.renderRootNode = true;
|
|
@@ -647,28 +606,28 @@ let CommandGroupRendererComponent = class CommandGroupRendererComponent extends
|
|
|
647
606
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
648
607
|
this.childViewDataModels = chain(this.groupViewDataModel).pluckList('children');
|
|
649
608
|
}
|
|
609
|
+
}
|
|
610
|
+
CommandGroupRendererComponent.decorators = [
|
|
611
|
+
{ type: Component, args: [{
|
|
612
|
+
selector: 'aup-command-group-renderer',
|
|
613
|
+
template: "<ng-template #groupTemplate let-group>\n\n <ng-container *ngIf=\"ViewData.hasText(group)\" [ngSwitch]=\"ViewData.getStyle(group)\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-stroked-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-raised-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!ViewData.hasText(group)\">\n <button #trigger=\"matMenuTrigger\"\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n >\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n</ng-template>\n\n\n<ng-template #commandTemplate let-data>\n\n <ng-container *ngIf=\"ViewData.hasText(data)\" [ngSwitch]=\"ViewData.getStyle(data)\">\n <button *ngSwitchCase=\"'raised'\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-raised-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"'stroked'\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-stroked-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n <button *ngSwitchDefault\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n </ng-container>\n\n <button *ngIf=\"!ViewData.hasText(data)\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-icon-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n\n</ng-template>\n\n\n<ng-template *ngIf=\"renderRootNode\"\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: groupViewDataModel.value }\">\n</ng-template>\n\n<ng-container *ngIf=\"!renderRootNode\">\n <ng-container *ngFor=\"let data of this.childViewDataModels.value; trackBy: TrackBy.byIndex\">\n <ng-template *ngIf=\"ViewData.isGroup(data)\"\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: data }\">\n </ng-template>\n <ng-template *ngIf=\"ViewData.isCommand(data)\"\n [ngTemplateOutlet]=\"commandTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: data }\">\n </ng-template>\n\n <mat-divider *ngIf=\"ViewData.isSeparator(data)\" [vertical]=\"true\"></mat-divider>\n </ng-container>\n\n</ng-container>\n",
|
|
614
|
+
styles: [":host{align-items:center;display:inline-flex;flex-direction:row}:host:not(.render-root) mat-divider{-ms-grid-row-align:stretch;align-self:stretch;margin:4px 0}:host:not(.render-root)>*+*{margin-left:8px}:host span.flex{flex:1}"]
|
|
615
|
+
},] }
|
|
616
|
+
];
|
|
617
|
+
CommandGroupRendererComponent.ctorParameters = () => [];
|
|
618
|
+
CommandGroupRendererComponent.propDecorators = {
|
|
619
|
+
groupViewDataModel: [{ type: Input }],
|
|
620
|
+
groupViewData: [{ type: Input }],
|
|
621
|
+
renderRootNode: [{ type: Input }, { type: HostBinding, args: ['class.render-root',] }]
|
|
650
622
|
};
|
|
651
623
|
__decorate([
|
|
652
|
-
|
|
624
|
+
TrackExternal(),
|
|
653
625
|
__metadata("design:type", ValueModel)
|
|
654
626
|
], CommandGroupRendererComponent.prototype, "groupViewDataModel", void 0);
|
|
655
627
|
__decorate([
|
|
656
|
-
|
|
628
|
+
StoreInValueModel('groupViewDataModel'),
|
|
657
629
|
__metadata("design:type", ViewData.GroupData)
|
|
658
630
|
], CommandGroupRendererComponent.prototype, "groupViewData", void 0);
|
|
659
|
-
__decorate([
|
|
660
|
-
Input(),
|
|
661
|
-
HostBinding('class.render-root'),
|
|
662
|
-
__metadata("design:type", Object)
|
|
663
|
-
], CommandGroupRendererComponent.prototype, "renderRootNode", void 0);
|
|
664
|
-
CommandGroupRendererComponent = __decorate([
|
|
665
|
-
Component({
|
|
666
|
-
selector: 'aup-command-group-renderer',
|
|
667
|
-
template: "<ng-template #groupTemplate let-group>\n\n <ng-container *ngIf=\"ViewData.hasText(group)\" [ngSwitch]=\"ViewData.getStyle(group)\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-stroked-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-raised-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!ViewData.hasText(group)\">\n <button #trigger=\"matMenuTrigger\"\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n >\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n</ng-template>\n\n\n<ng-template #commandTemplate let-data>\n\n <ng-container *ngIf=\"ViewData.hasText(data)\" [ngSwitch]=\"ViewData.getStyle(data)\">\n <button *ngSwitchCase=\"'raised'\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-raised-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"'stroked'\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-stroked-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n <button *ngSwitchDefault\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n </ng-container>\n\n <button *ngIf=\"!ViewData.hasText(data)\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-icon-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n\n</ng-template>\n\n\n<ng-template *ngIf=\"renderRootNode\"\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: groupViewDataModel.value }\">\n</ng-template>\n\n<ng-container *ngIf=\"!renderRootNode\">\n <ng-container *ngFor=\"let data of this.childViewDataModels.value; trackBy: TrackBy.byIndex\">\n <ng-template *ngIf=\"ViewData.isGroup(data)\"\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: data }\">\n </ng-template>\n <ng-template *ngIf=\"ViewData.isCommand(data)\"\n [ngTemplateOutlet]=\"commandTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: data }\">\n </ng-template>\n\n <mat-divider *ngIf=\"ViewData.isSeparator(data)\" [vertical]=\"true\"></mat-divider>\n </ng-container>\n\n</ng-container>\n",
|
|
668
|
-
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}:host:not(.render-root) mat-divider{-ms-grid-row-align:stretch;align-self:stretch;margin:4px 0}:host:not(.render-root)>*+*{margin-left:8px}:host span.flex{flex:1}"]
|
|
669
|
-
}),
|
|
670
|
-
__metadata("design:paramtypes", [])
|
|
671
|
-
], CommandGroupRendererComponent);
|
|
672
631
|
|
|
673
632
|
class Registration extends GarbageCollector {
|
|
674
633
|
}
|
|
@@ -822,8 +781,7 @@ class CommandGroup extends GarbageCollector {
|
|
|
822
781
|
CommandGroup.factory = factory;
|
|
823
782
|
})(CommandGroup || (CommandGroup = {}));
|
|
824
783
|
|
|
825
|
-
|
|
826
|
-
let CommandGroupComponent = CommandGroupComponent_1 = class CommandGroupComponent extends CommandGroup {
|
|
784
|
+
class CommandGroupComponent extends CommandGroup {
|
|
827
785
|
constructor(parent) {
|
|
828
786
|
super(parent);
|
|
829
787
|
this.parent = parent;
|
|
@@ -831,37 +789,33 @@ let CommandGroupComponent = CommandGroupComponent_1 = class CommandGroupComponen
|
|
|
831
789
|
this.yPosition = 'below';
|
|
832
790
|
this.parent.registerGroup(this, this.faceModel);
|
|
833
791
|
}
|
|
834
|
-
}
|
|
792
|
+
}
|
|
793
|
+
CommandGroupComponent.decorators = [
|
|
794
|
+
{ type: Component, args: [{
|
|
795
|
+
selector: 'aup-command-group',
|
|
796
|
+
template: '',
|
|
797
|
+
providers: [
|
|
798
|
+
{ provide: CommandGroup, useExisting: CommandGroupComponent }
|
|
799
|
+
]
|
|
800
|
+
},] }
|
|
801
|
+
];
|
|
835
802
|
CommandGroupComponent.ctorParameters = () => [
|
|
836
803
|
{ type: CommandGroup, decorators: [{ type: SkipSelf }] }
|
|
837
804
|
];
|
|
805
|
+
CommandGroupComponent.propDecorators = {
|
|
806
|
+
faceModel: [{ type: Input }],
|
|
807
|
+
face: [{ type: Input }],
|
|
808
|
+
xPosition: [{ type: Input }],
|
|
809
|
+
yPosition: [{ type: Input }]
|
|
810
|
+
};
|
|
838
811
|
__decorate([
|
|
839
|
-
|
|
812
|
+
TrackExternal(),
|
|
840
813
|
__metadata("design:type", ValueModel)
|
|
841
814
|
], CommandGroupComponent.prototype, "faceModel", void 0);
|
|
842
815
|
__decorate([
|
|
843
|
-
|
|
816
|
+
StoreInValueModel('faceModel'),
|
|
844
817
|
__metadata("design:type", Object)
|
|
845
818
|
], CommandGroupComponent.prototype, "face", void 0);
|
|
846
|
-
__decorate([
|
|
847
|
-
Input(),
|
|
848
|
-
__metadata("design:type", String)
|
|
849
|
-
], CommandGroupComponent.prototype, "xPosition", void 0);
|
|
850
|
-
__decorate([
|
|
851
|
-
Input(),
|
|
852
|
-
__metadata("design:type", String)
|
|
853
|
-
], CommandGroupComponent.prototype, "yPosition", void 0);
|
|
854
|
-
CommandGroupComponent = CommandGroupComponent_1 = __decorate([
|
|
855
|
-
Component({
|
|
856
|
-
selector: 'aup-command-group',
|
|
857
|
-
template: '',
|
|
858
|
-
providers: [
|
|
859
|
-
{ provide: CommandGroup, useExisting: CommandGroupComponent_1 }
|
|
860
|
-
]
|
|
861
|
-
}),
|
|
862
|
-
__param(0, SkipSelf()),
|
|
863
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
864
|
-
], CommandGroupComponent);
|
|
865
819
|
|
|
866
820
|
/**
|
|
867
821
|
* Custom CSS:
|
|
@@ -873,7 +827,7 @@ CommandGroupComponent = CommandGroupComponent_1 = __decorate([
|
|
|
873
827
|
* --icon-gap: 4px;
|
|
874
828
|
* }
|
|
875
829
|
*/
|
|
876
|
-
|
|
830
|
+
class CommandFaceComponent extends DisposableComponent {
|
|
877
831
|
constructor() {
|
|
878
832
|
super();
|
|
879
833
|
this.faceModel = new MutableValueModel();
|
|
@@ -912,47 +866,33 @@ let CommandFaceComponent = class CommandFaceComponent extends DisposableComponen
|
|
|
912
866
|
get color() {
|
|
913
867
|
return this.colorModel.value;
|
|
914
868
|
}
|
|
869
|
+
}
|
|
870
|
+
CommandFaceComponent.decorators = [
|
|
871
|
+
{ type: Component, args: [{
|
|
872
|
+
selector: 'aup-command-face',
|
|
873
|
+
template: "<aup-icon *ngIf=\"iconStart\" [icon]=\"iconModel.value\"></aup-icon>\n<span *ngIf=\"this.text\">{{this.text}}</span>\n<aup-icon *ngIf=\"iconEnd\" [icon]=\"iconModel.value\"></aup-icon>\n",
|
|
874
|
+
encapsulation: ViewEncapsulation.None,
|
|
875
|
+
styles: ["aup-command-face{--icon-gap:var(--aup-command-face-icon-gap);align-items:center;display:inline-flex;flex-direction:row}aup-command-face *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}"]
|
|
876
|
+
},] }
|
|
877
|
+
];
|
|
878
|
+
CommandFaceComponent.ctorParameters = () => [];
|
|
879
|
+
CommandFaceComponent.propDecorators = {
|
|
880
|
+
_rawFace: [{ type: Input, args: ['face',] }],
|
|
881
|
+
ignoreIcon: [{ type: Input }],
|
|
882
|
+
ignoreText: [{ type: Input }],
|
|
883
|
+
includeMissingIconInLayout: [{ type: Input }],
|
|
884
|
+
requiresMissingIconInLayout: [{ type: HostBinding, args: ['class.hide-icon',] }],
|
|
885
|
+
color: [{ type: HostBinding, args: ['attr.color',] }]
|
|
915
886
|
};
|
|
916
887
|
__decorate([
|
|
917
|
-
|
|
888
|
+
StoreInValueModel('faceModel'),
|
|
918
889
|
__metadata("design:type", Object)
|
|
919
890
|
], CommandFaceComponent.prototype, "_rawFace", void 0);
|
|
920
|
-
__decorate([
|
|
921
|
-
Input(),
|
|
922
|
-
__metadata("design:type", Object)
|
|
923
|
-
], CommandFaceComponent.prototype, "ignoreIcon", void 0);
|
|
924
|
-
__decorate([
|
|
925
|
-
Input(),
|
|
926
|
-
__metadata("design:type", Object)
|
|
927
|
-
], CommandFaceComponent.prototype, "ignoreText", void 0);
|
|
928
|
-
__decorate([
|
|
929
|
-
Input(),
|
|
930
|
-
__metadata("design:type", Object)
|
|
931
|
-
], CommandFaceComponent.prototype, "includeMissingIconInLayout", void 0);
|
|
932
|
-
__decorate([
|
|
933
|
-
HostBinding('class.hide-icon'),
|
|
934
|
-
__metadata("design:type", Object),
|
|
935
|
-
__metadata("design:paramtypes", [])
|
|
936
|
-
], CommandFaceComponent.prototype, "requiresMissingIconInLayout", null);
|
|
937
|
-
__decorate([
|
|
938
|
-
HostBinding('attr.color'),
|
|
939
|
-
__metadata("design:type", String),
|
|
940
|
-
__metadata("design:paramtypes", [])
|
|
941
|
-
], CommandFaceComponent.prototype, "color", null);
|
|
942
|
-
CommandFaceComponent = __decorate([
|
|
943
|
-
Component({
|
|
944
|
-
selector: 'aup-command-face',
|
|
945
|
-
template: "<aup-icon *ngIf=\"iconStart\" [icon]=\"iconModel.value\"></aup-icon>\n<span *ngIf=\"this.text\">{{this.text}}</span>\n<aup-icon *ngIf=\"iconEnd\" [icon]=\"iconModel.value\"></aup-icon>\n",
|
|
946
|
-
encapsulation: ViewEncapsulation.None,
|
|
947
|
-
styles: ["aup-command-face{--icon-gap:var(--aup-command-face-icon-gap);display:inline-flex;flex-direction:row;align-items:center}aup-command-face *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}"]
|
|
948
|
-
}),
|
|
949
|
-
__metadata("design:paramtypes", [])
|
|
950
|
-
], CommandFaceComponent);
|
|
951
891
|
|
|
952
892
|
/**
|
|
953
893
|
*
|
|
954
894
|
*/
|
|
955
|
-
|
|
895
|
+
class CommandComponent extends DisposableComponent {
|
|
956
896
|
constructor(parent) {
|
|
957
897
|
super();
|
|
958
898
|
this.parent = parent;
|
|
@@ -970,43 +910,48 @@ let CommandComponent = class CommandComponent extends DisposableComponent {
|
|
|
970
910
|
}
|
|
971
911
|
ngOnInit() {
|
|
972
912
|
}
|
|
973
|
-
}
|
|
913
|
+
}
|
|
914
|
+
CommandComponent.decorators = [
|
|
915
|
+
{ type: Component, args: [{
|
|
916
|
+
selector: 'aup-command',
|
|
917
|
+
template: "<ng-container *ngIf=\"!parent\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <button *ngSwitchCase=\"CommandFace.Style.STROKED\" mat-stroked-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"CommandFace.Style.RAISED\" mat-raised-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchDefault mat-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n </ng-container>\n</ng-container>\n"
|
|
918
|
+
},] }
|
|
919
|
+
];
|
|
974
920
|
CommandComponent.ctorParameters = () => [
|
|
975
921
|
{ type: CommandGroup, decorators: [{ type: Optional }] }
|
|
976
922
|
];
|
|
923
|
+
CommandComponent.propDecorators = {
|
|
924
|
+
command: [{ type: Input }],
|
|
925
|
+
faceModel: [{ type: Input }],
|
|
926
|
+
face: [{ type: Input }],
|
|
927
|
+
busyFaceModel: [{ type: Input }],
|
|
928
|
+
busyFace: [{ type: Input }]
|
|
929
|
+
};
|
|
977
930
|
__decorate([
|
|
978
|
-
|
|
931
|
+
TrackExternal(),
|
|
979
932
|
__metadata("design:type", Command)
|
|
980
933
|
], CommandComponent.prototype, "command", void 0);
|
|
981
934
|
__decorate([
|
|
982
|
-
|
|
935
|
+
TrackExternal(),
|
|
983
936
|
__metadata("design:type", ValueModel)
|
|
984
937
|
], CommandComponent.prototype, "faceModel", void 0);
|
|
985
938
|
__decorate([
|
|
986
|
-
|
|
939
|
+
StoreInValueModel('faceModel'),
|
|
987
940
|
__metadata("design:type", Object)
|
|
988
941
|
], CommandComponent.prototype, "face", void 0);
|
|
989
942
|
__decorate([
|
|
990
|
-
|
|
943
|
+
TrackExternal(),
|
|
991
944
|
__metadata("design:type", ValueModel)
|
|
992
945
|
], CommandComponent.prototype, "busyFaceModel", void 0);
|
|
993
946
|
__decorate([
|
|
994
|
-
|
|
947
|
+
StoreInValueModel('busyFaceModel'),
|
|
995
948
|
__metadata("design:type", Object)
|
|
996
949
|
], CommandComponent.prototype, "busyFace", void 0);
|
|
997
|
-
CommandComponent = __decorate([
|
|
998
|
-
Component({
|
|
999
|
-
selector: 'aup-command',
|
|
1000
|
-
template: "<ng-container *ngIf=\"!parent\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <button *ngSwitchCase=\"CommandFace.Style.STROKED\" mat-stroked-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"CommandFace.Style.RAISED\" mat-raised-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchDefault mat-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n </ng-container>\n</ng-container>\n"
|
|
1001
|
-
}),
|
|
1002
|
-
__param(0, Optional()),
|
|
1003
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
1004
|
-
], CommandComponent);
|
|
1005
950
|
|
|
1006
951
|
/**
|
|
1007
952
|
*
|
|
1008
953
|
*/
|
|
1009
|
-
|
|
954
|
+
class FlexComponent extends DisposableComponent {
|
|
1010
955
|
constructor(parent) {
|
|
1011
956
|
super();
|
|
1012
957
|
this.parent = parent;
|
|
@@ -1016,23 +961,22 @@ let FlexComponent = class FlexComponent extends DisposableComponent {
|
|
|
1016
961
|
}
|
|
1017
962
|
ngOnInit() {
|
|
1018
963
|
}
|
|
1019
|
-
}
|
|
964
|
+
}
|
|
965
|
+
FlexComponent.decorators = [
|
|
966
|
+
{ type: Component, args: [{
|
|
967
|
+
selector: 'aup-flex',
|
|
968
|
+
template: ``
|
|
969
|
+
},] }
|
|
970
|
+
];
|
|
1020
971
|
FlexComponent.ctorParameters = () => [
|
|
1021
972
|
{ type: CommandGroup }
|
|
1022
973
|
];
|
|
1023
|
-
FlexComponent = __decorate([
|
|
1024
|
-
Component({
|
|
1025
|
-
selector: 'aup-flex',
|
|
1026
|
-
template: ``
|
|
1027
|
-
}),
|
|
1028
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
1029
|
-
], FlexComponent);
|
|
1030
974
|
|
|
1031
975
|
const ɵ0 = CommandGroup.factory;
|
|
1032
976
|
/**
|
|
1033
977
|
*
|
|
1034
978
|
*/
|
|
1035
|
-
|
|
979
|
+
class MoreMenuComponent extends DisposableComponent {
|
|
1036
980
|
constructor(group) {
|
|
1037
981
|
super();
|
|
1038
982
|
this.group = group;
|
|
@@ -1050,93 +994,78 @@ let MoreMenuComponent = class MoreMenuComponent extends DisposableComponent {
|
|
|
1050
994
|
}
|
|
1051
995
|
ngOnInit() {
|
|
1052
996
|
}
|
|
997
|
+
// @Trace()
|
|
1053
998
|
ngAfterContentInit() {
|
|
1054
999
|
this.group.initialise();
|
|
1055
1000
|
}
|
|
1056
|
-
}
|
|
1001
|
+
}
|
|
1002
|
+
MoreMenuComponent.decorators = [
|
|
1003
|
+
{ type: Component, args: [{
|
|
1004
|
+
selector: 'aup-more-menu',
|
|
1005
|
+
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1006
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0 }]
|
|
1007
|
+
},] }
|
|
1008
|
+
];
|
|
1057
1009
|
MoreMenuComponent.ctorParameters = () => [
|
|
1058
1010
|
{ type: CommandGroup }
|
|
1059
1011
|
];
|
|
1012
|
+
MoreMenuComponent.propDecorators = {
|
|
1013
|
+
tooltip: [{ type: Input }]
|
|
1014
|
+
};
|
|
1060
1015
|
__decorate([
|
|
1061
|
-
|
|
1016
|
+
StoreInValueModel('tooltipModel'),
|
|
1062
1017
|
__metadata("design:type", String)
|
|
1063
1018
|
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
1064
|
-
__decorate([
|
|
1065
|
-
Trace(),
|
|
1066
|
-
__metadata("design:type", Function),
|
|
1067
|
-
__metadata("design:paramtypes", []),
|
|
1068
|
-
__metadata("design:returntype", void 0)
|
|
1069
|
-
], MoreMenuComponent.prototype, "ngAfterContentInit", null);
|
|
1070
|
-
MoreMenuComponent = __decorate([
|
|
1071
|
-
Component({
|
|
1072
|
-
selector: 'aup-more-menu',
|
|
1073
|
-
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1074
|
-
providers: [{ provide: CommandGroup, useFactory: ɵ0 }]
|
|
1075
|
-
}),
|
|
1076
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
1077
|
-
], MoreMenuComponent);
|
|
1078
1019
|
|
|
1079
1020
|
const ɵ0$1 = CommandGroup.factory;
|
|
1080
1021
|
/**
|
|
1081
1022
|
*
|
|
1082
1023
|
*/
|
|
1083
|
-
|
|
1024
|
+
class PopupMenuComponent extends DisposableComponent {
|
|
1084
1025
|
constructor(group) {
|
|
1085
1026
|
super();
|
|
1086
1027
|
this.group = group;
|
|
1087
1028
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
1088
1029
|
group.faceModel = this.faceModel;
|
|
1089
1030
|
}
|
|
1031
|
+
// @Trace()
|
|
1090
1032
|
ngOnInit() {
|
|
1091
1033
|
}
|
|
1034
|
+
// @Trace()
|
|
1092
1035
|
ngAfterContentInit() {
|
|
1093
1036
|
this.group.initialise();
|
|
1094
1037
|
}
|
|
1038
|
+
// @Trace()
|
|
1095
1039
|
ngAfterViewInit() {
|
|
1096
1040
|
}
|
|
1097
|
-
}
|
|
1041
|
+
}
|
|
1042
|
+
PopupMenuComponent.decorators = [
|
|
1043
|
+
{ type: Component, args: [{
|
|
1044
|
+
selector: 'aup-popup-menu',
|
|
1045
|
+
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1046
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0$1 }]
|
|
1047
|
+
},] }
|
|
1048
|
+
];
|
|
1098
1049
|
PopupMenuComponent.ctorParameters = () => [
|
|
1099
1050
|
{ type: CommandGroup }
|
|
1100
1051
|
];
|
|
1052
|
+
PopupMenuComponent.propDecorators = {
|
|
1053
|
+
faceModel: [{ type: Input }],
|
|
1054
|
+
face: [{ type: Input }]
|
|
1055
|
+
};
|
|
1101
1056
|
__decorate([
|
|
1102
|
-
|
|
1057
|
+
TrackExternal(),
|
|
1103
1058
|
__metadata("design:type", ValueModel)
|
|
1104
1059
|
], PopupMenuComponent.prototype, "faceModel", void 0);
|
|
1105
1060
|
__decorate([
|
|
1106
|
-
|
|
1061
|
+
StoreInValueModel('faceModel'),
|
|
1107
1062
|
__metadata("design:type", Object)
|
|
1108
1063
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
1109
|
-
__decorate([
|
|
1110
|
-
Trace(),
|
|
1111
|
-
__metadata("design:type", Function),
|
|
1112
|
-
__metadata("design:paramtypes", []),
|
|
1113
|
-
__metadata("design:returntype", void 0)
|
|
1114
|
-
], PopupMenuComponent.prototype, "ngOnInit", null);
|
|
1115
|
-
__decorate([
|
|
1116
|
-
Trace(),
|
|
1117
|
-
__metadata("design:type", Function),
|
|
1118
|
-
__metadata("design:paramtypes", []),
|
|
1119
|
-
__metadata("design:returntype", void 0)
|
|
1120
|
-
], PopupMenuComponent.prototype, "ngAfterContentInit", null);
|
|
1121
|
-
__decorate([
|
|
1122
|
-
Trace(),
|
|
1123
|
-
__metadata("design:type", Function),
|
|
1124
|
-
__metadata("design:paramtypes", []),
|
|
1125
|
-
__metadata("design:returntype", void 0)
|
|
1126
|
-
], PopupMenuComponent.prototype, "ngAfterViewInit", null);
|
|
1127
|
-
PopupMenuComponent = __decorate([
|
|
1128
|
-
Component({
|
|
1129
|
-
selector: 'aup-popup-menu',
|
|
1130
|
-
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1131
|
-
providers: [{ provide: CommandGroup, useFactory: ɵ0$1 }]
|
|
1132
|
-
}),
|
|
1133
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
1134
|
-
], PopupMenuComponent);
|
|
1135
1064
|
|
|
1136
1065
|
/**
|
|
1137
1066
|
*
|
|
1138
1067
|
*/
|
|
1139
|
-
|
|
1068
|
+
class SeparatorComponent extends DisposableComponent {
|
|
1140
1069
|
constructor(parent) {
|
|
1141
1070
|
super();
|
|
1142
1071
|
this.parent = parent;
|
|
@@ -1149,69 +1078,51 @@ let SeparatorComponent = class SeparatorComponent extends DisposableComponent {
|
|
|
1149
1078
|
}
|
|
1150
1079
|
ngOnInit() {
|
|
1151
1080
|
}
|
|
1152
|
-
}
|
|
1081
|
+
}
|
|
1082
|
+
SeparatorComponent.decorators = [
|
|
1083
|
+
{ type: Component, args: [{
|
|
1084
|
+
selector: 'aup-separator',
|
|
1085
|
+
template: `
|
|
1086
|
+
<mat-divider [vertical]="isVertical()"></mat-divider>`
|
|
1087
|
+
},] }
|
|
1088
|
+
];
|
|
1153
1089
|
SeparatorComponent.ctorParameters = () => [
|
|
1154
1090
|
{ type: CommandGroup, decorators: [{ type: Optional }] }
|
|
1155
1091
|
];
|
|
1156
|
-
SeparatorComponent = __decorate([
|
|
1157
|
-
Component({
|
|
1158
|
-
selector: 'aup-separator',
|
|
1159
|
-
template: `
|
|
1160
|
-
<mat-divider [vertical]="isVertical()"></mat-divider>`
|
|
1161
|
-
}),
|
|
1162
|
-
__param(0, Optional()),
|
|
1163
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
1164
|
-
], SeparatorComponent);
|
|
1165
1092
|
|
|
1166
1093
|
const ɵ0$2 = CommandGroup.factory;
|
|
1167
1094
|
/**
|
|
1168
1095
|
*
|
|
1169
1096
|
*/
|
|
1170
|
-
|
|
1097
|
+
class ToolBarComponent extends DisposableComponent {
|
|
1171
1098
|
constructor(group) {
|
|
1172
1099
|
super();
|
|
1173
1100
|
this.group = group;
|
|
1174
1101
|
}
|
|
1102
|
+
// @Trace()
|
|
1175
1103
|
ngOnInit() {
|
|
1176
1104
|
}
|
|
1105
|
+
// @Trace()
|
|
1177
1106
|
ngAfterContentInit() {
|
|
1178
1107
|
this.group.initialise();
|
|
1179
1108
|
}
|
|
1109
|
+
// @Trace()
|
|
1180
1110
|
ngAfterViewInit() {
|
|
1181
1111
|
}
|
|
1182
|
-
}
|
|
1112
|
+
}
|
|
1113
|
+
ToolBarComponent.decorators = [
|
|
1114
|
+
{ type: Component, args: [{
|
|
1115
|
+
selector: 'aup-tool-bar',
|
|
1116
|
+
template: '<aup-command-group-renderer [renderRootNode]="false" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1117
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0$2 }],
|
|
1118
|
+
styles: [":host{align-items:center;display:inline-flex;flex-direction:row}:host mat-divider{-ms-grid-row-align:stretch;align-self:stretch;margin:4px 0}:host span.flex{flex:1}:host>*+*{margin-left:8px}"]
|
|
1119
|
+
},] }
|
|
1120
|
+
];
|
|
1183
1121
|
ToolBarComponent.ctorParameters = () => [
|
|
1184
1122
|
{ type: CommandGroup }
|
|
1185
1123
|
];
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
__metadata("design:type", Function),
|
|
1189
|
-
__metadata("design:paramtypes", []),
|
|
1190
|
-
__metadata("design:returntype", void 0)
|
|
1191
|
-
], ToolBarComponent.prototype, "ngOnInit", null);
|
|
1192
|
-
__decorate([
|
|
1193
|
-
Trace(),
|
|
1194
|
-
__metadata("design:type", Function),
|
|
1195
|
-
__metadata("design:paramtypes", []),
|
|
1196
|
-
__metadata("design:returntype", void 0)
|
|
1197
|
-
], ToolBarComponent.prototype, "ngAfterContentInit", null);
|
|
1198
|
-
__decorate([
|
|
1199
|
-
Trace(),
|
|
1200
|
-
__metadata("design:type", Function),
|
|
1201
|
-
__metadata("design:paramtypes", []),
|
|
1202
|
-
__metadata("design:returntype", void 0)
|
|
1203
|
-
], ToolBarComponent.prototype, "ngAfterViewInit", null);
|
|
1204
|
-
ToolBarComponent = __decorate([
|
|
1205
|
-
Component({
|
|
1206
|
-
selector: 'aup-tool-bar',
|
|
1207
|
-
template: '<aup-command-group-renderer [renderRootNode]="false" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1208
|
-
providers: [{ provide: CommandGroup, useFactory: ɵ0$2 }],
|
|
1209
|
-
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}:host mat-divider{-ms-grid-row-align:stretch;align-self:stretch;margin:4px 0}:host span.flex{flex:1}:host>*+*{margin-left:8px}"]
|
|
1210
|
-
}),
|
|
1211
|
-
__metadata("design:paramtypes", [CommandGroup])
|
|
1212
|
-
], ToolBarComponent);
|
|
1213
|
-
|
|
1214
|
-
let FocusContainerComponent = class FocusContainerComponent extends DisposableComponent {
|
|
1124
|
+
|
|
1125
|
+
class FocusContainerComponent extends DisposableComponent {
|
|
1215
1126
|
constructor(focusManager) {
|
|
1216
1127
|
super();
|
|
1217
1128
|
this.focusManager = focusManager;
|
|
@@ -1226,28 +1137,25 @@ let FocusContainerComponent = class FocusContainerComponent extends DisposableCo
|
|
|
1226
1137
|
restoreFocus() {
|
|
1227
1138
|
this.focusManager.restoreFocus();
|
|
1228
1139
|
}
|
|
1229
|
-
}
|
|
1140
|
+
}
|
|
1141
|
+
FocusContainerComponent.decorators = [
|
|
1142
|
+
{ type: Component, args: [{
|
|
1143
|
+
selector: 'aup-focus-container',
|
|
1144
|
+
template: "<ng-content></ng-content>\n",
|
|
1145
|
+
providers: [
|
|
1146
|
+
{ provide: FocusManager }
|
|
1147
|
+
],
|
|
1148
|
+
styles: [":host{display:block}"]
|
|
1149
|
+
},] }
|
|
1150
|
+
];
|
|
1230
1151
|
FocusContainerComponent.ctorParameters = () => [
|
|
1231
1152
|
{ type: FocusManager, decorators: [{ type: Self }] }
|
|
1232
1153
|
];
|
|
1233
|
-
|
|
1234
|
-
HostBinding
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
Component({
|
|
1239
|
-
selector: 'aup-focus-container',
|
|
1240
|
-
template: "<ng-content></ng-content>\n",
|
|
1241
|
-
providers: [
|
|
1242
|
-
{ provide: FocusManager }
|
|
1243
|
-
],
|
|
1244
|
-
styles: [":host{display:block}"]
|
|
1245
|
-
}),
|
|
1246
|
-
__param(0, Self()),
|
|
1247
|
-
__metadata("design:paramtypes", [FocusManager])
|
|
1248
|
-
], FocusContainerComponent);
|
|
1249
|
-
|
|
1250
|
-
let FocusableComponent = class FocusableComponent extends DisposableComponent {
|
|
1154
|
+
FocusContainerComponent.propDecorators = {
|
|
1155
|
+
tabIndex: [{ type: HostBinding, args: ['attr.tabindex',] }]
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
class FocusableComponent extends DisposableComponent {
|
|
1251
1159
|
constructor(el, focusManager, focusBindingFactory) {
|
|
1252
1160
|
super();
|
|
1253
1161
|
this.el = el;
|
|
@@ -1273,35 +1181,23 @@ let FocusableComponent = class FocusableComponent extends DisposableComponent {
|
|
|
1273
1181
|
get focusContext() {
|
|
1274
1182
|
return this._focusContext;
|
|
1275
1183
|
}
|
|
1276
|
-
}
|
|
1184
|
+
}
|
|
1185
|
+
FocusableComponent.decorators = [
|
|
1186
|
+
{ type: Component, args: [{ template: '' },] }
|
|
1187
|
+
];
|
|
1277
1188
|
FocusableComponent.ctorParameters = () => [
|
|
1278
1189
|
{ type: ElementRef },
|
|
1279
1190
|
{ type: FocusManager },
|
|
1280
1191
|
{ type: FocusBindingFactory }
|
|
1281
1192
|
];
|
|
1282
|
-
|
|
1283
|
-
HostBinding
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
__decorate([
|
|
1288
|
-
HostListener('focus'),
|
|
1289
|
-
__metadata("design:type", Function),
|
|
1290
|
-
__metadata("design:paramtypes", []),
|
|
1291
|
-
__metadata("design:returntype", void 0)
|
|
1292
|
-
], FocusableComponent.prototype, "onFocus", null);
|
|
1293
|
-
__decorate([
|
|
1294
|
-
HostListener('blur'),
|
|
1295
|
-
__metadata("design:type", Function),
|
|
1296
|
-
__metadata("design:paramtypes", []),
|
|
1297
|
-
__metadata("design:returntype", void 0)
|
|
1298
|
-
], FocusableComponent.prototype, "onBlur", null);
|
|
1299
|
-
FocusableComponent = __decorate([
|
|
1300
|
-
Component({ template: '' }),
|
|
1301
|
-
__metadata("design:paramtypes", [ElementRef, FocusManager, FocusBindingFactory])
|
|
1302
|
-
], FocusableComponent);
|
|
1193
|
+
FocusableComponent.propDecorators = {
|
|
1194
|
+
focusable: [{ type: HostBinding, args: ['attr.tabindex',] }],
|
|
1195
|
+
onFocus: [{ type: HostListener, args: ['focus',] }],
|
|
1196
|
+
onBlur: [{ type: HostListener, args: ['blur',] }]
|
|
1197
|
+
};
|
|
1303
1198
|
|
|
1304
|
-
|
|
1199
|
+
/* tslint:disable:no-input-rename */
|
|
1200
|
+
class AbstractInputComponent extends DisposableComponent {
|
|
1305
1201
|
constructor() {
|
|
1306
1202
|
super();
|
|
1307
1203
|
this.onValueEditedListeners = new EventListenerList();
|
|
@@ -1380,99 +1276,40 @@ let AbstractInputComponent = class AbstractInputComponent extends DisposableComp
|
|
|
1380
1276
|
onValueEdited(callback) {
|
|
1381
1277
|
return this.onValueEditedListeners.add(callback);
|
|
1382
1278
|
}
|
|
1279
|
+
}
|
|
1280
|
+
AbstractInputComponent.decorators = [
|
|
1281
|
+
{ type: Component, args: [{ template: '' },] }
|
|
1282
|
+
];
|
|
1283
|
+
AbstractInputComponent.ctorParameters = () => [];
|
|
1284
|
+
AbstractInputComponent.propDecorators = {
|
|
1285
|
+
label: [{ type: Input }],
|
|
1286
|
+
userFloatLabel: [{ type: Input, args: ['floatLabel',] }],
|
|
1287
|
+
hint: [{ type: Input }],
|
|
1288
|
+
placeholder: [{ type: Input }],
|
|
1289
|
+
dense: [{ type: HostBinding, args: ['class.dense',] }, { type: Input }],
|
|
1290
|
+
focusCommand: [{ type: Input, args: ['command.focus',] }],
|
|
1291
|
+
blurCommand: [{ type: Input, args: ['command.blur',] }],
|
|
1292
|
+
enterCommand: [{ type: Input, args: ['command.enter',] }],
|
|
1293
|
+
escapeCommand: [{ type: Input, args: ['command.escape',] }],
|
|
1294
|
+
clickCommand: [{ type: Input, args: ['command.click',] }],
|
|
1295
|
+
focus: [{ type: Output }],
|
|
1296
|
+
blur: [{ type: Output }],
|
|
1297
|
+
enterKey: [{ type: Output }],
|
|
1298
|
+
escapeKey: [{ type: Output }],
|
|
1299
|
+
baseClassName: [{ type: HostBinding, args: ['class',] }],
|
|
1300
|
+
notifyClick: [{ type: HostListener, args: ['click',] }],
|
|
1301
|
+
notifyFocusIn: [{ type: HostListener, args: ['focusin',] }],
|
|
1302
|
+
notifyFocusOut: [{ type: HostListener, args: ['focusout',] }]
|
|
1383
1303
|
};
|
|
1384
|
-
__decorate([
|
|
1385
|
-
Input(),
|
|
1386
|
-
__metadata("design:type", String)
|
|
1387
|
-
], AbstractInputComponent.prototype, "label", void 0);
|
|
1388
|
-
__decorate([
|
|
1389
|
-
Input('floatLabel'),
|
|
1390
|
-
__metadata("design:type", String)
|
|
1391
|
-
], AbstractInputComponent.prototype, "userFloatLabel", void 0);
|
|
1392
|
-
__decorate([
|
|
1393
|
-
Input(),
|
|
1394
|
-
__metadata("design:type", String)
|
|
1395
|
-
], AbstractInputComponent.prototype, "hint", void 0);
|
|
1396
|
-
__decorate([
|
|
1397
|
-
Input(),
|
|
1398
|
-
__metadata("design:type", String)
|
|
1399
|
-
], AbstractInputComponent.prototype, "placeholder", void 0);
|
|
1400
|
-
__decorate([
|
|
1401
|
-
HostBinding('class.dense'),
|
|
1402
|
-
Input(),
|
|
1403
|
-
__metadata("design:type", Object)
|
|
1404
|
-
], AbstractInputComponent.prototype, "dense", void 0);
|
|
1405
|
-
__decorate([
|
|
1406
|
-
Input('command.focus'),
|
|
1407
|
-
__metadata("design:type", Command)
|
|
1408
|
-
], AbstractInputComponent.prototype, "focusCommand", void 0);
|
|
1409
|
-
__decorate([
|
|
1410
|
-
Input('command.blur'),
|
|
1411
|
-
__metadata("design:type", Command)
|
|
1412
|
-
], AbstractInputComponent.prototype, "blurCommand", void 0);
|
|
1413
|
-
__decorate([
|
|
1414
|
-
Input('command.enter'),
|
|
1415
|
-
__metadata("design:type", Command)
|
|
1416
|
-
], AbstractInputComponent.prototype, "enterCommand", void 0);
|
|
1417
|
-
__decorate([
|
|
1418
|
-
Input('command.escape'),
|
|
1419
|
-
__metadata("design:type", Command)
|
|
1420
|
-
], AbstractInputComponent.prototype, "escapeCommand", void 0);
|
|
1421
|
-
__decorate([
|
|
1422
|
-
Input('command.click'),
|
|
1423
|
-
__metadata("design:type", Command)
|
|
1424
|
-
], AbstractInputComponent.prototype, "clickCommand", void 0);
|
|
1425
|
-
__decorate([
|
|
1426
|
-
Output(),
|
|
1427
|
-
__metadata("design:type", Object)
|
|
1428
|
-
], AbstractInputComponent.prototype, "focus", void 0);
|
|
1429
|
-
__decorate([
|
|
1430
|
-
Output(),
|
|
1431
|
-
__metadata("design:type", Object)
|
|
1432
|
-
], AbstractInputComponent.prototype, "blur", void 0);
|
|
1433
|
-
__decorate([
|
|
1434
|
-
Output(),
|
|
1435
|
-
__metadata("design:type", Object)
|
|
1436
|
-
], AbstractInputComponent.prototype, "enterKey", void 0);
|
|
1437
|
-
__decorate([
|
|
1438
|
-
Output(),
|
|
1439
|
-
__metadata("design:type", Object)
|
|
1440
|
-
], AbstractInputComponent.prototype, "escapeKey", void 0);
|
|
1441
|
-
__decorate([
|
|
1442
|
-
HostBinding('class'),
|
|
1443
|
-
__metadata("design:type", Object)
|
|
1444
|
-
], AbstractInputComponent.prototype, "baseClassName", void 0);
|
|
1445
|
-
__decorate([
|
|
1446
|
-
HostListener('click'),
|
|
1447
|
-
__metadata("design:type", Function),
|
|
1448
|
-
__metadata("design:paramtypes", []),
|
|
1449
|
-
__metadata("design:returntype", void 0)
|
|
1450
|
-
], AbstractInputComponent.prototype, "notifyClick", null);
|
|
1451
|
-
__decorate([
|
|
1452
|
-
HostListener('focusin'),
|
|
1453
|
-
__metadata("design:type", Function),
|
|
1454
|
-
__metadata("design:paramtypes", []),
|
|
1455
|
-
__metadata("design:returntype", void 0)
|
|
1456
|
-
], AbstractInputComponent.prototype, "notifyFocusIn", null);
|
|
1457
|
-
__decorate([
|
|
1458
|
-
HostListener('focusout'),
|
|
1459
|
-
__metadata("design:type", Function),
|
|
1460
|
-
__metadata("design:paramtypes", []),
|
|
1461
|
-
__metadata("design:returntype", void 0)
|
|
1462
|
-
], AbstractInputComponent.prototype, "notifyFocusOut", null);
|
|
1463
|
-
AbstractInputComponent = __decorate([
|
|
1464
|
-
Component({ template: '' }),
|
|
1465
|
-
__metadata("design:paramtypes", [])
|
|
1466
|
-
], AbstractInputComponent);
|
|
1467
1304
|
|
|
1468
|
-
|
|
1305
|
+
class AbstractListInputComponent extends AbstractInputComponent {
|
|
1469
1306
|
constructor() {
|
|
1470
1307
|
super();
|
|
1471
1308
|
/**
|
|
1472
1309
|
* A backing model for all our @Input() valueModel properties which should be defined as follows.
|
|
1473
1310
|
*
|
|
1474
1311
|
* @Input() @TrackExternal({useExisting: "inputModel"})
|
|
1475
|
-
* valueModel: Form.ListModelBase<string> |
|
|
1312
|
+
* valueModel: Form.ListModelBase<string> | MutableListModel<string>;
|
|
1476
1313
|
*
|
|
1477
1314
|
* This approach allows the input to accept plain or form models but all backed by a form
|
|
1478
1315
|
* friendly delegate. We have to use an existing delegate for union types as pectin just
|
|
@@ -1512,33 +1349,29 @@ let AbstractListInputComponent = class AbstractListInputComponent extends Abstra
|
|
|
1512
1349
|
}
|
|
1513
1350
|
});
|
|
1514
1351
|
}
|
|
1352
|
+
}
|
|
1353
|
+
AbstractListInputComponent.decorators = [
|
|
1354
|
+
{ type: Component, args: [{ template: '' },] }
|
|
1355
|
+
];
|
|
1356
|
+
AbstractListInputComponent.ctorParameters = () => [];
|
|
1357
|
+
AbstractListInputComponent.propDecorators = {
|
|
1358
|
+
listModel: [{ type: Input }],
|
|
1359
|
+
value: [{ type: Input }],
|
|
1360
|
+
valueChange: [{ type: Output }]
|
|
1515
1361
|
};
|
|
1516
1362
|
__decorate([
|
|
1517
|
-
|
|
1363
|
+
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1518
1364
|
__metadata("design:type", Object)
|
|
1519
1365
|
], AbstractListInputComponent.prototype, "listModel", void 0);
|
|
1520
|
-
__decorate([
|
|
1521
|
-
Input(),
|
|
1522
|
-
__metadata("design:type", Array),
|
|
1523
|
-
__metadata("design:paramtypes", [Array])
|
|
1524
|
-
], AbstractListInputComponent.prototype, "value", null);
|
|
1525
|
-
__decorate([
|
|
1526
|
-
Output(),
|
|
1527
|
-
__metadata("design:type", Object)
|
|
1528
|
-
], AbstractListInputComponent.prototype, "valueChange", void 0);
|
|
1529
|
-
AbstractListInputComponent = __decorate([
|
|
1530
|
-
Component({ template: '' }),
|
|
1531
|
-
__metadata("design:paramtypes", [])
|
|
1532
|
-
], AbstractListInputComponent);
|
|
1533
1366
|
|
|
1534
|
-
|
|
1367
|
+
class AbstractValueInputComponent extends AbstractInputComponent {
|
|
1535
1368
|
constructor() {
|
|
1536
1369
|
super();
|
|
1537
1370
|
/**
|
|
1538
1371
|
* A backing model for all our @Input() valueModel properties which should be defined as follows.
|
|
1539
1372
|
*
|
|
1540
1373
|
* @Input() @TrackExternal({useExisting: "inputModel"})
|
|
1541
|
-
* valueModel: DirtyTrackingForm.ValueModel<string> |
|
|
1374
|
+
* valueModel: DirtyTrackingForm.ValueModel<string> | MutableValueModel<string>;
|
|
1542
1375
|
*
|
|
1543
1376
|
* This approach allows the input to accept plain or form models but all backed by a form
|
|
1544
1377
|
* friendly delegate. We have to use an existing delegate for union types as pectin just
|
|
@@ -1578,24 +1411,20 @@ let AbstractValueInputComponent = class AbstractValueInputComponent extends Abst
|
|
|
1578
1411
|
}
|
|
1579
1412
|
});
|
|
1580
1413
|
}
|
|
1414
|
+
}
|
|
1415
|
+
AbstractValueInputComponent.decorators = [
|
|
1416
|
+
{ type: Component, args: [{ template: '' },] }
|
|
1417
|
+
];
|
|
1418
|
+
AbstractValueInputComponent.ctorParameters = () => [];
|
|
1419
|
+
AbstractValueInputComponent.propDecorators = {
|
|
1420
|
+
valueModel: [{ type: Input }],
|
|
1421
|
+
value: [{ type: Input }],
|
|
1422
|
+
valueChange: [{ type: Output }]
|
|
1581
1423
|
};
|
|
1582
1424
|
__decorate([
|
|
1583
|
-
|
|
1425
|
+
TrackExternal({ delegateTo: 'formValueModel' }),
|
|
1584
1426
|
__metadata("design:type", Object)
|
|
1585
1427
|
], AbstractValueInputComponent.prototype, "valueModel", void 0);
|
|
1586
|
-
__decorate([
|
|
1587
|
-
Input(),
|
|
1588
|
-
__metadata("design:type", Object),
|
|
1589
|
-
__metadata("design:paramtypes", [Object])
|
|
1590
|
-
], AbstractValueInputComponent.prototype, "value", null);
|
|
1591
|
-
__decorate([
|
|
1592
|
-
Output(),
|
|
1593
|
-
__metadata("design:type", Object)
|
|
1594
|
-
], AbstractValueInputComponent.prototype, "valueChange", void 0);
|
|
1595
|
-
AbstractValueInputComponent = __decorate([
|
|
1596
|
-
Component({ template: '' }),
|
|
1597
|
-
__metadata("design:paramtypes", [])
|
|
1598
|
-
], AbstractValueInputComponent);
|
|
1599
1428
|
|
|
1600
1429
|
/**
|
|
1601
1430
|
* Using templates (not only supported for nil values:
|
|
@@ -1603,17 +1432,17 @@ AbstractValueInputComponent = __decorate([
|
|
|
1603
1432
|
* <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1604
1433
|
* </aup-autocomplete-input>
|
|
1605
1434
|
*/
|
|
1606
|
-
|
|
1435
|
+
class AutocompleteInputComponent extends AbstractValueInputComponent {
|
|
1607
1436
|
constructor() {
|
|
1608
1437
|
super();
|
|
1609
1438
|
this.filterValue = new MutableValueModel();
|
|
1610
1439
|
this.optionLabelFormat = (option) => (option && this.optionLabel) ? option[this.optionLabel] : option;
|
|
1611
1440
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
1612
1441
|
const lowerCaseFilterValue = chain(this.filterValue)
|
|
1613
|
-
.map(v =>
|
|
1442
|
+
.map(v => _.isString(v) ? v.toLowerCase() : '');
|
|
1614
1443
|
this.filteredOptions = chain(this.optionsModel)
|
|
1615
1444
|
.select(option => {
|
|
1616
|
-
return
|
|
1445
|
+
return _.isEmpty(this.filterValue.value) || this.optionLabelFormat(option).toString().toLowerCase().includes(lowerCaseFilterValue.value);
|
|
1617
1446
|
}, { dependsOn: lowerCaseFilterValue });
|
|
1618
1447
|
}
|
|
1619
1448
|
ngOnInit() {
|
|
@@ -1627,67 +1456,55 @@ let AutocompleteInputComponent = class AutocompleteInputComponent extends Abstra
|
|
|
1627
1456
|
onSelect($event) {
|
|
1628
1457
|
this.valueModel.value = $event.option.value;
|
|
1629
1458
|
}
|
|
1459
|
+
}
|
|
1460
|
+
AutocompleteInputComponent.decorators = [
|
|
1461
|
+
{ type: Component, args: [{
|
|
1462
|
+
selector: 'aup-autocomplete-input',
|
|
1463
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"string\"\n matInput\n [matAutocomplete]=\"autocomplete\"\n placeholder=\"{{placeholder}}\"\n [ngModel]=\"componentValueModel.value\"\n (ngModelChange)=\"updateFilter($event)\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-autocomplete #autocomplete [displayWith]=\"optionLabelFormat\" [autoActiveFirstOption]=\"true\" (optionSelected)=\"onSelect($event)\">\n <mat-option *ngFor=\"let option of filteredOptions.value; let i = index\"\n [value]=\"option\"\n >{{formatOption(option)}}</mat-option>\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n </mat-autocomplete>\n\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1464
|
+
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1465
|
+
},] }
|
|
1466
|
+
];
|
|
1467
|
+
AutocompleteInputComponent.ctorParameters = () => [];
|
|
1468
|
+
AutocompleteInputComponent.propDecorators = {
|
|
1469
|
+
optionsModel: [{ type: Input }],
|
|
1470
|
+
options: [{ type: Input }],
|
|
1471
|
+
optionLabel: [{ type: Input }],
|
|
1472
|
+
allowNil: [{ type: Input }],
|
|
1473
|
+
nilOptionTemplateRef: [{ type: ContentChild, args: ['nilOptionTemplate',] }],
|
|
1474
|
+
optionLabelFormat: [{ type: Input }]
|
|
1630
1475
|
};
|
|
1631
1476
|
__decorate([
|
|
1632
|
-
|
|
1477
|
+
TrackExternal(),
|
|
1633
1478
|
__metadata("design:type", ListModel)
|
|
1634
1479
|
], AutocompleteInputComponent.prototype, "optionsModel", void 0);
|
|
1635
1480
|
__decorate([
|
|
1636
|
-
|
|
1481
|
+
StoreInListModel('optionsModel'),
|
|
1637
1482
|
__metadata("design:type", Array)
|
|
1638
1483
|
], AutocompleteInputComponent.prototype, "options", void 0);
|
|
1639
|
-
__decorate([
|
|
1640
|
-
Input(),
|
|
1641
|
-
__metadata("design:type", Object)
|
|
1642
|
-
], AutocompleteInputComponent.prototype, "optionLabel", void 0);
|
|
1643
|
-
__decorate([
|
|
1644
|
-
Input(),
|
|
1645
|
-
__metadata("design:type", Boolean)
|
|
1646
|
-
], AutocompleteInputComponent.prototype, "allowNil", void 0);
|
|
1647
|
-
__decorate([
|
|
1648
|
-
ContentChild('nilOptionTemplate'),
|
|
1649
|
-
__metadata("design:type", TemplateRef)
|
|
1650
|
-
], AutocompleteInputComponent.prototype, "nilOptionTemplateRef", void 0);
|
|
1651
|
-
__decorate([
|
|
1652
|
-
Input(),
|
|
1653
|
-
__metadata("design:type", Function)
|
|
1654
|
-
], AutocompleteInputComponent.prototype, "optionLabelFormat", void 0);
|
|
1655
|
-
AutocompleteInputComponent = __decorate([
|
|
1656
|
-
Component({
|
|
1657
|
-
selector: 'aup-autocomplete-input',
|
|
1658
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"string\"\n matInput\n [matAutocomplete]=\"autocomplete\"\n placeholder=\"{{placeholder}}\"\n [ngModel]=\"componentValueModel.value\"\n (ngModelChange)=\"updateFilter($event)\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-autocomplete #autocomplete [displayWith]=\"optionLabelFormat\" [autoActiveFirstOption]=\"true\" (optionSelected)=\"onSelect($event)\">\n <mat-option *ngFor=\"let option of filteredOptions.value; let i = index\"\n [value]=\"option\"\n >{{formatOption(option)}}</mat-option>\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n </mat-autocomplete>\n\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1659
|
-
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1660
|
-
}),
|
|
1661
|
-
__metadata("design:paramtypes", [])
|
|
1662
|
-
], AutocompleteInputComponent);
|
|
1663
1484
|
|
|
1664
|
-
|
|
1485
|
+
class CheckboxInputComponent extends AbstractValueInputComponent {
|
|
1665
1486
|
constructor() {
|
|
1666
1487
|
super();
|
|
1667
1488
|
// @Input() @TrackExternal({ delegateTo: 'inputModel' })
|
|
1668
|
-
// valueModel: Form.ValueModelBase<boolean> |
|
|
1489
|
+
// valueModel: Form.ValueModelBase<boolean> | MutableValueModel<boolean>;
|
|
1669
1490
|
this.color = 'accent';
|
|
1670
1491
|
this.labelPosition = 'after';
|
|
1671
1492
|
}
|
|
1672
1493
|
ngOnInit() {
|
|
1673
1494
|
}
|
|
1495
|
+
}
|
|
1496
|
+
CheckboxInputComponent.decorators = [
|
|
1497
|
+
{ type: Component, args: [{
|
|
1498
|
+
selector: 'aup-checkbox-input',
|
|
1499
|
+
template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"componentValueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
|
|
1500
|
+
styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-error,mat-hint{font-size:12px;font-weight:400;line-height:13.5px;margin-left:24px;margin-top:4px}"]
|
|
1501
|
+
},] }
|
|
1502
|
+
];
|
|
1503
|
+
CheckboxInputComponent.ctorParameters = () => [];
|
|
1504
|
+
CheckboxInputComponent.propDecorators = {
|
|
1505
|
+
color: [{ type: Input }],
|
|
1506
|
+
labelPosition: [{ type: Input }]
|
|
1674
1507
|
};
|
|
1675
|
-
__decorate([
|
|
1676
|
-
Input(),
|
|
1677
|
-
__metadata("design:type", String)
|
|
1678
|
-
], CheckboxInputComponent.prototype, "color", void 0);
|
|
1679
|
-
__decorate([
|
|
1680
|
-
Input(),
|
|
1681
|
-
__metadata("design:type", String)
|
|
1682
|
-
], CheckboxInputComponent.prototype, "labelPosition", void 0);
|
|
1683
|
-
CheckboxInputComponent = __decorate([
|
|
1684
|
-
Component({
|
|
1685
|
-
selector: 'aup-checkbox-input',
|
|
1686
|
-
template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"componentValueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
|
|
1687
|
-
styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-error,mat-hint{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}"]
|
|
1688
|
-
}),
|
|
1689
|
-
__metadata("design:paramtypes", [])
|
|
1690
|
-
], CheckboxInputComponent);
|
|
1691
1508
|
|
|
1692
1509
|
/**
|
|
1693
1510
|
* Using templates:
|
|
@@ -1696,88 +1513,79 @@ CheckboxInputComponent = __decorate([
|
|
|
1696
1513
|
* <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1697
1514
|
* </aup-multiple-select_input>
|
|
1698
1515
|
*/
|
|
1699
|
-
|
|
1516
|
+
class MultipleSelectInputComponent extends AbstractListInputComponent {
|
|
1700
1517
|
constructor() {
|
|
1701
1518
|
super();
|
|
1702
1519
|
this.optionLabelFormat = (option) => (option && this.optionLabel) ? option[this.optionLabel] : option;
|
|
1703
1520
|
}
|
|
1704
1521
|
ngOnInit() {
|
|
1705
1522
|
}
|
|
1523
|
+
}
|
|
1524
|
+
MultipleSelectInputComponent.decorators = [
|
|
1525
|
+
{ type: Component, args: [{
|
|
1526
|
+
selector: 'aup-multiple-select-input',
|
|
1527
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"componentListModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1528
|
+
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1529
|
+
},] }
|
|
1530
|
+
];
|
|
1531
|
+
MultipleSelectInputComponent.ctorParameters = () => [];
|
|
1532
|
+
MultipleSelectInputComponent.propDecorators = {
|
|
1533
|
+
optionsModel: [{ type: Input }],
|
|
1534
|
+
options: [{ type: Input }],
|
|
1535
|
+
optionLabel: [{ type: Input }],
|
|
1536
|
+
optionTemplateRef: [{ type: ContentChild, args: ['optionTemplate',] }],
|
|
1537
|
+
optionLabelFormat: [{ type: Input }]
|
|
1706
1538
|
};
|
|
1707
1539
|
__decorate([
|
|
1708
|
-
|
|
1540
|
+
TrackExternal(),
|
|
1709
1541
|
__metadata("design:type", ListModel)
|
|
1710
1542
|
], MultipleSelectInputComponent.prototype, "optionsModel", void 0);
|
|
1711
1543
|
__decorate([
|
|
1712
|
-
|
|
1544
|
+
StoreInListModel('optionsModel'),
|
|
1713
1545
|
__metadata("design:type", Array)
|
|
1714
1546
|
], MultipleSelectInputComponent.prototype, "options", void 0);
|
|
1715
|
-
__decorate([
|
|
1716
|
-
Input(),
|
|
1717
|
-
__metadata("design:type", Object)
|
|
1718
|
-
], MultipleSelectInputComponent.prototype, "optionLabel", void 0);
|
|
1719
|
-
__decorate([
|
|
1720
|
-
ContentChild('optionTemplate'),
|
|
1721
|
-
__metadata("design:type", TemplateRef)
|
|
1722
|
-
], MultipleSelectInputComponent.prototype, "optionTemplateRef", void 0);
|
|
1723
|
-
__decorate([
|
|
1724
|
-
Input(),
|
|
1725
|
-
__metadata("design:type", Function)
|
|
1726
|
-
], MultipleSelectInputComponent.prototype, "optionLabelFormat", void 0);
|
|
1727
|
-
MultipleSelectInputComponent = __decorate([
|
|
1728
|
-
Component({
|
|
1729
|
-
selector: 'aup-multiple-select-input',
|
|
1730
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"componentListModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1731
|
-
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1732
|
-
}),
|
|
1733
|
-
__metadata("design:paramtypes", [])
|
|
1734
|
-
], MultipleSelectInputComponent);
|
|
1735
1547
|
|
|
1736
|
-
|
|
1548
|
+
class NumberInputComponent extends AbstractValueInputComponent {
|
|
1737
1549
|
constructor() {
|
|
1738
1550
|
super();
|
|
1739
1551
|
// @Input() @TrackExternal({ delegateTo: 'inputModel' })
|
|
1740
|
-
// valueModel: Form.ValueModelBase<number> |
|
|
1552
|
+
// valueModel: Form.ValueModelBase<number> | MutableValueModel<number>;
|
|
1741
1553
|
this.min = Number.MIN_SAFE_INTEGER;
|
|
1742
1554
|
this.max = Number.MAX_SAFE_INTEGER;
|
|
1743
1555
|
}
|
|
1744
1556
|
ngOnInit() {
|
|
1745
1557
|
}
|
|
1558
|
+
}
|
|
1559
|
+
NumberInputComponent.decorators = [
|
|
1560
|
+
{ type: Component, args: [{
|
|
1561
|
+
selector: 'aup-number-input',
|
|
1562
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1563
|
+
styles: [""]
|
|
1564
|
+
},] }
|
|
1565
|
+
];
|
|
1566
|
+
NumberInputComponent.ctorParameters = () => [];
|
|
1567
|
+
NumberInputComponent.propDecorators = {
|
|
1568
|
+
min: [{ type: Input }],
|
|
1569
|
+
max: [{ type: Input }]
|
|
1746
1570
|
};
|
|
1747
|
-
__decorate([
|
|
1748
|
-
Input(),
|
|
1749
|
-
__metadata("design:type", Object)
|
|
1750
|
-
], NumberInputComponent.prototype, "min", void 0);
|
|
1751
|
-
__decorate([
|
|
1752
|
-
Input(),
|
|
1753
|
-
__metadata("design:type", Object)
|
|
1754
|
-
], NumberInputComponent.prototype, "max", void 0);
|
|
1755
|
-
NumberInputComponent = __decorate([
|
|
1756
|
-
Component({
|
|
1757
|
-
selector: 'aup-number-input',
|
|
1758
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1759
|
-
styles: [""]
|
|
1760
|
-
}),
|
|
1761
|
-
__metadata("design:paramtypes", [])
|
|
1762
|
-
], NumberInputComponent);
|
|
1763
1571
|
|
|
1764
|
-
|
|
1572
|
+
class PasswordInputComponent extends AbstractValueInputComponent {
|
|
1765
1573
|
// @Input() @TrackExternal({ delegateTo: 'inputModel' })
|
|
1766
|
-
// valueModel: Form.ValueModelBase<string> |
|
|
1574
|
+
// valueModel: Form.ValueModelBase<string> | MutableValueModel<string>;
|
|
1767
1575
|
constructor() {
|
|
1768
1576
|
super();
|
|
1769
1577
|
}
|
|
1770
1578
|
ngOnInit() {
|
|
1771
1579
|
}
|
|
1772
|
-
}
|
|
1773
|
-
PasswordInputComponent =
|
|
1774
|
-
Component
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1580
|
+
}
|
|
1581
|
+
PasswordInputComponent.decorators = [
|
|
1582
|
+
{ type: Component, args: [{
|
|
1583
|
+
selector: 'aup-password-input',
|
|
1584
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
|
|
1585
|
+
styles: [""]
|
|
1586
|
+
},] }
|
|
1587
|
+
];
|
|
1588
|
+
PasswordInputComponent.ctorParameters = () => [];
|
|
1781
1589
|
|
|
1782
1590
|
/**
|
|
1783
1591
|
* Using templates:
|
|
@@ -1786,52 +1594,41 @@ PasswordInputComponent = __decorate([
|
|
|
1786
1594
|
* <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1787
1595
|
* </aup-select_input>
|
|
1788
1596
|
*/
|
|
1789
|
-
|
|
1597
|
+
class SelectInputComponent extends AbstractValueInputComponent {
|
|
1790
1598
|
constructor() {
|
|
1791
1599
|
super();
|
|
1792
1600
|
this.optionLabelFormat = (option) => (option && this.optionLabel) ? option[this.optionLabel] : option;
|
|
1793
1601
|
}
|
|
1794
1602
|
ngOnInit() {
|
|
1795
1603
|
}
|
|
1604
|
+
}
|
|
1605
|
+
SelectInputComponent.decorators = [
|
|
1606
|
+
{ type: Component, args: [{
|
|
1607
|
+
selector: 'aup-select-input',
|
|
1608
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1609
|
+
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1610
|
+
},] }
|
|
1611
|
+
];
|
|
1612
|
+
SelectInputComponent.ctorParameters = () => [];
|
|
1613
|
+
SelectInputComponent.propDecorators = {
|
|
1614
|
+
optionsModel: [{ type: Input }],
|
|
1615
|
+
options: [{ type: Input }],
|
|
1616
|
+
optionLabel: [{ type: Input }],
|
|
1617
|
+
allowNil: [{ type: Input }],
|
|
1618
|
+
optionTemplateRef: [{ type: ContentChild, args: ['optionTemplate',] }],
|
|
1619
|
+
nilOptionTemplateRef: [{ type: ContentChild, args: ['nilOptionTemplate',] }],
|
|
1620
|
+
optionLabelFormat: [{ type: Input }]
|
|
1796
1621
|
};
|
|
1797
1622
|
__decorate([
|
|
1798
|
-
|
|
1623
|
+
TrackExternal(),
|
|
1799
1624
|
__metadata("design:type", ListModel)
|
|
1800
1625
|
], SelectInputComponent.prototype, "optionsModel", void 0);
|
|
1801
1626
|
__decorate([
|
|
1802
|
-
|
|
1627
|
+
StoreInListModel('optionsModel'),
|
|
1803
1628
|
__metadata("design:type", Array)
|
|
1804
1629
|
], SelectInputComponent.prototype, "options", void 0);
|
|
1805
|
-
__decorate([
|
|
1806
|
-
Input(),
|
|
1807
|
-
__metadata("design:type", Object)
|
|
1808
|
-
], SelectInputComponent.prototype, "optionLabel", void 0);
|
|
1809
|
-
__decorate([
|
|
1810
|
-
Input(),
|
|
1811
|
-
__metadata("design:type", Boolean)
|
|
1812
|
-
], SelectInputComponent.prototype, "allowNil", void 0);
|
|
1813
|
-
__decorate([
|
|
1814
|
-
ContentChild('optionTemplate'),
|
|
1815
|
-
__metadata("design:type", TemplateRef)
|
|
1816
|
-
], SelectInputComponent.prototype, "optionTemplateRef", void 0);
|
|
1817
|
-
__decorate([
|
|
1818
|
-
ContentChild('nilOptionTemplate'),
|
|
1819
|
-
__metadata("design:type", TemplateRef)
|
|
1820
|
-
], SelectInputComponent.prototype, "nilOptionTemplateRef", void 0);
|
|
1821
|
-
__decorate([
|
|
1822
|
-
Input(),
|
|
1823
|
-
__metadata("design:type", Function)
|
|
1824
|
-
], SelectInputComponent.prototype, "optionLabelFormat", void 0);
|
|
1825
|
-
SelectInputComponent = __decorate([
|
|
1826
|
-
Component({
|
|
1827
|
-
selector: 'aup-select-input',
|
|
1828
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1829
|
-
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1830
|
-
}),
|
|
1831
|
-
__metadata("design:paramtypes", [])
|
|
1832
|
-
], SelectInputComponent);
|
|
1833
1630
|
|
|
1834
|
-
|
|
1631
|
+
class StringInputComponent extends AbstractValueInputComponent {
|
|
1835
1632
|
constructor() {
|
|
1836
1633
|
super();
|
|
1837
1634
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
@@ -1842,57 +1639,56 @@ let StringInputComponent = class StringInputComponent extends AbstractValueInput
|
|
|
1842
1639
|
}
|
|
1843
1640
|
ngOnInit() {
|
|
1844
1641
|
}
|
|
1642
|
+
}
|
|
1643
|
+
StringInputComponent.decorators = [
|
|
1644
|
+
{ type: Component, args: [{
|
|
1645
|
+
selector: 'aup-string-input',
|
|
1646
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
|
|
1647
|
+
styles: ["button[disabled]{visibility:hidden}"]
|
|
1648
|
+
},] }
|
|
1649
|
+
];
|
|
1650
|
+
StringInputComponent.ctorParameters = () => [];
|
|
1651
|
+
StringInputComponent.propDecorators = {
|
|
1652
|
+
enableClearModel: [{ type: Input }],
|
|
1653
|
+
enableClear: [{ type: Input }]
|
|
1845
1654
|
};
|
|
1846
1655
|
__decorate([
|
|
1847
|
-
|
|
1656
|
+
TrackExternal({ defaultValue: false }),
|
|
1848
1657
|
__metadata("design:type", ValueModel)
|
|
1849
1658
|
], StringInputComponent.prototype, "enableClearModel", void 0);
|
|
1850
1659
|
__decorate([
|
|
1851
|
-
|
|
1660
|
+
StoreInValueModel('enableClearModel'),
|
|
1852
1661
|
__metadata("design:type", Boolean)
|
|
1853
1662
|
], StringInputComponent.prototype, "enableClear", void 0);
|
|
1854
|
-
StringInputComponent = __decorate([
|
|
1855
|
-
Component({
|
|
1856
|
-
selector: 'aup-string-input',
|
|
1857
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
|
|
1858
|
-
styles: ["button[disabled]{visibility:hidden}"]
|
|
1859
|
-
}),
|
|
1860
|
-
__metadata("design:paramtypes", [])
|
|
1861
|
-
], StringInputComponent);
|
|
1862
1663
|
|
|
1863
|
-
|
|
1664
|
+
class TextInputComponent extends AbstractValueInputComponent {
|
|
1864
1665
|
constructor() {
|
|
1865
1666
|
super();
|
|
1866
1667
|
// @Input() @TrackExternal({ delegateTo: 'inputModel' })
|
|
1867
|
-
// valueModel: Form.ValueModelBase<string> |
|
|
1668
|
+
// valueModel: Form.ValueModelBase<string> | MutableValueModel<string>;
|
|
1868
1669
|
this.rows = 2;
|
|
1869
1670
|
// const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
1870
1671
|
}
|
|
1871
1672
|
ngOnInit() {
|
|
1872
1673
|
}
|
|
1674
|
+
}
|
|
1675
|
+
TextInputComponent.decorators = [
|
|
1676
|
+
{ type: Component, args: [{
|
|
1677
|
+
selector: 'aup-text-input',
|
|
1678
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
|
|
1679
|
+
styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}"]
|
|
1680
|
+
},] }
|
|
1681
|
+
];
|
|
1682
|
+
TextInputComponent.ctorParameters = () => [];
|
|
1683
|
+
TextInputComponent.propDecorators = {
|
|
1684
|
+
rows: [{ type: Input }],
|
|
1685
|
+
cols: [{ type: Input }]
|
|
1873
1686
|
};
|
|
1874
|
-
__decorate([
|
|
1875
|
-
Input(),
|
|
1876
|
-
__metadata("design:type", Object)
|
|
1877
|
-
], TextInputComponent.prototype, "rows", void 0);
|
|
1878
|
-
__decorate([
|
|
1879
|
-
Input(),
|
|
1880
|
-
__metadata("design:type", Number)
|
|
1881
|
-
], TextInputComponent.prototype, "cols", void 0);
|
|
1882
|
-
TextInputComponent = __decorate([
|
|
1883
|
-
Component({
|
|
1884
|
-
selector: 'aup-text-input',
|
|
1885
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
|
|
1886
|
-
styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}"]
|
|
1887
|
-
}),
|
|
1888
|
-
__metadata("design:paramtypes", [])
|
|
1889
|
-
], TextInputComponent);
|
|
1890
1687
|
|
|
1891
|
-
|
|
1892
|
-
let IconComponent = IconComponent_1 = class IconComponent {
|
|
1688
|
+
class IconComponent {
|
|
1893
1689
|
constructor() {
|
|
1894
|
-
this.allowedPrefixes = Enum.values(
|
|
1895
|
-
this.iconPrefix =
|
|
1690
|
+
this.allowedPrefixes = Enum.values(IconComponent.IconPrefix).map(p => `${p}:`);
|
|
1691
|
+
this.iconPrefix = IconComponent.IconPrefix;
|
|
1896
1692
|
}
|
|
1897
1693
|
set icon(iconName) {
|
|
1898
1694
|
this._icon = iconName;
|
|
@@ -1914,19 +1710,17 @@ let IconComponent = IconComponent_1 = class IconComponent {
|
|
|
1914
1710
|
get icon() {
|
|
1915
1711
|
return this._icon;
|
|
1916
1712
|
}
|
|
1713
|
+
}
|
|
1714
|
+
IconComponent.decorators = [
|
|
1715
|
+
{ type: Component, args: [{
|
|
1716
|
+
selector: 'aup-icon',
|
|
1717
|
+
template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"iconPrefix.SVG\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"iconPrefix.MATERIAL\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"iconPrefix.FONT_AWESOME\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"suffix\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n",
|
|
1718
|
+
styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center}.faIconWrapper,.svgIcon{height:24px;width:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{height:inherit;width:inherit}"]
|
|
1719
|
+
},] }
|
|
1720
|
+
];
|
|
1721
|
+
IconComponent.propDecorators = {
|
|
1722
|
+
icon: [{ type: Input }]
|
|
1917
1723
|
};
|
|
1918
|
-
__decorate([
|
|
1919
|
-
Input(),
|
|
1920
|
-
__metadata("design:type", String),
|
|
1921
|
-
__metadata("design:paramtypes", [String])
|
|
1922
|
-
], IconComponent.prototype, "icon", null);
|
|
1923
|
-
IconComponent = IconComponent_1 = __decorate([
|
|
1924
|
-
Component({
|
|
1925
|
-
selector: 'aup-icon',
|
|
1926
|
-
template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"iconPrefix.SVG\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"iconPrefix.MATERIAL\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"iconPrefix.FONT_AWESOME\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"suffix\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n",
|
|
1927
|
-
styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}"]
|
|
1928
|
-
})
|
|
1929
|
-
], IconComponent);
|
|
1930
1724
|
(function (IconComponent) {
|
|
1931
1725
|
IconComponent.IconPrefix = Enum({
|
|
1932
1726
|
SVG: 'svg',
|
|
@@ -1935,55 +1729,52 @@ IconComponent = IconComponent_1 = __decorate([
|
|
|
1935
1729
|
});
|
|
1936
1730
|
})(IconComponent || (IconComponent = {}));
|
|
1937
1731
|
|
|
1938
|
-
|
|
1732
|
+
class NoopComponent {
|
|
1939
1733
|
constructor() {
|
|
1940
1734
|
}
|
|
1941
|
-
}
|
|
1942
|
-
NoopComponent =
|
|
1943
|
-
Component
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1735
|
+
}
|
|
1736
|
+
NoopComponent.decorators = [
|
|
1737
|
+
{ type: Component, args: [{
|
|
1738
|
+
selector: 'aup-noop',
|
|
1739
|
+
template: "",
|
|
1740
|
+
styles: [":host{display:block}"]
|
|
1741
|
+
},] }
|
|
1742
|
+
];
|
|
1743
|
+
NoopComponent.ctorParameters = () => [];
|
|
1950
1744
|
|
|
1951
|
-
|
|
1745
|
+
class ScrollContainerComponent {
|
|
1952
1746
|
constructor() { }
|
|
1953
1747
|
ngOnInit() {
|
|
1954
1748
|
}
|
|
1955
|
-
}
|
|
1956
|
-
ScrollContainerComponent =
|
|
1957
|
-
Component
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1749
|
+
}
|
|
1750
|
+
ScrollContainerComponent.decorators = [
|
|
1751
|
+
{ type: Component, args: [{
|
|
1752
|
+
selector: 'aup-scroll-container',
|
|
1753
|
+
template: "<div class=\"container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n",
|
|
1754
|
+
styles: [":host{flex-direction:column;min-height:0}.container,:host{align-items:stretch;display:flex}.container{flex:1;flex-basis:0;flex-direction:column;overflow-y:scroll}"]
|
|
1755
|
+
},] }
|
|
1756
|
+
];
|
|
1757
|
+
ScrollContainerComponent.ctorParameters = () => [];
|
|
1964
1758
|
|
|
1965
|
-
|
|
1759
|
+
class SectionHeaderComponent {
|
|
1966
1760
|
constructor() {
|
|
1967
1761
|
this.underline = false;
|
|
1968
1762
|
}
|
|
1969
1763
|
ngOnInit() {
|
|
1970
1764
|
}
|
|
1765
|
+
}
|
|
1766
|
+
SectionHeaderComponent.decorators = [
|
|
1767
|
+
{ type: Component, args: [{
|
|
1768
|
+
selector: 'aup-section-header',
|
|
1769
|
+
template: "<ng-content></ng-content>\n",
|
|
1770
|
+
styles: [":host{--def-border-bottom-color:var(--border-bottom-color,rgba(0,0,0,0.07));color:rgba(0,0,0,.5);display:block;font-size:12px;line-height:12px;padding:8px 16px}:host.underline{border-bottom:1px solid var(--def-border-bottom-color)}"]
|
|
1771
|
+
},] }
|
|
1772
|
+
];
|
|
1773
|
+
SectionHeaderComponent.ctorParameters = () => [];
|
|
1774
|
+
SectionHeaderComponent.propDecorators = {
|
|
1775
|
+
underline: [{ type: Input }, { type: HostBinding, args: ['class.underline',] }]
|
|
1971
1776
|
};
|
|
1972
|
-
__decorate([
|
|
1973
|
-
Input(),
|
|
1974
|
-
HostBinding('class.underline'),
|
|
1975
|
-
__metadata("design:type", Object)
|
|
1976
|
-
], SectionHeaderComponent.prototype, "underline", void 0);
|
|
1977
|
-
SectionHeaderComponent = __decorate([
|
|
1978
|
-
Component({
|
|
1979
|
-
selector: 'aup-section-header',
|
|
1980
|
-
template: "<ng-content></ng-content>\n",
|
|
1981
|
-
styles: [":host{--def-border-bottom-color:var(--border-bottom-color, rgba(0, 0, 0, 0.07));display:block;padding:8px 16px;font-size:12px;line-height:12px;color:rgba(0,0,0,.5)}:host.underline{border-bottom:1px solid var(--def-border-bottom-color)}"]
|
|
1982
|
-
}),
|
|
1983
|
-
__metadata("design:paramtypes", [])
|
|
1984
|
-
], SectionHeaderComponent);
|
|
1985
1777
|
|
|
1986
|
-
var SwitchCaseWhenDirective_1, SwitchCaseDefaultDirective_1;
|
|
1987
1778
|
class SwitchCaseOption {
|
|
1988
1779
|
constructor(templateRef) {
|
|
1989
1780
|
this.templateRef = templateRef;
|
|
@@ -1992,7 +1783,7 @@ class SwitchCaseOption {
|
|
|
1992
1783
|
return this.constructor.name;
|
|
1993
1784
|
}
|
|
1994
1785
|
}
|
|
1995
|
-
|
|
1786
|
+
class SwitchCaseWhenDirective extends SwitchCaseOption {
|
|
1996
1787
|
constructor(templateRef) {
|
|
1997
1788
|
super(templateRef);
|
|
1998
1789
|
this.isDefault = false;
|
|
@@ -2000,22 +1791,20 @@ let SwitchCaseWhenDirective = SwitchCaseWhenDirective_1 = class SwitchCaseWhenDi
|
|
|
2000
1791
|
matches(value) {
|
|
2001
1792
|
return this.aupSwitchCaseWhen === value;
|
|
2002
1793
|
}
|
|
2003
|
-
}
|
|
1794
|
+
}
|
|
1795
|
+
SwitchCaseWhenDirective.decorators = [
|
|
1796
|
+
{ type: Directive, args: [{
|
|
1797
|
+
selector: '[aupSwitchCaseWhen]',
|
|
1798
|
+
providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective }]
|
|
1799
|
+
},] }
|
|
1800
|
+
];
|
|
2004
1801
|
SwitchCaseWhenDirective.ctorParameters = () => [
|
|
2005
1802
|
{ type: TemplateRef }
|
|
2006
1803
|
];
|
|
2007
|
-
|
|
2008
|
-
Input
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
SwitchCaseWhenDirective = SwitchCaseWhenDirective_1 = __decorate([
|
|
2012
|
-
Directive({
|
|
2013
|
-
selector: '[aupSwitchCaseWhen]',
|
|
2014
|
-
providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective_1 }]
|
|
2015
|
-
}),
|
|
2016
|
-
__metadata("design:paramtypes", [TemplateRef])
|
|
2017
|
-
], SwitchCaseWhenDirective);
|
|
2018
|
-
let SwitchCaseDefaultDirective = SwitchCaseDefaultDirective_1 = class SwitchCaseDefaultDirective extends SwitchCaseOption {
|
|
1804
|
+
SwitchCaseWhenDirective.propDecorators = {
|
|
1805
|
+
aupSwitchCaseWhen: [{ type: Input }]
|
|
1806
|
+
};
|
|
1807
|
+
class SwitchCaseDefaultDirective extends SwitchCaseOption {
|
|
2019
1808
|
constructor(templateRef) {
|
|
2020
1809
|
super(templateRef);
|
|
2021
1810
|
this.isDefault = true;
|
|
@@ -2023,18 +1812,17 @@ let SwitchCaseDefaultDirective = SwitchCaseDefaultDirective_1 = class SwitchCase
|
|
|
2023
1812
|
matches(value) {
|
|
2024
1813
|
return false;
|
|
2025
1814
|
}
|
|
2026
|
-
}
|
|
1815
|
+
}
|
|
1816
|
+
SwitchCaseDefaultDirective.decorators = [
|
|
1817
|
+
{ type: Directive, args: [{
|
|
1818
|
+
selector: '[aupSwitchCaseDefault]',
|
|
1819
|
+
providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective }]
|
|
1820
|
+
},] }
|
|
1821
|
+
];
|
|
2027
1822
|
SwitchCaseDefaultDirective.ctorParameters = () => [
|
|
2028
1823
|
{ type: TemplateRef }
|
|
2029
1824
|
];
|
|
2030
|
-
|
|
2031
|
-
Directive({
|
|
2032
|
-
selector: '[aupSwitchCaseDefault]',
|
|
2033
|
-
providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective_1 }]
|
|
2034
|
-
}),
|
|
2035
|
-
__metadata("design:paramtypes", [TemplateRef])
|
|
2036
|
-
], SwitchCaseDefaultDirective);
|
|
2037
|
-
let SwitchCaseComponent = class SwitchCaseComponent extends DisposableComponent {
|
|
1825
|
+
class SwitchCaseComponent extends DisposableComponent {
|
|
2038
1826
|
constructor(cdr) {
|
|
2039
1827
|
super();
|
|
2040
1828
|
this.cdr = cdr;
|
|
@@ -2075,30 +1863,30 @@ let SwitchCaseComponent = class SwitchCaseComponent extends DisposableComponent
|
|
|
2075
1863
|
this.selectedIndex = -1;
|
|
2076
1864
|
}
|
|
2077
1865
|
}
|
|
2078
|
-
}
|
|
1866
|
+
}
|
|
1867
|
+
SwitchCaseComponent.decorators = [
|
|
1868
|
+
{ type: Component, args: [{
|
|
1869
|
+
selector: 'aup-switch-case',
|
|
1870
|
+
template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n",
|
|
1871
|
+
styles: [":host{align-items:stretch;display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
1872
|
+
},] }
|
|
1873
|
+
];
|
|
2079
1874
|
SwitchCaseComponent.ctorParameters = () => [
|
|
2080
1875
|
{ type: ChangeDetectorRef }
|
|
2081
1876
|
];
|
|
1877
|
+
SwitchCaseComponent.propDecorators = {
|
|
1878
|
+
switchModel: [{ type: Input }],
|
|
1879
|
+
switch: [{ type: Input }],
|
|
1880
|
+
switchCaseOptions: [{ type: ContentChildren, args: [SwitchCaseOption,] }]
|
|
1881
|
+
};
|
|
2082
1882
|
__decorate([
|
|
2083
|
-
|
|
1883
|
+
TrackExternal(),
|
|
2084
1884
|
__metadata("design:type", ValueModel)
|
|
2085
1885
|
], SwitchCaseComponent.prototype, "switchModel", void 0);
|
|
2086
1886
|
__decorate([
|
|
2087
|
-
|
|
1887
|
+
StoreInValueModel('switchModel'),
|
|
2088
1888
|
__metadata("design:type", Object)
|
|
2089
1889
|
], SwitchCaseComponent.prototype, "switch", void 0);
|
|
2090
|
-
__decorate([
|
|
2091
|
-
ContentChildren(SwitchCaseOption),
|
|
2092
|
-
__metadata("design:type", QueryList)
|
|
2093
|
-
], SwitchCaseComponent.prototype, "switchCaseOptions", void 0);
|
|
2094
|
-
SwitchCaseComponent = __decorate([
|
|
2095
|
-
Component({
|
|
2096
|
-
selector: 'aup-switch-case',
|
|
2097
|
-
template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n",
|
|
2098
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}"]
|
|
2099
|
-
}),
|
|
2100
|
-
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
2101
|
-
], SwitchCaseComponent);
|
|
2102
1890
|
|
|
2103
1891
|
const HEADER_CELL_RENDERER_PORTAL = Symbol('aup-cell-header-renderer-component-ref');
|
|
2104
1892
|
const CELL_RENDERER_PORTAL = Symbol('aup-cell-renderer-component-ref');
|
|
@@ -2191,7 +1979,7 @@ class TemplateCellRendererPortalRef extends CellRendererPortalRef {
|
|
|
2191
1979
|
}
|
|
2192
1980
|
}
|
|
2193
1981
|
|
|
2194
|
-
|
|
1982
|
+
class DefaultCellRendererComponent {
|
|
2195
1983
|
constructor() {
|
|
2196
1984
|
}
|
|
2197
1985
|
set value(value) {
|
|
@@ -2200,37 +1988,34 @@ let DefaultCellRendererComponent = class DefaultCellRendererComponent {
|
|
|
2200
1988
|
get value() {
|
|
2201
1989
|
return this._value;
|
|
2202
1990
|
}
|
|
1991
|
+
}
|
|
1992
|
+
DefaultCellRendererComponent.decorators = [
|
|
1993
|
+
{ type: Component, args: [{
|
|
1994
|
+
selector: 'aup-default-cell-renderer',
|
|
1995
|
+
template: "{{value}}\n",
|
|
1996
|
+
styles: [""]
|
|
1997
|
+
},] }
|
|
1998
|
+
];
|
|
1999
|
+
DefaultCellRendererComponent.ctorParameters = () => [];
|
|
2000
|
+
DefaultCellRendererComponent.propDecorators = {
|
|
2001
|
+
value: [{ type: Input }]
|
|
2203
2002
|
};
|
|
2204
|
-
__decorate([
|
|
2205
|
-
Input(),
|
|
2206
|
-
__metadata("design:type", Object),
|
|
2207
|
-
__metadata("design:paramtypes", [Object])
|
|
2208
|
-
], DefaultCellRendererComponent.prototype, "value", null);
|
|
2209
|
-
DefaultCellRendererComponent = __decorate([
|
|
2210
|
-
Component({
|
|
2211
|
-
selector: 'aup-default-cell-renderer',
|
|
2212
|
-
template: "{{value}}\n",
|
|
2213
|
-
styles: [""]
|
|
2214
|
-
}),
|
|
2215
|
-
__metadata("design:paramtypes", [])
|
|
2216
|
-
], DefaultCellRendererComponent);
|
|
2217
2003
|
|
|
2218
|
-
|
|
2004
|
+
class DefaultHeaderCellRendererComponent {
|
|
2219
2005
|
constructor() {
|
|
2220
2006
|
}
|
|
2007
|
+
}
|
|
2008
|
+
DefaultHeaderCellRendererComponent.decorators = [
|
|
2009
|
+
{ type: Component, args: [{
|
|
2010
|
+
selector: 'aup-default-header-renderer',
|
|
2011
|
+
template: "{{headerText}}\n",
|
|
2012
|
+
styles: [""]
|
|
2013
|
+
},] }
|
|
2014
|
+
];
|
|
2015
|
+
DefaultHeaderCellRendererComponent.ctorParameters = () => [];
|
|
2016
|
+
DefaultHeaderCellRendererComponent.propDecorators = {
|
|
2017
|
+
headerText: [{ type: Input }]
|
|
2221
2018
|
};
|
|
2222
|
-
__decorate([
|
|
2223
|
-
Input(),
|
|
2224
|
-
__metadata("design:type", String)
|
|
2225
|
-
], DefaultHeaderCellRendererComponent.prototype, "headerText", void 0);
|
|
2226
|
-
DefaultHeaderCellRendererComponent = __decorate([
|
|
2227
|
-
Component({
|
|
2228
|
-
selector: 'aup-default-header-renderer',
|
|
2229
|
-
template: "{{headerText}}\n",
|
|
2230
|
-
styles: [""]
|
|
2231
|
-
}),
|
|
2232
|
-
__metadata("design:paramtypes", [])
|
|
2233
|
-
], DefaultHeaderCellRendererComponent);
|
|
2234
2019
|
|
|
2235
2020
|
class EditSession extends GarbageCollector {
|
|
2236
2021
|
constructor(rowId, row, form, saveCommand) {
|
|
@@ -2253,7 +2038,7 @@ class EditSession extends GarbageCollector {
|
|
|
2253
2038
|
}
|
|
2254
2039
|
}
|
|
2255
2040
|
|
|
2256
|
-
|
|
2041
|
+
class EditRowControls extends DisposableComponent {
|
|
2257
2042
|
constructor() {
|
|
2258
2043
|
super();
|
|
2259
2044
|
this.saveCommand = Command.create(() => {
|
|
@@ -2274,30 +2059,26 @@ let EditRowControls = class EditRowControls extends DisposableComponent {
|
|
|
2274
2059
|
var _a;
|
|
2275
2060
|
return (_a = this.editSession) === null || _a === void 0 ? void 0 : _a.form;
|
|
2276
2061
|
}
|
|
2062
|
+
}
|
|
2063
|
+
EditRowControls.decorators = [
|
|
2064
|
+
{ type: Component, args: [{
|
|
2065
|
+
selector: 'aup-row-editor-controls',
|
|
2066
|
+
template: "<button *ngIf=\"!editSession\" mat-icon-button [pectinCommand]=\"editRowCommand\" class=\"edit-button\"><aup-icon icon=\"mat:edit\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"saveCommand\"><aup-icon icon=\"mat:done\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"cancelCommand\"><aup-icon icon=\"mat:clear\"></aup-icon></button>\n",
|
|
2067
|
+
styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}"]
|
|
2068
|
+
},] }
|
|
2069
|
+
];
|
|
2070
|
+
EditRowControls.ctorParameters = () => [];
|
|
2071
|
+
EditRowControls.propDecorators = {
|
|
2072
|
+
row: [{ type: Input }],
|
|
2073
|
+
editRowCommand: [{ type: Input }],
|
|
2074
|
+
editSession: [{ type: Input }]
|
|
2277
2075
|
};
|
|
2278
2076
|
__decorate([
|
|
2279
|
-
Input(),
|
|
2280
|
-
__metadata("design:type", Object)
|
|
2281
|
-
], EditRowControls.prototype, "row", void 0);
|
|
2282
|
-
__decorate([
|
|
2283
|
-
Input(),
|
|
2284
2077
|
TrackExternal(),
|
|
2285
2078
|
__metadata("design:type", Command)
|
|
2286
2079
|
], EditRowControls.prototype, "editRowCommand", void 0);
|
|
2287
|
-
__decorate([
|
|
2288
|
-
Input(),
|
|
2289
|
-
__metadata("design:type", EditSession)
|
|
2290
|
-
], EditRowControls.prototype, "editSession", void 0);
|
|
2291
|
-
EditRowControls = __decorate([
|
|
2292
|
-
Component({
|
|
2293
|
-
selector: 'aup-row-editor-controls',
|
|
2294
|
-
template: "<button *ngIf=\"!editSession\" mat-icon-button [pectinCommand]=\"editRowCommand\" class=\"edit-button\"><aup-icon icon=\"mat:edit\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"saveCommand\"><aup-icon icon=\"mat:done\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"cancelCommand\"><aup-icon icon=\"mat:clear\"></aup-icon></button>\n",
|
|
2295
|
-
styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}"]
|
|
2296
|
-
}),
|
|
2297
|
-
__metadata("design:paramtypes", [])
|
|
2298
|
-
], EditRowControls);
|
|
2299
2080
|
|
|
2300
|
-
|
|
2081
|
+
class SelectCellRendererComponent extends DisposableComponent {
|
|
2301
2082
|
constructor() {
|
|
2302
2083
|
super();
|
|
2303
2084
|
this.selectCommand = Command.create(() => {
|
|
@@ -2307,21 +2088,20 @@ let SelectCellRendererComponent = class SelectCellRendererComponent extends Disp
|
|
|
2307
2088
|
isSelected() {
|
|
2308
2089
|
return this.selectionModel.isSelected(this.row);
|
|
2309
2090
|
}
|
|
2091
|
+
}
|
|
2092
|
+
SelectCellRendererComponent.decorators = [
|
|
2093
|
+
{ type: Component, args: [{
|
|
2094
|
+
selector: 'aup-select-cell-renderer',
|
|
2095
|
+
template: "<mat-checkbox [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\"></mat-checkbox>\n",
|
|
2096
|
+
styles: [""]
|
|
2097
|
+
},] }
|
|
2098
|
+
];
|
|
2099
|
+
SelectCellRendererComponent.ctorParameters = () => [];
|
|
2100
|
+
SelectCellRendererComponent.propDecorators = {
|
|
2101
|
+
row: [{ type: Input }]
|
|
2310
2102
|
};
|
|
2311
|
-
__decorate([
|
|
2312
|
-
Input(),
|
|
2313
|
-
__metadata("design:type", Object)
|
|
2314
|
-
], SelectCellRendererComponent.prototype, "row", void 0);
|
|
2315
|
-
SelectCellRendererComponent = __decorate([
|
|
2316
|
-
Component({
|
|
2317
|
-
selector: 'aup-select-cell-renderer',
|
|
2318
|
-
template: "<mat-checkbox [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\"></mat-checkbox>\n",
|
|
2319
|
-
styles: [""]
|
|
2320
|
-
}),
|
|
2321
|
-
__metadata("design:paramtypes", [])
|
|
2322
|
-
], SelectCellRendererComponent);
|
|
2323
2103
|
|
|
2324
|
-
|
|
2104
|
+
class SelectHeaderCellRendererComponent extends DisposableComponent {
|
|
2325
2105
|
constructor() {
|
|
2326
2106
|
super();
|
|
2327
2107
|
this.selectCommand = Command.create(() => {
|
|
@@ -2336,15 +2116,15 @@ let SelectHeaderCellRendererComponent = class SelectHeaderCellRendererComponent
|
|
|
2336
2116
|
var _a;
|
|
2337
2117
|
return ((_a = this.selectionModel) === null || _a === void 0 ? void 0 : _a.someSelected.value) || false;
|
|
2338
2118
|
}
|
|
2339
|
-
}
|
|
2340
|
-
SelectHeaderCellRendererComponent =
|
|
2341
|
-
Component
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2119
|
+
}
|
|
2120
|
+
SelectHeaderCellRendererComponent.decorators = [
|
|
2121
|
+
{ type: Component, args: [{
|
|
2122
|
+
selector: 'aup-select-header-cell-renderer',
|
|
2123
|
+
template: "<mat-checkbox *ngIf=\"enableHeaderControls\" [pectinCommand]=\"selectCommand\" [checked]=\"isSelected()\" [indeterminate]=\"this.isIntermediate()\"></mat-checkbox>\n",
|
|
2124
|
+
styles: [""]
|
|
2125
|
+
},] }
|
|
2126
|
+
];
|
|
2127
|
+
SelectHeaderCellRendererComponent.ctorParameters = () => [];
|
|
2348
2128
|
|
|
2349
2129
|
const noop = () => {
|
|
2350
2130
|
};
|
|
@@ -2447,17 +2227,17 @@ class PropertyColumnModel extends ColumnModel {
|
|
|
2447
2227
|
cellRenderer(componentType, onComponentInitOrOptions) {
|
|
2448
2228
|
this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData, firstTime) => {
|
|
2449
2229
|
if (firstTime) {
|
|
2450
|
-
if (
|
|
2230
|
+
if (_.isFunction(onComponentInitOrOptions)) {
|
|
2451
2231
|
onComponentInitOrOptions(component);
|
|
2452
2232
|
}
|
|
2453
2233
|
else {
|
|
2454
|
-
if (
|
|
2234
|
+
if (_.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onComponentInit)) {
|
|
2455
2235
|
onComponentInitOrOptions.onComponentInit(component);
|
|
2456
2236
|
}
|
|
2457
2237
|
}
|
|
2458
2238
|
}
|
|
2459
2239
|
component.value = this._format(rowData.row[this.property]);
|
|
2460
|
-
if (!
|
|
2240
|
+
if (!_.isFunction(onComponentInitOrOptions) && _.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onRowUpdate)) {
|
|
2461
2241
|
onComponentInitOrOptions.onRowUpdate(component, rowData.row);
|
|
2462
2242
|
}
|
|
2463
2243
|
}));
|
|
@@ -2470,7 +2250,7 @@ class PropertyColumnModel extends ColumnModel {
|
|
|
2470
2250
|
component[CELL_RENDERER_COMPONENT_ROW_CACHE] = rowData.row;
|
|
2471
2251
|
let disableEditCallback = false;
|
|
2472
2252
|
if (firstTime) {
|
|
2473
|
-
if (
|
|
2253
|
+
if (_.isFunction(options === null || options === void 0 ? void 0 : options.onComponentInit)) {
|
|
2474
2254
|
options.onComponentInit(component);
|
|
2475
2255
|
}
|
|
2476
2256
|
// install our edit callback
|
|
@@ -2485,7 +2265,7 @@ class PropertyColumnModel extends ColumnModel {
|
|
|
2485
2265
|
disableEditCallback = true;
|
|
2486
2266
|
component.value = rowData.row[this.property];
|
|
2487
2267
|
disableEditCallback = false;
|
|
2488
|
-
if (!
|
|
2268
|
+
if (!_.isFunction(options) && _.isFunction(options === null || options === void 0 ? void 0 : options.onRowUpdate)) {
|
|
2489
2269
|
options.onRowUpdate(component, rowData.row);
|
|
2490
2270
|
}
|
|
2491
2271
|
}));
|
|
@@ -2493,7 +2273,7 @@ class PropertyColumnModel extends ColumnModel {
|
|
|
2493
2273
|
}
|
|
2494
2274
|
cellEditor(editor, validatorsOrInitialiser, onComponentInit) {
|
|
2495
2275
|
const validators = Array.isArray(validatorsOrInitialiser) ? validatorsOrInitialiser : undefined;
|
|
2496
|
-
const initialiser =
|
|
2276
|
+
const initialiser = _.isFunction(validatorsOrInitialiser) ? validatorsOrInitialiser : onComponentInit;
|
|
2497
2277
|
this.configureCellEditor(new CellEditorPortalRef(editor, (component, editSession) => {
|
|
2498
2278
|
const formValueModel = editSession.form.pluck(this.property);
|
|
2499
2279
|
if (validators) {
|
|
@@ -2530,7 +2310,7 @@ class ListPropertyColumnModel extends ColumnModel {
|
|
|
2530
2310
|
}
|
|
2531
2311
|
cellEditor(editor, validatorsOrInitialiser, initialiseComponent) {
|
|
2532
2312
|
const validators = Array.isArray(validatorsOrInitialiser) ? validatorsOrInitialiser : undefined;
|
|
2533
|
-
const initialiser =
|
|
2313
|
+
const initialiser = _.isFunction(validatorsOrInitialiser) ? validatorsOrInitialiser : initialiseComponent;
|
|
2534
2314
|
this.configureCellEditor(new CellEditorPortalRef(editor, (component, editSession) => {
|
|
2535
2315
|
const formListModel = editSession.form.pluckList(this.property);
|
|
2536
2316
|
if (validators) {
|
|
@@ -2561,17 +2341,17 @@ class CustomValueColumnModel extends ColumnModel {
|
|
|
2561
2341
|
cellRenderer(componentType, onComponentInitOrOptions) {
|
|
2562
2342
|
this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData, firstTime) => {
|
|
2563
2343
|
if (firstTime) {
|
|
2564
|
-
if (
|
|
2344
|
+
if (_.isFunction(onComponentInitOrOptions)) {
|
|
2565
2345
|
onComponentInitOrOptions(component);
|
|
2566
2346
|
}
|
|
2567
2347
|
else {
|
|
2568
|
-
if (
|
|
2348
|
+
if (_.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onComponentInit)) {
|
|
2569
2349
|
onComponentInitOrOptions.onComponentInit(component);
|
|
2570
2350
|
}
|
|
2571
2351
|
}
|
|
2572
2352
|
}
|
|
2573
2353
|
component.value = this.getValue(rowData.row);
|
|
2574
|
-
if (!
|
|
2354
|
+
if (!_.isFunction(onComponentInitOrOptions) && _.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onRowUpdate)) {
|
|
2575
2355
|
onComponentInitOrOptions.onRowUpdate(component, rowData.row);
|
|
2576
2356
|
}
|
|
2577
2357
|
}));
|
|
@@ -2864,9 +2644,6 @@ let TableModel = TableModel_1 = class TableModel {
|
|
|
2864
2644
|
(_a = this.selectionColumnModel) === null || _a === void 0 ? void 0 : _a.selectRow(row);
|
|
2865
2645
|
}
|
|
2866
2646
|
};
|
|
2867
|
-
TableModel.ctorParameters = () => [
|
|
2868
|
-
{ type: ListModel }
|
|
2869
|
-
];
|
|
2870
2647
|
TableModel = TableModel_1 = __decorate([
|
|
2871
2648
|
TrackExternal.Strategy(new TrackExternal.OneTimeBinding()),
|
|
2872
2649
|
__metadata("design:paramtypes", [ListModel])
|
|
@@ -2899,7 +2676,7 @@ TableModel = TableModel_1 = __decorate([
|
|
|
2899
2676
|
* }
|
|
2900
2677
|
* }
|
|
2901
2678
|
*/
|
|
2902
|
-
|
|
2679
|
+
class TableComponent extends DisposableComponent {
|
|
2903
2680
|
constructor() {
|
|
2904
2681
|
super();
|
|
2905
2682
|
}
|
|
@@ -2923,22 +2700,24 @@ let TableComponent = class TableComponent extends DisposableComponent {
|
|
|
2923
2700
|
this.tableModel.selectRow(row);
|
|
2924
2701
|
}
|
|
2925
2702
|
}
|
|
2703
|
+
}
|
|
2704
|
+
TableComponent.decorators = [
|
|
2705
|
+
{ type: Component, args: [{
|
|
2706
|
+
selector: 'aup-table',
|
|
2707
|
+
template: "<table mat-table [dataSource]=\"tableModel.dataSource.value\" [trackBy]=\"tableModel.trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\" matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef>\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"onCellClicked(column, row)\" [class.enable-cursor]=\"tableModel.isRowSelectionEnabledFor(column)\">\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"tableModel\"\n [editSession]=\"tableModel.getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\" [attr.trackBy]=\"tableModel.trackBy(i, row)\"\n ></tr>\n\n</table>\n",
|
|
2708
|
+
styles: [":host{align-items:stretch;display:flex;flex-direction:column}:host table{flex:1}"]
|
|
2709
|
+
},] }
|
|
2710
|
+
];
|
|
2711
|
+
TableComponent.ctorParameters = () => [];
|
|
2712
|
+
TableComponent.propDecorators = {
|
|
2713
|
+
tableModel: [{ type: Input }]
|
|
2926
2714
|
};
|
|
2927
2715
|
__decorate([
|
|
2928
|
-
Input(),
|
|
2929
2716
|
TrackExternal(),
|
|
2930
2717
|
__metadata("design:type", TableModel)
|
|
2931
2718
|
], TableComponent.prototype, "tableModel", void 0);
|
|
2932
|
-
TableComponent = __decorate([
|
|
2933
|
-
Component({
|
|
2934
|
-
selector: 'aup-table',
|
|
2935
|
-
template: "<table mat-table [dataSource]=\"tableModel.dataSource.value\" [trackBy]=\"tableModel.trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\" matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef>\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"onCellClicked(column, row)\" [class.enable-cursor]=\"tableModel.isRowSelectionEnabledFor(column)\">\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"tableModel\"\n [editSession]=\"tableModel.getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\" [attr.trackBy]=\"tableModel.trackBy(i, row)\"\n ></tr>\n\n</table>\n",
|
|
2936
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{flex:1}"]
|
|
2937
|
-
}),
|
|
2938
|
-
__metadata("design:paramtypes", [])
|
|
2939
|
-
], TableComponent);
|
|
2940
2719
|
|
|
2941
|
-
|
|
2720
|
+
class ColumnTemplateDirective {
|
|
2942
2721
|
constructor(host, templateRef, viewContainer) {
|
|
2943
2722
|
this.host = host;
|
|
2944
2723
|
this.templateRef = templateRef;
|
|
@@ -2951,38 +2730,25 @@ let ColumnTemplateDirective = class ColumnTemplateDirective {
|
|
|
2951
2730
|
assert.isTruthy(this.aupColumnTemplateColumnId);
|
|
2952
2731
|
this.host.registerColumnTemplate(this.aupColumnTemplateColumnId, this.templateRef, this.viewContainer, this.aupColumnTemplateFillCell, (_a = this.aupColumnTemplateAutoPadChild) !== null && _a !== void 0 ? _a : this.aupColumnTemplateFillCell);
|
|
2953
2732
|
}
|
|
2954
|
-
}
|
|
2733
|
+
}
|
|
2734
|
+
ColumnTemplateDirective.decorators = [
|
|
2735
|
+
{ type: Directive, args: [{
|
|
2736
|
+
selector: '[aupColumnTemplate]'
|
|
2737
|
+
},] }
|
|
2738
|
+
];
|
|
2955
2739
|
ColumnTemplateDirective.ctorParameters = () => [
|
|
2956
2740
|
{ type: TableComponent },
|
|
2957
2741
|
{ type: TemplateRef },
|
|
2958
2742
|
{ type: ViewContainerRef }
|
|
2959
2743
|
];
|
|
2960
|
-
|
|
2961
|
-
Input
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
__decorate([
|
|
2969
|
-
Input(),
|
|
2970
|
-
__metadata("design:type", Object)
|
|
2971
|
-
], ColumnTemplateDirective.prototype, "aupColumnTemplateFillCell", void 0);
|
|
2972
|
-
__decorate([
|
|
2973
|
-
Input(),
|
|
2974
|
-
__metadata("design:type", Object)
|
|
2975
|
-
], ColumnTemplateDirective.prototype, "aupColumnTemplateAutoPadChild", void 0);
|
|
2976
|
-
ColumnTemplateDirective = __decorate([
|
|
2977
|
-
Directive({
|
|
2978
|
-
selector: '[aupColumnTemplate]'
|
|
2979
|
-
}),
|
|
2980
|
-
__metadata("design:paramtypes", [TableComponent,
|
|
2981
|
-
TemplateRef,
|
|
2982
|
-
ViewContainerRef])
|
|
2983
|
-
], ColumnTemplateDirective);
|
|
2984
|
-
|
|
2985
|
-
let TableCellRendererComponent = class TableCellRendererComponent extends DisposableComponent {
|
|
2744
|
+
ColumnTemplateDirective.propDecorators = {
|
|
2745
|
+
aupColumnTemplate: [{ type: Input }],
|
|
2746
|
+
aupColumnTemplateColumnId: [{ type: Input }],
|
|
2747
|
+
aupColumnTemplateFillCell: [{ type: Input }],
|
|
2748
|
+
aupColumnTemplateAutoPadChild: [{ type: Input }]
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2751
|
+
class TableCellRendererComponent extends DisposableComponent {
|
|
2986
2752
|
constructor() {
|
|
2987
2753
|
super();
|
|
2988
2754
|
this.defaultClassNames = 'aup-cell-renderer';
|
|
@@ -3037,45 +2803,26 @@ let TableCellRendererComponent = class TableCellRendererComponent extends Dispos
|
|
|
3037
2803
|
editRowCommand: this.editRowCommand
|
|
3038
2804
|
};
|
|
3039
2805
|
}
|
|
2806
|
+
}
|
|
2807
|
+
TableCellRendererComponent.decorators = [
|
|
2808
|
+
{ type: Component, args: [{
|
|
2809
|
+
selector: 'aup-table-cell-renderer',
|
|
2810
|
+
template: "<ng-container *ngIf=\"!hasActiveEditor()\" [cdkPortalOutlet]=\"getRendererPortal()\" (attached)=\"initialiseRenderer($event.instance)\"></ng-container>\n<ng-container *ngIf=\"hasActiveEditor()\" [cdkPortalOutlet]=\"getEditorPortal()\" (attached)=\"initialiseEditor($event.instance)\"></ng-container>\n",
|
|
2811
|
+
styles: [""]
|
|
2812
|
+
},] }
|
|
2813
|
+
];
|
|
2814
|
+
TableCellRendererComponent.ctorParameters = () => [];
|
|
2815
|
+
TableCellRendererComponent.propDecorators = {
|
|
2816
|
+
row: [{ type: Input }],
|
|
2817
|
+
column: [{ type: Input }],
|
|
2818
|
+
editSession: [{ type: Input }],
|
|
2819
|
+
tableModel: [{ type: Input }],
|
|
2820
|
+
defaultClassNames: [{ type: HostBinding, args: ['class',] }],
|
|
2821
|
+
fillCell: [{ type: HostBinding, args: ['class.fillCell',] }],
|
|
2822
|
+
padChild: [{ type: HostBinding, args: ['class.padChild',] }]
|
|
3040
2823
|
};
|
|
3041
|
-
__decorate([
|
|
3042
|
-
Input(),
|
|
3043
|
-
__metadata("design:type", Object)
|
|
3044
|
-
], TableCellRendererComponent.prototype, "row", void 0);
|
|
3045
|
-
__decorate([
|
|
3046
|
-
Input(),
|
|
3047
|
-
__metadata("design:type", ColumnModel)
|
|
3048
|
-
], TableCellRendererComponent.prototype, "column", void 0);
|
|
3049
|
-
__decorate([
|
|
3050
|
-
Input(),
|
|
3051
|
-
__metadata("design:type", EditSession)
|
|
3052
|
-
], TableCellRendererComponent.prototype, "editSession", void 0);
|
|
3053
|
-
__decorate([
|
|
3054
|
-
Input(),
|
|
3055
|
-
__metadata("design:type", TableModel)
|
|
3056
|
-
], TableCellRendererComponent.prototype, "tableModel", void 0);
|
|
3057
|
-
__decorate([
|
|
3058
|
-
HostBinding('class'),
|
|
3059
|
-
__metadata("design:type", Object)
|
|
3060
|
-
], TableCellRendererComponent.prototype, "defaultClassNames", void 0);
|
|
3061
|
-
__decorate([
|
|
3062
|
-
HostBinding('class.fillCell'),
|
|
3063
|
-
__metadata("design:type", Object)
|
|
3064
|
-
], TableCellRendererComponent.prototype, "fillCell", void 0);
|
|
3065
|
-
__decorate([
|
|
3066
|
-
HostBinding('class.padChild'),
|
|
3067
|
-
__metadata("design:type", Object)
|
|
3068
|
-
], TableCellRendererComponent.prototype, "padChild", void 0);
|
|
3069
|
-
TableCellRendererComponent = __decorate([
|
|
3070
|
-
Component({
|
|
3071
|
-
selector: 'aup-table-cell-renderer',
|
|
3072
|
-
template: "<ng-container *ngIf=\"!hasActiveEditor()\" [cdkPortalOutlet]=\"getRendererPortal()\" (attached)=\"initialiseRenderer($event.instance)\"></ng-container>\n<ng-container *ngIf=\"hasActiveEditor()\" [cdkPortalOutlet]=\"getEditorPortal()\" (attached)=\"initialiseEditor($event.instance)\"></ng-container>\n",
|
|
3073
|
-
styles: [""]
|
|
3074
|
-
}),
|
|
3075
|
-
__metadata("design:paramtypes", [])
|
|
3076
|
-
], TableCellRendererComponent);
|
|
3077
2824
|
|
|
3078
|
-
|
|
2825
|
+
class TableHeaderCellRendererComponent {
|
|
3079
2826
|
constructor() {
|
|
3080
2827
|
this.defaultClassNames = 'aup-header-cell-renderer';
|
|
3081
2828
|
}
|
|
@@ -3089,23 +2836,19 @@ let TableHeaderCellRendererComponent = class TableHeaderCellRendererComponent {
|
|
|
3089
2836
|
getPortal() {
|
|
3090
2837
|
return this[HEADER_CELL_RENDERER_PORTAL];
|
|
3091
2838
|
}
|
|
2839
|
+
}
|
|
2840
|
+
TableHeaderCellRendererComponent.decorators = [
|
|
2841
|
+
{ type: Component, args: [{
|
|
2842
|
+
selector: 'aup-table-header-cell-renderer',
|
|
2843
|
+
template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event.instance)\"></ng-container>\n",
|
|
2844
|
+
styles: [":host{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:center}"]
|
|
2845
|
+
},] }
|
|
2846
|
+
];
|
|
2847
|
+
TableHeaderCellRendererComponent.ctorParameters = () => [];
|
|
2848
|
+
TableHeaderCellRendererComponent.propDecorators = {
|
|
2849
|
+
column: [{ type: Input }],
|
|
2850
|
+
defaultClassNames: [{ type: HostBinding, args: ['class',] }]
|
|
3092
2851
|
};
|
|
3093
|
-
__decorate([
|
|
3094
|
-
Input(),
|
|
3095
|
-
__metadata("design:type", ColumnModel)
|
|
3096
|
-
], TableHeaderCellRendererComponent.prototype, "column", void 0);
|
|
3097
|
-
__decorate([
|
|
3098
|
-
HostBinding('class'),
|
|
3099
|
-
__metadata("design:type", Object)
|
|
3100
|
-
], TableHeaderCellRendererComponent.prototype, "defaultClassNames", void 0);
|
|
3101
|
-
TableHeaderCellRendererComponent = __decorate([
|
|
3102
|
-
Component({
|
|
3103
|
-
selector: 'aup-table-header-cell-renderer',
|
|
3104
|
-
template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event.instance)\"></ng-container>\n",
|
|
3105
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}"]
|
|
3106
|
-
}),
|
|
3107
|
-
__metadata("design:paramtypes", [])
|
|
3108
|
-
], TableHeaderCellRendererComponent);
|
|
3109
2852
|
|
|
3110
2853
|
class MenuItemData {
|
|
3111
2854
|
constructor(factory, face) {
|
|
@@ -3116,7 +2859,7 @@ class MenuItemData {
|
|
|
3116
2859
|
/**
|
|
3117
2860
|
*
|
|
3118
2861
|
*/
|
|
3119
|
-
|
|
2862
|
+
class TableRowMenuComponent extends DisposableComponent {
|
|
3120
2863
|
constructor() {
|
|
3121
2864
|
super();
|
|
3122
2865
|
this.actions = [];
|
|
@@ -3141,19 +2884,11 @@ let TableRowMenuComponent = class TableRowMenuComponent extends DisposableCompon
|
|
|
3141
2884
|
closeMoreMenu() {
|
|
3142
2885
|
this.menu.closeMenu();
|
|
3143
2886
|
}
|
|
3144
|
-
}
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
__decorate([
|
|
3150
|
-
ViewChild(MatMenuTrigger),
|
|
3151
|
-
__metadata("design:type", MatMenuTrigger)
|
|
3152
|
-
], TableRowMenuComponent.prototype, "menu", void 0);
|
|
3153
|
-
TableRowMenuComponent = __decorate([
|
|
3154
|
-
Component({
|
|
3155
|
-
selector: 'aup-table-row-menu',
|
|
3156
|
-
template: `
|
|
2887
|
+
}
|
|
2888
|
+
TableRowMenuComponent.decorators = [
|
|
2889
|
+
{ type: Component, args: [{
|
|
2890
|
+
selector: 'aup-table-row-menu',
|
|
2891
|
+
template: `
|
|
3157
2892
|
<aup-tool-bar>
|
|
3158
2893
|
<aup-command *ngFor="let action of actions" [command]="action.factory.create(value)"
|
|
3159
2894
|
[face]="action.faceModel"></aup-command>
|
|
@@ -3165,16 +2900,20 @@ TableRowMenuComponent = __decorate([
|
|
|
3165
2900
|
</aup-more-menu>
|
|
3166
2901
|
</ng-container>
|
|
3167
2902
|
`,
|
|
3168
|
-
|
|
2903
|
+
styles: [`:host {
|
|
3169
2904
|
display: inline-flex;
|
|
3170
2905
|
flex-direction: row;
|
|
3171
2906
|
align-items: center;
|
|
3172
2907
|
}`]
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
2908
|
+
},] }
|
|
2909
|
+
];
|
|
2910
|
+
TableRowMenuComponent.ctorParameters = () => [];
|
|
2911
|
+
TableRowMenuComponent.propDecorators = {
|
|
2912
|
+
value: [{ type: Input }],
|
|
2913
|
+
menu: [{ type: ViewChild, args: [MatMenuTrigger,] }]
|
|
2914
|
+
};
|
|
3176
2915
|
|
|
3177
|
-
|
|
2916
|
+
class VerticalFocusContainerComponent extends FocusContainerComponent {
|
|
3178
2917
|
constructor(focusManager) {
|
|
3179
2918
|
super(focusManager);
|
|
3180
2919
|
this.focusManager = focusManager;
|
|
@@ -3205,237 +2944,150 @@ let VerticalFocusContainerComponent = class VerticalFocusContainerComponent exte
|
|
|
3205
2944
|
}
|
|
3206
2945
|
ngOnInit() {
|
|
3207
2946
|
}
|
|
3208
|
-
}
|
|
2947
|
+
}
|
|
2948
|
+
VerticalFocusContainerComponent.decorators = [
|
|
2949
|
+
{ type: Component, args: [{
|
|
2950
|
+
selector: 'aup-vertical-focus-container',
|
|
2951
|
+
template: "<ng-content></ng-content>\n",
|
|
2952
|
+
providers: [
|
|
2953
|
+
{ provide: FocusManager }
|
|
2954
|
+
],
|
|
2955
|
+
styles: [":host{display:block}"]
|
|
2956
|
+
},] }
|
|
2957
|
+
];
|
|
3209
2958
|
VerticalFocusContainerComponent.ctorParameters = () => [
|
|
3210
2959
|
{ type: FocusManager, decorators: [{ type: Self }] }
|
|
3211
2960
|
];
|
|
2961
|
+
VerticalFocusContainerComponent.propDecorators = {
|
|
2962
|
+
rightArrowCommand: [{ type: Input, args: ['command.arrowRight',] }],
|
|
2963
|
+
leftArrowCommand: [{ type: Input, args: ['command.arrowLeft',] }],
|
|
2964
|
+
arrowLeft: [{ type: HostListener, args: ['keyup.arrowLeft', ['$event'],] }],
|
|
2965
|
+
arrowRight: [{ type: HostListener, args: ['keyup.arrowRight', ['$event'],] }],
|
|
2966
|
+
arrowDown: [{ type: HostListener, args: ['keyup.arrowDown', ['$event'],] }],
|
|
2967
|
+
arrowUp: [{ type: HostListener, args: ['keyup.arrowUp', ['$event'],] }]
|
|
2968
|
+
};
|
|
3212
2969
|
__decorate([
|
|
3213
|
-
Input('command.arrowRight'),
|
|
3214
2970
|
TrackExternal(),
|
|
3215
2971
|
__metadata("design:type", Command)
|
|
3216
2972
|
], VerticalFocusContainerComponent.prototype, "rightArrowCommand", void 0);
|
|
3217
2973
|
__decorate([
|
|
3218
|
-
Input('command.arrowLeft'),
|
|
3219
2974
|
TrackExternal(),
|
|
3220
2975
|
__metadata("design:type", Command)
|
|
3221
2976
|
], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
__metadata("design:type", Function),
|
|
3225
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
3226
|
-
__metadata("design:returntype", void 0)
|
|
3227
|
-
], VerticalFocusContainerComponent.prototype, "arrowLeft", null);
|
|
3228
|
-
__decorate([
|
|
3229
|
-
HostListener('keyup.arrowRight', ['$event']),
|
|
3230
|
-
__metadata("design:type", Function),
|
|
3231
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
3232
|
-
__metadata("design:returntype", void 0)
|
|
3233
|
-
], VerticalFocusContainerComponent.prototype, "arrowRight", null);
|
|
3234
|
-
__decorate([
|
|
3235
|
-
HostListener('keyup.arrowDown', ['$event']),
|
|
3236
|
-
__metadata("design:type", Function),
|
|
3237
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
3238
|
-
__metadata("design:returntype", void 0)
|
|
3239
|
-
], VerticalFocusContainerComponent.prototype, "arrowDown", null);
|
|
3240
|
-
__decorate([
|
|
3241
|
-
HostListener('keyup.arrowUp', ['$event']),
|
|
3242
|
-
__metadata("design:type", Function),
|
|
3243
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
3244
|
-
__metadata("design:returntype", void 0)
|
|
3245
|
-
], VerticalFocusContainerComponent.prototype, "arrowUp", null);
|
|
3246
|
-
VerticalFocusContainerComponent = __decorate([
|
|
3247
|
-
Component({
|
|
3248
|
-
selector: 'aup-vertical-focus-container',
|
|
3249
|
-
template: "<ng-content></ng-content>\n",
|
|
3250
|
-
providers: [
|
|
3251
|
-
{ provide: FocusManager }
|
|
3252
|
-
],
|
|
3253
|
-
styles: [":host{display:block}"]
|
|
3254
|
-
}),
|
|
3255
|
-
__param(0, Self()),
|
|
3256
|
-
__metadata("design:paramtypes", [FocusManager])
|
|
3257
|
-
], VerticalFocusContainerComponent);
|
|
3258
|
-
|
|
3259
|
-
let ComponentsModule = class ComponentsModule {
|
|
2977
|
+
|
|
2978
|
+
class ComponentsModule {
|
|
3260
2979
|
constructor(faIconLibrary) {
|
|
3261
2980
|
faIconLibrary.addIconPacks(fas);
|
|
3262
2981
|
}
|
|
3263
|
-
}
|
|
2982
|
+
}
|
|
2983
|
+
ComponentsModule.decorators = [
|
|
2984
|
+
{ type: NgModule, args: [{
|
|
2985
|
+
declarations: [
|
|
2986
|
+
AbstractInputComponent,
|
|
2987
|
+
AbstractValueInputComponent,
|
|
2988
|
+
AbstractListInputComponent,
|
|
2989
|
+
NumberInputComponent,
|
|
2990
|
+
StringInputComponent,
|
|
2991
|
+
TextInputComponent,
|
|
2992
|
+
PasswordInputComponent,
|
|
2993
|
+
SelectInputComponent,
|
|
2994
|
+
MultipleSelectInputComponent,
|
|
2995
|
+
AutocompleteInputComponent,
|
|
2996
|
+
CheckboxInputComponent,
|
|
2997
|
+
ScrollContainerComponent,
|
|
2998
|
+
NoopComponent,
|
|
2999
|
+
SwitchCaseComponent,
|
|
3000
|
+
SwitchCaseWhenDirective,
|
|
3001
|
+
SwitchCaseDefaultDirective,
|
|
3002
|
+
FocusContainerComponent,
|
|
3003
|
+
VerticalFocusContainerComponent,
|
|
3004
|
+
FocusableComponent,
|
|
3005
|
+
CardContainerComponent,
|
|
3006
|
+
TableComponent,
|
|
3007
|
+
EditRowControls,
|
|
3008
|
+
ColumnTemplateDirective,
|
|
3009
|
+
DefaultCellRendererComponent,
|
|
3010
|
+
TableCellRendererComponent,
|
|
3011
|
+
SelectCellRendererComponent,
|
|
3012
|
+
SelectHeaderCellRendererComponent,
|
|
3013
|
+
DefaultHeaderCellRendererComponent,
|
|
3014
|
+
TableHeaderCellRendererComponent,
|
|
3015
|
+
IconComponent,
|
|
3016
|
+
SectionHeaderComponent,
|
|
3017
|
+
TableRowMenuComponent,
|
|
3018
|
+
ToolBarComponent,
|
|
3019
|
+
CommandComponent,
|
|
3020
|
+
PopupMenuComponent,
|
|
3021
|
+
CommandGroupComponent,
|
|
3022
|
+
CommandFaceComponent,
|
|
3023
|
+
MoreMenuComponent,
|
|
3024
|
+
SeparatorComponent,
|
|
3025
|
+
FlexComponent,
|
|
3026
|
+
CommandGroupMenuRendererComponent,
|
|
3027
|
+
CommandGroupRendererComponent
|
|
3028
|
+
],
|
|
3029
|
+
imports: [
|
|
3030
|
+
CommonModule,
|
|
3031
|
+
BrowserAnimationsModule,
|
|
3032
|
+
FormsModule,
|
|
3033
|
+
MatInputModule,
|
|
3034
|
+
MatFormFieldModule,
|
|
3035
|
+
MatSelectModule,
|
|
3036
|
+
MatTabsModule,
|
|
3037
|
+
DirectivesModule,
|
|
3038
|
+
MatIconModule,
|
|
3039
|
+
MatButtonModule,
|
|
3040
|
+
MatCheckboxModule,
|
|
3041
|
+
MatTableModule,
|
|
3042
|
+
PortalModule,
|
|
3043
|
+
CdkScrollableModule,
|
|
3044
|
+
FontAwesomeModule,
|
|
3045
|
+
MatTooltipModule,
|
|
3046
|
+
MatAutocompleteModule,
|
|
3047
|
+
MatMenuModule,
|
|
3048
|
+
MatDividerModule
|
|
3049
|
+
],
|
|
3050
|
+
exports: [
|
|
3051
|
+
NumberInputComponent,
|
|
3052
|
+
StringInputComponent,
|
|
3053
|
+
TextInputComponent,
|
|
3054
|
+
PasswordInputComponent,
|
|
3055
|
+
CheckboxInputComponent,
|
|
3056
|
+
SelectInputComponent,
|
|
3057
|
+
MultipleSelectInputComponent,
|
|
3058
|
+
AutocompleteInputComponent,
|
|
3059
|
+
ScrollContainerComponent,
|
|
3060
|
+
NoopComponent,
|
|
3061
|
+
SwitchCaseComponent,
|
|
3062
|
+
SwitchCaseWhenDirective,
|
|
3063
|
+
SwitchCaseDefaultDirective,
|
|
3064
|
+
FocusContainerComponent,
|
|
3065
|
+
VerticalFocusContainerComponent,
|
|
3066
|
+
FocusableComponent,
|
|
3067
|
+
CardContainerComponent,
|
|
3068
|
+
TableComponent,
|
|
3069
|
+
EditRowControls,
|
|
3070
|
+
ColumnTemplateDirective,
|
|
3071
|
+
IconComponent,
|
|
3072
|
+
SectionHeaderComponent,
|
|
3073
|
+
TableRowMenuComponent,
|
|
3074
|
+
CommandGroupComponent,
|
|
3075
|
+
ToolBarComponent,
|
|
3076
|
+
CommandComponent,
|
|
3077
|
+
PopupMenuComponent,
|
|
3078
|
+
CommandFaceComponent,
|
|
3079
|
+
MoreMenuComponent,
|
|
3080
|
+
SeparatorComponent,
|
|
3081
|
+
FlexComponent
|
|
3082
|
+
],
|
|
3083
|
+
providers: [
|
|
3084
|
+
FocusBindingFactory
|
|
3085
|
+
]
|
|
3086
|
+
},] }
|
|
3087
|
+
];
|
|
3264
3088
|
ComponentsModule.ctorParameters = () => [
|
|
3265
3089
|
{ type: FaIconLibrary }
|
|
3266
3090
|
];
|
|
3267
|
-
ComponentsModule = __decorate([
|
|
3268
|
-
NgModule({
|
|
3269
|
-
declarations: [
|
|
3270
|
-
AbstractInputComponent,
|
|
3271
|
-
AbstractValueInputComponent,
|
|
3272
|
-
AbstractListInputComponent,
|
|
3273
|
-
NumberInputComponent,
|
|
3274
|
-
StringInputComponent,
|
|
3275
|
-
TextInputComponent,
|
|
3276
|
-
PasswordInputComponent,
|
|
3277
|
-
SelectInputComponent,
|
|
3278
|
-
MultipleSelectInputComponent,
|
|
3279
|
-
AutocompleteInputComponent,
|
|
3280
|
-
CheckboxInputComponent,
|
|
3281
|
-
ScrollContainerComponent,
|
|
3282
|
-
NoopComponent,
|
|
3283
|
-
SwitchCaseComponent,
|
|
3284
|
-
SwitchCaseWhenDirective,
|
|
3285
|
-
SwitchCaseDefaultDirective,
|
|
3286
|
-
FocusContainerComponent,
|
|
3287
|
-
VerticalFocusContainerComponent,
|
|
3288
|
-
FocusableComponent,
|
|
3289
|
-
CardContainerComponent,
|
|
3290
|
-
TableComponent,
|
|
3291
|
-
EditRowControls,
|
|
3292
|
-
ColumnTemplateDirective,
|
|
3293
|
-
DefaultCellRendererComponent,
|
|
3294
|
-
TableCellRendererComponent,
|
|
3295
|
-
SelectCellRendererComponent,
|
|
3296
|
-
SelectHeaderCellRendererComponent,
|
|
3297
|
-
DefaultHeaderCellRendererComponent,
|
|
3298
|
-
TableHeaderCellRendererComponent,
|
|
3299
|
-
IconComponent,
|
|
3300
|
-
SectionHeaderComponent,
|
|
3301
|
-
TableRowMenuComponent,
|
|
3302
|
-
ToolBarComponent,
|
|
3303
|
-
CommandComponent,
|
|
3304
|
-
PopupMenuComponent,
|
|
3305
|
-
CommandGroupComponent,
|
|
3306
|
-
CommandFaceComponent,
|
|
3307
|
-
MoreMenuComponent,
|
|
3308
|
-
SeparatorComponent,
|
|
3309
|
-
FlexComponent,
|
|
3310
|
-
CommandGroupMenuRendererComponent,
|
|
3311
|
-
CommandGroupRendererComponent
|
|
3312
|
-
],
|
|
3313
|
-
imports: [
|
|
3314
|
-
CommonModule,
|
|
3315
|
-
BrowserAnimationsModule,
|
|
3316
|
-
FormsModule,
|
|
3317
|
-
MatInputModule,
|
|
3318
|
-
MatFormFieldModule,
|
|
3319
|
-
MatSelectModule,
|
|
3320
|
-
MatTabsModule,
|
|
3321
|
-
DirectivesModule,
|
|
3322
|
-
MatIconModule,
|
|
3323
|
-
MatButtonModule,
|
|
3324
|
-
MatCheckboxModule,
|
|
3325
|
-
MatTableModule,
|
|
3326
|
-
PortalModule,
|
|
3327
|
-
CdkScrollableModule,
|
|
3328
|
-
FontAwesomeModule,
|
|
3329
|
-
MatTooltipModule,
|
|
3330
|
-
MatAutocompleteModule,
|
|
3331
|
-
MatMenuModule,
|
|
3332
|
-
MatDividerModule
|
|
3333
|
-
],
|
|
3334
|
-
exports: [
|
|
3335
|
-
NumberInputComponent,
|
|
3336
|
-
StringInputComponent,
|
|
3337
|
-
TextInputComponent,
|
|
3338
|
-
PasswordInputComponent,
|
|
3339
|
-
CheckboxInputComponent,
|
|
3340
|
-
SelectInputComponent,
|
|
3341
|
-
MultipleSelectInputComponent,
|
|
3342
|
-
AutocompleteInputComponent,
|
|
3343
|
-
ScrollContainerComponent,
|
|
3344
|
-
NoopComponent,
|
|
3345
|
-
SwitchCaseComponent,
|
|
3346
|
-
SwitchCaseWhenDirective,
|
|
3347
|
-
SwitchCaseDefaultDirective,
|
|
3348
|
-
FocusContainerComponent,
|
|
3349
|
-
VerticalFocusContainerComponent,
|
|
3350
|
-
FocusableComponent,
|
|
3351
|
-
CardContainerComponent,
|
|
3352
|
-
TableComponent,
|
|
3353
|
-
EditRowControls,
|
|
3354
|
-
ColumnTemplateDirective,
|
|
3355
|
-
IconComponent,
|
|
3356
|
-
SectionHeaderComponent,
|
|
3357
|
-
TableRowMenuComponent,
|
|
3358
|
-
CommandGroupComponent,
|
|
3359
|
-
ToolBarComponent,
|
|
3360
|
-
CommandComponent,
|
|
3361
|
-
PopupMenuComponent,
|
|
3362
|
-
CommandFaceComponent,
|
|
3363
|
-
MoreMenuComponent,
|
|
3364
|
-
SeparatorComponent,
|
|
3365
|
-
FlexComponent
|
|
3366
|
-
],
|
|
3367
|
-
providers: [
|
|
3368
|
-
FocusBindingFactory
|
|
3369
|
-
]
|
|
3370
|
-
}),
|
|
3371
|
-
__metadata("design:paramtypes", [FaIconLibrary])
|
|
3372
|
-
], ComponentsModule);
|
|
3373
|
-
|
|
3374
|
-
let ActivityActionsComponent = class ActivityActionsComponent extends DisposableComponent {
|
|
3375
|
-
constructor() {
|
|
3376
|
-
super(...arguments);
|
|
3377
|
-
this.align = 'start';
|
|
3378
|
-
}
|
|
3379
|
-
get alignEnd() {
|
|
3380
|
-
return this.align === 'end';
|
|
3381
|
-
}
|
|
3382
|
-
get alignStretch() {
|
|
3383
|
-
return this.align === 'stretch';
|
|
3384
|
-
}
|
|
3385
|
-
ngOnInit() {
|
|
3386
|
-
}
|
|
3387
|
-
hasConfirmText() {
|
|
3388
|
-
return !___default.isEmpty(this.confirmText);
|
|
3389
|
-
}
|
|
3390
|
-
hasCancelText() {
|
|
3391
|
-
return !___default.isEmpty(this.cancelText);
|
|
3392
|
-
}
|
|
3393
|
-
hasConfirmCommand() {
|
|
3394
|
-
return DelegatingCommand.hasDelegate(this.confirmCommand);
|
|
3395
|
-
}
|
|
3396
|
-
hasCancelCommand() {
|
|
3397
|
-
return DelegatingCommand.hasDelegate(this.cancelCommand);
|
|
3398
|
-
}
|
|
3399
|
-
};
|
|
3400
|
-
__decorate([
|
|
3401
|
-
Input(),
|
|
3402
|
-
TrackExternal(),
|
|
3403
|
-
__metadata("design:type", Command)
|
|
3404
|
-
], ActivityActionsComponent.prototype, "confirmCommand", void 0);
|
|
3405
|
-
__decorate([
|
|
3406
|
-
Input(),
|
|
3407
|
-
__metadata("design:type", String)
|
|
3408
|
-
], ActivityActionsComponent.prototype, "confirmText", void 0);
|
|
3409
|
-
__decorate([
|
|
3410
|
-
Input(),
|
|
3411
|
-
TrackExternal(),
|
|
3412
|
-
__metadata("design:type", Command)
|
|
3413
|
-
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
3414
|
-
__decorate([
|
|
3415
|
-
Input(),
|
|
3416
|
-
__metadata("design:type", String)
|
|
3417
|
-
], ActivityActionsComponent.prototype, "cancelText", void 0);
|
|
3418
|
-
__decorate([
|
|
3419
|
-
Input(),
|
|
3420
|
-
__metadata("design:type", String)
|
|
3421
|
-
], ActivityActionsComponent.prototype, "align", void 0);
|
|
3422
|
-
__decorate([
|
|
3423
|
-
HostBinding('class.align-end'),
|
|
3424
|
-
__metadata("design:type", Boolean),
|
|
3425
|
-
__metadata("design:paramtypes", [])
|
|
3426
|
-
], ActivityActionsComponent.prototype, "alignEnd", null);
|
|
3427
|
-
__decorate([
|
|
3428
|
-
HostBinding('class.align-stretch'),
|
|
3429
|
-
__metadata("design:type", Boolean),
|
|
3430
|
-
__metadata("design:paramtypes", [])
|
|
3431
|
-
], ActivityActionsComponent.prototype, "alignStretch", null);
|
|
3432
|
-
ActivityActionsComponent = __decorate([
|
|
3433
|
-
Component({
|
|
3434
|
-
selector: 'aup-activity-actions',
|
|
3435
|
-
template: "<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
|
|
3436
|
-
styles: [":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";-ms-grid-columns:auto 1fr auto;grid-template-columns:auto 1fr auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}:host.align-stretch>.cancel{-ms-grid-row:1;-ms-grid-column:1}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}:host.align-stretch>.confirm{-ms-grid-row:1;-ms-grid-column:3}.column{-ms-grid-row:1;-ms-grid-column:3;grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-row:1;-ms-grid-column:1}:host.align-stretch>.column{-ms-grid-row:1;-ms-grid-column:2}"]
|
|
3437
|
-
})
|
|
3438
|
-
], ActivityActionsComponent);
|
|
3439
3091
|
|
|
3440
3092
|
const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
|
|
3441
3093
|
class Activity extends DisposableComponent {
|
|
@@ -3487,38 +3139,87 @@ class Activity extends DisposableComponent {
|
|
|
3487
3139
|
return !!this._activityContext;
|
|
3488
3140
|
}
|
|
3489
3141
|
}
|
|
3142
|
+
Activity.decorators = [
|
|
3143
|
+
{ type: Component, args: [{
|
|
3144
|
+
template: ''
|
|
3145
|
+
},] }
|
|
3146
|
+
];
|
|
3147
|
+
Activity.propDecorators = {
|
|
3148
|
+
class: [{ type: HostBinding, args: ['class',] }],
|
|
3149
|
+
isFocused: [{ type: HostBinding, args: ['attr.focused',] }]
|
|
3150
|
+
};
|
|
3151
|
+
|
|
3152
|
+
class ActivityActionsComponent extends DisposableComponent {
|
|
3153
|
+
constructor() {
|
|
3154
|
+
super(...arguments);
|
|
3155
|
+
this.align = 'start';
|
|
3156
|
+
}
|
|
3157
|
+
get alignEnd() {
|
|
3158
|
+
return this.align === 'end';
|
|
3159
|
+
}
|
|
3160
|
+
get alignStretch() {
|
|
3161
|
+
return this.align === 'stretch';
|
|
3162
|
+
}
|
|
3163
|
+
ngOnInit() {
|
|
3164
|
+
}
|
|
3165
|
+
hasConfirmText() {
|
|
3166
|
+
return !_.isEmpty(this.confirmText);
|
|
3167
|
+
}
|
|
3168
|
+
hasCancelText() {
|
|
3169
|
+
return !_.isEmpty(this.cancelText);
|
|
3170
|
+
}
|
|
3171
|
+
hasConfirmCommand() {
|
|
3172
|
+
return DelegatingCommand.hasDelegate(this.confirmCommand);
|
|
3173
|
+
}
|
|
3174
|
+
hasCancelCommand() {
|
|
3175
|
+
return DelegatingCommand.hasDelegate(this.cancelCommand);
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
ActivityActionsComponent.decorators = [
|
|
3179
|
+
{ type: Component, args: [{
|
|
3180
|
+
selector: 'aup-activity-actions',
|
|
3181
|
+
template: "<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
|
|
3182
|
+
styles: [":host{-ms-grid-columns:auto auto 1fr;-ms-grid-rows:auto;align-items:center;display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;justify-content:end}:host.align-end{-ms-grid-columns:1fr auto auto;grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{-ms-grid-columns:auto 1fr auto;grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{-ms-grid-column:1;-ms-grid-row:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-column:2;-ms-grid-row:1}:host.align-stretch>.cancel{-ms-grid-column:1;-ms-grid-row:1}.confirm{-ms-grid-column:2;-ms-grid-row:1;grid-area:confirm}.column,:host.align-end>.confirm,:host.align-stretch>.confirm{-ms-grid-column:3;-ms-grid-row:1}.column{grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-column:1;-ms-grid-row:1}:host.align-stretch>.column{-ms-grid-column:2;-ms-grid-row:1}"]
|
|
3183
|
+
},] }
|
|
3184
|
+
];
|
|
3185
|
+
ActivityActionsComponent.propDecorators = {
|
|
3186
|
+
confirmCommand: [{ type: Input }],
|
|
3187
|
+
confirmText: [{ type: Input }],
|
|
3188
|
+
cancelCommand: [{ type: Input }],
|
|
3189
|
+
cancelText: [{ type: Input }],
|
|
3190
|
+
align: [{ type: Input }],
|
|
3191
|
+
alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
|
|
3192
|
+
alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
|
|
3193
|
+
};
|
|
3490
3194
|
__decorate([
|
|
3491
|
-
|
|
3492
|
-
__metadata("design:type",
|
|
3493
|
-
],
|
|
3195
|
+
TrackExternal(),
|
|
3196
|
+
__metadata("design:type", Command)
|
|
3197
|
+
], ActivityActionsComponent.prototype, "confirmCommand", void 0);
|
|
3494
3198
|
__decorate([
|
|
3495
|
-
|
|
3496
|
-
__metadata("design:type",
|
|
3497
|
-
|
|
3498
|
-
], Activity.prototype, "isFocused", null);
|
|
3199
|
+
TrackExternal(),
|
|
3200
|
+
__metadata("design:type", Command)
|
|
3201
|
+
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
3499
3202
|
|
|
3500
|
-
|
|
3203
|
+
class AlertDialogComponent extends Activity {
|
|
3501
3204
|
constructor(alert) {
|
|
3502
3205
|
super();
|
|
3503
3206
|
this.alert = alert;
|
|
3504
3207
|
}
|
|
3505
3208
|
ngOnInit() {
|
|
3506
3209
|
}
|
|
3507
|
-
}
|
|
3210
|
+
}
|
|
3211
|
+
AlertDialogComponent.decorators = [
|
|
3212
|
+
{ type: Component, args: [{
|
|
3213
|
+
selector: 'aup-alert-dialog',
|
|
3214
|
+
template: "<h3 matDialogTitle *ngIf=\"alert.title\">{{alert.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-raised-button color=\"primary\" (click)=\"done()\" data-cy=\"close-button\">{{alert.ok()}}</button>\n</div>\n",
|
|
3215
|
+
styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
|
|
3216
|
+
},] }
|
|
3217
|
+
];
|
|
3508
3218
|
AlertDialogComponent.ctorParameters = () => [
|
|
3509
3219
|
{ type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
|
|
3510
3220
|
];
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
selector: 'aup-alert-dialog',
|
|
3514
|
-
template: "<h3 matDialogTitle *ngIf=\"alert.title\">{{alert.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-raised-button color=\"primary\" (click)=\"done()\" data-cy=\"close-button\">{{alert.ok()}}</button>\n</div>\n",
|
|
3515
|
-
styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
|
|
3516
|
-
}),
|
|
3517
|
-
__param(0, Inject(ACTIVITY_DATA)),
|
|
3518
|
-
__metadata("design:paramtypes", [Object])
|
|
3519
|
-
], AlertDialogComponent);
|
|
3520
|
-
|
|
3521
|
-
let ConfirmThenDialogComponent = class ConfirmThenDialogComponent extends Activity {
|
|
3221
|
+
|
|
3222
|
+
class ConfirmThenDialogComponent extends Activity {
|
|
3522
3223
|
constructor(config) {
|
|
3523
3224
|
super();
|
|
3524
3225
|
this.config = config;
|
|
@@ -3537,21 +3238,19 @@ let ConfirmThenDialogComponent = class ConfirmThenDialogComponent extends Activi
|
|
|
3537
3238
|
.then((result) => this.done(result))
|
|
3538
3239
|
.catch(error => this.cancel(error));
|
|
3539
3240
|
}
|
|
3540
|
-
}
|
|
3241
|
+
}
|
|
3242
|
+
ConfirmThenDialogComponent.decorators = [
|
|
3243
|
+
{ type: Component, args: [{
|
|
3244
|
+
selector: 'aup-confirmation-dialog',
|
|
3245
|
+
template: "<h3 matDialogTitle *ngIf=\"confirm.title\">{{confirm.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-button (click)=\"cancel()\" data-cy=\"cancel-button\">{{confirm.cancel()}}</button>\n <button mat-raised-button [color]=\"isDestructive() ? 'warn' : 'primary'\"\n (click)=\"onConfirm()\" data-cy=\"confirm-button\">{{confirm.ok()}}</button>\n</div>\n\n",
|
|
3246
|
+
styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
|
|
3247
|
+
},] }
|
|
3248
|
+
];
|
|
3541
3249
|
ConfirmThenDialogComponent.ctorParameters = () => [
|
|
3542
3250
|
{ type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
|
|
3543
3251
|
];
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
selector: 'aup-confirmation-dialog',
|
|
3547
|
-
template: "<h3 matDialogTitle *ngIf=\"confirm.title\">{{confirm.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-button (click)=\"cancel()\" data-cy=\"cancel-button\">{{confirm.cancel()}}</button>\n <button mat-raised-button [color]=\"isDestructive() ? 'warn' : 'primary'\"\n (click)=\"onConfirm()\" data-cy=\"confirm-button\">{{confirm.ok()}}</button>\n</div>\n\n",
|
|
3548
|
-
styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
|
|
3549
|
-
}),
|
|
3550
|
-
__param(0, Inject(ACTIVITY_DATA)),
|
|
3551
|
-
__metadata("design:paramtypes", [Object])
|
|
3552
|
-
], ConfirmThenDialogComponent);
|
|
3553
|
-
|
|
3554
|
-
let ConfirmationDialogComponent = class ConfirmationDialogComponent extends Activity {
|
|
3252
|
+
|
|
3253
|
+
class ConfirmationDialogComponent extends Activity {
|
|
3555
3254
|
constructor(confirm) {
|
|
3556
3255
|
super();
|
|
3557
3256
|
this.confirm = confirm;
|
|
@@ -3562,19 +3261,17 @@ let ConfirmationDialogComponent = class ConfirmationDialogComponent extends Acti
|
|
|
3562
3261
|
isDestructive() {
|
|
3563
3262
|
return this.confirm.destructive && this.confirm.destructive();
|
|
3564
3263
|
}
|
|
3565
|
-
}
|
|
3264
|
+
}
|
|
3265
|
+
ConfirmationDialogComponent.decorators = [
|
|
3266
|
+
{ type: Component, args: [{
|
|
3267
|
+
selector: 'aup-confirmation-dialog',
|
|
3268
|
+
template: "<h3 matDialogTitle *ngIf=\"confirm.title\">{{confirm.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-button (click)=\"cancel()\" data-cy=\"cancel-button\">{{confirm.cancel()}}</button>\n <button mat-raised-button [color]=\"isDestructive() ? 'warn' : 'primary'\"\n (click)=\"done()\" data-cy=\"confirm-button\">{{confirm.ok()}}</button>\n</div>\n\n",
|
|
3269
|
+
styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
|
|
3270
|
+
},] }
|
|
3271
|
+
];
|
|
3566
3272
|
ConfirmationDialogComponent.ctorParameters = () => [
|
|
3567
3273
|
{ type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
|
|
3568
3274
|
];
|
|
3569
|
-
ConfirmationDialogComponent = __decorate([
|
|
3570
|
-
Component({
|
|
3571
|
-
selector: 'aup-confirmation-dialog',
|
|
3572
|
-
template: "<h3 matDialogTitle *ngIf=\"confirm.title\">{{confirm.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-button (click)=\"cancel()\" data-cy=\"cancel-button\">{{confirm.cancel()}}</button>\n <button mat-raised-button [color]=\"isDestructive() ? 'warn' : 'primary'\"\n (click)=\"done()\" data-cy=\"confirm-button\">{{confirm.ok()}}</button>\n</div>\n\n",
|
|
3573
|
-
styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
|
|
3574
|
-
}),
|
|
3575
|
-
__param(0, Inject(ACTIVITY_DATA)),
|
|
3576
|
-
__metadata("design:paramtypes", [Object])
|
|
3577
|
-
], ConfirmationDialogComponent);
|
|
3578
3275
|
|
|
3579
3276
|
class AbstractInteractionContext {
|
|
3580
3277
|
startActivity(activityType, data, options) {
|
|
@@ -3665,7 +3362,7 @@ class ActivityRef {
|
|
|
3665
3362
|
* ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an
|
|
3666
3363
|
* external service.
|
|
3667
3364
|
*/
|
|
3668
|
-
|
|
3365
|
+
class ActivityOutletComponent {
|
|
3669
3366
|
constructor(componentFactoryResolver, viewContainerRef, injector) {
|
|
3670
3367
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
3671
3368
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -3700,33 +3397,25 @@ let ActivityOutletComponent = class ActivityOutletComponent {
|
|
|
3700
3397
|
get component() {
|
|
3701
3398
|
return this.activityComponentRef.instance;
|
|
3702
3399
|
}
|
|
3703
|
-
}
|
|
3400
|
+
}
|
|
3401
|
+
ActivityOutletComponent.decorators = [
|
|
3402
|
+
{ type: Component, args: [{
|
|
3403
|
+
selector: 'aup-activity-outlet',
|
|
3404
|
+
template: '',
|
|
3405
|
+
styles: [":host{display:block}"]
|
|
3406
|
+
},] }
|
|
3407
|
+
];
|
|
3704
3408
|
ActivityOutletComponent.ctorParameters = () => [
|
|
3705
3409
|
{ type: ComponentFactoryResolver },
|
|
3706
3410
|
{ type: ViewContainerRef },
|
|
3707
3411
|
{ type: Injector }
|
|
3708
3412
|
];
|
|
3709
|
-
|
|
3710
|
-
Input
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
__metadata("design:type", ActivityRef),
|
|
3716
|
-
__metadata("design:paramtypes", [ActivityRef])
|
|
3717
|
-
], ActivityOutletComponent.prototype, "activityRef", null);
|
|
3718
|
-
ActivityOutletComponent = __decorate([
|
|
3719
|
-
Component({
|
|
3720
|
-
selector: 'aup-activity-outlet',
|
|
3721
|
-
template: '',
|
|
3722
|
-
styles: [":host{display:block}"]
|
|
3723
|
-
}),
|
|
3724
|
-
__metadata("design:paramtypes", [ComponentFactoryResolver,
|
|
3725
|
-
ViewContainerRef,
|
|
3726
|
-
Injector])
|
|
3727
|
-
], ActivityOutletComponent);
|
|
3728
|
-
|
|
3729
|
-
let ActivityContainerComponent = class ActivityContainerComponent extends AbstractInteractionContext {
|
|
3413
|
+
ActivityOutletComponent.propDecorators = {
|
|
3414
|
+
nestedInteractionContext: [{ type: Input }],
|
|
3415
|
+
activityRef: [{ type: Input }]
|
|
3416
|
+
};
|
|
3417
|
+
|
|
3418
|
+
class ActivityContainerComponent extends AbstractInteractionContext {
|
|
3730
3419
|
constructor() {
|
|
3731
3420
|
super();
|
|
3732
3421
|
this.dynamicHeight = false;
|
|
@@ -3775,7 +3464,7 @@ let ActivityContainerComponent = class ActivityContainerComponent extends Abstra
|
|
|
3775
3464
|
if (!this.isActive()) {
|
|
3776
3465
|
lang$1.illegalState('no activity in progress');
|
|
3777
3466
|
}
|
|
3778
|
-
return
|
|
3467
|
+
return _.findLast(this.activityRefs, tab => !tab.isComplete());
|
|
3779
3468
|
}
|
|
3780
3469
|
/**
|
|
3781
3470
|
* Cancels the current activity and returns true the context is no longer active, false if
|
|
@@ -3902,27 +3591,20 @@ let ActivityContainerComponent = class ActivityContainerComponent extends Abstra
|
|
|
3902
3591
|
this.synchroniseSelectedTabIndex();
|
|
3903
3592
|
}, 75);
|
|
3904
3593
|
}
|
|
3594
|
+
}
|
|
3595
|
+
ActivityContainerComponent.decorators = [
|
|
3596
|
+
{ type: Component, args: [{
|
|
3597
|
+
selector: 'aup-activity-container',
|
|
3598
|
+
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n",
|
|
3599
|
+
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
3600
|
+
},] }
|
|
3601
|
+
];
|
|
3602
|
+
ActivityContainerComponent.ctorParameters = () => [];
|
|
3603
|
+
ActivityContainerComponent.propDecorators = {
|
|
3604
|
+
dynamicHeight: [{ type: Input }],
|
|
3605
|
+
tabs: [{ type: ViewChild, args: ['tabs', { static: true },] }],
|
|
3606
|
+
activityOutlets: [{ type: ViewChildren, args: [ActivityOutletComponent,] }]
|
|
3905
3607
|
};
|
|
3906
|
-
__decorate([
|
|
3907
|
-
Input(),
|
|
3908
|
-
__metadata("design:type", Object)
|
|
3909
|
-
], ActivityContainerComponent.prototype, "dynamicHeight", void 0);
|
|
3910
|
-
__decorate([
|
|
3911
|
-
ViewChild('tabs', { static: true }),
|
|
3912
|
-
__metadata("design:type", MatTabGroup)
|
|
3913
|
-
], ActivityContainerComponent.prototype, "tabs", void 0);
|
|
3914
|
-
__decorate([
|
|
3915
|
-
ViewChildren(ActivityOutletComponent),
|
|
3916
|
-
__metadata("design:type", QueryList)
|
|
3917
|
-
], ActivityContainerComponent.prototype, "activityOutlets", void 0);
|
|
3918
|
-
ActivityContainerComponent = __decorate([
|
|
3919
|
-
Component({
|
|
3920
|
-
selector: 'aup-activity-container',
|
|
3921
|
-
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n",
|
|
3922
|
-
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
3923
|
-
}),
|
|
3924
|
-
__metadata("design:paramtypes", [])
|
|
3925
|
-
], ActivityContainerComponent);
|
|
3926
3608
|
|
|
3927
3609
|
class InteractionServiceRoutingAdapter {
|
|
3928
3610
|
constructor(activeInteractionContextIds, activeModalContext, createExclusiveInteractionContext) {
|
|
@@ -3956,9 +3638,8 @@ class InteractionServiceRoutingAdapter {
|
|
|
3956
3638
|
class ModalInteractionContextFactory {
|
|
3957
3639
|
}
|
|
3958
3640
|
|
|
3959
|
-
var InteractionService_1;
|
|
3960
3641
|
let inplaceMonitorCount = 0;
|
|
3961
|
-
|
|
3642
|
+
class InteractionService {
|
|
3962
3643
|
constructor(modelInteractionContextFactory) {
|
|
3963
3644
|
this.modelInteractionContextFactory = modelInteractionContextFactory;
|
|
3964
3645
|
this.garbage = new GarbageCollector();
|
|
@@ -3967,9 +3648,9 @@ let InteractionService = InteractionService_1 = class InteractionService {
|
|
|
3967
3648
|
// private readonly _activeContext: ValueModelChain<InteractionContext>;
|
|
3968
3649
|
this._navigationInProgress = new DelegatingValueModel().withDefault(false);
|
|
3969
3650
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this.garbage);
|
|
3970
|
-
this.exclusiveInteractionRegistry = new
|
|
3971
|
-
this.modalInteractionRegistry = new
|
|
3972
|
-
this.inPlaceInteractionRegistry = new
|
|
3651
|
+
this.exclusiveInteractionRegistry = new InteractionService.ContextRegistry();
|
|
3652
|
+
this.modalInteractionRegistry = new InteractionService.ContextRegistry();
|
|
3653
|
+
this.inPlaceInteractionRegistry = new InteractionService.ContextRegistry();
|
|
3973
3654
|
this.modalInteractionRegistry.disableWhen(valueOf.any(this.exclusiveInteractionRegistry.active, this.modalInteractionRegistry.active).areTruthy());
|
|
3974
3655
|
this.inPlaceInteractionRegistry.disableWhen(valueOf.any(this.exclusiveInteractionRegistry.active, this.modalInteractionRegistry.active, this.inPlaceInteractionRegistry.active).areTruthy());
|
|
3975
3656
|
this.active = valueOf.any(this.inPlaceInteractionRegistry.active, this.modalInteractionRegistry.active).areTruthy();
|
|
@@ -3995,13 +3676,13 @@ let InteractionService = InteractionService_1 = class InteractionService {
|
|
|
3995
3676
|
*/
|
|
3996
3677
|
createModalInteractionContextDisposedWith(disposable) {
|
|
3997
3678
|
// TODO: look at making the registry the factory..
|
|
3998
|
-
return this.modelInteractionContextFactory.createInteractionContext('modal', new
|
|
3679
|
+
return this.modelInteractionContextFactory.createInteractionContext('modal', new InteractionService.ApiAdapter(this.placeRouter, this.modalInteractionRegistry));
|
|
3999
3680
|
}
|
|
4000
3681
|
registerInplaceInteractionContext(interactionContext) {
|
|
4001
3682
|
// TODO: look at making the registry the factory..
|
|
4002
3683
|
// Todo: check for double registration.
|
|
4003
3684
|
// Todo: allow multiple inplace interactions..
|
|
4004
|
-
interactionContext.initialise(`ip${++inplaceMonitorCount}`, new
|
|
3685
|
+
interactionContext.initialise(`ip${++inplaceMonitorCount}`, new InteractionService.ApiAdapter(this.placeRouter, this.inPlaceInteractionRegistry));
|
|
4005
3686
|
}
|
|
4006
3687
|
/**
|
|
4007
3688
|
* Creates an interaction context that will prevent any other contexts from starting an
|
|
@@ -4016,20 +3697,19 @@ let InteractionService = InteractionService_1 = class InteractionService {
|
|
|
4016
3697
|
this._navigationInProgress.setDelegate(this.placeRouter.navigationInProgress);
|
|
4017
3698
|
const self = this;
|
|
4018
3699
|
return new InteractionServiceRoutingAdapter(this.activeInteractionContextIds, this.activeModalContext, () => {
|
|
4019
|
-
return self.modelInteractionContextFactory.createInteractionContext('exclusive', new
|
|
3700
|
+
return self.modelInteractionContextFactory.createInteractionContext('exclusive', new InteractionService.ApiAdapter(this.placeRouter, this.exclusiveInteractionRegistry));
|
|
4020
3701
|
});
|
|
4021
3702
|
}
|
|
4022
|
-
}
|
|
3703
|
+
}
|
|
3704
|
+
InteractionService.ɵprov = ɵɵdefineInjectable({ factory: function InteractionService_Factory() { return new InteractionService(ɵɵinject(ModalInteractionContextFactory)); }, token: InteractionService, providedIn: "root" });
|
|
3705
|
+
InteractionService.decorators = [
|
|
3706
|
+
{ type: Injectable, args: [{
|
|
3707
|
+
providedIn: 'root'
|
|
3708
|
+
},] }
|
|
3709
|
+
];
|
|
4023
3710
|
InteractionService.ctorParameters = () => [
|
|
4024
3711
|
{ type: ModalInteractionContextFactory }
|
|
4025
3712
|
];
|
|
4026
|
-
InteractionService.ɵprov = ɵɵdefineInjectable({ factory: function InteractionService_Factory() { return new InteractionService(ɵɵinject(ModalInteractionContextFactory)); }, token: InteractionService, providedIn: "root" });
|
|
4027
|
-
InteractionService = InteractionService_1 = __decorate([
|
|
4028
|
-
Injectable({
|
|
4029
|
-
providedIn: 'root'
|
|
4030
|
-
}),
|
|
4031
|
-
__metadata("design:paramtypes", [ModalInteractionContextFactory])
|
|
4032
|
-
], InteractionService);
|
|
4033
3713
|
(function (InteractionService) {
|
|
4034
3714
|
/**
|
|
4035
3715
|
* Provides a mechanism for the service to keep track of what the API adapters are doing to
|
|
@@ -4093,7 +3773,7 @@ InteractionService = InteractionService_1 = __decorate([
|
|
|
4093
3773
|
InteractionService.ApiAdapter = ApiAdapter;
|
|
4094
3774
|
})(InteractionService || (InteractionService = {}));
|
|
4095
3775
|
|
|
4096
|
-
|
|
3776
|
+
class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
4097
3777
|
constructor(interactionService, tabConfig) {
|
|
4098
3778
|
super();
|
|
4099
3779
|
this.interactionService = interactionService;
|
|
@@ -4138,28 +3818,22 @@ let InPlaceInteractionContextComponent = class InPlaceInteractionContextComponen
|
|
|
4138
3818
|
startActivity(activityType, data, options) {
|
|
4139
3819
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
4140
3820
|
}
|
|
4141
|
-
}
|
|
3821
|
+
}
|
|
3822
|
+
InPlaceInteractionContextComponent.decorators = [
|
|
3823
|
+
{ type: Component, args: [{
|
|
3824
|
+
selector: 'aup-in-place-interaction-context',
|
|
3825
|
+
template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs [dynamicHeight]=\"false\" [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n",
|
|
3826
|
+
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
3827
|
+
},] }
|
|
3828
|
+
];
|
|
4142
3829
|
InPlaceInteractionContextComponent.ctorParameters = () => [
|
|
4143
3830
|
{ type: InteractionService },
|
|
4144
3831
|
{ type: undefined, decorators: [{ type: Inject, args: [MAT_TABS_CONFIG,] }, { type: Optional }] }
|
|
4145
3832
|
];
|
|
4146
|
-
|
|
4147
|
-
ViewChild
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
__decorate([
|
|
4151
|
-
Input(),
|
|
4152
|
-
__metadata("design:type", Object)
|
|
4153
|
-
], InPlaceInteractionContextComponent.prototype, "animateFirstActivity", void 0);
|
|
4154
|
-
InPlaceInteractionContextComponent = __decorate([
|
|
4155
|
-
Component({
|
|
4156
|
-
selector: 'aup-in-place-interaction-context',
|
|
4157
|
-
template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs [dynamicHeight]=\"false\" [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n",
|
|
4158
|
-
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
4159
|
-
}),
|
|
4160
|
-
__param(1, Inject(MAT_TABS_CONFIG)), __param(1, Optional()),
|
|
4161
|
-
__metadata("design:paramtypes", [InteractionService, Object])
|
|
4162
|
-
], InPlaceInteractionContextComponent);
|
|
3833
|
+
InPlaceInteractionContextComponent.propDecorators = {
|
|
3834
|
+
activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
|
|
3835
|
+
animateFirstActivity: [{ type: Input }]
|
|
3836
|
+
};
|
|
4163
3837
|
|
|
4164
3838
|
/**
|
|
4165
3839
|
* Css Vars.
|
|
@@ -4170,7 +3844,7 @@ InPlaceInteractionContextComponent = __decorate([
|
|
|
4170
3844
|
* --link-border-radius
|
|
4171
3845
|
* --link-padding
|
|
4172
3846
|
*/
|
|
4173
|
-
|
|
3847
|
+
class AddItemInteractionContextComponent extends DisposableComponent {
|
|
4174
3848
|
constructor() {
|
|
4175
3849
|
super();
|
|
4176
3850
|
this.icon = "mat:add";
|
|
@@ -4194,51 +3868,31 @@ let AddItemInteractionContextComponent = class AddItemInteractionContextComponen
|
|
|
4194
3868
|
}
|
|
4195
3869
|
ngOnInit() {
|
|
4196
3870
|
}
|
|
3871
|
+
}
|
|
3872
|
+
AddItemInteractionContextComponent.decorators = [
|
|
3873
|
+
{ type: Component, args: [{
|
|
3874
|
+
selector: 'aup-add-item-interaction-context',
|
|
3875
|
+
template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
|
|
3876
|
+
styles: [":host{--def-link-background:var(--link-background,transparent);--def-link-background-hover:var(--link-background-hover,rgba(0,0,0,0.05));--def-link-border-radius:var(--link-border-radius,4px);--def-link-color:var(--link-color,currentColor);--def-link-color-hover:var(--link-color-hover,currentColor);--def-link-padding:var(--link-padding,calc(var(--aup-default-padding)/2));border-radius:var(--def-link-border-radius);box-sizing:border-box;display:flex;flex-direction:column;outline:none}:host:hover a.link{background-color:var(--def-link-background-hover);color:var(--def-link-color-hover)}a.link,aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{align-items:center;background:var(--def-link-background);color:var(--def-link-color);cursor:pointer;display:flex;flex-direction:row;padding:var(--def-link-padding);text-decoration:none}a.link mat-icon{margin-right:8px}"]
|
|
3877
|
+
},] }
|
|
3878
|
+
];
|
|
3879
|
+
AddItemInteractionContextComponent.ctorParameters = () => [];
|
|
3880
|
+
AddItemInteractionContextComponent.propDecorators = {
|
|
3881
|
+
label: [{ type: Input }],
|
|
3882
|
+
icon: [{ type: Input }],
|
|
3883
|
+
activityClass: [{ type: Input }],
|
|
3884
|
+
activityData: [{ type: Input }],
|
|
3885
|
+
addCommand: [{ type: Input }],
|
|
3886
|
+
interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
|
|
3887
|
+
active: [{ type: HostBinding, args: ['class.interaction-active',] }],
|
|
3888
|
+
tabindex: [{ type: HostBinding, args: ['tabindex',] }]
|
|
4197
3889
|
};
|
|
4198
3890
|
__decorate([
|
|
4199
|
-
Input(),
|
|
4200
|
-
__metadata("design:type", String)
|
|
4201
|
-
], AddItemInteractionContextComponent.prototype, "label", void 0);
|
|
4202
|
-
__decorate([
|
|
4203
|
-
Input(),
|
|
4204
|
-
__metadata("design:type", Object)
|
|
4205
|
-
], AddItemInteractionContextComponent.prototype, "icon", void 0);
|
|
4206
|
-
__decorate([
|
|
4207
|
-
Input(),
|
|
4208
|
-
__metadata("design:type", Object)
|
|
4209
|
-
], AddItemInteractionContextComponent.prototype, "activityClass", void 0);
|
|
4210
|
-
__decorate([
|
|
4211
|
-
Input(),
|
|
4212
|
-
__metadata("design:type", Object)
|
|
4213
|
-
], AddItemInteractionContextComponent.prototype, "activityData", void 0);
|
|
4214
|
-
__decorate([
|
|
4215
|
-
Input(),
|
|
4216
3891
|
TrackExternal(),
|
|
4217
3892
|
__metadata("design:type", Command)
|
|
4218
3893
|
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
4219
|
-
__decorate([
|
|
4220
|
-
ViewChild(InPlaceInteractionContextComponent),
|
|
4221
|
-
__metadata("design:type", InPlaceInteractionContextComponent)
|
|
4222
|
-
], AddItemInteractionContextComponent.prototype, "interactionContext", void 0);
|
|
4223
|
-
__decorate([
|
|
4224
|
-
HostBinding('class.interaction-active'),
|
|
4225
|
-
__metadata("design:type", Boolean),
|
|
4226
|
-
__metadata("design:paramtypes", [])
|
|
4227
|
-
], AddItemInteractionContextComponent.prototype, "active", null);
|
|
4228
|
-
__decorate([
|
|
4229
|
-
HostBinding('tabindex'),
|
|
4230
|
-
__metadata("design:type", Object)
|
|
4231
|
-
], AddItemInteractionContextComponent.prototype, "tabindex", void 0);
|
|
4232
|
-
AddItemInteractionContextComponent = __decorate([
|
|
4233
|
-
Component({
|
|
4234
|
-
selector: 'aup-add-item-interaction-context',
|
|
4235
|
-
template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
|
|
4236
|
-
styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-color-hover:var(--link-color-hover, currentColor);--def-link-background:var(--link-background, transparent);--def-link-background-hover:var(--link-background-hover, rgba(0, 0, 0, 0.05));--def-link-border-radius:var(--link-border-radius, 4px);--def-link-padding:var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:0}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
|
|
4237
|
-
}),
|
|
4238
|
-
__metadata("design:paramtypes", [])
|
|
4239
|
-
], AddItemInteractionContextComponent);
|
|
4240
3894
|
|
|
4241
|
-
|
|
3895
|
+
class PopupInteractionContextComponent extends DisposableComponent {
|
|
4242
3896
|
constructor(_element, _overlay, scrollable) {
|
|
4243
3897
|
super();
|
|
4244
3898
|
this._element = _element;
|
|
@@ -4305,36 +3959,26 @@ let PopupInteractionContextComponent = class PopupInteractionContextComponent ex
|
|
|
4305
3959
|
}
|
|
4306
3960
|
ngOnInit() {
|
|
4307
3961
|
}
|
|
4308
|
-
}
|
|
3962
|
+
}
|
|
3963
|
+
PopupInteractionContextComponent.decorators = [
|
|
3964
|
+
{ type: Component, args: [{
|
|
3965
|
+
selector: 'aup-popup-interaction-context',
|
|
3966
|
+
template: "<ng-content></ng-content>\n",
|
|
3967
|
+
styles: [":host{display:inline}:host.interaction-active{background:rgba(0,0,0,.05)}"]
|
|
3968
|
+
},] }
|
|
3969
|
+
];
|
|
4309
3970
|
PopupInteractionContextComponent.ctorParameters = () => [
|
|
4310
3971
|
{ type: ElementRef },
|
|
4311
3972
|
{ type: Overlay },
|
|
4312
3973
|
{ type: CdkScrollable, decorators: [{ type: Optional }, { type: SkipSelf }] }
|
|
4313
3974
|
];
|
|
4314
|
-
|
|
4315
|
-
HostBinding
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
__metadata("design:type", String)
|
|
4322
|
-
], PopupInteractionContextComponent.prototype, "anchorX", void 0);
|
|
4323
|
-
__decorate([
|
|
4324
|
-
Input(),
|
|
4325
|
-
__metadata("design:type", String)
|
|
4326
|
-
], PopupInteractionContextComponent.prototype, "anchorY", void 0);
|
|
4327
|
-
PopupInteractionContextComponent = __decorate([
|
|
4328
|
-
Component({
|
|
4329
|
-
selector: 'aup-popup-interaction-context',
|
|
4330
|
-
template: "<ng-content></ng-content>\n",
|
|
4331
|
-
styles: [":host{display:inline}:host.interaction-active{background:rgba(0,0,0,.05)}"]
|
|
4332
|
-
}),
|
|
4333
|
-
__param(2, Optional()), __param(2, SkipSelf()),
|
|
4334
|
-
__metadata("design:paramtypes", [ElementRef, Overlay, CdkScrollable])
|
|
4335
|
-
], PopupInteractionContextComponent);
|
|
4336
|
-
|
|
4337
|
-
let InteractionContextTriggerFor = class InteractionContextTriggerFor extends GarbageCollector {
|
|
3975
|
+
PopupInteractionContextComponent.propDecorators = {
|
|
3976
|
+
active: [{ type: HostBinding, args: ['class.interaction-active',] }],
|
|
3977
|
+
anchorX: [{ type: Input }],
|
|
3978
|
+
anchorY: [{ type: Input }]
|
|
3979
|
+
};
|
|
3980
|
+
|
|
3981
|
+
class InteractionContextTriggerFor extends GarbageCollector {
|
|
4338
3982
|
constructor() {
|
|
4339
3983
|
super();
|
|
4340
3984
|
this.activityDone = new EventEmitter();
|
|
@@ -4373,56 +4017,30 @@ let InteractionContextTriggerFor = class InteractionContextTriggerFor extends Ga
|
|
|
4373
4017
|
});
|
|
4374
4018
|
}
|
|
4375
4019
|
prepareActivityData() {
|
|
4376
|
-
return
|
|
4020
|
+
return _.isFunction(this.activityDataFactory()) ? this.activityDataFactory() : this.activityData;
|
|
4377
4021
|
}
|
|
4022
|
+
}
|
|
4023
|
+
InteractionContextTriggerFor.decorators = [
|
|
4024
|
+
{ type: Directive, args: [{
|
|
4025
|
+
selector: '[aupInteractionContextTriggerFor]'
|
|
4026
|
+
},] }
|
|
4027
|
+
];
|
|
4028
|
+
InteractionContextTriggerFor.ctorParameters = () => [];
|
|
4029
|
+
InteractionContextTriggerFor.propDecorators = {
|
|
4030
|
+
aupInteractionContextTriggerFor: [{ type: Input }],
|
|
4031
|
+
activityClass: [{ type: Input }],
|
|
4032
|
+
activityData: [{ type: Input }],
|
|
4033
|
+
activityDataFactory: [{ type: Input }],
|
|
4034
|
+
activityDone: [{ type: Output }],
|
|
4035
|
+
activityCancelled: [{ type: Output }],
|
|
4036
|
+
onEnter: [{ type: HostListener, args: ['keyup.enter', ['$event'],] }],
|
|
4037
|
+
onClick: [{ type: HostListener, args: ['click', ['$event'],] }]
|
|
4378
4038
|
};
|
|
4379
|
-
__decorate([
|
|
4380
|
-
Input(),
|
|
4381
|
-
__metadata("design:type", Object)
|
|
4382
|
-
], InteractionContextTriggerFor.prototype, "aupInteractionContextTriggerFor", void 0);
|
|
4383
|
-
__decorate([
|
|
4384
|
-
Input(),
|
|
4385
|
-
__metadata("design:type", Object)
|
|
4386
|
-
], InteractionContextTriggerFor.prototype, "activityClass", void 0);
|
|
4387
|
-
__decorate([
|
|
4388
|
-
Input(),
|
|
4389
|
-
__metadata("design:type", Object)
|
|
4390
|
-
], InteractionContextTriggerFor.prototype, "activityData", void 0);
|
|
4391
|
-
__decorate([
|
|
4392
|
-
Input(),
|
|
4393
|
-
__metadata("design:type", Function)
|
|
4394
|
-
], InteractionContextTriggerFor.prototype, "activityDataFactory", void 0);
|
|
4395
|
-
__decorate([
|
|
4396
|
-
Output(),
|
|
4397
|
-
__metadata("design:type", Object)
|
|
4398
|
-
], InteractionContextTriggerFor.prototype, "activityDone", void 0);
|
|
4399
|
-
__decorate([
|
|
4400
|
-
Output(),
|
|
4401
|
-
__metadata("design:type", Object)
|
|
4402
|
-
], InteractionContextTriggerFor.prototype, "activityCancelled", void 0);
|
|
4403
|
-
__decorate([
|
|
4404
|
-
HostListener('keyup.enter', ['$event']),
|
|
4405
|
-
__metadata("design:type", Function),
|
|
4406
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
4407
|
-
__metadata("design:returntype", void 0)
|
|
4408
|
-
], InteractionContextTriggerFor.prototype, "onEnter", null);
|
|
4409
|
-
__decorate([
|
|
4410
|
-
HostListener('click', ['$event']),
|
|
4411
|
-
__metadata("design:type", Function),
|
|
4412
|
-
__metadata("design:paramtypes", [MouseEvent]),
|
|
4413
|
-
__metadata("design:returntype", void 0)
|
|
4414
|
-
], InteractionContextTriggerFor.prototype, "onClick", null);
|
|
4415
|
-
InteractionContextTriggerFor = __decorate([
|
|
4416
|
-
Directive({
|
|
4417
|
-
selector: '[aupInteractionContextTriggerFor]'
|
|
4418
|
-
}),
|
|
4419
|
-
__metadata("design:paramtypes", [])
|
|
4420
|
-
], InteractionContextTriggerFor);
|
|
4421
4039
|
|
|
4422
4040
|
// @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
|
|
4423
4041
|
// we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
|
|
4424
4042
|
// @dynamic
|
|
4425
|
-
|
|
4043
|
+
class AbstractInputActivity extends Activity {
|
|
4426
4044
|
constructor(data) {
|
|
4427
4045
|
super();
|
|
4428
4046
|
this.data = data;
|
|
@@ -4448,26 +4066,23 @@ let AbstractInputActivity = class AbstractInputActivity extends Activity {
|
|
|
4448
4066
|
onActivityReady() {
|
|
4449
4067
|
this.valueModel.focusContext.requestFocus();
|
|
4450
4068
|
}
|
|
4451
|
-
}
|
|
4069
|
+
}
|
|
4070
|
+
AbstractInputActivity.decorators = [
|
|
4071
|
+
{ type: Component, args: [{ template: `` },] }
|
|
4072
|
+
];
|
|
4452
4073
|
AbstractInputActivity.ctorParameters = () => [
|
|
4453
4074
|
{ type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
|
|
4454
4075
|
];
|
|
4455
|
-
|
|
4456
|
-
HostBinding
|
|
4457
|
-
__metadata("design:type", Object)
|
|
4458
|
-
], AbstractInputActivity.prototype, "class", void 0);
|
|
4459
|
-
AbstractInputActivity = __decorate([
|
|
4460
|
-
Component({ template: `` }),
|
|
4461
|
-
__param(0, Inject(ACTIVITY_DATA)),
|
|
4462
|
-
__metadata("design:paramtypes", [Object])
|
|
4463
|
-
], AbstractInputActivity);
|
|
4464
|
-
|
|
4465
|
-
let StringInputActivity = class StringInputActivity extends AbstractInputActivity {
|
|
4076
|
+
AbstractInputActivity.propDecorators = {
|
|
4077
|
+
class: [{ type: HostBinding, args: ['class',] }]
|
|
4466
4078
|
};
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4079
|
+
|
|
4080
|
+
class StringInputActivity extends AbstractInputActivity {
|
|
4081
|
+
}
|
|
4082
|
+
StringInputActivity.decorators = [
|
|
4083
|
+
{ type: Component, args: [{
|
|
4084
|
+
selector: 'aup-string-input-activity',
|
|
4085
|
+
template: `
|
|
4471
4086
|
<aup-string-input [valueModel]="valueModel"
|
|
4472
4087
|
[label]="data.label"
|
|
4473
4088
|
[placeholder]="data.placeholder"
|
|
@@ -4477,10 +4092,10 @@ StringInputActivity = __decorate([
|
|
|
4477
4092
|
[confirmCommand]="confirmCommand"
|
|
4478
4093
|
[cancelCommand]="cancelCommand"></aup-activity-actions>
|
|
4479
4094
|
`
|
|
4480
|
-
|
|
4481
|
-
]
|
|
4095
|
+
},] }
|
|
4096
|
+
];
|
|
4482
4097
|
|
|
4483
|
-
|
|
4098
|
+
class SelectInputActivity extends AbstractInputActivity {
|
|
4484
4099
|
constructor() {
|
|
4485
4100
|
super(...arguments);
|
|
4486
4101
|
this.defaultOptionLabelFormat = (option) => {
|
|
@@ -4495,11 +4110,11 @@ let SelectInputActivity = class SelectInputActivity extends AbstractInputActivit
|
|
|
4495
4110
|
var _a;
|
|
4496
4111
|
return ((_a = this.data.optionsModel) === null || _a === void 0 ? void 0 : _a.value) || this.data.options;
|
|
4497
4112
|
}
|
|
4498
|
-
}
|
|
4499
|
-
SelectInputActivity =
|
|
4500
|
-
Component
|
|
4501
|
-
|
|
4502
|
-
|
|
4113
|
+
}
|
|
4114
|
+
SelectInputActivity.decorators = [
|
|
4115
|
+
{ type: Component, args: [{
|
|
4116
|
+
selector: 'aup-select-input-activity',
|
|
4117
|
+
template: `
|
|
4503
4118
|
<aup-select-input [valueModel]="valueModel"
|
|
4504
4119
|
[label]="data.label"
|
|
4505
4120
|
[placeholder]="data.placeholder"
|
|
@@ -4512,8 +4127,8 @@ SelectInputActivity = __decorate([
|
|
|
4512
4127
|
[confirmCommand]="confirmCommand"
|
|
4513
4128
|
[cancelCommand]="cancelCommand"></aup-activity-actions>
|
|
4514
4129
|
`
|
|
4515
|
-
|
|
4516
|
-
]
|
|
4130
|
+
},] }
|
|
4131
|
+
];
|
|
4517
4132
|
|
|
4518
4133
|
class Dimension {
|
|
4519
4134
|
constructor(width, height) {
|
|
@@ -4560,7 +4175,7 @@ class Bounds extends Dimension {
|
|
|
4560
4175
|
Bounds.ofElement = ofElement;
|
|
4561
4176
|
})(Bounds || (Bounds = {}));
|
|
4562
4177
|
|
|
4563
|
-
|
|
4178
|
+
class ResizeAwareComponent extends DisposableComponent {
|
|
4564
4179
|
constructor(elementRef, ngZone) {
|
|
4565
4180
|
super();
|
|
4566
4181
|
this.elementRef = elementRef;
|
|
@@ -4592,77 +4207,77 @@ let ResizeAwareComponent = class ResizeAwareComponent extends DisposableComponen
|
|
|
4592
4207
|
updateBounds() {
|
|
4593
4208
|
this._boundsModel.value = Bounds.ofElement(this.nativeElement);
|
|
4594
4209
|
}
|
|
4595
|
-
}
|
|
4210
|
+
}
|
|
4211
|
+
ResizeAwareComponent.decorators = [
|
|
4212
|
+
{ type: Directive }
|
|
4213
|
+
];
|
|
4596
4214
|
ResizeAwareComponent.ctorParameters = () => [
|
|
4597
4215
|
{ type: ElementRef },
|
|
4598
4216
|
{ type: NgZone }
|
|
4599
4217
|
];
|
|
4600
|
-
ResizeAwareComponent = __decorate([
|
|
4601
|
-
Directive(),
|
|
4602
|
-
__metadata("design:paramtypes", [ElementRef, NgZone])
|
|
4603
|
-
], ResizeAwareComponent);
|
|
4604
4218
|
|
|
4605
4219
|
/**
|
|
4606
4220
|
* @file Automatically generated by barrelsby.
|
|
4607
4221
|
*/
|
|
4608
4222
|
|
|
4609
|
-
|
|
4610
|
-
}
|
|
4611
|
-
InteractionModule =
|
|
4612
|
-
NgModule
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
]
|
|
4223
|
+
class InteractionModule {
|
|
4224
|
+
}
|
|
4225
|
+
InteractionModule.decorators = [
|
|
4226
|
+
{ type: NgModule, args: [{
|
|
4227
|
+
imports: [
|
|
4228
|
+
CommonModule,
|
|
4229
|
+
MatButtonModule,
|
|
4230
|
+
MatDialogModule,
|
|
4231
|
+
MatTabsModule,
|
|
4232
|
+
PortalModule,
|
|
4233
|
+
RouterModule,
|
|
4234
|
+
MatIconModule,
|
|
4235
|
+
DirectivesModule,
|
|
4236
|
+
FlexModule,
|
|
4237
|
+
GridModule,
|
|
4238
|
+
ComponentsModule
|
|
4239
|
+
],
|
|
4240
|
+
declarations: [
|
|
4241
|
+
ActivityContainerComponent,
|
|
4242
|
+
ConfirmationDialogComponent,
|
|
4243
|
+
ConfirmThenDialogComponent,
|
|
4244
|
+
AlertDialogComponent,
|
|
4245
|
+
ActivityOutletComponent,
|
|
4246
|
+
InPlaceInteractionContextComponent,
|
|
4247
|
+
AddItemInteractionContextComponent,
|
|
4248
|
+
ActivityActionsComponent,
|
|
4249
|
+
PopupInteractionContextComponent,
|
|
4250
|
+
StringInputActivity,
|
|
4251
|
+
SelectInputActivity,
|
|
4252
|
+
AbstractInputActivity,
|
|
4253
|
+
InteractionContextTriggerFor,
|
|
4254
|
+
Activity
|
|
4255
|
+
],
|
|
4256
|
+
exports: [
|
|
4257
|
+
ActivityContainerComponent,
|
|
4258
|
+
ActivityOutletComponent,
|
|
4259
|
+
InPlaceInteractionContextComponent,
|
|
4260
|
+
AddItemInteractionContextComponent,
|
|
4261
|
+
ActivityActionsComponent,
|
|
4262
|
+
PopupInteractionContextComponent,
|
|
4263
|
+
InteractionContextTriggerFor,
|
|
4264
|
+
StringInputActivity,
|
|
4265
|
+
SelectInputActivity
|
|
4266
|
+
],
|
|
4267
|
+
entryComponents: [
|
|
4268
|
+
ActivityContainerComponent,
|
|
4269
|
+
ConfirmationDialogComponent,
|
|
4270
|
+
ConfirmThenDialogComponent,
|
|
4271
|
+
AlertDialogComponent
|
|
4272
|
+
],
|
|
4273
|
+
providers: [
|
|
4274
|
+
InteractionService
|
|
4275
|
+
// {
|
|
4276
|
+
// provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
|
|
4277
|
+
// }
|
|
4278
|
+
]
|
|
4279
|
+
},] }
|
|
4280
|
+
];
|
|
4666
4281
|
|
|
4667
4282
|
class ParameterDefinition {
|
|
4668
4283
|
constructor(propertyName, options, urlFormat) {
|
|
@@ -4711,7 +4326,7 @@ class ParameterDefinition {
|
|
|
4711
4326
|
this.isArray = false;
|
|
4712
4327
|
}
|
|
4713
4328
|
isEmptyValue(value) {
|
|
4714
|
-
return
|
|
4329
|
+
return _.isNil(value);
|
|
4715
4330
|
}
|
|
4716
4331
|
hasChanged(a, b) {
|
|
4717
4332
|
return a !== b;
|
|
@@ -4725,7 +4340,7 @@ class ParameterDefinition {
|
|
|
4725
4340
|
this.isArray = false;
|
|
4726
4341
|
}
|
|
4727
4342
|
isEmptyValue(value) {
|
|
4728
|
-
return
|
|
4343
|
+
return _.isNil(value);
|
|
4729
4344
|
}
|
|
4730
4345
|
hasChanged(a, b) {
|
|
4731
4346
|
return a !== b;
|
|
@@ -4739,10 +4354,10 @@ class ParameterDefinition {
|
|
|
4739
4354
|
this.isArray = true;
|
|
4740
4355
|
}
|
|
4741
4356
|
isEmptyValue(value) {
|
|
4742
|
-
return
|
|
4357
|
+
return _.isNil(value) || value.length < 1;
|
|
4743
4358
|
}
|
|
4744
4359
|
hasChanged(a, b) {
|
|
4745
|
-
return !
|
|
4360
|
+
return !_.isEqual(a, b);
|
|
4746
4361
|
}
|
|
4747
4362
|
}
|
|
4748
4363
|
ParameterDefinition.ArrayParameter = ArrayParameter;
|
|
@@ -4780,12 +4395,12 @@ class PlaceDefinition {
|
|
|
4780
4395
|
}
|
|
4781
4396
|
getPlaceData(key, defaultValue) {
|
|
4782
4397
|
return this.data ?
|
|
4783
|
-
|
|
4398
|
+
_.isNil(this.data[key]) ? defaultValue : this.data[key] :
|
|
4784
4399
|
defaultValue;
|
|
4785
4400
|
}
|
|
4786
4401
|
searchPlaceData(keys, defaultValue) {
|
|
4787
4402
|
if (this.data) {
|
|
4788
|
-
const found = keys.find(key => !
|
|
4403
|
+
const found = keys.find(key => !_.isNil(this.data[key]));
|
|
4789
4404
|
return found ? this.data[found] : defaultValue;
|
|
4790
4405
|
}
|
|
4791
4406
|
else {
|
|
@@ -4853,7 +4468,7 @@ class PlaceDefinition {
|
|
|
4853
4468
|
// because our id routes redirect if the id isn't present we always have a id
|
|
4854
4469
|
// parameter in our params. This will bugger our remember and defaultvalue sanitisation
|
|
4855
4470
|
// as it'll see that the id is present (event thought its a blank string).
|
|
4856
|
-
if (!
|
|
4471
|
+
if (!_.isEmpty(value)) {
|
|
4857
4472
|
result[def.name] = def.urlFormat.parse(value);
|
|
4858
4473
|
}
|
|
4859
4474
|
}
|
|
@@ -4885,12 +4500,11 @@ __decorate([
|
|
|
4885
4500
|
__metadata("design:returntype", Array)
|
|
4886
4501
|
], PlaceDefinition.prototype, "getVisitParameterDefs", null);
|
|
4887
4502
|
|
|
4888
|
-
var PlaceComponent_1;
|
|
4889
4503
|
// RAKE: making this Symbol(...) broke things.
|
|
4890
4504
|
const DEFINITION_META_DATA_KEY = 'PLACE_DEFINITION_OPTIONS';
|
|
4891
4505
|
// this one seems ok.
|
|
4892
4506
|
const ROUTE_PARAMETER_LIST_KEY = Symbol('place:route:parameters');
|
|
4893
|
-
|
|
4507
|
+
class PlaceComponent extends DisposableComponent {
|
|
4894
4508
|
constructor() {
|
|
4895
4509
|
super();
|
|
4896
4510
|
this.visitModel = new MutableValueModel();
|
|
@@ -4938,7 +4552,7 @@ let PlaceComponent = PlaceComponent_1 = class PlaceComponent extends DisposableC
|
|
|
4938
4552
|
binding.writeRight();
|
|
4939
4553
|
}
|
|
4940
4554
|
get placeDefinition() {
|
|
4941
|
-
return
|
|
4555
|
+
return PlaceComponent.getDefinition(this.constructor);
|
|
4942
4556
|
}
|
|
4943
4557
|
get childPlaces() {
|
|
4944
4558
|
return this.placeDefinition.children.map(d => d.component);
|
|
@@ -4954,16 +4568,16 @@ let PlaceComponent = PlaceComponent_1 = class PlaceComponent extends DisposableC
|
|
|
4954
4568
|
}
|
|
4955
4569
|
onPlaceReady() {
|
|
4956
4570
|
}
|
|
4957
|
-
}
|
|
4571
|
+
}
|
|
4572
|
+
PlaceComponent.decorators = [
|
|
4573
|
+
{ type: Directive }
|
|
4574
|
+
];
|
|
4575
|
+
PlaceComponent.ctorParameters = () => [];
|
|
4958
4576
|
__decorate([
|
|
4959
4577
|
Memoize$1(),
|
|
4960
4578
|
__metadata("design:type", PlaceDefinition),
|
|
4961
4579
|
__metadata("design:paramtypes", [])
|
|
4962
4580
|
], PlaceComponent.prototype, "placeDefinition", null);
|
|
4963
|
-
PlaceComponent = PlaceComponent_1 = __decorate([
|
|
4964
|
-
Directive(),
|
|
4965
|
-
__metadata("design:paramtypes", [])
|
|
4966
|
-
], PlaceComponent);
|
|
4967
4581
|
(function (PlaceComponent) {
|
|
4968
4582
|
function isPlaceComponentConstructor(target) {
|
|
4969
4583
|
return lang.constructorChain(target).includes(PlaceComponent);
|
|
@@ -5342,7 +4956,7 @@ class SynchroniseInteractionContextIdsWithRoute extends NavigationSession {
|
|
|
5342
4956
|
const currentIds = this.interactionServiceAdapter.getActiveInteractionContextIds();
|
|
5343
4957
|
const previousIds = this.urlService.getCurrentLocationUrlSnapshot().getInteractionIds();
|
|
5344
4958
|
// console.log(`---> synchroniseInteractionIds`, { is: currentIds.join(','), was: previousIds.join(',') });
|
|
5345
|
-
if (
|
|
4959
|
+
if (_.isEqual(currentIds, previousIds)) {
|
|
5346
4960
|
// console.log('### Activity context ids were the same, skipping');
|
|
5347
4961
|
this.context.finishRoutingSession();
|
|
5348
4962
|
}
|
|
@@ -5478,25 +5092,13 @@ class PopStateDuringInteractionNavigation extends AbstractPopStateNavigation {
|
|
|
5478
5092
|
* This state handles the scenario where a link navigation triggered an interaction and the user clicked back a to cancel it.
|
|
5479
5093
|
* The routing event sequence is different depending on the link that was clicked.
|
|
5480
5094
|
*
|
|
5481
|
-
*
|
|
5482
|
-
*
|
|
5483
|
-
*
|
|
5484
|
-
*
|
|
5485
|
-
*
|
|
5486
|
-
* -> NavigationCancel -> clickedLinkUrl === cancel.url
|
|
5487
|
-
* -> NavigationEnd
|
|
5488
|
-
*
|
|
5489
|
-
* Otherwise if the link is different from teh history location then the sequence is:
|
|
5490
|
-
*
|
|
5491
|
-
* -> Idle -> NavigationTransition
|
|
5492
|
-
* -> confirm dialog shown.
|
|
5493
|
-
* -> click back
|
|
5494
|
-
* -> NavigationCancel -> clickedLinkUrl !== cancel.url
|
|
5495
|
-
* -> NavigationEnd
|
|
5496
|
-
* -> PopState
|
|
5497
|
-
* -> NavigationCancel
|
|
5095
|
+
* NOTE: In angular prior to 10 the sequence of routing events was different depending on the initial link that was clicked.
|
|
5096
|
+
* This class used have ugle if/else code to handle it and a not that it should be split into sub states.
|
|
5097
|
+
* During the update to angular 10 I did this (as the tests for this scenario were failings). After doing so
|
|
5098
|
+
* it appears that angular now behaves the same in both cases. But rather that revert the changes I've left the
|
|
5099
|
+
* sub-state handling in in case it ever comes back.
|
|
5498
5100
|
*/
|
|
5499
|
-
class
|
|
5101
|
+
class WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined extends EventCleanUpSession {
|
|
5500
5102
|
constructor(context, startingUrl, clickedLinkUrl) {
|
|
5501
5103
|
super(context, startingUrl);
|
|
5502
5104
|
this.clickedLinkUrl = clickedLinkUrl;
|
|
@@ -5504,33 +5106,84 @@ class WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish extend
|
|
|
5504
5106
|
this.clickedLinkMatchedBackButtonUrl = false;
|
|
5505
5107
|
this.debugPropertyKeys = ['idle', 'startingUrl', 'clickedLinkUrl', 'firstCancelEventUrl', 'clickedLinkMatchedBackButtonUrl', 'popStateEventUrl'];
|
|
5506
5108
|
}
|
|
5507
|
-
// @Trace()
|
|
5508
5109
|
onRouterStarted(event) {
|
|
5509
5110
|
this.ignore(event);
|
|
5510
5111
|
}
|
|
5511
|
-
// @Trace()
|
|
5512
5112
|
onRouterCancelled(event) {
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
this.firstCancelEventUrl = event.url;
|
|
5516
|
-
this.clickedLinkMatchedBackButtonUrl = event.url === this.clickedLinkUrl;
|
|
5517
|
-
this.ignore(event);
|
|
5113
|
+
if (event.url === this.clickedLinkUrl) {
|
|
5114
|
+
this.context.transitionTo(new WaitForLinkSameAsBackToPlayOut(this.context, this.startingUrl, this.clickedLinkUrl));
|
|
5518
5115
|
}
|
|
5519
5116
|
else {
|
|
5520
|
-
|
|
5521
|
-
if (!this.clickedLinkMatchedBackButtonUrl && this.popStateEventUrl) {
|
|
5522
|
-
this.finaliseRouting();
|
|
5523
|
-
}
|
|
5117
|
+
this.context.transitionTo(new WaitForLinkDifferentFromBackToPlayOut(this.context, this.startingUrl, this.clickedLinkUrl));
|
|
5524
5118
|
}
|
|
5525
5119
|
}
|
|
5120
|
+
canDeactivatePlace(component, currentUrl, nextUrl) {
|
|
5121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5122
|
+
return false;
|
|
5123
|
+
});
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
__decorate([
|
|
5127
|
+
Trace(),
|
|
5128
|
+
__metadata("design:type", Function),
|
|
5129
|
+
__metadata("design:paramtypes", [NavigationStart]),
|
|
5130
|
+
__metadata("design:returntype", void 0)
|
|
5131
|
+
], WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined.prototype, "onRouterStarted", null);
|
|
5132
|
+
__decorate([
|
|
5133
|
+
Trace(),
|
|
5134
|
+
__metadata("design:type", Function),
|
|
5135
|
+
__metadata("design:paramtypes", [NavigationCancel]),
|
|
5136
|
+
__metadata("design:returntype", void 0)
|
|
5137
|
+
], WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined.prototype, "onRouterCancelled", null);
|
|
5138
|
+
class WaitForLinkSameAsBackToPlayOut extends EventCleanUpSession {
|
|
5139
|
+
constructor(context, startingUrl, clickedLinkUrl) {
|
|
5140
|
+
super(context, startingUrl);
|
|
5141
|
+
this.clickedLinkUrl = clickedLinkUrl;
|
|
5142
|
+
this.isPopState = false;
|
|
5143
|
+
this.debugPropertyKeys = ['idle', 'startingUrl', 'clickedLinkUrl', 'popStateEventUrl'];
|
|
5144
|
+
}
|
|
5526
5145
|
// @Trace()
|
|
5527
5146
|
onRouterEnd(event) {
|
|
5528
|
-
|
|
5147
|
+
this.ignore(event);
|
|
5148
|
+
}
|
|
5149
|
+
// @Trace()
|
|
5150
|
+
onRouterError(event) {
|
|
5151
|
+
this.ignore(event);
|
|
5152
|
+
}
|
|
5153
|
+
// @Trace()
|
|
5154
|
+
onPopState(event) {
|
|
5155
|
+
this.popStateEventUrl = event.url;
|
|
5156
|
+
this.ignore(event);
|
|
5157
|
+
}
|
|
5158
|
+
// @Trace()
|
|
5159
|
+
onRouterCancelled(event) {
|
|
5160
|
+
if (this.popStateEventUrl) {
|
|
5529
5161
|
this.finaliseRouting();
|
|
5530
5162
|
}
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5163
|
+
}
|
|
5164
|
+
// @Trace()
|
|
5165
|
+
finaliseRouting() {
|
|
5166
|
+
this.repairBrowserHistoryAndUrlAfterGuardCancellation(this.clickedLinkUrl, this.startingUrl);
|
|
5167
|
+
return this.context.finishRoutingSession();
|
|
5168
|
+
}
|
|
5169
|
+
canDeactivatePlace(component, currentUrl, nextUrl) {
|
|
5170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5171
|
+
return false;
|
|
5172
|
+
});
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
// See the note above. This class is identical to the previous but I've left it here in case angular decides to
|
|
5176
|
+
// route differently in this scenario going forward.
|
|
5177
|
+
class WaitForLinkDifferentFromBackToPlayOut extends EventCleanUpSession {
|
|
5178
|
+
constructor(context, startingUrl, clickedLinkUrl) {
|
|
5179
|
+
super(context, startingUrl);
|
|
5180
|
+
this.clickedLinkUrl = clickedLinkUrl;
|
|
5181
|
+
this.isPopState = false;
|
|
5182
|
+
this.debugPropertyKeys = ['idle', 'startingUrl', 'clickedLinkUrl', 'popStateEventUrl'];
|
|
5183
|
+
}
|
|
5184
|
+
// @Trace()
|
|
5185
|
+
onRouterEnd(event) {
|
|
5186
|
+
this.ignore(event);
|
|
5534
5187
|
}
|
|
5535
5188
|
// @Trace()
|
|
5536
5189
|
onRouterError(event) {
|
|
@@ -5541,6 +5194,13 @@ class WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish extend
|
|
|
5541
5194
|
this.popStateEventUrl = event.url;
|
|
5542
5195
|
this.ignore(event);
|
|
5543
5196
|
}
|
|
5197
|
+
// @Trace()
|
|
5198
|
+
onRouterCancelled(event) {
|
|
5199
|
+
if (this.popStateEventUrl) {
|
|
5200
|
+
this.finaliseRouting();
|
|
5201
|
+
}
|
|
5202
|
+
}
|
|
5203
|
+
// @Trace()
|
|
5544
5204
|
finaliseRouting() {
|
|
5545
5205
|
this.repairBrowserHistoryAndUrlAfterGuardCancellation(this.clickedLinkUrl, this.startingUrl);
|
|
5546
5206
|
return this.context.finishRoutingSession();
|
|
@@ -5551,6 +5211,49 @@ class WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish extend
|
|
|
5551
5211
|
});
|
|
5552
5212
|
}
|
|
5553
5213
|
}
|
|
5214
|
+
//
|
|
5215
|
+
// ### Router State Transition: null -> Navigating(startingUrl: /activities/dialogs;l=en, urlAfterRedirects: undefined)
|
|
5216
|
+
// ### ###### Router Event: NavigationStart
|
|
5217
|
+
// NavigationStart(id: 6, url: '/home')
|
|
5218
|
+
// NavigationStart {id: 6, url: "/home", navigationTrigger: "imperative", restoredState: null}
|
|
5219
|
+
// logger.js:39 Ignoring router event: NavigationStart -> /home :: Navigating(startingUrl: /activities/dialogs;l=en, urlAfterRedirects: undefined)
|
|
5220
|
+
// ### ###### Router Event: RoutesRecognized
|
|
5221
|
+
// RoutesRecognized(id: 6, url: '/home', urlAfterRedirects: '/home', state: Route(url:'', path:'') { Route(url:'home', path:'home') } )
|
|
5222
|
+
// RoutesRecognized {id: 6, url: "/home", urlAfterRedirects: "/home", state: RouterStateSnapshot}
|
|
5223
|
+
// ###### Router Event: GuardsCheckStart
|
|
5224
|
+
// GuardsCheckStart(id: 6, url: '/home', urlAfterRedirects: '/home', state: Route(url:'', path:'') { Route(url:'home', path:'home') } )
|
|
5225
|
+
// GuardsCheckStart {id: 6, url: "/home", urlAfterRedirects: "/home", state: RouterStateSnapshot}
|
|
5226
|
+
// logger.js:39 back button pressed during navigation session interaction promise
|
|
5227
|
+
// logger.js:39 cancelling current navigation activity..
|
|
5228
|
+
// logger.js:39 ### Router State Transition: Navigating(startingUrl: /activities/dialogs;l=en, urlAfterRedirects: undefined) -> WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish(idle: undefined, startingUrl: /activities/dialogs;l=en, clickedLinkUrl: /home, firstCancelEventUrl: undefined, clickedLinkMatchedBackButtonUrl: false, popStateEventUrl: undefined)
|
|
5229
|
+
// ###### Router Event: GuardsCheckEnd
|
|
5230
|
+
// GuardsCheckEnd(id: 6, url: '/home', urlAfterRedirects: '/home', state: Route(url:'', path:'') { Route(url:'home', path:'home') } , shouldActivate: false)
|
|
5231
|
+
// GuardsCheckEnd {id: 6, url: "/home", urlAfterRedirects: "/home", state: RouterStateSnapshot, shouldActivate: false}
|
|
5232
|
+
// ###### Router Event: NavigationCancel
|
|
5233
|
+
// NavigationCancel(id: 6, url: '/home')
|
|
5234
|
+
// NavigationCancel {id: 6, url: "/home", reason: ""}
|
|
5235
|
+
// logger.js:54 WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish.onRouterCancelled
|
|
5236
|
+
// logger.js:19 args NavigationCancel {id: 6, url: "/home", reason: ""}
|
|
5237
|
+
// logger.js:39 Ignoring router event: NavigationCancel -> /home :: WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish(idle: undefined, startingUrl: /activities/dialogs;l=en, clickedLinkUrl: /home, firstCancelEventUrl: /home, clickedLinkMatchedBackButtonUrl: true, popStateEventUrl: undefined)
|
|
5238
|
+
// logger.js:28 <-- WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish.onRouterCancelled undefined
|
|
5239
|
+
// logger.js:54 WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish.onRouterEnd
|
|
5240
|
+
// logger.js:19 args NavigationEnd {id: -1, url: "", urlAfterRedirects: ""}
|
|
5241
|
+
// logger.js:54 WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish.finaliseRouting
|
|
5242
|
+
// logger.js:39 WORK-AROUND: Updating browser location after pop state - see angular issue #13586
|
|
5243
|
+
// navigation-session.ts:129 replacing /activities/dialogs;l=en with /home
|
|
5244
|
+
// navigation-session.ts:131 pushing /activities/dialogs;l=en back onto the history.
|
|
5245
|
+
// ????? place-router.ts:281 ### Router Session Finished (was WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish(idle: undefined, startingUrl: /activities/dialogs;l=en, clickedLinkUrl: /home, firstCancelEventUrl: /home, clickedLinkMatchedBackButtonUrl: true, popStateEventUrl: undefined))
|
|
5246
|
+
// logger.js:28 <-- WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish.finaliseRouting undefined
|
|
5247
|
+
// logger.js:28 <-- WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish.onRouterEnd undefined
|
|
5248
|
+
// ###### Router Event: NavigationStart
|
|
5249
|
+
// NavigationStart(id: 7, url: '/home')
|
|
5250
|
+
// NavigationStart {id: 7, url: "/home", navigationTrigger: "popstate", restoredState: {…}}
|
|
5251
|
+
// logger.js:39 ### Router State Transition: null -> PopStateNavigation(startingUrl: /activities/dialogs;l=en, poppedHistoryUrl: /home)
|
|
5252
|
+
// ###### Router Event: RoutesRecognized
|
|
5253
|
+
// RoutesRecognized(id: 7, url: '/home', urlAfterRedirects: '/home', state: Route(url:'', path:'') { Route(url:'home', path:'home') } )
|
|
5254
|
+
// RoutesRecognized {id: 7, url: "/home", urlAfterRedirects: "/home", state: RouterStateSnapshot}
|
|
5255
|
+
// ###### Router Event: GuardsCheckStart
|
|
5256
|
+
// GuardsCheckStart(id: 7, url: '/home', urlAfterRedirects: '/home', state: Route(url:'', path:'') { Route(url:'home', path:'home') } )
|
|
5554
5257
|
|
|
5555
5258
|
class Navigating extends NavigationSession {
|
|
5556
5259
|
constructor() {
|
|
@@ -5569,7 +5272,7 @@ class Navigating extends NavigationSession {
|
|
|
5569
5272
|
this.context.finishRoutingSession(this.getVisits());
|
|
5570
5273
|
}
|
|
5571
5274
|
handleCanDeactivateCancelledEventScenario(newUrl) {
|
|
5572
|
-
this.context.transitionTo(new
|
|
5275
|
+
this.context.transitionTo(new WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined(this.context, this.startingUrl, newUrl));
|
|
5573
5276
|
}
|
|
5574
5277
|
}
|
|
5575
5278
|
|
|
@@ -5663,8 +5366,7 @@ class PopStateNavigation extends AbstractPopStateNavigation {
|
|
|
5663
5366
|
}
|
|
5664
5367
|
}
|
|
5665
5368
|
|
|
5666
|
-
|
|
5667
|
-
let PlaceHistory = PlaceHistory_1 = class PlaceHistory {
|
|
5369
|
+
class PlaceHistory {
|
|
5668
5370
|
constructor() {
|
|
5669
5371
|
this._archive = new Map();
|
|
5670
5372
|
this.placeHistoryDepth = 4;
|
|
@@ -5676,7 +5378,7 @@ let PlaceHistory = PlaceHistory_1 = class PlaceHistory {
|
|
|
5676
5378
|
}
|
|
5677
5379
|
}
|
|
5678
5380
|
notifyNavigationFinished(visits) {
|
|
5679
|
-
this._activeVisits = new
|
|
5381
|
+
this._activeVisits = new PlaceHistory.VisitRecord(visits);
|
|
5680
5382
|
}
|
|
5681
5383
|
updateVisit(visit) {
|
|
5682
5384
|
assert.isTruthy(this._activeVisits);
|
|
@@ -5687,7 +5389,7 @@ let PlaceHistory = PlaceHistory_1 = class PlaceHistory {
|
|
|
5687
5389
|
return !!((_a = this._previousVisits) === null || _a === void 0 ? void 0 : _a.getVisitFor(placeDef));
|
|
5688
5390
|
}
|
|
5689
5391
|
getMostRecentVisitFor(placeDef) {
|
|
5690
|
-
return
|
|
5392
|
+
return _.first(this.getHistory(placeDef));
|
|
5691
5393
|
}
|
|
5692
5394
|
getHistory(placeDef) {
|
|
5693
5395
|
let history = this._archive.get(placeDef);
|
|
@@ -5703,21 +5405,21 @@ let PlaceHistory = PlaceHistory_1 = class PlaceHistory {
|
|
|
5703
5405
|
archive(visits) {
|
|
5704
5406
|
visits.forEach(state => {
|
|
5705
5407
|
const history = this.getHistory(state.placeDefinition);
|
|
5706
|
-
const previousState =
|
|
5408
|
+
const previousState = _.first(history);
|
|
5707
5409
|
if (!previousState || state.hasChangedFrom(previousState)) {
|
|
5708
5410
|
history.unshift(state); // LIFO
|
|
5709
5411
|
this.setHistory(state.placeDefinition, history.slice(0, this.placeHistoryDepth));
|
|
5710
5412
|
}
|
|
5711
5413
|
});
|
|
5712
5414
|
}
|
|
5713
|
-
}
|
|
5415
|
+
}
|
|
5714
5416
|
PlaceHistory.ɵprov = ɵɵdefineInjectable({ factory: function PlaceHistory_Factory() { return new PlaceHistory(); }, token: PlaceHistory, providedIn: "root" });
|
|
5715
|
-
PlaceHistory =
|
|
5716
|
-
Injectable
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5417
|
+
PlaceHistory.decorators = [
|
|
5418
|
+
{ type: Injectable, args: [{
|
|
5419
|
+
providedIn: 'root'
|
|
5420
|
+
},] }
|
|
5421
|
+
];
|
|
5422
|
+
PlaceHistory.ctorParameters = () => [];
|
|
5721
5423
|
(function (PlaceHistory) {
|
|
5722
5424
|
class VisitRecord {
|
|
5723
5425
|
constructor(visits) {
|
|
@@ -5853,7 +5555,7 @@ class UrlSnapshot {
|
|
|
5853
5555
|
return this.getInteractionIds().length > 0;
|
|
5854
5556
|
}
|
|
5855
5557
|
hasInteractionIds(ids) {
|
|
5856
|
-
return
|
|
5558
|
+
return _.isEqual(this.getInteractionIds(), ids);
|
|
5857
5559
|
}
|
|
5858
5560
|
// @Trace()
|
|
5859
5561
|
updateInteractionIds(ids) {
|
|
@@ -5891,7 +5593,7 @@ class UrlSnapshot {
|
|
|
5891
5593
|
UrlSnapshot.createPathIdFor = createPathIdFor;
|
|
5892
5594
|
})(UrlSnapshot || (UrlSnapshot = {}));
|
|
5893
5595
|
|
|
5894
|
-
|
|
5596
|
+
class UrlService {
|
|
5895
5597
|
constructor(angularRouter, angularLocation, urlSerializer) {
|
|
5896
5598
|
this.angularRouter = angularRouter;
|
|
5897
5599
|
this.angularLocation = angularLocation;
|
|
@@ -5939,21 +5641,20 @@ let UrlService = class UrlService {
|
|
|
5939
5641
|
back() {
|
|
5940
5642
|
this.angularLocation.back();
|
|
5941
5643
|
}
|
|
5942
|
-
}
|
|
5644
|
+
}
|
|
5645
|
+
UrlService.ɵprov = ɵɵdefineInjectable({ factory: function UrlService_Factory() { return new UrlService(ɵɵinject(Router), ɵɵinject(Location), ɵɵinject(UrlSerializer)); }, token: UrlService, providedIn: "root" });
|
|
5646
|
+
UrlService.decorators = [
|
|
5647
|
+
{ type: Injectable, args: [{
|
|
5648
|
+
providedIn: 'root'
|
|
5649
|
+
},] }
|
|
5650
|
+
];
|
|
5943
5651
|
UrlService.ctorParameters = () => [
|
|
5944
5652
|
{ type: Router },
|
|
5945
5653
|
{ type: Location },
|
|
5946
5654
|
{ type: UrlSerializer }
|
|
5947
5655
|
];
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
Injectable({
|
|
5951
|
-
providedIn: 'root'
|
|
5952
|
-
}),
|
|
5953
|
-
__metadata("design:paramtypes", [Router, Location, UrlSerializer])
|
|
5954
|
-
], UrlService);
|
|
5955
|
-
|
|
5956
|
-
let PlaceRouter = class PlaceRouter extends GarbageCollector {
|
|
5656
|
+
|
|
5657
|
+
class PlaceRouter extends GarbageCollector {
|
|
5957
5658
|
constructor(angularRouter, angularLocation, interactionService, urlService, placeHistory) {
|
|
5958
5659
|
super();
|
|
5959
5660
|
this.angularRouter = angularRouter;
|
|
@@ -6202,7 +5903,13 @@ let PlaceRouter = class PlaceRouter extends GarbageCollector {
|
|
|
6202
5903
|
[def.getFormattedRouteId(visit), def.getFormattedRouteParameters(visit)] :
|
|
6203
5904
|
[def.getFormattedRouteParameters(visit)];
|
|
6204
5905
|
}
|
|
6205
|
-
}
|
|
5906
|
+
}
|
|
5907
|
+
PlaceRouter.ɵprov = ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(ɵɵinject(Router), ɵɵinject(Location), ɵɵinject(InteractionService), ɵɵinject(UrlService), ɵɵinject(PlaceHistory)); }, token: PlaceRouter, providedIn: "root" });
|
|
5908
|
+
PlaceRouter.decorators = [
|
|
5909
|
+
{ type: Injectable, args: [{
|
|
5910
|
+
providedIn: 'root'
|
|
5911
|
+
},] }
|
|
5912
|
+
];
|
|
6206
5913
|
PlaceRouter.ctorParameters = () => [
|
|
6207
5914
|
{ type: Router },
|
|
6208
5915
|
{ type: Location },
|
|
@@ -6210,17 +5917,6 @@ PlaceRouter.ctorParameters = () => [
|
|
|
6210
5917
|
{ type: UrlService },
|
|
6211
5918
|
{ type: PlaceHistory }
|
|
6212
5919
|
];
|
|
6213
|
-
PlaceRouter.ɵprov = ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(ɵɵinject(Router), ɵɵinject(Location), ɵɵinject(InteractionService), ɵɵinject(UrlService), ɵɵinject(PlaceHistory)); }, token: PlaceRouter, providedIn: "root" });
|
|
6214
|
-
PlaceRouter = __decorate([
|
|
6215
|
-
Injectable({
|
|
6216
|
-
providedIn: 'root'
|
|
6217
|
-
}),
|
|
6218
|
-
__metadata("design:paramtypes", [Router,
|
|
6219
|
-
Location,
|
|
6220
|
-
InteractionService,
|
|
6221
|
-
UrlService,
|
|
6222
|
-
PlaceHistory])
|
|
6223
|
-
], PlaceRouter);
|
|
6224
5920
|
|
|
6225
5921
|
class Visit {
|
|
6226
5922
|
constructor(placeDefinition, visitParameters = {}) {
|
|
@@ -6332,7 +6028,7 @@ function leftRightPlaceAnimation(duration) {
|
|
|
6332
6028
|
}
|
|
6333
6029
|
const LEFT_RIGHT_PLACE_ANIMATION = leftRightPlaceAnimation('0.3s');
|
|
6334
6030
|
|
|
6335
|
-
|
|
6031
|
+
class PlaceOutletComponent extends DisposableComponent {
|
|
6336
6032
|
constructor(router, placeRouter, placeConfig, parentOutlet) {
|
|
6337
6033
|
super();
|
|
6338
6034
|
this.router = router;
|
|
@@ -6490,37 +6186,45 @@ let PlaceOutletComponent = class PlaceOutletComponent extends DisposableComponen
|
|
|
6490
6186
|
this.onAnimationFinishedJob = undefined;
|
|
6491
6187
|
}
|
|
6492
6188
|
}
|
|
6493
|
-
}
|
|
6189
|
+
}
|
|
6190
|
+
PlaceOutletComponent.decorators = [
|
|
6191
|
+
{ type: Component, args: [{
|
|
6192
|
+
selector: 'aup-place-outlet',
|
|
6193
|
+
template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\" cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\" cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n",
|
|
6194
|
+
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
6195
|
+
styles: [":host{display:flex;flex-direction:column;min-height:0}.router-outlet-container{display:block;flex:1;min-height:0;overflow-x:hidden;overflow-y:scroll;position:relative}router-outlet{display:none}"]
|
|
6196
|
+
},] }
|
|
6197
|
+
];
|
|
6494
6198
|
PlaceOutletComponent.ctorParameters = () => [
|
|
6495
6199
|
{ type: Router },
|
|
6496
6200
|
{ type: PlaceRouter },
|
|
6497
6201
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [AUP_PLACE_CONFIG,] }] },
|
|
6498
6202
|
{ type: PlaceOutletComponent, decorators: [{ type: SkipSelf }, { type: Optional }] }
|
|
6499
6203
|
];
|
|
6204
|
+
PlaceOutletComponent.propDecorators = {
|
|
6205
|
+
animate: [{ type: Input }],
|
|
6206
|
+
animateModel: [{ type: Input }],
|
|
6207
|
+
customPlaceAnimationOrderModel: [{ type: Input, args: ['placeAnimationOrderModel',] }],
|
|
6208
|
+
customPlaceAnimationOrder: [{ type: Input, args: ['placeAnimationOrder',] }],
|
|
6209
|
+
placeChanged: [{ type: Output }],
|
|
6210
|
+
routerOut: [{ type: ViewChild, args: ['routeOutlet', { static: true },] }]
|
|
6211
|
+
};
|
|
6500
6212
|
__decorate([
|
|
6501
|
-
|
|
6213
|
+
StoreInValueModel('animateModel'),
|
|
6502
6214
|
__metadata("design:type", Boolean)
|
|
6503
6215
|
], PlaceOutletComponent.prototype, "animate", void 0);
|
|
6504
6216
|
__decorate([
|
|
6505
|
-
|
|
6217
|
+
TrackExternal({ defaultValue: true }),
|
|
6506
6218
|
__metadata("design:type", ValueModel)
|
|
6507
6219
|
], PlaceOutletComponent.prototype, "animateModel", void 0);
|
|
6508
6220
|
__decorate([
|
|
6509
|
-
|
|
6221
|
+
TrackExternal(),
|
|
6510
6222
|
__metadata("design:type", ListModel)
|
|
6511
6223
|
], PlaceOutletComponent.prototype, "customPlaceAnimationOrderModel", void 0);
|
|
6512
6224
|
__decorate([
|
|
6513
|
-
|
|
6225
|
+
StoreInListModel('customPlaceAnimationOrderModel'),
|
|
6514
6226
|
__metadata("design:type", Array)
|
|
6515
6227
|
], PlaceOutletComponent.prototype, "customPlaceAnimationOrder", void 0);
|
|
6516
|
-
__decorate([
|
|
6517
|
-
Output(),
|
|
6518
|
-
__metadata("design:type", Object)
|
|
6519
|
-
], PlaceOutletComponent.prototype, "placeChanged", void 0);
|
|
6520
|
-
__decorate([
|
|
6521
|
-
ViewChild('routeOutlet', { static: true }),
|
|
6522
|
-
__metadata("design:type", RouterOutlet)
|
|
6523
|
-
], PlaceOutletComponent.prototype, "routerOut", void 0);
|
|
6524
6228
|
__decorate([
|
|
6525
6229
|
Trace(),
|
|
6526
6230
|
__metadata("design:type", Function),
|
|
@@ -6533,20 +6237,8 @@ __decorate([
|
|
|
6533
6237
|
__metadata("design:paramtypes", []),
|
|
6534
6238
|
__metadata("design:returntype", void 0)
|
|
6535
6239
|
], PlaceOutletComponent.prototype, "onOutletDeactivated", null);
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
selector: 'aup-place-outlet',
|
|
6539
|
-
template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\" cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\" cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n",
|
|
6540
|
-
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
6541
|
-
styles: [":host{display:flex;flex-direction:column;min-height:0}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:scroll}router-outlet{display:none}"]
|
|
6542
|
-
}),
|
|
6543
|
-
__param(2, Optional()), __param(2, Inject(AUP_PLACE_CONFIG)),
|
|
6544
|
-
__param(3, SkipSelf()), __param(3, Optional()),
|
|
6545
|
-
__metadata("design:paramtypes", [Router,
|
|
6546
|
-
PlaceRouter, Object, PlaceOutletComponent])
|
|
6547
|
-
], PlaceOutletComponent);
|
|
6548
|
-
|
|
6549
|
-
let AbstractPlaceNavigationComponent = class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
6240
|
+
|
|
6241
|
+
class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
6550
6242
|
constructor(placeRouter) {
|
|
6551
6243
|
super();
|
|
6552
6244
|
this._activePlaceComponent = new DelegatingValueModel();
|
|
@@ -6576,24 +6268,35 @@ let AbstractPlaceNavigationComponent = class AbstractPlaceNavigationComponent ex
|
|
|
6576
6268
|
}
|
|
6577
6269
|
ngOnInit() {
|
|
6578
6270
|
}
|
|
6579
|
-
}
|
|
6271
|
+
}
|
|
6272
|
+
AbstractPlaceNavigationComponent.decorators = [
|
|
6273
|
+
{ type: Component, args: [{
|
|
6274
|
+
template: ''
|
|
6275
|
+
},] }
|
|
6276
|
+
];
|
|
6580
6277
|
AbstractPlaceNavigationComponent.ctorParameters = () => [
|
|
6581
6278
|
{ type: PlaceRouter }
|
|
6582
6279
|
];
|
|
6280
|
+
AbstractPlaceNavigationComponent.propDecorators = {
|
|
6281
|
+
places: [{ type: Input }],
|
|
6282
|
+
placesModel: [{ type: Input }],
|
|
6283
|
+
placeOutlet: [{ type: Input }],
|
|
6284
|
+
placeOutletModel: [{ type: Input }]
|
|
6285
|
+
};
|
|
6583
6286
|
__decorate([
|
|
6584
|
-
|
|
6287
|
+
StoreInListModel('placesModel'),
|
|
6585
6288
|
__metadata("design:type", Array)
|
|
6586
6289
|
], AbstractPlaceNavigationComponent.prototype, "places", void 0);
|
|
6587
6290
|
__decorate([
|
|
6588
|
-
|
|
6291
|
+
TrackExternal(),
|
|
6589
6292
|
__metadata("design:type", ListModel)
|
|
6590
6293
|
], AbstractPlaceNavigationComponent.prototype, "placesModel", void 0);
|
|
6591
6294
|
__decorate([
|
|
6592
|
-
|
|
6295
|
+
StoreInValueModel('placeOutletModel'),
|
|
6593
6296
|
__metadata("design:type", PlaceOutletComponent)
|
|
6594
6297
|
], AbstractPlaceNavigationComponent.prototype, "placeOutlet", void 0);
|
|
6595
6298
|
__decorate([
|
|
6596
|
-
|
|
6299
|
+
TrackExternal(),
|
|
6597
6300
|
__metadata("design:type", ValueModel)
|
|
6598
6301
|
], AbstractPlaceNavigationComponent.prototype, "placeOutletModel", void 0);
|
|
6599
6302
|
__decorate([
|
|
@@ -6602,71 +6305,68 @@ __decorate([
|
|
|
6602
6305
|
__metadata("design:paramtypes", [PlaceDefinition]),
|
|
6603
6306
|
__metadata("design:returntype", Object)
|
|
6604
6307
|
], AbstractPlaceNavigationComponent.prototype, "getNavigationFace", null);
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
template: ''
|
|
6608
|
-
}),
|
|
6609
|
-
__metadata("design:paramtypes", [PlaceRouter])
|
|
6610
|
-
], AbstractPlaceNavigationComponent);
|
|
6611
|
-
|
|
6612
|
-
let BusyOverlayComponent = class BusyOverlayComponent {
|
|
6308
|
+
|
|
6309
|
+
class BusyOverlayComponent {
|
|
6613
6310
|
constructor() {
|
|
6614
6311
|
}
|
|
6615
6312
|
ngOnInit() {
|
|
6616
6313
|
}
|
|
6314
|
+
}
|
|
6315
|
+
BusyOverlayComponent.decorators = [
|
|
6316
|
+
{ type: Component, args: [{
|
|
6317
|
+
selector: 'aup-busy-overlay',
|
|
6318
|
+
template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
|
|
6319
|
+
styles: [":host{position:relative}div.busy-overlay-backdrop{-ms-grid-columns:auto;-ms-grid-rows:auto;background-color:rgba(0,0,0,.2);bottom:0;display:-ms-grid;display:grid;grid-template-columns:auto;grid-template-rows:auto;left:0;place-content:center;position:absolute;right:0;top:0}"]
|
|
6320
|
+
},] }
|
|
6321
|
+
];
|
|
6322
|
+
BusyOverlayComponent.ctorParameters = () => [];
|
|
6323
|
+
BusyOverlayComponent.propDecorators = {
|
|
6324
|
+
busyModel: [{ type: Input }],
|
|
6325
|
+
busy: [{ type: Input }]
|
|
6617
6326
|
};
|
|
6618
6327
|
__decorate([
|
|
6619
|
-
|
|
6328
|
+
TrackExternal(),
|
|
6620
6329
|
__metadata("design:type", ValueModel)
|
|
6621
6330
|
], BusyOverlayComponent.prototype, "busyModel", void 0);
|
|
6622
6331
|
__decorate([
|
|
6623
|
-
|
|
6332
|
+
StoreInValueModel('busyModel'),
|
|
6624
6333
|
__metadata("design:type", Boolean)
|
|
6625
6334
|
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
6626
|
-
BusyOverlayComponent = __decorate([
|
|
6627
|
-
Component({
|
|
6628
|
-
selector: 'aup-busy-overlay',
|
|
6629
|
-
template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
|
|
6630
|
-
styles: [":host{position:relative}div.busy-overlay-backdrop{position:absolute;background-color:rgba(0,0,0,.2);top:0;left:0;bottom:0;right:0;display:-ms-grid;display:grid;-ms-grid-columns:auto;grid-template-columns:auto;-ms-grid-rows:auto;grid-template-rows:auto;place-content:center}"]
|
|
6631
|
-
}),
|
|
6632
|
-
__metadata("design:paramtypes", [])
|
|
6633
|
-
], BusyOverlayComponent);
|
|
6634
6335
|
|
|
6635
|
-
|
|
6336
|
+
class EmptyStateComponent {
|
|
6636
6337
|
constructor() {
|
|
6637
6338
|
}
|
|
6638
6339
|
ngOnInit() {
|
|
6639
6340
|
}
|
|
6640
|
-
}
|
|
6641
|
-
EmptyStateComponent =
|
|
6642
|
-
Component
|
|
6643
|
-
|
|
6644
|
-
|
|
6341
|
+
}
|
|
6342
|
+
EmptyStateComponent.decorators = [
|
|
6343
|
+
{ type: Component, args: [{
|
|
6344
|
+
selector: 'aup-empty-state',
|
|
6345
|
+
template: `
|
|
6645
6346
|
<div class="container">
|
|
6646
6347
|
<ng-content></ng-content>
|
|
6647
6348
|
</div>
|
|
6648
6349
|
`,
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6350
|
+
styles: [":host{align-items:center;display:flex;flex-direction:column;justify-content:center}.container{border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300;padding:var(--aup-default-padding)}"]
|
|
6351
|
+
},] }
|
|
6352
|
+
];
|
|
6353
|
+
EmptyStateComponent.ctorParameters = () => [];
|
|
6653
6354
|
|
|
6654
|
-
|
|
6355
|
+
class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {
|
|
6655
6356
|
constructor(placeRouter) {
|
|
6656
6357
|
super(placeRouter);
|
|
6657
6358
|
}
|
|
6658
|
-
}
|
|
6359
|
+
}
|
|
6360
|
+
ListPlaceNavComponent.decorators = [
|
|
6361
|
+
{ type: Component, args: [{
|
|
6362
|
+
selector: 'aup-list-place-nav',
|
|
6363
|
+
template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-command-face [face]=\"getNavigationFace(placeDefinition)\"></aup-command-face>\n </a>\n</mat-nav-list>\n",
|
|
6364
|
+
styles: [":host{--selected-background:#f1f1f1;--selected-border-color:#838383;--selected-color:inherit;display:flex;flex-direction:column}mat-nav-list{padding-top:0}a.active{background:var(--selected-background);border-right:2px solid var(--selected-border-color);color:var(--selected-color)}"]
|
|
6365
|
+
},] }
|
|
6366
|
+
];
|
|
6659
6367
|
ListPlaceNavComponent.ctorParameters = () => [
|
|
6660
6368
|
{ type: PlaceRouter }
|
|
6661
6369
|
];
|
|
6662
|
-
ListPlaceNavComponent = __decorate([
|
|
6663
|
-
Component({
|
|
6664
|
-
selector: 'aup-list-place-nav',
|
|
6665
|
-
template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-command-face [face]=\"getNavigationFace(placeDefinition)\"></aup-command-face>\n </a>\n</mat-nav-list>\n",
|
|
6666
|
-
styles: [":host{display:flex;flex-direction:column;--selected-border-color:#838383;--selected-color:inherit;--selected-background:#f1f1f1}mat-nav-list{padding-top:0}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}"]
|
|
6667
|
-
}),
|
|
6668
|
-
__metadata("design:paramtypes", [PlaceRouter])
|
|
6669
|
-
], ListPlaceNavComponent);
|
|
6670
6370
|
|
|
6671
6371
|
/**
|
|
6672
6372
|
* @example
|
|
@@ -6710,7 +6410,7 @@ ListPlaceNavComponent = __decorate([
|
|
|
6710
6410
|
* }
|
|
6711
6411
|
* })
|
|
6712
6412
|
*/
|
|
6713
|
-
|
|
6413
|
+
class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
6714
6414
|
constructor(router, placeRouter) {
|
|
6715
6415
|
super(placeRouter);
|
|
6716
6416
|
this.router = router;
|
|
@@ -6725,114 +6425,108 @@ let SidePlaceNavigationComponent = class SidePlaceNavigationComponent extends Ab
|
|
|
6725
6425
|
toggleMenu() {
|
|
6726
6426
|
this.expanded = !this.expanded;
|
|
6727
6427
|
}
|
|
6728
|
-
}
|
|
6428
|
+
}
|
|
6429
|
+
SidePlaceNavigationComponent.decorators = [
|
|
6430
|
+
{ type: Component, args: [{
|
|
6431
|
+
selector: 'aup-side-place-navigation',
|
|
6432
|
+
template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(placeDefinition).icon()\" [icon]=\"getNavigationFace(placeDefinition).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(placeDefinition).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
|
|
6433
|
+
styles: [":host{--resolved-background-color:var(--nav-background-color,#555);--resolved-color:var(--nav-color,hsla(0,0%,100%,0.9));--resolved-expanded-width:var(--nav-expanded-width,235px);--resolved-nav-item-height:var(--nav-item-height,var(--resolved-nav-item-width));--resolved-nav-item-width:var(--nav-width,56px);background-color:var(--resolved-background-color);color:var(--resolved-color);display:flex;flex-direction:column;transition:width 125ms linear;width:var(--resolved-nav-item-width)}:host.expanded{max-width:var(--resolved-expanded-width);width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{display:flex;flex:1;flex-direction:column}.mat-list-item{color:inherit;height:var(--resolved-nav-item-height);width:var(--resolved-nav-item-width)}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
|
|
6434
|
+
},] }
|
|
6435
|
+
];
|
|
6729
6436
|
SidePlaceNavigationComponent.ctorParameters = () => [
|
|
6730
6437
|
{ type: Router },
|
|
6731
6438
|
{ type: PlaceRouter }
|
|
6732
6439
|
];
|
|
6733
|
-
|
|
6734
|
-
HostBinding
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
__metadata("design:type", TemplateRef)
|
|
6740
|
-
], SidePlaceNavigationComponent.prototype, "navEndTemplate", void 0);
|
|
6741
|
-
SidePlaceNavigationComponent = __decorate([
|
|
6742
|
-
Component({
|
|
6743
|
-
selector: 'aup-side-place-navigation',
|
|
6744
|
-
template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(placeDefinition).icon()\" [icon]=\"getNavigationFace(placeDefinition).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(placeDefinition).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
|
|
6745
|
-
styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:var(--nav-width, 56px);--resolved-nav-item-height:var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width:var(--nav-expanded-width, 235px);--resolved-color:var(--nav-color, rgba(255, 255, 255, 0.9));--resolved-background-color:var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
|
|
6746
|
-
}),
|
|
6747
|
-
__metadata("design:paramtypes", [Router, PlaceRouter])
|
|
6748
|
-
], SidePlaceNavigationComponent);
|
|
6749
|
-
|
|
6750
|
-
let TabbedPlaceNavigationComponent = class TabbedPlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
6440
|
+
SidePlaceNavigationComponent.propDecorators = {
|
|
6441
|
+
expanded: [{ type: HostBinding, args: ['class.expanded',] }],
|
|
6442
|
+
navEndTemplate: [{ type: ContentChild, args: ['navEndTemplate',] }]
|
|
6443
|
+
};
|
|
6444
|
+
|
|
6445
|
+
class TabbedPlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
6751
6446
|
constructor(placeRouter) {
|
|
6752
6447
|
super(placeRouter);
|
|
6753
6448
|
}
|
|
6754
|
-
}
|
|
6449
|
+
}
|
|
6450
|
+
TabbedPlaceNavigationComponent.decorators = [
|
|
6451
|
+
{ type: Component, args: [{
|
|
6452
|
+
selector: 'aup-tabbed-place-navigation',
|
|
6453
|
+
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-command-face [face]=\"getNavigationFace(placeDefinition)\"></aup-command-face>\n </a>\n</nav>\n",
|
|
6454
|
+
styles: [""]
|
|
6455
|
+
},] }
|
|
6456
|
+
];
|
|
6755
6457
|
TabbedPlaceNavigationComponent.ctorParameters = () => [
|
|
6756
6458
|
{ type: PlaceRouter }
|
|
6757
6459
|
];
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
InteractionModule,
|
|
6829
|
-
PlaceModule,
|
|
6830
|
-
DirectivesModule,
|
|
6831
|
-
ComponentsModule,
|
|
6832
|
-
NoopComponent
|
|
6833
|
-
]
|
|
6834
|
-
})
|
|
6835
|
-
], AngularUiPowerupsModule);
|
|
6460
|
+
|
|
6461
|
+
class PlaceModule {
|
|
6462
|
+
}
|
|
6463
|
+
PlaceModule.decorators = [
|
|
6464
|
+
{ type: NgModule, args: [{
|
|
6465
|
+
imports: [
|
|
6466
|
+
CommonModule,
|
|
6467
|
+
BrowserAnimationsModule,
|
|
6468
|
+
MatProgressSpinnerModule,
|
|
6469
|
+
RouterModule,
|
|
6470
|
+
MatTabsModule,
|
|
6471
|
+
MatListModule,
|
|
6472
|
+
MatTooltipModule,
|
|
6473
|
+
MatIconModule,
|
|
6474
|
+
DirectivesModule,
|
|
6475
|
+
FlexModule,
|
|
6476
|
+
ComponentsModule
|
|
6477
|
+
],
|
|
6478
|
+
declarations: [
|
|
6479
|
+
EmptyStateComponent,
|
|
6480
|
+
BusyOverlayComponent,
|
|
6481
|
+
PlaceOutletComponent,
|
|
6482
|
+
TabbedPlaceNavigationComponent,
|
|
6483
|
+
ListPlaceNavComponent,
|
|
6484
|
+
SidePlaceNavigationComponent,
|
|
6485
|
+
AbstractPlaceNavigationComponent
|
|
6486
|
+
],
|
|
6487
|
+
entryComponents: [BusyOverlayComponent],
|
|
6488
|
+
exports: [
|
|
6489
|
+
BusyOverlayComponent,
|
|
6490
|
+
PlaceOutletComponent,
|
|
6491
|
+
EmptyStateComponent,
|
|
6492
|
+
TabbedPlaceNavigationComponent,
|
|
6493
|
+
ListPlaceNavComponent,
|
|
6494
|
+
SidePlaceNavigationComponent,
|
|
6495
|
+
AbstractPlaceNavigationComponent
|
|
6496
|
+
],
|
|
6497
|
+
providers: [
|
|
6498
|
+
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "2000ms"}}
|
|
6499
|
+
]
|
|
6500
|
+
},] }
|
|
6501
|
+
];
|
|
6502
|
+
|
|
6503
|
+
class AngularUiPowerupsModule {
|
|
6504
|
+
}
|
|
6505
|
+
AngularUiPowerupsModule.decorators = [
|
|
6506
|
+
{ type: NgModule, args: [{
|
|
6507
|
+
declarations: [],
|
|
6508
|
+
imports: [
|
|
6509
|
+
CommonModule,
|
|
6510
|
+
BrowserAnimationsModule,
|
|
6511
|
+
FormsModule,
|
|
6512
|
+
MatInputModule,
|
|
6513
|
+
MatFormFieldModule,
|
|
6514
|
+
MatSelectModule,
|
|
6515
|
+
MatTabsModule,
|
|
6516
|
+
DirectivesModule,
|
|
6517
|
+
ComponentsModule,
|
|
6518
|
+
PlaceModule,
|
|
6519
|
+
InteractionModule
|
|
6520
|
+
],
|
|
6521
|
+
exports: [
|
|
6522
|
+
InteractionModule,
|
|
6523
|
+
PlaceModule,
|
|
6524
|
+
DirectivesModule,
|
|
6525
|
+
ComponentsModule,
|
|
6526
|
+
NoopComponent
|
|
6527
|
+
]
|
|
6528
|
+
},] }
|
|
6529
|
+
];
|
|
6836
6530
|
|
|
6837
6531
|
const slideDownOnEnterDef = style({
|
|
6838
6532
|
opacity: 0,
|
|
@@ -6864,6 +6558,9 @@ const slideRightOnEnterAnimation = trigger('slideRightOnEnter', [
|
|
|
6864
6558
|
* @file Automatically generated by barrelsby.
|
|
6865
6559
|
*/
|
|
6866
6560
|
|
|
6561
|
+
// const r:Result<string, number> = null;
|
|
6562
|
+
// r.catch(e => {}).then();
|
|
6563
|
+
|
|
6867
6564
|
class DialogInteractionContext extends AbstractInteractionContext {
|
|
6868
6565
|
constructor(identifier, api, dialogService, config) {
|
|
6869
6566
|
super();
|
|
@@ -6919,7 +6616,7 @@ class DialogInteractionContext extends AbstractInteractionContext {
|
|
|
6919
6616
|
}
|
|
6920
6617
|
|
|
6921
6618
|
const DIALOG_INTERACTION_SERVICE_DEFAULTS = new InjectionToken('DIALOG_INTERACTION_SERVICE_DEFAULTS');
|
|
6922
|
-
|
|
6619
|
+
class DialogInteractionContextFactory extends ModalInteractionContextFactory {
|
|
6923
6620
|
constructor(dialogService, dialogServiceDefaults, matDialogDefaultConfig) {
|
|
6924
6621
|
super();
|
|
6925
6622
|
this.dialogService = dialogService;
|
|
@@ -6931,23 +6628,18 @@ let DialogInteractionContextFactory = class DialogInteractionContextFactory exte
|
|
|
6931
6628
|
const config = Object.assign(Object.assign({ autoFocus: false, hasBackdrop: true, closeOnNavigation: false }, this.matDialogDefaultConfig), this.dialogServiceDefaults);
|
|
6932
6629
|
return new DialogInteractionContext(identifier, api, this.dialogService, config);
|
|
6933
6630
|
}
|
|
6934
|
-
}
|
|
6631
|
+
}
|
|
6632
|
+
DialogInteractionContextFactory.ɵprov = ɵɵdefineInjectable({ factory: function DialogInteractionContextFactory_Factory() { return new DialogInteractionContextFactory(ɵɵinject(MatDialog), ɵɵinject(DIALOG_INTERACTION_SERVICE_DEFAULTS, 8), ɵɵinject(MAT_DIALOG_DEFAULT_OPTIONS, 8)); }, token: DialogInteractionContextFactory, providedIn: "root" });
|
|
6633
|
+
DialogInteractionContextFactory.decorators = [
|
|
6634
|
+
{ type: Injectable, args: [{
|
|
6635
|
+
providedIn: 'root'
|
|
6636
|
+
},] }
|
|
6637
|
+
];
|
|
6935
6638
|
DialogInteractionContextFactory.ctorParameters = () => [
|
|
6936
6639
|
{ type: MatDialog },
|
|
6937
6640
|
{ type: MatDialogConfig, decorators: [{ type: Optional }, { type: Inject, args: [DIALOG_INTERACTION_SERVICE_DEFAULTS,] }] },
|
|
6938
6641
|
{ type: MatDialogConfig, decorators: [{ type: Optional }, { type: Inject, args: [MAT_DIALOG_DEFAULT_OPTIONS,] }] }
|
|
6939
6642
|
];
|
|
6940
|
-
DialogInteractionContextFactory.ɵprov = ɵɵdefineInjectable({ factory: function DialogInteractionContextFactory_Factory() { return new DialogInteractionContextFactory(ɵɵinject(MatDialog), ɵɵinject(DIALOG_INTERACTION_SERVICE_DEFAULTS, 8), ɵɵinject(MAT_DIALOG_DEFAULT_OPTIONS, 8)); }, token: DialogInteractionContextFactory, providedIn: "root" });
|
|
6941
|
-
DialogInteractionContextFactory = __decorate([
|
|
6942
|
-
Injectable({
|
|
6943
|
-
providedIn: 'root'
|
|
6944
|
-
}),
|
|
6945
|
-
__param(1, Optional()), __param(1, Inject(DIALOG_INTERACTION_SERVICE_DEFAULTS)),
|
|
6946
|
-
__param(2, Optional()), __param(2, Inject(MAT_DIALOG_DEFAULT_OPTIONS)),
|
|
6947
|
-
__metadata("design:paramtypes", [MatDialog,
|
|
6948
|
-
MatDialogConfig,
|
|
6949
|
-
MatDialogConfig])
|
|
6950
|
-
], DialogInteractionContextFactory);
|
|
6951
6643
|
|
|
6952
6644
|
/**
|
|
6953
6645
|
* @file Automatically generated by barrelsby.
|
|
@@ -7012,7 +6704,7 @@ class ParamMapAdapter {
|
|
|
7012
6704
|
}
|
|
7013
6705
|
}
|
|
7014
6706
|
|
|
7015
|
-
|
|
6707
|
+
class NoopAuthGuard {
|
|
7016
6708
|
constructor() {
|
|
7017
6709
|
}
|
|
7018
6710
|
canActivate(activatedRoute, state) {
|
|
@@ -7020,14 +6712,14 @@ let NoopAuthGuard = class NoopAuthGuard {
|
|
|
7020
6712
|
return true;
|
|
7021
6713
|
});
|
|
7022
6714
|
}
|
|
7023
|
-
}
|
|
6715
|
+
}
|
|
7024
6716
|
NoopAuthGuard.ɵprov = ɵɵdefineInjectable({ factory: function NoopAuthGuard_Factory() { return new NoopAuthGuard(); }, token: NoopAuthGuard, providedIn: "root" });
|
|
7025
|
-
NoopAuthGuard =
|
|
7026
|
-
Injectable
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
6717
|
+
NoopAuthGuard.decorators = [
|
|
6718
|
+
{ type: Injectable, args: [{
|
|
6719
|
+
providedIn: 'root'
|
|
6720
|
+
},] }
|
|
6721
|
+
];
|
|
6722
|
+
NoopAuthGuard.ctorParameters = () => [];
|
|
7031
6723
|
|
|
7032
6724
|
class VisitSanitiser {
|
|
7033
6725
|
constructor(navigationSession, activatedRoute, router, placeHistory, injector) {
|
|
@@ -7184,11 +6876,11 @@ var Formatter;
|
|
|
7184
6876
|
}
|
|
7185
6877
|
class NumberType {
|
|
7186
6878
|
format(value) {
|
|
7187
|
-
return
|
|
6879
|
+
return _.isNumber(value) && !_.isNaN(value) ? `${value}` : null;
|
|
7188
6880
|
}
|
|
7189
6881
|
parse(value) {
|
|
7190
6882
|
const parsed = Number.parseFloat(value);
|
|
7191
|
-
return
|
|
6883
|
+
return _.isNaN(parsed) ? null : parsed;
|
|
7192
6884
|
}
|
|
7193
6885
|
}
|
|
7194
6886
|
class BooleanType {
|
|
@@ -7272,5 +6964,5 @@ function VisitParameterList(options) {
|
|
|
7272
6964
|
* Generated bundle index. Do not edit.
|
|
7273
6965
|
*/
|
|
7274
6966
|
|
|
7275
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandDirective, CommandFace, CommandFaceComponent, CommandGroup, CommandGroupComponent, CommandGroupMenuRendererComponent, CommandGroupRendererComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PopupMenuComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, Registration, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, UrlService, UrlSnapshot, VerticalFocusContainerComponent, ViewData, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled,
|
|
6967
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandDirective, CommandFace, CommandFaceComponent, CommandGroup, CommandGroupComponent, CommandGroupMenuRendererComponent, CommandGroupRendererComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PopupMenuComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, Registration, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, UrlService, UrlSnapshot, VerticalFocusContainerComponent, ViewData, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0, DirectivesModule as ɵa, CommandDirective as ɵb, CardContainerComponent as ɵba, TableComponent as ɵbb, EditRowControls as ɵbc, ColumnTemplateDirective as ɵbd, DefaultCellRendererComponent as ɵbe, TableCellRendererComponent as ɵbf, SelectCellRendererComponent as ɵbg, SelectHeaderCellRendererComponent as ɵbh, DefaultHeaderCellRendererComponent as ɵbi, TableHeaderCellRendererComponent as ɵbj, IconComponent as ɵbk, SectionHeaderComponent as ɵbl, TableRowMenuComponent as ɵbm, ToolBarComponent as ɵbn, CommandGroup as ɵbo, CommandComponent as ɵbp, PopupMenuComponent as ɵbq, CommandGroupComponent as ɵbr, CommandFaceComponent as ɵbs, MoreMenuComponent as ɵbt, SeparatorComponent as ɵbu, FlexComponent as ɵbv, CommandGroupMenuRendererComponent as ɵbw, CommandGroupRendererComponent as ɵbx, PlaceModule as ɵby, ComponentsModule as ɵbz, FocusBindingDirective as ɵc, EmptyStateComponent as ɵca, BusyOverlayComponent as ɵcb, PlaceOutletComponent as ɵcc, leftRightPlaceAnimation as ɵcd, LEFT_RIGHT_PLACE_ANIMATION as ɵce, AUP_PLACE_CONFIG as ɵcf, PlaceRouter as ɵch, InteractionService as ɵci, ModalInteractionContextFactory as ɵcj, UrlService as ɵck, PlaceHistory as ɵcl, TabbedPlaceNavigationComponent as ɵcm, AbstractPlaceNavigationComponent as ɵcn, ListPlaceNavComponent as ɵco, SidePlaceNavigationComponent as ɵcp, InteractionModule as ɵcq, ActivityContainerComponent as ɵcr, AbstractInteractionContext as ɵcs, ActivityOutletComponent as ɵct, ConfirmationDialogComponent as ɵcu, ACTIVITY_DATA as ɵcv, Activity as ɵcw, ConfirmThenDialogComponent as ɵcy, AlertDialogComponent as ɵcz, DisposableComponent as ɵd, InPlaceInteractionContextComponent as ɵdb, AddItemInteractionContextComponent as ɵdc, ActivityActionsComponent as ɵdd, PopupInteractionContextComponent as ɵde, StringInputActivity as ɵdf, AbstractInputActivity as ɵdg, SelectInputActivity as ɵdh, InteractionContextTriggerFor as ɵdi, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractValueInputComponent as ɵh, AbstractListInputComponent as ɵi, NumberInputComponent as ɵj, StringInputComponent as ɵk, TextInputComponent as ɵl, PasswordInputComponent as ɵm, SelectInputComponent as ɵn, MultipleSelectInputComponent as ɵo, AutocompleteInputComponent as ɵp, CheckboxInputComponent as ɵq, ScrollContainerComponent as ɵr, NoopComponent as ɵs, SwitchCaseOption as ɵt, SwitchCaseWhenDirective as ɵu, SwitchCaseDefaultDirective as ɵv, SwitchCaseComponent as ɵw, FocusContainerComponent as ɵx, VerticalFocusContainerComponent as ɵy, FocusableComponent as ɵz };
|
|
7276
6968
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|