@microsoft/windows-admin-center-sdk 2.523.1 → 2.538.1
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/bundles/microsoft-windows-admin-center-sdk-angular.umd.js +88 -41
- 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 +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
- package/angular/esm2015/src/controls/data-table/data-table.component.js +6 -2
- package/angular/esm2015/src/controls/dialog/dialog.component.js +11 -11
- package/angular/esm2015/src/controls/dialog/extension-dialog/extension-dialog.component.js +7 -7
- package/angular/esm2015/src/controls/header/header.component.js +52 -14
- package/angular/esm2015/src/controls/layout/layout-config.js +1 -2
- package/angular/esm2015/src/controls/query-editor/query-editor.component.js +4 -4
- package/angular/esm2015/src/controls/snap-in-extension/snap-in-extension.component.js +1 -1
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +75 -34
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
- package/angular/src/controls/header/header.component.d.ts +14 -1
- package/angular/src/controls/query-editor/query-editor.component.d.ts +1 -1
- package/core/data/active-directory/active-directory.js +2 -2
- package/core/data/active-directory/active-directory.js.map +1 -1
- package/core/data/powershell.d.ts +2 -2
- package/core/data/powershell.js +2 -2
- package/core/data/powershell.js.map +1 -1
- package/core/notification/notification-manager.d.ts +18 -0
- package/core/notification/notification-manager.js +55 -10
- package/core/notification/notification-manager.js.map +1 -1
- package/core/notification/notification-message.d.ts +41 -0
- package/core/notification/notification-message.js +3 -0
- package/core/notification/notification-message.js.map +1 -0
- package/core/notification/notification.d.ts +10 -1
- package/core/notification/notification.js +30 -33
- package/core/notification/notification.js.map +1 -1
- package/core/notification/powershell-notification.d.ts +15 -15
- package/core/notification/powershell-notification.js +19 -8
- package/core/notification/powershell-notification.js.map +1 -1
- package/core/notification/socket-signalr.d.ts +8 -14
- package/core/notification/socket-signalr.js +18 -19
- package/core/notification/socket-signalr.js.map +1 -1
- package/core/notification/work-item-manager.d.ts +4 -0
- package/core/notification/work-item-manager.js +76 -20
- package/core/notification/work-item-manager.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/id-ID/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 -6
- package/styles/css/main-v2.css +1 -1
- package/tools/test-runner/index.js +12 -2
- package/tools/test-runner/index.js.map +1 -1
- package/tools/wac-cli/templates/internal/package.json +0 -4
- package/tools/wac-cli/templates/library/angular.json +0 -3
- package/tools/wac-cli/templates/library/tsconfig.lib.json +1 -1
- package/tools/wac-cli/templates/wac-template/angular.json +0 -3
- package/tools/wac-cli/templates/wac-template/package.json +0 -4
- package/tools/wac-cli/templates/wac-template/tsconfig.base.json +23 -24
|
@@ -10292,7 +10292,6 @@
|
|
|
10292
10292
|
this.parseConfig(layoutConfig, phoneUp, exports.SmeResponsiveWindowBreakpoints.PhoneUp);
|
|
10293
10293
|
this.parseConfig(layoutConfig, phoneDown, exports.SmeResponsiveWindowBreakpoints.PhoneDown);
|
|
10294
10294
|
this.parseConfig(layoutConfig, reflow, exports.SmeResponsiveWindowBreakpoints.Reflow);
|
|
10295
|
-
console.log(layoutConfig);
|
|
10296
10295
|
return layoutConfig;
|
|
10297
10296
|
};
|
|
10298
10297
|
LayoutConfigGenerator.prototype.parseConfig = function (layoutConfig, config, smeResponsiveWindowBreakpoints) {
|
|
@@ -16373,9 +16372,9 @@
|
|
|
16373
16372
|
function DialogComponent_sme_backdrop_0_button_2_Template(rf, ctx) {
|
|
16374
16373
|
if (rf & 1) {
|
|
16375
16374
|
var _r5_1 = i0.ɵɵgetCurrentView();
|
|
16376
|
-
i0.ɵɵelementStart(0, "button",
|
|
16375
|
+
i0.ɵɵelementStart(0, "button", 8);
|
|
16377
16376
|
i0.ɵɵlistener("click", function DialogComponent_sme_backdrop_0_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5_1); var ctx_r4 = i0.ɵɵnextContext(2); return ctx_r4.onCloseClicked(); });
|
|
16378
|
-
i0.ɵɵelement(1, "span",
|
|
16377
|
+
i0.ɵɵelement(1, "span", 9);
|
|
16379
16378
|
i0.ɵɵelementEnd();
|
|
16380
16379
|
}
|
|
16381
16380
|
if (rf & 2) {
|
|
@@ -16386,7 +16385,7 @@
|
|
|
16386
16385
|
}
|
|
16387
16386
|
function DialogComponent_sme_backdrop_0_span_9_Template(rf, ctx) {
|
|
16388
16387
|
if (rf & 1) {
|
|
16389
|
-
i0.ɵɵelementStart(0, "span",
|
|
16388
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
16390
16389
|
i0.ɵɵtext(1);
|
|
16391
16390
|
i0.ɵɵelementEnd();
|
|
16392
16391
|
}
|
|
@@ -16399,7 +16398,7 @@
|
|
|
16399
16398
|
}
|
|
16400
16399
|
function DialogComponent_sme_backdrop_0_span_10_Template(rf, ctx) {
|
|
16401
16400
|
if (rf & 1) {
|
|
16402
|
-
i0.ɵɵelementStart(0, "span",
|
|
16401
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
16403
16402
|
i0.ɵɵtext(1);
|
|
16404
16403
|
i0.ɵɵelementEnd();
|
|
16405
16404
|
}
|
|
@@ -16423,12 +16422,12 @@
|
|
|
16423
16422
|
i0.ɵɵelementStart(5, "div", 5);
|
|
16424
16423
|
i0.ɵɵprojection(6, 1);
|
|
16425
16424
|
i0.ɵɵelementEnd();
|
|
16426
|
-
i0.ɵɵelementStart(7, "div",
|
|
16425
|
+
i0.ɵɵelementStart(7, "div", 6);
|
|
16427
16426
|
i0.ɵɵprojection(8, 2);
|
|
16428
16427
|
i0.ɵɵelementEnd();
|
|
16429
16428
|
i0.ɵɵelementEnd();
|
|
16430
|
-
i0.ɵɵtemplate(9, DialogComponent_sme_backdrop_0_span_9_Template, 2, 2, "span",
|
|
16431
|
-
i0.ɵɵtemplate(10, DialogComponent_sme_backdrop_0_span_10_Template, 2, 2, "span",
|
|
16429
|
+
i0.ɵɵtemplate(9, DialogComponent_sme_backdrop_0_span_9_Template, 2, 2, "span", 7);
|
|
16430
|
+
i0.ɵɵtemplate(10, DialogComponent_sme_backdrop_0_span_10_Template, 2, 2, "span", 7);
|
|
16432
16431
|
i0.ɵɵelementEnd();
|
|
16433
16432
|
}
|
|
16434
16433
|
if (rf & 2) {
|
|
@@ -16517,7 +16516,7 @@
|
|
|
16517
16516
|
return DialogFooterComponent;
|
|
16518
16517
|
}());
|
|
16519
16518
|
/** @nocollapse */ DialogFooterComponent.ɵfac = function DialogFooterComponent_Factory(t) { return new (t || DialogFooterComponent)(); };
|
|
16520
|
-
/** @nocollapse */ DialogFooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DialogFooterComponent, selectors: [["sme-dialog-footer"]], ngContentSelectors: _c0$o, decls: 2, vars: 0, consts: [[1, "sme-layout-
|
|
16519
|
+
/** @nocollapse */ DialogFooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DialogFooterComponent, selectors: [["sme-dialog-footer"]], ngContentSelectors: _c0$o, decls: 2, vars: 0, consts: [[1, "sme-layout-dialog-footer"]], template: function DialogFooterComponent_Template(rf, ctx) {
|
|
16521
16520
|
if (rf & 1) {
|
|
16522
16521
|
i0.ɵɵprojectionDef();
|
|
16523
16522
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -16530,7 +16529,7 @@
|
|
|
16530
16529
|
type: i0.Component,
|
|
16531
16530
|
args: [{
|
|
16532
16531
|
selector: 'sme-dialog-footer',
|
|
16533
|
-
template: "<div class=\"sme-layout-
|
|
16532
|
+
template: "<div class=\"sme-layout-dialog-footer\">\n <ng-content></ng-content></div>"
|
|
16534
16533
|
}]
|
|
16535
16534
|
}], null, null);
|
|
16536
16535
|
})();
|
|
@@ -16795,7 +16794,7 @@
|
|
|
16795
16794
|
if (rf & 1) {
|
|
16796
16795
|
i0.ɵɵlistener("keyup.escape", function DialogComponent_keyup_escape_HostBindingHandler() { return ctx.onKeyUp(); }, false, i0.ɵɵresolveDocument);
|
|
16797
16796
|
}
|
|
16798
|
-
}, inputs: { allowBackgroundInteraction: "allowBackgroundInteraction", showBackdrop: "showBackdrop", clickBackdrop: "clickBackdrop", ariaLabel: "ariaLabel", ariaDescription: "ariaDescription", actionPane: "actionPane", dialogMode: "dialogMode", dialogType: "dialogType", closeButton: "closeButton", compactFullHeight: "compactFullHeight" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c2$6, decls: 1, vars: 1, consts: [["class", "sme-layout-absolute sme-position-inset-none", 3, "level", "showBackdrop", "allowBackgroundInteraction", "clicked", 4, "ngIf"], [1, "sme-layout-absolute", "sme-position-inset-none", 3, "level", "showBackdrop", "allowBackgroundInteraction", "clicked"], ["aria-modal", "true", 3, "ngClass"], ["class", "sme-button-trigger sme-button-auto-width sme-dialog-close-button", 3, "title", "click", 4, "ngIf"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "sme-layout-relative", "sme-position-flex-auto", "sme-padding-horizontal-lg", "sme-arrange-overflow-auto-y", "sme-arrange-overflow-hide-x", "sme-focus-zone", "sme-layout-responsive-zone-xs", "sme-dialog-content-wrapper"], ["class", "sme-screen-reader", 3, "id", 4, "ngIf"], [1, "sme-button-trigger", "sme-button-auto-width", "sme-dialog-close-button", 3, "title", "click"], [1, "sme-icon", "sme-icon-cancel"], [1, "sme-screen-reader", 3, "id"]], template: function DialogComponent_Template(rf, ctx) {
|
|
16797
|
+
}, inputs: { allowBackgroundInteraction: "allowBackgroundInteraction", showBackdrop: "showBackdrop", clickBackdrop: "clickBackdrop", ariaLabel: "ariaLabel", ariaDescription: "ariaDescription", actionPane: "actionPane", dialogMode: "dialogMode", dialogType: "dialogType", closeButton: "closeButton", compactFullHeight: "compactFullHeight" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c2$6, decls: 1, vars: 1, consts: [["class", "sme-layout-absolute sme-position-inset-none", 3, "level", "showBackdrop", "allowBackgroundInteraction", "clicked", 4, "ngIf"], [1, "sme-layout-absolute", "sme-position-inset-none", 3, "level", "showBackdrop", "allowBackgroundInteraction", "clicked"], ["aria-modal", "true", 3, "ngClass"], ["class", "sme-button-trigger sme-button-auto-width sme-dialog-close-button", 3, "title", "click", 4, "ngIf"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "sme-layout-relative", "sme-position-flex-auto", "sme-padding-horizontal-lg", "sme-arrange-overflow-auto-y", "sme-arrange-overflow-hide-x", "sme-focus-zone", "sme-layout-responsive-zone-xs", "sme-dialog-content-wrapper"], [1, "sme-position-flex-none", "sme-focus-zone", "sme-padding-horizontal-lg", "sme-padding-vertical-xs"], ["class", "sme-screen-reader", 3, "id", 4, "ngIf"], [1, "sme-button-trigger", "sme-button-auto-width", "sme-dialog-close-button", 3, "title", "click"], [1, "sme-icon", "sme-icon-cancel"], [1, "sme-screen-reader", 3, "id"]], template: function DialogComponent_Template(rf, ctx) {
|
|
16799
16798
|
if (rf & 1) {
|
|
16800
16799
|
i0.ɵɵprojectionDef(_c1$a);
|
|
16801
16800
|
i0.ɵɵtemplate(0, DialogComponent_sme_backdrop_0_Template, 11, 11, "sme-backdrop", 0);
|
|
@@ -31047,7 +31046,7 @@
|
|
|
31047
31046
|
return this.editable ? this.internalItems.map(function (item) { return item.content; }) : this.internalItems;
|
|
31048
31047
|
},
|
|
31049
31048
|
set: function (value) {
|
|
31050
|
-
var e_1,
|
|
31049
|
+
var e_1, _b, e_2, _c;
|
|
31051
31050
|
var _this = this;
|
|
31052
31051
|
if (!this.rememberSelection) {
|
|
31053
31052
|
this.removeHighlightFromRow();
|
|
@@ -31130,8 +31129,8 @@
|
|
|
31130
31129
|
}
|
|
31131
31130
|
else {
|
|
31132
31131
|
try {
|
|
31133
|
-
for (var
|
|
31134
|
-
var item =
|
|
31132
|
+
for (var _d = __values(this.items), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
31133
|
+
var item = _e.value;
|
|
31135
31134
|
var index = selectionIdentitiesToRemember_1.indexOf(this.getItemIdentityFunction(item));
|
|
31136
31135
|
if (index !== -1) {
|
|
31137
31136
|
this.selection.push(item);
|
|
@@ -31148,7 +31147,7 @@
|
|
|
31148
31147
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
31149
31148
|
finally {
|
|
31150
31149
|
try {
|
|
31151
|
-
if (
|
|
31150
|
+
if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
|
|
31152
31151
|
}
|
|
31153
31152
|
finally { if (e_1) throw e_1.error; }
|
|
31154
31153
|
}
|
|
@@ -31267,8 +31266,8 @@
|
|
|
31267
31266
|
}
|
|
31268
31267
|
else {
|
|
31269
31268
|
try {
|
|
31270
|
-
for (var
|
|
31271
|
-
var item =
|
|
31269
|
+
for (var _f = __values(this.items), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
31270
|
+
var item = _g.value;
|
|
31272
31271
|
var index = selectionItemsToRemember_1.indexOf(item);
|
|
31273
31272
|
if (index !== -1) {
|
|
31274
31273
|
this.selection.push(item);
|
|
@@ -31285,7 +31284,7 @@
|
|
|
31285
31284
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
31286
31285
|
finally {
|
|
31287
31286
|
try {
|
|
31288
|
-
if (
|
|
31287
|
+
if (_g && !_g.done && (_c = _f.return)) _c.call(_f);
|
|
31289
31288
|
}
|
|
31290
31289
|
finally { if (e_2) throw e_2.error; }
|
|
31291
31290
|
}
|
|
@@ -34221,6 +34220,7 @@
|
|
|
34221
34220
|
});
|
|
34222
34221
|
};
|
|
34223
34222
|
DataTableComponent.prototype.onElementFocusing = function (event) {
|
|
34223
|
+
var _a;
|
|
34224
34224
|
if (event.targetZone === this.contentElement.nativeElement) {
|
|
34225
34225
|
if (!this.contentAreaHasFocus) {
|
|
34226
34226
|
event.preventDefaultFocusBehavior();
|
|
@@ -34233,7 +34233,10 @@
|
|
|
34233
34233
|
else if (event.targetElement && event.targetElement.hasAttribute('data-sme-last-focusable-shadow-element')
|
|
34234
34234
|
&& event.targetElement === this.lastFocusableShadowElement.nativeElement) {
|
|
34235
34235
|
event.preventDefaultFocusBehavior();
|
|
34236
|
-
|
|
34236
|
+
// The third condition is added to fix keyboard focus being trapped in the data table
|
|
34237
|
+
// when the last focusable element doesn't meet the first 2 conditions (ex: the last focusable element is a link).
|
|
34238
|
+
if (event.sourceZone === this.contentElement.nativeElement || event.sourceZone === this.headerElement.nativeElement ||
|
|
34239
|
+
((_a = (event.targetElement.attributes.getNamedItem('tabindex'))) === null || _a === void 0 ? void 0 : _a.value) >= '0') {
|
|
34237
34240
|
var nextFocusableElement = dom.Dom.getNextZoneElement(event.targetElement);
|
|
34238
34241
|
if (!nextFocusableElement) {
|
|
34239
34242
|
event.targetElement.focus();
|
|
@@ -43955,7 +43958,7 @@
|
|
|
43955
43958
|
|
|
43956
43959
|
function ExtensionDialogComponent_span_7_Template(rf, ctx) {
|
|
43957
43960
|
if (rf & 1) {
|
|
43958
|
-
i0.ɵɵelementStart(0, "span",
|
|
43961
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
43959
43962
|
i0.ɵɵtext(1);
|
|
43960
43963
|
i0.ɵɵelementEnd();
|
|
43961
43964
|
}
|
|
@@ -43968,7 +43971,7 @@
|
|
|
43968
43971
|
}
|
|
43969
43972
|
function ExtensionDialogComponent_span_8_Template(rf, ctx) {
|
|
43970
43973
|
if (rf & 1) {
|
|
43971
|
-
i0.ɵɵelementStart(0, "span",
|
|
43974
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
43972
43975
|
i0.ɵɵtext(1);
|
|
43973
43976
|
i0.ɵɵelementEnd();
|
|
43974
43977
|
}
|
|
@@ -43989,7 +43992,7 @@
|
|
|
43989
43992
|
return ExtensionDialogComponent;
|
|
43990
43993
|
}(DialogComponent));
|
|
43991
43994
|
/** @nocollapse */ ExtensionDialogComponent.ɵfac = function ExtensionDialogComponent_Factory(t) { return ɵExtensionDialogComponent_BaseFactory(t || ExtensionDialogComponent); };
|
|
43992
|
-
/** @nocollapse */ ExtensionDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ExtensionDialogComponent, selectors: [["sme-extension-dialog"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$G, decls: 9, vars: 6, consts: [["aria-modal", "true", 1, "sme-position-stretch-h", "sme-position-stretch-v", 3, "ngClass"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "sme-layout-relative", "sme-position-flex-auto", "sme-padding-horizontal-lg", "sme-arrange-overflow-auto-y", "sme-arrange-overflow-hide-x", "sme-focus-zone", "sme-layout-responsive-zone-xs"], ["class", "sme-screen-reader", 3, "id", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"]], template: function ExtensionDialogComponent_Template(rf, ctx) {
|
|
43995
|
+
/** @nocollapse */ ExtensionDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ExtensionDialogComponent, selectors: [["sme-extension-dialog"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$G, decls: 9, vars: 6, consts: [["aria-modal", "true", 1, "sme-position-stretch-h", "sme-position-stretch-v", 3, "ngClass"], [1, "sme-position-flex-none", "sme-focus-zone"], [1, "sme-layout-relative", "sme-position-flex-auto", "sme-padding-horizontal-lg", "sme-arrange-overflow-auto-y", "sme-arrange-overflow-hide-x", "sme-focus-zone", "sme-layout-responsive-zone-xs"], [1, "sme-position-flex-none", "sme-focus-zone", "sme-padding-horizontal-lg", "sme-padding-vertical-xs"], ["class", "sme-screen-reader", 3, "id", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"]], template: function ExtensionDialogComponent_Template(rf, ctx) {
|
|
43993
43996
|
if (rf & 1) {
|
|
43994
43997
|
i0.ɵɵprojectionDef(_c0$1c);
|
|
43995
43998
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -43999,11 +44002,11 @@
|
|
|
43999
44002
|
i0.ɵɵelementStart(3, "div", 2);
|
|
44000
44003
|
i0.ɵɵprojection(4, 1);
|
|
44001
44004
|
i0.ɵɵelementEnd();
|
|
44002
|
-
i0.ɵɵelementStart(5, "div",
|
|
44005
|
+
i0.ɵɵelementStart(5, "div", 3);
|
|
44003
44006
|
i0.ɵɵprojection(6, 2);
|
|
44004
44007
|
i0.ɵɵelementEnd();
|
|
44005
|
-
i0.ɵɵtemplate(7, ExtensionDialogComponent_span_7_Template, 2, 2, "span",
|
|
44006
|
-
i0.ɵɵtemplate(8, ExtensionDialogComponent_span_8_Template, 2, 2, "span",
|
|
44008
|
+
i0.ɵɵtemplate(7, ExtensionDialogComponent_span_7_Template, 2, 2, "span", 4);
|
|
44009
|
+
i0.ɵɵtemplate(8, ExtensionDialogComponent_span_8_Template, 2, 2, "span", 4);
|
|
44007
44010
|
i0.ɵɵelementEnd();
|
|
44008
44011
|
}
|
|
44009
44012
|
if (rf & 2) {
|
|
@@ -44255,7 +44258,7 @@
|
|
|
44255
44258
|
|
|
44256
44259
|
function HeaderComponent_div_0_span_2_Template(rf, ctx) {
|
|
44257
44260
|
if (rf & 1) {
|
|
44258
|
-
i0.ɵɵelement(0, "span",
|
|
44261
|
+
i0.ɵɵelement(0, "span", 12);
|
|
44259
44262
|
}
|
|
44260
44263
|
if (rf & 2) {
|
|
44261
44264
|
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
@@ -44264,13 +44267,45 @@
|
|
|
44264
44267
|
}
|
|
44265
44268
|
function HeaderComponent_div_0_span_3_Template(rf, ctx) {
|
|
44266
44269
|
if (rf & 1) {
|
|
44267
|
-
i0.ɵɵelement(0, "span",
|
|
44270
|
+
i0.ɵɵelement(0, "span", 13);
|
|
44268
44271
|
}
|
|
44269
44272
|
if (rf & 2) {
|
|
44270
44273
|
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
44271
44274
|
i0.ɵɵstyleProp("background-image", ctx_r6.urlIcon);
|
|
44272
44275
|
}
|
|
44273
44276
|
}
|
|
44277
|
+
function HeaderComponent_div_0_span_4_Template(rf, ctx) {
|
|
44278
|
+
if (rf & 1) {
|
|
44279
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
44280
|
+
i0.ɵɵtext(1);
|
|
44281
|
+
i0.ɵɵelementEnd();
|
|
44282
|
+
}
|
|
44283
|
+
if (rf & 2) {
|
|
44284
|
+
var ctx_r7 = i0.ɵɵnextContext(2);
|
|
44285
|
+
i0.ɵɵadvance(1);
|
|
44286
|
+
i0.ɵɵtextInterpolate(ctx_r7.text);
|
|
44287
|
+
}
|
|
44288
|
+
}
|
|
44289
|
+
function HeaderComponent_div_0_div_5_Template(rf, ctx) {
|
|
44290
|
+
if (rf & 1) {
|
|
44291
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
44292
|
+
i0.ɵɵelementStart(1, "div");
|
|
44293
|
+
i0.ɵɵtext(2);
|
|
44294
|
+
i0.ɵɵelementEnd();
|
|
44295
|
+
i0.ɵɵelementStart(3, "div", 16);
|
|
44296
|
+
i0.ɵɵtext(4);
|
|
44297
|
+
i0.ɵɵelementEnd();
|
|
44298
|
+
i0.ɵɵelementEnd();
|
|
44299
|
+
}
|
|
44300
|
+
if (rf & 2) {
|
|
44301
|
+
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
44302
|
+
i0.ɵɵclassProp("sme-padding-left-xs", ctx_r8.urlIcon || ctx_r8.smeIconClassName);
|
|
44303
|
+
i0.ɵɵadvance(2);
|
|
44304
|
+
i0.ɵɵtextInterpolate(ctx_r8.text);
|
|
44305
|
+
i0.ɵɵadvance(2);
|
|
44306
|
+
i0.ɵɵtextInterpolate(ctx_r8.subtitle);
|
|
44307
|
+
}
|
|
44308
|
+
}
|
|
44274
44309
|
function HeaderComponent_div_0_ng_container_6_Template(rf, ctx) {
|
|
44275
44310
|
if (rf & 1) {
|
|
44276
44311
|
i0.ɵɵelementContainer(0);
|
|
@@ -44282,11 +44317,10 @@
|
|
|
44282
44317
|
i0.ɵɵelementStart(1, "span", 6);
|
|
44283
44318
|
i0.ɵɵtemplate(2, HeaderComponent_div_0_span_2_Template, 1, 2, "span", 7);
|
|
44284
44319
|
i0.ɵɵtemplate(3, HeaderComponent_div_0_span_3_Template, 1, 2, "span", 8);
|
|
44285
|
-
i0.ɵɵ
|
|
44286
|
-
i0.ɵɵ
|
|
44287
|
-
i0.ɵɵelementEnd();
|
|
44320
|
+
i0.ɵɵtemplate(4, HeaderComponent_div_0_span_4_Template, 2, 1, "span", 9);
|
|
44321
|
+
i0.ɵɵtemplate(5, HeaderComponent_div_0_div_5_Template, 5, 4, "div", 10);
|
|
44288
44322
|
i0.ɵɵelementEnd();
|
|
44289
|
-
i0.ɵɵtemplate(6, HeaderComponent_div_0_ng_container_6_Template, 1, 0, "ng-container",
|
|
44323
|
+
i0.ɵɵtemplate(6, HeaderComponent_div_0_ng_container_6_Template, 1, 0, "ng-container", 11);
|
|
44290
44324
|
i0.ɵɵelementEnd();
|
|
44291
44325
|
}
|
|
44292
44326
|
if (rf & 2) {
|
|
@@ -44298,15 +44332,17 @@
|
|
|
44298
44332
|
i0.ɵɵproperty("ngIf", ctx_r0.smeIconClassName);
|
|
44299
44333
|
i0.ɵɵadvance(1);
|
|
44300
44334
|
i0.ɵɵproperty("ngIf", ctx_r0.urlIcon);
|
|
44301
|
-
i0.ɵɵadvance(
|
|
44302
|
-
i0.ɵɵ
|
|
44335
|
+
i0.ɵɵadvance(1);
|
|
44336
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.subtitle);
|
|
44337
|
+
i0.ɵɵadvance(1);
|
|
44338
|
+
i0.ɵɵproperty("ngIf", ctx_r0.subtitle);
|
|
44303
44339
|
i0.ɵɵadvance(1);
|
|
44304
44340
|
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
44305
44341
|
}
|
|
44306
44342
|
}
|
|
44307
44343
|
function HeaderComponent_h2_1_Template(rf, ctx) {
|
|
44308
44344
|
if (rf & 1) {
|
|
44309
|
-
i0.ɵɵelementStart(0, "h2",
|
|
44345
|
+
i0.ɵɵelementStart(0, "h2", 17);
|
|
44310
44346
|
i0.ɵɵtext(1);
|
|
44311
44347
|
i0.ɵɵelementEnd();
|
|
44312
44348
|
}
|
|
@@ -44324,11 +44360,11 @@
|
|
|
44324
44360
|
}
|
|
44325
44361
|
function HeaderComponent_div_2_Template(rf, ctx) {
|
|
44326
44362
|
if (rf & 1) {
|
|
44327
|
-
i0.ɵɵelementStart(0, "div",
|
|
44363
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
44328
44364
|
i0.ɵɵelementStart(1, "h3", 6);
|
|
44329
44365
|
i0.ɵɵtext(2);
|
|
44330
44366
|
i0.ɵɵelementEnd();
|
|
44331
|
-
i0.ɵɵtemplate(3, HeaderComponent_div_2_ng_container_3_Template, 1, 0, "ng-container",
|
|
44367
|
+
i0.ɵɵtemplate(3, HeaderComponent_div_2_ng_container_3_Template, 1, 0, "ng-container", 11);
|
|
44332
44368
|
i0.ɵɵelementEnd();
|
|
44333
44369
|
}
|
|
44334
44370
|
if (rf & 2) {
|
|
@@ -44365,8 +44401,17 @@
|
|
|
44365
44401
|
function HeaderComponent(injector) {
|
|
44366
44402
|
var _this = _super.call(this, injector) || this;
|
|
44367
44403
|
_this.styleTo = '';
|
|
44404
|
+
/**
|
|
44405
|
+
* The header type
|
|
44406
|
+
*/
|
|
44368
44407
|
_this.type = HeaderComponent.tool;
|
|
44408
|
+
/**
|
|
44409
|
+
* The font text for the main header
|
|
44410
|
+
*/
|
|
44369
44411
|
_this.text = '';
|
|
44412
|
+
/**
|
|
44413
|
+
* The font size level for the main header
|
|
44414
|
+
*/
|
|
44370
44415
|
_this.level = '';
|
|
44371
44416
|
if (_this.smeIconClassName && _this.urlIcon) {
|
|
44372
44417
|
logging.Logging.log({
|
|
@@ -44421,10 +44466,10 @@
|
|
|
44421
44466
|
HeaderComponent.h3style = 'sme-font-h3';
|
|
44422
44467
|
HeaderComponent.h4style = 'sme-font-h4 sme-font-h4-no-spacing';
|
|
44423
44468
|
/** @nocollapse */ HeaderComponent.ɵfac = function HeaderComponent_Factory(t) { return new (t || HeaderComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
44424
|
-
/** @nocollapse */ HeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderComponent, selectors: [["sme-header"]], inputs: { type: "type", text: "text", level: "level", smeIconClassName: "smeIconClassName", urlIcon: "urlIcon" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1d, decls: 5, vars: 3, consts: [["class", "sme-layout-flex sme-position-flex-align-center sme-layout-tool-header", 4, "ngIf"], ["id", "sme-dialog-title", 3, "ngClass", 4, "ngIf"], ["class", "sme-position-flex-none sme-layout-settings-header", 4, "ngIf"], ["class", "sme-padding-left-xs"], ["contentTemplate", ""], [1, "sme-layout-flex", "sme-position-flex-align-center", "sme-layout-tool-header"], [3, "ngClass"], ["class", "sme-position-align-v-inline-middle sme-icon", 3, "class", 4, "ngIf"], ["class", "sme-position-align-v-inline-middle sme-url-icon", 3, "background-image", 4, "ngIf"], [
|
|
44469
|
+
/** @nocollapse */ HeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderComponent, selectors: [["sme-header"]], inputs: { type: "type", text: "text", level: "level", smeIconClassName: "smeIconClassName", urlIcon: "urlIcon", subtitle: "subtitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1d, decls: 5, vars: 3, consts: [["class", "sme-layout-flex sme-position-flex-align-center sme-layout-tool-header", 4, "ngIf"], ["id", "sme-dialog-title", 3, "ngClass", 4, "ngIf"], ["class", "sme-position-flex-none sme-layout-settings-header", 4, "ngIf"], ["class", "sme-padding-left-xs"], ["contentTemplate", ""], [1, "sme-layout-flex", "sme-position-flex-align-center", "sme-layout-tool-header"], [3, "ngClass"], ["class", "sme-position-align-v-inline-middle sme-icon", 3, "class", 4, "ngIf"], ["class", "sme-position-align-v-inline-middle sme-url-icon", 3, "background-image", 4, "ngIf"], ["class", "sme-position-align-v-inline-middle", 4, "ngIf"], ["class", "sme-arrange-stack-v sme-layout-inline-block", 3, "sme-padding-left-xs", 4, "ngIf"], [4, "ngTemplateOutlet"], [1, "sme-position-align-v-inline-middle", "sme-icon"], [1, "sme-position-align-v-inline-middle", "sme-url-icon"], [1, "sme-position-align-v-inline-middle"], [1, "sme-arrange-stack-v", "sme-layout-inline-block"], [1, "sme-font-label"], ["id", "sme-dialog-title", 3, "ngClass"], [1, "sme-position-flex-none", "sme-layout-settings-header"]], template: function HeaderComponent_Template(rf, ctx) {
|
|
44425
44470
|
if (rf & 1) {
|
|
44426
44471
|
i0.ɵɵprojectionDef();
|
|
44427
|
-
i0.ɵɵtemplate(0, HeaderComponent_div_0_Template, 7,
|
|
44472
|
+
i0.ɵɵtemplate(0, HeaderComponent_div_0_Template, 7, 6, "div", 0);
|
|
44428
44473
|
i0.ɵɵtemplate(1, HeaderComponent_h2_1_Template, 2, 2, "h2", 1);
|
|
44429
44474
|
i0.ɵɵtemplate(2, HeaderComponent_div_2_Template, 4, 3, "div", 2);
|
|
44430
44475
|
i0.ɵɵtemplate(3, HeaderComponent_ng_template_3_Template, 1, 0, "ng-template", 3, 4, i0.ɵɵtemplateRefExtractor);
|
|
@@ -44454,6 +44499,8 @@
|
|
|
44454
44499
|
type: i0.Input
|
|
44455
44500
|
}], urlIcon: [{
|
|
44456
44501
|
type: i0.Input
|
|
44502
|
+
}], subtitle: [{
|
|
44503
|
+
type: i0.Input
|
|
44457
44504
|
}] });
|
|
44458
44505
|
})();
|
|
44459
44506
|
|
|
@@ -49201,9 +49248,8 @@
|
|
|
49201
49248
|
i0.ɵɵelement(0, "sme-option", 32);
|
|
49202
49249
|
}
|
|
49203
49250
|
if (rf & 2) {
|
|
49204
|
-
var
|
|
49205
|
-
|
|
49206
|
-
i0.ɵɵproperty("value", ctx_r63.queryDataOperand[option_r64])("label", ctx_r63.queryDataOperand[option_r64]);
|
|
49251
|
+
var operand_r64 = ctx.$implicit;
|
|
49252
|
+
i0.ɵɵproperty("value", operand_r64.value)("label", operand_r64.value);
|
|
49207
49253
|
}
|
|
49208
49254
|
}
|
|
49209
49255
|
function QueryEditorComponent_ng_container_0_ng_container_1_div_1_form_4_ng_container_5_sme_form_field_3_Template(rf, ctx) {
|
|
@@ -49534,6 +49580,7 @@
|
|
|
49534
49580
|
__extends(QueryEditorComponent, _super);
|
|
49535
49581
|
function QueryEditorComponent() {
|
|
49536
49582
|
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
49583
|
+
_this.operands = [];
|
|
49537
49584
|
_this.columnsDropdownData = [];
|
|
49538
49585
|
_this.columnDropdownData = [];
|
|
49539
49586
|
_this.resourceStrings = MsftSme.getStrings().MsftSmeShell.Angular.QueryEditor;
|