@coolon/angular-ui-powerups 2.0.0-alpha.26 → 2.0.0-alpha.28
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 +9 -0
- package/assets/commands.scss +3 -0
- package/assets/icons.scss +30 -0
- package/assets/styles.scss +2 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +574 -149
- 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.d.ts +42 -34
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +40 -32
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +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-bar.component.js +51 -0
- package/esm2015/lib/components/commands/command-bar.component.js.map +1 -0
- package/esm2015/lib/components/commands/command-bar.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/command-bar.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/command-container.js +20 -0
- package/esm2015/lib/components/commands/command-container.js.map +1 -0
- package/esm2015/lib/components/commands/command-container.metadata.json +1 -0
- package/esm2015/lib/components/commands/command-face/command-face.component.js +91 -0
- package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -0
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -0
- package/esm2015/lib/components/commands/command-face.js +9 -1
- package/esm2015/lib/components/commands/command-face.js.map +1 -1
- package/esm2015/lib/components/commands/command.component.js +38 -0
- package/esm2015/lib/components/commands/command.component.js.map +1 -0
- package/esm2015/lib/components/commands/command.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/command.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.js +50 -0
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.js +35 -0
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.js +46 -0
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js +62 -0
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/components.module.js +23 -2
- 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/icon/icon.component.js +17 -4
- package/esm2015/lib/components/icon/icon.component.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
- package/esm2015/lib/components/index.js +8 -0
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/index.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm5/coolon-angular-ui-powerups.js +40 -32
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/card-container/card-container.component.js +1 -1
- package/esm5/lib/components/commands/command-bar.component.js +31 -0
- package/esm5/lib/components/commands/command-bar.component.js.map +1 -0
- package/esm5/lib/components/commands/command-bar.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/command-container.js +30 -0
- package/esm5/lib/components/commands/command-container.js.map +1 -0
- package/esm5/lib/components/commands/command-face/command-face.component.js +122 -0
- package/esm5/lib/components/commands/command-face/command-face.component.js.map +1 -0
- package/esm5/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -0
- package/esm5/lib/components/commands/command-face.js +13 -1
- package/esm5/lib/components/commands/command-face.js.map +1 -1
- package/esm5/lib/components/commands/command.component.js +41 -0
- package/esm5/lib/components/commands/command.component.js.map +1 -0
- package/esm5/lib/components/commands/command.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.js +57 -0
- package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu/more-menu.component.js +30 -0
- package/esm5/lib/components/commands/popup-menu/more-menu.component.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu/more-menu.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu/popup-menu.component.js +42 -0
- package/esm5/lib/components/commands/popup-menu/popup-menu.component.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu/popup-menu.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js +66 -0
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/components/components.module.js +23 -2
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/icon/icon.component.js +15 -3
- package/esm5/lib/components/icon/icon.component.js.map +1 -1
- package/esm5/lib/components/index.js +8 -0
- package/esm5/lib/components/index.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +459 -75
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +510 -99
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command-bar.component.d.ts +10 -0
- package/lib/components/commands/command-container.d.ts +15 -0
- package/lib/components/commands/command-face/command-face.component.d.ts +29 -0
- package/lib/components/commands/command-face.d.ts +4 -2
- package/lib/components/commands/command.component.d.ts +15 -0
- package/lib/components/commands/popup-menu/abstract-popup-menu.component.d.ts +15 -0
- package/lib/components/commands/popup-menu/more-menu.component.d.ts +8 -0
- package/lib/components/commands/popup-menu/popup-menu.component.d.ts +14 -0
- package/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.d.ts +21 -0
- package/lib/components/icon/icon.component.d.ts +15 -0
- package/lib/components/index.d.ts +8 -0
- package/package.json +1 -1
|
@@ -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('lodash'), require('
|
|
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', '
|
|
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.___default, global.
|
|
5
|
-
}(this, (function (exports, common, core, forms, formField, input, select, tabs, animations, portal, scrolling, autocomplete, button, checkbox, icon, menu, table, tooltip, angularFontawesome, freeSolidSvgIcons, pectin, ___default,
|
|
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/progress-spinner'), require('@angular/material/list'), 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/progress-spinner', '@angular/material/list', '@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.progressSpinner, global.ng.material.list, 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, progressSpinner, list, 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,13 +578,486 @@
|
|
|
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}.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}.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}: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;--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}.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);
|
|
585
585
|
return CardContainerComponent;
|
|
586
586
|
}(DisposableComponent));
|
|
587
587
|
|
|
588
|
+
|
|
589
|
+
(function (CommandFace) {
|
|
590
|
+
var Position;
|
|
591
|
+
(function (Position) {
|
|
592
|
+
Position["START"] = "start";
|
|
593
|
+
Position["END"] = "end";
|
|
594
|
+
})(Position = CommandFace.Position || (CommandFace.Position = {}));
|
|
595
|
+
var Adapter = /** @class */ (function () {
|
|
596
|
+
function Adapter(face) {
|
|
597
|
+
this.face = face;
|
|
598
|
+
}
|
|
599
|
+
Object.defineProperty(Adapter.prototype, "text", {
|
|
600
|
+
get: function () {
|
|
601
|
+
return ___default__default.isFunction(this.face.text) ? this.face.text() : undefined;
|
|
602
|
+
},
|
|
603
|
+
enumerable: true,
|
|
604
|
+
configurable: true
|
|
605
|
+
});
|
|
606
|
+
Object.defineProperty(Adapter.prototype, "icon", {
|
|
607
|
+
get: function () {
|
|
608
|
+
return ___default__default.isFunction(this.face.icon) ? this.face.icon() : undefined;
|
|
609
|
+
},
|
|
610
|
+
enumerable: true,
|
|
611
|
+
configurable: true
|
|
612
|
+
});
|
|
613
|
+
Object.defineProperty(Adapter.prototype, "iconPosition", {
|
|
614
|
+
get: function () {
|
|
615
|
+
return ___default__default.isFunction(this.face.iconPosition) ? this.face.iconPosition() : undefined;
|
|
616
|
+
},
|
|
617
|
+
enumerable: true,
|
|
618
|
+
configurable: true
|
|
619
|
+
});
|
|
620
|
+
Object.defineProperty(Adapter.prototype, "tooltip", {
|
|
621
|
+
get: function () {
|
|
622
|
+
return ___default__default.isFunction(this.face.tooltip) ? this.face.tooltip() : undefined;
|
|
623
|
+
},
|
|
624
|
+
enumerable: true,
|
|
625
|
+
configurable: true
|
|
626
|
+
});
|
|
627
|
+
Object.defineProperty(Adapter.prototype, "iconPositionStart", {
|
|
628
|
+
get: function () {
|
|
629
|
+
return this.iconPosition === CommandFace.Position.START;
|
|
630
|
+
},
|
|
631
|
+
enumerable: true,
|
|
632
|
+
configurable: true
|
|
633
|
+
});
|
|
634
|
+
Object.defineProperty(Adapter.prototype, "iconPositionEnd", {
|
|
635
|
+
get: function () {
|
|
636
|
+
return this.iconPosition === CommandFace.Position.END;
|
|
637
|
+
},
|
|
638
|
+
enumerable: true,
|
|
639
|
+
configurable: true
|
|
640
|
+
});
|
|
641
|
+
Object.defineProperty(Adapter.prototype, "destructive", {
|
|
642
|
+
get: function () {
|
|
643
|
+
return ___default__default.isFunction(this.face.destructive) ? this.face.destructive() : false;
|
|
644
|
+
},
|
|
645
|
+
enumerable: true,
|
|
646
|
+
configurable: true
|
|
647
|
+
});
|
|
648
|
+
__decorate([
|
|
649
|
+
src.Memoize(),
|
|
650
|
+
__metadata("design:type", Object),
|
|
651
|
+
__metadata("design:paramtypes", [])
|
|
652
|
+
], Adapter.prototype, "text", null);
|
|
653
|
+
__decorate([
|
|
654
|
+
src.Memoize(),
|
|
655
|
+
__metadata("design:type", Object),
|
|
656
|
+
__metadata("design:paramtypes", [])
|
|
657
|
+
], Adapter.prototype, "icon", null);
|
|
658
|
+
__decorate([
|
|
659
|
+
src.Memoize(),
|
|
660
|
+
__metadata("design:type", Object),
|
|
661
|
+
__metadata("design:paramtypes", [])
|
|
662
|
+
], Adapter.prototype, "iconPosition", null);
|
|
663
|
+
__decorate([
|
|
664
|
+
src.Memoize(),
|
|
665
|
+
__metadata("design:type", Object),
|
|
666
|
+
__metadata("design:paramtypes", [])
|
|
667
|
+
], Adapter.prototype, "tooltip", null);
|
|
668
|
+
__decorate([
|
|
669
|
+
src.Memoize(),
|
|
670
|
+
__metadata("design:type", Boolean),
|
|
671
|
+
__metadata("design:paramtypes", [])
|
|
672
|
+
], Adapter.prototype, "iconPositionStart", null);
|
|
673
|
+
__decorate([
|
|
674
|
+
src.Memoize(),
|
|
675
|
+
__metadata("design:type", Boolean),
|
|
676
|
+
__metadata("design:paramtypes", [])
|
|
677
|
+
], Adapter.prototype, "iconPositionEnd", null);
|
|
678
|
+
__decorate([
|
|
679
|
+
src.Memoize(),
|
|
680
|
+
__metadata("design:type", Boolean),
|
|
681
|
+
__metadata("design:paramtypes", [])
|
|
682
|
+
], Adapter.prototype, "destructive", null);
|
|
683
|
+
return Adapter;
|
|
684
|
+
}());
|
|
685
|
+
CommandFace.Adapter = Adapter;
|
|
686
|
+
})(exports.CommandFace || (exports.CommandFace = {}));
|
|
687
|
+
|
|
688
|
+
var CommandContainer = /** @class */ (function (_super) {
|
|
689
|
+
__extends(CommandContainer, _super);
|
|
690
|
+
function CommandContainer() {
|
|
691
|
+
var _this = _super.call(this) || this;
|
|
692
|
+
_this._commandRegistrations = new pectin.MutableListModel();
|
|
693
|
+
return _this;
|
|
694
|
+
}
|
|
695
|
+
Object.defineProperty(CommandContainer.prototype, "commandRegistrations", {
|
|
696
|
+
get: function () {
|
|
697
|
+
return this._commandRegistrations.readonly;
|
|
698
|
+
},
|
|
699
|
+
enumerable: true,
|
|
700
|
+
configurable: true
|
|
701
|
+
});
|
|
702
|
+
CommandContainer.prototype.registerCommand = function (command, face) {
|
|
703
|
+
var _this = this;
|
|
704
|
+
var registration = { command: command, faceAdapter: new exports.CommandFace.Adapter(face) };
|
|
705
|
+
this._commandRegistrations.push(registration);
|
|
706
|
+
return pectin.Disposable.disposableThatRuns(function () { return _this._commandRegistrations.remove(registration); });
|
|
707
|
+
};
|
|
708
|
+
CommandContainer.prototype.getDefaultIconPosition = function () {
|
|
709
|
+
return exports.CommandFace.Position.START;
|
|
710
|
+
};
|
|
711
|
+
return CommandContainer;
|
|
712
|
+
}(pectin.GarbageCollector));
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
var CommandBarComponent = /** @class */ (function (_super) {
|
|
718
|
+
__extends(CommandBarComponent, _super);
|
|
719
|
+
function CommandBarComponent() {
|
|
720
|
+
return _super.call(this) || this;
|
|
721
|
+
}
|
|
722
|
+
CommandBarComponent_1 = CommandBarComponent;
|
|
723
|
+
CommandBarComponent.prototype.ngOnInit = function () {
|
|
724
|
+
};
|
|
725
|
+
CommandBarComponent.prototype.getButtonColor = function (registration) {
|
|
726
|
+
return registration.faceAdapter.destructive ? 'warn' : undefined;
|
|
727
|
+
};
|
|
728
|
+
var CommandBarComponent_1;
|
|
729
|
+
CommandBarComponent = CommandBarComponent_1 = __decorate([
|
|
730
|
+
core.Component({
|
|
731
|
+
selector: 'aup-command-bar',
|
|
732
|
+
template: "\n <ng-container *ngFor=\"let registration of commandRegistrations.value\">\n <button *ngIf=\"registration.faceAdapter.icon && !registration.faceAdapter.text\"\n mat-icon-button\n [color]=\"getButtonColor(registration)\"\n [pectinCommand]=\"registration.command\"\n [matTooltip]=\"registration.faceAdapter.tooltip\"\n >\n <aup-command-face [face]=\"registration.faceAdapter.face\"></aup-command-face>\n </button>\n <button *ngIf=\"registration.faceAdapter.text\"\n [color]=\"getButtonColor(registration)\"\n mat-button\n [pectinCommand]=\"registration.command\"\n [matTooltip]=\"registration.tooltip\"\n >\n <aup-command-face [face]=\"registration.faceAdapter.face\"></aup-command-face>\n </button>\n </ng-container>\n ",
|
|
733
|
+
providers: [{ provide: CommandContainer, useExisting: core.forwardRef(function () { return CommandBarComponent_1; }) }],
|
|
734
|
+
styles: [":host {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n }"]
|
|
735
|
+
}),
|
|
736
|
+
__metadata("design:paramtypes", [])
|
|
737
|
+
], CommandBarComponent);
|
|
738
|
+
return CommandBarComponent;
|
|
739
|
+
}(CommandContainer));
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
*/
|
|
744
|
+
var CommandFaceComponent = /** @class */ (function (_super) {
|
|
745
|
+
__extends(CommandFaceComponent, _super);
|
|
746
|
+
function CommandFaceComponent(commandContainer) {
|
|
747
|
+
var _this = _super.call(this) || this;
|
|
748
|
+
_this.commandContainer = commandContainer;
|
|
749
|
+
_this.faceModel = new pectin.MutableValueModel();
|
|
750
|
+
_this.ignoreIcon = false;
|
|
751
|
+
_this.ignoreText = false;
|
|
752
|
+
_this.includeMissingIconInLayout = false;
|
|
753
|
+
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;
|
|
754
|
+
// overkill /c: when all you have is a hammer...
|
|
755
|
+
var faceAdapter = chain(_this.faceModel).map(function (face) { return new exports.CommandFace.Adapter(face); });
|
|
756
|
+
_this.iconModel = faceAdapter.pluck('icon');
|
|
757
|
+
_this.textModel = faceAdapter.pluck('text');
|
|
758
|
+
_this.positionModel = faceAdapter.pluck('iconPosition');
|
|
759
|
+
_this.destructiveModel = faceAdapter.pluck('destructive');
|
|
760
|
+
return _this;
|
|
761
|
+
}
|
|
762
|
+
Object.defineProperty(CommandFaceComponent.prototype, "requiresMissingIconInLayout", {
|
|
763
|
+
get: function () {
|
|
764
|
+
return this.includeMissingIconInLayout && !this.iconModel.value;
|
|
765
|
+
},
|
|
766
|
+
enumerable: true,
|
|
767
|
+
configurable: true
|
|
768
|
+
});
|
|
769
|
+
CommandFaceComponent.prototype.ngOnInit = function () {
|
|
770
|
+
};
|
|
771
|
+
Object.defineProperty(CommandFaceComponent.prototype, "iconPosition", {
|
|
772
|
+
get: function () {
|
|
773
|
+
var _a, _b, _c;
|
|
774
|
+
return (_c = (_a = this.positionModel.value) !== null && _a !== void 0 ? _a : (_b = this.commandContainer) === null || _b === void 0 ? void 0 : _b.getDefaultIconPosition()) !== null && _c !== void 0 ? _c : exports.CommandFace.Position.START;
|
|
775
|
+
},
|
|
776
|
+
enumerable: true,
|
|
777
|
+
configurable: true
|
|
778
|
+
});
|
|
779
|
+
Object.defineProperty(CommandFaceComponent.prototype, "shouldIncludeIcon", {
|
|
780
|
+
get: function () {
|
|
781
|
+
return (!this.ignoreIcon && this.iconModel.value) || this.includeMissingIconInLayout;
|
|
782
|
+
},
|
|
783
|
+
enumerable: true,
|
|
784
|
+
configurable: true
|
|
785
|
+
});
|
|
786
|
+
Object.defineProperty(CommandFaceComponent.prototype, "iconStart", {
|
|
787
|
+
get: function () {
|
|
788
|
+
return this.shouldIncludeIcon && this.iconPosition === exports.CommandFace.Position.START;
|
|
789
|
+
},
|
|
790
|
+
enumerable: true,
|
|
791
|
+
configurable: true
|
|
792
|
+
});
|
|
793
|
+
Object.defineProperty(CommandFaceComponent.prototype, "iconEnd", {
|
|
794
|
+
get: function () {
|
|
795
|
+
return this.shouldIncludeIcon && this.iconPosition === exports.CommandFace.Position.END;
|
|
796
|
+
},
|
|
797
|
+
enumerable: true,
|
|
798
|
+
configurable: true
|
|
799
|
+
});
|
|
800
|
+
Object.defineProperty(CommandFaceComponent.prototype, "text", {
|
|
801
|
+
get: function () {
|
|
802
|
+
return this.ignoreText ? undefined : this.textModel.value;
|
|
803
|
+
},
|
|
804
|
+
enumerable: true,
|
|
805
|
+
configurable: true
|
|
806
|
+
});
|
|
807
|
+
Object.defineProperty(CommandFaceComponent.prototype, "destructive", {
|
|
808
|
+
get: function () {
|
|
809
|
+
return this.destructiveModel.value;
|
|
810
|
+
},
|
|
811
|
+
enumerable: true,
|
|
812
|
+
configurable: true
|
|
813
|
+
});
|
|
814
|
+
CommandFaceComponent.ctorParameters = function () { return [
|
|
815
|
+
{ type: CommandContainer, decorators: [{ type: core.Optional }] }
|
|
816
|
+
]; };
|
|
817
|
+
__decorate([
|
|
818
|
+
core.Input('face'), pectin.StoreInValueModel('faceModel'),
|
|
819
|
+
__metadata("design:type", Object)
|
|
820
|
+
], CommandFaceComponent.prototype, "_rawFace", void 0);
|
|
821
|
+
__decorate([
|
|
822
|
+
core.Input(),
|
|
823
|
+
__metadata("design:type", Object)
|
|
824
|
+
], CommandFaceComponent.prototype, "ignoreIcon", void 0);
|
|
825
|
+
__decorate([
|
|
826
|
+
core.Input(),
|
|
827
|
+
__metadata("design:type", Object)
|
|
828
|
+
], CommandFaceComponent.prototype, "ignoreText", void 0);
|
|
829
|
+
__decorate([
|
|
830
|
+
core.Input(),
|
|
831
|
+
__metadata("design:type", Object)
|
|
832
|
+
], CommandFaceComponent.prototype, "includeMissingIconInLayout", void 0);
|
|
833
|
+
__decorate([
|
|
834
|
+
core.HostBinding('class.hide-icon'),
|
|
835
|
+
__metadata("design:type", Object),
|
|
836
|
+
__metadata("design:paramtypes", [])
|
|
837
|
+
], CommandFaceComponent.prototype, "requiresMissingIconInLayout", null);
|
|
838
|
+
__decorate([
|
|
839
|
+
core.HostBinding('class.destructive'),
|
|
840
|
+
__metadata("design:type", Boolean),
|
|
841
|
+
__metadata("design:paramtypes", [])
|
|
842
|
+
], CommandFaceComponent.prototype, "destructive", null);
|
|
843
|
+
CommandFaceComponent = __decorate([
|
|
844
|
+
core.Component({
|
|
845
|
+
selector: 'aup-command-face',
|
|
846
|
+
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
|
+
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}"]
|
|
849
|
+
}),
|
|
850
|
+
__param(0, core.Optional()),
|
|
851
|
+
__metadata("design:paramtypes", [CommandContainer])
|
|
852
|
+
], CommandFaceComponent);
|
|
853
|
+
return CommandFaceComponent;
|
|
854
|
+
}(DisposableComponent));
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
var CommandComponent = /** @class */ (function (_super) {
|
|
860
|
+
__extends(CommandComponent, _super);
|
|
861
|
+
function CommandComponent(commandContainer) {
|
|
862
|
+
var _this = _super.call(this) || this;
|
|
863
|
+
_this.commandContainer = commandContainer;
|
|
864
|
+
return _this;
|
|
865
|
+
}
|
|
866
|
+
CommandComponent.prototype.ngOnInit = function () {
|
|
867
|
+
this.registerDisposable(this.commandContainer.registerCommand(this.command, this.face));
|
|
868
|
+
};
|
|
869
|
+
CommandComponent.ctorParameters = function () { return [
|
|
870
|
+
{ type: CommandContainer }
|
|
871
|
+
]; };
|
|
872
|
+
__decorate([
|
|
873
|
+
core.Input(), pectin.TrackExternal(),
|
|
874
|
+
__metadata("design:type", pectin.Command)
|
|
875
|
+
], CommandComponent.prototype, "command", void 0);
|
|
876
|
+
__decorate([
|
|
877
|
+
core.Input(),
|
|
878
|
+
__metadata("design:type", Object)
|
|
879
|
+
], CommandComponent.prototype, "face", void 0);
|
|
880
|
+
CommandComponent = __decorate([
|
|
881
|
+
core.Component({
|
|
882
|
+
selector: 'aup-command',
|
|
883
|
+
template: ""
|
|
884
|
+
}),
|
|
885
|
+
__metadata("design:paramtypes", [CommandContainer])
|
|
886
|
+
], CommandComponent);
|
|
887
|
+
return CommandComponent;
|
|
888
|
+
}(DisposableComponent));
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
*/
|
|
893
|
+
var PopupMenuRendererComponent = /** @class */ (function (_super) {
|
|
894
|
+
__extends(PopupMenuRendererComponent, _super);
|
|
895
|
+
function PopupMenuRendererComponent() {
|
|
896
|
+
var _this = _super.call(this) || this;
|
|
897
|
+
_this.xPosition = 'after';
|
|
898
|
+
_this.yPosition = 'below';
|
|
899
|
+
_this.commandExecuted = new core.EventEmitter();
|
|
900
|
+
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;
|
|
901
|
+
var registrations = chain(_this.commandRegistrations);
|
|
902
|
+
var iconCount = registrations.select(function (r) { return !!r.faceAdapter.icon; }).count();
|
|
903
|
+
_this.hasMixedIcons = valueOf.all(iconCount.isGreaterThan(0), iconCount.doesNotEqual(registrations.length)).areTruthy();
|
|
904
|
+
return _this;
|
|
905
|
+
}
|
|
906
|
+
PopupMenuRendererComponent.prototype.ngOnInit = function () {
|
|
907
|
+
};
|
|
908
|
+
PopupMenuRendererComponent.prototype.getPopupMenuCommandFor = function (item) {
|
|
909
|
+
var _this = this;
|
|
910
|
+
var when = pectin.Dsl.disposeWith(this).when;
|
|
911
|
+
when(item.command.busy).becomesFalsey(function () {
|
|
912
|
+
_this.commandExecuted.emit();
|
|
913
|
+
});
|
|
914
|
+
return item.command;
|
|
915
|
+
};
|
|
916
|
+
PopupMenuRendererComponent.prototype.getButtonColor = function (registration) {
|
|
917
|
+
return registration.faceAdapter.destructive ? 'warn' : undefined;
|
|
918
|
+
};
|
|
919
|
+
__decorate([
|
|
920
|
+
core.Input(), pectin.TrackExternal(),
|
|
921
|
+
__metadata("design:type", pectin.ListModel)
|
|
922
|
+
], PopupMenuRendererComponent.prototype, "commandRegistrations", void 0);
|
|
923
|
+
__decorate([
|
|
924
|
+
core.Input(),
|
|
925
|
+
__metadata("design:type", String)
|
|
926
|
+
], PopupMenuRendererComponent.prototype, "xPosition", void 0);
|
|
927
|
+
__decorate([
|
|
928
|
+
core.Input(),
|
|
929
|
+
__metadata("design:type", String)
|
|
930
|
+
], PopupMenuRendererComponent.prototype, "yPosition", void 0);
|
|
931
|
+
__decorate([
|
|
932
|
+
core.Output(),
|
|
933
|
+
__metadata("design:type", Object)
|
|
934
|
+
], PopupMenuRendererComponent.prototype, "commandExecuted", void 0);
|
|
935
|
+
__decorate([
|
|
936
|
+
core.ViewChild(menu.MatMenu),
|
|
937
|
+
__metadata("design:type", menu.MatMenu)
|
|
938
|
+
], PopupMenuRendererComponent.prototype, "matMenu", void 0);
|
|
939
|
+
PopupMenuRendererComponent = __decorate([
|
|
940
|
+
core.Component({
|
|
941
|
+
selector: 'aup-popup-menu-renderer',
|
|
942
|
+
template: "<mat-menu [xPosition]=\"xPosition\" [yPosition]=\"yPosition\" >\n <button *ngFor=\"let registration of commandRegistrations.value\"\n mat-menu-item\n [pectinCommand]=\"getPopupMenuCommandFor(registration)\"\n >\n <aup-command-face [face]=\"registration.faceAdapter.face\" [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n</mat-menu>\n",
|
|
943
|
+
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}"]
|
|
944
|
+
}),
|
|
945
|
+
__metadata("design:paramtypes", [])
|
|
946
|
+
], PopupMenuRendererComponent);
|
|
947
|
+
return PopupMenuRendererComponent;
|
|
948
|
+
}(DisposableComponent));
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
*
|
|
952
|
+
*/
|
|
953
|
+
var AbstractPopupMenuComponent = /** @class */ (function (_super) {
|
|
954
|
+
__extends(AbstractPopupMenuComponent, _super);
|
|
955
|
+
function AbstractPopupMenuComponent() {
|
|
956
|
+
var _this = _super.call(this) || this;
|
|
957
|
+
_this.xPosition = 'after';
|
|
958
|
+
_this.yPosition = 'below';
|
|
959
|
+
return _this;
|
|
960
|
+
}
|
|
961
|
+
Object.defineProperty(AbstractPopupMenuComponent.prototype, "matMenuComponent", {
|
|
962
|
+
get: function () {
|
|
963
|
+
var _a;
|
|
964
|
+
return (_a = this.popupMenu) === null || _a === void 0 ? void 0 : _a.matMenu;
|
|
965
|
+
},
|
|
966
|
+
enumerable: true,
|
|
967
|
+
configurable: true
|
|
968
|
+
});
|
|
969
|
+
AbstractPopupMenuComponent.prototype.closeMenu = function () {
|
|
970
|
+
this.menuTrigger.closeMenu();
|
|
971
|
+
};
|
|
972
|
+
AbstractPopupMenuComponent.prototype.getButtonColor = function (registration) {
|
|
973
|
+
return registration.faceAdapter.destructive ? 'warn' : undefined;
|
|
974
|
+
};
|
|
975
|
+
__decorate([
|
|
976
|
+
core.Input(),
|
|
977
|
+
__metadata("design:type", String)
|
|
978
|
+
], AbstractPopupMenuComponent.prototype, "xPosition", void 0);
|
|
979
|
+
__decorate([
|
|
980
|
+
core.Input(),
|
|
981
|
+
__metadata("design:type", String)
|
|
982
|
+
], AbstractPopupMenuComponent.prototype, "yPosition", void 0);
|
|
983
|
+
__decorate([
|
|
984
|
+
core.ViewChild(PopupMenuRendererComponent),
|
|
985
|
+
__metadata("design:type", PopupMenuRendererComponent)
|
|
986
|
+
], AbstractPopupMenuComponent.prototype, "popupMenu", void 0);
|
|
987
|
+
__decorate([
|
|
988
|
+
core.ViewChild(menu.MatMenuTrigger),
|
|
989
|
+
__metadata("design:type", menu.MatMenuTrigger)
|
|
990
|
+
], AbstractPopupMenuComponent.prototype, "menuTrigger", void 0);
|
|
991
|
+
AbstractPopupMenuComponent = __decorate([
|
|
992
|
+
core.Component({
|
|
993
|
+
selector: 'aup-abstract-popup-menu',
|
|
994
|
+
template: ''
|
|
995
|
+
}),
|
|
996
|
+
__metadata("design:paramtypes", [])
|
|
997
|
+
], AbstractPopupMenuComponent);
|
|
998
|
+
return AbstractPopupMenuComponent;
|
|
999
|
+
}(CommandContainer));
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
1004
|
+
var PopupMenuComponent = /** @class */ (function (_super) {
|
|
1005
|
+
__extends(PopupMenuComponent, _super);
|
|
1006
|
+
function PopupMenuComponent() {
|
|
1007
|
+
var _this = _super.call(this) || this;
|
|
1008
|
+
_this.faceModel = new pectin.MutableValueModel();
|
|
1009
|
+
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;
|
|
1010
|
+
var faceAdapterModel = chain(_this.faceModel).map(function (face) { return new exports.CommandFace.Adapter(face); });
|
|
1011
|
+
_this.faceTooltipModel = faceAdapterModel.pluck('tooltip');
|
|
1012
|
+
return _this;
|
|
1013
|
+
}
|
|
1014
|
+
PopupMenuComponent_1 = PopupMenuComponent;
|
|
1015
|
+
PopupMenuComponent.prototype.getTooltip = function () {
|
|
1016
|
+
return this.faceTooltipModel.value;
|
|
1017
|
+
};
|
|
1018
|
+
PopupMenuComponent.prototype.ngOnInit = function () {
|
|
1019
|
+
};
|
|
1020
|
+
var PopupMenuComponent_1;
|
|
1021
|
+
__decorate([
|
|
1022
|
+
core.Input(), pectin.StoreInValueModel('faceModel'),
|
|
1023
|
+
__metadata("design:type", Object)
|
|
1024
|
+
], PopupMenuComponent.prototype, "face", void 0);
|
|
1025
|
+
PopupMenuComponent = PopupMenuComponent_1 = __decorate([
|
|
1026
|
+
core.Component({
|
|
1027
|
+
selector: 'aup-popup-menu',
|
|
1028
|
+
template: "\n <!-- we can only render the button after th popup menu has initialised and rendered it's menu component -->\n <button *ngIf=\"matMenuComponent\" mat-icon-button [matMenuTriggerFor]=\"matMenuComponent\" [matTooltip]=\"getTooltip()\">\n <aup-command-face [face]=\"face\"></aup-command-face>\n </button>\n <aup-popup-menu-renderer [commandRegistrations]=\"commandRegistrations\" [yPosition]=\"yPosition\"\n [xPosition]=\"xPosition\"\n (commandExecuted)=\"closeMenu()\"></aup-popup-menu-renderer>\n ",
|
|
1029
|
+
providers: [{ provide: CommandContainer, useExisting: core.forwardRef(function () { return PopupMenuComponent_1; }) }]
|
|
1030
|
+
}),
|
|
1031
|
+
__metadata("design:paramtypes", [])
|
|
1032
|
+
], PopupMenuComponent);
|
|
1033
|
+
return PopupMenuComponent;
|
|
1034
|
+
}(AbstractPopupMenuComponent));
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
*/
|
|
1039
|
+
var MoreMenuComponent = /** @class */ (function (_super) {
|
|
1040
|
+
__extends(MoreMenuComponent, _super);
|
|
1041
|
+
function MoreMenuComponent() {
|
|
1042
|
+
return _super.call(this) || this;
|
|
1043
|
+
}
|
|
1044
|
+
MoreMenuComponent_1 = MoreMenuComponent;
|
|
1045
|
+
var MoreMenuComponent_1;
|
|
1046
|
+
__decorate([
|
|
1047
|
+
core.Input(),
|
|
1048
|
+
__metadata("design:type", String)
|
|
1049
|
+
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
1050
|
+
MoreMenuComponent = MoreMenuComponent_1 = __decorate([
|
|
1051
|
+
core.Component({
|
|
1052
|
+
selector: 'aup-more-menu',
|
|
1053
|
+
template: "\n <!-- we can only render the button after th popup menu has initialised and rendered it's menu component -->\n <button *ngIf=\"matMenuComponent\" mat-icon-button [matMenuTriggerFor]=\"matMenuComponent\" [matTooltip]=\"tooltip\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <aup-popup-menu-renderer [commandRegistrations]=\"commandRegistrations\"\n [yPosition]=\"yPosition\" [xPosition]=\"xPosition\"\n (commandExecuted)=\"closeMenu()\"></aup-popup-menu-renderer>\n ",
|
|
1054
|
+
providers: [{ provide: CommandContainer, useExisting: core.forwardRef(function () { return MoreMenuComponent_1; }) }]
|
|
1055
|
+
}),
|
|
1056
|
+
__metadata("design:paramtypes", [])
|
|
1057
|
+
], MoreMenuComponent);
|
|
1058
|
+
return MoreMenuComponent;
|
|
1059
|
+
}(AbstractPopupMenuComponent));
|
|
1060
|
+
|
|
588
1061
|
var FocusContainerComponent = /** @class */ (function (_super) {
|
|
589
1062
|
__extends(FocusContainerComponent, _super);
|
|
590
1063
|
function FocusContainerComponent(focusManager) {
|
|
@@ -1342,9 +1815,12 @@
|
|
|
1342
1815
|
return TextInputComponent;
|
|
1343
1816
|
}(AbstractValueInputComponent));
|
|
1344
1817
|
|
|
1345
|
-
|
|
1818
|
+
exports.ɵbk = /** @class */ (function () {
|
|
1346
1819
|
function IconComponent() {
|
|
1820
|
+
this.allowedPrefixes = typescriptStringEnums.Enum.values(IconComponent_1.IconPrefix).map(function (p) { return p + ":"; });
|
|
1821
|
+
this.iconPrefix = IconComponent_1.IconPrefix;
|
|
1347
1822
|
}
|
|
1823
|
+
IconComponent_1 = IconComponent;
|
|
1348
1824
|
Object.defineProperty(IconComponent.prototype, "icon", {
|
|
1349
1825
|
get: function () {
|
|
1350
1826
|
return this._icon;
|
|
@@ -1364,25 +1840,33 @@
|
|
|
1364
1840
|
if (this.prefix) {
|
|
1365
1841
|
this.errorMessage = "Unknown icon \"" + iconName + "\"";
|
|
1366
1842
|
}
|
|
1367
|
-
this.errorMessage = "Unknown icon prefix \"" + this.prefix + "
|
|
1843
|
+
this.errorMessage = "Unknown icon prefix, expected one of [" + this.allowedPrefixes.join(',') + "] got \"" + this.prefix + ":\"";
|
|
1368
1844
|
},
|
|
1369
1845
|
enumerable: true,
|
|
1370
1846
|
configurable: true
|
|
1371
1847
|
});
|
|
1848
|
+
var IconComponent_1;
|
|
1372
1849
|
__decorate([
|
|
1373
1850
|
core.Input(),
|
|
1374
1851
|
__metadata("design:type", String),
|
|
1375
1852
|
__metadata("design:paramtypes", [String])
|
|
1376
1853
|
], IconComponent.prototype, "icon", null);
|
|
1377
|
-
IconComponent = __decorate([
|
|
1854
|
+
IconComponent = IconComponent_1 = __decorate([
|
|
1378
1855
|
core.Component({
|
|
1379
1856
|
selector: 'aup-icon',
|
|
1380
|
-
template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"
|
|
1857
|
+
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",
|
|
1381
1858
|
styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}"]
|
|
1382
1859
|
})
|
|
1383
1860
|
], IconComponent);
|
|
1384
1861
|
return IconComponent;
|
|
1385
1862
|
}());
|
|
1863
|
+
(function (IconComponent) {
|
|
1864
|
+
IconComponent.IconPrefix = typescriptStringEnums.Enum({
|
|
1865
|
+
SVG: 'svg',
|
|
1866
|
+
FONT_AWESOME: 'fa',
|
|
1867
|
+
MATERIAL: 'mat'
|
|
1868
|
+
});
|
|
1869
|
+
})(exports.ɵbk || (exports.ɵbk = {}));
|
|
1386
1870
|
|
|
1387
1871
|
var NoopComponent = /** @class */ (function () {
|
|
1388
1872
|
function NoopComponent() {
|
|
@@ -2663,94 +3147,6 @@
|
|
|
2663
3147
|
return TableHeaderCellRendererComponent;
|
|
2664
3148
|
}());
|
|
2665
3149
|
|
|
2666
|
-
|
|
2667
|
-
(function (CommandFace) {
|
|
2668
|
-
var Position;
|
|
2669
|
-
(function (Position) {
|
|
2670
|
-
Position["START"] = "start";
|
|
2671
|
-
Position["END"] = "end";
|
|
2672
|
-
})(Position = CommandFace.Position || (CommandFace.Position = {}));
|
|
2673
|
-
var Adapter = /** @class */ (function () {
|
|
2674
|
-
function Adapter(face) {
|
|
2675
|
-
this.face = face;
|
|
2676
|
-
}
|
|
2677
|
-
Object.defineProperty(Adapter.prototype, "text", {
|
|
2678
|
-
get: function () {
|
|
2679
|
-
return ___default__default.isFunction(this.face.text) ? this.face.text() : undefined;
|
|
2680
|
-
},
|
|
2681
|
-
enumerable: true,
|
|
2682
|
-
configurable: true
|
|
2683
|
-
});
|
|
2684
|
-
Object.defineProperty(Adapter.prototype, "icon", {
|
|
2685
|
-
get: function () {
|
|
2686
|
-
return ___default__default.isFunction(this.face.icon) ? this.face.icon() : undefined;
|
|
2687
|
-
},
|
|
2688
|
-
enumerable: true,
|
|
2689
|
-
configurable: true
|
|
2690
|
-
});
|
|
2691
|
-
Object.defineProperty(Adapter.prototype, "iconPosition", {
|
|
2692
|
-
get: function () {
|
|
2693
|
-
return ___default__default.isFunction(this.face.iconPosition) ? this.face.iconPosition() : CommandFace.Position.START;
|
|
2694
|
-
},
|
|
2695
|
-
enumerable: true,
|
|
2696
|
-
configurable: true
|
|
2697
|
-
});
|
|
2698
|
-
Object.defineProperty(Adapter.prototype, "tooltip", {
|
|
2699
|
-
get: function () {
|
|
2700
|
-
return ___default__default.isFunction(this.face.tooltip) ? this.face.tooltip() : undefined;
|
|
2701
|
-
},
|
|
2702
|
-
enumerable: true,
|
|
2703
|
-
configurable: true
|
|
2704
|
-
});
|
|
2705
|
-
Object.defineProperty(Adapter.prototype, "iconPositionStart", {
|
|
2706
|
-
get: function () {
|
|
2707
|
-
return this.iconPosition === CommandFace.Position.START;
|
|
2708
|
-
},
|
|
2709
|
-
enumerable: true,
|
|
2710
|
-
configurable: true
|
|
2711
|
-
});
|
|
2712
|
-
Object.defineProperty(Adapter.prototype, "iconPositionEnd", {
|
|
2713
|
-
get: function () {
|
|
2714
|
-
return this.iconPosition === CommandFace.Position.END;
|
|
2715
|
-
},
|
|
2716
|
-
enumerable: true,
|
|
2717
|
-
configurable: true
|
|
2718
|
-
});
|
|
2719
|
-
__decorate([
|
|
2720
|
-
src.Memoize(),
|
|
2721
|
-
__metadata("design:type", Object),
|
|
2722
|
-
__metadata("design:paramtypes", [])
|
|
2723
|
-
], Adapter.prototype, "text", null);
|
|
2724
|
-
__decorate([
|
|
2725
|
-
src.Memoize(),
|
|
2726
|
-
__metadata("design:type", Object),
|
|
2727
|
-
__metadata("design:paramtypes", [])
|
|
2728
|
-
], Adapter.prototype, "icon", null);
|
|
2729
|
-
__decorate([
|
|
2730
|
-
src.Memoize(),
|
|
2731
|
-
__metadata("design:type", Object),
|
|
2732
|
-
__metadata("design:paramtypes", [])
|
|
2733
|
-
], Adapter.prototype, "iconPosition", null);
|
|
2734
|
-
__decorate([
|
|
2735
|
-
src.Memoize(),
|
|
2736
|
-
__metadata("design:type", Object),
|
|
2737
|
-
__metadata("design:paramtypes", [])
|
|
2738
|
-
], Adapter.prototype, "tooltip", null);
|
|
2739
|
-
__decorate([
|
|
2740
|
-
src.Memoize(),
|
|
2741
|
-
__metadata("design:type", Boolean),
|
|
2742
|
-
__metadata("design:paramtypes", [])
|
|
2743
|
-
], Adapter.prototype, "iconPositionStart", null);
|
|
2744
|
-
__decorate([
|
|
2745
|
-
src.Memoize(),
|
|
2746
|
-
__metadata("design:type", Boolean),
|
|
2747
|
-
__metadata("design:paramtypes", [])
|
|
2748
|
-
], Adapter.prototype, "iconPositionEnd", null);
|
|
2749
|
-
return Adapter;
|
|
2750
|
-
}());
|
|
2751
|
-
CommandFace.Adapter = Adapter;
|
|
2752
|
-
})(exports.CommandFace || (exports.CommandFace = {}));
|
|
2753
|
-
|
|
2754
3150
|
var MenuItemData = /** @class */ (function (_super) {
|
|
2755
3151
|
__extends(MenuItemData, _super);
|
|
2756
3152
|
function MenuItemData(factory, face) {
|
|
@@ -2934,9 +3330,16 @@
|
|
|
2934
3330
|
SelectHeaderCellRendererComponent,
|
|
2935
3331
|
DefaultHeaderCellRendererComponent,
|
|
2936
3332
|
TableHeaderCellRendererComponent,
|
|
2937
|
-
|
|
3333
|
+
exports.ɵbk,
|
|
2938
3334
|
SectionHeaderComponent,
|
|
2939
|
-
TableRowMenuComponent
|
|
3335
|
+
TableRowMenuComponent,
|
|
3336
|
+
CommandBarComponent,
|
|
3337
|
+
CommandComponent,
|
|
3338
|
+
PopupMenuComponent,
|
|
3339
|
+
CommandFaceComponent,
|
|
3340
|
+
AbstractPopupMenuComponent,
|
|
3341
|
+
PopupMenuRendererComponent,
|
|
3342
|
+
MoreMenuComponent
|
|
2940
3343
|
],
|
|
2941
3344
|
imports: [
|
|
2942
3345
|
common.CommonModule,
|
|
@@ -2980,9 +3383,16 @@
|
|
|
2980
3383
|
TableComponent,
|
|
2981
3384
|
EditRowControls,
|
|
2982
3385
|
ColumnTemplateDirective,
|
|
2983
|
-
|
|
3386
|
+
exports.ɵbk,
|
|
2984
3387
|
SectionHeaderComponent,
|
|
2985
|
-
TableRowMenuComponent
|
|
3388
|
+
TableRowMenuComponent,
|
|
3389
|
+
CommandBarComponent,
|
|
3390
|
+
CommandComponent,
|
|
3391
|
+
AbstractPopupMenuComponent,
|
|
3392
|
+
PopupMenuComponent,
|
|
3393
|
+
CommandFaceComponent,
|
|
3394
|
+
PopupMenuRendererComponent,
|
|
3395
|
+
MoreMenuComponent
|
|
2986
3396
|
],
|
|
2987
3397
|
providers: [
|
|
2988
3398
|
FocusBindingFactory
|
|
@@ -3633,7 +4043,7 @@
|
|
|
3633
4043
|
}());
|
|
3634
4044
|
|
|
3635
4045
|
var inplaceMonitorCount = 0;
|
|
3636
|
-
exports.ɵ
|
|
4046
|
+
exports.ɵcf = /** @class */ (function () {
|
|
3637
4047
|
function InteractionService(modelInteractionContextFactory) {
|
|
3638
4048
|
this.modelInteractionContextFactory = modelInteractionContextFactory;
|
|
3639
4049
|
this.garbage = new pectin.GarbageCollector();
|
|
@@ -3778,7 +4188,7 @@
|
|
|
3778
4188
|
return ApiAdapter;
|
|
3779
4189
|
}());
|
|
3780
4190
|
InteractionService.ApiAdapter = ApiAdapter;
|
|
3781
|
-
})(exports.ɵ
|
|
4191
|
+
})(exports.ɵcf || (exports.ɵcf = {}));
|
|
3782
4192
|
|
|
3783
4193
|
var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
|
|
3784
4194
|
__extends(InPlaceInteractionContextComponent, _super);
|
|
@@ -3836,7 +4246,7 @@
|
|
|
3836
4246
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
3837
4247
|
};
|
|
3838
4248
|
InPlaceInteractionContextComponent.ctorParameters = function () { return [
|
|
3839
|
-
{ type: exports.ɵ
|
|
4249
|
+
{ type: exports.ɵcf },
|
|
3840
4250
|
{ type: undefined, decorators: [{ type: core.Inject, args: [tabs.MAT_TABS_CONFIG,] }, { type: core.Optional }] }
|
|
3841
4251
|
]; };
|
|
3842
4252
|
__decorate([
|
|
@@ -3854,7 +4264,7 @@
|
|
|
3854
4264
|
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
3855
4265
|
}),
|
|
3856
4266
|
__param(1, core.Inject(tabs.MAT_TABS_CONFIG)), __param(1, core.Optional()),
|
|
3857
|
-
__metadata("design:paramtypes", [exports.ɵ
|
|
4267
|
+
__metadata("design:paramtypes", [exports.ɵcf, Object])
|
|
3858
4268
|
], InPlaceInteractionContextComponent);
|
|
3859
4269
|
return InPlaceInteractionContextComponent;
|
|
3860
4270
|
}(DisposableComponent));
|
|
@@ -4393,7 +4803,7 @@
|
|
|
4393
4803
|
AlertDialogComponent
|
|
4394
4804
|
],
|
|
4395
4805
|
providers: [
|
|
4396
|
-
exports.ɵ
|
|
4806
|
+
exports.ɵcf
|
|
4397
4807
|
// {
|
|
4398
4808
|
// provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
|
|
4399
4809
|
// }
|
|
@@ -5515,7 +5925,7 @@
|
|
|
5515
5925
|
return PopStateNavigation;
|
|
5516
5926
|
}(AbstractPopStateNavigation));
|
|
5517
5927
|
|
|
5518
|
-
exports.ɵ
|
|
5928
|
+
exports.ɵci = /** @class */ (function () {
|
|
5519
5929
|
function PlaceHistory() {
|
|
5520
5930
|
this._archive = new Map();
|
|
5521
5931
|
this.placeHistoryDepth = 4;
|
|
@@ -5652,7 +6062,7 @@
|
|
|
5652
6062
|
// }
|
|
5653
6063
|
//
|
|
5654
6064
|
// }
|
|
5655
|
-
})(exports.ɵ
|
|
6065
|
+
})(exports.ɵci || (exports.ɵci = {}));
|
|
5656
6066
|
|
|
5657
6067
|
exports.UrlSnapshot = /** @class */ (function () {
|
|
5658
6068
|
// TODO: Update this accept a url Parser so it can be immutable and generate new trees on mutation using toString() are parseUrl.
|
|
@@ -6107,20 +6517,20 @@
|
|
|
6107
6517
|
PlaceRouter.ctorParameters = function () { return [
|
|
6108
6518
|
{ type: router.Router },
|
|
6109
6519
|
{ type: common.Location },
|
|
6110
|
-
{ type: exports.ɵ
|
|
6520
|
+
{ type: exports.ɵcf },
|
|
6111
6521
|
{ type: UrlService },
|
|
6112
|
-
{ type: exports.ɵ
|
|
6522
|
+
{ type: exports.ɵci }
|
|
6113
6523
|
]; };
|
|
6114
|
-
PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵ
|
|
6524
|
+
PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵcf), core.ɵɵinject(UrlService), core.ɵɵinject(exports.ɵci)); }, token: PlaceRouter, providedIn: "root" });
|
|
6115
6525
|
PlaceRouter = __decorate([
|
|
6116
6526
|
core.Injectable({
|
|
6117
6527
|
providedIn: 'root'
|
|
6118
6528
|
}),
|
|
6119
6529
|
__metadata("design:paramtypes", [router.Router,
|
|
6120
6530
|
common.Location,
|
|
6121
|
-
exports.ɵ
|
|
6531
|
+
exports.ɵcf,
|
|
6122
6532
|
UrlService,
|
|
6123
|
-
exports.ɵ
|
|
6533
|
+
exports.ɵci])
|
|
6124
6534
|
], PlaceRouter);
|
|
6125
6535
|
return PlaceRouter;
|
|
6126
6536
|
}(pectin.GarbageCollector));
|
|
@@ -7270,6 +7680,7 @@
|
|
|
7270
7680
|
exports.AbstractListInputComponent = AbstractListInputComponent;
|
|
7271
7681
|
exports.AbstractPlaceNavigationComponent = AbstractPlaceNavigationComponent;
|
|
7272
7682
|
exports.AbstractPopStateNavigation = AbstractPopStateNavigation;
|
|
7683
|
+
exports.AbstractPopupMenuComponent = AbstractPopupMenuComponent;
|
|
7273
7684
|
exports.AbstractValueInputComponent = AbstractValueInputComponent;
|
|
7274
7685
|
exports.Activity = Activity;
|
|
7275
7686
|
exports.ActivityActionsComponent = ActivityActionsComponent;
|
|
@@ -7291,7 +7702,11 @@
|
|
|
7291
7702
|
exports.CheckboxInputComponent = CheckboxInputComponent;
|
|
7292
7703
|
exports.ColumnModel = ColumnModel;
|
|
7293
7704
|
exports.ColumnTemplateDirective = ColumnTemplateDirective;
|
|
7705
|
+
exports.CommandBarComponent = CommandBarComponent;
|
|
7706
|
+
exports.CommandComponent = CommandComponent;
|
|
7707
|
+
exports.CommandContainer = CommandContainer;
|
|
7294
7708
|
exports.CommandDirective = CommandDirective;
|
|
7709
|
+
exports.CommandFaceComponent = CommandFaceComponent;
|
|
7295
7710
|
exports.ComponentCellRendererPortalRef = ComponentCellRendererPortalRef;
|
|
7296
7711
|
exports.ComponentsModule = ComponentsModule;
|
|
7297
7712
|
exports.ConfirmThenDialogComponent = ConfirmThenDialogComponent;
|
|
@@ -7319,16 +7734,17 @@
|
|
|
7319
7734
|
exports.FocusContainerComponent = FocusContainerComponent;
|
|
7320
7735
|
exports.FocusableComponent = FocusableComponent;
|
|
7321
7736
|
exports.HEADER_CELL_RENDERER_PORTAL = HEADER_CELL_RENDERER_PORTAL;
|
|
7322
|
-
exports.IconComponent =
|
|
7737
|
+
exports.IconComponent = exports.ɵbk;
|
|
7323
7738
|
exports.InPlaceInteractionContextComponent = InPlaceInteractionContextComponent;
|
|
7324
7739
|
exports.InteractionContextTriggerFor = InteractionContextTriggerFor;
|
|
7325
7740
|
exports.InteractionModule = InteractionModule;
|
|
7326
|
-
exports.InteractionService = exports.ɵ
|
|
7741
|
+
exports.InteractionService = exports.ɵcf;
|
|
7327
7742
|
exports.InteractionServiceRoutingAdapter = InteractionServiceRoutingAdapter;
|
|
7328
7743
|
exports.LEFT_RIGHT_PLACE_ANIMATION = LEFT_RIGHT_PLACE_ANIMATION;
|
|
7329
7744
|
exports.ListPlaceNavComponent = ListPlaceNavComponent;
|
|
7330
7745
|
exports.ListPropertyColumnModel = ListPropertyColumnModel;
|
|
7331
7746
|
exports.ModalInteractionContextFactory = ModalInteractionContextFactory;
|
|
7747
|
+
exports.MoreMenuComponent = MoreMenuComponent;
|
|
7332
7748
|
exports.MultipleSelectInputComponent = MultipleSelectInputComponent;
|
|
7333
7749
|
exports.Navigating = Navigating;
|
|
7334
7750
|
exports.NavigatingDuringInteraction = NavigatingDuringInteraction;
|
|
@@ -7343,7 +7759,7 @@
|
|
|
7343
7759
|
exports.PlaceComponentDeactivationHandler = PlaceComponentDeactivationHandler;
|
|
7344
7760
|
exports.PlaceDefinition = PlaceDefinition;
|
|
7345
7761
|
exports.PlaceGuard = PlaceGuard;
|
|
7346
|
-
exports.PlaceHistory = exports.ɵ
|
|
7762
|
+
exports.PlaceHistory = exports.ɵci;
|
|
7347
7763
|
exports.PlaceModule = PlaceModule;
|
|
7348
7764
|
exports.PlaceOutletComponent = PlaceOutletComponent;
|
|
7349
7765
|
exports.PlaceRouter = PlaceRouter;
|
|
@@ -7351,6 +7767,8 @@
|
|
|
7351
7767
|
exports.PopStateDuringInteractionNavigation = PopStateDuringInteractionNavigation;
|
|
7352
7768
|
exports.PopStateNavigation = PopStateNavigation;
|
|
7353
7769
|
exports.PopupInteractionContextComponent = PopupInteractionContextComponent;
|
|
7770
|
+
exports.PopupMenuComponent = PopupMenuComponent;
|
|
7771
|
+
exports.PopupMenuRendererComponent = PopupMenuRendererComponent;
|
|
7354
7772
|
exports.PropertyColumnModel = PropertyColumnModel;
|
|
7355
7773
|
exports.ROUTE_PARAMETER_LIST_KEY = ROUTE_PARAMETER_LIST_KEY;
|
|
7356
7774
|
exports.RemoveLastInteractionFromUrlNavigationSession = RemoveLastInteractionFromUrlNavigationSession;
|
|
@@ -7404,43 +7822,50 @@
|
|
|
7404
7822
|
exports.ɵbh = SelectHeaderCellRendererComponent;
|
|
7405
7823
|
exports.ɵbi = DefaultHeaderCellRendererComponent;
|
|
7406
7824
|
exports.ɵbj = TableHeaderCellRendererComponent;
|
|
7407
|
-
exports.ɵbk = IconComponent;
|
|
7408
7825
|
exports.ɵbl = SectionHeaderComponent;
|
|
7409
7826
|
exports.ɵbm = TableRowMenuComponent;
|
|
7410
|
-
exports.ɵbn =
|
|
7411
|
-
exports.ɵbo =
|
|
7412
|
-
exports.ɵbp =
|
|
7413
|
-
exports.ɵbq =
|
|
7414
|
-
exports.ɵbr =
|
|
7415
|
-
exports.ɵbs =
|
|
7416
|
-
exports.ɵbt =
|
|
7417
|
-
exports.ɵbu =
|
|
7418
|
-
exports.ɵ
|
|
7419
|
-
exports.ɵ
|
|
7420
|
-
exports.ɵ
|
|
7827
|
+
exports.ɵbn = CommandBarComponent;
|
|
7828
|
+
exports.ɵbo = CommandContainer;
|
|
7829
|
+
exports.ɵbp = CommandComponent;
|
|
7830
|
+
exports.ɵbq = PopupMenuComponent;
|
|
7831
|
+
exports.ɵbr = AbstractPopupMenuComponent;
|
|
7832
|
+
exports.ɵbs = PopupMenuRendererComponent;
|
|
7833
|
+
exports.ɵbt = CommandFaceComponent;
|
|
7834
|
+
exports.ɵbu = MoreMenuComponent;
|
|
7835
|
+
exports.ɵbv = PlaceModule;
|
|
7836
|
+
exports.ɵbw = ComponentsModule;
|
|
7837
|
+
exports.ɵbx = EmptyStateComponent;
|
|
7838
|
+
exports.ɵby = BusyOverlayComponent;
|
|
7839
|
+
exports.ɵbz = PlaceOutletComponent;
|
|
7421
7840
|
exports.ɵc = FocusBindingDirective;
|
|
7422
|
-
exports.ɵ
|
|
7423
|
-
exports.ɵ
|
|
7424
|
-
exports.ɵ
|
|
7425
|
-
exports.ɵce =
|
|
7426
|
-
exports.ɵ
|
|
7427
|
-
exports.ɵ
|
|
7428
|
-
exports.ɵ
|
|
7429
|
-
exports.ɵ
|
|
7430
|
-
exports.ɵ
|
|
7431
|
-
exports.ɵ
|
|
7432
|
-
exports.ɵ
|
|
7433
|
-
exports.ɵ
|
|
7434
|
-
exports.ɵ
|
|
7435
|
-
exports.ɵcq =
|
|
7436
|
-
exports.ɵcr =
|
|
7437
|
-
exports.ɵcs =
|
|
7438
|
-
exports.ɵct =
|
|
7439
|
-
exports.ɵ
|
|
7440
|
-
exports.ɵ
|
|
7441
|
-
exports.ɵ
|
|
7442
|
-
exports.ɵ
|
|
7841
|
+
exports.ɵca = leftRightPlaceAnimation;
|
|
7842
|
+
exports.ɵcb = LEFT_RIGHT_PLACE_ANIMATION;
|
|
7843
|
+
exports.ɵcc = AUP_PLACE_CONFIG;
|
|
7844
|
+
exports.ɵce = PlaceRouter;
|
|
7845
|
+
exports.ɵcg = ModalInteractionContextFactory;
|
|
7846
|
+
exports.ɵch = UrlService;
|
|
7847
|
+
exports.ɵcj = TabbedPlaceNavigationComponent;
|
|
7848
|
+
exports.ɵck = AbstractPlaceNavigationComponent;
|
|
7849
|
+
exports.ɵcl = ListPlaceNavComponent;
|
|
7850
|
+
exports.ɵcm = SidePlaceNavigationComponent;
|
|
7851
|
+
exports.ɵcn = InteractionModule;
|
|
7852
|
+
exports.ɵco = ActivityContainerComponent;
|
|
7853
|
+
exports.ɵcp = AbstractInteractionContext;
|
|
7854
|
+
exports.ɵcq = ActivityOutletComponent;
|
|
7855
|
+
exports.ɵcr = ConfirmationDialogComponent;
|
|
7856
|
+
exports.ɵcs = ACTIVITY_DATA;
|
|
7857
|
+
exports.ɵct = Activity;
|
|
7858
|
+
exports.ɵcv = ConfirmThenDialogComponent;
|
|
7859
|
+
exports.ɵcw = AlertDialogComponent;
|
|
7860
|
+
exports.ɵcy = InPlaceInteractionContextComponent;
|
|
7861
|
+
exports.ɵcz = AddItemInteractionContextComponent;
|
|
7443
7862
|
exports.ɵd = DisposableComponent;
|
|
7863
|
+
exports.ɵda = ActivityActionsComponent;
|
|
7864
|
+
exports.ɵdb = PopupInteractionContextComponent;
|
|
7865
|
+
exports.ɵdc = StringInputActivity;
|
|
7866
|
+
exports.ɵdd = AbstractInputActivity;
|
|
7867
|
+
exports.ɵde = SelectInputActivity;
|
|
7868
|
+
exports.ɵdf = InteractionContextTriggerFor;
|
|
7444
7869
|
exports.ɵe = FocusBindingFactory;
|
|
7445
7870
|
exports.ɵf = ComponentsModule;
|
|
7446
7871
|
exports.ɵg = AbstractInputComponent;
|