@coolon/angular-ui-powerups 2.0.0-alpha.33 → 2.0.0-alpha.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/assets/commands.scss +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +111 -52
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +1 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.js +9 -2
- package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +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 -5
- 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/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +4 -3
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +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.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +56 -16
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/place-component.js +12 -0
- 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.module.js +3 -3
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/card-container/card-container.component.js +1 -1
- package/esm5/lib/components/commands/command-face/command-face.component.js +9 -2
- package/esm5/lib/components/commands/command-face/command-face.component.js.map +1 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +2 -5
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.js +4 -3
- package/esm5/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +56 -16
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/place-component.js +16 -0
- package/esm5/lib/place/place-component.js.map +1 -1
- package/esm5/lib/place/place.module.js +3 -3
- package/esm5/lib/place/place.module.js.map +1 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +103 -48
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +109 -50
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command-face/command-face.component.d.ts +8 -1
- package/lib/place/components/abstract-place-navigation.component.d.ts +2 -2
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +8 -2
- package/lib/place/place-component.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.0.0-alpha.35](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2020-08-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* place navigation component icon/text gaps ([1c02f53](https://bitbucket.org/coolon/angular-ui-powerups/commit/1c02f534fe92aa9332460ba9542fd5885a7747cd))
|
|
11
|
+
|
|
12
|
+
## [2.0.0-alpha.34](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2020-08-26)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* place ready notifications now work when animation is disabled ([8f49791](https://bitbucket.org/coolon/angular-ui-powerups/commit/8f49791d97182405f0aa7c25ca72e48de49dde59))
|
|
18
|
+
|
|
5
19
|
## [2.0.0-alpha.33](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.32...v2.0.0-alpha.33) (2020-08-26)
|
|
6
20
|
|
|
7
21
|
|
package/assets/commands.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@angular/platform-browser/animations'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/material/autocomplete'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/table'), require('@angular/material/tooltip'), require('@fortawesome/angular-fontawesome'), require('@fortawesome/free-solid-svg-icons'), require('@coolon/pectin'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('lodash'), require('typescript-string-enums'), require('@coolon/typescript-utilities'), require('immer'), require('@angular/flex-layout'), require('@angular/material/dialog'), require('@angular/router'), require('@angular/cdk/overlay'), require('resize-observer-polyfill'), require('@angular/material/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/form-field', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@angular/platform-browser/animations', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/material/autocomplete', '@angular/material/button', '@angular/material/checkbox', '@angular/material/icon', '@angular/material/menu', '@angular/material/table', '@angular/material/tooltip', '@fortawesome/angular-fontawesome', '@fortawesome/free-solid-svg-icons', '@coolon/pectin', '@typescript-plus/fast-memoize-decorator/dist/src', 'lodash', 'typescript-string-enums', '@coolon/typescript-utilities', 'immer', '@angular/flex-layout', '@angular/material/dialog', '@angular/router', '@angular/cdk/overlay', 'resize-observer-polyfill', '@angular/material/
|
|
4
|
-
(global = global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.formField, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.ng.platformBrowser.animations, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.material.autocomplete, global.ng.material.button, global.ng.material.checkbox, global.ng.material.icon, global.ng.material.menu, global.ng.material.table, global.ng.material.tooltip, global.angularFontawesome, global.freeSolidSvgIcons, global.pectin, global.src, global.___default, global.typescriptStringEnums, global.typescriptUtilities, global.produce, global.ng.flexLayout, global.ng.material.dialog, global.ng.router, global.ng.cdk.overlay, global.ResizeObserver, global.ng.material.
|
|
5
|
-
}(this, (function (exports, common, core, forms, formField, input, select, tabs, animations, portal, scrolling, autocomplete, button, checkbox, icon, menu, table, tooltip, angularFontawesome, freeSolidSvgIcons, pectin, src, ___default, typescriptStringEnums, typescriptUtilities, produce, flexLayout, dialog, router, overlay, ResizeObserver,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@angular/platform-browser/animations'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/material/autocomplete'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/table'), require('@angular/material/tooltip'), require('@fortawesome/angular-fontawesome'), require('@fortawesome/free-solid-svg-icons'), require('@coolon/pectin'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('lodash'), require('typescript-string-enums'), require('@coolon/typescript-utilities'), require('immer'), require('@angular/flex-layout'), require('@angular/material/dialog'), require('@angular/router'), require('@angular/cdk/overlay'), require('resize-observer-polyfill'), require('@angular/material/list'), require('@angular/material/progress-spinner'), require('@typescript-plus/fast-memoize-decorator'), require('reflect-metadata'), require('@angular/animations'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/form-field', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@angular/platform-browser/animations', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/material/autocomplete', '@angular/material/button', '@angular/material/checkbox', '@angular/material/icon', '@angular/material/menu', '@angular/material/table', '@angular/material/tooltip', '@fortawesome/angular-fontawesome', '@fortawesome/free-solid-svg-icons', '@coolon/pectin', '@typescript-plus/fast-memoize-decorator/dist/src', 'lodash', 'typescript-string-enums', '@coolon/typescript-utilities', 'immer', '@angular/flex-layout', '@angular/material/dialog', '@angular/router', '@angular/cdk/overlay', 'resize-observer-polyfill', '@angular/material/list', '@angular/material/progress-spinner', '@typescript-plus/fast-memoize-decorator', 'reflect-metadata', '@angular/animations', 'rxjs'], factory) :
|
|
4
|
+
(global = global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.formField, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.ng.platformBrowser.animations, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.material.autocomplete, global.ng.material.button, global.ng.material.checkbox, global.ng.material.icon, global.ng.material.menu, global.ng.material.table, global.ng.material.tooltip, global.angularFontawesome, global.freeSolidSvgIcons, global.pectin, global.src, global.___default, global.typescriptStringEnums, global.typescriptUtilities, global.produce, global.ng.flexLayout, global.ng.material.dialog, global.ng.router, global.ng.cdk.overlay, global.ResizeObserver, global.ng.material.list, global.ng.material.progressSpinner, global.fastMemoizeDecorator, null, global.ng.animations, global.rxjs));
|
|
5
|
+
}(this, (function (exports, common, core, forms, formField, input, select, tabs, animations, portal, scrolling, autocomplete, button, checkbox, icon, menu, table, tooltip, angularFontawesome, freeSolidSvgIcons, pectin, src, ___default, typescriptStringEnums, typescriptUtilities, produce, flexLayout, dialog, router, overlay, ResizeObserver, list, progressSpinner, fastMemoizeDecorator, reflectMetadata, animations$1, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var ___default__default = 'default' in ___default ? ___default['default'] : ___default;
|
|
8
8
|
produce = produce && Object.prototype.hasOwnProperty.call(produce, 'default') ? produce['default'] : produce;
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
core.Component({
|
|
579
579
|
selector: 'aup-card-container',
|
|
580
580
|
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-icon icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
|
|
581
|
-
styles: [":root{--aup-default-padding:var(--default-padding, 18px);--aup-default-background:white;--command-face-icon-gap:8px;--aup-icon-width:24px;--aup-fa-icon-width:18px}.router-outlet-container>*{position:absolute;top:0;left:0;bottom:0;right:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context{max-width:95vw!important;max-height:95vh!important}.dialog-interaction-context mat-dialog-container{max-width:95vw!important;max-height:95vh!important;padding:0}.activity-outlet-wrapper{display:flex;flex-direction:column;align-items:stretch}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{padding-bottom:0;border-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap, 24px);--resolved-row-hover-background-color:var(--row-hover-background-color, rgba(0, 0, 0, 0.05))}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{padding-left:var(--default-column-gap);flex:1}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width)) / 2);position:relative}aup-icon fa-icon .svg-inline--fa{position:absolute;top:var(--fa-icon-offset);left:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important;height:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-gap:var(--card-gap, 16px);--resolved-card-width:var(--card-width, 300px);--resolved-card-height:var(--card-height, auto);--resolved-card-min-height:var(--card-min-height, auto);--resolved-card-background:var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(0,var(--resolved-card-height)));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap));max-width:100%}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:rgba(255,255,255,.8);transition:280ms cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:280ms cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
|
|
581
|
+
styles: [":root{--aup-default-padding:var(--default-padding, 18px);--aup-default-background:white;--aup-command-face-icon-gap:8px;--aup-icon-width:24px;--aup-fa-icon-width:18px}.router-outlet-container>*{position:absolute;top:0;left:0;bottom:0;right:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context{max-width:95vw!important;max-height:95vh!important}.dialog-interaction-context mat-dialog-container{max-width:95vw!important;max-height:95vh!important;padding:0}.activity-outlet-wrapper{display:flex;flex-direction:column;align-items:stretch}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{padding-bottom:0;border-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap, 24px);--resolved-row-hover-background-color:var(--row-hover-background-color, rgba(0, 0, 0, 0.05))}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{padding-left:var(--default-column-gap);flex:1}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width)) / 2);position:relative}aup-icon fa-icon .svg-inline--fa{position:absolute;top:var(--fa-icon-offset);left:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important;height:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-gap:var(--card-gap, 16px);--resolved-card-width:var(--card-width, 300px);--resolved-card-height:var(--card-height, auto);--resolved-card-min-height:var(--card-min-height, auto);--resolved-card-background:var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(0,var(--resolved-card-height)));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap));max-width:100%}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:rgba(255,255,255,.8);transition:280ms cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:280ms cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
|
|
582
582
|
}),
|
|
583
583
|
__metadata("design:paramtypes", [])
|
|
584
584
|
], CardContainerComponent);
|
|
@@ -739,7 +739,14 @@
|
|
|
739
739
|
}(CommandContainer));
|
|
740
740
|
|
|
741
741
|
/**
|
|
742
|
-
*
|
|
742
|
+
* Custom CSS:
|
|
743
|
+
* @example
|
|
744
|
+
* root: { // globally
|
|
745
|
+
* --aup-command-face-icon-gap: 8px;
|
|
746
|
+
* }
|
|
747
|
+
* aup-command-face { // per instance
|
|
748
|
+
* --icon-gap: 4px;
|
|
749
|
+
* }
|
|
743
750
|
*/
|
|
744
751
|
var CommandFaceComponent = /** @class */ (function (_super) {
|
|
745
752
|
__extends(CommandFaceComponent, _super);
|
|
@@ -845,7 +852,7 @@
|
|
|
845
852
|
selector: 'aup-command-face',
|
|
846
853
|
template: "<aup-icon *ngIf=\"iconStart\" [icon]=\"iconModel.value\"></aup-icon>\n<span *ngIf=\"this.text\">{{this.text}}</span>\n<aup-icon *ngIf=\"iconEnd\" [icon]=\"iconModel.value\"></aup-icon>\n",
|
|
847
854
|
encapsulation: core.ViewEncapsulation.None,
|
|
848
|
-
styles: ["aup-command-face{--icon-gap:var(--command-face-icon-gap);display:inline-flex;flex-direction:row;align-items:center}aup-command-face *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}"]
|
|
855
|
+
styles: ["aup-command-face{--icon-gap:var(--aup-command-face-icon-gap);display:inline-flex;flex-direction:row;align-items:center}aup-command-face *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}"]
|
|
849
856
|
}),
|
|
850
857
|
__param(0, core.Optional()),
|
|
851
858
|
__metadata("design:paramtypes", [CommandContainer])
|
|
@@ -3501,7 +3508,7 @@
|
|
|
3501
3508
|
core.Component({
|
|
3502
3509
|
selector: 'aup-activity-actions',
|
|
3503
3510
|
template: "<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
|
|
3504
|
-
styles: [":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";-ms-grid-columns:auto 1fr auto;grid-template-columns:auto 1fr auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}:host.align-stretch>.cancel{-ms-grid-row:1;-ms-grid-column:1}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}:host.align-stretch>.confirm{-ms-grid-row:1;-ms-grid-column:3}.
|
|
3511
|
+
styles: [":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";-ms-grid-columns:auto 1fr auto;grid-template-columns:auto 1fr auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}:host.align-stretch>.cancel{-ms-grid-row:1;-ms-grid-column:1}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}:host.align-stretch>.confirm{-ms-grid-row:1;-ms-grid-column:3}.column{-ms-grid-row:1;-ms-grid-column:3;grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-row:1;-ms-grid-column:1}:host.align-stretch>.column{-ms-grid-row:1;-ms-grid-column:2}"]
|
|
3505
3512
|
})
|
|
3506
3513
|
], ActivityActionsComponent);
|
|
3507
3514
|
return ActivityActionsComponent;
|
|
@@ -3862,10 +3869,6 @@
|
|
|
3862
3869
|
_this.dynamicHeight = false;
|
|
3863
3870
|
_this.activityRefs = [];
|
|
3864
3871
|
_this.garbage = new pectin.GarbageCollector();
|
|
3865
|
-
// We have issues where angular is triggering a leave animation when an
|
|
3866
|
-
// new activity is started, but is not running the enter animation
|
|
3867
|
-
// when it is scrolled back into view. So we track the tab changes and
|
|
3868
|
-
// disable all animations inside the tab while we're animating.
|
|
3869
3872
|
_this.inAnimation = new pectin.MutableValueModel(false);
|
|
3870
3873
|
return _this;
|
|
3871
3874
|
}
|
|
@@ -4023,6 +4026,7 @@
|
|
|
4023
4026
|
var newIndex = this.getActiveActivityCount() - 1;
|
|
4024
4027
|
if (previousIndex !== newIndex) {
|
|
4025
4028
|
this.inAnimation.value = true;
|
|
4029
|
+
this.activityRefs[newIndex].setFocused(false);
|
|
4026
4030
|
this.tabs.selectedIndex = newIndex;
|
|
4027
4031
|
this.onAnimationFinishedJob = function () {
|
|
4028
4032
|
_this.activityRefs = _this.activityRefs.filter(function (tab) { return !tab.isComplete(); });
|
|
@@ -4066,7 +4070,7 @@
|
|
|
4066
4070
|
ActivityContainerComponent = __decorate([
|
|
4067
4071
|
core.Component({
|
|
4068
4072
|
selector: 'aup-activity-container',
|
|
4069
|
-
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let
|
|
4073
|
+
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n",
|
|
4070
4074
|
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
4071
4075
|
}),
|
|
4072
4076
|
__metadata("design:paramtypes", [])
|
|
@@ -5137,6 +5141,9 @@
|
|
|
5137
5141
|
var _this = _super.call(this) || this;
|
|
5138
5142
|
_this.visitModel = new pectin.MutableValueModel();
|
|
5139
5143
|
_this._inVisitUpdate = new pectin.Guard();
|
|
5144
|
+
_this._active = new pectin.MutableValueModel(false);
|
|
5145
|
+
var _a = pectin.Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
5146
|
+
when(_this._active).becomesTruthy(function () { return _this.onPlaceReady(); });
|
|
5140
5147
|
return _this;
|
|
5141
5148
|
}
|
|
5142
5149
|
PlaceComponent_1 = PlaceComponent;
|
|
@@ -5194,6 +5201,19 @@
|
|
|
5194
5201
|
enumerable: true,
|
|
5195
5202
|
configurable: true
|
|
5196
5203
|
});
|
|
5204
|
+
Object.defineProperty(PlaceComponent.prototype, "active", {
|
|
5205
|
+
get: function () {
|
|
5206
|
+
return this._active.readonly;
|
|
5207
|
+
},
|
|
5208
|
+
enumerable: true,
|
|
5209
|
+
configurable: true
|
|
5210
|
+
});
|
|
5211
|
+
/**
|
|
5212
|
+
* Called by the router when the place is ready to interact after any animations have run.
|
|
5213
|
+
*/
|
|
5214
|
+
PlaceComponent.prototype._notifyActive = function (active) {
|
|
5215
|
+
this._active.value = active;
|
|
5216
|
+
};
|
|
5197
5217
|
PlaceComponent.prototype.onPlaceReady = function () {
|
|
5198
5218
|
};
|
|
5199
5219
|
var PlaceComponent_1;
|
|
@@ -6731,6 +6751,7 @@
|
|
|
6731
6751
|
_this._activePlaceModel = new pectin.MutableValueModel();
|
|
6732
6752
|
_this.initialPlaceIndex = null;
|
|
6733
6753
|
_this._isPushingVisitToRoute = new pectin.MutableValueModel(false);
|
|
6754
|
+
_this.isVeryFirstLoad = true;
|
|
6734
6755
|
var _a = pectin.Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
6735
6756
|
_this.parentOutletModel = new pectin.MutableValueModel(parentOutlet);
|
|
6736
6757
|
var defaultPlaceAnimationOrder = chain(_this.parentOutletModel)
|
|
@@ -6739,8 +6760,9 @@
|
|
|
6739
6760
|
.pluckList('children')
|
|
6740
6761
|
.pluck('component');
|
|
6741
6762
|
var activatePlaceType = chain(_this.activePlaceModel).map(function (p) { return p.constructor; });
|
|
6742
|
-
_this.
|
|
6743
|
-
.otherwise(defaultPlaceAnimationOrder)
|
|
6763
|
+
_this.placesInAnimationOrder = chain(_this.customPlaceAnimationOrderModel)
|
|
6764
|
+
.otherwise(defaultPlaceAnimationOrder);
|
|
6765
|
+
_this.activePlaceAnimationPosition = _this.placesInAnimationOrder
|
|
6744
6766
|
.reduce(function (placesInOrder) {
|
|
6745
6767
|
var placeIndex = 0;
|
|
6746
6768
|
if (activatePlaceType.value) {
|
|
@@ -6751,14 +6773,16 @@
|
|
|
6751
6773
|
}
|
|
6752
6774
|
return ___default.isNil(_this.initialPlaceIndex) ? 0 : placeIndex - _this.initialPlaceIndex;
|
|
6753
6775
|
}, { dependsOn: activatePlaceType });
|
|
6776
|
+
_this.animationSupported = _this.placesInAnimationOrder.count().isGreaterThan(0);
|
|
6777
|
+
_this.animationEnabled = valueOf.all(_this.animateModel, _this.animationSupported).areTruthy();
|
|
6754
6778
|
// Extract our visit model from the place router.
|
|
6755
6779
|
_this._activePlaceDefinition = chain(_this._activePlaceModel).pluck('placeDefinition');
|
|
6756
6780
|
_this.routerVisitModel = _this._activePlaceDefinition.findIn(chain(placeRouter.activeVisitsByPlaceDefinition));
|
|
6757
6781
|
_this.navigationInProgress = chain(_this.placeRouter.navigationInProgress);
|
|
6758
|
-
when
|
|
6782
|
+
when(_this.navigationInProgress).becomesFalsey(function () {
|
|
6759
6783
|
_this.checkStateAndInitialise();
|
|
6760
6784
|
});
|
|
6761
|
-
when
|
|
6785
|
+
when(_this.outletActivated).becomesTruthy(function () {
|
|
6762
6786
|
_this.checkStateAndInitialise();
|
|
6763
6787
|
});
|
|
6764
6788
|
chain(_this._activePlaceModel)
|
|
@@ -6771,7 +6795,7 @@
|
|
|
6771
6795
|
};
|
|
6772
6796
|
// @Trace()
|
|
6773
6797
|
PlaceOutletComponent.prototype.getAnimationOrder = function () {
|
|
6774
|
-
return this.
|
|
6798
|
+
return this.activePlaceAnimationPosition.value;
|
|
6775
6799
|
};
|
|
6776
6800
|
Object.defineProperty(PlaceOutletComponent.prototype, "animationDuration", {
|
|
6777
6801
|
get: function () {
|
|
@@ -6782,7 +6806,10 @@
|
|
|
6782
6806
|
});
|
|
6783
6807
|
// @Trace()
|
|
6784
6808
|
PlaceOutletComponent.prototype.navigate = function (visit) {
|
|
6785
|
-
//
|
|
6809
|
+
// const place = this.placesInAnimationOrder.query().findMatching(p => visit.placeDefinition.component === p);
|
|
6810
|
+
// if (!place) {
|
|
6811
|
+
// lang.illegalState()
|
|
6812
|
+
// }
|
|
6786
6813
|
this.placeRouter.navigate(visit, {
|
|
6787
6814
|
relativeTo: this.parentOutlet ? this.parentOutlet.activatedRouteModel.value : null
|
|
6788
6815
|
});
|
|
@@ -6808,14 +6835,25 @@
|
|
|
6808
6835
|
enumerable: true,
|
|
6809
6836
|
configurable: true
|
|
6810
6837
|
});
|
|
6811
|
-
// @Trace()
|
|
6812
6838
|
PlaceOutletComponent.prototype.onOutletActivated = function (routerOutlet, place) {
|
|
6813
6839
|
this._activatedRouteModel.value = routerOutlet.activatedRoute;
|
|
6814
6840
|
this._activePlaceModel.value = place;
|
|
6841
|
+
this.validateAnimationState(place);
|
|
6815
6842
|
this.outletActivated.value = true;
|
|
6816
6843
|
this.checkStateAndInitialise();
|
|
6817
6844
|
};
|
|
6818
|
-
|
|
6845
|
+
PlaceOutletComponent.prototype.validateAnimationState = function (place) {
|
|
6846
|
+
if (this.animateModel.value) {
|
|
6847
|
+
if (this.placesInAnimationOrder.length < 1) {
|
|
6848
|
+
console.error('PlaceOutlet.animate === true but placeAnimationOrder has not been set. Animation is disabled.');
|
|
6849
|
+
}
|
|
6850
|
+
else {
|
|
6851
|
+
if (!this.placesInAnimationOrder.query().includes(place.placeDefinition.component)) {
|
|
6852
|
+
console.error("PlaceOutlet.animate === true but placeAnimationOrder doesn't contain " + place.placeDefinition.component.name + ".");
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
}
|
|
6856
|
+
};
|
|
6819
6857
|
PlaceOutletComponent.prototype.onOutletDeactivated = function () {
|
|
6820
6858
|
this.outletActivated.value = false;
|
|
6821
6859
|
this._activePlaceModel.value = null;
|
|
@@ -6832,7 +6870,6 @@
|
|
|
6832
6870
|
this.initialisePlace(routerVisit, activePlace);
|
|
6833
6871
|
}
|
|
6834
6872
|
};
|
|
6835
|
-
// @Trace()
|
|
6836
6873
|
PlaceOutletComponent.prototype.initialisePlace = function (routerVisit, activePlace) {
|
|
6837
6874
|
var _this = this;
|
|
6838
6875
|
var visitModel = new pectin.MutableValueModel(routerVisit);
|
|
@@ -6840,9 +6877,18 @@
|
|
|
6840
6877
|
activePlace.initialiseVisit(routerVisit, function (current, previous) {
|
|
6841
6878
|
_this.pushVisitChangeToRoute(previous, current);
|
|
6842
6879
|
});
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6880
|
+
var finishPlaceLoad = function () {
|
|
6881
|
+
_this._activePlaceModel.value._notifyActive(true);
|
|
6882
|
+
};
|
|
6883
|
+
if (!this.animationEnabled.value || this.isVeryFirstLoad) {
|
|
6884
|
+
// if animation is disabled or this is the very first load then
|
|
6885
|
+
// we won't get our animation done callback so we finish the
|
|
6886
|
+
// process here and now.
|
|
6887
|
+
this.isVeryFirstLoad = false;
|
|
6888
|
+
finishPlaceLoad();
|
|
6889
|
+
}
|
|
6890
|
+
else {
|
|
6891
|
+
this.onAnimationFinishedJob = finishPlaceLoad;
|
|
6846
6892
|
}
|
|
6847
6893
|
var _a = pectin.Dsl.disposeWith(activePlace), when = _a.when, chain = _a.chain, valueOf = _a.valueOf;
|
|
6848
6894
|
when.valueOf(this.routerVisitModel)
|
|
@@ -6865,8 +6911,9 @@
|
|
|
6865
6911
|
};
|
|
6866
6912
|
// @Trace()
|
|
6867
6913
|
PlaceOutletComponent.prototype.animationDone = function () {
|
|
6868
|
-
if (this.
|
|
6869
|
-
this.
|
|
6914
|
+
if (this.onAnimationFinishedJob) {
|
|
6915
|
+
this.onAnimationFinishedJob();
|
|
6916
|
+
this.onAnimationFinishedJob = undefined;
|
|
6870
6917
|
}
|
|
6871
6918
|
};
|
|
6872
6919
|
PlaceOutletComponent.ctorParameters = function () { return [
|
|
@@ -6899,10 +6946,22 @@
|
|
|
6899
6946
|
core.ViewChild('routeOutlet', { static: true }),
|
|
6900
6947
|
__metadata("design:type", router.RouterOutlet)
|
|
6901
6948
|
], PlaceOutletComponent.prototype, "routerOut", void 0);
|
|
6949
|
+
__decorate([
|
|
6950
|
+
pectin.Trace(),
|
|
6951
|
+
__metadata("design:type", Function),
|
|
6952
|
+
__metadata("design:paramtypes", [router.RouterOutlet, exports.PlaceComponent]),
|
|
6953
|
+
__metadata("design:returntype", void 0)
|
|
6954
|
+
], PlaceOutletComponent.prototype, "onOutletActivated", null);
|
|
6955
|
+
__decorate([
|
|
6956
|
+
pectin.Trace(),
|
|
6957
|
+
__metadata("design:type", Function),
|
|
6958
|
+
__metadata("design:paramtypes", []),
|
|
6959
|
+
__metadata("design:returntype", void 0)
|
|
6960
|
+
], PlaceOutletComponent.prototype, "onOutletDeactivated", null);
|
|
6902
6961
|
PlaceOutletComponent = __decorate([
|
|
6903
6962
|
core.Component({
|
|
6904
6963
|
selector: 'aup-place-outlet',
|
|
6905
|
-
template: "<ng-container *ngIf=\"
|
|
6964
|
+
template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\" cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\" cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n",
|
|
6906
6965
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
6907
6966
|
styles: [":host{display:flex;flex-direction:column;min-height:0}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:scroll}router-outlet{display:none}"]
|
|
6908
6967
|
}),
|
|
@@ -6933,10 +6992,10 @@
|
|
|
6933
6992
|
_this.activePlaceDefinition = chain(_this._activePlaceComponent).pluck('placeDefinition');
|
|
6934
6993
|
return _this;
|
|
6935
6994
|
}
|
|
6936
|
-
AbstractPlaceNavigationComponent.prototype.
|
|
6995
|
+
AbstractPlaceNavigationComponent.prototype.getNavigationFace = function (placeDef) {
|
|
6937
6996
|
var navItem = placeDef.getPlaceData('nav');
|
|
6938
6997
|
return {
|
|
6939
|
-
|
|
6998
|
+
text: function () { return navItem ? navItem.title() : placeDef.searchPlaceData(['navTitle', 'title']); },
|
|
6940
6999
|
tooltip: function () { return navItem && navItem.tooltip ? navItem.tooltip() : placeDef.getPlaceData('navTooltip', null); },
|
|
6941
7000
|
icon: function () { return navItem && navItem.icon ? navItem.icon() : placeDef.getPlaceData('navIcon', null); }
|
|
6942
7001
|
};
|
|
@@ -6970,7 +7029,7 @@
|
|
|
6970
7029
|
__metadata("design:type", Function),
|
|
6971
7030
|
__metadata("design:paramtypes", [PlaceDefinition]),
|
|
6972
7031
|
__metadata("design:returntype", Object)
|
|
6973
|
-
], AbstractPlaceNavigationComponent.prototype, "
|
|
7032
|
+
], AbstractPlaceNavigationComponent.prototype, "getNavigationFace", null);
|
|
6974
7033
|
AbstractPlaceNavigationComponent = __decorate([
|
|
6975
7034
|
core.Component({
|
|
6976
7035
|
template: ''
|
|
@@ -7031,7 +7090,7 @@
|
|
|
7031
7090
|
ListPlaceNavComponent = __decorate([
|
|
7032
7091
|
core.Component({
|
|
7033
7092
|
selector: 'aup-list-place-nav',
|
|
7034
|
-
template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"
|
|
7093
|
+
template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-command-face [face]=\"getNavigationFace(placeDefinition)\"></aup-command-face>\n </a>\n</mat-nav-list>\n",
|
|
7035
7094
|
styles: [":host{display:flex;flex-direction:column;--selected-border-color:#838383;--selected-color:inherit;--selected-background:#f1f1f1}mat-nav-list{padding-top:0}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}"]
|
|
7036
7095
|
}),
|
|
7037
7096
|
__metadata("design:paramtypes", [PlaceRouter])
|
|
@@ -7039,25 +7098,6 @@
|
|
|
7039
7098
|
return ListPlaceNavComponent;
|
|
7040
7099
|
}(AbstractPlaceNavigationComponent));
|
|
7041
7100
|
|
|
7042
|
-
var TabbedPlaceNavigationComponent = /** @class */ (function (_super) {
|
|
7043
|
-
__extends(TabbedPlaceNavigationComponent, _super);
|
|
7044
|
-
function TabbedPlaceNavigationComponent(placeRouter) {
|
|
7045
|
-
return _super.call(this, placeRouter) || this;
|
|
7046
|
-
}
|
|
7047
|
-
TabbedPlaceNavigationComponent.ctorParameters = function () { return [
|
|
7048
|
-
{ type: PlaceRouter }
|
|
7049
|
-
]; };
|
|
7050
|
-
TabbedPlaceNavigationComponent = __decorate([
|
|
7051
|
-
core.Component({
|
|
7052
|
-
selector: 'aup-tabbed-place-navigation',
|
|
7053
|
-
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <aup-icon *ngIf=\"getNav(placeDefinition).icon()\" [icon]=\"getNav(placeDefinition).icon()\"></aup-icon>\n <span>{{getNav(placeDefinition).title()}}</span>\n </a>\n</nav>\n",
|
|
7054
|
-
styles: [""]
|
|
7055
|
-
}),
|
|
7056
|
-
__metadata("design:paramtypes", [PlaceRouter])
|
|
7057
|
-
], TabbedPlaceNavigationComponent);
|
|
7058
|
-
return TabbedPlaceNavigationComponent;
|
|
7059
|
-
}(AbstractPlaceNavigationComponent));
|
|
7060
|
-
|
|
7061
7101
|
/**
|
|
7062
7102
|
* @example
|
|
7063
7103
|
* // Usage
|
|
@@ -7132,7 +7172,7 @@
|
|
|
7132
7172
|
SidePlaceNavigationComponent = __decorate([
|
|
7133
7173
|
core.Component({
|
|
7134
7174
|
selector: 'aup-side-place-navigation',
|
|
7135
|
-
template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"
|
|
7175
|
+
template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(placeDefinition).icon()\" [icon]=\"getNavigationFace(placeDefinition).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(placeDefinition).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
|
|
7136
7176
|
styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:var(--nav-width, 56px);--resolved-nav-item-height:var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width:var(--nav-expanded-width, 235px);--resolved-color:var(--nav-color, rgba(255, 255, 255, 0.9));--resolved-background-color:var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
|
|
7137
7177
|
}),
|
|
7138
7178
|
__metadata("design:paramtypes", [router.Router, PlaceRouter])
|
|
@@ -7140,6 +7180,25 @@
|
|
|
7140
7180
|
return SidePlaceNavigationComponent;
|
|
7141
7181
|
}(AbstractPlaceNavigationComponent));
|
|
7142
7182
|
|
|
7183
|
+
var TabbedPlaceNavigationComponent = /** @class */ (function (_super) {
|
|
7184
|
+
__extends(TabbedPlaceNavigationComponent, _super);
|
|
7185
|
+
function TabbedPlaceNavigationComponent(placeRouter) {
|
|
7186
|
+
return _super.call(this, placeRouter) || this;
|
|
7187
|
+
}
|
|
7188
|
+
TabbedPlaceNavigationComponent.ctorParameters = function () { return [
|
|
7189
|
+
{ type: PlaceRouter }
|
|
7190
|
+
]; };
|
|
7191
|
+
TabbedPlaceNavigationComponent = __decorate([
|
|
7192
|
+
core.Component({
|
|
7193
|
+
selector: 'aup-tabbed-place-navigation',
|
|
7194
|
+
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNavigationFace(placeDefinition).tooltip()\">\n <aup-command-face [face]=\"getNavigationFace(placeDefinition)\"></aup-command-face>\n </a>\n</nav>\n",
|
|
7195
|
+
styles: [""]
|
|
7196
|
+
}),
|
|
7197
|
+
__metadata("design:paramtypes", [PlaceRouter])
|
|
7198
|
+
], TabbedPlaceNavigationComponent);
|
|
7199
|
+
return TabbedPlaceNavigationComponent;
|
|
7200
|
+
}(AbstractPlaceNavigationComponent));
|
|
7201
|
+
|
|
7143
7202
|
var PlaceModule = /** @class */ (function () {
|
|
7144
7203
|
function PlaceModule() {
|
|
7145
7204
|
}
|