@coolon/angular-ui-powerups 3.7.5 → 3.9.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 (38) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/assets/activities.scss +9 -0
  3. package/assets/styles.scss +2 -0
  4. package/assets/typography.scss +5 -0
  5. package/bundles/coolon-angular-ui-powerups.umd.js +59 -8
  6. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  7. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  8. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  9. package/coolon-angular-ui-powerups.metadata.json +1 -1
  10. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  11. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  12. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  13. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  14. package/esm2015/lib/components/table/table-model.js +23 -2
  15. package/esm2015/lib/components/table/table-model.js.map +1 -1
  16. package/esm2015/lib/components/table/table-model.metadata.json +1 -1
  17. package/esm2015/lib/components/table/table.component.js +3 -5
  18. package/esm2015/lib/components/table/table.component.js.map +1 -1
  19. package/esm2015/lib/components/table/table.component.metadata.json +1 -1
  20. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +26 -0
  21. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js.map +1 -0
  22. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -0
  23. package/esm2015/lib/interaction/components/activity-title/activity-title.component.ngfactory.js.map +1 -0
  24. package/esm2015/lib/interaction/components/activity-title/activity-title.component.scss.shim.ngstyle.js.map +1 -0
  25. package/esm2015/lib/interaction/exports.js +1 -0
  26. package/esm2015/lib/interaction/exports.js.map +1 -1
  27. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  28. package/esm2015/lib/interaction/interaction.module.js +4 -1
  29. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  30. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  31. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  32. package/fesm2015/coolon-angular-ui-powerups.js +54 -9
  33. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  34. package/lib/components/table/table-model.d.ts +6 -1
  35. package/lib/components/table/table.component.d.ts +1 -1
  36. package/lib/interaction/components/activity-title/activity-title.component.d.ts +5 -0
  37. package/lib/interaction/exports.d.ts +1 -0
  38. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.9.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.8.0...v3.9.0) (2021-02-03)
6
+
7
+
8
+ ### Features
9
+
10
+ * added aup-activity-title component ([eb5d77c](https://bitbucket.org/coolon/angular-ui-powerups/commit/eb5d77ca87a41d1ae97fe5137f9f6476d168bc05))
11
+
12
+ ## [3.8.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.5...v3.8.0) (2021-02-03)
13
+
14
+
15
+ ### Features
16
+
17
+ * added TableModel.onRowClicked with auto curser and hover ([c01dbc6](https://bitbucket.org/coolon/angular-ui-powerups/commit/c01dbc683ec68ef85bbfb564f92c85d4edf4dcd6))
18
+
5
19
  ### [3.7.5](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.4...v3.7.5) (2021-02-01)
6
20
 
7
21
  ### [3.7.4](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.3...v3.7.4) (2021-02-01)
@@ -0,0 +1,9 @@
1
+ @import "./typography";
2
+
3
+ aup-activity-title {
4
+ font-family: mat-font-family($typographyConfig);
5
+ font-size: mat-font-size($typographyConfig, title);
6
+ line-height: mat-line-height($typographyConfig, title);
7
+ letter-spacing: mat-letter-spacing($typographyConfig, title);
8
+ margin-bottom: var(--default-padding);
9
+ }
@@ -6,6 +6,8 @@
6
6
  }
7
7
 
8
8
  @import "./mixins";
9
+ @import "./typography";
10
+ @import "./activities";
9
11
  @import "./router";
10
12
  @import "./tabs";
11
13
  @import "./interaction";
@@ -0,0 +1,5 @@
1
+ @import "~@angular/material/theming";
2
+
3
+ // Create a config with the default typography levels.
4
+ $typographyConfig: mat-typography-config();
5
+
@@ -699,7 +699,7 @@
699
699
  { type: i0.Component, args: [{
700
700
  selector: 'aup-card-container',
701
701
  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",
702
- styles: [":root{--aup-default-background:#fff;--aup-default-padding:var(--default-padding,18px)}.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))}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{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)}"]
702
+ 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))}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{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)}"]
703
703
  },] }
704
704
  ];
705
705
  CardContainerComponent.ctorParameters = function () { return []; };
@@ -2980,6 +2980,7 @@
2980
2980
  this._columns = new pectin.MutableListModel();
2981
2981
  this._editorSessions = new pectin.MutableListModel();
2982
2982
  this.rowClassNamePredicates = [];
2983
+ this.rowClickListeners = new pectin.EventListenerList();
2983
2984
  this._createForm = function (row) { return new pectin.DirtyTrackingForm(); };
2984
2985
  this.trackBy = function (index, item) {
2985
2986
  return _this.identityOf ? _this.identityOf(item) : index;
@@ -2995,7 +2996,6 @@
2995
2996
  this.dataSource = chain(this.sourceOfTruth).replaceAll(this.rowsBeingEdited);
2996
2997
  this.firstEditableColumn = chain(this.columns).select(function (c) { return c.hasEditorPortal(); }).first();
2997
2998
  this.hasColumnsWithRowSelectionExplicitlyEnabled = chain(this._columns).findIndex(function (column) { return column.isRowSelectionExplicitlyEnabled(); }).isGreaterThanOrEqualTo(0);
2998
- this.addRowClass('enable-hover', function () { return _this.isRowSelectionEnabled(); });
2999
2999
  }
3000
3000
  TableModel.fromList = function (sourceOfTruth, builder) {
3001
3001
  var model = new TableModel_1(sourceOfTruth);
@@ -3115,10 +3115,31 @@
3115
3115
  TableModel.prototype.isRowSelectionEnabled = function () {
3116
3116
  return this.hasColumnsWithRowSelectionExplicitlyEnabled.value || this.isRowSelectionEnabledByDefault();
3117
3117
  };
3118
+ TableModel.prototype.isHoverEnabled = function () {
3119
+ return this.isRowSelectionEnabled() || this.rowClickListeners.listenerCount > 0;
3120
+ };
3121
+ TableModel.prototype.isCursorEnabled = function (column) {
3122
+ // console.log({
3123
+ // column: column.columnId,
3124
+ // rowSelectionEnabled: this.isRowSelectionEnabledFor(column),
3125
+ // hasRowListeners: this.rowClickListeners.listenerCount > 0
3126
+ // });
3127
+ return this.isRowSelectionEnabledFor(column) || this.rowClickListeners.listenerCount > 0;
3128
+ };
3118
3129
  TableModel.prototype.selectRow = function (row) {
3119
3130
  var _a;
3120
3131
  (_a = this.selectionColumnModel) === null || _a === void 0 ? void 0 : _a.selectRow(row);
3121
3132
  };
3133
+ TableModel.prototype.onRowClicked = function (callback) {
3134
+ return this.rowClickListeners.add(callback);
3135
+ };
3136
+ // @Trace()
3137
+ TableModel.prototype._notifyCellClicked = function (columnModel, row) {
3138
+ if (this.isRowSelectionEnabledFor(columnModel)) {
3139
+ this.selectRow(row);
3140
+ }
3141
+ this.rowClickListeners.fire(function (l) { return l(row); });
3142
+ };
3122
3143
  return TableModel;
3123
3144
  }());
3124
3145
  exports.TableModel = TableModel_1 = __decorate([
@@ -3173,17 +3194,15 @@
3173
3194
  column.setTemplate(templateRef, viewContainer, fillCell, padChild);
3174
3195
  }
3175
3196
  };
3176
- TableComponent.prototype.onCellClicked = function (columnModel, row) {
3177
- if (this.tableModel.isRowSelectionEnabledFor(columnModel)) {
3178
- this.tableModel.selectRow(row);
3179
- }
3197
+ TableComponent.prototype.notifyCellClicked = function (columnModel, row) {
3198
+ this.tableModel._notifyCellClicked(columnModel, row);
3180
3199
  };
3181
3200
  return TableComponent;
3182
3201
  }(DisposableComponent));
3183
3202
  TableComponent.decorators = [
3184
3203
  { type: i0.Component, args: [{
3185
3204
  selector: 'aup-table',
3186
- template: "<table mat-table [dataSource]=\"tableModel.dataSource.value\" [trackBy]=\"tableModel.trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\" matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef>\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"onCellClicked(column, row)\" [class.enable-cursor]=\"tableModel.isRowSelectionEnabledFor(column)\">\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"tableModel\"\n [editSession]=\"tableModel.getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\" [attr.trackBy]=\"tableModel.trackBy(i, row)\"\n ></tr>\n\n</table>\n",
3205
+ template: "<table mat-table [dataSource]=\"tableModel.dataSource.value\" [trackBy]=\"tableModel.trackBy\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\" matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef>\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\" [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\">\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"tableModel\"\n [editSession]=\"tableModel.getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\" [class.enable-hover]=\"tableModel.isHoverEnabled()\" [attr.trackBy]=\"tableModel.trackBy(i, row)\"\n ></tr>\n\n</table>\n",
3187
3206
  styles: [":host{align-items:stretch;display:flex;flex-direction:column}:host table{flex:1;width:100%}"]
3188
3207
  },] }
3189
3208
  ];
@@ -4196,6 +4215,35 @@
4196
4215
  activityOutlets: [{ type: i0.ViewChildren, args: [ActivityOutletComponent,] }]
4197
4216
  };
4198
4217
 
4218
+ var ActivityTitleComponent = /** @class */ (function (_super) {
4219
+ __extends(ActivityTitleComponent, _super);
4220
+ function ActivityTitleComponent() {
4221
+ return _super !== null && _super.apply(this, arguments) || this;
4222
+ }
4223
+ // @Input()
4224
+ // align: 'start' | 'end' | 'stretch' = 'start';
4225
+ //
4226
+ // @HostBinding('class.align-end')
4227
+ // get alignEnd():boolean {
4228
+ // return this.align === 'end'
4229
+ // }
4230
+ //
4231
+ // @HostBinding('class.align-stretch')
4232
+ // get alignStretch():boolean {
4233
+ // return this.align === 'stretch'
4234
+ // }
4235
+ ActivityTitleComponent.prototype.ngOnInit = function () {
4236
+ };
4237
+ return ActivityTitleComponent;
4238
+ }(DisposableComponent));
4239
+ ActivityTitleComponent.decorators = [
4240
+ { type: i0.Component, args: [{
4241
+ selector: 'aup-activity-title',
4242
+ template: "<ng-content></ng-content>\n",
4243
+ styles: [":host{display:block}"]
4244
+ },] }
4245
+ ];
4246
+
4199
4247
  var InteractionServiceRoutingAdapter = /** @class */ (function () {
4200
4248
  function InteractionServiceRoutingAdapter(activeInteractionContextIds, activeModalContext, createExclusiveInteractionContext) {
4201
4249
  this.activeInteractionContextIds = activeInteractionContextIds;
@@ -4919,11 +4967,13 @@
4919
4967
  SelectInputActivity,
4920
4968
  AbstractInputActivity,
4921
4969
  InteractionContextTriggerFor,
4922
- Activity
4970
+ Activity,
4971
+ ActivityTitleComponent
4923
4972
  ],
4924
4973
  exports: [
4925
4974
  ActivityContainerComponent,
4926
4975
  ActivityOutletComponent,
4976
+ ActivityTitleComponent,
4927
4977
  InPlaceInteractionContextComponent,
4928
4978
  AddItemInteractionContextComponent,
4929
4979
  ActivityActionsComponent,
@@ -8040,6 +8090,7 @@
8040
8090
  exports.ActivityContainerComponent = ActivityContainerComponent;
8041
8091
  exports.ActivityOutletComponent = ActivityOutletComponent;
8042
8092
  exports.ActivityRef = ActivityRef;
8093
+ exports.ActivityTitleComponent = ActivityTitleComponent;
8043
8094
  exports.AddItemInteractionContextComponent = AddItemInteractionContextComponent;
8044
8095
  exports.AlertDialogComponent = AlertDialogComponent;
8045
8096
  exports.AngularUiPowerupsModule = AngularUiPowerupsModule;