@coolon/angular-ui-powerups 3.16.0-alpha.0 → 3.17.0

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 (71) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/assets/activities.scss +4 -1
  3. package/assets/form.scss +20 -0
  4. package/bundles/coolon-angular-ui-powerups.umd.js +215 -103
  5. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  6. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  7. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  8. package/coolon-angular-ui-powerups.metadata.json +1 -1
  9. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  10. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  11. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  12. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  13. package/esm2015/lib/components/forms/number-input/number-input.component.js +3 -2
  14. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  15. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  16. package/esm2015/lib/components/forms/string-input/string-input.component.js +3 -2
  17. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  18. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  19. package/esm2015/lib/components/table/paginator/paginator.component.js +5 -2
  20. package/esm2015/lib/components/table/paginator/paginator.component.js.map +1 -1
  21. package/esm2015/lib/components/table/paginator/paginator.component.metadata.json +1 -1
  22. package/esm2015/lib/components/table/table.component.js +13 -0
  23. package/esm2015/lib/components/table/table.component.js.map +1 -1
  24. package/esm2015/lib/components/table/table.component.metadata.json +1 -1
  25. package/esm2015/lib/interaction/activity.js +19 -3
  26. package/esm2015/lib/interaction/activity.js.map +1 -1
  27. package/esm2015/lib/interaction/activity.metadata.json +1 -1
  28. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +35 -26
  29. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  30. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  31. package/esm2015/lib/interaction/components/activity-content/activity-body.component.html.shim.ngstyle.js.map +1 -0
  32. package/esm2015/lib/interaction/components/activity-content/activity-body.component.js +26 -0
  33. package/esm2015/lib/interaction/components/activity-content/activity-body.component.js.map +1 -0
  34. package/esm2015/lib/interaction/components/activity-content/activity-body.component.metadata.json +1 -0
  35. package/esm2015/lib/interaction/components/activity-content/activity-body.component.ngfactory.js.map +1 -0
  36. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +10 -1
  37. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  38. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  39. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +18 -7
  40. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  41. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  42. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +16 -2
  43. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  44. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  45. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +1 -4
  46. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  47. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  48. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +1 -3
  49. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  50. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  51. package/esm2015/lib/interaction/exports.js +1 -0
  52. package/esm2015/lib/interaction/exports.js.map +1 -1
  53. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  54. package/esm2015/lib/interaction/interaction.module.js +6 -2
  55. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  56. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  57. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  58. package/fesm2015/coolon-angular-ui-powerups.js +191 -97
  59. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  60. package/lib/components/forms/number-input/number-input.component.d.ts +1 -0
  61. package/lib/components/forms/string-input/string-input.component.d.ts +1 -0
  62. package/lib/components/table/paginator/paginator.component.d.ts +2 -1
  63. package/lib/components/table/table.component.d.ts +13 -0
  64. package/lib/interaction/activity.d.ts +9 -3
  65. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +24 -20
  66. package/lib/interaction/components/activity-content/activity-body.component.d.ts +5 -0
  67. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +2 -0
  68. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +3 -1
  69. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +3 -0
  70. package/lib/interaction/exports.d.ts +1 -0
  71. package/package.json +2 -1
@@ -19,7 +19,7 @@ import { MatTableModule } from '@angular/material/table';
19
19
  import { MatTooltipModule } from '@angular/material/tooltip';
20
20
  import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
21
21
  import { fas } from '@fortawesome/free-solid-svg-icons';
22
- import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, DirtyTrackingForm, ComputedListModel, PageController, DelegatingCommand, Deferred, Trace, Functions } from '@coolon/pectin';
22
+ import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Trace, Functions } from '@coolon/pectin';
23
23
  import { __decorate, __metadata, __awaiter } from 'tslib';
24
24
  import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
25
25
  import _, { find, filter, each, isNil, isEqual } from 'lodash';
@@ -520,7 +520,7 @@ CardContainerComponent.decorators = [
520
520
  { type: Component, args: [{
521
521
  selector: 'aup-card-container',
522
522
  template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
523
- styles: [":root{--aup-default-background:#fff;--aup-default-padding:var(--default-padding,18px)}aup-activity-title{font-family:Roboto,Helvetica Neue,sans-serif;font-size:20px;letter-spacing:normal;line-height:32px;margin-bottom:var(--default-padding)}.router-outlet-container>*{bottom:0;left:0;position:absolute;right:0;top:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context,.dialog-interaction-context mat-dialog-container{max-height:95vh!important;max-width:95vw!important}.dialog-interaction-context mat-dialog-container{padding:0}.activity-outlet-wrapper{align-items:stretch;display:flex;flex-direction:column}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow .28s cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{border-bottom:0;padding-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap,24px);--resolved-row-hover-background-color:var(--row-hover-background-color,rgba(0,0,0,0.05));--resolved-row-selected-background-color:var(--row-selected-background-color,rgba(0,0,255,0.04))}aup-table.hide-header .mat-table thead,aup-table .mat-table td.hide,aup-table .mat-table th.hide{display:none}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 tr.aup-row-selected,aup-table .mat-table tr.aup-row-selected.enable-hover:hover{background-color:var(--resolved-row-selected-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table .mat-table .mat-cell:not(.flex),aup-table .mat-table .mat-header-cell:not(.flex){white-space:nowrap;width:1px}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:center;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{flex:1;padding-left:var(--default-column-gap)}:root{--aup-command-face-icon-gap:8px;--aup-fa-icon-width:18px;--aup-icon-width:24px}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width))/2);position:relative}aup-icon fa-icon .svg-inline--fa{height:var(--aup-fa-icon-width)!important;left:var(--fa-icon-offset);position:absolute;top:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-background:var(--card-background,#fcfcfb);--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-width:var(--card-width,300px);background:var(--resolved-card-background);display:block;flex:1}.card-container{box-sizing:border-box;display:-ms-grid;display:grid;grid-gap:var(--resolved-card-gap);grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(var(--resolved-card-min-height),var(--resolved-card-height)));max-width:100%;min-height:calc(var(--resolved-card-height) + 2*var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2*var(--resolved-card-gap));padding:var(--resolved-card-gap);width:calc((var(--resolved-card-width) + var(--resolved-card-gap))*2 + var(--grid-gap))}.add-card-container{align-items:center;background-color:hsla(0,0%,100%,.8);border:2px dashed rgba(0,0,0,.1);border-radius:6px;box-sizing:border-box;color:rgba(0,0,0,.54);cursor:pointer;display:flex;flex-direction:column;font-weight:300;height:var(--resolved-card-height);justify-content:center;min-height:var(--resolved-card-min-height);transition:all .28s cubic-bezier(.4,0,.2,1);width:var(--resolved-card-width)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{background-color:#fff;border-color:transparent;color:rgba(0,0,0,.54);transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{align-items:stretch;display:flex;flex-direction:column;height:var(--resolved-card-height);justify-content:stretch;width:var(--resolved-card-width)}"]
523
+ styles: [":root{--aup-default-background:#fff;--aup-default-padding:var(--default-padding,18px)}aup-activity-title{font-family:Roboto,Helvetica Neue,sans-serif;font-size:20px;letter-spacing:normal;line-height:32px}aup-activity-body{padding:var(--default-padding) 0}.router-outlet-container>*{bottom:0;left:0;position:absolute;right:0;top:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context,.dialog-interaction-context mat-dialog-container{max-height:95vh!important;max-width:95vw!important}.dialog-interaction-context mat-dialog-container{padding:0}.activity-outlet-wrapper{align-items:stretch;display:flex;flex-direction:column}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow .28s cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component mat-form-field .mat-form-field-prefix{align-items:center;align-self:flex-end;display:inline-flex;flex-direction:row;height:35px}.aup-input-component mat-form-field .mat-form-field-suffix .mat-icon-button{line-height:2.5em}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{border-bottom:0;padding-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap,24px);--resolved-row-hover-background-color:var(--row-hover-background-color,rgba(0,0,0,0.05));--resolved-row-selected-background-color:var(--row-selected-background-color,rgba(0,0,255,0.04))}aup-table.hide-header .mat-table thead,aup-table .mat-table td.hide,aup-table .mat-table th.hide{display:none}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 tr.aup-row-selected,aup-table .mat-table tr.aup-row-selected.enable-hover:hover{background-color:var(--resolved-row-selected-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table .mat-table .mat-cell:not(.flex),aup-table .mat-table .mat-header-cell:not(.flex){white-space:nowrap;width:1px}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:center;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{flex:1;padding-left:var(--default-column-gap)}:root{--aup-command-face-icon-gap:8px;--aup-fa-icon-width:18px;--aup-icon-width:24px}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width))/2);position:relative}aup-icon fa-icon .svg-inline--fa{height:var(--aup-fa-icon-width)!important;left:var(--fa-icon-offset);position:absolute;top:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-background:var(--card-background,#fcfcfb);--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-width:var(--card-width,300px);background:var(--resolved-card-background);display:block;flex:1}.card-container{box-sizing:border-box;display:-ms-grid;display:grid;grid-gap:var(--resolved-card-gap);grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(var(--resolved-card-min-height),var(--resolved-card-height)));max-width:100%;min-height:calc(var(--resolved-card-height) + 2*var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2*var(--resolved-card-gap));padding:var(--resolved-card-gap);width:calc((var(--resolved-card-width) + var(--resolved-card-gap))*2 + var(--grid-gap))}.add-card-container{align-items:center;background-color:hsla(0,0%,100%,.8);border:2px dashed rgba(0,0,0,.1);border-radius:6px;box-sizing:border-box;color:rgba(0,0,0,.54);cursor:pointer;display:flex;flex-direction:column;font-weight:300;height:var(--resolved-card-height);justify-content:center;min-height:var(--resolved-card-min-height);transition:all .28s cubic-bezier(.4,0,.2,1);width:var(--resolved-card-width)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{background-color:#fff;border-color:transparent;color:rgba(0,0,0,.54);transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{align-items:stretch;display:flex;flex-direction:column;height:var(--resolved-card-height);justify-content:stretch;width:var(--resolved-card-width)}"]
524
524
  },] }
525
525
  ];
526
526
  CardContainerComponent.ctorParameters = () => [];
@@ -1478,7 +1478,7 @@ class NumberInputComponent extends AbstractValueInputComponent {
1478
1478
  NumberInputComponent.decorators = [
1479
1479
  { type: Component, args: [{
1480
1480
  selector: 'aup-number-input',
1481
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1481
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n</mat-form-field>\n",
1482
1482
  styles: [""]
1483
1483
  },] }
1484
1484
  ];
@@ -1486,7 +1486,8 @@ NumberInputComponent.ctorParameters = () => [];
1486
1486
  NumberInputComponent.propDecorators = {
1487
1487
  autocomplete: [{ type: Input }],
1488
1488
  min: [{ type: Input }],
1489
- max: [{ type: Input }]
1489
+ max: [{ type: Input }],
1490
+ iconPrefix: [{ type: Input }]
1490
1491
  };
1491
1492
 
1492
1493
  class PasswordInputComponent extends AbstractValueInputComponent {
@@ -1564,7 +1565,7 @@ class StringInputComponent extends AbstractValueInputComponent {
1564
1565
  StringInputComponent.decorators = [
1565
1566
  { type: Component, args: [{
1566
1567
  selector: 'aup-string-input',
1567
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
1568
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
1568
1569
  styles: ["button[disabled]{visibility:hidden}"]
1569
1570
  },] }
1570
1571
  ];
@@ -1572,7 +1573,8 @@ StringInputComponent.ctorParameters = () => [];
1572
1573
  StringInputComponent.propDecorators = {
1573
1574
  autocomplete: [{ type: Input }],
1574
1575
  enableClearModel: [{ type: Input }],
1575
- enableClear: [{ type: Input }]
1576
+ enableClear: [{ type: Input }],
1577
+ iconPrefix: [{ type: Input }]
1576
1578
  };
1577
1579
  __decorate([
1578
1580
  TrackExternal({ defaultValue: false }),
@@ -2658,6 +2660,19 @@ AbstractTableModel = __decorate([
2658
2660
  * @example
2659
2661
  * <aup-table [tableModel]="heroTableModel"></aup-table>
2660
2662
  *
2663
+ * Column templates
2664
+ * @example
2665
+ * this.heroTableModel = TableModel.fromList(heroList, table => {
2666
+ * table.pluck("firstName");
2667
+ * table.pluck("lastName");
2668
+ * table.addTemplateColumn("specialColumn");
2669
+ * });
2670
+ * <aup-table [tableModel]="heroTableModel">
2671
+ * <div *aupColumnTemplate="let hero; columnId: 'specialColumn'; fillCell: true; padChild:false">
2672
+ * {{hero.name}}
2673
+ * </div>
2674
+ * </aup-table>
2675
+ *
2661
2676
  * Styling
2662
2677
  * @example
2663
2678
  * aup-table {
@@ -3589,8 +3604,10 @@ __decorate([
3589
3604
  __metadata("design:type", Command)
3590
3605
  ], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
3591
3606
 
3592
- class PaginatorComponent {
3593
- constructor() { }
3607
+ class PaginatorComponent extends DisposableComponent {
3608
+ constructor() {
3609
+ super();
3610
+ }
3594
3611
  ngOnInit() {
3595
3612
  }
3596
3613
  get totalPages() {
@@ -3748,10 +3765,94 @@ ComponentsModule.ctorParameters = () => [
3748
3765
  { type: FaIconLibrary }
3749
3766
  ];
3750
3767
 
3768
+ /**
3769
+ * @example
3770
+ * <aup-activity-actions [style]="{confirm: saveFace, cancel: cancelFace}">
3771
+ * </aup-activity-actions>
3772
+ *
3773
+ * // Running `ng g @coolon/angular-ui-powerups:aup-i18n` will install default
3774
+ * // style definitions
3775
+ * <aup-activity-actions [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
3776
+ * </aup-activity-actions>
3777
+ *
3778
+ * // you can also add additional content that will be displayed along with the buttons.
3779
+ * // The location of the content depends on the alignment attribute.
3780
+ * <aup-activity-actions
3781
+ * align="stretch"
3782
+ * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
3783
+ * <span>This content will be between the two commands</span>
3784
+ * </aup-activity-actions>
3785
+ */
3786
+ class ActivityActionsComponent extends DisposableComponent {
3787
+ constructor(cdr) {
3788
+ super();
3789
+ this.cdr = cdr;
3790
+ this.align = 'stretch';
3791
+ }
3792
+ set faces(faces) {
3793
+ this.confirmFace = faces.confirm;
3794
+ this.cancelFace = faces.cancel;
3795
+ }
3796
+ /**
3797
+ * @deprecated use #commandFaces instead.
3798
+ */
3799
+ set style(style) {
3800
+ this.confirmFace = style.confirm;
3801
+ }
3802
+ get alignEnd() {
3803
+ return this.align === 'end';
3804
+ }
3805
+ get alignStretch() {
3806
+ return this.align === 'stretch';
3807
+ }
3808
+ ngOnInit() {
3809
+ }
3810
+ hasConfirmFace() {
3811
+ return this.confirmFace;
3812
+ }
3813
+ hasCancelFace() {
3814
+ return this.cancelFace;
3815
+ }
3816
+ initCommands(activity) {
3817
+ this.confirmCommand = activity.confirmCommand;
3818
+ this.cancelCommand = activity.cancelCommand;
3819
+ this.cdr.detectChanges();
3820
+ }
3821
+ }
3822
+ ActivityActionsComponent.decorators = [
3823
+ { type: Component, args: [{
3824
+ selector: 'aup-activity-actions',
3825
+ template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n",
3826
+ styles: [":host{-ms-grid-columns:auto auto 1fr;-ms-grid-rows:auto;align-items:center;display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;justify-content:end}:host.align-end{-ms-grid-columns:1fr auto auto;grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{-ms-grid-columns:auto 1fr auto;grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{-ms-grid-column:1;-ms-grid-row:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-column:2;-ms-grid-row:1}:host.align-stretch>.cancel{-ms-grid-column:1;-ms-grid-row:1}.confirm{-ms-grid-column:2;-ms-grid-row:1;grid-area:confirm}.column,:host.align-end>.confirm,:host.align-stretch>.confirm{-ms-grid-column:3;-ms-grid-row:1}.column{grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-column:1;-ms-grid-row:1}:host.align-stretch>.column{-ms-grid-column:2;-ms-grid-row:1}"]
3827
+ },] }
3828
+ ];
3829
+ ActivityActionsComponent.ctorParameters = () => [
3830
+ { type: ChangeDetectorRef }
3831
+ ];
3832
+ ActivityActionsComponent.propDecorators = {
3833
+ confirmCommand: [{ type: Input }],
3834
+ cancelCommand: [{ type: Input }],
3835
+ faces: [{ type: Input }],
3836
+ confirmFace: [{ type: Input }],
3837
+ cancelFace: [{ type: Input }],
3838
+ style: [{ type: Input }],
3839
+ align: [{ type: Input }],
3840
+ alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
3841
+ alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
3842
+ };
3843
+ __decorate([
3844
+ TrackExternal(),
3845
+ __metadata("design:type", Command)
3846
+ ], ActivityActionsComponent.prototype, "confirmCommand", void 0);
3847
+ __decorate([
3848
+ TrackExternal(),
3849
+ __metadata("design:type", Command)
3850
+ ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
3851
+
3751
3852
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
3752
3853
  class Activity extends DisposableComponent {
3753
3854
  constructor() {
3754
- super(...arguments);
3855
+ super();
3755
3856
  this._busyModel = new DelegatingValueModel().withDefault(false);
3756
3857
  this._focusedModel = this.registerDisposable(new DelegatingValueModel());
3757
3858
  this.class = 'aup-activity';
@@ -3769,6 +3870,10 @@ class Activity extends DisposableComponent {
3769
3870
  this.onActivityReady();
3770
3871
  });
3771
3872
  }
3873
+ ngAfterViewInit() {
3874
+ var _a;
3875
+ (_a = this.activityActions) === null || _a === void 0 ? void 0 : _a.initCommands(this);
3876
+ }
3772
3877
  get interactionContext() {
3773
3878
  assert$1.isTruthy(this.isInitialised());
3774
3879
  return this._interactionContext;
@@ -3803,91 +3908,33 @@ Activity.decorators = [
3803
3908
  template: ''
3804
3909
  },] }
3805
3910
  ];
3911
+ Activity.ctorParameters = () => [];
3806
3912
  Activity.propDecorators = {
3913
+ activityActions: [{ type: ViewChild, args: [ActivityActionsComponent,] }],
3807
3914
  class: [{ type: HostBinding, args: ['class',] }],
3808
3915
  isFocused: [{ type: HostBinding, args: ['attr.focused',] }]
3809
3916
  };
3810
-
3811
- /**
3812
- * @example
3813
- * <aup-activity-actions
3814
- * [confirmCommand]="confirm"
3815
- * [cancelCommand]="cancel"
3816
- * [style]="{confirm: saveFace, cancel: cancelFace}">
3817
- * </aup-activity-actions>
3818
- *
3819
- * // Running `ng g @coolon/angular-ui-powerups:aup-i18n` will install default
3820
- * // style definitions
3821
- * <aup-activity-actions
3822
- * [confirmCommand]="confirm"
3823
- * [cancelCommand]="cancel"
3824
- * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
3825
- * </aup-activity-actions>
3826
- *
3827
- * // both commands are optional
3828
- * <aup-activity-actions
3829
- * [confirmCommand]="confirm"
3830
- * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
3831
- * </aup-activity-actions>
3832
- *
3833
- * // you can also add additional content that will be displayed along with the buttons.
3834
- * // The location of the content depends on the alignment attribute.
3835
- * <aup-activity-actions
3836
- * [confirmCommand]="confirm"
3837
- * [cancelCommand]="cancel"
3838
- * align="stretch"
3839
- * [style]="I18n.aup.components.activityActions.styles.okCancelIcons">
3840
- * <span>This content will be between the two commands</span>
3841
- * </aup-activity-actions>
3842
- */
3843
- class ActivityActionsComponent extends DisposableComponent {
3844
- constructor() {
3845
- super(...arguments);
3846
- this.align = 'start';
3847
- }
3848
- get alignEnd() {
3849
- return this.align === 'end';
3850
- }
3851
- get alignStretch() {
3852
- return this.align === 'stretch';
3853
- }
3854
- ngOnInit() {
3855
- }
3856
- hasConfirmCommand() {
3857
- return DelegatingCommand.hasDelegate(this.confirmCommand);
3858
- }
3859
- hasCancelCommand() {
3860
- return DelegatingCommand.hasDelegate(this.cancelCommand);
3861
- }
3862
- }
3863
- ActivityActionsComponent.decorators = [
3864
- { type: Component, args: [{
3865
- selector: 'aup-activity-actions',
3866
- template: "<ng-container *ngIf=\"hasCancelCommand()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"style.cancel\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"style.confirm\"></aup-command>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
3867
- styles: [":host{-ms-grid-columns:auto auto 1fr;-ms-grid-rows:auto;align-items:center;display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;justify-content:end}:host.align-end{-ms-grid-columns:1fr auto auto;grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{-ms-grid-columns:auto 1fr auto;grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{-ms-grid-column:1;-ms-grid-row:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-column:2;-ms-grid-row:1}:host.align-stretch>.cancel{-ms-grid-column:1;-ms-grid-row:1}.confirm{-ms-grid-column:2;-ms-grid-row:1;grid-area:confirm}.column,:host.align-end>.confirm,:host.align-stretch>.confirm{-ms-grid-column:3;-ms-grid-row:1}.column{grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-column:1;-ms-grid-row:1}:host.align-stretch>.column{-ms-grid-column:2;-ms-grid-row:1}"]
3868
- },] }
3869
- ];
3870
- ActivityActionsComponent.propDecorators = {
3871
- confirmCommand: [{ type: Input }],
3872
- cancelCommand: [{ type: Input }],
3873
- style: [{ type: Input }],
3874
- align: [{ type: Input }],
3875
- alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
3876
- alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
3877
- };
3878
3917
  __decorate([
3879
3918
  TrackExternal(),
3880
3919
  __metadata("design:type", Command)
3881
- ], ActivityActionsComponent.prototype, "confirmCommand", void 0);
3920
+ ], Activity.prototype, "confirmCommand", void 0);
3882
3921
  __decorate([
3883
3922
  TrackExternal(),
3884
3923
  __metadata("design:type", Command)
3885
- ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
3924
+ ], Activity.prototype, "cancelCommand", void 0);
3886
3925
 
3887
3926
  class AlertDialogComponent extends Activity {
3888
3927
  constructor(alert) {
3889
3928
  super();
3890
3929
  this.alert = alert;
3930
+ this.confirmCommand = Command.create(() => {
3931
+ this.done();
3932
+ });
3933
+ this.confirmFace = {
3934
+ text: () => alert.ok(),
3935
+ color: () => "primary",
3936
+ style: () => "raised"
3937
+ };
3891
3938
  }
3892
3939
  ngOnInit() {
3893
3940
  }
@@ -3895,7 +3942,7 @@ class AlertDialogComponent extends Activity {
3895
3942
  AlertDialogComponent.decorators = [
3896
3943
  { type: Component, args: [{
3897
3944
  selector: 'aup-alert-dialog',
3898
- template: "<h3 matDialogTitle *ngIf=\"alert.title\">{{alert.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-raised-button color=\"primary\" (click)=\"done()\" data-cy=\"close-button\">{{alert.ok()}}</button>\n</div>\n",
3945
+ template: "<aup-activity-title *ngIf=\"alert.title\">{{alert.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n",
3899
3946
  styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
3900
3947
  },] }
3901
3948
  ];
@@ -3908,6 +3955,22 @@ class ConfirmThenDialogComponent extends Activity {
3908
3955
  super();
3909
3956
  this.config = config;
3910
3957
  assert.notNil(config);
3958
+ this.confirmCommand = Command.create(() => {
3959
+ this.interactionContext.startActivity(this.config.activityType, this.config.data)
3960
+ .then((result) => this.done(result))
3961
+ .catch(error => this.cancel(error));
3962
+ });
3963
+ this.cancelCommand = Command.create(() => {
3964
+ return this.cancel();
3965
+ });
3966
+ this.confirmFace = {
3967
+ text: () => this.confirm.ok(),
3968
+ color: () => this.isDestructive() ? 'warn' : 'primary',
3969
+ style: () => 'raised'
3970
+ };
3971
+ this.cancelFace = {
3972
+ text: () => this.confirm.cancel(),
3973
+ };
3911
3974
  }
3912
3975
  ngOnInit() {
3913
3976
  }
@@ -3917,16 +3980,11 @@ class ConfirmThenDialogComponent extends Activity {
3917
3980
  isDestructive() {
3918
3981
  return this.confirm.destructive && this.confirm.destructive();
3919
3982
  }
3920
- onConfirm() {
3921
- this.interactionContext.startActivity(this.config.activityType, this.config.data)
3922
- .then((result) => this.done(result))
3923
- .catch(error => this.cancel(error));
3924
- }
3925
3983
  }
3926
3984
  ConfirmThenDialogComponent.decorators = [
3927
3985
  { type: Component, args: [{
3928
3986
  selector: 'aup-confirmation-dialog',
3929
- template: "<h3 matDialogTitle *ngIf=\"confirm.title\">{{confirm.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-button (click)=\"cancel()\" data-cy=\"cancel-button\">{{confirm.cancel()}}</button>\n <button mat-raised-button [color]=\"isDestructive() ? 'warn' : 'primary'\"\n (click)=\"onConfirm()\" data-cy=\"confirm-button\">{{confirm.ok()}}</button>\n</div>\n\n",
3987
+ template: "<aup-activity-title *ngIf=\"confirm.title\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n",
3930
3988
  styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
3931
3989
  },] }
3932
3990
  ];
@@ -3939,6 +3997,20 @@ class ConfirmationDialogComponent extends Activity {
3939
3997
  super();
3940
3998
  this.confirm = confirm;
3941
3999
  assert.notNil(confirm);
4000
+ this.confirmCommand = Command.create(() => {
4001
+ return this.done();
4002
+ });
4003
+ this.cancelCommand = Command.create(() => {
4004
+ return this.cancel();
4005
+ });
4006
+ this.confirmFace = {
4007
+ text: () => confirm.ok(),
4008
+ color: () => this.isDestructive() ? 'warn' : 'primary',
4009
+ style: () => 'raised'
4010
+ };
4011
+ this.cancelFace = {
4012
+ text: () => confirm.cancel(),
4013
+ };
3942
4014
  }
3943
4015
  ngOnInit() {
3944
4016
  }
@@ -3949,7 +4021,7 @@ class ConfirmationDialogComponent extends Activity {
3949
4021
  ConfirmationDialogComponent.decorators = [
3950
4022
  { type: Component, args: [{
3951
4023
  selector: 'aup-confirmation-dialog',
3952
- template: "<h3 matDialogTitle *ngIf=\"confirm.title\">{{confirm.title()}}</h3>\n<div matDialogContent>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</div>\n<div matDialogActions>\n <button mat-button (click)=\"cancel()\" data-cy=\"cancel-button\">{{confirm.cancel()}}</button>\n <button mat-raised-button [color]=\"isDestructive() ? 'warn' : 'primary'\"\n (click)=\"done()\" data-cy=\"confirm-button\">{{confirm.ok()}}</button>\n</div>\n\n",
4024
+ template: "<aup-activity-title *ngIf=\"confirm.title\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n",
3953
4025
  styles: [":host{display:block;padding:var(--aup-default-padding)}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
3954
4026
  },] }
3955
4027
  ];
@@ -4299,6 +4371,30 @@ ActivityContainerComponent.propDecorators = {
4299
4371
  activityOutlets: [{ type: ViewChildren, args: [ActivityOutletComponent,] }]
4300
4372
  };
4301
4373
 
4374
+ class ActivityBodyComponent extends DisposableComponent {
4375
+ // @Input()
4376
+ // align: 'start' | 'end' | 'stretch' = 'start';
4377
+ //
4378
+ // @HostBinding('class.align-end')
4379
+ // get alignEnd():boolean {
4380
+ // return this.align === 'end'
4381
+ // }
4382
+ //
4383
+ // @HostBinding('class.align-stretch')
4384
+ // get alignStretch():boolean {
4385
+ // return this.align === 'stretch'
4386
+ // }
4387
+ ngOnInit() {
4388
+ }
4389
+ }
4390
+ ActivityBodyComponent.decorators = [
4391
+ { type: Component, args: [{
4392
+ selector: 'aup-activity-body',
4393
+ template: "<ng-content></ng-content>\n",
4394
+ styles: ["<ng-content></ng-content>\n"]
4395
+ },] }
4396
+ ];
4397
+
4302
4398
  class ActivityTitleComponent extends DisposableComponent {
4303
4399
  // @Input()
4304
4400
  // align: 'start' | 'end' | 'stretch' = 'start';
@@ -4818,9 +4914,7 @@ StringInputActivity.decorators = [
4818
4914
  [command.enter]="confirmCommand"
4819
4915
  [command.escape]="cancelCommand"></aup-string-input>
4820
4916
  <aup-activity-actions align="end"
4821
- [confirmCommand]="confirmCommand"
4822
- [cancelCommand]="cancelCommand"
4823
- [style]="data.buttonStyle"></aup-activity-actions>
4917
+ [faces]="data.buttonStyle"></aup-activity-actions>
4824
4918
  `
4825
4919
  },] }
4826
4920
  ];
@@ -4853,10 +4947,7 @@ SelectInputActivity.decorators = [
4853
4947
  [options]="options"
4854
4948
  [optionLabelFormat]="optionLabelFormat"
4855
4949
  ></aup-select-input>
4856
- <aup-activity-actions align="end"
4857
- [confirmCommand]="confirmCommand"
4858
- [cancelCommand]="cancelCommand"
4859
- [style]="data.buttonStyle"
4950
+ <aup-activity-actions align="end" [faces]="data.buttonStyle"
4860
4951
  ></aup-activity-actions>
4861
4952
  `
4862
4953
  },] }
@@ -4980,7 +5071,9 @@ InteractionModule.decorators = [
4980
5071
  AbstractInputActivity,
4981
5072
  InteractionContextTriggerFor,
4982
5073
  Activity,
4983
- ActivityTitleComponent
5074
+ ActivityTitleComponent,
5075
+ ActivityBodyComponent,
5076
+ ActivityActionsComponent
4984
5077
  ],
4985
5078
  exports: [
4986
5079
  ActivityContainerComponent,
@@ -4992,7 +5085,8 @@ InteractionModule.decorators = [
4992
5085
  PopupInteractionContextComponent,
4993
5086
  InteractionContextTriggerFor,
4994
5087
  StringInputActivity,
4995
- SelectInputActivity
5088
+ SelectInputActivity,
5089
+ ActivityBodyComponent
4996
5090
  ],
4997
5091
  entryComponents: [
4998
5092
  ActivityContainerComponent,
@@ -7739,5 +7833,5 @@ function VisitParameterList(options) {
7739
7833
  * Generated bundle index. Do not edit.
7740
7834
  */
7741
7835
 
7742
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenStrategy, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, TreeToListModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0 };
7836
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenStrategy, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, TreeToListModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0 };
7743
7837
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map