@microsoft/windows-admin-center-sdk 2.298.0 → 2.301.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.
- package/angular/assets/strings/cs-CZ/strings.json +1 -1
- package/angular/assets/strings/de-DE/strings.json +1 -1
- package/angular/assets/strings/es-ES/strings.json +1 -1
- package/angular/assets/strings/fr-FR/strings.json +1 -1
- package/angular/assets/strings/hu-HU/strings.json +1 -1
- package/angular/assets/strings/it-IT/strings.json +1 -1
- package/angular/assets/strings/ja-JP/strings.json +1 -1
- package/angular/assets/strings/ko-KR/strings.json +1 -1
- package/angular/assets/strings/nl-NL/strings.json +1 -1
- package/angular/assets/strings/pl-PL/strings.json +1 -1
- package/angular/assets/strings/pt-BR/strings.json +1 -1
- package/angular/assets/strings/pt-PT/strings.json +1 -1
- package/angular/assets/strings/ru-RU/strings.json +1 -1
- package/angular/assets/strings/strings.json +1 -1
- package/angular/assets/strings/sv-SE/strings.json +1 -1
- package/angular/assets/strings/tr-TR/strings.json +1 -1
- package/angular/assets/strings/zh-CN/strings.json +1 -1
- package/angular/assets/strings/zh-TW/strings.json +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js +239 -568
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js.map +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js +2 -2
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
- package/angular/esm2015/src/controls/actions/containers/action-bar/action-bar.component.js +2 -7
- package/angular/esm2015/src/controls/alert-bar/alert-bar.component.js +5 -5
- package/angular/esm2015/src/controls/common/base.component.js +1 -8
- package/angular/esm2015/src/controls/data-table/data-table.component.js +9 -39
- package/angular/esm2015/src/controls/form/form-field/checklist/checklist-form-field.component.js +8 -11
- package/angular/esm2015/src/controls/form/form-field/combobox/combobox-form-field.component.js +9 -8
- package/angular/esm2015/src/controls/form/form-field/file/file-form-field.component.js +2 -14
- package/angular/esm2015/src/controls/form/form-field/form-field.component.js +2 -9
- package/angular/esm2015/src/controls/layout/layout-definition.component.js +2 -9
- package/angular/esm2015/src/controls/layout/layout.component.js +2 -11
- package/angular/esm2015/src/controls/master-view/master-view.component.js +5 -32
- package/angular/esm2015/src/controls/page-alert-bar/models/index.js +1 -1
- package/angular/esm2015/src/controls/pivot/pivot-tab.component.js +1 -1
- package/angular/esm2015/src/controls/pivot/pivot.component.js +4 -21
- package/angular/esm2015/src/controls/property-grid/property-grid-item.component.js +2 -50
- package/angular/esm2015/src/controls/property-grid/property-grid.component.js +60 -73
- package/angular/esm2015/src/controls/property-grid/property-grid.module.js +1 -5
- package/angular/esm2015/src/controls/settings/common-settings/common-settings.component.js +70 -151
- package/angular/esm2015/src/controls/settings/settings.component.js +8 -48
- package/angular/esm2015/src/controls/settings/settings.module.js +9 -21
- package/angular/esm2015/src/controls/wizard/wizard.component.js +65 -55
- package/angular/esm2015/src/generated/strings.js +1 -1
- package/angular/esm2015/src/service/app-context.service.js +1 -3
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +239 -545
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
- package/angular/package.json +0 -2
- package/angular/src/controls/common/base.component.d.ts +0 -5
- package/angular/src/controls/data-table/data-table.component.d.ts +0 -15
- package/angular/src/controls/form/form-field/checklist/checklist-form-field.component.d.ts +0 -1
- package/angular/src/controls/form/form-field/file/file-form-field.component.d.ts +0 -4
- package/angular/src/controls/layout/layout-definition.component.d.ts +1 -6
- package/angular/src/controls/master-view/master-view.component.d.ts +2 -118
- package/angular/src/controls/page-alert-bar/models/index.d.ts +1 -1
- package/angular/src/controls/pivot/pivot-tab.component.d.ts +1 -0
- package/angular/src/controls/pivot/pivot.component.d.ts +0 -7
- package/angular/src/controls/property-grid/property-grid-item.component.d.ts +3 -53
- package/angular/src/controls/property-grid/property-grid.component.d.ts +2 -1
- package/angular/src/controls/property-grid/property-grid.module.d.ts +3 -4
- package/angular/src/controls/settings/common-settings/common-settings.component.d.ts +1 -32
- package/angular/src/controls/settings/settings.component.d.ts +1 -18
- package/angular/src/controls/settings/settings.module.d.ts +1 -3
- package/angular/src/generated/strings.d.ts +0 -3
- package/core/base/environment.d.ts +0 -10
- package/core/base/environment.js.map +1 -1
- package/core/data/gateway-connection.d.ts +0 -34
- package/core/data/gateway-connection.js +2 -59
- package/core/data/gateway-connection.js.map +1 -1
- package/core/data/node-connection.d.ts +0 -4
- package/core/data/node-connection.js.map +1 -1
- package/core/data/powershell.d.ts +0 -4
- package/core/data/powershell.js +0 -1
- package/core/data/powershell.js.map +1 -1
- package/core/diagnostics/sme-web-telemetry-models.d.ts +3 -20
- package/core/diagnostics/sme-web-telemetry-models.js +2 -6
- package/core/diagnostics/sme-web-telemetry-models.js.map +1 -1
- package/core/diagnostics/sme-web-telemetry.d.ts +1 -13
- package/core/diagnostics/sme-web-telemetry.js +11 -51
- package/core/diagnostics/sme-web-telemetry.js.map +1 -1
- package/core/generated/powershell-scripts.d.ts +0 -4
- package/core/generated/powershell-scripts.js +0 -4
- package/core/generated/powershell-scripts.js.map +1 -1
- package/core/index.d.ts +0 -2
- package/core/index.js +0 -1
- package/core/index.js.map +1 -1
- package/core/manifest/environment-modules.js +0 -10
- package/core/manifest/environment-modules.js.map +1 -1
- package/core/notification/powershell-notification.js +1 -1
- package/core/notification/powershell-notification.js.map +1 -1
- package/core/performance/performance-tracker.d.ts +0 -67
- package/core/performance/performance-tracker.js +4 -211
- package/core/performance/performance-tracker.js.map +1 -1
- package/core/rpc/credssp/rpc-credssp-model.d.ts +2 -27
- package/core/rpc/credssp/rpc-credssp-model.js +0 -10
- package/core/rpc/credssp/rpc-credssp-model.js.map +1 -1
- package/core/security/credssp-manager.d.ts +1 -15
- package/core/security/credssp-manager.js +0 -28
- package/core/security/credssp-manager.js.map +1 -1
- package/core/shared/gateway-inventory/gateway-inventory.d.ts +0 -10
- package/core/shared/gateway-inventory/gateway-inventory.js +0 -11
- package/core/shared/gateway-inventory/gateway-inventory.js.map +1 -1
- package/e2e/assets/strings/cs-CZ/strings.json +1 -1
- package/e2e/assets/strings/de-DE/strings.json +1 -1
- package/e2e/assets/strings/es-ES/strings.json +1 -1
- package/e2e/assets/strings/fr-FR/strings.json +1 -1
- package/e2e/assets/strings/hu-HU/strings.json +1 -1
- package/e2e/assets/strings/it-IT/strings.json +1 -1
- package/e2e/assets/strings/ja-JP/strings.json +1 -1
- package/e2e/assets/strings/ko-KR/strings.json +1 -1
- package/e2e/assets/strings/nl-NL/strings.json +1 -1
- package/e2e/assets/strings/pl-PL/strings.json +1 -1
- package/e2e/assets/strings/pt-BR/strings.json +1 -1
- package/e2e/assets/strings/pt-PT/strings.json +1 -1
- package/e2e/assets/strings/ru-RU/strings.json +1 -1
- package/e2e/assets/strings/strings.json +1 -1
- package/e2e/assets/strings/sv-SE/strings.json +1 -1
- package/e2e/assets/strings/tr-TR/strings.json +1 -1
- package/e2e/assets/strings/zh-CN/strings.json +1 -1
- package/e2e/assets/strings/zh-TW/strings.json +1 -1
- package/package.json +3 -5
- package/styles/css/main.css +1 -1
- package/tools/module-template/gulpfile.ts/index.ts +1 -1
- package/tools/package-lock.json +975 -14946
- package/tools/wac-cli/src/create/main.d.ts +3 -6
- package/tools/wac-cli/src/create/main.js +35 -87
- package/tools/wac-cli/src/create/main.js.map +1 -1
- package/tools/wac-cli/src/index.js +2 -2
- package/tools/wac-cli/src/index.js.map +1 -1
- package/tools/wac-cli/templates/{solution/manifest.json → manifest/solution-manifest.json} +0 -19
- package/tools/wac-cli/templates/{wac-template/src/manifest.json → manifest/tool-manifest.json} +0 -0
- package/tools/wac-cli/templates/wac-template/angular.json +2 -2
- package/tools/wac-cli/templates/wac-template/gulpfile.ts/config-data.ts +1 -1
- package/tools/wac-cli/templates/wac-template/package.json +8 -0
- package/tools/wac-cli/templates/wac-template/src/app/app-routing.module.ts +1 -1
- package/tools/wac-cli/templates/wac-template/src/main.ts +0 -2
- package/tools/wac-cli/templates/wac-template/src/polyfills.ts +1 -1
- package/tools/wac-cli/templates/wac-template/src/test.ts +2 -2
- package/core/data/gateway-status.d.ts +0 -24
- package/core/data/gateway-status.js +0 -3
- package/core/data/gateway-status.js.map +0 -1
- package/core/data/wdac-operations.d.ts +0 -123
- package/core/data/wdac-operations.js +0 -144
- package/core/data/wdac-operations.js.map +0 -1
- package/tools/wac-cli/templates/internal/npmrc.txt +0 -6
- package/tools/wac-cli/templates/internal/package.json +0 -101
- package/tools/wac-cli/templates/solution/strings.resjson +0 -16
- package/tools/wac-cli/templates/wac-template/src/version.ts +0 -3
- package/tools/wac-cli/templates/wac-template/version.json +0 -5
|
@@ -912,13 +912,6 @@ class BaseComponent extends NgLifecycleBaseComponent {
|
|
|
912
912
|
getInitialHostClasses() {
|
|
913
913
|
return [];
|
|
914
914
|
}
|
|
915
|
-
/**
|
|
916
|
-
* Shortcut to get an attribute on the host element
|
|
917
|
-
* @param name The name of the attribute
|
|
918
|
-
*/
|
|
919
|
-
getAttribute(name) {
|
|
920
|
-
return this.hostElement.nativeElement.getAttribute(name);
|
|
921
|
-
}
|
|
922
915
|
/**
|
|
923
916
|
* Shortcut to set an attribute on the host element
|
|
924
917
|
* @param name The name of the attribute
|
|
@@ -2620,9 +2613,7 @@ class AppContextService extends AppContext {
|
|
|
2620
2613
|
this.azureManagerService.initialize();
|
|
2621
2614
|
SmeWebTelemetry.init(this).subscribe(loaded => {
|
|
2622
2615
|
Logging.logDebug('SmeWebTelemetry', loaded ? 'Loaded browser telemetry' : 'Failed to load browser telemetry');
|
|
2623
|
-
PerformanceTracker.tryStartCalculatingTimeToInteractive();
|
|
2624
2616
|
});
|
|
2625
|
-
PerformanceTracker.initializeLighthouseMetricsTrackers();
|
|
2626
2617
|
}
|
|
2627
2618
|
/**
|
|
2628
2619
|
* Destroy the app context resource from ngDestroy call in AppComponent.
|
|
@@ -6573,10 +6564,6 @@ class ActionBarComponent extends ActionContainerComponent {
|
|
|
6573
6564
|
else {
|
|
6574
6565
|
this.dropDown.onToggled.pipe(take(1)).subscribe(open => {
|
|
6575
6566
|
if (open) {
|
|
6576
|
-
// blur/focus to refresh focus - this will make the tooltip disappear
|
|
6577
|
-
// while menu is open (b/c tooltip will block view)
|
|
6578
|
-
this.dropDownButtonElement.nativeElement.blur();
|
|
6579
|
-
this.dropDownButtonElement.nativeElement.focus();
|
|
6580
6567
|
this.moreButtonElement = document.activeElement;
|
|
6581
6568
|
}
|
|
6582
6569
|
});
|
|
@@ -6790,7 +6777,7 @@ class ActionBarComponent extends ActionContainerComponent {
|
|
|
6790
6777
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
6791
6778
|
} }, hostBindings: function ActionBarComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
6792
6779
|
ɵɵ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, ɵɵresolveWindow);
|
|
6793
|
-
} }, outputs: { actionsUpdated: "actionsUpdated" }, features: [ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars:
|
|
6780
|
+
} }, outputs: { actionsUpdated: "actionsUpdated" }, features: [ɵɵ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) { if (rf & 1) {
|
|
6794
6781
|
ɵɵprojectionDef();
|
|
6795
6782
|
ɵɵelementStart(0, "div", 0, 1);
|
|
6796
6783
|
ɵɵtemplate(2, ActionBarComponent_sme_dynamic_action_item_2_Template, 1, 3, "sme-dynamic-action-item", 2);
|
|
@@ -6814,7 +6801,6 @@ class ActionBarComponent extends ActionContainerComponent {
|
|
|
6814
6801
|
ɵɵproperty("ngForOf", ctx.hiddenFilter(ctx.displayedActions));
|
|
6815
6802
|
ɵɵadvance(1);
|
|
6816
6803
|
ɵɵclassProp("sme-layout-hidden", !ctx.compact && ctx.trayActions.length === 0)("sme-layout-none", ctx.compact && ctx.trayActions.length === 0);
|
|
6817
|
-
ɵɵproperty("title", ctx.moreActionsDisplay)("smeTooltipShow", !_r2.isOpen);
|
|
6818
6804
|
ɵɵadvance(2);
|
|
6819
6805
|
ɵɵclassProp("sme-toggled", _r2.isOpen);
|
|
6820
6806
|
ɵɵattribute("aria-label", ctx.moreActionsDisplay)("aria-expanded", _r2.isOpen);
|
|
@@ -8408,15 +8394,10 @@ const ɵEditableLayoutItemComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInherited
|
|
|
8408
8394
|
class LayoutDefinitionComponent {
|
|
8409
8395
|
constructor() {
|
|
8410
8396
|
this.until = Number.MAX_VALUE;
|
|
8411
|
-
/**
|
|
8412
|
-
* Setting addBottomPadding to True will add bottom padding to all layout-items,
|
|
8413
|
-
* otherwise does NOT add bottom padding to any layout-items.
|
|
8414
|
-
*/
|
|
8415
|
-
this.addBottomPadding = true;
|
|
8416
8397
|
}
|
|
8417
8398
|
}
|
|
8418
8399
|
/** @nocollapse */ LayoutDefinitionComponent.ɵfac = function LayoutDefinitionComponent_Factory(t) { return new (t || LayoutDefinitionComponent)(); };
|
|
8419
|
-
/** @nocollapse */ LayoutDefinitionComponent.ɵcmp = ɵɵdefineComponent({ type: LayoutDefinitionComponent, selectors: [["sme-layout-definition"]], inputs: { until: "until", columns: "columns", name: "name"
|
|
8400
|
+
/** @nocollapse */ LayoutDefinitionComponent.ɵcmp = ɵɵ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 });
|
|
8420
8401
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LayoutDefinitionComponent, [{
|
|
8421
8402
|
type: Component,
|
|
8422
8403
|
args: [{
|
|
@@ -8429,8 +8410,6 @@ class LayoutDefinitionComponent {
|
|
|
8429
8410
|
type: Input
|
|
8430
8411
|
}], name: [{
|
|
8431
8412
|
type: Input
|
|
8432
|
-
}], addBottomPadding: [{
|
|
8433
|
-
type: Input
|
|
8434
8413
|
}] }); })();
|
|
8435
8414
|
|
|
8436
8415
|
function LayoutItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -8605,16 +8584,7 @@ class LayoutComponent extends CoreBaseComponent {
|
|
|
8605
8584
|
layoutItems[i].paddingRight = this.itemHorizontalSpace + 'px';
|
|
8606
8585
|
}
|
|
8607
8586
|
}
|
|
8608
|
-
|
|
8609
|
-
layoutItems[i].paddingBottom = this.itemVerticalSpace + 'px';
|
|
8610
|
-
}
|
|
8611
|
-
else {
|
|
8612
|
-
// If bottom padding already exists and currentLayoutDefinition.addBottomPadding is False
|
|
8613
|
-
// Remove the bottom padding.
|
|
8614
|
-
if (layoutItems[i].paddingBottom === this.itemVerticalSpace + 'px') {
|
|
8615
|
-
layoutItems[i].paddingBottom = 0 + 'px';
|
|
8616
|
-
}
|
|
8617
|
-
}
|
|
8587
|
+
layoutItems[i].paddingBottom = this.itemVerticalSpace + 'px';
|
|
8618
8588
|
layoutItems[i].width = percentage + '%';
|
|
8619
8589
|
layoutItems[i].ready();
|
|
8620
8590
|
}
|
|
@@ -9873,14 +9843,7 @@ class FormFieldComponent extends BaseComponent {
|
|
|
9873
9843
|
* The ID is based on the form field name that's set on the ngModel.
|
|
9874
9844
|
*/
|
|
9875
9845
|
get dataUtaId() {
|
|
9876
|
-
|
|
9877
|
-
const formFieldNameAttribute = this.getAttribute('formcontrolname') || this.getAttribute('name');
|
|
9878
|
-
// Then, if no HTML attribute is set, try to get the name from the ngModel
|
|
9879
|
-
const formFieldName = formFieldNameAttribute || this.ngModel && this.ngModel.name && this.ngModel.name.toString();
|
|
9880
|
-
// If none of these are set, then look for the utaId input
|
|
9881
|
-
const formFieldId = formFieldName || this.utaId;
|
|
9882
|
-
// Finally, only set the data-uta-id attribute if neither name nor formcontrolname are set on the HTML already
|
|
9883
|
-
return MsftSme.isNullOrUndefined(formFieldNameAttribute) ? formFieldId : undefined;
|
|
9846
|
+
return this.utaId ? this.utaId : this.ngModel && this.ngModel.name && this.ngModel.name.toString();
|
|
9884
9847
|
}
|
|
9885
9848
|
/**
|
|
9886
9849
|
* Placeholder for the combined disabled state
|
|
@@ -12461,8 +12424,8 @@ function ChecklistFormFieldComponent_div_1_div_1_Template(rf, ctx) { if (rf & 1)
|
|
|
12461
12424
|
ɵɵtextInterpolate(ctx_r1.getCheckboxCount());
|
|
12462
12425
|
} }
|
|
12463
12426
|
function ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template(rf, ctx) { if (rf & 1) {
|
|
12464
|
-
ɵɵelementStart(0, "fieldset",
|
|
12465
|
-
ɵɵelement(1, "sme-option-template-loader",
|
|
12427
|
+
ɵɵelementStart(0, "fieldset", 12);
|
|
12428
|
+
ɵɵelement(1, "sme-option-template-loader", 13);
|
|
12466
12429
|
ɵɵelementEnd();
|
|
12467
12430
|
} if (rf & 2) {
|
|
12468
12431
|
const ctx_r9 = ɵɵnextContext();
|
|
@@ -12478,7 +12441,7 @@ function ChecklistFormFieldComponent_div_1_ng_container_2_Template(rf, ctx) { if
|
|
|
12478
12441
|
ɵɵelementContainerStart(0);
|
|
12479
12442
|
ɵɵelementStart(1, "div", 10);
|
|
12480
12443
|
ɵɵelementStart(2, "label");
|
|
12481
|
-
ɵɵelementStart(3, "input",
|
|
12444
|
+
ɵɵelementStart(3, "input", 7);
|
|
12482
12445
|
ɵɵlistener("keydown", function ChecklistFormFieldComponent_div_1_ng_container_2_Template_input_keydown_3_listener($event) { ɵɵrestoreView(_r11); const i_r7 = ctx.index; const ctx_r10 = ɵɵnextContext(2); return ctx_r10.onCheckboxKeydown($event, i_r7); })("change", function ChecklistFormFieldComponent_div_1_ng_container_2_Template_input_change_3_listener() { ɵɵrestoreView(_r11); const option_r6 = ctx.$implicit; const ctx_r12 = ɵɵnextContext(2); return ctx_r12.toggleOption(option_r6, !option_r6.isSelected); });
|
|
12483
12446
|
ɵɵelementEnd();
|
|
12484
12447
|
ɵɵelementStart(4, "span", 8);
|
|
@@ -12489,7 +12452,7 @@ function ChecklistFormFieldComponent_div_1_ng_container_2_Template(rf, ctx) { if
|
|
|
12489
12452
|
ɵɵtext(7);
|
|
12490
12453
|
ɵɵelementEnd();
|
|
12491
12454
|
ɵɵelementEnd();
|
|
12492
|
-
ɵɵtemplate(8, ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template, 2, 4, "fieldset",
|
|
12455
|
+
ɵɵtemplate(8, ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template, 2, 4, "fieldset", 11);
|
|
12493
12456
|
ɵɵelementContainerEnd();
|
|
12494
12457
|
} if (rf & 2) {
|
|
12495
12458
|
const option_r6 = ctx.$implicit;
|
|
@@ -12497,7 +12460,7 @@ function ChecklistFormFieldComponent_div_1_ng_container_2_Template(rf, ctx) { if
|
|
|
12497
12460
|
const ctx_r2 = ɵɵnextContext(2);
|
|
12498
12461
|
ɵɵadvance(3);
|
|
12499
12462
|
ɵɵproperty("id", ctx_r2.idBag.checkbox + i_r7)("checked", option_r6.isSelected)("disabled", ctx_r2.loadingOrDisabled || option_r6.disabled);
|
|
12500
|
-
ɵɵattribute("aria-label", option_r6.toString())("aria-describedby", ctx_r2.idBag.checkboxDescription + i_r7)("aria-checked", option_r6.isSelected)("aria-required", ctx_r2.required)
|
|
12463
|
+
ɵɵattribute("aria-label", option_r6.toString())("aria-describedby", ctx_r2.idBag.checkboxDescription + i_r7)("aria-checked", option_r6.isSelected)("aria-required", ctx_r2.required);
|
|
12501
12464
|
ɵɵadvance(2);
|
|
12502
12465
|
ɵɵtextInterpolate(option_r6.toString());
|
|
12503
12466
|
ɵɵadvance(1);
|
|
@@ -12510,7 +12473,7 @@ function ChecklistFormFieldComponent_div_1_ng_container_2_Template(rf, ctx) { if
|
|
|
12510
12473
|
function ChecklistFormFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
12511
12474
|
ɵɵelementStart(0, "div", 3);
|
|
12512
12475
|
ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7, 10, "div", 4);
|
|
12513
|
-
ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9,
|
|
12476
|
+
ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9, 11, "ng-container", 5);
|
|
12514
12477
|
ɵɵelementEnd();
|
|
12515
12478
|
} if (rf & 2) {
|
|
12516
12479
|
const ctx_r0 = ɵɵnextContext();
|
|
@@ -12795,9 +12758,6 @@ let ChecklistFormFieldComponent = class ChecklistFormFieldComponent extends SmeI
|
|
|
12795
12758
|
detailsSpan: ''
|
|
12796
12759
|
};
|
|
12797
12760
|
}
|
|
12798
|
-
formatDataUtaId(option) {
|
|
12799
|
-
return option.toLowerCase().replaceAll(' ', '-');
|
|
12800
|
-
}
|
|
12801
12761
|
getCheckboxCount(index) {
|
|
12802
12762
|
let total = this.options.length;
|
|
12803
12763
|
let currentIndex = MsftSme.isNullOrUndefined(index) ? 0 : index + 1;
|
|
@@ -12827,7 +12787,7 @@ let ChecklistFormFieldComponent = class ChecklistFormFieldComponent extends SmeI
|
|
|
12827
12787
|
/** @nocollapse */ ChecklistFormFieldComponent.ɵfac = function ChecklistFormFieldComponent_Factory(t) { return new (t || ChecklistFormFieldComponent)(ɵɵdirectiveInject(Injector)); };
|
|
12828
12788
|
/** @nocollapse */ ChecklistFormFieldComponent.ɵcmp = ɵɵdefineComponent({ type: ChecklistFormFieldComponent, selectors: [["sme-form-field", "type", "checklist"]], hostVars: 1, hostBindings: function ChecklistFormFieldComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
12829
12789
|
ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
12830
|
-
} }, inputs: { shouldUseOwnOptionsList: "shouldUseOwnOptionsList" }, features: [ɵɵ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",
|
|
12790
|
+
} }, inputs: { shouldUseOwnOptionsList: "shouldUseOwnOptionsList" }, features: [ɵɵ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) { if (rf & 1) {
|
|
12831
12791
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
12832
12792
|
ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_Template, 3, 2, "div", 1);
|
|
12833
12793
|
ɵɵelement(2, "sme-validation-alert", 2);
|
|
@@ -17661,9 +17621,10 @@ function ComboboxFormFieldComponent_ng_template_18_Template(rf, ctx) { if (rf &
|
|
|
17661
17621
|
ɵɵelementStart(2, "input", 28);
|
|
17662
17622
|
ɵɵlistener("change", function ComboboxFormFieldComponent_ng_template_18_Template_input_change_2_listener() { ɵɵrestoreView(_r27); const option_r25 = ctx.$implicit; const ctx_r26 = ɵɵnextContext(); return ctx_r26.toggleOption(option_r25, !option_r25.isSelected); });
|
|
17663
17623
|
ɵɵelementEnd();
|
|
17664
|
-
|
|
17665
|
-
ɵɵelementStart(4, "span",
|
|
17666
|
-
|
|
17624
|
+
ɵɵtext(3, " [disabled]=\"option.disabled\" class=\"sme-layout-absolute sme-position-inset-none\" /> ");
|
|
17625
|
+
ɵɵelementStart(4, "span", 29);
|
|
17626
|
+
ɵɵelementStart(5, "span", 30);
|
|
17627
|
+
ɵɵtext(6);
|
|
17667
17628
|
ɵɵelementEnd();
|
|
17668
17629
|
ɵɵelementEnd();
|
|
17669
17630
|
ɵɵelementEnd();
|
|
@@ -17672,9 +17633,9 @@ function ComboboxFormFieldComponent_ng_template_18_Template(rf, ctx) { if (rf &
|
|
|
17672
17633
|
const option_r25 = ctx.$implicit;
|
|
17673
17634
|
const ctx_r11 = ɵɵnextContext();
|
|
17674
17635
|
ɵɵadvance(2);
|
|
17675
|
-
ɵɵproperty("checked", option_r25.isSelected)
|
|
17636
|
+
ɵɵproperty("checked", option_r25.isSelected);
|
|
17676
17637
|
ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString())("data-uta-id", option_r25.utaId ? option_r25.utaId : option_r25.value);
|
|
17677
|
-
ɵɵadvance(
|
|
17638
|
+
ɵɵadvance(2);
|
|
17678
17639
|
ɵɵclassProp("sme-combobox-option-wrap", ctx_r11.overflowWrap);
|
|
17679
17640
|
ɵɵproperty("smeTooltip", option_r25.disabled ? null : option_r25.resolvedTooltipTemplate)("title", option_r25.resolvedTitle)("smeTooltipContext", option_r25.disabled ? null : option_r25.tooltipContext || option_r25);
|
|
17680
17641
|
ɵɵadvance(1);
|
|
@@ -17993,7 +17954,7 @@ let ComboboxFormFieldComponent = class ComboboxFormFieldComponent extends SmeInt
|
|
|
17993
17954
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.multiSelectTemplate = _t.first);
|
|
17994
17955
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.listboxElement = _t.first);
|
|
17995
17956
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
17996
|
-
} }, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [ɵɵ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",
|
|
17957
|
+
} }, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [ɵɵ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) { if (rf & 1) {
|
|
17997
17958
|
const _r28 = ɵɵgetCurrentView();
|
|
17998
17959
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
17999
17960
|
ɵɵelementStart(1, "sme-dropdown", 1, 2);
|
|
@@ -18018,7 +17979,7 @@ let ComboboxFormFieldComponent = class ComboboxFormFieldComponent extends SmeInt
|
|
|
18018
17979
|
ɵɵelementEnd();
|
|
18019
17980
|
ɵɵelement(15, "sme-validation-alert", 14);
|
|
18020
17981
|
ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4, 14, "ng-template", null, 15, ɵɵtemplateRefExtractor);
|
|
18021
|
-
ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template,
|
|
17982
|
+
ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template, 7, 12, "ng-template", null, 16, ɵɵtemplateRefExtractor);
|
|
18022
17983
|
ɵɵelementEnd();
|
|
18023
17984
|
} if (rf & 2) {
|
|
18024
17985
|
const _r0 = ɵɵreference(2);
|
|
@@ -19364,17 +19325,6 @@ let FileFormFieldComponent = class FileFormFieldComponent extends SmeInternalFor
|
|
|
19364
19325
|
? this.strings.MsftSmeShell.Angular.Form.File.selectedFilesFormat.multipleEnabled.none
|
|
19365
19326
|
: this.strings.MsftSmeShell.Angular.Form.File.selectedFilesFormat.none;
|
|
19366
19327
|
}
|
|
19367
|
-
/**
|
|
19368
|
-
* gets aria-label text
|
|
19369
|
-
*/
|
|
19370
|
-
get ariaLabelText() {
|
|
19371
|
-
const labelText = this.buttonLabel || (this.multiple
|
|
19372
|
-
? this.strings.MsftSmeShell.Angular.Form.File.buttonText.plural
|
|
19373
|
-
: this.strings.MsftSmeShell.Angular.Form.File.buttonText.singular);
|
|
19374
|
-
return this.hasFiles
|
|
19375
|
-
? this.strings.MsftSmeShell.Angular.Form.File.selectedFilesFormat.plural.format(this.files.length).concat(labelText)
|
|
19376
|
-
: labelText;
|
|
19377
|
-
}
|
|
19378
19328
|
/**
|
|
19379
19329
|
* Indicates if there are any files selected
|
|
19380
19330
|
*/
|
|
@@ -19547,7 +19497,7 @@ let FileFormFieldComponent = class FileFormFieldComponent extends SmeInternalFor
|
|
|
19547
19497
|
} if (rf & 2) {
|
|
19548
19498
|
let _t;
|
|
19549
19499
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
19550
|
-
} }, inputs: { multiple: "multiple", fileTypes: "fileTypes", buttonLabel: "buttonLabel" }, features: [ɵɵInheritDefinitionFeature], attrs: _c1$h, decls: 15, vars:
|
|
19500
|
+
} }, inputs: { multiple: "multiple", fileTypes: "fileTypes", buttonLabel: "buttonLabel" }, features: [ɵɵ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) { if (rf & 1) {
|
|
19551
19501
|
const _r8 = ɵɵgetCurrentView();
|
|
19552
19502
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
19553
19503
|
ɵɵelementStart(1, "fieldset", 1);
|
|
@@ -19583,7 +19533,6 @@ let FileFormFieldComponent = class FileFormFieldComponent extends SmeInternalFor
|
|
|
19583
19533
|
ɵɵattribute("multiple", ctx.multiple || null)("accept", ctx.accept);
|
|
19584
19534
|
ɵɵadvance(2);
|
|
19585
19535
|
ɵɵproperty("smeDisabled", ctx.loadingOrDisabled);
|
|
19586
|
-
ɵɵattribute("aria-label", ctx.ariaLabelText);
|
|
19587
19536
|
ɵɵadvance(1);
|
|
19588
19537
|
ɵɵtextInterpolate1(" ", ctx.buttonLabel || (ctx.multiple ? ctx.strings.MsftSmeShell.Angular.Form.File.buttonText.plural : ctx.strings.MsftSmeShell.Angular.Form.File.buttonText.singular), " ");
|
|
19589
19538
|
ɵɵadvance(2);
|
|
@@ -24411,8 +24360,7 @@ function DataTableComponent_div_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
24411
24360
|
ɵɵadvance(2);
|
|
24412
24361
|
ɵɵtextInterpolate(column_r18.header);
|
|
24413
24362
|
ɵɵadvance(1);
|
|
24414
|
-
ɵɵproperty("ngClass", ɵɵpureFunction2(
|
|
24415
|
-
ɵɵattribute("aria-label", column_r18.sortable ? ctx_r20.getSortLabel(column_r18) : null);
|
|
24363
|
+
ɵɵproperty("ngClass", ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
|
|
24416
24364
|
} }
|
|
24417
24365
|
function DataTableComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
24418
24366
|
ɵɵelementStart(0, "div", 39);
|
|
@@ -24428,8 +24376,7 @@ function DataTableComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
24428
24376
|
ɵɵadvance(2);
|
|
24429
24377
|
ɵɵtextInterpolate(column_r18.header);
|
|
24430
24378
|
ɵɵadvance(1);
|
|
24431
|
-
ɵɵproperty("ngClass", ɵɵpureFunction2(
|
|
24432
|
-
ɵɵattribute("aria-label", column_r18.sortable ? ctx_r21.getSortLabel(column_r18) : null);
|
|
24379
|
+
ɵɵproperty("ngClass", ɵɵpureFunction2(3, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
|
|
24433
24380
|
} }
|
|
24434
24381
|
function DataTableComponent_div_7_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
24435
24382
|
ɵɵelement(0, "div", 40);
|
|
@@ -24445,8 +24392,8 @@ function DataTableComponent_div_7_sme_resizer_4_Template(rf, ctx) { if (rf & 1)
|
|
|
24445
24392
|
const _c13 = function (a0) { return { "width": a0 }; };
|
|
24446
24393
|
function DataTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
24447
24394
|
ɵɵelementStart(0, "div", 32);
|
|
24448
|
-
ɵɵtemplate(1, DataTableComponent_div_7_div_1_Template, 4,
|
|
24449
|
-
ɵɵtemplate(2, DataTableComponent_div_7_div_2_Template, 4,
|
|
24395
|
+
ɵɵtemplate(1, DataTableComponent_div_7_div_1_Template, 4, 7, "div", 33);
|
|
24396
|
+
ɵɵtemplate(2, DataTableComponent_div_7_div_2_Template, 4, 6, "div", 34);
|
|
24450
24397
|
ɵɵtemplate(3, DataTableComponent_div_7_div_3_Template, 1, 0, "div", 35);
|
|
24451
24398
|
ɵɵtemplate(4, DataTableComponent_div_7_sme_resizer_4_Template, 1, 2, "sme-resizer", 36);
|
|
24452
24399
|
ɵɵelementEnd();
|
|
@@ -25127,8 +25074,7 @@ function TreeTableComponent_div_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
25127
25074
|
ɵɵadvance(2);
|
|
25128
25075
|
ɵɵtextInterpolate(column_r18.header);
|
|
25129
25076
|
ɵɵadvance(1);
|
|
25130
|
-
ɵɵproperty("ngClass", ɵɵpureFunction2(
|
|
25131
|
-
ɵɵattribute("aria-label", column_r18.sortable ? ctx_r20.getSortLabel(column_r18) : null);
|
|
25077
|
+
ɵɵproperty("ngClass", ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
|
|
25132
25078
|
} }
|
|
25133
25079
|
function TreeTableComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
25134
25080
|
ɵɵelementStart(0, "div", 39);
|
|
@@ -25144,8 +25090,7 @@ function TreeTableComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
25144
25090
|
ɵɵadvance(2);
|
|
25145
25091
|
ɵɵtextInterpolate(column_r18.header);
|
|
25146
25092
|
ɵɵadvance(1);
|
|
25147
|
-
ɵɵproperty("ngClass", ɵɵpureFunction2(
|
|
25148
|
-
ɵɵattribute("aria-label", column_r18.sortable ? ctx_r21.getSortLabel(column_r18) : null);
|
|
25093
|
+
ɵɵproperty("ngClass", ɵɵpureFunction2(3, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
|
|
25149
25094
|
} }
|
|
25150
25095
|
function TreeTableComponent_div_7_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
25151
25096
|
ɵɵelement(0, "div", 40);
|
|
@@ -25160,8 +25105,8 @@ function TreeTableComponent_div_7_sme_resizer_4_Template(rf, ctx) { if (rf & 1)
|
|
|
25160
25105
|
} }
|
|
25161
25106
|
function TreeTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
25162
25107
|
ɵɵelementStart(0, "div", 32);
|
|
25163
|
-
ɵɵtemplate(1, TreeTableComponent_div_7_div_1_Template, 4,
|
|
25164
|
-
ɵɵtemplate(2, TreeTableComponent_div_7_div_2_Template, 4,
|
|
25108
|
+
ɵɵtemplate(1, TreeTableComponent_div_7_div_1_Template, 4, 7, "div", 33);
|
|
25109
|
+
ɵɵtemplate(2, TreeTableComponent_div_7_div_2_Template, 4, 6, "div", 34);
|
|
25165
25110
|
ɵɵtemplate(3, TreeTableComponent_div_7_div_3_Template, 1, 0, "div", 35);
|
|
25166
25111
|
ɵɵtemplate(4, TreeTableComponent_div_7_sme_resizer_4_Template, 1, 2, "sme-resizer", 36);
|
|
25167
25112
|
ɵɵelementEnd();
|
|
@@ -27134,25 +27079,6 @@ class DataTableComponent extends CoreBaseComponent {
|
|
|
27134
27079
|
|| renderedItem.index === this.hoveredRenderedItemIndex
|
|
27135
27080
|
|| editableDataItem.isNewRow;
|
|
27136
27081
|
}
|
|
27137
|
-
/**
|
|
27138
|
-
* Retrieves the text that should be associated with the aria-label for column sort order (if sortable).
|
|
27139
|
-
* This label is utilized by screen readers for accessibility.
|
|
27140
|
-
* If the current sort order is Ascending, the label will indicate a button icon is present to Descend order.
|
|
27141
|
-
* If the current sort order is Descending, the label will indicate a button icon is present to Ascend order.
|
|
27142
|
-
* If the current sort order is None, the label is null, and the screen reader will not read anything.
|
|
27143
|
-
* @param column the table column
|
|
27144
|
-
* @returns the text for the aria-label on the sort icon
|
|
27145
|
-
*/
|
|
27146
|
-
getSortLabel(column) {
|
|
27147
|
-
switch (column.sortMode) {
|
|
27148
|
-
case DataTableSortMode.Ascend:
|
|
27149
|
-
return this.strings.MsftSmeShell.Angular.DataTable.Aria.Label.descendSortOrderButton;
|
|
27150
|
-
case DataTableSortMode.Descend:
|
|
27151
|
-
return this.strings.MsftSmeShell.Angular.DataTable.Aria.Label.ascendSortOrderButton;
|
|
27152
|
-
case DataTableSortMode.None:
|
|
27153
|
-
return null;
|
|
27154
|
-
}
|
|
27155
|
-
}
|
|
27156
27082
|
/**
|
|
27157
27083
|
* It implements the AfterViewInit interface.
|
|
27158
27084
|
*/
|
|
@@ -29166,13 +29092,6 @@ class DataTableComponent extends CoreBaseComponent {
|
|
|
29166
29092
|
this.processColumns();
|
|
29167
29093
|
}
|
|
29168
29094
|
}
|
|
29169
|
-
/**
|
|
29170
|
-
* Get the number of filtered items (if any) within the dataTable.
|
|
29171
|
-
* @returns number of dataTable filtered items, zero if none.
|
|
29172
|
-
*/
|
|
29173
|
-
getNumberOfFilteredItems() {
|
|
29174
|
-
return this.filteredItems ? this.filteredItems.length : 0;
|
|
29175
|
-
}
|
|
29176
29095
|
/**
|
|
29177
29096
|
* This function is added from upgrading data table to support editable data table
|
|
29178
29097
|
* The idea is to use the data table's header width to be applied on the data table body columns.
|
|
@@ -30367,12 +30286,6 @@ class PivotComponent extends CoreBaseComponent {
|
|
|
30367
30286
|
isSelected(tab) {
|
|
30368
30287
|
return this.selection && this.selection === tab;
|
|
30369
30288
|
}
|
|
30370
|
-
/**
|
|
30371
|
-
* Force refresh for the pivot tabs.
|
|
30372
|
-
*/
|
|
30373
|
-
refresh(shouldEmit = false) {
|
|
30374
|
-
this.updatePivotTabs(shouldEmit);
|
|
30375
|
-
}
|
|
30376
30289
|
/**
|
|
30377
30290
|
* Selects a tab
|
|
30378
30291
|
* @param tab The tab to select
|
|
@@ -30434,10 +30347,7 @@ class PivotComponent extends CoreBaseComponent {
|
|
|
30434
30347
|
'sme-pivot'
|
|
30435
30348
|
]);
|
|
30436
30349
|
}
|
|
30437
|
-
|
|
30438
|
-
* Main rendering functionality for the pivot tab
|
|
30439
|
-
*/
|
|
30440
|
-
updatePivotTabs(shouldEmit = true) {
|
|
30350
|
+
updatePivotTabs() {
|
|
30441
30351
|
let currentFill = 0;
|
|
30442
30352
|
this.visibleTabs = [];
|
|
30443
30353
|
this.trayTabs = [];
|
|
@@ -30472,9 +30382,7 @@ class PivotComponent extends CoreBaseComponent {
|
|
|
30472
30382
|
currentFill += tabWidth;
|
|
30473
30383
|
}
|
|
30474
30384
|
}
|
|
30475
|
-
|
|
30476
|
-
this.emitLayoutChanged();
|
|
30477
|
-
}
|
|
30385
|
+
this.emitLayoutChanged();
|
|
30478
30386
|
}
|
|
30479
30387
|
}
|
|
30480
30388
|
/** @nocollapse */ PivotComponent.ɵfac = function PivotComponent_Factory(t) { return new (t || PivotComponent)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 12)); };
|
|
@@ -30546,12 +30454,6 @@ __decorate([
|
|
|
30546
30454
|
SmeInject(ChangeDetectorRef),
|
|
30547
30455
|
__metadata("design:type", ChangeDetectorRef)
|
|
30548
30456
|
], PivotComponent.prototype, "changeDetectorRef", void 0);
|
|
30549
|
-
__decorate([
|
|
30550
|
-
Debounce$1(),
|
|
30551
|
-
__metadata("design:type", Function),
|
|
30552
|
-
__metadata("design:paramtypes", [Object]),
|
|
30553
|
-
__metadata("design:returntype", void 0)
|
|
30554
|
-
], PivotComponent.prototype, "refresh", null);
|
|
30555
30457
|
__decorate([
|
|
30556
30458
|
Debounce$1(),
|
|
30557
30459
|
__metadata("design:type", Function),
|
|
@@ -30611,7 +30513,7 @@ __decorate([
|
|
|
30611
30513
|
}], changeDetectorRef: [], dropDownButtonElement: [{
|
|
30612
30514
|
type: ViewChild,
|
|
30613
30515
|
args: ['dropDownButton']
|
|
30614
|
-
}],
|
|
30516
|
+
}], emitLayoutChanged: [], onLayoutChanged: [] }); })();
|
|
30615
30517
|
|
|
30616
30518
|
class PivotModule {
|
|
30617
30519
|
}
|
|
@@ -31175,13 +31077,13 @@ function MasterViewComponent_button_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
31175
31077
|
function MasterViewComponent_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
31176
31078
|
const _r17 = ɵɵgetCurrentView();
|
|
31177
31079
|
ɵɵelementStart(0, "button", 27);
|
|
31178
|
-
ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { ɵɵrestoreView(_r17); const ctx_r16 = ɵɵnextContext(); return ctx_r16.
|
|
31080
|
+
ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { ɵɵrestoreView(_r17); const ctx_r16 = ɵɵnextContext(); return ctx_r16.refresh.next(); });
|
|
31179
31081
|
ɵɵelement(1, "span", 28);
|
|
31180
31082
|
ɵɵelementEnd();
|
|
31181
31083
|
} if (rf & 2) {
|
|
31182
31084
|
const ctx_r6 = ɵɵnextContext();
|
|
31183
|
-
ɵɵproperty("title", ctx_r6.resourceStrings.refresh.title);
|
|
31184
|
-
ɵɵattribute("aria-
|
|
31085
|
+
ɵɵproperty("disabled", ctx_r6.disableRefresh)("title", ctx_r6.resourceStrings.refresh.title);
|
|
31086
|
+
ɵɵattribute("aria-label", ctx_r6.refreshButtonAriaLabel);
|
|
31185
31087
|
} }
|
|
31186
31088
|
function MasterViewComponent_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
31187
31089
|
const _r19 = ɵɵgetCurrentView();
|
|
@@ -31235,7 +31137,6 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31235
31137
|
this.pivotComponent = pivotComponent;
|
|
31236
31138
|
this.isInitialized = false;
|
|
31237
31139
|
this.resourceStrings = this.strings.MsftSmeShell.Angular.MasterView;
|
|
31238
|
-
this.commonStrings = this.strings.MsftSmeShell.Angular.Common;
|
|
31239
31140
|
this.noSideMargin = false;
|
|
31240
31141
|
this.hideHeader = false;
|
|
31241
31142
|
this.header = '';
|
|
@@ -31360,23 +31261,6 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31360
31261
|
this.refreshButtonAriaLabel = this.resourceStrings.refresh.ariaLabel.noHeader;
|
|
31361
31262
|
}
|
|
31362
31263
|
}
|
|
31363
|
-
// Note: this is a bandaid fix to this bug: https://microsoft.visualstudio.com/OS/_workitems/edit/33031791/.
|
|
31364
|
-
// The screen reader doesn't announce when aria-disabled changes and the exact reason for that is unknown.
|
|
31365
|
-
// It's not best practice to be adjusting the aria-label to achieve the effect but that's the best we came up with.
|
|
31366
|
-
// TODO: fix the real issue why the screen reader doesn't announce the aria-disabled changes
|
|
31367
|
-
ngOnChanges(changes) {
|
|
31368
|
-
var _a;
|
|
31369
|
-
let refreshButtonLabel = this.resourceStrings.refresh.ariaLabel.noHeader;
|
|
31370
|
-
if (this.header) {
|
|
31371
|
-
refreshButtonLabel = this.resourceStrings.refresh.ariaLabel.header.format(this.header);
|
|
31372
|
-
}
|
|
31373
|
-
if (((_a = changes.disableRefresh) === null || _a === void 0 ? void 0 : _a.currentValue) === true) {
|
|
31374
|
-
this.refreshButtonAriaLabel = `${this.commonStrings.disabled} ${refreshButtonLabel}`;
|
|
31375
|
-
}
|
|
31376
|
-
else {
|
|
31377
|
-
this.refreshButtonAriaLabel = `${this.commonStrings.enabled} ${refreshButtonLabel}`;
|
|
31378
|
-
}
|
|
31379
|
-
}
|
|
31380
31264
|
ngOnDestroy() {
|
|
31381
31265
|
if (this.splitViewPaneToggledSubscription) {
|
|
31382
31266
|
this.splitViewPaneToggledSubscription.unsubscribe();
|
|
@@ -31430,15 +31314,6 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31430
31314
|
this.actionBarComponent.updateActionBar();
|
|
31431
31315
|
}
|
|
31432
31316
|
}
|
|
31433
|
-
/**
|
|
31434
|
-
* Handles clicking on the refresh button
|
|
31435
|
-
*/
|
|
31436
|
-
refreshButtonClicked() {
|
|
31437
|
-
if (this.disableRefresh) {
|
|
31438
|
-
return;
|
|
31439
|
-
}
|
|
31440
|
-
this.refresh.next();
|
|
31441
|
-
}
|
|
31442
31317
|
handleDetailPaneExpanding(dataViewControl) {
|
|
31443
31318
|
if (this.splitView) {
|
|
31444
31319
|
let newDataSelection = null;
|
|
@@ -31517,7 +31392,7 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31517
31392
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dataView = _t.first);
|
|
31518
31393
|
} }, hostBindings: function MasterViewComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
31519
31394
|
ɵɵlistener("resize", function MasterViewComponent_resize_HostBindingHandler() { return ctx.updateLayout(); }, false, ɵɵresolveWindow);
|
|
31520
|
-
} }, 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: [ɵɵInheritDefinitionFeature
|
|
31395
|
+
} }, 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: [ɵɵ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) { if (rf & 1) {
|
|
31521
31396
|
ɵɵprojectionDef(_c4$5);
|
|
31522
31397
|
ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2, 3, "h2", 0);
|
|
31523
31398
|
ɵɵelementStart(1, "sme-layout", 1, 2);
|
|
@@ -32592,7 +32467,7 @@ function AlertBarComponent_div_1_label_14_div_1_a_1_Template(rf, ctx) { if (rf &
|
|
|
32592
32467
|
} if (rf & 2) {
|
|
32593
32468
|
const link_r13 = ɵɵnextContext().$implicit;
|
|
32594
32469
|
ɵɵadvance(1);
|
|
32595
|
-
|
|
32470
|
+
ɵɵtextInterpolate(link_r13.displayText);
|
|
32596
32471
|
} }
|
|
32597
32472
|
function AlertBarComponent_div_1_label_14_div_1_div_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
32598
32473
|
ɵɵelementStart(0, "a", 27);
|
|
@@ -32602,7 +32477,7 @@ function AlertBarComponent_div_1_label_14_div_1_div_2_a_1_Template(rf, ctx) { if
|
|
|
32602
32477
|
const link_r13 = ɵɵnextContext(2).$implicit;
|
|
32603
32478
|
ɵɵproperty("href", link_r13.uri, ɵɵsanitizeUrl);
|
|
32604
32479
|
ɵɵadvance(1);
|
|
32605
|
-
|
|
32480
|
+
ɵɵtextInterpolate(link_r13.displayText);
|
|
32606
32481
|
} }
|
|
32607
32482
|
function AlertBarComponent_div_1_label_14_div_1_div_2_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
32608
32483
|
ɵɵelementStart(0, "a", 28);
|
|
@@ -32612,7 +32487,7 @@ function AlertBarComponent_div_1_label_14_div_1_div_2_a_2_Template(rf, ctx) { if
|
|
|
32612
32487
|
const link_r13 = ɵɵnextContext(2).$implicit;
|
|
32613
32488
|
ɵɵproperty("routerLink", link_r13.uri);
|
|
32614
32489
|
ɵɵadvance(1);
|
|
32615
|
-
|
|
32490
|
+
ɵɵtextInterpolate(link_r13.displayText);
|
|
32616
32491
|
} }
|
|
32617
32492
|
function AlertBarComponent_div_1_label_14_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
32618
32493
|
const _r25 = ɵɵgetCurrentView();
|
|
@@ -32867,7 +32742,7 @@ class AlertBarComponent extends CoreBaseComponent {
|
|
|
32867
32742
|
}
|
|
32868
32743
|
}
|
|
32869
32744
|
/** @nocollapse */ AlertBarComponent.ɵfac = function AlertBarComponent_Factory(t) { return new (t || AlertBarComponent)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(AlertBarService), ɵɵdirectiveInject(DialogService)); };
|
|
32870
|
-
/** @nocollapse */ AlertBarComponent.ɵcmp = ɵɵdefineComponent({ type: AlertBarComponent, selectors: [["sme-alert-bar"]], inputs: { id: "id" }, features: [ɵɵ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"], ["
|
|
32745
|
+
/** @nocollapse */ AlertBarComponent.ɵcmp = ɵɵdefineComponent({ type: AlertBarComponent, selectors: [["sme-alert-bar"]], inputs: { id: "id" }, features: [ɵɵ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) { if (rf & 1) {
|
|
32871
32746
|
ɵɵelementStart(0, "div", 0);
|
|
32872
32747
|
ɵɵtemplate(1, AlertBarComponent_div_1_Template, 23, 13, "div", 1);
|
|
32873
32748
|
ɵɵelementEnd();
|
|
@@ -40040,38 +39915,8 @@ class PageAlertBarModule {
|
|
|
40040
39915
|
|
|
40041
39916
|
class PropertyGridItemComponent {
|
|
40042
39917
|
constructor() {
|
|
40043
|
-
/**
|
|
40044
|
-
* The status for the property grid item.
|
|
40045
|
-
*/
|
|
40046
39918
|
this.status = null;
|
|
40047
|
-
/**
|
|
40048
|
-
* It indicates the column span for the layout.
|
|
40049
|
-
*/
|
|
40050
39919
|
this.columnSpan = 1;
|
|
40051
|
-
/**
|
|
40052
|
-
* It indicates the rendering of loading wheel when data unloaded.
|
|
40053
|
-
*/
|
|
40054
|
-
this.isAsync = false;
|
|
40055
|
-
/**
|
|
40056
|
-
* It indicates whether the property grid is loading.
|
|
40057
|
-
* This parameter has to have isAsync set to true to use.
|
|
40058
|
-
*/
|
|
40059
|
-
this.loading = true;
|
|
40060
|
-
}
|
|
40061
|
-
/**
|
|
40062
|
-
* The setter for value/context.
|
|
40063
|
-
*/
|
|
40064
|
-
set value(input) {
|
|
40065
|
-
if (this.isAsync && this.loading) {
|
|
40066
|
-
this.loading = false;
|
|
40067
|
-
}
|
|
40068
|
-
this.internalValue = input;
|
|
40069
|
-
}
|
|
40070
|
-
/**
|
|
40071
|
-
* The getter for value/context.
|
|
40072
|
-
*/
|
|
40073
|
-
get value() {
|
|
40074
|
-
return this.internalValue;
|
|
40075
39920
|
}
|
|
40076
39921
|
/**
|
|
40077
39922
|
* Gets the status class to apply to this components value section
|
|
@@ -40100,25 +39945,9 @@ class PropertyGridItemComponent {
|
|
|
40100
39945
|
return null;
|
|
40101
39946
|
}
|
|
40102
39947
|
}
|
|
40103
|
-
ngOnInit() {
|
|
40104
|
-
// Edge case when the data has been assigned before the UI renders,
|
|
40105
|
-
// the functionality to make sure the data is actually loaded.
|
|
40106
|
-
// Basically in this case the set function will be skipped.
|
|
40107
|
-
if (this.isAsync && this.loading && this.value !== undefined) {
|
|
40108
|
-
this.loading = false;
|
|
40109
|
-
}
|
|
40110
|
-
}
|
|
40111
|
-
/**
|
|
40112
|
-
* Give the ability to reset loading.
|
|
40113
|
-
*/
|
|
40114
|
-
resetLoading() {
|
|
40115
|
-
if (!this.loading) {
|
|
40116
|
-
this.loading = true;
|
|
40117
|
-
}
|
|
40118
|
-
}
|
|
40119
39948
|
}
|
|
40120
39949
|
/** @nocollapse */ PropertyGridItemComponent.ɵfac = function PropertyGridItemComponent_Factory(t) { return new (t || PropertyGridItemComponent)(); };
|
|
40121
|
-
/** @nocollapse */ PropertyGridItemComponent.ɵcmp = ɵɵ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"
|
|
39950
|
+
/** @nocollapse */ PropertyGridItemComponent.ɵcmp = ɵɵ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 });
|
|
40122
39951
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(PropertyGridItemComponent, [{
|
|
40123
39952
|
type: Component,
|
|
40124
39953
|
args: [{
|
|
@@ -40143,8 +39972,6 @@ class PropertyGridItemComponent {
|
|
|
40143
39972
|
type: Input
|
|
40144
39973
|
}], columnSpan: [{
|
|
40145
39974
|
type: Input
|
|
40146
|
-
}], isAsync: [{
|
|
40147
|
-
type: Input
|
|
40148
39975
|
}] }); })();
|
|
40149
39976
|
|
|
40150
39977
|
const _c0$1m = ["readonlyTemplate"];
|
|
@@ -40202,75 +40029,57 @@ function PropertyGridComponent_sme_layout_item_5_Template(rf, ctx) { if (rf & 1)
|
|
|
40202
40029
|
ɵɵadvance(1);
|
|
40203
40030
|
ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", ɵɵpureFunction2(7, _c4$6, item_r14, i_r15));
|
|
40204
40031
|
} }
|
|
40205
|
-
function
|
|
40206
|
-
ɵɵelement(0, "sme-loading-wheel", 23);
|
|
40207
|
-
} if (rf & 2) {
|
|
40208
|
-
ɵɵproperty("inline", true)("isBackgroundTransparent", true);
|
|
40209
|
-
} }
|
|
40210
|
-
function PropertyGridComponent_ng_template_6_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
40032
|
+
function PropertyGridComponent_ng_template_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40211
40033
|
ɵɵelementContainer(0);
|
|
40212
40034
|
} }
|
|
40213
|
-
function
|
|
40035
|
+
function PropertyGridComponent_ng_template_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
40214
40036
|
ɵɵelementStart(0, "span");
|
|
40215
40037
|
ɵɵtext(1);
|
|
40216
40038
|
ɵɵelementEnd();
|
|
40217
40039
|
} if (rf & 2) {
|
|
40218
|
-
const item_r20 = ɵɵnextContext(
|
|
40219
|
-
const
|
|
40040
|
+
const item_r20 = ɵɵnextContext().$implicit;
|
|
40041
|
+
const ctx_r23 = ɵɵnextContext();
|
|
40220
40042
|
ɵɵadvance(1);
|
|
40221
|
-
ɵɵtextInterpolate(
|
|
40043
|
+
ɵɵtextInterpolate(ctx_r23.stringifyValue(item_r20.value));
|
|
40222
40044
|
} }
|
|
40223
|
-
function
|
|
40224
|
-
|
|
40225
|
-
|
|
40226
|
-
ɵɵtemplate(2,
|
|
40227
|
-
ɵɵtemplate(3, PropertyGridComponent_ng_template_6_ng_container_1_span_3_Template, 2, 1, "span", 22);
|
|
40045
|
+
function PropertyGridComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
40046
|
+
ɵɵelementStart(0, "p", 21);
|
|
40047
|
+
ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40048
|
+
ɵɵtemplate(2, PropertyGridComponent_ng_template_6_span_2_Template, 2, 1, "span", 22);
|
|
40228
40049
|
ɵɵelementEnd();
|
|
40229
|
-
ɵɵelementContainerEnd();
|
|
40230
40050
|
} if (rf & 2) {
|
|
40231
|
-
const
|
|
40232
|
-
const i_r21 =
|
|
40233
|
-
const
|
|
40234
|
-
const ctx_r23 = ɵɵnextContext();
|
|
40051
|
+
const item_r20 = ctx.$implicit;
|
|
40052
|
+
const i_r21 = ctx.index;
|
|
40053
|
+
const ctx_r5 = ɵɵnextContext();
|
|
40235
40054
|
const _r12 = ɵɵreference(15);
|
|
40236
|
-
|
|
40237
|
-
ɵɵattribute("aria-labelledby", ctx_r23.idBag.labelSpan + i_r21)("aria-describedby", ctx_r23.idBag.detailsSpan + i_r21);
|
|
40055
|
+
ɵɵattribute("aria-labelledby", ctx_r5.idBag.labelSpan + i_r21)("aria-describedby", ctx_r5.idBag.detailsSpan + i_r21);
|
|
40238
40056
|
ɵɵadvance(1);
|
|
40239
40057
|
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(5, _c4$6, item_r20, i_r21));
|
|
40240
40058
|
ɵɵadvance(1);
|
|
40241
40059
|
ɵɵproperty("ngIf", !item_r20.link && !item_r20.action);
|
|
40242
40060
|
} }
|
|
40243
|
-
function PropertyGridComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
40244
|
-
ɵɵtemplate(0, PropertyGridComponent_ng_template_6_sme_loading_wheel_0_Template, 1, 2, "sme-loading-wheel", 21);
|
|
40245
|
-
ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 4, 8, "ng-container", 22);
|
|
40246
|
-
} if (rf & 2) {
|
|
40247
|
-
const item_r20 = ctx.$implicit;
|
|
40248
|
-
ɵɵproperty("ngIf", item_r20.loading && item_r20.isAsync);
|
|
40249
|
-
ɵɵadvance(1);
|
|
40250
|
-
ɵɵproperty("ngIf", !item_r20.loading || !item_r20.isAsync);
|
|
40251
|
-
} }
|
|
40252
40061
|
function PropertyGridComponent_ng_template_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40253
40062
|
ɵɵelementContainer(0);
|
|
40254
40063
|
} }
|
|
40255
40064
|
function PropertyGridComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
40256
40065
|
ɵɵelementStart(0, "p");
|
|
40257
40066
|
ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40258
|
-
ɵɵelementStart(2, "a",
|
|
40259
|
-
ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { const
|
|
40067
|
+
ɵɵelementStart(2, "a", 23);
|
|
40068
|
+
ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { const item_r25 = ctx.$implicit; return item_r25.action(item_r25); });
|
|
40260
40069
|
ɵɵtext(3);
|
|
40261
40070
|
ɵɵelementEnd();
|
|
40262
40071
|
ɵɵelementEnd();
|
|
40263
40072
|
} if (rf & 2) {
|
|
40264
|
-
const
|
|
40265
|
-
const
|
|
40073
|
+
const item_r25 = ctx.$implicit;
|
|
40074
|
+
const i_r26 = ctx.index;
|
|
40266
40075
|
const ctx_r7 = ɵɵnextContext();
|
|
40267
40076
|
const _r12 = ɵɵreference(15);
|
|
40268
40077
|
ɵɵadvance(1);
|
|
40269
|
-
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(5, _c4$6,
|
|
40078
|
+
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(5, _c4$6, item_r25, i_r26));
|
|
40270
40079
|
ɵɵadvance(1);
|
|
40271
|
-
ɵɵattribute("aria-labelledby", ctx_r7.idBag.labelSpan +
|
|
40080
|
+
ɵɵattribute("aria-labelledby", ctx_r7.idBag.labelSpan + i_r26 + " " + (ctx_r7.idBag.valueSpan + i_r26))("aria-describedby", ctx_r7.idBag.detailsSpan + i_r26);
|
|
40272
40081
|
ɵɵadvance(1);
|
|
40273
|
-
ɵɵtextInterpolate(
|
|
40082
|
+
ɵɵtextInterpolate(item_r25.value);
|
|
40274
40083
|
} }
|
|
40275
40084
|
function PropertyGridComponent_ng_template_10_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40276
40085
|
ɵɵelementContainer(0);
|
|
@@ -40278,22 +40087,22 @@ function PropertyGridComponent_ng_template_10_ng_container_1_Template(rf, ctx) {
|
|
|
40278
40087
|
function PropertyGridComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
40279
40088
|
ɵɵelementStart(0, "p");
|
|
40280
40089
|
ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40281
|
-
ɵɵelementStart(2, "a",
|
|
40090
|
+
ɵɵelementStart(2, "a", 24);
|
|
40282
40091
|
ɵɵtext(3);
|
|
40283
40092
|
ɵɵelementEnd();
|
|
40284
40093
|
ɵɵelementEnd();
|
|
40285
40094
|
} if (rf & 2) {
|
|
40286
|
-
const
|
|
40287
|
-
const
|
|
40095
|
+
const item_r29 = ctx.$implicit;
|
|
40096
|
+
const i_r30 = ctx.index;
|
|
40288
40097
|
const ctx_r9 = ɵɵnextContext();
|
|
40289
40098
|
const _r12 = ɵɵreference(15);
|
|
40290
40099
|
ɵɵadvance(1);
|
|
40291
|
-
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(6, _c4$6,
|
|
40100
|
+
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(6, _c4$6, item_r29, i_r30));
|
|
40292
40101
|
ɵɵadvance(1);
|
|
40293
|
-
ɵɵproperty("routerLink",
|
|
40294
|
-
ɵɵattribute("aria-labelledby", ctx_r9.idBag.labelSpan +
|
|
40102
|
+
ɵɵproperty("routerLink", item_r29.link);
|
|
40103
|
+
ɵɵattribute("aria-labelledby", ctx_r9.idBag.labelSpan + i_r30 + " " + (ctx_r9.idBag.valueSpan + i_r30))("aria-describedby", ctx_r9.idBag.detailsSpan + i_r30);
|
|
40295
40104
|
ɵɵadvance(1);
|
|
40296
|
-
ɵɵtextInterpolate(
|
|
40105
|
+
ɵɵtextInterpolate(item_r29.value);
|
|
40297
40106
|
} }
|
|
40298
40107
|
function PropertyGridComponent_ng_template_12_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40299
40108
|
ɵɵelementContainer(0);
|
|
@@ -40301,46 +40110,46 @@ function PropertyGridComponent_ng_template_12_ng_container_1_Template(rf, ctx) {
|
|
|
40301
40110
|
function PropertyGridComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
40302
40111
|
ɵɵelementStart(0, "p");
|
|
40303
40112
|
ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40304
|
-
ɵɵelementStart(2, "a",
|
|
40113
|
+
ɵɵelementStart(2, "a", 25);
|
|
40305
40114
|
ɵɵelementStart(3, "span");
|
|
40306
40115
|
ɵɵtext(4);
|
|
40307
40116
|
ɵɵelementEnd();
|
|
40308
|
-
ɵɵelement(5, "span",
|
|
40117
|
+
ɵɵelement(5, "span", 26);
|
|
40309
40118
|
ɵɵelementEnd();
|
|
40310
40119
|
ɵɵelementEnd();
|
|
40311
40120
|
} if (rf & 2) {
|
|
40312
|
-
const
|
|
40313
|
-
const
|
|
40121
|
+
const item_r32 = ctx.$implicit;
|
|
40122
|
+
const i_r33 = ctx.index;
|
|
40314
40123
|
const ctx_r11 = ɵɵnextContext();
|
|
40315
40124
|
const _r12 = ɵɵreference(15);
|
|
40316
40125
|
ɵɵadvance(1);
|
|
40317
|
-
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(6, _c4$6,
|
|
40126
|
+
ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", ɵɵpureFunction2(6, _c4$6, item_r32, i_r33));
|
|
40318
40127
|
ɵɵadvance(1);
|
|
40319
|
-
ɵɵproperty("href",
|
|
40320
|
-
ɵɵattribute("aria-labelledby", ctx_r11.idBag.labelSpan +
|
|
40128
|
+
ɵɵproperty("href", item_r32.link, ɵɵsanitizeUrl);
|
|
40129
|
+
ɵɵattribute("aria-labelledby", ctx_r11.idBag.labelSpan + i_r33 + " " + (ctx_r11.idBag.valueSpan + i_r33))("aria-describedby", ctx_r11.idBag.detailsSpan + i_r33);
|
|
40321
40130
|
ɵɵadvance(2);
|
|
40322
|
-
ɵɵtextInterpolate(
|
|
40131
|
+
ɵɵtextInterpolate(item_r32.value);
|
|
40323
40132
|
} }
|
|
40324
40133
|
function PropertyGridComponent_ng_template_14_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
40325
40134
|
ɵɵelement(0, "span");
|
|
40326
40135
|
} if (rf & 2) {
|
|
40327
|
-
const
|
|
40328
|
-
ɵɵclassMapInterpolate1("sme-margin-right-xs sme-icon ",
|
|
40136
|
+
const item_r35 = ɵɵnextContext().$implicit;
|
|
40137
|
+
ɵɵclassMapInterpolate1("sme-margin-right-xs sme-icon ", item_r35.iconClass, "");
|
|
40329
40138
|
} }
|
|
40330
40139
|
function PropertyGridComponent_ng_template_14_sme_status_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
40331
|
-
ɵɵelement(0, "sme-status-icon",
|
|
40140
|
+
ɵɵelement(0, "sme-status-icon", 29);
|
|
40332
40141
|
} if (rf & 2) {
|
|
40333
|
-
const
|
|
40334
|
-
ɵɵproperty("status",
|
|
40142
|
+
const item_r35 = ɵɵnextContext().$implicit;
|
|
40143
|
+
ɵɵproperty("status", item_r35.status);
|
|
40335
40144
|
} }
|
|
40336
40145
|
function PropertyGridComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
40337
|
-
ɵɵtemplate(0, PropertyGridComponent_ng_template_14_span_0_Template, 1, 3, "span",
|
|
40338
|
-
ɵɵtemplate(1, PropertyGridComponent_ng_template_14_sme_status_icon_1_Template, 1, 1, "sme-status-icon",
|
|
40146
|
+
ɵɵtemplate(0, PropertyGridComponent_ng_template_14_span_0_Template, 1, 3, "span", 27);
|
|
40147
|
+
ɵɵtemplate(1, PropertyGridComponent_ng_template_14_sme_status_icon_1_Template, 1, 1, "sme-status-icon", 28);
|
|
40339
40148
|
} if (rf & 2) {
|
|
40340
|
-
const
|
|
40341
|
-
ɵɵproperty("ngIf", !!
|
|
40149
|
+
const item_r35 = ctx.$implicit;
|
|
40150
|
+
ɵɵproperty("ngIf", !!item_r35.iconClass);
|
|
40342
40151
|
ɵɵadvance(1);
|
|
40343
|
-
ɵɵproperty("ngIf",
|
|
40152
|
+
ɵɵproperty("ngIf", item_r35.status !== null && !item_r35.iconClass);
|
|
40344
40153
|
} }
|
|
40345
40154
|
/**
|
|
40346
40155
|
*
|
|
@@ -40384,7 +40193,7 @@ class PropertyGridComponent extends CoreBaseComponent {
|
|
|
40384
40193
|
*/
|
|
40385
40194
|
this.layoutItemWidth = 300;
|
|
40386
40195
|
/**
|
|
40387
|
-
* The
|
|
40196
|
+
* The source name to use for logging
|
|
40388
40197
|
*/
|
|
40389
40198
|
this.orientation = 'horizontal';
|
|
40390
40199
|
/**
|
|
@@ -40483,14 +40292,14 @@ class PropertyGridComponent extends CoreBaseComponent {
|
|
|
40483
40292
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.externalLinkTemplate = _t.first);
|
|
40484
40293
|
} }, inputs: { orientation: "orientation" }, outputs: { layoutChanged: "layoutChanged" }, features: [ɵɵProvidersFeature([
|
|
40485
40294
|
{ provide: SME_LAYOUT_PROVIDER, useExisting: forwardRef((() => PropertyGridComponent)) }
|
|
40486
|
-
]), ɵɵInheritDefinitionFeature, ɵɵ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"], ["
|
|
40295
|
+
]), ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
40487
40296
|
ɵɵelementStart(0, "sme-layout", 0, 1);
|
|
40488
40297
|
ɵɵelement(2, "sme-layout-definition", 2);
|
|
40489
40298
|
ɵɵtemplate(3, PropertyGridComponent_sme_layout_definition_3_Template, 1, 2, "sme-layout-definition", 3);
|
|
40490
40299
|
ɵɵtemplate(4, PropertyGridComponent_sme_layout_definition_4_Template, 1, 1, "sme-layout-definition", 4);
|
|
40491
40300
|
ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template, 10, 10, "sme-layout-item", 5);
|
|
40492
40301
|
ɵɵelementEnd();
|
|
40493
|
-
ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template,
|
|
40302
|
+
ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template, 3, 8, "ng-template", null, 6, ɵɵtemplateRefExtractor);
|
|
40494
40303
|
ɵɵtemplate(8, PropertyGridComponent_ng_template_8_Template, 4, 8, "ng-template", null, 7, ɵɵtemplateRefExtractor);
|
|
40495
40304
|
ɵɵtemplate(10, PropertyGridComponent_ng_template_10_Template, 4, 9, "ng-template", null, 8, ɵɵtemplateRefExtractor);
|
|
40496
40305
|
ɵɵtemplate(12, PropertyGridComponent_ng_template_12_Template, 6, 9, "ng-template", null, 9, ɵɵtemplateRefExtractor);
|
|
@@ -40505,7 +40314,11 @@ class PropertyGridComponent extends CoreBaseComponent {
|
|
|
40505
40314
|
ɵɵproperty("ngIf", ctx.orientation !== "vertical");
|
|
40506
40315
|
ɵɵadvance(1);
|
|
40507
40316
|
ɵɵproperty("ngForOf", ctx.items);
|
|
40508
|
-
} }, directives: [LayoutComponent, LayoutDefinitionComponent, NgIf, NgForOf, LayoutItemComponent, TooltipZoneDirective, NgTemplateOutlet, TooltipDirective,
|
|
40317
|
+
} }, directives: [LayoutComponent, LayoutDefinitionComponent, NgIf, NgForOf, LayoutItemComponent, TooltipZoneDirective, NgTemplateOutlet, TooltipDirective, RouterLinkWithHref, StatusIconComponent], encapsulation: 2 });
|
|
40318
|
+
__decorate([
|
|
40319
|
+
SmeInject(ChangeDetectorRef),
|
|
40320
|
+
__metadata("design:type", ChangeDetectorRef)
|
|
40321
|
+
], PropertyGridComponent.prototype, "changeDetector", void 0);
|
|
40509
40322
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(PropertyGridComponent, [{
|
|
40510
40323
|
type: Component,
|
|
40511
40324
|
args: [{
|
|
@@ -40541,7 +40354,7 @@ class PropertyGridComponent extends CoreBaseComponent {
|
|
|
40541
40354
|
type: Input
|
|
40542
40355
|
}], layoutChanged: [{
|
|
40543
40356
|
type: Output
|
|
40544
|
-
}] }); })();
|
|
40357
|
+
}], changeDetector: [] }); })();
|
|
40545
40358
|
|
|
40546
40359
|
class PropertyGridModule {
|
|
40547
40360
|
}
|
|
@@ -40551,7 +40364,6 @@ class PropertyGridModule {
|
|
|
40551
40364
|
RouterModule,
|
|
40552
40365
|
CommonModule,
|
|
40553
40366
|
LayoutModule,
|
|
40554
|
-
LoadingWheelModule,
|
|
40555
40367
|
IconModule,
|
|
40556
40368
|
TooltipModule
|
|
40557
40369
|
]] });
|
|
@@ -40559,7 +40371,6 @@ class PropertyGridModule {
|
|
|
40559
40371
|
PropertyGridItemComponent], imports: [RouterModule,
|
|
40560
40372
|
CommonModule,
|
|
40561
40373
|
LayoutModule,
|
|
40562
|
-
LoadingWheelModule,
|
|
40563
40374
|
IconModule,
|
|
40564
40375
|
TooltipModule], exports: [PropertyGridComponent,
|
|
40565
40376
|
PropertyGridItemComponent] }); })();
|
|
@@ -40578,7 +40389,6 @@ class PropertyGridModule {
|
|
|
40578
40389
|
RouterModule,
|
|
40579
40390
|
CommonModule,
|
|
40580
40391
|
LayoutModule,
|
|
40581
|
-
LoadingWheelModule,
|
|
40582
40392
|
IconModule,
|
|
40583
40393
|
TooltipModule
|
|
40584
40394
|
]
|
|
@@ -44675,43 +44485,19 @@ class SettingsFormService {
|
|
|
44675
44485
|
type: Injectable
|
|
44676
44486
|
}], function () { return [{ type: Router }]; }, null); })();
|
|
44677
44487
|
|
|
44678
|
-
function SettingsComponent_div_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
44679
|
-
ɵɵelementStart(0, "span", 12);
|
|
44680
|
-
ɵɵtext(1);
|
|
44681
|
-
ɵɵelementEnd();
|
|
44682
|
-
} if (rf & 2) {
|
|
44683
|
-
const ctx_r2 = ɵɵnextContext(2);
|
|
44684
|
-
ɵɵadvance(1);
|
|
44685
|
-
ɵɵtextInterpolate(ctx_r2.headerSeparator);
|
|
44686
|
-
} }
|
|
44687
|
-
function SettingsComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
44688
|
-
ɵɵelementStart(0, "span", 13);
|
|
44689
|
-
ɵɵtext(1);
|
|
44690
|
-
ɵɵelementEnd();
|
|
44691
|
-
} if (rf & 2) {
|
|
44692
|
-
const ctx_r3 = ɵɵnextContext(2);
|
|
44693
|
-
ɵɵadvance(1);
|
|
44694
|
-
ɵɵtextInterpolate(ctx_r3.selectedSettingsTitle);
|
|
44695
|
-
} }
|
|
44696
44488
|
function SettingsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
44697
44489
|
ɵɵelementStart(0, "div", 8);
|
|
44698
44490
|
ɵɵelementStart(1, "h2", 9);
|
|
44699
44491
|
ɵɵtext(2);
|
|
44700
|
-
ɵɵtemplate(3, SettingsComponent_div_1_span_3_Template, 2, 1, "span", 10);
|
|
44701
|
-
ɵɵtemplate(4, SettingsComponent_div_1_span_4_Template, 2, 1, "span", 11);
|
|
44702
44492
|
ɵɵelementEnd();
|
|
44703
44493
|
ɵɵelementEnd();
|
|
44704
44494
|
} if (rf & 2) {
|
|
44705
44495
|
const ctx_r0 = ɵɵnextContext();
|
|
44706
44496
|
ɵɵadvance(1);
|
|
44707
|
-
ɵɵproperty("title", ctx_r0.
|
|
44708
|
-
ɵɵattribute("aria-label", ctx_r0.
|
|
44709
|
-
ɵɵadvance(1);
|
|
44710
|
-
ɵɵtextInterpolate1("", ctx_r0.settingsTitle, " ");
|
|
44711
|
-
ɵɵadvance(1);
|
|
44712
|
-
ɵɵproperty("ngIf", ctx_r0.selectedSettingsTitle);
|
|
44497
|
+
ɵɵproperty("title", ctx_r0.settingsTitle);
|
|
44498
|
+
ɵɵattribute("aria-label", ctx_r0.settingsTitle);
|
|
44713
44499
|
ɵɵadvance(1);
|
|
44714
|
-
|
|
44500
|
+
ɵɵtextInterpolate(ctx_r0.settingsTitle);
|
|
44715
44501
|
} }
|
|
44716
44502
|
const _c0$1u = [[["sme-settings-navigation"]], [["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
44717
44503
|
const _c1$O = ["sme-settings-navigation", "sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
@@ -44747,10 +44533,6 @@ class SettingsComponent extends CoreBaseComponent {
|
|
|
44747
44533
|
super(injector);
|
|
44748
44534
|
this.allForms = [];
|
|
44749
44535
|
this.autoFocus = true;
|
|
44750
|
-
/**
|
|
44751
|
-
* Separator used in sticky header on top of Settings page
|
|
44752
|
-
*/
|
|
44753
|
-
this.headerSeparator = '|';
|
|
44754
44536
|
}
|
|
44755
44537
|
/**
|
|
44756
44538
|
* The source name to use for logging
|
|
@@ -44769,7 +44551,6 @@ class SettingsComponent extends CoreBaseComponent {
|
|
|
44769
44551
|
// If we have a new form, it means the user navigated so we reset the autofocus
|
|
44770
44552
|
this.autoFocus = true;
|
|
44771
44553
|
}), this.settingsForms.formRemoved().subscribe((form) => { MsftSme.remove(this.allForms, form); }));
|
|
44772
|
-
this.fullSettingsTitle = this.settingsTitle;
|
|
44773
44554
|
}
|
|
44774
44555
|
ngOnDestroy() {
|
|
44775
44556
|
super.ngOnDestroy();
|
|
@@ -44823,14 +44604,6 @@ class SettingsComponent extends CoreBaseComponent {
|
|
|
44823
44604
|
return this.addPadding = this.layoutComponent.currentLayoutDefinition.name === 'narrow';
|
|
44824
44605
|
}
|
|
44825
44606
|
}
|
|
44826
|
-
/**
|
|
44827
|
-
* Update this.settingsTitle (header of the setting page) to newly selected setting item
|
|
44828
|
-
*/
|
|
44829
|
-
updateSelectedSettingTitle(newSelectedSettingTitle) {
|
|
44830
|
-
this.selectedSettingsTitle = newSelectedSettingTitle;
|
|
44831
|
-
const fullSettingsTitlePostFix = this.selectedSettingsTitle ? this.headerSeparator + ' ' + this.selectedSettingsTitle : '';
|
|
44832
|
-
this.fullSettingsTitle = this.settingsTitle + ' ' + fullSettingsTitlePostFix;
|
|
44833
|
-
}
|
|
44834
44607
|
}
|
|
44835
44608
|
/** @nocollapse */ SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(ɵɵdirectiveInject(Injector)); };
|
|
44836
44609
|
/** @nocollapse */ SettingsComponent.ɵcmp = ɵɵdefineComponent({ type: SettingsComponent, selectors: [["sme-settings"]], viewQuery: function SettingsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
@@ -44838,10 +44611,10 @@ class SettingsComponent extends CoreBaseComponent {
|
|
|
44838
44611
|
} if (rf & 2) {
|
|
44839
44612
|
let _t;
|
|
44840
44613
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.layoutComponent = _t.first);
|
|
44841
|
-
} }, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle"
|
|
44614
|
+
} }, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle" }, features: [ɵɵ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) { if (rf & 1) {
|
|
44842
44615
|
ɵɵprojectionDef(_c0$1u);
|
|
44843
44616
|
ɵɵelementStart(0, "div", 0);
|
|
44844
|
-
ɵɵtemplate(1, SettingsComponent_div_1_Template,
|
|
44617
|
+
ɵɵtemplate(1, SettingsComponent_div_1_Template, 3, 3, "div", 1);
|
|
44845
44618
|
ɵɵelementStart(2, "sme-layout", 2, 3);
|
|
44846
44619
|
ɵɵlistener("layoutChanged", function SettingsComponent_Template_sme_layout_layoutChanged_2_listener() { return ctx.isPaddingRequired(); });
|
|
44847
44620
|
ɵɵelement(4, "sme-layout-definition", 4);
|
|
@@ -44857,7 +44630,6 @@ class SettingsComponent extends CoreBaseComponent {
|
|
|
44857
44630
|
ɵɵelementEnd();
|
|
44858
44631
|
ɵɵelementEnd();
|
|
44859
44632
|
} if (rf & 2) {
|
|
44860
|
-
const _r1 = ɵɵreference(3);
|
|
44861
44633
|
ɵɵadvance(1);
|
|
44862
44634
|
ɵɵproperty("ngIf", ctx.settingsTitle);
|
|
44863
44635
|
ɵɵadvance(1);
|
|
@@ -44865,9 +44637,9 @@ class SettingsComponent extends CoreBaseComponent {
|
|
|
44865
44637
|
ɵɵadvance(2);
|
|
44866
44638
|
ɵɵproperty("until", 800)("columns", 1);
|
|
44867
44639
|
ɵɵadvance(1);
|
|
44868
|
-
ɵɵproperty("columns", 5)
|
|
44640
|
+
ɵɵproperty("columns", 5);
|
|
44869
44641
|
ɵɵadvance(1);
|
|
44870
|
-
ɵɵproperty("columnSpan", 1)
|
|
44642
|
+
ɵɵproperty("columnSpan", 1);
|
|
44871
44643
|
ɵɵadvance(2);
|
|
44872
44644
|
ɵɵproperty("columnSpan", 4)("ngClass", ctx.addPadding ? "sme-position-stretch sme-padding-left-xl" : "sme-position-stretch");
|
|
44873
44645
|
} }, directives: [NgIf, LayoutComponent, LayoutDefinitionComponent, LayoutItemComponent, NgClass, TooltipDirective], encapsulation: 2 });
|
|
@@ -44889,17 +44661,14 @@ __decorate([
|
|
|
44889
44661
|
type: Input
|
|
44890
44662
|
}], settingsTitle: [{
|
|
44891
44663
|
type: Input
|
|
44892
|
-
}], selectedSettingsTitle: [{
|
|
44893
|
-
type: Input
|
|
44894
44664
|
}], layoutComponent: [{
|
|
44895
44665
|
type: ViewChild,
|
|
44896
44666
|
args: [LayoutComponent]
|
|
44897
44667
|
}], settingsForms: [], dialogService: [] }); })();
|
|
44898
44668
|
|
|
44899
|
-
const _c0$1v = ["searchTextBox"];
|
|
44900
44669
|
function CommonSettingsComponent_header_2_Template(rf, ctx) { if (rf & 1) {
|
|
44901
|
-
ɵɵelementStart(0, "header",
|
|
44902
|
-
ɵɵelementStart(1, "h2",
|
|
44670
|
+
ɵɵelementStart(0, "header", 7);
|
|
44671
|
+
ɵɵelementStart(1, "h2", 8);
|
|
44903
44672
|
ɵɵtext(2);
|
|
44904
44673
|
ɵɵelementEnd();
|
|
44905
44674
|
ɵɵelementEnd();
|
|
@@ -44910,94 +44679,94 @@ function CommonSettingsComponent_header_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
44910
44679
|
ɵɵadvance(1);
|
|
44911
44680
|
ɵɵtextInterpolate(ctx_r0.settingsTitle);
|
|
44912
44681
|
} }
|
|
44913
|
-
function
|
|
44914
|
-
ɵɵelementStart(0, "
|
|
44682
|
+
function CommonSettingsComponent_li_6_h3_1_Template(rf, ctx) { if (rf & 1) {
|
|
44683
|
+
ɵɵelementStart(0, "h3", 12);
|
|
44915
44684
|
ɵɵtext(1);
|
|
44916
44685
|
ɵɵelementEnd();
|
|
44917
44686
|
} if (rf & 2) {
|
|
44918
|
-
const
|
|
44919
|
-
const
|
|
44920
|
-
const
|
|
44921
|
-
const
|
|
44922
|
-
ɵɵproperty("id",
|
|
44687
|
+
const ctx_r8 = ɵɵnextContext();
|
|
44688
|
+
const j_r5 = ctx_r8.index;
|
|
44689
|
+
const group_r4 = ctx_r8.$implicit;
|
|
44690
|
+
const ctx_r6 = ɵɵnextContext();
|
|
44691
|
+
ɵɵproperty("id", ctx_r6.idBag.group + "-" + j_r5)("title", group_r4.group);
|
|
44923
44692
|
ɵɵadvance(1);
|
|
44924
|
-
ɵɵtextInterpolate(
|
|
44693
|
+
ɵɵtextInterpolate(group_r4.group);
|
|
44925
44694
|
} }
|
|
44926
|
-
function
|
|
44927
|
-
const
|
|
44928
|
-
ɵɵelementStart(0, "a",
|
|
44929
|
-
ɵɵlistener("smeRouterLinkActivated", function
|
|
44930
|
-
ɵɵelement(1, "div",
|
|
44931
|
-
ɵɵelementStart(2, "div",
|
|
44932
|
-
ɵɵelementStart(3, "span",
|
|
44695
|
+
function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
44696
|
+
const _r12 = ɵɵgetCurrentView();
|
|
44697
|
+
ɵɵelementStart(0, "a", 13);
|
|
44698
|
+
ɵɵlistener("smeRouterLinkActivated", function CommonSettingsComponent_li_6_a_2_Template_a_smeRouterLinkActivated_0_listener() { ɵɵrestoreView(_r12); const setting_r9 = ctx.$implicit; const ctx_r11 = ɵɵnextContext(2); return ctx_r11.selectedSetting = setting_r9; });
|
|
44699
|
+
ɵɵelement(1, "div", 14);
|
|
44700
|
+
ɵɵelementStart(2, "div", 15);
|
|
44701
|
+
ɵɵelementStart(3, "span", 16);
|
|
44933
44702
|
ɵɵtext(4);
|
|
44934
44703
|
ɵɵelementEnd();
|
|
44935
44704
|
ɵɵelementEnd();
|
|
44936
44705
|
ɵɵelementEnd();
|
|
44937
44706
|
} if (rf & 2) {
|
|
44938
|
-
const
|
|
44939
|
-
const
|
|
44940
|
-
const
|
|
44941
|
-
const
|
|
44942
|
-
ɵɵattributeInterpolate5("aria-labelledby", "",
|
|
44943
|
-
ɵɵproperty("routerLink",
|
|
44944
|
-
ɵɵattribute("aria-selected",
|
|
44707
|
+
const setting_r9 = ctx.$implicit;
|
|
44708
|
+
const i_r10 = ctx.index;
|
|
44709
|
+
const j_r5 = ɵɵnextContext().index;
|
|
44710
|
+
const ctx_r7 = ɵɵnextContext();
|
|
44711
|
+
ɵɵattributeInterpolate5("aria-labelledby", "", ctx_r7.idBag.option, "-", j_r5, "-", i_r10, " ", ctx_r7.idBag.group, "-", j_r5, "");
|
|
44712
|
+
ɵɵ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);
|
|
44713
|
+
ɵɵattribute("aria-selected", ctx_r7.selectedSetting === setting_r9);
|
|
44945
44714
|
ɵɵadvance(1);
|
|
44946
|
-
ɵɵproperty("ngClass",
|
|
44715
|
+
ɵɵproperty("ngClass", ctx_r7.getSmeIconClass(setting_r9));
|
|
44947
44716
|
ɵɵadvance(2);
|
|
44948
|
-
ɵɵclassProp("sme-dirty", !!(
|
|
44949
|
-
ɵɵproperty("id",
|
|
44717
|
+
ɵɵclassProp("sme-dirty", !!(setting_r9.form && setting_r9.form.dirty))("sme-pristine", !(setting_r9.form && setting_r9.form.dirty));
|
|
44718
|
+
ɵɵproperty("id", ctx_r7.idBag.option + "-" + j_r5 + "-" + i_r10);
|
|
44950
44719
|
ɵɵadvance(1);
|
|
44951
|
-
ɵɵtextInterpolate(
|
|
44720
|
+
ɵɵtextInterpolate(setting_r9.label);
|
|
44952
44721
|
} }
|
|
44953
|
-
function
|
|
44954
|
-
ɵɵelementStart(0, "li",
|
|
44955
|
-
ɵɵtemplate(1,
|
|
44956
|
-
ɵɵtemplate(2,
|
|
44722
|
+
function CommonSettingsComponent_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
44723
|
+
ɵɵelementStart(0, "li", 9);
|
|
44724
|
+
ɵɵtemplate(1, CommonSettingsComponent_li_6_h3_1_Template, 2, 3, "h3", 10);
|
|
44725
|
+
ɵɵtemplate(2, CommonSettingsComponent_li_6_a_2_Template, 5, 19, "a", 11);
|
|
44957
44726
|
ɵɵelementEnd();
|
|
44958
44727
|
} if (rf & 2) {
|
|
44959
|
-
const
|
|
44960
|
-
const
|
|
44728
|
+
const group_r4 = ctx.$implicit;
|
|
44729
|
+
const ctx_r1 = ɵɵnextContext();
|
|
44961
44730
|
ɵɵadvance(1);
|
|
44962
|
-
ɵɵproperty("ngIf",
|
|
44731
|
+
ɵɵproperty("ngIf", group_r4.group !== ctx_r1.defaultGroup);
|
|
44963
44732
|
ɵɵadvance(1);
|
|
44964
|
-
ɵɵproperty("ngForOf",
|
|
44733
|
+
ɵɵproperty("ngForOf", group_r4.options);
|
|
44965
44734
|
} }
|
|
44966
|
-
function
|
|
44967
|
-
const
|
|
44968
|
-
ɵɵelementStart(0, "div",
|
|
44969
|
-
ɵɵlistener("click", function
|
|
44735
|
+
function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
44736
|
+
const _r17 = ɵɵgetCurrentView();
|
|
44737
|
+
ɵɵelementStart(0, "div", 18);
|
|
44738
|
+
ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { ɵɵrestoreView(_r17); const layer_r15 = ctx.$implicit; const ctx_r16 = ɵɵnextContext(2); return ctx_r16.onOverlayClick(layer_r15); });
|
|
44970
44739
|
ɵɵelementEnd();
|
|
44971
44740
|
} }
|
|
44972
|
-
function
|
|
44741
|
+
function CommonSettingsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
44973
44742
|
ɵɵelementStart(0, "div");
|
|
44974
|
-
ɵɵtemplate(1,
|
|
44743
|
+
ɵɵtemplate(1, CommonSettingsComponent_div_7_div_1_Template, 1, 0, "div", 17);
|
|
44975
44744
|
ɵɵelementEnd();
|
|
44976
44745
|
} if (rf & 2) {
|
|
44977
|
-
const
|
|
44746
|
+
const ctx_r2 = ɵɵnextContext();
|
|
44978
44747
|
ɵɵadvance(1);
|
|
44979
|
-
ɵɵproperty("ngForOf",
|
|
44748
|
+
ɵɵproperty("ngForOf", ctx_r2.layers);
|
|
44980
44749
|
} }
|
|
44981
|
-
function
|
|
44982
|
-
ɵɵelementStart(0, "h3",
|
|
44750
|
+
function CommonSettingsComponent_sme_settings_header_8_h3_1_Template(rf, ctx) { if (rf & 1) {
|
|
44751
|
+
ɵɵelementStart(0, "h3", 20);
|
|
44983
44752
|
ɵɵtext(1);
|
|
44984
44753
|
ɵɵelementEnd();
|
|
44985
44754
|
} if (rf & 2) {
|
|
44986
|
-
const
|
|
44987
|
-
ɵɵattribute("aria-label",
|
|
44755
|
+
const ctx_r18 = ɵɵnextContext(2);
|
|
44756
|
+
ɵɵattribute("aria-label", ctx_r18.selectedSetting.label);
|
|
44988
44757
|
ɵɵadvance(1);
|
|
44989
|
-
ɵɵtextInterpolate1(" ",
|
|
44758
|
+
ɵɵtextInterpolate1(" ", ctx_r18.selectedSetting.label, "");
|
|
44990
44759
|
} }
|
|
44991
|
-
function
|
|
44760
|
+
function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) { if (rf & 1) {
|
|
44992
44761
|
ɵɵelementStart(0, "sme-settings-header");
|
|
44993
|
-
ɵɵtemplate(1,
|
|
44762
|
+
ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_8_h3_1_Template, 2, 2, "h3", 19);
|
|
44994
44763
|
ɵɵelementEnd();
|
|
44995
44764
|
} if (rf & 2) {
|
|
44996
|
-
const
|
|
44765
|
+
const ctx_r3 = ɵɵnextContext();
|
|
44997
44766
|
ɵɵadvance(1);
|
|
44998
|
-
ɵɵproperty("ngIf", !!
|
|
44767
|
+
ɵɵproperty("ngIf", !!ctx_r3.selectedSetting);
|
|
44999
44768
|
} }
|
|
45000
|
-
const
|
|
44769
|
+
const _c0$1v = ["*"];
|
|
45001
44770
|
/**
|
|
45002
44771
|
* Container around settings component, handles common settings behavior.
|
|
45003
44772
|
*/
|
|
@@ -45011,24 +44780,11 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45011
44780
|
this.rpcShellService = rpcShellService;
|
|
45012
44781
|
this.defaultGroup = 'default';
|
|
45013
44782
|
this.layers = [];
|
|
45014
|
-
/**
|
|
45015
|
-
* Search box related variables
|
|
45016
|
-
*/
|
|
45017
|
-
this.filter = '';
|
|
45018
|
-
this.filteredSettings = [];
|
|
45019
44783
|
this.showHeader = true;
|
|
45020
44784
|
this.hackShowOverlay = false;
|
|
45021
44785
|
this.hackToolHeader = false;
|
|
45022
|
-
/**
|
|
45023
|
-
* Controls whether the tab list showing the Settings items is scrollable or not
|
|
45024
|
-
* Default to true. Allowing separate scroll bar for the navbar and the selected Settings.
|
|
45025
|
-
* Set to false for backward compatibility and use previous behavior where there is
|
|
45026
|
-
* only 1 single scroll bar for both navbar and content of the selected Settings item.
|
|
45027
|
-
*/
|
|
45028
|
-
this.scrollableSecondaryNav = true;
|
|
45029
44786
|
this.autofocus = true;
|
|
45030
44787
|
this.combinedForm = new FormGroup({});
|
|
45031
|
-
this.searchTitle = this.strings.MsftSmeShell.Angular.searchPlaceHolder;
|
|
45032
44788
|
}
|
|
45033
44789
|
/**
|
|
45034
44790
|
* The source name to use for logging
|
|
@@ -45089,20 +44845,11 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45089
44845
|
this.autofocus = false;
|
|
45090
44846
|
}
|
|
45091
44847
|
}
|
|
45092
|
-
// Setting Title header is managed by child component this.settingsComponent,
|
|
45093
|
-
// after current view and child view has been rendered, pass along the selectedSetting
|
|
45094
|
-
// string if it exists so child view will render the title
|
|
45095
|
-
if (this.selectedSetting) {
|
|
45096
|
-
this.onSmeRouterLinkActivated(this.selectedSetting);
|
|
45097
|
-
}
|
|
45098
44848
|
}
|
|
45099
44849
|
createMenu() {
|
|
45100
|
-
// Before creating the Settings menu, filter the Settings menu to only display
|
|
45101
|
-
// items that matches the filter
|
|
45102
|
-
this.filteredSettings = this.filterSetting();
|
|
45103
44850
|
const groupTools = [];
|
|
45104
44851
|
groupTools['default'] = { group: 'default', options: [] };
|
|
45105
|
-
this.
|
|
44852
|
+
this.settings.forEach((setting) => {
|
|
45106
44853
|
if (!!!setting.group) {
|
|
45107
44854
|
groupTools['default'].options.push(setting);
|
|
45108
44855
|
}
|
|
@@ -45253,81 +45000,33 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45253
45000
|
}
|
|
45254
45001
|
return formControl.value;
|
|
45255
45002
|
}
|
|
45256
|
-
/**
|
|
45257
|
-
* Update this.selectedSetting to the newly selected Settings item when user navigate to a new Settings item
|
|
45258
|
-
* Also call the child component this.settingsComponent to update the settingsTitle to reflect the title
|
|
45259
|
-
* of the newly selected Settings item
|
|
45260
|
-
*
|
|
45261
|
-
* @param newSetting The newly selected Settings item
|
|
45262
|
-
*/
|
|
45263
|
-
onSmeRouterLinkActivated(newSetting) {
|
|
45264
|
-
this.selectedSetting = newSetting;
|
|
45265
|
-
if (this.settingsComponent) {
|
|
45266
|
-
this.settingsComponent.updateSelectedSettingTitle(newSetting.label);
|
|
45267
|
-
}
|
|
45268
|
-
}
|
|
45269
|
-
/**
|
|
45270
|
-
* Callback function for the search field
|
|
45271
|
-
*/
|
|
45272
|
-
onSearch() {
|
|
45273
|
-
this.searchTextBox.searching = true;
|
|
45274
|
-
setTimeout(() => {
|
|
45275
|
-
this.createMenu();
|
|
45276
|
-
this.searchTextBox.searching = false;
|
|
45277
|
-
});
|
|
45278
|
-
}
|
|
45279
|
-
/**
|
|
45280
|
-
* Filter out the settings Item based on this.filter string and match the title of Settings Items
|
|
45281
|
-
*/
|
|
45282
|
-
filterSetting() {
|
|
45283
|
-
const settings = this.settings;
|
|
45284
|
-
if (!this.filter) {
|
|
45285
|
-
return settings;
|
|
45286
|
-
}
|
|
45287
|
-
const localFilter = this.filter.toLocaleLowerCase();
|
|
45288
|
-
return settings.filter(setting => {
|
|
45289
|
-
if (setting.label.toLocaleLowerCase().indexOf(localFilter) > -1) {
|
|
45290
|
-
return true;
|
|
45291
|
-
}
|
|
45292
|
-
return false;
|
|
45293
|
-
});
|
|
45294
|
-
}
|
|
45295
45003
|
}
|
|
45296
45004
|
/** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(Router), ɵɵdirectiveInject(SettingsFormService), ɵɵdirectiveInject(IterableDiffers), ɵɵdirectiveInject(AppContextService), ɵɵdirectiveInject(RpcShellService)); };
|
|
45297
45005
|
/** @nocollapse */ CommonSettingsComponent.ɵcmp = ɵɵdefineComponent({ type: CommonSettingsComponent, selectors: [["sme-common-settings"]], viewQuery: function CommonSettingsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
45298
|
-
ɵɵviewQuery(_c0$1v, 1);
|
|
45299
45006
|
ɵɵviewQuery(SettingsComponent, 1);
|
|
45300
45007
|
} if (rf & 2) {
|
|
45301
45008
|
let _t;
|
|
45302
|
-
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.searchTextBox = _t.first);
|
|
45303
45009
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
|
|
45304
|
-
} }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute"
|
|
45010
|
+
} }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
45305
45011
|
ɵɵprojectionDef();
|
|
45306
45012
|
ɵɵelementStart(0, "sme-settings", 0);
|
|
45307
|
-
ɵɵelementStart(1, "sme-settings-navigation"
|
|
45308
|
-
ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header",
|
|
45309
|
-
ɵɵelementStart(3, "div",
|
|
45310
|
-
ɵɵelementStart(4, "
|
|
45311
|
-
ɵɵelementStart(5, "
|
|
45312
|
-
|
|
45313
|
-
ɵɵ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(); });
|
|
45314
|
-
ɵɵelementEnd();
|
|
45315
|
-
ɵɵelementEnd();
|
|
45316
|
-
ɵɵelementEnd();
|
|
45317
|
-
ɵɵelementStart(8, "nav", 8);
|
|
45318
|
-
ɵɵelementStart(9, "ul", 9);
|
|
45319
|
-
ɵɵtemplate(10, CommonSettingsComponent_li_10_Template, 3, 2, "li", 10);
|
|
45013
|
+
ɵɵelementStart(1, "sme-settings-navigation");
|
|
45014
|
+
ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header", 1);
|
|
45015
|
+
ɵɵelementStart(3, "div", 2);
|
|
45016
|
+
ɵɵelementStart(4, "nav", 3);
|
|
45017
|
+
ɵɵelementStart(5, "ul", 4);
|
|
45018
|
+
ɵɵtemplate(6, CommonSettingsComponent_li_6_Template, 3, 2, "li", 5);
|
|
45320
45019
|
ɵɵelementEnd();
|
|
45321
45020
|
ɵɵelementEnd();
|
|
45322
45021
|
ɵɵelementEnd();
|
|
45323
|
-
ɵɵtemplate(
|
|
45022
|
+
ɵɵtemplate(7, CommonSettingsComponent_div_7_Template, 2, 1, "div", 6);
|
|
45324
45023
|
ɵɵelementEnd();
|
|
45325
|
-
ɵɵtemplate(
|
|
45326
|
-
ɵɵelementStart(
|
|
45327
|
-
ɵɵelement(
|
|
45024
|
+
ɵɵtemplate(8, CommonSettingsComponent_sme_settings_header_8_Template, 2, 1, "sme-settings-header", 6);
|
|
45025
|
+
ɵɵelementStart(9, "sme-settings-content");
|
|
45026
|
+
ɵɵelement(10, "router-outlet");
|
|
45328
45027
|
ɵɵelementEnd();
|
|
45329
|
-
ɵɵelementStart(
|
|
45330
|
-
ɵɵprojection(
|
|
45028
|
+
ɵɵelementStart(11, "sme-settings-footer");
|
|
45029
|
+
ɵɵprojection(12);
|
|
45331
45030
|
ɵɵelementEnd();
|
|
45332
45031
|
ɵɵelementEnd();
|
|
45333
45032
|
} if (rf & 2) {
|
|
@@ -45337,10 +45036,6 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45337
45036
|
ɵɵadvance(1);
|
|
45338
45037
|
ɵɵattribute("aria-label", ctx.settingsTitle);
|
|
45339
45038
|
ɵɵadvance(3);
|
|
45340
|
-
ɵɵproperty("ngModel", ctx.filter)("placeholder", ctx.searchTitle)("autofocus", true)("count", ctx.filteredSettings ? ctx.filteredSettings.length : 0);
|
|
45341
|
-
ɵɵadvance(2);
|
|
45342
|
-
ɵɵproperty("ngClass", ctx.scrollableSecondaryNav ? "sme-position-flex-auto sme-arrange-overflow-auto-y" : "");
|
|
45343
|
-
ɵɵadvance(2);
|
|
45344
45039
|
ɵɵproperty("ngForOf", ctx.groupTools);
|
|
45345
45040
|
ɵɵadvance(1);
|
|
45346
45041
|
ɵɵproperty("ngIf", ctx.hackShowOverlay);
|
|
@@ -45353,10 +45048,7 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45353
45048
|
selector: 'sme-common-settings',
|
|
45354
45049
|
templateUrl: './common-settings.component.html'
|
|
45355
45050
|
}]
|
|
45356
|
-
}], function () { return [{ type: Injector }, { type: Router }, { type: SettingsFormService }, { type: IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, {
|
|
45357
|
-
type: ViewChild,
|
|
45358
|
-
args: ['searchTextBox']
|
|
45359
|
-
}], settingsTitle: [{
|
|
45051
|
+
}], function () { return [{ type: Injector }, { type: Router }, { type: SettingsFormService }, { type: IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, { settingsTitle: [{
|
|
45360
45052
|
type: Input
|
|
45361
45053
|
}], settings: [{
|
|
45362
45054
|
type: Input
|
|
@@ -45368,15 +45060,13 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45368
45060
|
type: Input
|
|
45369
45061
|
}], backRoute: [{
|
|
45370
45062
|
type: Input
|
|
45371
|
-
}], scrollableSecondaryNav: [{
|
|
45372
|
-
type: Input
|
|
45373
45063
|
}], settingsComponent: [{
|
|
45374
45064
|
type: ViewChild,
|
|
45375
45065
|
args: [SettingsComponent]
|
|
45376
45066
|
}] }); })();
|
|
45377
45067
|
|
|
45378
45068
|
const _c0$1w = [[["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
45379
|
-
const _c1$
|
|
45069
|
+
const _c1$P = ["sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
45380
45070
|
class SettingsPageComponent extends CoreBaseComponent {
|
|
45381
45071
|
constructor(injector) {
|
|
45382
45072
|
super(injector);
|
|
@@ -45397,7 +45087,7 @@ class SettingsPageComponent extends CoreBaseComponent {
|
|
|
45397
45087
|
}
|
|
45398
45088
|
}
|
|
45399
45089
|
/** @nocollapse */ SettingsPageComponent.ɵfac = function SettingsPageComponent_Factory(t) { return new (t || SettingsPageComponent)(ɵɵdirectiveInject(Injector)); };
|
|
45400
|
-
/** @nocollapse */ SettingsPageComponent.ɵcmp = ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], features: [ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$
|
|
45090
|
+
/** @nocollapse */ SettingsPageComponent.ɵcmp = ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], features: [ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$P, decls: 3, vars: 0, template: function SettingsPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45401
45091
|
ɵɵprojectionDef(_c0$1w);
|
|
45402
45092
|
ɵɵprojection(0);
|
|
45403
45093
|
ɵɵprojection(1, 1);
|
|
@@ -45631,9 +45321,7 @@ class SettingsModule {
|
|
|
45631
45321
|
CommonModule,
|
|
45632
45322
|
HeaderModule,
|
|
45633
45323
|
LayoutModule,
|
|
45634
|
-
TooltipModule
|
|
45635
|
-
FormsModule,
|
|
45636
|
-
SmeFormsModule
|
|
45324
|
+
TooltipModule
|
|
45637
45325
|
]] });
|
|
45638
45326
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(SettingsModule, { declarations: [SettingsComponent,
|
|
45639
45327
|
SettingsFormDirective,
|
|
@@ -45647,9 +45335,7 @@ class SettingsModule {
|
|
|
45647
45335
|
CommonModule,
|
|
45648
45336
|
HeaderModule,
|
|
45649
45337
|
LayoutModule,
|
|
45650
|
-
TooltipModule,
|
|
45651
|
-
FormsModule,
|
|
45652
|
-
SmeFormsModule], exports: [SettingsComponent,
|
|
45338
|
+
TooltipModule], exports: [SettingsComponent,
|
|
45653
45339
|
SettingsFormDirective,
|
|
45654
45340
|
SettingsFooterComponent,
|
|
45655
45341
|
SettingsHeaderComponent,
|
|
@@ -45666,9 +45352,7 @@ class SettingsModule {
|
|
|
45666
45352
|
CommonModule,
|
|
45667
45353
|
HeaderModule,
|
|
45668
45354
|
LayoutModule,
|
|
45669
|
-
TooltipModule
|
|
45670
|
-
FormsModule,
|
|
45671
|
-
SmeFormsModule
|
|
45355
|
+
TooltipModule
|
|
45672
45356
|
],
|
|
45673
45357
|
exports: [
|
|
45674
45358
|
SettingsComponent,
|
|
@@ -45697,7 +45381,7 @@ class SettingsModule {
|
|
|
45697
45381
|
}]
|
|
45698
45382
|
}], null, null); })();
|
|
45699
45383
|
ɵɵsetComponentScope(CommonSettingsComponent, [SettingsComponent,
|
|
45700
|
-
SettingsNavigationComponent, NgIf,
|
|
45384
|
+
SettingsNavigationComponent, NgIf, NgForOf, TooltipDirective, RouterLinkWithHref, RouterLinkActive, SmeRouterLinkDirective, NgClass, SettingsHeaderComponent,
|
|
45701
45385
|
SettingsContentComponent, RouterOutlet, SettingsFooterComponent], []);
|
|
45702
45386
|
|
|
45703
45387
|
// tslint:disable-next-line: directive-class-suffix
|
|
@@ -46597,29 +46281,34 @@ function WizardComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
46597
46281
|
ɵɵadvance(1);
|
|
46598
46282
|
ɵɵproperty("ngIf", ctx_r0.isInPreview);
|
|
46599
46283
|
} }
|
|
46600
|
-
const _c0$1E = function (a0, a1, a2) { return { "sme-wizard-stage-completed": a0, "sme-wizard-stage-clicked": a1, "sme-wizard-stage-active": a2 }; };
|
|
46601
|
-
const _c1$
|
|
46284
|
+
const _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 }; };
|
|
46285
|
+
const _c1$Q = function (a0) { return { "sme-icon sme-icon-accept sme-icon-size-xxs": a0 }; };
|
|
46602
46286
|
const _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 }; };
|
|
46603
|
-
function
|
|
46287
|
+
function WizardComponent_ul_2_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
46604
46288
|
const _r11 = ɵɵgetCurrentView();
|
|
46605
|
-
ɵɵelementStart(0, "
|
|
46606
|
-
ɵɵlistener("click", function
|
|
46607
|
-
ɵɵelementStart(1, "
|
|
46608
|
-
|
|
46289
|
+
ɵɵelementStart(0, "li", 16);
|
|
46290
|
+
ɵɵlistener("click", function WizardComponent_ul_2_li_1_Template_li_click_0_listener() { ɵɵrestoreView(_r11); const val_r9 = ctx.index; const ctx_r10 = ɵɵnextContext(2); return ctx_r10.onStageClick(val_r9); });
|
|
46291
|
+
ɵɵelementStart(1, "button", 17);
|
|
46292
|
+
ɵɵelementStart(2, "span", 18);
|
|
46293
|
+
ɵɵtext(3);
|
|
46294
|
+
ɵɵelementEnd();
|
|
46295
|
+
ɵɵelementStart(4, "span", 19);
|
|
46296
|
+
ɵɵtext(5);
|
|
46609
46297
|
ɵɵelementEnd();
|
|
46610
|
-
ɵɵelementStart(3, "span", 18);
|
|
46611
|
-
ɵɵtext(4);
|
|
46612
46298
|
ɵɵelementEnd();
|
|
46613
46299
|
ɵɵelementEnd();
|
|
46614
46300
|
} if (rf & 2) {
|
|
46615
46301
|
const stage_r8 = ctx.$implicit;
|
|
46616
46302
|
const val_r9 = ctx.index;
|
|
46617
46303
|
const ctx_r7 = ɵɵnextContext(2);
|
|
46618
|
-
|
|
46619
|
-
|
|
46304
|
+
ɵɵproperty("ngClass", ɵɵpureFunction4(17, _c0$1E, stage_r8.completed, val_r9 === ctx_r7.stagesArrayIndex, stage_r8.active, val_r9 !== ctx_r7.stagesArrayIndex));
|
|
46305
|
+
ɵɵattribute("aria-selected", val_r9 === ctx_r7.stagesArrayIndex);
|
|
46306
|
+
ɵɵadvance(1);
|
|
46307
|
+
ɵɵclassProp("sme-active", val_r9 === ctx_r7.stagesArrayIndex)("sme-selected", val_r9 === ctx_r7.stagesArrayIndex)("sme-wizard-stage-focus", val_r9 === ctx_r7.stagesArrayIndex);
|
|
46308
|
+
ɵɵ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));
|
|
46620
46309
|
ɵɵattribute("aria-label", stage_r8.name);
|
|
46621
46310
|
ɵɵadvance(1);
|
|
46622
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(22, _c1$
|
|
46311
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(22, _c1$Q, stage_r8.completed));
|
|
46623
46312
|
ɵɵadvance(1);
|
|
46624
46313
|
ɵɵtextInterpolate1(" ", !stage_r8.completed ? val_r9 + 1 : "", " ");
|
|
46625
46314
|
ɵɵadvance(1);
|
|
@@ -46627,17 +46316,17 @@ function WizardComponent_div_2_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
46627
46316
|
ɵɵadvance(1);
|
|
46628
46317
|
ɵɵtextInterpolate1(" ", stage_r8.name, " ");
|
|
46629
46318
|
} }
|
|
46630
|
-
function
|
|
46631
|
-
ɵɵelementStart(0, "
|
|
46632
|
-
ɵɵtemplate(1,
|
|
46319
|
+
function WizardComponent_ul_2_Template(rf, ctx) { if (rf & 1) {
|
|
46320
|
+
ɵɵelementStart(0, "ul", 14);
|
|
46321
|
+
ɵɵtemplate(1, WizardComponent_ul_2_li_1_Template, 6, 28, "li", 15);
|
|
46633
46322
|
ɵɵelementEnd();
|
|
46634
46323
|
} if (rf & 2) {
|
|
46635
46324
|
const ctx_r1 = ɵɵnextContext();
|
|
46636
46325
|
ɵɵadvance(1);
|
|
46637
46326
|
ɵɵproperty("ngForOf", ctx_r1.stages);
|
|
46638
46327
|
} }
|
|
46639
|
-
function
|
|
46640
|
-
ɵɵelementStart(0, "span",
|
|
46328
|
+
function WizardComponent_div_4_ul_1_li_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
46329
|
+
ɵɵelementStart(0, "span", 31);
|
|
46641
46330
|
ɵɵtext(1);
|
|
46642
46331
|
ɵɵelementEnd();
|
|
46643
46332
|
} if (rf & 2) {
|
|
@@ -46645,47 +46334,52 @@ function WizardComponent_div_4_div_1_button_1_span_3_Template(rf, ctx) { if (rf
|
|
|
46645
46334
|
ɵɵadvance(1);
|
|
46646
46335
|
ɵɵtextInterpolate(step_r14.name);
|
|
46647
46336
|
} }
|
|
46648
|
-
const _c3$c = function (a0) { return { "sme-
|
|
46649
|
-
function
|
|
46337
|
+
const _c3$c = function (a0) { return { "sme-scheme-nav-list-item sme-active sme-color-base-5": a0 }; };
|
|
46338
|
+
const _c4$8 = function (a0) { return { "sme-step-active": a0 }; };
|
|
46339
|
+
function WizardComponent_div_4_ul_1_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
46650
46340
|
const _r19 = ɵɵgetCurrentView();
|
|
46651
|
-
ɵɵelementStart(0, "
|
|
46652
|
-
ɵɵlistener("click", function
|
|
46653
|
-
ɵɵelementStart(1, "
|
|
46654
|
-
|
|
46341
|
+
ɵɵelementStart(0, "li", 27);
|
|
46342
|
+
ɵɵlistener("click", function WizardComponent_div_4_ul_1_li_1_Template_li_click_0_listener() { ɵɵrestoreView(_r19); const index_r15 = ctx.index; const ctx_r18 = ɵɵnextContext(3); return ctx_r18.onStepClick(index_r15); });
|
|
46343
|
+
ɵɵelementStart(1, "button", 28);
|
|
46344
|
+
ɵɵelementStart(2, "span", 29);
|
|
46345
|
+
ɵɵtext(3);
|
|
46346
|
+
ɵɵelementEnd();
|
|
46347
|
+
ɵɵtemplate(4, WizardComponent_div_4_ul_1_li_1_span_4_Template, 2, 1, "span", 30);
|
|
46655
46348
|
ɵɵelementEnd();
|
|
46656
|
-
ɵɵtemplate(3, WizardComponent_div_4_div_1_button_1_span_3_Template, 2, 1, "span", 28);
|
|
46657
46349
|
ɵɵelementEnd();
|
|
46658
46350
|
} if (rf & 2) {
|
|
46659
46351
|
const step_r14 = ctx.$implicit;
|
|
46660
46352
|
const index_r15 = ctx.index;
|
|
46661
46353
|
const ctx_r13 = ɵɵnextContext(3);
|
|
46662
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(
|
|
46663
|
-
ɵɵattribute("aria-label", ctx_r13.isExpanded ? null : step_r14.name);
|
|
46354
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(12, _c3$c, index_r15 === ctx_r13.stepIndex))("title", ctx_r13.isExpanded ? null : step_r14.name);
|
|
46355
|
+
ɵɵattribute("aria-selected", index_r15 === ctx_r13.stepIndex)("aria-label", ctx_r13.isExpanded ? null : step_r14.name);
|
|
46356
|
+
ɵɵadvance(1);
|
|
46357
|
+
ɵɵproperty("ngClass", ɵɵ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));
|
|
46664
46358
|
ɵɵadvance(2);
|
|
46665
46359
|
ɵɵtextInterpolate2("", ctx_r13.stagesArrayIndex + 1, ".", index_r15 + 1, "");
|
|
46666
46360
|
ɵɵadvance(1);
|
|
46667
46361
|
ɵɵproperty("ngIf", ctx_r13.isExpanded);
|
|
46668
46362
|
} }
|
|
46669
|
-
const
|
|
46670
|
-
function
|
|
46671
|
-
ɵɵelementStart(0, "
|
|
46672
|
-
ɵɵtemplate(1,
|
|
46363
|
+
const _c5$4 = function (a0) { return { "sme-layout-minwidth-sm": a0 }; };
|
|
46364
|
+
function WizardComponent_div_4_ul_1_Template(rf, ctx) { if (rf & 1) {
|
|
46365
|
+
ɵɵelementStart(0, "ul", 25);
|
|
46366
|
+
ɵɵtemplate(1, WizardComponent_div_4_ul_1_li_1_Template, 5, 16, "li", 26);
|
|
46673
46367
|
ɵɵelementEnd();
|
|
46674
46368
|
} if (rf & 2) {
|
|
46675
46369
|
const ctx_r12 = ɵɵnextContext(2);
|
|
46676
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(2,
|
|
46370
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(2, _c5$4, ctx_r12.isExpanded));
|
|
46677
46371
|
ɵɵadvance(1);
|
|
46678
46372
|
ɵɵproperty("ngForOf", ctx_r12.getStepsForStage());
|
|
46679
46373
|
} }
|
|
46680
|
-
const
|
|
46374
|
+
const _c6$3 = function (a0, a1) { return { "sme-icon-chevronLeft": a0, "sme-icon-chevronRight": a1 }; };
|
|
46681
46375
|
function WizardComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
46682
46376
|
const _r21 = ɵɵgetCurrentView();
|
|
46683
|
-
ɵɵelementStart(0, "div",
|
|
46684
|
-
ɵɵtemplate(1,
|
|
46685
|
-
ɵɵelementStart(2, "div",
|
|
46686
|
-
ɵɵelementStart(3, "button",
|
|
46377
|
+
ɵɵelementStart(0, "div", 20);
|
|
46378
|
+
ɵɵtemplate(1, WizardComponent_div_4_ul_1_Template, 2, 4, "ul", 21);
|
|
46379
|
+
ɵɵelementStart(2, "div", 22);
|
|
46380
|
+
ɵɵelementStart(3, "button", 23);
|
|
46687
46381
|
ɵɵlistener("click", function WizardComponent_div_4_Template_button_click_3_listener() { ɵɵrestoreView(_r21); const ctx_r20 = ɵɵnextContext(); return ctx_r20.togglePane(); });
|
|
46688
|
-
ɵɵelement(4, "span",
|
|
46382
|
+
ɵɵelement(4, "span", 24);
|
|
46689
46383
|
ɵɵelementEnd();
|
|
46690
46384
|
ɵɵelementEnd();
|
|
46691
46385
|
ɵɵelementEnd();
|
|
@@ -46697,11 +46391,11 @@ function WizardComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
46697
46391
|
ɵɵproperty("title", ctx_r2.isExpanded ? ctx_r2.strings.MsftSmeShell.Angular.Wizard.collapseStepsList : ctx_r2.strings.MsftSmeShell.Angular.Wizard.expandStepsList);
|
|
46698
46392
|
ɵɵ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);
|
|
46699
46393
|
ɵɵadvance(1);
|
|
46700
|
-
ɵɵproperty("ngClass", ɵɵpureFunction2(5,
|
|
46394
|
+
ɵɵproperty("ngClass", ɵɵpureFunction2(5, _c6$3, ctx_r2.isExpanded, !ctx_r2.isExpanded));
|
|
46701
46395
|
} }
|
|
46702
46396
|
function WizardComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
46703
46397
|
ɵɵelementStart(0, "div");
|
|
46704
|
-
ɵɵelement(1, "sme-page-alert-bar",
|
|
46398
|
+
ɵɵelement(1, "sme-page-alert-bar", 32);
|
|
46705
46399
|
ɵɵelementEnd();
|
|
46706
46400
|
} if (rf & 2) {
|
|
46707
46401
|
const ctx_r3 = ɵɵnextContext();
|
|
@@ -46709,29 +46403,29 @@ function WizardComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
46709
46403
|
ɵɵproperty("alert", ctx_r3.alert);
|
|
46710
46404
|
} }
|
|
46711
46405
|
function WizardComponent_div_9_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
46712
|
-
ɵɵelementStart(0, "div",
|
|
46713
|
-
ɵɵelement(1, "sme-loading-wheel",
|
|
46406
|
+
ɵɵelementStart(0, "div", 40);
|
|
46407
|
+
ɵɵelement(1, "sme-loading-wheel", 41);
|
|
46714
46408
|
ɵɵelementEnd();
|
|
46715
46409
|
} }
|
|
46716
46410
|
function WizardComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
46717
46411
|
const _r24 = ɵɵgetCurrentView();
|
|
46718
|
-
ɵɵelementStart(0, "div",
|
|
46719
|
-
ɵɵelementStart(1, "div",
|
|
46720
|
-
ɵɵelementStart(2, "button",
|
|
46412
|
+
ɵɵelementStart(0, "div", 33);
|
|
46413
|
+
ɵɵelementStart(1, "div", 34);
|
|
46414
|
+
ɵɵelementStart(2, "button", 35);
|
|
46721
46415
|
ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_2_listener() { ɵɵrestoreView(_r24); const ctx_r23 = ɵɵnextContext(); return ctx_r23.onBackClick(); });
|
|
46722
46416
|
ɵɵtext(3);
|
|
46723
46417
|
ɵɵelementEnd();
|
|
46724
|
-
ɵɵelementStart(4, "button",
|
|
46418
|
+
ɵɵelementStart(4, "button", 36);
|
|
46725
46419
|
ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_4_listener() { ɵɵrestoreView(_r24); const ctx_r25 = ɵɵnextContext(); return ctx_r25.onNextClick(); });
|
|
46726
46420
|
ɵɵtext(5);
|
|
46727
46421
|
ɵɵelementEnd();
|
|
46728
|
-
ɵɵtemplate(6, WizardComponent_div_9_div_6_Template, 2, 0, "div",
|
|
46422
|
+
ɵɵtemplate(6, WizardComponent_div_9_div_6_Template, 2, 0, "div", 37);
|
|
46729
46423
|
ɵɵelementEnd();
|
|
46730
|
-
ɵɵelementStart(7, "button",
|
|
46424
|
+
ɵɵelementStart(7, "button", 38);
|
|
46731
46425
|
ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_7_listener() { ɵɵrestoreView(_r24); const ctx_r26 = ɵɵnextContext(); return ctx_r26.onSkipClick(); });
|
|
46732
46426
|
ɵɵtext(8);
|
|
46733
46427
|
ɵɵelementEnd();
|
|
46734
|
-
ɵɵelementStart(9, "button",
|
|
46428
|
+
ɵɵelementStart(9, "button", 39);
|
|
46735
46429
|
ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_9_listener() { ɵɵrestoreView(_r24); const ctx_r27 = ɵɵnextContext(); return ctx_r27.onExitClick(); });
|
|
46736
46430
|
ɵɵtext(10);
|
|
46737
46431
|
ɵɵelementEnd();
|
|
@@ -46761,7 +46455,7 @@ function WizardComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
46761
46455
|
ɵɵadvance(1);
|
|
46762
46456
|
ɵɵtextInterpolate(ctx_r5.exitButtonText());
|
|
46763
46457
|
} }
|
|
46764
|
-
const
|
|
46458
|
+
const _c7$2 = function (a0) { return { "sme-padding-inset-lg": a0 }; };
|
|
46765
46459
|
/**
|
|
46766
46460
|
* Whatever state the wizard is in
|
|
46767
46461
|
*/
|
|
@@ -47438,10 +47132,10 @@ class WizardComponent extends DynamicComponentBase {
|
|
|
47438
47132
|
}
|
|
47439
47133
|
}
|
|
47440
47134
|
/** @nocollapse */ WizardComponent.ɵfac = function WizardComponent_Factory(t) { return new (t || WizardComponent)(ɵɵdirectiveInject(AppContextService), ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(ComponentFactoryResolver)); };
|
|
47441
|
-
/** @nocollapse */ WizardComponent.ɵcmp = ɵɵ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: [ɵɵ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"], ["
|
|
47135
|
+
/** @nocollapse */ WizardComponent.ɵcmp = ɵɵ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: [ɵɵ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) { if (rf & 1) {
|
|
47442
47136
|
ɵɵelementStart(0, "div", 0);
|
|
47443
47137
|
ɵɵtemplate(1, WizardComponent_div_1_Template, 4, 3, "div", 1);
|
|
47444
|
-
ɵɵtemplate(2,
|
|
47138
|
+
ɵɵtemplate(2, WizardComponent_ul_2_Template, 2, 1, "ul", 2);
|
|
47445
47139
|
ɵɵelementStart(3, "div", 3);
|
|
47446
47140
|
ɵɵtemplate(4, WizardComponent_div_4_Template, 5, 8, "div", 4);
|
|
47447
47141
|
ɵɵelementStart(5, "div", 5);
|
|
@@ -47459,12 +47153,12 @@ class WizardComponent extends DynamicComponentBase {
|
|
|
47459
47153
|
ɵɵadvance(2);
|
|
47460
47154
|
ɵɵproperty("ngIf", !ctx.wizardIsFinished && !ctx.hideStepsListSidePane);
|
|
47461
47155
|
ɵɵadvance(1);
|
|
47462
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(6,
|
|
47156
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(6, _c7$2, ctx.currentStepComponent.padContents));
|
|
47463
47157
|
ɵɵadvance(1);
|
|
47464
47158
|
ɵɵproperty("ngIf", ctx.currentStepComponent.disabled);
|
|
47465
47159
|
ɵɵadvance(3);
|
|
47466
47160
|
ɵɵproperty("ngIf", !ctx.wizardIsFinished);
|
|
47467
|
-
} }, directives: [NgIf, NgClass, PreviewBadgeComponent, NgForOf,
|
|
47161
|
+
} }, directives: [TelemetryDirective, NgIf, NgClass, PreviewBadgeComponent, NgForOf, TooltipDirective, PageAlertBarComponent, LoadingWheelComponent], encapsulation: 2 });
|
|
47468
47162
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(WizardComponent, [{
|
|
47469
47163
|
type: Component,
|
|
47470
47164
|
args: [{
|