@coolon/angular-ui-powerups 12.4.0-alpha.59 → 12.4.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/activities.scss +70 -0
- package/assets/form.scss +2 -5
- package/assets/interaction.scss +7 -10
- package/assets/mixins.scss +7 -5
- package/assets/styles.scss +15 -8
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js +324 -745
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +220 -905
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/cypress/components/aup-command-face.d.ts +8 -2
- package/cypress/components/aup-command.d.ts +1 -2
- package/cypress/components/aup-input.d.ts +5 -11
- package/cypress/components/aup-more-menu.d.ts +4 -0
- package/cypress/components/aup-popup-menu.d.ts +7 -0
- package/cypress/components/aup-table.d.ts +18 -5
- package/cypress/components/button-mixin.d.ts +19 -0
- package/cypress/components/button.d.ts +7 -11
- package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
- package/cypress/exports.d.ts +4 -25
- package/cypress/package.json +1 -1
- package/cypress/page-element.d.ts +12 -12
- package/cypress/page.d.ts +33 -8
- package/cypress/section.d.ts +52 -0
- package/esm2015/cypress/components/aup-command-face.js +22 -11
- package/esm2015/cypress/components/aup-command-face.js.map +1 -1
- package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
- package/esm2015/cypress/components/aup-command.js +6 -12
- package/esm2015/cypress/components/aup-command.js.map +1 -1
- package/esm2015/cypress/components/aup-command.metadata.json +1 -1
- package/esm2015/cypress/components/aup-input.js +5 -17
- package/esm2015/cypress/components/aup-input.js.map +1 -1
- package/esm2015/cypress/components/aup-input.metadata.json +1 -1
- package/esm2015/cypress/components/aup-more-menu.js +7 -0
- package/esm2015/cypress/components/aup-more-menu.js.map +1 -0
- package/esm2015/cypress/components/aup-more-menu.metadata.json +1 -0
- package/esm2015/cypress/components/aup-navigation.js +1 -1
- package/esm2015/cypress/components/aup-navigation.js.map +1 -1
- package/esm2015/cypress/components/aup-popup-menu.js +19 -0
- package/esm2015/cypress/components/aup-popup-menu.js.map +1 -0
- package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -0
- package/esm2015/cypress/components/aup-table.js +33 -5
- package/esm2015/cypress/components/aup-table.js.map +1 -1
- package/esm2015/cypress/components/aup-table.metadata.json +1 -1
- package/esm2015/cypress/components/button-mixin.js +15 -0
- package/esm2015/cypress/components/button-mixin.js.map +1 -0
- package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
- package/esm2015/cypress/components/button.js +10 -4
- package/esm2015/cypress/components/button.js.map +1 -1
- package/esm2015/cypress/components/button.metadata.json +1 -1
- package/esm2015/cypress/exports.js +4 -25
- package/esm2015/cypress/exports.js.map +1 -1
- package/esm2015/cypress/exports.metadata.json +1 -1
- package/esm2015/cypress/page-element.js +19 -26
- package/esm2015/cypress/page-element.js.map +1 -1
- package/esm2015/cypress/page-element.metadata.json +1 -1
- package/esm2015/cypress/page.js +19 -31
- package/esm2015/cypress/page.js.map +1 -1
- package/esm2015/cypress/page.metadata.json +1 -1
- package/esm2015/cypress/path.js +1 -3
- package/esm2015/cypress/path.js.map +1 -1
- package/esm2015/cypress/section.js +72 -0
- package/esm2015/cypress/section.js.map +1 -0
- package/esm2015/cypress/section.metadata.json +1 -0
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +1 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +84 -0
- package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
- package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/{labelled-value/labelled-value.component.scss.shim.ngstyle.js.map → card-container/card-container.component.scss.shim.ngstyle.js.map} +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +1 -1
- package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.js +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.js +24 -37
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
- package/esm2015/lib/components/exports.js +3 -5
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.js +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.js +0 -1
- package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
- package/esm2015/lib/components/icon/icon.component.js +1 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
- package/esm2015/lib/components/noop/noop.component.js +1 -1
- package/esm2015/lib/components/noop/noop.component.metadata.json +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
- package/esm2015/lib/components/section-header/section-header.component.js +5 -12
- 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/switch-case/switch-case.component.js +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/abstract-table-model.js.map +1 -1
- package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
- package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +1 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.js +1 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/table.component.js +1 -1
- package/esm2015/lib/components/tables/table/table.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-node.js +2 -0
- package/esm2015/lib/components/tables/tree-table/tree-node.js.map +1 -0
- package/esm2015/lib/components/tables/tree-table/tree-node.metadata.json +1 -0
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/visitable.class.js +26 -0
- package/esm2015/lib/components/tables/tree-table/visitable.class.js.map +1 -0
- package/esm2015/lib/components/tables/tree-table/visitable.class.metadata.json +1 -0
- package/esm2015/lib/components/track-by.js +0 -12
- package/esm2015/lib/components/track-by.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +11 -17
- 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-container/activity-container.component.js +2 -2
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +0 -4
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +2 -5
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +2 -5
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +2 -5
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +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/alert-dialog/alert-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +3 -7
- 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.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +43 -0
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +1 -0
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +2 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +2 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -5
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +4 -6
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +1 -2
- 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.metadata.json +1 -1
- package/esm2015/lib/interaction/exports.js +3 -5
- package/esm2015/lib/interaction/exports.js.map +1 -1
- package/esm2015/lib/interaction/exports.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.js +5 -19
- 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/place/components/list-place-nav/list-place-nav.component.js +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +1 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/guards/consolidated-param-map.js +1 -2
- package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
- package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +1 -1
- package/esm2015/lib/place/guards/place.guard.js +1 -2
- package/esm2015/lib/place/guards/place.guard.js.map +1 -1
- package/esm2015/lib/place/place-component.js +4 -31
- package/esm2015/lib/place/place-component.js.map +1 -1
- package/esm2015/lib/place/place-component.metadata.json +1 -1
- package/esm2015/lib/place/place-router.js +13 -10
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.js +7 -1
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
- package/esm2015/lib/place/visit.js +1 -5
- package/esm2015/lib/place/visit.js.map +1 -1
- package/esm2015/lib/place/visit.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups-cypress.js +237 -550
- package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +173 -755
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts +9 -30
- package/lib/components/exports.d.ts +3 -5
- package/lib/components/section-header/section-header.component.d.ts +2 -5
- package/lib/components/tables/abstract-table-model.d.ts +2 -2
- package/lib/components/tables/table/column-model.d.ts +1 -1
- package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -0
- package/lib/components/tables/tree-table/tree-node.d.ts +3 -0
- package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
- package/lib/components/tables/tree-table/visitable.class.d.ts +22 -0
- package/lib/components/track-by.d.ts +0 -9
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -14
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +0 -1
- package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +12 -0
- package/lib/interaction/components/input-activities/input-activity-data.d.ts +11 -0
- package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +8 -0
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +3 -11
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -6
- package/lib/interaction/exports.d.ts +3 -5
- package/lib/place/place-component.d.ts +1 -6
- package/lib/place/place-router.d.ts +2 -2
- package/package.json +16 -16
- package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +3 -5
- package/schematics/component/index.js +1 -1
- package/schematics/component/index.js.map +1 -1
- package/schematics/component/templates/component/__name@dasherize__.component.ts.template +1 -1
- package/schematics/place-routes/place-class-scanner.js +1 -3
- package/schematics/place-routes/place-class-scanner.js.map +1 -1
- package/schematics/utils/build-context.d.ts +3 -6
- package/schematics/utils/build-context.js +3 -3
- package/schematics/utils/build-context.js.map +1 -1
- package/schematics/utils/workspace.d.ts +0 -1
- package/schematics/utils/workspace.js +3 -11
- package/schematics/utils/workspace.js.map +1 -1
- package/assets/activities/activities.scss +0 -77
- package/assets/activities/input-activities.scss +0 -36
- package/assets/cards.scss +0 -17
- package/assets/empty-state.scss +0 -11
- package/assets/forms/mixins.scss +0 -6
- package/assets/interaction/editor/inline-string-editor.scss +0 -100
- package/cypress/component-builder.d.ts +0 -71
- package/cypress/components/aup-abstract-activity.d.ts +0 -31
- package/cypress/components/aup-abstract-table.d.ts +0 -18
- package/cypress/components/aup-activity.d.ts +0 -9
- package/cypress/components/aup-alert-dialog.d.ts +0 -27
- package/cypress/components/aup-alert.d.ts +0 -9
- package/cypress/components/aup-confirm-dialog.d.ts +0 -27
- package/cypress/components/aup-confirm.d.ts +0 -11
- package/cypress/components/aup-empty-state.d.ts +0 -4
- package/cypress/components/aup-modal-activity.d.ts +0 -24
- package/cypress/components/aup-modal-mixin.d.ts +0 -23
- package/cypress/components/aup-tree-table.d.ts +0 -16
- package/cypress/components/form-element-mixin.d.ts +0 -22
- package/cypress/components/mat-checkbox.d.ts +0 -31
- package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
- package/cypress/components/popup/aup-more-menu.d.ts +0 -5
- package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
- package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
- package/cypress/components/table/aup-table-cell.d.ts +0 -9
- package/cypress/components/table/aup-table-column.d.ts +0 -10
- package/cypress/components/table/aup-table-row.d.ts +0 -17
- package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
- package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
- package/cypress/element-locator.d.ts +0 -8
- package/cypress/page-builder.d.ts +0 -9
- package/esm2015/cypress/component-builder.js +0 -92
- package/esm2015/cypress/component-builder.js.map +0 -1
- package/esm2015/cypress/component-builder.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
- package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-table.js +0 -50
- package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
- package/esm2015/cypress/components/aup-activity.js +0 -13
- package/esm2015/cypress/components/aup-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
- package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert.js +0 -13
- package/esm2015/cypress/components/aup-alert.js.map +0 -1
- package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
- package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm.js +0 -19
- package/esm2015/cypress/components/aup-confirm.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
- package/esm2015/cypress/components/aup-empty-state.js +0 -7
- package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
- package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-activity.js +0 -5
- package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
- package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/aup-tree-table.js +0 -34
- package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
- package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
- package/esm2015/cypress/components/form-element-mixin.js +0 -11
- package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
- package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/mat-checkbox.js +0 -34
- package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
- package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
- package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
- package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
- package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-column.js +0 -19
- package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-row.js +0 -28
- package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
- package/esm2015/cypress/element-locator.js +0 -16
- package/esm2015/cypress/element-locator.js.map +0 -1
- package/esm2015/cypress/element-locator.metadata.json +0 -1
- package/esm2015/cypress/page-builder.js +0 -16
- package/esm2015/cypress/page-builder.js.map +0 -1
- package/esm2015/cypress/page-builder.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.js +0 -29
- package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.js +0 -123
- package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -78
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.js +0 -22
- package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.js +0 -45
- package/esm2015/lib/components/loading-container/loading-container.component.js.map +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/loading-container/loading-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -77
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/edit-context.js +0 -2
- package/esm2015/lib/interaction/components/editors/edit-context.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +0 -50
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +0 -161
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.js +0 -95
- package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +0 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +0 -11
- package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -65
- package/lib/components/labelled-value/labelled-value.component.d.ts +0 -7
- package/lib/components/loading-container/loading-container.component.d.ts +0 -11
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +0 -39
- package/lib/interaction/components/editors/edit-context.d.ts +0 -3
- package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +0 -24
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +0 -57
- package/lib/interaction/components/input-activities/input-activity.d.ts +0 -41
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@angular/common';
|
|
2
2
|
import { DOCUMENT, CommonModule, Location } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Directive, ElementRef, Inject, Host, Optional, Input, HostListener, NgZone, Injectable, Pipe, NgModule, Component, ContentChild,
|
|
4
|
+
import { Directive, ElementRef, Inject, Host, Optional, Input, HostListener, NgZone, Injectable, Pipe, NgModule, Component, ContentChild, ViewEncapsulation, HostBinding, InjectionToken, ViewChildren, SkipSelf, EventEmitter, ViewChild, Output, Self, TemplateRef, ChangeDetectorRef, ContentChildren, ViewContainerRef, Injector, ComponentFactoryResolver } from '@angular/core';
|
|
5
5
|
import { FormsModule } from '@angular/forms';
|
|
6
6
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
7
|
import { MatInputModule } from '@angular/material/input';
|
|
@@ -16,23 +16,21 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
|
16
16
|
import { MatDividerModule } from '@angular/material/divider';
|
|
17
17
|
import { MatIconModule } from '@angular/material/icon';
|
|
18
18
|
import { MatMenuItem, MatMenuTrigger, MatMenuModule } from '@angular/material/menu';
|
|
19
|
-
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
20
19
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
21
20
|
import { MatTableModule } from '@angular/material/table';
|
|
22
21
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
23
22
|
import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
|
|
24
23
|
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
25
|
-
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Functions } from '@coolon/pectin';
|
|
24
|
+
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Trace, Functions } from '@coolon/pectin';
|
|
26
25
|
import { __decorate, __metadata, __awaiter } from 'tslib';
|
|
27
26
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
28
27
|
import * as _ from 'lodash';
|
|
29
28
|
import ___default from 'lodash';
|
|
30
29
|
import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
|
|
31
30
|
import { Enum } from 'typescript-string-enums';
|
|
32
|
-
import {
|
|
31
|
+
import { assert as assert$1, Stringy, lang as lang$1, Opts, Klass } from '@coolon/typescript-utilities';
|
|
33
32
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
34
33
|
import produce from 'immer';
|
|
35
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
|
36
34
|
import { FlexModule, GridModule } from '@angular/flex-layout';
|
|
37
35
|
import * as i1$1 from '@angular/material/dialog';
|
|
38
36
|
import { MatDialogModule, MatDialog, MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
|
@@ -403,7 +401,7 @@ BusyOverlayComponent.decorators = [
|
|
|
403
401
|
{ type: Component, args: [{
|
|
404
402
|
selector: 'aup-busy-overlay',
|
|
405
403
|
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",
|
|
406
|
-
styles: [":host{position:relative}div.busy-overlay-backdrop{position:absolute;background-color
|
|
404
|
+
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:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}"]
|
|
407
405
|
},] }
|
|
408
406
|
];
|
|
409
407
|
BusyOverlayComponent.ctorParameters = () => [];
|
|
@@ -528,30 +526,6 @@ var CommandFace;
|
|
|
528
526
|
CommandFace.Adapter = Adapter;
|
|
529
527
|
})(CommandFace || (CommandFace = {}));
|
|
530
528
|
|
|
531
|
-
class AbstractCardContainerComponent extends DisposableComponent {
|
|
532
|
-
constructor() {
|
|
533
|
-
super();
|
|
534
|
-
}
|
|
535
|
-
ngOnInit() {
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
AbstractCardContainerComponent.decorators = [
|
|
539
|
-
{ type: Component, args: [{
|
|
540
|
-
selector: 'aup-abstract-card-container',
|
|
541
|
-
template: ''
|
|
542
|
-
},] }
|
|
543
|
-
];
|
|
544
|
-
AbstractCardContainerComponent.ctorParameters = () => [];
|
|
545
|
-
AbstractCardContainerComponent.propDecorators = {
|
|
546
|
-
addCardCommand: [{ type: Input }],
|
|
547
|
-
addCardFace: [{ type: Input }],
|
|
548
|
-
addCardTemplate: [{ type: ContentChild, args: ['addCardTemplate',] }]
|
|
549
|
-
};
|
|
550
|
-
__decorate([
|
|
551
|
-
TrackExternal(),
|
|
552
|
-
__metadata("design:type", Command)
|
|
553
|
-
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
554
|
-
|
|
555
529
|
/**
|
|
556
530
|
* @example
|
|
557
531
|
* // basic usage
|
|
@@ -569,13 +543,6 @@ __decorate([
|
|
|
569
543
|
* <my-card *ngFor="..."></my-card>
|
|
570
544
|
* </aup-card-container>
|
|
571
545
|
*
|
|
572
|
-
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
573
|
-
* // the activity inside teh card
|
|
574
|
-
* <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
575
|
-
* <my-card *ngFor="..."></my-card>
|
|
576
|
-
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
577
|
-
* </aup-card-container>
|
|
578
|
-
*
|
|
579
546
|
* // adds an add card component using the specified template. The template
|
|
580
547
|
* // will fill it's container in the grid.
|
|
581
548
|
* <aup-card-container>
|
|
@@ -608,144 +575,35 @@ __decorate([
|
|
|
608
575
|
* aup-card-container {
|
|
609
576
|
* --card-gap: var(--card-gap, 16px);
|
|
610
577
|
* --card-width: var(--card-width, 300px);
|
|
611
|
-
* --card-max-width: auto;
|
|
612
578
|
* --card-height: var(--card-height, auto);
|
|
613
579
|
* --card-min-height: var(--card-min-height, auto);
|
|
614
580
|
* --card-background: var(--card-background, #fcfcfb);
|
|
615
581
|
* }
|
|
616
582
|
*/
|
|
617
|
-
class CardContainerComponent extends
|
|
618
|
-
constructor(
|
|
583
|
+
class CardContainerComponent extends DisposableComponent {
|
|
584
|
+
constructor() {
|
|
619
585
|
super();
|
|
620
|
-
this.elementRef = elementRef;
|
|
621
|
-
/**
|
|
622
|
-
* Enable scrolling. If true the container will have height==0 so you must set it's height explicitly
|
|
623
|
-
* or place in a layout that will stretch it such as a grid or flex layout.
|
|
624
|
-
*/
|
|
625
|
-
this.enabledScroll = false;
|
|
626
|
-
}
|
|
627
|
-
set columnCount(count) {
|
|
628
|
-
if (!_.isNil(count) && (!_.isInteger(count) || count < 1)) {
|
|
629
|
-
lang$1.illegalState('columnCount must be a positive integer or nil');
|
|
630
|
-
}
|
|
631
|
-
this._columnCount = count;
|
|
632
|
-
this.updateColumnCountStyles();
|
|
633
|
-
}
|
|
634
|
-
get columnCount() {
|
|
635
|
-
return this._columnCount;
|
|
636
586
|
}
|
|
637
587
|
ngOnInit() {
|
|
638
|
-
super.ngOnInit();
|
|
639
|
-
this.updateColumnCountStyles();
|
|
640
|
-
}
|
|
641
|
-
get isAutoColumns() {
|
|
642
|
-
return _.isNil(this._columnCount);
|
|
643
|
-
}
|
|
644
|
-
get isSingleColumn() {
|
|
645
|
-
return this._columnCount === 1;
|
|
646
|
-
}
|
|
647
|
-
updateColumnCountStyles() {
|
|
648
|
-
const el = this.elementRef.nativeElement;
|
|
649
|
-
if (_.isNil(this._columnCount)) {
|
|
650
|
-
el.style.setProperty('--aup-card-container-column-count', '');
|
|
651
|
-
}
|
|
652
|
-
else {
|
|
653
|
-
el.style.setProperty('--aup-card-container-column-count', this._columnCount);
|
|
654
|
-
}
|
|
655
588
|
}
|
|
656
589
|
}
|
|
657
590
|
CardContainerComponent.decorators = [
|
|
658
591
|
{ type: Component, args: [{
|
|
659
592
|
selector: 'aup-card-container',
|
|
660
|
-
template: "<div class=\"
|
|
661
|
-
styles: [":host{--resolved-card-gap:
|
|
593
|
+
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-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" 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",
|
|
594
|
+
styles: [":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:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-auto-rows:minmax(var(--resolved-card-min-height),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:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s 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}"]
|
|
662
595
|
},] }
|
|
663
596
|
];
|
|
664
|
-
CardContainerComponent.ctorParameters = () => [
|
|
665
|
-
{ type: ElementRef }
|
|
666
|
-
];
|
|
597
|
+
CardContainerComponent.ctorParameters = () => [];
|
|
667
598
|
CardContainerComponent.propDecorators = {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
isSingleColumn: [{ type: HostBinding, args: ['class.single-column',] }]
|
|
599
|
+
addCardCommand: [{ type: Input }],
|
|
600
|
+
addCardFace: [{ type: Input }],
|
|
601
|
+
addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
|
|
672
602
|
};
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
* // basic usage
|
|
678
|
-
* <aup-card-stack>
|
|
679
|
-
* <my-card *ngFor="..."></my-card>
|
|
680
|
-
* </aup-card-stack>
|
|
681
|
-
*
|
|
682
|
-
* // adds an add button with a the '+' icon to the end of the card list.
|
|
683
|
-
* <aup-card-stack [addCardCommand]="addCard">
|
|
684
|
-
* <my-card *ngFor="..."></my-card>
|
|
685
|
-
* </aup-card-stack>
|
|
686
|
-
*
|
|
687
|
-
* // adds an add button with the specified face
|
|
688
|
-
* <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
689
|
-
* <my-card *ngFor="..."></my-card>
|
|
690
|
-
* </aup-card-stack>
|
|
691
|
-
*
|
|
692
|
-
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
693
|
-
* // the activity inside teh card
|
|
694
|
-
* <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
695
|
-
* <my-card *ngFor="..."></my-card>
|
|
696
|
-
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
697
|
-
* </aup-card-stack>
|
|
698
|
-
*
|
|
699
|
-
* // adds an add card component using the specified template. The template
|
|
700
|
-
* // will fill it's container in the grid.
|
|
701
|
-
* <aup-card-stack>
|
|
702
|
-
* <my-card *ngFor="..."></my-card>
|
|
703
|
-
* <ng-template #addCardTemplate>
|
|
704
|
-
* <div>This is a new card template, it will the the size of the other cards.</div>
|
|
705
|
-
* </ng-template>
|
|
706
|
-
* </aup-card-stack>
|
|
707
|
-
*
|
|
708
|
-
* // sing the default new card styles for your template
|
|
709
|
-
* @import "../../../../assets/styles";
|
|
710
|
-
* .my-new-card {
|
|
711
|
-
* @include aup-card-stack-new-card-style();
|
|
712
|
-
* // OR
|
|
713
|
-
* @include aup-card-stack-new-card-style(
|
|
714
|
-
* $color: rgba(0,0,0,0.54),
|
|
715
|
-
* $background-color: rgba(255,255,255,0.8),
|
|
716
|
-
* $hover-color: $color,
|
|
717
|
-
* $background-hover-color: white
|
|
718
|
-
* )
|
|
719
|
-
* }
|
|
720
|
-
* <aup-card-stack>
|
|
721
|
-
* <my-card *ngFor="..."></my-card>
|
|
722
|
-
* <ng-template #addCardTemplate>
|
|
723
|
-
* <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
|
|
724
|
-
* </ng-template>
|
|
725
|
-
* </aup-card-stack>
|
|
726
|
-
*
|
|
727
|
-
* // CSS Vars
|
|
728
|
-
* aup-card-stack {
|
|
729
|
-
* --card-gap: var(--card-gap, 16px);
|
|
730
|
-
* --card-height: var(--card-height, auto);
|
|
731
|
-
* --card-min-height: var(--card-min-height, auto);
|
|
732
|
-
* --card-background: var(--card-background, #fcfcfb);
|
|
733
|
-
* }
|
|
734
|
-
*/
|
|
735
|
-
class CardStackComponent extends AbstractCardContainerComponent {
|
|
736
|
-
constructor() {
|
|
737
|
-
super();
|
|
738
|
-
console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
CardStackComponent.decorators = [
|
|
742
|
-
{ type: Component, args: [{
|
|
743
|
-
selector: 'aup-card-stack',
|
|
744
|
-
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" 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 <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n",
|
|
745
|
-
styles: [":host{--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-background: var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{display:flex;flex-direction:column;align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.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;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.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}\n"]
|
|
746
|
-
},] }
|
|
747
|
-
];
|
|
748
|
-
CardStackComponent.ctorParameters = () => [];
|
|
603
|
+
__decorate([
|
|
604
|
+
TrackExternal(),
|
|
605
|
+
__metadata("design:type", Command)
|
|
606
|
+
], CardContainerComponent.prototype, "addCardCommand", void 0);
|
|
749
607
|
|
|
750
608
|
/**
|
|
751
609
|
* Custom CSS:
|
|
@@ -793,7 +651,7 @@ CommandFaceComponent.decorators = [
|
|
|
793
651
|
selector: 'aup-command-face',
|
|
794
652
|
template: "<div class=\"face-container\" *ngFor=\"let face of faceAdapters.value\">\n <aup-icon *ngIf=\"hasIconStart(face)\" [icon]=\"face.icon\"></aup-icon>\n <span *ngIf=\"face.text\">{{face.text}}</span>\n <aup-icon *ngIf=\"hasIconEnd(face)\" [icon]=\"face.icon\"></aup-icon>\n</div>\n",
|
|
795
653
|
encapsulation: ViewEncapsulation.None,
|
|
796
|
-
styles: ["aup-command-face{--icon-gap:
|
|
654
|
+
styles: ["aup-command-face{--icon-gap:var(--aup-command-face-icon-gap);display:inline-grid}aup-command-face>.face-container{grid-column:1;grid-row:1;display:inline-flex;flex-direction:row;align-items:center}aup-command-face>.face-container:not(:first-child){visibility:hidden}aup-command-face>.face-container *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}aup-command-face.centered{justify-items:center}aup-command-face.start{justify-items:self-start}aup-command-face.end{justify-items:self-end}"]
|
|
797
655
|
},] }
|
|
798
656
|
];
|
|
799
657
|
CommandFaceComponent.ctorParameters = () => [];
|
|
@@ -882,7 +740,7 @@ CommandComponent.decorators = [
|
|
|
882
740
|
{ type: Component, args: [{
|
|
883
741
|
selector: 'aup-command',
|
|
884
742
|
template: "<ng-container *ngIf=\"iconOnly.value\">\n <button mat-icon-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n</ng-container>\n<ng-container *ngIf=\"!iconOnly.value\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <ng-container *ngSwitchCase=\"CommandFace.Style.STROKED\">\n <button mat-stroked-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFace.Style.RAISED\">\n <button mat-raised-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n</ng-container>\n",
|
|
885
|
-
styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}button{flex:1}
|
|
743
|
+
styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}button{flex:1}"]
|
|
886
744
|
},] }
|
|
887
745
|
];
|
|
888
746
|
CommandComponent.ctorParameters = () => [
|
|
@@ -1054,22 +912,10 @@ __decorate([
|
|
|
1054
912
|
var TrackBy;
|
|
1055
913
|
(function (TrackBy) {
|
|
1056
914
|
TrackBy.byIndex = (index, item) => index;
|
|
1057
|
-
/**
|
|
1058
|
-
* @deprecated use #track(MyType).by("property") instead.
|
|
1059
|
-
* @param property
|
|
1060
|
-
*/
|
|
1061
915
|
function trackByProperty(property) {
|
|
1062
916
|
return (index, item) => item[property];
|
|
1063
917
|
}
|
|
1064
918
|
TrackBy.trackByProperty = trackByProperty;
|
|
1065
|
-
function track(type) {
|
|
1066
|
-
return {
|
|
1067
|
-
by(property) {
|
|
1068
|
-
return (index, item) => item[property];
|
|
1069
|
-
}
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
TrackBy.track = track;
|
|
1073
919
|
})(TrackBy || (TrackBy = {}));
|
|
1074
920
|
|
|
1075
921
|
class CommandContainer extends GarbageCollector {
|
|
@@ -1117,7 +963,7 @@ ToolBarComponent.decorators = [
|
|
|
1117
963
|
selector: 'aup-tool-bar',
|
|
1118
964
|
template: '<div class="toolbar-content"><ng-content></ng-content></div>',
|
|
1119
965
|
encapsulation: ViewEncapsulation.None,
|
|
1120
|
-
styles: [":host{display:inline-block}.toolbar-content{display:inline-flex;flex-direction:row;align-items:center}.toolbar-content>aup-separator{align-self:stretch;margin:4px 0 4px 8px}.toolbar-content>aup-flex{flex:1}.toolbar-content>*+*{margin-left:8px}
|
|
966
|
+
styles: [":host{display:inline-block}.toolbar-content{display:inline-flex;flex-direction:row;align-items:center}.toolbar-content>aup-separator{align-self:stretch;margin:4px 0 4px 8px}.toolbar-content>aup-flex{flex:1}.toolbar-content>*+*{margin-left:8px}"]
|
|
1121
967
|
},] }
|
|
1122
968
|
];
|
|
1123
969
|
ToolBarComponent.ctorParameters = () => [];
|
|
@@ -1292,7 +1138,7 @@ EmptyStateComponent.decorators = [
|
|
|
1292
1138
|
<ng-content></ng-content>
|
|
1293
1139
|
</div>
|
|
1294
1140
|
`,
|
|
1295
|
-
styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{
|
|
1141
|
+
styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}"]
|
|
1296
1142
|
},] }
|
|
1297
1143
|
];
|
|
1298
1144
|
EmptyStateComponent.ctorParameters = () => [];
|
|
@@ -1320,7 +1166,7 @@ FocusContainerComponent.decorators = [
|
|
|
1320
1166
|
providers: [
|
|
1321
1167
|
{ provide: FocusManager }
|
|
1322
1168
|
],
|
|
1323
|
-
styles: [":host{display:block}
|
|
1169
|
+
styles: [":host{display:block}"]
|
|
1324
1170
|
},] }
|
|
1325
1171
|
];
|
|
1326
1172
|
FocusContainerComponent.ctorParameters = () => [
|
|
@@ -1376,7 +1222,6 @@ class AbstractInputComponent extends DisposableComponent {
|
|
|
1376
1222
|
constructor() {
|
|
1377
1223
|
super();
|
|
1378
1224
|
this.onValueEditedListeners = new EventListenerList();
|
|
1379
|
-
this.userFloatLabel = 'always'; // TODO: make this an injectable default
|
|
1380
1225
|
this.dense = false;
|
|
1381
1226
|
// TODO: fix this.
|
|
1382
1227
|
// tslint:disable-next-line:no-output-native
|
|
@@ -1637,7 +1482,7 @@ AutocompleteInputComponent.decorators = [
|
|
|
1637
1482
|
{ type: Component, args: [{
|
|
1638
1483
|
selector: 'aup-autocomplete-input',
|
|
1639
1484
|
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",
|
|
1640
|
-
styles: [":host{display:inline-block}mat-form-field{width:100%}
|
|
1485
|
+
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1641
1486
|
},] }
|
|
1642
1487
|
];
|
|
1643
1488
|
AutocompleteInputComponent.ctorParameters = () => [];
|
|
@@ -1673,7 +1518,7 @@ CheckboxInputComponent.decorators = [
|
|
|
1673
1518
|
{ type: Component, args: [{
|
|
1674
1519
|
selector: 'aup-checkbox-input',
|
|
1675
1520
|
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",
|
|
1676
|
-
styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-
|
|
1521
|
+
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}"]
|
|
1677
1522
|
},] }
|
|
1678
1523
|
];
|
|
1679
1524
|
CheckboxInputComponent.ctorParameters = () => [];
|
|
@@ -1701,7 +1546,7 @@ MultipleSelectInputComponent.decorators = [
|
|
|
1701
1546
|
{ type: Component, args: [{
|
|
1702
1547
|
selector: 'aup-multiple-select-input',
|
|
1703
1548
|
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",
|
|
1704
|
-
styles: [":host{display:inline-block}mat-form-field{width:100%}
|
|
1549
|
+
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1705
1550
|
},] }
|
|
1706
1551
|
];
|
|
1707
1552
|
MultipleSelectInputComponent.ctorParameters = () => [];
|
|
@@ -1783,7 +1628,7 @@ SelectInputComponent.decorators = [
|
|
|
1783
1628
|
{ type: Component, args: [{
|
|
1784
1629
|
selector: 'aup-select-input',
|
|
1785
1630
|
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",
|
|
1786
|
-
styles: [":host{display:inline-block}mat-form-field{width:100%}
|
|
1631
|
+
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1787
1632
|
},] }
|
|
1788
1633
|
];
|
|
1789
1634
|
SelectInputComponent.ctorParameters = () => [];
|
|
@@ -1821,7 +1666,7 @@ StringInputComponent.decorators = [
|
|
|
1821
1666
|
{ type: Component, args: [{
|
|
1822
1667
|
selector: 'aup-string-input',
|
|
1823
1668
|
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\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 <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\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",
|
|
1824
|
-
styles: ["button[disabled]{visibility:hidden}
|
|
1669
|
+
styles: ["button[disabled]{visibility:hidden}"]
|
|
1825
1670
|
},] }
|
|
1826
1671
|
];
|
|
1827
1672
|
StringInputComponent.ctorParameters = () => [];
|
|
@@ -1855,7 +1700,7 @@ TextInputComponent.decorators = [
|
|
|
1855
1700
|
{ type: Component, args: [{
|
|
1856
1701
|
selector: 'aup-text-input',
|
|
1857
1702
|
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",
|
|
1858
|
-
styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}
|
|
1703
|
+
styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}"]
|
|
1859
1704
|
},] }
|
|
1860
1705
|
];
|
|
1861
1706
|
TextInputComponent.ctorParameters = () => [];
|
|
@@ -1894,7 +1739,7 @@ IconComponent.decorators = [
|
|
|
1894
1739
|
{ type: Component, args: [{
|
|
1895
1740
|
selector: 'aup-icon',
|
|
1896
1741
|
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",
|
|
1897
|
-
styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center
|
|
1742
|
+
styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center}.faIconWrapper,.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}"]
|
|
1898
1743
|
},] }
|
|
1899
1744
|
];
|
|
1900
1745
|
IconComponent.propDecorators = {
|
|
@@ -1908,48 +1753,6 @@ IconComponent.propDecorators = {
|
|
|
1908
1753
|
});
|
|
1909
1754
|
})(IconComponent || (IconComponent = {}));
|
|
1910
1755
|
|
|
1911
|
-
class LoadingContainerComponent extends GarbageCollector {
|
|
1912
|
-
constructor() {
|
|
1913
|
-
super();
|
|
1914
|
-
}
|
|
1915
|
-
get state() {
|
|
1916
|
-
return this.loadingModel.value ? "loaded" : "loading";
|
|
1917
|
-
}
|
|
1918
|
-
ngOnInit() {
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
LoadingContainerComponent.decorators = [
|
|
1922
|
-
{ type: Component, args: [{
|
|
1923
|
-
selector: 'aup-loading-container',
|
|
1924
|
-
template: "<ng-content *ngIf=\"!loadingModel.value\"></ng-content>\n<section *ngIf=\"loadingModel.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{messageModel.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n",
|
|
1925
|
-
styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"]
|
|
1926
|
-
},] }
|
|
1927
|
-
];
|
|
1928
|
-
LoadingContainerComponent.ctorParameters = () => [];
|
|
1929
|
-
LoadingContainerComponent.propDecorators = {
|
|
1930
|
-
loadingModel: [{ type: Input }],
|
|
1931
|
-
loading: [{ type: Input }],
|
|
1932
|
-
messageModel: [{ type: Input }],
|
|
1933
|
-
message: [{ type: Input }],
|
|
1934
|
-
state: [{ type: HostBinding, args: ["class",] }]
|
|
1935
|
-
};
|
|
1936
|
-
__decorate([
|
|
1937
|
-
TrackExternal(),
|
|
1938
|
-
__metadata("design:type", ValueModel)
|
|
1939
|
-
], LoadingContainerComponent.prototype, "loadingModel", void 0);
|
|
1940
|
-
__decorate([
|
|
1941
|
-
StoreInValueModel("loadingModel"),
|
|
1942
|
-
__metadata("design:type", Boolean)
|
|
1943
|
-
], LoadingContainerComponent.prototype, "loading", void 0);
|
|
1944
|
-
__decorate([
|
|
1945
|
-
TrackExternal(),
|
|
1946
|
-
__metadata("design:type", ValueModel)
|
|
1947
|
-
], LoadingContainerComponent.prototype, "messageModel", void 0);
|
|
1948
|
-
__decorate([
|
|
1949
|
-
StoreInValueModel("messageModel"),
|
|
1950
|
-
__metadata("design:type", String)
|
|
1951
|
-
], LoadingContainerComponent.prototype, "message", void 0);
|
|
1952
|
-
|
|
1953
1756
|
class NoopComponent {
|
|
1954
1757
|
constructor() {
|
|
1955
1758
|
}
|
|
@@ -1958,7 +1761,7 @@ NoopComponent.decorators = [
|
|
|
1958
1761
|
{ type: Component, args: [{
|
|
1959
1762
|
selector: 'aup-noop',
|
|
1960
1763
|
template: "",
|
|
1961
|
-
styles: [":host{display:block}
|
|
1764
|
+
styles: [":host{display:block}"]
|
|
1962
1765
|
},] }
|
|
1963
1766
|
];
|
|
1964
1767
|
NoopComponent.ctorParameters = () => [];
|
|
@@ -1972,18 +1775,14 @@ ScrollContainerComponent.decorators = [
|
|
|
1972
1775
|
{ type: Component, args: [{
|
|
1973
1776
|
selector: 'aup-scroll-container',
|
|
1974
1777
|
template: "<div class=\"container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n",
|
|
1975
|
-
styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}
|
|
1778
|
+
styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}"]
|
|
1976
1779
|
},] }
|
|
1977
1780
|
];
|
|
1978
1781
|
ScrollContainerComponent.ctorParameters = () => [];
|
|
1979
1782
|
|
|
1980
|
-
class SectionHeaderComponent
|
|
1783
|
+
class SectionHeaderComponent {
|
|
1981
1784
|
constructor() {
|
|
1982
|
-
|
|
1983
|
-
// readonly i18n = I18nMarsUi.components.layout.header;
|
|
1984
|
-
this.size = 'medium';
|
|
1985
|
-
this.borderTop = false;
|
|
1986
|
-
this.borderBottom = false;
|
|
1785
|
+
this.underline = false;
|
|
1987
1786
|
}
|
|
1988
1787
|
ngOnInit() {
|
|
1989
1788
|
}
|
|
@@ -1991,15 +1790,13 @@ class SectionHeaderComponent extends DisposableComponent {
|
|
|
1991
1790
|
SectionHeaderComponent.decorators = [
|
|
1992
1791
|
{ type: Component, args: [{
|
|
1993
1792
|
selector: 'aup-section-header',
|
|
1994
|
-
template: "<
|
|
1995
|
-
styles: [":host{
|
|
1793
|
+
template: "<ng-content></ng-content>\n",
|
|
1794
|
+
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)}"]
|
|
1996
1795
|
},] }
|
|
1997
1796
|
];
|
|
1998
1797
|
SectionHeaderComponent.ctorParameters = () => [];
|
|
1999
1798
|
SectionHeaderComponent.propDecorators = {
|
|
2000
|
-
|
|
2001
|
-
borderTop: [{ type: Input }, { type: HostBinding, args: ['class.border-top',] }],
|
|
2002
|
-
borderBottom: [{ type: Input }, { type: HostBinding, args: ['class.border-bottom',] }]
|
|
1799
|
+
underline: [{ type: Input }, { type: HostBinding, args: ['class.underline',] }]
|
|
2003
1800
|
};
|
|
2004
1801
|
|
|
2005
1802
|
class SwitchCaseOption {
|
|
@@ -2104,7 +1901,7 @@ SwitchCaseComponent.decorators = [
|
|
|
2104
1901
|
{ type: Component, args: [{
|
|
2105
1902
|
selector: 'aup-switch-case',
|
|
2106
1903
|
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",
|
|
2107
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}
|
|
1904
|
+
styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}"]
|
|
2108
1905
|
},] }
|
|
2109
1906
|
];
|
|
2110
1907
|
SwitchCaseComponent.ctorParameters = () => [
|
|
@@ -2386,7 +2183,7 @@ EditRowControls.decorators = [
|
|
|
2386
2183
|
{ type: Component, args: [{
|
|
2387
2184
|
selector: 'aup-row-editor-controls',
|
|
2388
2185
|
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",
|
|
2389
|
-
styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}
|
|
2186
|
+
styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}"]
|
|
2390
2187
|
},] }
|
|
2391
2188
|
];
|
|
2392
2189
|
EditRowControls.ctorParameters = () => [];
|
|
@@ -3273,7 +3070,7 @@ TableHeaderCellRendererComponent.decorators = [
|
|
|
3273
3070
|
{ type: Component, args: [{
|
|
3274
3071
|
selector: 'aup-table-header-cell-renderer',
|
|
3275
3072
|
template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event.instance)\"></ng-container>\n",
|
|
3276
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}
|
|
3073
|
+
styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}"]
|
|
3277
3074
|
},] }
|
|
3278
3075
|
];
|
|
3279
3076
|
TableHeaderCellRendererComponent.ctorParameters = () => [];
|
|
@@ -3419,7 +3216,7 @@ TableComponent.decorators = [
|
|
|
3419
3216
|
providers: [
|
|
3420
3217
|
{ provide: AbstractTableComponent, useExisting: TableComponent }
|
|
3421
3218
|
],
|
|
3422
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}
|
|
3219
|
+
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}"]
|
|
3423
3220
|
},] }
|
|
3424
3221
|
];
|
|
3425
3222
|
TableComponent.ctorParameters = () => [
|
|
@@ -3463,7 +3260,7 @@ TreeInheritanceIconComponent.decorators = [
|
|
|
3463
3260
|
{ type: Component, args: [{
|
|
3464
3261
|
selector: 'aup-tree-inheritance-icon',
|
|
3465
3262
|
template: "<svg xmlns=\"http://www.w3.org/2000/svg\" [attr.width]=\"pixelWidth\" [attr.height]=\"pixelHeight\" [attr.viewBox]=\"viewBox\">\n <g fill=\"none\" fill-rule=\"evenodd\">\n <rect *ngIf=\"hasHead()\" width=\"1\" height=\"32.5\" x=\"11.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTail()\" width=\"1\" height=\"32.5\" x=\"11.5\" y=\"31.5\" fill=\"currentColor\"/>\n\n <rect *ngIf=\"hasLeadIn()\" width=\"12\" height=\"1\" y=\"31.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTerminal()\" width=\"12\" height=\"1\" x=\"12\" y=\"31.5\" fill=\"currentColor\"/>\n </g>\n</svg>\n",
|
|
3466
|
-
styles: [":host{position:relative;color:inherit}svg{color:var(--line-color);display:block}
|
|
3263
|
+
styles: [":host{position:relative;color:inherit}svg{color:var(--line-color);display:block}"]
|
|
3467
3264
|
},] }
|
|
3468
3265
|
];
|
|
3469
3266
|
TreeInheritanceIconComponent.ctorParameters = () => [];
|
|
@@ -3717,15 +3514,15 @@ class TreeExpansionModel {
|
|
|
3717
3514
|
|
|
3718
3515
|
class FlattenedTreeListModel extends ComputedListModel {
|
|
3719
3516
|
constructor(source, childRef, expansionModel) {
|
|
3720
|
-
super(source
|
|
3721
|
-
initialValue: [],
|
|
3722
|
-
identifiedWith: row => source.identityOf(row)
|
|
3723
|
-
});
|
|
3517
|
+
super(source);
|
|
3724
3518
|
this.source = source;
|
|
3725
3519
|
this.childRef = childRef;
|
|
3726
3520
|
this.expansionModel = expansionModel;
|
|
3727
3521
|
this.trackSource(expansionModel.isExpandedPredicate);
|
|
3728
3522
|
}
|
|
3523
|
+
getIdentityOf(item) {
|
|
3524
|
+
return this.source.identityOf(item);
|
|
3525
|
+
}
|
|
3729
3526
|
compute(values) {
|
|
3730
3527
|
const result = [];
|
|
3731
3528
|
values.forEach(rootNode => {
|
|
@@ -3796,7 +3593,6 @@ class TreeTableModel extends AbstractTableModel {
|
|
|
3796
3593
|
const childExtractor = _.isFunction(childAccessor) ? childAccessor : row => row[childAccessor];
|
|
3797
3594
|
this.flattenedDataSource = this.registerDisposable(new FlattenedTreeListModel(source, childExtractor, this.treeExpansionModel));
|
|
3798
3595
|
this.setDataSource(this.flattenedDataSource);
|
|
3799
|
-
this.addRowClass('aup-node-collapsed', row => this.isCollapsed(row));
|
|
3800
3596
|
}
|
|
3801
3597
|
treeControlColumn(builder) {
|
|
3802
3598
|
const columnId = 'tree-label';
|
|
@@ -3915,7 +3711,7 @@ TreeLabelCellRendererComponent.decorators = [
|
|
|
3915
3711
|
{ type: Component, args: [{
|
|
3916
3712
|
selector: 'aup-tree-label-cell-renderer',
|
|
3917
3713
|
template: "<div class=\"tree-icons\">\n <aup-tree-inheritance-icon *ngFor=\"let iconClass of iconList.value\" [type]=\"iconClass\"></aup-tree-inheritance-icon>\n <aup-icon *ngIf=\"iconModel.value\"\n [icon]=\"iconModel.value\"\n [class.clickable]=\"canExpand.value || canCollapse.value\"\n (click)=\"expandOrCollapse(node)\" ></aup-icon>\n</div>\n<div class=\"label\">{{label}}</div>\n",
|
|
3918
|
-
styles: [":host{--line-color
|
|
3714
|
+
styles: [":host{--line-color:#ddd;--node-color:#999;display:inline-flex;flex-direction:row;align-items:stretch}:host div.label{display:flex;flex-direction:row;align-items:center;white-space:nowrap;padding-left:6px}:host div.tree-icons{display:grid;grid-auto-flow:column;grid-auto-columns:auto;grid-template-rows:1fr;align-items:stretch;justify-content:stretch}:host div.tree-icons aup-icon{align-self:center;color:var(--node-color)}:host div.tree-icons aup-icon.clickable{cursor:pointer}:host div.tree-icons aup-icon,:host div.tree-icons aup-tree-inheritance-icon{margin-left:4px}"]
|
|
3919
3715
|
},] }
|
|
3920
3716
|
];
|
|
3921
3717
|
TreeLabelCellRendererComponent.ctorParameters = () => [];
|
|
@@ -4010,7 +3806,7 @@ TreeTableComponent.decorators = [
|
|
|
4010
3806
|
providers: [
|
|
4011
3807
|
{ provide: AbstractTableComponent, useExisting: TreeTableComponent }
|
|
4012
3808
|
],
|
|
4013
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}
|
|
3809
|
+
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}", "td.mat-cell{border-top-width:0!important;border-bottom-width:0!important}td.mat-column-tree-label{width:1px}aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}aup-tree-label-cell-renderer{flex:1}"]
|
|
4014
3810
|
},] }
|
|
4015
3811
|
];
|
|
4016
3812
|
TreeTableComponent.ctorParameters = () => [
|
|
@@ -4064,7 +3860,7 @@ VerticalFocusContainerComponent.decorators = [
|
|
|
4064
3860
|
providers: [
|
|
4065
3861
|
{ provide: FocusManager }
|
|
4066
3862
|
],
|
|
4067
|
-
styles: [":host{display:block}
|
|
3863
|
+
styles: [":host{display:block}"]
|
|
4068
3864
|
},] }
|
|
4069
3865
|
];
|
|
4070
3866
|
VerticalFocusContainerComponent.ctorParameters = () => [
|
|
@@ -4110,7 +3906,7 @@ PaginatorComponent.decorators = [
|
|
|
4110
3906
|
{ type: Component, args: [{
|
|
4111
3907
|
selector: 'aup-paginator',
|
|
4112
3908
|
template: "<p>Page {{pageNumber}} of {{totalPages}}</p>\n<button mat-icon-button [pectinCommand]=\"previousCommand\"><aup-icon icon=\"mat:keyboard_arrow_left\"></aup-icon></button>\n<button mat-icon-button [pectinCommand]=\"nextCommand\"><aup-icon icon=\"mat:keyboard_arrow_right\"></aup-icon></button>\n\n",
|
|
4113
|
-
styles: [":host{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:12px;padding:0 8px;color
|
|
3909
|
+
styles: [":host{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:12px;padding:0 8px;color:rgba(0,0,0,.6)}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{padding:0;margin:0;width:30px;height:30px}"]
|
|
4114
3910
|
},] }
|
|
4115
3911
|
];
|
|
4116
3912
|
PaginatorComponent.ctorParameters = () => [];
|
|
@@ -4122,26 +3918,6 @@ __decorate([
|
|
|
4122
3918
|
__metadata("design:type", PageController)
|
|
4123
3919
|
], PaginatorComponent.prototype, "pageController", void 0);
|
|
4124
3920
|
|
|
4125
|
-
class LabelledValueComponent extends DisposableComponent {
|
|
4126
|
-
constructor() {
|
|
4127
|
-
super();
|
|
4128
|
-
// const {chain} = Dsl.disposeWith(this);
|
|
4129
|
-
}
|
|
4130
|
-
ngOnInit() {
|
|
4131
|
-
}
|
|
4132
|
-
}
|
|
4133
|
-
LabelledValueComponent.decorators = [
|
|
4134
|
-
{ type: Component, args: [{
|
|
4135
|
-
selector: 'aup-labelled-value',
|
|
4136
|
-
template: "<label>{{label}}</label>\n<ng-content></ng-content>\n",
|
|
4137
|
-
styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:#00000091;margin-bottom:6px;white-space:nowrap}\n"]
|
|
4138
|
-
},] }
|
|
4139
|
-
];
|
|
4140
|
-
LabelledValueComponent.ctorParameters = () => [];
|
|
4141
|
-
LabelledValueComponent.propDecorators = {
|
|
4142
|
-
label: [{ type: Input }]
|
|
4143
|
-
};
|
|
4144
|
-
|
|
4145
3921
|
class ComponentsModule {
|
|
4146
3922
|
constructor(faIconLibrary) {
|
|
4147
3923
|
faIconLibrary.addIconPacks(fas);
|
|
@@ -4149,29 +3925,6 @@ class ComponentsModule {
|
|
|
4149
3925
|
}
|
|
4150
3926
|
ComponentsModule.decorators = [
|
|
4151
3927
|
{ type: NgModule, args: [{
|
|
4152
|
-
imports: [
|
|
4153
|
-
CommonModule,
|
|
4154
|
-
BrowserAnimationsModule,
|
|
4155
|
-
FormsModule,
|
|
4156
|
-
MatInputModule,
|
|
4157
|
-
MatFormFieldModule,
|
|
4158
|
-
MatSelectModule,
|
|
4159
|
-
MatTabsModule,
|
|
4160
|
-
DirectivesModule,
|
|
4161
|
-
MatIconModule,
|
|
4162
|
-
MatButtonModule,
|
|
4163
|
-
MatCheckboxModule,
|
|
4164
|
-
MatTableModule,
|
|
4165
|
-
PortalModule,
|
|
4166
|
-
CdkScrollableModule,
|
|
4167
|
-
FontAwesomeModule,
|
|
4168
|
-
MatTooltipModule,
|
|
4169
|
-
MatAutocompleteModule,
|
|
4170
|
-
MatMenuModule,
|
|
4171
|
-
MatDividerModule,
|
|
4172
|
-
MatProgressSpinnerModule,
|
|
4173
|
-
MatProgressBarModule
|
|
4174
|
-
],
|
|
4175
3928
|
declarations: [
|
|
4176
3929
|
AbstractInputComponent,
|
|
4177
3930
|
AbstractValueInputComponent,
|
|
@@ -4220,11 +3973,29 @@ ComponentsModule.decorators = [
|
|
|
4220
3973
|
BusyOverlayComponent,
|
|
4221
3974
|
EmptyStateComponent,
|
|
4222
3975
|
PaginatorComponent,
|
|
4223
|
-
AbstractTableComponent
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
3976
|
+
AbstractTableComponent
|
|
3977
|
+
],
|
|
3978
|
+
imports: [
|
|
3979
|
+
CommonModule,
|
|
3980
|
+
BrowserAnimationsModule,
|
|
3981
|
+
FormsModule,
|
|
3982
|
+
MatInputModule,
|
|
3983
|
+
MatFormFieldModule,
|
|
3984
|
+
MatSelectModule,
|
|
3985
|
+
MatTabsModule,
|
|
3986
|
+
DirectivesModule,
|
|
3987
|
+
MatIconModule,
|
|
3988
|
+
MatButtonModule,
|
|
3989
|
+
MatCheckboxModule,
|
|
3990
|
+
MatTableModule,
|
|
3991
|
+
PortalModule,
|
|
3992
|
+
CdkScrollableModule,
|
|
3993
|
+
FontAwesomeModule,
|
|
3994
|
+
MatTooltipModule,
|
|
3995
|
+
MatAutocompleteModule,
|
|
3996
|
+
MatMenuModule,
|
|
3997
|
+
MatDividerModule,
|
|
3998
|
+
MatProgressSpinnerModule
|
|
4228
3999
|
],
|
|
4229
4000
|
exports: [
|
|
4230
4001
|
NumberInputComponent,
|
|
@@ -4261,9 +4032,6 @@ ComponentsModule.decorators = [
|
|
|
4261
4032
|
BusyOverlayComponent,
|
|
4262
4033
|
EmptyStateComponent,
|
|
4263
4034
|
PaginatorComponent,
|
|
4264
|
-
CardStackComponent,
|
|
4265
|
-
LabelledValueComponent,
|
|
4266
|
-
LoadingContainerComponent,
|
|
4267
4035
|
],
|
|
4268
4036
|
providers: [
|
|
4269
4037
|
FocusBindingFactory
|
|
@@ -4299,8 +4067,7 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
4299
4067
|
constructor(cdr) {
|
|
4300
4068
|
super();
|
|
4301
4069
|
this.cdr = cdr;
|
|
4302
|
-
this.
|
|
4303
|
-
this.align = ActivityActionsComponent.Align.STRETCH;
|
|
4070
|
+
this.align = 'stretch';
|
|
4304
4071
|
}
|
|
4305
4072
|
set faces(faces) {
|
|
4306
4073
|
this.confirmFace = faces.confirm;
|
|
@@ -4312,6 +4079,12 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
4312
4079
|
set style(style) {
|
|
4313
4080
|
this.faces = style;
|
|
4314
4081
|
}
|
|
4082
|
+
get alignEnd() {
|
|
4083
|
+
return this.align === 'end';
|
|
4084
|
+
}
|
|
4085
|
+
get alignStretch() {
|
|
4086
|
+
return this.align === 'stretch';
|
|
4087
|
+
}
|
|
4315
4088
|
ngOnInit() {
|
|
4316
4089
|
}
|
|
4317
4090
|
hasConfirmFace() {
|
|
@@ -4330,7 +4103,7 @@ ActivityActionsComponent.decorators = [
|
|
|
4330
4103
|
{ type: Component, args: [{
|
|
4331
4104
|
selector: 'aup-activity-actions',
|
|
4332
4105
|
template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n",
|
|
4333
|
-
styles: [":host{display:grid;grid-template-
|
|
4106
|
+
styles: [":host{display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}"]
|
|
4334
4107
|
},] }
|
|
4335
4108
|
];
|
|
4336
4109
|
ActivityActionsComponent.ctorParameters = () => [
|
|
@@ -4343,8 +4116,9 @@ ActivityActionsComponent.propDecorators = {
|
|
|
4343
4116
|
confirmFace: [{ type: Input }],
|
|
4344
4117
|
cancelFace: [{ type: Input }],
|
|
4345
4118
|
style: [{ type: Input }],
|
|
4346
|
-
|
|
4347
|
-
|
|
4119
|
+
align: [{ type: Input }],
|
|
4120
|
+
alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
|
|
4121
|
+
alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
|
|
4348
4122
|
};
|
|
4349
4123
|
__decorate([
|
|
4350
4124
|
TrackExternal(),
|
|
@@ -4354,17 +4128,6 @@ __decorate([
|
|
|
4354
4128
|
TrackExternal(),
|
|
4355
4129
|
__metadata("design:type", Command)
|
|
4356
4130
|
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
4357
|
-
(function (ActivityActionsComponent) {
|
|
4358
|
-
ActivityActionsComponent.Layout = Enum({
|
|
4359
|
-
INLINE: 'inline',
|
|
4360
|
-
BLOCK: 'block'
|
|
4361
|
-
});
|
|
4362
|
-
ActivityActionsComponent.Align = Enum({
|
|
4363
|
-
START: 'start',
|
|
4364
|
-
END: 'end',
|
|
4365
|
-
STRETCH: 'stretch'
|
|
4366
|
-
});
|
|
4367
|
-
})(ActivityActionsComponent || (ActivityActionsComponent = {}));
|
|
4368
4131
|
|
|
4369
4132
|
const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
|
|
4370
4133
|
class Activity extends DisposableComponent {
|
|
@@ -4460,7 +4223,7 @@ AlertDialogComponent.decorators = [
|
|
|
4460
4223
|
{ type: Component, args: [{
|
|
4461
4224
|
selector: 'aup-alert-dialog',
|
|
4462
4225
|
template: "<aup-activity-title *ngIf=\"alert.title\">{{alert.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n",
|
|
4463
|
-
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}
|
|
4226
|
+
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
|
|
4464
4227
|
},] }
|
|
4465
4228
|
];
|
|
4466
4229
|
AlertDialogComponent.ctorParameters = () => [
|
|
@@ -4505,7 +4268,7 @@ ConfirmThenDialogComponent.decorators = [
|
|
|
4505
4268
|
{ type: Component, args: [{
|
|
4506
4269
|
selector: 'aup-confirmation-dialog',
|
|
4507
4270
|
template: "<aup-activity-title *ngIf=\"confirm.title\" [color]=\"titleColor\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n",
|
|
4508
|
-
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}
|
|
4271
|
+
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
|
|
4509
4272
|
},] }
|
|
4510
4273
|
];
|
|
4511
4274
|
ConfirmThenDialogComponent.ctorParameters = () => [
|
|
@@ -4545,7 +4308,7 @@ ConfirmationDialogComponent.decorators = [
|
|
|
4545
4308
|
{ type: Component, args: [{
|
|
4546
4309
|
selector: 'aup-confirmation-dialog',
|
|
4547
4310
|
template: "<aup-activity-title *ngIf=\"confirm.title\" [color]=\"titleColor\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n",
|
|
4548
|
-
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}
|
|
4311
|
+
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
|
|
4549
4312
|
},] }
|
|
4550
4313
|
];
|
|
4551
4314
|
ConfirmationDialogComponent.ctorParameters = () => [
|
|
@@ -4687,7 +4450,7 @@ ActivityOutletComponent.decorators = [
|
|
|
4687
4450
|
{ type: Component, args: [{
|
|
4688
4451
|
selector: 'aup-activity-outlet',
|
|
4689
4452
|
template: '',
|
|
4690
|
-
styles: [":host{display:block}
|
|
4453
|
+
styles: [":host{display:block}"]
|
|
4691
4454
|
},] }
|
|
4692
4455
|
];
|
|
4693
4456
|
ActivityOutletComponent.ctorParameters = () => [
|
|
@@ -4883,8 +4646,8 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
4883
4646
|
ActivityContainerComponent.decorators = [
|
|
4884
4647
|
{ type: Component, args: [{
|
|
4885
4648
|
selector: 'aup-activity-container',
|
|
4886
|
-
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 <aup-busy-overlay [busyModel]=\"busy\"
|
|
4887
|
-
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}
|
|
4649
|
+
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 <aup-busy-overlay [busyModel]=\"busy\">\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 </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n",
|
|
4650
|
+
styles: [":host{display:flex;flex-direction:column}aup-busy-overlay,mat-tab-group{flex:1}"]
|
|
4888
4651
|
},] }
|
|
4889
4652
|
];
|
|
4890
4653
|
ActivityContainerComponent.ctorParameters = () => [];
|
|
@@ -4937,7 +4700,7 @@ ActivityTitleComponent.decorators = [
|
|
|
4937
4700
|
{ type: Component, args: [{
|
|
4938
4701
|
selector: 'aup-activity-title',
|
|
4939
4702
|
template: "<ng-content></ng-content>\n",
|
|
4940
|
-
styles: [":host{display:block}
|
|
4703
|
+
styles: [":host{display:block}"]
|
|
4941
4704
|
},] }
|
|
4942
4705
|
];
|
|
4943
4706
|
ActivityTitleComponent.propDecorators = {
|
|
@@ -4962,9 +4725,6 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
|
4962
4725
|
});
|
|
4963
4726
|
});
|
|
4964
4727
|
}
|
|
4965
|
-
get interactionContext() {
|
|
4966
|
-
return lang$1.abstractMethod(this.constructor);
|
|
4967
|
-
}
|
|
4968
4728
|
ngOnInit() {
|
|
4969
4729
|
}
|
|
4970
4730
|
get isActive() {
|
|
@@ -5186,17 +4946,14 @@ InteractionService.ctorParameters = () => [
|
|
|
5186
4946
|
class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
5187
4947
|
constructor(interactionService) {
|
|
5188
4948
|
super();
|
|
5189
|
-
this.
|
|
5190
|
-
}
|
|
5191
|
-
get interactionContext() {
|
|
5192
|
-
return this._interactionContext;
|
|
4949
|
+
this.interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
|
|
5193
4950
|
}
|
|
5194
4951
|
}
|
|
5195
4952
|
ModalActivityTriggerComponent.decorators = [
|
|
5196
4953
|
{ type: Component, args: [{
|
|
5197
4954
|
selector: 'aup-modal-activity-trigger',
|
|
5198
4955
|
template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n",
|
|
5199
|
-
styles: [":host{display:inline-block}
|
|
4956
|
+
styles: [":host{display:inline-block}"]
|
|
5200
4957
|
},] }
|
|
5201
4958
|
];
|
|
5202
4959
|
ModalActivityTriggerComponent.ctorParameters = () => [
|
|
@@ -5229,9 +4986,6 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
5229
4986
|
var _a;
|
|
5230
4987
|
return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
|
|
5231
4988
|
}
|
|
5232
|
-
get active() {
|
|
5233
|
-
return this.isActive();
|
|
5234
|
-
}
|
|
5235
4989
|
ngAfterViewInit() {
|
|
5236
4990
|
this.interactionService.registerInplaceInteractionContext(this);
|
|
5237
4991
|
}
|
|
@@ -5267,7 +5021,7 @@ InPlaceInteractionContextComponent.decorators = [
|
|
|
5267
5021
|
{ type: Component, args: [{
|
|
5268
5022
|
selector: 'aup-in-place-interaction-context',
|
|
5269
5023
|
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",
|
|
5270
|
-
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}
|
|
5024
|
+
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
5271
5025
|
},] }
|
|
5272
5026
|
];
|
|
5273
5027
|
InPlaceInteractionContextComponent.ctorParameters = () => [
|
|
@@ -5276,80 +5030,8 @@ InPlaceInteractionContextComponent.ctorParameters = () => [
|
|
|
5276
5030
|
];
|
|
5277
5031
|
InPlaceInteractionContextComponent.propDecorators = {
|
|
5278
5032
|
activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
|
|
5279
|
-
animateFirstActivity: [{ type: Input }]
|
|
5280
|
-
active: [{ type: HostBinding, args: ["class.active",] }]
|
|
5281
|
-
};
|
|
5282
|
-
|
|
5283
|
-
/**
|
|
5284
|
-
*
|
|
5285
|
-
*/
|
|
5286
|
-
class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
5287
|
-
constructor(interactionService) {
|
|
5288
|
-
super();
|
|
5289
|
-
this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
|
|
5290
|
-
this.renderAs = AddCardActivityComponent.RenderAs.CARD;
|
|
5291
|
-
this.notCard = true;
|
|
5292
|
-
const { chain } = Dsl.disposeWith(this);
|
|
5293
|
-
this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
|
|
5294
|
-
this.faceList = chain(this.faceModel).mapToList(face => [face]);
|
|
5295
|
-
}
|
|
5296
|
-
get renderAsClass() {
|
|
5297
|
-
return `render-as-${this.renderAs}`;
|
|
5298
|
-
}
|
|
5299
|
-
get activityTypeClass() {
|
|
5300
|
-
return `${this.interactionStyle}-activity`;
|
|
5301
|
-
}
|
|
5302
|
-
isRenderAsCard() {
|
|
5303
|
-
return this.renderAs === 'card';
|
|
5304
|
-
}
|
|
5305
|
-
isRenderAsButton() {
|
|
5306
|
-
return this.renderAs === 'button';
|
|
5307
|
-
}
|
|
5308
|
-
ngOnInit() {
|
|
5309
|
-
}
|
|
5310
|
-
get interactionContext() {
|
|
5311
|
-
switch (this.interactionStyle) {
|
|
5312
|
-
case 'inline':
|
|
5313
|
-
return this.inlineInteractionContext;
|
|
5314
|
-
default:
|
|
5315
|
-
return this.modalInteractionContext;
|
|
5316
|
-
}
|
|
5317
|
-
}
|
|
5318
|
-
isModal() {
|
|
5319
|
-
return this.interactionStyle === 'modal';
|
|
5320
|
-
}
|
|
5321
|
-
isInline() {
|
|
5322
|
-
return this.interactionStyle === 'inline';
|
|
5323
|
-
}
|
|
5324
|
-
}
|
|
5325
|
-
AddCardActivityComponent.decorators = [
|
|
5326
|
-
{ type: Component, args: [{
|
|
5327
|
-
selector: 'aup-add-card-activity',
|
|
5328
|
-
template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n",
|
|
5329
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"]
|
|
5330
|
-
},] }
|
|
5331
|
-
];
|
|
5332
|
-
AddCardActivityComponent.ctorParameters = () => [
|
|
5333
|
-
{ type: InteractionService }
|
|
5334
|
-
];
|
|
5335
|
-
AddCardActivityComponent.propDecorators = {
|
|
5336
|
-
inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
|
|
5337
|
-
interactionStyle: [{ type: Input }],
|
|
5338
|
-
renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
|
|
5339
|
-
notCard: [{ type: HostBinding, args: ['class.not-card',] }],
|
|
5340
|
-
renderAsClass: [{ type: HostBinding, args: ['class',] }],
|
|
5341
|
-
activityTypeClass: [{ type: HostBinding, args: ['class',] }]
|
|
5033
|
+
animateFirstActivity: [{ type: Input }]
|
|
5342
5034
|
};
|
|
5343
|
-
(function (AddCardActivityComponent) {
|
|
5344
|
-
AddCardActivityComponent.InteractionType = Enum({
|
|
5345
|
-
MODAL: 'modal',
|
|
5346
|
-
INLINE: 'inline'
|
|
5347
|
-
});
|
|
5348
|
-
AddCardActivityComponent.RenderAs = Enum({
|
|
5349
|
-
CARD: 'card',
|
|
5350
|
-
BUTTON: 'button'
|
|
5351
|
-
});
|
|
5352
|
-
})(AddCardActivityComponent || (AddCardActivityComponent = {}));
|
|
5353
5035
|
|
|
5354
5036
|
/**
|
|
5355
5037
|
* Css Vars.
|
|
@@ -5389,7 +5071,7 @@ AddItemInteractionContextComponent.decorators = [
|
|
|
5389
5071
|
{ type: Component, args: [{
|
|
5390
5072
|
selector: 'aup-add-item-interaction-context',
|
|
5391
5073
|
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",
|
|
5392
|
-
styles: [":host{--def-link-color:
|
|
5074
|
+
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:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}a.link,aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;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}"]
|
|
5393
5075
|
},] }
|
|
5394
5076
|
];
|
|
5395
5077
|
AddItemInteractionContextComponent.ctorParameters = () => [];
|
|
@@ -5412,20 +5094,17 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5412
5094
|
constructor() {
|
|
5413
5095
|
super();
|
|
5414
5096
|
}
|
|
5415
|
-
get interactionContext() {
|
|
5416
|
-
return this._interactionContext;
|
|
5417
|
-
}
|
|
5418
5097
|
}
|
|
5419
5098
|
InlineActivityTriggerComponent.decorators = [
|
|
5420
5099
|
{ type: Component, args: [{
|
|
5421
5100
|
selector: 'aup-inline-activity-trigger',
|
|
5422
5101
|
template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n",
|
|
5423
|
-
styles: [":host{display:inline-block}
|
|
5102
|
+
styles: [":host{display:inline-block}"]
|
|
5424
5103
|
},] }
|
|
5425
5104
|
];
|
|
5426
5105
|
InlineActivityTriggerComponent.ctorParameters = () => [];
|
|
5427
5106
|
InlineActivityTriggerComponent.propDecorators = {
|
|
5428
|
-
|
|
5107
|
+
interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
|
|
5429
5108
|
};
|
|
5430
5109
|
|
|
5431
5110
|
/**
|
|
@@ -5456,7 +5135,6 @@ class PopupInteractionContextComponent extends DisposableComponent {
|
|
|
5456
5135
|
const self = this;
|
|
5457
5136
|
const overlayRef = this._overlay.create({
|
|
5458
5137
|
hasBackdrop: false,
|
|
5459
|
-
disposeOnNavigation: true,
|
|
5460
5138
|
panelClass: 'aup-popup-interaction-panel',
|
|
5461
5139
|
positionStrategy: this._overlay.position()
|
|
5462
5140
|
.flexibleConnectedTo(this._element)
|
|
@@ -5511,7 +5189,7 @@ PopupInteractionContextComponent.decorators = [
|
|
|
5511
5189
|
{ type: Component, args: [{
|
|
5512
5190
|
selector: 'aup-popup-interaction-context',
|
|
5513
5191
|
template: "<ng-content></ng-content>\n",
|
|
5514
|
-
styles: [":host{display:inline-block}:host.interaction-active{background:rgba(0,0,0,.05)}
|
|
5192
|
+
styles: [":host{display:inline-block}:host.interaction-active{background:rgba(0,0,0,.05)}"]
|
|
5515
5193
|
},] }
|
|
5516
5194
|
];
|
|
5517
5195
|
PopupInteractionContextComponent.ctorParameters = () => [
|
|
@@ -5587,93 +5265,44 @@ InteractionContextTriggerFor.propDecorators = {
|
|
|
5587
5265
|
// @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
|
|
5588
5266
|
// we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
|
|
5589
5267
|
// @dynamic
|
|
5590
|
-
class
|
|
5268
|
+
class AbstractInputActivity extends Activity {
|
|
5591
5269
|
constructor(data) {
|
|
5592
|
-
var _a, _b;
|
|
5593
5270
|
super();
|
|
5594
5271
|
this.data = data;
|
|
5595
5272
|
this.class = 'aup-input-activity';
|
|
5596
5273
|
const form = new DirtyTrackingForm();
|
|
5597
5274
|
this.valueModel = form.valueModel(this.data.initialValue);
|
|
5598
5275
|
this.valueModel.validateUsing(data.validators || []);
|
|
5599
|
-
|
|
5600
|
-
this.confirmFace = (_a = data.confirmFace) !== null && _a !== void 0 ? _a : {
|
|
5601
|
-
icon: () => 'mat:check'
|
|
5602
|
-
};
|
|
5603
|
-
this.cancelFace = (_b = data.cancelFace) !== null && _b !== void 0 ? _b : {
|
|
5604
|
-
icon: () => 'mat:clear'
|
|
5605
|
-
};
|
|
5606
|
-
this.confirmCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
|
|
5276
|
+
this.confirmCommand = Command.create(() => {
|
|
5607
5277
|
if (this.valueModel.validate()) {
|
|
5608
5278
|
if (data.save) {
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
let allGood = true;
|
|
5612
|
-
const result = yield data.save(this.valueModel.value, {
|
|
5613
|
-
injectError(error) {
|
|
5614
|
-
allGood = false;
|
|
5615
|
-
self.valueModel.injectErrors([error]);
|
|
5616
|
-
}
|
|
5617
|
-
});
|
|
5618
|
-
if (allGood) {
|
|
5619
|
-
this.done(this.valueModel.value);
|
|
5620
|
-
}
|
|
5621
|
-
}
|
|
5622
|
-
catch (e) {
|
|
5623
|
-
console.error(e);
|
|
5624
|
-
}
|
|
5279
|
+
return Promise.resolve(data.save(this.valueModel, this.interactionContext))
|
|
5280
|
+
.then(() => this.done());
|
|
5625
5281
|
}
|
|
5626
5282
|
else {
|
|
5627
5283
|
this.done(this.valueModel.value);
|
|
5628
5284
|
}
|
|
5629
5285
|
}
|
|
5630
|
-
})
|
|
5286
|
+
});
|
|
5631
5287
|
this.cancelCommand = Command.create(() => {
|
|
5632
5288
|
this.cancel();
|
|
5633
5289
|
});
|
|
5634
|
-
this.busyWhile(this.confirmCommand.busy);
|
|
5635
|
-
}
|
|
5636
|
-
get layout() {
|
|
5637
|
-
var _a, _b;
|
|
5638
|
-
return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.layout) !== null && _b !== void 0 ? _b : InputActivity.Layout.BLOCK;
|
|
5639
5290
|
}
|
|
5640
5291
|
onActivityReady() {
|
|
5641
5292
|
this.valueModel.focusContext.requestFocus();
|
|
5642
5293
|
}
|
|
5643
|
-
get additionalCssClassName() {
|
|
5644
|
-
var _a;
|
|
5645
|
-
return (_a = this.data.cssClassName) !== null && _a !== void 0 ? _a : '';
|
|
5646
|
-
}
|
|
5647
|
-
onEscape() {
|
|
5648
|
-
if (this.shouldCancelOnEscape() && this.cancelCommand.enabled.value) {
|
|
5649
|
-
this.cancelCommand.execute();
|
|
5650
|
-
}
|
|
5651
|
-
}
|
|
5652
|
-
shouldCancelOnEscape() {
|
|
5653
|
-
return _.isNil(this.data.cancelOnEscape) // we default to true..
|
|
5654
|
-
|| this.data.cancelOnEscape;
|
|
5655
|
-
}
|
|
5656
5294
|
}
|
|
5657
|
-
|
|
5295
|
+
AbstractInputActivity.decorators = [
|
|
5658
5296
|
{ type: Component, args: [{ template: `` },] }
|
|
5659
5297
|
];
|
|
5660
|
-
|
|
5298
|
+
AbstractInputActivity.ctorParameters = () => [
|
|
5661
5299
|
{ type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
|
|
5662
5300
|
];
|
|
5663
|
-
|
|
5664
|
-
class: [{ type: HostBinding, args: ['class',] }]
|
|
5665
|
-
layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
|
|
5666
|
-
additionalCssClassName: [{ type: HostBinding, args: ["class",] }],
|
|
5667
|
-
onEscape: [{ type: HostListener, args: ['keydown.escape',] }]
|
|
5301
|
+
AbstractInputActivity.propDecorators = {
|
|
5302
|
+
class: [{ type: HostBinding, args: ['class',] }]
|
|
5668
5303
|
};
|
|
5669
|
-
(function (InputActivity) {
|
|
5670
|
-
InputActivity.Layout = Enum({
|
|
5671
|
-
INLINE: 'inline',
|
|
5672
|
-
BLOCK: 'block'
|
|
5673
|
-
});
|
|
5674
|
-
})(InputActivity || (InputActivity = {}));
|
|
5675
5304
|
|
|
5676
|
-
class StringInputActivity extends
|
|
5305
|
+
class StringInputActivity extends AbstractInputActivity {
|
|
5677
5306
|
}
|
|
5678
5307
|
StringInputActivity.decorators = [
|
|
5679
5308
|
{ type: Component, args: [{
|
|
@@ -5684,15 +5313,13 @@ StringInputActivity.decorators = [
|
|
|
5684
5313
|
[placeholder]="data.placeholder"
|
|
5685
5314
|
[command.enter]="confirmCommand"
|
|
5686
5315
|
[command.escape]="cancelCommand"></aup-string-input>
|
|
5687
|
-
<aup-activity-actions
|
|
5688
|
-
[
|
|
5689
|
-
[cancelFace]="cancelFace"
|
|
5690
|
-
></aup-activity-actions>
|
|
5316
|
+
<aup-activity-actions align="end"
|
|
5317
|
+
[faces]="data.buttonStyle"></aup-activity-actions>
|
|
5691
5318
|
`
|
|
5692
5319
|
},] }
|
|
5693
5320
|
];
|
|
5694
5321
|
|
|
5695
|
-
class SelectInputActivity extends
|
|
5322
|
+
class SelectInputActivity extends AbstractInputActivity {
|
|
5696
5323
|
constructor() {
|
|
5697
5324
|
super(...arguments);
|
|
5698
5325
|
this.defaultOptionLabelFormat = (option) => {
|
|
@@ -5720,9 +5347,7 @@ SelectInputActivity.decorators = [
|
|
|
5720
5347
|
[options]="options"
|
|
5721
5348
|
[optionLabelFormat]="optionLabelFormat"
|
|
5722
5349
|
></aup-select-input>
|
|
5723
|
-
<aup-activity-actions
|
|
5724
|
-
[confirmFace]="confirmFace"
|
|
5725
|
-
[cancelFace]="cancelFace"
|
|
5350
|
+
<aup-activity-actions align="end" [faces]="data.buttonStyle"
|
|
5726
5351
|
></aup-activity-actions>
|
|
5727
5352
|
`
|
|
5728
5353
|
},] }
|
|
@@ -5828,6 +5453,32 @@ class TableModel extends AbstractTableModel {
|
|
|
5828
5453
|
}
|
|
5829
5454
|
}
|
|
5830
5455
|
|
|
5456
|
+
class SelfAndDescendantsVisitor {
|
|
5457
|
+
constructor() {
|
|
5458
|
+
}
|
|
5459
|
+
visit(it) {
|
|
5460
|
+
this.onVisit(it);
|
|
5461
|
+
if (this.shouldVisitChildrenOf(it)) {
|
|
5462
|
+
it.visitChildren(this);
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5465
|
+
shouldVisitChildrenOf(it) {
|
|
5466
|
+
return true;
|
|
5467
|
+
}
|
|
5468
|
+
}
|
|
5469
|
+
(function (SelfAndDescendantsVisitor) {
|
|
5470
|
+
class Each extends SelfAndDescendantsVisitor {
|
|
5471
|
+
constructor(callback) {
|
|
5472
|
+
super();
|
|
5473
|
+
this.callback = callback;
|
|
5474
|
+
}
|
|
5475
|
+
onVisit(it) {
|
|
5476
|
+
this.callback(it);
|
|
5477
|
+
}
|
|
5478
|
+
}
|
|
5479
|
+
SelfAndDescendantsVisitor.Each = Each;
|
|
5480
|
+
})(SelfAndDescendantsVisitor || (SelfAndDescendantsVisitor = {}));
|
|
5481
|
+
|
|
5831
5482
|
/**
|
|
5832
5483
|
* @file Automatically generated by barrelsby.
|
|
5833
5484
|
*/
|
|
@@ -5838,223 +5489,21 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5838
5489
|
this.anchorX = 'start';
|
|
5839
5490
|
this.anchorY = 'bottom';
|
|
5840
5491
|
}
|
|
5841
|
-
get interactionContext() {
|
|
5842
|
-
return this._interactionContext;
|
|
5843
|
-
}
|
|
5844
5492
|
}
|
|
5845
5493
|
PopupActivityTriggerComponent.decorators = [
|
|
5846
5494
|
{ type: Component, args: [{
|
|
5847
5495
|
selector: 'aup-popup-activity-trigger',
|
|
5848
5496
|
template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n",
|
|
5849
|
-
styles: [":host{display:inline-block}
|
|
5497
|
+
styles: [":host{display:inline-block}"]
|
|
5850
5498
|
},] }
|
|
5851
5499
|
];
|
|
5852
5500
|
PopupActivityTriggerComponent.ctorParameters = () => [];
|
|
5853
5501
|
PopupActivityTriggerComponent.propDecorators = {
|
|
5854
5502
|
anchorX: [{ type: Input }],
|
|
5855
5503
|
anchorY: [{ type: Input }],
|
|
5856
|
-
|
|
5504
|
+
interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
|
|
5857
5505
|
};
|
|
5858
5506
|
|
|
5859
|
-
class InlineEditorModel extends GarbageCollector {
|
|
5860
|
-
constructor(valueModel, saveCallback) {
|
|
5861
|
-
super();
|
|
5862
|
-
this.valueModel = valueModel;
|
|
5863
|
-
this.saveCallback = saveCallback;
|
|
5864
|
-
this.editing = new MutableValueModel(false);
|
|
5865
|
-
this._validators = new MutableListModel();
|
|
5866
|
-
this._editingEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(true));
|
|
5867
|
-
assert.notNil(valueModel);
|
|
5868
|
-
const { when } = Dsl.disposeWith(this);
|
|
5869
|
-
when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());
|
|
5870
|
-
}
|
|
5871
|
-
get editingEnabled() {
|
|
5872
|
-
return this._editingEnabled.readonly;
|
|
5873
|
-
}
|
|
5874
|
-
disableWhile(condition) {
|
|
5875
|
-
const { chain } = Dsl.disposeWith(this);
|
|
5876
|
-
this.enableWhile(chain(condition).isFalsey());
|
|
5877
|
-
return this;
|
|
5878
|
-
}
|
|
5879
|
-
enableWhile(condition) {
|
|
5880
|
-
this._editingEnabled.setDelegate(condition);
|
|
5881
|
-
return this;
|
|
5882
|
-
}
|
|
5883
|
-
get validators() {
|
|
5884
|
-
return this._validators.readonly;
|
|
5885
|
-
}
|
|
5886
|
-
validateUsing(validator) {
|
|
5887
|
-
this._validators.push(validator);
|
|
5888
|
-
return this;
|
|
5889
|
-
}
|
|
5890
|
-
isEditing() {
|
|
5891
|
-
return this.editing.value;
|
|
5892
|
-
}
|
|
5893
|
-
cancelEdit() {
|
|
5894
|
-
this.editing.value = false;
|
|
5895
|
-
}
|
|
5896
|
-
startEditing() {
|
|
5897
|
-
this.editing.value = true;
|
|
5898
|
-
}
|
|
5899
|
-
}
|
|
5900
|
-
(function (InlineEditorModel) {
|
|
5901
|
-
function create(valueModel, options) {
|
|
5902
|
-
return new InlineEditorModel(valueModel, options.save);
|
|
5903
|
-
}
|
|
5904
|
-
InlineEditorModel.create = create;
|
|
5905
|
-
})(InlineEditorModel || (InlineEditorModel = {}));
|
|
5906
|
-
TrackExternal.oneTimeBinding(InlineEditorModel);
|
|
5907
|
-
|
|
5908
|
-
/**
|
|
5909
|
-
* @example
|
|
5910
|
-
* const source: ValueModel<string> = ...;
|
|
5911
|
-
* const model = InlineEditorModel.create(source, {
|
|
5912
|
-
* save(updated:string, context: EditContext) => {
|
|
5913
|
-
* try {
|
|
5914
|
-
* try and save the thing...
|
|
5915
|
-
* } catch(error) {
|
|
5916
|
-
* context.injectError(error)
|
|
5917
|
-
* }
|
|
5918
|
-
* }).validateUsing(Validator.present("We'll need a value");
|
|
5919
|
-
*
|
|
5920
|
-
* # in the view
|
|
5921
|
-
* <aup-inline-string-editor
|
|
5922
|
-
* label="My field"
|
|
5923
|
-
* placeHolder="I'm ready for a string..."
|
|
5924
|
-
* [editorModel]="model"></aup-inline-string-editor>
|
|
5925
|
-
*/
|
|
5926
|
-
class InlineStringEditorComponent extends DisposableComponent {
|
|
5927
|
-
constructor(interactionService) {
|
|
5928
|
-
super();
|
|
5929
|
-
this.editingEnabled = this.registerDisposable(new DelegatingValueModel());
|
|
5930
|
-
const { chain, when, valueOf } = Dsl.disposeWith(this);
|
|
5931
|
-
const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
|
|
5932
|
-
const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
|
|
5933
|
-
return Object.assign(Object.assign({}, InlineStringEditorComponent.DEFAULT_FACES), userFaces);
|
|
5934
|
-
}, { allowNil: true });
|
|
5935
|
-
this.editFaceModel = resolvedFacesModel.pluck('edit');
|
|
5936
|
-
this.saveFace = resolvedFacesModel.pluck('save');
|
|
5937
|
-
this.cancelFace = resolvedFacesModel.pluck('cancel');
|
|
5938
|
-
const self = this;
|
|
5939
|
-
this.editCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
|
|
5940
|
-
this.editorModel.editing.value = true;
|
|
5941
|
-
try {
|
|
5942
|
-
yield this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());
|
|
5943
|
-
}
|
|
5944
|
-
catch (e) {
|
|
5945
|
-
// don't care if they cancelled, just hiding the console errors
|
|
5946
|
-
}
|
|
5947
|
-
finally {
|
|
5948
|
-
this.editorModel.editing.value = false;
|
|
5949
|
-
}
|
|
5950
|
-
})).enableWhile(this.editingEnabled);
|
|
5951
|
-
this.onDispose(() => this.cancelEdit());
|
|
5952
|
-
}
|
|
5953
|
-
ngOnInit() {
|
|
5954
|
-
// our editor model is a one time binding without delegates so we can only
|
|
5955
|
-
// use it once we've been initialised
|
|
5956
|
-
const { chain, when, valueOf } = Dsl.disposeWith(this);
|
|
5957
|
-
if (!this.editorModel) {
|
|
5958
|
-
lang$1.illegalState('editorModel is required');
|
|
5959
|
-
}
|
|
5960
|
-
this.editingEnabled.setDelegate(this.editorModel.editingEnabled);
|
|
5961
|
-
when(this.editorModel.editing).becomesTruthy(() => {
|
|
5962
|
-
this.editCommand.execute();
|
|
5963
|
-
}, { asLongAs: this.editCommand.enabled });
|
|
5964
|
-
when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());
|
|
5965
|
-
this.empty = valueOf.any(chain.stringValue(this.editorModel.valueModel).isBlank()
|
|
5966
|
-
// deviceDescription.isNil()
|
|
5967
|
-
).areTruthy();
|
|
5968
|
-
this.displayValue = chain(this.editorModel.valueModel).map(v => {
|
|
5969
|
-
return _.isEmpty(v) ? this.placeHolderModel.value : v;
|
|
5970
|
-
}, { dependsOn: this.placeHolderModel, allowNil: true });
|
|
5971
|
-
}
|
|
5972
|
-
createInputActivityData() {
|
|
5973
|
-
const self = this;
|
|
5974
|
-
return {
|
|
5975
|
-
initialValue: self.editorModel.valueModel.value,
|
|
5976
|
-
confirmFace: self.saveFace.value,
|
|
5977
|
-
cancelFace: self.cancelFace.value,
|
|
5978
|
-
placeholder: self.placeHolderModel.value,
|
|
5979
|
-
label: self.label,
|
|
5980
|
-
layout: InputActivity.Layout.INLINE,
|
|
5981
|
-
validators: self.editorModel.validators.value,
|
|
5982
|
-
save(value, inputContext) {
|
|
5983
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5984
|
-
yield self.editorModel.saveCallback(value, inputContext);
|
|
5985
|
-
});
|
|
5986
|
-
}
|
|
5987
|
-
};
|
|
5988
|
-
}
|
|
5989
|
-
cancelEdit() {
|
|
5990
|
-
if (this.isEditing()) {
|
|
5991
|
-
this.interactionContext.cancelActiveActivity();
|
|
5992
|
-
}
|
|
5993
|
-
}
|
|
5994
|
-
startEdit() {
|
|
5995
|
-
if (!this.isEditing() && this.editCommand.enabled.value) {
|
|
5996
|
-
this.editCommand.execute();
|
|
5997
|
-
}
|
|
5998
|
-
}
|
|
5999
|
-
isEditing() {
|
|
6000
|
-
return this.interactionContext.isActive();
|
|
6001
|
-
}
|
|
6002
|
-
isEmpty() {
|
|
6003
|
-
return this.empty.value;
|
|
6004
|
-
}
|
|
6005
|
-
}
|
|
6006
|
-
InlineStringEditorComponent.decorators = [
|
|
6007
|
-
{ type: Component, args: [{
|
|
6008
|
-
selector: 'aup-inline-string-editor',
|
|
6009
|
-
template: "<div class=\"container\" *ngIf=\"!editorModel.isEditing()\">\n <mat-form-field appearance=\"standard\" floatLabel=\"always\" (click)=\"startEdit()\"\n [class.editable]=\"editingEnabled.value\" [class.empty]=\"isEmpty()\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeHolder}}\"\n [ngModel]=\"editorModel.valueModel.value\"\n [disabled]=\"true\"\n >\n <!-- <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>-->\n <!-- <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>-->\n <!-- <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>-->\n </mat-form-field>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n</div>\n<aup-in-place-interaction-context [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n"
|
|
6010
|
-
},] }
|
|
6011
|
-
];
|
|
6012
|
-
InlineStringEditorComponent.ctorParameters = () => [
|
|
6013
|
-
{ type: InteractionService }
|
|
6014
|
-
];
|
|
6015
|
-
InlineStringEditorComponent.propDecorators = {
|
|
6016
|
-
editorModel: [{ type: Input }],
|
|
6017
|
-
facesModel: [{ type: Input }],
|
|
6018
|
-
faces: [{ type: Input }],
|
|
6019
|
-
interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
|
|
6020
|
-
label: [{ type: Input }],
|
|
6021
|
-
placeHolder: [{ type: Input }],
|
|
6022
|
-
placeHolderModel: [{ type: Input }]
|
|
6023
|
-
};
|
|
6024
|
-
__decorate([
|
|
6025
|
-
TrackExternal(),
|
|
6026
|
-
__metadata("design:type", InlineEditorModel)
|
|
6027
|
-
], InlineStringEditorComponent.prototype, "editorModel", void 0);
|
|
6028
|
-
__decorate([
|
|
6029
|
-
TrackExternal(),
|
|
6030
|
-
__metadata("design:type", ValueModel)
|
|
6031
|
-
], InlineStringEditorComponent.prototype, "facesModel", void 0);
|
|
6032
|
-
__decorate([
|
|
6033
|
-
StoreInValueModel('facesModel'),
|
|
6034
|
-
__metadata("design:type", Object)
|
|
6035
|
-
], InlineStringEditorComponent.prototype, "faces", void 0);
|
|
6036
|
-
__decorate([
|
|
6037
|
-
StoreInValueModel('placeHolderModel'),
|
|
6038
|
-
__metadata("design:type", String)
|
|
6039
|
-
], InlineStringEditorComponent.prototype, "placeHolder", void 0);
|
|
6040
|
-
__decorate([
|
|
6041
|
-
TrackExternal(),
|
|
6042
|
-
__metadata("design:type", ValueModel)
|
|
6043
|
-
], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
|
|
6044
|
-
(function (InlineStringEditorComponent) {
|
|
6045
|
-
InlineStringEditorComponent.DEFAULT_FACES = {
|
|
6046
|
-
edit: {
|
|
6047
|
-
icon: () => 'mat:edit'
|
|
6048
|
-
},
|
|
6049
|
-
save: {
|
|
6050
|
-
icon: () => 'mat:check'
|
|
6051
|
-
},
|
|
6052
|
-
cancel: {
|
|
6053
|
-
icon: () => 'mat:clear'
|
|
6054
|
-
}
|
|
6055
|
-
};
|
|
6056
|
-
})(InlineStringEditorComponent || (InlineStringEditorComponent = {}));
|
|
6057
|
-
|
|
6058
5507
|
class InteractionModule {
|
|
6059
5508
|
}
|
|
6060
5509
|
InteractionModule.decorators = [
|
|
@@ -6070,11 +5519,7 @@ InteractionModule.decorators = [
|
|
|
6070
5519
|
DirectivesModule,
|
|
6071
5520
|
FlexModule,
|
|
6072
5521
|
GridModule,
|
|
6073
|
-
ComponentsModule
|
|
6074
|
-
FormsModule,
|
|
6075
|
-
MatInputModule,
|
|
6076
|
-
MatFormFieldModule,
|
|
6077
|
-
A11yModule
|
|
5522
|
+
ComponentsModule
|
|
6078
5523
|
],
|
|
6079
5524
|
declarations: [
|
|
6080
5525
|
ActivityContainerComponent,
|
|
@@ -6088,7 +5533,7 @@ InteractionModule.decorators = [
|
|
|
6088
5533
|
PopupInteractionContextComponent,
|
|
6089
5534
|
StringInputActivity,
|
|
6090
5535
|
SelectInputActivity,
|
|
6091
|
-
|
|
5536
|
+
AbstractInputActivity,
|
|
6092
5537
|
InteractionContextTriggerFor,
|
|
6093
5538
|
Activity,
|
|
6094
5539
|
ActivityTitleComponent,
|
|
@@ -6097,9 +5542,7 @@ InteractionModule.decorators = [
|
|
|
6097
5542
|
AbstractActivityTriggerComponent,
|
|
6098
5543
|
PopupActivityTriggerComponent,
|
|
6099
5544
|
InlineActivityTriggerComponent,
|
|
6100
|
-
ModalActivityTriggerComponent
|
|
6101
|
-
AddCardActivityComponent,
|
|
6102
|
-
InlineStringEditorComponent,
|
|
5545
|
+
ModalActivityTriggerComponent
|
|
6103
5546
|
],
|
|
6104
5547
|
exports: [
|
|
6105
5548
|
ActivityContainerComponent,
|
|
@@ -6115,9 +5558,7 @@ InteractionModule.decorators = [
|
|
|
6115
5558
|
ActivityBodyComponent,
|
|
6116
5559
|
PopupActivityTriggerComponent,
|
|
6117
5560
|
InlineActivityTriggerComponent,
|
|
6118
|
-
ModalActivityTriggerComponent
|
|
6119
|
-
AddCardActivityComponent,
|
|
6120
|
-
InlineStringEditorComponent,
|
|
5561
|
+
ModalActivityTriggerComponent
|
|
6121
5562
|
],
|
|
6122
5563
|
entryComponents: [
|
|
6123
5564
|
ActivityContainerComponent,
|
|
@@ -6398,27 +5839,16 @@ class PlaceComponent extends DisposableComponent {
|
|
|
6398
5839
|
when(this._active).becomesTruthy(() => this._notifyPlaceReady());
|
|
6399
5840
|
this.childPlaces = this.placeDefinition.children.map(d => d.component);
|
|
6400
5841
|
}
|
|
5842
|
+
// @Trace()
|
|
6401
5843
|
initialiseVisit(visit, notifyVisitChanged) {
|
|
6402
5844
|
assert.isNil(this.visitModel.value);
|
|
6403
5845
|
const { when } = Dsl.disposeWith(this);
|
|
6404
5846
|
this.visitModel.value = visit;
|
|
6405
5847
|
DebugContext.getOrCreate(this.visitModel).tag(`${this.placeDefinition.component.name}.visitModel`);
|
|
6406
|
-
|
|
6407
|
-
// route in one go at the end.
|
|
6408
|
-
this.placeDefinition
|
|
6409
|
-
.getVisitParameterDefs()
|
|
6410
|
-
.forEach(parameterDef => this.installAndInitialiseBinding(visit, parameterDef));
|
|
5848
|
+
this.placeDefinition.getVisitParameterDefs().forEach(parameterDef => this.installBinding(parameterDef));
|
|
6411
5849
|
when(this.visitModel).changes((current, previous) => {
|
|
6412
5850
|
notifyVisitChanged(current, previous);
|
|
6413
5851
|
}, { unless: this._inVisitUpdate });
|
|
6414
|
-
// TODO: this needs to do a replace url option so that the new url isn't put in the history.... for
|
|
6415
|
-
// now we're not doing it as it's a fair bit of effort and will only affect people if they're
|
|
6416
|
-
// cutting and pasting urls to each other.
|
|
6417
|
-
// // the binding process can update the visit (e.g. if a selection model has already selected during
|
|
6418
|
-
// // component construction) and there was no value specified in the route
|
|
6419
|
-
// if (visit.hasRoutingChangedFrom(this.visitModel.value)) {
|
|
6420
|
-
// notifyVisitChanged(this.visitModel.value, visit)
|
|
6421
|
-
// }
|
|
6422
5852
|
}
|
|
6423
5853
|
updateVisit(visit) {
|
|
6424
5854
|
assert.isTruthy(this.isInitialised());
|
|
@@ -6431,12 +5861,7 @@ class PlaceComponent extends DisposableComponent {
|
|
|
6431
5861
|
return !!this.visitModel.value;
|
|
6432
5862
|
}
|
|
6433
5863
|
// @Trace()
|
|
6434
|
-
|
|
6435
|
-
* Initialised the component bindings. If any binding has an initial model value (e.g. a selection model
|
|
6436
|
-
* initialised during the constructor) and the route has nothing, then the visit will be udpated and this
|
|
6437
|
-
* method will return ture to nofiy the the visit has changed.
|
|
6438
|
-
*/
|
|
6439
|
-
installAndInitialiseBinding(initialVisit, parameterDef) {
|
|
5864
|
+
installBinding(parameterDef) {
|
|
6440
5865
|
const model = this[parameterDef.propertyName];
|
|
6441
5866
|
DebugContext.tag(model, `${this.placeDefinition.component.name}.${parameterDef.propertyName}`);
|
|
6442
5867
|
const binding = this.registerDisposable(new Binding(this.visitModel, model, {
|
|
@@ -6450,17 +5875,7 @@ class PlaceComponent extends DisposableComponent {
|
|
|
6450
5875
|
return currentVisit.replace(parameterDef, value);
|
|
6451
5876
|
}
|
|
6452
5877
|
}));
|
|
6453
|
-
|
|
6454
|
-
// that to the view. If we don't and the view already has a value (e.g. a selection model has already initialised in the
|
|
6455
|
-
// component constructor) then we should push that to the route.
|
|
6456
|
-
const isInVisit = !_.isNil(initialVisit.getParameterValue(parameterDef));
|
|
6457
|
-
const isInModel = !_.isNil(model.value);
|
|
6458
|
-
if (!isInVisit && isInModel) {
|
|
6459
|
-
binding.writeLeft(); // push it to the route
|
|
6460
|
-
}
|
|
6461
|
-
else {
|
|
6462
|
-
binding.writeRight(); // push it to the model
|
|
6463
|
-
}
|
|
5878
|
+
binding.writeRight();
|
|
6464
5879
|
}
|
|
6465
5880
|
get placeDefinition() {
|
|
6466
5881
|
const definition = PlaceComponent.getDefinition(this.constructor);
|
|
@@ -7503,7 +6918,7 @@ class ConsolidatedParameterMap {
|
|
|
7503
6918
|
return !!this.paramMaps.find(m => m.has(name));
|
|
7504
6919
|
}
|
|
7505
6920
|
get keys() {
|
|
7506
|
-
return
|
|
6921
|
+
return this.paramMaps.reduce((result, params) => result.concat(params.keys), []);
|
|
7507
6922
|
}
|
|
7508
6923
|
}
|
|
7509
6924
|
__decorate([
|
|
@@ -7580,13 +6995,9 @@ class Visit {
|
|
|
7580
6995
|
});
|
|
7581
6996
|
return new Visit(this.placeDefinition, params);
|
|
7582
6997
|
}
|
|
7583
|
-
// @Trace()
|
|
7584
6998
|
hasRoutingChangedFrom(other) {
|
|
7585
6999
|
const samePlace = other.placeDefinition === this.placeDefinition;
|
|
7586
|
-
const
|
|
7587
|
-
const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
|
|
7588
|
-
// console.log({currentParams, otherParams});
|
|
7589
|
-
const sameRouteParameters = _.isEqual(currentParams, otherParams);
|
|
7000
|
+
const sameRouteParameters = _.isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
|
|
7590
7001
|
return !samePlace || !sameRouteParameters;
|
|
7591
7002
|
}
|
|
7592
7003
|
hasChangedFrom(other) {
|
|
@@ -7608,7 +7019,6 @@ class UrlSnapshot {
|
|
|
7608
7019
|
this.url = url;
|
|
7609
7020
|
this.urlTree = urlSerializer.parse(url);
|
|
7610
7021
|
}
|
|
7611
|
-
// @Trace()
|
|
7612
7022
|
updateVisitSegments(visit) {
|
|
7613
7023
|
const newUrlTree = this.urlSerializer.parse(this.url);
|
|
7614
7024
|
// Ugly, but it works for now.
|
|
@@ -7685,6 +7095,12 @@ class UrlSnapshot {
|
|
|
7685
7095
|
return `UrlSnapshot(${this.url})`;
|
|
7686
7096
|
}
|
|
7687
7097
|
}
|
|
7098
|
+
__decorate([
|
|
7099
|
+
Trace(),
|
|
7100
|
+
__metadata("design:type", Function),
|
|
7101
|
+
__metadata("design:paramtypes", [Visit]),
|
|
7102
|
+
__metadata("design:returntype", UrlSnapshot)
|
|
7103
|
+
], UrlSnapshot.prototype, "updateVisitSegments", null);
|
|
7688
7104
|
__decorate([
|
|
7689
7105
|
Memoize(),
|
|
7690
7106
|
__metadata("design:type", Function),
|
|
@@ -7765,9 +7181,6 @@ UrlService.ctorParameters = () => [
|
|
|
7765
7181
|
{ type: UrlSerializer }
|
|
7766
7182
|
];
|
|
7767
7183
|
|
|
7768
|
-
function asArray(item) {
|
|
7769
|
-
return Array.isArray(item) ? item : [item];
|
|
7770
|
-
}
|
|
7771
7184
|
class PlaceRouter extends GarbageCollector {
|
|
7772
7185
|
constructor(angularRouter, angularLocation, interactionService, urlService, placeHistory) {
|
|
7773
7186
|
super();
|
|
@@ -7931,10 +7344,11 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7931
7344
|
this.currentSession.onRouterEnd(event);
|
|
7932
7345
|
}
|
|
7933
7346
|
navigate(visit, options) {
|
|
7934
|
-
const commands = asArray(visit).reduce((result, v) => {
|
|
7935
|
-
return [...result, v.placeDefinition.path, ...this.createRouteParameters(v)];
|
|
7936
|
-
}, []);
|
|
7937
7347
|
return this.doNavigation(visit, (router) => __awaiter(this, void 0, void 0, function* () {
|
|
7348
|
+
const commands = [
|
|
7349
|
+
visit.placeDefinition.path,
|
|
7350
|
+
...this.createRouteParameters(visit)
|
|
7351
|
+
];
|
|
7938
7352
|
yield this.angularRouter.navigate(commands, {
|
|
7939
7353
|
relativeTo: options ? options.relativeTo : null
|
|
7940
7354
|
});
|
|
@@ -7947,7 +7361,7 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7947
7361
|
lang.illegalState('Navigation already in progress');
|
|
7948
7362
|
}
|
|
7949
7363
|
const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());
|
|
7950
|
-
|
|
7364
|
+
navigation.storeVisit(visit);
|
|
7951
7365
|
this.transitionTo(navigation);
|
|
7952
7366
|
try {
|
|
7953
7367
|
yield runNavigationCommands(this.angularRouter);
|
|
@@ -8028,7 +7442,6 @@ class PlaceRouter extends GarbageCollector {
|
|
|
8028
7442
|
* to be able to capture the back button on the first page. If we don't then the back click will exit
|
|
8029
7443
|
* the app directly and we don't get to ask.
|
|
8030
7444
|
*/
|
|
8031
|
-
// @Trace()
|
|
8032
7445
|
syncInteractionContextIdsWithRouter() {
|
|
8033
7446
|
if (this.navigationSession) {
|
|
8034
7447
|
// console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
|
|
@@ -8070,6 +7483,12 @@ PlaceRouter.ctorParameters = () => [
|
|
|
8070
7483
|
{ type: UrlService },
|
|
8071
7484
|
{ type: PlaceHistory }
|
|
8072
7485
|
];
|
|
7486
|
+
__decorate([
|
|
7487
|
+
Trace(),
|
|
7488
|
+
__metadata("design:type", Function),
|
|
7489
|
+
__metadata("design:paramtypes", []),
|
|
7490
|
+
__metadata("design:returntype", Promise)
|
|
7491
|
+
], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
|
|
8073
7492
|
(function (PlaceRouter) {
|
|
8074
7493
|
class State {
|
|
8075
7494
|
constructor(activeVisits) {
|
|
@@ -8095,7 +7514,7 @@ NotAuthorisedNoticeComponent.decorators = [
|
|
|
8095
7514
|
{ type: Component, args: [{
|
|
8096
7515
|
selector: 'aup-not-authorised-notice',
|
|
8097
7516
|
template: "<p>You are not authorised to access this page</p>\n",
|
|
8098
|
-
styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}
|
|
7517
|
+
styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}"]
|
|
8099
7518
|
},] }
|
|
8100
7519
|
];
|
|
8101
7520
|
NotAuthorisedNoticeComponent.ctorParameters = () => [];
|
|
@@ -8321,7 +7740,7 @@ PlaceOutletComponent.decorators = [
|
|
|
8321
7740
|
selector: 'aup-place-outlet',
|
|
8322
7741
|
template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n 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\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n",
|
|
8323
7742
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
8324
|
-
styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}
|
|
7743
|
+
styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}"]
|
|
8325
7744
|
},] }
|
|
8326
7745
|
];
|
|
8327
7746
|
PlaceOutletComponent.ctorParameters = () => [
|
|
@@ -8451,7 +7870,7 @@ ListPlaceNavComponent.decorators = [
|
|
|
8451
7870
|
{ type: Component, args: [{
|
|
8452
7871
|
selector: 'aup-list-place-nav',
|
|
8453
7872
|
template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n</mat-nav-list>\n",
|
|
8454
|
-
styles: [":host{display:flex;flex-direction:column;--selected-border-color
|
|
7873
|
+
styles: [":host{display:flex;flex-direction:column;--selected-border-color:#838383;--selected-color:inherit;--selected-background:#f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}"]
|
|
8455
7874
|
},] }
|
|
8456
7875
|
];
|
|
8457
7876
|
ListPlaceNavComponent.ctorParameters = () => [
|
|
@@ -8519,7 +7938,7 @@ SidePlaceNavigationComponent.decorators = [
|
|
|
8519
7938
|
{ type: Component, args: [{
|
|
8520
7939
|
selector: 'aup-side-place-navigation',
|
|
8521
7940
|
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 item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(item.place).icon()\" [icon]=\"getNavigationFace(item.place).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(item.place).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
|
|
8522
|
-
styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:
|
|
7941
|
+
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,hsla(0,0%,100%,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)}"]
|
|
8523
7942
|
},] }
|
|
8524
7943
|
];
|
|
8525
7944
|
SidePlaceNavigationComponent.ctorParameters = () => [
|
|
@@ -8539,7 +7958,7 @@ TabbedPlaceNavigationComponent.decorators = [
|
|
|
8539
7958
|
{ type: Component, args: [{
|
|
8540
7959
|
selector: 'aup-tabbed-place-navigation',
|
|
8541
7960
|
template: "<nav mat-tab-nav-bar>\n <ng-content select=\"[nav-start]\"></ng-content>\n <a mat-tab-link *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n <ng-content select=\"[nav-end]\"></ng-content>\n</nav>\n",
|
|
8542
|
-
styles: [":host{display:block}div.place-holder{border:1px solid green}
|
|
7961
|
+
styles: [":host{display:block}div.place-holder{border:1px solid green}"]
|
|
8543
7962
|
},] }
|
|
8544
7963
|
];
|
|
8545
7964
|
TabbedPlaceNavigationComponent.ctorParameters = () => [
|
|
@@ -8831,11 +8250,10 @@ class PlaceGuard {
|
|
|
8831
8250
|
}
|
|
8832
8251
|
}
|
|
8833
8252
|
const result = yield this.cleanInteractionState(activatedRoute, state, () => __awaiter(this, void 0, void 0, function* () {
|
|
8834
|
-
const navigationSession = this.placeRouter.navigationSession;
|
|
8835
8253
|
// Parse our route params.
|
|
8836
8254
|
const params = new ConsolidatedParameterMap(activatedRoute.url, activatedRoute.paramMap);
|
|
8837
|
-
// console.log("RouteParams", params)
|
|
8838
8255
|
const parsedParams = placeDefinition.parseRouteParams(params);
|
|
8256
|
+
const navigationSession = this.placeRouter.navigationSession;
|
|
8839
8257
|
const initialVisit = navigationSession.getVisitFor(placeDefinition) || new Visit(placeDefinition, parsedParams);
|
|
8840
8258
|
const sanitiser = new VisitSanitiser(navigationSession, activatedRoute, this.router, this.placeHistory, this.injector);
|
|
8841
8259
|
const sanitisedVisit = yield sanitiser.sanitise(initialVisit.mergeRouteParameters(parsedParams));
|
|
@@ -9087,5 +8505,5 @@ VisibilityService.ctorParameters = () => [
|
|
|
9087
8505
|
* Generated bundle index. Do not edit.
|
|
9088
8506
|
*/
|
|
9089
8507
|
|
|
9090
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent,
|
|
8508
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator, ɵ0 };
|
|
9091
8509
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|