@coolon/angular-ui-powerups 2.0.0-alpha.26 → 2.0.0-alpha.27

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.
Files changed (97) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/assets/commands.scss +3 -0
  3. package/assets/icons.scss +30 -0
  4. package/assets/styles.scss +2 -0
  5. package/bundles/coolon-angular-ui-powerups.umd.js +479 -149
  6. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  7. package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
  8. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  9. package/coolon-angular-ui-powerups.d.ts +39 -34
  10. package/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/esm2015/coolon-angular-ui-powerups.js +37 -32
  12. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  13. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  14. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  15. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  16. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  17. package/esm2015/lib/components/commands/command-bar.component.js +55 -0
  18. package/esm2015/lib/components/commands/command-bar.component.js.map +1 -0
  19. package/esm2015/lib/components/commands/command-bar.component.metadata.json +1 -0
  20. package/esm2015/lib/components/commands/command-bar.component.ngfactory.js.map +1 -0
  21. package/esm2015/lib/components/commands/command-container.js +39 -0
  22. package/esm2015/lib/components/commands/command-container.js.map +1 -0
  23. package/esm2015/lib/components/commands/command-container.metadata.json +1 -0
  24. package/esm2015/lib/components/commands/command-container.ngfactory.js.map +1 -0
  25. package/esm2015/lib/components/commands/command-face/command-face.component.js +91 -0
  26. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -0
  27. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -0
  28. package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -0
  29. package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -0
  30. package/esm2015/lib/components/commands/command-face.js +9 -1
  31. package/esm2015/lib/components/commands/command-face.js.map +1 -1
  32. package/esm2015/lib/components/commands/command-menu/command-menu.component.js +65 -0
  33. package/esm2015/lib/components/commands/command-menu/command-menu.component.js.map +1 -0
  34. package/esm2015/lib/components/commands/command-menu/command-menu.component.metadata.json +1 -0
  35. package/esm2015/lib/components/commands/command-menu/command-menu.component.ngfactory.js.map +1 -0
  36. package/esm2015/lib/components/commands/command-menu/command-menu.component.scss.shim.ngstyle.js.map +1 -0
  37. package/esm2015/lib/components/commands/command.component.js +38 -0
  38. package/esm2015/lib/components/commands/command.component.js.map +1 -0
  39. package/esm2015/lib/components/commands/command.component.metadata.json +1 -0
  40. package/esm2015/lib/components/commands/command.component.ngfactory.js.map +1 -0
  41. package/esm2015/lib/components/components.module.js +17 -2
  42. package/esm2015/lib/components/components.module.js.map +1 -1
  43. package/esm2015/lib/components/components.module.metadata.json +1 -1
  44. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  45. package/esm2015/lib/components/icon/icon.component.js +17 -4
  46. package/esm2015/lib/components/icon/icon.component.js.map +1 -1
  47. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  48. package/esm2015/lib/components/index.js +5 -0
  49. package/esm2015/lib/components/index.js.map +1 -1
  50. package/esm2015/lib/components/index.metadata.json +1 -1
  51. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  52. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  53. package/esm5/coolon-angular-ui-powerups.js +37 -32
  54. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  55. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  56. package/esm5/lib/components/card-container/card-container.component.js +1 -1
  57. package/esm5/lib/components/commands/command-bar.component.js +35 -0
  58. package/esm5/lib/components/commands/command-bar.component.js.map +1 -0
  59. package/esm5/lib/components/commands/command-bar.component.ngfactory.js.map +1 -0
  60. package/esm5/lib/components/commands/command-container.js +51 -0
  61. package/esm5/lib/components/commands/command-container.js.map +1 -0
  62. package/esm5/lib/components/commands/command-container.ngfactory.js.map +1 -0
  63. package/esm5/lib/components/commands/command-face/command-face.component.js +122 -0
  64. package/esm5/lib/components/commands/command-face/command-face.component.js.map +1 -0
  65. package/esm5/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -0
  66. package/esm5/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -0
  67. package/esm5/lib/components/commands/command-face.js +13 -1
  68. package/esm5/lib/components/commands/command-face.js.map +1 -1
  69. package/esm5/lib/components/commands/command-menu/command-menu.component.js +70 -0
  70. package/esm5/lib/components/commands/command-menu/command-menu.component.js.map +1 -0
  71. package/esm5/lib/components/commands/command-menu/command-menu.component.ngfactory.js.map +1 -0
  72. package/esm5/lib/components/commands/command-menu/command-menu.component.scss.shim.ngstyle.js.map +1 -0
  73. package/esm5/lib/components/commands/command.component.js +41 -0
  74. package/esm5/lib/components/commands/command.component.js.map +1 -0
  75. package/esm5/lib/components/commands/command.component.ngfactory.js.map +1 -0
  76. package/esm5/lib/components/components.module.js +17 -2
  77. package/esm5/lib/components/components.module.js.map +1 -1
  78. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  79. package/esm5/lib/components/icon/icon.component.js +15 -3
  80. package/esm5/lib/components/icon/icon.component.js.map +1 -1
  81. package/esm5/lib/components/index.js +5 -0
  82. package/esm5/lib/components/index.js.map +1 -1
  83. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  84. package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
  85. package/fesm2015/coolon-angular-ui-powerups.js +363 -74
  86. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  87. package/fesm5/coolon-angular-ui-powerups.js +421 -98
  88. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  89. package/lib/components/commands/command-bar.component.d.ts +11 -0
  90. package/lib/components/commands/command-container.d.ts +15 -0
  91. package/lib/components/commands/command-face/command-face.component.d.ts +29 -0
  92. package/lib/components/commands/command-face.d.ts +4 -2
  93. package/lib/components/commands/command-menu/command-menu.component.d.ts +22 -0
  94. package/lib/components/commands/command.component.d.ts +15 -0
  95. package/lib/components/icon/icon.component.d.ts +15 -0
  96. package/lib/components/index.d.ts +5 -0
  97. 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('@coolon/typescript-utilities'), require('@typescript-plus/fast-memoize-decorator/dist/src'), 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', 'lodash', '@coolon/typescript-utilities', '@typescript-plus/fast-memoize-decorator/dist/src', '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.___default, global.typescriptUtilities, global.src, 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, ___default, typescriptUtilities, src, produce, flexLayout, dialog, router, overlay, ResizeObserver, progressSpinner, list, fastMemoizeDecorator, reflectMetadata, animations$1, rxjs) { 'use strict';
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,402 @@
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
+ exports.ɵbo = /** @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
+ CommandContainer_1 = CommandContainer;
696
+ Object.defineProperty(CommandContainer.prototype, "commandRegistrations", {
697
+ get: function () {
698
+ return this._commandRegistrations.readonly;
699
+ },
700
+ enumerable: true,
701
+ configurable: true
702
+ });
703
+ CommandContainer.prototype.registerCommand = function (command, face) {
704
+ var _this = this;
705
+ var registration = new CommandContainer_1.Registration(command, face);
706
+ this._commandRegistrations.push(registration);
707
+ return pectin.Disposable.disposableThatRuns(function () { return _this._commandRegistrations.remove(registration); });
708
+ };
709
+ CommandContainer.prototype.getDefaultIconPosition = function () {
710
+ return exports.CommandFace.Position.START;
711
+ };
712
+ var CommandContainer_1;
713
+ CommandContainer = CommandContainer_1 = __decorate([
714
+ core.Component({
715
+ template: ''
716
+ }),
717
+ __metadata("design:paramtypes", [])
718
+ ], CommandContainer);
719
+ return CommandContainer;
720
+ }(pectin.GarbageCollector));
721
+ (function (CommandContainer) {
722
+ var Registration = /** @class */ (function (_super) {
723
+ __extends(Registration, _super);
724
+ function Registration(command, face) {
725
+ var _this = _super.call(this, face) || this;
726
+ _this.command = command;
727
+ return _this;
728
+ }
729
+ return Registration;
730
+ }(exports.CommandFace.Adapter));
731
+ CommandContainer.Registration = Registration;
732
+ })(exports.ɵbo || (exports.ɵbo = {}));
733
+
734
+ /**
735
+ *
736
+ */
737
+ var CommandBarComponent = /** @class */ (function (_super) {
738
+ __extends(CommandBarComponent, _super);
739
+ function CommandBarComponent() {
740
+ return _super.call(this) || this;
741
+ }
742
+ CommandBarComponent_1 = CommandBarComponent;
743
+ CommandBarComponent.prototype.ngOnInit = function () {
744
+ };
745
+ CommandBarComponent.prototype.getButtonColor = function (registration) {
746
+ return registration.destructive ? 'warn' : undefined;
747
+ };
748
+ var CommandBarComponent_1;
749
+ __decorate([
750
+ core.ContentChild('moreMenu'),
751
+ __metadata("design:type", core.TemplateRef)
752
+ ], CommandBarComponent.prototype, "moreMenuTemplateRef", void 0);
753
+ CommandBarComponent = CommandBarComponent_1 = __decorate([
754
+ core.Component({
755
+ selector: 'aup-command-bar',
756
+ template: "\n <ng-container *ngFor=\"let registration of commandRegistrations.value\">\n <button *ngIf=\"registration.icon && !registration.text\"\n mat-icon-button\n [color]=\"getButtonColor(registration)\"\n [pectinCommand]=\"registration.command\"\n [matTooltip]=\"registration.tooltip\"\n >\n <aup-command-face [face]=\"registration.face\"></aup-command-face>\n </button>\n <button *ngIf=\"registration.text\"\n [color]=\"getButtonColor(registration)\"\n mat-button\n [pectinCommand]=\"registration.command\"\n [matTooltip]=\"registration.tooltip\"\n >\n <aup-command-face [face]=\"registration.face\"></aup-command-face>\n </button>\n </ng-container>\n ",
757
+ providers: [{ provide: exports.ɵbo, useExisting: core.forwardRef(function () { return CommandBarComponent_1; }) }],
758
+ styles: [":host {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n }"]
759
+ }),
760
+ __metadata("design:paramtypes", [])
761
+ ], CommandBarComponent);
762
+ return CommandBarComponent;
763
+ }(exports.ɵbo));
764
+
765
+ /**
766
+ *
767
+ */
768
+ var CommandFaceComponent = /** @class */ (function (_super) {
769
+ __extends(CommandFaceComponent, _super);
770
+ function CommandFaceComponent(commandContainer) {
771
+ var _this = _super.call(this) || this;
772
+ _this.commandContainer = commandContainer;
773
+ _this.faceModel = new pectin.MutableValueModel();
774
+ _this.ignoreIcon = false;
775
+ _this.ignoreText = false;
776
+ _this.includeMissingIconInLayout = false;
777
+ 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;
778
+ // overkill /c: when all you have is a hammer...
779
+ var faceAdapter = chain(_this.faceModel).map(function (face) { return new exports.CommandFace.Adapter(face); });
780
+ _this.iconModel = faceAdapter.pluck('icon');
781
+ _this.textModel = faceAdapter.pluck('text');
782
+ _this.positionModel = faceAdapter.pluck('iconPosition');
783
+ _this.destructiveModel = faceAdapter.pluck('destructive');
784
+ return _this;
785
+ }
786
+ Object.defineProperty(CommandFaceComponent.prototype, "requiresMissingIconInLayout", {
787
+ get: function () {
788
+ return this.includeMissingIconInLayout && !this.iconModel.value;
789
+ },
790
+ enumerable: true,
791
+ configurable: true
792
+ });
793
+ CommandFaceComponent.prototype.ngOnInit = function () {
794
+ };
795
+ Object.defineProperty(CommandFaceComponent.prototype, "iconPosition", {
796
+ get: function () {
797
+ var _a, _b, _c;
798
+ 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;
799
+ },
800
+ enumerable: true,
801
+ configurable: true
802
+ });
803
+ Object.defineProperty(CommandFaceComponent.prototype, "shouldIncludeIcon", {
804
+ get: function () {
805
+ return (!this.ignoreIcon && this.iconModel.value) || this.includeMissingIconInLayout;
806
+ },
807
+ enumerable: true,
808
+ configurable: true
809
+ });
810
+ Object.defineProperty(CommandFaceComponent.prototype, "iconStart", {
811
+ get: function () {
812
+ return this.shouldIncludeIcon && this.iconPosition === exports.CommandFace.Position.START;
813
+ },
814
+ enumerable: true,
815
+ configurable: true
816
+ });
817
+ Object.defineProperty(CommandFaceComponent.prototype, "iconEnd", {
818
+ get: function () {
819
+ return this.shouldIncludeIcon && this.iconPosition === exports.CommandFace.Position.END;
820
+ },
821
+ enumerable: true,
822
+ configurable: true
823
+ });
824
+ Object.defineProperty(CommandFaceComponent.prototype, "text", {
825
+ get: function () {
826
+ return this.ignoreText ? undefined : this.textModel.value;
827
+ },
828
+ enumerable: true,
829
+ configurable: true
830
+ });
831
+ Object.defineProperty(CommandFaceComponent.prototype, "destructive", {
832
+ get: function () {
833
+ return this.destructiveModel.value;
834
+ },
835
+ enumerable: true,
836
+ configurable: true
837
+ });
838
+ CommandFaceComponent.ctorParameters = function () { return [
839
+ { type: exports.ɵbo, decorators: [{ type: core.Optional }] }
840
+ ]; };
841
+ __decorate([
842
+ core.Input('face'), pectin.StoreInValueModel('faceModel'),
843
+ __metadata("design:type", Object)
844
+ ], CommandFaceComponent.prototype, "_rawFace", void 0);
845
+ __decorate([
846
+ core.Input(),
847
+ __metadata("design:type", Object)
848
+ ], CommandFaceComponent.prototype, "ignoreIcon", void 0);
849
+ __decorate([
850
+ core.Input(),
851
+ __metadata("design:type", Object)
852
+ ], CommandFaceComponent.prototype, "ignoreText", void 0);
853
+ __decorate([
854
+ core.Input(),
855
+ __metadata("design:type", Object)
856
+ ], CommandFaceComponent.prototype, "includeMissingIconInLayout", void 0);
857
+ __decorate([
858
+ core.HostBinding('class.hide-icon'),
859
+ __metadata("design:type", Object),
860
+ __metadata("design:paramtypes", [])
861
+ ], CommandFaceComponent.prototype, "requiresMissingIconInLayout", null);
862
+ __decorate([
863
+ core.HostBinding('class.destructive'),
864
+ __metadata("design:type", Boolean),
865
+ __metadata("design:paramtypes", [])
866
+ ], CommandFaceComponent.prototype, "destructive", null);
867
+ CommandFaceComponent = __decorate([
868
+ core.Component({
869
+ selector: 'aup-command-face',
870
+ 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",
871
+ encapsulation: core.ViewEncapsulation.None,
872
+ 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}"]
873
+ }),
874
+ __param(0, core.Optional()),
875
+ __metadata("design:paramtypes", [exports.ɵbo])
876
+ ], CommandFaceComponent);
877
+ return CommandFaceComponent;
878
+ }(DisposableComponent));
879
+
880
+ /**
881
+ *
882
+ */
883
+ var CommandComponent = /** @class */ (function (_super) {
884
+ __extends(CommandComponent, _super);
885
+ function CommandComponent(commandContainer) {
886
+ var _this = _super.call(this) || this;
887
+ _this.commandContainer = commandContainer;
888
+ return _this;
889
+ }
890
+ CommandComponent.prototype.ngOnInit = function () {
891
+ this.registerDisposable(this.commandContainer.registerCommand(this.command, this.face));
892
+ };
893
+ CommandComponent.ctorParameters = function () { return [
894
+ { type: exports.ɵbo }
895
+ ]; };
896
+ __decorate([
897
+ core.Input(), pectin.TrackExternal(),
898
+ __metadata("design:type", pectin.Command)
899
+ ], CommandComponent.prototype, "command", void 0);
900
+ __decorate([
901
+ core.Input(),
902
+ __metadata("design:type", Object)
903
+ ], CommandComponent.prototype, "face", void 0);
904
+ CommandComponent = __decorate([
905
+ core.Component({
906
+ selector: 'aup-command',
907
+ template: ""
908
+ }),
909
+ __metadata("design:paramtypes", [exports.ɵbo])
910
+ ], CommandComponent);
911
+ return CommandComponent;
912
+ }(DisposableComponent));
913
+
914
+ /**
915
+ *
916
+ */
917
+ var CommandMenuComponent = /** @class */ (function (_super) {
918
+ __extends(CommandMenuComponent, _super);
919
+ function CommandMenuComponent() {
920
+ var _this = _super.call(this) || this;
921
+ _this.faceModel = new pectin.MutableValueModel();
922
+ _this.xPosition = 'after';
923
+ _this.yPosition = 'below';
924
+ 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;
925
+ _this.tooltip = chain(_this.faceModel).map(function (face) { return new exports.CommandFace.Adapter(face); }).pluck('tooltip');
926
+ var registrations = chain(_this.commandRegistrations);
927
+ var iconCount = registrations.select(function (r) { return !!r.icon; }).count();
928
+ _this.hasMixedIcons = valueOf.all(iconCount.isGreaterThan(0), iconCount.doesNotEqual(registrations.length)).areTruthy();
929
+ return _this;
930
+ }
931
+ CommandMenuComponent_1 = CommandMenuComponent;
932
+ CommandMenuComponent.prototype.ngOnInit = function () {
933
+ };
934
+ CommandMenuComponent.prototype.createMoreMenuCommand = function (item) {
935
+ var _this = this;
936
+ var when = pectin.Dsl.disposeWith(this).when;
937
+ when(item.command.busy).becomesFalsey(function () {
938
+ _this.closeMoreMenu();
939
+ });
940
+ return item.command;
941
+ };
942
+ CommandMenuComponent.prototype.closeMoreMenu = function () {
943
+ this.menu.closeMenu();
944
+ };
945
+ CommandMenuComponent.prototype.getButtonColor = function (registration) {
946
+ return registration.destructive ? 'warn' : undefined;
947
+ };
948
+ var CommandMenuComponent_1;
949
+ __decorate([
950
+ core.Input(), pectin.StoreInValueModel('faceModel'),
951
+ __metadata("design:type", Object)
952
+ ], CommandMenuComponent.prototype, "face", void 0);
953
+ __decorate([
954
+ core.Input(),
955
+ __metadata("design:type", String)
956
+ ], CommandMenuComponent.prototype, "xPosition", void 0);
957
+ __decorate([
958
+ core.Input(),
959
+ __metadata("design:type", String)
960
+ ], CommandMenuComponent.prototype, "yPosition", void 0);
961
+ __decorate([
962
+ core.ViewChild(menu.MatMenuTrigger),
963
+ __metadata("design:type", menu.MatMenuTrigger)
964
+ ], CommandMenuComponent.prototype, "menu", void 0);
965
+ CommandMenuComponent = CommandMenuComponent_1 = __decorate([
966
+ core.Component({
967
+ selector: 'aup-command-menu',
968
+ template: "<button #trigger mat-icon-button [matMenuTriggerFor]=\"menu\" [matTooltip]=\"tooltip.value\">\n <aup-command-face [face]=\"face\"></aup-command-face>\n</button>\n<mat-menu #menu=\"matMenu\" [xPosition]=\"xPosition\" [yPosition]=\"yPosition\">\n <button *ngFor=\"let registration of commandRegistrations.value\"\n mat-menu-item\n [pectinCommand]=\"createMoreMenuCommand(registration)\"\n >\n <aup-command-face [face]=\"registration.face\" [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n</mat-menu>\n",
969
+ providers: [{ provide: exports.ɵbo, useExisting: core.forwardRef(function () { return CommandMenuComponent_1; }) }],
970
+ styles: [":host{display:inline-flex;flex-direction:row;align-items:center}"]
971
+ }),
972
+ __metadata("design:paramtypes", [])
973
+ ], CommandMenuComponent);
974
+ return CommandMenuComponent;
975
+ }(exports.ɵbo));
976
+
588
977
  var FocusContainerComponent = /** @class */ (function (_super) {
589
978
  __extends(FocusContainerComponent, _super);
590
979
  function FocusContainerComponent(focusManager) {
@@ -1342,9 +1731,12 @@
1342
1731
  return TextInputComponent;
1343
1732
  }(AbstractValueInputComponent));
1344
1733
 
1345
- var IconComponent = /** @class */ (function () {
1734
+ exports.ɵbk = /** @class */ (function () {
1346
1735
  function IconComponent() {
1736
+ this.allowedPrefixes = typescriptStringEnums.Enum.values(IconComponent_1.IconPrefix).map(function (p) { return p + ":"; });
1737
+ this.iconPrefix = IconComponent_1.IconPrefix;
1347
1738
  }
1739
+ IconComponent_1 = IconComponent;
1348
1740
  Object.defineProperty(IconComponent.prototype, "icon", {
1349
1741
  get: function () {
1350
1742
  return this._icon;
@@ -1364,25 +1756,33 @@
1364
1756
  if (this.prefix) {
1365
1757
  this.errorMessage = "Unknown icon \"" + iconName + "\"";
1366
1758
  }
1367
- this.errorMessage = "Unknown icon prefix \"" + this.prefix + "\"";
1759
+ this.errorMessage = "Unknown icon prefix, expected one of [" + this.allowedPrefixes.join(',') + "] got \"" + this.prefix + ":\"";
1368
1760
  },
1369
1761
  enumerable: true,
1370
1762
  configurable: true
1371
1763
  });
1764
+ var IconComponent_1;
1372
1765
  __decorate([
1373
1766
  core.Input(),
1374
1767
  __metadata("design:type", String),
1375
1768
  __metadata("design:paramtypes", [String])
1376
1769
  ], IconComponent.prototype, "icon", null);
1377
- IconComponent = __decorate([
1770
+ IconComponent = IconComponent_1 = __decorate([
1378
1771
  core.Component({
1379
1772
  selector: 'aup-icon',
1380
- template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"'svg'\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"'mat'\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"'fab'\"\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",
1773
+ 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
1774
  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
1775
  })
1383
1776
  ], IconComponent);
1384
1777
  return IconComponent;
1385
1778
  }());
1779
+ (function (IconComponent) {
1780
+ IconComponent.IconPrefix = typescriptStringEnums.Enum({
1781
+ SVG: 'svg',
1782
+ FONT_AWESOME: 'fa',
1783
+ MATERIAL: 'mat'
1784
+ });
1785
+ })(exports.ɵbk || (exports.ɵbk = {}));
1386
1786
 
1387
1787
  var NoopComponent = /** @class */ (function () {
1388
1788
  function NoopComponent() {
@@ -2663,94 +3063,6 @@
2663
3063
  return TableHeaderCellRendererComponent;
2664
3064
  }());
2665
3065
 
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
3066
  var MenuItemData = /** @class */ (function (_super) {
2755
3067
  __extends(MenuItemData, _super);
2756
3068
  function MenuItemData(factory, face) {
@@ -2934,9 +3246,14 @@
2934
3246
  SelectHeaderCellRendererComponent,
2935
3247
  DefaultHeaderCellRendererComponent,
2936
3248
  TableHeaderCellRendererComponent,
2937
- IconComponent,
3249
+ exports.ɵbk,
2938
3250
  SectionHeaderComponent,
2939
- TableRowMenuComponent
3251
+ TableRowMenuComponent,
3252
+ CommandBarComponent,
3253
+ CommandComponent,
3254
+ CommandMenuComponent,
3255
+ CommandFaceComponent,
3256
+ exports.ɵbo
2940
3257
  ],
2941
3258
  imports: [
2942
3259
  common.CommonModule,
@@ -2980,9 +3297,14 @@
2980
3297
  TableComponent,
2981
3298
  EditRowControls,
2982
3299
  ColumnTemplateDirective,
2983
- IconComponent,
3300
+ exports.ɵbk,
2984
3301
  SectionHeaderComponent,
2985
- TableRowMenuComponent
3302
+ TableRowMenuComponent,
3303
+ CommandBarComponent,
3304
+ CommandComponent,
3305
+ CommandMenuComponent,
3306
+ CommandFaceComponent,
3307
+ exports.ɵbo
2986
3308
  ],
2987
3309
  providers: [
2988
3310
  FocusBindingFactory
@@ -3633,7 +3955,7 @@
3633
3955
  }());
3634
3956
 
3635
3957
  var inplaceMonitorCount = 0;
3636
- exports.ɵbx = /** @class */ (function () {
3958
+ exports.ɵcc = /** @class */ (function () {
3637
3959
  function InteractionService(modelInteractionContextFactory) {
3638
3960
  this.modelInteractionContextFactory = modelInteractionContextFactory;
3639
3961
  this.garbage = new pectin.GarbageCollector();
@@ -3778,7 +4100,7 @@
3778
4100
  return ApiAdapter;
3779
4101
  }());
3780
4102
  InteractionService.ApiAdapter = ApiAdapter;
3781
- })(exports.ɵbx || (exports.ɵbx = {}));
4103
+ })(exports.ɵcc || (exports.ɵcc = {}));
3782
4104
 
3783
4105
  var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
3784
4106
  __extends(InPlaceInteractionContextComponent, _super);
@@ -3836,7 +4158,7 @@
3836
4158
  return this.activityContainerComponent.startActivity(activityType, data, options);
3837
4159
  };
3838
4160
  InPlaceInteractionContextComponent.ctorParameters = function () { return [
3839
- { type: exports.ɵbx },
4161
+ { type: exports.ɵcc },
3840
4162
  { type: undefined, decorators: [{ type: core.Inject, args: [tabs.MAT_TABS_CONFIG,] }, { type: core.Optional }] }
3841
4163
  ]; };
3842
4164
  __decorate([
@@ -3854,7 +4176,7 @@
3854
4176
  styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
3855
4177
  }),
3856
4178
  __param(1, core.Inject(tabs.MAT_TABS_CONFIG)), __param(1, core.Optional()),
3857
- __metadata("design:paramtypes", [exports.ɵbx, Object])
4179
+ __metadata("design:paramtypes", [exports.ɵcc, Object])
3858
4180
  ], InPlaceInteractionContextComponent);
3859
4181
  return InPlaceInteractionContextComponent;
3860
4182
  }(DisposableComponent));
@@ -4393,7 +4715,7 @@
4393
4715
  AlertDialogComponent
4394
4716
  ],
4395
4717
  providers: [
4396
- exports.ɵbx
4718
+ exports.ɵcc
4397
4719
  // {
4398
4720
  // provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
4399
4721
  // }
@@ -5515,7 +5837,7 @@
5515
5837
  return PopStateNavigation;
5516
5838
  }(AbstractPopStateNavigation));
5517
5839
 
5518
- exports.ɵca = /** @class */ (function () {
5840
+ exports.ɵcf = /** @class */ (function () {
5519
5841
  function PlaceHistory() {
5520
5842
  this._archive = new Map();
5521
5843
  this.placeHistoryDepth = 4;
@@ -5652,7 +5974,7 @@
5652
5974
  // }
5653
5975
  //
5654
5976
  // }
5655
- })(exports.ɵca || (exports.ɵca = {}));
5977
+ })(exports.ɵcf || (exports.ɵcf = {}));
5656
5978
 
5657
5979
  exports.UrlSnapshot = /** @class */ (function () {
5658
5980
  // TODO: Update this accept a url Parser so it can be immutable and generate new trees on mutation using toString() are parseUrl.
@@ -6107,20 +6429,20 @@
6107
6429
  PlaceRouter.ctorParameters = function () { return [
6108
6430
  { type: router.Router },
6109
6431
  { type: common.Location },
6110
- { type: exports.ɵbx },
6432
+ { type: exports.ɵcc },
6111
6433
  { type: UrlService },
6112
- { type: exports.ɵca }
6434
+ { type: exports.ɵcf }
6113
6435
  ]; };
6114
- PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵbx), core.ɵɵinject(UrlService), core.ɵɵinject(exports.ɵca)); }, token: PlaceRouter, providedIn: "root" });
6436
+ PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵcc), core.ɵɵinject(UrlService), core.ɵɵinject(exports.ɵcf)); }, token: PlaceRouter, providedIn: "root" });
6115
6437
  PlaceRouter = __decorate([
6116
6438
  core.Injectable({
6117
6439
  providedIn: 'root'
6118
6440
  }),
6119
6441
  __metadata("design:paramtypes", [router.Router,
6120
6442
  common.Location,
6121
- exports.ɵbx,
6443
+ exports.ɵcc,
6122
6444
  UrlService,
6123
- exports.ɵca])
6445
+ exports.ɵcf])
6124
6446
  ], PlaceRouter);
6125
6447
  return PlaceRouter;
6126
6448
  }(pectin.GarbageCollector));
@@ -7291,7 +7613,12 @@
7291
7613
  exports.CheckboxInputComponent = CheckboxInputComponent;
7292
7614
  exports.ColumnModel = ColumnModel;
7293
7615
  exports.ColumnTemplateDirective = ColumnTemplateDirective;
7616
+ exports.CommandBarComponent = CommandBarComponent;
7617
+ exports.CommandComponent = CommandComponent;
7618
+ exports.CommandContainer = exports.ɵbo;
7294
7619
  exports.CommandDirective = CommandDirective;
7620
+ exports.CommandFaceComponent = CommandFaceComponent;
7621
+ exports.CommandMenuComponent = CommandMenuComponent;
7295
7622
  exports.ComponentCellRendererPortalRef = ComponentCellRendererPortalRef;
7296
7623
  exports.ComponentsModule = ComponentsModule;
7297
7624
  exports.ConfirmThenDialogComponent = ConfirmThenDialogComponent;
@@ -7319,11 +7646,11 @@
7319
7646
  exports.FocusContainerComponent = FocusContainerComponent;
7320
7647
  exports.FocusableComponent = FocusableComponent;
7321
7648
  exports.HEADER_CELL_RENDERER_PORTAL = HEADER_CELL_RENDERER_PORTAL;
7322
- exports.IconComponent = IconComponent;
7649
+ exports.IconComponent = exports.ɵbk;
7323
7650
  exports.InPlaceInteractionContextComponent = InPlaceInteractionContextComponent;
7324
7651
  exports.InteractionContextTriggerFor = InteractionContextTriggerFor;
7325
7652
  exports.InteractionModule = InteractionModule;
7326
- exports.InteractionService = exports.ɵbx;
7653
+ exports.InteractionService = exports.ɵcc;
7327
7654
  exports.InteractionServiceRoutingAdapter = InteractionServiceRoutingAdapter;
7328
7655
  exports.LEFT_RIGHT_PLACE_ANIMATION = LEFT_RIGHT_PLACE_ANIMATION;
7329
7656
  exports.ListPlaceNavComponent = ListPlaceNavComponent;
@@ -7343,7 +7670,7 @@
7343
7670
  exports.PlaceComponentDeactivationHandler = PlaceComponentDeactivationHandler;
7344
7671
  exports.PlaceDefinition = PlaceDefinition;
7345
7672
  exports.PlaceGuard = PlaceGuard;
7346
- exports.PlaceHistory = exports.ɵca;
7673
+ exports.PlaceHistory = exports.ɵcf;
7347
7674
  exports.PlaceModule = PlaceModule;
7348
7675
  exports.PlaceOutletComponent = PlaceOutletComponent;
7349
7676
  exports.PlaceRouter = PlaceRouter;
@@ -7404,43 +7731,46 @@
7404
7731
  exports.ɵbh = SelectHeaderCellRendererComponent;
7405
7732
  exports.ɵbi = DefaultHeaderCellRendererComponent;
7406
7733
  exports.ɵbj = TableHeaderCellRendererComponent;
7407
- exports.ɵbk = IconComponent;
7408
7734
  exports.ɵbl = SectionHeaderComponent;
7409
7735
  exports.ɵbm = TableRowMenuComponent;
7410
- exports.ɵbn = PlaceModule;
7411
- exports.ɵbo = ComponentsModule;
7412
- exports.ɵbp = EmptyStateComponent;
7413
- exports.ɵbq = BusyOverlayComponent;
7414
- exports.ɵbr = PlaceOutletComponent;
7415
- exports.ɵbs = leftRightPlaceAnimation;
7416
- exports.ɵbt = LEFT_RIGHT_PLACE_ANIMATION;
7417
- exports.ɵbu = AUP_PLACE_CONFIG;
7418
- exports.ɵbw = PlaceRouter;
7419
- exports.ɵby = ModalInteractionContextFactory;
7420
- exports.ɵbz = UrlService;
7736
+ exports.ɵbn = CommandBarComponent;
7737
+ exports.ɵbp = CommandComponent;
7738
+ exports.ɵbq = CommandMenuComponent;
7739
+ exports.ɵbr = CommandFaceComponent;
7740
+ exports.ɵbs = PlaceModule;
7741
+ exports.ɵbt = ComponentsModule;
7742
+ exports.ɵbu = EmptyStateComponent;
7743
+ exports.ɵbv = BusyOverlayComponent;
7744
+ exports.ɵbw = PlaceOutletComponent;
7745
+ exports.ɵbx = leftRightPlaceAnimation;
7746
+ exports.ɵby = LEFT_RIGHT_PLACE_ANIMATION;
7747
+ exports.ɵbz = AUP_PLACE_CONFIG;
7421
7748
  exports.ɵc = FocusBindingDirective;
7422
- exports.ɵcb = TabbedPlaceNavigationComponent;
7423
- exports.ɵcc = AbstractPlaceNavigationComponent;
7424
- exports.ɵcd = ListPlaceNavComponent;
7425
- exports.ɵce = SidePlaceNavigationComponent;
7426
- exports.ɵcf = InteractionModule;
7427
- exports.ɵcg = ActivityContainerComponent;
7428
- exports.ɵch = AbstractInteractionContext;
7429
- exports.ɵci = ActivityOutletComponent;
7430
- exports.ɵcj = ConfirmationDialogComponent;
7431
- exports.ɵck = ACTIVITY_DATA;
7432
- exports.ɵcl = Activity;
7433
- exports.ɵcn = ConfirmThenDialogComponent;
7434
- exports.ɵco = AlertDialogComponent;
7435
- exports.ɵcq = InPlaceInteractionContextComponent;
7436
- exports.ɵcr = AddItemInteractionContextComponent;
7437
- exports.ɵcs = ActivityActionsComponent;
7438
- exports.ɵct = PopupInteractionContextComponent;
7439
- exports.ɵcu = StringInputActivity;
7440
- exports.ɵcv = AbstractInputActivity;
7441
- exports.ɵcw = SelectInputActivity;
7442
- exports.ɵcx = InteractionContextTriggerFor;
7749
+ exports.ɵcb = PlaceRouter;
7750
+ exports.ɵcd = ModalInteractionContextFactory;
7751
+ exports.ɵce = UrlService;
7752
+ exports.ɵcg = TabbedPlaceNavigationComponent;
7753
+ exports.ɵch = AbstractPlaceNavigationComponent;
7754
+ exports.ɵci = ListPlaceNavComponent;
7755
+ exports.ɵcj = SidePlaceNavigationComponent;
7756
+ exports.ɵck = InteractionModule;
7757
+ exports.ɵcl = ActivityContainerComponent;
7758
+ exports.ɵcm = AbstractInteractionContext;
7759
+ exports.ɵcn = ActivityOutletComponent;
7760
+ exports.ɵco = ConfirmationDialogComponent;
7761
+ exports.ɵcp = ACTIVITY_DATA;
7762
+ exports.ɵcq = Activity;
7763
+ exports.ɵcs = ConfirmThenDialogComponent;
7764
+ exports.ɵct = AlertDialogComponent;
7765
+ exports.ɵcv = InPlaceInteractionContextComponent;
7766
+ exports.ɵcw = AddItemInteractionContextComponent;
7767
+ exports.ɵcx = ActivityActionsComponent;
7768
+ exports.ɵcy = PopupInteractionContextComponent;
7769
+ exports.ɵcz = StringInputActivity;
7443
7770
  exports.ɵd = DisposableComponent;
7771
+ exports.ɵda = AbstractInputActivity;
7772
+ exports.ɵdb = SelectInputActivity;
7773
+ exports.ɵdc = InteractionContextTriggerFor;
7444
7774
  exports.ɵe = FocusBindingFactory;
7445
7775
  exports.ɵf = ComponentsModule;
7446
7776
  exports.ɵg = AbstractInputComponent;