@microsoft/windows-admin-center-sdk 2.128.0 → 2.152.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 (65) hide show
  1. package/angular/assets/strings/cs-CZ/strings.json +1 -1
  2. package/angular/assets/strings/de-DE/strings.json +1 -1
  3. package/angular/assets/strings/es-ES/strings.json +1 -1
  4. package/angular/assets/strings/fr-FR/strings.json +1 -1
  5. package/angular/assets/strings/hu-HU/strings.json +1 -1
  6. package/angular/assets/strings/it-IT/strings.json +1 -1
  7. package/angular/assets/strings/ja-JP/strings.json +1 -1
  8. package/angular/assets/strings/ko-KR/strings.json +1 -1
  9. package/angular/assets/strings/nl-NL/strings.json +1 -1
  10. package/angular/assets/strings/pl-PL/strings.json +1 -1
  11. package/angular/assets/strings/pt-BR/strings.json +1 -1
  12. package/angular/assets/strings/pt-PT/strings.json +1 -1
  13. package/angular/assets/strings/ru-RU/strings.json +1 -1
  14. package/angular/assets/strings/sv-SE/strings.json +1 -1
  15. package/angular/assets/strings/tr-TR/strings.json +1 -1
  16. package/angular/assets/strings/zh-CN/strings.json +1 -1
  17. package/angular/assets/strings/zh-TW/strings.json +1 -1
  18. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js +558 -367
  19. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js.map +1 -1
  20. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js +1 -1
  21. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
  22. package/angular/esm2015/src/controls/accordion/index.js +5 -0
  23. package/angular/esm2015/src/controls/data-table/data-table.component.js +5 -5
  24. package/angular/esm2015/src/controls/dialog/dialog.component.js +2 -2
  25. package/angular/esm2015/src/controls/dropdown/dropdown.service.js +3 -2
  26. package/angular/esm2015/src/controls/form/form-field/array/array-form-field.component.js +29 -22
  27. package/angular/esm2015/src/controls/form/form-field/datetime-range/datetime-range-form-field.component.js +4 -3
  28. package/angular/esm2015/src/controls/form/form-field/list/list-form-field.component.js +1 -1
  29. package/angular/esm2015/src/controls/form/validation-alert/validation-alert.component.js +3 -2
  30. package/angular/esm2015/src/controls/index.js +2 -1
  31. package/angular/esm2015/src/controls/pivot/pivot.component.js +21 -9
  32. package/angular/esm2015/src/controls/settings/common-settings/common-settings.component.js +38 -34
  33. package/angular/esm2015/src/controls/settings/settings-content.component.js +3 -2
  34. package/angular/esm2015/src/controls/settings/settings.component.js +45 -13
  35. package/angular/esm2015/src/controls/settings/settings.module.js +5 -1
  36. package/angular/esm2015/src/controls/tooltip/tooltip-zone.directive.js +2 -2
  37. package/angular/esm2015/src/controls/wizard/models/index.js +1 -1
  38. package/angular/esm2015/src/controls/wizard/models/wizard-builder-interface.js +2 -0
  39. package/angular/esm2015/src/controls/wizard/models/wizard-navigation-interface.js +2 -0
  40. package/angular/esm2015/src/controls/wizard/wizard-builder.js +70 -1
  41. package/angular/esm2015/src/controls/wizard/wizard-navigation-information.js +56 -2
  42. package/angular/esm2015/src/controls/wizard/wizard.component.js +8 -2
  43. package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +508 -322
  44. package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
  45. package/angular/src/controls/accordion/index.d.ts +4 -0
  46. package/angular/src/controls/form/form-field/array/array-form-field.component.d.ts +2 -1
  47. package/angular/src/controls/index.d.ts +1 -0
  48. package/angular/src/controls/pivot/pivot.component.d.ts +2 -2
  49. package/angular/src/controls/settings/settings.component.d.ts +3 -0
  50. package/angular/src/controls/settings/settings.module.d.ts +3 -2
  51. package/angular/src/controls/wizard/models/index.d.ts +2 -0
  52. package/angular/src/controls/wizard/models/wizard-builder-interface.d.ts +8 -0
  53. package/angular/src/controls/wizard/models/wizard-navigation-interface.d.ts +4 -0
  54. package/angular/src/controls/wizard/wizard-builder.d.ts +36 -1
  55. package/angular/src/controls/wizard/wizard-navigation-information.d.ts +48 -5
  56. package/angular/src/controls/wizard/wizard.component.d.ts +2 -1
  57. package/core/data/resource-cache.d.ts +1 -1
  58. package/core/data/resource-cache.js +1 -1
  59. package/core/data/resource-cache.js.map +1 -1
  60. package/core/security/authorization-manager.js +1 -1
  61. package/core/security/authorization-manager.js.map +1 -1
  62. package/package.json +2 -3
  63. package/styles/css/main.css +1 -1
  64. package/tools/gulp-ps-cim/index.js +1 -1
  65. package/tools/gulp-ps-cim/index.js.map +1 -1
@@ -5334,10 +5334,10 @@
5334
5334
  });
5335
5335
  TooltipZoneDirective.prototype.onShortcut = function (event) {
5336
5336
  if (event.keyCode === accessibilityManager.KeyCode.F1 && event.altKey) {
5337
- event.stopImmediatePropagation();
5338
5337
  if (this.tooltipDirective) {
5339
5338
  if (!this.tooltipDirective.shown) {
5340
5339
  this.tooltipDirective.show(true);
5340
+ event.stopImmediatePropagation();
5341
5341
  }
5342
5342
  else {
5343
5343
  this.tooltipDirective.hide();
@@ -6019,6 +6019,260 @@
6019
6019
  }], null, null);
6020
6020
  })();
6021
6021
 
6022
+ var _c0$4 = ["*"];
6023
+ var _c1$1 = function (a0, a1) { return { "sme-icon-chevronDown": a0, "sme-icon-chevronRight": a1 }; };
6024
+ function AccordionPanelComponent_span_4_Template(rf, ctx) {
6025
+ if (rf & 1) {
6026
+ i0.ɵɵelement(0, "span", 6);
6027
+ }
6028
+ if (rf & 2) {
6029
+ var ctx_r1 = i0.ɵɵnextContext();
6030
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$1, ctx_r1.opened, !ctx_r1.opened));
6031
+ }
6032
+ }
6033
+ function AccordionPanelComponent_div_8_Template(rf, ctx) {
6034
+ if (rf & 1) {
6035
+ i0.ɵɵelementStart(0, "div", 7);
6036
+ i0.ɵɵprojection(1, 1);
6037
+ i0.ɵɵelementEnd();
6038
+ }
6039
+ }
6040
+ var _c2 = [[["sme-panel-control"]], "*"];
6041
+ var _c3 = ["sme-panel-control", "*"];
6042
+ var PanelControlComponent = /** @class */ (function () {
6043
+ function PanelControlComponent() {
6044
+ }
6045
+ return PanelControlComponent;
6046
+ }());
6047
+ /** @nocollapse */ PanelControlComponent.ɵfac = function PanelControlComponent_Factory(t) { return new (t || PanelControlComponent)(); };
6048
+ /** @nocollapse */ PanelControlComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PanelControlComponent, selectors: [["sme-panel-control"]], ngContentSelectors: _c0$4, decls: 1, vars: 0, template: function PanelControlComponent_Template(rf, ctx) {
6049
+ if (rf & 1) {
6050
+ i0.ɵɵprojectionDef();
6051
+ i0.ɵɵprojection(0);
6052
+ }
6053
+ }, encapsulation: 2 });
6054
+ (function () {
6055
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelControlComponent, [{
6056
+ type: i0.Component,
6057
+ args: [{
6058
+ selector: 'sme-panel-control',
6059
+ template: '<ng-content></ng-content>'
6060
+ }]
6061
+ }], null, null);
6062
+ })();
6063
+ var AccordionPanelComponent = /** @class */ (function () {
6064
+ function AccordionPanelComponent() {
6065
+ this.isExpandable = true;
6066
+ this.toggled = new i0.EventEmitter();
6067
+ this.opened = true;
6068
+ this.canClose = this.isExpandable;
6069
+ }
6070
+ AccordionPanelComponent.prototype.onToggle = function () {
6071
+ if (this.isExpandable) {
6072
+ this.opened = !this.opened;
6073
+ this.toggled.emit(this);
6074
+ }
6075
+ };
6076
+ return AccordionPanelComponent;
6077
+ }());
6078
+ /** @nocollapse */ AccordionPanelComponent.ɵfac = function AccordionPanelComponent_Factory(t) { return new (t || AccordionPanelComponent)(); };
6079
+ /** @nocollapse */ AccordionPanelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionPanelComponent, selectors: [["sme-accordion-panel"]], inputs: { header: "header", opened: "opened", isExpandable: "isExpandable" }, outputs: { toggled: "toggled" }, ngContentSelectors: _c3, decls: 9, vars: 5, consts: [[1, "sme-accordion-panel"], [1, "sme-arrange-stack-h", "sme-panel-header"], [1, "sme-button", "sme-button-align-left", "sme-button-trigger", "sme-position-flex-auto", "sme-panel-expander", 3, "click"], ["accordionPanelButton", ""], ["class", "sme-position-flex-none sme-icon", 3, "ngClass", 4, "ngIf"], ["class", "sme-panel-body", 4, "ngIf"], [1, "sme-position-flex-none", "sme-icon", 3, "ngClass"], [1, "sme-panel-body"]], template: function AccordionPanelComponent_Template(rf, ctx) {
6080
+ if (rf & 1) {
6081
+ i0.ɵɵprojectionDef(_c2);
6082
+ i0.ɵɵelementStart(0, "div", 0);
6083
+ i0.ɵɵelementStart(1, "div", 1);
6084
+ i0.ɵɵelementStart(2, "div", 2, 3);
6085
+ i0.ɵɵlistener("click", function AccordionPanelComponent_Template_div_click_2_listener() { return ctx.onToggle(); });
6086
+ i0.ɵɵtemplate(4, AccordionPanelComponent_span_4_Template, 1, 4, "span", 4);
6087
+ i0.ɵɵelementStart(5, "span");
6088
+ i0.ɵɵtext(6);
6089
+ i0.ɵɵelementEnd();
6090
+ i0.ɵɵelementEnd();
6091
+ i0.ɵɵprojection(7);
6092
+ i0.ɵɵelementEnd();
6093
+ i0.ɵɵtemplate(8, AccordionPanelComponent_div_8_Template, 2, 0, "div", 5);
6094
+ i0.ɵɵelementEnd();
6095
+ }
6096
+ if (rf & 2) {
6097
+ i0.ɵɵadvance(2);
6098
+ i0.ɵɵclassProp("sme-focus-zone", ctx.canClose);
6099
+ i0.ɵɵadvance(2);
6100
+ i0.ɵɵproperty("ngIf", ctx.canClose);
6101
+ i0.ɵɵadvance(2);
6102
+ i0.ɵɵtextInterpolate(ctx.header);
6103
+ i0.ɵɵadvance(2);
6104
+ i0.ɵɵproperty("ngIf", ctx.opened);
6105
+ }
6106
+ }, directives: [i1$1.NgIf, i1$1.NgClass], encapsulation: 2 });
6107
+ (function () {
6108
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionPanelComponent, [{
6109
+ type: i0.Component,
6110
+ args: [{
6111
+ selector: 'sme-accordion-panel',
6112
+ templateUrl: './accordion-panel.component.html'
6113
+ }]
6114
+ }], function () { return []; }, { header: [{
6115
+ type: i0.Input
6116
+ }], opened: [{
6117
+ type: i0.Input
6118
+ }], isExpandable: [{
6119
+ type: i0.Input
6120
+ }], toggled: [{
6121
+ type: i0.Output
6122
+ }] });
6123
+ })();
6124
+
6125
+ var _c0$5 = ["*"];
6126
+ var AccordionComponent = /** @class */ (function (_super) {
6127
+ __extends(AccordionComponent, _super);
6128
+ function AccordionComponent(injector) {
6129
+ var _this = _super.call(this, injector) || this;
6130
+ _this.canOpenMultiple = true;
6131
+ _this.canCloseAll = true;
6132
+ _this.canCloseAny = false;
6133
+ return _this;
6134
+ }
6135
+ Object.defineProperty(AccordionComponent.prototype, "logSourceName", {
6136
+ /**
6137
+ * The source name to use for logging
6138
+ */
6139
+ get: function () {
6140
+ return 'AccordionComponent';
6141
+ },
6142
+ enumerable: false,
6143
+ configurable: true
6144
+ });
6145
+ Object.defineProperty(AccordionComponent.prototype, "canCloseAny", {
6146
+ get: function () {
6147
+ return this._canCloseAny;
6148
+ },
6149
+ set: function (value) {
6150
+ var _this = this;
6151
+ this._canCloseAny = value;
6152
+ if (this.panels) {
6153
+ this.panels.forEach(function (p) { return p.canClose = _this._canCloseAny; });
6154
+ }
6155
+ },
6156
+ enumerable: false,
6157
+ configurable: true
6158
+ });
6159
+ AccordionComponent.prototype.ngAfterContentInit = function () {
6160
+ var _this = this;
6161
+ this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getToggleObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
6162
+ return _this.getToggleObservables(panels);
6163
+ }))).subscribe(function (panel) { return _this.onPanelToggled(panel); }));
6164
+ this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getAllPanelObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
6165
+ return _this.getAllPanelObservables(panels);
6166
+ }))).subscribe(function (panel) { return panel.canClose = _this.canCloseAny; }));
6167
+ };
6168
+ AccordionComponent.prototype.getToggleObservables = function (panels) {
6169
+ var observables = panels.toArray().map(function (panel) {
6170
+ return panel.toggled;
6171
+ });
6172
+ return rxjs.merge.apply(void 0, __spread(observables));
6173
+ };
6174
+ AccordionComponent.prototype.getAllPanelObservables = function (panels) {
6175
+ var observables = panels.toArray().map(function (panel) {
6176
+ return rxjs.of(panel);
6177
+ });
6178
+ return rxjs.merge.apply(void 0, __spread(observables));
6179
+ };
6180
+ AccordionComponent.prototype.onPanelToggled = function (panel) {
6181
+ if (panel.opened) {
6182
+ if (!this.canOpenMultiple) {
6183
+ this.closePanelsExcept(panel);
6184
+ }
6185
+ }
6186
+ else {
6187
+ if ((!this.canCloseAll && !this.panels.some(function (p) { return p.opened; })) || !this.canCloseAny) {
6188
+ panel.opened = true;
6189
+ }
6190
+ }
6191
+ };
6192
+ AccordionComponent.prototype.closePanelsExcept = function (panel) {
6193
+ this.panels.toArray().forEach(function (p) {
6194
+ if (p !== panel) {
6195
+ p.opened = false;
6196
+ }
6197
+ });
6198
+ };
6199
+ return AccordionComponent;
6200
+ }(CoreBaseComponent));
6201
+ /** @nocollapse */ AccordionComponent.ɵfac = function AccordionComponent_Factory(t) { return new (t || AccordionComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
6202
+ /** @nocollapse */ AccordionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionComponent, selectors: [["sme-accordion"]], contentQueries: function AccordionComponent_ContentQueries(rf, ctx, dirIndex) {
6203
+ if (rf & 1) {
6204
+ i0.ɵɵcontentQuery(dirIndex, AccordionPanelComponent, 0);
6205
+ }
6206
+ if (rf & 2) {
6207
+ var _t = void 0;
6208
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
6209
+ }
6210
+ }, inputs: { canOpenMultiple: "canOpenMultiple", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$5, decls: 1, vars: 0, template: function AccordionComponent_Template(rf, ctx) {
6211
+ if (rf & 1) {
6212
+ i0.ɵɵprojectionDef();
6213
+ i0.ɵɵprojection(0);
6214
+ }
6215
+ }, encapsulation: 2 });
6216
+ (function () {
6217
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionComponent, [{
6218
+ type: i0.Component,
6219
+ args: [{
6220
+ selector: 'sme-accordion',
6221
+ templateUrl: './accordion.component.html'
6222
+ }]
6223
+ }], function () { return [{ type: i0.Injector }]; }, { panels: [{
6224
+ type: i0.ContentChildren,
6225
+ args: [AccordionPanelComponent]
6226
+ }], canOpenMultiple: [{
6227
+ type: i0.Input
6228
+ }], canCloseAll: [{
6229
+ type: i0.Input
6230
+ }], canCloseAny: [{
6231
+ type: i0.Input
6232
+ }] });
6233
+ })();
6234
+
6235
+ var AccordionModule = /** @class */ (function () {
6236
+ function AccordionModule() {
6237
+ }
6238
+ return AccordionModule;
6239
+ }());
6240
+ /** @nocollapse */ AccordionModule.ɵfac = function AccordionModule_Factory(t) { return new (t || AccordionModule)(); };
6241
+ /** @nocollapse */ AccordionModule.ɵmod = i0.ɵɵdefineNgModule({ type: AccordionModule });
6242
+ /** @nocollapse */ AccordionModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
6243
+ i1.RouterModule,
6244
+ i1$1.CommonModule
6245
+ ]] });
6246
+ (function () {
6247
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AccordionModule, { declarations: [AccordionComponent,
6248
+ AccordionPanelComponent,
6249
+ PanelControlComponent], imports: [i1.RouterModule,
6250
+ i1$1.CommonModule], exports: [AccordionComponent,
6251
+ AccordionPanelComponent,
6252
+ PanelControlComponent] });
6253
+ })();
6254
+ (function () {
6255
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionModule, [{
6256
+ type: i0.NgModule,
6257
+ args: [{
6258
+ exports: [
6259
+ AccordionComponent,
6260
+ AccordionPanelComponent,
6261
+ PanelControlComponent
6262
+ ],
6263
+ declarations: [
6264
+ AccordionComponent,
6265
+ AccordionPanelComponent,
6266
+ PanelControlComponent
6267
+ ],
6268
+ imports: [
6269
+ i1.RouterModule,
6270
+ i1$1.CommonModule
6271
+ ]
6272
+ }]
6273
+ }], null, null);
6274
+ })();
6275
+
6022
6276
  /**
6023
6277
  * Service for maintaining dropdown state.
6024
6278
  * Only one dropdown can be opened at a time.
@@ -6207,7 +6461,8 @@
6207
6461
  // if the esc key is pressed, close the popup and focus on the toggle element
6208
6462
  if (event.keyCode === accessibilityManager.KeyCode.Escape) {
6209
6463
  if (this.activeDropdown && this.activeDropdown.toggleElement) {
6210
- var nextElement = dom.Dom.getNextFocusableElement(this.activeDropdown.toggleElement.nativeElement);
6464
+ var docElement = this.activeDropdown.toggleElement.nativeElement;
6465
+ var nextElement = dom.Dom.getFirstFocusableDescendent(docElement) || dom.Dom.getNextFocusableElement(docElement);
6211
6466
  if (nextElement) {
6212
6467
  nextElement.focus();
6213
6468
  }
@@ -6590,10 +6845,10 @@
6590
6845
  }], null, { closeNestedHelper: [] });
6591
6846
  })();
6592
6847
 
6593
- var _c0$4 = ["smeDropdownContent"];
6594
- var _c1$1 = ["smeDropdownToggle"];
6595
- var _c2 = [[["", 8, "sme-dropdown-toggle"]], [["", 8, "sme-dropdown-content"]]];
6596
- var _c3 = function (a0, a1, a2, a3) { return { "sme-layout-hidden": a0, "sme-layout-inline-block": a1, "sme-arrange-overflow-auto-x": a2, "sme-arrange-overflow-auto-y": a3 }; };
6848
+ var _c0$6 = ["smeDropdownContent"];
6849
+ var _c1$2 = ["smeDropdownToggle"];
6850
+ var _c2$1 = [[["", 8, "sme-dropdown-toggle"]], [["", 8, "sme-dropdown-content"]]];
6851
+ var _c3$1 = function (a0, a1, a2, a3) { return { "sme-layout-hidden": a0, "sme-layout-inline-block": a1, "sme-arrange-overflow-auto-x": a2, "sme-arrange-overflow-auto-y": a3 }; };
6597
6852
  var _c4 = [".sme-dropdown-toggle", ".sme-dropdown-content"];
6598
6853
  /**
6599
6854
  *
@@ -6790,8 +7045,8 @@
6790
7045
  /** @nocollapse */ DropdownComponent.ɵfac = function DropdownComponent_Factory(t) { return new (t || DropdownComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DropdownService), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8)); };
6791
7046
  /** @nocollapse */ DropdownComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DropdownComponent, selectors: [["sme-dropdown"]], viewQuery: function DropdownComponent_Query(rf, ctx) {
6792
7047
  if (rf & 1) {
6793
- i0.ɵɵviewQuery(_c0$4, 1);
6794
- i0.ɵɵviewQuery(_c1$1, 3);
7048
+ i0.ɵɵviewQuery(_c0$6, 1);
7049
+ i0.ɵɵviewQuery(_c1$2, 3);
6795
7050
  }
6796
7051
  if (rf & 2) {
6797
7052
  var _t = void 0;
@@ -6807,7 +7062,7 @@
6807
7062
  }
6808
7063
  }, inputs: { autoToggle: "autoToggle", autoWidth: "autoWidth", calculateHeight: "calculateHeight", displayToSide: "displayToSide", isContextMenu: "isContextMenu", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth", disabled: "disabled" }, outputs: { onToggled: "onToggled", toggled: "toggled" }, ngContentSelectors: _c4, decls: 6, vars: 6, consts: [[1, "sme-dropdown-toggle-container"], ["smeDropdownToggle", ""], [1, "sme-layout-dropdown", "sme-layout-fixed", "sme-position-below", "sme-scheme-dropdown", "sme-layer-nav", "sme-shadow-dropdown", 3, "ngClass"], ["smeDropdownContent", ""]], template: function DropdownComponent_Template(rf, ctx) {
6809
7064
  if (rf & 1) {
6810
- i0.ɵɵprojectionDef(_c2);
7065
+ i0.ɵɵprojectionDef(_c2$1);
6811
7066
  i0.ɵɵelementStart(0, "div", 0, 1);
6812
7067
  i0.ɵɵprojection(2);
6813
7068
  i0.ɵɵelementEnd();
@@ -6817,7 +7072,7 @@
6817
7072
  }
6818
7073
  if (rf & 2) {
6819
7074
  i0.ɵɵadvance(3);
6820
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(1, _c3, !ctx.isOpen, ctx.isOpen, ctx.overflowX, ctx.overflowY));
7075
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(1, _c3$1, !ctx.isOpen, ctx.isOpen, ctx.overflowX, ctx.overflowY));
6821
7076
  }
6822
7077
  }, directives: [i1$1.NgClass], encapsulation: 2 });
6823
7078
  (function () {
@@ -6900,7 +7155,7 @@
6900
7155
  }], null, null);
6901
7156
  })();
6902
7157
 
6903
- var _c0$5 = ["action"];
7158
+ var _c0$7 = ["action"];
6904
7159
  // tslint:disable-next-line: directive-class-suffix
6905
7160
  var ActionContainerComponent = /** @class */ (function (_super) {
6906
7161
  __extends(ActionContainerComponent, _super);
@@ -7069,7 +7324,7 @@
7069
7324
  /** @nocollapse */ ActionContainerComponent.ɵfac = function ActionContainerComponent_Factory(t) { return new (t || ActionContainerComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.Injector)); };
7070
7325
  /** @nocollapse */ ActionContainerComponent.ɵdir = i0.ɵɵdefineDirective({ type: ActionContainerComponent, contentQueries: function ActionContainerComponent_ContentQueries(rf, ctx, dirIndex) {
7071
7326
  if (rf & 1) {
7072
- i0.ɵɵcontentQuery(dirIndex, _c0$5, 0);
7327
+ i0.ɵɵcontentQuery(dirIndex, _c0$7, 0);
7073
7328
  }
7074
7329
  if (rf & 2) {
7075
7330
  var _t = void 0;
@@ -7101,9 +7356,9 @@
7101
7356
  }] });
7102
7357
  })();
7103
7358
 
7104
- var _c0$6 = ["actionBarElement"];
7105
- var _c1$2 = ["dropDownButton"];
7106
- var _c2$1 = ["dropDown"];
7359
+ var _c0$8 = ["actionBarElement"];
7360
+ var _c1$3 = ["dropDownButton"];
7361
+ var _c2$2 = ["dropDown"];
7107
7362
  function ActionBarComponent_sme_dynamic_action_item_2_Template(rf, ctx) {
7108
7363
  if (rf & 1) {
7109
7364
  var _r6_1 = i0.ɵɵgetCurrentView();
@@ -7118,7 +7373,7 @@
7118
7373
  i0.ɵɵproperty("item", item_r4);
7119
7374
  }
7120
7375
  }
7121
- var _c3$1 = ["*"];
7376
+ var _c3$2 = ["*"];
7122
7377
  /**
7123
7378
  *
7124
7379
  * @smeDoc {@label Actions @id sme-actions}
@@ -7487,9 +7742,9 @@
7487
7742
  /** @nocollapse */ ActionBarComponent.ɵfac = function ActionBarComponent_Factory(t) { return new (t || ActionBarComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8), i0.ɵɵdirectiveInject(i0.Injector)); };
7488
7743
  /** @nocollapse */ ActionBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionBarComponent, selectors: [["sme-action-bar"]], viewQuery: function ActionBarComponent_Query(rf, ctx) {
7489
7744
  if (rf & 1) {
7490
- i0.ɵɵviewQuery(_c0$6, 1);
7491
- i0.ɵɵviewQuery(_c1$2, 1);
7492
- i0.ɵɵviewQuery(_c2$1, 1);
7745
+ i0.ɵɵviewQuery(_c0$8, 1);
7746
+ i0.ɵɵviewQuery(_c1$3, 1);
7747
+ i0.ɵɵviewQuery(_c2$2, 1);
7493
7748
  }
7494
7749
  if (rf & 2) {
7495
7750
  var _t = void 0;
@@ -7501,7 +7756,7 @@
7501
7756
  if (rf & 1) {
7502
7757
  i0.ɵɵlistener("focusin", function ActionBarComponent_focusin_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("focusout", function ActionBarComponent_focusout_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("keydown", function ActionBarComponent_keydown_HostBindingHandler($event) { return ctx.onToggleKeydown($event); })("mouseenter", function ActionBarComponent_mouseenter_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("mouseleave", function ActionBarComponent_mouseleave_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("resize", function ActionBarComponent_resize_HostBindingHandler() { return ctx.onResize(); }, false, i0.ɵɵresolveWindow);
7503
7758
  }
7504
- }, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$1, decls: 12, vars: 14, consts: [["role", "menubar", 1, "sme-position-flex-none", "sme-arrange-stack-h"], ["actionBarElement", ""], ["class", "sme-arrange-stack-h sme-arrange-stack-centered sme-arrange-stack-inline", 3, "item", "sme-action-bar-item-no-padding-v", "itemChanged", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-position-flex-none"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-more", 3, "title"], [1, "sme-screen-reader"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions", "target", "targetChange", "error", "executed"], [1, "sme-arrange-stack-h", "sme-arrange-stack-centered", "sme-arrange-stack-inline", 3, "item", "itemChanged"]], template: function ActionBarComponent_Template(rf, ctx) {
7759
+ }, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars: 14, consts: [["role", "menubar", 1, "sme-position-flex-none", "sme-arrange-stack-h"], ["actionBarElement", ""], ["class", "sme-arrange-stack-h sme-arrange-stack-centered sme-arrange-stack-inline", 3, "item", "sme-action-bar-item-no-padding-v", "itemChanged", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-position-flex-none"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-more", 3, "title"], [1, "sme-screen-reader"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions", "target", "targetChange", "error", "executed"], [1, "sme-arrange-stack-h", "sme-arrange-stack-centered", "sme-arrange-stack-inline", 3, "item", "itemChanged"]], template: function ActionBarComponent_Template(rf, ctx) {
7505
7760
  if (rf & 1) {
7506
7761
  i0.ɵɵprojectionDef();
7507
7762
  i0.ɵɵelementStart(0, "div", 0, 1);
@@ -8339,8 +8594,8 @@
8339
8594
  }] });
8340
8595
  })();
8341
8596
 
8342
- var _c0$7 = ["dropDown"];
8343
- var _c1$3 = ["dropDownButton"];
8597
+ var _c0$9 = ["dropDown"];
8598
+ var _c1$4 = ["dropDownButton"];
8344
8599
  function ActionDropdownRendererComponent_span_7_Template(rf, ctx) {
8345
8600
  if (rf & 1) {
8346
8601
  i0.ɵɵelement(0, "span", 8);
@@ -8351,7 +8606,7 @@
8351
8606
  i0.ɵɵelement(0, "span", 9);
8352
8607
  }
8353
8608
  }
8354
- var _c2$2 = ["action"];
8609
+ var _c2$3 = ["action"];
8355
8610
  var ActionDropdown = /** @class */ (function (_super) {
8356
8611
  __extends(ActionDropdown, _super);
8357
8612
  /**
@@ -8443,8 +8698,8 @@
8443
8698
  /** @nocollapse */ ActionDropdownRendererComponent.ɵfac = function ActionDropdownRendererComponent_Factory(t) { return new (t || ActionDropdownRendererComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
8444
8699
  /** @nocollapse */ ActionDropdownRendererComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionDropdownRendererComponent, selectors: [["sme-action-dropdown-renderer"]], viewQuery: function ActionDropdownRendererComponent_Query(rf, ctx) {
8445
8700
  if (rf & 1) {
8446
- i0.ɵɵviewQuery(_c0$7, 1);
8447
- i0.ɵɵviewQuery(_c1$3, 1);
8701
+ i0.ɵɵviewQuery(_c0$9, 1);
8702
+ i0.ɵɵviewQuery(_c1$4, 1);
8448
8703
  }
8449
8704
  if (rf & 2) {
8450
8705
  var _t = void 0;
@@ -8573,7 +8828,7 @@
8573
8828
  /** @nocollapse */ ActionDropdownComponent.ɵfac = function ActionDropdownComponent_Factory(t) { return new (t || ActionDropdownComponent)(i0.ɵɵdirectiveInject(ActionBarComponent)); };
8574
8829
  /** @nocollapse */ ActionDropdownComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionDropdownComponent, selectors: [["sme-action-dropdown"]], contentQueries: function ActionDropdownComponent_ContentQueries(rf, ctx, dirIndex) {
8575
8830
  if (rf & 1) {
8576
- i0.ɵɵcontentQuery(dirIndex, _c2$2, 0);
8831
+ i0.ɵɵcontentQuery(dirIndex, _c2$3, 0);
8577
8832
  }
8578
8833
  if (rf & 2) {
8579
8834
  var _t = void 0;
@@ -8581,7 +8836,7 @@
8581
8836
  }
8582
8837
  }, viewQuery: function ActionDropdownComponent_Query(rf, ctx) {
8583
8838
  if (rf & 1) {
8584
- i0.ɵɵviewQuery(_c0$7, 1);
8839
+ i0.ɵɵviewQuery(_c0$9, 1);
8585
8840
  }
8586
8841
  if (rf & 2) {
8587
8842
  var _t = void 0;
@@ -8739,7 +8994,7 @@
8739
8994
  }], function () { return [{ type: ActionBarComponent }]; }, null);
8740
8995
  })();
8741
8996
 
8742
- var _c0$8 = ["container"];
8997
+ var _c0$a = ["container"];
8743
8998
  // tslint:disable-next-line: directive-class-suffix
8744
8999
  var DynamicComponentBase = /** @class */ (function () {
8745
9000
  function DynamicComponentBase(componentFactoryResolver) {
@@ -8769,7 +9024,7 @@
8769
9024
  /** @nocollapse */ DynamicComponentBase.ɵfac = function DynamicComponentBase_Factory(t) { return new (t || DynamicComponentBase)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
8770
9025
  /** @nocollapse */ DynamicComponentBase.ɵdir = i0.ɵɵdefineDirective({ type: DynamicComponentBase, viewQuery: function DynamicComponentBase_Query(rf, ctx) {
8771
9026
  if (rf & 1) {
8772
- i0.ɵɵviewQuery(_c0$8, 3, i0.ViewContainerRef);
9027
+ i0.ɵɵviewQuery(_c0$a, 3, i0.ViewContainerRef);
8773
9028
  }
8774
9029
  if (rf & 2) {
8775
9030
  var _t = void 0;
@@ -8877,7 +9132,7 @@
8877
9132
  }], function () { return [{ type: ExtensionBrokerService }]; }, null);
8878
9133
  })();
8879
9134
 
8880
- var _c0$9 = ["type", "tags"];
9135
+ var _c0$b = ["type", "tags"];
8881
9136
  var TagsActionButtonComponent = /** @class */ (function (_super) {
8882
9137
  __extends(TagsActionButtonComponent, _super);
8883
9138
  /**
@@ -8918,7 +9173,7 @@
8918
9173
  return TagsActionButtonComponent;
8919
9174
  }(ActionButtonAsyncComponent));
8920
9175
  /** @nocollapse */ TagsActionButtonComponent.ɵfac = function TagsActionButtonComponent_Factory(t) { return new (t || TagsActionButtonComponent)(i0.ɵɵdirectiveInject(ActionBarComponent), i0.ɵɵdirectiveInject(TagService)); };
8921
- /** @nocollapse */ TagsActionButtonComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsActionButtonComponent, selectors: [["sme-action-button-async", "type", "tags"]], inputs: { componentId: "componentId", suggestions: "suggestions", target: "target", enabled: "enabled" }, outputs: { execute: "execute" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$9, decls: 0, vars: 0, template: function TagsActionButtonComponent_Template(rf, ctx) { }, encapsulation: 2 });
9176
+ /** @nocollapse */ TagsActionButtonComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsActionButtonComponent, selectors: [["sme-action-button-async", "type", "tags"]], inputs: { componentId: "componentId", suggestions: "suggestions", target: "target", enabled: "enabled" }, outputs: { execute: "execute" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$b, decls: 0, vars: 0, template: function TagsActionButtonComponent_Template(rf, ctx) { }, encapsulation: 2 });
8922
9177
  (function () {
8923
9178
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TagsActionButtonComponent, [{
8924
9179
  type: i0.Component,
@@ -9028,260 +9283,6 @@
9028
9283
  i0.ɵɵsetComponentScope(ActionMenuComponent, [i1$1.NgForOf, DynamicActionItemComponent], [FilterPipe]);
9029
9284
  i0.ɵɵsetComponentScope(ActionDropdownRendererComponent, [DropdownComponent, DisabledDirective, i1$1.NgClass, i1$1.NgIf, ActionMenuComponent], []);
9030
9285
 
9031
- var _c0$a = ["*"];
9032
- var _c1$4 = function (a0, a1) { return { "sme-icon-chevronDown": a0, "sme-icon-chevronRight": a1 }; };
9033
- function AccordionPanelComponent_span_4_Template(rf, ctx) {
9034
- if (rf & 1) {
9035
- i0.ɵɵelement(0, "span", 6);
9036
- }
9037
- if (rf & 2) {
9038
- var ctx_r1 = i0.ɵɵnextContext();
9039
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$4, ctx_r1.opened, !ctx_r1.opened));
9040
- }
9041
- }
9042
- function AccordionPanelComponent_div_8_Template(rf, ctx) {
9043
- if (rf & 1) {
9044
- i0.ɵɵelementStart(0, "div", 7);
9045
- i0.ɵɵprojection(1, 1);
9046
- i0.ɵɵelementEnd();
9047
- }
9048
- }
9049
- var _c2$3 = [[["sme-panel-control"]], "*"];
9050
- var _c3$2 = ["sme-panel-control", "*"];
9051
- var PanelControlComponent = /** @class */ (function () {
9052
- function PanelControlComponent() {
9053
- }
9054
- return PanelControlComponent;
9055
- }());
9056
- /** @nocollapse */ PanelControlComponent.ɵfac = function PanelControlComponent_Factory(t) { return new (t || PanelControlComponent)(); };
9057
- /** @nocollapse */ PanelControlComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PanelControlComponent, selectors: [["sme-panel-control"]], ngContentSelectors: _c0$a, decls: 1, vars: 0, template: function PanelControlComponent_Template(rf, ctx) {
9058
- if (rf & 1) {
9059
- i0.ɵɵprojectionDef();
9060
- i0.ɵɵprojection(0);
9061
- }
9062
- }, encapsulation: 2 });
9063
- (function () {
9064
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelControlComponent, [{
9065
- type: i0.Component,
9066
- args: [{
9067
- selector: 'sme-panel-control',
9068
- template: '<ng-content></ng-content>'
9069
- }]
9070
- }], null, null);
9071
- })();
9072
- var AccordionPanelComponent = /** @class */ (function () {
9073
- function AccordionPanelComponent() {
9074
- this.isExpandable = true;
9075
- this.toggled = new i0.EventEmitter();
9076
- this.opened = true;
9077
- this.canClose = this.isExpandable;
9078
- }
9079
- AccordionPanelComponent.prototype.onToggle = function () {
9080
- if (this.isExpandable) {
9081
- this.opened = !this.opened;
9082
- this.toggled.emit(this);
9083
- }
9084
- };
9085
- return AccordionPanelComponent;
9086
- }());
9087
- /** @nocollapse */ AccordionPanelComponent.ɵfac = function AccordionPanelComponent_Factory(t) { return new (t || AccordionPanelComponent)(); };
9088
- /** @nocollapse */ AccordionPanelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionPanelComponent, selectors: [["sme-accordion-panel"]], inputs: { header: "header", opened: "opened", isExpandable: "isExpandable" }, outputs: { toggled: "toggled" }, ngContentSelectors: _c3$2, decls: 9, vars: 5, consts: [[1, "sme-accordion-panel"], [1, "sme-arrange-stack-h", "sme-panel-header"], [1, "sme-button", "sme-button-align-left", "sme-button-trigger", "sme-position-flex-auto", "sme-panel-expander", 3, "click"], ["accordionPanelButton", ""], ["class", "sme-position-flex-none sme-icon", 3, "ngClass", 4, "ngIf"], ["class", "sme-panel-body", 4, "ngIf"], [1, "sme-position-flex-none", "sme-icon", 3, "ngClass"], [1, "sme-panel-body"]], template: function AccordionPanelComponent_Template(rf, ctx) {
9089
- if (rf & 1) {
9090
- i0.ɵɵprojectionDef(_c2$3);
9091
- i0.ɵɵelementStart(0, "div", 0);
9092
- i0.ɵɵelementStart(1, "div", 1);
9093
- i0.ɵɵelementStart(2, "div", 2, 3);
9094
- i0.ɵɵlistener("click", function AccordionPanelComponent_Template_div_click_2_listener() { return ctx.onToggle(); });
9095
- i0.ɵɵtemplate(4, AccordionPanelComponent_span_4_Template, 1, 4, "span", 4);
9096
- i0.ɵɵelementStart(5, "span");
9097
- i0.ɵɵtext(6);
9098
- i0.ɵɵelementEnd();
9099
- i0.ɵɵelementEnd();
9100
- i0.ɵɵprojection(7);
9101
- i0.ɵɵelementEnd();
9102
- i0.ɵɵtemplate(8, AccordionPanelComponent_div_8_Template, 2, 0, "div", 5);
9103
- i0.ɵɵelementEnd();
9104
- }
9105
- if (rf & 2) {
9106
- i0.ɵɵadvance(2);
9107
- i0.ɵɵclassProp("sme-focus-zone", ctx.canClose);
9108
- i0.ɵɵadvance(2);
9109
- i0.ɵɵproperty("ngIf", ctx.canClose);
9110
- i0.ɵɵadvance(2);
9111
- i0.ɵɵtextInterpolate(ctx.header);
9112
- i0.ɵɵadvance(2);
9113
- i0.ɵɵproperty("ngIf", ctx.opened);
9114
- }
9115
- }, directives: [i1$1.NgIf, i1$1.NgClass], encapsulation: 2 });
9116
- (function () {
9117
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionPanelComponent, [{
9118
- type: i0.Component,
9119
- args: [{
9120
- selector: 'sme-accordion-panel',
9121
- templateUrl: './accordion-panel.component.html'
9122
- }]
9123
- }], function () { return []; }, { header: [{
9124
- type: i0.Input
9125
- }], opened: [{
9126
- type: i0.Input
9127
- }], isExpandable: [{
9128
- type: i0.Input
9129
- }], toggled: [{
9130
- type: i0.Output
9131
- }] });
9132
- })();
9133
-
9134
- var _c0$b = ["*"];
9135
- var AccordionComponent = /** @class */ (function (_super) {
9136
- __extends(AccordionComponent, _super);
9137
- function AccordionComponent(injector) {
9138
- var _this = _super.call(this, injector) || this;
9139
- _this.canOpenMultiple = true;
9140
- _this.canCloseAll = true;
9141
- _this.canCloseAny = false;
9142
- return _this;
9143
- }
9144
- Object.defineProperty(AccordionComponent.prototype, "logSourceName", {
9145
- /**
9146
- * The source name to use for logging
9147
- */
9148
- get: function () {
9149
- return 'AccordionComponent';
9150
- },
9151
- enumerable: false,
9152
- configurable: true
9153
- });
9154
- Object.defineProperty(AccordionComponent.prototype, "canCloseAny", {
9155
- get: function () {
9156
- return this._canCloseAny;
9157
- },
9158
- set: function (value) {
9159
- var _this = this;
9160
- this._canCloseAny = value;
9161
- if (this.panels) {
9162
- this.panels.forEach(function (p) { return p.canClose = _this._canCloseAny; });
9163
- }
9164
- },
9165
- enumerable: false,
9166
- configurable: true
9167
- });
9168
- AccordionComponent.prototype.ngAfterContentInit = function () {
9169
- var _this = this;
9170
- this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getToggleObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
9171
- return _this.getToggleObservables(panels);
9172
- }))).subscribe(function (panel) { return _this.onPanelToggled(panel); }));
9173
- this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getAllPanelObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
9174
- return _this.getAllPanelObservables(panels);
9175
- }))).subscribe(function (panel) { return panel.canClose = _this.canCloseAny; }));
9176
- };
9177
- AccordionComponent.prototype.getToggleObservables = function (panels) {
9178
- var observables = panels.toArray().map(function (panel) {
9179
- return panel.toggled;
9180
- });
9181
- return rxjs.merge.apply(void 0, __spread(observables));
9182
- };
9183
- AccordionComponent.prototype.getAllPanelObservables = function (panels) {
9184
- var observables = panels.toArray().map(function (panel) {
9185
- return rxjs.of(panel);
9186
- });
9187
- return rxjs.merge.apply(void 0, __spread(observables));
9188
- };
9189
- AccordionComponent.prototype.onPanelToggled = function (panel) {
9190
- if (panel.opened) {
9191
- if (!this.canOpenMultiple) {
9192
- this.closePanelsExcept(panel);
9193
- }
9194
- }
9195
- else {
9196
- if ((!this.canCloseAll && !this.panels.some(function (p) { return p.opened; })) || !this.canCloseAny) {
9197
- panel.opened = true;
9198
- }
9199
- }
9200
- };
9201
- AccordionComponent.prototype.closePanelsExcept = function (panel) {
9202
- this.panels.toArray().forEach(function (p) {
9203
- if (p !== panel) {
9204
- p.opened = false;
9205
- }
9206
- });
9207
- };
9208
- return AccordionComponent;
9209
- }(CoreBaseComponent));
9210
- /** @nocollapse */ AccordionComponent.ɵfac = function AccordionComponent_Factory(t) { return new (t || AccordionComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
9211
- /** @nocollapse */ AccordionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionComponent, selectors: [["sme-accordion"]], contentQueries: function AccordionComponent_ContentQueries(rf, ctx, dirIndex) {
9212
- if (rf & 1) {
9213
- i0.ɵɵcontentQuery(dirIndex, AccordionPanelComponent, 0);
9214
- }
9215
- if (rf & 2) {
9216
- var _t = void 0;
9217
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
9218
- }
9219
- }, inputs: { canOpenMultiple: "canOpenMultiple", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 1, vars: 0, template: function AccordionComponent_Template(rf, ctx) {
9220
- if (rf & 1) {
9221
- i0.ɵɵprojectionDef();
9222
- i0.ɵɵprojection(0);
9223
- }
9224
- }, encapsulation: 2 });
9225
- (function () {
9226
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionComponent, [{
9227
- type: i0.Component,
9228
- args: [{
9229
- selector: 'sme-accordion',
9230
- templateUrl: './accordion.component.html'
9231
- }]
9232
- }], function () { return [{ type: i0.Injector }]; }, { panels: [{
9233
- type: i0.ContentChildren,
9234
- args: [AccordionPanelComponent]
9235
- }], canOpenMultiple: [{
9236
- type: i0.Input
9237
- }], canCloseAll: [{
9238
- type: i0.Input
9239
- }], canCloseAny: [{
9240
- type: i0.Input
9241
- }] });
9242
- })();
9243
-
9244
- var AccordionModule = /** @class */ (function () {
9245
- function AccordionModule() {
9246
- }
9247
- return AccordionModule;
9248
- }());
9249
- /** @nocollapse */ AccordionModule.ɵfac = function AccordionModule_Factory(t) { return new (t || AccordionModule)(); };
9250
- /** @nocollapse */ AccordionModule.ɵmod = i0.ɵɵdefineNgModule({ type: AccordionModule });
9251
- /** @nocollapse */ AccordionModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
9252
- i1.RouterModule,
9253
- i1$1.CommonModule
9254
- ]] });
9255
- (function () {
9256
- (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AccordionModule, { declarations: [AccordionComponent,
9257
- AccordionPanelComponent,
9258
- PanelControlComponent], imports: [i1.RouterModule,
9259
- i1$1.CommonModule], exports: [AccordionComponent,
9260
- AccordionPanelComponent,
9261
- PanelControlComponent] });
9262
- })();
9263
- (function () {
9264
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionModule, [{
9265
- type: i0.NgModule,
9266
- args: [{
9267
- exports: [
9268
- AccordionComponent,
9269
- AccordionPanelComponent,
9270
- PanelControlComponent
9271
- ],
9272
- declarations: [
9273
- AccordionComponent,
9274
- AccordionPanelComponent,
9275
- PanelControlComponent
9276
- ],
9277
- imports: [
9278
- i1.RouterModule,
9279
- i1$1.CommonModule
9280
- ]
9281
- }]
9282
- }], null, null);
9283
- })();
9284
-
9285
9286
  var _c0$c = ["*"];
9286
9287
  var DropZoneComponent = /** @class */ (function (_super) {
9287
9288
  __extends(DropZoneComponent, _super);
@@ -11212,7 +11213,8 @@
11212
11213
  * Indicates that this alert is hidden
11213
11214
  */
11214
11215
  get: function () {
11215
- return !this.hasAlert || this.alert.hidden;
11216
+ var _a;
11217
+ return !!((_a = this.alert) === null || _a === void 0 ? void 0 : _a.hidden);
11216
11218
  },
11217
11219
  enumerable: false,
11218
11220
  configurable: true
@@ -12167,7 +12169,7 @@
12167
12169
  i0.ɵɵproperty("level", ctx_r0.dialogLevel)("showBackdrop", ctx_r0.showBackdrop)("allowBackgroundInteraction", ctx_r0.allowBackgroundInteraction);
12168
12170
  i0.ɵɵadvance(1);
12169
12171
  i0.ɵɵproperty("ngClass", ctx_r0.dialogClasses);
12170
- i0.ɵɵattribute("role", ctx_r0.dialogRole)("aria-hidden", !ctx_r0.visible)("aria-labelledby", ctx_r0.ariaLabel ? ctx_r0.idBag.ariaLabelSpan : null)("aria-describedby", ctx_r0.ariaDescription ? ctx_r0.idBag.ariaDescriptionSpan : null);
12172
+ i0.ɵɵattribute("role", ctx_r0.dialogRole)("aria-hidden", !ctx_r0.visible)("aria-labelledby", ctx_r0.ariaLabel ? ctx_r0.idBag.ariaLabelSpan : "sme-dialog-title")("aria-describedby", ctx_r0.ariaDescription ? ctx_r0.idBag.ariaDescriptionSpan : "sme-dialog-desc");
12171
12173
  i0.ɵɵadvance(1);
12172
12174
  i0.ɵɵproperty("ngIf", ctx_r0.closeButton);
12173
12175
  i0.ɵɵadvance(7);
@@ -15764,11 +15766,11 @@
15764
15766
  }
15765
15767
  var _c1$b = ["addButton"];
15766
15768
  var _c2$7 = ["type", "array"];
15767
- function ArrayFormFieldComponent_sme_accordion_panel_3_button_2_Template(rf, ctx) {
15769
+ function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template(rf, ctx) {
15768
15770
  if (rf & 1) {
15769
15771
  var _r9_1 = i0.ɵɵgetCurrentView();
15770
15772
  i0.ɵɵelementStart(0, "button", 13);
15771
- i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.moveUp(item_r2); });
15773
+ i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.moveUp(item_r2); });
15772
15774
  i0.ɵɵelement(1, "span", 14);
15773
15775
  i0.ɵɵelementEnd();
15774
15776
  }
@@ -15778,11 +15780,11 @@
15778
15780
  i0.ɵɵattribute("aria-label", ctx_r4.strings.MsftSmeShell.Angular.Form.Array.promoteButtonAriaLabel);
15779
15781
  }
15780
15782
  }
15781
- function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template(rf, ctx) {
15783
+ function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template(rf, ctx) {
15782
15784
  if (rf & 1) {
15783
15785
  var _r12_1 = i0.ɵɵgetCurrentView();
15784
15786
  i0.ɵɵelementStart(0, "button", 13);
15785
- i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.moveDown(item_r2); });
15787
+ i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.moveDown(item_r2); });
15786
15788
  i0.ɵɵelement(1, "span", 15);
15787
15789
  i0.ɵɵelementEnd();
15788
15790
  }
@@ -15792,11 +15794,11 @@
15792
15794
  i0.ɵɵattribute("aria-label", ctx_r5.strings.MsftSmeShell.Angular.Form.Array.demoteButtonAriaLabel);
15793
15795
  }
15794
15796
  }
15795
- function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template(rf, ctx) {
15797
+ function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template(rf, ctx) {
15796
15798
  if (rf & 1) {
15797
15799
  var _r15_1 = i0.ɵɵgetCurrentView();
15798
15800
  i0.ɵɵelementStart(0, "button", 13);
15799
- i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.delete(item_r2); });
15801
+ i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.delete(item_r2); });
15800
15802
  i0.ɵɵelement(1, "span", 16);
15801
15803
  i0.ɵɵelementEnd();
15802
15804
  }
@@ -15811,16 +15813,17 @@
15811
15813
  if (rf & 1) {
15812
15814
  i0.ɵɵelementStart(0, "sme-accordion-panel", 7);
15813
15815
  i0.ɵɵelementStart(1, "sme-panel-control");
15814
- i0.ɵɵtemplate(2, ArrayFormFieldComponent_sme_accordion_panel_3_button_2_Template, 2, 3, "button", 8);
15815
- i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template, 2, 3, "button", 8);
15816
- i0.ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button", 8);
15816
+ i0.ɵɵelementContainer(2, 8);
15817
+ i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template, 2, 3, "button", 9);
15818
+ i0.ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button", 9);
15819
+ i0.ɵɵtemplate(5, ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template, 2, 3, "button", 9);
15817
15820
  i0.ɵɵelementEnd();
15818
- i0.ɵɵelementStart(5, "span", 9);
15819
- i0.ɵɵtext(6);
15821
+ i0.ɵɵelementStart(6, "span", 10);
15822
+ i0.ɵɵtext(7);
15820
15823
  i0.ɵɵelementEnd();
15821
- i0.ɵɵelementStart(7, "fieldset", 10);
15822
- i0.ɵɵelementStart(8, "div", 11);
15823
- i0.ɵɵelementContainer(9, 12);
15824
+ i0.ɵɵelementStart(8, "fieldset", 11);
15825
+ i0.ɵɵelementStart(9, "div", 12);
15826
+ i0.ɵɵelementContainer(10, 8);
15824
15827
  i0.ɵɵelementEnd();
15825
15828
  i0.ɵɵelementEnd();
15826
15829
  i0.ɵɵelementEnd();
@@ -15831,6 +15834,8 @@
15831
15834
  var ctx_r0 = i0.ɵɵnextContext();
15832
15835
  i0.ɵɵproperty("header", ctx_r0.getItemTitle(item_r2, i_r3))("isExpandable", false);
15833
15836
  i0.ɵɵadvance(2);
15837
+ i0.ɵɵproperty("template", ctx_r0.headerTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(17, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "itemHeader")));
15838
+ i0.ɵɵadvance(1);
15834
15839
  i0.ɵɵproperty("ngIf", ctx_r0.showMove);
15835
15840
  i0.ɵɵadvance(1);
15836
15841
  i0.ɵɵproperty("ngIf", ctx_r0.showMove);
@@ -15846,7 +15851,7 @@
15846
15851
  i0.ɵɵadvance(1);
15847
15852
  i0.ɵɵproperty("id", ctx_r0.getItemAriaId(i_r3, "itemContainer"));
15848
15853
  i0.ɵɵadvance(1);
15849
- i0.ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(14, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "item")));
15854
+ i0.ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(20, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "item")));
15850
15855
  }
15851
15856
  }
15852
15857
  function ArrayFormFieldComponent_button_4_Template(rf, ctx) {
@@ -16111,6 +16116,8 @@
16111
16116
  switch (idName) {
16112
16117
  case 'item':
16113
16118
  return this.idBag['item'] + "-" + index;
16119
+ case 'itemHeader':
16120
+ return this.idBag['item'] + "-header-" + index;
16114
16121
  case 'itemContainer':
16115
16122
  return this.idBag['item'] + "-container-" + index;
16116
16123
  default: return null;
@@ -16191,12 +16198,12 @@
16191
16198
  if (rf & 2) {
16192
16199
  i0.ɵɵattribute("aria-label", ctx.ariaLabel);
16193
16200
  }
16194
- }, inputs: { adjustControlButtonLocation: "adjustControlButtonLocation", newItem: "newItem", showAdd: "showAdd", showRemove: "showRemove", showMove: "showMove", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny", canOpenMultiple: "canOpenMultiple", maxItems: "maxItems", addButtonText: "addButtonText", itemTitle: "itemTitle" }, outputs: { askForNewItem: "askForNewItem", askForItemHeader: "askForItemHeader", askForRemoveEvaluator: "askForRemoveEvaluator" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c2$7, decls: 8, vars: 8, consts: [[3, "formField"], [1, "sme-array"], [3, "canCloseAny", "canCloseAll", "canOpenMultiple"], [3, "header", "isExpandable", 4, "ngFor", "ngForOf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-icon sme-icon-add sme-margin-bottom-xs", 3, "smeDisabled", "title", "click", 4, "ngIf"], [3, "alert"], ["aria-live", "assertive", "aria-relevant", "all", 1, "sme-screen-reader"], [3, "header", "isExpandable"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-arrange-stack-h", "sme-margin-bottom-lg", "sme-array-item"], [1, "sme-position-flex-auto", "sme-padding-inset-md", 3, "id"], ["smeTemplateOutlet", "", "hostDataName", "context", 3, "template", "data", "hostData"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-form-field-height", "sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-up"], [1, "sme-icon", "sme-icon-down"], [1, "sme-icon", "sme-icon-delete", "sme-color-red"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-icon", "sme-icon-add", "sme-margin-bottom-xs", 3, "smeDisabled", "title", "click"], ["addButton", ""]], template: function ArrayFormFieldComponent_Template(rf, ctx) {
16201
+ }, inputs: { adjustControlButtonLocation: "adjustControlButtonLocation", newItem: "newItem", showAdd: "showAdd", showRemove: "showRemove", showMove: "showMove", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny", canOpenMultiple: "canOpenMultiple", maxItems: "maxItems", addButtonText: "addButtonText", headerTemplate: "headerTemplate", itemTitle: "itemTitle" }, outputs: { askForNewItem: "askForNewItem", askForItemHeader: "askForItemHeader", askForRemoveEvaluator: "askForRemoveEvaluator" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c2$7, decls: 8, vars: 8, consts: [[3, "formField"], [1, "sme-array"], [3, "canCloseAny", "canCloseAll", "canOpenMultiple"], [3, "header", "isExpandable", 4, "ngFor", "ngForOf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-icon sme-icon-add sme-margin-bottom-xs", 3, "smeDisabled", "title", "click", 4, "ngIf"], [3, "alert"], ["aria-live", "assertive", "aria-relevant", "all", 1, "sme-screen-reader"], [3, "header", "isExpandable"], ["smeTemplateOutlet", "", "hostDataName", "context", 3, "template", "data", "hostData"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-arrange-stack-h", "sme-margin-bottom-lg", "sme-array-item"], [1, "sme-position-flex-auto", "sme-padding-inset-md", 3, "id"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-form-field-height", "sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-up"], [1, "sme-icon", "sme-icon-down"], [1, "sme-icon", "sme-icon-delete", "sme-color-red"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-icon", "sme-icon-add", "sme-margin-bottom-xs", 3, "smeDisabled", "title", "click"], ["addButton", ""]], template: function ArrayFormFieldComponent_Template(rf, ctx) {
16195
16202
  if (rf & 1) {
16196
16203
  i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
16197
16204
  i0.ɵɵelementStart(1, "div", 1);
16198
16205
  i0.ɵɵelementStart(2, "sme-accordion", 2);
16199
- i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 10, 17, "sme-accordion-panel", 3);
16206
+ i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 11, 23, "sme-accordion-panel", 3);
16200
16207
  i0.ɵɵelementEnd();
16201
16208
  i0.ɵɵtemplate(4, ArrayFormFieldComponent_button_4_Template, 3, 4, "button", 4);
16202
16209
  i0.ɵɵelementEnd();
@@ -16219,7 +16226,7 @@
16219
16226
  i0.ɵɵadvance(2);
16220
16227
  i0.ɵɵtextInterpolate(ctx.screenReaderEvent);
16221
16228
  }
16222
- }, directives: [FormFieldLayoutComponent, AccordionComponent, i1$1.NgForOf, i1$1.NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent, FieldsetDirective, TemplateOutletDirective, TooltipDirective, DisabledDirective], encapsulation: 2 });
16229
+ }, directives: [FormFieldLayoutComponent, AccordionComponent, i1$1.NgForOf, i1$1.NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent, TemplateOutletDirective, FieldsetDirective, TooltipDirective, DisabledDirective], encapsulation: 2 });
16223
16230
  exports.ArrayFormFieldComponent = __decorate([
16224
16231
  SmeSchemaProperty({
16225
16232
  type: exports.SchemaPrimitiveType.Array,
@@ -16266,6 +16273,8 @@
16266
16273
  type: i0.Input
16267
16274
  }], addButtonText: [{
16268
16275
  type: i0.Input
16276
+ }], headerTemplate: [{
16277
+ type: i0.Input
16269
16278
  }], itemTitle: [{
16270
16279
  type: i0.Input
16271
16280
  }], ariaLabel: [{
@@ -21221,7 +21230,8 @@
21221
21230
  alerts['invalidDateRange'] = alert;
21222
21231
  }
21223
21232
  else {
21224
- if (!this.endFormField.ngModel.valid && this.startFormField.ngModel.control.errors) {
21233
+ if ((this.endFormField && !this.endFormField.ngModel.valid) &&
21234
+ (this.startFormField && this.startFormField.ngModel.control.errors)) {
21225
21235
  this.endFormField.ngModel.control.setErrors(null);
21226
21236
  }
21227
21237
  }
@@ -21232,7 +21242,7 @@
21232
21242
  alerts['invalidDateRange'] = alert;
21233
21243
  }
21234
21244
  else {
21235
- if (!this.startFormField.ngModel.valid && this.startFormField.ngModel.control.errors) {
21245
+ if (this.startFormField && !this.startFormField.ngModel.valid && this.startFormField.ngModel.control.errors) {
21236
21246
  this.startFormField.ngModel.control.setErrors(null);
21237
21247
  }
21238
21248
  }
@@ -27281,7 +27291,7 @@
27281
27291
  i0.ɵɵelementEnd();
27282
27292
  }
27283
27293
  if (rf & 2) {
27284
- i0.ɵɵproperty("visibleToScreenReader", false)("showResizerCover", false);
27294
+ i0.ɵɵproperty("visibleToScreenReader", true)("showResizerCover", false);
27285
27295
  }
27286
27296
  }
27287
27297
  var _c13 = function (a0) { return { "width": a0 }; };
@@ -28149,7 +28159,7 @@
28149
28159
  i0.ɵɵelementEnd();
28150
28160
  }
28151
28161
  if (rf & 2) {
28152
- i0.ɵɵproperty("visibleToScreenReader", false)("showResizerCover", false);
28162
+ i0.ɵɵproperty("visibleToScreenReader", true)("showResizerCover", false);
28153
28163
  }
28154
28164
  }
28155
28165
  function TreeTableComponent_div_7_Template(rf, ctx) {
@@ -32714,7 +32724,7 @@
32714
32724
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastFocusableShadowElement = _t.first);
32715
32725
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dataTableTemplateLoaderComponents = _t);
32716
32726
  }
32717
- }, inputs: { isBusy: "isBusy", enableRightClickSelect: "enableRightClickSelect", loadingMessage: "loadingMessage", noRecordMessage: "noRecordMessage", editable: "editable", expandTreeNodeOnChecked: "expandTreeNodeOnChecked", isAllEditableRowsVisible: "isAllEditableRowsVisible", scrollableHorizontal: "scrollableHorizontal", lazyLoad: "lazyLoad", rememberTreeNodeToggle: "rememberTreeNodeToggle", rememberSelection: "rememberSelection", preventEnterKeyForDefaultAction: "preventEnterKeyForDefaultAction", getItemIdentityFunction: "getItemIdentityFunction", disableNaturalSort: "disableNaturalSort", shouldScrollToSelectionAfterSorting: "shouldScrollToSelectionAfterSorting", globalFilter: "globalFilter", caseSensitiveFilter: "caseSensitiveFilter", showAsTree: "showAsTree", editableNewDataItem: "editableNewDataItem", items: "items", selection: "selection", selectionMode: "selectionMode", defaultSortColumn: "defaultSortColumn", defaultSortMode: "defaultSortMode", groupColumn: "groupColumn", groupSortMode: "groupSortMode", useGroupToggle: "useGroupToggle", showHeader: "showHeader", tableAriaLabelledBy: "tableAriaLabelledBy", tableAriaLabel: "tableAriaLabel", showGrid: "showGrid", showAllItemCheckbox: "showAllItemCheckbox", selectAndCheck: "selectAndCheck", rowHeight: "rowHeight", linkParentChildrenSelections: "linkParentChildrenSelections", selectItemWhenNavigatingWithKeyboard: "selectItemWhenNavigatingWithKeyboard", showLeftMargin: "showLeftMargin", scrollable: "scrollable", disableUIVirtualization: "disableUIVirtualization", selectable: "selectable", editableAutoNewRow: "editableAutoNewRow", defaultGroupToggleExpanded: "defaultGroupToggleExpanded", autoRowHeight: "autoRowHeight", virtualCount: "virtualCount" }, outputs: { onChangesetUpdated: "onChangesetUpdated", changesetUpdated: "changesetUpdated", selectionChange: "selectionChange", onRowDblclick: "onRowDblclick", rowDblclick: "rowDblclick", onGroupToggleClicked: "onGroupToggleClicked", groupToggleClick: "groupToggleClick", onNewEditableRowAdded: "onNewEditableRowAdded", editableRowAdded: "editableRowAdded", renderedItemsChange: "renderedItemsChange", lazyLoadingData: "lazyLoadingData", onNodeExpand: "onNodeExpand", nodeExpanded: "nodeExpanded", onNodeCollapsed: "onNodeCollapsed", nodeCollapsed: "nodeCollapsed", onNodeSelect: "onNodeSelect", nodeSelected: "nodeSelected", itemsChange: "itemsChange", onFilter: "onFilter", filter: "filter", doCustomSort: "doCustomSort", onRowSelect: "onRowSelect", rowSelected: "rowSelected", onRowUnselect: "onRowUnselect", rowUnselected: "rowUnselected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function DataTableComponent_Template(rf, ctx) {
32727
+ }, inputs: { isBusy: "isBusy", enableRightClickSelect: "enableRightClickSelect", loadingMessage: "loadingMessage", noRecordMessage: "noRecordMessage", editable: "editable", expandTreeNodeOnChecked: "expandTreeNodeOnChecked", isAllEditableRowsVisible: "isAllEditableRowsVisible", scrollableHorizontal: "scrollableHorizontal", lazyLoad: "lazyLoad", rememberTreeNodeToggle: "rememberTreeNodeToggle", rememberSelection: "rememberSelection", preventEnterKeyForDefaultAction: "preventEnterKeyForDefaultAction", getItemIdentityFunction: "getItemIdentityFunction", disableNaturalSort: "disableNaturalSort", shouldScrollToSelectionAfterSorting: "shouldScrollToSelectionAfterSorting", globalFilter: "globalFilter", caseSensitiveFilter: "caseSensitiveFilter", showAsTree: "showAsTree", editableNewDataItem: "editableNewDataItem", items: "items", selection: "selection", selectionMode: "selectionMode", defaultSortColumn: "defaultSortColumn", defaultSortMode: "defaultSortMode", groupColumn: "groupColumn", groupSortMode: "groupSortMode", useGroupToggle: "useGroupToggle", showHeader: "showHeader", tableAriaLabelledBy: "tableAriaLabelledBy", tableAriaLabel: "tableAriaLabel", showGrid: "showGrid", showAllItemCheckbox: "showAllItemCheckbox", selectAndCheck: "selectAndCheck", rowHeight: "rowHeight", linkParentChildrenSelections: "linkParentChildrenSelections", selectItemWhenNavigatingWithKeyboard: "selectItemWhenNavigatingWithKeyboard", showLeftMargin: "showLeftMargin", scrollable: "scrollable", disableUIVirtualization: "disableUIVirtualization", selectable: "selectable", editableAutoNewRow: "editableAutoNewRow", defaultGroupToggleExpanded: "defaultGroupToggleExpanded", autoRowHeight: "autoRowHeight", virtualCount: "virtualCount" }, outputs: { onChangesetUpdated: "onChangesetUpdated", changesetUpdated: "changesetUpdated", selectionChange: "selectionChange", onRowDblclick: "onRowDblclick", rowDblclick: "rowDblclick", onGroupToggleClicked: "onGroupToggleClicked", groupToggleClick: "groupToggleClick", onNewEditableRowAdded: "onNewEditableRowAdded", editableRowAdded: "editableRowAdded", renderedItemsChange: "renderedItemsChange", lazyLoadingData: "lazyLoadingData", onNodeExpand: "onNodeExpand", nodeExpanded: "nodeExpanded", onNodeCollapsed: "onNodeCollapsed", nodeCollapsed: "nodeCollapsed", onNodeSelect: "onNodeSelect", nodeSelected: "nodeSelected", itemsChange: "itemsChange", onFilter: "onFilter", filter: "filter", doCustomSort: "doCustomSort", onRowSelect: "onRowSelect", rowSelected: "rowSelected", onRowUnselect: "onRowUnselect", rowUnselected: "rowUnselected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", "class", "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", 1, "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function DataTableComponent_Template(rf, ctx) {
32718
32728
  if (rf & 1) {
32719
32729
  i0.ɵɵelementStart(0, "div", 0, 1);
32720
32730
  i0.ɵɵelementStart(2, "div", 2, 3);
@@ -33034,7 +33044,7 @@
33034
33044
  return TreeTableComponent;
33035
33045
  }(DataTableComponent));
33036
33046
  /** @nocollapse */ TreeTableComponent.ɵfac = function TreeTableComponent_Factory(t) { return new (t || TreeTableComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
33037
- /** @nocollapse */ TreeTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TreeTableComponent, selectors: [["sme-tree-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function TreeTableComponent_Template(rf, ctx) {
33047
+ /** @nocollapse */ TreeTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TreeTableComponent, selectors: [["sme-tree-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", "class", "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", 1, "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function TreeTableComponent_Template(rf, ctx) {
33038
33048
  if (rf & 1) {
33039
33049
  i0.ɵɵelementStart(0, "div", 0, 1);
33040
33050
  i0.ɵɵelementStart(2, "div", 2, 3);
@@ -33814,7 +33824,6 @@
33814
33824
  * @param tab The tab to select
33815
33825
  */
33816
33826
  PivotComponent.prototype.select = function (tab) {
33817
- var _this = this;
33818
33827
  /** At any given time we should have an attribute that lets us know if a tab is visible or not.
33819
33828
  *
33820
33829
  *
@@ -33834,14 +33843,14 @@
33834
33843
  this.selection = tab;
33835
33844
  this.selectionChange.emit(tab);
33836
33845
  this.changeDetectorRef.detectChanges();
33837
- setTimeout(function () {
33838
- _this.layoutChanged.emit();
33839
- });
33846
+ this.emitLayoutChanged();
33840
33847
  }
33841
33848
  };
33849
+ PivotComponent.prototype.emitLayoutChanged = function () {
33850
+ this.layoutChanged.emit();
33851
+ };
33842
33852
  PivotComponent.prototype.onLayoutChanged = function () {
33843
- var _this = this;
33844
- setTimeout(function () { _this.updatePivotTabs(); }, 0);
33853
+ this.updatePivotTabs();
33845
33854
  };
33846
33855
  PivotComponent.prototype.getTabPanelIndex = function (id, currentTab) {
33847
33856
  var tabPanelSection = document.getElementById(id);
@@ -33905,9 +33914,7 @@
33905
33914
  currentFill += tabWidth;
33906
33915
  }
33907
33916
  }
33908
- };
33909
- PivotComponent.prototype.tabWidthChanged = function (pivotTab) {
33910
- this.updatePivotTabs();
33917
+ this.emitLayoutChanged();
33911
33918
  };
33912
33919
  return PivotComponent;
33913
33920
  }(CoreBaseComponent));
@@ -33991,6 +33998,18 @@
33991
33998
  SmeInject(i0.ChangeDetectorRef),
33992
33999
  __metadata("design:type", i0.ChangeDetectorRef)
33993
34000
  ], PivotComponent.prototype, "changeDetectorRef", void 0);
34001
+ __decorate([
34002
+ debounce_decorators.Debounce(),
34003
+ __metadata("design:type", Function),
34004
+ __metadata("design:paramtypes", []),
34005
+ __metadata("design:returntype", void 0)
34006
+ ], PivotComponent.prototype, "emitLayoutChanged", null);
34007
+ __decorate([
34008
+ debounce_decorators.Debounce(0),
34009
+ __metadata("design:type", Function),
34010
+ __metadata("design:paramtypes", []),
34011
+ __metadata("design:returntype", void 0)
34012
+ ], PivotComponent.prototype, "onLayoutChanged", null);
33994
34013
  (function () {
33995
34014
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PivotComponent, [{
33996
34015
  type: i0.Component,
@@ -34041,7 +34060,7 @@
34041
34060
  }], changeDetectorRef: [], dropDownButtonElement: [{
34042
34061
  type: i0.ViewChild,
34043
34062
  args: ['dropDownButton']
34044
- }] });
34063
+ }], emitLayoutChanged: [], onLayoutChanged: [] });
34045
34064
  })();
34046
34065
 
34047
34066
  var PivotModule = /** @class */ (function () {
@@ -50418,8 +50437,8 @@
50418
50437
 
50419
50438
  function SettingsComponent_div_1_Template(rf, ctx) {
50420
50439
  if (rf & 1) {
50421
- i0.ɵɵelementStart(0, "div", 4);
50422
- i0.ɵɵelementStart(1, "h2", 5);
50440
+ i0.ɵɵelementStart(0, "div", 8);
50441
+ i0.ɵɵelementStart(1, "h2", 9);
50423
50442
  i0.ɵɵtext(2);
50424
50443
  i0.ɵɵelementEnd();
50425
50444
  i0.ɵɵelementEnd();
@@ -50514,20 +50533,38 @@
50514
50533
  'sme-settings'
50515
50534
  ]);
50516
50535
  };
50536
+ SettingsComponent.prototype.isPaddingRequired = function () {
50537
+ if (this.layoutComponent && this.layoutComponent.currentLayoutDefinition) {
50538
+ return this.addPadding = this.layoutComponent.currentLayoutDefinition.name === 'narrow';
50539
+ }
50540
+ };
50517
50541
  return SettingsComponent;
50518
50542
  }(CoreBaseComponent));
50519
50543
  /** @nocollapse */ SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
50520
- /** @nocollapse */ SettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["sme-settings"]], inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$O, decls: 8, vars: 1, consts: [[1, "sme-arrange-stack-v", "sme-layout-absolute", "sme-position-inset-none", "sme-layout-responsive-zone-md"], ["class", " sme-layout-tool-header sme-position-flex-none sme-arrange-ellipsis", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-arrange-stack-h"], [1, "sme-position-flex-auto", "sme-arrange-stack-v"], [1, "sme-layout-tool-header", "sme-position-flex-none", "sme-arrange-ellipsis"], [1, "sme-font-h3", 3, "title"]], template: function SettingsComponent_Template(rf, ctx) {
50544
+ /** @nocollapse */ SettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["sme-settings"]], viewQuery: function SettingsComponent_Query(rf, ctx) {
50545
+ if (rf & 1) {
50546
+ i0.ɵɵviewQuery(LayoutComponent, 1);
50547
+ }
50548
+ if (rf & 2) {
50549
+ var _t = void 0;
50550
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.layoutComponent = _t.first);
50551
+ }
50552
+ }, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$O, decls: 12, vars: 8, consts: [[1, "sme-arrange-stack-v", "sme-layout-relative", "sme-arrange-overflow-auto-y", "sme-position-stretch"], ["class", " sme-layout-tool-header sme-position-flex-none sme-arrange-ellipsis", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-arrange-overflow-auto", 3, "padLastItem", "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan"], [3, "columnSpan", "ngClass"], [1, "sme-layout-tool-header", "sme-position-flex-none", "sme-arrange-ellipsis"], [1, "sme-font-h3", 3, "title"]], template: function SettingsComponent_Template(rf, ctx) {
50521
50553
  if (rf & 1) {
50522
50554
  i0.ɵɵprojectionDef(_c0$1u);
50523
50555
  i0.ɵɵelementStart(0, "div", 0);
50524
50556
  i0.ɵɵtemplate(1, SettingsComponent_div_1_Template, 3, 3, "div", 1);
50525
- i0.ɵɵelementStart(2, "div", 2);
50526
- i0.ɵɵprojection(3);
50527
- i0.ɵɵelementStart(4, "div", 3);
50528
- i0.ɵɵprojection(5, 1);
50529
- i0.ɵɵprojection(6, 2);
50530
- i0.ɵɵprojection(7, 3);
50557
+ i0.ɵɵelementStart(2, "sme-layout", 2, 3);
50558
+ i0.ɵɵlistener("layoutChanged", function SettingsComponent_Template_sme_layout_layoutChanged_2_listener() { return ctx.isPaddingRequired(); });
50559
+ i0.ɵɵelement(4, "sme-layout-definition", 4);
50560
+ i0.ɵɵelement(5, "sme-layout-definition", 5);
50561
+ i0.ɵɵelementStart(6, "sme-layout-item", 6);
50562
+ i0.ɵɵprojection(7);
50563
+ i0.ɵɵelementEnd();
50564
+ i0.ɵɵelementStart(8, "sme-layout-item", 7);
50565
+ i0.ɵɵprojection(9, 1);
50566
+ i0.ɵɵprojection(10, 2);
50567
+ i0.ɵɵprojection(11, 3);
50531
50568
  i0.ɵɵelementEnd();
50532
50569
  i0.ɵɵelementEnd();
50533
50570
  i0.ɵɵelementEnd();
@@ -50535,8 +50572,18 @@
50535
50572
  if (rf & 2) {
50536
50573
  i0.ɵɵadvance(1);
50537
50574
  i0.ɵɵproperty("ngIf", ctx.settingsTitle);
50575
+ i0.ɵɵadvance(1);
50576
+ i0.ɵɵproperty("padLastItem", false);
50577
+ i0.ɵɵadvance(2);
50578
+ i0.ɵɵproperty("until", 800)("columns", 1);
50579
+ i0.ɵɵadvance(1);
50580
+ i0.ɵɵproperty("columns", 4);
50581
+ i0.ɵɵadvance(1);
50582
+ i0.ɵɵproperty("columnSpan", 1);
50583
+ i0.ɵɵadvance(2);
50584
+ i0.ɵɵproperty("columnSpan", 3)("ngClass", ctx.addPadding ? "sme-position-stretch sme-padding-left-xl" : "sme-position-stretch");
50538
50585
  }
50539
- }, directives: [i1$1.NgIf, TooltipDirective], encapsulation: 2 });
50586
+ }, directives: [i1$1.NgIf, LayoutComponent, LayoutDefinitionComponent, LayoutItemComponent, i1$1.NgClass, TooltipDirective], encapsulation: 2 });
50540
50587
  __decorate([
50541
50588
  SmeInject(SettingsFormService),
50542
50589
  __metadata("design:type", SettingsFormService)
@@ -50556,6 +50603,9 @@
50556
50603
  type: i0.Input
50557
50604
  }], settingsTitle: [{
50558
50605
  type: i0.Input
50606
+ }], layoutComponent: [{
50607
+ type: i0.ViewChild,
50608
+ args: [LayoutComponent]
50559
50609
  }], settingsForms: [], dialogService: [] });
50560
50610
  })();
50561
50611
 
@@ -50591,8 +50641,8 @@
50591
50641
 
50592
50642
  function CommonSettingsComponent_header_2_Template(rf, ctx) {
50593
50643
  if (rf & 1) {
50594
- i0.ɵɵelementStart(0, "header", 6);
50595
- i0.ɵɵelementStart(1, "h2", 7);
50644
+ i0.ɵɵelementStart(0, "header", 7);
50645
+ i0.ɵɵelementStart(1, "h2", 8);
50596
50646
  i0.ɵɵtext(2);
50597
50647
  i0.ɵɵelementEnd();
50598
50648
  i0.ɵɵelementEnd();
@@ -50605,9 +50655,9 @@
50605
50655
  i0.ɵɵtextInterpolate(ctx_r0.settingsTitle);
50606
50656
  }
50607
50657
  }
50608
- function CommonSettingsComponent_li_5_h3_1_Template(rf, ctx) {
50658
+ function CommonSettingsComponent_li_6_h3_1_Template(rf, ctx) {
50609
50659
  if (rf & 1) {
50610
- i0.ɵɵelementStart(0, "h3", 11);
50660
+ i0.ɵɵelementStart(0, "h3", 12);
50611
50661
  i0.ɵɵtext(1);
50612
50662
  i0.ɵɵelementEnd();
50613
50663
  }
@@ -50621,12 +50671,12 @@
50621
50671
  i0.ɵɵtextInterpolate(group_r4.group);
50622
50672
  }
50623
50673
  }
50624
- function CommonSettingsComponent_li_5_a_2_Template(rf, ctx) {
50674
+ function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) {
50625
50675
  if (rf & 1) {
50626
- i0.ɵɵelementStart(0, "a", 12);
50627
- i0.ɵɵelement(1, "div", 13);
50628
- i0.ɵɵelementStart(2, "div", 14);
50629
- i0.ɵɵelementStart(3, "span", 15);
50676
+ i0.ɵɵelementStart(0, "a", 13);
50677
+ i0.ɵɵelement(1, "div", 14);
50678
+ i0.ɵɵelementStart(2, "div", 15);
50679
+ i0.ɵɵelementStart(3, "span", 16);
50630
50680
  i0.ɵɵtext(4);
50631
50681
  i0.ɵɵelementEnd();
50632
50682
  i0.ɵɵelementEnd();
@@ -50649,11 +50699,11 @@
50649
50699
  i0.ɵɵtextInterpolate(setting_r9.label);
50650
50700
  }
50651
50701
  }
50652
- function CommonSettingsComponent_li_5_Template(rf, ctx) {
50702
+ function CommonSettingsComponent_li_6_Template(rf, ctx) {
50653
50703
  if (rf & 1) {
50654
- i0.ɵɵelementStart(0, "li", 8);
50655
- i0.ɵɵtemplate(1, CommonSettingsComponent_li_5_h3_1_Template, 2, 3, "h3", 9);
50656
- i0.ɵɵtemplate(2, CommonSettingsComponent_li_5_a_2_Template, 5, 19, "a", 10);
50704
+ i0.ɵɵelementStart(0, "li", 9);
50705
+ i0.ɵɵtemplate(1, CommonSettingsComponent_li_6_h3_1_Template, 2, 3, "h3", 10);
50706
+ i0.ɵɵtemplate(2, CommonSettingsComponent_li_6_a_2_Template, 5, 19, "a", 11);
50657
50707
  i0.ɵɵelementEnd();
50658
50708
  }
50659
50709
  if (rf & 2) {
@@ -50665,18 +50715,18 @@
50665
50715
  i0.ɵɵproperty("ngForOf", group_r4.options);
50666
50716
  }
50667
50717
  }
50668
- function CommonSettingsComponent_div_6_div_1_Template(rf, ctx) {
50718
+ function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) {
50669
50719
  if (rf & 1) {
50670
50720
  var _r15_1 = i0.ɵɵgetCurrentView();
50671
- i0.ɵɵelementStart(0, "div", 17);
50672
- i0.ɵɵlistener("click", function CommonSettingsComponent_div_6_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var layer_r13 = ctx.$implicit; var ctx_r14 = i0.ɵɵnextContext(2); return ctx_r14.onOverlayClick(layer_r13); });
50721
+ i0.ɵɵelementStart(0, "div", 18);
50722
+ i0.ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var layer_r13 = ctx.$implicit; var ctx_r14 = i0.ɵɵnextContext(2); return ctx_r14.onOverlayClick(layer_r13); });
50673
50723
  i0.ɵɵelementEnd();
50674
50724
  }
50675
50725
  }
50676
- function CommonSettingsComponent_div_6_Template(rf, ctx) {
50726
+ function CommonSettingsComponent_div_7_Template(rf, ctx) {
50677
50727
  if (rf & 1) {
50678
50728
  i0.ɵɵelementStart(0, "div");
50679
- i0.ɵɵtemplate(1, CommonSettingsComponent_div_6_div_1_Template, 1, 0, "div", 16);
50729
+ i0.ɵɵtemplate(1, CommonSettingsComponent_div_7_div_1_Template, 1, 0, "div", 17);
50680
50730
  i0.ɵɵelementEnd();
50681
50731
  }
50682
50732
  if (rf & 2) {
@@ -50685,9 +50735,9 @@
50685
50735
  i0.ɵɵproperty("ngForOf", ctx_r2.layers);
50686
50736
  }
50687
50737
  }
50688
- function CommonSettingsComponent_sme_settings_header_7_h3_1_Template(rf, ctx) {
50738
+ function CommonSettingsComponent_sme_settings_header_8_h3_1_Template(rf, ctx) {
50689
50739
  if (rf & 1) {
50690
- i0.ɵɵelementStart(0, "h3", 19);
50740
+ i0.ɵɵelementStart(0, "h3", 20);
50691
50741
  i0.ɵɵtext(1);
50692
50742
  i0.ɵɵelementEnd();
50693
50743
  }
@@ -50695,13 +50745,13 @@
50695
50745
  var ctx_r16 = i0.ɵɵnextContext(2);
50696
50746
  i0.ɵɵattribute("aria-label", ctx_r16.selectedSettingTitle);
50697
50747
  i0.ɵɵadvance(1);
50698
- i0.ɵɵtextInterpolate(ctx_r16.selectedSettingTitle);
50748
+ i0.ɵɵtextInterpolate1(" ", ctx_r16.selectedSettingTitle, "");
50699
50749
  }
50700
50750
  }
50701
- function CommonSettingsComponent_sme_settings_header_7_Template(rf, ctx) {
50751
+ function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) {
50702
50752
  if (rf & 1) {
50703
50753
  i0.ɵɵelementStart(0, "sme-settings-header");
50704
- i0.ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_7_h3_1_Template, 2, 2, "h3", 18);
50754
+ i0.ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_8_h3_1_Template, 2, 2, "h3", 19);
50705
50755
  i0.ɵɵelementEnd();
50706
50756
  }
50707
50757
  if (rf & 2) {
@@ -50991,25 +51041,27 @@
50991
51041
  var _t = void 0;
50992
51042
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
50993
51043
  }
50994
- }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1v, decls: 12, vars: 5, consts: [[3, "settingsTitle"], ["class", "sme-layout-tool-header", 4, "ngIf"], ["role", "tablist", 1, "sme-padding-horizontal-lg", "sme-arrange-stack-v", "sme-focus-zone"], ["role", "presentation", 1, "sme-position-flex-auto", "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-overflow-auto-y"], ["class", "sme-margin-inset-none", "role", "presentation", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "sme-layout-tool-header"], [1, "sme-position-flex-none", "sme-font-h3"], ["role", "presentation", 1, "sme-margin-inset-none"], ["class", "sme-margin-top-xs sme-font-h5", 3, "id", "title", 4, "ngIf"], ["class", "sme-padding-squish-v-sm sme-arrange-stack-h sme-scheme-nav-item", "role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", 4, "ngFor", "ngForOf"], [1, "sme-margin-top-xs", "sme-font-h5", 3, "id", "title"], ["role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 1, "sme-padding-squish-v-sm", "sme-arrange-stack-h", "sme-scheme-nav-item", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title"], [1, "sme-icon", "sme-margin-right-xs", 3, "ngClass"], [1, "sme-position-flex-auto"], [3, "id"], ["class", "sme-layout-absolute sme-position-inset-none sme-layer-above sme-scheme-backdrop-opaque", 3, "click", 4, "ngFor", "ngForOf"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-layer-above", "sme-scheme-backdrop-opaque", 3, "click"], ["id", "sme-shell-setting-selectedTitle", 4, "ngIf"], ["id", "sme-shell-setting-selectedTitle"]], template: function CommonSettingsComponent_Template(rf, ctx) {
51044
+ }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1v, decls: 13, vars: 6, consts: [[3, "settingsTitle"], ["class", "sme-layout-tool-header", 4, "ngIf"], ["role", "region"], ["role", "tablist", 1, "sme-padding-horizontal-lg", "sme-arrange-stack-v", "sme-focus-zone"], ["role", "presentation", 1, "sme-position-flex-auto", "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-overflow-auto-y"], ["class", "sme-margin-inset-none", "role", "presentation", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "sme-layout-tool-header"], [1, "sme-position-flex-none", "sme-font-h3"], ["role", "presentation", 1, "sme-margin-inset-none"], ["class", "sme-margin-top-xs sme-font-h5", 3, "id", "title", 4, "ngIf"], ["class", "sme-padding-squish-v-sm sme-arrange-stack-h sme-scheme-nav-item", "role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", 4, "ngFor", "ngForOf"], [1, "sme-margin-top-xs", "sme-font-h5", 3, "id", "title"], ["role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 1, "sme-padding-squish-v-sm", "sme-arrange-stack-h", "sme-scheme-nav-item", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title"], [1, "sme-icon", "sme-margin-right-xs", 3, "ngClass"], [1, "sme-position-flex-auto"], [3, "id"], ["class", "sme-layout-absolute sme-position-inset-none sme-layer-above sme-scheme-backdrop-opaque", 3, "click", 4, "ngFor", "ngForOf"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-layer-above", "sme-scheme-backdrop-opaque", 3, "click"], ["id", "sme-shell-setting-selectedTitle", 4, "ngIf"], ["id", "sme-shell-setting-selectedTitle"]], template: function CommonSettingsComponent_Template(rf, ctx) {
50995
51045
  if (rf & 1) {
50996
51046
  i0.ɵɵprojectionDef();
50997
51047
  i0.ɵɵelementStart(0, "sme-settings", 0);
50998
51048
  i0.ɵɵelementStart(1, "sme-settings-navigation");
50999
51049
  i0.ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header", 1);
51000
- i0.ɵɵelementStart(3, "nav", 2);
51001
- i0.ɵɵelementStart(4, "ul", 3);
51002
- i0.ɵɵtemplate(5, CommonSettingsComponent_li_5_Template, 3, 2, "li", 4);
51050
+ i0.ɵɵelementStart(3, "div", 2);
51051
+ i0.ɵɵelementStart(4, "nav", 3);
51052
+ i0.ɵɵelementStart(5, "ul", 4);
51053
+ i0.ɵɵtemplate(6, CommonSettingsComponent_li_6_Template, 3, 2, "li", 5);
51003
51054
  i0.ɵɵelementEnd();
51004
51055
  i0.ɵɵelementEnd();
51005
- i0.ɵɵtemplate(6, CommonSettingsComponent_div_6_Template, 2, 1, "div", 5);
51006
51056
  i0.ɵɵelementEnd();
51007
- i0.ɵɵtemplate(7, CommonSettingsComponent_sme_settings_header_7_Template, 2, 1, "sme-settings-header", 5);
51008
- i0.ɵɵelementStart(8, "sme-settings-content");
51009
- i0.ɵɵelement(9, "router-outlet");
51057
+ i0.ɵɵtemplate(7, CommonSettingsComponent_div_7_Template, 2, 1, "div", 6);
51010
51058
  i0.ɵɵelementEnd();
51011
- i0.ɵɵelementStart(10, "sme-settings-footer");
51012
- i0.ɵɵprojection(11);
51059
+ i0.ɵɵtemplate(8, CommonSettingsComponent_sme_settings_header_8_Template, 2, 1, "sme-settings-header", 6);
51060
+ i0.ɵɵelementStart(9, "sme-settings-content");
51061
+ i0.ɵɵelement(10, "router-outlet");
51062
+ i0.ɵɵelementEnd();
51063
+ i0.ɵɵelementStart(11, "sme-settings-footer");
51064
+ i0.ɵɵprojection(12);
51013
51065
  i0.ɵɵelementEnd();
51014
51066
  i0.ɵɵelementEnd();
51015
51067
  }
@@ -51017,6 +51069,8 @@
51017
51069
  i0.ɵɵproperty("settingsTitle", ctx.hackToolHeader ? "" : ctx.settingsTitle);
51018
51070
  i0.ɵɵadvance(2);
51019
51071
  i0.ɵɵproperty("ngIf", ctx.hackToolHeader);
51072
+ i0.ɵɵadvance(1);
51073
+ i0.ɵɵattribute("aria-label", ctx.settingsTitle);
51020
51074
  i0.ɵɵadvance(3);
51021
51075
  i0.ɵɵproperty("ngForOf", ctx.groupTools);
51022
51076
  i0.ɵɵadvance(1);
@@ -51133,7 +51187,8 @@
51133
51187
  */
51134
51188
  SettingsContentComponent.prototype.getInitialHostClasses = function () {
51135
51189
  return _super.prototype.getInitialHostClasses.call(this).concat([
51136
- 'sme-settings-content'
51190
+ 'sme-settings-content',
51191
+ 'sme-position-stretch'
51137
51192
  ]);
51138
51193
  };
51139
51194
  return SettingsContentComponent;
@@ -51365,6 +51420,7 @@
51365
51420
  i1.RouterModule,
51366
51421
  i1$1.CommonModule,
51367
51422
  HeaderModule,
51423
+ LayoutModule,
51368
51424
  TooltipModule
51369
51425
  ]] });
51370
51426
  (function () {
@@ -51378,6 +51434,7 @@
51378
51434
  CommonSettingsComponent], imports: [i1.RouterModule,
51379
51435
  i1$1.CommonModule,
51380
51436
  HeaderModule,
51437
+ LayoutModule,
51381
51438
  TooltipModule], exports: [SettingsComponent,
51382
51439
  SettingsFormDirective,
51383
51440
  SettingsFooterComponent,
@@ -51395,6 +51452,7 @@
51395
51452
  i1.RouterModule,
51396
51453
  i1$1.CommonModule,
51397
51454
  HeaderModule,
51455
+ LayoutModule,
51398
51456
  TooltipModule
51399
51457
  ],
51400
51458
  exports: [
@@ -51818,7 +51876,7 @@
51818
51876
  *
51819
51877
  * @param wizard the wizard component instance.
51820
51878
  */
51821
- function WizardNavigationInformation(wizard) {
51879
+ function WizardNavigationInformation(wizard, wizardBuilder) {
51822
51880
  /**
51823
51881
  * The history of navigation of stage and step.
51824
51882
  */
@@ -51828,6 +51886,7 @@
51828
51886
  */
51829
51887
  this.initialized = false;
51830
51888
  this.wizard = wizard;
51889
+ this.wizardBuilder = wizardBuilder;
51831
51890
  }
51832
51891
  Object.defineProperty(WizardNavigationInformation.prototype, "navigationHistory", {
51833
51892
  /**
@@ -52000,6 +52059,59 @@
52000
52059
  }
52001
52060
  return 0;
52002
52061
  };
52062
+ /**
52063
+ * Creates a new WizardStep, and adds it to the specified WizardStage.
52064
+ * If the specified WizardStage does not exist, it will be created.
52065
+ *
52066
+ * @param stepName - The name for the new WizardStep.
52067
+ * @param stepComponentType - The componentType for the new WizardStep.
52068
+ * @param stageName - The name of the WizardStage in which this new WizardStep should be added.
52069
+ */
52070
+ WizardNavigationInformation.prototype.addStepInStage = function (stepName, stepComponentType, stageName) {
52071
+ this.wizardBuilder.addStepInStage(stepName, stepComponentType, stageName);
52072
+ };
52073
+ /**
52074
+ * Creates a new WizardStep, and adds it to the specified WizardStage at the specified index.
52075
+ * If the specified WizardStage does not exist, it will be created.
52076
+ *
52077
+ * @param stepName - The name for the new WizardStep.
52078
+ * @param stepComponentType - The componentType for the new WizardStep.
52079
+ * @param stageName - The name of the WizardStage in which this new WizardStep should be added.
52080
+ * @param index - The step index to insert step (will increase index of existing step at given index by 1 if any)
52081
+ */
52082
+ WizardNavigationInformation.prototype.addStepInStageByIndex = function (stepName, stepComponentType, stageName, index) {
52083
+ this.wizardBuilder.addStepInStageByIndex(stepName, stepComponentType, stageName, index);
52084
+ };
52085
+ /**
52086
+ * Removes WizardStep at specified index in specified stage.
52087
+ * If the specified stage or index does not exist, false will be returned.
52088
+ *
52089
+ * @param stageName - The name of the Wizard stage in which to remove the step.
52090
+ * @param index - The step index to be removed (will decrease indices of proceeding steps)
52091
+ * @returns - True if step is removed successfully, false otherwise.
52092
+ */
52093
+ WizardNavigationInformation.prototype.removeStepInStageByIndex = function (stageName, index) {
52094
+ return this.wizardBuilder.removeStepInStageByIndex(stageName, index);
52095
+ };
52096
+ /**
52097
+ * Creates a new WizardStage at the specified index.
52098
+ *
52099
+ * @param stageName - The Name for the new WizardStage
52100
+ * @param index - The stage index to insert stage (will increase index of existing stage at given index by 1 if any)
52101
+ */
52102
+ WizardNavigationInformation.prototype.addStageByIndex = function (stageName, index) {
52103
+ this.wizardBuilder.addStageByIndex(stageName, index);
52104
+ };
52105
+ /**
52106
+ * Clears all steps from given stage.
52107
+ * If the specified stage does not exist, false will be returned.
52108
+ *
52109
+ * @param stageName - The name of the Wizard stage to clear steps from.
52110
+ * @returns - True if stage is cleared successfully, false otherwise.
52111
+ */
52112
+ WizardNavigationInformation.prototype.clearStage = function (stageName) {
52113
+ return this.wizardBuilder.clearStage(stageName);
52114
+ };
52003
52115
  return WizardNavigationInformation;
52004
52116
  }());
52005
52117
  WizardNavigationInformation.NoStageNoStep = -1;
@@ -52304,7 +52416,6 @@
52304
52416
  message: _this.strings.MsftSmeShell.Angular.Wizard.disabledStepAlert,
52305
52417
  };
52306
52418
  _this.modelChange = new i0.EventEmitter();
52307
- _this.navigationInformation = new WizardNavigationInformation(_this);
52308
52419
  _this.isExpanded = true;
52309
52420
  return _this;
52310
52421
  }
@@ -52569,6 +52680,9 @@
52569
52680
  }
52570
52681
  else if (!this.onLastStage) {
52571
52682
  this.stageIndex++;
52683
+ while (this.stages[this.stageIndex].steps.length === 0) {
52684
+ this.stageIndex++;
52685
+ }
52572
52686
  this.stepIndex = 0;
52573
52687
  }
52574
52688
  this.emitStepChanged();
@@ -52595,6 +52709,9 @@
52595
52709
  if (this.stageIndex !== 0) {
52596
52710
  this.stages[this.stageIndex].active = false;
52597
52711
  this.stageIndex--;
52712
+ while (this.stages[this.stageIndex].steps.length === 0) {
52713
+ this.stageIndex--;
52714
+ }
52598
52715
  this.stepIndex = this.stages[this.stageIndex].steps.length - 1;
52599
52716
  this.stages[this.stageIndex].completed = false;
52600
52717
  }
@@ -52619,6 +52736,7 @@
52619
52736
  */
52620
52737
  WizardComponent.prototype.ngOnInit = function () {
52621
52738
  var _this = this;
52739
+ this.navigationInformation = new WizardNavigationInformation(this, this.wizardBuilder);
52622
52740
  this.stages = this.wizardBuilder.stages;
52623
52741
  this.heading = this.wizardBuilder.heading;
52624
52742
  this.exitButtonTitle = this.wizardBuilder.exitButtonTitle;
@@ -53368,6 +53486,75 @@
53368
53486
  this.stages.push(new WizardStage({ name: stageName, steps: [step] }));
53369
53487
  }
53370
53488
  };
53489
+ /**
53490
+ * Creates a new WizardStep, and adds it to the specified WizardStage at the specified index.
53491
+ * If the specified WizardStage does not exist, it will be created.
53492
+ *
53493
+ * @param stepName - The name for the new WizardStep.
53494
+ * @param stepComponentType - The componentType for the new WizardStep.
53495
+ * @param stageName - The name of the WizardStage in which this new WizardStep should be added.
53496
+ * @param index - The step index to insert step (will increase index of existing step at given index by 1 if any)
53497
+ */
53498
+ WizardBuilder.prototype.addStepInStageByIndex = function (stepName, stepComponentType, stageName, index) {
53499
+ var step = new WizardStep(stepComponentType, { name: stepName });
53500
+ var existingStage = this.stages.find(function (eachStage) { return eachStage.name === stageName; });
53501
+ if (existingStage) {
53502
+ if (index > existingStage.steps.length - 1) {
53503
+ existingStage.steps.push(step);
53504
+ }
53505
+ else {
53506
+ existingStage.steps.splice(index, 0, step);
53507
+ }
53508
+ }
53509
+ else {
53510
+ this.stages.push(new WizardStage({ name: stageName, steps: [step] }));
53511
+ }
53512
+ };
53513
+ /**
53514
+ * Removes WizardStep at specified index in specified stage.
53515
+ * If the specified stage or index does not exist, false will be returned.
53516
+ *
53517
+ * @param stageName - The name of the Wizard stage in which to remove the step.
53518
+ * @param index - The step index to be removed (will decrease indices of proceeding steps)
53519
+ * @returns - True if step is removed successfully, false otherwise.
53520
+ */
53521
+ WizardBuilder.prototype.removeStepInStageByIndex = function (stageName, index) {
53522
+ var stage = this.stages.find(function (eachStage) { return eachStage.name === stageName; });
53523
+ if (stage && index < stage.steps.length) {
53524
+ stage.steps.splice(index, 1);
53525
+ return true;
53526
+ }
53527
+ return false;
53528
+ };
53529
+ /**
53530
+ * Creates a new WizardStage at the specified index.
53531
+ *
53532
+ * @param stageName - The Name for the new WizardStage
53533
+ * @param index - The stage index to insert stage (will increase index of existing stage at given index by 1 if any)
53534
+ */
53535
+ WizardBuilder.prototype.addStageByIndex = function (stageName, index) {
53536
+ if (index > this.stages.length - 1) {
53537
+ this.stages.push(new WizardStage({ name: stageName, steps: [] }));
53538
+ }
53539
+ else {
53540
+ this.stages.splice(index, 0, new WizardStage({ name: stageName, steps: [] }));
53541
+ }
53542
+ };
53543
+ /**
53544
+ * Clears all steps from given stage.
53545
+ * If the specified stage does not exist, false will be returned.
53546
+ *
53547
+ * @param stageName - The name of the Wizard stage to clear steps from.
53548
+ * @returns - True if stage is cleared successfully, false otherwise.
53549
+ */
53550
+ WizardBuilder.prototype.clearStage = function (stageName) {
53551
+ var stage = this.stages.find(function (eachStage) { return eachStage.name === stageName; });
53552
+ if (stage) {
53553
+ stage.steps = [];
53554
+ return true;
53555
+ }
53556
+ return false;
53557
+ };
53371
53558
  /**
53372
53559
  * Creates a new WizardStep for the Finish view using the component specified.
53373
53560
  */
@@ -55138,6 +55325,9 @@
55138
55325
  * Generated bundle index. Do not edit.
55139
55326
  */
55140
55327
 
55328
+ exports.AccordionComponent = AccordionComponent;
55329
+ exports.AccordionModule = AccordionModule;
55330
+ exports.AccordionPanelComponent = AccordionPanelComponent;
55141
55331
  exports.ActionBarComponent = ActionBarComponent;
55142
55332
  exports.ActionBarDirective = ActionBarDirective;
55143
55333
  exports.ActionButton = ActionButton;
@@ -55360,6 +55550,7 @@
55360
55550
  exports.OrderedListFormFieldLoaderComponent = OrderedListFormFieldLoaderComponent;
55361
55551
  exports.PageAlertBarComponent = PageAlertBarComponent;
55362
55552
  exports.PageAlertBarModule = PageAlertBarModule;
55553
+ exports.PanelControlComponent = PanelControlComponent;
55363
55554
  exports.PasswordFormFieldLoaderComponent = PasswordFormFieldLoaderComponent;
55364
55555
  exports.PivotComponent = PivotComponent;
55365
55556
  exports.PivotModule = PivotModule;