@microsoft/windows-admin-center-sdk 2.297.0 → 2.298.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 (147) 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/strings.json +1 -1
  15. package/angular/assets/strings/sv-SE/strings.json +1 -1
  16. package/angular/assets/strings/tr-TR/strings.json +1 -1
  17. package/angular/assets/strings/zh-CN/strings.json +1 -1
  18. package/angular/assets/strings/zh-TW/strings.json +1 -1
  19. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js +558 -240
  20. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js.map +1 -1
  21. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js +2 -2
  22. package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
  23. package/angular/esm2015/src/controls/actions/containers/action-bar/action-bar.component.js +7 -2
  24. package/angular/esm2015/src/controls/alert-bar/alert-bar.component.js +5 -5
  25. package/angular/esm2015/src/controls/common/base.component.js +8 -1
  26. package/angular/esm2015/src/controls/data-table/data-table.component.js +39 -9
  27. package/angular/esm2015/src/controls/form/form-field/checklist/checklist-form-field.component.js +11 -8
  28. package/angular/esm2015/src/controls/form/form-field/combobox/combobox-form-field.component.js +8 -9
  29. package/angular/esm2015/src/controls/form/form-field/file/file-form-field.component.js +14 -2
  30. package/angular/esm2015/src/controls/form/form-field/form-field.component.js +9 -2
  31. package/angular/esm2015/src/controls/layout/layout-definition.component.js +9 -2
  32. package/angular/esm2015/src/controls/layout/layout.component.js +11 -2
  33. package/angular/esm2015/src/controls/master-view/master-view.component.js +32 -5
  34. package/angular/esm2015/src/controls/page-alert-bar/models/index.js +1 -1
  35. package/angular/esm2015/src/controls/pivot/pivot.component.js +11 -5
  36. package/angular/esm2015/src/controls/property-grid/property-grid-item.component.js +50 -2
  37. package/angular/esm2015/src/controls/property-grid/property-grid.component.js +73 -60
  38. package/angular/esm2015/src/controls/property-grid/property-grid.module.js +5 -1
  39. package/angular/esm2015/src/controls/settings/common-settings/common-settings.component.js +151 -70
  40. package/angular/esm2015/src/controls/settings/settings.component.js +48 -8
  41. package/angular/esm2015/src/controls/settings/settings.module.js +21 -9
  42. package/angular/esm2015/src/controls/wizard/wizard.component.js +55 -65
  43. package/angular/esm2015/src/generated/strings.js +1 -1
  44. package/angular/esm2015/src/service/app-context.service.js +3 -1
  45. package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +535 -240
  46. package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
  47. package/angular/package.json +2 -0
  48. package/angular/src/controls/common/base.component.d.ts +5 -0
  49. package/angular/src/controls/data-table/data-table.component.d.ts +15 -0
  50. package/angular/src/controls/form/form-field/checklist/checklist-form-field.component.d.ts +1 -0
  51. package/angular/src/controls/form/form-field/file/file-form-field.component.d.ts +4 -0
  52. package/angular/src/controls/layout/layout-definition.component.d.ts +6 -1
  53. package/angular/src/controls/master-view/master-view.component.d.ts +118 -2
  54. package/angular/src/controls/page-alert-bar/models/index.d.ts +1 -1
  55. package/angular/src/controls/pivot/pivot.component.d.ts +4 -1
  56. package/angular/src/controls/property-grid/property-grid-item.component.d.ts +53 -3
  57. package/angular/src/controls/property-grid/property-grid.component.d.ts +1 -2
  58. package/angular/src/controls/property-grid/property-grid.module.d.ts +4 -3
  59. package/angular/src/controls/settings/common-settings/common-settings.component.d.ts +32 -1
  60. package/angular/src/controls/settings/settings.component.d.ts +18 -1
  61. package/angular/src/controls/settings/settings.module.d.ts +3 -1
  62. package/angular/src/generated/strings.d.ts +3 -0
  63. package/core/base/environment.d.ts +10 -0
  64. package/core/base/environment.js.map +1 -1
  65. package/core/data/gateway-connection.d.ts +34 -0
  66. package/core/data/gateway-connection.js +59 -2
  67. package/core/data/gateway-connection.js.map +1 -1
  68. package/core/data/gateway-status.d.ts +24 -0
  69. package/core/data/gateway-status.js +3 -0
  70. package/core/data/gateway-status.js.map +1 -0
  71. package/core/data/node-connection.d.ts +4 -0
  72. package/core/data/node-connection.js.map +1 -1
  73. package/core/data/powershell.d.ts +4 -0
  74. package/core/data/powershell.js +1 -0
  75. package/core/data/powershell.js.map +1 -1
  76. package/core/data/wdac-operations.d.ts +123 -0
  77. package/core/data/wdac-operations.js +144 -0
  78. package/core/data/wdac-operations.js.map +1 -0
  79. package/core/diagnostics/sme-web-telemetry-models.d.ts +20 -3
  80. package/core/diagnostics/sme-web-telemetry-models.js +6 -2
  81. package/core/diagnostics/sme-web-telemetry-models.js.map +1 -1
  82. package/core/diagnostics/sme-web-telemetry.d.ts +13 -1
  83. package/core/diagnostics/sme-web-telemetry.js +51 -11
  84. package/core/diagnostics/sme-web-telemetry.js.map +1 -1
  85. package/core/generated/powershell-scripts.d.ts +8 -4
  86. package/core/generated/powershell-scripts.js +8 -4
  87. package/core/generated/powershell-scripts.js.map +1 -1
  88. package/core/index.d.ts +2 -0
  89. package/core/index.js +1 -0
  90. package/core/index.js.map +1 -1
  91. package/core/manifest/environment-modules.js +10 -0
  92. package/core/manifest/environment-modules.js.map +1 -1
  93. package/core/notification/powershell-notification.js +1 -1
  94. package/core/notification/powershell-notification.js.map +1 -1
  95. package/core/performance/performance-tracker.d.ts +67 -0
  96. package/core/performance/performance-tracker.js +211 -4
  97. package/core/performance/performance-tracker.js.map +1 -1
  98. package/core/rpc/credssp/rpc-credssp-model.d.ts +27 -2
  99. package/core/rpc/credssp/rpc-credssp-model.js +10 -0
  100. package/core/rpc/credssp/rpc-credssp-model.js.map +1 -1
  101. package/core/security/credssp-manager.d.ts +15 -1
  102. package/core/security/credssp-manager.js +28 -0
  103. package/core/security/credssp-manager.js.map +1 -1
  104. package/core/shared/gateway-inventory/gateway-inventory.d.ts +10 -0
  105. package/core/shared/gateway-inventory/gateway-inventory.js +11 -0
  106. package/core/shared/gateway-inventory/gateway-inventory.js.map +1 -1
  107. package/e2e/assets/strings/cs-CZ/strings.json +1 -1
  108. package/e2e/assets/strings/de-DE/strings.json +1 -1
  109. package/e2e/assets/strings/es-ES/strings.json +1 -1
  110. package/e2e/assets/strings/fr-FR/strings.json +1 -1
  111. package/e2e/assets/strings/hu-HU/strings.json +1 -1
  112. package/e2e/assets/strings/it-IT/strings.json +1 -1
  113. package/e2e/assets/strings/ja-JP/strings.json +1 -1
  114. package/e2e/assets/strings/ko-KR/strings.json +1 -1
  115. package/e2e/assets/strings/nl-NL/strings.json +1 -1
  116. package/e2e/assets/strings/pl-PL/strings.json +1 -1
  117. package/e2e/assets/strings/pt-BR/strings.json +1 -1
  118. package/e2e/assets/strings/pt-PT/strings.json +1 -1
  119. package/e2e/assets/strings/ru-RU/strings.json +1 -1
  120. package/e2e/assets/strings/strings.json +1 -1
  121. package/e2e/assets/strings/sv-SE/strings.json +1 -1
  122. package/e2e/assets/strings/tr-TR/strings.json +1 -1
  123. package/e2e/assets/strings/zh-CN/strings.json +1 -1
  124. package/e2e/assets/strings/zh-TW/strings.json +1 -1
  125. package/package.json +5 -3
  126. package/styles/css/main.css +1 -1
  127. package/tools/module-template/gulpfile.ts/index.ts +1 -1
  128. package/tools/package-lock.json +18081 -4110
  129. package/tools/wac-cli/src/create/main.d.ts +6 -3
  130. package/tools/wac-cli/src/create/main.js +87 -35
  131. package/tools/wac-cli/src/create/main.js.map +1 -1
  132. package/tools/wac-cli/src/index.js +2 -2
  133. package/tools/wac-cli/src/index.js.map +1 -1
  134. package/tools/wac-cli/templates/internal/npmrc.txt +6 -0
  135. package/tools/wac-cli/templates/internal/package.json +101 -0
  136. package/tools/wac-cli/templates/{manifest/solution-manifest.json → solution/manifest.json} +19 -0
  137. package/tools/wac-cli/templates/solution/strings.resjson +16 -0
  138. package/tools/wac-cli/templates/wac-template/angular.json +2 -2
  139. package/tools/wac-cli/templates/wac-template/gulpfile.ts/config-data.ts +1 -1
  140. package/tools/wac-cli/templates/wac-template/package.json +0 -8
  141. package/tools/wac-cli/templates/wac-template/src/app/app-routing.module.ts +1 -1
  142. package/tools/wac-cli/templates/wac-template/src/main.ts +2 -0
  143. package/tools/wac-cli/templates/{manifest/tool-manifest.json → wac-template/src/manifest.json} +0 -0
  144. package/tools/wac-cli/templates/wac-template/src/polyfills.ts +1 -1
  145. package/tools/wac-cli/templates/wac-template/src/test.ts +2 -2
  146. package/tools/wac-cli/templates/wac-template/src/version.ts +3 -0
  147. package/tools/wac-cli/templates/wac-template/version.json +5 -0
@@ -1271,6 +1271,13 @@
1271
1271
  BaseComponent.prototype.getInitialHostClasses = function () {
1272
1272
  return [];
1273
1273
  };
1274
+ /**
1275
+ * Shortcut to get an attribute on the host element
1276
+ * @param name The name of the attribute
1277
+ */
1278
+ BaseComponent.prototype.getAttribute = function (name) {
1279
+ return this.hostElement.nativeElement.getAttribute(name);
1280
+ };
1274
1281
  /**
1275
1282
  * Shortcut to set an attribute on the host element
1276
1283
  * @param name The name of the attribute
@@ -3235,7 +3242,9 @@
3235
3242
  this.azureManagerService.initialize();
3236
3243
  smeWebTelemetry.SmeWebTelemetry.init(this).subscribe(function (loaded) {
3237
3244
  logging.Logging.logDebug('SmeWebTelemetry', loaded ? 'Loaded browser telemetry' : 'Failed to load browser telemetry');
3245
+ performanceTracker.PerformanceTracker.tryStartCalculatingTimeToInteractive();
3238
3246
  });
3247
+ performanceTracker.PerformanceTracker.initializeLighthouseMetricsTrackers();
3239
3248
  };
3240
3249
  /**
3241
3250
  * Destroy the app context resource from ngDestroy call in AppComponent.
@@ -7635,6 +7644,10 @@
7635
7644
  else {
7636
7645
  this.dropDown.onToggled.pipe(operators.take(1)).subscribe(function (open) {
7637
7646
  if (open) {
7647
+ // blur/focus to refresh focus - this will make the tooltip disappear
7648
+ // while menu is open (b/c tooltip will block view)
7649
+ _this.dropDownButtonElement.nativeElement.blur();
7650
+ _this.dropDownButtonElement.nativeElement.focus();
7638
7651
  _this.moreButtonElement = document.activeElement;
7639
7652
  }
7640
7653
  });
@@ -7857,7 +7870,7 @@
7857
7870
  if (rf & 1) {
7858
7871
  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);
7859
7872
  }
7860
- }, 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", "data-uta-id", "action-bar-more", 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) {
7873
+ }, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars: 16, 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", 3, "title", "smeTooltipShow"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", "data-uta-id", "action-bar-more", 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) {
7861
7874
  if (rf & 1) {
7862
7875
  i0.ɵɵprojectionDef();
7863
7876
  i0.ɵɵelementStart(0, "div", 0, 1);
@@ -7883,6 +7896,7 @@
7883
7896
  i0.ɵɵproperty("ngForOf", ctx.hiddenFilter(ctx.displayedActions));
7884
7897
  i0.ɵɵadvance(1);
7885
7898
  i0.ɵɵclassProp("sme-layout-hidden", !ctx.compact && ctx.trayActions.length === 0)("sme-layout-none", ctx.compact && ctx.trayActions.length === 0);
7899
+ i0.ɵɵproperty("title", ctx.moreActionsDisplay)("smeTooltipShow", !_r2.isOpen);
7886
7900
  i0.ɵɵadvance(2);
7887
7901
  i0.ɵɵclassProp("sme-toggled", _r2.isOpen);
7888
7902
  i0.ɵɵattribute("aria-label", ctx.moreActionsDisplay)("aria-expanded", _r2.isOpen);
@@ -9718,11 +9732,16 @@
9718
9732
  var LayoutDefinitionComponent = /** @class */ (function () {
9719
9733
  function LayoutDefinitionComponent() {
9720
9734
  this.until = Number.MAX_VALUE;
9735
+ /**
9736
+ * Setting addBottomPadding to True will add bottom padding to all layout-items,
9737
+ * otherwise does NOT add bottom padding to any layout-items.
9738
+ */
9739
+ this.addBottomPadding = true;
9721
9740
  }
9722
9741
  return LayoutDefinitionComponent;
9723
9742
  }());
9724
9743
  /** @nocollapse */ LayoutDefinitionComponent.ɵfac = function LayoutDefinitionComponent_Factory(t) { return new (t || LayoutDefinitionComponent)(); };
9725
- /** @nocollapse */ LayoutDefinitionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LayoutDefinitionComponent, selectors: [["sme-layout-definition"]], inputs: { until: "until", columns: "columns", name: "name" }, decls: 0, vars: 0, template: function LayoutDefinitionComponent_Template(rf, ctx) { }, encapsulation: 2 });
9744
+ /** @nocollapse */ LayoutDefinitionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LayoutDefinitionComponent, selectors: [["sme-layout-definition"]], inputs: { until: "until", columns: "columns", name: "name", addBottomPadding: "addBottomPadding" }, decls: 0, vars: 0, template: function LayoutDefinitionComponent_Template(rf, ctx) { }, encapsulation: 2 });
9726
9745
  (function () {
9727
9746
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayoutDefinitionComponent, [{
9728
9747
  type: i0.Component,
@@ -9736,6 +9755,8 @@
9736
9755
  type: i0.Input
9737
9756
  }], name: [{
9738
9757
  type: i0.Input
9758
+ }], addBottomPadding: [{
9759
+ type: i0.Input
9739
9760
  }] });
9740
9761
  })();
9741
9762
 
@@ -9944,7 +9965,16 @@
9944
9965
  layoutItems[i].paddingRight = _this.itemHorizontalSpace + 'px';
9945
9966
  }
9946
9967
  }
9947
- layoutItems[i].paddingBottom = _this.itemVerticalSpace + 'px';
9968
+ if (_this.currentLayoutDefinition.addBottomPadding) {
9969
+ layoutItems[i].paddingBottom = _this.itemVerticalSpace + 'px';
9970
+ }
9971
+ else {
9972
+ // If bottom padding already exists and currentLayoutDefinition.addBottomPadding is False
9973
+ // Remove the bottom padding.
9974
+ if (layoutItems[i].paddingBottom === _this.itemVerticalSpace + 'px') {
9975
+ layoutItems[i].paddingBottom = 0 + 'px';
9976
+ }
9977
+ }
9948
9978
  layoutItems[i].width = percentage + '%';
9949
9979
  layoutItems[i].ready();
9950
9980
  }
@@ -11859,7 +11889,14 @@
11859
11889
  * The ID is based on the form field name that's set on the ngModel.
11860
11890
  */
11861
11891
  get: function () {
11862
- return this.utaId ? this.utaId : this.ngModel && this.ngModel.name && this.ngModel.name.toString();
11892
+ // First, get the name from the attribute set in the HTML
11893
+ var formFieldNameAttribute = this.getAttribute('formcontrolname') || this.getAttribute('name');
11894
+ // Then, if no HTML attribute is set, try to get the name from the ngModel
11895
+ var formFieldName = formFieldNameAttribute || this.ngModel && this.ngModel.name && this.ngModel.name.toString();
11896
+ // If none of these are set, then look for the utaId input
11897
+ var formFieldId = formFieldName || this.utaId;
11898
+ // Finally, only set the data-uta-id attribute if neither name nor formcontrolname are set on the HTML already
11899
+ return MsftSme.isNullOrUndefined(formFieldNameAttribute) ? formFieldId : undefined;
11863
11900
  },
11864
11901
  enumerable: false,
11865
11902
  configurable: true
@@ -14310,8 +14347,8 @@
14310
14347
  }
14311
14348
  function ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template(rf, ctx) {
14312
14349
  if (rf & 1) {
14313
- i0.ɵɵelementStart(0, "fieldset", 12);
14314
- i0.ɵɵelement(1, "sme-option-template-loader", 13);
14350
+ i0.ɵɵelementStart(0, "fieldset", 13);
14351
+ i0.ɵɵelement(1, "sme-option-template-loader", 14);
14315
14352
  i0.ɵɵelementEnd();
14316
14353
  }
14317
14354
  if (rf & 2) {
@@ -14330,7 +14367,7 @@
14330
14367
  i0.ɵɵelementContainerStart(0);
14331
14368
  i0.ɵɵelementStart(1, "div", 10);
14332
14369
  i0.ɵɵelementStart(2, "label");
14333
- i0.ɵɵelementStart(3, "input", 7);
14370
+ i0.ɵɵelementStart(3, "input", 11);
14334
14371
  i0.ɵɵlistener("keydown", function ChecklistFormFieldComponent_div_1_ng_container_2_Template_input_keydown_3_listener($event) { i0.ɵɵrestoreView(_r11_1); var i_r7 = ctx.index; var ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.onCheckboxKeydown($event, i_r7); })("change", function ChecklistFormFieldComponent_div_1_ng_container_2_Template_input_change_3_listener() { i0.ɵɵrestoreView(_r11_1); var option_r6 = ctx.$implicit; var ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.toggleOption(option_r6, !option_r6.isSelected); });
14335
14372
  i0.ɵɵelementEnd();
14336
14373
  i0.ɵɵelementStart(4, "span", 8);
@@ -14341,7 +14378,7 @@
14341
14378
  i0.ɵɵtext(7);
14342
14379
  i0.ɵɵelementEnd();
14343
14380
  i0.ɵɵelementEnd();
14344
- i0.ɵɵtemplate(8, ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template, 2, 4, "fieldset", 11);
14381
+ i0.ɵɵtemplate(8, ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template, 2, 4, "fieldset", 12);
14345
14382
  i0.ɵɵelementContainerEnd();
14346
14383
  }
14347
14384
  if (rf & 2) {
@@ -14350,7 +14387,7 @@
14350
14387
  var ctx_r2 = i0.ɵɵnextContext(2);
14351
14388
  i0.ɵɵadvance(3);
14352
14389
  i0.ɵɵproperty("id", ctx_r2.idBag.checkbox + i_r7)("checked", option_r6.isSelected)("disabled", ctx_r2.loadingOrDisabled || option_r6.disabled);
14353
- i0.ɵɵattribute("aria-label", option_r6.toString())("aria-describedby", ctx_r2.idBag.checkboxDescription + i_r7)("aria-checked", option_r6.isSelected)("aria-required", ctx_r2.required);
14390
+ i0.ɵɵattribute("aria-label", option_r6.toString())("aria-describedby", ctx_r2.idBag.checkboxDescription + i_r7)("aria-checked", option_r6.isSelected)("aria-required", ctx_r2.required)("data-uta-id", ctx_r2.formatDataUtaId(option_r6.toString()));
14354
14391
  i0.ɵɵadvance(2);
14355
14392
  i0.ɵɵtextInterpolate(option_r6.toString());
14356
14393
  i0.ɵɵadvance(1);
@@ -14365,7 +14402,7 @@
14365
14402
  if (rf & 1) {
14366
14403
  i0.ɵɵelementStart(0, "div", 3);
14367
14404
  i0.ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7, 10, "div", 4);
14368
- i0.ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9, 11, "ng-container", 5);
14405
+ i0.ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9, 12, "ng-container", 5);
14369
14406
  i0.ɵɵelementEnd();
14370
14407
  }
14371
14408
  if (rf & 2) {
@@ -14658,6 +14695,9 @@
14658
14695
  detailsSpan: ''
14659
14696
  };
14660
14697
  };
14698
+ ChecklistFormFieldComponent.prototype.formatDataUtaId = function (option) {
14699
+ return option.toLowerCase().replaceAll(' ', '-');
14700
+ };
14661
14701
  ChecklistFormFieldComponent.prototype.getCheckboxCount = function (index) {
14662
14702
  var total = this.options.length;
14663
14703
  var currentIndex = MsftSme.isNullOrUndefined(index) ? 0 : index + 1;
@@ -14691,7 +14731,7 @@
14691
14731
  if (rf & 2) {
14692
14732
  i0.ɵɵattribute("aria-label", ctx.ariaLabel);
14693
14733
  }
14694
- }, inputs: { shouldUseOwnOptionsList: "shouldUseOwnOptionsList" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$l, decls: 3, vars: 3, consts: [[1, "sme-focus-zone", 3, "formField"], ["role", "group", "class", "sme-form-field-editor sme-form-field-width", 4, "ngIf"], [3, "alert"], ["role", "group", 1, "sme-form-field-editor", "sme-form-field-width"], ["class", "sme-checkbox sme-checkbox-header", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "sme-checkbox", "sme-checkbox-header"], ["type", "checkbox", 3, "id", "checked", "disabled", "keydown", "change"], ["aria-hidden", "true"], [1, "sme-screen-reader", 3, "id"], [1, "sme-checkbox", "sme-margin-bottom-xxs"], ["class", "sme-focus-zone", 3, "disabled", 4, "ngIf"], [1, "sme-focus-zone", 3, "disabled"], [3, "template", "data", "optionIndex"]], template: function ChecklistFormFieldComponent_Template(rf, ctx) {
14734
+ }, inputs: { shouldUseOwnOptionsList: "shouldUseOwnOptionsList" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$l, decls: 3, vars: 3, consts: [[1, "sme-focus-zone", 3, "formField"], ["role", "group", "class", "sme-form-field-editor sme-form-field-width", 4, "ngIf"], [3, "alert"], ["role", "group", 1, "sme-form-field-editor", "sme-form-field-width"], ["class", "sme-checkbox sme-checkbox-header", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "sme-checkbox", "sme-checkbox-header"], ["type", "checkbox", "data-uta-id", "select-all", 3, "id", "checked", "disabled", "keydown", "change"], ["aria-hidden", "true"], [1, "sme-screen-reader", 3, "id"], [1, "sme-checkbox", "sme-margin-bottom-xxs"], ["type", "checkbox", 3, "id", "checked", "disabled", "keydown", "change"], ["class", "sme-focus-zone", 3, "disabled", 4, "ngIf"], [1, "sme-focus-zone", 3, "disabled"], [3, "template", "data", "optionIndex"]], template: function ChecklistFormFieldComponent_Template(rf, ctx) {
14695
14735
  if (rf & 1) {
14696
14736
  i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
14697
14737
  i0.ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_Template, 3, 2, "div", 1);
@@ -20051,10 +20091,9 @@
20051
20091
  i0.ɵɵelementStart(2, "input", 28);
20052
20092
  i0.ɵɵlistener("change", function ComboboxFormFieldComponent_ng_template_18_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r27_1); var option_r25 = ctx.$implicit; var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.toggleOption(option_r25, !option_r25.isSelected); });
20053
20093
  i0.ɵɵelementEnd();
20054
- i0.ɵɵtext(3, " [disabled]=\"option.disabled\" class=\"sme-layout-absolute sme-position-inset-none\" /> ");
20055
- i0.ɵɵelementStart(4, "span", 29);
20056
- i0.ɵɵelementStart(5, "span", 30);
20057
- i0.ɵɵtext(6);
20094
+ i0.ɵɵelementStart(3, "span", 29);
20095
+ i0.ɵɵelementStart(4, "span", 30);
20096
+ i0.ɵɵtext(5);
20058
20097
  i0.ɵɵelementEnd();
20059
20098
  i0.ɵɵelementEnd();
20060
20099
  i0.ɵɵelementEnd();
@@ -20064,9 +20103,9 @@
20064
20103
  var option_r25 = ctx.$implicit;
20065
20104
  var ctx_r11 = i0.ɵɵnextContext();
20066
20105
  i0.ɵɵadvance(2);
20067
- i0.ɵɵproperty("checked", option_r25.isSelected);
20106
+ i0.ɵɵproperty("checked", option_r25.isSelected)("disabled", option_r25.disabled);
20068
20107
  i0.ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString())("data-uta-id", option_r25.utaId ? option_r25.utaId : option_r25.value);
20069
- i0.ɵɵadvance(2);
20108
+ i0.ɵɵadvance(1);
20070
20109
  i0.ɵɵclassProp("sme-combobox-option-wrap", ctx_r11.overflowWrap);
20071
20110
  i0.ɵɵproperty("smeTooltip", option_r25.disabled ? null : option_r25.resolvedTooltipTemplate)("title", option_r25.resolvedTitle)("smeTooltipContext", option_r25.disabled ? null : option_r25.tooltipContext || option_r25);
20072
20111
  i0.ɵɵadvance(1);
@@ -20396,7 +20435,7 @@
20396
20435
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listboxElement = _t.first);
20397
20436
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropDown = _t.first);
20398
20437
  }
20399
- }, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$1, decls: 20, vars: 30, consts: [[3, "formField"], [1, "sme-combobox", "sme-focus-zone", "sme-form-field-editor", 3, "autoToggle", "disabled", "calculateHeight", "dropdownApplyFormFieldOffsetWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown", "keypress"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "readonly", "", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "value", "placeholder", "click"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], [1, "sme-icon", "sme-icon-chevronDown"], ["role", "listbox", 1, "sme-dropdown-content", "sme-dropdown-content-inherit-container-height", 3, "ngStyle", "id", "keydown"], ["listbox", ""], [3, "sme-padding-squish-v-xs", "keydown", 4, "ngIf"], ["class", "sme-checkbox sme-dropdown-interaction-enabled", "role", "option", 3, "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [3, "alert"], ["singleSelectTemplate", ""], ["multiSelectTemplate", ""], [3, "keydown"], ["name", "searchStringValue", "type", "search", 3, "disableSearchButton", "placeholder", "label", "id", "count", "ngModel", "ngModelChange"], ["role", "option", 1, "sme-checkbox", "sme-dropdown-interaction-enabled"], [1, "sme-position-stretch-h", "sme-arrange-word-break-all"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "change"], ["aria-hidden", "true"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["smeTemplateOutlet", "", 3, "template", "data"], ["type", "button", "role", "option", 3, "disabled", "click"], [3, "smeTooltip", "smeTooltipContext"], [1, "sme-layout-float-left", 3, "title"], ["type", "checkbox", "role", "checkbox", 3, "checked", "change"], ["aria-hidden", "true", 1, "sme-position-stretch-h", "sme-layout-float-left", 3, "smeTooltip", "title", "smeTooltipContext"], [1, "sme-position-stretch-h", "sme-layout-float-left"]], template: function ComboboxFormFieldComponent_Template(rf, ctx) {
20438
+ }, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$1, decls: 20, vars: 30, consts: [[3, "formField"], [1, "sme-combobox", "sme-focus-zone", "sme-form-field-editor", 3, "autoToggle", "disabled", "calculateHeight", "dropdownApplyFormFieldOffsetWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown", "keypress"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "readonly", "", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "value", "placeholder", "click"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], [1, "sme-icon", "sme-icon-chevronDown"], ["role", "listbox", 1, "sme-dropdown-content", "sme-dropdown-content-inherit-container-height", 3, "ngStyle", "id", "keydown"], ["listbox", ""], [3, "sme-padding-squish-v-xs", "keydown", 4, "ngIf"], ["class", "sme-checkbox sme-dropdown-interaction-enabled", "role", "option", 3, "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [3, "alert"], ["singleSelectTemplate", ""], ["multiSelectTemplate", ""], [3, "keydown"], ["name", "searchStringValue", "type", "search", 3, "disableSearchButton", "placeholder", "label", "id", "count", "ngModel", "ngModelChange"], ["role", "option", 1, "sme-checkbox", "sme-dropdown-interaction-enabled"], [1, "sme-position-stretch-h", "sme-arrange-word-break-all"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "change"], ["aria-hidden", "true"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["smeTemplateOutlet", "", 3, "template", "data"], ["type", "button", "role", "option", 3, "disabled", "click"], [3, "smeTooltip", "smeTooltipContext"], [1, "sme-layout-float-left", 3, "title"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "disabled", "change"], ["aria-hidden", "true", 1, "sme-position-stretch-h", "sme-layout-float-left", 3, "smeTooltip", "title", "smeTooltipContext"], [1, "sme-position-stretch-h", "sme-layout-float-left"]], template: function ComboboxFormFieldComponent_Template(rf, ctx) {
20400
20439
  if (rf & 1) {
20401
20440
  var _r28_1 = i0.ɵɵgetCurrentView();
20402
20441
  i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
@@ -20422,7 +20461,7 @@
20422
20461
  i0.ɵɵelementEnd();
20423
20462
  i0.ɵɵelement(15, "sme-validation-alert", 14);
20424
20463
  i0.ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4, 14, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
20425
- i0.ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template, 7, 12, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
20464
+ i0.ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template, 6, 13, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
20426
20465
  i0.ɵɵelementEnd();
20427
20466
  }
20428
20467
  if (rf & 2) {
@@ -21890,6 +21929,21 @@
21890
21929
  enumerable: false,
21891
21930
  configurable: true
21892
21931
  });
21932
+ Object.defineProperty(FileFormFieldComponent.prototype, "ariaLabelText", {
21933
+ /**
21934
+ * gets aria-label text
21935
+ */
21936
+ get: function () {
21937
+ var labelText = this.buttonLabel || (this.multiple
21938
+ ? this.strings.MsftSmeShell.Angular.Form.File.buttonText.plural
21939
+ : this.strings.MsftSmeShell.Angular.Form.File.buttonText.singular);
21940
+ return this.hasFiles
21941
+ ? this.strings.MsftSmeShell.Angular.Form.File.selectedFilesFormat.plural.format(this.files.length).concat(labelText)
21942
+ : labelText;
21943
+ },
21944
+ enumerable: false,
21945
+ configurable: true
21946
+ });
21893
21947
  Object.defineProperty(FileFormFieldComponent.prototype, "files", {
21894
21948
  /**
21895
21949
  * Indicates if there are any files selected
@@ -22097,7 +22151,7 @@
22097
22151
  var _t = void 0;
22098
22152
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
22099
22153
  }
22100
- }, inputs: { multiple: "multiple", fileTypes: "fileTypes", buttonLabel: "buttonLabel" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c1$h, decls: 15, vars: 12, consts: [[3, "formField"], [1, "sme-file-drop-zone", "sme-subform-indent-none", "sme-subform-no-bottom-margin"], [1, "sme-padding-inset-xs", "sme-margin-bottom-xs", "sme-arrange-stack-v", 3, "smeDrop"], [1, "sme-file-input", "sme-margin-bottom-xxs"], ["type", "file", 1, "sme-layout-none", 3, "disabled", "change"], ["file", ""], ["type", "button", 1, "sme-button-primary", "sme-button-auto-width", "sme-margin-right-xs", 3, "smeDisabled", "click"], [1, "sme-position-flex-align-center"], [4, "ngIf"], ["aria-live", "polite", 1, "sme-margin-bottom-xs"], [3, "alert"], ["class", "sme-arrange-stack-h sme-margin-bottom-xs", 4, "ngFor", "ngForOf"], [1, "sme-arrange-stack-h", "sme-margin-bottom-xs"], [1, "sme-position-flex-none", "sme-icon", "sme-icon-size-lg"], ["aria-live", "polite", 1, "sme-position-flex-auto", "sme-padding-left-sm", "sme-arrange-stack-v"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis", "sme-padding-inset-none"], ["type", "button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-cancel", "sme-color-red"]], template: function FileFormFieldComponent_Template(rf, ctx) {
22154
+ }, inputs: { multiple: "multiple", fileTypes: "fileTypes", buttonLabel: "buttonLabel" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c1$h, decls: 15, vars: 13, consts: [[3, "formField"], [1, "sme-file-drop-zone", "sme-subform-indent-none", "sme-subform-no-bottom-margin"], [1, "sme-padding-inset-xs", "sme-margin-bottom-xs", "sme-arrange-stack-v", 3, "smeDrop"], [1, "sme-file-input", "sme-margin-bottom-xxs"], ["type", "file", 1, "sme-layout-none", 3, "disabled", "change"], ["file", ""], ["type", "button", 1, "sme-button-primary", "sme-button-auto-width", "sme-margin-right-xs", 3, "smeDisabled", "click"], [1, "sme-position-flex-align-center"], [4, "ngIf"], [1, "sme-margin-bottom-xs"], [3, "alert"], ["class", "sme-arrange-stack-h sme-margin-bottom-xs", 4, "ngFor", "ngForOf"], [1, "sme-arrange-stack-h", "sme-margin-bottom-xs"], [1, "sme-position-flex-none", "sme-icon", "sme-icon-size-lg"], [1, "sme-position-flex-auto", "sme-padding-left-sm", "sme-arrange-stack-v"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis", "sme-padding-inset-none"], ["type", "button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-cancel", "sme-color-red"]], template: function FileFormFieldComponent_Template(rf, ctx) {
22101
22155
  if (rf & 1) {
22102
22156
  var _r8_1 = i0.ɵɵgetCurrentView();
22103
22157
  i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
@@ -22135,6 +22189,7 @@
22135
22189
  i0.ɵɵattribute("multiple", ctx.multiple || null)("accept", ctx.accept);
22136
22190
  i0.ɵɵadvance(2);
22137
22191
  i0.ɵɵproperty("smeDisabled", ctx.loadingOrDisabled);
22192
+ i0.ɵɵattribute("aria-label", ctx.ariaLabelText);
22138
22193
  i0.ɵɵadvance(1);
22139
22194
  i0.ɵɵtextInterpolate1(" ", ctx.buttonLabel || (ctx.multiple ? ctx.strings.MsftSmeShell.Angular.Form.File.buttonText.plural : ctx.strings.MsftSmeShell.Angular.Form.File.buttonText.singular), " ");
22140
22195
  i0.ɵɵadvance(2);
@@ -27446,7 +27501,8 @@
27446
27501
  i0.ɵɵadvance(2);
27447
27502
  i0.ɵɵtextInterpolate(column_r18.header);
27448
27503
  i0.ɵɵadvance(1);
27449
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
27504
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
27505
+ i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r20.getSortLabel(column_r18) : null);
27450
27506
  }
27451
27507
  }
27452
27508
  function DataTableComponent_div_7_div_2_Template(rf, ctx) {
@@ -27465,7 +27521,8 @@
27465
27521
  i0.ɵɵadvance(2);
27466
27522
  i0.ɵɵtextInterpolate(column_r18.header);
27467
27523
  i0.ɵɵadvance(1);
27468
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
27524
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
27525
+ i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r21.getSortLabel(column_r18) : null);
27469
27526
  }
27470
27527
  }
27471
27528
  function DataTableComponent_div_7_div_3_Template(rf, ctx) {
@@ -27488,8 +27545,8 @@
27488
27545
  function DataTableComponent_div_7_Template(rf, ctx) {
27489
27546
  if (rf & 1) {
27490
27547
  i0.ɵɵelementStart(0, "div", 32);
27491
- i0.ɵɵtemplate(1, DataTableComponent_div_7_div_1_Template, 4, 7, "div", 33);
27492
- i0.ɵɵtemplate(2, DataTableComponent_div_7_div_2_Template, 4, 6, "div", 34);
27548
+ i0.ɵɵtemplate(1, DataTableComponent_div_7_div_1_Template, 4, 8, "div", 33);
27549
+ i0.ɵɵtemplate(2, DataTableComponent_div_7_div_2_Template, 4, 7, "div", 34);
27493
27550
  i0.ɵɵtemplate(3, DataTableComponent_div_7_div_3_Template, 1, 0, "div", 35);
27494
27551
  i0.ɵɵtemplate(4, DataTableComponent_div_7_sme_resizer_4_Template, 1, 2, "sme-resizer", 36);
27495
27552
  i0.ɵɵelementEnd();
@@ -28317,7 +28374,8 @@
28317
28374
  i0.ɵɵadvance(2);
28318
28375
  i0.ɵɵtextInterpolate(column_r18.header);
28319
28376
  i0.ɵɵadvance(1);
28320
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
28377
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
28378
+ i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r20.getSortLabel(column_r18) : null);
28321
28379
  }
28322
28380
  }
28323
28381
  function TreeTableComponent_div_7_div_2_Template(rf, ctx) {
@@ -28336,7 +28394,8 @@
28336
28394
  i0.ɵɵadvance(2);
28337
28395
  i0.ɵɵtextInterpolate(column_r18.header);
28338
28396
  i0.ɵɵadvance(1);
28339
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
28397
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
28398
+ i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r21.getSortLabel(column_r18) : null);
28340
28399
  }
28341
28400
  }
28342
28401
  function TreeTableComponent_div_7_div_3_Template(rf, ctx) {
@@ -28358,8 +28417,8 @@
28358
28417
  function TreeTableComponent_div_7_Template(rf, ctx) {
28359
28418
  if (rf & 1) {
28360
28419
  i0.ɵɵelementStart(0, "div", 32);
28361
- i0.ɵɵtemplate(1, TreeTableComponent_div_7_div_1_Template, 4, 7, "div", 33);
28362
- i0.ɵɵtemplate(2, TreeTableComponent_div_7_div_2_Template, 4, 6, "div", 34);
28420
+ i0.ɵɵtemplate(1, TreeTableComponent_div_7_div_1_Template, 4, 8, "div", 33);
28421
+ i0.ɵɵtemplate(2, TreeTableComponent_div_7_div_2_Template, 4, 7, "div", 34);
28363
28422
  i0.ɵɵtemplate(3, TreeTableComponent_div_7_div_3_Template, 1, 0, "div", 35);
28364
28423
  i0.ɵɵtemplate(4, TreeTableComponent_div_7_sme_resizer_4_Template, 1, 2, "sme-resizer", 36);
28365
28424
  i0.ɵɵelementEnd();
@@ -30603,6 +30662,25 @@
30603
30662
  || renderedItem.index === this.hoveredRenderedItemIndex
30604
30663
  || editableDataItem.isNewRow;
30605
30664
  };
30665
+ /**
30666
+ * Retrieves the text that should be associated with the aria-label for column sort order (if sortable).
30667
+ * This label is utilized by screen readers for accessibility.
30668
+ * If the current sort order is Ascending, the label will indicate a button icon is present to Descend order.
30669
+ * If the current sort order is Descending, the label will indicate a button icon is present to Ascend order.
30670
+ * If the current sort order is None, the label is null, and the screen reader will not read anything.
30671
+ * @param column the table column
30672
+ * @returns the text for the aria-label on the sort icon
30673
+ */
30674
+ DataTableComponent.prototype.getSortLabel = function (column) {
30675
+ switch (column.sortMode) {
30676
+ case exports.DataTableSortMode.Ascend:
30677
+ return this.strings.MsftSmeShell.Angular.DataTable.Aria.Label.descendSortOrderButton;
30678
+ case exports.DataTableSortMode.Descend:
30679
+ return this.strings.MsftSmeShell.Angular.DataTable.Aria.Label.ascendSortOrderButton;
30680
+ case exports.DataTableSortMode.None:
30681
+ return null;
30682
+ }
30683
+ };
30606
30684
  /**
30607
30685
  * It implements the AfterViewInit interface.
30608
30686
  */
@@ -32660,6 +32738,13 @@
32660
32738
  this.processColumns();
32661
32739
  }
32662
32740
  };
32741
+ /**
32742
+ * Get the number of filtered items (if any) within the dataTable.
32743
+ * @returns number of dataTable filtered items, zero if none.
32744
+ */
32745
+ DataTableComponent.prototype.getNumberOfFilteredItems = function () {
32746
+ return this.filteredItems ? this.filteredItems.length : 0;
32747
+ };
32663
32748
  /**
32664
32749
  * This function is added from upgrading data table to support editable data table
32665
32750
  * The idea is to use the data table's header width to be applied on the data table body columns.
@@ -34012,8 +34097,9 @@
34012
34097
  /**
34013
34098
  * Force refresh for the pivot tabs.
34014
34099
  */
34015
- PivotComponent.prototype.refresh = function () {
34016
- this.updatePivotTabs();
34100
+ PivotComponent.prototype.refresh = function (shouldEmit) {
34101
+ if (shouldEmit === void 0) { shouldEmit = false; }
34102
+ this.updatePivotTabs(shouldEmit);
34017
34103
  };
34018
34104
  /**
34019
34105
  * Selects a tab
@@ -34076,7 +34162,11 @@
34076
34162
  'sme-pivot'
34077
34163
  ]);
34078
34164
  };
34079
- PivotComponent.prototype.updatePivotTabs = function () {
34165
+ /**
34166
+ * Main rendering functionality for the pivot tab
34167
+ */
34168
+ PivotComponent.prototype.updatePivotTabs = function (shouldEmit) {
34169
+ if (shouldEmit === void 0) { shouldEmit = true; }
34080
34170
  var currentFill = 0;
34081
34171
  this.visibleTabs = [];
34082
34172
  this.trayTabs = [];
@@ -34111,6 +34201,9 @@
34111
34201
  currentFill += tabWidth;
34112
34202
  }
34113
34203
  }
34204
+ if (shouldEmit) {
34205
+ this.emitLayoutChanged();
34206
+ }
34114
34207
  };
34115
34208
  return PivotComponent;
34116
34209
  }(CoreBaseComponent));
@@ -34197,7 +34290,7 @@
34197
34290
  __decorate([
34198
34291
  debounce_decorators.Debounce(),
34199
34292
  __metadata("design:type", Function),
34200
- __metadata("design:paramtypes", []),
34293
+ __metadata("design:paramtypes", [Object]),
34201
34294
  __metadata("design:returntype", void 0)
34202
34295
  ], PivotComponent.prototype, "refresh", null);
34203
34296
  __decorate([
@@ -34921,14 +35014,14 @@
34921
35014
  if (rf & 1) {
34922
35015
  var _r17_1 = i0.ɵɵgetCurrentView();
34923
35016
  i0.ɵɵelementStart(0, "button", 27);
34924
- i0.ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.refresh.next(); });
35017
+ i0.ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.refreshButtonClicked(); });
34925
35018
  i0.ɵɵelement(1, "span", 28);
34926
35019
  i0.ɵɵelementEnd();
34927
35020
  }
34928
35021
  if (rf & 2) {
34929
35022
  var ctx_r6 = i0.ɵɵnextContext();
34930
- i0.ɵɵproperty("disabled", ctx_r6.disableRefresh)("title", ctx_r6.resourceStrings.refresh.title);
34931
- i0.ɵɵattribute("aria-label", ctx_r6.refreshButtonAriaLabel);
35023
+ i0.ɵɵproperty("title", ctx_r6.resourceStrings.refresh.title);
35024
+ i0.ɵɵattribute("aria-disabled", ctx_r6.disableRefresh)("aria-label", ctx_r6.refreshButtonAriaLabel);
34932
35025
  }
34933
35026
  }
34934
35027
  function MasterViewComponent_button_16_Template(rf, ctx) {
@@ -34995,6 +35088,7 @@
34995
35088
  _this.pivotComponent = pivotComponent;
34996
35089
  _this.isInitialized = false;
34997
35090
  _this.resourceStrings = _this.strings.MsftSmeShell.Angular.MasterView;
35091
+ _this.commonStrings = _this.strings.MsftSmeShell.Angular.Common;
34998
35092
  _this.noSideMargin = false;
34999
35093
  _this.hideHeader = false;
35000
35094
  _this.header = '';
@@ -35137,6 +35231,23 @@
35137
35231
  this.refreshButtonAriaLabel = this.resourceStrings.refresh.ariaLabel.noHeader;
35138
35232
  }
35139
35233
  };
35234
+ // Note: this is a bandaid fix to this bug: https://microsoft.visualstudio.com/OS/_workitems/edit/33031791/.
35235
+ // The screen reader doesn't announce when aria-disabled changes and the exact reason for that is unknown.
35236
+ // It's not best practice to be adjusting the aria-label to achieve the effect but that's the best we came up with.
35237
+ // TODO: fix the real issue why the screen reader doesn't announce the aria-disabled changes
35238
+ MasterViewComponent.prototype.ngOnChanges = function (changes) {
35239
+ var _a;
35240
+ var refreshButtonLabel = this.resourceStrings.refresh.ariaLabel.noHeader;
35241
+ if (this.header) {
35242
+ refreshButtonLabel = this.resourceStrings.refresh.ariaLabel.header.format(this.header);
35243
+ }
35244
+ if (((_a = changes.disableRefresh) === null || _a === void 0 ? void 0 : _a.currentValue) === true) {
35245
+ this.refreshButtonAriaLabel = this.commonStrings.disabled + " " + refreshButtonLabel;
35246
+ }
35247
+ else {
35248
+ this.refreshButtonAriaLabel = this.commonStrings.enabled + " " + refreshButtonLabel;
35249
+ }
35250
+ };
35140
35251
  MasterViewComponent.prototype.ngOnDestroy = function () {
35141
35252
  if (this.splitViewPaneToggledSubscription) {
35142
35253
  this.splitViewPaneToggledSubscription.unsubscribe();
@@ -35190,6 +35301,15 @@
35190
35301
  this.actionBarComponent.updateActionBar();
35191
35302
  }
35192
35303
  };
35304
+ /**
35305
+ * Handles clicking on the refresh button
35306
+ */
35307
+ MasterViewComponent.prototype.refreshButtonClicked = function () {
35308
+ if (this.disableRefresh) {
35309
+ return;
35310
+ }
35311
+ this.refresh.next();
35312
+ };
35193
35313
  MasterViewComponent.prototype.handleDetailPaneExpanding = function (dataViewControl) {
35194
35314
  var _this = this;
35195
35315
  if (this.splitView) {
@@ -35280,7 +35400,7 @@
35280
35400
  if (rf & 1) {
35281
35401
  i0.ɵɵlistener("resize", function MasterViewComponent_resize_HostBindingHandler() { return ctx.updateLayout(); }, false, i0.ɵɵresolveWindow);
35282
35402
  }
35283
- }, inputs: { noSideMargin: "noSideMargin", hideHeader: "hideHeader", header: "header", total: "total", showSelection: "showSelection", showColumnPicker: "showColumnPicker", columnPickerActive: "columnPickerActive", showRefresh: "showRefresh", disableRefresh: "disableRefresh", dataTableMinWidth: "dataTableMinWidth", showFilter: "showFilter", filterActive: "filterActive", enableQueryEditor: "enableQueryEditor", selection: "selection", requireDataItemUniqueId: "requireDataItemUniqueId", showCustomFilter: "showCustomFilter", groupActive: "groupActive", stretchToAbsolute: "stretchToAbsolute", autoExpandDetailsPane: "autoExpandDetailsPane", showGroup: "showGroup" }, outputs: { selectionChange: "selectionChange", columnPicker: "columnPicker", refresh: "refresh", filter: "filter", group: "group", clearSelection: "clearSelection" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c5$3, decls: 24, vars: 27, consts: [["class", "sme-position-flex-none sme-padding-squish-v-lg sme-arrange-word-wrap-break-word sme-font-h3", 3, "hidden", "id", 4, "ngIf"], [3, "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until"], ["class", "sme-position-flex-none", 3, "sme-padding-horizontal-sm", 4, "ngIf"], [1, "sme-position-flex-none", "sme-arrange-stack-reversed"], ["container", ""], [1, "sme-position-flex-none", "sme-arrange-stack-h"], [1, "sme-focus-zone", "sme-position-flex-none", "sme-arrange-stack-h", "sme-arrange-ws-nowrap", "sme-scheme-secondary-text"], ["role", "status", 1, "sme-layout-action-bar-item", "sme-padding-horizontal-sm", 3, "id"], ["type", "button", "role", "button", "class", "sme-button-trigger sme-layout-action-bar-item-height sme-scheme-secondary-text sme-button-auto-width", 3, "click", 4, "ngIf"], [1, "sme-focus-zone", "sme-arrange-ws-nowrap"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", "data-uta-id", "column-picker-button", 3, "title", "sme-toggled", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "disabled", "title", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "title", "sme-toggled", "click", 4, "ngIf"], [1, "sme-focus-zone"], ["class", "sme-margin-horizontal-sm", 4, "ngIf"], ["style", "position: relative;", 4, "ngIf"], ["dataView", ""], [1, "sme-position-flex-none", "sme-padding-squish-v-lg", "sme-arrange-word-wrap-break-word", "sme-font-h3", 3, "hidden", "id"], [1, "sme-position-flex-none"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-scheme-secondary-text", "sme-button-auto-width", 3, "click"], ["aria-hidden", "true"], [1, "sme-screen-reader"], ["aria-hidden", "true", 1, "sme-icon", "sme-icon-clear", "sme-margin-left-xs", 3, "title"], ["type", "button", "role", "button", "data-uta-id", "column-picker-button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-tripleColumn"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "disabled", "title", "click"], [1, "sme-icon", "sme-icon-refresh"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-filter"], [1, "sme-icon", "sme-icon-groupedList"], [1, "sme-margin-horizontal-sm"], [2, "position", "relative"], [1, "sme-position-flex-none", "sme-layout-action-bar-item"]], template: function MasterViewComponent_Template(rf, ctx) {
35403
+ }, inputs: { noSideMargin: "noSideMargin", hideHeader: "hideHeader", header: "header", total: "total", showSelection: "showSelection", showColumnPicker: "showColumnPicker", columnPickerActive: "columnPickerActive", showRefresh: "showRefresh", disableRefresh: "disableRefresh", dataTableMinWidth: "dataTableMinWidth", showFilter: "showFilter", filterActive: "filterActive", enableQueryEditor: "enableQueryEditor", selection: "selection", requireDataItemUniqueId: "requireDataItemUniqueId", showCustomFilter: "showCustomFilter", groupActive: "groupActive", stretchToAbsolute: "stretchToAbsolute", autoExpandDetailsPane: "autoExpandDetailsPane", showGroup: "showGroup" }, outputs: { selectionChange: "selectionChange", columnPicker: "columnPicker", refresh: "refresh", filter: "filter", group: "group", clearSelection: "clearSelection" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c5$3, decls: 24, vars: 27, consts: [["class", "sme-position-flex-none sme-padding-squish-v-lg sme-arrange-word-wrap-break-word sme-font-h3", 3, "hidden", "id", 4, "ngIf"], [3, "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until"], ["class", "sme-position-flex-none", 3, "sme-padding-horizontal-sm", 4, "ngIf"], [1, "sme-position-flex-none", "sme-arrange-stack-reversed"], ["container", ""], [1, "sme-position-flex-none", "sme-arrange-stack-h"], [1, "sme-focus-zone", "sme-position-flex-none", "sme-arrange-stack-h", "sme-arrange-ws-nowrap", "sme-scheme-secondary-text"], ["role", "status", 1, "sme-layout-action-bar-item", "sme-padding-horizontal-sm", 3, "id"], ["type", "button", "role", "button", "class", "sme-button-trigger sme-layout-action-bar-item-height sme-scheme-secondary-text sme-button-auto-width", 3, "click", 4, "ngIf"], [1, "sme-focus-zone", "sme-arrange-ws-nowrap"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", "data-uta-id", "column-picker-button", 3, "title", "sme-toggled", "click", 4, "ngIf"], ["aria-live", "polite", "type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "title", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "title", "sme-toggled", "click", 4, "ngIf"], [1, "sme-focus-zone"], ["class", "sme-margin-horizontal-sm", 4, "ngIf"], ["style", "position: relative;", 4, "ngIf"], ["dataView", ""], [1, "sme-position-flex-none", "sme-padding-squish-v-lg", "sme-arrange-word-wrap-break-word", "sme-font-h3", 3, "hidden", "id"], [1, "sme-position-flex-none"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-scheme-secondary-text", "sme-button-auto-width", 3, "click"], ["aria-hidden", "true"], [1, "sme-screen-reader"], ["aria-hidden", "true", 1, "sme-icon", "sme-icon-clear", "sme-margin-left-xs", 3, "title"], ["type", "button", "role", "button", "data-uta-id", "column-picker-button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-tripleColumn"], ["aria-live", "polite", "type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-refresh"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-filter"], [1, "sme-icon", "sme-icon-groupedList"], [1, "sme-margin-horizontal-sm"], [2, "position", "relative"], [1, "sme-position-flex-none", "sme-layout-action-bar-item"]], template: function MasterViewComponent_Template(rf, ctx) {
35284
35404
  if (rf & 1) {
35285
35405
  i0.ɵɵprojectionDef(_c4$5);
35286
35406
  i0.ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2, 3, "h2", 0);
@@ -36505,7 +36625,7 @@
36505
36625
  if (rf & 2) {
36506
36626
  var link_r13 = i0.ɵɵnextContext().$implicit;
36507
36627
  i0.ɵɵadvance(1);
36508
- i0.ɵɵtextInterpolate(link_r13.displayText);
36628
+ i0.ɵɵtextInterpolate1(" ", link_r13.displayText, " ");
36509
36629
  }
36510
36630
  }
36511
36631
  function AlertBarComponent_div_1_label_14_div_1_div_2_a_1_Template(rf, ctx) {
@@ -36518,7 +36638,7 @@
36518
36638
  var link_r13 = i0.ɵɵnextContext(2).$implicit;
36519
36639
  i0.ɵɵproperty("href", link_r13.uri, i0.ɵɵsanitizeUrl);
36520
36640
  i0.ɵɵadvance(1);
36521
- i0.ɵɵtextInterpolate(link_r13.displayText);
36641
+ i0.ɵɵtextInterpolate1(" ", link_r13.displayText, " ");
36522
36642
  }
36523
36643
  }
36524
36644
  function AlertBarComponent_div_1_label_14_div_1_div_2_a_2_Template(rf, ctx) {
@@ -36531,7 +36651,7 @@
36531
36651
  var link_r13 = i0.ɵɵnextContext(2).$implicit;
36532
36652
  i0.ɵɵproperty("routerLink", link_r13.uri);
36533
36653
  i0.ɵɵadvance(1);
36534
- i0.ɵɵtextInterpolate(link_r13.displayText);
36654
+ i0.ɵɵtextInterpolate1(" ", link_r13.displayText, " ");
36535
36655
  }
36536
36656
  }
36537
36657
  function AlertBarComponent_div_1_label_14_div_1_div_2_Template(rf, ctx) {
@@ -36808,7 +36928,7 @@
36808
36928
  return AlertBarComponent;
36809
36929
  }(CoreBaseComponent));
36810
36930
  /** @nocollapse */ AlertBarComponent.ɵfac = function AlertBarComponent_Factory(t) { return new (t || AlertBarComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(AlertBarService), i0.ɵɵdirectiveInject(DialogService)); };
36811
- /** @nocollapse */ AlertBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertBarComponent, selectors: [["sme-alert-bar"]], inputs: { id: "id" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "sme-layer-notification", "sme-layout-absolute", "sme-layout-notification-popup-list"], ["tabindex", "0", "class", "sme-layout-notification-popup sme-shadow-notification-popup sme-margin-right-sm sme-margin-top-sm sme-arrange-stack-h\n sme-background-color-alt-5 sme-border-color-alt-5 sme-padding-top-xs sme-padding-left-sm sme-padding-right-xs sme-padding-bottom-xs sme-behavior-hover-trigger", 3, "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 1, "sme-layout-notification-popup", "sme-shadow-notification-popup", "sme-margin-right-sm", "sme-margin-top-sm", "sme-arrange-stack-h", "sme-background-color-alt-5", "sme-border-color-alt-5", "sme-padding-top-xs", "sme-padding-left-sm", "sme-padding-right-xs", "sme-padding-bottom-xs", "sme-behavior-hover-trigger", 3, "click"], [1, "sme-arrange-stack-v"], ["size", "16px", 1, "sme-padding-right-xs", "sme-padding-top-xxxs", 3, "status", "title"], ["role", "button", "class", "sme-button-trigger sme-button-auto-width sme-position-flex-none sme-padding-inset-none sme-icon sme-padding-top-xxs sme-behavior-hover-target-show", 3, "ngClass", "title", "click", 4, "ngIf"], ["role", "alert", "id", "sme-alert-bar-content", 1, "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-word-wrap-break-word", "sme-position-stretch-h"], [1, "sme-layout-notification-message"], [1, "sme-arrange-stack-h"], [1, "sme-screen-reader"], [1, "sme-font-family-bold", "sme-font-label", "sme-margin-inset-none", "sme-padding-top-xxxs", "sme-position-stretch-h", "sme-position-left-inline"], ["class", "sme-font-label", 4, "ngIf"], [4, "ngIf"], [1, "sme-arrange-stack-h", "sme-font-label", "sme-color-base-40"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis"], [1, "sme-position-flex-none", "sme-margin-left-xxs"], ["aria-describedby", "sme-alert-bar-content", 1, "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-inset-none", "sme-padding-left-xxs", "sme-padding-right-xxs", 3, "click"], [1, "sme-icon", "sme-icon-cancel", 3, "title"], ["role", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-inset-none", "sme-icon", "sme-padding-top-xxs", "sme-behavior-hover-target-show", 3, "ngClass", "title", "click"], [1, "sme-font-label"], [4, "ngFor", "ngForOf"], ["class", "sme-link", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [1, "sme-link", 3, "click"], [3, "click"], ["class", "sme-link", "target", "_blank", 3, "href", 4, "ngIf"], ["class", "sme-link", 3, "routerLink", 4, "ngIf"], ["target", "_blank", 1, "sme-link", 3, "href"], [1, "sme-link", 3, "routerLink"]], template: function AlertBarComponent_Template(rf, ctx) {
36931
+ /** @nocollapse */ AlertBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertBarComponent, selectors: [["sme-alert-bar"]], inputs: { id: "id" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "sme-layer-notification", "sme-layout-absolute", "sme-layout-notification-popup-list"], ["tabindex", "0", "class", "sme-layout-notification-popup sme-shadow-notification-popup sme-margin-right-sm sme-margin-top-sm sme-arrange-stack-h\n sme-background-color-alt-5 sme-border-color-alt-5 sme-padding-top-xs sme-padding-left-sm sme-padding-right-xs sme-padding-bottom-xs sme-behavior-hover-trigger", 3, "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 1, "sme-layout-notification-popup", "sme-shadow-notification-popup", "sme-margin-right-sm", "sme-margin-top-sm", "sme-arrange-stack-h", "sme-background-color-alt-5", "sme-border-color-alt-5", "sme-padding-top-xs", "sme-padding-left-sm", "sme-padding-right-xs", "sme-padding-bottom-xs", "sme-behavior-hover-trigger", 3, "click"], [1, "sme-arrange-stack-v"], ["size", "16px", 1, "sme-padding-right-xs", "sme-padding-top-xxxs", 3, "status", "title"], ["role", "button", "class", "sme-button-trigger sme-button-auto-width sme-position-flex-none sme-padding-inset-none sme-icon sme-padding-top-xxs sme-behavior-hover-target-show", 3, "ngClass", "title", "click", 4, "ngIf"], ["role", "alert", "id", "sme-alert-bar-content", 1, "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-word-wrap-break-word", "sme-position-stretch-h"], [1, "sme-layout-notification-message"], [1, "sme-arrange-stack-h"], [1, "sme-screen-reader"], [1, "sme-font-family-bold", "sme-font-label", "sme-margin-inset-none", "sme-padding-top-xxxs", "sme-position-stretch-h", "sme-position-left-inline"], ["class", "sme-font-label", 4, "ngIf"], [4, "ngIf"], [1, "sme-arrange-stack-h", "sme-font-label", "sme-color-base-40"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis"], [1, "sme-position-flex-none", "sme-margin-left-xxs"], ["data-uta-id", "cancel-alert", "aria-describedby", "sme-alert-bar-content", 1, "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-inset-none", "sme-padding-left-xxs", "sme-padding-right-xxs", 3, "click"], [1, "sme-icon", "sme-icon-cancel", 3, "title"], ["role", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-inset-none", "sme-icon", "sme-padding-top-xxs", "sme-behavior-hover-target-show", 3, "ngClass", "title", "click"], [1, "sme-font-label"], [4, "ngFor", "ngForOf"], ["class", "sme-link", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [1, "sme-link", 3, "click"], [3, "click"], ["class", "sme-link", "target", "_blank", 3, "href", 4, "ngIf"], ["class", "sme-link", 3, "routerLink", 4, "ngIf"], ["target", "_blank", 1, "sme-link", 3, "href"], [1, "sme-link", 3, "routerLink"]], template: function AlertBarComponent_Template(rf, ctx) {
36812
36932
  if (rf & 1) {
36813
36933
  i0.ɵɵelementStart(0, "div", 0);
36814
36934
  i0.ɵɵtemplate(1, AlertBarComponent_div_1_Template, 23, 13, "div", 1);
@@ -45232,9 +45352,43 @@
45232
45352
 
45233
45353
  var PropertyGridItemComponent = /** @class */ (function () {
45234
45354
  function PropertyGridItemComponent() {
45355
+ /**
45356
+ * The status for the property grid item.
45357
+ */
45235
45358
  this.status = null;
45359
+ /**
45360
+ * It indicates the column span for the layout.
45361
+ */
45236
45362
  this.columnSpan = 1;
45363
+ /**
45364
+ * It indicates the rendering of loading wheel when data unloaded.
45365
+ */
45366
+ this.isAsync = false;
45367
+ /**
45368
+ * It indicates whether the property grid is loading.
45369
+ * This parameter has to have isAsync set to true to use.
45370
+ */
45371
+ this.loading = true;
45237
45372
  }
45373
+ Object.defineProperty(PropertyGridItemComponent.prototype, "value", {
45374
+ /**
45375
+ * The getter for value/context.
45376
+ */
45377
+ get: function () {
45378
+ return this.internalValue;
45379
+ },
45380
+ /**
45381
+ * The setter for value/context.
45382
+ */
45383
+ set: function (input) {
45384
+ if (this.isAsync && this.loading) {
45385
+ this.loading = false;
45386
+ }
45387
+ this.internalValue = input;
45388
+ },
45389
+ enumerable: false,
45390
+ configurable: true
45391
+ });
45238
45392
  Object.defineProperty(PropertyGridItemComponent.prototype, "statusClass", {
45239
45393
  /**
45240
45394
  * Gets the status class to apply to this components value section
@@ -45266,10 +45420,26 @@
45266
45420
  enumerable: false,
45267
45421
  configurable: true
45268
45422
  });
45423
+ PropertyGridItemComponent.prototype.ngOnInit = function () {
45424
+ // Edge case when the data has been assigned before the UI renders,
45425
+ // the functionality to make sure the data is actually loaded.
45426
+ // Basically in this case the set function will be skipped.
45427
+ if (this.isAsync && this.loading && this.value !== undefined) {
45428
+ this.loading = false;
45429
+ }
45430
+ };
45431
+ /**
45432
+ * Give the ability to reset loading.
45433
+ */
45434
+ PropertyGridItemComponent.prototype.resetLoading = function () {
45435
+ if (!this.loading) {
45436
+ this.loading = true;
45437
+ }
45438
+ };
45269
45439
  return PropertyGridItemComponent;
45270
45440
  }());
45271
45441
  /** @nocollapse */ PropertyGridItemComponent.ɵfac = function PropertyGridItemComponent_Factory(t) { return new (t || PropertyGridItemComponent)(); };
45272
- /** @nocollapse */ PropertyGridItemComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PropertyGridItemComponent, selectors: [["sme-property-grid-item"]], inputs: { label: "label", value: "value", action: "action", link: "link", tooltip: "tooltip", isExternalLink: "isExternalLink", iconClass: "iconClass", status: "status", columnSpan: "columnSpan" }, decls: 0, vars: 0, template: function PropertyGridItemComponent_Template(rf, ctx) { }, encapsulation: 2 });
45442
+ /** @nocollapse */ PropertyGridItemComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PropertyGridItemComponent, selectors: [["sme-property-grid-item"]], inputs: { label: "label", value: "value", action: "action", link: "link", tooltip: "tooltip", isExternalLink: "isExternalLink", iconClass: "iconClass", status: "status", columnSpan: "columnSpan", isAsync: "isAsync" }, decls: 0, vars: 0, template: function PropertyGridItemComponent_Template(rf, ctx) { }, encapsulation: 2 });
45273
45443
  (function () {
45274
45444
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PropertyGridItemComponent, [{
45275
45445
  type: i0.Component,
@@ -45295,6 +45465,8 @@
45295
45465
  type: i0.Input
45296
45466
  }], columnSpan: [{
45297
45467
  type: i0.Input
45468
+ }], isAsync: [{
45469
+ type: i0.Input
45298
45470
  }] });
45299
45471
  })();
45300
45472
 
@@ -45367,43 +45539,67 @@
45367
45539
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", i0.ɵɵpureFunction2(7, _c4$6, item_r14, i_r15));
45368
45540
  }
45369
45541
  }
45370
- function PropertyGridComponent_ng_template_6_ng_container_1_Template(rf, ctx) {
45542
+ function PropertyGridComponent_ng_template_6_sme_loading_wheel_0_Template(rf, ctx) {
45543
+ if (rf & 1) {
45544
+ i0.ɵɵelement(0, "sme-loading-wheel", 23);
45545
+ }
45546
+ if (rf & 2) {
45547
+ i0.ɵɵproperty("inline", true)("isBackgroundTransparent", true);
45548
+ }
45549
+ }
45550
+ function PropertyGridComponent_ng_template_6_ng_container_1_ng_container_2_Template(rf, ctx) {
45371
45551
  if (rf & 1) {
45372
45552
  i0.ɵɵelementContainer(0);
45373
45553
  }
45374
45554
  }
45375
- function PropertyGridComponent_ng_template_6_span_2_Template(rf, ctx) {
45555
+ function PropertyGridComponent_ng_template_6_ng_container_1_span_3_Template(rf, ctx) {
45376
45556
  if (rf & 1) {
45377
45557
  i0.ɵɵelementStart(0, "span");
45378
45558
  i0.ɵɵtext(1);
45379
45559
  i0.ɵɵelementEnd();
45380
45560
  }
45381
45561
  if (rf & 2) {
45382
- var item_r20 = i0.ɵɵnextContext().$implicit;
45383
- var ctx_r23 = i0.ɵɵnextContext();
45562
+ var item_r20 = i0.ɵɵnextContext(2).$implicit;
45563
+ var ctx_r25 = i0.ɵɵnextContext();
45384
45564
  i0.ɵɵadvance(1);
45385
- i0.ɵɵtextInterpolate(ctx_r23.stringifyValue(item_r20.value));
45565
+ i0.ɵɵtextInterpolate(ctx_r25.stringifyValue(item_r20.value));
45386
45566
  }
45387
45567
  }
45388
- function PropertyGridComponent_ng_template_6_Template(rf, ctx) {
45568
+ function PropertyGridComponent_ng_template_6_ng_container_1_Template(rf, ctx) {
45389
45569
  if (rf & 1) {
45390
- i0.ɵɵelementStart(0, "p", 21);
45391
- i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container", 19);
45392
- i0.ɵɵtemplate(2, PropertyGridComponent_ng_template_6_span_2_Template, 2, 1, "span", 22);
45570
+ i0.ɵɵelementContainerStart(0);
45571
+ i0.ɵɵelementStart(1, "p", 24);
45572
+ i0.ɵɵtemplate(2, PropertyGridComponent_ng_template_6_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 19);
45573
+ i0.ɵɵtemplate(3, PropertyGridComponent_ng_template_6_ng_container_1_span_3_Template, 2, 1, "span", 22);
45393
45574
  i0.ɵɵelementEnd();
45575
+ i0.ɵɵelementContainerEnd();
45394
45576
  }
45395
45577
  if (rf & 2) {
45396
- var item_r20 = ctx.$implicit;
45397
- var i_r21 = ctx.index;
45398
- var ctx_r5 = i0.ɵɵnextContext();
45578
+ var ctx_r27 = i0.ɵɵnextContext();
45579
+ var i_r21 = ctx_r27.index;
45580
+ var item_r20 = ctx_r27.$implicit;
45581
+ var ctx_r23 = i0.ɵɵnextContext();
45399
45582
  var _r12 = i0.ɵɵreference(15);
45400
- i0.ɵɵattribute("aria-labelledby", ctx_r5.idBag.labelSpan + i_r21)("aria-describedby", ctx_r5.idBag.detailsSpan + i_r21);
45583
+ i0.ɵɵadvance(1);
45584
+ i0.ɵɵattribute("aria-labelledby", ctx_r23.idBag.labelSpan + i_r21)("aria-describedby", ctx_r23.idBag.detailsSpan + i_r21);
45401
45585
  i0.ɵɵadvance(1);
45402
45586
  i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(5, _c4$6, item_r20, i_r21));
45403
45587
  i0.ɵɵadvance(1);
45404
45588
  i0.ɵɵproperty("ngIf", !item_r20.link && !item_r20.action);
45405
45589
  }
45406
45590
  }
45591
+ function PropertyGridComponent_ng_template_6_Template(rf, ctx) {
45592
+ if (rf & 1) {
45593
+ i0.ɵɵtemplate(0, PropertyGridComponent_ng_template_6_sme_loading_wheel_0_Template, 1, 2, "sme-loading-wheel", 21);
45594
+ i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 4, 8, "ng-container", 22);
45595
+ }
45596
+ if (rf & 2) {
45597
+ var item_r20 = ctx.$implicit;
45598
+ i0.ɵɵproperty("ngIf", item_r20.loading && item_r20.isAsync);
45599
+ i0.ɵɵadvance(1);
45600
+ i0.ɵɵproperty("ngIf", !item_r20.loading || !item_r20.isAsync);
45601
+ }
45602
+ }
45407
45603
  function PropertyGridComponent_ng_template_8_ng_container_1_Template(rf, ctx) {
45408
45604
  if (rf & 1) {
45409
45605
  i0.ɵɵelementContainer(0);
@@ -45413,23 +45609,23 @@
45413
45609
  if (rf & 1) {
45414
45610
  i0.ɵɵelementStart(0, "p");
45415
45611
  i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container", 19);
45416
- i0.ɵɵelementStart(2, "a", 23);
45417
- i0.ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { var item_r25 = ctx.$implicit; return item_r25.action(item_r25); });
45612
+ i0.ɵɵelementStart(2, "a", 25);
45613
+ i0.ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { var item_r28 = ctx.$implicit; return item_r28.action(item_r28); });
45418
45614
  i0.ɵɵtext(3);
45419
45615
  i0.ɵɵelementEnd();
45420
45616
  i0.ɵɵelementEnd();
45421
45617
  }
45422
45618
  if (rf & 2) {
45423
- var item_r25 = ctx.$implicit;
45424
- var i_r26 = ctx.index;
45619
+ var item_r28 = ctx.$implicit;
45620
+ var i_r29 = ctx.index;
45425
45621
  var ctx_r7 = i0.ɵɵnextContext();
45426
45622
  var _r12 = i0.ɵɵreference(15);
45427
45623
  i0.ɵɵadvance(1);
45428
- i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(5, _c4$6, item_r25, i_r26));
45624
+ i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(5, _c4$6, item_r28, i_r29));
45429
45625
  i0.ɵɵadvance(1);
45430
- i0.ɵɵattribute("aria-labelledby", ctx_r7.idBag.labelSpan + i_r26 + " " + (ctx_r7.idBag.valueSpan + i_r26))("aria-describedby", ctx_r7.idBag.detailsSpan + i_r26);
45626
+ i0.ɵɵattribute("aria-labelledby", ctx_r7.idBag.labelSpan + i_r29 + " " + (ctx_r7.idBag.valueSpan + i_r29))("aria-describedby", ctx_r7.idBag.detailsSpan + i_r29);
45431
45627
  i0.ɵɵadvance(1);
45432
- i0.ɵɵtextInterpolate(item_r25.value);
45628
+ i0.ɵɵtextInterpolate(item_r28.value);
45433
45629
  }
45434
45630
  }
45435
45631
  function PropertyGridComponent_ng_template_10_ng_container_1_Template(rf, ctx) {
@@ -45441,23 +45637,23 @@
45441
45637
  if (rf & 1) {
45442
45638
  i0.ɵɵelementStart(0, "p");
45443
45639
  i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container", 19);
45444
- i0.ɵɵelementStart(2, "a", 24);
45640
+ i0.ɵɵelementStart(2, "a", 26);
45445
45641
  i0.ɵɵtext(3);
45446
45642
  i0.ɵɵelementEnd();
45447
45643
  i0.ɵɵelementEnd();
45448
45644
  }
45449
45645
  if (rf & 2) {
45450
- var item_r29 = ctx.$implicit;
45451
- var i_r30 = ctx.index;
45646
+ var item_r32 = ctx.$implicit;
45647
+ var i_r33 = ctx.index;
45452
45648
  var ctx_r9 = i0.ɵɵnextContext();
45453
45649
  var _r12 = i0.ɵɵreference(15);
45454
45650
  i0.ɵɵadvance(1);
45455
- i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6, item_r29, i_r30));
45651
+ i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6, item_r32, i_r33));
45456
45652
  i0.ɵɵadvance(1);
45457
- i0.ɵɵproperty("routerLink", item_r29.link);
45458
- i0.ɵɵattribute("aria-labelledby", ctx_r9.idBag.labelSpan + i_r30 + " " + (ctx_r9.idBag.valueSpan + i_r30))("aria-describedby", ctx_r9.idBag.detailsSpan + i_r30);
45653
+ i0.ɵɵproperty("routerLink", item_r32.link);
45654
+ i0.ɵɵattribute("aria-labelledby", ctx_r9.idBag.labelSpan + i_r33 + " " + (ctx_r9.idBag.valueSpan + i_r33))("aria-describedby", ctx_r9.idBag.detailsSpan + i_r33);
45459
45655
  i0.ɵɵadvance(1);
45460
- i0.ɵɵtextInterpolate(item_r29.value);
45656
+ i0.ɵɵtextInterpolate(item_r32.value);
45461
45657
  }
45462
45658
  }
45463
45659
  function PropertyGridComponent_ng_template_12_ng_container_1_Template(rf, ctx) {
@@ -45469,26 +45665,26 @@
45469
45665
  if (rf & 1) {
45470
45666
  i0.ɵɵelementStart(0, "p");
45471
45667
  i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container", 19);
45472
- i0.ɵɵelementStart(2, "a", 25);
45668
+ i0.ɵɵelementStart(2, "a", 27);
45473
45669
  i0.ɵɵelementStart(3, "span");
45474
45670
  i0.ɵɵtext(4);
45475
45671
  i0.ɵɵelementEnd();
45476
- i0.ɵɵelement(5, "span", 26);
45672
+ i0.ɵɵelement(5, "span", 28);
45477
45673
  i0.ɵɵelementEnd();
45478
45674
  i0.ɵɵelementEnd();
45479
45675
  }
45480
45676
  if (rf & 2) {
45481
- var item_r32 = ctx.$implicit;
45482
- var i_r33 = ctx.index;
45677
+ var item_r35 = ctx.$implicit;
45678
+ var i_r36 = ctx.index;
45483
45679
  var ctx_r11 = i0.ɵɵnextContext();
45484
45680
  var _r12 = i0.ɵɵreference(15);
45485
45681
  i0.ɵɵadvance(1);
45486
- i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6, item_r32, i_r33));
45682
+ i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6, item_r35, i_r36));
45487
45683
  i0.ɵɵadvance(1);
45488
- i0.ɵɵproperty("href", item_r32.link, i0.ɵɵsanitizeUrl);
45489
- i0.ɵɵattribute("aria-labelledby", ctx_r11.idBag.labelSpan + i_r33 + " " + (ctx_r11.idBag.valueSpan + i_r33))("aria-describedby", ctx_r11.idBag.detailsSpan + i_r33);
45684
+ i0.ɵɵproperty("href", item_r35.link, i0.ɵɵsanitizeUrl);
45685
+ i0.ɵɵattribute("aria-labelledby", ctx_r11.idBag.labelSpan + i_r36 + " " + (ctx_r11.idBag.valueSpan + i_r36))("aria-describedby", ctx_r11.idBag.detailsSpan + i_r36);
45490
45686
  i0.ɵɵadvance(2);
45491
- i0.ɵɵtextInterpolate(item_r32.value);
45687
+ i0.ɵɵtextInterpolate(item_r35.value);
45492
45688
  }
45493
45689
  }
45494
45690
  function PropertyGridComponent_ng_template_14_span_0_Template(rf, ctx) {
@@ -45496,29 +45692,29 @@
45496
45692
  i0.ɵɵelement(0, "span");
45497
45693
  }
45498
45694
  if (rf & 2) {
45499
- var item_r35 = i0.ɵɵnextContext().$implicit;
45500
- i0.ɵɵclassMapInterpolate1("sme-margin-right-xs sme-icon ", item_r35.iconClass, "");
45695
+ var item_r38 = i0.ɵɵnextContext().$implicit;
45696
+ i0.ɵɵclassMapInterpolate1("sme-margin-right-xs sme-icon ", item_r38.iconClass, "");
45501
45697
  }
45502
45698
  }
45503
45699
  function PropertyGridComponent_ng_template_14_sme_status_icon_1_Template(rf, ctx) {
45504
45700
  if (rf & 1) {
45505
- i0.ɵɵelement(0, "sme-status-icon", 29);
45701
+ i0.ɵɵelement(0, "sme-status-icon", 31);
45506
45702
  }
45507
45703
  if (rf & 2) {
45508
- var item_r35 = i0.ɵɵnextContext().$implicit;
45509
- i0.ɵɵproperty("status", item_r35.status);
45704
+ var item_r38 = i0.ɵɵnextContext().$implicit;
45705
+ i0.ɵɵproperty("status", item_r38.status);
45510
45706
  }
45511
45707
  }
45512
45708
  function PropertyGridComponent_ng_template_14_Template(rf, ctx) {
45513
45709
  if (rf & 1) {
45514
- i0.ɵɵtemplate(0, PropertyGridComponent_ng_template_14_span_0_Template, 1, 3, "span", 27);
45515
- i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_14_sme_status_icon_1_Template, 1, 1, "sme-status-icon", 28);
45710
+ i0.ɵɵtemplate(0, PropertyGridComponent_ng_template_14_span_0_Template, 1, 3, "span", 29);
45711
+ i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_14_sme_status_icon_1_Template, 1, 1, "sme-status-icon", 30);
45516
45712
  }
45517
45713
  if (rf & 2) {
45518
- var item_r35 = ctx.$implicit;
45519
- i0.ɵɵproperty("ngIf", !!item_r35.iconClass);
45714
+ var item_r38 = ctx.$implicit;
45715
+ i0.ɵɵproperty("ngIf", !!item_r38.iconClass);
45520
45716
  i0.ɵɵadvance(1);
45521
- i0.ɵɵproperty("ngIf", item_r35.status !== null && !item_r35.iconClass);
45717
+ i0.ɵɵproperty("ngIf", item_r38.status !== null && !item_r38.iconClass);
45522
45718
  }
45523
45719
  }
45524
45720
  /**
@@ -45564,7 +45760,7 @@
45564
45760
  */
45565
45761
  _this.layoutItemWidth = 300;
45566
45762
  /**
45567
- * The source name to use for logging
45763
+ * The orientation for the property grid
45568
45764
  */
45569
45765
  _this.orientation = 'horizontal';
45570
45766
  /**
@@ -45676,7 +45872,7 @@
45676
45872
  }
45677
45873
  }, inputs: { orientation: "orientation" }, outputs: { layoutChanged: "layoutChanged" }, features: [i0.ɵɵProvidersFeature([
45678
45874
  { provide: SME_LAYOUT_PROVIDER, useExisting: i0.forwardRef((function () { return PropertyGridComponent; })) }
45679
- ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 16, vars: 6, consts: [[1, "sme-position-inset-none", "sme-position-stretch-h", 3, "padLastItem"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "medium", 3, "until", "columns", 4, "ngIf"], ["name", "wide", 3, "columns", 4, "ngIf"], [3, "columnSpan", "maxWidth", 4, "ngFor", "ngForOf"], ["readonlyTemplate", ""], ["actionLinkTemplate", ""], ["internalLinkTemplate", ""], ["externalLinkTemplate", ""], ["iconTemplate", ""], ["name", "medium", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "maxWidth"], ["smeTooltipZone", "", 1, "sme-property-grid-item"], ["zone", "smeTooltipZone"], [1, "sme-arrange-stack-h"], ["class", "sme-position-flex-none sme-icon sme-icon-info sme-info-bubble sme-margin-left-xs", "aria-hidden", "true", 3, "title", "tooltipZone", 4, "ngIf"], [1, "sme-screen-reader"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["aria-hidden", "true", 1, "sme-position-flex-none", "sme-icon", "sme-icon-info", "sme-info-bubble", "sme-margin-left-xs", 3, "title", "tooltipZone"], [1, "read-only-template"], [4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-link", "sme-focus-zone", "action-link-template", 3, "click"], ["role", "link", 1, "sme-link", "sme-focus-zone", 3, "routerLink"], ["role", "link", "target", "_blank", 1, "sme-link", "sme-focus-zone", 3, "href"], [1, "sme-icon", "sme-icon-openInNewWindow", "sme-margin-left-xs"], [3, "class", 4, "ngIf"], ["class", "sme-layout-inline-block sme-margin-right-xs ", "size", "16px", 3, "status", 4, "ngIf"], ["size", "16px", 1, "sme-layout-inline-block", "sme-margin-right-xs", 3, "status"]], template: function PropertyGridComponent_Template(rf, ctx) {
45875
+ ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 16, vars: 6, consts: [[1, "sme-position-inset-none", "sme-position-stretch-h", 3, "padLastItem"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "medium", 3, "until", "columns", 4, "ngIf"], ["name", "wide", 3, "columns", 4, "ngIf"], [3, "columnSpan", "maxWidth", 4, "ngFor", "ngForOf"], ["readonlyTemplate", ""], ["actionLinkTemplate", ""], ["internalLinkTemplate", ""], ["externalLinkTemplate", ""], ["iconTemplate", ""], ["name", "medium", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "maxWidth"], ["tabindex", "0", "smeTooltipZone", "", 1, "sme-property-grid-item"], ["zone", "smeTooltipZone"], [1, "sme-arrange-stack-h"], ["class", "sme-position-flex-none sme-icon sme-icon-info sme-info-bubble sme-margin-left-xs", "aria-hidden", "true", 3, "title", "tooltipZone", 4, "ngIf"], [1, "sme-screen-reader"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["aria-hidden", "true", 1, "sme-position-flex-none", "sme-icon", "sme-icon-info", "sme-info-bubble", "sme-margin-left-xs", 3, "title", "tooltipZone"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent", 4, "ngIf"], [4, "ngIf"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], [1, "read-only-template"], ["tabindex", "0", "role", "link", 1, "sme-link", "sme-focus-zone", "action-link-template", 3, "click"], ["role", "link", 1, "sme-link", "sme-focus-zone", 3, "routerLink"], ["role", "link", "target", "_blank", 1, "sme-link", "sme-focus-zone", 3, "href"], [1, "sme-icon", "sme-icon-openInNewWindow", "sme-margin-left-xs"], [3, "class", 4, "ngIf"], ["class", "sme-layout-inline-block sme-margin-right-xs ", "size", "16px", 3, "status", 4, "ngIf"], ["size", "16px", 1, "sme-layout-inline-block", "sme-margin-right-xs", 3, "status"]], template: function PropertyGridComponent_Template(rf, ctx) {
45680
45876
  if (rf & 1) {
45681
45877
  i0.ɵɵelementStart(0, "sme-layout", 0, 1);
45682
45878
  i0.ɵɵelement(2, "sme-layout-definition", 2);
@@ -45684,7 +45880,7 @@
45684
45880
  i0.ɵɵtemplate(4, PropertyGridComponent_sme_layout_definition_4_Template, 1, 1, "sme-layout-definition", 4);
45685
45881
  i0.ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template, 10, 10, "sme-layout-item", 5);
45686
45882
  i0.ɵɵelementEnd();
45687
- i0.ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template, 3, 8, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
45883
+ i0.ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template, 2, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
45688
45884
  i0.ɵɵtemplate(8, PropertyGridComponent_ng_template_8_Template, 4, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
45689
45885
  i0.ɵɵtemplate(10, PropertyGridComponent_ng_template_10_Template, 4, 9, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
45690
45886
  i0.ɵɵtemplate(12, PropertyGridComponent_ng_template_12_Template, 6, 9, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
@@ -45701,11 +45897,7 @@
45701
45897
  i0.ɵɵadvance(1);
45702
45898
  i0.ɵɵproperty("ngForOf", ctx.items);
45703
45899
  }
45704
- }, directives: [LayoutComponent, LayoutDefinitionComponent, i1$1.NgIf, i1$1.NgForOf, LayoutItemComponent, TooltipZoneDirective, i1$1.NgTemplateOutlet, TooltipDirective, i1.RouterLinkWithHref, StatusIconComponent], encapsulation: 2 });
45705
- __decorate([
45706
- SmeInject(i0.ChangeDetectorRef),
45707
- __metadata("design:type", i0.ChangeDetectorRef)
45708
- ], PropertyGridComponent.prototype, "changeDetector", void 0);
45900
+ }, directives: [LayoutComponent, LayoutDefinitionComponent, i1$1.NgIf, i1$1.NgForOf, LayoutItemComponent, TooltipZoneDirective, i1$1.NgTemplateOutlet, TooltipDirective, LoadingWheelComponent, i1.RouterLinkWithHref, StatusIconComponent], encapsulation: 2 });
45709
45901
  (function () {
45710
45902
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PropertyGridComponent, [{
45711
45903
  type: i0.Component,
@@ -45744,7 +45936,7 @@
45744
45936
  type: i0.Input
45745
45937
  }], layoutChanged: [{
45746
45938
  type: i0.Output
45747
- }], changeDetector: [] });
45939
+ }] });
45748
45940
  })();
45749
45941
 
45750
45942
  var PropertyGridModule = /** @class */ (function () {
@@ -45758,6 +45950,7 @@
45758
45950
  i1.RouterModule,
45759
45951
  i1$1.CommonModule,
45760
45952
  LayoutModule,
45953
+ LoadingWheelModule,
45761
45954
  IconModule,
45762
45955
  TooltipModule
45763
45956
  ]] });
@@ -45766,6 +45959,7 @@
45766
45959
  PropertyGridItemComponent], imports: [i1.RouterModule,
45767
45960
  i1$1.CommonModule,
45768
45961
  LayoutModule,
45962
+ LoadingWheelModule,
45769
45963
  IconModule,
45770
45964
  TooltipModule], exports: [PropertyGridComponent,
45771
45965
  PropertyGridItemComponent] });
@@ -45786,6 +45980,7 @@
45786
45980
  i1.RouterModule,
45787
45981
  i1$1.CommonModule,
45788
45982
  LayoutModule,
45983
+ LoadingWheelModule,
45789
45984
  IconModule,
45790
45985
  TooltipModule
45791
45986
  ]
@@ -50301,21 +50496,51 @@
50301
50496
  }], function () { return [{ type: i1.Router }]; }, null);
50302
50497
  })();
50303
50498
 
50499
+ function SettingsComponent_div_1_span_3_Template(rf, ctx) {
50500
+ if (rf & 1) {
50501
+ i0.ɵɵelementStart(0, "span", 12);
50502
+ i0.ɵɵtext(1);
50503
+ i0.ɵɵelementEnd();
50504
+ }
50505
+ if (rf & 2) {
50506
+ var ctx_r2 = i0.ɵɵnextContext(2);
50507
+ i0.ɵɵadvance(1);
50508
+ i0.ɵɵtextInterpolate(ctx_r2.headerSeparator);
50509
+ }
50510
+ }
50511
+ function SettingsComponent_div_1_span_4_Template(rf, ctx) {
50512
+ if (rf & 1) {
50513
+ i0.ɵɵelementStart(0, "span", 13);
50514
+ i0.ɵɵtext(1);
50515
+ i0.ɵɵelementEnd();
50516
+ }
50517
+ if (rf & 2) {
50518
+ var ctx_r3 = i0.ɵɵnextContext(2);
50519
+ i0.ɵɵadvance(1);
50520
+ i0.ɵɵtextInterpolate(ctx_r3.selectedSettingsTitle);
50521
+ }
50522
+ }
50304
50523
  function SettingsComponent_div_1_Template(rf, ctx) {
50305
50524
  if (rf & 1) {
50306
50525
  i0.ɵɵelementStart(0, "div", 8);
50307
50526
  i0.ɵɵelementStart(1, "h2", 9);
50308
50527
  i0.ɵɵtext(2);
50528
+ i0.ɵɵtemplate(3, SettingsComponent_div_1_span_3_Template, 2, 1, "span", 10);
50529
+ i0.ɵɵtemplate(4, SettingsComponent_div_1_span_4_Template, 2, 1, "span", 11);
50309
50530
  i0.ɵɵelementEnd();
50310
50531
  i0.ɵɵelementEnd();
50311
50532
  }
50312
50533
  if (rf & 2) {
50313
50534
  var ctx_r0 = i0.ɵɵnextContext();
50314
50535
  i0.ɵɵadvance(1);
50315
- i0.ɵɵproperty("title", ctx_r0.settingsTitle);
50316
- i0.ɵɵattribute("aria-label", ctx_r0.settingsTitle);
50536
+ i0.ɵɵproperty("title", ctx_r0.fullSettingsTitle);
50537
+ i0.ɵɵattribute("aria-label", ctx_r0.fullSettingsTitle);
50317
50538
  i0.ɵɵadvance(1);
50318
- i0.ɵɵtextInterpolate(ctx_r0.settingsTitle);
50539
+ i0.ɵɵtextInterpolate1("", ctx_r0.settingsTitle, " ");
50540
+ i0.ɵɵadvance(1);
50541
+ i0.ɵɵproperty("ngIf", ctx_r0.selectedSettingsTitle);
50542
+ i0.ɵɵadvance(1);
50543
+ i0.ɵɵproperty("ngIf", ctx_r0.selectedSettingsTitle);
50319
50544
  }
50320
50545
  }
50321
50546
  var _c0$1u = [[["sme-settings-navigation"]], [["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
@@ -50353,6 +50578,10 @@
50353
50578
  var _this = _super.call(this, injector) || this;
50354
50579
  _this.allForms = [];
50355
50580
  _this.autoFocus = true;
50581
+ /**
50582
+ * Separator used in sticky header on top of Settings page
50583
+ */
50584
+ _this.headerSeparator = '|';
50356
50585
  return _this;
50357
50586
  }
50358
50587
  Object.defineProperty(SettingsComponent.prototype, "logSourceName", {
@@ -50377,6 +50606,7 @@
50377
50606
  // If we have a new form, it means the user navigated so we reset the autofocus
50378
50607
  _this.autoFocus = true;
50379
50608
  }), this.settingsForms.formRemoved().subscribe(function (form) { MsftSme.remove(_this.allForms, form); }));
50609
+ this.fullSettingsTitle = this.settingsTitle;
50380
50610
  };
50381
50611
  SettingsComponent.prototype.ngOnDestroy = function () {
50382
50612
  _super.prototype.ngOnDestroy.call(this);
@@ -50431,6 +50661,14 @@
50431
50661
  return this.addPadding = this.layoutComponent.currentLayoutDefinition.name === 'narrow';
50432
50662
  }
50433
50663
  };
50664
+ /**
50665
+ * Update this.settingsTitle (header of the setting page) to newly selected setting item
50666
+ */
50667
+ SettingsComponent.prototype.updateSelectedSettingTitle = function (newSelectedSettingTitle) {
50668
+ this.selectedSettingsTitle = newSelectedSettingTitle;
50669
+ var fullSettingsTitlePostFix = this.selectedSettingsTitle ? this.headerSeparator + ' ' + this.selectedSettingsTitle : '';
50670
+ this.fullSettingsTitle = this.settingsTitle + ' ' + fullSettingsTitlePostFix;
50671
+ };
50434
50672
  return SettingsComponent;
50435
50673
  }(CoreBaseComponent));
50436
50674
  /** @nocollapse */ SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
@@ -50442,11 +50680,11 @@
50442
50680
  var _t = void 0;
50443
50681
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.layoutComponent = _t.first);
50444
50682
  }
50445
- }, 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) {
50683
+ }, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle", selectedSettingsTitle: "selectedSettingsTitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$O, decls: 12, vars: 10, 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 sme-padding-bottom-none sme-padding-left-md", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-arrange-overflow-auto", 3, "padLastItem", "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "wide", 3, "columns", "addBottomPadding"], [3, "columnSpan", "ngClass"], [1, "sme-padding-top-xs", 3, "columnSpan", "ngClass"], [1, "sme-layout-tool-header", "sme-position-flex-none", "sme-arrange-ellipsis", "sme-padding-bottom-none", "sme-padding-left-md"], [1, "sme-font-h3", 3, "title"], ["class", "sme-padding-horizontal-sm sme-font-family-normal", 4, "ngIf"], ["class", "sme-font-family-normal", 4, "ngIf"], [1, "sme-padding-horizontal-sm", "sme-font-family-normal"], [1, "sme-font-family-normal"]], template: function SettingsComponent_Template(rf, ctx) {
50446
50684
  if (rf & 1) {
50447
50685
  i0.ɵɵprojectionDef(_c0$1u);
50448
50686
  i0.ɵɵelementStart(0, "div", 0);
50449
- i0.ɵɵtemplate(1, SettingsComponent_div_1_Template, 3, 3, "div", 1);
50687
+ i0.ɵɵtemplate(1, SettingsComponent_div_1_Template, 5, 5, "div", 1);
50450
50688
  i0.ɵɵelementStart(2, "sme-layout", 2, 3);
50451
50689
  i0.ɵɵlistener("layoutChanged", function SettingsComponent_Template_sme_layout_layoutChanged_2_listener() { return ctx.isPaddingRequired(); });
50452
50690
  i0.ɵɵelement(4, "sme-layout-definition", 4);
@@ -50463,6 +50701,7 @@
50463
50701
  i0.ɵɵelementEnd();
50464
50702
  }
50465
50703
  if (rf & 2) {
50704
+ var _r1 = i0.ɵɵreference(3);
50466
50705
  i0.ɵɵadvance(1);
50467
50706
  i0.ɵɵproperty("ngIf", ctx.settingsTitle);
50468
50707
  i0.ɵɵadvance(1);
@@ -50470,9 +50709,9 @@
50470
50709
  i0.ɵɵadvance(2);
50471
50710
  i0.ɵɵproperty("until", 800)("columns", 1);
50472
50711
  i0.ɵɵadvance(1);
50473
- i0.ɵɵproperty("columns", 5);
50712
+ i0.ɵɵproperty("columns", 5)("addBottomPadding", false);
50474
50713
  i0.ɵɵadvance(1);
50475
- i0.ɵɵproperty("columnSpan", 1);
50714
+ i0.ɵɵproperty("columnSpan", 1)("ngClass", _r1.currentLayoutDefinitionName === "narrow" ? "" : "sme-position-stretch-v");
50476
50715
  i0.ɵɵadvance(2);
50477
50716
  i0.ɵɵproperty("columnSpan", 4)("ngClass", ctx.addPadding ? "sme-position-stretch sme-padding-left-xl" : "sme-position-stretch");
50478
50717
  }
@@ -50496,6 +50735,8 @@
50496
50735
  type: i0.Input
50497
50736
  }], settingsTitle: [{
50498
50737
  type: i0.Input
50738
+ }], selectedSettingsTitle: [{
50739
+ type: i0.Input
50499
50740
  }], layoutComponent: [{
50500
50741
  type: i0.ViewChild,
50501
50742
  args: [LayoutComponent]
@@ -50532,10 +50773,11 @@
50532
50773
  }], function () { return [{ type: RpcService }]; }, null);
50533
50774
  })();
50534
50775
 
50776
+ var _c0$1v = ["searchTextBox"];
50535
50777
  function CommonSettingsComponent_header_2_Template(rf, ctx) {
50536
50778
  if (rf & 1) {
50537
- i0.ɵɵelementStart(0, "header", 7);
50538
- i0.ɵɵelementStart(1, "h2", 8);
50779
+ i0.ɵɵelementStart(0, "header", 12);
50780
+ i0.ɵɵelementStart(1, "h2", 13);
50539
50781
  i0.ɵɵtext(2);
50540
50782
  i0.ɵɵelementEnd();
50541
50783
  i0.ɵɵelementEnd();
@@ -50548,114 +50790,114 @@
50548
50790
  i0.ɵɵtextInterpolate(ctx_r0.settingsTitle);
50549
50791
  }
50550
50792
  }
50551
- function CommonSettingsComponent_li_6_h3_1_Template(rf, ctx) {
50793
+ function CommonSettingsComponent_li_10_h4_1_Template(rf, ctx) {
50552
50794
  if (rf & 1) {
50553
- i0.ɵɵelementStart(0, "h3", 12);
50795
+ i0.ɵɵelementStart(0, "h4", 17);
50554
50796
  i0.ɵɵtext(1);
50555
50797
  i0.ɵɵelementEnd();
50556
50798
  }
50557
50799
  if (rf & 2) {
50558
- var ctx_r8 = i0.ɵɵnextContext();
50559
- var j_r5 = ctx_r8.index;
50560
- var group_r4 = ctx_r8.$implicit;
50561
- var ctx_r6 = i0.ɵɵnextContext();
50562
- i0.ɵɵproperty("id", ctx_r6.idBag.group + "-" + j_r5)("title", group_r4.group);
50800
+ var ctx_r9 = i0.ɵɵnextContext();
50801
+ var j_r6 = ctx_r9.index;
50802
+ var group_r5 = ctx_r9.$implicit;
50803
+ var ctx_r7 = i0.ɵɵnextContext();
50804
+ i0.ɵɵproperty("id", ctx_r7.idBag.group + "-" + j_r6)("title", group_r5.group);
50563
50805
  i0.ɵɵadvance(1);
50564
- i0.ɵɵtextInterpolate(group_r4.group);
50806
+ i0.ɵɵtextInterpolate(group_r5.group);
50565
50807
  }
50566
50808
  }
50567
- function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) {
50809
+ function CommonSettingsComponent_li_10_a_2_Template(rf, ctx) {
50568
50810
  if (rf & 1) {
50569
- var _r12_1 = i0.ɵɵgetCurrentView();
50570
- i0.ɵɵelementStart(0, "a", 13);
50571
- i0.ɵɵlistener("smeRouterLinkActivated", function CommonSettingsComponent_li_6_a_2_Template_a_smeRouterLinkActivated_0_listener() { i0.ɵɵrestoreView(_r12_1); var setting_r9 = ctx.$implicit; var ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.selectedSetting = setting_r9; });
50572
- i0.ɵɵelement(1, "div", 14);
50573
- i0.ɵɵelementStart(2, "div", 15);
50574
- i0.ɵɵelementStart(3, "span", 16);
50811
+ var _r13_1 = i0.ɵɵgetCurrentView();
50812
+ i0.ɵɵelementStart(0, "a", 18);
50813
+ i0.ɵɵlistener("smeRouterLinkActivated", function CommonSettingsComponent_li_10_a_2_Template_a_smeRouterLinkActivated_0_listener() { i0.ɵɵrestoreView(_r13_1); var setting_r10 = ctx.$implicit; var ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.onSmeRouterLinkActivated(setting_r10); });
50814
+ i0.ɵɵelement(1, "div", 19);
50815
+ i0.ɵɵelementStart(2, "div", 20);
50816
+ i0.ɵɵelementStart(3, "span", 21);
50575
50817
  i0.ɵɵtext(4);
50576
50818
  i0.ɵɵelementEnd();
50577
50819
  i0.ɵɵelementEnd();
50578
50820
  i0.ɵɵelementEnd();
50579
50821
  }
50580
50822
  if (rf & 2) {
50581
- var setting_r9 = ctx.$implicit;
50582
- var i_r10 = ctx.index;
50583
- var j_r5 = i0.ɵɵnextContext().index;
50584
- var ctx_r7 = i0.ɵɵnextContext();
50585
- i0.ɵɵattributeInterpolate5("aria-labelledby", "", ctx_r7.idBag.option, "-", j_r5, "-", i_r10, " ", ctx_r7.idBag.group, "-", j_r5, "");
50586
- i0.ɵɵproperty("routerLink", setting_r9.routeParams.commands)("preserveFragment", setting_r9.routeParams.extras && setting_r9.routeParams.extras.preserveFragment)("skipLocationChange", setting_r9.routeParams.extras && setting_r9.routeParams.extras.skipLocationChange)("replaceUrl", setting_r9.routeParams.extras && setting_r9.routeParams.extras.replaceUrl)("queryParams", setting_r9.routeParams.extras && setting_r9.routeParams.extras.queryParams)("title", setting_r9.label);
50587
- i0.ɵɵattribute("aria-selected", ctx_r7.selectedSetting === setting_r9);
50823
+ var setting_r10 = ctx.$implicit;
50824
+ var i_r11 = ctx.index;
50825
+ var j_r6 = i0.ɵɵnextContext().index;
50826
+ var ctx_r8 = i0.ɵɵnextContext();
50827
+ i0.ɵɵattributeInterpolate5("aria-labelledby", "", ctx_r8.idBag.option, "-", j_r6, "-", i_r11, " ", ctx_r8.idBag.group, "-", j_r6, "");
50828
+ i0.ɵɵproperty("routerLink", setting_r10.routeParams.commands)("preserveFragment", setting_r10.routeParams.extras && setting_r10.routeParams.extras.preserveFragment)("skipLocationChange", setting_r10.routeParams.extras && setting_r10.routeParams.extras.skipLocationChange)("replaceUrl", setting_r10.routeParams.extras && setting_r10.routeParams.extras.replaceUrl)("queryParams", setting_r10.routeParams.extras && setting_r10.routeParams.extras.queryParams)("title", setting_r10.label);
50829
+ i0.ɵɵattribute("aria-selected", ctx_r8.selectedSetting === setting_r10);
50588
50830
  i0.ɵɵadvance(1);
50589
- i0.ɵɵproperty("ngClass", ctx_r7.getSmeIconClass(setting_r9));
50831
+ i0.ɵɵproperty("ngClass", ctx_r8.getSmeIconClass(setting_r10));
50590
50832
  i0.ɵɵadvance(2);
50591
- i0.ɵɵclassProp("sme-dirty", !!(setting_r9.form && setting_r9.form.dirty))("sme-pristine", !(setting_r9.form && setting_r9.form.dirty));
50592
- i0.ɵɵproperty("id", ctx_r7.idBag.option + "-" + j_r5 + "-" + i_r10);
50833
+ i0.ɵɵclassProp("sme-dirty", !!(setting_r10.form && setting_r10.form.dirty))("sme-pristine", !(setting_r10.form && setting_r10.form.dirty));
50834
+ i0.ɵɵproperty("id", ctx_r8.idBag.option + "-" + j_r6 + "-" + i_r11);
50593
50835
  i0.ɵɵadvance(1);
50594
- i0.ɵɵtextInterpolate(setting_r9.label);
50836
+ i0.ɵɵtextInterpolate(setting_r10.label);
50595
50837
  }
50596
50838
  }
50597
- function CommonSettingsComponent_li_6_Template(rf, ctx) {
50839
+ function CommonSettingsComponent_li_10_Template(rf, ctx) {
50598
50840
  if (rf & 1) {
50599
- i0.ɵɵelementStart(0, "li", 9);
50600
- i0.ɵɵtemplate(1, CommonSettingsComponent_li_6_h3_1_Template, 2, 3, "h3", 10);
50601
- i0.ɵɵtemplate(2, CommonSettingsComponent_li_6_a_2_Template, 5, 19, "a", 11);
50841
+ i0.ɵɵelementStart(0, "li", 14);
50842
+ i0.ɵɵtemplate(1, CommonSettingsComponent_li_10_h4_1_Template, 2, 3, "h4", 15);
50843
+ i0.ɵɵtemplate(2, CommonSettingsComponent_li_10_a_2_Template, 5, 19, "a", 16);
50602
50844
  i0.ɵɵelementEnd();
50603
50845
  }
50604
50846
  if (rf & 2) {
50605
- var group_r4 = ctx.$implicit;
50606
- var ctx_r1 = i0.ɵɵnextContext();
50847
+ var group_r5 = ctx.$implicit;
50848
+ var ctx_r2 = i0.ɵɵnextContext();
50607
50849
  i0.ɵɵadvance(1);
50608
- i0.ɵɵproperty("ngIf", group_r4.group !== ctx_r1.defaultGroup);
50850
+ i0.ɵɵproperty("ngIf", group_r5.group !== ctx_r2.defaultGroup);
50609
50851
  i0.ɵɵadvance(1);
50610
- i0.ɵɵproperty("ngForOf", group_r4.options);
50852
+ i0.ɵɵproperty("ngForOf", group_r5.options);
50611
50853
  }
50612
50854
  }
50613
- function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) {
50855
+ function CommonSettingsComponent_div_11_div_1_Template(rf, ctx) {
50614
50856
  if (rf & 1) {
50615
- var _r17_1 = i0.ɵɵgetCurrentView();
50616
- i0.ɵɵelementStart(0, "div", 18);
50617
- i0.ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var layer_r15 = ctx.$implicit; var ctx_r16 = i0.ɵɵnextContext(2); return ctx_r16.onOverlayClick(layer_r15); });
50857
+ var _r18_1 = i0.ɵɵgetCurrentView();
50858
+ i0.ɵɵelementStart(0, "div", 23);
50859
+ i0.ɵɵlistener("click", function CommonSettingsComponent_div_11_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r18_1); var layer_r16 = ctx.$implicit; var ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.onOverlayClick(layer_r16); });
50618
50860
  i0.ɵɵelementEnd();
50619
50861
  }
50620
50862
  }
50621
- function CommonSettingsComponent_div_7_Template(rf, ctx) {
50863
+ function CommonSettingsComponent_div_11_Template(rf, ctx) {
50622
50864
  if (rf & 1) {
50623
50865
  i0.ɵɵelementStart(0, "div");
50624
- i0.ɵɵtemplate(1, CommonSettingsComponent_div_7_div_1_Template, 1, 0, "div", 17);
50866
+ i0.ɵɵtemplate(1, CommonSettingsComponent_div_11_div_1_Template, 1, 0, "div", 22);
50625
50867
  i0.ɵɵelementEnd();
50626
50868
  }
50627
50869
  if (rf & 2) {
50628
- var ctx_r2 = i0.ɵɵnextContext();
50870
+ var ctx_r3 = i0.ɵɵnextContext();
50629
50871
  i0.ɵɵadvance(1);
50630
- i0.ɵɵproperty("ngForOf", ctx_r2.layers);
50872
+ i0.ɵɵproperty("ngForOf", ctx_r3.layers);
50631
50873
  }
50632
50874
  }
50633
- function CommonSettingsComponent_sme_settings_header_8_h3_1_Template(rf, ctx) {
50875
+ function CommonSettingsComponent_sme_settings_header_12_h3_1_Template(rf, ctx) {
50634
50876
  if (rf & 1) {
50635
- i0.ɵɵelementStart(0, "h3", 20);
50877
+ i0.ɵɵelementStart(0, "h3", 25);
50636
50878
  i0.ɵɵtext(1);
50637
50879
  i0.ɵɵelementEnd();
50638
50880
  }
50639
50881
  if (rf & 2) {
50640
- var ctx_r18 = i0.ɵɵnextContext(2);
50641
- i0.ɵɵattribute("aria-label", ctx_r18.selectedSetting.label);
50882
+ var ctx_r19 = i0.ɵɵnextContext(2);
50883
+ i0.ɵɵattribute("aria-label", ctx_r19.selectedSetting.label);
50642
50884
  i0.ɵɵadvance(1);
50643
- i0.ɵɵtextInterpolate1(" ", ctx_r18.selectedSetting.label, "");
50885
+ i0.ɵɵtextInterpolate1(" ", ctx_r19.selectedSetting.label, "");
50644
50886
  }
50645
50887
  }
50646
- function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) {
50888
+ function CommonSettingsComponent_sme_settings_header_12_Template(rf, ctx) {
50647
50889
  if (rf & 1) {
50648
50890
  i0.ɵɵelementStart(0, "sme-settings-header");
50649
- i0.ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_8_h3_1_Template, 2, 2, "h3", 19);
50891
+ i0.ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_12_h3_1_Template, 2, 2, "h3", 24);
50650
50892
  i0.ɵɵelementEnd();
50651
50893
  }
50652
50894
  if (rf & 2) {
50653
- var ctx_r3 = i0.ɵɵnextContext();
50895
+ var ctx_r4 = i0.ɵɵnextContext();
50654
50896
  i0.ɵɵadvance(1);
50655
- i0.ɵɵproperty("ngIf", !!ctx_r3.selectedSetting);
50897
+ i0.ɵɵproperty("ngIf", !!ctx_r4.selectedSetting);
50656
50898
  }
50657
50899
  }
50658
- var _c0$1v = ["*"];
50900
+ var _c1$P = ["*"];
50659
50901
  /**
50660
50902
  * Container around settings component, handles common settings behavior.
50661
50903
  */
@@ -50670,11 +50912,24 @@
50670
50912
  _this.rpcShellService = rpcShellService;
50671
50913
  _this.defaultGroup = 'default';
50672
50914
  _this.layers = [];
50915
+ /**
50916
+ * Search box related variables
50917
+ */
50918
+ _this.filter = '';
50919
+ _this.filteredSettings = [];
50673
50920
  _this.showHeader = true;
50674
50921
  _this.hackShowOverlay = false;
50675
50922
  _this.hackToolHeader = false;
50923
+ /**
50924
+ * Controls whether the tab list showing the Settings items is scrollable or not
50925
+ * Default to true. Allowing separate scroll bar for the navbar and the selected Settings.
50926
+ * Set to false for backward compatibility and use previous behavior where there is
50927
+ * only 1 single scroll bar for both navbar and content of the selected Settings item.
50928
+ */
50929
+ _this.scrollableSecondaryNav = true;
50676
50930
  _this.autofocus = true;
50677
50931
  _this.combinedForm = new i4.FormGroup({});
50932
+ _this.searchTitle = _this.strings.MsftSmeShell.Angular.searchPlaceHolder;
50678
50933
  return _this;
50679
50934
  }
50680
50935
  Object.defineProperty(CommonSettingsComponent.prototype, "logSourceName", {
@@ -50741,11 +50996,20 @@
50741
50996
  this.autofocus = false;
50742
50997
  }
50743
50998
  }
50999
+ // Setting Title header is managed by child component this.settingsComponent,
51000
+ // after current view and child view has been rendered, pass along the selectedSetting
51001
+ // string if it exists so child view will render the title
51002
+ if (this.selectedSetting) {
51003
+ this.onSmeRouterLinkActivated(this.selectedSetting);
51004
+ }
50744
51005
  };
50745
51006
  CommonSettingsComponent.prototype.createMenu = function () {
51007
+ // Before creating the Settings menu, filter the Settings menu to only display
51008
+ // items that matches the filter
51009
+ this.filteredSettings = this.filterSetting();
50746
51010
  var groupTools = [];
50747
51011
  groupTools['default'] = { group: 'default', options: [] };
50748
- this.settings.forEach(function (setting) {
51012
+ this.filteredSettings.forEach(function (setting) {
50749
51013
  if (!!!setting.group) {
50750
51014
  groupTools['default'].options.push(setting);
50751
51015
  }
@@ -50900,38 +51164,87 @@
50900
51164
  }
50901
51165
  return formControl.value;
50902
51166
  };
51167
+ /**
51168
+ * Update this.selectedSetting to the newly selected Settings item when user navigate to a new Settings item
51169
+ * Also call the child component this.settingsComponent to update the settingsTitle to reflect the title
51170
+ * of the newly selected Settings item
51171
+ *
51172
+ * @param newSetting The newly selected Settings item
51173
+ */
51174
+ CommonSettingsComponent.prototype.onSmeRouterLinkActivated = function (newSetting) {
51175
+ this.selectedSetting = newSetting;
51176
+ if (this.settingsComponent) {
51177
+ this.settingsComponent.updateSelectedSettingTitle(newSetting.label);
51178
+ }
51179
+ };
51180
+ /**
51181
+ * Callback function for the search field
51182
+ */
51183
+ CommonSettingsComponent.prototype.onSearch = function () {
51184
+ var _this = this;
51185
+ this.searchTextBox.searching = true;
51186
+ setTimeout(function () {
51187
+ _this.createMenu();
51188
+ _this.searchTextBox.searching = false;
51189
+ });
51190
+ };
51191
+ /**
51192
+ * Filter out the settings Item based on this.filter string and match the title of Settings Items
51193
+ */
51194
+ CommonSettingsComponent.prototype.filterSetting = function () {
51195
+ var settings = this.settings;
51196
+ if (!this.filter) {
51197
+ return settings;
51198
+ }
51199
+ var localFilter = this.filter.toLocaleLowerCase();
51200
+ return settings.filter(function (setting) {
51201
+ if (setting.label.toLocaleLowerCase().indexOf(localFilter) > -1) {
51202
+ return true;
51203
+ }
51204
+ return false;
51205
+ });
51206
+ };
50903
51207
  return CommonSettingsComponent;
50904
51208
  }(CoreBaseComponent));
50905
51209
  /** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(SettingsFormService), i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(RpcShellService)); };
50906
51210
  /** @nocollapse */ CommonSettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CommonSettingsComponent, selectors: [["sme-common-settings"]], viewQuery: function CommonSettingsComponent_Query(rf, ctx) {
50907
51211
  if (rf & 1) {
51212
+ i0.ɵɵviewQuery(_c0$1v, 1);
50908
51213
  i0.ɵɵviewQuery(SettingsComponent, 1);
50909
51214
  }
50910
51215
  if (rf & 2) {
50911
51216
  var _t = void 0;
51217
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchTextBox = _t.first);
50912
51218
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
50913
51219
  }
50914
- }, 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", "smeRouterLinkActivated", 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", "smeRouterLinkActivated"], [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) {
51220
+ }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute", scrollableSecondaryNav: "scrollableSecondaryNav" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$P, decls: 17, vars: 11, consts: [[3, "settingsTitle"], [1, "sme-position-stretch"], ["class", "sme-layout-tool-header", 4, "ngIf"], ["role", "region", 1, "sme-position-stretch", "sme-arrange-stack-v"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "sme-margin-squish-v-sm"], ["type", "search", "name", "toolsListSearch", 3, "ngModel", "placeholder", "autofocus", "count", "ngModelChange", "search"], ["searchTextBox", ""], ["role", "tablist", 1, "sme-arrange-stack-v", "sme-focus-zone", 3, "ngClass"], ["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-font-h4 sme-font-h4-settings", 3, "id", "title", 4, "ngIf"], ["class", "sme-padding-squish-v-sm sme-arrange-stack-h sme-scheme-nav-list-item", "role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", "smeRouterLinkActivated", 4, "ngFor", "ngForOf"], [1, "sme-font-h4", "sme-font-h4-settings", 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-list-item", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", "smeRouterLinkActivated"], [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) {
50915
51221
  if (rf & 1) {
50916
51222
  i0.ɵɵprojectionDef();
50917
51223
  i0.ɵɵelementStart(0, "sme-settings", 0);
50918
- i0.ɵɵelementStart(1, "sme-settings-navigation");
50919
- i0.ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header", 1);
50920
- i0.ɵɵelementStart(3, "div", 2);
50921
- i0.ɵɵelementStart(4, "nav", 3);
50922
- i0.ɵɵelementStart(5, "ul", 4);
50923
- i0.ɵɵtemplate(6, CommonSettingsComponent_li_6_Template, 3, 2, "li", 5);
51224
+ i0.ɵɵelementStart(1, "sme-settings-navigation", 1);
51225
+ i0.ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header", 2);
51226
+ i0.ɵɵelementStart(3, "div", 3);
51227
+ i0.ɵɵelementStart(4, "div", 4);
51228
+ i0.ɵɵelementStart(5, "form", 5);
51229
+ i0.ɵɵelementStart(6, "sme-form-field", 6, 7);
51230
+ i0.ɵɵlistener("ngModelChange", function CommonSettingsComponent_Template_sme_form_field_ngModelChange_6_listener($event) { return ctx.filter = $event; })("search", function CommonSettingsComponent_Template_sme_form_field_search_6_listener() { return ctx.onSearch(); });
51231
+ i0.ɵɵelementEnd();
51232
+ i0.ɵɵelementEnd();
51233
+ i0.ɵɵelementEnd();
51234
+ i0.ɵɵelementStart(8, "nav", 8);
51235
+ i0.ɵɵelementStart(9, "ul", 9);
51236
+ i0.ɵɵtemplate(10, CommonSettingsComponent_li_10_Template, 3, 2, "li", 10);
50924
51237
  i0.ɵɵelementEnd();
50925
51238
  i0.ɵɵelementEnd();
50926
51239
  i0.ɵɵelementEnd();
50927
- i0.ɵɵtemplate(7, CommonSettingsComponent_div_7_Template, 2, 1, "div", 6);
51240
+ i0.ɵɵtemplate(11, CommonSettingsComponent_div_11_Template, 2, 1, "div", 11);
50928
51241
  i0.ɵɵelementEnd();
50929
- i0.ɵɵtemplate(8, CommonSettingsComponent_sme_settings_header_8_Template, 2, 1, "sme-settings-header", 6);
50930
- i0.ɵɵelementStart(9, "sme-settings-content");
50931
- i0.ɵɵelement(10, "router-outlet");
51242
+ i0.ɵɵtemplate(12, CommonSettingsComponent_sme_settings_header_12_Template, 2, 1, "sme-settings-header", 11);
51243
+ i0.ɵɵelementStart(13, "sme-settings-content");
51244
+ i0.ɵɵelement(14, "router-outlet");
50932
51245
  i0.ɵɵelementEnd();
50933
- i0.ɵɵelementStart(11, "sme-settings-footer");
50934
- i0.ɵɵprojection(12);
51246
+ i0.ɵɵelementStart(15, "sme-settings-footer");
51247
+ i0.ɵɵprojection(16);
50935
51248
  i0.ɵɵelementEnd();
50936
51249
  i0.ɵɵelementEnd();
50937
51250
  }
@@ -50942,6 +51255,10 @@
50942
51255
  i0.ɵɵadvance(1);
50943
51256
  i0.ɵɵattribute("aria-label", ctx.settingsTitle);
50944
51257
  i0.ɵɵadvance(3);
51258
+ i0.ɵɵproperty("ngModel", ctx.filter)("placeholder", ctx.searchTitle)("autofocus", true)("count", ctx.filteredSettings ? ctx.filteredSettings.length : 0);
51259
+ i0.ɵɵadvance(2);
51260
+ i0.ɵɵproperty("ngClass", ctx.scrollableSecondaryNav ? "sme-position-flex-auto sme-arrange-overflow-auto-y" : "");
51261
+ i0.ɵɵadvance(2);
50945
51262
  i0.ɵɵproperty("ngForOf", ctx.groupTools);
50946
51263
  i0.ɵɵadvance(1);
50947
51264
  i0.ɵɵproperty("ngIf", ctx.hackShowOverlay);
@@ -50956,7 +51273,10 @@
50956
51273
  selector: 'sme-common-settings',
50957
51274
  templateUrl: './common-settings.component.html'
50958
51275
  }]
50959
- }], function () { return [{ type: i0.Injector }, { type: i1.Router }, { type: SettingsFormService }, { type: i0.IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, { settingsTitle: [{
51276
+ }], function () { return [{ type: i0.Injector }, { type: i1.Router }, { type: SettingsFormService }, { type: i0.IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, { searchTextBox: [{
51277
+ type: i0.ViewChild,
51278
+ args: ['searchTextBox']
51279
+ }], settingsTitle: [{
50960
51280
  type: i0.Input
50961
51281
  }], settings: [{
50962
51282
  type: i0.Input
@@ -50968,6 +51288,8 @@
50968
51288
  type: i0.Input
50969
51289
  }], backRoute: [{
50970
51290
  type: i0.Input
51291
+ }], scrollableSecondaryNav: [{
51292
+ type: i0.Input
50971
51293
  }], settingsComponent: [{
50972
51294
  type: i0.ViewChild,
50973
51295
  args: [SettingsComponent]
@@ -50975,7 +51297,7 @@
50975
51297
  })();
50976
51298
 
50977
51299
  var _c0$1w = [[["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
50978
- var _c1$P = ["sme-settings-header", "sme-settings-content", "sme-settings-footer"];
51300
+ var _c1$Q = ["sme-settings-header", "sme-settings-content", "sme-settings-footer"];
50979
51301
  var SettingsPageComponent = /** @class */ (function (_super) {
50980
51302
  __extends(SettingsPageComponent, _super);
50981
51303
  function SettingsPageComponent(injector) {
@@ -51002,7 +51324,7 @@
51002
51324
  return SettingsPageComponent;
51003
51325
  }(CoreBaseComponent));
51004
51326
  /** @nocollapse */ SettingsPageComponent.ɵfac = function SettingsPageComponent_Factory(t) { return new (t || SettingsPageComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
51005
- /** @nocollapse */ SettingsPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$P, decls: 3, vars: 0, template: function SettingsPageComponent_Template(rf, ctx) {
51327
+ /** @nocollapse */ SettingsPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$Q, decls: 3, vars: 0, template: function SettingsPageComponent_Template(rf, ctx) {
51006
51328
  if (rf & 1) {
51007
51329
  i0.ɵɵprojectionDef(_c0$1w);
51008
51330
  i0.ɵɵprojection(0);
@@ -51292,7 +51614,9 @@
51292
51614
  i1$1.CommonModule,
51293
51615
  HeaderModule,
51294
51616
  LayoutModule,
51295
- TooltipModule
51617
+ TooltipModule,
51618
+ i4.FormsModule,
51619
+ SmeFormsModule
51296
51620
  ]] });
51297
51621
  (function () {
51298
51622
  (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SettingsModule, { declarations: [SettingsComponent,
@@ -51307,7 +51631,9 @@
51307
51631
  i1$1.CommonModule,
51308
51632
  HeaderModule,
51309
51633
  LayoutModule,
51310
- TooltipModule], exports: [SettingsComponent,
51634
+ TooltipModule,
51635
+ i4.FormsModule,
51636
+ SmeFormsModule], exports: [SettingsComponent,
51311
51637
  SettingsFormDirective,
51312
51638
  SettingsFooterComponent,
51313
51639
  SettingsHeaderComponent,
@@ -51326,7 +51652,9 @@
51326
51652
  i1$1.CommonModule,
51327
51653
  HeaderModule,
51328
51654
  LayoutModule,
51329
- TooltipModule
51655
+ TooltipModule,
51656
+ i4.FormsModule,
51657
+ SmeFormsModule
51330
51658
  ],
51331
51659
  exports: [
51332
51660
  SettingsComponent,
@@ -51356,7 +51684,7 @@
51356
51684
  }], null, null);
51357
51685
  })();
51358
51686
  i0.ɵɵsetComponentScope(CommonSettingsComponent, [SettingsComponent,
51359
- SettingsNavigationComponent, i1$1.NgIf, i1$1.NgForOf, TooltipDirective, i1.RouterLinkWithHref, i1.RouterLinkActive, SmeRouterLinkDirective, i1$1.NgClass, SettingsHeaderComponent,
51687
+ SettingsNavigationComponent, i1$1.NgIf, i4.ɵangular_packages_forms_forms_ba, i4.NgControlStatusGroup, i4.NgForm, FormFieldAccessorDirective, FormFieldValidatorDirective, SearchFormFieldComponent, i4.NgControlStatus, i4.NgModel, i1$1.NgClass, i1$1.NgForOf, TooltipDirective, i1.RouterLinkWithHref, i1.RouterLinkActive, SmeRouterLinkDirective, SettingsHeaderComponent,
51360
51688
  SettingsContentComponent, i1.RouterOutlet, SettingsFooterComponent], []);
51361
51689
 
51362
51690
  // tslint:disable-next-line: directive-class-suffix
@@ -52050,21 +52378,19 @@
52050
52378
  i0.ɵɵproperty("ngIf", ctx_r0.isInPreview);
52051
52379
  }
52052
52380
  }
52053
- var _c0$1E = function (a0, a1, a2, a3) { return { "sme-wizard-stage-completed": a0, "sme-wizard-stage-clicked": a1, "sme-wizard-stage-active": a2, "sme-disabled": a3 }; };
52054
- var _c1$Q = function (a0) { return { "sme-icon sme-icon-accept sme-icon-size-xxs": a0 }; };
52381
+ var _c0$1E = function (a0, a1, a2) { return { "sme-wizard-stage-completed": a0, "sme-wizard-stage-clicked": a1, "sme-wizard-stage-active": a2 }; };
52382
+ var _c1$R = function (a0) { return { "sme-icon sme-icon-accept sme-icon-size-xxs": a0 }; };
52055
52383
  var _c2$m = function (a0, a1, a2) { return { "sme-font-emphasis1 sme-wizard-stage-active": a0, "sme-wizard-stage-completed": a1, "sme-margin-left-xs": a2 }; };
52056
- function WizardComponent_ul_2_li_1_Template(rf, ctx) {
52384
+ function WizardComponent_div_2_button_1_Template(rf, ctx) {
52057
52385
  if (rf & 1) {
52058
52386
  var _r11_1 = i0.ɵɵgetCurrentView();
52059
- i0.ɵɵelementStart(0, "li", 16);
52060
- i0.ɵɵlistener("click", function WizardComponent_ul_2_li_1_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r11_1); var val_r9 = ctx.index; var ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.onStageClick(val_r9); });
52061
- i0.ɵɵelementStart(1, "button", 17);
52062
- i0.ɵɵelementStart(2, "span", 18);
52063
- i0.ɵɵtext(3);
52064
- i0.ɵɵelementEnd();
52065
- i0.ɵɵelementStart(4, "span", 19);
52066
- i0.ɵɵtext(5);
52387
+ i0.ɵɵelementStart(0, "button", 16);
52388
+ i0.ɵɵlistener("click", function WizardComponent_div_2_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11_1); var val_r9 = ctx.index; var ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.onStageClick(val_r9); });
52389
+ i0.ɵɵelementStart(1, "span", 17);
52390
+ i0.ɵɵtext(2);
52067
52391
  i0.ɵɵelementEnd();
52392
+ i0.ɵɵelementStart(3, "span", 18);
52393
+ i0.ɵɵtext(4);
52068
52394
  i0.ɵɵelementEnd();
52069
52395
  i0.ɵɵelementEnd();
52070
52396
  }
@@ -52072,14 +52398,11 @@
52072
52398
  var stage_r8 = ctx.$implicit;
52073
52399
  var val_r9 = ctx.index;
52074
52400
  var ctx_r7 = i0.ɵɵnextContext(2);
52075
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(17, _c0$1E, stage_r8.completed, val_r9 === ctx_r7.stagesArrayIndex, stage_r8.active, val_r9 !== ctx_r7.stagesArrayIndex));
52076
- i0.ɵɵattribute("aria-selected", val_r9 === ctx_r7.stagesArrayIndex);
52077
- i0.ɵɵadvance(1);
52078
- i0.ɵɵclassProp("sme-active", val_r9 === ctx_r7.stagesArrayIndex)("sme-selected", val_r9 === ctx_r7.stagesArrayIndex)("sme-wizard-stage-focus", val_r9 === ctx_r7.stagesArrayIndex);
52079
- i0.ɵɵproperty("smeTelemetryDataBlob", ctx_r7.telemetryData)("smeTelemetryId", "wizardStage" + (val_r9 + 1))("disabled", ctx_r7.stageIndexDisabled(stage_r8, val_r9))("smeTelemetryDisableElement", ctx_r7.stageIndexDisabled(stage_r8, val_r9));
52401
+ i0.ɵɵclassProp("sme-active", val_r9 === ctx_r7.stagesArrayIndex)("sme-selected", val_r9 === ctx_r7.stagesArrayIndex)("aria-selected", val_r9 === ctx_r7.stagesArrayIndex)("sme-wizard-stage-focus", val_r9 === ctx_r7.stagesArrayIndex);
52402
+ i0.ɵɵproperty("smeTelemetryDataBlob", ctx_r7.telemetryData)("smeTelemetryId", "wizardStage" + (val_r9 + 1))("disabled", ctx_r7.stageIndexDisabled(stage_r8, val_r9))("smeTelemetryDisableElement", ctx_r7.stageIndexDisabled(stage_r8, val_r9))("ngClass", i0.ɵɵpureFunction3(18, _c0$1E, stage_r8.completed, val_r9 === ctx_r7.stagesArrayIndex, stage_r8.active));
52080
52403
  i0.ɵɵattribute("aria-label", stage_r8.name);
52081
52404
  i0.ɵɵadvance(1);
52082
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$Q, stage_r8.completed));
52405
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$R, stage_r8.completed));
52083
52406
  i0.ɵɵadvance(1);
52084
52407
  i0.ɵɵtextInterpolate1(" ", !stage_r8.completed ? val_r9 + 1 : "", " ");
52085
52408
  i0.ɵɵadvance(1);
@@ -52088,10 +52411,10 @@
52088
52411
  i0.ɵɵtextInterpolate1(" ", stage_r8.name, " ");
52089
52412
  }
52090
52413
  }
52091
- function WizardComponent_ul_2_Template(rf, ctx) {
52414
+ function WizardComponent_div_2_Template(rf, ctx) {
52092
52415
  if (rf & 1) {
52093
- i0.ɵɵelementStart(0, "ul", 14);
52094
- i0.ɵɵtemplate(1, WizardComponent_ul_2_li_1_Template, 6, 28, "li", 15);
52416
+ i0.ɵɵelementStart(0, "div", 14);
52417
+ i0.ɵɵtemplate(1, WizardComponent_div_2_button_1_Template, 5, 28, "button", 15);
52095
52418
  i0.ɵɵelementEnd();
52096
52419
  }
52097
52420
  if (rf & 2) {
@@ -52100,9 +52423,9 @@
52100
52423
  i0.ɵɵproperty("ngForOf", ctx_r1.stages);
52101
52424
  }
52102
52425
  }
52103
- function WizardComponent_div_4_ul_1_li_1_span_4_Template(rf, ctx) {
52426
+ function WizardComponent_div_4_div_1_button_1_span_3_Template(rf, ctx) {
52104
52427
  if (rf & 1) {
52105
- i0.ɵɵelementStart(0, "span", 31);
52428
+ i0.ɵɵelementStart(0, "span", 29);
52106
52429
  i0.ɵɵtext(1);
52107
52430
  i0.ɵɵelementEnd();
52108
52431
  }
@@ -52112,59 +52435,54 @@
52112
52435
  i0.ɵɵtextInterpolate(step_r14.name);
52113
52436
  }
52114
52437
  }
52115
- var _c3$c = function (a0) { return { "sme-scheme-nav-list-item sme-active sme-color-base-5": a0 }; };
52116
- var _c4$8 = function (a0) { return { "sme-step-active": a0 }; };
52117
- function WizardComponent_div_4_ul_1_li_1_Template(rf, ctx) {
52438
+ var _c3$c = function (a0) { return { "sme-step-active sme-scheme-nav-list-item sme-active sme-color-base-5": a0 }; };
52439
+ function WizardComponent_div_4_div_1_button_1_Template(rf, ctx) {
52118
52440
  if (rf & 1) {
52119
52441
  var _r19_1 = i0.ɵɵgetCurrentView();
52120
- i0.ɵɵelementStart(0, "li", 27);
52121
- i0.ɵɵlistener("click", function WizardComponent_div_4_ul_1_li_1_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r19_1); var index_r15 = ctx.index; var ctx_r18 = i0.ɵɵnextContext(3); return ctx_r18.onStepClick(index_r15); });
52122
- i0.ɵɵelementStart(1, "button", 28);
52123
- i0.ɵɵelementStart(2, "span", 29);
52124
- i0.ɵɵtext(3);
52125
- i0.ɵɵelementEnd();
52126
- i0.ɵɵtemplate(4, WizardComponent_div_4_ul_1_li_1_span_4_Template, 2, 1, "span", 30);
52442
+ i0.ɵɵelementStart(0, "button", 26);
52443
+ i0.ɵɵlistener("click", function WizardComponent_div_4_div_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r19_1); var index_r15 = ctx.index; var ctx_r18 = i0.ɵɵnextContext(3); return ctx_r18.onStepClick(index_r15); });
52444
+ i0.ɵɵelementStart(1, "span", 27);
52445
+ i0.ɵɵtext(2);
52127
52446
  i0.ɵɵelementEnd();
52447
+ i0.ɵɵtemplate(3, WizardComponent_div_4_div_1_button_1_span_3_Template, 2, 1, "span", 28);
52128
52448
  i0.ɵɵelementEnd();
52129
52449
  }
52130
52450
  if (rf & 2) {
52131
52451
  var step_r14 = ctx.$implicit;
52132
52452
  var index_r15 = ctx.index;
52133
52453
  var ctx_r13 = i0.ɵɵnextContext(3);
52134
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c3$c, index_r15 === ctx_r13.stepIndex))("title", ctx_r13.isExpanded ? null : step_r14.name);
52135
- i0.ɵɵattribute("aria-selected", index_r15 === ctx_r13.stepIndex)("aria-label", ctx_r13.isExpanded ? null : step_r14.name);
52136
- i0.ɵɵadvance(1);
52137
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c4$8, index_r15 === ctx_r13.stepIndex))("disabled", ctx_r13.stepIndexDisabled(step_r14, index_r15))("smeTelemetryDisableElement", ctx_r13.stepIndexDisabled(step_r14, index_r15))("smeTelemetryDataBlob", ctx_r13.telemetryData)("smeTelemetryId", "wizardStep" + (index_r15 + 1));
52454
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c3$c, index_r15 === ctx_r13.stepIndex))("disabled", ctx_r13.stepIndexDisabled(step_r14, index_r15))("smeTelemetryDisableElement", ctx_r13.stepIndexDisabled(step_r14, index_r15))("smeTelemetryDataBlob", ctx_r13.telemetryData)("smeTelemetryId", "wizardStep" + (index_r15 + 1))("title", ctx_r13.isExpanded ? null : step_r14.name);
52455
+ i0.ɵɵattribute("aria-label", ctx_r13.isExpanded ? null : step_r14.name);
52138
52456
  i0.ɵɵadvance(2);
52139
52457
  i0.ɵɵtextInterpolate2("", ctx_r13.stagesArrayIndex + 1, ".", index_r15 + 1, "");
52140
52458
  i0.ɵɵadvance(1);
52141
52459
  i0.ɵɵproperty("ngIf", ctx_r13.isExpanded);
52142
52460
  }
52143
52461
  }
52144
- var _c5$4 = function (a0) { return { "sme-layout-minwidth-sm": a0 }; };
52145
- function WizardComponent_div_4_ul_1_Template(rf, ctx) {
52462
+ var _c4$8 = function (a0) { return { "sme-layout-minwidth-sm": a0 }; };
52463
+ function WizardComponent_div_4_div_1_Template(rf, ctx) {
52146
52464
  if (rf & 1) {
52147
- i0.ɵɵelementStart(0, "ul", 25);
52148
- i0.ɵɵtemplate(1, WizardComponent_div_4_ul_1_li_1_Template, 5, 16, "li", 26);
52465
+ i0.ɵɵelementStart(0, "div", 24);
52466
+ i0.ɵɵtemplate(1, WizardComponent_div_4_div_1_button_1_Template, 4, 12, "button", 25);
52149
52467
  i0.ɵɵelementEnd();
52150
52468
  }
52151
52469
  if (rf & 2) {
52152
52470
  var ctx_r12 = i0.ɵɵnextContext(2);
52153
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c5$4, ctx_r12.isExpanded));
52471
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c4$8, ctx_r12.isExpanded));
52154
52472
  i0.ɵɵadvance(1);
52155
52473
  i0.ɵɵproperty("ngForOf", ctx_r12.getStepsForStage());
52156
52474
  }
52157
52475
  }
52158
- var _c6$3 = function (a0, a1) { return { "sme-icon-chevronLeft": a0, "sme-icon-chevronRight": a1 }; };
52476
+ var _c5$4 = function (a0, a1) { return { "sme-icon-chevronLeft": a0, "sme-icon-chevronRight": a1 }; };
52159
52477
  function WizardComponent_div_4_Template(rf, ctx) {
52160
52478
  if (rf & 1) {
52161
52479
  var _r21_1 = i0.ɵɵgetCurrentView();
52162
- i0.ɵɵelementStart(0, "div", 20);
52163
- i0.ɵɵtemplate(1, WizardComponent_div_4_ul_1_Template, 2, 4, "ul", 21);
52164
- i0.ɵɵelementStart(2, "div", 22);
52165
- i0.ɵɵelementStart(3, "button", 23);
52480
+ i0.ɵɵelementStart(0, "div", 19);
52481
+ i0.ɵɵtemplate(1, WizardComponent_div_4_div_1_Template, 2, 4, "div", 20);
52482
+ i0.ɵɵelementStart(2, "div", 21);
52483
+ i0.ɵɵelementStart(3, "button", 22);
52166
52484
  i0.ɵɵlistener("click", function WizardComponent_div_4_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r21_1); var ctx_r20 = i0.ɵɵnextContext(); return ctx_r20.togglePane(); });
52167
- i0.ɵɵelement(4, "span", 24);
52485
+ i0.ɵɵelement(4, "span", 23);
52168
52486
  i0.ɵɵelementEnd();
52169
52487
  i0.ɵɵelementEnd();
52170
52488
  i0.ɵɵelementEnd();
@@ -52177,13 +52495,13 @@
52177
52495
  i0.ɵɵproperty("title", ctx_r2.isExpanded ? ctx_r2.strings.MsftSmeShell.Angular.Wizard.collapseStepsList : ctx_r2.strings.MsftSmeShell.Angular.Wizard.expandStepsList);
52178
52496
  i0.ɵɵattribute("aria-expanded", ctx_r2.isExpanded)("aria-label", ctx_r2.isExpanded ? ctx_r2.strings.MsftSmeShell.Angular.Wizard.collapseStepsList : ctx_r2.strings.MsftSmeShell.Angular.Wizard.expandStepsList);
52179
52497
  i0.ɵɵadvance(1);
52180
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c6$3, ctx_r2.isExpanded, !ctx_r2.isExpanded));
52498
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5$4, ctx_r2.isExpanded, !ctx_r2.isExpanded));
52181
52499
  }
52182
52500
  }
52183
52501
  function WizardComponent_div_6_Template(rf, ctx) {
52184
52502
  if (rf & 1) {
52185
52503
  i0.ɵɵelementStart(0, "div");
52186
- i0.ɵɵelement(1, "sme-page-alert-bar", 32);
52504
+ i0.ɵɵelement(1, "sme-page-alert-bar", 30);
52187
52505
  i0.ɵɵelementEnd();
52188
52506
  }
52189
52507
  if (rf & 2) {
@@ -52194,31 +52512,31 @@
52194
52512
  }
52195
52513
  function WizardComponent_div_9_div_6_Template(rf, ctx) {
52196
52514
  if (rf & 1) {
52197
- i0.ɵɵelementStart(0, "div", 40);
52198
- i0.ɵɵelement(1, "sme-loading-wheel", 41);
52515
+ i0.ɵɵelementStart(0, "div", 38);
52516
+ i0.ɵɵelement(1, "sme-loading-wheel", 39);
52199
52517
  i0.ɵɵelementEnd();
52200
52518
  }
52201
52519
  }
52202
52520
  function WizardComponent_div_9_Template(rf, ctx) {
52203
52521
  if (rf & 1) {
52204
52522
  var _r24_1 = i0.ɵɵgetCurrentView();
52205
- i0.ɵɵelementStart(0, "div", 33);
52206
- i0.ɵɵelementStart(1, "div", 34);
52207
- i0.ɵɵelementStart(2, "button", 35);
52523
+ i0.ɵɵelementStart(0, "div", 31);
52524
+ i0.ɵɵelementStart(1, "div", 32);
52525
+ i0.ɵɵelementStart(2, "button", 33);
52208
52526
  i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.onBackClick(); });
52209
52527
  i0.ɵɵtext(3);
52210
52528
  i0.ɵɵelementEnd();
52211
- i0.ɵɵelementStart(4, "button", 36);
52529
+ i0.ɵɵelementStart(4, "button", 34);
52212
52530
  i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.onNextClick(); });
52213
52531
  i0.ɵɵtext(5);
52214
52532
  i0.ɵɵelementEnd();
52215
- i0.ɵɵtemplate(6, WizardComponent_div_9_div_6_Template, 2, 0, "div", 37);
52533
+ i0.ɵɵtemplate(6, WizardComponent_div_9_div_6_Template, 2, 0, "div", 35);
52216
52534
  i0.ɵɵelementEnd();
52217
- i0.ɵɵelementStart(7, "button", 38);
52535
+ i0.ɵɵelementStart(7, "button", 36);
52218
52536
  i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.onSkipClick(); });
52219
52537
  i0.ɵɵtext(8);
52220
52538
  i0.ɵɵelementEnd();
52221
- i0.ɵɵelementStart(9, "button", 39);
52539
+ i0.ɵɵelementStart(9, "button", 37);
52222
52540
  i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r27 = i0.ɵɵnextContext(); return ctx_r27.onExitClick(); });
52223
52541
  i0.ɵɵtext(10);
52224
52542
  i0.ɵɵelementEnd();
@@ -52250,7 +52568,7 @@
52250
52568
  i0.ɵɵtextInterpolate(ctx_r5.exitButtonText());
52251
52569
  }
52252
52570
  }
52253
- var _c7$2 = function (a0) { return { "sme-padding-inset-lg": a0 }; };
52571
+ var _c6$3 = function (a0) { return { "sme-padding-inset-lg": a0 }; };
52254
52572
  /**
52255
52573
  * Whatever state the wizard is in
52256
52574
  */
@@ -52997,11 +53315,11 @@
52997
53315
  return WizardComponent;
52998
53316
  }(DynamicComponentBase));
52999
53317
  /** @nocollapse */ WizardComponent.ɵfac = function WizardComponent_Factory(t) { return new (t || WizardComponent)(i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
53000
- /** @nocollapse */ WizardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardComponent, selectors: [["sme-wizard"]], inputs: { model: "model", wizardBuilder: "wizardBuilder" }, outputs: { modelChange: "modelChange", exit: "exit", stepSubmitted: "stepSubmitted", stepChanged: "stepChanged", stepInvalidated: "stepInvalidated", finished: "finished" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 8, consts: [["smeTelemetryId", "sme-wizard", "smeTelemetryArea", "WizardComponent", 1, "sme-wizard", "sme-layout-absolute", "sme-arrange-stack-v", "sme-position-inset-none"], ["class", "sme-arrange-stack-h sme-position-flex-none sme-padding-vertical-sm sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80", 4, "ngIf"], ["role", "tablist", "class", "sme-arrange-stack-h sme-position-flex-none sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80 sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-arrange-overflow-auto", "sme-position-flex-auto"], ["class", "sme-arrange-stack-v sme-position-flex-none sme-focus-zone\n sme-border-right-sm sme-border-right-color-base-80", 4, "ngIf"], [1, "sme-focus-zone", "sme-layout-relative", "sme-position-stretch", "sme-arrange-overflow-auto", 3, "ngClass"], [4, "ngIf"], ["id", "dynamic-content-container"], ["container", ""], ["class", "sme-layout-relative sme-position-flex-none sme-border-top-sm sme-border-top-color-base-80 sme-padding-vertical-sm sme-padding-horizontal-lg sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80"], ["id", "sme-shell-wizard-heading-id"], ["type", "preview", "class", "sme-margin-left-xs", 4, "ngIf"], ["type", "preview", 1, "sme-margin-left-xs"], ["role", "tablist", 1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80", "sme-focus-zone"], ["class", "sme-wizard-stage sme-arrange-stack-h sme-margin-right-md", "role", "tab", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], ["role", "tab", 1, "sme-wizard-stage", "sme-arrange-stack-h", "sme-margin-right-md", 3, "ngClass", "click"], ["tabindex", "0", "aria-live", "polite", "type", "button", 1, "sme-button-trigger", "sme-wizard-button-item", "sme-padding-vertical-sm", "sme-padding-horizontal-none", "sme-button-auto-width", 3, "smeTelemetryDataBlob", "smeTelemetryId", "disabled", "smeTelemetryDisableElement"], [1, "sme-wizard-stage-index", "sme-position-flex-none", 3, "ngClass"], [1, "sme-position-flex-auto", "sme-font-body", 3, "ngClass"], [1, "sme-arrange-stack-v", "sme-position-flex-none", "sme-focus-zone", "sme-border-right-sm", "sme-border-right-color-base-80"], ["role", "tablist", "class", "sme-padding-vertical-sm sme-position-flex-auto", 3, "ngClass", 4, "ngIf"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "split-view-toggle", "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-layout-float-right", 3, "title", "click"], [1, "sme-icon", 3, "ngClass"], ["role", "tablist", 1, "sme-padding-vertical-sm", "sme-position-flex-auto", 3, "ngClass"], ["role", "tab", "tabindex", "0", "class", "sme-arrange-stack-h sme-padding-left-lg sme-padding-right-xs", "aria-live", "polite", 3, "ngClass", "title", "click", 4, "ngFor", "ngForOf"], ["role", "tab", "tabindex", "0", "aria-live", "polite", 1, "sme-arrange-stack-h", "sme-padding-left-lg", "sme-padding-right-xs", 3, "ngClass", "title", "click"], ["type", "button", 1, "sme-wizard-step", "sme-button-trigger", "sme-wizard-button-item", "sme-padding-horizontal-none", "sme-padding-vertical-xs", "sme-button-auto-width", 3, "ngClass", "disabled", "smeTelemetryDisableElement", "smeTelemetryDataBlob", "smeTelemetryId"], [1, "sme-position-flex-none", "sme-margin-right-xs"], ["class", "sme-position-flex-none", 4, "ngIf"], [1, "sme-position-flex-none"], [3, "alert"], [1, "sme-layout-relative", "sme-position-flex-none", "sme-border-top-sm", "sme-border-top-color-base-80", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-focus-zone"], [1, "sme-layout-float-left"], ["type", "button", "smeTelemetryId", "wizardPrev", 1, "sme-focus-zone", 3, "smeTelemetryDataBlob", "disabled", "click"], ["type", "button", "smeTelemetryId", "wizardNext", 1, "sme-focus-zone", "sme-button-primary", 3, "smeTelemetryDataBlob", "disabled", "smeTelemetryDisableElement", "click"], ["class", "sme-layout-relative sme-layout-float-right sme-padding-left-xl sme-padding-top-md", 4, "ngIf"], ["type", "button", "smeTelemetryId", "wizardSkip", 1, "sme-focus-zone", 3, "smeTelemetryDataBlob", "click"], ["type", "button", "smeTelemetryId", "wizardExit", 1, "sme-focus-zone", "sme-layout-float-right", 3, "smeTelemetryDataBlob", "click"], [1, "sme-layout-relative", "sme-layout-float-right", "sme-padding-left-xl", "sme-padding-top-md"], ["size", "small"]], template: function WizardComponent_Template(rf, ctx) {
53318
+ /** @nocollapse */ WizardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardComponent, selectors: [["sme-wizard"]], inputs: { model: "model", wizardBuilder: "wizardBuilder" }, outputs: { modelChange: "modelChange", exit: "exit", stepSubmitted: "stepSubmitted", stepChanged: "stepChanged", stepInvalidated: "stepInvalidated", finished: "finished" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 8, consts: [[1, "sme-wizard", "sme-layout-absolute", "sme-arrange-stack-v", "sme-position-inset-none"], ["class", "sme-arrange-stack-h sme-position-flex-none sme-padding-vertical-sm sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80", 4, "ngIf"], ["role", "tablist", "class", "sme-arrange-stack-h sme-position-flex-none sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80 sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-arrange-overflow-auto", "sme-position-flex-auto"], ["class", "sme-arrange-stack-v sme-position-flex-none sme-focus-zone\n sme-border-right-sm sme-border-right-color-base-80", 4, "ngIf"], [1, "sme-focus-zone", "sme-layout-relative", "sme-position-stretch", "sme-arrange-overflow-auto", 3, "ngClass"], [4, "ngIf"], ["id", "dynamic-content-container"], ["container", ""], ["class", "sme-layout-relative sme-position-flex-none sme-border-top-sm sme-border-top-color-base-80 sme-padding-vertical-sm sme-padding-horizontal-lg sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80"], ["id", "sme-shell-wizard-heading-id"], ["type", "preview", "class", "sme-margin-left-xs", 4, "ngIf"], ["type", "preview", 1, "sme-margin-left-xs"], ["role", "tablist", 1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80", "sme-focus-zone"], ["role", "tab", "tabindex", "0", "aria-live", "polite", "type", "button", "class", "sme-wizard-stage sme-button-trigger sme-wizard-button-item sme-padding-vertical-sm sme-padding-horizontal-none sme-button-auto-width sme-margin-right-md", 3, "smeTelemetryDataBlob", "smeTelemetryId", "sme-active", "sme-selected", "aria-selected", "sme-wizard-stage-focus", "disabled", "smeTelemetryDisableElement", "ngClass", "click", 4, "ngFor", "ngForOf"], ["role", "tab", "tabindex", "0", "aria-live", "polite", "type", "button", 1, "sme-wizard-stage", "sme-button-trigger", "sme-wizard-button-item", "sme-padding-vertical-sm", "sme-padding-horizontal-none", "sme-button-auto-width", "sme-margin-right-md", 3, "smeTelemetryDataBlob", "smeTelemetryId", "disabled", "smeTelemetryDisableElement", "ngClass", "click"], [1, "sme-wizard-stage-index", "sme-position-flex-none", 3, "ngClass"], [1, "sme-position-flex-auto", "sme-font-body", 3, "ngClass"], [1, "sme-arrange-stack-v", "sme-position-flex-none", "sme-focus-zone", "sme-border-right-sm", "sme-border-right-color-base-80"], ["role", "tablist", "class", "sme-padding-vertical-sm sme-position-flex-auto", 3, "ngClass", 4, "ngIf"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "split-view-toggle", "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-layout-float-right", 3, "title", "click"], [1, "sme-icon", 3, "ngClass"], ["role", "tablist", 1, "sme-padding-vertical-sm", "sme-position-flex-auto", 3, "ngClass"], ["role", "tab", "type", "button", "class", "sme-arrange-stack-h sme-wizard-step sme-button-trigger sme-wizard-button-item sme-padding-horizontal-none\n sme-position-stretch-h sme-padding-vertical-xs sme-button-auto-width sme-padding-left-lg sme-padding-right-xs", "aria-live", "polite", 3, "ngClass", "disabled", "smeTelemetryDisableElement", "smeTelemetryDataBlob", "smeTelemetryId", "title", "click", 4, "ngFor", "ngForOf"], ["role", "tab", "type", "button", "aria-live", "polite", 1, "sme-arrange-stack-h", "sme-wizard-step", "sme-button-trigger", "sme-wizard-button-item", "sme-padding-horizontal-none", "sme-position-stretch-h", "sme-padding-vertical-xs", "sme-button-auto-width", "sme-padding-left-lg", "sme-padding-right-xs", 3, "ngClass", "disabled", "smeTelemetryDisableElement", "smeTelemetryDataBlob", "smeTelemetryId", "title", "click"], [1, "sme-position-flex-none", "sme-margin-right-xs"], ["class", "sme-position-flex-none", 4, "ngIf"], [1, "sme-position-flex-none"], [3, "alert"], [1, "sme-layout-relative", "sme-position-flex-none", "sme-border-top-sm", "sme-border-top-color-base-80", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-focus-zone"], [1, "sme-layout-float-left"], ["type", "button", "smeTelemetryId", "wizardPrev", 1, "sme-focus-zone", 3, "smeTelemetryDataBlob", "disabled", "click"], ["type", "button", "smeTelemetryId", "wizardNext", 1, "sme-focus-zone", "sme-button-primary", 3, "smeTelemetryDataBlob", "disabled", "smeTelemetryDisableElement", "click"], ["class", "sme-layout-relative sme-layout-float-right sme-padding-left-xl sme-padding-top-md", 4, "ngIf"], ["type", "button", "smeTelemetryId", "wizardSkip", 1, "sme-focus-zone", 3, "smeTelemetryDataBlob", "click"], ["type", "button", "smeTelemetryId", "wizardExit", 1, "sme-focus-zone", "sme-layout-float-right", 3, "smeTelemetryDataBlob", "click"], [1, "sme-layout-relative", "sme-layout-float-right", "sme-padding-left-xl", "sme-padding-top-md"], ["size", "small"]], template: function WizardComponent_Template(rf, ctx) {
53001
53319
  if (rf & 1) {
53002
53320
  i0.ɵɵelementStart(0, "div", 0);
53003
53321
  i0.ɵɵtemplate(1, WizardComponent_div_1_Template, 4, 3, "div", 1);
53004
- i0.ɵɵtemplate(2, WizardComponent_ul_2_Template, 2, 1, "ul", 2);
53322
+ i0.ɵɵtemplate(2, WizardComponent_div_2_Template, 2, 1, "div", 2);
53005
53323
  i0.ɵɵelementStart(3, "div", 3);
53006
53324
  i0.ɵɵtemplate(4, WizardComponent_div_4_Template, 5, 8, "div", 4);
53007
53325
  i0.ɵɵelementStart(5, "div", 5);
@@ -53020,13 +53338,13 @@
53020
53338
  i0.ɵɵadvance(2);
53021
53339
  i0.ɵɵproperty("ngIf", !ctx.wizardIsFinished && !ctx.hideStepsListSidePane);
53022
53340
  i0.ɵɵadvance(1);
53023
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c7$2, ctx.currentStepComponent.padContents));
53341
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c6$3, ctx.currentStepComponent.padContents));
53024
53342
  i0.ɵɵadvance(1);
53025
53343
  i0.ɵɵproperty("ngIf", ctx.currentStepComponent.disabled);
53026
53344
  i0.ɵɵadvance(3);
53027
53345
  i0.ɵɵproperty("ngIf", !ctx.wizardIsFinished);
53028
53346
  }
53029
- }, directives: [TelemetryDirective, i1$1.NgIf, i1$1.NgClass, PreviewBadgeComponent, i1$1.NgForOf, TooltipDirective, PageAlertBarComponent, LoadingWheelComponent], encapsulation: 2 });
53347
+ }, directives: [i1$1.NgIf, i1$1.NgClass, PreviewBadgeComponent, i1$1.NgForOf, TelemetryDirective, TooltipDirective, PageAlertBarComponent, LoadingWheelComponent], encapsulation: 2 });
53030
53348
  (function () {
53031
53349
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardComponent, [{
53032
53350
  type: i0.Component,