@microsoft/windows-admin-center-sdk 2.298.1 → 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
|
@@ -1271,13 +1271,6 @@
|
|
|
1271
1271
|
BaseComponent.prototype.getInitialHostClasses = function () {
|
|
1272
1272
|
return [];
|
|
1273
1273
|
};
|
|
1274
|
-
/**
|
|
1275
|
-
* Shortcut to get an attribute on the host element
|
|
1276
|
-
* @param name The name of the attribute
|
|
1277
|
-
*/
|
|
1278
|
-
BaseComponent.prototype.getAttribute = function (name) {
|
|
1279
|
-
return this.hostElement.nativeElement.getAttribute(name);
|
|
1280
|
-
};
|
|
1281
1274
|
/**
|
|
1282
1275
|
* Shortcut to set an attribute on the host element
|
|
1283
1276
|
* @param name The name of the attribute
|
|
@@ -3242,9 +3235,7 @@
|
|
|
3242
3235
|
this.azureManagerService.initialize();
|
|
3243
3236
|
smeWebTelemetry.SmeWebTelemetry.init(this).subscribe(function (loaded) {
|
|
3244
3237
|
logging.Logging.logDebug('SmeWebTelemetry', loaded ? 'Loaded browser telemetry' : 'Failed to load browser telemetry');
|
|
3245
|
-
performanceTracker.PerformanceTracker.tryStartCalculatingTimeToInteractive();
|
|
3246
3238
|
});
|
|
3247
|
-
performanceTracker.PerformanceTracker.initializeLighthouseMetricsTrackers();
|
|
3248
3239
|
};
|
|
3249
3240
|
/**
|
|
3250
3241
|
* Destroy the app context resource from ngDestroy call in AppComponent.
|
|
@@ -7644,10 +7635,6 @@
|
|
|
7644
7635
|
else {
|
|
7645
7636
|
this.dropDown.onToggled.pipe(operators.take(1)).subscribe(function (open) {
|
|
7646
7637
|
if (open) {
|
|
7647
|
-
// blur/focus to refresh focus - this will make the tooltip disappear
|
|
7648
|
-
// while menu is open (b/c tooltip will block view)
|
|
7649
|
-
_this.dropDownButtonElement.nativeElement.blur();
|
|
7650
|
-
_this.dropDownButtonElement.nativeElement.focus();
|
|
7651
7638
|
_this.moreButtonElement = document.activeElement;
|
|
7652
7639
|
}
|
|
7653
7640
|
});
|
|
@@ -7870,7 +7857,7 @@
|
|
|
7870
7857
|
if (rf & 1) {
|
|
7871
7858
|
i0.ɵɵlistener("focusin", function ActionBarComponent_focusin_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("focusout", function ActionBarComponent_focusout_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("keydown", function ActionBarComponent_keydown_HostBindingHandler($event) { return ctx.onToggleKeydown($event); })("mouseenter", function ActionBarComponent_mouseenter_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("mouseleave", function ActionBarComponent_mouseleave_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("resize", function ActionBarComponent_resize_HostBindingHandler() { return ctx.onResize(); }, false, i0.ɵɵresolveWindow);
|
|
7872
7859
|
}
|
|
7873
|
-
}, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars:
|
|
7860
|
+
}, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars: 14, consts: [["role", "menubar", 1, "sme-position-flex-none", "sme-arrange-stack-h"], ["actionBarElement", ""], ["class", "sme-arrange-stack-h sme-arrange-stack-centered sme-arrange-stack-inline", 3, "item", "sme-action-bar-item-no-padding-v", "itemChanged", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-position-flex-none"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", "data-uta-id", "action-bar-more", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-more", 3, "title"], [1, "sme-screen-reader"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions", "target", "targetChange", "error", "executed"], [1, "sme-arrange-stack-h", "sme-arrange-stack-centered", "sme-arrange-stack-inline", 3, "item", "itemChanged"]], template: function ActionBarComponent_Template(rf, ctx) {
|
|
7874
7861
|
if (rf & 1) {
|
|
7875
7862
|
i0.ɵɵprojectionDef();
|
|
7876
7863
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
@@ -7896,7 +7883,6 @@
|
|
|
7896
7883
|
i0.ɵɵproperty("ngForOf", ctx.hiddenFilter(ctx.displayedActions));
|
|
7897
7884
|
i0.ɵɵadvance(1);
|
|
7898
7885
|
i0.ɵɵclassProp("sme-layout-hidden", !ctx.compact && ctx.trayActions.length === 0)("sme-layout-none", ctx.compact && ctx.trayActions.length === 0);
|
|
7899
|
-
i0.ɵɵproperty("title", ctx.moreActionsDisplay)("smeTooltipShow", !_r2.isOpen);
|
|
7900
7886
|
i0.ɵɵadvance(2);
|
|
7901
7887
|
i0.ɵɵclassProp("sme-toggled", _r2.isOpen);
|
|
7902
7888
|
i0.ɵɵattribute("aria-label", ctx.moreActionsDisplay)("aria-expanded", _r2.isOpen);
|
|
@@ -9732,16 +9718,11 @@
|
|
|
9732
9718
|
var LayoutDefinitionComponent = /** @class */ (function () {
|
|
9733
9719
|
function LayoutDefinitionComponent() {
|
|
9734
9720
|
this.until = Number.MAX_VALUE;
|
|
9735
|
-
/**
|
|
9736
|
-
* Setting addBottomPadding to True will add bottom padding to all layout-items,
|
|
9737
|
-
* otherwise does NOT add bottom padding to any layout-items.
|
|
9738
|
-
*/
|
|
9739
|
-
this.addBottomPadding = true;
|
|
9740
9721
|
}
|
|
9741
9722
|
return LayoutDefinitionComponent;
|
|
9742
9723
|
}());
|
|
9743
9724
|
/** @nocollapse */ LayoutDefinitionComponent.ɵfac = function LayoutDefinitionComponent_Factory(t) { return new (t || LayoutDefinitionComponent)(); };
|
|
9744
|
-
/** @nocollapse */ LayoutDefinitionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LayoutDefinitionComponent, selectors: [["sme-layout-definition"]], inputs: { until: "until", columns: "columns", name: "name"
|
|
9725
|
+
/** @nocollapse */ LayoutDefinitionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LayoutDefinitionComponent, selectors: [["sme-layout-definition"]], inputs: { until: "until", columns: "columns", name: "name" }, decls: 0, vars: 0, template: function LayoutDefinitionComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
9745
9726
|
(function () {
|
|
9746
9727
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayoutDefinitionComponent, [{
|
|
9747
9728
|
type: i0.Component,
|
|
@@ -9755,8 +9736,6 @@
|
|
|
9755
9736
|
type: i0.Input
|
|
9756
9737
|
}], name: [{
|
|
9757
9738
|
type: i0.Input
|
|
9758
|
-
}], addBottomPadding: [{
|
|
9759
|
-
type: i0.Input
|
|
9760
9739
|
}] });
|
|
9761
9740
|
})();
|
|
9762
9741
|
|
|
@@ -9965,16 +9944,7 @@
|
|
|
9965
9944
|
layoutItems[i].paddingRight = _this.itemHorizontalSpace + 'px';
|
|
9966
9945
|
}
|
|
9967
9946
|
}
|
|
9968
|
-
|
|
9969
|
-
layoutItems[i].paddingBottom = _this.itemVerticalSpace + 'px';
|
|
9970
|
-
}
|
|
9971
|
-
else {
|
|
9972
|
-
// If bottom padding already exists and currentLayoutDefinition.addBottomPadding is False
|
|
9973
|
-
// Remove the bottom padding.
|
|
9974
|
-
if (layoutItems[i].paddingBottom === _this.itemVerticalSpace + 'px') {
|
|
9975
|
-
layoutItems[i].paddingBottom = 0 + 'px';
|
|
9976
|
-
}
|
|
9977
|
-
}
|
|
9947
|
+
layoutItems[i].paddingBottom = _this.itemVerticalSpace + 'px';
|
|
9978
9948
|
layoutItems[i].width = percentage + '%';
|
|
9979
9949
|
layoutItems[i].ready();
|
|
9980
9950
|
}
|
|
@@ -11889,14 +11859,7 @@
|
|
|
11889
11859
|
* The ID is based on the form field name that's set on the ngModel.
|
|
11890
11860
|
*/
|
|
11891
11861
|
get: function () {
|
|
11892
|
-
|
|
11893
|
-
var formFieldNameAttribute = this.getAttribute('formcontrolname') || this.getAttribute('name');
|
|
11894
|
-
// Then, if no HTML attribute is set, try to get the name from the ngModel
|
|
11895
|
-
var formFieldName = formFieldNameAttribute || this.ngModel && this.ngModel.name && this.ngModel.name.toString();
|
|
11896
|
-
// If none of these are set, then look for the utaId input
|
|
11897
|
-
var formFieldId = formFieldName || this.utaId;
|
|
11898
|
-
// Finally, only set the data-uta-id attribute if neither name nor formcontrolname are set on the HTML already
|
|
11899
|
-
return MsftSme.isNullOrUndefined(formFieldNameAttribute) ? formFieldId : undefined;
|
|
11862
|
+
return this.utaId ? this.utaId : this.ngModel && this.ngModel.name && this.ngModel.name.toString();
|
|
11900
11863
|
},
|
|
11901
11864
|
enumerable: false,
|
|
11902
11865
|
configurable: true
|
|
@@ -14347,8 +14310,8 @@
|
|
|
14347
14310
|
}
|
|
14348
14311
|
function ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template(rf, ctx) {
|
|
14349
14312
|
if (rf & 1) {
|
|
14350
|
-
i0.ɵɵelementStart(0, "fieldset",
|
|
14351
|
-
i0.ɵɵelement(1, "sme-option-template-loader",
|
|
14313
|
+
i0.ɵɵelementStart(0, "fieldset", 12);
|
|
14314
|
+
i0.ɵɵelement(1, "sme-option-template-loader", 13);
|
|
14352
14315
|
i0.ɵɵelementEnd();
|
|
14353
14316
|
}
|
|
14354
14317
|
if (rf & 2) {
|
|
@@ -14367,7 +14330,7 @@
|
|
|
14367
14330
|
i0.ɵɵelementContainerStart(0);
|
|
14368
14331
|
i0.ɵɵelementStart(1, "div", 10);
|
|
14369
14332
|
i0.ɵɵelementStart(2, "label");
|
|
14370
|
-
i0.ɵɵelementStart(3, "input",
|
|
14333
|
+
i0.ɵɵelementStart(3, "input", 7);
|
|
14371
14334
|
i0.ɵɵlistener("keydown", function ChecklistFormFieldComponent_div_1_ng_container_2_Template_input_keydown_3_listener($event) { i0.ɵɵrestoreView(_r11_1); var i_r7 = ctx.index; var ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.onCheckboxKeydown($event, i_r7); })("change", function ChecklistFormFieldComponent_div_1_ng_container_2_Template_input_change_3_listener() { i0.ɵɵrestoreView(_r11_1); var option_r6 = ctx.$implicit; var ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.toggleOption(option_r6, !option_r6.isSelected); });
|
|
14372
14335
|
i0.ɵɵelementEnd();
|
|
14373
14336
|
i0.ɵɵelementStart(4, "span", 8);
|
|
@@ -14378,7 +14341,7 @@
|
|
|
14378
14341
|
i0.ɵɵtext(7);
|
|
14379
14342
|
i0.ɵɵelementEnd();
|
|
14380
14343
|
i0.ɵɵelementEnd();
|
|
14381
|
-
i0.ɵɵtemplate(8, ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template, 2, 4, "fieldset",
|
|
14344
|
+
i0.ɵɵtemplate(8, ChecklistFormFieldComponent_div_1_ng_container_2_fieldset_8_Template, 2, 4, "fieldset", 11);
|
|
14382
14345
|
i0.ɵɵelementContainerEnd();
|
|
14383
14346
|
}
|
|
14384
14347
|
if (rf & 2) {
|
|
@@ -14387,7 +14350,7 @@
|
|
|
14387
14350
|
var ctx_r2 = i0.ɵɵnextContext(2);
|
|
14388
14351
|
i0.ɵɵadvance(3);
|
|
14389
14352
|
i0.ɵɵproperty("id", ctx_r2.idBag.checkbox + i_r7)("checked", option_r6.isSelected)("disabled", ctx_r2.loadingOrDisabled || option_r6.disabled);
|
|
14390
|
-
i0.ɵɵattribute("aria-label", option_r6.toString())("aria-describedby", ctx_r2.idBag.checkboxDescription + i_r7)("aria-checked", option_r6.isSelected)("aria-required", ctx_r2.required)
|
|
14353
|
+
i0.ɵɵattribute("aria-label", option_r6.toString())("aria-describedby", ctx_r2.idBag.checkboxDescription + i_r7)("aria-checked", option_r6.isSelected)("aria-required", ctx_r2.required);
|
|
14391
14354
|
i0.ɵɵadvance(2);
|
|
14392
14355
|
i0.ɵɵtextInterpolate(option_r6.toString());
|
|
14393
14356
|
i0.ɵɵadvance(1);
|
|
@@ -14402,7 +14365,7 @@
|
|
|
14402
14365
|
if (rf & 1) {
|
|
14403
14366
|
i0.ɵɵelementStart(0, "div", 3);
|
|
14404
14367
|
i0.ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7, 10, "div", 4);
|
|
14405
|
-
i0.ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9,
|
|
14368
|
+
i0.ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9, 11, "ng-container", 5);
|
|
14406
14369
|
i0.ɵɵelementEnd();
|
|
14407
14370
|
}
|
|
14408
14371
|
if (rf & 2) {
|
|
@@ -14695,9 +14658,6 @@
|
|
|
14695
14658
|
detailsSpan: ''
|
|
14696
14659
|
};
|
|
14697
14660
|
};
|
|
14698
|
-
ChecklistFormFieldComponent.prototype.formatDataUtaId = function (option) {
|
|
14699
|
-
return option.toLowerCase().replaceAll(' ', '-');
|
|
14700
|
-
};
|
|
14701
14661
|
ChecklistFormFieldComponent.prototype.getCheckboxCount = function (index) {
|
|
14702
14662
|
var total = this.options.length;
|
|
14703
14663
|
var currentIndex = MsftSme.isNullOrUndefined(index) ? 0 : index + 1;
|
|
@@ -14731,7 +14691,7 @@
|
|
|
14731
14691
|
if (rf & 2) {
|
|
14732
14692
|
i0.ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
14733
14693
|
}
|
|
14734
|
-
}, inputs: { shouldUseOwnOptionsList: "shouldUseOwnOptionsList" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$l, decls: 3, vars: 3, consts: [[1, "sme-focus-zone", 3, "formField"], ["role", "group", "class", "sme-form-field-editor sme-form-field-width", 4, "ngIf"], [3, "alert"], ["role", "group", 1, "sme-form-field-editor", "sme-form-field-width"], ["class", "sme-checkbox sme-checkbox-header", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "sme-checkbox", "sme-checkbox-header"], ["type", "checkbox",
|
|
14694
|
+
}, inputs: { shouldUseOwnOptionsList: "shouldUseOwnOptionsList" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$l, decls: 3, vars: 3, consts: [[1, "sme-focus-zone", 3, "formField"], ["role", "group", "class", "sme-form-field-editor sme-form-field-width", 4, "ngIf"], [3, "alert"], ["role", "group", 1, "sme-form-field-editor", "sme-form-field-width"], ["class", "sme-checkbox sme-checkbox-header", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "sme-checkbox", "sme-checkbox-header"], ["type", "checkbox", 3, "id", "checked", "disabled", "keydown", "change"], ["aria-hidden", "true"], [1, "sme-screen-reader", 3, "id"], [1, "sme-checkbox", "sme-margin-bottom-xxs"], ["class", "sme-focus-zone", 3, "disabled", 4, "ngIf"], [1, "sme-focus-zone", 3, "disabled"], [3, "template", "data", "optionIndex"]], template: function ChecklistFormFieldComponent_Template(rf, ctx) {
|
|
14735
14695
|
if (rf & 1) {
|
|
14736
14696
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
14737
14697
|
i0.ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_Template, 3, 2, "div", 1);
|
|
@@ -20091,9 +20051,10 @@
|
|
|
20091
20051
|
i0.ɵɵelementStart(2, "input", 28);
|
|
20092
20052
|
i0.ɵɵlistener("change", function ComboboxFormFieldComponent_ng_template_18_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r27_1); var option_r25 = ctx.$implicit; var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.toggleOption(option_r25, !option_r25.isSelected); });
|
|
20093
20053
|
i0.ɵɵelementEnd();
|
|
20094
|
-
i0.ɵɵ
|
|
20095
|
-
i0.ɵɵelementStart(4, "span",
|
|
20096
|
-
i0.ɵɵ
|
|
20054
|
+
i0.ɵɵtext(3, " [disabled]=\"option.disabled\" class=\"sme-layout-absolute sme-position-inset-none\" /> ");
|
|
20055
|
+
i0.ɵɵelementStart(4, "span", 29);
|
|
20056
|
+
i0.ɵɵelementStart(5, "span", 30);
|
|
20057
|
+
i0.ɵɵtext(6);
|
|
20097
20058
|
i0.ɵɵelementEnd();
|
|
20098
20059
|
i0.ɵɵelementEnd();
|
|
20099
20060
|
i0.ɵɵelementEnd();
|
|
@@ -20103,9 +20064,9 @@
|
|
|
20103
20064
|
var option_r25 = ctx.$implicit;
|
|
20104
20065
|
var ctx_r11 = i0.ɵɵnextContext();
|
|
20105
20066
|
i0.ɵɵadvance(2);
|
|
20106
|
-
i0.ɵɵproperty("checked", option_r25.isSelected)
|
|
20067
|
+
i0.ɵɵproperty("checked", option_r25.isSelected);
|
|
20107
20068
|
i0.ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString())("data-uta-id", option_r25.utaId ? option_r25.utaId : option_r25.value);
|
|
20108
|
-
i0.ɵɵadvance(
|
|
20069
|
+
i0.ɵɵadvance(2);
|
|
20109
20070
|
i0.ɵɵclassProp("sme-combobox-option-wrap", ctx_r11.overflowWrap);
|
|
20110
20071
|
i0.ɵɵproperty("smeTooltip", option_r25.disabled ? null : option_r25.resolvedTooltipTemplate)("title", option_r25.resolvedTitle)("smeTooltipContext", option_r25.disabled ? null : option_r25.tooltipContext || option_r25);
|
|
20111
20072
|
i0.ɵɵadvance(1);
|
|
@@ -20435,7 +20396,7 @@
|
|
|
20435
20396
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listboxElement = _t.first);
|
|
20436
20397
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
20437
20398
|
}
|
|
20438
|
-
}, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$1, decls: 20, vars: 30, consts: [[3, "formField"], [1, "sme-combobox", "sme-focus-zone", "sme-form-field-editor", 3, "autoToggle", "disabled", "calculateHeight", "dropdownApplyFormFieldOffsetWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown", "keypress"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "readonly", "", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "value", "placeholder", "click"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], [1, "sme-icon", "sme-icon-chevronDown"], ["role", "listbox", 1, "sme-dropdown-content", "sme-dropdown-content-inherit-container-height", 3, "ngStyle", "id", "keydown"], ["listbox", ""], [3, "sme-padding-squish-v-xs", "keydown", 4, "ngIf"], ["class", "sme-checkbox sme-dropdown-interaction-enabled", "role", "option", 3, "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [3, "alert"], ["singleSelectTemplate", ""], ["multiSelectTemplate", ""], [3, "keydown"], ["name", "searchStringValue", "type", "search", 3, "disableSearchButton", "placeholder", "label", "id", "count", "ngModel", "ngModelChange"], ["role", "option", 1, "sme-checkbox", "sme-dropdown-interaction-enabled"], [1, "sme-position-stretch-h", "sme-arrange-word-break-all"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "change"], ["aria-hidden", "true"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["smeTemplateOutlet", "", 3, "template", "data"], ["type", "button", "role", "option", 3, "disabled", "click"], [3, "smeTooltip", "smeTooltipContext"], [1, "sme-layout-float-left", 3, "title"], ["type", "checkbox", "role", "checkbox",
|
|
20399
|
+
}, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$1, decls: 20, vars: 30, consts: [[3, "formField"], [1, "sme-combobox", "sme-focus-zone", "sme-form-field-editor", 3, "autoToggle", "disabled", "calculateHeight", "dropdownApplyFormFieldOffsetWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown", "keypress"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "readonly", "", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "value", "placeholder", "click"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], [1, "sme-icon", "sme-icon-chevronDown"], ["role", "listbox", 1, "sme-dropdown-content", "sme-dropdown-content-inherit-container-height", 3, "ngStyle", "id", "keydown"], ["listbox", ""], [3, "sme-padding-squish-v-xs", "keydown", 4, "ngIf"], ["class", "sme-checkbox sme-dropdown-interaction-enabled", "role", "option", 3, "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [3, "alert"], ["singleSelectTemplate", ""], ["multiSelectTemplate", ""], [3, "keydown"], ["name", "searchStringValue", "type", "search", 3, "disableSearchButton", "placeholder", "label", "id", "count", "ngModel", "ngModelChange"], ["role", "option", 1, "sme-checkbox", "sme-dropdown-interaction-enabled"], [1, "sme-position-stretch-h", "sme-arrange-word-break-all"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "change"], ["aria-hidden", "true"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["smeTemplateOutlet", "", 3, "template", "data"], ["type", "button", "role", "option", 3, "disabled", "click"], [3, "smeTooltip", "smeTooltipContext"], [1, "sme-layout-float-left", 3, "title"], ["type", "checkbox", "role", "checkbox", 3, "checked", "change"], ["aria-hidden", "true", 1, "sme-position-stretch-h", "sme-layout-float-left", 3, "smeTooltip", "title", "smeTooltipContext"], [1, "sme-position-stretch-h", "sme-layout-float-left"]], template: function ComboboxFormFieldComponent_Template(rf, ctx) {
|
|
20439
20400
|
if (rf & 1) {
|
|
20440
20401
|
var _r28_1 = i0.ɵɵgetCurrentView();
|
|
20441
20402
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
@@ -20461,7 +20422,7 @@
|
|
|
20461
20422
|
i0.ɵɵelementEnd();
|
|
20462
20423
|
i0.ɵɵelement(15, "sme-validation-alert", 14);
|
|
20463
20424
|
i0.ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4, 14, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
|
|
20464
|
-
i0.ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template,
|
|
20425
|
+
i0.ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template, 7, 12, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
|
|
20465
20426
|
i0.ɵɵelementEnd();
|
|
20466
20427
|
}
|
|
20467
20428
|
if (rf & 2) {
|
|
@@ -21929,21 +21890,6 @@
|
|
|
21929
21890
|
enumerable: false,
|
|
21930
21891
|
configurable: true
|
|
21931
21892
|
});
|
|
21932
|
-
Object.defineProperty(FileFormFieldComponent.prototype, "ariaLabelText", {
|
|
21933
|
-
/**
|
|
21934
|
-
* gets aria-label text
|
|
21935
|
-
*/
|
|
21936
|
-
get: function () {
|
|
21937
|
-
var labelText = this.buttonLabel || (this.multiple
|
|
21938
|
-
? this.strings.MsftSmeShell.Angular.Form.File.buttonText.plural
|
|
21939
|
-
: this.strings.MsftSmeShell.Angular.Form.File.buttonText.singular);
|
|
21940
|
-
return this.hasFiles
|
|
21941
|
-
? this.strings.MsftSmeShell.Angular.Form.File.selectedFilesFormat.plural.format(this.files.length).concat(labelText)
|
|
21942
|
-
: labelText;
|
|
21943
|
-
},
|
|
21944
|
-
enumerable: false,
|
|
21945
|
-
configurable: true
|
|
21946
|
-
});
|
|
21947
21893
|
Object.defineProperty(FileFormFieldComponent.prototype, "files", {
|
|
21948
21894
|
/**
|
|
21949
21895
|
* Indicates if there are any files selected
|
|
@@ -22151,7 +22097,7 @@
|
|
|
22151
22097
|
var _t = void 0;
|
|
22152
22098
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
22153
22099
|
}
|
|
22154
|
-
}, inputs: { multiple: "multiple", fileTypes: "fileTypes", buttonLabel: "buttonLabel" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c1$h, decls: 15, vars:
|
|
22100
|
+
}, inputs: { multiple: "multiple", fileTypes: "fileTypes", buttonLabel: "buttonLabel" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c1$h, decls: 15, vars: 12, consts: [[3, "formField"], [1, "sme-file-drop-zone", "sme-subform-indent-none", "sme-subform-no-bottom-margin"], [1, "sme-padding-inset-xs", "sme-margin-bottom-xs", "sme-arrange-stack-v", 3, "smeDrop"], [1, "sme-file-input", "sme-margin-bottom-xxs"], ["type", "file", 1, "sme-layout-none", 3, "disabled", "change"], ["file", ""], ["type", "button", 1, "sme-button-primary", "sme-button-auto-width", "sme-margin-right-xs", 3, "smeDisabled", "click"], [1, "sme-position-flex-align-center"], [4, "ngIf"], ["aria-live", "polite", 1, "sme-margin-bottom-xs"], [3, "alert"], ["class", "sme-arrange-stack-h sme-margin-bottom-xs", 4, "ngFor", "ngForOf"], [1, "sme-arrange-stack-h", "sme-margin-bottom-xs"], [1, "sme-position-flex-none", "sme-icon", "sme-icon-size-lg"], ["aria-live", "polite", 1, "sme-position-flex-auto", "sme-padding-left-sm", "sme-arrange-stack-v"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis", "sme-padding-inset-none"], ["type", "button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-cancel", "sme-color-red"]], template: function FileFormFieldComponent_Template(rf, ctx) {
|
|
22155
22101
|
if (rf & 1) {
|
|
22156
22102
|
var _r8_1 = i0.ɵɵgetCurrentView();
|
|
22157
22103
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
@@ -22189,7 +22135,6 @@
|
|
|
22189
22135
|
i0.ɵɵattribute("multiple", ctx.multiple || null)("accept", ctx.accept);
|
|
22190
22136
|
i0.ɵɵadvance(2);
|
|
22191
22137
|
i0.ɵɵproperty("smeDisabled", ctx.loadingOrDisabled);
|
|
22192
|
-
i0.ɵɵattribute("aria-label", ctx.ariaLabelText);
|
|
22193
22138
|
i0.ɵɵadvance(1);
|
|
22194
22139
|
i0.ɵɵtextInterpolate1(" ", ctx.buttonLabel || (ctx.multiple ? ctx.strings.MsftSmeShell.Angular.Form.File.buttonText.plural : ctx.strings.MsftSmeShell.Angular.Form.File.buttonText.singular), " ");
|
|
22195
22140
|
i0.ɵɵadvance(2);
|
|
@@ -27501,8 +27446,7 @@
|
|
|
27501
27446
|
i0.ɵɵadvance(2);
|
|
27502
27447
|
i0.ɵɵtextInterpolate(column_r18.header);
|
|
27503
27448
|
i0.ɵɵadvance(1);
|
|
27504
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
27505
|
-
i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r20.getSortLabel(column_r18) : null);
|
|
27449
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
|
|
27506
27450
|
}
|
|
27507
27451
|
}
|
|
27508
27452
|
function DataTableComponent_div_7_div_2_Template(rf, ctx) {
|
|
@@ -27521,8 +27465,7 @@
|
|
|
27521
27465
|
i0.ɵɵadvance(2);
|
|
27522
27466
|
i0.ɵɵtextInterpolate(column_r18.header);
|
|
27523
27467
|
i0.ɵɵadvance(1);
|
|
27524
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
27525
|
-
i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r21.getSortLabel(column_r18) : null);
|
|
27468
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
|
|
27526
27469
|
}
|
|
27527
27470
|
}
|
|
27528
27471
|
function DataTableComponent_div_7_div_3_Template(rf, ctx) {
|
|
@@ -27545,8 +27488,8 @@
|
|
|
27545
27488
|
function DataTableComponent_div_7_Template(rf, ctx) {
|
|
27546
27489
|
if (rf & 1) {
|
|
27547
27490
|
i0.ɵɵelementStart(0, "div", 32);
|
|
27548
|
-
i0.ɵɵtemplate(1, DataTableComponent_div_7_div_1_Template, 4,
|
|
27549
|
-
i0.ɵɵtemplate(2, DataTableComponent_div_7_div_2_Template, 4,
|
|
27491
|
+
i0.ɵɵtemplate(1, DataTableComponent_div_7_div_1_Template, 4, 7, "div", 33);
|
|
27492
|
+
i0.ɵɵtemplate(2, DataTableComponent_div_7_div_2_Template, 4, 6, "div", 34);
|
|
27550
27493
|
i0.ɵɵtemplate(3, DataTableComponent_div_7_div_3_Template, 1, 0, "div", 35);
|
|
27551
27494
|
i0.ɵɵtemplate(4, DataTableComponent_div_7_sme_resizer_4_Template, 1, 2, "sme-resizer", 36);
|
|
27552
27495
|
i0.ɵɵelementEnd();
|
|
@@ -28374,8 +28317,7 @@
|
|
|
28374
28317
|
i0.ɵɵadvance(2);
|
|
28375
28318
|
i0.ɵɵtextInterpolate(column_r18.header);
|
|
28376
28319
|
i0.ɵɵadvance(1);
|
|
28377
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
28378
|
-
i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r20.getSortLabel(column_r18) : null);
|
|
28320
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c12, column_r18.sortMode === ctx_r20.sortModeEnum.Ascend, column_r18.sortMode === ctx_r20.sortModeEnum.Descend));
|
|
28379
28321
|
}
|
|
28380
28322
|
}
|
|
28381
28323
|
function TreeTableComponent_div_7_div_2_Template(rf, ctx) {
|
|
@@ -28394,8 +28336,7 @@
|
|
|
28394
28336
|
i0.ɵɵadvance(2);
|
|
28395
28337
|
i0.ɵɵtextInterpolate(column_r18.header);
|
|
28396
28338
|
i0.ɵɵadvance(1);
|
|
28397
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
28398
|
-
i0.ɵɵattribute("aria-label", column_r18.sortable ? ctx_r21.getSortLabel(column_r18) : null);
|
|
28339
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c12, column_r18.sortMode === ctx_r21.sortModeEnum.Ascend, column_r18.sortMode === ctx_r21.sortModeEnum.Descend));
|
|
28399
28340
|
}
|
|
28400
28341
|
}
|
|
28401
28342
|
function TreeTableComponent_div_7_div_3_Template(rf, ctx) {
|
|
@@ -28417,8 +28358,8 @@
|
|
|
28417
28358
|
function TreeTableComponent_div_7_Template(rf, ctx) {
|
|
28418
28359
|
if (rf & 1) {
|
|
28419
28360
|
i0.ɵɵelementStart(0, "div", 32);
|
|
28420
|
-
i0.ɵɵtemplate(1, TreeTableComponent_div_7_div_1_Template, 4,
|
|
28421
|
-
i0.ɵɵtemplate(2, TreeTableComponent_div_7_div_2_Template, 4,
|
|
28361
|
+
i0.ɵɵtemplate(1, TreeTableComponent_div_7_div_1_Template, 4, 7, "div", 33);
|
|
28362
|
+
i0.ɵɵtemplate(2, TreeTableComponent_div_7_div_2_Template, 4, 6, "div", 34);
|
|
28422
28363
|
i0.ɵɵtemplate(3, TreeTableComponent_div_7_div_3_Template, 1, 0, "div", 35);
|
|
28423
28364
|
i0.ɵɵtemplate(4, TreeTableComponent_div_7_sme_resizer_4_Template, 1, 2, "sme-resizer", 36);
|
|
28424
28365
|
i0.ɵɵelementEnd();
|
|
@@ -30662,25 +30603,6 @@
|
|
|
30662
30603
|
|| renderedItem.index === this.hoveredRenderedItemIndex
|
|
30663
30604
|
|| editableDataItem.isNewRow;
|
|
30664
30605
|
};
|
|
30665
|
-
/**
|
|
30666
|
-
* Retrieves the text that should be associated with the aria-label for column sort order (if sortable).
|
|
30667
|
-
* This label is utilized by screen readers for accessibility.
|
|
30668
|
-
* If the current sort order is Ascending, the label will indicate a button icon is present to Descend order.
|
|
30669
|
-
* If the current sort order is Descending, the label will indicate a button icon is present to Ascend order.
|
|
30670
|
-
* If the current sort order is None, the label is null, and the screen reader will not read anything.
|
|
30671
|
-
* @param column the table column
|
|
30672
|
-
* @returns the text for the aria-label on the sort icon
|
|
30673
|
-
*/
|
|
30674
|
-
DataTableComponent.prototype.getSortLabel = function (column) {
|
|
30675
|
-
switch (column.sortMode) {
|
|
30676
|
-
case exports.DataTableSortMode.Ascend:
|
|
30677
|
-
return this.strings.MsftSmeShell.Angular.DataTable.Aria.Label.descendSortOrderButton;
|
|
30678
|
-
case exports.DataTableSortMode.Descend:
|
|
30679
|
-
return this.strings.MsftSmeShell.Angular.DataTable.Aria.Label.ascendSortOrderButton;
|
|
30680
|
-
case exports.DataTableSortMode.None:
|
|
30681
|
-
return null;
|
|
30682
|
-
}
|
|
30683
|
-
};
|
|
30684
30606
|
/**
|
|
30685
30607
|
* It implements the AfterViewInit interface.
|
|
30686
30608
|
*/
|
|
@@ -32738,13 +32660,6 @@
|
|
|
32738
32660
|
this.processColumns();
|
|
32739
32661
|
}
|
|
32740
32662
|
};
|
|
32741
|
-
/**
|
|
32742
|
-
* Get the number of filtered items (if any) within the dataTable.
|
|
32743
|
-
* @returns number of dataTable filtered items, zero if none.
|
|
32744
|
-
*/
|
|
32745
|
-
DataTableComponent.prototype.getNumberOfFilteredItems = function () {
|
|
32746
|
-
return this.filteredItems ? this.filteredItems.length : 0;
|
|
32747
|
-
};
|
|
32748
32663
|
/**
|
|
32749
32664
|
* This function is added from upgrading data table to support editable data table
|
|
32750
32665
|
* The idea is to use the data table's header width to be applied on the data table body columns.
|
|
@@ -34094,13 +34009,6 @@
|
|
|
34094
34009
|
PivotComponent.prototype.isSelected = function (tab) {
|
|
34095
34010
|
return this.selection && this.selection === tab;
|
|
34096
34011
|
};
|
|
34097
|
-
/**
|
|
34098
|
-
* Force refresh for the pivot tabs.
|
|
34099
|
-
*/
|
|
34100
|
-
PivotComponent.prototype.refresh = function (shouldEmit) {
|
|
34101
|
-
if (shouldEmit === void 0) { shouldEmit = false; }
|
|
34102
|
-
this.updatePivotTabs(shouldEmit);
|
|
34103
|
-
};
|
|
34104
34012
|
/**
|
|
34105
34013
|
* Selects a tab
|
|
34106
34014
|
* @param tab The tab to select
|
|
@@ -34162,11 +34070,7 @@
|
|
|
34162
34070
|
'sme-pivot'
|
|
34163
34071
|
]);
|
|
34164
34072
|
};
|
|
34165
|
-
|
|
34166
|
-
* Main rendering functionality for the pivot tab
|
|
34167
|
-
*/
|
|
34168
|
-
PivotComponent.prototype.updatePivotTabs = function (shouldEmit) {
|
|
34169
|
-
if (shouldEmit === void 0) { shouldEmit = true; }
|
|
34073
|
+
PivotComponent.prototype.updatePivotTabs = function () {
|
|
34170
34074
|
var currentFill = 0;
|
|
34171
34075
|
this.visibleTabs = [];
|
|
34172
34076
|
this.trayTabs = [];
|
|
@@ -34201,9 +34105,7 @@
|
|
|
34201
34105
|
currentFill += tabWidth;
|
|
34202
34106
|
}
|
|
34203
34107
|
}
|
|
34204
|
-
|
|
34205
|
-
this.emitLayoutChanged();
|
|
34206
|
-
}
|
|
34108
|
+
this.emitLayoutChanged();
|
|
34207
34109
|
};
|
|
34208
34110
|
return PivotComponent;
|
|
34209
34111
|
}(CoreBaseComponent));
|
|
@@ -34287,12 +34189,6 @@
|
|
|
34287
34189
|
SmeInject(i0.ChangeDetectorRef),
|
|
34288
34190
|
__metadata("design:type", i0.ChangeDetectorRef)
|
|
34289
34191
|
], PivotComponent.prototype, "changeDetectorRef", void 0);
|
|
34290
|
-
__decorate([
|
|
34291
|
-
debounce_decorators.Debounce(),
|
|
34292
|
-
__metadata("design:type", Function),
|
|
34293
|
-
__metadata("design:paramtypes", [Object]),
|
|
34294
|
-
__metadata("design:returntype", void 0)
|
|
34295
|
-
], PivotComponent.prototype, "refresh", null);
|
|
34296
34192
|
__decorate([
|
|
34297
34193
|
debounce_decorators.Debounce(),
|
|
34298
34194
|
__metadata("design:type", Function),
|
|
@@ -34355,7 +34251,7 @@
|
|
|
34355
34251
|
}], changeDetectorRef: [], dropDownButtonElement: [{
|
|
34356
34252
|
type: i0.ViewChild,
|
|
34357
34253
|
args: ['dropDownButton']
|
|
34358
|
-
}],
|
|
34254
|
+
}], emitLayoutChanged: [], onLayoutChanged: [] });
|
|
34359
34255
|
})();
|
|
34360
34256
|
|
|
34361
34257
|
var PivotModule = /** @class */ (function () {
|
|
@@ -35014,14 +34910,14 @@
|
|
|
35014
34910
|
if (rf & 1) {
|
|
35015
34911
|
var _r17_1 = i0.ɵɵgetCurrentView();
|
|
35016
34912
|
i0.ɵɵelementStart(0, "button", 27);
|
|
35017
|
-
i0.ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.
|
|
34913
|
+
i0.ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.refresh.next(); });
|
|
35018
34914
|
i0.ɵɵelement(1, "span", 28);
|
|
35019
34915
|
i0.ɵɵelementEnd();
|
|
35020
34916
|
}
|
|
35021
34917
|
if (rf & 2) {
|
|
35022
34918
|
var ctx_r6 = i0.ɵɵnextContext();
|
|
35023
|
-
i0.ɵɵproperty("title", ctx_r6.resourceStrings.refresh.title);
|
|
35024
|
-
i0.ɵɵattribute("aria-
|
|
34919
|
+
i0.ɵɵproperty("disabled", ctx_r6.disableRefresh)("title", ctx_r6.resourceStrings.refresh.title);
|
|
34920
|
+
i0.ɵɵattribute("aria-label", ctx_r6.refreshButtonAriaLabel);
|
|
35025
34921
|
}
|
|
35026
34922
|
}
|
|
35027
34923
|
function MasterViewComponent_button_16_Template(rf, ctx) {
|
|
@@ -35088,7 +34984,6 @@
|
|
|
35088
34984
|
_this.pivotComponent = pivotComponent;
|
|
35089
34985
|
_this.isInitialized = false;
|
|
35090
34986
|
_this.resourceStrings = _this.strings.MsftSmeShell.Angular.MasterView;
|
|
35091
|
-
_this.commonStrings = _this.strings.MsftSmeShell.Angular.Common;
|
|
35092
34987
|
_this.noSideMargin = false;
|
|
35093
34988
|
_this.hideHeader = false;
|
|
35094
34989
|
_this.header = '';
|
|
@@ -35231,23 +35126,6 @@
|
|
|
35231
35126
|
this.refreshButtonAriaLabel = this.resourceStrings.refresh.ariaLabel.noHeader;
|
|
35232
35127
|
}
|
|
35233
35128
|
};
|
|
35234
|
-
// Note: this is a bandaid fix to this bug: https://microsoft.visualstudio.com/OS/_workitems/edit/33031791/.
|
|
35235
|
-
// The screen reader doesn't announce when aria-disabled changes and the exact reason for that is unknown.
|
|
35236
|
-
// It's not best practice to be adjusting the aria-label to achieve the effect but that's the best we came up with.
|
|
35237
|
-
// TODO: fix the real issue why the screen reader doesn't announce the aria-disabled changes
|
|
35238
|
-
MasterViewComponent.prototype.ngOnChanges = function (changes) {
|
|
35239
|
-
var _a;
|
|
35240
|
-
var refreshButtonLabel = this.resourceStrings.refresh.ariaLabel.noHeader;
|
|
35241
|
-
if (this.header) {
|
|
35242
|
-
refreshButtonLabel = this.resourceStrings.refresh.ariaLabel.header.format(this.header);
|
|
35243
|
-
}
|
|
35244
|
-
if (((_a = changes.disableRefresh) === null || _a === void 0 ? void 0 : _a.currentValue) === true) {
|
|
35245
|
-
this.refreshButtonAriaLabel = this.commonStrings.disabled + " " + refreshButtonLabel;
|
|
35246
|
-
}
|
|
35247
|
-
else {
|
|
35248
|
-
this.refreshButtonAriaLabel = this.commonStrings.enabled + " " + refreshButtonLabel;
|
|
35249
|
-
}
|
|
35250
|
-
};
|
|
35251
35129
|
MasterViewComponent.prototype.ngOnDestroy = function () {
|
|
35252
35130
|
if (this.splitViewPaneToggledSubscription) {
|
|
35253
35131
|
this.splitViewPaneToggledSubscription.unsubscribe();
|
|
@@ -35301,15 +35179,6 @@
|
|
|
35301
35179
|
this.actionBarComponent.updateActionBar();
|
|
35302
35180
|
}
|
|
35303
35181
|
};
|
|
35304
|
-
/**
|
|
35305
|
-
* Handles clicking on the refresh button
|
|
35306
|
-
*/
|
|
35307
|
-
MasterViewComponent.prototype.refreshButtonClicked = function () {
|
|
35308
|
-
if (this.disableRefresh) {
|
|
35309
|
-
return;
|
|
35310
|
-
}
|
|
35311
|
-
this.refresh.next();
|
|
35312
|
-
};
|
|
35313
35182
|
MasterViewComponent.prototype.handleDetailPaneExpanding = function (dataViewControl) {
|
|
35314
35183
|
var _this = this;
|
|
35315
35184
|
if (this.splitView) {
|
|
@@ -35400,7 +35269,7 @@
|
|
|
35400
35269
|
if (rf & 1) {
|
|
35401
35270
|
i0.ɵɵlistener("resize", function MasterViewComponent_resize_HostBindingHandler() { return ctx.updateLayout(); }, false, i0.ɵɵresolveWindow);
|
|
35402
35271
|
}
|
|
35403
|
-
}, inputs: { noSideMargin: "noSideMargin", hideHeader: "hideHeader", header: "header", total: "total", showSelection: "showSelection", showColumnPicker: "showColumnPicker", columnPickerActive: "columnPickerActive", showRefresh: "showRefresh", disableRefresh: "disableRefresh", dataTableMinWidth: "dataTableMinWidth", showFilter: "showFilter", filterActive: "filterActive", enableQueryEditor: "enableQueryEditor", selection: "selection", requireDataItemUniqueId: "requireDataItemUniqueId", showCustomFilter: "showCustomFilter", groupActive: "groupActive", stretchToAbsolute: "stretchToAbsolute", autoExpandDetailsPane: "autoExpandDetailsPane", showGroup: "showGroup" }, outputs: { selectionChange: "selectionChange", columnPicker: "columnPicker", refresh: "refresh", filter: "filter", group: "group", clearSelection: "clearSelection" }, features: [i0.ɵɵInheritDefinitionFeature
|
|
35272
|
+
}, inputs: { noSideMargin: "noSideMargin", hideHeader: "hideHeader", header: "header", total: "total", showSelection: "showSelection", showColumnPicker: "showColumnPicker", columnPickerActive: "columnPickerActive", showRefresh: "showRefresh", disableRefresh: "disableRefresh", dataTableMinWidth: "dataTableMinWidth", showFilter: "showFilter", filterActive: "filterActive", enableQueryEditor: "enableQueryEditor", selection: "selection", requireDataItemUniqueId: "requireDataItemUniqueId", showCustomFilter: "showCustomFilter", groupActive: "groupActive", stretchToAbsolute: "stretchToAbsolute", autoExpandDetailsPane: "autoExpandDetailsPane", showGroup: "showGroup" }, outputs: { selectionChange: "selectionChange", columnPicker: "columnPicker", refresh: "refresh", filter: "filter", group: "group", clearSelection: "clearSelection" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c5$3, decls: 24, vars: 27, consts: [["class", "sme-position-flex-none sme-padding-squish-v-lg sme-arrange-word-wrap-break-word sme-font-h3", 3, "hidden", "id", 4, "ngIf"], [3, "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until"], ["class", "sme-position-flex-none", 3, "sme-padding-horizontal-sm", 4, "ngIf"], [1, "sme-position-flex-none", "sme-arrange-stack-reversed"], ["container", ""], [1, "sme-position-flex-none", "sme-arrange-stack-h"], [1, "sme-focus-zone", "sme-position-flex-none", "sme-arrange-stack-h", "sme-arrange-ws-nowrap", "sme-scheme-secondary-text"], ["role", "status", 1, "sme-layout-action-bar-item", "sme-padding-horizontal-sm", 3, "id"], ["type", "button", "role", "button", "class", "sme-button-trigger sme-layout-action-bar-item-height sme-scheme-secondary-text sme-button-auto-width", 3, "click", 4, "ngIf"], [1, "sme-focus-zone", "sme-arrange-ws-nowrap"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", "data-uta-id", "column-picker-button", 3, "title", "sme-toggled", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "disabled", "title", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "title", "sme-toggled", "click", 4, "ngIf"], [1, "sme-focus-zone"], ["class", "sme-margin-horizontal-sm", 4, "ngIf"], ["style", "position: relative;", 4, "ngIf"], ["dataView", ""], [1, "sme-position-flex-none", "sme-padding-squish-v-lg", "sme-arrange-word-wrap-break-word", "sme-font-h3", 3, "hidden", "id"], [1, "sme-position-flex-none"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-scheme-secondary-text", "sme-button-auto-width", 3, "click"], ["aria-hidden", "true"], [1, "sme-screen-reader"], ["aria-hidden", "true", 1, "sme-icon", "sme-icon-clear", "sme-margin-left-xs", 3, "title"], ["type", "button", "role", "button", "data-uta-id", "column-picker-button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-tripleColumn"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "disabled", "title", "click"], [1, "sme-icon", "sme-icon-refresh"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-filter"], [1, "sme-icon", "sme-icon-groupedList"], [1, "sme-margin-horizontal-sm"], [2, "position", "relative"], [1, "sme-position-flex-none", "sme-layout-action-bar-item"]], template: function MasterViewComponent_Template(rf, ctx) {
|
|
35404
35273
|
if (rf & 1) {
|
|
35405
35274
|
i0.ɵɵprojectionDef(_c4$5);
|
|
35406
35275
|
i0.ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2, 3, "h2", 0);
|
|
@@ -36625,7 +36494,7 @@
|
|
|
36625
36494
|
if (rf & 2) {
|
|
36626
36495
|
var link_r13 = i0.ɵɵnextContext().$implicit;
|
|
36627
36496
|
i0.ɵɵadvance(1);
|
|
36628
|
-
i0.ɵɵ
|
|
36497
|
+
i0.ɵɵtextInterpolate(link_r13.displayText);
|
|
36629
36498
|
}
|
|
36630
36499
|
}
|
|
36631
36500
|
function AlertBarComponent_div_1_label_14_div_1_div_2_a_1_Template(rf, ctx) {
|
|
@@ -36638,7 +36507,7 @@
|
|
|
36638
36507
|
var link_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
36639
36508
|
i0.ɵɵproperty("href", link_r13.uri, i0.ɵɵsanitizeUrl);
|
|
36640
36509
|
i0.ɵɵadvance(1);
|
|
36641
|
-
i0.ɵɵ
|
|
36510
|
+
i0.ɵɵtextInterpolate(link_r13.displayText);
|
|
36642
36511
|
}
|
|
36643
36512
|
}
|
|
36644
36513
|
function AlertBarComponent_div_1_label_14_div_1_div_2_a_2_Template(rf, ctx) {
|
|
@@ -36651,7 +36520,7 @@
|
|
|
36651
36520
|
var link_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
36652
36521
|
i0.ɵɵproperty("routerLink", link_r13.uri);
|
|
36653
36522
|
i0.ɵɵadvance(1);
|
|
36654
|
-
i0.ɵɵ
|
|
36523
|
+
i0.ɵɵtextInterpolate(link_r13.displayText);
|
|
36655
36524
|
}
|
|
36656
36525
|
}
|
|
36657
36526
|
function AlertBarComponent_div_1_label_14_div_1_div_2_Template(rf, ctx) {
|
|
@@ -36928,7 +36797,7 @@
|
|
|
36928
36797
|
return AlertBarComponent;
|
|
36929
36798
|
}(CoreBaseComponent));
|
|
36930
36799
|
/** @nocollapse */ AlertBarComponent.ɵfac = function AlertBarComponent_Factory(t) { return new (t || AlertBarComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(AlertBarService), i0.ɵɵdirectiveInject(DialogService)); };
|
|
36931
|
-
/** @nocollapse */ AlertBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertBarComponent, selectors: [["sme-alert-bar"]], inputs: { id: "id" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "sme-layer-notification", "sme-layout-absolute", "sme-layout-notification-popup-list"], ["tabindex", "0", "class", "sme-layout-notification-popup sme-shadow-notification-popup sme-margin-right-sm sme-margin-top-sm sme-arrange-stack-h\n sme-background-color-alt-5 sme-border-color-alt-5 sme-padding-top-xs sme-padding-left-sm sme-padding-right-xs sme-padding-bottom-xs sme-behavior-hover-trigger", 3, "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 1, "sme-layout-notification-popup", "sme-shadow-notification-popup", "sme-margin-right-sm", "sme-margin-top-sm", "sme-arrange-stack-h", "sme-background-color-alt-5", "sme-border-color-alt-5", "sme-padding-top-xs", "sme-padding-left-sm", "sme-padding-right-xs", "sme-padding-bottom-xs", "sme-behavior-hover-trigger", 3, "click"], [1, "sme-arrange-stack-v"], ["size", "16px", 1, "sme-padding-right-xs", "sme-padding-top-xxxs", 3, "status", "title"], ["role", "button", "class", "sme-button-trigger sme-button-auto-width sme-position-flex-none sme-padding-inset-none sme-icon sme-padding-top-xxs sme-behavior-hover-target-show", 3, "ngClass", "title", "click", 4, "ngIf"], ["role", "alert", "id", "sme-alert-bar-content", 1, "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-word-wrap-break-word", "sme-position-stretch-h"], [1, "sme-layout-notification-message"], [1, "sme-arrange-stack-h"], [1, "sme-screen-reader"], [1, "sme-font-family-bold", "sme-font-label", "sme-margin-inset-none", "sme-padding-top-xxxs", "sme-position-stretch-h", "sme-position-left-inline"], ["class", "sme-font-label", 4, "ngIf"], [4, "ngIf"], [1, "sme-arrange-stack-h", "sme-font-label", "sme-color-base-40"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis"], [1, "sme-position-flex-none", "sme-margin-left-xxs"], ["
|
|
36800
|
+
/** @nocollapse */ AlertBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertBarComponent, selectors: [["sme-alert-bar"]], inputs: { id: "id" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "sme-layer-notification", "sme-layout-absolute", "sme-layout-notification-popup-list"], ["tabindex", "0", "class", "sme-layout-notification-popup sme-shadow-notification-popup sme-margin-right-sm sme-margin-top-sm sme-arrange-stack-h\n sme-background-color-alt-5 sme-border-color-alt-5 sme-padding-top-xs sme-padding-left-sm sme-padding-right-xs sme-padding-bottom-xs sme-behavior-hover-trigger", 3, "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 1, "sme-layout-notification-popup", "sme-shadow-notification-popup", "sme-margin-right-sm", "sme-margin-top-sm", "sme-arrange-stack-h", "sme-background-color-alt-5", "sme-border-color-alt-5", "sme-padding-top-xs", "sme-padding-left-sm", "sme-padding-right-xs", "sme-padding-bottom-xs", "sme-behavior-hover-trigger", 3, "click"], [1, "sme-arrange-stack-v"], ["size", "16px", 1, "sme-padding-right-xs", "sme-padding-top-xxxs", 3, "status", "title"], ["role", "button", "class", "sme-button-trigger sme-button-auto-width sme-position-flex-none sme-padding-inset-none sme-icon sme-padding-top-xxs sme-behavior-hover-target-show", 3, "ngClass", "title", "click", 4, "ngIf"], ["role", "alert", "id", "sme-alert-bar-content", 1, "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-word-wrap-break-word", "sme-position-stretch-h"], [1, "sme-layout-notification-message"], [1, "sme-arrange-stack-h"], [1, "sme-screen-reader"], [1, "sme-font-family-bold", "sme-font-label", "sme-margin-inset-none", "sme-padding-top-xxxs", "sme-position-stretch-h", "sme-position-left-inline"], ["class", "sme-font-label", 4, "ngIf"], [4, "ngIf"], [1, "sme-arrange-stack-h", "sme-font-label", "sme-color-base-40"], [1, "sme-position-flex-auto", "sme-arrange-ellipsis"], [1, "sme-position-flex-none", "sme-margin-left-xxs"], ["aria-describedby", "sme-alert-bar-content", 1, "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-inset-none", "sme-padding-left-xxs", "sme-padding-right-xxs", 3, "click"], [1, "sme-icon", "sme-icon-cancel", 3, "title"], ["role", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-inset-none", "sme-icon", "sme-padding-top-xxs", "sme-behavior-hover-target-show", 3, "ngClass", "title", "click"], [1, "sme-font-label"], [4, "ngFor", "ngForOf"], ["class", "sme-link", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [1, "sme-link", 3, "click"], [3, "click"], ["class", "sme-link", "target", "_blank", 3, "href", 4, "ngIf"], ["class", "sme-link", 3, "routerLink", 4, "ngIf"], ["target", "_blank", 1, "sme-link", 3, "href"], [1, "sme-link", 3, "routerLink"]], template: function AlertBarComponent_Template(rf, ctx) {
|
|
36932
36801
|
if (rf & 1) {
|
|
36933
36802
|
i0.ɵɵelementStart(0, "div", 0);
|
|
36934
36803
|
i0.ɵɵtemplate(1, AlertBarComponent_div_1_Template, 23, 13, "div", 1);
|
|
@@ -45352,43 +45221,9 @@
|
|
|
45352
45221
|
|
|
45353
45222
|
var PropertyGridItemComponent = /** @class */ (function () {
|
|
45354
45223
|
function PropertyGridItemComponent() {
|
|
45355
|
-
/**
|
|
45356
|
-
* The status for the property grid item.
|
|
45357
|
-
*/
|
|
45358
45224
|
this.status = null;
|
|
45359
|
-
/**
|
|
45360
|
-
* It indicates the column span for the layout.
|
|
45361
|
-
*/
|
|
45362
45225
|
this.columnSpan = 1;
|
|
45363
|
-
/**
|
|
45364
|
-
* It indicates the rendering of loading wheel when data unloaded.
|
|
45365
|
-
*/
|
|
45366
|
-
this.isAsync = false;
|
|
45367
|
-
/**
|
|
45368
|
-
* It indicates whether the property grid is loading.
|
|
45369
|
-
* This parameter has to have isAsync set to true to use.
|
|
45370
|
-
*/
|
|
45371
|
-
this.loading = true;
|
|
45372
45226
|
}
|
|
45373
|
-
Object.defineProperty(PropertyGridItemComponent.prototype, "value", {
|
|
45374
|
-
/**
|
|
45375
|
-
* The getter for value/context.
|
|
45376
|
-
*/
|
|
45377
|
-
get: function () {
|
|
45378
|
-
return this.internalValue;
|
|
45379
|
-
},
|
|
45380
|
-
/**
|
|
45381
|
-
* The setter for value/context.
|
|
45382
|
-
*/
|
|
45383
|
-
set: function (input) {
|
|
45384
|
-
if (this.isAsync && this.loading) {
|
|
45385
|
-
this.loading = false;
|
|
45386
|
-
}
|
|
45387
|
-
this.internalValue = input;
|
|
45388
|
-
},
|
|
45389
|
-
enumerable: false,
|
|
45390
|
-
configurable: true
|
|
45391
|
-
});
|
|
45392
45227
|
Object.defineProperty(PropertyGridItemComponent.prototype, "statusClass", {
|
|
45393
45228
|
/**
|
|
45394
45229
|
* Gets the status class to apply to this components value section
|
|
@@ -45420,26 +45255,10 @@
|
|
|
45420
45255
|
enumerable: false,
|
|
45421
45256
|
configurable: true
|
|
45422
45257
|
});
|
|
45423
|
-
PropertyGridItemComponent.prototype.ngOnInit = function () {
|
|
45424
|
-
// Edge case when the data has been assigned before the UI renders,
|
|
45425
|
-
// the functionality to make sure the data is actually loaded.
|
|
45426
|
-
// Basically in this case the set function will be skipped.
|
|
45427
|
-
if (this.isAsync && this.loading && this.value !== undefined) {
|
|
45428
|
-
this.loading = false;
|
|
45429
|
-
}
|
|
45430
|
-
};
|
|
45431
|
-
/**
|
|
45432
|
-
* Give the ability to reset loading.
|
|
45433
|
-
*/
|
|
45434
|
-
PropertyGridItemComponent.prototype.resetLoading = function () {
|
|
45435
|
-
if (!this.loading) {
|
|
45436
|
-
this.loading = true;
|
|
45437
|
-
}
|
|
45438
|
-
};
|
|
45439
45258
|
return PropertyGridItemComponent;
|
|
45440
45259
|
}());
|
|
45441
45260
|
/** @nocollapse */ PropertyGridItemComponent.ɵfac = function PropertyGridItemComponent_Factory(t) { return new (t || PropertyGridItemComponent)(); };
|
|
45442
|
-
/** @nocollapse */ PropertyGridItemComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PropertyGridItemComponent, selectors: [["sme-property-grid-item"]], inputs: { label: "label", value: "value", action: "action", link: "link", tooltip: "tooltip", isExternalLink: "isExternalLink", iconClass: "iconClass", status: "status", columnSpan: "columnSpan"
|
|
45261
|
+
/** @nocollapse */ PropertyGridItemComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PropertyGridItemComponent, selectors: [["sme-property-grid-item"]], inputs: { label: "label", value: "value", action: "action", link: "link", tooltip: "tooltip", isExternalLink: "isExternalLink", iconClass: "iconClass", status: "status", columnSpan: "columnSpan" }, decls: 0, vars: 0, template: function PropertyGridItemComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
45443
45262
|
(function () {
|
|
45444
45263
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PropertyGridItemComponent, [{
|
|
45445
45264
|
type: i0.Component,
|
|
@@ -45465,8 +45284,6 @@
|
|
|
45465
45284
|
type: i0.Input
|
|
45466
45285
|
}], columnSpan: [{
|
|
45467
45286
|
type: i0.Input
|
|
45468
|
-
}], isAsync: [{
|
|
45469
|
-
type: i0.Input
|
|
45470
45287
|
}] });
|
|
45471
45288
|
})();
|
|
45472
45289
|
|
|
@@ -45539,67 +45356,43 @@
|
|
|
45539
45356
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", i0.ɵɵpureFunction2(7, _c4$6, item_r14, i_r15));
|
|
45540
45357
|
}
|
|
45541
45358
|
}
|
|
45542
|
-
function
|
|
45543
|
-
if (rf & 1) {
|
|
45544
|
-
i0.ɵɵelement(0, "sme-loading-wheel", 23);
|
|
45545
|
-
}
|
|
45546
|
-
if (rf & 2) {
|
|
45547
|
-
i0.ɵɵproperty("inline", true)("isBackgroundTransparent", true);
|
|
45548
|
-
}
|
|
45549
|
-
}
|
|
45550
|
-
function PropertyGridComponent_ng_template_6_ng_container_1_ng_container_2_Template(rf, ctx) {
|
|
45359
|
+
function PropertyGridComponent_ng_template_6_ng_container_1_Template(rf, ctx) {
|
|
45551
45360
|
if (rf & 1) {
|
|
45552
45361
|
i0.ɵɵelementContainer(0);
|
|
45553
45362
|
}
|
|
45554
45363
|
}
|
|
45555
|
-
function
|
|
45364
|
+
function PropertyGridComponent_ng_template_6_span_2_Template(rf, ctx) {
|
|
45556
45365
|
if (rf & 1) {
|
|
45557
45366
|
i0.ɵɵelementStart(0, "span");
|
|
45558
45367
|
i0.ɵɵtext(1);
|
|
45559
45368
|
i0.ɵɵelementEnd();
|
|
45560
45369
|
}
|
|
45561
45370
|
if (rf & 2) {
|
|
45562
|
-
var item_r20 = i0.ɵɵnextContext(
|
|
45563
|
-
var
|
|
45371
|
+
var item_r20 = i0.ɵɵnextContext().$implicit;
|
|
45372
|
+
var ctx_r23 = i0.ɵɵnextContext();
|
|
45564
45373
|
i0.ɵɵadvance(1);
|
|
45565
|
-
i0.ɵɵtextInterpolate(
|
|
45374
|
+
i0.ɵɵtextInterpolate(ctx_r23.stringifyValue(item_r20.value));
|
|
45566
45375
|
}
|
|
45567
45376
|
}
|
|
45568
|
-
function
|
|
45377
|
+
function PropertyGridComponent_ng_template_6_Template(rf, ctx) {
|
|
45569
45378
|
if (rf & 1) {
|
|
45570
|
-
i0.ɵɵ
|
|
45571
|
-
i0.ɵɵ
|
|
45572
|
-
i0.ɵɵtemplate(2,
|
|
45573
|
-
i0.ɵɵtemplate(3, PropertyGridComponent_ng_template_6_ng_container_1_span_3_Template, 2, 1, "span", 22);
|
|
45379
|
+
i0.ɵɵelementStart(0, "p", 21);
|
|
45380
|
+
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45381
|
+
i0.ɵɵtemplate(2, PropertyGridComponent_ng_template_6_span_2_Template, 2, 1, "span", 22);
|
|
45574
45382
|
i0.ɵɵelementEnd();
|
|
45575
|
-
i0.ɵɵelementContainerEnd();
|
|
45576
45383
|
}
|
|
45577
45384
|
if (rf & 2) {
|
|
45578
|
-
var
|
|
45579
|
-
var i_r21 =
|
|
45580
|
-
var
|
|
45581
|
-
var ctx_r23 = i0.ɵɵnextContext();
|
|
45385
|
+
var item_r20 = ctx.$implicit;
|
|
45386
|
+
var i_r21 = ctx.index;
|
|
45387
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
45582
45388
|
var _r12 = i0.ɵɵreference(15);
|
|
45583
|
-
i0.ɵɵ
|
|
45584
|
-
i0.ɵɵattribute("aria-labelledby", ctx_r23.idBag.labelSpan + i_r21)("aria-describedby", ctx_r23.idBag.detailsSpan + i_r21);
|
|
45389
|
+
i0.ɵɵattribute("aria-labelledby", ctx_r5.idBag.labelSpan + i_r21)("aria-describedby", ctx_r5.idBag.detailsSpan + i_r21);
|
|
45585
45390
|
i0.ɵɵadvance(1);
|
|
45586
45391
|
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(5, _c4$6, item_r20, i_r21));
|
|
45587
45392
|
i0.ɵɵadvance(1);
|
|
45588
45393
|
i0.ɵɵproperty("ngIf", !item_r20.link && !item_r20.action);
|
|
45589
45394
|
}
|
|
45590
45395
|
}
|
|
45591
|
-
function PropertyGridComponent_ng_template_6_Template(rf, ctx) {
|
|
45592
|
-
if (rf & 1) {
|
|
45593
|
-
i0.ɵɵtemplate(0, PropertyGridComponent_ng_template_6_sme_loading_wheel_0_Template, 1, 2, "sme-loading-wheel", 21);
|
|
45594
|
-
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 4, 8, "ng-container", 22);
|
|
45595
|
-
}
|
|
45596
|
-
if (rf & 2) {
|
|
45597
|
-
var item_r20 = ctx.$implicit;
|
|
45598
|
-
i0.ɵɵproperty("ngIf", item_r20.loading && item_r20.isAsync);
|
|
45599
|
-
i0.ɵɵadvance(1);
|
|
45600
|
-
i0.ɵɵproperty("ngIf", !item_r20.loading || !item_r20.isAsync);
|
|
45601
|
-
}
|
|
45602
|
-
}
|
|
45603
45396
|
function PropertyGridComponent_ng_template_8_ng_container_1_Template(rf, ctx) {
|
|
45604
45397
|
if (rf & 1) {
|
|
45605
45398
|
i0.ɵɵelementContainer(0);
|
|
@@ -45609,23 +45402,23 @@
|
|
|
45609
45402
|
if (rf & 1) {
|
|
45610
45403
|
i0.ɵɵelementStart(0, "p");
|
|
45611
45404
|
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45612
|
-
i0.ɵɵelementStart(2, "a",
|
|
45613
|
-
i0.ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { var
|
|
45405
|
+
i0.ɵɵelementStart(2, "a", 23);
|
|
45406
|
+
i0.ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { var item_r25 = ctx.$implicit; return item_r25.action(item_r25); });
|
|
45614
45407
|
i0.ɵɵtext(3);
|
|
45615
45408
|
i0.ɵɵelementEnd();
|
|
45616
45409
|
i0.ɵɵelementEnd();
|
|
45617
45410
|
}
|
|
45618
45411
|
if (rf & 2) {
|
|
45619
|
-
var
|
|
45620
|
-
var
|
|
45412
|
+
var item_r25 = ctx.$implicit;
|
|
45413
|
+
var i_r26 = ctx.index;
|
|
45621
45414
|
var ctx_r7 = i0.ɵɵnextContext();
|
|
45622
45415
|
var _r12 = i0.ɵɵreference(15);
|
|
45623
45416
|
i0.ɵɵadvance(1);
|
|
45624
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(5, _c4$6,
|
|
45417
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(5, _c4$6, item_r25, i_r26));
|
|
45625
45418
|
i0.ɵɵadvance(1);
|
|
45626
|
-
i0.ɵɵattribute("aria-labelledby", ctx_r7.idBag.labelSpan +
|
|
45419
|
+
i0.ɵɵattribute("aria-labelledby", ctx_r7.idBag.labelSpan + i_r26 + " " + (ctx_r7.idBag.valueSpan + i_r26))("aria-describedby", ctx_r7.idBag.detailsSpan + i_r26);
|
|
45627
45420
|
i0.ɵɵadvance(1);
|
|
45628
|
-
i0.ɵɵtextInterpolate(
|
|
45421
|
+
i0.ɵɵtextInterpolate(item_r25.value);
|
|
45629
45422
|
}
|
|
45630
45423
|
}
|
|
45631
45424
|
function PropertyGridComponent_ng_template_10_ng_container_1_Template(rf, ctx) {
|
|
@@ -45637,23 +45430,23 @@
|
|
|
45637
45430
|
if (rf & 1) {
|
|
45638
45431
|
i0.ɵɵelementStart(0, "p");
|
|
45639
45432
|
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45640
|
-
i0.ɵɵelementStart(2, "a",
|
|
45433
|
+
i0.ɵɵelementStart(2, "a", 24);
|
|
45641
45434
|
i0.ɵɵtext(3);
|
|
45642
45435
|
i0.ɵɵelementEnd();
|
|
45643
45436
|
i0.ɵɵelementEnd();
|
|
45644
45437
|
}
|
|
45645
45438
|
if (rf & 2) {
|
|
45646
|
-
var
|
|
45647
|
-
var
|
|
45439
|
+
var item_r29 = ctx.$implicit;
|
|
45440
|
+
var i_r30 = ctx.index;
|
|
45648
45441
|
var ctx_r9 = i0.ɵɵnextContext();
|
|
45649
45442
|
var _r12 = i0.ɵɵreference(15);
|
|
45650
45443
|
i0.ɵɵadvance(1);
|
|
45651
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6,
|
|
45444
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6, item_r29, i_r30));
|
|
45652
45445
|
i0.ɵɵadvance(1);
|
|
45653
|
-
i0.ɵɵproperty("routerLink",
|
|
45654
|
-
i0.ɵɵattribute("aria-labelledby", ctx_r9.idBag.labelSpan +
|
|
45446
|
+
i0.ɵɵproperty("routerLink", item_r29.link);
|
|
45447
|
+
i0.ɵɵattribute("aria-labelledby", ctx_r9.idBag.labelSpan + i_r30 + " " + (ctx_r9.idBag.valueSpan + i_r30))("aria-describedby", ctx_r9.idBag.detailsSpan + i_r30);
|
|
45655
45448
|
i0.ɵɵadvance(1);
|
|
45656
|
-
i0.ɵɵtextInterpolate(
|
|
45449
|
+
i0.ɵɵtextInterpolate(item_r29.value);
|
|
45657
45450
|
}
|
|
45658
45451
|
}
|
|
45659
45452
|
function PropertyGridComponent_ng_template_12_ng_container_1_Template(rf, ctx) {
|
|
@@ -45665,26 +45458,26 @@
|
|
|
45665
45458
|
if (rf & 1) {
|
|
45666
45459
|
i0.ɵɵelementStart(0, "p");
|
|
45667
45460
|
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45668
|
-
i0.ɵɵelementStart(2, "a",
|
|
45461
|
+
i0.ɵɵelementStart(2, "a", 25);
|
|
45669
45462
|
i0.ɵɵelementStart(3, "span");
|
|
45670
45463
|
i0.ɵɵtext(4);
|
|
45671
45464
|
i0.ɵɵelementEnd();
|
|
45672
|
-
i0.ɵɵelement(5, "span",
|
|
45465
|
+
i0.ɵɵelement(5, "span", 26);
|
|
45673
45466
|
i0.ɵɵelementEnd();
|
|
45674
45467
|
i0.ɵɵelementEnd();
|
|
45675
45468
|
}
|
|
45676
45469
|
if (rf & 2) {
|
|
45677
|
-
var
|
|
45678
|
-
var
|
|
45470
|
+
var item_r32 = ctx.$implicit;
|
|
45471
|
+
var i_r33 = ctx.index;
|
|
45679
45472
|
var ctx_r11 = i0.ɵɵnextContext();
|
|
45680
45473
|
var _r12 = i0.ɵɵreference(15);
|
|
45681
45474
|
i0.ɵɵadvance(1);
|
|
45682
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6,
|
|
45475
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r12)("ngTemplateOutletContext", i0.ɵɵpureFunction2(6, _c4$6, item_r32, i_r33));
|
|
45683
45476
|
i0.ɵɵadvance(1);
|
|
45684
|
-
i0.ɵɵproperty("href",
|
|
45685
|
-
i0.ɵɵattribute("aria-labelledby", ctx_r11.idBag.labelSpan +
|
|
45477
|
+
i0.ɵɵproperty("href", item_r32.link, i0.ɵɵsanitizeUrl);
|
|
45478
|
+
i0.ɵɵattribute("aria-labelledby", ctx_r11.idBag.labelSpan + i_r33 + " " + (ctx_r11.idBag.valueSpan + i_r33))("aria-describedby", ctx_r11.idBag.detailsSpan + i_r33);
|
|
45686
45479
|
i0.ɵɵadvance(2);
|
|
45687
|
-
i0.ɵɵtextInterpolate(
|
|
45480
|
+
i0.ɵɵtextInterpolate(item_r32.value);
|
|
45688
45481
|
}
|
|
45689
45482
|
}
|
|
45690
45483
|
function PropertyGridComponent_ng_template_14_span_0_Template(rf, ctx) {
|
|
@@ -45692,29 +45485,29 @@
|
|
|
45692
45485
|
i0.ɵɵelement(0, "span");
|
|
45693
45486
|
}
|
|
45694
45487
|
if (rf & 2) {
|
|
45695
|
-
var
|
|
45696
|
-
i0.ɵɵclassMapInterpolate1("sme-margin-right-xs sme-icon ",
|
|
45488
|
+
var item_r35 = i0.ɵɵnextContext().$implicit;
|
|
45489
|
+
i0.ɵɵclassMapInterpolate1("sme-margin-right-xs sme-icon ", item_r35.iconClass, "");
|
|
45697
45490
|
}
|
|
45698
45491
|
}
|
|
45699
45492
|
function PropertyGridComponent_ng_template_14_sme_status_icon_1_Template(rf, ctx) {
|
|
45700
45493
|
if (rf & 1) {
|
|
45701
|
-
i0.ɵɵelement(0, "sme-status-icon",
|
|
45494
|
+
i0.ɵɵelement(0, "sme-status-icon", 29);
|
|
45702
45495
|
}
|
|
45703
45496
|
if (rf & 2) {
|
|
45704
|
-
var
|
|
45705
|
-
i0.ɵɵproperty("status",
|
|
45497
|
+
var item_r35 = i0.ɵɵnextContext().$implicit;
|
|
45498
|
+
i0.ɵɵproperty("status", item_r35.status);
|
|
45706
45499
|
}
|
|
45707
45500
|
}
|
|
45708
45501
|
function PropertyGridComponent_ng_template_14_Template(rf, ctx) {
|
|
45709
45502
|
if (rf & 1) {
|
|
45710
|
-
i0.ɵɵtemplate(0, PropertyGridComponent_ng_template_14_span_0_Template, 1, 3, "span",
|
|
45711
|
-
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_14_sme_status_icon_1_Template, 1, 1, "sme-status-icon",
|
|
45503
|
+
i0.ɵɵtemplate(0, PropertyGridComponent_ng_template_14_span_0_Template, 1, 3, "span", 27);
|
|
45504
|
+
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_14_sme_status_icon_1_Template, 1, 1, "sme-status-icon", 28);
|
|
45712
45505
|
}
|
|
45713
45506
|
if (rf & 2) {
|
|
45714
|
-
var
|
|
45715
|
-
i0.ɵɵproperty("ngIf", !!
|
|
45507
|
+
var item_r35 = ctx.$implicit;
|
|
45508
|
+
i0.ɵɵproperty("ngIf", !!item_r35.iconClass);
|
|
45716
45509
|
i0.ɵɵadvance(1);
|
|
45717
|
-
i0.ɵɵproperty("ngIf",
|
|
45510
|
+
i0.ɵɵproperty("ngIf", item_r35.status !== null && !item_r35.iconClass);
|
|
45718
45511
|
}
|
|
45719
45512
|
}
|
|
45720
45513
|
/**
|
|
@@ -45760,7 +45553,7 @@
|
|
|
45760
45553
|
*/
|
|
45761
45554
|
_this.layoutItemWidth = 300;
|
|
45762
45555
|
/**
|
|
45763
|
-
* The
|
|
45556
|
+
* The source name to use for logging
|
|
45764
45557
|
*/
|
|
45765
45558
|
_this.orientation = 'horizontal';
|
|
45766
45559
|
/**
|
|
@@ -45872,7 +45665,7 @@
|
|
|
45872
45665
|
}
|
|
45873
45666
|
}, inputs: { orientation: "orientation" }, outputs: { layoutChanged: "layoutChanged" }, features: [i0.ɵɵProvidersFeature([
|
|
45874
45667
|
{ provide: SME_LAYOUT_PROVIDER, useExisting: i0.forwardRef((function () { return PropertyGridComponent; })) }
|
|
45875
|
-
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 16, vars: 6, consts: [[1, "sme-position-inset-none", "sme-position-stretch-h", 3, "padLastItem"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "medium", 3, "until", "columns", 4, "ngIf"], ["name", "wide", 3, "columns", 4, "ngIf"], [3, "columnSpan", "maxWidth", 4, "ngFor", "ngForOf"], ["readonlyTemplate", ""], ["actionLinkTemplate", ""], ["internalLinkTemplate", ""], ["externalLinkTemplate", ""], ["iconTemplate", ""], ["name", "medium", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "maxWidth"], ["
|
|
45668
|
+
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 16, vars: 6, consts: [[1, "sme-position-inset-none", "sme-position-stretch-h", 3, "padLastItem"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "medium", 3, "until", "columns", 4, "ngIf"], ["name", "wide", 3, "columns", 4, "ngIf"], [3, "columnSpan", "maxWidth", 4, "ngFor", "ngForOf"], ["readonlyTemplate", ""], ["actionLinkTemplate", ""], ["internalLinkTemplate", ""], ["externalLinkTemplate", ""], ["iconTemplate", ""], ["name", "medium", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "maxWidth"], ["smeTooltipZone", "", 1, "sme-property-grid-item"], ["zone", "smeTooltipZone"], [1, "sme-arrange-stack-h"], ["class", "sme-position-flex-none sme-icon sme-icon-info sme-info-bubble sme-margin-left-xs", "aria-hidden", "true", 3, "title", "tooltipZone", 4, "ngIf"], [1, "sme-screen-reader"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["aria-hidden", "true", 1, "sme-position-flex-none", "sme-icon", "sme-icon-info", "sme-info-bubble", "sme-margin-left-xs", 3, "title", "tooltipZone"], [1, "read-only-template"], [4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-link", "sme-focus-zone", "action-link-template", 3, "click"], ["role", "link", 1, "sme-link", "sme-focus-zone", 3, "routerLink"], ["role", "link", "target", "_blank", 1, "sme-link", "sme-focus-zone", 3, "href"], [1, "sme-icon", "sme-icon-openInNewWindow", "sme-margin-left-xs"], [3, "class", 4, "ngIf"], ["class", "sme-layout-inline-block sme-margin-right-xs ", "size", "16px", 3, "status", 4, "ngIf"], ["size", "16px", 1, "sme-layout-inline-block", "sme-margin-right-xs", 3, "status"]], template: function PropertyGridComponent_Template(rf, ctx) {
|
|
45876
45669
|
if (rf & 1) {
|
|
45877
45670
|
i0.ɵɵelementStart(0, "sme-layout", 0, 1);
|
|
45878
45671
|
i0.ɵɵelement(2, "sme-layout-definition", 2);
|
|
@@ -45880,7 +45673,7 @@
|
|
|
45880
45673
|
i0.ɵɵtemplate(4, PropertyGridComponent_sme_layout_definition_4_Template, 1, 1, "sme-layout-definition", 4);
|
|
45881
45674
|
i0.ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template, 10, 10, "sme-layout-item", 5);
|
|
45882
45675
|
i0.ɵɵelementEnd();
|
|
45883
|
-
i0.ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template,
|
|
45676
|
+
i0.ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template, 3, 8, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
45884
45677
|
i0.ɵɵtemplate(8, PropertyGridComponent_ng_template_8_Template, 4, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
45885
45678
|
i0.ɵɵtemplate(10, PropertyGridComponent_ng_template_10_Template, 4, 9, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
45886
45679
|
i0.ɵɵtemplate(12, PropertyGridComponent_ng_template_12_Template, 6, 9, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
@@ -45897,7 +45690,11 @@
|
|
|
45897
45690
|
i0.ɵɵadvance(1);
|
|
45898
45691
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
45899
45692
|
}
|
|
45900
|
-
}, directives: [LayoutComponent, LayoutDefinitionComponent, i1$1.NgIf, i1$1.NgForOf, LayoutItemComponent, TooltipZoneDirective, i1$1.NgTemplateOutlet, TooltipDirective,
|
|
45693
|
+
}, directives: [LayoutComponent, LayoutDefinitionComponent, i1$1.NgIf, i1$1.NgForOf, LayoutItemComponent, TooltipZoneDirective, i1$1.NgTemplateOutlet, TooltipDirective, i1.RouterLinkWithHref, StatusIconComponent], encapsulation: 2 });
|
|
45694
|
+
__decorate([
|
|
45695
|
+
SmeInject(i0.ChangeDetectorRef),
|
|
45696
|
+
__metadata("design:type", i0.ChangeDetectorRef)
|
|
45697
|
+
], PropertyGridComponent.prototype, "changeDetector", void 0);
|
|
45901
45698
|
(function () {
|
|
45902
45699
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PropertyGridComponent, [{
|
|
45903
45700
|
type: i0.Component,
|
|
@@ -45936,7 +45733,7 @@
|
|
|
45936
45733
|
type: i0.Input
|
|
45937
45734
|
}], layoutChanged: [{
|
|
45938
45735
|
type: i0.Output
|
|
45939
|
-
}] });
|
|
45736
|
+
}], changeDetector: [] });
|
|
45940
45737
|
})();
|
|
45941
45738
|
|
|
45942
45739
|
var PropertyGridModule = /** @class */ (function () {
|
|
@@ -45950,7 +45747,6 @@
|
|
|
45950
45747
|
i1.RouterModule,
|
|
45951
45748
|
i1$1.CommonModule,
|
|
45952
45749
|
LayoutModule,
|
|
45953
|
-
LoadingWheelModule,
|
|
45954
45750
|
IconModule,
|
|
45955
45751
|
TooltipModule
|
|
45956
45752
|
]] });
|
|
@@ -45959,7 +45755,6 @@
|
|
|
45959
45755
|
PropertyGridItemComponent], imports: [i1.RouterModule,
|
|
45960
45756
|
i1$1.CommonModule,
|
|
45961
45757
|
LayoutModule,
|
|
45962
|
-
LoadingWheelModule,
|
|
45963
45758
|
IconModule,
|
|
45964
45759
|
TooltipModule], exports: [PropertyGridComponent,
|
|
45965
45760
|
PropertyGridItemComponent] });
|
|
@@ -45980,7 +45775,6 @@
|
|
|
45980
45775
|
i1.RouterModule,
|
|
45981
45776
|
i1$1.CommonModule,
|
|
45982
45777
|
LayoutModule,
|
|
45983
|
-
LoadingWheelModule,
|
|
45984
45778
|
IconModule,
|
|
45985
45779
|
TooltipModule
|
|
45986
45780
|
]
|
|
@@ -50496,51 +50290,21 @@
|
|
|
50496
50290
|
}], function () { return [{ type: i1.Router }]; }, null);
|
|
50497
50291
|
})();
|
|
50498
50292
|
|
|
50499
|
-
function SettingsComponent_div_1_span_3_Template(rf, ctx) {
|
|
50500
|
-
if (rf & 1) {
|
|
50501
|
-
i0.ɵɵelementStart(0, "span", 12);
|
|
50502
|
-
i0.ɵɵtext(1);
|
|
50503
|
-
i0.ɵɵelementEnd();
|
|
50504
|
-
}
|
|
50505
|
-
if (rf & 2) {
|
|
50506
|
-
var ctx_r2 = i0.ɵɵnextContext(2);
|
|
50507
|
-
i0.ɵɵadvance(1);
|
|
50508
|
-
i0.ɵɵtextInterpolate(ctx_r2.headerSeparator);
|
|
50509
|
-
}
|
|
50510
|
-
}
|
|
50511
|
-
function SettingsComponent_div_1_span_4_Template(rf, ctx) {
|
|
50512
|
-
if (rf & 1) {
|
|
50513
|
-
i0.ɵɵelementStart(0, "span", 13);
|
|
50514
|
-
i0.ɵɵtext(1);
|
|
50515
|
-
i0.ɵɵelementEnd();
|
|
50516
|
-
}
|
|
50517
|
-
if (rf & 2) {
|
|
50518
|
-
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
50519
|
-
i0.ɵɵadvance(1);
|
|
50520
|
-
i0.ɵɵtextInterpolate(ctx_r3.selectedSettingsTitle);
|
|
50521
|
-
}
|
|
50522
|
-
}
|
|
50523
50293
|
function SettingsComponent_div_1_Template(rf, ctx) {
|
|
50524
50294
|
if (rf & 1) {
|
|
50525
50295
|
i0.ɵɵelementStart(0, "div", 8);
|
|
50526
50296
|
i0.ɵɵelementStart(1, "h2", 9);
|
|
50527
50297
|
i0.ɵɵtext(2);
|
|
50528
|
-
i0.ɵɵtemplate(3, SettingsComponent_div_1_span_3_Template, 2, 1, "span", 10);
|
|
50529
|
-
i0.ɵɵtemplate(4, SettingsComponent_div_1_span_4_Template, 2, 1, "span", 11);
|
|
50530
50298
|
i0.ɵɵelementEnd();
|
|
50531
50299
|
i0.ɵɵelementEnd();
|
|
50532
50300
|
}
|
|
50533
50301
|
if (rf & 2) {
|
|
50534
50302
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
50535
50303
|
i0.ɵɵadvance(1);
|
|
50536
|
-
i0.ɵɵproperty("title", ctx_r0.
|
|
50537
|
-
i0.ɵɵattribute("aria-label", ctx_r0.
|
|
50538
|
-
i0.ɵɵadvance(1);
|
|
50539
|
-
i0.ɵɵtextInterpolate1("", ctx_r0.settingsTitle, " ");
|
|
50540
|
-
i0.ɵɵadvance(1);
|
|
50541
|
-
i0.ɵɵproperty("ngIf", ctx_r0.selectedSettingsTitle);
|
|
50304
|
+
i0.ɵɵproperty("title", ctx_r0.settingsTitle);
|
|
50305
|
+
i0.ɵɵattribute("aria-label", ctx_r0.settingsTitle);
|
|
50542
50306
|
i0.ɵɵadvance(1);
|
|
50543
|
-
i0.ɵɵ
|
|
50307
|
+
i0.ɵɵtextInterpolate(ctx_r0.settingsTitle);
|
|
50544
50308
|
}
|
|
50545
50309
|
}
|
|
50546
50310
|
var _c0$1u = [[["sme-settings-navigation"]], [["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
@@ -50578,10 +50342,6 @@
|
|
|
50578
50342
|
var _this = _super.call(this, injector) || this;
|
|
50579
50343
|
_this.allForms = [];
|
|
50580
50344
|
_this.autoFocus = true;
|
|
50581
|
-
/**
|
|
50582
|
-
* Separator used in sticky header on top of Settings page
|
|
50583
|
-
*/
|
|
50584
|
-
_this.headerSeparator = '|';
|
|
50585
50345
|
return _this;
|
|
50586
50346
|
}
|
|
50587
50347
|
Object.defineProperty(SettingsComponent.prototype, "logSourceName", {
|
|
@@ -50606,7 +50366,6 @@
|
|
|
50606
50366
|
// If we have a new form, it means the user navigated so we reset the autofocus
|
|
50607
50367
|
_this.autoFocus = true;
|
|
50608
50368
|
}), this.settingsForms.formRemoved().subscribe(function (form) { MsftSme.remove(_this.allForms, form); }));
|
|
50609
|
-
this.fullSettingsTitle = this.settingsTitle;
|
|
50610
50369
|
};
|
|
50611
50370
|
SettingsComponent.prototype.ngOnDestroy = function () {
|
|
50612
50371
|
_super.prototype.ngOnDestroy.call(this);
|
|
@@ -50661,14 +50420,6 @@
|
|
|
50661
50420
|
return this.addPadding = this.layoutComponent.currentLayoutDefinition.name === 'narrow';
|
|
50662
50421
|
}
|
|
50663
50422
|
};
|
|
50664
|
-
/**
|
|
50665
|
-
* Update this.settingsTitle (header of the setting page) to newly selected setting item
|
|
50666
|
-
*/
|
|
50667
|
-
SettingsComponent.prototype.updateSelectedSettingTitle = function (newSelectedSettingTitle) {
|
|
50668
|
-
this.selectedSettingsTitle = newSelectedSettingTitle;
|
|
50669
|
-
var fullSettingsTitlePostFix = this.selectedSettingsTitle ? this.headerSeparator + ' ' + this.selectedSettingsTitle : '';
|
|
50670
|
-
this.fullSettingsTitle = this.settingsTitle + ' ' + fullSettingsTitlePostFix;
|
|
50671
|
-
};
|
|
50672
50423
|
return SettingsComponent;
|
|
50673
50424
|
}(CoreBaseComponent));
|
|
50674
50425
|
/** @nocollapse */ SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
@@ -50680,11 +50431,11 @@
|
|
|
50680
50431
|
var _t = void 0;
|
|
50681
50432
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.layoutComponent = _t.first);
|
|
50682
50433
|
}
|
|
50683
|
-
}, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle"
|
|
50434
|
+
}, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$O, decls: 12, vars: 8, consts: [[1, "sme-arrange-stack-v", "sme-layout-relative", "sme-arrange-overflow-auto-y", "sme-position-stretch"], ["class", " sme-layout-tool-header sme-position-flex-none sme-arrange-ellipsis", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-arrange-overflow-auto", 3, "padLastItem", "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan"], [3, "columnSpan", "ngClass"], [1, "sme-layout-tool-header", "sme-position-flex-none", "sme-arrange-ellipsis"], [1, "sme-font-h3", 3, "title"]], template: function SettingsComponent_Template(rf, ctx) {
|
|
50684
50435
|
if (rf & 1) {
|
|
50685
50436
|
i0.ɵɵprojectionDef(_c0$1u);
|
|
50686
50437
|
i0.ɵɵelementStart(0, "div", 0);
|
|
50687
|
-
i0.ɵɵtemplate(1, SettingsComponent_div_1_Template,
|
|
50438
|
+
i0.ɵɵtemplate(1, SettingsComponent_div_1_Template, 3, 3, "div", 1);
|
|
50688
50439
|
i0.ɵɵelementStart(2, "sme-layout", 2, 3);
|
|
50689
50440
|
i0.ɵɵlistener("layoutChanged", function SettingsComponent_Template_sme_layout_layoutChanged_2_listener() { return ctx.isPaddingRequired(); });
|
|
50690
50441
|
i0.ɵɵelement(4, "sme-layout-definition", 4);
|
|
@@ -50701,7 +50452,6 @@
|
|
|
50701
50452
|
i0.ɵɵelementEnd();
|
|
50702
50453
|
}
|
|
50703
50454
|
if (rf & 2) {
|
|
50704
|
-
var _r1 = i0.ɵɵreference(3);
|
|
50705
50455
|
i0.ɵɵadvance(1);
|
|
50706
50456
|
i0.ɵɵproperty("ngIf", ctx.settingsTitle);
|
|
50707
50457
|
i0.ɵɵadvance(1);
|
|
@@ -50709,9 +50459,9 @@
|
|
|
50709
50459
|
i0.ɵɵadvance(2);
|
|
50710
50460
|
i0.ɵɵproperty("until", 800)("columns", 1);
|
|
50711
50461
|
i0.ɵɵadvance(1);
|
|
50712
|
-
i0.ɵɵproperty("columns", 5)
|
|
50462
|
+
i0.ɵɵproperty("columns", 5);
|
|
50713
50463
|
i0.ɵɵadvance(1);
|
|
50714
|
-
i0.ɵɵproperty("columnSpan", 1)
|
|
50464
|
+
i0.ɵɵproperty("columnSpan", 1);
|
|
50715
50465
|
i0.ɵɵadvance(2);
|
|
50716
50466
|
i0.ɵɵproperty("columnSpan", 4)("ngClass", ctx.addPadding ? "sme-position-stretch sme-padding-left-xl" : "sme-position-stretch");
|
|
50717
50467
|
}
|
|
@@ -50735,8 +50485,6 @@
|
|
|
50735
50485
|
type: i0.Input
|
|
50736
50486
|
}], settingsTitle: [{
|
|
50737
50487
|
type: i0.Input
|
|
50738
|
-
}], selectedSettingsTitle: [{
|
|
50739
|
-
type: i0.Input
|
|
50740
50488
|
}], layoutComponent: [{
|
|
50741
50489
|
type: i0.ViewChild,
|
|
50742
50490
|
args: [LayoutComponent]
|
|
@@ -50773,11 +50521,10 @@
|
|
|
50773
50521
|
}], function () { return [{ type: RpcService }]; }, null);
|
|
50774
50522
|
})();
|
|
50775
50523
|
|
|
50776
|
-
var _c0$1v = ["searchTextBox"];
|
|
50777
50524
|
function CommonSettingsComponent_header_2_Template(rf, ctx) {
|
|
50778
50525
|
if (rf & 1) {
|
|
50779
|
-
i0.ɵɵelementStart(0, "header",
|
|
50780
|
-
i0.ɵɵelementStart(1, "h2",
|
|
50526
|
+
i0.ɵɵelementStart(0, "header", 7);
|
|
50527
|
+
i0.ɵɵelementStart(1, "h2", 8);
|
|
50781
50528
|
i0.ɵɵtext(2);
|
|
50782
50529
|
i0.ɵɵelementEnd();
|
|
50783
50530
|
i0.ɵɵelementEnd();
|
|
@@ -50790,114 +50537,114 @@
|
|
|
50790
50537
|
i0.ɵɵtextInterpolate(ctx_r0.settingsTitle);
|
|
50791
50538
|
}
|
|
50792
50539
|
}
|
|
50793
|
-
function
|
|
50540
|
+
function CommonSettingsComponent_li_6_h3_1_Template(rf, ctx) {
|
|
50794
50541
|
if (rf & 1) {
|
|
50795
|
-
i0.ɵɵelementStart(0, "
|
|
50542
|
+
i0.ɵɵelementStart(0, "h3", 12);
|
|
50796
50543
|
i0.ɵɵtext(1);
|
|
50797
50544
|
i0.ɵɵelementEnd();
|
|
50798
50545
|
}
|
|
50799
50546
|
if (rf & 2) {
|
|
50800
|
-
var
|
|
50801
|
-
var
|
|
50802
|
-
var
|
|
50803
|
-
var
|
|
50804
|
-
i0.ɵɵproperty("id",
|
|
50547
|
+
var ctx_r8 = i0.ɵɵnextContext();
|
|
50548
|
+
var j_r5 = ctx_r8.index;
|
|
50549
|
+
var group_r4 = ctx_r8.$implicit;
|
|
50550
|
+
var ctx_r6 = i0.ɵɵnextContext();
|
|
50551
|
+
i0.ɵɵproperty("id", ctx_r6.idBag.group + "-" + j_r5)("title", group_r4.group);
|
|
50805
50552
|
i0.ɵɵadvance(1);
|
|
50806
|
-
i0.ɵɵtextInterpolate(
|
|
50553
|
+
i0.ɵɵtextInterpolate(group_r4.group);
|
|
50807
50554
|
}
|
|
50808
50555
|
}
|
|
50809
|
-
function
|
|
50556
|
+
function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) {
|
|
50810
50557
|
if (rf & 1) {
|
|
50811
|
-
var
|
|
50812
|
-
i0.ɵɵelementStart(0, "a",
|
|
50813
|
-
i0.ɵɵlistener("smeRouterLinkActivated", function
|
|
50814
|
-
i0.ɵɵelement(1, "div",
|
|
50815
|
-
i0.ɵɵelementStart(2, "div",
|
|
50816
|
-
i0.ɵɵelementStart(3, "span",
|
|
50558
|
+
var _r12_1 = i0.ɵɵgetCurrentView();
|
|
50559
|
+
i0.ɵɵelementStart(0, "a", 13);
|
|
50560
|
+
i0.ɵɵlistener("smeRouterLinkActivated", function CommonSettingsComponent_li_6_a_2_Template_a_smeRouterLinkActivated_0_listener() { i0.ɵɵrestoreView(_r12_1); var setting_r9 = ctx.$implicit; var ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.selectedSetting = setting_r9; });
|
|
50561
|
+
i0.ɵɵelement(1, "div", 14);
|
|
50562
|
+
i0.ɵɵelementStart(2, "div", 15);
|
|
50563
|
+
i0.ɵɵelementStart(3, "span", 16);
|
|
50817
50564
|
i0.ɵɵtext(4);
|
|
50818
50565
|
i0.ɵɵelementEnd();
|
|
50819
50566
|
i0.ɵɵelementEnd();
|
|
50820
50567
|
i0.ɵɵelementEnd();
|
|
50821
50568
|
}
|
|
50822
50569
|
if (rf & 2) {
|
|
50823
|
-
var
|
|
50824
|
-
var
|
|
50825
|
-
var
|
|
50826
|
-
var
|
|
50827
|
-
i0.ɵɵattributeInterpolate5("aria-labelledby", "",
|
|
50828
|
-
i0.ɵɵproperty("routerLink",
|
|
50829
|
-
i0.ɵɵattribute("aria-selected",
|
|
50570
|
+
var setting_r9 = ctx.$implicit;
|
|
50571
|
+
var i_r10 = ctx.index;
|
|
50572
|
+
var j_r5 = i0.ɵɵnextContext().index;
|
|
50573
|
+
var ctx_r7 = i0.ɵɵnextContext();
|
|
50574
|
+
i0.ɵɵattributeInterpolate5("aria-labelledby", "", ctx_r7.idBag.option, "-", j_r5, "-", i_r10, " ", ctx_r7.idBag.group, "-", j_r5, "");
|
|
50575
|
+
i0.ɵɵproperty("routerLink", setting_r9.routeParams.commands)("preserveFragment", setting_r9.routeParams.extras && setting_r9.routeParams.extras.preserveFragment)("skipLocationChange", setting_r9.routeParams.extras && setting_r9.routeParams.extras.skipLocationChange)("replaceUrl", setting_r9.routeParams.extras && setting_r9.routeParams.extras.replaceUrl)("queryParams", setting_r9.routeParams.extras && setting_r9.routeParams.extras.queryParams)("title", setting_r9.label);
|
|
50576
|
+
i0.ɵɵattribute("aria-selected", ctx_r7.selectedSetting === setting_r9);
|
|
50830
50577
|
i0.ɵɵadvance(1);
|
|
50831
|
-
i0.ɵɵproperty("ngClass",
|
|
50578
|
+
i0.ɵɵproperty("ngClass", ctx_r7.getSmeIconClass(setting_r9));
|
|
50832
50579
|
i0.ɵɵadvance(2);
|
|
50833
|
-
i0.ɵɵclassProp("sme-dirty", !!(
|
|
50834
|
-
i0.ɵɵproperty("id",
|
|
50580
|
+
i0.ɵɵclassProp("sme-dirty", !!(setting_r9.form && setting_r9.form.dirty))("sme-pristine", !(setting_r9.form && setting_r9.form.dirty));
|
|
50581
|
+
i0.ɵɵproperty("id", ctx_r7.idBag.option + "-" + j_r5 + "-" + i_r10);
|
|
50835
50582
|
i0.ɵɵadvance(1);
|
|
50836
|
-
i0.ɵɵtextInterpolate(
|
|
50583
|
+
i0.ɵɵtextInterpolate(setting_r9.label);
|
|
50837
50584
|
}
|
|
50838
50585
|
}
|
|
50839
|
-
function
|
|
50586
|
+
function CommonSettingsComponent_li_6_Template(rf, ctx) {
|
|
50840
50587
|
if (rf & 1) {
|
|
50841
|
-
i0.ɵɵelementStart(0, "li",
|
|
50842
|
-
i0.ɵɵtemplate(1,
|
|
50843
|
-
i0.ɵɵtemplate(2,
|
|
50588
|
+
i0.ɵɵelementStart(0, "li", 9);
|
|
50589
|
+
i0.ɵɵtemplate(1, CommonSettingsComponent_li_6_h3_1_Template, 2, 3, "h3", 10);
|
|
50590
|
+
i0.ɵɵtemplate(2, CommonSettingsComponent_li_6_a_2_Template, 5, 19, "a", 11);
|
|
50844
50591
|
i0.ɵɵelementEnd();
|
|
50845
50592
|
}
|
|
50846
50593
|
if (rf & 2) {
|
|
50847
|
-
var
|
|
50848
|
-
var
|
|
50594
|
+
var group_r4 = ctx.$implicit;
|
|
50595
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
50849
50596
|
i0.ɵɵadvance(1);
|
|
50850
|
-
i0.ɵɵproperty("ngIf",
|
|
50597
|
+
i0.ɵɵproperty("ngIf", group_r4.group !== ctx_r1.defaultGroup);
|
|
50851
50598
|
i0.ɵɵadvance(1);
|
|
50852
|
-
i0.ɵɵproperty("ngForOf",
|
|
50599
|
+
i0.ɵɵproperty("ngForOf", group_r4.options);
|
|
50853
50600
|
}
|
|
50854
50601
|
}
|
|
50855
|
-
function
|
|
50602
|
+
function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) {
|
|
50856
50603
|
if (rf & 1) {
|
|
50857
|
-
var
|
|
50858
|
-
i0.ɵɵelementStart(0, "div",
|
|
50859
|
-
i0.ɵɵlistener("click", function
|
|
50604
|
+
var _r17_1 = i0.ɵɵgetCurrentView();
|
|
50605
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
50606
|
+
i0.ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var layer_r15 = ctx.$implicit; var ctx_r16 = i0.ɵɵnextContext(2); return ctx_r16.onOverlayClick(layer_r15); });
|
|
50860
50607
|
i0.ɵɵelementEnd();
|
|
50861
50608
|
}
|
|
50862
50609
|
}
|
|
50863
|
-
function
|
|
50610
|
+
function CommonSettingsComponent_div_7_Template(rf, ctx) {
|
|
50864
50611
|
if (rf & 1) {
|
|
50865
50612
|
i0.ɵɵelementStart(0, "div");
|
|
50866
|
-
i0.ɵɵtemplate(1,
|
|
50613
|
+
i0.ɵɵtemplate(1, CommonSettingsComponent_div_7_div_1_Template, 1, 0, "div", 17);
|
|
50867
50614
|
i0.ɵɵelementEnd();
|
|
50868
50615
|
}
|
|
50869
50616
|
if (rf & 2) {
|
|
50870
|
-
var
|
|
50617
|
+
var ctx_r2 = i0.ɵɵnextContext();
|
|
50871
50618
|
i0.ɵɵadvance(1);
|
|
50872
|
-
i0.ɵɵproperty("ngForOf",
|
|
50619
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.layers);
|
|
50873
50620
|
}
|
|
50874
50621
|
}
|
|
50875
|
-
function
|
|
50622
|
+
function CommonSettingsComponent_sme_settings_header_8_h3_1_Template(rf, ctx) {
|
|
50876
50623
|
if (rf & 1) {
|
|
50877
|
-
i0.ɵɵelementStart(0, "h3",
|
|
50624
|
+
i0.ɵɵelementStart(0, "h3", 20);
|
|
50878
50625
|
i0.ɵɵtext(1);
|
|
50879
50626
|
i0.ɵɵelementEnd();
|
|
50880
50627
|
}
|
|
50881
50628
|
if (rf & 2) {
|
|
50882
|
-
var
|
|
50883
|
-
i0.ɵɵattribute("aria-label",
|
|
50629
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
50630
|
+
i0.ɵɵattribute("aria-label", ctx_r18.selectedSetting.label);
|
|
50884
50631
|
i0.ɵɵadvance(1);
|
|
50885
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
50632
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r18.selectedSetting.label, "");
|
|
50886
50633
|
}
|
|
50887
50634
|
}
|
|
50888
|
-
function
|
|
50635
|
+
function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) {
|
|
50889
50636
|
if (rf & 1) {
|
|
50890
50637
|
i0.ɵɵelementStart(0, "sme-settings-header");
|
|
50891
|
-
i0.ɵɵtemplate(1,
|
|
50638
|
+
i0.ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_8_h3_1_Template, 2, 2, "h3", 19);
|
|
50892
50639
|
i0.ɵɵelementEnd();
|
|
50893
50640
|
}
|
|
50894
50641
|
if (rf & 2) {
|
|
50895
|
-
var
|
|
50642
|
+
var ctx_r3 = i0.ɵɵnextContext();
|
|
50896
50643
|
i0.ɵɵadvance(1);
|
|
50897
|
-
i0.ɵɵproperty("ngIf", !!
|
|
50644
|
+
i0.ɵɵproperty("ngIf", !!ctx_r3.selectedSetting);
|
|
50898
50645
|
}
|
|
50899
50646
|
}
|
|
50900
|
-
var
|
|
50647
|
+
var _c0$1v = ["*"];
|
|
50901
50648
|
/**
|
|
50902
50649
|
* Container around settings component, handles common settings behavior.
|
|
50903
50650
|
*/
|
|
@@ -50912,24 +50659,11 @@
|
|
|
50912
50659
|
_this.rpcShellService = rpcShellService;
|
|
50913
50660
|
_this.defaultGroup = 'default';
|
|
50914
50661
|
_this.layers = [];
|
|
50915
|
-
/**
|
|
50916
|
-
* Search box related variables
|
|
50917
|
-
*/
|
|
50918
|
-
_this.filter = '';
|
|
50919
|
-
_this.filteredSettings = [];
|
|
50920
50662
|
_this.showHeader = true;
|
|
50921
50663
|
_this.hackShowOverlay = false;
|
|
50922
50664
|
_this.hackToolHeader = false;
|
|
50923
|
-
/**
|
|
50924
|
-
* Controls whether the tab list showing the Settings items is scrollable or not
|
|
50925
|
-
* Default to true. Allowing separate scroll bar for the navbar and the selected Settings.
|
|
50926
|
-
* Set to false for backward compatibility and use previous behavior where there is
|
|
50927
|
-
* only 1 single scroll bar for both navbar and content of the selected Settings item.
|
|
50928
|
-
*/
|
|
50929
|
-
_this.scrollableSecondaryNav = true;
|
|
50930
50665
|
_this.autofocus = true;
|
|
50931
50666
|
_this.combinedForm = new i4.FormGroup({});
|
|
50932
|
-
_this.searchTitle = _this.strings.MsftSmeShell.Angular.searchPlaceHolder;
|
|
50933
50667
|
return _this;
|
|
50934
50668
|
}
|
|
50935
50669
|
Object.defineProperty(CommonSettingsComponent.prototype, "logSourceName", {
|
|
@@ -50996,20 +50730,11 @@
|
|
|
50996
50730
|
this.autofocus = false;
|
|
50997
50731
|
}
|
|
50998
50732
|
}
|
|
50999
|
-
// Setting Title header is managed by child component this.settingsComponent,
|
|
51000
|
-
// after current view and child view has been rendered, pass along the selectedSetting
|
|
51001
|
-
// string if it exists so child view will render the title
|
|
51002
|
-
if (this.selectedSetting) {
|
|
51003
|
-
this.onSmeRouterLinkActivated(this.selectedSetting);
|
|
51004
|
-
}
|
|
51005
50733
|
};
|
|
51006
50734
|
CommonSettingsComponent.prototype.createMenu = function () {
|
|
51007
|
-
// Before creating the Settings menu, filter the Settings menu to only display
|
|
51008
|
-
// items that matches the filter
|
|
51009
|
-
this.filteredSettings = this.filterSetting();
|
|
51010
50735
|
var groupTools = [];
|
|
51011
50736
|
groupTools['default'] = { group: 'default', options: [] };
|
|
51012
|
-
this.
|
|
50737
|
+
this.settings.forEach(function (setting) {
|
|
51013
50738
|
if (!!!setting.group) {
|
|
51014
50739
|
groupTools['default'].options.push(setting);
|
|
51015
50740
|
}
|
|
@@ -51164,87 +50889,38 @@
|
|
|
51164
50889
|
}
|
|
51165
50890
|
return formControl.value;
|
|
51166
50891
|
};
|
|
51167
|
-
/**
|
|
51168
|
-
* Update this.selectedSetting to the newly selected Settings item when user navigate to a new Settings item
|
|
51169
|
-
* Also call the child component this.settingsComponent to update the settingsTitle to reflect the title
|
|
51170
|
-
* of the newly selected Settings item
|
|
51171
|
-
*
|
|
51172
|
-
* @param newSetting The newly selected Settings item
|
|
51173
|
-
*/
|
|
51174
|
-
CommonSettingsComponent.prototype.onSmeRouterLinkActivated = function (newSetting) {
|
|
51175
|
-
this.selectedSetting = newSetting;
|
|
51176
|
-
if (this.settingsComponent) {
|
|
51177
|
-
this.settingsComponent.updateSelectedSettingTitle(newSetting.label);
|
|
51178
|
-
}
|
|
51179
|
-
};
|
|
51180
|
-
/**
|
|
51181
|
-
* Callback function for the search field
|
|
51182
|
-
*/
|
|
51183
|
-
CommonSettingsComponent.prototype.onSearch = function () {
|
|
51184
|
-
var _this = this;
|
|
51185
|
-
this.searchTextBox.searching = true;
|
|
51186
|
-
setTimeout(function () {
|
|
51187
|
-
_this.createMenu();
|
|
51188
|
-
_this.searchTextBox.searching = false;
|
|
51189
|
-
});
|
|
51190
|
-
};
|
|
51191
|
-
/**
|
|
51192
|
-
* Filter out the settings Item based on this.filter string and match the title of Settings Items
|
|
51193
|
-
*/
|
|
51194
|
-
CommonSettingsComponent.prototype.filterSetting = function () {
|
|
51195
|
-
var settings = this.settings;
|
|
51196
|
-
if (!this.filter) {
|
|
51197
|
-
return settings;
|
|
51198
|
-
}
|
|
51199
|
-
var localFilter = this.filter.toLocaleLowerCase();
|
|
51200
|
-
return settings.filter(function (setting) {
|
|
51201
|
-
if (setting.label.toLocaleLowerCase().indexOf(localFilter) > -1) {
|
|
51202
|
-
return true;
|
|
51203
|
-
}
|
|
51204
|
-
return false;
|
|
51205
|
-
});
|
|
51206
|
-
};
|
|
51207
50892
|
return CommonSettingsComponent;
|
|
51208
50893
|
}(CoreBaseComponent));
|
|
51209
50894
|
/** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(SettingsFormService), i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(RpcShellService)); };
|
|
51210
50895
|
/** @nocollapse */ CommonSettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CommonSettingsComponent, selectors: [["sme-common-settings"]], viewQuery: function CommonSettingsComponent_Query(rf, ctx) {
|
|
51211
50896
|
if (rf & 1) {
|
|
51212
|
-
i0.ɵɵviewQuery(_c0$1v, 1);
|
|
51213
50897
|
i0.ɵɵviewQuery(SettingsComponent, 1);
|
|
51214
50898
|
}
|
|
51215
50899
|
if (rf & 2) {
|
|
51216
50900
|
var _t = void 0;
|
|
51217
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchTextBox = _t.first);
|
|
51218
50901
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
|
|
51219
50902
|
}
|
|
51220
|
-
}, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute"
|
|
50903
|
+
}, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1v, decls: 13, vars: 6, consts: [[3, "settingsTitle"], ["class", "sme-layout-tool-header", 4, "ngIf"], ["role", "region"], ["role", "tablist", 1, "sme-padding-horizontal-lg", "sme-arrange-stack-v", "sme-focus-zone"], ["role", "presentation", 1, "sme-position-flex-auto", "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-overflow-auto-y"], ["class", "sme-margin-inset-none", "role", "presentation", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "sme-layout-tool-header"], [1, "sme-position-flex-none", "sme-font-h3"], ["role", "presentation", 1, "sme-margin-inset-none"], ["class", "sme-margin-top-xs sme-font-h5", 3, "id", "title", 4, "ngIf"], ["class", "sme-padding-squish-v-sm sme-arrange-stack-h sme-scheme-nav-item", "role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", "smeRouterLinkActivated", 4, "ngFor", "ngForOf"], [1, "sme-margin-top-xs", "sme-font-h5", 3, "id", "title"], ["role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 1, "sme-padding-squish-v-sm", "sme-arrange-stack-h", "sme-scheme-nav-item", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", "smeRouterLinkActivated"], [1, "sme-icon", "sme-margin-right-xs", 3, "ngClass"], [1, "sme-position-flex-auto"], [3, "id"], ["class", "sme-layout-absolute sme-position-inset-none sme-layer-above sme-scheme-backdrop-opaque", 3, "click", 4, "ngFor", "ngForOf"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-layer-above", "sme-scheme-backdrop-opaque", 3, "click"], ["id", "sme-shell-setting-selectedTitle", 4, "ngIf"], ["id", "sme-shell-setting-selectedTitle"]], template: function CommonSettingsComponent_Template(rf, ctx) {
|
|
51221
50904
|
if (rf & 1) {
|
|
51222
50905
|
i0.ɵɵprojectionDef();
|
|
51223
50906
|
i0.ɵɵelementStart(0, "sme-settings", 0);
|
|
51224
|
-
i0.ɵɵelementStart(1, "sme-settings-navigation"
|
|
51225
|
-
i0.ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header",
|
|
51226
|
-
i0.ɵɵelementStart(3, "div",
|
|
51227
|
-
i0.ɵɵelementStart(4, "
|
|
51228
|
-
i0.ɵɵelementStart(5, "
|
|
51229
|
-
i0.ɵɵ
|
|
51230
|
-
i0.ɵɵlistener("ngModelChange", function CommonSettingsComponent_Template_sme_form_field_ngModelChange_6_listener($event) { return ctx.filter = $event; })("search", function CommonSettingsComponent_Template_sme_form_field_search_6_listener() { return ctx.onSearch(); });
|
|
51231
|
-
i0.ɵɵelementEnd();
|
|
51232
|
-
i0.ɵɵelementEnd();
|
|
51233
|
-
i0.ɵɵelementEnd();
|
|
51234
|
-
i0.ɵɵelementStart(8, "nav", 8);
|
|
51235
|
-
i0.ɵɵelementStart(9, "ul", 9);
|
|
51236
|
-
i0.ɵɵtemplate(10, CommonSettingsComponent_li_10_Template, 3, 2, "li", 10);
|
|
50907
|
+
i0.ɵɵelementStart(1, "sme-settings-navigation");
|
|
50908
|
+
i0.ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header", 1);
|
|
50909
|
+
i0.ɵɵelementStart(3, "div", 2);
|
|
50910
|
+
i0.ɵɵelementStart(4, "nav", 3);
|
|
50911
|
+
i0.ɵɵelementStart(5, "ul", 4);
|
|
50912
|
+
i0.ɵɵtemplate(6, CommonSettingsComponent_li_6_Template, 3, 2, "li", 5);
|
|
51237
50913
|
i0.ɵɵelementEnd();
|
|
51238
50914
|
i0.ɵɵelementEnd();
|
|
51239
50915
|
i0.ɵɵelementEnd();
|
|
51240
|
-
i0.ɵɵtemplate(
|
|
50916
|
+
i0.ɵɵtemplate(7, CommonSettingsComponent_div_7_Template, 2, 1, "div", 6);
|
|
51241
50917
|
i0.ɵɵelementEnd();
|
|
51242
|
-
i0.ɵɵtemplate(
|
|
51243
|
-
i0.ɵɵelementStart(
|
|
51244
|
-
i0.ɵɵelement(
|
|
50918
|
+
i0.ɵɵtemplate(8, CommonSettingsComponent_sme_settings_header_8_Template, 2, 1, "sme-settings-header", 6);
|
|
50919
|
+
i0.ɵɵelementStart(9, "sme-settings-content");
|
|
50920
|
+
i0.ɵɵelement(10, "router-outlet");
|
|
51245
50921
|
i0.ɵɵelementEnd();
|
|
51246
|
-
i0.ɵɵelementStart(
|
|
51247
|
-
i0.ɵɵprojection(
|
|
50922
|
+
i0.ɵɵelementStart(11, "sme-settings-footer");
|
|
50923
|
+
i0.ɵɵprojection(12);
|
|
51248
50924
|
i0.ɵɵelementEnd();
|
|
51249
50925
|
i0.ɵɵelementEnd();
|
|
51250
50926
|
}
|
|
@@ -51255,10 +50931,6 @@
|
|
|
51255
50931
|
i0.ɵɵadvance(1);
|
|
51256
50932
|
i0.ɵɵattribute("aria-label", ctx.settingsTitle);
|
|
51257
50933
|
i0.ɵɵadvance(3);
|
|
51258
|
-
i0.ɵɵproperty("ngModel", ctx.filter)("placeholder", ctx.searchTitle)("autofocus", true)("count", ctx.filteredSettings ? ctx.filteredSettings.length : 0);
|
|
51259
|
-
i0.ɵɵadvance(2);
|
|
51260
|
-
i0.ɵɵproperty("ngClass", ctx.scrollableSecondaryNav ? "sme-position-flex-auto sme-arrange-overflow-auto-y" : "");
|
|
51261
|
-
i0.ɵɵadvance(2);
|
|
51262
50934
|
i0.ɵɵproperty("ngForOf", ctx.groupTools);
|
|
51263
50935
|
i0.ɵɵadvance(1);
|
|
51264
50936
|
i0.ɵɵproperty("ngIf", ctx.hackShowOverlay);
|
|
@@ -51273,10 +50945,7 @@
|
|
|
51273
50945
|
selector: 'sme-common-settings',
|
|
51274
50946
|
templateUrl: './common-settings.component.html'
|
|
51275
50947
|
}]
|
|
51276
|
-
}], function () { return [{ type: i0.Injector }, { type: i1.Router }, { type: SettingsFormService }, { type: i0.IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, {
|
|
51277
|
-
type: i0.ViewChild,
|
|
51278
|
-
args: ['searchTextBox']
|
|
51279
|
-
}], settingsTitle: [{
|
|
50948
|
+
}], function () { return [{ type: i0.Injector }, { type: i1.Router }, { type: SettingsFormService }, { type: i0.IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, { settingsTitle: [{
|
|
51280
50949
|
type: i0.Input
|
|
51281
50950
|
}], settings: [{
|
|
51282
50951
|
type: i0.Input
|
|
@@ -51288,8 +50957,6 @@
|
|
|
51288
50957
|
type: i0.Input
|
|
51289
50958
|
}], backRoute: [{
|
|
51290
50959
|
type: i0.Input
|
|
51291
|
-
}], scrollableSecondaryNav: [{
|
|
51292
|
-
type: i0.Input
|
|
51293
50960
|
}], settingsComponent: [{
|
|
51294
50961
|
type: i0.ViewChild,
|
|
51295
50962
|
args: [SettingsComponent]
|
|
@@ -51297,7 +50964,7 @@
|
|
|
51297
50964
|
})();
|
|
51298
50965
|
|
|
51299
50966
|
var _c0$1w = [[["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
51300
|
-
var _c1$
|
|
50967
|
+
var _c1$P = ["sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
51301
50968
|
var SettingsPageComponent = /** @class */ (function (_super) {
|
|
51302
50969
|
__extends(SettingsPageComponent, _super);
|
|
51303
50970
|
function SettingsPageComponent(injector) {
|
|
@@ -51324,7 +50991,7 @@
|
|
|
51324
50991
|
return SettingsPageComponent;
|
|
51325
50992
|
}(CoreBaseComponent));
|
|
51326
50993
|
/** @nocollapse */ SettingsPageComponent.ɵfac = function SettingsPageComponent_Factory(t) { return new (t || SettingsPageComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
51327
|
-
/** @nocollapse */ SettingsPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$
|
|
50994
|
+
/** @nocollapse */ SettingsPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$P, decls: 3, vars: 0, template: function SettingsPageComponent_Template(rf, ctx) {
|
|
51328
50995
|
if (rf & 1) {
|
|
51329
50996
|
i0.ɵɵprojectionDef(_c0$1w);
|
|
51330
50997
|
i0.ɵɵprojection(0);
|
|
@@ -51614,9 +51281,7 @@
|
|
|
51614
51281
|
i1$1.CommonModule,
|
|
51615
51282
|
HeaderModule,
|
|
51616
51283
|
LayoutModule,
|
|
51617
|
-
TooltipModule
|
|
51618
|
-
i4.FormsModule,
|
|
51619
|
-
SmeFormsModule
|
|
51284
|
+
TooltipModule
|
|
51620
51285
|
]] });
|
|
51621
51286
|
(function () {
|
|
51622
51287
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SettingsModule, { declarations: [SettingsComponent,
|
|
@@ -51631,9 +51296,7 @@
|
|
|
51631
51296
|
i1$1.CommonModule,
|
|
51632
51297
|
HeaderModule,
|
|
51633
51298
|
LayoutModule,
|
|
51634
|
-
TooltipModule,
|
|
51635
|
-
i4.FormsModule,
|
|
51636
|
-
SmeFormsModule], exports: [SettingsComponent,
|
|
51299
|
+
TooltipModule], exports: [SettingsComponent,
|
|
51637
51300
|
SettingsFormDirective,
|
|
51638
51301
|
SettingsFooterComponent,
|
|
51639
51302
|
SettingsHeaderComponent,
|
|
@@ -51652,9 +51315,7 @@
|
|
|
51652
51315
|
i1$1.CommonModule,
|
|
51653
51316
|
HeaderModule,
|
|
51654
51317
|
LayoutModule,
|
|
51655
|
-
TooltipModule
|
|
51656
|
-
i4.FormsModule,
|
|
51657
|
-
SmeFormsModule
|
|
51318
|
+
TooltipModule
|
|
51658
51319
|
],
|
|
51659
51320
|
exports: [
|
|
51660
51321
|
SettingsComponent,
|
|
@@ -51684,7 +51345,7 @@
|
|
|
51684
51345
|
}], null, null);
|
|
51685
51346
|
})();
|
|
51686
51347
|
i0.ɵɵsetComponentScope(CommonSettingsComponent, [SettingsComponent,
|
|
51687
|
-
SettingsNavigationComponent, i1$1.NgIf,
|
|
51348
|
+
SettingsNavigationComponent, i1$1.NgIf, i1$1.NgForOf, TooltipDirective, i1.RouterLinkWithHref, i1.RouterLinkActive, SmeRouterLinkDirective, i1$1.NgClass, SettingsHeaderComponent,
|
|
51688
51349
|
SettingsContentComponent, i1.RouterOutlet, SettingsFooterComponent], []);
|
|
51689
51350
|
|
|
51690
51351
|
// tslint:disable-next-line: directive-class-suffix
|
|
@@ -52378,19 +52039,21 @@
|
|
|
52378
52039
|
i0.ɵɵproperty("ngIf", ctx_r0.isInPreview);
|
|
52379
52040
|
}
|
|
52380
52041
|
}
|
|
52381
|
-
var _c0$1E = function (a0, a1, a2) { return { "sme-wizard-stage-completed": a0, "sme-wizard-stage-clicked": a1, "sme-wizard-stage-active": a2 }; };
|
|
52382
|
-
var _c1$
|
|
52042
|
+
var _c0$1E = function (a0, a1, a2, a3) { return { "sme-wizard-stage-completed": a0, "sme-wizard-stage-clicked": a1, "sme-wizard-stage-active": a2, "sme-disabled": a3 }; };
|
|
52043
|
+
var _c1$Q = function (a0) { return { "sme-icon sme-icon-accept sme-icon-size-xxs": a0 }; };
|
|
52383
52044
|
var _c2$m = function (a0, a1, a2) { return { "sme-font-emphasis1 sme-wizard-stage-active": a0, "sme-wizard-stage-completed": a1, "sme-margin-left-xs": a2 }; };
|
|
52384
|
-
function
|
|
52045
|
+
function WizardComponent_ul_2_li_1_Template(rf, ctx) {
|
|
52385
52046
|
if (rf & 1) {
|
|
52386
52047
|
var _r11_1 = i0.ɵɵgetCurrentView();
|
|
52387
|
-
i0.ɵɵelementStart(0, "
|
|
52388
|
-
i0.ɵɵlistener("click", function
|
|
52389
|
-
i0.ɵɵelementStart(1, "
|
|
52390
|
-
i0.ɵɵ
|
|
52048
|
+
i0.ɵɵelementStart(0, "li", 16);
|
|
52049
|
+
i0.ɵɵlistener("click", function WizardComponent_ul_2_li_1_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r11_1); var val_r9 = ctx.index; var ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.onStageClick(val_r9); });
|
|
52050
|
+
i0.ɵɵelementStart(1, "button", 17);
|
|
52051
|
+
i0.ɵɵelementStart(2, "span", 18);
|
|
52052
|
+
i0.ɵɵtext(3);
|
|
52053
|
+
i0.ɵɵelementEnd();
|
|
52054
|
+
i0.ɵɵelementStart(4, "span", 19);
|
|
52055
|
+
i0.ɵɵtext(5);
|
|
52391
52056
|
i0.ɵɵelementEnd();
|
|
52392
|
-
i0.ɵɵelementStart(3, "span", 18);
|
|
52393
|
-
i0.ɵɵtext(4);
|
|
52394
52057
|
i0.ɵɵelementEnd();
|
|
52395
52058
|
i0.ɵɵelementEnd();
|
|
52396
52059
|
}
|
|
@@ -52398,11 +52061,14 @@
|
|
|
52398
52061
|
var stage_r8 = ctx.$implicit;
|
|
52399
52062
|
var val_r9 = ctx.index;
|
|
52400
52063
|
var ctx_r7 = i0.ɵɵnextContext(2);
|
|
52401
|
-
i0.ɵɵ
|
|
52402
|
-
i0.ɵɵ
|
|
52064
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(17, _c0$1E, stage_r8.completed, val_r9 === ctx_r7.stagesArrayIndex, stage_r8.active, val_r9 !== ctx_r7.stagesArrayIndex));
|
|
52065
|
+
i0.ɵɵattribute("aria-selected", val_r9 === ctx_r7.stagesArrayIndex);
|
|
52066
|
+
i0.ɵɵadvance(1);
|
|
52067
|
+
i0.ɵɵclassProp("sme-active", val_r9 === ctx_r7.stagesArrayIndex)("sme-selected", val_r9 === ctx_r7.stagesArrayIndex)("sme-wizard-stage-focus", val_r9 === ctx_r7.stagesArrayIndex);
|
|
52068
|
+
i0.ɵɵproperty("smeTelemetryDataBlob", ctx_r7.telemetryData)("smeTelemetryId", "wizardStage" + (val_r9 + 1))("disabled", ctx_r7.stageIndexDisabled(stage_r8, val_r9))("smeTelemetryDisableElement", ctx_r7.stageIndexDisabled(stage_r8, val_r9));
|
|
52403
52069
|
i0.ɵɵattribute("aria-label", stage_r8.name);
|
|
52404
52070
|
i0.ɵɵadvance(1);
|
|
52405
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$
|
|
52071
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$Q, stage_r8.completed));
|
|
52406
52072
|
i0.ɵɵadvance(1);
|
|
52407
52073
|
i0.ɵɵtextInterpolate1(" ", !stage_r8.completed ? val_r9 + 1 : "", " ");
|
|
52408
52074
|
i0.ɵɵadvance(1);
|
|
@@ -52411,10 +52077,10 @@
|
|
|
52411
52077
|
i0.ɵɵtextInterpolate1(" ", stage_r8.name, " ");
|
|
52412
52078
|
}
|
|
52413
52079
|
}
|
|
52414
|
-
function
|
|
52080
|
+
function WizardComponent_ul_2_Template(rf, ctx) {
|
|
52415
52081
|
if (rf & 1) {
|
|
52416
|
-
i0.ɵɵelementStart(0, "
|
|
52417
|
-
i0.ɵɵtemplate(1,
|
|
52082
|
+
i0.ɵɵelementStart(0, "ul", 14);
|
|
52083
|
+
i0.ɵɵtemplate(1, WizardComponent_ul_2_li_1_Template, 6, 28, "li", 15);
|
|
52418
52084
|
i0.ɵɵelementEnd();
|
|
52419
52085
|
}
|
|
52420
52086
|
if (rf & 2) {
|
|
@@ -52423,9 +52089,9 @@
|
|
|
52423
52089
|
i0.ɵɵproperty("ngForOf", ctx_r1.stages);
|
|
52424
52090
|
}
|
|
52425
52091
|
}
|
|
52426
|
-
function
|
|
52092
|
+
function WizardComponent_div_4_ul_1_li_1_span_4_Template(rf, ctx) {
|
|
52427
52093
|
if (rf & 1) {
|
|
52428
|
-
i0.ɵɵelementStart(0, "span",
|
|
52094
|
+
i0.ɵɵelementStart(0, "span", 31);
|
|
52429
52095
|
i0.ɵɵtext(1);
|
|
52430
52096
|
i0.ɵɵelementEnd();
|
|
52431
52097
|
}
|
|
@@ -52435,54 +52101,59 @@
|
|
|
52435
52101
|
i0.ɵɵtextInterpolate(step_r14.name);
|
|
52436
52102
|
}
|
|
52437
52103
|
}
|
|
52438
|
-
var _c3$c = function (a0) { return { "sme-
|
|
52439
|
-
function
|
|
52104
|
+
var _c3$c = function (a0) { return { "sme-scheme-nav-list-item sme-active sme-color-base-5": a0 }; };
|
|
52105
|
+
var _c4$8 = function (a0) { return { "sme-step-active": a0 }; };
|
|
52106
|
+
function WizardComponent_div_4_ul_1_li_1_Template(rf, ctx) {
|
|
52440
52107
|
if (rf & 1) {
|
|
52441
52108
|
var _r19_1 = i0.ɵɵgetCurrentView();
|
|
52442
|
-
i0.ɵɵelementStart(0, "
|
|
52443
|
-
i0.ɵɵlistener("click", function
|
|
52444
|
-
i0.ɵɵelementStart(1, "
|
|
52445
|
-
i0.ɵɵ
|
|
52109
|
+
i0.ɵɵelementStart(0, "li", 27);
|
|
52110
|
+
i0.ɵɵlistener("click", function WizardComponent_div_4_ul_1_li_1_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r19_1); var index_r15 = ctx.index; var ctx_r18 = i0.ɵɵnextContext(3); return ctx_r18.onStepClick(index_r15); });
|
|
52111
|
+
i0.ɵɵelementStart(1, "button", 28);
|
|
52112
|
+
i0.ɵɵelementStart(2, "span", 29);
|
|
52113
|
+
i0.ɵɵtext(3);
|
|
52114
|
+
i0.ɵɵelementEnd();
|
|
52115
|
+
i0.ɵɵtemplate(4, WizardComponent_div_4_ul_1_li_1_span_4_Template, 2, 1, "span", 30);
|
|
52446
52116
|
i0.ɵɵelementEnd();
|
|
52447
|
-
i0.ɵɵtemplate(3, WizardComponent_div_4_div_1_button_1_span_3_Template, 2, 1, "span", 28);
|
|
52448
52117
|
i0.ɵɵelementEnd();
|
|
52449
52118
|
}
|
|
52450
52119
|
if (rf & 2) {
|
|
52451
52120
|
var step_r14 = ctx.$implicit;
|
|
52452
52121
|
var index_r15 = ctx.index;
|
|
52453
52122
|
var ctx_r13 = i0.ɵɵnextContext(3);
|
|
52454
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
52455
|
-
i0.ɵɵattribute("aria-label", ctx_r13.isExpanded ? null : step_r14.name);
|
|
52123
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c3$c, index_r15 === ctx_r13.stepIndex))("title", ctx_r13.isExpanded ? null : step_r14.name);
|
|
52124
|
+
i0.ɵɵattribute("aria-selected", index_r15 === ctx_r13.stepIndex)("aria-label", ctx_r13.isExpanded ? null : step_r14.name);
|
|
52125
|
+
i0.ɵɵadvance(1);
|
|
52126
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c4$8, index_r15 === ctx_r13.stepIndex))("disabled", ctx_r13.stepIndexDisabled(step_r14, index_r15))("smeTelemetryDisableElement", ctx_r13.stepIndexDisabled(step_r14, index_r15))("smeTelemetryDataBlob", ctx_r13.telemetryData)("smeTelemetryId", "wizardStep" + (index_r15 + 1));
|
|
52456
52127
|
i0.ɵɵadvance(2);
|
|
52457
52128
|
i0.ɵɵtextInterpolate2("", ctx_r13.stagesArrayIndex + 1, ".", index_r15 + 1, "");
|
|
52458
52129
|
i0.ɵɵadvance(1);
|
|
52459
52130
|
i0.ɵɵproperty("ngIf", ctx_r13.isExpanded);
|
|
52460
52131
|
}
|
|
52461
52132
|
}
|
|
52462
|
-
var
|
|
52463
|
-
function
|
|
52133
|
+
var _c5$4 = function (a0) { return { "sme-layout-minwidth-sm": a0 }; };
|
|
52134
|
+
function WizardComponent_div_4_ul_1_Template(rf, ctx) {
|
|
52464
52135
|
if (rf & 1) {
|
|
52465
|
-
i0.ɵɵelementStart(0, "
|
|
52466
|
-
i0.ɵɵtemplate(1,
|
|
52136
|
+
i0.ɵɵelementStart(0, "ul", 25);
|
|
52137
|
+
i0.ɵɵtemplate(1, WizardComponent_div_4_ul_1_li_1_Template, 5, 16, "li", 26);
|
|
52467
52138
|
i0.ɵɵelementEnd();
|
|
52468
52139
|
}
|
|
52469
52140
|
if (rf & 2) {
|
|
52470
52141
|
var ctx_r12 = i0.ɵɵnextContext(2);
|
|
52471
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2,
|
|
52142
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c5$4, ctx_r12.isExpanded));
|
|
52472
52143
|
i0.ɵɵadvance(1);
|
|
52473
52144
|
i0.ɵɵproperty("ngForOf", ctx_r12.getStepsForStage());
|
|
52474
52145
|
}
|
|
52475
52146
|
}
|
|
52476
|
-
var
|
|
52147
|
+
var _c6$3 = function (a0, a1) { return { "sme-icon-chevronLeft": a0, "sme-icon-chevronRight": a1 }; };
|
|
52477
52148
|
function WizardComponent_div_4_Template(rf, ctx) {
|
|
52478
52149
|
if (rf & 1) {
|
|
52479
52150
|
var _r21_1 = i0.ɵɵgetCurrentView();
|
|
52480
|
-
i0.ɵɵelementStart(0, "div",
|
|
52481
|
-
i0.ɵɵtemplate(1,
|
|
52482
|
-
i0.ɵɵelementStart(2, "div",
|
|
52483
|
-
i0.ɵɵelementStart(3, "button",
|
|
52151
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
52152
|
+
i0.ɵɵtemplate(1, WizardComponent_div_4_ul_1_Template, 2, 4, "ul", 21);
|
|
52153
|
+
i0.ɵɵelementStart(2, "div", 22);
|
|
52154
|
+
i0.ɵɵelementStart(3, "button", 23);
|
|
52484
52155
|
i0.ɵɵlistener("click", function WizardComponent_div_4_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r21_1); var ctx_r20 = i0.ɵɵnextContext(); return ctx_r20.togglePane(); });
|
|
52485
|
-
i0.ɵɵelement(4, "span",
|
|
52156
|
+
i0.ɵɵelement(4, "span", 24);
|
|
52486
52157
|
i0.ɵɵelementEnd();
|
|
52487
52158
|
i0.ɵɵelementEnd();
|
|
52488
52159
|
i0.ɵɵelementEnd();
|
|
@@ -52495,13 +52166,13 @@
|
|
|
52495
52166
|
i0.ɵɵproperty("title", ctx_r2.isExpanded ? ctx_r2.strings.MsftSmeShell.Angular.Wizard.collapseStepsList : ctx_r2.strings.MsftSmeShell.Angular.Wizard.expandStepsList);
|
|
52496
52167
|
i0.ɵɵattribute("aria-expanded", ctx_r2.isExpanded)("aria-label", ctx_r2.isExpanded ? ctx_r2.strings.MsftSmeShell.Angular.Wizard.collapseStepsList : ctx_r2.strings.MsftSmeShell.Angular.Wizard.expandStepsList);
|
|
52497
52168
|
i0.ɵɵadvance(1);
|
|
52498
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5,
|
|
52169
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c6$3, ctx_r2.isExpanded, !ctx_r2.isExpanded));
|
|
52499
52170
|
}
|
|
52500
52171
|
}
|
|
52501
52172
|
function WizardComponent_div_6_Template(rf, ctx) {
|
|
52502
52173
|
if (rf & 1) {
|
|
52503
52174
|
i0.ɵɵelementStart(0, "div");
|
|
52504
|
-
i0.ɵɵelement(1, "sme-page-alert-bar",
|
|
52175
|
+
i0.ɵɵelement(1, "sme-page-alert-bar", 32);
|
|
52505
52176
|
i0.ɵɵelementEnd();
|
|
52506
52177
|
}
|
|
52507
52178
|
if (rf & 2) {
|
|
@@ -52512,31 +52183,31 @@
|
|
|
52512
52183
|
}
|
|
52513
52184
|
function WizardComponent_div_9_div_6_Template(rf, ctx) {
|
|
52514
52185
|
if (rf & 1) {
|
|
52515
|
-
i0.ɵɵelementStart(0, "div",
|
|
52516
|
-
i0.ɵɵelement(1, "sme-loading-wheel",
|
|
52186
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
52187
|
+
i0.ɵɵelement(1, "sme-loading-wheel", 41);
|
|
52517
52188
|
i0.ɵɵelementEnd();
|
|
52518
52189
|
}
|
|
52519
52190
|
}
|
|
52520
52191
|
function WizardComponent_div_9_Template(rf, ctx) {
|
|
52521
52192
|
if (rf & 1) {
|
|
52522
52193
|
var _r24_1 = i0.ɵɵgetCurrentView();
|
|
52523
|
-
i0.ɵɵelementStart(0, "div",
|
|
52524
|
-
i0.ɵɵelementStart(1, "div",
|
|
52525
|
-
i0.ɵɵelementStart(2, "button",
|
|
52194
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
52195
|
+
i0.ɵɵelementStart(1, "div", 34);
|
|
52196
|
+
i0.ɵɵelementStart(2, "button", 35);
|
|
52526
52197
|
i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.onBackClick(); });
|
|
52527
52198
|
i0.ɵɵtext(3);
|
|
52528
52199
|
i0.ɵɵelementEnd();
|
|
52529
|
-
i0.ɵɵelementStart(4, "button",
|
|
52200
|
+
i0.ɵɵelementStart(4, "button", 36);
|
|
52530
52201
|
i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.onNextClick(); });
|
|
52531
52202
|
i0.ɵɵtext(5);
|
|
52532
52203
|
i0.ɵɵelementEnd();
|
|
52533
|
-
i0.ɵɵtemplate(6, WizardComponent_div_9_div_6_Template, 2, 0, "div",
|
|
52204
|
+
i0.ɵɵtemplate(6, WizardComponent_div_9_div_6_Template, 2, 0, "div", 37);
|
|
52534
52205
|
i0.ɵɵelementEnd();
|
|
52535
|
-
i0.ɵɵelementStart(7, "button",
|
|
52206
|
+
i0.ɵɵelementStart(7, "button", 38);
|
|
52536
52207
|
i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.onSkipClick(); });
|
|
52537
52208
|
i0.ɵɵtext(8);
|
|
52538
52209
|
i0.ɵɵelementEnd();
|
|
52539
|
-
i0.ɵɵelementStart(9, "button",
|
|
52210
|
+
i0.ɵɵelementStart(9, "button", 39);
|
|
52540
52211
|
i0.ɵɵlistener("click", function WizardComponent_div_9_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r27 = i0.ɵɵnextContext(); return ctx_r27.onExitClick(); });
|
|
52541
52212
|
i0.ɵɵtext(10);
|
|
52542
52213
|
i0.ɵɵelementEnd();
|
|
@@ -52568,7 +52239,7 @@
|
|
|
52568
52239
|
i0.ɵɵtextInterpolate(ctx_r5.exitButtonText());
|
|
52569
52240
|
}
|
|
52570
52241
|
}
|
|
52571
|
-
var
|
|
52242
|
+
var _c7$2 = function (a0) { return { "sme-padding-inset-lg": a0 }; };
|
|
52572
52243
|
/**
|
|
52573
52244
|
* Whatever state the wizard is in
|
|
52574
52245
|
*/
|
|
@@ -53315,11 +52986,11 @@
|
|
|
53315
52986
|
return WizardComponent;
|
|
53316
52987
|
}(DynamicComponentBase));
|
|
53317
52988
|
/** @nocollapse */ WizardComponent.ɵfac = function WizardComponent_Factory(t) { return new (t || WizardComponent)(i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
|
|
53318
|
-
/** @nocollapse */ WizardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardComponent, selectors: [["sme-wizard"]], inputs: { model: "model", wizardBuilder: "wizardBuilder" }, outputs: { modelChange: "modelChange", exit: "exit", stepSubmitted: "stepSubmitted", stepChanged: "stepChanged", stepInvalidated: "stepInvalidated", finished: "finished" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 8, consts: [[1, "sme-wizard", "sme-layout-absolute", "sme-arrange-stack-v", "sme-position-inset-none"], ["class", "sme-arrange-stack-h sme-position-flex-none sme-padding-vertical-sm sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80", 4, "ngIf"], ["role", "tablist", "class", "sme-arrange-stack-h sme-position-flex-none sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80 sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-arrange-overflow-auto", "sme-position-flex-auto"], ["class", "sme-arrange-stack-v sme-position-flex-none sme-focus-zone\n sme-border-right-sm sme-border-right-color-base-80", 4, "ngIf"], [1, "sme-focus-zone", "sme-layout-relative", "sme-position-stretch", "sme-arrange-overflow-auto", 3, "ngClass"], [4, "ngIf"], ["id", "dynamic-content-container"], ["container", ""], ["class", "sme-layout-relative sme-position-flex-none sme-border-top-sm sme-border-top-color-base-80 sme-padding-vertical-sm sme-padding-horizontal-lg sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80"], ["id", "sme-shell-wizard-heading-id"], ["type", "preview", "class", "sme-margin-left-xs", 4, "ngIf"], ["type", "preview", 1, "sme-margin-left-xs"], ["role", "tablist", 1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80", "sme-focus-zone"], ["
|
|
52989
|
+
/** @nocollapse */ WizardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardComponent, selectors: [["sme-wizard"]], inputs: { model: "model", wizardBuilder: "wizardBuilder" }, outputs: { modelChange: "modelChange", exit: "exit", stepSubmitted: "stepSubmitted", stepChanged: "stepChanged", stepInvalidated: "stepInvalidated", finished: "finished" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 8, consts: [["smeTelemetryId", "sme-wizard", "smeTelemetryArea", "WizardComponent", 1, "sme-wizard", "sme-layout-absolute", "sme-arrange-stack-v", "sme-position-inset-none"], ["class", "sme-arrange-stack-h sme-position-flex-none sme-padding-vertical-sm sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80", 4, "ngIf"], ["role", "tablist", "class", "sme-arrange-stack-h sme-position-flex-none sme-padding-horizontal-lg sme-border-bottom-sm sme-border-bottom-color-base-80 sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-arrange-overflow-auto", "sme-position-flex-auto"], ["class", "sme-arrange-stack-v sme-position-flex-none sme-focus-zone\n sme-border-right-sm sme-border-right-color-base-80", 4, "ngIf"], [1, "sme-focus-zone", "sme-layout-relative", "sme-position-stretch", "sme-arrange-overflow-auto", 3, "ngClass"], [4, "ngIf"], ["id", "dynamic-content-container"], ["container", ""], ["class", "sme-layout-relative sme-position-flex-none sme-border-top-sm sme-border-top-color-base-80 sme-padding-vertical-sm sme-padding-horizontal-lg sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80"], ["id", "sme-shell-wizard-heading-id"], ["type", "preview", "class", "sme-margin-left-xs", 4, "ngIf"], ["type", "preview", 1, "sme-margin-left-xs"], ["role", "tablist", 1, "sme-arrange-stack-h", "sme-position-flex-none", "sme-padding-horizontal-lg", "sme-border-bottom-sm", "sme-border-bottom-color-base-80", "sme-focus-zone"], ["class", "sme-wizard-stage sme-arrange-stack-h sme-margin-right-md", "role", "tab", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], ["role", "tab", 1, "sme-wizard-stage", "sme-arrange-stack-h", "sme-margin-right-md", 3, "ngClass", "click"], ["tabindex", "0", "aria-live", "polite", "type", "button", 1, "sme-button-trigger", "sme-wizard-button-item", "sme-padding-vertical-sm", "sme-padding-horizontal-none", "sme-button-auto-width", 3, "smeTelemetryDataBlob", "smeTelemetryId", "disabled", "smeTelemetryDisableElement"], [1, "sme-wizard-stage-index", "sme-position-flex-none", 3, "ngClass"], [1, "sme-position-flex-auto", "sme-font-body", 3, "ngClass"], [1, "sme-arrange-stack-v", "sme-position-flex-none", "sme-focus-zone", "sme-border-right-sm", "sme-border-right-color-base-80"], ["role", "tablist", "class", "sme-padding-vertical-sm sme-position-flex-auto", 3, "ngClass", 4, "ngIf"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "split-view-toggle", "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-layout-float-right", 3, "title", "click"], [1, "sme-icon", 3, "ngClass"], ["role", "tablist", 1, "sme-padding-vertical-sm", "sme-position-flex-auto", 3, "ngClass"], ["role", "tab", "tabindex", "0", "class", "sme-arrange-stack-h sme-padding-left-lg sme-padding-right-xs", "aria-live", "polite", 3, "ngClass", "title", "click", 4, "ngFor", "ngForOf"], ["role", "tab", "tabindex", "0", "aria-live", "polite", 1, "sme-arrange-stack-h", "sme-padding-left-lg", "sme-padding-right-xs", 3, "ngClass", "title", "click"], ["type", "button", 1, "sme-wizard-step", "sme-button-trigger", "sme-wizard-button-item", "sme-padding-horizontal-none", "sme-padding-vertical-xs", "sme-button-auto-width", 3, "ngClass", "disabled", "smeTelemetryDisableElement", "smeTelemetryDataBlob", "smeTelemetryId"], [1, "sme-position-flex-none", "sme-margin-right-xs"], ["class", "sme-position-flex-none", 4, "ngIf"], [1, "sme-position-flex-none"], [3, "alert"], [1, "sme-layout-relative", "sme-position-flex-none", "sme-border-top-sm", "sme-border-top-color-base-80", "sme-padding-vertical-sm", "sme-padding-horizontal-lg", "sme-focus-zone"], [1, "sme-layout-float-left"], ["type", "button", "smeTelemetryId", "wizardPrev", 1, "sme-focus-zone", 3, "smeTelemetryDataBlob", "disabled", "click"], ["type", "button", "smeTelemetryId", "wizardNext", 1, "sme-focus-zone", "sme-button-primary", 3, "smeTelemetryDataBlob", "disabled", "smeTelemetryDisableElement", "click"], ["class", "sme-layout-relative sme-layout-float-right sme-padding-left-xl sme-padding-top-md", 4, "ngIf"], ["type", "button", "smeTelemetryId", "wizardSkip", 1, "sme-focus-zone", 3, "smeTelemetryDataBlob", "click"], ["type", "button", "smeTelemetryId", "wizardExit", 1, "sme-focus-zone", "sme-layout-float-right", 3, "smeTelemetryDataBlob", "click"], [1, "sme-layout-relative", "sme-layout-float-right", "sme-padding-left-xl", "sme-padding-top-md"], ["size", "small"]], template: function WizardComponent_Template(rf, ctx) {
|
|
53319
52990
|
if (rf & 1) {
|
|
53320
52991
|
i0.ɵɵelementStart(0, "div", 0);
|
|
53321
52992
|
i0.ɵɵtemplate(1, WizardComponent_div_1_Template, 4, 3, "div", 1);
|
|
53322
|
-
i0.ɵɵtemplate(2,
|
|
52993
|
+
i0.ɵɵtemplate(2, WizardComponent_ul_2_Template, 2, 1, "ul", 2);
|
|
53323
52994
|
i0.ɵɵelementStart(3, "div", 3);
|
|
53324
52995
|
i0.ɵɵtemplate(4, WizardComponent_div_4_Template, 5, 8, "div", 4);
|
|
53325
52996
|
i0.ɵɵelementStart(5, "div", 5);
|
|
@@ -53338,13 +53009,13 @@
|
|
|
53338
53009
|
i0.ɵɵadvance(2);
|
|
53339
53010
|
i0.ɵɵproperty("ngIf", !ctx.wizardIsFinished && !ctx.hideStepsListSidePane);
|
|
53340
53011
|
i0.ɵɵadvance(1);
|
|
53341
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6,
|
|
53012
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c7$2, ctx.currentStepComponent.padContents));
|
|
53342
53013
|
i0.ɵɵadvance(1);
|
|
53343
53014
|
i0.ɵɵproperty("ngIf", ctx.currentStepComponent.disabled);
|
|
53344
53015
|
i0.ɵɵadvance(3);
|
|
53345
53016
|
i0.ɵɵproperty("ngIf", !ctx.wizardIsFinished);
|
|
53346
53017
|
}
|
|
53347
|
-
}, directives: [i1$1.NgIf, i1$1.NgClass, PreviewBadgeComponent, i1$1.NgForOf,
|
|
53018
|
+
}, directives: [TelemetryDirective, i1$1.NgIf, i1$1.NgClass, PreviewBadgeComponent, i1$1.NgForOf, TooltipDirective, PageAlertBarComponent, LoadingWheelComponent], encapsulation: 2 });
|
|
53348
53019
|
(function () {
|
|
53349
53020
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardComponent, [{
|
|
53350
53021
|
type: i0.Component,
|