@microsoft/windows-admin-center-sdk 2.541.1 → 2.552.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/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/id-ID/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 +1385 -301
- 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/details/details.component.js +13 -5
- package/angular/esm2015/src/controls/index.js +7 -2
- package/angular/esm2015/src/controls/layout/layout.component.js +10 -2
- package/angular/esm2015/src/controls/pivot/pivot.component.js +58 -4
- package/angular/esm2015/src/controls/property-grid/property-grid.component.js +2 -2
- package/angular/esm2015/src/controls/ux/sme-ux-content/index.js +3 -0
- package/angular/esm2015/src/controls/ux/sme-ux-content/sme-ux-content.component.js +25 -0
- package/angular/esm2015/src/controls/ux/sme-ux-content/sme-ux-content.module.js +23 -0
- package/angular/esm2015/src/controls/ux/sme-ux-footer/index.js +4 -0
- package/angular/esm2015/src/controls/ux/sme-ux-footer/sme-ux-footer-template/sme-wizard-lite-footer-template/index.js +3 -0
- package/angular/esm2015/src/controls/ux/sme-ux-footer/sme-ux-footer-template/sme-wizard-lite-footer-template/sme-wizard-lite-footer-template.component.js +184 -0
- package/angular/esm2015/src/controls/ux/sme-ux-footer/sme-ux-footer-template/sme-wizard-lite-footer-template/sme-wizard-lite-footer-template.module.js +31 -0
- package/angular/esm2015/src/controls/ux/sme-ux-footer/sme-ux-footer.component.js +25 -0
- package/angular/esm2015/src/controls/ux/sme-ux-footer/sme-ux-footer.module.js +23 -0
- package/angular/esm2015/src/controls/ux/sme-ux-page/index.js +3 -0
- package/angular/esm2015/src/controls/ux/sme-ux-page/sme-ux-page.component.js +25 -0
- package/angular/esm2015/src/controls/ux/sme-ux-page/sme-ux-page.module.js +31 -0
- package/angular/esm2015/src/controls/wizard-lite/index.js +3 -0
- package/angular/esm2015/src/controls/wizard-lite/wizard-lite.component.js +109 -0
- package/angular/esm2015/src/controls/wizard-lite/wizard-lite.module.js +57 -0
- package/angular/esm2015/src/controls/wizard-lite/wizard-lite.service.js +109 -0
- package/angular/esm2015/src/controls/wizard-lite/wizard-navigation-button/index.js +3 -0
- package/angular/esm2015/src/controls/wizard-lite/wizard-navigation-button/wizard-navigation-button.component.js +241 -0
- package/angular/esm2015/src/controls/wizard-lite/wizard-navigation-button/wizard-navigation-button.module.js +31 -0
- package/angular/esm2015/src/generated/strings.js +1 -1
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +1192 -282
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
- package/angular/src/controls/details/details.component.d.ts +2 -1
- package/angular/src/controls/index.d.ts +6 -1
- package/angular/src/controls/pivot/pivot.component.d.ts +27 -1
- package/angular/src/controls/ux/sme-ux-content/index.d.ts +2 -0
- package/angular/src/controls/ux/sme-ux-content/sme-ux-content.component.d.ts +9 -0
- package/angular/src/controls/ux/sme-ux-content/sme-ux-content.module.d.ts +8 -0
- package/angular/src/controls/ux/sme-ux-footer/index.d.ts +3 -0
- package/angular/src/controls/ux/sme-ux-footer/sme-ux-footer-template/sme-wizard-lite-footer-template/index.d.ts +2 -0
- package/angular/src/controls/ux/sme-ux-footer/sme-ux-footer-template/sme-wizard-lite-footer-template/sme-wizard-lite-footer-template.component.d.ts +36 -0
- package/angular/src/controls/ux/sme-ux-footer/sme-ux-footer-template/sme-wizard-lite-footer-template/sme-wizard-lite-footer-template.module.d.ts +10 -0
- package/angular/src/controls/ux/sme-ux-footer/sme-ux-footer.component.d.ts +9 -0
- package/angular/src/controls/ux/sme-ux-footer/sme-ux-footer.module.d.ts +8 -0
- package/angular/src/controls/ux/sme-ux-page/index.d.ts +2 -0
- package/angular/src/controls/ux/sme-ux-page/sme-ux-page.component.d.ts +9 -0
- package/angular/src/controls/ux/sme-ux-page/sme-ux-page.module.d.ts +10 -0
- package/angular/src/controls/wizard-lite/index.d.ts +2 -0
- package/angular/src/controls/wizard-lite/wizard-lite.component.d.ts +38 -0
- package/angular/src/controls/wizard-lite/wizard-lite.module.d.ts +14 -0
- package/angular/src/controls/wizard-lite/wizard-lite.service.d.ts +30 -0
- package/angular/src/controls/wizard-lite/wizard-navigation-button/index.d.ts +2 -0
- package/angular/src/controls/wizard-lite/wizard-navigation-button/wizard-navigation-button.component.d.ts +108 -0
- package/angular/src/controls/wizard-lite/wizard-navigation-button/wizard-navigation-button.module.d.ts +9 -0
- package/angular/src/generated/strings.d.ts +10 -0
- package/core/assets/strings/cs-CZ/strings.json +1 -1
- package/core/assets/strings/de-DE/strings.json +1 -1
- package/core/assets/strings/es-ES/strings.json +1 -1
- package/core/assets/strings/fr-FR/strings.json +1 -1
- package/core/assets/strings/hu-HU/strings.json +1 -1
- package/core/assets/strings/id-ID/strings.json +1 -1
- package/core/assets/strings/it-IT/strings.json +1 -1
- package/core/assets/strings/ja-JP/strings.json +1 -1
- package/core/assets/strings/ko-KR/strings.json +1 -1
- package/core/assets/strings/nl-NL/strings.json +1 -1
- package/core/assets/strings/pl-PL/strings.json +1 -1
- package/core/assets/strings/pt-BR/strings.json +1 -1
- package/core/assets/strings/pt-PT/strings.json +1 -1
- package/core/assets/strings/ru-RU/strings.json +1 -1
- package/core/assets/strings/strings.json +1 -1
- package/core/assets/strings/sv-SE/strings.json +1 -1
- package/core/assets/strings/tr-TR/strings.json +1 -1
- package/core/assets/strings/zh-CN/strings.json +1 -1
- package/core/assets/strings/zh-TW/strings.json +1 -1
- package/core/data/file-transfer.js +5 -5
- package/core/data/file-transfer.js.map +1 -1
- package/core/data/wdac-operations.d.ts +10 -0
- package/core/data/wdac-operations.js +14 -1
- package/core/data/wdac-operations.js.map +1 -1
- package/core/diagnostics/sme-web-telemetry-models.d.ts +2 -1
- package/core/diagnostics/sme-web-telemetry-models.js +1 -0
- package/core/diagnostics/sme-web-telemetry-models.js.map +1 -1
- package/core/diagnostics/sme-web-telemetry.d.ts +20 -0
- package/core/diagnostics/sme-web-telemetry.js +59 -0
- package/core/diagnostics/sme-web-telemetry.js.map +1 -1
- package/core/generated/powershell-scripts.js +1 -1
- package/core/generated/powershell-scripts.js.map +1 -1
- package/core/generated/strings.d.ts +1 -0
- package/core/generated/strings.js.map +1 -1
- package/core/resources/scripts/public/inventory/Get-ServerInventory.ps1 +11 -3
- package/core/shared/server-inventory/server-inventory-cache.js +3 -0
- package/core/shared/server-inventory/server-inventory-cache.js.map +1 -1
- package/core/shared/server-inventory/server-inventory.d.ts +24 -0
- package/core/shared/server-inventory/server-inventory.js.map +1 -1
- package/package.json +1 -1
- package/styles/css/main-v2.css +1 -1
- package/tools/wac-cli/templates/wac-template/angular.json +2 -2
- package/tools/wac-cli/templates/wac-template/src/main.ts +3 -0
|
@@ -10712,6 +10712,10 @@
|
|
|
10712
10712
|
this.resetFlex();
|
|
10713
10713
|
}
|
|
10714
10714
|
this.layoutDrivenType = layoutDrivenType;
|
|
10715
|
+
// The vertical space gap is determined by the itemVerticalSpace parameter.
|
|
10716
|
+
// For the defaultMode, it is controlled by the padding bottom of the grid item.
|
|
10717
|
+
// For the responsive manager driven mode, it is controlled by the grid-gap.
|
|
10718
|
+
this.hostElement.nativeElement.style.gridGap = layoutDrivenType === exports.LayoutDrivenType.ResponsiveWindowManager ? this.itemVerticalSpace + "px 0px" : 'unset';
|
|
10715
10719
|
};
|
|
10716
10720
|
LayoutComponent.prototype.getTotalColumnSpan = function (layoutItems) {
|
|
10717
10721
|
var _this = this;
|
|
@@ -10798,11 +10802,12 @@
|
|
|
10798
10802
|
* @param availableLayoutWidthInPixel available width in pixel horizontally.
|
|
10799
10803
|
*/
|
|
10800
10804
|
LayoutComponent.prototype.configDrivenCalculationDefault = function (layoutItems, availableLayoutWidthInPixel) {
|
|
10805
|
+
var _a;
|
|
10801
10806
|
var defaultWidthForLayoutItemInPixel = 200;
|
|
10802
10807
|
var widthUsedInPixel = 0;
|
|
10803
10808
|
var percentageSoFar = 0;
|
|
10804
10809
|
for (var i = 0; i < layoutItems.length; i++) {
|
|
10805
|
-
if (layoutItems[i].customConfig.width) {
|
|
10810
|
+
if ((_a = layoutItems[i].customConfig) === null || _a === void 0 ? void 0 : _a.width) {
|
|
10806
10811
|
var widthObject = layoutItems[i].customConfig.width;
|
|
10807
10812
|
var remainingWidthInPixel = availableLayoutWidthInPixel - widthUsedInPixel;
|
|
10808
10813
|
if (widthObject.type === exports.LayoutItemConfigPropertyWidthType.Percentage) {
|
|
@@ -10925,6 +10930,9 @@
|
|
|
10925
10930
|
LayoutComponent.prototype.updateCustomConfig = function (layoutItems) {
|
|
10926
10931
|
var widthType = [];
|
|
10927
10932
|
for (var i = 0; i < layoutItems.length; i++) {
|
|
10933
|
+
if (!this.currentLayoutItemConfig[i]) {
|
|
10934
|
+
continue;
|
|
10935
|
+
}
|
|
10928
10936
|
layoutItems[i].customConfig = this.currentLayoutItemConfig[i];
|
|
10929
10937
|
if (!widthType.includes(layoutItems[i].customConfig.width.type)) {
|
|
10930
10938
|
widthType.push(layoutItems[i].customConfig.width.type);
|
|
@@ -35696,6 +35704,10 @@
|
|
|
35696
35704
|
* The selected tab changed event
|
|
35697
35705
|
*/
|
|
35698
35706
|
_this.selectionChange = new i0.EventEmitter();
|
|
35707
|
+
/**
|
|
35708
|
+
* The selected tab changed event triggered by click or keyboard navigation.
|
|
35709
|
+
*/
|
|
35710
|
+
_this.selectionChangeByClick = new i0.EventEmitter();
|
|
35699
35711
|
/**
|
|
35700
35712
|
* Implementation of the Layout interface
|
|
35701
35713
|
*/
|
|
@@ -35806,6 +35818,14 @@
|
|
|
35806
35818
|
if (byWindowSize === void 0) { byWindowSize = false; }
|
|
35807
35819
|
this.updatePivotTabs(shouldEmit, byWindowSize);
|
|
35808
35820
|
};
|
|
35821
|
+
/**
|
|
35822
|
+
* Selects a tab by clicking or keyboard navigation.
|
|
35823
|
+
* @param tab The tab to select by clicking or keyboard navigation.
|
|
35824
|
+
*/
|
|
35825
|
+
PivotComponent.prototype.onClick = function (tab) {
|
|
35826
|
+
this.select(tab);
|
|
35827
|
+
this.selectionChangeByClick.emit(tab);
|
|
35828
|
+
};
|
|
35809
35829
|
/**
|
|
35810
35830
|
* Selects a tab
|
|
35811
35831
|
* @param tab The tab to select
|
|
@@ -35870,6 +35890,28 @@
|
|
|
35870
35890
|
}
|
|
35871
35891
|
return undefined;
|
|
35872
35892
|
};
|
|
35893
|
+
/**
|
|
35894
|
+
* It gets the label from the pivot tab component.
|
|
35895
|
+
* @returns array of labels representing the pivot tabs.
|
|
35896
|
+
*/
|
|
35897
|
+
PivotComponent.prototype.getLabels = function () {
|
|
35898
|
+
if (!this.tabs || !this.tabs.toArray()) {
|
|
35899
|
+
return [];
|
|
35900
|
+
}
|
|
35901
|
+
return this.tabs.toArray().map(function (a) { return a.label; });
|
|
35902
|
+
};
|
|
35903
|
+
/**
|
|
35904
|
+
* It handles the selection of pivot tab by label.
|
|
35905
|
+
* @param label the label for pivot tab to be selected.
|
|
35906
|
+
* @returns void.
|
|
35907
|
+
*/
|
|
35908
|
+
PivotComponent.prototype.selectTabByLabel = function (label) {
|
|
35909
|
+
var tabComponent = this.getPivotTabComponentByLabel(label);
|
|
35910
|
+
if (!tabComponent) {
|
|
35911
|
+
return;
|
|
35912
|
+
}
|
|
35913
|
+
this.select(tabComponent);
|
|
35914
|
+
};
|
|
35873
35915
|
/**
|
|
35874
35916
|
* Creates the idBag used by this component to store unique element ids.
|
|
35875
35917
|
* id values will be assigned by the @see BaseComponent super class.
|
|
@@ -35887,6 +35929,22 @@
|
|
|
35887
35929
|
'sme-pivot'
|
|
35888
35930
|
]);
|
|
35889
35931
|
};
|
|
35932
|
+
/**
|
|
35933
|
+
* Gets the pivot tab component by pivot tab label.
|
|
35934
|
+
* @param label the label string.
|
|
35935
|
+
* @returns the pivot tab component with the specific label.
|
|
35936
|
+
*/
|
|
35937
|
+
PivotComponent.prototype.getPivotTabComponentByLabel = function (label) {
|
|
35938
|
+
if (!this.tabs || !this.tabs.toArray() || !this.tabs.toArray().length) {
|
|
35939
|
+
return;
|
|
35940
|
+
}
|
|
35941
|
+
var tabs = this.tabs.toArray();
|
|
35942
|
+
for (var i = 0; i < tabs.length; i++) {
|
|
35943
|
+
if (tabs[i].label === label) {
|
|
35944
|
+
return tabs[i];
|
|
35945
|
+
}
|
|
35946
|
+
}
|
|
35947
|
+
};
|
|
35890
35948
|
/**
|
|
35891
35949
|
* Main rendering functionality for the pivot tab
|
|
35892
35950
|
* @param shouldEmit It indicates whether the layout changed event should be fired.
|
|
@@ -35950,7 +36008,9 @@
|
|
|
35950
36008
|
isMoreButtonWidthAdded = true;
|
|
35951
36009
|
// Pop the prev visible tab due to not compatible after adding the 'More' dropdown.
|
|
35952
36010
|
// Guarantee that at least one tab will be shown at minimum.
|
|
35953
|
-
|
|
36011
|
+
// If the prev item is selected, should not backtracking pop.
|
|
36012
|
+
if (this.selection && this.visibleTabs.length > 1 &&
|
|
36013
|
+
this.selection !== this.visibleTabs[this.visibleTabs.length - 1]) {
|
|
35954
36014
|
var poppedTab = this.visibleTabs.pop();
|
|
35955
36015
|
this.trayTabs.push(poppedTab);
|
|
35956
36016
|
currentFill -= prevWidth;
|
|
@@ -35998,7 +36058,7 @@
|
|
|
35998
36058
|
if (rf & 2) {
|
|
35999
36059
|
i0.ɵɵclassProp("sme-disabled", ctx.disabled);
|
|
36000
36060
|
}
|
|
36001
|
-
}, inputs: { selection: "selection", switchTabByShowHide: "switchTabByShowHide", headerText: "headerText", alignHeader: "alignHeader", alignTabs: "alignTabs", noLeftPadding: "noLeftPadding", disabled: "disabled" }, outputs: { selectionChange: "selectionChange", layoutChanged: "layoutChanged", windowBreakpointChanged: "windowBreakpointChanged" }, features: [i0.ɵɵProvidersFeature([
|
|
36061
|
+
}, inputs: { selection: "selection", switchTabByShowHide: "switchTabByShowHide", headerText: "headerText", alignHeader: "alignHeader", alignTabs: "alignTabs", noLeftPadding: "noLeftPadding", disabled: "disabled" }, outputs: { selectionChange: "selectionChange", selectionChangeByClick: "selectionChangeByClick", layoutChanged: "layoutChanged", windowBreakpointChanged: "windowBreakpointChanged" }, features: [i0.ɵɵProvidersFeature([
|
|
36002
36062
|
{ provide: SME_LAYOUT_PROVIDER, useExisting: i0.forwardRef((function () { return PivotComponent; })) },
|
|
36003
36063
|
{ provide: SME_PIVOT_TAB_CONTAINER_PROVIDER, useExisting: i0.forwardRef((function () { return PivotComponent; })) }
|
|
36004
36064
|
]), i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 20, consts: [[1, "sme-arrange-stack-h"], ["class", "sme-position-flex-auto", 4, "ngIf"], ["role", "tablist"], [4, "ngFor", "ngForOf"], ["role", "menu"], ["role", "presentation", 1, "sme-position-flex-none"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-chevronDown", "sme-margin-left-xs"], ["role", "menu", 1, "sme-dropdown-content", "sme-arrange-stack-v", "sme-position-stretch-h"], ["class", "sme-arrange-stack-h", 4, "ngFor", "ngForOf"], ["role", "tabpanel", 3, "id", "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [1, "sme-position-flex-auto"], ["role", "tab", 3, "routerLink", "disabled", "sme-disabled", "routerLinkActiveOptions", "sme-active", "smeRouterLinkActivated", 4, "ngIf"], ["tabindex", "0", "role", "tab", 3, "disabled", "sme-disabled", "sme-active", "click", 4, "ngIf"], ["role", "tab", 3, "routerLink", "disabled", "routerLinkActiveOptions", "smeRouterLinkActivated"], [3, "class", 4, "ngIf"], ["tabindex", "0", "role", "tab", 3, "disabled", "click"], ["role", "menuitem", "class", "sme-position-stretch-h", 3, "routerLink", "sme-disabled", "routerLinkActiveOptions", "smeRouterLinkActivated", 4, "ngIf"], ["role", "menuitem", "class", "sme-position-stretch-h", 3, "sme-disabled", "click", 4, "ngIf"], ["role", "menuitem", 1, "sme-position-stretch-h", 3, "routerLink", "routerLinkActiveOptions", "smeRouterLinkActivated"], ["role", "menuitem", 1, "sme-position-stretch-h", 3, "click"], ["role", "tabpanel", 3, "id"], ["pivotContents", ""], [4, "ngTemplateOutlet"]], template: function PivotComponent_Template(rf, ctx) {
|
|
@@ -36029,10 +36089,10 @@
|
|
|
36029
36089
|
}
|
|
36030
36090
|
if (rf & 2) {
|
|
36031
36091
|
var _r2 = i0.ɵɵreference(7);
|
|
36032
|
-
i0.ɵɵstyleProp("padding-left", ctx.noLeftPadding ? 0 : null);
|
|
36033
36092
|
i0.ɵɵadvance(1);
|
|
36034
36093
|
i0.ɵɵproperty("ngIf", ctx.headerText);
|
|
36035
36094
|
i0.ɵɵadvance(1);
|
|
36095
|
+
i0.ɵɵstyleProp("padding-left", ctx.noLeftPadding ? 0 : null);
|
|
36036
36096
|
i0.ɵɵclassProp("sme-pivot-reverse-header", ctx.alignTabs === "right")("sme-position-stretch-h", !ctx.headerText);
|
|
36037
36097
|
i0.ɵɵadvance(2);
|
|
36038
36098
|
i0.ɵɵproperty("ngForOf", ctx.visibleTabs);
|
|
@@ -36111,6 +36171,8 @@
|
|
|
36111
36171
|
type: i0.Input
|
|
36112
36172
|
}], selectionChange: [{
|
|
36113
36173
|
type: i0.Output
|
|
36174
|
+
}], selectionChangeByClick: [{
|
|
36175
|
+
type: i0.Output
|
|
36114
36176
|
}], layoutChanged: [{
|
|
36115
36177
|
type: i0.Output
|
|
36116
36178
|
}], windowBreakpointChanged: [{
|
|
@@ -42834,6 +42896,290 @@
|
|
|
42834
42896
|
});
|
|
42835
42897
|
}
|
|
42836
42898
|
|
|
42899
|
+
var ContextDropdownComponent = /** @class */ (function () {
|
|
42900
|
+
function ContextDropdownComponent() {
|
|
42901
|
+
this.actions = [];
|
|
42902
|
+
}
|
|
42903
|
+
return ContextDropdownComponent;
|
|
42904
|
+
}());
|
|
42905
|
+
/** @nocollapse */ ContextDropdownComponent.ɵfac = function ContextDropdownComponent_Factory(t) { return new (t || ContextDropdownComponent)(); };
|
|
42906
|
+
/** @nocollapse */ ContextDropdownComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ContextDropdownComponent, selectors: [["sme-context-dropdown"]], inputs: { actionGroupTitle: "actionGroupTitle", actions: "actions" }, decls: 8, vars: 3, consts: [["role", "presentation", 1, "sme-position-flex-none", 3, "displayToSide"], ["dropDown", ""], ["role", "menuitem", "type", "button", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-button-align-left", "sme-position-stretch-h", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-chevronRight", "sme-position-right-inline"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions"]], template: function ContextDropdownComponent_Template(rf, ctx) {
|
|
42907
|
+
if (rf & 1) {
|
|
42908
|
+
i0.ɵɵelementStart(0, "sme-dropdown", 0, 1);
|
|
42909
|
+
i0.ɵɵelementStart(2, "button", 2, 3);
|
|
42910
|
+
i0.ɵɵelementStart(4, "span");
|
|
42911
|
+
i0.ɵɵtext(5);
|
|
42912
|
+
i0.ɵɵelementEnd();
|
|
42913
|
+
i0.ɵɵelement(6, "span", 4);
|
|
42914
|
+
i0.ɵɵelementEnd();
|
|
42915
|
+
i0.ɵɵelement(7, "sme-action-menu", 5);
|
|
42916
|
+
i0.ɵɵelementEnd();
|
|
42917
|
+
}
|
|
42918
|
+
if (rf & 2) {
|
|
42919
|
+
i0.ɵɵproperty("displayToSide", true);
|
|
42920
|
+
i0.ɵɵadvance(5);
|
|
42921
|
+
i0.ɵɵtextInterpolate(ctx.actionGroupTitle);
|
|
42922
|
+
i0.ɵɵadvance(2);
|
|
42923
|
+
i0.ɵɵproperty("actions", ctx.actions);
|
|
42924
|
+
}
|
|
42925
|
+
}, directives: [DropdownComponent, ActionMenuComponent], encapsulation: 2 });
|
|
42926
|
+
(function () {
|
|
42927
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextDropdownComponent, [{
|
|
42928
|
+
type: i0.Component,
|
|
42929
|
+
args: [{
|
|
42930
|
+
selector: 'sme-context-dropdown',
|
|
42931
|
+
templateUrl: './context-dropdown.component.html'
|
|
42932
|
+
}]
|
|
42933
|
+
}], null, { actionGroupTitle: [{
|
|
42934
|
+
type: i0.Input
|
|
42935
|
+
}], actions: [{
|
|
42936
|
+
type: i0.Input
|
|
42937
|
+
}] });
|
|
42938
|
+
})();
|
|
42939
|
+
|
|
42940
|
+
function ContextMenuComponent_sme_dropdown_0_Template(rf, ctx) {
|
|
42941
|
+
if (rf & 1) {
|
|
42942
|
+
i0.ɵɵelementStart(0, "sme-dropdown", 1);
|
|
42943
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
42944
|
+
i0.ɵɵprojection(2);
|
|
42945
|
+
i0.ɵɵelement(3, "sme-action-menu", 3, 4);
|
|
42946
|
+
i0.ɵɵelementEnd();
|
|
42947
|
+
i0.ɵɵelementEnd();
|
|
42948
|
+
}
|
|
42949
|
+
if (rf & 2) {
|
|
42950
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
42951
|
+
i0.ɵɵproperty("isContextMenu", true)("ngStyle", ctx_r0.getMenuPosition());
|
|
42952
|
+
i0.ɵɵadvance(3);
|
|
42953
|
+
i0.ɵɵproperty("actions", ctx_r0.contextMenuItems)("target", ctx_r0.target);
|
|
42954
|
+
}
|
|
42955
|
+
}
|
|
42956
|
+
var _c0$1a = ["*"];
|
|
42957
|
+
/**
|
|
42958
|
+
*
|
|
42959
|
+
* @smeDoc {@label Context-Menu @id sme-context-menu}
|
|
42960
|
+
*
|
|
42961
|
+
* @overview
|
|
42962
|
+
* @file {@filepath ./examples/context-menu-overview.md}
|
|
42963
|
+
*
|
|
42964
|
+
* @example {@label Basic Usage @id sme-dev-guide-controls-context-menu}
|
|
42965
|
+
* @file {@filename component.html @filepath ./examples/context-menu-example.component.html}
|
|
42966
|
+
* @file {@filename component.ts @filepath ./examples/context-menu-example.component.ts}
|
|
42967
|
+
*
|
|
42968
|
+
* @example {@label Nested Actions Usage @id sme-nested-actions-guide}
|
|
42969
|
+
* @file {@filename component.html @filepath ./examples/nested-context-menu-example.component.html}
|
|
42970
|
+
* @file {@filename component.ts @filepath ./examples/context-menu-example.component.ts}
|
|
42971
|
+
*/
|
|
42972
|
+
var ContextMenuComponent = /** @class */ (function (_super) {
|
|
42973
|
+
__extends(ContextMenuComponent, _super);
|
|
42974
|
+
function ContextMenuComponent(injector, element) {
|
|
42975
|
+
var _this = _super.call(this, injector) || this;
|
|
42976
|
+
_this.element = element;
|
|
42977
|
+
/**
|
|
42978
|
+
* Gets the items to display in the contextmenu -they should of type actionItem
|
|
42979
|
+
*/
|
|
42980
|
+
_this.contextMenuItems = [];
|
|
42981
|
+
/**
|
|
42982
|
+
*Takes in a function that is executed once an actionItem is clicked
|
|
42983
|
+
*/
|
|
42984
|
+
_this.contextMenuItemClick = new i0.EventEmitter();
|
|
42985
|
+
/**
|
|
42986
|
+
* Value that toggles the contextmenu
|
|
42987
|
+
*/
|
|
42988
|
+
_this.isOpen = false;
|
|
42989
|
+
return _this;
|
|
42990
|
+
}
|
|
42991
|
+
Object.defineProperty(ContextMenuComponent.prototype, "logSourceName", {
|
|
42992
|
+
/**
|
|
42993
|
+
* The source name to use for logging
|
|
42994
|
+
*/
|
|
42995
|
+
get: function () {
|
|
42996
|
+
return 'ContextMenuComponent';
|
|
42997
|
+
},
|
|
42998
|
+
enumerable: false,
|
|
42999
|
+
configurable: true
|
|
43000
|
+
});
|
|
43001
|
+
/**
|
|
43002
|
+
* Function that does the positioning of the contextmenu depending on the right-click
|
|
43003
|
+
*/
|
|
43004
|
+
ContextMenuComponent.prototype.getMenuPosition = function () {
|
|
43005
|
+
if (this.mouseEventData) {
|
|
43006
|
+
return {
|
|
43007
|
+
top: this.mouseEventData.clientY + "px",
|
|
43008
|
+
left: this.mouseEventData.clientX + "px"
|
|
43009
|
+
};
|
|
43010
|
+
}
|
|
43011
|
+
};
|
|
43012
|
+
/**
|
|
43013
|
+
* Function that adds focus to the element when using the keyboard
|
|
43014
|
+
*/
|
|
43015
|
+
ContextMenuComponent.prototype.autoFocus = function () {
|
|
43016
|
+
if (this.element.nativeElement) {
|
|
43017
|
+
var firstFocusable = dom.Dom.getFirstFocusableDescendent(this.element.nativeElement);
|
|
43018
|
+
if (firstFocusable) {
|
|
43019
|
+
firstFocusable.focus();
|
|
43020
|
+
}
|
|
43021
|
+
}
|
|
43022
|
+
};
|
|
43023
|
+
return ContextMenuComponent;
|
|
43024
|
+
}(CoreBaseComponent));
|
|
43025
|
+
/** @nocollapse */ ContextMenuComponent.ɵfac = function ContextMenuComponent_Factory(t) { return new (t || ContextMenuComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
43026
|
+
/** @nocollapse */ ContextMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ContextMenuComponent, selectors: [["sme-context-menu"]], inputs: { contextMenuItems: "contextMenuItems", mouseEventData: "mouseEventData", target: "target" }, outputs: { contextMenuItemClick: "contextMenuItemClick" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1a, decls: 1, vars: 1, consts: [["class", "sme-layout-fixed sme-layer-dialog sme-focus-zone", 3, "isContextMenu", "ngStyle", 4, "ngIf"], [1, "sme-layout-fixed", "sme-layer-dialog", "sme-focus-zone", 3, "isContextMenu", "ngStyle"], ["role", "menu", 1, "sme-dropdown-content"], ["role", "menu", 3, "actions", "target"], ["actionBar", ""]], template: function ContextMenuComponent_Template(rf, ctx) {
|
|
43027
|
+
if (rf & 1) {
|
|
43028
|
+
i0.ɵɵprojectionDef();
|
|
43029
|
+
i0.ɵɵtemplate(0, ContextMenuComponent_sme_dropdown_0_Template, 5, 4, "sme-dropdown", 0);
|
|
43030
|
+
}
|
|
43031
|
+
if (rf & 2) {
|
|
43032
|
+
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
43033
|
+
}
|
|
43034
|
+
}, directives: [i1$1.NgIf, DropdownComponent, i1$1.NgStyle, ActionMenuComponent], encapsulation: 2 });
|
|
43035
|
+
__decorate([
|
|
43036
|
+
debounce_decorators.Debounce(1),
|
|
43037
|
+
__metadata("design:type", Function),
|
|
43038
|
+
__metadata("design:paramtypes", []),
|
|
43039
|
+
__metadata("design:returntype", void 0)
|
|
43040
|
+
], ContextMenuComponent.prototype, "autoFocus", null);
|
|
43041
|
+
(function () {
|
|
43042
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextMenuComponent, [{
|
|
43043
|
+
type: i0.Component,
|
|
43044
|
+
args: [{
|
|
43045
|
+
selector: 'sme-context-menu',
|
|
43046
|
+
templateUrl: './context-menu.component.html',
|
|
43047
|
+
}]
|
|
43048
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, { contextMenuItems: [{
|
|
43049
|
+
type: i0.Input
|
|
43050
|
+
}], mouseEventData: [{
|
|
43051
|
+
type: i0.Input
|
|
43052
|
+
}], target: [{
|
|
43053
|
+
type: i0.Input
|
|
43054
|
+
}], contextMenuItemClick: [{
|
|
43055
|
+
type: i0.Output
|
|
43056
|
+
}], autoFocus: [] });
|
|
43057
|
+
})();
|
|
43058
|
+
|
|
43059
|
+
/**
|
|
43060
|
+
* Directive that controls the opening and the closing of the context-menu,
|
|
43061
|
+
* once the host element is right-clicked
|
|
43062
|
+
*/
|
|
43063
|
+
var ContextMenuDirective = /** @class */ (function () {
|
|
43064
|
+
function ContextMenuDirective(el) {
|
|
43065
|
+
this.el = el;
|
|
43066
|
+
}
|
|
43067
|
+
/**
|
|
43068
|
+
* Listens for the right-click event on the host
|
|
43069
|
+
* Opens custom contextmenu except when text is highlighted or link is clicked
|
|
43070
|
+
*/
|
|
43071
|
+
ContextMenuDirective.prototype.onClick = function (event) {
|
|
43072
|
+
var tagElement = event.target;
|
|
43073
|
+
if (tagElement.tagName.toUpperCase() === 'A' || window.getSelection().toString() !== '') {
|
|
43074
|
+
this.el.nativeElement.enableRightClickSelect = false;
|
|
43075
|
+
}
|
|
43076
|
+
else {
|
|
43077
|
+
event.preventDefault();
|
|
43078
|
+
this.el.nativeElement.enableRightClickSelect = true;
|
|
43079
|
+
this.openContextMenu(event);
|
|
43080
|
+
}
|
|
43081
|
+
};
|
|
43082
|
+
// Closes the context menu when a click event is fired
|
|
43083
|
+
ContextMenuDirective.prototype.documentClick = function () {
|
|
43084
|
+
this.smeContextMenu.isOpen = false;
|
|
43085
|
+
};
|
|
43086
|
+
// Prevents tab key event from closing the context menu
|
|
43087
|
+
ContextMenuDirective.prototype.onKeyup = function (event) {
|
|
43088
|
+
if (event.keyCode === accessibilityManager.KeyCode.Tab) {
|
|
43089
|
+
event.preventDefault();
|
|
43090
|
+
event.stopPropagation();
|
|
43091
|
+
}
|
|
43092
|
+
};
|
|
43093
|
+
/**
|
|
43094
|
+
* Called once right-click is triggered and toggles the isOpen from the contextMenu
|
|
43095
|
+
* It controls the opening and closing of contextMenu
|
|
43096
|
+
*/
|
|
43097
|
+
ContextMenuDirective.prototype.openContextMenu = function ($event) {
|
|
43098
|
+
var _this = this;
|
|
43099
|
+
this.smeContextMenu.autoFocus();
|
|
43100
|
+
if (this.smeContextMenu.isOpen) {
|
|
43101
|
+
this.smeContextMenu.isOpen = false;
|
|
43102
|
+
}
|
|
43103
|
+
setTimeout(function () {
|
|
43104
|
+
_this.smeContextMenu.mouseEventData = $event;
|
|
43105
|
+
_this.smeContextMenu.isOpen = true;
|
|
43106
|
+
});
|
|
43107
|
+
};
|
|
43108
|
+
return ContextMenuDirective;
|
|
43109
|
+
}());
|
|
43110
|
+
/** @nocollapse */ ContextMenuDirective.ɵfac = function ContextMenuDirective_Factory(t) { return new (t || ContextMenuDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
43111
|
+
/** @nocollapse */ ContextMenuDirective.ɵdir = i0.ɵɵdefineDirective({ type: ContextMenuDirective, selectors: [["", "smeContextMenu", ""]], hostBindings: function ContextMenuDirective_HostBindings(rf, ctx) {
|
|
43112
|
+
if (rf & 1) {
|
|
43113
|
+
i0.ɵɵlistener("contextmenu", function ContextMenuDirective_contextmenu_HostBindingHandler($event) { return ctx.onClick($event); })("click", function ContextMenuDirective_click_HostBindingHandler() { return ctx.documentClick(); }, false, i0.ɵɵresolveDocument)("keyup", function ContextMenuDirective_keyup_HostBindingHandler($event) { return ctx.onKeyup($event); });
|
|
43114
|
+
}
|
|
43115
|
+
}, inputs: { smeContextMenu: "smeContextMenu" } });
|
|
43116
|
+
(function () {
|
|
43117
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextMenuDirective, [{
|
|
43118
|
+
type: i0.Directive,
|
|
43119
|
+
args: [{
|
|
43120
|
+
selector: '[smeContextMenu]'
|
|
43121
|
+
}]
|
|
43122
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { smeContextMenu: [{
|
|
43123
|
+
type: i0.Input
|
|
43124
|
+
}], onClick: [{
|
|
43125
|
+
type: i0.HostListener,
|
|
43126
|
+
args: ['contextmenu', ['$event']]
|
|
43127
|
+
}], documentClick: [{
|
|
43128
|
+
type: i0.HostListener,
|
|
43129
|
+
args: ['document:click']
|
|
43130
|
+
}], onKeyup: [{
|
|
43131
|
+
type: i0.HostListener,
|
|
43132
|
+
args: ['keyup', ['$event']]
|
|
43133
|
+
}] });
|
|
43134
|
+
})();
|
|
43135
|
+
|
|
43136
|
+
var ContextMenuModule = /** @class */ (function () {
|
|
43137
|
+
function ContextMenuModule() {
|
|
43138
|
+
}
|
|
43139
|
+
return ContextMenuModule;
|
|
43140
|
+
}());
|
|
43141
|
+
/** @nocollapse */ ContextMenuModule.ɵfac = function ContextMenuModule_Factory(t) { return new (t || ContextMenuModule)(); };
|
|
43142
|
+
/** @nocollapse */ ContextMenuModule.ɵmod = i0.ɵɵdefineNgModule({ type: ContextMenuModule });
|
|
43143
|
+
/** @nocollapse */ ContextMenuModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
43144
|
+
i1$1.CommonModule,
|
|
43145
|
+
ActionsModule,
|
|
43146
|
+
DropdownModule,
|
|
43147
|
+
DataTableModule
|
|
43148
|
+
]] });
|
|
43149
|
+
(function () {
|
|
43150
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ContextMenuModule, { declarations: [ContextMenuComponent,
|
|
43151
|
+
ContextMenuDirective,
|
|
43152
|
+
ContextDropdownComponent], imports: [i1$1.CommonModule,
|
|
43153
|
+
ActionsModule,
|
|
43154
|
+
DropdownModule,
|
|
43155
|
+
DataTableModule], exports: [ContextMenuComponent,
|
|
43156
|
+
ContextMenuDirective,
|
|
43157
|
+
ContextDropdownComponent] });
|
|
43158
|
+
})();
|
|
43159
|
+
(function () {
|
|
43160
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextMenuModule, [{
|
|
43161
|
+
type: i0.NgModule,
|
|
43162
|
+
args: [{
|
|
43163
|
+
declarations: [
|
|
43164
|
+
ContextMenuComponent,
|
|
43165
|
+
ContextMenuDirective,
|
|
43166
|
+
ContextDropdownComponent
|
|
43167
|
+
],
|
|
43168
|
+
imports: [
|
|
43169
|
+
i1$1.CommonModule,
|
|
43170
|
+
ActionsModule,
|
|
43171
|
+
DropdownModule,
|
|
43172
|
+
DataTableModule
|
|
43173
|
+
],
|
|
43174
|
+
exports: [
|
|
43175
|
+
ContextMenuComponent,
|
|
43176
|
+
ContextMenuDirective,
|
|
43177
|
+
ContextDropdownComponent
|
|
43178
|
+
]
|
|
43179
|
+
}]
|
|
43180
|
+
}], null, null);
|
|
43181
|
+
})();
|
|
43182
|
+
|
|
42837
43183
|
var DetailsResponsiveWindowManager = /** @class */ (function (_super) {
|
|
42838
43184
|
__extends(DetailsResponsiveWindowManager, _super);
|
|
42839
43185
|
function DetailsResponsiveWindowManager() {
|
|
@@ -42893,11 +43239,11 @@
|
|
|
42893
43239
|
return DetailsResponsiveWindowManager;
|
|
42894
43240
|
}(SmeResponsiveWindowManagerComponent));
|
|
42895
43241
|
|
|
42896
|
-
var _c0$
|
|
43242
|
+
var _c0$1b = ["expander"];
|
|
42897
43243
|
var _c1$F = function (a0, a1) { return { "sme-icon-chevronUpMed": a0, "sme-icon-chevronDownMed": a1 }; };
|
|
42898
43244
|
function DetailsComponent_span_5_Template(rf, ctx) {
|
|
42899
43245
|
if (rf & 1) {
|
|
42900
|
-
i0.ɵɵelement(0, "span",
|
|
43246
|
+
i0.ɵɵelement(0, "span", 8);
|
|
42901
43247
|
}
|
|
42902
43248
|
if (rf & 2) {
|
|
42903
43249
|
var ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -42906,13 +43252,18 @@
|
|
|
42906
43252
|
}
|
|
42907
43253
|
function DetailsComponent_span_6_Template(rf, ctx) {
|
|
42908
43254
|
if (rf & 1) {
|
|
42909
|
-
i0.ɵɵelement(0, "span",
|
|
43255
|
+
i0.ɵɵelement(0, "span", 8);
|
|
42910
43256
|
}
|
|
42911
43257
|
if (rf & 2) {
|
|
42912
43258
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
42913
43259
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$F, ctx_r2.isExpanded, !ctx_r2.isExpanded));
|
|
42914
43260
|
}
|
|
42915
43261
|
}
|
|
43262
|
+
function DetailsComponent_hr_12_Template(rf, ctx) {
|
|
43263
|
+
if (rf & 1) {
|
|
43264
|
+
i0.ɵɵelement(0, "hr");
|
|
43265
|
+
}
|
|
43266
|
+
}
|
|
42916
43267
|
var _c2$h = function (a0, a1) { return { "sme-layout-absolute-phone-up sme-position-inset-none sme-padding-bottom-sm sme-arrange-overflow-auto": a0, "sme-layout-relative sme-position-stretch-v": a1 }; };
|
|
42917
43268
|
var _c3$b = ["*"];
|
|
42918
43269
|
/**
|
|
@@ -43103,13 +43454,13 @@
|
|
|
43103
43454
|
/** @nocollapse */ DetailsComponent.ɵfac = function DetailsComponent_Factory(t) { return new (t || DetailsComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8)); };
|
|
43104
43455
|
/** @nocollapse */ DetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DetailsComponent, selectors: [["sme-details"]], viewQuery: function DetailsComponent_Query(rf, ctx) {
|
|
43105
43456
|
if (rf & 1) {
|
|
43106
|
-
i0.ɵɵviewQuery(_c0$
|
|
43457
|
+
i0.ɵɵviewQuery(_c0$1b, 1);
|
|
43107
43458
|
}
|
|
43108
43459
|
if (rf & 2) {
|
|
43109
43460
|
var _t = void 0;
|
|
43110
43461
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.expander = _t.first);
|
|
43111
43462
|
}
|
|
43112
|
-
}, inputs: { initialHeightPercentage: "initialHeightPercentage", header: "header", chevronInverted: "chevronInverted", autoHeight: "autoHeight", title: "title", isExpanded: "isExpanded" }, outputs: { isExpandedChange: "isExpandedChange" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c3$b, decls:
|
|
43463
|
+
}, inputs: { initialHeightPercentage: "initialHeightPercentage", header: "header", chevronInverted: "chevronInverted", addBottomBorder: "addBottomBorder", autoHeight: "autoHeight", title: "title", isExpanded: "isExpanded" }, outputs: { isExpandedChange: "isExpandedChange" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c3$b, decls: 13, vars: 20, consts: [["role", "button", "tabindex", "0", 1, "sme-button", "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-squish-v-md", "sme-padding-horizontal-lg", "sme-position-stretch-h", "sme-position-left-inline", "sme-arrange-stack-h", "sme-focus-zone", 3, "click"], ["expander", ""], [1, "sme-font-h3", "sme-position-flex-auto", "sme-arrange-ellipsis"], ["class", "sme-icon sme-position-flex-none", "aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-position-flex-auto", "sme-layout-relative"], [3, "ngClass"], [4, "ngIf"], ["aria-hidden", "true", 1, "sme-icon", "sme-position-flex-none", 3, "ngClass"]], template: function DetailsComponent_Template(rf, ctx) {
|
|
43113
43464
|
if (rf & 1) {
|
|
43114
43465
|
i0.ɵɵprojectionDef();
|
|
43115
43466
|
i0.ɵɵelementStart(0, "h3");
|
|
@@ -43130,6 +43481,7 @@
|
|
|
43130
43481
|
i0.ɵɵprojection(11);
|
|
43131
43482
|
i0.ɵɵelementEnd();
|
|
43132
43483
|
i0.ɵɵelementEnd();
|
|
43484
|
+
i0.ɵɵtemplate(12, DetailsComponent_hr_12_Template, 1, 0, "hr", 7);
|
|
43133
43485
|
}
|
|
43134
43486
|
if (rf & 2) {
|
|
43135
43487
|
i0.ɵɵadvance(1);
|
|
@@ -43149,7 +43501,9 @@
|
|
|
43149
43501
|
i0.ɵɵclassProp("sme-margin-horizontal-lg", ctx.shouldContentSlim)("sme-position-stretch-v", ctx.autoHeight);
|
|
43150
43502
|
i0.ɵɵadvance(1);
|
|
43151
43503
|
i0.ɵɵclassProp("sme-layout-none", !ctx.isExpanded);
|
|
43152
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
43504
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(17, _c2$h, !ctx.autoHeight, ctx.autoHeight));
|
|
43505
|
+
i0.ɵɵadvance(2);
|
|
43506
|
+
i0.ɵɵproperty("ngIf", ctx.addBottomBorder);
|
|
43153
43507
|
}
|
|
43154
43508
|
}, directives: [i1$1.NgIf, i1$1.NgClass], encapsulation: 2 });
|
|
43155
43509
|
__decorate([
|
|
@@ -43193,6 +43547,8 @@
|
|
|
43193
43547
|
type: i0.Input
|
|
43194
43548
|
}], chevronInverted: [{
|
|
43195
43549
|
type: i0.Input
|
|
43550
|
+
}], addBottomBorder: [{
|
|
43551
|
+
type: i0.Input
|
|
43196
43552
|
}], autoHeight: [{
|
|
43197
43553
|
type: i0.Input
|
|
43198
43554
|
}], title: [{
|
|
@@ -43233,7 +43589,7 @@
|
|
|
43233
43589
|
}], null, null);
|
|
43234
43590
|
})();
|
|
43235
43591
|
|
|
43236
|
-
var _c0$
|
|
43592
|
+
var _c0$1c = ["dialog"];
|
|
43237
43593
|
/**
|
|
43238
43594
|
* The base dialog component for extending.
|
|
43239
43595
|
*/
|
|
@@ -43351,7 +43707,7 @@
|
|
|
43351
43707
|
/** @nocollapse */ BaseDialogComponent.ɵfac = function BaseDialogComponent_Factory(t) { return new (t || BaseDialogComponent)(i0.ɵɵdirectiveInject(DialogService)); };
|
|
43352
43708
|
/** @nocollapse */ BaseDialogComponent.ɵdir = i0.ɵɵdefineDirective({ type: BaseDialogComponent, viewQuery: function BaseDialogComponent_Query(rf, ctx) {
|
|
43353
43709
|
if (rf & 1) {
|
|
43354
|
-
i0.ɵɵviewQuery(_c0$
|
|
43710
|
+
i0.ɵɵviewQuery(_c0$1c, 1);
|
|
43355
43711
|
}
|
|
43356
43712
|
if (rf & 2) {
|
|
43357
43713
|
var _t = void 0;
|
|
@@ -43982,7 +44338,7 @@
|
|
|
43982
44338
|
i0.ɵɵtextInterpolate(ctx_r1.ariaDescription);
|
|
43983
44339
|
}
|
|
43984
44340
|
}
|
|
43985
|
-
var _c0$
|
|
44341
|
+
var _c0$1d = [[["sme-dialog-header"]], [["sme-dialog-content"]], [["sme-dialog-footer"]]];
|
|
43986
44342
|
var _c1$G = ["sme-dialog-header", "sme-dialog-content", "sme-dialog-footer"];
|
|
43987
44343
|
var ExtensionDialogComponent = /** @class */ (function (_super) {
|
|
43988
44344
|
__extends(ExtensionDialogComponent, _super);
|
|
@@ -43994,7 +44350,7 @@
|
|
|
43994
44350
|
/** @nocollapse */ ExtensionDialogComponent.ɵfac = function ExtensionDialogComponent_Factory(t) { return ɵExtensionDialogComponent_BaseFactory(t || ExtensionDialogComponent); };
|
|
43995
44351
|
/** @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) {
|
|
43996
44352
|
if (rf & 1) {
|
|
43997
|
-
i0.ɵɵprojectionDef(_c0$
|
|
44353
|
+
i0.ɵɵprojectionDef(_c0$1d);
|
|
43998
44354
|
i0.ɵɵelementStart(0, "div", 0);
|
|
43999
44355
|
i0.ɵɵelementStart(1, "div", 1);
|
|
44000
44356
|
i0.ɵɵprojection(2);
|
|
@@ -44383,7 +44739,7 @@
|
|
|
44383
44739
|
i0.ɵɵprojection(0);
|
|
44384
44740
|
}
|
|
44385
44741
|
}
|
|
44386
|
-
var _c0$
|
|
44742
|
+
var _c0$1e = ["*"];
|
|
44387
44743
|
var SmeHeaderData = /** @class */ (function () {
|
|
44388
44744
|
function SmeHeaderData() {
|
|
44389
44745
|
}
|
|
@@ -44471,7 +44827,7 @@
|
|
|
44471
44827
|
HeaderComponent.h3style = 'sme-font-h3';
|
|
44472
44828
|
HeaderComponent.h4style = 'sme-font-h4 sme-font-h4-no-spacing';
|
|
44473
44829
|
/** @nocollapse */ HeaderComponent.ɵfac = function HeaderComponent_Factory(t) { return new (t || HeaderComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
44474
|
-
/** @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$
|
|
44830
|
+
/** @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$1e, 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) {
|
|
44475
44831
|
if (rf & 1) {
|
|
44476
44832
|
i0.ɵɵprojectionDef();
|
|
44477
44833
|
i0.ɵɵtemplate(0, HeaderComponent_div_0_Template, 7, 6, "div", 0);
|
|
@@ -44655,7 +45011,7 @@
|
|
|
44655
45011
|
i0.ɵɵproperty("label", ctx_r3.strings.MsftSmeShell.Angular.Documentation.Tabs.Examples.label);
|
|
44656
45012
|
}
|
|
44657
45013
|
}
|
|
44658
|
-
var _c0$
|
|
45014
|
+
var _c0$1f = ["*"];
|
|
44659
45015
|
/**
|
|
44660
45016
|
*
|
|
44661
45017
|
* @smeDoc {@label Documentation @id sme-documentation-component}
|
|
@@ -44702,7 +45058,7 @@
|
|
|
44702
45058
|
return DocumentationComponent;
|
|
44703
45059
|
}(CoreBaseComponent));
|
|
44704
45060
|
/** @nocollapse */ DocumentationComponent.ɵfac = function DocumentationComponent_Factory(t) { return new (t || DocumentationComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
44705
|
-
/** @nocollapse */ DocumentationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentationComponent, selectors: [["sme-documentation"]], inputs: { document: "document" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
45061
|
+
/** @nocollapse */ DocumentationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentationComponent, selectors: [["sme-documentation"]], inputs: { document: "document" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1f, decls: 7, vars: 4, consts: [[1, "sme-layout-main-content-padding"], ["type", "tool-header", 3, "text", 4, "ngIf"], [1, "sme-position-flex-auto"], [3, "label"], [3, "label", 4, "ngIf"], ["type", "tool-header", 3, "text"], [1, "sme-padding-horizontal-lg"], [3, "smeMarkdown", 4, "ngIf"], [3, "smeMarkdown"], [4, "ngFor", "ngForOf"], [1, "sme-example-header"], [1, "sme-position-flex-auto", "sme-example-content"], [3, "label", 4, "ngFor", "ngForOf"], ["type", "code", "name", "code", "orientation", "vertical", 3, "ngModel", "label", "hideHeader", "language", "readonly", "ngModelChange"]], template: function DocumentationComponent_Template(rf, ctx) {
|
|
44706
45062
|
if (rf & 1) {
|
|
44707
45063
|
i0.ɵɵprojectionDef();
|
|
44708
45064
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -44823,7 +45179,7 @@
|
|
|
44823
45179
|
i0.ɵɵclassMapInterpolate1("sme-layout-absolute sme-width-xxs sme-position-stretch-v sme-layer-above ", ctx_r10.stripeClass, "");
|
|
44824
45180
|
}
|
|
44825
45181
|
}
|
|
44826
|
-
var _c0$
|
|
45182
|
+
var _c0$1g = function (a0) { return { "background-color": a0 }; };
|
|
44827
45183
|
function LegendEntryComponent_div_0_div_1_Template(rf, ctx) {
|
|
44828
45184
|
if (rf & 1) {
|
|
44829
45185
|
i0.ɵɵelementStart(0, "div", 13);
|
|
@@ -44833,7 +45189,7 @@
|
|
|
44833
45189
|
if (rf & 2) {
|
|
44834
45190
|
var ctx_r1 = i0.ɵɵnextContext(2);
|
|
44835
45191
|
i0.ɵɵclassMapInterpolate1("sme-margin-right-xs sme-width-xxs sme-layout-relative ", ctx_r1.hideInHighContrastClass, "");
|
|
44836
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c0$
|
|
45192
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c0$1g, ctx_r1.color));
|
|
44837
45193
|
i0.ɵɵadvance(1);
|
|
44838
45194
|
i0.ɵɵproperty("ngIf", ctx_r1.stripeClass);
|
|
44839
45195
|
}
|
|
@@ -45268,7 +45624,7 @@
|
|
|
45268
45624
|
}] });
|
|
45269
45625
|
})();
|
|
45270
45626
|
|
|
45271
|
-
var _c0$
|
|
45627
|
+
var _c0$1h = ["chart"];
|
|
45272
45628
|
function DoughnutChartComponent_div_2_span_3_Template(rf, ctx) {
|
|
45273
45629
|
if (rf & 1) {
|
|
45274
45630
|
i0.ɵɵelement(0, "span", 9);
|
|
@@ -45559,7 +45915,7 @@
|
|
|
45559
45915
|
/** @nocollapse */ DoughnutChartComponent.ɵfac = function DoughnutChartComponent_Factory(t) { return new (t || DoughnutChartComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
45560
45916
|
/** @nocollapse */ DoughnutChartComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DoughnutChartComponent, selectors: [["sme-doughnut-chart"]], viewQuery: function DoughnutChartComponent_Query(rf, ctx) {
|
|
45561
45917
|
if (rf & 1) {
|
|
45562
|
-
i0.ɵɵviewQuery(_c0$
|
|
45918
|
+
i0.ɵɵviewQuery(_c0$1h, 1);
|
|
45563
45919
|
}
|
|
45564
45920
|
if (rf & 2) {
|
|
45565
45921
|
var _t = void 0;
|
|
@@ -45621,7 +45977,7 @@
|
|
|
45621
45977
|
}] });
|
|
45622
45978
|
})();
|
|
45623
45979
|
|
|
45624
|
-
var _c0$
|
|
45980
|
+
var _c0$1i = ["chart"];
|
|
45625
45981
|
var CapacityDoughnutChartComponent = /** @class */ (function (_super) {
|
|
45626
45982
|
__extends(CapacityDoughnutChartComponent, _super);
|
|
45627
45983
|
function CapacityDoughnutChartComponent(injector, changeDetectorRef) {
|
|
@@ -45739,7 +46095,7 @@
|
|
|
45739
46095
|
/** @nocollapse */ CapacityDoughnutChartComponent.ɵfac = function CapacityDoughnutChartComponent_Factory(t) { return new (t || CapacityDoughnutChartComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
45740
46096
|
/** @nocollapse */ CapacityDoughnutChartComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CapacityDoughnutChartComponent, selectors: [["sme-capacity-doughnut-chart"]], viewQuery: function CapacityDoughnutChartComponent_Query(rf, ctx) {
|
|
45741
46097
|
if (rf & 1) {
|
|
45742
|
-
i0.ɵɵviewQuery(_c0$
|
|
46098
|
+
i0.ɵɵviewQuery(_c0$1i, 1);
|
|
45743
46099
|
}
|
|
45744
46100
|
if (rf & 2) {
|
|
45745
46101
|
var _t = void 0;
|
|
@@ -45880,7 +46236,7 @@
|
|
|
45880
46236
|
i0.ɵɵelementEnd();
|
|
45881
46237
|
}
|
|
45882
46238
|
}
|
|
45883
|
-
var _c0$
|
|
46239
|
+
var _c0$1j = ["*"];
|
|
45884
46240
|
var GuidedPaneComponent = /** @class */ (function () {
|
|
45885
46241
|
function GuidedPaneComponent() {
|
|
45886
46242
|
this.active = false;
|
|
@@ -45902,7 +46258,7 @@
|
|
|
45902
46258
|
if (rf & 2) {
|
|
45903
46259
|
i0.ɵɵstyleProp("display", ctx.getTop);
|
|
45904
46260
|
}
|
|
45905
|
-
}, inputs: { paneId: "paneId" }, ngContentSelectors: _c0$
|
|
46261
|
+
}, inputs: { paneId: "paneId" }, ngContentSelectors: _c0$1j, decls: 1, vars: 1, consts: [["class", "sme-layout-absolute-phone-up sme-position-inset-none sme-arrange-stack-v", 4, "ngIf"], [1, "sme-layout-absolute-phone-up", "sme-position-inset-none", "sme-arrange-stack-v"]], template: function GuidedPaneComponent_Template(rf, ctx) {
|
|
45906
46262
|
if (rf & 1) {
|
|
45907
46263
|
i0.ɵɵprojectionDef();
|
|
45908
46264
|
i0.ɵɵtemplate(0, GuidedPaneComponent_div_0_Template, 2, 0, "div", 0);
|
|
@@ -45926,7 +46282,7 @@
|
|
|
45926
46282
|
}] });
|
|
45927
46283
|
})();
|
|
45928
46284
|
|
|
45929
|
-
var _c0$
|
|
46285
|
+
var _c0$1k = ["pane"];
|
|
45930
46286
|
var _c1$J = ["*"];
|
|
45931
46287
|
var GuidedPanelComponent = /** @class */ (function (_super) {
|
|
45932
46288
|
__extends(GuidedPanelComponent, _super);
|
|
@@ -46035,7 +46391,7 @@
|
|
|
46035
46391
|
/** @nocollapse */ GuidedPanelComponent.ɵfac = function GuidedPanelComponent_Factory(t) { return new (t || GuidedPanelComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
46036
46392
|
/** @nocollapse */ GuidedPanelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: GuidedPanelComponent, selectors: [["sme-guided-panel"]], contentQueries: function GuidedPanelComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
46037
46393
|
if (rf & 1) {
|
|
46038
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
46394
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$1k, 0);
|
|
46039
46395
|
}
|
|
46040
46396
|
if (rf & 2) {
|
|
46041
46397
|
var _t = void 0;
|
|
@@ -46106,7 +46462,7 @@
|
|
|
46106
46462
|
}], null, null);
|
|
46107
46463
|
})();
|
|
46108
46464
|
|
|
46109
|
-
var _c0$
|
|
46465
|
+
var _c0$1l = ["horizontalBarChart"];
|
|
46110
46466
|
/**
|
|
46111
46467
|
* @deprecated 'Please use StackedHorizontalBarChartComponent instead'
|
|
46112
46468
|
*/
|
|
@@ -46173,7 +46529,7 @@
|
|
|
46173
46529
|
/** @nocollapse */ HorizontalBarChartComponent.ɵfac = function HorizontalBarChartComponent_Factory(t) { return ɵHorizontalBarChartComponent_BaseFactory(t || HorizontalBarChartComponent); };
|
|
46174
46530
|
/** @nocollapse */ HorizontalBarChartComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HorizontalBarChartComponent, selectors: [["sme-horizontal-bar-chart"]], viewQuery: function HorizontalBarChartComponent_Query(rf, ctx) {
|
|
46175
46531
|
if (rf & 1) {
|
|
46176
|
-
i0.ɵɵviewQuery(_c0$
|
|
46532
|
+
i0.ɵɵviewQuery(_c0$1l, 1);
|
|
46177
46533
|
}
|
|
46178
46534
|
if (rf & 2) {
|
|
46179
46535
|
var _t = void 0;
|
|
@@ -46869,7 +47225,7 @@
|
|
|
46869
47225
|
}], null, null);
|
|
46870
47226
|
})();
|
|
46871
47227
|
|
|
46872
|
-
var _c0$
|
|
47228
|
+
var _c0$1m = ["linechart"];
|
|
46873
47229
|
function LineChartComponent_div_0_div_1_Template(rf, ctx) {
|
|
46874
47230
|
if (rf & 1) {
|
|
46875
47231
|
i0.ɵɵelementStart(0, "div");
|
|
@@ -47218,7 +47574,7 @@
|
|
|
47218
47574
|
/** @nocollapse */ LineChartComponent.ɵfac = function LineChartComponent_Factory(t) { return new (t || LineChartComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
47219
47575
|
/** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LineChartComponent, selectors: [["sme-line-chart"]], viewQuery: function LineChartComponent_Query(rf, ctx) {
|
|
47220
47576
|
if (rf & 1) {
|
|
47221
|
-
i0.ɵɵviewQuery(_c0$
|
|
47577
|
+
i0.ɵɵviewQuery(_c0$1m, 1);
|
|
47222
47578
|
}
|
|
47223
47579
|
if (rf & 2) {
|
|
47224
47580
|
var _t = void 0;
|
|
@@ -48416,7 +48772,7 @@
|
|
|
48416
48772
|
return PropertyGridResponsiveWindowManager;
|
|
48417
48773
|
}(SmeResponsiveWindowManagerComponent));
|
|
48418
48774
|
|
|
48419
|
-
var _c0$
|
|
48775
|
+
var _c0$1n = ["readonlyTemplate"];
|
|
48420
48776
|
var _c1$K = ["actionLinkTemplate"];
|
|
48421
48777
|
var _c2$i = ["internalLinkTemplate"];
|
|
48422
48778
|
var _c3$c = ["externalLinkTemplate"];
|
|
@@ -48705,7 +49061,7 @@
|
|
|
48705
49061
|
var item_r44 = ctx.$implicit;
|
|
48706
49062
|
i0.ɵɵproperty("ngIf", !!item_r44.iconClass);
|
|
48707
49063
|
i0.ɵɵadvance(1);
|
|
48708
|
-
i0.ɵɵproperty("ngIf", item_r44.status !== null && !item_r44.iconClass);
|
|
49064
|
+
i0.ɵɵproperty("ngIf", item_r44.status !== undefined && item_r44.status !== null && !item_r44.iconClass);
|
|
48709
49065
|
}
|
|
48710
49066
|
}
|
|
48711
49067
|
/**
|
|
@@ -48878,7 +49234,7 @@
|
|
|
48878
49234
|
}
|
|
48879
49235
|
}, viewQuery: function PropertyGridComponent_Query(rf, ctx) {
|
|
48880
49236
|
if (rf & 1) {
|
|
48881
|
-
i0.ɵɵviewQuery(_c0$
|
|
49237
|
+
i0.ɵɵviewQuery(_c0$1n, 3);
|
|
48882
49238
|
i0.ɵɵviewQuery(_c1$K, 3);
|
|
48883
49239
|
i0.ɵɵviewQuery(_c2$i, 3);
|
|
48884
49240
|
i0.ɵɵviewQuery(_c3$c, 3);
|
|
@@ -49010,7 +49366,7 @@
|
|
|
49010
49366
|
}], null, null);
|
|
49011
49367
|
})();
|
|
49012
49368
|
|
|
49013
|
-
var _c0$
|
|
49369
|
+
var _c0$1o = ["multiSelectTemplate"];
|
|
49014
49370
|
var _c1$L = ["textTemplate"];
|
|
49015
49371
|
var _c2$j = ["singleSelectTemplate"];
|
|
49016
49372
|
var _c3$d = ["timespanSelectTemplate"];
|
|
@@ -50438,7 +50794,7 @@
|
|
|
50438
50794
|
/** @nocollapse */ QueryEditorComponent.ɵfac = function QueryEditorComponent_Factory(t) { return ɵQueryEditorComponent_BaseFactory(t || QueryEditorComponent); };
|
|
50439
50795
|
/** @nocollapse */ QueryEditorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryEditorComponent, selectors: [["sme-query-editor"]], viewQuery: function QueryEditorComponent_Query(rf, ctx) {
|
|
50440
50796
|
if (rf & 1) {
|
|
50441
|
-
i0.ɵɵviewQuery(_c0$
|
|
50797
|
+
i0.ɵɵviewQuery(_c0$1o, 1);
|
|
50442
50798
|
i0.ɵɵviewQuery(_c1$L, 1);
|
|
50443
50799
|
i0.ɵɵviewQuery(_c2$j, 1);
|
|
50444
50800
|
i0.ɵɵviewQuery(_c3$d, 1);
|
|
@@ -50630,7 +50986,7 @@
|
|
|
50630
50986
|
}], null, null);
|
|
50631
50987
|
})();
|
|
50632
50988
|
|
|
50633
|
-
var _c0$
|
|
50989
|
+
var _c0$1p = ["editor"];
|
|
50634
50990
|
var _c1$M = ["formContent"];
|
|
50635
50991
|
var _c2$k = ["schema", ""];
|
|
50636
50992
|
function SchemaFormComponent_sme_schema_form_content_0_Template(rf, ctx) {
|
|
@@ -50792,7 +51148,7 @@
|
|
|
50792
51148
|
/** @nocollapse */ SchemaFormComponent.ɵfac = function SchemaFormComponent_Factory(t) { return new (t || SchemaFormComponent)(i0.ɵɵdirectiveInject(DialogService)); };
|
|
50793
51149
|
/** @nocollapse */ SchemaFormComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormComponent, selectors: [["sme-form", "schema", ""], ["sme-schema-form"]], viewQuery: function SchemaFormComponent_Query(rf, ctx) {
|
|
50794
51150
|
if (rf & 1) {
|
|
50795
|
-
i0.ɵɵviewQuery(_c0$
|
|
51151
|
+
i0.ɵɵviewQuery(_c0$1p, 1);
|
|
50796
51152
|
i0.ɵɵviewQuery(_c1$M, 1);
|
|
50797
51153
|
}
|
|
50798
51154
|
if (rf & 2) {
|
|
@@ -50885,7 +51241,7 @@
|
|
|
50885
51241
|
})();
|
|
50886
51242
|
|
|
50887
51243
|
var ResourceStringPickerComponent_1;
|
|
50888
|
-
var _c0$
|
|
51244
|
+
var _c0$1q = ["dropDown"];
|
|
50889
51245
|
var _c1$N = ["tree"];
|
|
50890
51246
|
var _c2$l = ["type", "resource-string-picker"];
|
|
50891
51247
|
function ResourceStringPickerComponent_span_3_Template(rf, ctx) {
|
|
@@ -51172,7 +51528,7 @@
|
|
|
51172
51528
|
/** @nocollapse */ ResourceStringPickerComponent.ɵfac = function ResourceStringPickerComponent_Factory(t) { return new (t || ResourceStringPickerComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
51173
51529
|
/** @nocollapse */ ResourceStringPickerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ResourceStringPickerComponent, selectors: [["sme-form-field", "type", "resource-string-picker"]], viewQuery: function ResourceStringPickerComponent_Query(rf, ctx) {
|
|
51174
51530
|
if (rf & 1) {
|
|
51175
|
-
i0.ɵɵviewQuery(_c0$
|
|
51531
|
+
i0.ɵɵviewQuery(_c0$1q, 1);
|
|
51176
51532
|
i0.ɵɵviewQuery(_c1$N, 1);
|
|
51177
51533
|
}
|
|
51178
51534
|
if (rf & 2) {
|
|
@@ -51481,7 +51837,7 @@
|
|
|
51481
51837
|
return SchemaFormEditorUtilities;
|
|
51482
51838
|
}());
|
|
51483
51839
|
|
|
51484
|
-
var _c0$
|
|
51840
|
+
var _c0$1r = ["viewModelDiv"];
|
|
51485
51841
|
var SchemaFormEditorFormViewModelComponent = /** @class */ (function () {
|
|
51486
51842
|
function SchemaFormEditorFormViewModelComponent() {
|
|
51487
51843
|
this.strings = MsftSme.getStrings().MsftSmeShell.Angular.SchemaForm.Editor.ViewModel;
|
|
@@ -51540,7 +51896,7 @@
|
|
|
51540
51896
|
/** @nocollapse */ SchemaFormEditorFormViewModelComponent.ɵfac = function SchemaFormEditorFormViewModelComponent_Factory(t) { return new (t || SchemaFormEditorFormViewModelComponent)(); };
|
|
51541
51897
|
/** @nocollapse */ SchemaFormEditorFormViewModelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormEditorFormViewModelComponent, selectors: [["sme-schema-form-editor-form-view-model"]], viewQuery: function SchemaFormEditorFormViewModelComponent_Query(rf, ctx) {
|
|
51542
51898
|
if (rf & 1) {
|
|
51543
|
-
i0.ɵɵviewQuery(_c0$
|
|
51899
|
+
i0.ɵɵviewQuery(_c0$1r, 1);
|
|
51544
51900
|
}
|
|
51545
51901
|
if (rf & 2) {
|
|
51546
51902
|
var _t = void 0;
|
|
@@ -51587,7 +51943,7 @@
|
|
|
51587
51943
|
}] });
|
|
51588
51944
|
})();
|
|
51589
51945
|
|
|
51590
|
-
var _c0$
|
|
51946
|
+
var _c0$1s = ["schemaTextEditor"];
|
|
51591
51947
|
var SchemaFormEditorSchemaTextComponent = /** @class */ (function () {
|
|
51592
51948
|
function SchemaFormEditorSchemaTextComponent() {
|
|
51593
51949
|
this.strings = MsftSme.getStrings().MsftSmeShell.Angular.SchemaForm.Editor;
|
|
@@ -51728,7 +52084,7 @@
|
|
|
51728
52084
|
/** @nocollapse */ SchemaFormEditorSchemaTextComponent.ɵfac = function SchemaFormEditorSchemaTextComponent_Factory(t) { return new (t || SchemaFormEditorSchemaTextComponent)(); };
|
|
51729
52085
|
/** @nocollapse */ SchemaFormEditorSchemaTextComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormEditorSchemaTextComponent, selectors: [["sme-schema-form-editor-schema-text"]], viewQuery: function SchemaFormEditorSchemaTextComponent_Query(rf, ctx) {
|
|
51730
52086
|
if (rf & 1) {
|
|
51731
|
-
i0.ɵɵviewQuery(_c0$
|
|
52087
|
+
i0.ɵɵviewQuery(_c0$1s, 1);
|
|
51732
52088
|
}
|
|
51733
52089
|
if (rf & 2) {
|
|
51734
52090
|
var _t = void 0;
|
|
@@ -51996,7 +52352,7 @@
|
|
|
51996
52352
|
]
|
|
51997
52353
|
};
|
|
51998
52354
|
|
|
51999
|
-
var _c0$
|
|
52355
|
+
var _c0$1t = ["propertyForm"];
|
|
52000
52356
|
var _c1$O = ["schemaTree"];
|
|
52001
52357
|
function SchemaFormEditorSchemaTreeComponent_ng_template_7_Template(rf, ctx) {
|
|
52002
52358
|
if (rf & 1) {
|
|
@@ -52717,7 +53073,7 @@
|
|
|
52717
53073
|
/** @nocollapse */ SchemaFormEditorSchemaTreeComponent.ɵfac = function SchemaFormEditorSchemaTreeComponent_Factory(t) { return new (t || SchemaFormEditorSchemaTreeComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
52718
53074
|
/** @nocollapse */ SchemaFormEditorSchemaTreeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormEditorSchemaTreeComponent, selectors: [["sme-schema-form-editor-schema-tree"]], viewQuery: function SchemaFormEditorSchemaTreeComponent_Query(rf, ctx) {
|
|
52719
53075
|
if (rf & 1) {
|
|
52720
|
-
i0.ɵɵviewQuery(_c0$
|
|
53076
|
+
i0.ɵɵviewQuery(_c0$1t, 1);
|
|
52721
53077
|
i0.ɵɵviewQuery(_c1$O, 1);
|
|
52722
53078
|
}
|
|
52723
53079
|
if (rf & 2) {
|
|
@@ -52891,7 +53247,7 @@
|
|
|
52891
53247
|
return PropertySchemaViewModel;
|
|
52892
53248
|
}());
|
|
52893
53249
|
|
|
52894
|
-
var _c0$
|
|
53250
|
+
var _c0$1u = ["previewForm"];
|
|
52895
53251
|
var _c1$P = ["schemaTree"];
|
|
52896
53252
|
var _c2$m = ["schemaText"];
|
|
52897
53253
|
function SchemaFormEditorComponent_sme_loading_wheel_6_Template(rf, ctx) {
|
|
@@ -53280,7 +53636,7 @@
|
|
|
53280
53636
|
/** @nocollapse */ SchemaFormEditorComponent.ɵfac = function SchemaFormEditorComponent_Factory(t) { return new (t || SchemaFormEditorComponent)(i0.ɵɵdirectiveInject(DialogService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
53281
53637
|
/** @nocollapse */ SchemaFormEditorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormEditorComponent, selectors: [["sme-schema-form-editor"]], viewQuery: function SchemaFormEditorComponent_Query(rf, ctx) {
|
|
53282
53638
|
if (rf & 1) {
|
|
53283
|
-
i0.ɵɵviewQuery(_c0$
|
|
53639
|
+
i0.ɵɵviewQuery(_c0$1u, 1);
|
|
53284
53640
|
i0.ɵɵviewQuery(_c1$P, 1);
|
|
53285
53641
|
i0.ɵɵviewQuery(_c2$m, 1);
|
|
53286
53642
|
}
|
|
@@ -53565,7 +53921,7 @@
|
|
|
53565
53921
|
i0.ɵɵproperty("ngIf", ctx_r0.selectedSettingsTitle);
|
|
53566
53922
|
}
|
|
53567
53923
|
}
|
|
53568
|
-
var _c0$
|
|
53924
|
+
var _c0$1v = [[["sme-settings-navigation"]], [["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
53569
53925
|
var _c1$Q = ["sme-settings-navigation", "sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
53570
53926
|
/**
|
|
53571
53927
|
*
|
|
@@ -53696,7 +54052,7 @@
|
|
|
53696
54052
|
/** @nocollapse */ SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
53697
54053
|
/** @nocollapse */ SettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["sme-settings"]], inputs: { addPadding: "addPadding", backRoute: "backRoute", settingsTitle: "settingsTitle", selectedSettingsTitle: "selectedSettingsTitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$Q, decls: 12, vars: 10, consts: [[1, "sme-arrange-stack-v", "sme-layout-relative", "sme-arrange-overflow-auto-y-phone-up", "sme-position-stretch"], ["class", "sme-layout-tool-header sme-position-flex-none sme-arrange-ellipsis sme-padding-bottom-none sme-padding-left-md", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-arrange-overflow-auto", 3, "padLastItem", "layoutConfig", "itemHorizontalSpace"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "ngClass"], [1, "sme-position-stretch", "sme-padding-left-xl", "sme-padding-top-xs", 3, "columnSpan"], [1, "sme-layout-tool-header", "sme-position-flex-none", "sme-arrange-ellipsis", "sme-padding-bottom-none", "sme-padding-left-md"], [1, "sme-font-h3", "sme-arrange-ellipsis", "sme-position-stretch-h", 3, "title"], ["class", "sme-padding-horizontal-sm sme-font-family-normal", 4, "ngIf"], ["class", "sme-font-family-normal", 4, "ngIf"], [1, "sme-padding-horizontal-sm", "sme-font-family-normal"], [1, "sme-font-family-normal"]], template: function SettingsComponent_Template(rf, ctx) {
|
|
53698
54054
|
if (rf & 1) {
|
|
53699
|
-
i0.ɵɵprojectionDef(_c0$
|
|
54055
|
+
i0.ɵɵprojectionDef(_c0$1v);
|
|
53700
54056
|
i0.ɵɵelementStart(0, "div", 0);
|
|
53701
54057
|
i0.ɵɵtemplate(1, SettingsComponent_div_1_Template, 5, 5, "div", 1);
|
|
53702
54058
|
i0.ɵɵelementStart(2, "sme-layout", 2, 3);
|
|
@@ -54047,7 +54403,7 @@
|
|
|
54047
54403
|
}], function () { return [{ type: RpcService }]; }, null);
|
|
54048
54404
|
})();
|
|
54049
54405
|
|
|
54050
|
-
var _c0$
|
|
54406
|
+
var _c0$1w = ["searchTextBox"];
|
|
54051
54407
|
function CommonSettingsComponent_header_2_Template(rf, ctx) {
|
|
54052
54408
|
if (rf & 1) {
|
|
54053
54409
|
i0.ɵɵelementStart(0, "header", 12);
|
|
@@ -54562,7 +54918,7 @@
|
|
|
54562
54918
|
/** @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), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8)); };
|
|
54563
54919
|
/** @nocollapse */ CommonSettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CommonSettingsComponent, selectors: [["sme-common-settings"]], viewQuery: function CommonSettingsComponent_Query(rf, ctx) {
|
|
54564
54920
|
if (rf & 1) {
|
|
54565
|
-
i0.ɵɵviewQuery(_c0$
|
|
54921
|
+
i0.ɵɵviewQuery(_c0$1w, 1);
|
|
54566
54922
|
i0.ɵɵviewQuery(SettingsComponent, 1);
|
|
54567
54923
|
}
|
|
54568
54924
|
if (rf & 2) {
|
|
@@ -54679,7 +55035,7 @@
|
|
|
54679
55035
|
}], deferredOnLayoutChanged: [], onLayoutChanged: [], onWindowBreakpointChanged: [] });
|
|
54680
55036
|
})();
|
|
54681
55037
|
|
|
54682
|
-
var _c0$
|
|
55038
|
+
var _c0$1x = [[["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
54683
55039
|
var _c1$S = ["sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
54684
55040
|
var SettingsPageComponent = /** @class */ (function (_super) {
|
|
54685
55041
|
__extends(SettingsPageComponent, _super);
|
|
@@ -54751,7 +55107,7 @@
|
|
|
54751
55107
|
/** @nocollapse */ SettingsPageComponent.ɵfac = function SettingsPageComponent_Factory(t) { return new (t || SettingsPageComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8)); };
|
|
54752
55108
|
/** @nocollapse */ SettingsPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsPageComponent, selectors: [["sme-settings-page"]], outputs: { layoutChanged: "layoutChanged" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$S, decls: 3, vars: 0, template: function SettingsPageComponent_Template(rf, ctx) {
|
|
54753
55109
|
if (rf & 1) {
|
|
54754
|
-
i0.ɵɵprojectionDef(_c0$
|
|
55110
|
+
i0.ɵɵprojectionDef(_c0$1x);
|
|
54755
55111
|
i0.ɵɵprojection(0);
|
|
54756
55112
|
i0.ɵɵprojection(1, 1);
|
|
54757
55113
|
i0.ɵɵprojection(2, 2);
|
|
@@ -54804,7 +55160,7 @@
|
|
|
54804
55160
|
}], null, null);
|
|
54805
55161
|
})();
|
|
54806
55162
|
|
|
54807
|
-
var _c0$
|
|
55163
|
+
var _c0$1y = ["*"];
|
|
54808
55164
|
var SettingsContentComponent = /** @class */ (function (_super) {
|
|
54809
55165
|
__extends(SettingsContentComponent, _super);
|
|
54810
55166
|
function SettingsContentComponent(injector) {
|
|
@@ -54832,7 +55188,7 @@
|
|
|
54832
55188
|
return SettingsContentComponent;
|
|
54833
55189
|
}(CoreBaseComponent));
|
|
54834
55190
|
/** @nocollapse */ SettingsContentComponent.ɵfac = function SettingsContentComponent_Factory(t) { return new (t || SettingsContentComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
54835
|
-
/** @nocollapse */ SettingsContentComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsContentComponent, selectors: [["sme-settings-content"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
55191
|
+
/** @nocollapse */ SettingsContentComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsContentComponent, selectors: [["sme-settings-content"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1y, decls: 1, vars: 0, template: function SettingsContentComponent_Template(rf, ctx) {
|
|
54836
55192
|
if (rf & 1) {
|
|
54837
55193
|
i0.ɵɵprojectionDef();
|
|
54838
55194
|
i0.ɵɵprojection(0);
|
|
@@ -54848,7 +55204,7 @@
|
|
|
54848
55204
|
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
54849
55205
|
})();
|
|
54850
55206
|
|
|
54851
|
-
var _c0$
|
|
55207
|
+
var _c0$1z = ["*"];
|
|
54852
55208
|
var SettingsFooterComponent = /** @class */ (function (_super) {
|
|
54853
55209
|
__extends(SettingsFooterComponent, _super);
|
|
54854
55210
|
function SettingsFooterComponent(injector) {
|
|
@@ -54896,7 +55252,7 @@
|
|
|
54896
55252
|
return SettingsFooterComponent;
|
|
54897
55253
|
}(CoreBaseComponent));
|
|
54898
55254
|
/** @nocollapse */ SettingsFooterComponent.ɵfac = function SettingsFooterComponent_Factory(t) { return new (t || SettingsFooterComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
54899
|
-
/** @nocollapse */ SettingsFooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsFooterComponent, selectors: [["sme-settings-footer"]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
55255
|
+
/** @nocollapse */ SettingsFooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsFooterComponent, selectors: [["sme-settings-footer"]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1z, decls: 1, vars: 0, template: function SettingsFooterComponent_Template(rf, ctx) {
|
|
54900
55256
|
if (rf & 1) {
|
|
54901
55257
|
i0.ɵɵprojectionDef();
|
|
54902
55258
|
i0.ɵɵprojection(0);
|
|
@@ -54958,7 +55314,7 @@
|
|
|
54958
55314
|
}] });
|
|
54959
55315
|
})();
|
|
54960
55316
|
|
|
54961
|
-
var _c0$
|
|
55317
|
+
var _c0$1A = ["*"];
|
|
54962
55318
|
var SettingsHeaderComponent = /** @class */ (function (_super) {
|
|
54963
55319
|
__extends(SettingsHeaderComponent, _super);
|
|
54964
55320
|
function SettingsHeaderComponent(injector) {
|
|
@@ -54985,7 +55341,7 @@
|
|
|
54985
55341
|
return SettingsHeaderComponent;
|
|
54986
55342
|
}(CoreBaseComponent));
|
|
54987
55343
|
/** @nocollapse */ SettingsHeaderComponent.ɵfac = function SettingsHeaderComponent_Factory(t) { return new (t || SettingsHeaderComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
54988
|
-
/** @nocollapse */ SettingsHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsHeaderComponent, selectors: [["sme-settings-header"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
55344
|
+
/** @nocollapse */ SettingsHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsHeaderComponent, selectors: [["sme-settings-header"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1A, decls: 1, vars: 0, template: function SettingsHeaderComponent_Template(rf, ctx) {
|
|
54989
55345
|
if (rf & 1) {
|
|
54990
55346
|
i0.ɵɵprojectionDef();
|
|
54991
55347
|
i0.ɵɵprojection(0);
|
|
@@ -55001,7 +55357,7 @@
|
|
|
55001
55357
|
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
55002
55358
|
})();
|
|
55003
55359
|
|
|
55004
|
-
var _c0$
|
|
55360
|
+
var _c0$1B = ["*"];
|
|
55005
55361
|
var SettingsNavigationComponent = /** @class */ (function (_super) {
|
|
55006
55362
|
__extends(SettingsNavigationComponent, _super);
|
|
55007
55363
|
function SettingsNavigationComponent(injector) {
|
|
@@ -55028,7 +55384,7 @@
|
|
|
55028
55384
|
return SettingsNavigationComponent;
|
|
55029
55385
|
}(CoreBaseComponent));
|
|
55030
55386
|
/** @nocollapse */ SettingsNavigationComponent.ɵfac = function SettingsNavigationComponent_Factory(t) { return new (t || SettingsNavigationComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
55031
|
-
/** @nocollapse */ SettingsNavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsNavigationComponent, selectors: [["sme-settings-navigation"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
55387
|
+
/** @nocollapse */ SettingsNavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsNavigationComponent, selectors: [["sme-settings-navigation"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1B, decls: 1, vars: 0, template: function SettingsNavigationComponent_Template(rf, ctx) {
|
|
55032
55388
|
if (rf & 1) {
|
|
55033
55389
|
i0.ɵɵprojectionDef();
|
|
55034
55390
|
i0.ɵɵprojection(0);
|
|
@@ -55174,7 +55530,7 @@
|
|
|
55174
55530
|
}] });
|
|
55175
55531
|
})();
|
|
55176
55532
|
|
|
55177
|
-
var _c0$
|
|
55533
|
+
var _c0$1C = ["placeholder"];
|
|
55178
55534
|
function SnapInExtensionComponent_sme_loading_wheel_2_Template(rf, ctx) {
|
|
55179
55535
|
if (rf & 1) {
|
|
55180
55536
|
i0.ɵɵelement(0, "sme-loading-wheel");
|
|
@@ -55310,7 +55666,7 @@
|
|
|
55310
55666
|
/** @nocollapse */ SnapInExtensionComponent.ɵfac = function SnapInExtensionComponent_Factory(t) { return new (t || SnapInExtensionComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(ExtensionBrokerService)); };
|
|
55311
55667
|
/** @nocollapse */ SnapInExtensionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SnapInExtensionComponent, selectors: [["sme-snap-in-extension"]], viewQuery: function SnapInExtensionComponent_Query(rf, ctx) {
|
|
55312
55668
|
if (rf & 1) {
|
|
55313
|
-
i0.ɵɵviewQuery(_c0$
|
|
55669
|
+
i0.ɵɵviewQuery(_c0$1C, 1);
|
|
55314
55670
|
}
|
|
55315
55671
|
if (rf & 2) {
|
|
55316
55672
|
var _t = void 0;
|
|
@@ -55401,7 +55757,7 @@
|
|
|
55401
55757
|
i0.ɵɵproperty("imageSrc", ctx_r0.tileImageSrc);
|
|
55402
55758
|
}
|
|
55403
55759
|
}
|
|
55404
|
-
var _c0$
|
|
55760
|
+
var _c0$1D = ["*"];
|
|
55405
55761
|
var TileContentComponent = /** @class */ (function (_super) {
|
|
55406
55762
|
__extends(TileContentComponent, _super);
|
|
55407
55763
|
function TileContentComponent() {
|
|
@@ -55417,7 +55773,7 @@
|
|
|
55417
55773
|
return TileContentComponent;
|
|
55418
55774
|
}(CoreBaseComponent));
|
|
55419
55775
|
/** @nocollapse */ TileContentComponent.ɵfac = function TileContentComponent_Factory(t) { return ɵTileContentComponent_BaseFactory(t || TileContentComponent); };
|
|
55420
|
-
/** @nocollapse */ TileContentComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TileContentComponent, selectors: [["sme-tile-content"]], inputs: { tileHeader: "tileHeader", tileImageSrc: "tileImageSrc" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
55776
|
+
/** @nocollapse */ TileContentComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TileContentComponent, selectors: [["sme-tile-content"]], inputs: { tileHeader: "tileHeader", tileImageSrc: "tileImageSrc" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1D, decls: 5, vars: 2, consts: [["smeTileImage", "", "class", "sme-square-xxl sme-margin-right-sm sme-position-flex-none", 3, "imageSrc", 4, "ngIf"], [1, "sme-arrange-stack-v", "sme-tile-data-container"], [1, "sme-font-family-semi-bold"], ["smeTileImage", "", 1, "sme-square-xxl", "sme-margin-right-sm", "sme-position-flex-none", 3, "imageSrc"]], template: function TileContentComponent_Template(rf, ctx) {
|
|
55421
55777
|
if (rf & 1) {
|
|
55422
55778
|
i0.ɵɵprojectionDef();
|
|
55423
55779
|
i0.ɵɵtemplate(0, TileContentComponent_div_0_Template, 1, 1, "div", 0);
|
|
@@ -55449,7 +55805,7 @@
|
|
|
55449
55805
|
}] });
|
|
55450
55806
|
})();
|
|
55451
55807
|
|
|
55452
|
-
var _c0$
|
|
55808
|
+
var _c0$1E = ["*"];
|
|
55453
55809
|
var TileComponent = /** @class */ (function (_super) {
|
|
55454
55810
|
__extends(TileComponent, _super);
|
|
55455
55811
|
function TileComponent() {
|
|
@@ -55478,7 +55834,7 @@
|
|
|
55478
55834
|
if (rf & 2) {
|
|
55479
55835
|
i0.ɵɵclassProp("sme-tile-fill", ctx.fillTile)("sme-tile-focusable", ctx.isFocusable);
|
|
55480
55836
|
}
|
|
55481
|
-
}, inputs: { tileHeader: "tileHeader", tileImageSrc: "tileImageSrc", fillTile: "fillTile", isFocusable: "isFocusable" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
55837
|
+
}, inputs: { tileHeader: "tileHeader", tileImageSrc: "tileImageSrc", fillTile: "fillTile", isFocusable: "isFocusable" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1E, decls: 2, vars: 3, consts: [[1, "sme-padding-inset-md", "sme-arrange-stack-h", "sme-focus-zone", 3, "tileHeader", "tileImageSrc"]], template: function TileComponent_Template(rf, ctx) {
|
|
55482
55838
|
if (rf & 1) {
|
|
55483
55839
|
i0.ɵɵprojectionDef();
|
|
55484
55840
|
i0.ɵɵelementStart(0, "sme-tile-content", 0);
|
|
@@ -55555,6 +55911,723 @@
|
|
|
55555
55911
|
}], null, null);
|
|
55556
55912
|
})();
|
|
55557
55913
|
|
|
55914
|
+
var _c0$1F = ["*"];
|
|
55915
|
+
var SmeUxContentComponent = /** @class */ (function (_super) {
|
|
55916
|
+
__extends(SmeUxContentComponent, _super);
|
|
55917
|
+
function SmeUxContentComponent(injector) {
|
|
55918
|
+
return _super.call(this, injector) || this;
|
|
55919
|
+
}
|
|
55920
|
+
Object.defineProperty(SmeUxContentComponent.prototype, "logSourceName", {
|
|
55921
|
+
get: function () {
|
|
55922
|
+
return 'SmeUxContent';
|
|
55923
|
+
},
|
|
55924
|
+
enumerable: false,
|
|
55925
|
+
configurable: true
|
|
55926
|
+
});
|
|
55927
|
+
return SmeUxContentComponent;
|
|
55928
|
+
}(CoreBaseComponent));
|
|
55929
|
+
/** @nocollapse */ SmeUxContentComponent.ɵfac = function SmeUxContentComponent_Factory(t) { return new (t || SmeUxContentComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
55930
|
+
/** @nocollapse */ SmeUxContentComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SmeUxContentComponent, selectors: [["sme-ux-content"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1F, decls: 1, vars: 0, template: function SmeUxContentComponent_Template(rf, ctx) {
|
|
55931
|
+
if (rf & 1) {
|
|
55932
|
+
i0.ɵɵprojectionDef();
|
|
55933
|
+
i0.ɵɵprojection(0);
|
|
55934
|
+
}
|
|
55935
|
+
}, encapsulation: 2 });
|
|
55936
|
+
(function () {
|
|
55937
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeUxContentComponent, [{
|
|
55938
|
+
type: i0.Component,
|
|
55939
|
+
args: [{
|
|
55940
|
+
selector: 'sme-ux-content',
|
|
55941
|
+
template: "<ng-content></ng-content>"
|
|
55942
|
+
}]
|
|
55943
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
55944
|
+
})();
|
|
55945
|
+
|
|
55946
|
+
var SmeUxContentModule = /** @class */ (function () {
|
|
55947
|
+
function SmeUxContentModule() {
|
|
55948
|
+
}
|
|
55949
|
+
return SmeUxContentModule;
|
|
55950
|
+
}());
|
|
55951
|
+
/** @nocollapse */ SmeUxContentModule.ɵfac = function SmeUxContentModule_Factory(t) { return new (t || SmeUxContentModule)(); };
|
|
55952
|
+
/** @nocollapse */ SmeUxContentModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmeUxContentModule });
|
|
55953
|
+
/** @nocollapse */ SmeUxContentModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
55954
|
+
i1$1.CommonModule
|
|
55955
|
+
]] });
|
|
55956
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmeUxContentModule, { declarations: [SmeUxContentComponent], imports: [i1$1.CommonModule], exports: [SmeUxContentComponent] }); })();
|
|
55957
|
+
(function () {
|
|
55958
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeUxContentModule, [{
|
|
55959
|
+
type: i0.NgModule,
|
|
55960
|
+
args: [{
|
|
55961
|
+
exports: [SmeUxContentComponent],
|
|
55962
|
+
declarations: [SmeUxContentComponent],
|
|
55963
|
+
imports: [
|
|
55964
|
+
i1$1.CommonModule
|
|
55965
|
+
]
|
|
55966
|
+
}]
|
|
55967
|
+
}], null, null);
|
|
55968
|
+
})();
|
|
55969
|
+
|
|
55970
|
+
var _c0$1G = ["*"];
|
|
55971
|
+
var SmeUxFooterComponent = /** @class */ (function (_super) {
|
|
55972
|
+
__extends(SmeUxFooterComponent, _super);
|
|
55973
|
+
function SmeUxFooterComponent(injector) {
|
|
55974
|
+
return _super.call(this, injector) || this;
|
|
55975
|
+
}
|
|
55976
|
+
Object.defineProperty(SmeUxFooterComponent.prototype, "logSourceName", {
|
|
55977
|
+
get: function () {
|
|
55978
|
+
return 'SmeUxFooterSpace';
|
|
55979
|
+
},
|
|
55980
|
+
enumerable: false,
|
|
55981
|
+
configurable: true
|
|
55982
|
+
});
|
|
55983
|
+
return SmeUxFooterComponent;
|
|
55984
|
+
}(CoreBaseComponent));
|
|
55985
|
+
/** @nocollapse */ SmeUxFooterComponent.ɵfac = function SmeUxFooterComponent_Factory(t) { return new (t || SmeUxFooterComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
55986
|
+
/** @nocollapse */ SmeUxFooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SmeUxFooterComponent, selectors: [["sme-ux-footer"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1G, decls: 1, vars: 0, template: function SmeUxFooterComponent_Template(rf, ctx) {
|
|
55987
|
+
if (rf & 1) {
|
|
55988
|
+
i0.ɵɵprojectionDef();
|
|
55989
|
+
i0.ɵɵprojection(0);
|
|
55990
|
+
}
|
|
55991
|
+
}, encapsulation: 2 });
|
|
55992
|
+
(function () {
|
|
55993
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeUxFooterComponent, [{
|
|
55994
|
+
type: i0.Component,
|
|
55995
|
+
args: [{
|
|
55996
|
+
selector: 'sme-ux-footer',
|
|
55997
|
+
template: "<ng-content></ng-content>"
|
|
55998
|
+
}]
|
|
55999
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
56000
|
+
})();
|
|
56001
|
+
|
|
56002
|
+
var SmeUxFooterModule = /** @class */ (function () {
|
|
56003
|
+
function SmeUxFooterModule() {
|
|
56004
|
+
}
|
|
56005
|
+
return SmeUxFooterModule;
|
|
56006
|
+
}());
|
|
56007
|
+
/** @nocollapse */ SmeUxFooterModule.ɵfac = function SmeUxFooterModule_Factory(t) { return new (t || SmeUxFooterModule)(); };
|
|
56008
|
+
/** @nocollapse */ SmeUxFooterModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmeUxFooterModule });
|
|
56009
|
+
/** @nocollapse */ SmeUxFooterModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
56010
|
+
i1$1.CommonModule
|
|
56011
|
+
]] });
|
|
56012
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmeUxFooterModule, { declarations: [SmeUxFooterComponent], imports: [i1$1.CommonModule], exports: [SmeUxFooterComponent] }); })();
|
|
56013
|
+
(function () {
|
|
56014
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeUxFooterModule, [{
|
|
56015
|
+
type: i0.NgModule,
|
|
56016
|
+
args: [{
|
|
56017
|
+
exports: [SmeUxFooterComponent],
|
|
56018
|
+
declarations: [SmeUxFooterComponent],
|
|
56019
|
+
imports: [
|
|
56020
|
+
i1$1.CommonModule
|
|
56021
|
+
]
|
|
56022
|
+
}]
|
|
56023
|
+
}], null, null);
|
|
56024
|
+
})();
|
|
56025
|
+
|
|
56026
|
+
function WizardNavigationButtonComponent_span_3_Template(rf, ctx) {
|
|
56027
|
+
if (rf & 1) {
|
|
56028
|
+
i0.ɵɵelement(0, "span", 5);
|
|
56029
|
+
}
|
|
56030
|
+
if (rf & 2) {
|
|
56031
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
56032
|
+
i0.ɵɵclassMap(ctx_r0.leftIcon);
|
|
56033
|
+
}
|
|
56034
|
+
}
|
|
56035
|
+
function WizardNavigationButtonComponent_span_9_Template(rf, ctx) {
|
|
56036
|
+
if (rf & 1) {
|
|
56037
|
+
i0.ɵɵelement(0, "span", 5);
|
|
56038
|
+
}
|
|
56039
|
+
if (rf & 2) {
|
|
56040
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
56041
|
+
i0.ɵɵclassMap(ctx_r1.rightIcon);
|
|
56042
|
+
}
|
|
56043
|
+
}
|
|
56044
|
+
var WizardNavigationButtonComponent = /** @class */ (function (_super) {
|
|
56045
|
+
__extends(WizardNavigationButtonComponent, _super);
|
|
56046
|
+
function WizardNavigationButtonComponent(injector) {
|
|
56047
|
+
var _this = _super.call(this, injector) || this;
|
|
56048
|
+
/**
|
|
56049
|
+
* The internal buttons object
|
|
56050
|
+
*/
|
|
56051
|
+
_this.buttonsInternal = [];
|
|
56052
|
+
_this.render = false;
|
|
56053
|
+
_this.showIcons = true;
|
|
56054
|
+
_this.leftIcon = 'sme-icon-chevronLeft';
|
|
56055
|
+
_this.rightIcon = 'sme-icon-chevronRight';
|
|
56056
|
+
_this.buttonAutoWidth = true;
|
|
56057
|
+
_this.defaultStartIndex = -2;
|
|
56058
|
+
/**
|
|
56059
|
+
* It emits the start button clicked event.
|
|
56060
|
+
*/
|
|
56061
|
+
_this.startButtonClicked = new i0.EventEmitter();
|
|
56062
|
+
/**
|
|
56063
|
+
* It emits the end button clicked event.
|
|
56064
|
+
*/
|
|
56065
|
+
_this.endButtonClicked = new i0.EventEmitter();
|
|
56066
|
+
_this.currentStartButtonIndexInternal = _this.defaultStartIndex;
|
|
56067
|
+
return _this;
|
|
56068
|
+
}
|
|
56069
|
+
Object.defineProperty(WizardNavigationButtonComponent.prototype, "logSourceName", {
|
|
56070
|
+
get: function () {
|
|
56071
|
+
return 'WizardNavigationButtonComponent';
|
|
56072
|
+
},
|
|
56073
|
+
enumerable: false,
|
|
56074
|
+
configurable: true
|
|
56075
|
+
});
|
|
56076
|
+
Object.defineProperty(WizardNavigationButtonComponent.prototype, "buttons", {
|
|
56077
|
+
/**
|
|
56078
|
+
* Getter buttons
|
|
56079
|
+
*/
|
|
56080
|
+
get: function () {
|
|
56081
|
+
return this.buttonsInternal;
|
|
56082
|
+
},
|
|
56083
|
+
/**
|
|
56084
|
+
* Setter buttons
|
|
56085
|
+
*/
|
|
56086
|
+
set: function (input) {
|
|
56087
|
+
if (!input || input.length < 2) {
|
|
56088
|
+
this.reset();
|
|
56089
|
+
this.buttonsInternal = [];
|
|
56090
|
+
}
|
|
56091
|
+
else {
|
|
56092
|
+
this.buttonsInternal = input;
|
|
56093
|
+
this.currentStartButtonIndexInternal = -1;
|
|
56094
|
+
}
|
|
56095
|
+
this.render = this.buttons && this.buttons.length >= 2;
|
|
56096
|
+
},
|
|
56097
|
+
enumerable: false,
|
|
56098
|
+
configurable: true
|
|
56099
|
+
});
|
|
56100
|
+
Object.defineProperty(WizardNavigationButtonComponent.prototype, "currentStartButtonIndex", {
|
|
56101
|
+
/**
|
|
56102
|
+
* Getter currentStartButtonIndex
|
|
56103
|
+
*/
|
|
56104
|
+
get: function () {
|
|
56105
|
+
return this.currentStartButtonIndexInternal;
|
|
56106
|
+
},
|
|
56107
|
+
/**
|
|
56108
|
+
* Setter currentStartButtonIndex
|
|
56109
|
+
*/
|
|
56110
|
+
set: function (input) {
|
|
56111
|
+
if (typeof input !== 'number') {
|
|
56112
|
+
logging.Logging.log({
|
|
56113
|
+
consoleGroupHeader: 'WizardNavigationButtonComponent',
|
|
56114
|
+
level: logLevel.LogLevel.Error,
|
|
56115
|
+
message: 'non number input was passed in.',
|
|
56116
|
+
source: 'BannerComponent.set.currentStartButtonIndex()'
|
|
56117
|
+
});
|
|
56118
|
+
}
|
|
56119
|
+
this.currentStartButtonIndexInternal = input;
|
|
56120
|
+
},
|
|
56121
|
+
enumerable: false,
|
|
56122
|
+
configurable: true
|
|
56123
|
+
});
|
|
56124
|
+
/**
|
|
56125
|
+
* It checks the enable/disable state for the start button
|
|
56126
|
+
* @param index The current index for wizard start button
|
|
56127
|
+
* @returns true for enable and false for disable
|
|
56128
|
+
*/
|
|
56129
|
+
WizardNavigationButtonComponent.prototype.checkStartDisabled = function (index) {
|
|
56130
|
+
return index < 0;
|
|
56131
|
+
};
|
|
56132
|
+
/**
|
|
56133
|
+
* It checks the enable/disable state for the end button
|
|
56134
|
+
* @param index The current index for wizard end button
|
|
56135
|
+
* @returns true for enable and false for disable
|
|
56136
|
+
*/
|
|
56137
|
+
WizardNavigationButtonComponent.prototype.checkEndDisabled = function (index) {
|
|
56138
|
+
return index >= this.buttons.length - 2;
|
|
56139
|
+
};
|
|
56140
|
+
/**
|
|
56141
|
+
* It resets the current start button index to -2 if no button objects,
|
|
56142
|
+
* Otherwise it sets the button index to 0.
|
|
56143
|
+
*/
|
|
56144
|
+
WizardNavigationButtonComponent.prototype.reset = function () {
|
|
56145
|
+
this.currentStartButtonIndex = this.defaultStartIndex;
|
|
56146
|
+
if (this.buttons.length >= 2) {
|
|
56147
|
+
this.currentStartButtonIndex = 0;
|
|
56148
|
+
this.render = true;
|
|
56149
|
+
}
|
|
56150
|
+
else {
|
|
56151
|
+
this.render = false;
|
|
56152
|
+
}
|
|
56153
|
+
};
|
|
56154
|
+
/**
|
|
56155
|
+
* It updates the component by label name, this is tied to pivot tab component clicking events.
|
|
56156
|
+
* @param label the label name.
|
|
56157
|
+
*/
|
|
56158
|
+
WizardNavigationButtonComponent.prototype.updateStartIndexByLabel = function (label) {
|
|
56159
|
+
var buttons = this.buttons.map(function (b) {
|
|
56160
|
+
return b.label;
|
|
56161
|
+
});
|
|
56162
|
+
var activatedButtonIndex = buttons.indexOf(label);
|
|
56163
|
+
if (activatedButtonIndex === -1 || activatedButtonIndex >= buttons.length) {
|
|
56164
|
+
return;
|
|
56165
|
+
}
|
|
56166
|
+
this.currentStartButtonIndexInternal = activatedButtonIndex - 1;
|
|
56167
|
+
};
|
|
56168
|
+
/**
|
|
56169
|
+
* It handles the start index button click
|
|
56170
|
+
*/
|
|
56171
|
+
WizardNavigationButtonComponent.prototype.onStartButtonClick = function () {
|
|
56172
|
+
if (this.currentStartButtonIndex > this.defaultStartIndex) {
|
|
56173
|
+
this.currentStartButtonIndex -= 1;
|
|
56174
|
+
}
|
|
56175
|
+
this.startButtonClicked.emit();
|
|
56176
|
+
};
|
|
56177
|
+
/**
|
|
56178
|
+
* It handles the end index button click
|
|
56179
|
+
*/
|
|
56180
|
+
WizardNavigationButtonComponent.prototype.onEndButtonClick = function () {
|
|
56181
|
+
if (this.currentStartButtonIndex <= this.buttons.length - 1) {
|
|
56182
|
+
this.currentStartButtonIndex += 1;
|
|
56183
|
+
}
|
|
56184
|
+
this.endButtonClicked.emit();
|
|
56185
|
+
};
|
|
56186
|
+
/**
|
|
56187
|
+
* It gets the current start index button label.
|
|
56188
|
+
* @returns the label string.
|
|
56189
|
+
*/
|
|
56190
|
+
WizardNavigationButtonComponent.prototype.getCurrentStartButtonLabel = function () {
|
|
56191
|
+
return this.getButtonLabel(this.currentStartButtonIndex);
|
|
56192
|
+
};
|
|
56193
|
+
/**
|
|
56194
|
+
* It gets the current activated button label.
|
|
56195
|
+
* @returns the label string.
|
|
56196
|
+
*/
|
|
56197
|
+
WizardNavigationButtonComponent.prototype.getCurrentActivatedButtonLabel = function () {
|
|
56198
|
+
return this.getButtonLabel(this.currentStartButtonIndex + 1);
|
|
56199
|
+
};
|
|
56200
|
+
/**
|
|
56201
|
+
* It gets the current end index button label.
|
|
56202
|
+
* @returns the label string.
|
|
56203
|
+
*/
|
|
56204
|
+
WizardNavigationButtonComponent.prototype.getCurrentEndButtonLabel = function () {
|
|
56205
|
+
return this.getButtonLabel(this.currentStartButtonIndex + 2);
|
|
56206
|
+
};
|
|
56207
|
+
/**
|
|
56208
|
+
* It gets the button label.
|
|
56209
|
+
* @param index the index for label.
|
|
56210
|
+
* @returns the label string.
|
|
56211
|
+
*/
|
|
56212
|
+
WizardNavigationButtonComponent.prototype.getButtonLabel = function (index) {
|
|
56213
|
+
var _a;
|
|
56214
|
+
if (this.currentStartButtonIndex <= this.defaultStartIndex || this.currentStartButtonIndex > this.buttons.length - 1) {
|
|
56215
|
+
return;
|
|
56216
|
+
}
|
|
56217
|
+
return (_a = this.buttons[index]) === null || _a === void 0 ? void 0 : _a.label;
|
|
56218
|
+
};
|
|
56219
|
+
return WizardNavigationButtonComponent;
|
|
56220
|
+
}(CoreBaseComponent));
|
|
56221
|
+
/** @nocollapse */ WizardNavigationButtonComponent.ɵfac = function WizardNavigationButtonComponent_Factory(t) { return new (t || WizardNavigationButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
56222
|
+
/** @nocollapse */ WizardNavigationButtonComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardNavigationButtonComponent, selectors: [["sme-wizard-navigation-button"]], inputs: { showIcons: "showIcons", leftIcon: "leftIcon", rightIcon: "rightIcon", buttonAutoWidth: "buttonAutoWidth", buttons: "buttons" }, outputs: { startButtonClicked: "startButtonClicked", endButtonClicked: "endButtonClicked" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 16, consts: [[1, "sme-arrange-stack-h", "sme-position-stretch-h"], [1, "sme-padding-right-xs"], ["type", "button", "aria-live", "polite", "tabIndex", "0", 1, "sme-arrange-stack-h", 3, "disabled", "click"], ["class", "sme-icon", 3, "class", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-position-flex-grow-start", "sme-arrange-ellipsis", "sme-action-button-text-span"], [1, "sme-icon"]], template: function WizardNavigationButtonComponent_Template(rf, ctx) {
|
|
56223
|
+
if (rf & 1) {
|
|
56224
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
56225
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
56226
|
+
i0.ɵɵelementStart(2, "button", 2);
|
|
56227
|
+
i0.ɵɵlistener("click", function WizardNavigationButtonComponent_Template_button_click_2_listener() { return ctx.onStartButtonClick(); });
|
|
56228
|
+
i0.ɵɵtemplate(3, WizardNavigationButtonComponent_span_3_Template, 1, 2, "span", 3);
|
|
56229
|
+
i0.ɵɵelementStart(4, "span", 4);
|
|
56230
|
+
i0.ɵɵtext(5);
|
|
56231
|
+
i0.ɵɵelementEnd();
|
|
56232
|
+
i0.ɵɵelementEnd();
|
|
56233
|
+
i0.ɵɵelementEnd();
|
|
56234
|
+
i0.ɵɵelementStart(6, "button", 2);
|
|
56235
|
+
i0.ɵɵlistener("click", function WizardNavigationButtonComponent_Template_button_click_6_listener() { return ctx.onEndButtonClick(); });
|
|
56236
|
+
i0.ɵɵelementStart(7, "span", 4);
|
|
56237
|
+
i0.ɵɵtext(8);
|
|
56238
|
+
i0.ɵɵelementEnd();
|
|
56239
|
+
i0.ɵɵtemplate(9, WizardNavigationButtonComponent_span_9_Template, 1, 2, "span", 3);
|
|
56240
|
+
i0.ɵɵelementEnd();
|
|
56241
|
+
i0.ɵɵelementEnd();
|
|
56242
|
+
}
|
|
56243
|
+
if (rf & 2) {
|
|
56244
|
+
i0.ɵɵclassProp("sme-layout-hidden", !ctx.render);
|
|
56245
|
+
i0.ɵɵadvance(2);
|
|
56246
|
+
i0.ɵɵclassMap(ctx.buttons[ctx.currentStartButtonIndex] == null ? null : ctx.buttons[ctx.currentStartButtonIndex].class);
|
|
56247
|
+
i0.ɵɵclassProp("sme-button-auto-width", ctx.buttonAutoWidth);
|
|
56248
|
+
i0.ɵɵproperty("disabled", ctx.checkStartDisabled(ctx.currentStartButtonIndex));
|
|
56249
|
+
i0.ɵɵadvance(1);
|
|
56250
|
+
i0.ɵɵproperty("ngIf", ctx.showIcons);
|
|
56251
|
+
i0.ɵɵadvance(2);
|
|
56252
|
+
i0.ɵɵtextInterpolate1(" ", ctx.buttons[ctx.currentStartButtonIndex] ? ctx.buttons[ctx.currentStartButtonIndex].label : ctx.strings.MsftSmeShell.Angular.Wizard.Lite.Actions.previous, "");
|
|
56253
|
+
i0.ɵɵadvance(1);
|
|
56254
|
+
i0.ɵɵclassMap(ctx.buttons[ctx.currentStartButtonIndex] == null ? null : ctx.buttons[ctx.currentStartButtonIndex].class);
|
|
56255
|
+
i0.ɵɵclassProp("sme-button-auto-width", ctx.buttonAutoWidth);
|
|
56256
|
+
i0.ɵɵproperty("disabled", ctx.checkEndDisabled(ctx.currentStartButtonIndex));
|
|
56257
|
+
i0.ɵɵadvance(2);
|
|
56258
|
+
i0.ɵɵtextInterpolate1(" ", ctx.buttons[ctx.currentStartButtonIndex + 2] ? ctx.buttons[ctx.currentStartButtonIndex + 2].label : ctx.strings.MsftSmeShell.Angular.Wizard.Lite.Actions.next, "");
|
|
56259
|
+
i0.ɵɵadvance(1);
|
|
56260
|
+
i0.ɵɵproperty("ngIf", ctx.showIcons);
|
|
56261
|
+
}
|
|
56262
|
+
}, directives: [i1$1.NgIf], encapsulation: 2 });
|
|
56263
|
+
(function () {
|
|
56264
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardNavigationButtonComponent, [{
|
|
56265
|
+
type: i0.Component,
|
|
56266
|
+
args: [{
|
|
56267
|
+
selector: 'sme-wizard-navigation-button',
|
|
56268
|
+
templateUrl: './wizard-navigation-button.component.html'
|
|
56269
|
+
}]
|
|
56270
|
+
}], function () { return [{ type: i0.Injector }]; }, { showIcons: [{
|
|
56271
|
+
type: i0.Input
|
|
56272
|
+
}], leftIcon: [{
|
|
56273
|
+
type: i0.Input
|
|
56274
|
+
}], rightIcon: [{
|
|
56275
|
+
type: i0.Input
|
|
56276
|
+
}], buttonAutoWidth: [{
|
|
56277
|
+
type: i0.Input
|
|
56278
|
+
}], buttons: [{
|
|
56279
|
+
type: i0.Input
|
|
56280
|
+
}], startButtonClicked: [{
|
|
56281
|
+
type: i0.Output
|
|
56282
|
+
}], endButtonClicked: [{
|
|
56283
|
+
type: i0.Output
|
|
56284
|
+
}] });
|
|
56285
|
+
})();
|
|
56286
|
+
|
|
56287
|
+
function SmeWizardLiteFooterTemplateComponent_div_0_button_1_Template(rf, ctx) {
|
|
56288
|
+
if (rf & 1) {
|
|
56289
|
+
var _r5_1 = i0.ɵɵgetCurrentView();
|
|
56290
|
+
i0.ɵɵelementStart(0, "button", 5);
|
|
56291
|
+
i0.ɵɵlistener("click", function SmeWizardLiteFooterTemplateComponent_div_0_button_1_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5_1); var ctx_r4 = i0.ɵɵnextContext(2); return ctx_r4.onReviewButtonClicked($event); });
|
|
56292
|
+
i0.ɵɵelementStart(1, "span", 6);
|
|
56293
|
+
i0.ɵɵtext(2);
|
|
56294
|
+
i0.ɵɵelementEnd();
|
|
56295
|
+
i0.ɵɵelementEnd();
|
|
56296
|
+
}
|
|
56297
|
+
if (rf & 2) {
|
|
56298
|
+
var ctx_r1 = i0.ɵɵnextContext(2);
|
|
56299
|
+
i0.ɵɵadvance(2);
|
|
56300
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.reviewButtonTextForRendering, "");
|
|
56301
|
+
}
|
|
56302
|
+
}
|
|
56303
|
+
function SmeWizardLiteFooterTemplateComponent_div_0_sme_wizard_navigation_button_2_Template(rf, ctx) {
|
|
56304
|
+
if (rf & 1) {
|
|
56305
|
+
var _r8_1 = i0.ɵɵgetCurrentView();
|
|
56306
|
+
i0.ɵɵelementStart(0, "sme-wizard-navigation-button", 7, 8);
|
|
56307
|
+
i0.ɵɵlistener("startButtonClicked", function SmeWizardLiteFooterTemplateComponent_div_0_sme_wizard_navigation_button_2_Template_sme_wizard_navigation_button_startButtonClicked_0_listener($event) { i0.ɵɵrestoreView(_r8_1); var ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.onPrevButtonClicked($event); })("endButtonClicked", function SmeWizardLiteFooterTemplateComponent_div_0_sme_wizard_navigation_button_2_Template_sme_wizard_navigation_button_endButtonClicked_0_listener($event) { i0.ɵɵrestoreView(_r8_1); var ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.onNextButtonClicked($event); });
|
|
56308
|
+
i0.ɵɵelementEnd();
|
|
56309
|
+
}
|
|
56310
|
+
if (rf & 2) {
|
|
56311
|
+
var ctx_r2 = i0.ɵɵnextContext(2);
|
|
56312
|
+
i0.ɵɵproperty("buttons", ctx_r2.buttons);
|
|
56313
|
+
}
|
|
56314
|
+
}
|
|
56315
|
+
function SmeWizardLiteFooterTemplateComponent_div_0_button_3_Template(rf, ctx) {
|
|
56316
|
+
if (rf & 1) {
|
|
56317
|
+
var _r11_1 = i0.ɵɵgetCurrentView();
|
|
56318
|
+
i0.ɵɵelementStart(0, "button", 9);
|
|
56319
|
+
i0.ɵɵlistener("click", function SmeWizardLiteFooterTemplateComponent_div_0_button_3_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r11_1); var ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.onExitButtonClicked($event); });
|
|
56320
|
+
i0.ɵɵelementStart(1, "span", 6);
|
|
56321
|
+
i0.ɵɵtext(2);
|
|
56322
|
+
i0.ɵɵelementEnd();
|
|
56323
|
+
i0.ɵɵelementEnd();
|
|
56324
|
+
}
|
|
56325
|
+
if (rf & 2) {
|
|
56326
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
56327
|
+
i0.ɵɵadvance(2);
|
|
56328
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.exitButtonTextForRendering, "");
|
|
56329
|
+
}
|
|
56330
|
+
}
|
|
56331
|
+
function SmeWizardLiteFooterTemplateComponent_div_0_Template(rf, ctx) {
|
|
56332
|
+
if (rf & 1) {
|
|
56333
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
56334
|
+
i0.ɵɵtemplate(1, SmeWizardLiteFooterTemplateComponent_div_0_button_1_Template, 3, 1, "button", 2);
|
|
56335
|
+
i0.ɵɵtemplate(2, SmeWizardLiteFooterTemplateComponent_div_0_sme_wizard_navigation_button_2_Template, 2, 1, "sme-wizard-navigation-button", 3);
|
|
56336
|
+
i0.ɵɵtemplate(3, SmeWizardLiteFooterTemplateComponent_div_0_button_3_Template, 3, 1, "button", 4);
|
|
56337
|
+
i0.ɵɵelementEnd();
|
|
56338
|
+
}
|
|
56339
|
+
if (rf & 2) {
|
|
56340
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
56341
|
+
i0.ɵɵadvance(1);
|
|
56342
|
+
i0.ɵɵproperty("ngIf", ctx_r0.displayReviewButton);
|
|
56343
|
+
i0.ɵɵadvance(1);
|
|
56344
|
+
i0.ɵɵproperty("ngIf", ctx_r0.displayWizardButton);
|
|
56345
|
+
i0.ɵɵadvance(1);
|
|
56346
|
+
i0.ɵɵproperty("ngIf", ctx_r0.displayExitButton);
|
|
56347
|
+
}
|
|
56348
|
+
}
|
|
56349
|
+
var SmeWizardLiteFooterTemplateComponent = /** @class */ (function (_super) {
|
|
56350
|
+
__extends(SmeWizardLiteFooterTemplateComponent, _super);
|
|
56351
|
+
function SmeWizardLiteFooterTemplateComponent(injector) {
|
|
56352
|
+
var _this = _super.call(this, injector) || this;
|
|
56353
|
+
_this.displayExitButton = true;
|
|
56354
|
+
_this.displayWizardButton = true;
|
|
56355
|
+
_this.displayReviewButton = true;
|
|
56356
|
+
_this.reviewButtonClickedEventEmitter = new i0.EventEmitter();
|
|
56357
|
+
_this.exitButtonClickedEventEmitter = new i0.EventEmitter();
|
|
56358
|
+
_this.prevButtonClickedEventEmitter = new i0.EventEmitter();
|
|
56359
|
+
_this.nextButtonClickedEventEmitter = new i0.EventEmitter();
|
|
56360
|
+
_this.buttonsInternal = [];
|
|
56361
|
+
return _this;
|
|
56362
|
+
}
|
|
56363
|
+
Object.defineProperty(SmeWizardLiteFooterTemplateComponent.prototype, "logSourceName", {
|
|
56364
|
+
get: function () {
|
|
56365
|
+
return 'SmeWizardLiteFooterTemplateComponent';
|
|
56366
|
+
},
|
|
56367
|
+
enumerable: false,
|
|
56368
|
+
configurable: true
|
|
56369
|
+
});
|
|
56370
|
+
Object.defineProperty(SmeWizardLiteFooterTemplateComponent.prototype, "buttons", {
|
|
56371
|
+
get: function () {
|
|
56372
|
+
return this.buttonsInternal;
|
|
56373
|
+
},
|
|
56374
|
+
set: function (buttons) {
|
|
56375
|
+
this.buttonsInternal = buttons;
|
|
56376
|
+
},
|
|
56377
|
+
enumerable: false,
|
|
56378
|
+
configurable: true
|
|
56379
|
+
});
|
|
56380
|
+
Object.defineProperty(SmeWizardLiteFooterTemplateComponent.prototype, "reviewButtonTextForRendering", {
|
|
56381
|
+
get: function () {
|
|
56382
|
+
var _a;
|
|
56383
|
+
return (_a = this.reviewButtonText) !== null && _a !== void 0 ? _a : this.strings.MsftSmeShell.Angular.Wizard.Lite.FooterTemplate.review;
|
|
56384
|
+
},
|
|
56385
|
+
enumerable: false,
|
|
56386
|
+
configurable: true
|
|
56387
|
+
});
|
|
56388
|
+
Object.defineProperty(SmeWizardLiteFooterTemplateComponent.prototype, "exitButtonTextForRendering", {
|
|
56389
|
+
get: function () {
|
|
56390
|
+
var _a;
|
|
56391
|
+
return (_a = this.exitButtonText) !== null && _a !== void 0 ? _a : this.strings.MsftSmeShell.Angular.Wizard.Lite.FooterTemplate.exit;
|
|
56392
|
+
},
|
|
56393
|
+
enumerable: false,
|
|
56394
|
+
configurable: true
|
|
56395
|
+
});
|
|
56396
|
+
/**
|
|
56397
|
+
* It handles the on selection changed event from the external pivot tab component.
|
|
56398
|
+
* @param tab the current selected pivot tab.
|
|
56399
|
+
* @returns void.
|
|
56400
|
+
*/
|
|
56401
|
+
SmeWizardLiteFooterTemplateComponent.prototype.onSelectionChanged = function (tab) {
|
|
56402
|
+
if (!tab || !tab.label) {
|
|
56403
|
+
return;
|
|
56404
|
+
}
|
|
56405
|
+
if (tab.label === this.wizardButton.getCurrentActivatedButtonLabel()) {
|
|
56406
|
+
return;
|
|
56407
|
+
}
|
|
56408
|
+
this.wizardButton.updateStartIndexByLabel(tab.label);
|
|
56409
|
+
};
|
|
56410
|
+
SmeWizardLiteFooterTemplateComponent.prototype.onPrevButtonClicked = function ($event) {
|
|
56411
|
+
if (!this.wizardButton) {
|
|
56412
|
+
return;
|
|
56413
|
+
}
|
|
56414
|
+
this.prevButtonClickedEventEmitter.emit($event);
|
|
56415
|
+
};
|
|
56416
|
+
SmeWizardLiteFooterTemplateComponent.prototype.onNextButtonClicked = function ($event) {
|
|
56417
|
+
if (!this.wizardButton) {
|
|
56418
|
+
return;
|
|
56419
|
+
}
|
|
56420
|
+
this.nextButtonClickedEventEmitter.emit($event);
|
|
56421
|
+
};
|
|
56422
|
+
SmeWizardLiteFooterTemplateComponent.prototype.onReviewButtonClicked = function ($event) {
|
|
56423
|
+
this.reviewButtonClickedEventEmitter.emit($event);
|
|
56424
|
+
};
|
|
56425
|
+
SmeWizardLiteFooterTemplateComponent.prototype.onExitButtonClicked = function ($event) {
|
|
56426
|
+
this.exitButtonClickedEventEmitter.emit($event);
|
|
56427
|
+
};
|
|
56428
|
+
return SmeWizardLiteFooterTemplateComponent;
|
|
56429
|
+
}(CoreBaseComponent));
|
|
56430
|
+
/** @nocollapse */ SmeWizardLiteFooterTemplateComponent.ɵfac = function SmeWizardLiteFooterTemplateComponent_Factory(t) { return new (t || SmeWizardLiteFooterTemplateComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
56431
|
+
/** @nocollapse */ SmeWizardLiteFooterTemplateComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SmeWizardLiteFooterTemplateComponent, selectors: [["sme-wizard-lite-footer-template"]], viewQuery: function SmeWizardLiteFooterTemplateComponent_Query(rf, ctx) {
|
|
56432
|
+
if (rf & 1) {
|
|
56433
|
+
i0.ɵɵviewQuery(WizardNavigationButtonComponent, 1);
|
|
56434
|
+
}
|
|
56435
|
+
if (rf & 2) {
|
|
56436
|
+
var _t = void 0;
|
|
56437
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wizardButton = _t.first);
|
|
56438
|
+
}
|
|
56439
|
+
}, inputs: { displayExitButton: "displayExitButton", displayWizardButton: "displayWizardButton", displayReviewButton: "displayReviewButton", reviewButtonText: "reviewButtonText", exitButtonText: "exitButtonText" }, outputs: { reviewButtonClickedEventEmitter: "reviewButtonClickedEventEmitter", exitButtonClickedEventEmitter: "exitButtonClickedEventEmitter", prevButtonClickedEventEmitter: "prevButtonClickedEventEmitter", nextButtonClickedEventEmitter: "nextButtonClickedEventEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "sme-arrange-wrapstack-h sme-position-stretch-h sme-focus-zone", 4, "ngIf"], [1, "sme-arrange-wrapstack-h", "sme-position-stretch-h", "sme-focus-zone"], ["class", "sme-button-primary", "tabindex", "0", 3, "click", 4, "ngIf"], ["class", "sme-padding-left-lg sme-focus-zone", 3, "buttons", "startButtonClicked", "endButtonClicked", 4, "ngIf"], ["class", "sme-layout-button-flex-end", "tabindex", "0", 3, "click", 4, "ngIf"], ["tabindex", "0", 1, "sme-button-primary", 3, "click"], [1, "sme-position-flex-auto", "sme-position-flex-grow-start", "sme-arrange-ellipsis", "sme-action-button-text-span"], [1, "sme-padding-left-lg", "sme-focus-zone", 3, "buttons", "startButtonClicked", "endButtonClicked"], ["wizardButton", ""], ["tabindex", "0", 1, "sme-layout-button-flex-end", 3, "click"]], template: function SmeWizardLiteFooterTemplateComponent_Template(rf, ctx) {
|
|
56440
|
+
if (rf & 1) {
|
|
56441
|
+
i0.ɵɵtemplate(0, SmeWizardLiteFooterTemplateComponent_div_0_Template, 4, 3, "div", 0);
|
|
56442
|
+
}
|
|
56443
|
+
if (rf & 2) {
|
|
56444
|
+
i0.ɵɵproperty("ngIf", ctx.displayReviewButton || ctx.displayWizardButton || ctx.displayExitButton);
|
|
56445
|
+
}
|
|
56446
|
+
}, directives: [i1$1.NgIf, WizardNavigationButtonComponent], encapsulation: 2 });
|
|
56447
|
+
__decorate([
|
|
56448
|
+
yield_decorator.Yield(),
|
|
56449
|
+
__metadata("design:type", Function),
|
|
56450
|
+
__metadata("design:paramtypes", [Object]),
|
|
56451
|
+
__metadata("design:returntype", void 0)
|
|
56452
|
+
], SmeWizardLiteFooterTemplateComponent.prototype, "onPrevButtonClicked", null);
|
|
56453
|
+
__decorate([
|
|
56454
|
+
yield_decorator.Yield(),
|
|
56455
|
+
__metadata("design:type", Function),
|
|
56456
|
+
__metadata("design:paramtypes", [Object]),
|
|
56457
|
+
__metadata("design:returntype", void 0)
|
|
56458
|
+
], SmeWizardLiteFooterTemplateComponent.prototype, "onNextButtonClicked", null);
|
|
56459
|
+
__decorate([
|
|
56460
|
+
yield_decorator.Yield(),
|
|
56461
|
+
__metadata("design:type", Function),
|
|
56462
|
+
__metadata("design:paramtypes", [Object]),
|
|
56463
|
+
__metadata("design:returntype", void 0)
|
|
56464
|
+
], SmeWizardLiteFooterTemplateComponent.prototype, "onReviewButtonClicked", null);
|
|
56465
|
+
__decorate([
|
|
56466
|
+
yield_decorator.Yield(),
|
|
56467
|
+
__metadata("design:type", Function),
|
|
56468
|
+
__metadata("design:paramtypes", [Object]),
|
|
56469
|
+
__metadata("design:returntype", void 0)
|
|
56470
|
+
], SmeWizardLiteFooterTemplateComponent.prototype, "onExitButtonClicked", null);
|
|
56471
|
+
(function () {
|
|
56472
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeWizardLiteFooterTemplateComponent, [{
|
|
56473
|
+
type: i0.Component,
|
|
56474
|
+
args: [{
|
|
56475
|
+
selector: 'sme-wizard-lite-footer-template',
|
|
56476
|
+
templateUrl: './sme-wizard-lite-footer-template.component.html'
|
|
56477
|
+
}]
|
|
56478
|
+
}], function () { return [{ type: i0.Injector }]; }, { displayExitButton: [{
|
|
56479
|
+
type: i0.Input
|
|
56480
|
+
}], displayWizardButton: [{
|
|
56481
|
+
type: i0.Input
|
|
56482
|
+
}], displayReviewButton: [{
|
|
56483
|
+
type: i0.Input
|
|
56484
|
+
}], reviewButtonText: [{
|
|
56485
|
+
type: i0.Input
|
|
56486
|
+
}], exitButtonText: [{
|
|
56487
|
+
type: i0.Input
|
|
56488
|
+
}], reviewButtonClickedEventEmitter: [{
|
|
56489
|
+
type: i0.Output
|
|
56490
|
+
}], exitButtonClickedEventEmitter: [{
|
|
56491
|
+
type: i0.Output
|
|
56492
|
+
}], prevButtonClickedEventEmitter: [{
|
|
56493
|
+
type: i0.Output
|
|
56494
|
+
}], nextButtonClickedEventEmitter: [{
|
|
56495
|
+
type: i0.Output
|
|
56496
|
+
}], wizardButton: [{
|
|
56497
|
+
type: i0.ViewChild,
|
|
56498
|
+
args: [WizardNavigationButtonComponent]
|
|
56499
|
+
}], onPrevButtonClicked: [], onNextButtonClicked: [], onReviewButtonClicked: [], onExitButtonClicked: [] });
|
|
56500
|
+
})();
|
|
56501
|
+
|
|
56502
|
+
var WizardNavigationButtonModule = /** @class */ (function () {
|
|
56503
|
+
function WizardNavigationButtonModule() {
|
|
56504
|
+
}
|
|
56505
|
+
return WizardNavigationButtonModule;
|
|
56506
|
+
}());
|
|
56507
|
+
/** @nocollapse */ WizardNavigationButtonModule.ɵfac = function WizardNavigationButtonModule_Factory(t) { return new (t || WizardNavigationButtonModule)(); };
|
|
56508
|
+
/** @nocollapse */ WizardNavigationButtonModule.ɵmod = i0.ɵɵdefineNgModule({ type: WizardNavigationButtonModule });
|
|
56509
|
+
/** @nocollapse */ WizardNavigationButtonModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
56510
|
+
i1.RouterModule,
|
|
56511
|
+
i1$1.CommonModule
|
|
56512
|
+
]] });
|
|
56513
|
+
(function () {
|
|
56514
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WizardNavigationButtonModule, { declarations: [WizardNavigationButtonComponent], imports: [i1.RouterModule,
|
|
56515
|
+
i1$1.CommonModule], exports: [WizardNavigationButtonComponent] });
|
|
56516
|
+
})();
|
|
56517
|
+
(function () {
|
|
56518
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardNavigationButtonModule, [{
|
|
56519
|
+
type: i0.NgModule,
|
|
56520
|
+
args: [{
|
|
56521
|
+
exports: [
|
|
56522
|
+
WizardNavigationButtonComponent
|
|
56523
|
+
],
|
|
56524
|
+
declarations: [
|
|
56525
|
+
WizardNavigationButtonComponent
|
|
56526
|
+
],
|
|
56527
|
+
imports: [
|
|
56528
|
+
i1.RouterModule,
|
|
56529
|
+
i1$1.CommonModule
|
|
56530
|
+
]
|
|
56531
|
+
}]
|
|
56532
|
+
}], null, null);
|
|
56533
|
+
})();
|
|
56534
|
+
|
|
56535
|
+
var SmeWizardLiteFooterTemplateModule = /** @class */ (function () {
|
|
56536
|
+
function SmeWizardLiteFooterTemplateModule() {
|
|
56537
|
+
}
|
|
56538
|
+
return SmeWizardLiteFooterTemplateModule;
|
|
56539
|
+
}());
|
|
56540
|
+
/** @nocollapse */ SmeWizardLiteFooterTemplateModule.ɵfac = function SmeWizardLiteFooterTemplateModule_Factory(t) { return new (t || SmeWizardLiteFooterTemplateModule)(); };
|
|
56541
|
+
/** @nocollapse */ SmeWizardLiteFooterTemplateModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmeWizardLiteFooterTemplateModule });
|
|
56542
|
+
/** @nocollapse */ SmeWizardLiteFooterTemplateModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
56543
|
+
i1$1.CommonModule,
|
|
56544
|
+
PivotModule,
|
|
56545
|
+
WizardNavigationButtonModule
|
|
56546
|
+
]] });
|
|
56547
|
+
(function () {
|
|
56548
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmeWizardLiteFooterTemplateModule, { declarations: [SmeWizardLiteFooterTemplateComponent], imports: [i1$1.CommonModule,
|
|
56549
|
+
PivotModule,
|
|
56550
|
+
WizardNavigationButtonModule], exports: [SmeWizardLiteFooterTemplateComponent] });
|
|
56551
|
+
})();
|
|
56552
|
+
(function () {
|
|
56553
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeWizardLiteFooterTemplateModule, [{
|
|
56554
|
+
type: i0.NgModule,
|
|
56555
|
+
args: [{
|
|
56556
|
+
exports: [SmeWizardLiteFooterTemplateComponent],
|
|
56557
|
+
declarations: [SmeWizardLiteFooterTemplateComponent],
|
|
56558
|
+
imports: [
|
|
56559
|
+
i1$1.CommonModule,
|
|
56560
|
+
PivotModule,
|
|
56561
|
+
WizardNavigationButtonModule
|
|
56562
|
+
]
|
|
56563
|
+
}]
|
|
56564
|
+
}], null, null);
|
|
56565
|
+
})();
|
|
56566
|
+
|
|
56567
|
+
var _c0$1H = ["*"];
|
|
56568
|
+
var SmeUxPageComponent = /** @class */ (function (_super) {
|
|
56569
|
+
__extends(SmeUxPageComponent, _super);
|
|
56570
|
+
function SmeUxPageComponent(injector) {
|
|
56571
|
+
return _super.call(this, injector) || this;
|
|
56572
|
+
}
|
|
56573
|
+
Object.defineProperty(SmeUxPageComponent.prototype, "logSourceName", {
|
|
56574
|
+
get: function () {
|
|
56575
|
+
return 'SmeUxPage';
|
|
56576
|
+
},
|
|
56577
|
+
enumerable: false,
|
|
56578
|
+
configurable: true
|
|
56579
|
+
});
|
|
56580
|
+
return SmeUxPageComponent;
|
|
56581
|
+
}(CoreBaseComponent));
|
|
56582
|
+
/** @nocollapse */ SmeUxPageComponent.ɵfac = function SmeUxPageComponent_Factory(t) { return new (t || SmeUxPageComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
56583
|
+
/** @nocollapse */ SmeUxPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SmeUxPageComponent, selectors: [["sme-ux-page"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1H, decls: 1, vars: 0, template: function SmeUxPageComponent_Template(rf, ctx) {
|
|
56584
|
+
if (rf & 1) {
|
|
56585
|
+
i0.ɵɵprojectionDef();
|
|
56586
|
+
i0.ɵɵprojection(0);
|
|
56587
|
+
}
|
|
56588
|
+
}, encapsulation: 2 });
|
|
56589
|
+
(function () {
|
|
56590
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeUxPageComponent, [{
|
|
56591
|
+
type: i0.Component,
|
|
56592
|
+
args: [{
|
|
56593
|
+
selector: 'sme-ux-page',
|
|
56594
|
+
template: "<ng-content></ng-content>"
|
|
56595
|
+
}]
|
|
56596
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
56597
|
+
})();
|
|
56598
|
+
|
|
56599
|
+
var SmeUxPageModule = /** @class */ (function () {
|
|
56600
|
+
function SmeUxPageModule() {
|
|
56601
|
+
}
|
|
56602
|
+
return SmeUxPageModule;
|
|
56603
|
+
}());
|
|
56604
|
+
/** @nocollapse */ SmeUxPageModule.ɵfac = function SmeUxPageModule_Factory(t) { return new (t || SmeUxPageModule)(); };
|
|
56605
|
+
/** @nocollapse */ SmeUxPageModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmeUxPageModule });
|
|
56606
|
+
/** @nocollapse */ SmeUxPageModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
56607
|
+
i1$1.CommonModule,
|
|
56608
|
+
SmeUxContentModule,
|
|
56609
|
+
SmeUxFooterModule
|
|
56610
|
+
]] });
|
|
56611
|
+
(function () {
|
|
56612
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmeUxPageModule, { declarations: [SmeUxPageComponent], imports: [i1$1.CommonModule,
|
|
56613
|
+
SmeUxContentModule,
|
|
56614
|
+
SmeUxFooterModule], exports: [SmeUxPageComponent] });
|
|
56615
|
+
})();
|
|
56616
|
+
(function () {
|
|
56617
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmeUxPageModule, [{
|
|
56618
|
+
type: i0.NgModule,
|
|
56619
|
+
args: [{
|
|
56620
|
+
exports: [SmeUxPageComponent],
|
|
56621
|
+
declarations: [SmeUxPageComponent],
|
|
56622
|
+
imports: [
|
|
56623
|
+
i1$1.CommonModule,
|
|
56624
|
+
SmeUxContentModule,
|
|
56625
|
+
SmeUxFooterModule
|
|
56626
|
+
]
|
|
56627
|
+
}]
|
|
56628
|
+
}], null, null);
|
|
56629
|
+
})();
|
|
56630
|
+
|
|
55558
56631
|
/**
|
|
55559
56632
|
* Wizard navigation information class.
|
|
55560
56633
|
*/
|
|
@@ -55868,7 +56941,7 @@
|
|
|
55868
56941
|
__metadata("design:returntype", void 0)
|
|
55869
56942
|
], WizardResponsiveWindowManager.prototype, "onWindowSizeChanged", null);
|
|
55870
56943
|
|
|
55871
|
-
var _c0$
|
|
56944
|
+
var _c0$1I = ["wizardFooter"];
|
|
55872
56945
|
function WizardComponent_div_1_sme_badge_3_Template(rf, ctx) {
|
|
55873
56946
|
if (rf & 1) {
|
|
55874
56947
|
i0.ɵɵelement(0, "sme-badge", 14);
|
|
@@ -56905,7 +57978,7 @@
|
|
|
56905
57978
|
/** @nocollapse */ WizardComponent.ɵfac = function WizardComponent_Factory(t) { return new (t || WizardComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 12)); };
|
|
56906
57979
|
/** @nocollapse */ WizardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardComponent, selectors: [["sme-wizard"]], viewQuery: function WizardComponent_Query(rf, ctx) {
|
|
56907
57980
|
if (rf & 1) {
|
|
56908
|
-
i0.ɵɵviewQuery(_c0$
|
|
57981
|
+
i0.ɵɵviewQuery(_c0$1I, 1);
|
|
56909
57982
|
}
|
|
56910
57983
|
if (rf & 2) {
|
|
56911
57984
|
var _t = void 0;
|
|
@@ -57829,285 +58902,284 @@
|
|
|
57829
58902
|
return TemplateDrivenWizardStepComponent;
|
|
57830
58903
|
}(FormWizardStepComponent));
|
|
57831
58904
|
|
|
57832
|
-
|
|
57833
|
-
|
|
57834
|
-
|
|
58905
|
+
/**
|
|
58906
|
+
* The wizard lite service that mainly handles the wizard button with the pivot relationship from internal shell.
|
|
58907
|
+
*/
|
|
58908
|
+
var WizardLiteService = /** @class */ (function () {
|
|
58909
|
+
function WizardLiteService() {
|
|
57835
58910
|
}
|
|
57836
|
-
|
|
57837
|
-
|
|
57838
|
-
|
|
57839
|
-
|
|
57840
|
-
|
|
57841
|
-
|
|
57842
|
-
|
|
57843
|
-
|
|
57844
|
-
|
|
57845
|
-
|
|
57846
|
-
|
|
57847
|
-
|
|
57848
|
-
|
|
57849
|
-
|
|
58911
|
+
WizardLiteService.prototype.refreshComponents = function (wizardLiteComponent) {
|
|
58912
|
+
this.refreshContentComponents(wizardLiteComponent);
|
|
58913
|
+
this.refreshFooterComponent(wizardLiteComponent);
|
|
58914
|
+
this.setupEmitterSubscriptions(wizardLiteComponent);
|
|
58915
|
+
this.checkActive(wizardLiteComponent);
|
|
58916
|
+
};
|
|
58917
|
+
/**
|
|
58918
|
+
* It refreshes the internal object for the footer component.
|
|
58919
|
+
* @param wizardLiteComponent the wizard lite component.
|
|
58920
|
+
*/
|
|
58921
|
+
WizardLiteService.prototype.refreshFooterComponent = function (wizardLiteComponent) {
|
|
58922
|
+
if (!wizardLiteComponent.customFooter &&
|
|
58923
|
+
wizardLiteComponent.wizardLiteFooterTemplateElement &&
|
|
58924
|
+
wizardLiteComponent.wizardLiteFooterTemplateElement.toArray().length) {
|
|
58925
|
+
if (wizardLiteComponent.wizardLiteFooterTemplateElement.toArray().length !== 1) {
|
|
58926
|
+
logging.Logging.log({
|
|
58927
|
+
consoleGroupHeader: 'WizardLiteComponent',
|
|
58928
|
+
level: logLevel.LogLevel.Error,
|
|
58929
|
+
message: 'illegal count of wizard button was found.',
|
|
58930
|
+
source: 'WizardLiteComponent.ngAfterContentInit()'
|
|
58931
|
+
});
|
|
58932
|
+
}
|
|
58933
|
+
var wizardLiteFooterTemplateElement = wizardLiteComponent.wizardLiteFooterTemplateElement.toArray()[0];
|
|
58934
|
+
wizardLiteComponent.wizardLiteFooterTemplate = wizardLiteFooterTemplateElement;
|
|
58935
|
+
wizardLiteComponent.wizardButton = wizardLiteFooterTemplateElement.wizardButton;
|
|
58936
|
+
wizardLiteFooterTemplateElement.buttons = wizardLiteComponent.buttons;
|
|
57850
58937
|
}
|
|
57851
|
-
if (
|
|
57852
|
-
|
|
57853
|
-
|
|
57854
|
-
|
|
57855
|
-
|
|
57856
|
-
|
|
58938
|
+
else if (wizardLiteComponent.customFooter &&
|
|
58939
|
+
wizardLiteComponent.wizardButtonElement &&
|
|
58940
|
+
wizardLiteComponent.wizardButtonElement.toArray().length) {
|
|
58941
|
+
if (wizardLiteComponent.wizardButtonElement.toArray().length !== 1) {
|
|
58942
|
+
logging.Logging.log({
|
|
58943
|
+
consoleGroupHeader: 'WizardLiteComponent',
|
|
58944
|
+
level: logLevel.LogLevel.Error,
|
|
58945
|
+
message: 'illegal count of wizard button was found.',
|
|
58946
|
+
source: 'WizardLiteComponent.ngAfterContentInit()'
|
|
58947
|
+
});
|
|
58948
|
+
}
|
|
58949
|
+
var wizardButtonElement = wizardLiteComponent.wizardButtonElement.toArray()[0];
|
|
58950
|
+
wizardLiteComponent.wizardButton = wizardButtonElement;
|
|
58951
|
+
wizardButtonElement.buttons = wizardLiteComponent.buttons;
|
|
57857
58952
|
}
|
|
57858
|
-
}
|
|
58953
|
+
};
|
|
58954
|
+
/**
|
|
58955
|
+
* It refreshes the internal object for the content component.
|
|
58956
|
+
* @param wizardLiteComponent the wizard lite component.
|
|
58957
|
+
*/
|
|
58958
|
+
WizardLiteService.prototype.refreshContentComponents = function (wizardLiteComponent) {
|
|
58959
|
+
if (wizardLiteComponent.pivotElement && wizardLiteComponent.pivotElement.toArray().length) {
|
|
58960
|
+
if (wizardLiteComponent.pivotElement.toArray().length !== 1) {
|
|
58961
|
+
logging.Logging.log({
|
|
58962
|
+
consoleGroupHeader: 'WizardLiteComponent',
|
|
58963
|
+
level: logLevel.LogLevel.Error,
|
|
58964
|
+
message: 'illegal count of pivot tab was found.',
|
|
58965
|
+
source: 'WizardLiteComponent.ngAfterContentInit()'
|
|
58966
|
+
});
|
|
58967
|
+
}
|
|
58968
|
+
wizardLiteComponent.pivotComponent = wizardLiteComponent.pivotElement.toArray()[0];
|
|
58969
|
+
// CoreBaseComponent will destroy wizardLiteComponent.subscriptions on destroy event
|
|
58970
|
+
wizardLiteComponent.getSubscriptions().push(wizardLiteComponent.pivotComponent.selectionChange.subscribe(function ($event) {
|
|
58971
|
+
wizardLiteComponent.onSelectionChanged($event);
|
|
58972
|
+
}));
|
|
58973
|
+
}
|
|
58974
|
+
};
|
|
58975
|
+
/**
|
|
58976
|
+
* It sets up the interaction between the pivot component and the footer space wizard button from internal shell.
|
|
58977
|
+
* @param wizardLiteComponent the wizard lite component.
|
|
58978
|
+
*/
|
|
58979
|
+
WizardLiteService.prototype.setupEmitterSubscriptions = function (wizardLiteComponent) {
|
|
58980
|
+
if (!wizardLiteComponent) {
|
|
58981
|
+
return;
|
|
58982
|
+
}
|
|
58983
|
+
var pivotComponent = wizardLiteComponent.pivotComponent;
|
|
58984
|
+
if (!pivotComponent) {
|
|
58985
|
+
return;
|
|
58986
|
+
}
|
|
58987
|
+
var wizardLiteFooterTemplateElement = wizardLiteComponent.wizardLiteFooterTemplate;
|
|
58988
|
+
if (!wizardLiteFooterTemplateElement) {
|
|
58989
|
+
return;
|
|
58990
|
+
}
|
|
58991
|
+
wizardLiteFooterTemplateElement.prevButtonClickedEventEmitter.subscribe(function () {
|
|
58992
|
+
pivotComponent.selectTabByLabel(wizardLiteFooterTemplateElement.wizardButton.getCurrentActivatedButtonLabel());
|
|
58993
|
+
});
|
|
58994
|
+
wizardLiteFooterTemplateElement.nextButtonClickedEventEmitter.subscribe(function () {
|
|
58995
|
+
pivotComponent.selectTabByLabel(wizardLiteFooterTemplateElement.wizardButton.getCurrentActivatedButtonLabel());
|
|
58996
|
+
});
|
|
58997
|
+
};
|
|
58998
|
+
/**
|
|
58999
|
+
* It checks whether the component has been active.
|
|
59000
|
+
* @param wizardLiteComponent the wizard lite component.
|
|
59001
|
+
*/
|
|
59002
|
+
WizardLiteService.prototype.checkActive = function (wizardLiteComponent) {
|
|
59003
|
+
wizardLiteComponent.active = !!wizardLiteComponent.wizardButton && !!wizardLiteComponent.pivotComponent;
|
|
59004
|
+
};
|
|
59005
|
+
return WizardLiteService;
|
|
59006
|
+
}());
|
|
59007
|
+
/** @nocollapse */ WizardLiteService.ɵfac = function WizardLiteService_Factory(t) { return new (t || WizardLiteService)(); };
|
|
59008
|
+
/** @nocollapse */ WizardLiteService.ɵprov = i0.ɵɵdefineInjectable({ token: WizardLiteService, factory: WizardLiteService.ɵfac });
|
|
57859
59009
|
(function () {
|
|
57860
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
57861
|
-
type: i0.
|
|
57862
|
-
|
|
57863
|
-
selector: 'sme-context-dropdown',
|
|
57864
|
-
templateUrl: './context-dropdown.component.html'
|
|
57865
|
-
}]
|
|
57866
|
-
}], null, { actionGroupTitle: [{
|
|
57867
|
-
type: i0.Input
|
|
57868
|
-
}], actions: [{
|
|
57869
|
-
type: i0.Input
|
|
57870
|
-
}] });
|
|
59010
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardLiteService, [{
|
|
59011
|
+
type: i0.Injectable
|
|
59012
|
+
}], null, null);
|
|
57871
59013
|
})();
|
|
57872
59014
|
|
|
57873
|
-
|
|
57874
|
-
|
|
57875
|
-
|
|
57876
|
-
|
|
57877
|
-
i0.ɵɵprojection(2);
|
|
57878
|
-
i0.ɵɵelement(3, "sme-action-menu", 3, 4);
|
|
57879
|
-
i0.ɵɵelementEnd();
|
|
57880
|
-
i0.ɵɵelementEnd();
|
|
57881
|
-
}
|
|
57882
|
-
if (rf & 2) {
|
|
57883
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
57884
|
-
i0.ɵɵproperty("isContextMenu", true)("ngStyle", ctx_r0.getMenuPosition());
|
|
57885
|
-
i0.ɵɵadvance(3);
|
|
57886
|
-
i0.ɵɵproperty("actions", ctx_r0.contextMenuItems)("target", ctx_r0.target);
|
|
57887
|
-
}
|
|
57888
|
-
}
|
|
57889
|
-
var _c0$1F = ["*"];
|
|
57890
|
-
/**
|
|
57891
|
-
*
|
|
57892
|
-
* @smeDoc {@label Context-Menu @id sme-context-menu}
|
|
57893
|
-
*
|
|
57894
|
-
* @overview
|
|
57895
|
-
* @file {@filepath ./examples/context-menu-overview.md}
|
|
57896
|
-
*
|
|
57897
|
-
* @example {@label Basic Usage @id sme-dev-guide-controls-context-menu}
|
|
57898
|
-
* @file {@filename component.html @filepath ./examples/context-menu-example.component.html}
|
|
57899
|
-
* @file {@filename component.ts @filepath ./examples/context-menu-example.component.ts}
|
|
57900
|
-
*
|
|
57901
|
-
* @example {@label Nested Actions Usage @id sme-nested-actions-guide}
|
|
57902
|
-
* @file {@filename component.html @filepath ./examples/nested-context-menu-example.component.html}
|
|
57903
|
-
* @file {@filename component.ts @filepath ./examples/context-menu-example.component.ts}
|
|
57904
|
-
*/
|
|
57905
|
-
var ContextMenuComponent = /** @class */ (function (_super) {
|
|
57906
|
-
__extends(ContextMenuComponent, _super);
|
|
57907
|
-
function ContextMenuComponent(injector, element) {
|
|
59015
|
+
var _c0$1J = ["*"];
|
|
59016
|
+
var WizardLiteComponent = /** @class */ (function (_super) {
|
|
59017
|
+
__extends(WizardLiteComponent, _super);
|
|
59018
|
+
function WizardLiteComponent(injector, wizardLiteService) {
|
|
57908
59019
|
var _this = _super.call(this, injector) || this;
|
|
57909
|
-
_this.
|
|
57910
|
-
|
|
57911
|
-
* Gets the items to display in the contextmenu -they should of type actionItem
|
|
57912
|
-
*/
|
|
57913
|
-
_this.contextMenuItems = [];
|
|
57914
|
-
/**
|
|
57915
|
-
*Takes in a function that is executed once an actionItem is clicked
|
|
57916
|
-
*/
|
|
57917
|
-
_this.contextMenuItemClick = new i0.EventEmitter();
|
|
59020
|
+
_this.wizardLiteService = wizardLiteService;
|
|
59021
|
+
_this.customFooter = false;
|
|
57918
59022
|
/**
|
|
57919
|
-
*
|
|
57920
|
-
|
|
57921
|
-
_this.
|
|
59023
|
+
* It determines the pivot control and footer wizard component both found.
|
|
59024
|
+
*/
|
|
59025
|
+
_this.active = false;
|
|
59026
|
+
_this.buttonsInternal = [];
|
|
57922
59027
|
return _this;
|
|
57923
59028
|
}
|
|
57924
|
-
Object.defineProperty(
|
|
57925
|
-
/**
|
|
57926
|
-
* The source name to use for logging
|
|
57927
|
-
*/
|
|
59029
|
+
Object.defineProperty(WizardLiteComponent.prototype, "logSourceName", {
|
|
57928
59030
|
get: function () {
|
|
57929
|
-
return '
|
|
59031
|
+
return 'WizardLiteComponent';
|
|
57930
59032
|
},
|
|
57931
59033
|
enumerable: false,
|
|
57932
59034
|
configurable: true
|
|
57933
59035
|
});
|
|
57934
|
-
|
|
57935
|
-
|
|
57936
|
-
|
|
57937
|
-
|
|
57938
|
-
|
|
57939
|
-
|
|
57940
|
-
|
|
57941
|
-
|
|
57942
|
-
|
|
57943
|
-
|
|
59036
|
+
Object.defineProperty(WizardLiteComponent.prototype, "pivotComponent", {
|
|
59037
|
+
get: function () {
|
|
59038
|
+
return this.pivotComponentInternal;
|
|
59039
|
+
},
|
|
59040
|
+
set: function (pivots) {
|
|
59041
|
+
if (pivots) {
|
|
59042
|
+
var pivotLabels = pivots.getLabels();
|
|
59043
|
+
if (!this.buttons || !this.buttons.length) {
|
|
59044
|
+
this.buttonsInternal = pivotLabels.map(function (l) {
|
|
59045
|
+
return {
|
|
59046
|
+
'label': l
|
|
59047
|
+
};
|
|
59048
|
+
});
|
|
59049
|
+
}
|
|
59050
|
+
}
|
|
59051
|
+
this.pivotComponentInternal = pivots;
|
|
59052
|
+
},
|
|
59053
|
+
enumerable: false,
|
|
59054
|
+
configurable: true
|
|
59055
|
+
});
|
|
59056
|
+
Object.defineProperty(WizardLiteComponent.prototype, "buttons", {
|
|
59057
|
+
get: function () {
|
|
59058
|
+
return this.buttonsInternal;
|
|
59059
|
+
},
|
|
59060
|
+
enumerable: false,
|
|
59061
|
+
configurable: true
|
|
59062
|
+
});
|
|
59063
|
+
WizardLiteComponent.prototype.ngAfterContentInit = function () {
|
|
59064
|
+
this.refresh();
|
|
57944
59065
|
};
|
|
57945
59066
|
/**
|
|
57946
|
-
*
|
|
57947
|
-
|
|
57948
|
-
|
|
57949
|
-
|
|
57950
|
-
|
|
57951
|
-
|
|
57952
|
-
|
|
57953
|
-
|
|
59067
|
+
* It gets the subscription array from the core base component.
|
|
59068
|
+
* @returns the subscriptions array.
|
|
59069
|
+
*/
|
|
59070
|
+
WizardLiteComponent.prototype.getSubscriptions = function () {
|
|
59071
|
+
return this.subscriptions;
|
|
59072
|
+
};
|
|
59073
|
+
WizardLiteComponent.prototype.refresh = function () {
|
|
59074
|
+
this.wizardLiteService.refreshComponents(this);
|
|
59075
|
+
};
|
|
59076
|
+
WizardLiteComponent.prototype.onSelectionChanged = function (tab) {
|
|
59077
|
+
if (!tab || !tab.label) {
|
|
59078
|
+
return;
|
|
57954
59079
|
}
|
|
59080
|
+
if (tab.label === this.wizardButton.getCurrentActivatedButtonLabel()) {
|
|
59081
|
+
return;
|
|
59082
|
+
}
|
|
59083
|
+
this.wizardButton.updateStartIndexByLabel(tab.label);
|
|
57955
59084
|
};
|
|
57956
|
-
return
|
|
59085
|
+
return WizardLiteComponent;
|
|
57957
59086
|
}(CoreBaseComponent));
|
|
57958
|
-
/** @nocollapse */
|
|
57959
|
-
/** @nocollapse */
|
|
59087
|
+
/** @nocollapse */ WizardLiteComponent.ɵfac = function WizardLiteComponent_Factory(t) { return new (t || WizardLiteComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(WizardLiteService)); };
|
|
59088
|
+
/** @nocollapse */ WizardLiteComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WizardLiteComponent, selectors: [["sme-wizard-lite"]], contentQueries: function WizardLiteComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
57960
59089
|
if (rf & 1) {
|
|
57961
|
-
i0.ɵɵ
|
|
57962
|
-
i0.ɵɵ
|
|
59090
|
+
i0.ɵɵcontentQuery(dirIndex, PivotComponent, 1);
|
|
59091
|
+
i0.ɵɵcontentQuery(dirIndex, WizardNavigationButtonComponent, 1);
|
|
59092
|
+
i0.ɵɵcontentQuery(dirIndex, SmeWizardLiteFooterTemplateComponent, 1);
|
|
57963
59093
|
}
|
|
57964
59094
|
if (rf & 2) {
|
|
57965
|
-
|
|
59095
|
+
var _t = void 0;
|
|
59096
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pivotElement = _t);
|
|
59097
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wizardButtonElement = _t);
|
|
59098
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wizardLiteFooterTemplateElement = _t);
|
|
57966
59099
|
}
|
|
57967
|
-
},
|
|
59100
|
+
}, inputs: { customFooter: "customFooter" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1J, decls: 2, vars: 0, template: function WizardLiteComponent_Template(rf, ctx) {
|
|
59101
|
+
if (rf & 1) {
|
|
59102
|
+
i0.ɵɵprojectionDef();
|
|
59103
|
+
i0.ɵɵelementStart(0, "sme-ux-page");
|
|
59104
|
+
i0.ɵɵprojection(1);
|
|
59105
|
+
i0.ɵɵelementEnd();
|
|
59106
|
+
}
|
|
59107
|
+
}, directives: [SmeUxPageComponent], encapsulation: 2 });
|
|
57968
59108
|
__decorate([
|
|
57969
|
-
debounce_decorators.Debounce(
|
|
59109
|
+
debounce_decorators.Debounce(),
|
|
57970
59110
|
__metadata("design:type", Function),
|
|
57971
59111
|
__metadata("design:paramtypes", []),
|
|
57972
59112
|
__metadata("design:returntype", void 0)
|
|
57973
|
-
],
|
|
59113
|
+
], WizardLiteComponent.prototype, "refresh", null);
|
|
57974
59114
|
(function () {
|
|
57975
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
59115
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardLiteComponent, [{
|
|
57976
59116
|
type: i0.Component,
|
|
57977
59117
|
args: [{
|
|
57978
|
-
selector: 'sme-
|
|
57979
|
-
templateUrl: './
|
|
59118
|
+
selector: 'sme-wizard-lite',
|
|
59119
|
+
templateUrl: './wizard-lite.component.html'
|
|
57980
59120
|
}]
|
|
57981
|
-
}], function () { return [{ type: i0.Injector }, { type:
|
|
57982
|
-
type: i0.
|
|
57983
|
-
|
|
57984
|
-
|
|
57985
|
-
|
|
57986
|
-
|
|
57987
|
-
}],
|
|
57988
|
-
type: i0.
|
|
57989
|
-
|
|
57990
|
-
|
|
57991
|
-
|
|
57992
|
-
/**
|
|
57993
|
-
* Directive that controls the opening and the closing of the context-menu,
|
|
57994
|
-
* once the host element is right-clicked
|
|
57995
|
-
*/
|
|
57996
|
-
var ContextMenuDirective = /** @class */ (function () {
|
|
57997
|
-
function ContextMenuDirective(el) {
|
|
57998
|
-
this.el = el;
|
|
57999
|
-
}
|
|
58000
|
-
/**
|
|
58001
|
-
* Listens for the right-click event on the host
|
|
58002
|
-
* Opens custom contextmenu except when text is highlighted or link is clicked
|
|
58003
|
-
*/
|
|
58004
|
-
ContextMenuDirective.prototype.onClick = function (event) {
|
|
58005
|
-
var tagElement = event.target;
|
|
58006
|
-
if (tagElement.tagName.toUpperCase() === 'A' || window.getSelection().toString() !== '') {
|
|
58007
|
-
this.el.nativeElement.enableRightClickSelect = false;
|
|
58008
|
-
}
|
|
58009
|
-
else {
|
|
58010
|
-
event.preventDefault();
|
|
58011
|
-
this.el.nativeElement.enableRightClickSelect = true;
|
|
58012
|
-
this.openContextMenu(event);
|
|
58013
|
-
}
|
|
58014
|
-
};
|
|
58015
|
-
// Closes the context menu when a click event is fired
|
|
58016
|
-
ContextMenuDirective.prototype.documentClick = function () {
|
|
58017
|
-
this.smeContextMenu.isOpen = false;
|
|
58018
|
-
};
|
|
58019
|
-
// Prevents tab key event from closing the context menu
|
|
58020
|
-
ContextMenuDirective.prototype.onKeyup = function (event) {
|
|
58021
|
-
if (event.keyCode === accessibilityManager.KeyCode.Tab) {
|
|
58022
|
-
event.preventDefault();
|
|
58023
|
-
event.stopPropagation();
|
|
58024
|
-
}
|
|
58025
|
-
};
|
|
58026
|
-
/**
|
|
58027
|
-
* Called once right-click is triggered and toggles the isOpen from the contextMenu
|
|
58028
|
-
* It controls the opening and closing of contextMenu
|
|
58029
|
-
*/
|
|
58030
|
-
ContextMenuDirective.prototype.openContextMenu = function ($event) {
|
|
58031
|
-
var _this = this;
|
|
58032
|
-
this.smeContextMenu.autoFocus();
|
|
58033
|
-
if (this.smeContextMenu.isOpen) {
|
|
58034
|
-
this.smeContextMenu.isOpen = false;
|
|
58035
|
-
}
|
|
58036
|
-
setTimeout(function () {
|
|
58037
|
-
_this.smeContextMenu.mouseEventData = $event;
|
|
58038
|
-
_this.smeContextMenu.isOpen = true;
|
|
58039
|
-
});
|
|
58040
|
-
};
|
|
58041
|
-
return ContextMenuDirective;
|
|
58042
|
-
}());
|
|
58043
|
-
/** @nocollapse */ ContextMenuDirective.ɵfac = function ContextMenuDirective_Factory(t) { return new (t || ContextMenuDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
58044
|
-
/** @nocollapse */ ContextMenuDirective.ɵdir = i0.ɵɵdefineDirective({ type: ContextMenuDirective, selectors: [["", "smeContextMenu", ""]], hostBindings: function ContextMenuDirective_HostBindings(rf, ctx) {
|
|
58045
|
-
if (rf & 1) {
|
|
58046
|
-
i0.ɵɵlistener("contextmenu", function ContextMenuDirective_contextmenu_HostBindingHandler($event) { return ctx.onClick($event); })("click", function ContextMenuDirective_click_HostBindingHandler() { return ctx.documentClick(); }, false, i0.ɵɵresolveDocument)("keyup", function ContextMenuDirective_keyup_HostBindingHandler($event) { return ctx.onKeyup($event); });
|
|
58047
|
-
}
|
|
58048
|
-
}, inputs: { smeContextMenu: "smeContextMenu" } });
|
|
58049
|
-
(function () {
|
|
58050
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextMenuDirective, [{
|
|
58051
|
-
type: i0.Directive,
|
|
58052
|
-
args: [{
|
|
58053
|
-
selector: '[smeContextMenu]'
|
|
58054
|
-
}]
|
|
58055
|
-
}], function () { return [{ type: i0.ElementRef }]; }, { smeContextMenu: [{
|
|
59121
|
+
}], function () { return [{ type: i0.Injector }, { type: WizardLiteService }]; }, { pivotElement: [{
|
|
59122
|
+
type: i0.ContentChildren,
|
|
59123
|
+
args: [PivotComponent, { descendants: true }]
|
|
59124
|
+
}], wizardButtonElement: [{
|
|
59125
|
+
type: i0.ContentChildren,
|
|
59126
|
+
args: [WizardNavigationButtonComponent, { descendants: true }]
|
|
59127
|
+
}], wizardLiteFooterTemplateElement: [{
|
|
59128
|
+
type: i0.ContentChildren,
|
|
59129
|
+
args: [SmeWizardLiteFooterTemplateComponent, { descendants: true }]
|
|
59130
|
+
}], customFooter: [{
|
|
58056
59131
|
type: i0.Input
|
|
58057
|
-
}],
|
|
58058
|
-
type: i0.HostListener,
|
|
58059
|
-
args: ['contextmenu', ['$event']]
|
|
58060
|
-
}], documentClick: [{
|
|
58061
|
-
type: i0.HostListener,
|
|
58062
|
-
args: ['document:click']
|
|
58063
|
-
}], onKeyup: [{
|
|
58064
|
-
type: i0.HostListener,
|
|
58065
|
-
args: ['keyup', ['$event']]
|
|
58066
|
-
}] });
|
|
59132
|
+
}], refresh: [] });
|
|
58067
59133
|
})();
|
|
58068
59134
|
|
|
58069
|
-
var
|
|
58070
|
-
function
|
|
59135
|
+
var WizardLiteModule = /** @class */ (function () {
|
|
59136
|
+
function WizardLiteModule() {
|
|
58071
59137
|
}
|
|
58072
|
-
return
|
|
59138
|
+
return WizardLiteModule;
|
|
58073
59139
|
}());
|
|
58074
|
-
/** @nocollapse */
|
|
58075
|
-
/** @nocollapse */
|
|
58076
|
-
/** @nocollapse */
|
|
59140
|
+
/** @nocollapse */ WizardLiteModule.ɵfac = function WizardLiteModule_Factory(t) { return new (t || WizardLiteModule)(); };
|
|
59141
|
+
/** @nocollapse */ WizardLiteModule.ɵmod = i0.ɵɵdefineNgModule({ type: WizardLiteModule });
|
|
59142
|
+
/** @nocollapse */ WizardLiteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
59143
|
+
WizardLiteService
|
|
59144
|
+
], imports: [[
|
|
58077
59145
|
i1$1.CommonModule,
|
|
58078
|
-
|
|
58079
|
-
|
|
58080
|
-
|
|
59146
|
+
i1.RouterModule,
|
|
59147
|
+
WizardNavigationButtonModule,
|
|
59148
|
+
SmeUxFooterModule,
|
|
59149
|
+
SmeUxPageModule,
|
|
59150
|
+
SmeUxContentModule,
|
|
59151
|
+
SmeWizardLiteFooterTemplateModule
|
|
58081
59152
|
]] });
|
|
58082
59153
|
(function () {
|
|
58083
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(
|
|
58084
|
-
|
|
58085
|
-
|
|
58086
|
-
|
|
58087
|
-
|
|
58088
|
-
|
|
58089
|
-
|
|
58090
|
-
ContextDropdownComponent] });
|
|
59154
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WizardLiteModule, { declarations: [WizardLiteComponent], imports: [i1$1.CommonModule,
|
|
59155
|
+
i1.RouterModule,
|
|
59156
|
+
WizardNavigationButtonModule,
|
|
59157
|
+
SmeUxFooterModule,
|
|
59158
|
+
SmeUxPageModule,
|
|
59159
|
+
SmeUxContentModule,
|
|
59160
|
+
SmeWizardLiteFooterTemplateModule], exports: [WizardLiteComponent] });
|
|
58091
59161
|
})();
|
|
58092
59162
|
(function () {
|
|
58093
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
59163
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardLiteModule, [{
|
|
58094
59164
|
type: i0.NgModule,
|
|
58095
59165
|
args: [{
|
|
59166
|
+
exports: [
|
|
59167
|
+
WizardLiteComponent
|
|
59168
|
+
],
|
|
58096
59169
|
declarations: [
|
|
58097
|
-
|
|
58098
|
-
ContextMenuDirective,
|
|
58099
|
-
ContextDropdownComponent
|
|
59170
|
+
WizardLiteComponent
|
|
58100
59171
|
],
|
|
58101
59172
|
imports: [
|
|
58102
59173
|
i1$1.CommonModule,
|
|
58103
|
-
|
|
58104
|
-
|
|
58105
|
-
|
|
59174
|
+
i1.RouterModule,
|
|
59175
|
+
WizardNavigationButtonModule,
|
|
59176
|
+
SmeUxFooterModule,
|
|
59177
|
+
SmeUxPageModule,
|
|
59178
|
+
SmeUxContentModule,
|
|
59179
|
+
SmeWizardLiteFooterTemplateModule
|
|
58106
59180
|
],
|
|
58107
|
-
|
|
58108
|
-
|
|
58109
|
-
ContextMenuDirective,
|
|
58110
|
-
ContextDropdownComponent
|
|
59181
|
+
providers: [
|
|
59182
|
+
WizardLiteService
|
|
58111
59183
|
]
|
|
58112
59184
|
}]
|
|
58113
59185
|
}], null, null);
|
|
@@ -59575,7 +60647,15 @@
|
|
|
59575
60647
|
exports.SmeSchemaProperty = SmeSchemaProperty;
|
|
59576
60648
|
exports.SmeTemplateOutletModule = SmeTemplateOutletModule;
|
|
59577
60649
|
exports.SmeUxComponent = SmeUxComponent;
|
|
60650
|
+
exports.SmeUxContentComponent = SmeUxContentComponent;
|
|
60651
|
+
exports.SmeUxContentModule = SmeUxContentModule;
|
|
60652
|
+
exports.SmeUxFooterComponent = SmeUxFooterComponent;
|
|
60653
|
+
exports.SmeUxFooterModule = SmeUxFooterModule;
|
|
59578
60654
|
exports.SmeUxModule = SmeUxModule;
|
|
60655
|
+
exports.SmeUxPageComponent = SmeUxPageComponent;
|
|
60656
|
+
exports.SmeUxPageModule = SmeUxPageModule;
|
|
60657
|
+
exports.SmeWizardLiteFooterTemplateComponent = SmeWizardLiteFooterTemplateComponent;
|
|
60658
|
+
exports.SmeWizardLiteFooterTemplateModule = SmeWizardLiteFooterTemplateModule;
|
|
59579
60659
|
exports.SnapInExtensionComponent = SnapInExtensionComponent;
|
|
59580
60660
|
exports.SnapInExtensionModule = SnapInExtensionModule;
|
|
59581
60661
|
exports.SplitViewComponent = SplitViewComponent;
|
|
@@ -59627,7 +60707,11 @@
|
|
|
59627
60707
|
exports.WizardAsParent = WizardAsParent;
|
|
59628
60708
|
exports.WizardBuilder = WizardBuilder;
|
|
59629
60709
|
exports.WizardComponent = WizardComponent;
|
|
60710
|
+
exports.WizardLiteComponent = WizardLiteComponent;
|
|
60711
|
+
exports.WizardLiteModule = WizardLiteModule;
|
|
59630
60712
|
exports.WizardModule = WizardModule;
|
|
60713
|
+
exports.WizardNavigationButtonComponent = WizardNavigationButtonComponent;
|
|
60714
|
+
exports.WizardNavigationButtonModule = WizardNavigationButtonModule;
|
|
59631
60715
|
exports.WizardNavigationInformation = WizardNavigationInformation;
|
|
59632
60716
|
exports.WizardStage = WizardStage;
|
|
59633
60717
|
exports.WizardStep = WizardStep;
|