@microsoft/windows-admin-center-sdk 2.128.0 → 2.165.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular/assets/strings/cs-CZ/strings.json +1 -1
- package/angular/assets/strings/de-DE/strings.json +1 -1
- package/angular/assets/strings/es-ES/strings.json +1 -1
- package/angular/assets/strings/fr-FR/strings.json +1 -1
- package/angular/assets/strings/hu-HU/strings.json +1 -1
- package/angular/assets/strings/it-IT/strings.json +1 -1
- package/angular/assets/strings/ja-JP/strings.json +1 -1
- package/angular/assets/strings/ko-KR/strings.json +1 -1
- package/angular/assets/strings/nl-NL/strings.json +1 -1
- package/angular/assets/strings/pl-PL/strings.json +1 -1
- package/angular/assets/strings/pt-BR/strings.json +1 -1
- package/angular/assets/strings/pt-PT/strings.json +1 -1
- package/angular/assets/strings/ru-RU/strings.json +1 -1
- package/angular/assets/strings/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 +706 -507
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js.map +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
- package/angular/esm2015/src/controls/accordion/index.js +5 -0
- package/angular/esm2015/src/controls/data-table/data-table.component.js +135 -129
- package/angular/esm2015/src/controls/dialog/dialog.component.js +11 -5
- package/angular/esm2015/src/controls/dialog/dialog.service.js +6 -13
- package/angular/esm2015/src/controls/dropdown/dropdown.service.js +3 -2
- package/angular/esm2015/src/controls/form/form-field/array/array-form-field.component.js +29 -22
- package/angular/esm2015/src/controls/form/form-field/datetime-range/datetime-range-form-field.component.js +4 -3
- package/angular/esm2015/src/controls/form/form-field/list/list-form-field.component.js +1 -1
- package/angular/esm2015/src/controls/form/validation-alert/validation-alert.component.js +3 -2
- package/angular/esm2015/src/controls/index.js +2 -1
- package/angular/esm2015/src/controls/pivot/pivot.component.js +21 -9
- package/angular/esm2015/src/controls/settings/common-settings/common-settings.component.js +38 -34
- package/angular/esm2015/src/controls/settings/settings-content.component.js +3 -2
- package/angular/esm2015/src/controls/settings/settings.component.js +45 -13
- package/angular/esm2015/src/controls/settings/settings.module.js +5 -1
- package/angular/esm2015/src/controls/tooltip/tooltip-zone.directive.js +2 -2
- package/angular/esm2015/src/controls/wizard/models/index.js +1 -1
- package/angular/esm2015/src/controls/wizard/models/wizard-builder-interface.js +2 -0
- package/angular/esm2015/src/controls/wizard/models/wizard-navigation-interface.js +2 -0
- package/angular/esm2015/src/controls/wizard/wizard-builder.js +70 -1
- package/angular/esm2015/src/controls/wizard/wizard-navigation-information.js +56 -2
- package/angular/esm2015/src/controls/wizard/wizard.component.js +8 -2
- package/angular/esm2015/src/service/connectivity-enforcer.js +5 -2
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +656 -462
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
- package/angular/src/controls/accordion/index.d.ts +4 -0
- package/angular/src/controls/form/form-field/array/array-form-field.component.d.ts +2 -1
- package/angular/src/controls/index.d.ts +1 -0
- package/angular/src/controls/pivot/pivot.component.d.ts +2 -2
- package/angular/src/controls/settings/settings.component.d.ts +3 -0
- package/angular/src/controls/settings/settings.module.d.ts +3 -2
- package/angular/src/controls/wizard/models/index.d.ts +2 -0
- package/angular/src/controls/wizard/models/wizard-builder-interface.d.ts +8 -0
- package/angular/src/controls/wizard/models/wizard-navigation-interface.d.ts +4 -0
- package/angular/src/controls/wizard/wizard-builder.d.ts +36 -1
- package/angular/src/controls/wizard/wizard-navigation-information.d.ts +48 -5
- package/angular/src/controls/wizard/wizard.component.d.ts +2 -1
- package/core/azure/azure-constants.d.ts +8 -0
- package/core/azure/azure-constants.js +8 -0
- package/core/azure/azure-constants.js.map +1 -1
- package/core/azure/azure-manager.d.ts +1 -0
- package/core/azure/azure-manager.js +7 -1
- package/core/azure/azure-manager.js.map +1 -1
- package/core/base/environment.d.ts +3 -0
- package/core/base/environment.js.map +1 -1
- package/core/base/msft-sme.mock.js +3 -0
- package/core/base/msft-sme.mock.js.map +1 -1
- package/core/base/utilities.d.ts +0 -3
- package/core/base/utilities.js +0 -34
- package/core/base/utilities.js.map +1 -1
- package/core/data/resource-cache.d.ts +1 -1
- package/core/data/resource-cache.js +1 -1
- package/core/data/resource-cache.js.map +1 -1
- package/core/data/settings-manager.d.ts +3 -0
- package/core/data/settings-manager.js +14 -1
- package/core/data/settings-manager.js.map +1 -1
- package/core/dom/dom.d.ts +5 -0
- package/core/dom/dom.js +20 -0
- package/core/dom/dom.js.map +1 -1
- package/core/manifest/environment-modules.js +3 -0
- package/core/manifest/environment-modules.js.map +1 -1
- package/core/notification/client-notification-instance.d.ts +5 -2
- package/core/notification/client-notification-instance.js +9 -5
- package/core/notification/client-notification-instance.js.map +1 -1
- package/core/notification/client-notification.d.ts +4 -0
- package/core/notification/client-notification.js.map +1 -1
- package/core/notification/notification.d.ts +6 -1
- package/core/notification/notification.js +3 -1
- package/core/notification/notification.js.map +1 -1
- package/core/rpc/credssp/rpc-credssp-model.d.ts +4 -0
- package/core/rpc/credssp/rpc-credssp-model.js.map +1 -1
- package/core/rpc/dialog/rpc-dialog-client.js +11 -5
- package/core/rpc/dialog/rpc-dialog-client.js.map +1 -1
- package/core/rpc/rpc.d.ts +6 -6
- package/core/rpc/rpc.js +7 -7
- package/core/rpc/rpc.js.map +1 -1
- package/core/security/authorization-manager.js +1 -1
- package/core/security/authorization-manager.js.map +1 -1
- package/core/security/credssp-manager.d.ts +13 -6
- package/core/security/credssp-manager.js +37 -21
- package/core/security/credssp-manager.js.map +1 -1
- package/core/shared/cluster-inventory/cluster-inventory-cache.js +2 -1
- package/core/shared/cluster-inventory/cluster-inventory-cache.js.map +1 -1
- package/e2e/assets/strings/cs-CZ/strings.json +1 -1
- package/e2e/assets/strings/de-DE/strings.json +1 -1
- package/e2e/assets/strings/es-ES/strings.json +1 -1
- package/e2e/assets/strings/fr-FR/strings.json +1 -1
- package/e2e/assets/strings/hu-HU/strings.json +1 -1
- package/e2e/assets/strings/it-IT/strings.json +1 -1
- package/e2e/assets/strings/ja-JP/strings.json +1 -1
- package/e2e/assets/strings/ko-KR/strings.json +1 -1
- package/e2e/assets/strings/nl-NL/strings.json +1 -1
- package/e2e/assets/strings/pl-PL/strings.json +1 -1
- package/e2e/assets/strings/pt-BR/strings.json +1 -1
- package/e2e/assets/strings/pt-PT/strings.json +1 -1
- package/e2e/assets/strings/ru-RU/strings.json +1 -1
- package/e2e/assets/strings/strings.json +1 -1
- package/e2e/assets/strings/sv-SE/strings.json +1 -1
- package/e2e/assets/strings/tr-TR/strings.json +1 -1
- package/e2e/assets/strings/zh-CN/strings.json +1 -1
- package/e2e/assets/strings/zh-TW/strings.json +1 -1
- package/package.json +11 -4
- package/styles/css/main.css +1 -1
- package/tools/gulp-ps-cim/index.js +1 -1
- package/tools/gulp-ps-cim/index.js.map +1 -1
- package/angular/assets/strings/en-US/strings.json +0 -1
- package/core/assets/strings/en-US/strings.json +0 -1
- package/e2e/assets/strings/en-US/strings.json +0 -1
|
@@ -5334,10 +5334,10 @@
|
|
|
5334
5334
|
});
|
|
5335
5335
|
TooltipZoneDirective.prototype.onShortcut = function (event) {
|
|
5336
5336
|
if (event.keyCode === accessibilityManager.KeyCode.F1 && event.altKey) {
|
|
5337
|
-
event.stopImmediatePropagation();
|
|
5338
5337
|
if (this.tooltipDirective) {
|
|
5339
5338
|
if (!this.tooltipDirective.shown) {
|
|
5340
5339
|
this.tooltipDirective.show(true);
|
|
5340
|
+
event.stopImmediatePropagation();
|
|
5341
5341
|
}
|
|
5342
5342
|
else {
|
|
5343
5343
|
this.tooltipDirective.hide();
|
|
@@ -6019,6 +6019,260 @@
|
|
|
6019
6019
|
}], null, null);
|
|
6020
6020
|
})();
|
|
6021
6021
|
|
|
6022
|
+
var _c0$4 = ["*"];
|
|
6023
|
+
var _c1$1 = function (a0, a1) { return { "sme-icon-chevronDown": a0, "sme-icon-chevronRight": a1 }; };
|
|
6024
|
+
function AccordionPanelComponent_span_4_Template(rf, ctx) {
|
|
6025
|
+
if (rf & 1) {
|
|
6026
|
+
i0.ɵɵelement(0, "span", 6);
|
|
6027
|
+
}
|
|
6028
|
+
if (rf & 2) {
|
|
6029
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
6030
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$1, ctx_r1.opened, !ctx_r1.opened));
|
|
6031
|
+
}
|
|
6032
|
+
}
|
|
6033
|
+
function AccordionPanelComponent_div_8_Template(rf, ctx) {
|
|
6034
|
+
if (rf & 1) {
|
|
6035
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
6036
|
+
i0.ɵɵprojection(1, 1);
|
|
6037
|
+
i0.ɵɵelementEnd();
|
|
6038
|
+
}
|
|
6039
|
+
}
|
|
6040
|
+
var _c2 = [[["sme-panel-control"]], "*"];
|
|
6041
|
+
var _c3 = ["sme-panel-control", "*"];
|
|
6042
|
+
var PanelControlComponent = /** @class */ (function () {
|
|
6043
|
+
function PanelControlComponent() {
|
|
6044
|
+
}
|
|
6045
|
+
return PanelControlComponent;
|
|
6046
|
+
}());
|
|
6047
|
+
/** @nocollapse */ PanelControlComponent.ɵfac = function PanelControlComponent_Factory(t) { return new (t || PanelControlComponent)(); };
|
|
6048
|
+
/** @nocollapse */ PanelControlComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PanelControlComponent, selectors: [["sme-panel-control"]], ngContentSelectors: _c0$4, decls: 1, vars: 0, template: function PanelControlComponent_Template(rf, ctx) {
|
|
6049
|
+
if (rf & 1) {
|
|
6050
|
+
i0.ɵɵprojectionDef();
|
|
6051
|
+
i0.ɵɵprojection(0);
|
|
6052
|
+
}
|
|
6053
|
+
}, encapsulation: 2 });
|
|
6054
|
+
(function () {
|
|
6055
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelControlComponent, [{
|
|
6056
|
+
type: i0.Component,
|
|
6057
|
+
args: [{
|
|
6058
|
+
selector: 'sme-panel-control',
|
|
6059
|
+
template: '<ng-content></ng-content>'
|
|
6060
|
+
}]
|
|
6061
|
+
}], null, null);
|
|
6062
|
+
})();
|
|
6063
|
+
var AccordionPanelComponent = /** @class */ (function () {
|
|
6064
|
+
function AccordionPanelComponent() {
|
|
6065
|
+
this.isExpandable = true;
|
|
6066
|
+
this.toggled = new i0.EventEmitter();
|
|
6067
|
+
this.opened = true;
|
|
6068
|
+
this.canClose = this.isExpandable;
|
|
6069
|
+
}
|
|
6070
|
+
AccordionPanelComponent.prototype.onToggle = function () {
|
|
6071
|
+
if (this.isExpandable) {
|
|
6072
|
+
this.opened = !this.opened;
|
|
6073
|
+
this.toggled.emit(this);
|
|
6074
|
+
}
|
|
6075
|
+
};
|
|
6076
|
+
return AccordionPanelComponent;
|
|
6077
|
+
}());
|
|
6078
|
+
/** @nocollapse */ AccordionPanelComponent.ɵfac = function AccordionPanelComponent_Factory(t) { return new (t || AccordionPanelComponent)(); };
|
|
6079
|
+
/** @nocollapse */ AccordionPanelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionPanelComponent, selectors: [["sme-accordion-panel"]], inputs: { header: "header", opened: "opened", isExpandable: "isExpandable" }, outputs: { toggled: "toggled" }, ngContentSelectors: _c3, decls: 9, vars: 5, consts: [[1, "sme-accordion-panel"], [1, "sme-arrange-stack-h", "sme-panel-header"], [1, "sme-button", "sme-button-align-left", "sme-button-trigger", "sme-position-flex-auto", "sme-panel-expander", 3, "click"], ["accordionPanelButton", ""], ["class", "sme-position-flex-none sme-icon", 3, "ngClass", 4, "ngIf"], ["class", "sme-panel-body", 4, "ngIf"], [1, "sme-position-flex-none", "sme-icon", 3, "ngClass"], [1, "sme-panel-body"]], template: function AccordionPanelComponent_Template(rf, ctx) {
|
|
6080
|
+
if (rf & 1) {
|
|
6081
|
+
i0.ɵɵprojectionDef(_c2);
|
|
6082
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
6083
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
6084
|
+
i0.ɵɵelementStart(2, "div", 2, 3);
|
|
6085
|
+
i0.ɵɵlistener("click", function AccordionPanelComponent_Template_div_click_2_listener() { return ctx.onToggle(); });
|
|
6086
|
+
i0.ɵɵtemplate(4, AccordionPanelComponent_span_4_Template, 1, 4, "span", 4);
|
|
6087
|
+
i0.ɵɵelementStart(5, "span");
|
|
6088
|
+
i0.ɵɵtext(6);
|
|
6089
|
+
i0.ɵɵelementEnd();
|
|
6090
|
+
i0.ɵɵelementEnd();
|
|
6091
|
+
i0.ɵɵprojection(7);
|
|
6092
|
+
i0.ɵɵelementEnd();
|
|
6093
|
+
i0.ɵɵtemplate(8, AccordionPanelComponent_div_8_Template, 2, 0, "div", 5);
|
|
6094
|
+
i0.ɵɵelementEnd();
|
|
6095
|
+
}
|
|
6096
|
+
if (rf & 2) {
|
|
6097
|
+
i0.ɵɵadvance(2);
|
|
6098
|
+
i0.ɵɵclassProp("sme-focus-zone", ctx.canClose);
|
|
6099
|
+
i0.ɵɵadvance(2);
|
|
6100
|
+
i0.ɵɵproperty("ngIf", ctx.canClose);
|
|
6101
|
+
i0.ɵɵadvance(2);
|
|
6102
|
+
i0.ɵɵtextInterpolate(ctx.header);
|
|
6103
|
+
i0.ɵɵadvance(2);
|
|
6104
|
+
i0.ɵɵproperty("ngIf", ctx.opened);
|
|
6105
|
+
}
|
|
6106
|
+
}, directives: [i1$1.NgIf, i1$1.NgClass], encapsulation: 2 });
|
|
6107
|
+
(function () {
|
|
6108
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionPanelComponent, [{
|
|
6109
|
+
type: i0.Component,
|
|
6110
|
+
args: [{
|
|
6111
|
+
selector: 'sme-accordion-panel',
|
|
6112
|
+
templateUrl: './accordion-panel.component.html'
|
|
6113
|
+
}]
|
|
6114
|
+
}], function () { return []; }, { header: [{
|
|
6115
|
+
type: i0.Input
|
|
6116
|
+
}], opened: [{
|
|
6117
|
+
type: i0.Input
|
|
6118
|
+
}], isExpandable: [{
|
|
6119
|
+
type: i0.Input
|
|
6120
|
+
}], toggled: [{
|
|
6121
|
+
type: i0.Output
|
|
6122
|
+
}] });
|
|
6123
|
+
})();
|
|
6124
|
+
|
|
6125
|
+
var _c0$5 = ["*"];
|
|
6126
|
+
var AccordionComponent = /** @class */ (function (_super) {
|
|
6127
|
+
__extends(AccordionComponent, _super);
|
|
6128
|
+
function AccordionComponent(injector) {
|
|
6129
|
+
var _this = _super.call(this, injector) || this;
|
|
6130
|
+
_this.canOpenMultiple = true;
|
|
6131
|
+
_this.canCloseAll = true;
|
|
6132
|
+
_this.canCloseAny = false;
|
|
6133
|
+
return _this;
|
|
6134
|
+
}
|
|
6135
|
+
Object.defineProperty(AccordionComponent.prototype, "logSourceName", {
|
|
6136
|
+
/**
|
|
6137
|
+
* The source name to use for logging
|
|
6138
|
+
*/
|
|
6139
|
+
get: function () {
|
|
6140
|
+
return 'AccordionComponent';
|
|
6141
|
+
},
|
|
6142
|
+
enumerable: false,
|
|
6143
|
+
configurable: true
|
|
6144
|
+
});
|
|
6145
|
+
Object.defineProperty(AccordionComponent.prototype, "canCloseAny", {
|
|
6146
|
+
get: function () {
|
|
6147
|
+
return this._canCloseAny;
|
|
6148
|
+
},
|
|
6149
|
+
set: function (value) {
|
|
6150
|
+
var _this = this;
|
|
6151
|
+
this._canCloseAny = value;
|
|
6152
|
+
if (this.panels) {
|
|
6153
|
+
this.panels.forEach(function (p) { return p.canClose = _this._canCloseAny; });
|
|
6154
|
+
}
|
|
6155
|
+
},
|
|
6156
|
+
enumerable: false,
|
|
6157
|
+
configurable: true
|
|
6158
|
+
});
|
|
6159
|
+
AccordionComponent.prototype.ngAfterContentInit = function () {
|
|
6160
|
+
var _this = this;
|
|
6161
|
+
this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getToggleObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
|
|
6162
|
+
return _this.getToggleObservables(panels);
|
|
6163
|
+
}))).subscribe(function (panel) { return _this.onPanelToggled(panel); }));
|
|
6164
|
+
this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getAllPanelObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
|
|
6165
|
+
return _this.getAllPanelObservables(panels);
|
|
6166
|
+
}))).subscribe(function (panel) { return panel.canClose = _this.canCloseAny; }));
|
|
6167
|
+
};
|
|
6168
|
+
AccordionComponent.prototype.getToggleObservables = function (panels) {
|
|
6169
|
+
var observables = panels.toArray().map(function (panel) {
|
|
6170
|
+
return panel.toggled;
|
|
6171
|
+
});
|
|
6172
|
+
return rxjs.merge.apply(void 0, __spread(observables));
|
|
6173
|
+
};
|
|
6174
|
+
AccordionComponent.prototype.getAllPanelObservables = function (panels) {
|
|
6175
|
+
var observables = panels.toArray().map(function (panel) {
|
|
6176
|
+
return rxjs.of(panel);
|
|
6177
|
+
});
|
|
6178
|
+
return rxjs.merge.apply(void 0, __spread(observables));
|
|
6179
|
+
};
|
|
6180
|
+
AccordionComponent.prototype.onPanelToggled = function (panel) {
|
|
6181
|
+
if (panel.opened) {
|
|
6182
|
+
if (!this.canOpenMultiple) {
|
|
6183
|
+
this.closePanelsExcept(panel);
|
|
6184
|
+
}
|
|
6185
|
+
}
|
|
6186
|
+
else {
|
|
6187
|
+
if ((!this.canCloseAll && !this.panels.some(function (p) { return p.opened; })) || !this.canCloseAny) {
|
|
6188
|
+
panel.opened = true;
|
|
6189
|
+
}
|
|
6190
|
+
}
|
|
6191
|
+
};
|
|
6192
|
+
AccordionComponent.prototype.closePanelsExcept = function (panel) {
|
|
6193
|
+
this.panels.toArray().forEach(function (p) {
|
|
6194
|
+
if (p !== panel) {
|
|
6195
|
+
p.opened = false;
|
|
6196
|
+
}
|
|
6197
|
+
});
|
|
6198
|
+
};
|
|
6199
|
+
return AccordionComponent;
|
|
6200
|
+
}(CoreBaseComponent));
|
|
6201
|
+
/** @nocollapse */ AccordionComponent.ɵfac = function AccordionComponent_Factory(t) { return new (t || AccordionComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
6202
|
+
/** @nocollapse */ AccordionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionComponent, selectors: [["sme-accordion"]], contentQueries: function AccordionComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
6203
|
+
if (rf & 1) {
|
|
6204
|
+
i0.ɵɵcontentQuery(dirIndex, AccordionPanelComponent, 0);
|
|
6205
|
+
}
|
|
6206
|
+
if (rf & 2) {
|
|
6207
|
+
var _t = void 0;
|
|
6208
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
6209
|
+
}
|
|
6210
|
+
}, inputs: { canOpenMultiple: "canOpenMultiple", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$5, decls: 1, vars: 0, template: function AccordionComponent_Template(rf, ctx) {
|
|
6211
|
+
if (rf & 1) {
|
|
6212
|
+
i0.ɵɵprojectionDef();
|
|
6213
|
+
i0.ɵɵprojection(0);
|
|
6214
|
+
}
|
|
6215
|
+
}, encapsulation: 2 });
|
|
6216
|
+
(function () {
|
|
6217
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionComponent, [{
|
|
6218
|
+
type: i0.Component,
|
|
6219
|
+
args: [{
|
|
6220
|
+
selector: 'sme-accordion',
|
|
6221
|
+
templateUrl: './accordion.component.html'
|
|
6222
|
+
}]
|
|
6223
|
+
}], function () { return [{ type: i0.Injector }]; }, { panels: [{
|
|
6224
|
+
type: i0.ContentChildren,
|
|
6225
|
+
args: [AccordionPanelComponent]
|
|
6226
|
+
}], canOpenMultiple: [{
|
|
6227
|
+
type: i0.Input
|
|
6228
|
+
}], canCloseAll: [{
|
|
6229
|
+
type: i0.Input
|
|
6230
|
+
}], canCloseAny: [{
|
|
6231
|
+
type: i0.Input
|
|
6232
|
+
}] });
|
|
6233
|
+
})();
|
|
6234
|
+
|
|
6235
|
+
var AccordionModule = /** @class */ (function () {
|
|
6236
|
+
function AccordionModule() {
|
|
6237
|
+
}
|
|
6238
|
+
return AccordionModule;
|
|
6239
|
+
}());
|
|
6240
|
+
/** @nocollapse */ AccordionModule.ɵfac = function AccordionModule_Factory(t) { return new (t || AccordionModule)(); };
|
|
6241
|
+
/** @nocollapse */ AccordionModule.ɵmod = i0.ɵɵdefineNgModule({ type: AccordionModule });
|
|
6242
|
+
/** @nocollapse */ AccordionModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
6243
|
+
i1.RouterModule,
|
|
6244
|
+
i1$1.CommonModule
|
|
6245
|
+
]] });
|
|
6246
|
+
(function () {
|
|
6247
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AccordionModule, { declarations: [AccordionComponent,
|
|
6248
|
+
AccordionPanelComponent,
|
|
6249
|
+
PanelControlComponent], imports: [i1.RouterModule,
|
|
6250
|
+
i1$1.CommonModule], exports: [AccordionComponent,
|
|
6251
|
+
AccordionPanelComponent,
|
|
6252
|
+
PanelControlComponent] });
|
|
6253
|
+
})();
|
|
6254
|
+
(function () {
|
|
6255
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionModule, [{
|
|
6256
|
+
type: i0.NgModule,
|
|
6257
|
+
args: [{
|
|
6258
|
+
exports: [
|
|
6259
|
+
AccordionComponent,
|
|
6260
|
+
AccordionPanelComponent,
|
|
6261
|
+
PanelControlComponent
|
|
6262
|
+
],
|
|
6263
|
+
declarations: [
|
|
6264
|
+
AccordionComponent,
|
|
6265
|
+
AccordionPanelComponent,
|
|
6266
|
+
PanelControlComponent
|
|
6267
|
+
],
|
|
6268
|
+
imports: [
|
|
6269
|
+
i1.RouterModule,
|
|
6270
|
+
i1$1.CommonModule
|
|
6271
|
+
]
|
|
6272
|
+
}]
|
|
6273
|
+
}], null, null);
|
|
6274
|
+
})();
|
|
6275
|
+
|
|
6022
6276
|
/**
|
|
6023
6277
|
* Service for maintaining dropdown state.
|
|
6024
6278
|
* Only one dropdown can be opened at a time.
|
|
@@ -6207,7 +6461,8 @@
|
|
|
6207
6461
|
// if the esc key is pressed, close the popup and focus on the toggle element
|
|
6208
6462
|
if (event.keyCode === accessibilityManager.KeyCode.Escape) {
|
|
6209
6463
|
if (this.activeDropdown && this.activeDropdown.toggleElement) {
|
|
6210
|
-
var
|
|
6464
|
+
var docElement = this.activeDropdown.toggleElement.nativeElement;
|
|
6465
|
+
var nextElement = dom.Dom.getFirstFocusableDescendent(docElement) || dom.Dom.getNextFocusableElement(docElement);
|
|
6211
6466
|
if (nextElement) {
|
|
6212
6467
|
nextElement.focus();
|
|
6213
6468
|
}
|
|
@@ -6590,10 +6845,10 @@
|
|
|
6590
6845
|
}], null, { closeNestedHelper: [] });
|
|
6591
6846
|
})();
|
|
6592
6847
|
|
|
6593
|
-
var _c0$
|
|
6594
|
-
var _c1$
|
|
6595
|
-
var _c2 = [[["", 8, "sme-dropdown-toggle"]], [["", 8, "sme-dropdown-content"]]];
|
|
6596
|
-
var _c3 = function (a0, a1, a2, a3) { return { "sme-layout-hidden": a0, "sme-layout-inline-block": a1, "sme-arrange-overflow-auto-x": a2, "sme-arrange-overflow-auto-y": a3 }; };
|
|
6848
|
+
var _c0$6 = ["smeDropdownContent"];
|
|
6849
|
+
var _c1$2 = ["smeDropdownToggle"];
|
|
6850
|
+
var _c2$1 = [[["", 8, "sme-dropdown-toggle"]], [["", 8, "sme-dropdown-content"]]];
|
|
6851
|
+
var _c3$1 = function (a0, a1, a2, a3) { return { "sme-layout-hidden": a0, "sme-layout-inline-block": a1, "sme-arrange-overflow-auto-x": a2, "sme-arrange-overflow-auto-y": a3 }; };
|
|
6597
6852
|
var _c4 = [".sme-dropdown-toggle", ".sme-dropdown-content"];
|
|
6598
6853
|
/**
|
|
6599
6854
|
*
|
|
@@ -6790,8 +7045,8 @@
|
|
|
6790
7045
|
/** @nocollapse */ DropdownComponent.ɵfac = function DropdownComponent_Factory(t) { return new (t || DropdownComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DropdownService), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8)); };
|
|
6791
7046
|
/** @nocollapse */ DropdownComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DropdownComponent, selectors: [["sme-dropdown"]], viewQuery: function DropdownComponent_Query(rf, ctx) {
|
|
6792
7047
|
if (rf & 1) {
|
|
6793
|
-
i0.ɵɵviewQuery(_c0$
|
|
6794
|
-
i0.ɵɵviewQuery(_c1$
|
|
7048
|
+
i0.ɵɵviewQuery(_c0$6, 1);
|
|
7049
|
+
i0.ɵɵviewQuery(_c1$2, 3);
|
|
6795
7050
|
}
|
|
6796
7051
|
if (rf & 2) {
|
|
6797
7052
|
var _t = void 0;
|
|
@@ -6807,7 +7062,7 @@
|
|
|
6807
7062
|
}
|
|
6808
7063
|
}, inputs: { autoToggle: "autoToggle", autoWidth: "autoWidth", calculateHeight: "calculateHeight", displayToSide: "displayToSide", isContextMenu: "isContextMenu", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth", disabled: "disabled" }, outputs: { onToggled: "onToggled", toggled: "toggled" }, ngContentSelectors: _c4, decls: 6, vars: 6, consts: [[1, "sme-dropdown-toggle-container"], ["smeDropdownToggle", ""], [1, "sme-layout-dropdown", "sme-layout-fixed", "sme-position-below", "sme-scheme-dropdown", "sme-layer-nav", "sme-shadow-dropdown", 3, "ngClass"], ["smeDropdownContent", ""]], template: function DropdownComponent_Template(rf, ctx) {
|
|
6809
7064
|
if (rf & 1) {
|
|
6810
|
-
i0.ɵɵprojectionDef(_c2);
|
|
7065
|
+
i0.ɵɵprojectionDef(_c2$1);
|
|
6811
7066
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
6812
7067
|
i0.ɵɵprojection(2);
|
|
6813
7068
|
i0.ɵɵelementEnd();
|
|
@@ -6817,7 +7072,7 @@
|
|
|
6817
7072
|
}
|
|
6818
7073
|
if (rf & 2) {
|
|
6819
7074
|
i0.ɵɵadvance(3);
|
|
6820
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(1, _c3, !ctx.isOpen, ctx.isOpen, ctx.overflowX, ctx.overflowY));
|
|
7075
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(1, _c3$1, !ctx.isOpen, ctx.isOpen, ctx.overflowX, ctx.overflowY));
|
|
6821
7076
|
}
|
|
6822
7077
|
}, directives: [i1$1.NgClass], encapsulation: 2 });
|
|
6823
7078
|
(function () {
|
|
@@ -6900,7 +7155,7 @@
|
|
|
6900
7155
|
}], null, null);
|
|
6901
7156
|
})();
|
|
6902
7157
|
|
|
6903
|
-
var _c0$
|
|
7158
|
+
var _c0$7 = ["action"];
|
|
6904
7159
|
// tslint:disable-next-line: directive-class-suffix
|
|
6905
7160
|
var ActionContainerComponent = /** @class */ (function (_super) {
|
|
6906
7161
|
__extends(ActionContainerComponent, _super);
|
|
@@ -7069,7 +7324,7 @@
|
|
|
7069
7324
|
/** @nocollapse */ ActionContainerComponent.ɵfac = function ActionContainerComponent_Factory(t) { return new (t || ActionContainerComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
7070
7325
|
/** @nocollapse */ ActionContainerComponent.ɵdir = i0.ɵɵdefineDirective({ type: ActionContainerComponent, contentQueries: function ActionContainerComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
7071
7326
|
if (rf & 1) {
|
|
7072
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
7327
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$7, 0);
|
|
7073
7328
|
}
|
|
7074
7329
|
if (rf & 2) {
|
|
7075
7330
|
var _t = void 0;
|
|
@@ -7101,9 +7356,9 @@
|
|
|
7101
7356
|
}] });
|
|
7102
7357
|
})();
|
|
7103
7358
|
|
|
7104
|
-
var _c0$
|
|
7105
|
-
var _c1$
|
|
7106
|
-
var _c2$
|
|
7359
|
+
var _c0$8 = ["actionBarElement"];
|
|
7360
|
+
var _c1$3 = ["dropDownButton"];
|
|
7361
|
+
var _c2$2 = ["dropDown"];
|
|
7107
7362
|
function ActionBarComponent_sme_dynamic_action_item_2_Template(rf, ctx) {
|
|
7108
7363
|
if (rf & 1) {
|
|
7109
7364
|
var _r6_1 = i0.ɵɵgetCurrentView();
|
|
@@ -7118,7 +7373,7 @@
|
|
|
7118
7373
|
i0.ɵɵproperty("item", item_r4);
|
|
7119
7374
|
}
|
|
7120
7375
|
}
|
|
7121
|
-
var _c3$
|
|
7376
|
+
var _c3$2 = ["*"];
|
|
7122
7377
|
/**
|
|
7123
7378
|
*
|
|
7124
7379
|
* @smeDoc {@label Actions @id sme-actions}
|
|
@@ -7487,9 +7742,9 @@
|
|
|
7487
7742
|
/** @nocollapse */ ActionBarComponent.ɵfac = function ActionBarComponent_Factory(t) { return new (t || ActionBarComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 8), i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
7488
7743
|
/** @nocollapse */ ActionBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionBarComponent, selectors: [["sme-action-bar"]], viewQuery: function ActionBarComponent_Query(rf, ctx) {
|
|
7489
7744
|
if (rf & 1) {
|
|
7490
|
-
i0.ɵɵviewQuery(_c0$
|
|
7491
|
-
i0.ɵɵviewQuery(_c1$
|
|
7492
|
-
i0.ɵɵviewQuery(_c2$
|
|
7745
|
+
i0.ɵɵviewQuery(_c0$8, 1);
|
|
7746
|
+
i0.ɵɵviewQuery(_c1$3, 1);
|
|
7747
|
+
i0.ɵɵviewQuery(_c2$2, 1);
|
|
7493
7748
|
}
|
|
7494
7749
|
if (rf & 2) {
|
|
7495
7750
|
var _t = void 0;
|
|
@@ -7501,7 +7756,7 @@
|
|
|
7501
7756
|
if (rf & 1) {
|
|
7502
7757
|
i0.ɵɵlistener("focusin", function ActionBarComponent_focusin_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("focusout", function ActionBarComponent_focusout_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("keydown", function ActionBarComponent_keydown_HostBindingHandler($event) { return ctx.onToggleKeydown($event); })("mouseenter", function ActionBarComponent_mouseenter_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("mouseleave", function ActionBarComponent_mouseleave_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("resize", function ActionBarComponent_resize_HostBindingHandler() { return ctx.onResize(); }, false, i0.ɵɵresolveWindow);
|
|
7503
7758
|
}
|
|
7504
|
-
}, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$
|
|
7759
|
+
}, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars: 14, consts: [["role", "menubar", 1, "sme-position-flex-none", "sme-arrange-stack-h"], ["actionBarElement", ""], ["class", "sme-arrange-stack-h sme-arrange-stack-centered sme-arrange-stack-inline", 3, "item", "sme-action-bar-item-no-padding-v", "itemChanged", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-position-flex-none"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-more", 3, "title"], [1, "sme-screen-reader"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions", "target", "targetChange", "error", "executed"], [1, "sme-arrange-stack-h", "sme-arrange-stack-centered", "sme-arrange-stack-inline", 3, "item", "itemChanged"]], template: function ActionBarComponent_Template(rf, ctx) {
|
|
7505
7760
|
if (rf & 1) {
|
|
7506
7761
|
i0.ɵɵprojectionDef();
|
|
7507
7762
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
@@ -8339,8 +8594,8 @@
|
|
|
8339
8594
|
}] });
|
|
8340
8595
|
})();
|
|
8341
8596
|
|
|
8342
|
-
var _c0$
|
|
8343
|
-
var _c1$
|
|
8597
|
+
var _c0$9 = ["dropDown"];
|
|
8598
|
+
var _c1$4 = ["dropDownButton"];
|
|
8344
8599
|
function ActionDropdownRendererComponent_span_7_Template(rf, ctx) {
|
|
8345
8600
|
if (rf & 1) {
|
|
8346
8601
|
i0.ɵɵelement(0, "span", 8);
|
|
@@ -8351,7 +8606,7 @@
|
|
|
8351
8606
|
i0.ɵɵelement(0, "span", 9);
|
|
8352
8607
|
}
|
|
8353
8608
|
}
|
|
8354
|
-
var _c2$
|
|
8609
|
+
var _c2$3 = ["action"];
|
|
8355
8610
|
var ActionDropdown = /** @class */ (function (_super) {
|
|
8356
8611
|
__extends(ActionDropdown, _super);
|
|
8357
8612
|
/**
|
|
@@ -8443,8 +8698,8 @@
|
|
|
8443
8698
|
/** @nocollapse */ ActionDropdownRendererComponent.ɵfac = function ActionDropdownRendererComponent_Factory(t) { return new (t || ActionDropdownRendererComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
8444
8699
|
/** @nocollapse */ ActionDropdownRendererComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionDropdownRendererComponent, selectors: [["sme-action-dropdown-renderer"]], viewQuery: function ActionDropdownRendererComponent_Query(rf, ctx) {
|
|
8445
8700
|
if (rf & 1) {
|
|
8446
|
-
i0.ɵɵviewQuery(_c0$
|
|
8447
|
-
i0.ɵɵviewQuery(_c1$
|
|
8701
|
+
i0.ɵɵviewQuery(_c0$9, 1);
|
|
8702
|
+
i0.ɵɵviewQuery(_c1$4, 1);
|
|
8448
8703
|
}
|
|
8449
8704
|
if (rf & 2) {
|
|
8450
8705
|
var _t = void 0;
|
|
@@ -8573,7 +8828,7 @@
|
|
|
8573
8828
|
/** @nocollapse */ ActionDropdownComponent.ɵfac = function ActionDropdownComponent_Factory(t) { return new (t || ActionDropdownComponent)(i0.ɵɵdirectiveInject(ActionBarComponent)); };
|
|
8574
8829
|
/** @nocollapse */ ActionDropdownComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionDropdownComponent, selectors: [["sme-action-dropdown"]], contentQueries: function ActionDropdownComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
8575
8830
|
if (rf & 1) {
|
|
8576
|
-
i0.ɵɵcontentQuery(dirIndex, _c2$
|
|
8831
|
+
i0.ɵɵcontentQuery(dirIndex, _c2$3, 0);
|
|
8577
8832
|
}
|
|
8578
8833
|
if (rf & 2) {
|
|
8579
8834
|
var _t = void 0;
|
|
@@ -8581,7 +8836,7 @@
|
|
|
8581
8836
|
}
|
|
8582
8837
|
}, viewQuery: function ActionDropdownComponent_Query(rf, ctx) {
|
|
8583
8838
|
if (rf & 1) {
|
|
8584
|
-
i0.ɵɵviewQuery(_c0$
|
|
8839
|
+
i0.ɵɵviewQuery(_c0$9, 1);
|
|
8585
8840
|
}
|
|
8586
8841
|
if (rf & 2) {
|
|
8587
8842
|
var _t = void 0;
|
|
@@ -8739,7 +8994,7 @@
|
|
|
8739
8994
|
}], function () { return [{ type: ActionBarComponent }]; }, null);
|
|
8740
8995
|
})();
|
|
8741
8996
|
|
|
8742
|
-
var _c0$
|
|
8997
|
+
var _c0$a = ["container"];
|
|
8743
8998
|
// tslint:disable-next-line: directive-class-suffix
|
|
8744
8999
|
var DynamicComponentBase = /** @class */ (function () {
|
|
8745
9000
|
function DynamicComponentBase(componentFactoryResolver) {
|
|
@@ -8769,7 +9024,7 @@
|
|
|
8769
9024
|
/** @nocollapse */ DynamicComponentBase.ɵfac = function DynamicComponentBase_Factory(t) { return new (t || DynamicComponentBase)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
|
|
8770
9025
|
/** @nocollapse */ DynamicComponentBase.ɵdir = i0.ɵɵdefineDirective({ type: DynamicComponentBase, viewQuery: function DynamicComponentBase_Query(rf, ctx) {
|
|
8771
9026
|
if (rf & 1) {
|
|
8772
|
-
i0.ɵɵviewQuery(_c0$
|
|
9027
|
+
i0.ɵɵviewQuery(_c0$a, 3, i0.ViewContainerRef);
|
|
8773
9028
|
}
|
|
8774
9029
|
if (rf & 2) {
|
|
8775
9030
|
var _t = void 0;
|
|
@@ -8877,7 +9132,7 @@
|
|
|
8877
9132
|
}], function () { return [{ type: ExtensionBrokerService }]; }, null);
|
|
8878
9133
|
})();
|
|
8879
9134
|
|
|
8880
|
-
var _c0$
|
|
9135
|
+
var _c0$b = ["type", "tags"];
|
|
8881
9136
|
var TagsActionButtonComponent = /** @class */ (function (_super) {
|
|
8882
9137
|
__extends(TagsActionButtonComponent, _super);
|
|
8883
9138
|
/**
|
|
@@ -8918,7 +9173,7 @@
|
|
|
8918
9173
|
return TagsActionButtonComponent;
|
|
8919
9174
|
}(ActionButtonAsyncComponent));
|
|
8920
9175
|
/** @nocollapse */ TagsActionButtonComponent.ɵfac = function TagsActionButtonComponent_Factory(t) { return new (t || TagsActionButtonComponent)(i0.ɵɵdirectiveInject(ActionBarComponent), i0.ɵɵdirectiveInject(TagService)); };
|
|
8921
|
-
/** @nocollapse */ TagsActionButtonComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsActionButtonComponent, selectors: [["sme-action-button-async", "type", "tags"]], inputs: { componentId: "componentId", suggestions: "suggestions", target: "target", enabled: "enabled" }, outputs: { execute: "execute" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
9176
|
+
/** @nocollapse */ TagsActionButtonComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsActionButtonComponent, selectors: [["sme-action-button-async", "type", "tags"]], inputs: { componentId: "componentId", suggestions: "suggestions", target: "target", enabled: "enabled" }, outputs: { execute: "execute" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$b, decls: 0, vars: 0, template: function TagsActionButtonComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
8922
9177
|
(function () {
|
|
8923
9178
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TagsActionButtonComponent, [{
|
|
8924
9179
|
type: i0.Component,
|
|
@@ -9028,260 +9283,6 @@
|
|
|
9028
9283
|
i0.ɵɵsetComponentScope(ActionMenuComponent, [i1$1.NgForOf, DynamicActionItemComponent], [FilterPipe]);
|
|
9029
9284
|
i0.ɵɵsetComponentScope(ActionDropdownRendererComponent, [DropdownComponent, DisabledDirective, i1$1.NgClass, i1$1.NgIf, ActionMenuComponent], []);
|
|
9030
9285
|
|
|
9031
|
-
var _c0$a = ["*"];
|
|
9032
|
-
var _c1$4 = function (a0, a1) { return { "sme-icon-chevronDown": a0, "sme-icon-chevronRight": a1 }; };
|
|
9033
|
-
function AccordionPanelComponent_span_4_Template(rf, ctx) {
|
|
9034
|
-
if (rf & 1) {
|
|
9035
|
-
i0.ɵɵelement(0, "span", 6);
|
|
9036
|
-
}
|
|
9037
|
-
if (rf & 2) {
|
|
9038
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
9039
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$4, ctx_r1.opened, !ctx_r1.opened));
|
|
9040
|
-
}
|
|
9041
|
-
}
|
|
9042
|
-
function AccordionPanelComponent_div_8_Template(rf, ctx) {
|
|
9043
|
-
if (rf & 1) {
|
|
9044
|
-
i0.ɵɵelementStart(0, "div", 7);
|
|
9045
|
-
i0.ɵɵprojection(1, 1);
|
|
9046
|
-
i0.ɵɵelementEnd();
|
|
9047
|
-
}
|
|
9048
|
-
}
|
|
9049
|
-
var _c2$3 = [[["sme-panel-control"]], "*"];
|
|
9050
|
-
var _c3$2 = ["sme-panel-control", "*"];
|
|
9051
|
-
var PanelControlComponent = /** @class */ (function () {
|
|
9052
|
-
function PanelControlComponent() {
|
|
9053
|
-
}
|
|
9054
|
-
return PanelControlComponent;
|
|
9055
|
-
}());
|
|
9056
|
-
/** @nocollapse */ PanelControlComponent.ɵfac = function PanelControlComponent_Factory(t) { return new (t || PanelControlComponent)(); };
|
|
9057
|
-
/** @nocollapse */ PanelControlComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PanelControlComponent, selectors: [["sme-panel-control"]], ngContentSelectors: _c0$a, decls: 1, vars: 0, template: function PanelControlComponent_Template(rf, ctx) {
|
|
9058
|
-
if (rf & 1) {
|
|
9059
|
-
i0.ɵɵprojectionDef();
|
|
9060
|
-
i0.ɵɵprojection(0);
|
|
9061
|
-
}
|
|
9062
|
-
}, encapsulation: 2 });
|
|
9063
|
-
(function () {
|
|
9064
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelControlComponent, [{
|
|
9065
|
-
type: i0.Component,
|
|
9066
|
-
args: [{
|
|
9067
|
-
selector: 'sme-panel-control',
|
|
9068
|
-
template: '<ng-content></ng-content>'
|
|
9069
|
-
}]
|
|
9070
|
-
}], null, null);
|
|
9071
|
-
})();
|
|
9072
|
-
var AccordionPanelComponent = /** @class */ (function () {
|
|
9073
|
-
function AccordionPanelComponent() {
|
|
9074
|
-
this.isExpandable = true;
|
|
9075
|
-
this.toggled = new i0.EventEmitter();
|
|
9076
|
-
this.opened = true;
|
|
9077
|
-
this.canClose = this.isExpandable;
|
|
9078
|
-
}
|
|
9079
|
-
AccordionPanelComponent.prototype.onToggle = function () {
|
|
9080
|
-
if (this.isExpandable) {
|
|
9081
|
-
this.opened = !this.opened;
|
|
9082
|
-
this.toggled.emit(this);
|
|
9083
|
-
}
|
|
9084
|
-
};
|
|
9085
|
-
return AccordionPanelComponent;
|
|
9086
|
-
}());
|
|
9087
|
-
/** @nocollapse */ AccordionPanelComponent.ɵfac = function AccordionPanelComponent_Factory(t) { return new (t || AccordionPanelComponent)(); };
|
|
9088
|
-
/** @nocollapse */ AccordionPanelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionPanelComponent, selectors: [["sme-accordion-panel"]], inputs: { header: "header", opened: "opened", isExpandable: "isExpandable" }, outputs: { toggled: "toggled" }, ngContentSelectors: _c3$2, decls: 9, vars: 5, consts: [[1, "sme-accordion-panel"], [1, "sme-arrange-stack-h", "sme-panel-header"], [1, "sme-button", "sme-button-align-left", "sme-button-trigger", "sme-position-flex-auto", "sme-panel-expander", 3, "click"], ["accordionPanelButton", ""], ["class", "sme-position-flex-none sme-icon", 3, "ngClass", 4, "ngIf"], ["class", "sme-panel-body", 4, "ngIf"], [1, "sme-position-flex-none", "sme-icon", 3, "ngClass"], [1, "sme-panel-body"]], template: function AccordionPanelComponent_Template(rf, ctx) {
|
|
9089
|
-
if (rf & 1) {
|
|
9090
|
-
i0.ɵɵprojectionDef(_c2$3);
|
|
9091
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
9092
|
-
i0.ɵɵelementStart(1, "div", 1);
|
|
9093
|
-
i0.ɵɵelementStart(2, "div", 2, 3);
|
|
9094
|
-
i0.ɵɵlistener("click", function AccordionPanelComponent_Template_div_click_2_listener() { return ctx.onToggle(); });
|
|
9095
|
-
i0.ɵɵtemplate(4, AccordionPanelComponent_span_4_Template, 1, 4, "span", 4);
|
|
9096
|
-
i0.ɵɵelementStart(5, "span");
|
|
9097
|
-
i0.ɵɵtext(6);
|
|
9098
|
-
i0.ɵɵelementEnd();
|
|
9099
|
-
i0.ɵɵelementEnd();
|
|
9100
|
-
i0.ɵɵprojection(7);
|
|
9101
|
-
i0.ɵɵelementEnd();
|
|
9102
|
-
i0.ɵɵtemplate(8, AccordionPanelComponent_div_8_Template, 2, 0, "div", 5);
|
|
9103
|
-
i0.ɵɵelementEnd();
|
|
9104
|
-
}
|
|
9105
|
-
if (rf & 2) {
|
|
9106
|
-
i0.ɵɵadvance(2);
|
|
9107
|
-
i0.ɵɵclassProp("sme-focus-zone", ctx.canClose);
|
|
9108
|
-
i0.ɵɵadvance(2);
|
|
9109
|
-
i0.ɵɵproperty("ngIf", ctx.canClose);
|
|
9110
|
-
i0.ɵɵadvance(2);
|
|
9111
|
-
i0.ɵɵtextInterpolate(ctx.header);
|
|
9112
|
-
i0.ɵɵadvance(2);
|
|
9113
|
-
i0.ɵɵproperty("ngIf", ctx.opened);
|
|
9114
|
-
}
|
|
9115
|
-
}, directives: [i1$1.NgIf, i1$1.NgClass], encapsulation: 2 });
|
|
9116
|
-
(function () {
|
|
9117
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionPanelComponent, [{
|
|
9118
|
-
type: i0.Component,
|
|
9119
|
-
args: [{
|
|
9120
|
-
selector: 'sme-accordion-panel',
|
|
9121
|
-
templateUrl: './accordion-panel.component.html'
|
|
9122
|
-
}]
|
|
9123
|
-
}], function () { return []; }, { header: [{
|
|
9124
|
-
type: i0.Input
|
|
9125
|
-
}], opened: [{
|
|
9126
|
-
type: i0.Input
|
|
9127
|
-
}], isExpandable: [{
|
|
9128
|
-
type: i0.Input
|
|
9129
|
-
}], toggled: [{
|
|
9130
|
-
type: i0.Output
|
|
9131
|
-
}] });
|
|
9132
|
-
})();
|
|
9133
|
-
|
|
9134
|
-
var _c0$b = ["*"];
|
|
9135
|
-
var AccordionComponent = /** @class */ (function (_super) {
|
|
9136
|
-
__extends(AccordionComponent, _super);
|
|
9137
|
-
function AccordionComponent(injector) {
|
|
9138
|
-
var _this = _super.call(this, injector) || this;
|
|
9139
|
-
_this.canOpenMultiple = true;
|
|
9140
|
-
_this.canCloseAll = true;
|
|
9141
|
-
_this.canCloseAny = false;
|
|
9142
|
-
return _this;
|
|
9143
|
-
}
|
|
9144
|
-
Object.defineProperty(AccordionComponent.prototype, "logSourceName", {
|
|
9145
|
-
/**
|
|
9146
|
-
* The source name to use for logging
|
|
9147
|
-
*/
|
|
9148
|
-
get: function () {
|
|
9149
|
-
return 'AccordionComponent';
|
|
9150
|
-
},
|
|
9151
|
-
enumerable: false,
|
|
9152
|
-
configurable: true
|
|
9153
|
-
});
|
|
9154
|
-
Object.defineProperty(AccordionComponent.prototype, "canCloseAny", {
|
|
9155
|
-
get: function () {
|
|
9156
|
-
return this._canCloseAny;
|
|
9157
|
-
},
|
|
9158
|
-
set: function (value) {
|
|
9159
|
-
var _this = this;
|
|
9160
|
-
this._canCloseAny = value;
|
|
9161
|
-
if (this.panels) {
|
|
9162
|
-
this.panels.forEach(function (p) { return p.canClose = _this._canCloseAny; });
|
|
9163
|
-
}
|
|
9164
|
-
},
|
|
9165
|
-
enumerable: false,
|
|
9166
|
-
configurable: true
|
|
9167
|
-
});
|
|
9168
|
-
AccordionComponent.prototype.ngAfterContentInit = function () {
|
|
9169
|
-
var _this = this;
|
|
9170
|
-
this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getToggleObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
|
|
9171
|
-
return _this.getToggleObservables(panels);
|
|
9172
|
-
}))).subscribe(function (panel) { return _this.onPanelToggled(panel); }));
|
|
9173
|
-
this.subscriptions.push(rxjs.merge(rxjs.of(null).pipe(operators.mergeMap(function () { return _this.getAllPanelObservables(_this.panels); })), this.panels.changes.pipe(operators.mergeMap(function (panels) {
|
|
9174
|
-
return _this.getAllPanelObservables(panels);
|
|
9175
|
-
}))).subscribe(function (panel) { return panel.canClose = _this.canCloseAny; }));
|
|
9176
|
-
};
|
|
9177
|
-
AccordionComponent.prototype.getToggleObservables = function (panels) {
|
|
9178
|
-
var observables = panels.toArray().map(function (panel) {
|
|
9179
|
-
return panel.toggled;
|
|
9180
|
-
});
|
|
9181
|
-
return rxjs.merge.apply(void 0, __spread(observables));
|
|
9182
|
-
};
|
|
9183
|
-
AccordionComponent.prototype.getAllPanelObservables = function (panels) {
|
|
9184
|
-
var observables = panels.toArray().map(function (panel) {
|
|
9185
|
-
return rxjs.of(panel);
|
|
9186
|
-
});
|
|
9187
|
-
return rxjs.merge.apply(void 0, __spread(observables));
|
|
9188
|
-
};
|
|
9189
|
-
AccordionComponent.prototype.onPanelToggled = function (panel) {
|
|
9190
|
-
if (panel.opened) {
|
|
9191
|
-
if (!this.canOpenMultiple) {
|
|
9192
|
-
this.closePanelsExcept(panel);
|
|
9193
|
-
}
|
|
9194
|
-
}
|
|
9195
|
-
else {
|
|
9196
|
-
if ((!this.canCloseAll && !this.panels.some(function (p) { return p.opened; })) || !this.canCloseAny) {
|
|
9197
|
-
panel.opened = true;
|
|
9198
|
-
}
|
|
9199
|
-
}
|
|
9200
|
-
};
|
|
9201
|
-
AccordionComponent.prototype.closePanelsExcept = function (panel) {
|
|
9202
|
-
this.panels.toArray().forEach(function (p) {
|
|
9203
|
-
if (p !== panel) {
|
|
9204
|
-
p.opened = false;
|
|
9205
|
-
}
|
|
9206
|
-
});
|
|
9207
|
-
};
|
|
9208
|
-
return AccordionComponent;
|
|
9209
|
-
}(CoreBaseComponent));
|
|
9210
|
-
/** @nocollapse */ AccordionComponent.ɵfac = function AccordionComponent_Factory(t) { return new (t || AccordionComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
9211
|
-
/** @nocollapse */ AccordionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AccordionComponent, selectors: [["sme-accordion"]], contentQueries: function AccordionComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
9212
|
-
if (rf & 1) {
|
|
9213
|
-
i0.ɵɵcontentQuery(dirIndex, AccordionPanelComponent, 0);
|
|
9214
|
-
}
|
|
9215
|
-
if (rf & 2) {
|
|
9216
|
-
var _t = void 0;
|
|
9217
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
9218
|
-
}
|
|
9219
|
-
}, inputs: { canOpenMultiple: "canOpenMultiple", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 1, vars: 0, template: function AccordionComponent_Template(rf, ctx) {
|
|
9220
|
-
if (rf & 1) {
|
|
9221
|
-
i0.ɵɵprojectionDef();
|
|
9222
|
-
i0.ɵɵprojection(0);
|
|
9223
|
-
}
|
|
9224
|
-
}, encapsulation: 2 });
|
|
9225
|
-
(function () {
|
|
9226
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionComponent, [{
|
|
9227
|
-
type: i0.Component,
|
|
9228
|
-
args: [{
|
|
9229
|
-
selector: 'sme-accordion',
|
|
9230
|
-
templateUrl: './accordion.component.html'
|
|
9231
|
-
}]
|
|
9232
|
-
}], function () { return [{ type: i0.Injector }]; }, { panels: [{
|
|
9233
|
-
type: i0.ContentChildren,
|
|
9234
|
-
args: [AccordionPanelComponent]
|
|
9235
|
-
}], canOpenMultiple: [{
|
|
9236
|
-
type: i0.Input
|
|
9237
|
-
}], canCloseAll: [{
|
|
9238
|
-
type: i0.Input
|
|
9239
|
-
}], canCloseAny: [{
|
|
9240
|
-
type: i0.Input
|
|
9241
|
-
}] });
|
|
9242
|
-
})();
|
|
9243
|
-
|
|
9244
|
-
var AccordionModule = /** @class */ (function () {
|
|
9245
|
-
function AccordionModule() {
|
|
9246
|
-
}
|
|
9247
|
-
return AccordionModule;
|
|
9248
|
-
}());
|
|
9249
|
-
/** @nocollapse */ AccordionModule.ɵfac = function AccordionModule_Factory(t) { return new (t || AccordionModule)(); };
|
|
9250
|
-
/** @nocollapse */ AccordionModule.ɵmod = i0.ɵɵdefineNgModule({ type: AccordionModule });
|
|
9251
|
-
/** @nocollapse */ AccordionModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
9252
|
-
i1.RouterModule,
|
|
9253
|
-
i1$1.CommonModule
|
|
9254
|
-
]] });
|
|
9255
|
-
(function () {
|
|
9256
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AccordionModule, { declarations: [AccordionComponent,
|
|
9257
|
-
AccordionPanelComponent,
|
|
9258
|
-
PanelControlComponent], imports: [i1.RouterModule,
|
|
9259
|
-
i1$1.CommonModule], exports: [AccordionComponent,
|
|
9260
|
-
AccordionPanelComponent,
|
|
9261
|
-
PanelControlComponent] });
|
|
9262
|
-
})();
|
|
9263
|
-
(function () {
|
|
9264
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionModule, [{
|
|
9265
|
-
type: i0.NgModule,
|
|
9266
|
-
args: [{
|
|
9267
|
-
exports: [
|
|
9268
|
-
AccordionComponent,
|
|
9269
|
-
AccordionPanelComponent,
|
|
9270
|
-
PanelControlComponent
|
|
9271
|
-
],
|
|
9272
|
-
declarations: [
|
|
9273
|
-
AccordionComponent,
|
|
9274
|
-
AccordionPanelComponent,
|
|
9275
|
-
PanelControlComponent
|
|
9276
|
-
],
|
|
9277
|
-
imports: [
|
|
9278
|
-
i1.RouterModule,
|
|
9279
|
-
i1$1.CommonModule
|
|
9280
|
-
]
|
|
9281
|
-
}]
|
|
9282
|
-
}], null, null);
|
|
9283
|
-
})();
|
|
9284
|
-
|
|
9285
9286
|
var _c0$c = ["*"];
|
|
9286
9287
|
var DropZoneComponent = /** @class */ (function (_super) {
|
|
9287
9288
|
__extends(DropZoneComponent, _super);
|
|
@@ -11212,7 +11213,8 @@
|
|
|
11212
11213
|
* Indicates that this alert is hidden
|
|
11213
11214
|
*/
|
|
11214
11215
|
get: function () {
|
|
11215
|
-
|
|
11216
|
+
var _a;
|
|
11217
|
+
return !!((_a = this.alert) === null || _a === void 0 ? void 0 : _a.hidden);
|
|
11216
11218
|
},
|
|
11217
11219
|
enumerable: false,
|
|
11218
11220
|
configurable: true
|
|
@@ -12167,7 +12169,7 @@
|
|
|
12167
12169
|
i0.ɵɵproperty("level", ctx_r0.dialogLevel)("showBackdrop", ctx_r0.showBackdrop)("allowBackgroundInteraction", ctx_r0.allowBackgroundInteraction);
|
|
12168
12170
|
i0.ɵɵadvance(1);
|
|
12169
12171
|
i0.ɵɵproperty("ngClass", ctx_r0.dialogClasses);
|
|
12170
|
-
i0.ɵɵattribute("role", ctx_r0.dialogRole)("aria-hidden", !ctx_r0.visible)("aria-labelledby", ctx_r0.ariaLabel ? ctx_r0.idBag.ariaLabelSpan :
|
|
12172
|
+
i0.ɵɵattribute("role", ctx_r0.dialogRole)("aria-hidden", !ctx_r0.visible)("aria-labelledby", ctx_r0.ariaLabel ? ctx_r0.idBag.ariaLabelSpan : "sme-dialog-title")("aria-describedby", ctx_r0.ariaDescription ? ctx_r0.idBag.ariaDescriptionSpan : "sme-dialog-desc");
|
|
12171
12173
|
i0.ɵɵadvance(1);
|
|
12172
12174
|
i0.ɵɵproperty("ngIf", ctx_r0.closeButton);
|
|
12173
12175
|
i0.ɵɵadvance(7);
|
|
@@ -12405,9 +12407,15 @@
|
|
|
12405
12407
|
*/
|
|
12406
12408
|
DialogComponent.prototype.autoFocus = function () {
|
|
12407
12409
|
this.doAutoFocus = false;
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12410
|
+
if (this.elementRef.nativeElement) {
|
|
12411
|
+
// If the dialog has a loading wheel, focus first goes to the loading wheel then gets lost.
|
|
12412
|
+
// TO avoid this, we get the parent element or native element of the dialog, then get the first
|
|
12413
|
+
// focusable element in that element
|
|
12414
|
+
var element = this.elementRef.nativeElement.parentElement || this.elementRef.nativeElement;
|
|
12415
|
+
var firstFocusable = dom.Dom.getFirstFocusableDescendent(element);
|
|
12416
|
+
if (firstFocusable) {
|
|
12417
|
+
firstFocusable.focus();
|
|
12418
|
+
}
|
|
12411
12419
|
}
|
|
12412
12420
|
};
|
|
12413
12421
|
/**
|
|
@@ -12912,19 +12920,12 @@
|
|
|
12912
12920
|
_this.resumeFocus(id, 100);
|
|
12913
12921
|
}
|
|
12914
12922
|
else {
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
if (nextZoneElement) {
|
|
12920
|
-
nextZoneElement.focus();
|
|
12921
|
-
}
|
|
12922
|
-
}
|
|
12923
|
-
else {
|
|
12924
|
-
_this.dialogOrigins[id].focus();
|
|
12925
|
-
}
|
|
12926
|
-
delete _this.dialogOrigins[id];
|
|
12923
|
+
var element = _this.dialogOrigins[id];
|
|
12924
|
+
var focusOn = dom.Dom.getFocusOrigin(element);
|
|
12925
|
+
if (focusOn) {
|
|
12926
|
+
focusOn.focus();
|
|
12927
12927
|
}
|
|
12928
|
+
delete _this.dialogOrigins[id];
|
|
12928
12929
|
}
|
|
12929
12930
|
}, delay);
|
|
12930
12931
|
}
|
|
@@ -15764,11 +15765,11 @@
|
|
|
15764
15765
|
}
|
|
15765
15766
|
var _c1$b = ["addButton"];
|
|
15766
15767
|
var _c2$7 = ["type", "array"];
|
|
15767
|
-
function
|
|
15768
|
+
function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template(rf, ctx) {
|
|
15768
15769
|
if (rf & 1) {
|
|
15769
15770
|
var _r9_1 = i0.ɵɵgetCurrentView();
|
|
15770
15771
|
i0.ɵɵelementStart(0, "button", 13);
|
|
15771
|
-
i0.ɵɵlistener("click", function
|
|
15772
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.moveUp(item_r2); });
|
|
15772
15773
|
i0.ɵɵelement(1, "span", 14);
|
|
15773
15774
|
i0.ɵɵelementEnd();
|
|
15774
15775
|
}
|
|
@@ -15778,11 +15779,11 @@
|
|
|
15778
15779
|
i0.ɵɵattribute("aria-label", ctx_r4.strings.MsftSmeShell.Angular.Form.Array.promoteButtonAriaLabel);
|
|
15779
15780
|
}
|
|
15780
15781
|
}
|
|
15781
|
-
function
|
|
15782
|
+
function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template(rf, ctx) {
|
|
15782
15783
|
if (rf & 1) {
|
|
15783
15784
|
var _r12_1 = i0.ɵɵgetCurrentView();
|
|
15784
15785
|
i0.ɵɵelementStart(0, "button", 13);
|
|
15785
|
-
i0.ɵɵlistener("click", function
|
|
15786
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.moveDown(item_r2); });
|
|
15786
15787
|
i0.ɵɵelement(1, "span", 15);
|
|
15787
15788
|
i0.ɵɵelementEnd();
|
|
15788
15789
|
}
|
|
@@ -15792,11 +15793,11 @@
|
|
|
15792
15793
|
i0.ɵɵattribute("aria-label", ctx_r5.strings.MsftSmeShell.Angular.Form.Array.demoteButtonAriaLabel);
|
|
15793
15794
|
}
|
|
15794
15795
|
}
|
|
15795
|
-
function
|
|
15796
|
+
function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template(rf, ctx) {
|
|
15796
15797
|
if (rf & 1) {
|
|
15797
15798
|
var _r15_1 = i0.ɵɵgetCurrentView();
|
|
15798
15799
|
i0.ɵɵelementStart(0, "button", 13);
|
|
15799
|
-
i0.ɵɵlistener("click", function
|
|
15800
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.delete(item_r2); });
|
|
15800
15801
|
i0.ɵɵelement(1, "span", 16);
|
|
15801
15802
|
i0.ɵɵelementEnd();
|
|
15802
15803
|
}
|
|
@@ -15811,16 +15812,17 @@
|
|
|
15811
15812
|
if (rf & 1) {
|
|
15812
15813
|
i0.ɵɵelementStart(0, "sme-accordion-panel", 7);
|
|
15813
15814
|
i0.ɵɵelementStart(1, "sme-panel-control");
|
|
15814
|
-
i0.ɵɵ
|
|
15815
|
-
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template, 2, 3, "button",
|
|
15816
|
-
i0.ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button",
|
|
15815
|
+
i0.ɵɵelementContainer(2, 8);
|
|
15816
|
+
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template, 2, 3, "button", 9);
|
|
15817
|
+
i0.ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button", 9);
|
|
15818
|
+
i0.ɵɵtemplate(5, ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template, 2, 3, "button", 9);
|
|
15817
15819
|
i0.ɵɵelementEnd();
|
|
15818
|
-
i0.ɵɵelementStart(
|
|
15819
|
-
i0.ɵɵtext(
|
|
15820
|
+
i0.ɵɵelementStart(6, "span", 10);
|
|
15821
|
+
i0.ɵɵtext(7);
|
|
15820
15822
|
i0.ɵɵelementEnd();
|
|
15821
|
-
i0.ɵɵelementStart(
|
|
15822
|
-
i0.ɵɵelementStart(
|
|
15823
|
-
i0.ɵɵelementContainer(
|
|
15823
|
+
i0.ɵɵelementStart(8, "fieldset", 11);
|
|
15824
|
+
i0.ɵɵelementStart(9, "div", 12);
|
|
15825
|
+
i0.ɵɵelementContainer(10, 8);
|
|
15824
15826
|
i0.ɵɵelementEnd();
|
|
15825
15827
|
i0.ɵɵelementEnd();
|
|
15826
15828
|
i0.ɵɵelementEnd();
|
|
@@ -15831,6 +15833,8 @@
|
|
|
15831
15833
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
15832
15834
|
i0.ɵɵproperty("header", ctx_r0.getItemTitle(item_r2, i_r3))("isExpandable", false);
|
|
15833
15835
|
i0.ɵɵadvance(2);
|
|
15836
|
+
i0.ɵɵproperty("template", ctx_r0.headerTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(17, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "itemHeader")));
|
|
15837
|
+
i0.ɵɵadvance(1);
|
|
15834
15838
|
i0.ɵɵproperty("ngIf", ctx_r0.showMove);
|
|
15835
15839
|
i0.ɵɵadvance(1);
|
|
15836
15840
|
i0.ɵɵproperty("ngIf", ctx_r0.showMove);
|
|
@@ -15846,7 +15850,7 @@
|
|
|
15846
15850
|
i0.ɵɵadvance(1);
|
|
15847
15851
|
i0.ɵɵproperty("id", ctx_r0.getItemAriaId(i_r3, "itemContainer"));
|
|
15848
15852
|
i0.ɵɵadvance(1);
|
|
15849
|
-
i0.ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(
|
|
15853
|
+
i0.ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(20, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "item")));
|
|
15850
15854
|
}
|
|
15851
15855
|
}
|
|
15852
15856
|
function ArrayFormFieldComponent_button_4_Template(rf, ctx) {
|
|
@@ -16111,6 +16115,8 @@
|
|
|
16111
16115
|
switch (idName) {
|
|
16112
16116
|
case 'item':
|
|
16113
16117
|
return this.idBag['item'] + "-" + index;
|
|
16118
|
+
case 'itemHeader':
|
|
16119
|
+
return this.idBag['item'] + "-header-" + index;
|
|
16114
16120
|
case 'itemContainer':
|
|
16115
16121
|
return this.idBag['item'] + "-container-" + index;
|
|
16116
16122
|
default: return null;
|
|
@@ -16191,12 +16197,12 @@
|
|
|
16191
16197
|
if (rf & 2) {
|
|
16192
16198
|
i0.ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
16193
16199
|
}
|
|
16194
|
-
}, inputs: { adjustControlButtonLocation: "adjustControlButtonLocation", newItem: "newItem", showAdd: "showAdd", showRemove: "showRemove", showMove: "showMove", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny", canOpenMultiple: "canOpenMultiple", maxItems: "maxItems", addButtonText: "addButtonText", itemTitle: "itemTitle" }, outputs: { askForNewItem: "askForNewItem", askForItemHeader: "askForItemHeader", askForRemoveEvaluator: "askForRemoveEvaluator" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c2$7, decls: 8, vars: 8, consts: [[3, "formField"], [1, "sme-array"], [3, "canCloseAny", "canCloseAll", "canOpenMultiple"], [3, "header", "isExpandable", 4, "ngFor", "ngForOf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-icon sme-icon-add sme-margin-bottom-xs", 3, "smeDisabled", "title", "click", 4, "ngIf"], [3, "alert"], ["aria-live", "assertive", "aria-relevant", "all", 1, "sme-screen-reader"], [3, "header", "isExpandable"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-arrange-stack-h", "sme-margin-bottom-lg", "sme-array-item"], [1, "sme-position-flex-auto", "sme-padding-inset-md", 3, "id"], ["
|
|
16200
|
+
}, inputs: { adjustControlButtonLocation: "adjustControlButtonLocation", newItem: "newItem", showAdd: "showAdd", showRemove: "showRemove", showMove: "showMove", canCloseAll: "canCloseAll", canCloseAny: "canCloseAny", canOpenMultiple: "canOpenMultiple", maxItems: "maxItems", addButtonText: "addButtonText", headerTemplate: "headerTemplate", itemTitle: "itemTitle" }, outputs: { askForNewItem: "askForNewItem", askForItemHeader: "askForItemHeader", askForRemoveEvaluator: "askForRemoveEvaluator" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c2$7, decls: 8, vars: 8, consts: [[3, "formField"], [1, "sme-array"], [3, "canCloseAny", "canCloseAll", "canOpenMultiple"], [3, "header", "isExpandable", 4, "ngFor", "ngForOf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-icon sme-icon-add sme-margin-bottom-xs", 3, "smeDisabled", "title", "click", 4, "ngIf"], [3, "alert"], ["aria-live", "assertive", "aria-relevant", "all", 1, "sme-screen-reader"], [3, "header", "isExpandable"], ["smeTemplateOutlet", "", "hostDataName", "context", 3, "template", "data", "hostData"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-arrange-stack-h", "sme-margin-bottom-lg", "sme-array-item"], [1, "sme-position-flex-auto", "sme-padding-inset-md", 3, "id"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-form-field-height", "sme-padding-horizontal-xs", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-up"], [1, "sme-icon", "sme-icon-down"], [1, "sme-icon", "sme-icon-delete", "sme-color-red"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-icon", "sme-icon-add", "sme-margin-bottom-xs", 3, "smeDisabled", "title", "click"], ["addButton", ""]], template: function ArrayFormFieldComponent_Template(rf, ctx) {
|
|
16195
16201
|
if (rf & 1) {
|
|
16196
16202
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
16197
16203
|
i0.ɵɵelementStart(1, "div", 1);
|
|
16198
16204
|
i0.ɵɵelementStart(2, "sme-accordion", 2);
|
|
16199
|
-
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template,
|
|
16205
|
+
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 11, 23, "sme-accordion-panel", 3);
|
|
16200
16206
|
i0.ɵɵelementEnd();
|
|
16201
16207
|
i0.ɵɵtemplate(4, ArrayFormFieldComponent_button_4_Template, 3, 4, "button", 4);
|
|
16202
16208
|
i0.ɵɵelementEnd();
|
|
@@ -16219,7 +16225,7 @@
|
|
|
16219
16225
|
i0.ɵɵadvance(2);
|
|
16220
16226
|
i0.ɵɵtextInterpolate(ctx.screenReaderEvent);
|
|
16221
16227
|
}
|
|
16222
|
-
}, directives: [FormFieldLayoutComponent, AccordionComponent, i1$1.NgForOf, i1$1.NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent,
|
|
16228
|
+
}, directives: [FormFieldLayoutComponent, AccordionComponent, i1$1.NgForOf, i1$1.NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent, TemplateOutletDirective, FieldsetDirective, TooltipDirective, DisabledDirective], encapsulation: 2 });
|
|
16223
16229
|
exports.ArrayFormFieldComponent = __decorate([
|
|
16224
16230
|
SmeSchemaProperty({
|
|
16225
16231
|
type: exports.SchemaPrimitiveType.Array,
|
|
@@ -16266,6 +16272,8 @@
|
|
|
16266
16272
|
type: i0.Input
|
|
16267
16273
|
}], addButtonText: [{
|
|
16268
16274
|
type: i0.Input
|
|
16275
|
+
}], headerTemplate: [{
|
|
16276
|
+
type: i0.Input
|
|
16269
16277
|
}], itemTitle: [{
|
|
16270
16278
|
type: i0.Input
|
|
16271
16279
|
}], ariaLabel: [{
|
|
@@ -21221,7 +21229,8 @@
|
|
|
21221
21229
|
alerts['invalidDateRange'] = alert;
|
|
21222
21230
|
}
|
|
21223
21231
|
else {
|
|
21224
|
-
if (
|
|
21232
|
+
if ((this.endFormField && !this.endFormField.ngModel.valid) &&
|
|
21233
|
+
(this.startFormField && this.startFormField.ngModel.control.errors)) {
|
|
21225
21234
|
this.endFormField.ngModel.control.setErrors(null);
|
|
21226
21235
|
}
|
|
21227
21236
|
}
|
|
@@ -21232,7 +21241,7 @@
|
|
|
21232
21241
|
alerts['invalidDateRange'] = alert;
|
|
21233
21242
|
}
|
|
21234
21243
|
else {
|
|
21235
|
-
if (!this.startFormField.ngModel.valid && this.startFormField.ngModel.control.errors) {
|
|
21244
|
+
if (this.startFormField && !this.startFormField.ngModel.valid && this.startFormField.ngModel.control.errors) {
|
|
21236
21245
|
this.startFormField.ngModel.control.setErrors(null);
|
|
21237
21246
|
}
|
|
21238
21247
|
}
|
|
@@ -27281,7 +27290,7 @@
|
|
|
27281
27290
|
i0.ɵɵelementEnd();
|
|
27282
27291
|
}
|
|
27283
27292
|
if (rf & 2) {
|
|
27284
|
-
i0.ɵɵproperty("visibleToScreenReader",
|
|
27293
|
+
i0.ɵɵproperty("visibleToScreenReader", true)("showResizerCover", false);
|
|
27285
27294
|
}
|
|
27286
27295
|
}
|
|
27287
27296
|
var _c13 = function (a0) { return { "width": a0 }; };
|
|
@@ -27664,7 +27673,7 @@
|
|
|
27664
27673
|
function DataTableComponent_div_20_div_4_div_2_Template(rf, ctx) {
|
|
27665
27674
|
if (rf & 1) {
|
|
27666
27675
|
var _r106_1 = i0.ɵɵgetCurrentView();
|
|
27667
|
-
i0.ɵɵelementStart(0, "div",
|
|
27676
|
+
i0.ɵɵelementStart(0, "div", 83);
|
|
27668
27677
|
i0.ɵɵlistener("click", function DataTableComponent_div_20_div_4_div_2_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r106_1); var renderedItem_r78 = i0.ɵɵnextContext(2).$implicit; var ctx_r104 = i0.ɵɵnextContext(); return ctx_r104.clickGroupToggle(renderedItem_r78); });
|
|
27669
27678
|
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_div_2_span_1_Template, 1, 4, "span", 64);
|
|
27670
27679
|
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_div_2_span_2_Template, 2, 1, "span", 61);
|
|
@@ -27672,7 +27681,10 @@
|
|
|
27672
27681
|
i0.ɵɵelementEnd();
|
|
27673
27682
|
}
|
|
27674
27683
|
if (rf & 2) {
|
|
27675
|
-
var
|
|
27684
|
+
var column_r87 = i0.ɵɵnextContext().$implicit;
|
|
27685
|
+
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
27686
|
+
var ctx_r90 = i0.ɵɵnextContext();
|
|
27687
|
+
i0.ɵɵproperty("id", ctx_r90.getFirstColumnId(column_r87, renderedItem_r78));
|
|
27676
27688
|
i0.ɵɵadvance(1);
|
|
27677
27689
|
i0.ɵɵproperty("ngIf", ctx_r90.useGroupToggle);
|
|
27678
27690
|
i0.ɵɵadvance(1);
|
|
@@ -27683,10 +27695,10 @@
|
|
|
27683
27695
|
}
|
|
27684
27696
|
function DataTableComponent_div_20_div_4_div_3_Template(rf, ctx) {
|
|
27685
27697
|
if (rf & 1) {
|
|
27686
|
-
var
|
|
27698
|
+
var _r111_1 = i0.ɵɵgetCurrentView();
|
|
27687
27699
|
i0.ɵɵelementStart(0, "div", 67);
|
|
27688
27700
|
i0.ɵɵelementStart(1, "span", 68);
|
|
27689
|
-
i0.ɵɵlistener("click", function DataTableComponent_div_20_div_4_div_3_Template_span_click_1_listener($event) { i0.ɵɵrestoreView(
|
|
27701
|
+
i0.ɵɵlistener("click", function DataTableComponent_div_20_div_4_div_3_Template_span_click_1_listener($event) { i0.ɵɵrestoreView(_r111_1); var renderedItem_r78 = i0.ɵɵnextContext(2).$implicit; var ctx_r109 = i0.ɵɵnextContext(); return ctx_r109.clickTreeToggle($event, renderedItem_r78); });
|
|
27690
27702
|
i0.ɵɵelementEnd();
|
|
27691
27703
|
i0.ɵɵelement(2, "span", 69);
|
|
27692
27704
|
i0.ɵɵelementEnd();
|
|
@@ -27716,11 +27728,11 @@
|
|
|
27716
27728
|
}
|
|
27717
27729
|
function DataTableComponent_div_20_div_4_div_5_Template(rf, ctx) {
|
|
27718
27730
|
if (rf & 1) {
|
|
27719
|
-
var
|
|
27731
|
+
var _r116_1 = i0.ɵɵgetCurrentView();
|
|
27720
27732
|
i0.ɵɵelementStart(0, "div", 72);
|
|
27721
27733
|
i0.ɵɵelementStart(1, "div", 53);
|
|
27722
27734
|
i0.ɵɵelementStart(2, "input", 73);
|
|
27723
|
-
i0.ɵɵlistener("change", function DataTableComponent_div_20_div_4_div_5_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
27735
|
+
i0.ɵɵlistener("change", function DataTableComponent_div_20_div_4_div_5_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r116_1); var renderedItem_r78 = i0.ɵɵnextContext(2).$implicit; var ctx_r114 = i0.ɵɵnextContext(); return ctx_r114.onItemCheckBoxClicked(renderedItem_r78); });
|
|
27724
27736
|
i0.ɵɵelementEnd();
|
|
27725
27737
|
i0.ɵɵelement(3, "label", 31);
|
|
27726
27738
|
i0.ɵɵelementEnd();
|
|
@@ -27736,19 +27748,19 @@
|
|
|
27736
27748
|
}
|
|
27737
27749
|
function DataTableComponent_div_20_div_4_ng_container_6_div_1_Template(rf, ctx) {
|
|
27738
27750
|
if (rf & 1) {
|
|
27739
|
-
i0.ɵɵelementStart(0, "div",
|
|
27751
|
+
i0.ɵɵelementStart(0, "div", 86);
|
|
27740
27752
|
i0.ɵɵtext(1);
|
|
27741
27753
|
i0.ɵɵelementEnd();
|
|
27742
27754
|
}
|
|
27743
27755
|
if (rf & 2) {
|
|
27744
27756
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
27745
27757
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
27746
|
-
var
|
|
27747
|
-
i0.ɵɵclassProp("sme-table-cell-full-height",
|
|
27748
|
-
i0.ɵɵproperty("id",
|
|
27758
|
+
var ctx_r118 = i0.ɵɵnextContext();
|
|
27759
|
+
i0.ɵɵclassProp("sme-table-cell-full-height", ctx_r118.autoRowHeight);
|
|
27760
|
+
i0.ɵɵproperty("id", ctx_r118.getFirstColumnId(column_r87, renderedItem_r78));
|
|
27749
27761
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data));
|
|
27750
27762
|
i0.ɵɵadvance(1);
|
|
27751
|
-
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ?
|
|
27763
|
+
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ? ctx_r118.resolveObjectPath(renderedItem_r78.data, column_r87.field) : ".", "");
|
|
27752
27764
|
}
|
|
27753
27765
|
}
|
|
27754
27766
|
function DataTableComponent_div_20_div_4_ng_container_6_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
@@ -27757,24 +27769,24 @@
|
|
|
27757
27769
|
}
|
|
27758
27770
|
if (rf & 2) {
|
|
27759
27771
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
27760
|
-
var
|
|
27761
|
-
var renderedItem_r78 =
|
|
27762
|
-
var rowIndex_r79 =
|
|
27772
|
+
var ctx_r124 = i0.ɵɵnextContext();
|
|
27773
|
+
var renderedItem_r78 = ctx_r124.$implicit;
|
|
27774
|
+
var rowIndex_r79 = ctx_r124.index;
|
|
27763
27775
|
i0.ɵɵproperty("template", column_r87.bodyTemplate)("data", renderedItem_r78.data)("rowIndex", rowIndex_r79);
|
|
27764
27776
|
}
|
|
27765
27777
|
}
|
|
27766
27778
|
function DataTableComponent_div_20_div_4_ng_container_6_div_2_Template(rf, ctx) {
|
|
27767
27779
|
if (rf & 1) {
|
|
27768
|
-
i0.ɵɵelementStart(0, "div",
|
|
27780
|
+
i0.ɵɵelementStart(0, "div", 86);
|
|
27769
27781
|
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_6_div_2_sme_data_table_template_loader_1_Template, 1, 3, "sme-data-table-template-loader", 76);
|
|
27770
27782
|
i0.ɵɵelementEnd();
|
|
27771
27783
|
}
|
|
27772
27784
|
if (rf & 2) {
|
|
27773
27785
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
27774
27786
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
27775
|
-
var
|
|
27776
|
-
i0.ɵɵclassProp("sme-table-cell-height-auto",
|
|
27777
|
-
i0.ɵɵproperty("id",
|
|
27787
|
+
var ctx_r119 = i0.ɵɵnextContext();
|
|
27788
|
+
i0.ɵɵclassProp("sme-table-cell-height-auto", ctx_r119.autoRowHeight)("sme-table-cell-full-height", ctx_r119.autoRowHeight);
|
|
27789
|
+
i0.ɵɵproperty("id", ctx_r119.getFirstColumnId(column_r87, renderedItem_r78));
|
|
27778
27790
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data));
|
|
27779
27791
|
i0.ɵɵadvance(1);
|
|
27780
27792
|
i0.ɵɵproperty("ngIf", !renderedItem_r78.data.placeholder);
|
|
@@ -27783,8 +27795,8 @@
|
|
|
27783
27795
|
function DataTableComponent_div_20_div_4_ng_container_6_Template(rf, ctx) {
|
|
27784
27796
|
if (rf & 1) {
|
|
27785
27797
|
i0.ɵɵelementContainerStart(0);
|
|
27786
|
-
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_6_div_1_Template, 2, 5, "div",
|
|
27787
|
-
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_6_div_2_Template, 2, 7, "div",
|
|
27798
|
+
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_6_div_1_Template, 2, 5, "div", 84);
|
|
27799
|
+
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_6_div_2_Template, 2, 7, "div", 85);
|
|
27788
27800
|
i0.ɵɵelementContainerEnd();
|
|
27789
27801
|
}
|
|
27790
27802
|
if (rf & 2) {
|
|
@@ -27806,28 +27818,28 @@
|
|
|
27806
27818
|
if (rf & 2) {
|
|
27807
27819
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
27808
27820
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
27809
|
-
var
|
|
27821
|
+
var ctx_r129 = i0.ɵɵnextContext();
|
|
27810
27822
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data));
|
|
27811
27823
|
i0.ɵɵadvance(1);
|
|
27812
|
-
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ?
|
|
27824
|
+
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ? ctx_r129.resolveObjectPath(renderedItem_r78.data.content, column_r87.field) : ".", "");
|
|
27813
27825
|
}
|
|
27814
27826
|
}
|
|
27815
27827
|
function DataTableComponent_div_20_div_4_ng_container_7_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
27816
27828
|
if (rf & 1) {
|
|
27817
|
-
i0.ɵɵelement(0, "sme-data-table-template-loader",
|
|
27829
|
+
i0.ɵɵelement(0, "sme-data-table-template-loader", 89);
|
|
27818
27830
|
}
|
|
27819
27831
|
if (rf & 2) {
|
|
27820
27832
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
27821
|
-
var
|
|
27822
|
-
var renderedItem_r78 =
|
|
27823
|
-
var rowIndex_r79 =
|
|
27833
|
+
var ctx_r134 = i0.ɵɵnextContext();
|
|
27834
|
+
var renderedItem_r78 = ctx_r134.$implicit;
|
|
27835
|
+
var rowIndex_r79 = ctx_r134.index;
|
|
27824
27836
|
i0.ɵɵproperty("renderedItem", renderedItem_r78)("template", column_r87.bodyReadTemplate)("data", renderedItem_r78.data.content)("rowIndex", rowIndex_r79);
|
|
27825
27837
|
}
|
|
27826
27838
|
}
|
|
27827
27839
|
function DataTableComponent_div_20_div_4_ng_container_7_div_2_Template(rf, ctx) {
|
|
27828
27840
|
if (rf & 1) {
|
|
27829
27841
|
i0.ɵɵelementStart(0, "div", 24);
|
|
27830
|
-
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_7_div_2_sme_data_table_template_loader_1_Template, 1, 4, "sme-data-table-template-loader",
|
|
27842
|
+
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_7_div_2_sme_data_table_template_loader_1_Template, 1, 4, "sme-data-table-template-loader", 88);
|
|
27831
27843
|
i0.ɵɵelementEnd();
|
|
27832
27844
|
}
|
|
27833
27845
|
if (rf & 2) {
|
|
@@ -27841,8 +27853,8 @@
|
|
|
27841
27853
|
function DataTableComponent_div_20_div_4_ng_container_7_Template(rf, ctx) {
|
|
27842
27854
|
if (rf & 1) {
|
|
27843
27855
|
i0.ɵɵelementContainerStart(0);
|
|
27844
|
-
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_7_div_1_Template, 2, 2, "div",
|
|
27845
|
-
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_7_div_2_Template, 2, 2, "div",
|
|
27856
|
+
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_7_div_1_Template, 2, 2, "div", 87);
|
|
27857
|
+
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_7_div_2_Template, 2, 2, "div", 87);
|
|
27846
27858
|
i0.ɵɵelementContainerEnd();
|
|
27847
27859
|
}
|
|
27848
27860
|
if (rf & 2) {
|
|
@@ -27864,10 +27876,10 @@
|
|
|
27864
27876
|
if (rf & 2) {
|
|
27865
27877
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
27866
27878
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
27867
|
-
var
|
|
27879
|
+
var ctx_r142 = i0.ɵɵnextContext();
|
|
27868
27880
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data.content));
|
|
27869
27881
|
i0.ɵɵadvance(1);
|
|
27870
|
-
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ?
|
|
27882
|
+
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ? ctx_r142.resolveObjectPath(renderedItem_r78.data.content, column_r87.field) : ".", "");
|
|
27871
27883
|
}
|
|
27872
27884
|
}
|
|
27873
27885
|
function DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
@@ -27876,9 +27888,9 @@
|
|
|
27876
27888
|
}
|
|
27877
27889
|
if (rf & 2) {
|
|
27878
27890
|
var column_r87 = i0.ɵɵnextContext(4).$implicit;
|
|
27879
|
-
var
|
|
27880
|
-
var renderedItem_r78 =
|
|
27881
|
-
var rowIndex_r79 =
|
|
27891
|
+
var ctx_r148 = i0.ɵɵnextContext();
|
|
27892
|
+
var renderedItem_r78 = ctx_r148.$implicit;
|
|
27893
|
+
var rowIndex_r79 = ctx_r148.index;
|
|
27882
27894
|
i0.ɵɵproperty("template", column_r87.bodyReadTemplate)("data", renderedItem_r78.data.content)("rowIndex", rowIndex_r79);
|
|
27883
27895
|
}
|
|
27884
27896
|
}
|
|
@@ -27899,39 +27911,39 @@
|
|
|
27899
27911
|
function DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_Template(rf, ctx) {
|
|
27900
27912
|
if (rf & 1) {
|
|
27901
27913
|
i0.ɵɵelementContainerStart(0);
|
|
27902
|
-
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_1_Template, 2, 2, "div",
|
|
27903
|
-
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_2_Template, 2, 2, "div",
|
|
27914
|
+
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_1_Template, 2, 2, "div", 87);
|
|
27915
|
+
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_2_Template, 2, 2, "div", 87);
|
|
27904
27916
|
i0.ɵɵelementContainerEnd();
|
|
27905
27917
|
}
|
|
27906
27918
|
if (rf & 2) {
|
|
27907
27919
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
27908
27920
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
27909
|
-
var
|
|
27921
|
+
var ctx_r140 = i0.ɵɵnextContext();
|
|
27910
27922
|
i0.ɵɵadvance(1);
|
|
27911
|
-
i0.ɵɵproperty("ngIf", !column_r87.bodyReadTemplate && renderedItem_r78.type !=
|
|
27923
|
+
i0.ɵɵproperty("ngIf", !column_r87.bodyReadTemplate && renderedItem_r78.type != ctx_r140.renderedItemTypeEnum.GroupHeader);
|
|
27912
27924
|
i0.ɵɵadvance(1);
|
|
27913
|
-
i0.ɵɵproperty("ngIf", renderedItem_r78.type !=
|
|
27925
|
+
i0.ɵɵproperty("ngIf", renderedItem_r78.type != ctx_r140.renderedItemTypeEnum.GroupHeader && renderedItem_r78.data && column_r87.bodyReadTemplate);
|
|
27914
27926
|
}
|
|
27915
27927
|
}
|
|
27916
27928
|
function DataTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
27917
27929
|
if (rf & 1) {
|
|
27918
|
-
var
|
|
27919
|
-
i0.ɵɵelementStart(0, "sme-data-table-template-loader",
|
|
27920
|
-
i0.ɵɵlistener("validationAlert", function DataTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template_sme_data_table_template_loader_validationAlert_0_listener($event) { i0.ɵɵrestoreView(
|
|
27930
|
+
var _r156_1 = i0.ɵɵgetCurrentView();
|
|
27931
|
+
i0.ɵɵelementStart(0, "sme-data-table-template-loader", 93);
|
|
27932
|
+
i0.ɵɵlistener("validationAlert", function DataTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template_sme_data_table_template_loader_validationAlert_0_listener($event) { i0.ɵɵrestoreView(_r156_1); var column_r87 = i0.ɵɵnextContext(3).$implicit; var renderedItem_r78 = i0.ɵɵnextContext().$implicit; var ctx_r154 = i0.ɵɵnextContext(); return ctx_r154.onValidationAlertHandler(renderedItem_r78, column_r87.field, $event.alert); })("dataChanged", function DataTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template_sme_data_table_template_loader_dataChanged_0_listener($event) { i0.ɵɵrestoreView(_r156_1); var ctx_r158 = i0.ɵɵnextContext(5); return ctx_r158.onEditableDataChanged($event.renderedItem, $event.field); });
|
|
27921
27933
|
i0.ɵɵelementEnd();
|
|
27922
27934
|
}
|
|
27923
27935
|
if (rf & 2) {
|
|
27924
27936
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
27925
|
-
var
|
|
27926
|
-
var renderedItem_r78 =
|
|
27927
|
-
var rowIndex_r79 =
|
|
27937
|
+
var ctx_r160 = i0.ɵɵnextContext();
|
|
27938
|
+
var renderedItem_r78 = ctx_r160.$implicit;
|
|
27939
|
+
var rowIndex_r79 = ctx_r160.index;
|
|
27928
27940
|
i0.ɵɵproperty("template", column_r87.bodyEditTemplate)("field", column_r87.field)("data", renderedItem_r78.data.content)("rowIndex", rowIndex_r79)("renderedItem", renderedItem_r78);
|
|
27929
27941
|
}
|
|
27930
27942
|
}
|
|
27931
27943
|
function DataTableComponent_div_20_div_4_ng_container_8_div_2_Template(rf, ctx) {
|
|
27932
27944
|
if (rf & 1) {
|
|
27933
|
-
i0.ɵɵelementStart(0, "div",
|
|
27934
|
-
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template, 1, 5, "sme-data-table-template-loader",
|
|
27945
|
+
i0.ɵɵelementStart(0, "div", 91);
|
|
27946
|
+
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template, 1, 5, "sme-data-table-template-loader", 92);
|
|
27935
27947
|
i0.ɵɵelementEnd();
|
|
27936
27948
|
}
|
|
27937
27949
|
if (rf & 2) {
|
|
@@ -27946,7 +27958,7 @@
|
|
|
27946
27958
|
if (rf & 1) {
|
|
27947
27959
|
i0.ɵɵelementContainerStart(0);
|
|
27948
27960
|
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_ng_container_8_ng_container_1_Template, 3, 2, "ng-container", 61);
|
|
27949
|
-
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_8_div_2_Template, 2, 2, "div",
|
|
27961
|
+
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_ng_container_8_div_2_Template, 2, 2, "div", 90);
|
|
27950
27962
|
i0.ɵɵelementContainerEnd();
|
|
27951
27963
|
}
|
|
27952
27964
|
if (rf & 2) {
|
|
@@ -27962,7 +27974,7 @@
|
|
|
27962
27974
|
if (rf & 1) {
|
|
27963
27975
|
i0.ɵɵelementStart(0, "div", 55);
|
|
27964
27976
|
i0.ɵɵtemplate(1, DataTableComponent_div_20_div_4_div_1_Template, 2, 1, "div", 56);
|
|
27965
|
-
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_div_2_Template, 4,
|
|
27977
|
+
i0.ɵɵtemplate(2, DataTableComponent_div_20_div_4_div_2_Template, 4, 4, "div", 82);
|
|
27966
27978
|
i0.ɵɵtemplate(3, DataTableComponent_div_20_div_4_div_3_Template, 3, 12, "div", 58);
|
|
27967
27979
|
i0.ɵɵtemplate(4, DataTableComponent_div_20_div_4_div_4_Template, 3, 5, "div", 59);
|
|
27968
27980
|
i0.ɵɵtemplate(5, DataTableComponent_div_20_div_4_div_5_Template, 4, 3, "div", 60);
|
|
@@ -28000,21 +28012,21 @@
|
|
|
28000
28012
|
function DataTableComponent_div_20_div_5_div_3_Template(rf, ctx) {
|
|
28001
28013
|
if (rf & 1) {
|
|
28002
28014
|
i0.ɵɵelementStart(0, "div");
|
|
28003
|
-
i0.ɵɵelement(1, "sme-validation-alert",
|
|
28015
|
+
i0.ɵɵelement(1, "sme-validation-alert", 97);
|
|
28004
28016
|
i0.ɵɵelementEnd();
|
|
28005
28017
|
}
|
|
28006
28018
|
if (rf & 2) {
|
|
28007
|
-
var
|
|
28019
|
+
var validationResultItem_r166 = ctx.$implicit;
|
|
28008
28020
|
i0.ɵɵadvance(1);
|
|
28009
|
-
i0.ɵɵproperty("alert",
|
|
28021
|
+
i0.ɵɵproperty("alert", validationResultItem_r166.alert);
|
|
28010
28022
|
}
|
|
28011
28023
|
}
|
|
28012
28024
|
function DataTableComponent_div_20_div_5_Template(rf, ctx) {
|
|
28013
28025
|
if (rf & 1) {
|
|
28014
|
-
i0.ɵɵelementStart(0, "div",
|
|
28026
|
+
i0.ɵɵelementStart(0, "div", 94);
|
|
28015
28027
|
i0.ɵɵelementStart(1, "div", 50);
|
|
28016
|
-
i0.ɵɵelementStart(2, "div",
|
|
28017
|
-
i0.ɵɵtemplate(3, DataTableComponent_div_20_div_5_div_3_Template, 2, 1, "div",
|
|
28028
|
+
i0.ɵɵelementStart(2, "div", 95);
|
|
28029
|
+
i0.ɵɵtemplate(3, DataTableComponent_div_20_div_5_div_3_Template, 2, 1, "div", 96);
|
|
28018
28030
|
i0.ɵɵelementEnd();
|
|
28019
28031
|
i0.ɵɵelementEnd();
|
|
28020
28032
|
i0.ɵɵelementEnd();
|
|
@@ -28030,9 +28042,9 @@
|
|
|
28030
28042
|
}
|
|
28031
28043
|
function DataTableComponent_div_20_Template(rf, ctx) {
|
|
28032
28044
|
if (rf & 1) {
|
|
28033
|
-
var
|
|
28045
|
+
var _r169_1 = i0.ɵɵgetCurrentView();
|
|
28034
28046
|
i0.ɵɵelementStart(0, "div", 78);
|
|
28035
|
-
i0.ɵɵlistener("keydown", function DataTableComponent_div_20_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(
|
|
28047
|
+
i0.ɵɵlistener("keydown", function DataTableComponent_div_20_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var ctx_r168 = i0.ɵɵnextContext(); return ctx_r168.onContentTablePressed($event); })("keyup", function DataTableComponent_div_20_Template_div_keyup_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var ctx_r170 = i0.ɵɵnextContext(); return ctx_r170.onContentTableKeyUp($event); })("contextmenu", function DataTableComponent_div_20_Template_div_contextmenu_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r171 = i0.ɵɵnextContext(); return ctx_r171.enableRightClickSelect ? ctx_r171.selectItem($event, renderedItem_r78) : true; })("click", function DataTableComponent_div_20_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r172 = i0.ɵɵnextContext(); return ctx_r172.selectItem($event, renderedItem_r78); })("dblclick", function DataTableComponent_div_20_Template_div_dblclick_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r173 = i0.ɵɵnextContext(); return ctx_r173.doubleClickRow($event, renderedItem_r78); })("focus", function DataTableComponent_div_20_Template_div_focus_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r174 = i0.ɵɵnextContext(); return ctx_r174.onContentItemFocused($event, renderedItem_r78); })("focusin", function DataTableComponent_div_20_Template_div_focusin_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r175 = i0.ɵɵnextContext(); return ctx_r175.onContentItemFocused($event, renderedItem_r78); })("focusout", function DataTableComponent_div_20_Template_div_focusout_0_listener($event) { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r176 = i0.ɵɵnextContext(); return ctx_r176.onContentItemBlurred($event, renderedItem_r78); })("mouseenter", function DataTableComponent_div_20_Template_div_mouseenter_0_listener() { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r177 = i0.ɵɵnextContext(); return ctx_r177.setHoveredRenderedItem(renderedItem_r78); })("mouseleave", function DataTableComponent_div_20_Template_div_mouseleave_0_listener() { i0.ɵɵrestoreView(_r169_1); var renderedItem_r78 = ctx.$implicit; var ctx_r178 = i0.ɵɵnextContext(); return ctx_r178.unsetHoveredRenderedItem(renderedItem_r78); });
|
|
28036
28048
|
i0.ɵɵelementStart(1, "div", 79);
|
|
28037
28049
|
i0.ɵɵelementStart(2, "div", 50);
|
|
28038
28050
|
i0.ɵɵtemplate(3, DataTableComponent_div_20_div_3_Template, 4, 5, "div", 80);
|
|
@@ -28059,16 +28071,16 @@
|
|
|
28059
28071
|
}
|
|
28060
28072
|
function DataTableComponent_div_26_Template(rf, ctx) {
|
|
28061
28073
|
if (rf & 1) {
|
|
28062
|
-
var
|
|
28063
|
-
i0.ɵɵelementStart(0, "div",
|
|
28064
|
-
i0.ɵɵlistener("focus", function DataTableComponent_div_26_Template_div_focus_0_listener($event) { i0.ɵɵrestoreView(
|
|
28074
|
+
var _r181_1 = i0.ɵɵgetCurrentView();
|
|
28075
|
+
i0.ɵɵelementStart(0, "div", 98, 99);
|
|
28076
|
+
i0.ɵɵlistener("focus", function DataTableComponent_div_26_Template_div_focus_0_listener($event) { i0.ɵɵrestoreView(_r181_1); var ctx_r180 = i0.ɵɵnextContext(); return ctx_r180.onLastFocusableShadowElementFocused($event); });
|
|
28065
28077
|
i0.ɵɵelementEnd();
|
|
28066
28078
|
}
|
|
28067
28079
|
}
|
|
28068
28080
|
function DataTableComponent_div_27_Template(rf, ctx) {
|
|
28069
28081
|
if (rf & 1) {
|
|
28070
|
-
i0.ɵɵelementStart(0, "div",
|
|
28071
|
-
i0.ɵɵelement(1, "sme-loading-wheel",
|
|
28082
|
+
i0.ɵɵelementStart(0, "div", 100);
|
|
28083
|
+
i0.ɵɵelement(1, "sme-loading-wheel", 101);
|
|
28072
28084
|
i0.ɵɵelementEnd();
|
|
28073
28085
|
}
|
|
28074
28086
|
if (rf & 2) {
|
|
@@ -28149,7 +28161,7 @@
|
|
|
28149
28161
|
i0.ɵɵelementEnd();
|
|
28150
28162
|
}
|
|
28151
28163
|
if (rf & 2) {
|
|
28152
|
-
i0.ɵɵproperty("visibleToScreenReader",
|
|
28164
|
+
i0.ɵɵproperty("visibleToScreenReader", true)("showResizerCover", false);
|
|
28153
28165
|
}
|
|
28154
28166
|
}
|
|
28155
28167
|
function TreeTableComponent_div_7_Template(rf, ctx) {
|
|
@@ -28527,7 +28539,7 @@
|
|
|
28527
28539
|
function TreeTableComponent_div_20_div_4_div_2_Template(rf, ctx) {
|
|
28528
28540
|
if (rf & 1) {
|
|
28529
28541
|
var _r106_2 = i0.ɵɵgetCurrentView();
|
|
28530
|
-
i0.ɵɵelementStart(0, "div",
|
|
28542
|
+
i0.ɵɵelementStart(0, "div", 83);
|
|
28531
28543
|
i0.ɵɵlistener("click", function TreeTableComponent_div_20_div_4_div_2_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r106_2); var renderedItem_r78 = i0.ɵɵnextContext(2).$implicit; var ctx_r104 = i0.ɵɵnextContext(); return ctx_r104.clickGroupToggle(renderedItem_r78); });
|
|
28532
28544
|
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_div_2_span_1_Template, 1, 4, "span", 64);
|
|
28533
28545
|
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_div_2_span_2_Template, 2, 1, "span", 61);
|
|
@@ -28535,7 +28547,10 @@
|
|
|
28535
28547
|
i0.ɵɵelementEnd();
|
|
28536
28548
|
}
|
|
28537
28549
|
if (rf & 2) {
|
|
28538
|
-
var
|
|
28550
|
+
var column_r87 = i0.ɵɵnextContext().$implicit;
|
|
28551
|
+
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
28552
|
+
var ctx_r90 = i0.ɵɵnextContext();
|
|
28553
|
+
i0.ɵɵproperty("id", ctx_r90.getFirstColumnId(column_r87, renderedItem_r78));
|
|
28539
28554
|
i0.ɵɵadvance(1);
|
|
28540
28555
|
i0.ɵɵproperty("ngIf", ctx_r90.useGroupToggle);
|
|
28541
28556
|
i0.ɵɵadvance(1);
|
|
@@ -28546,10 +28561,10 @@
|
|
|
28546
28561
|
}
|
|
28547
28562
|
function TreeTableComponent_div_20_div_4_div_3_Template(rf, ctx) {
|
|
28548
28563
|
if (rf & 1) {
|
|
28549
|
-
var
|
|
28564
|
+
var _r111_2 = i0.ɵɵgetCurrentView();
|
|
28550
28565
|
i0.ɵɵelementStart(0, "div", 67);
|
|
28551
28566
|
i0.ɵɵelementStart(1, "span", 68);
|
|
28552
|
-
i0.ɵɵlistener("click", function TreeTableComponent_div_20_div_4_div_3_Template_span_click_1_listener($event) { i0.ɵɵrestoreView(
|
|
28567
|
+
i0.ɵɵlistener("click", function TreeTableComponent_div_20_div_4_div_3_Template_span_click_1_listener($event) { i0.ɵɵrestoreView(_r111_2); var renderedItem_r78 = i0.ɵɵnextContext(2).$implicit; var ctx_r109 = i0.ɵɵnextContext(); return ctx_r109.clickTreeToggle($event, renderedItem_r78); });
|
|
28553
28568
|
i0.ɵɵelementEnd();
|
|
28554
28569
|
i0.ɵɵelement(2, "span", 69);
|
|
28555
28570
|
i0.ɵɵelementEnd();
|
|
@@ -28579,11 +28594,11 @@
|
|
|
28579
28594
|
}
|
|
28580
28595
|
function TreeTableComponent_div_20_div_4_div_5_Template(rf, ctx) {
|
|
28581
28596
|
if (rf & 1) {
|
|
28582
|
-
var
|
|
28597
|
+
var _r116_2 = i0.ɵɵgetCurrentView();
|
|
28583
28598
|
i0.ɵɵelementStart(0, "div", 72);
|
|
28584
28599
|
i0.ɵɵelementStart(1, "div", 53);
|
|
28585
28600
|
i0.ɵɵelementStart(2, "input", 73);
|
|
28586
|
-
i0.ɵɵlistener("change", function TreeTableComponent_div_20_div_4_div_5_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
28601
|
+
i0.ɵɵlistener("change", function TreeTableComponent_div_20_div_4_div_5_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r116_2); var renderedItem_r78 = i0.ɵɵnextContext(2).$implicit; var ctx_r114 = i0.ɵɵnextContext(); return ctx_r114.onItemCheckBoxClicked(renderedItem_r78); });
|
|
28587
28602
|
i0.ɵɵelementEnd();
|
|
28588
28603
|
i0.ɵɵelement(3, "label", 31);
|
|
28589
28604
|
i0.ɵɵelementEnd();
|
|
@@ -28599,19 +28614,19 @@
|
|
|
28599
28614
|
}
|
|
28600
28615
|
function TreeTableComponent_div_20_div_4_ng_container_6_div_1_Template(rf, ctx) {
|
|
28601
28616
|
if (rf & 1) {
|
|
28602
|
-
i0.ɵɵelementStart(0, "div",
|
|
28617
|
+
i0.ɵɵelementStart(0, "div", 86);
|
|
28603
28618
|
i0.ɵɵtext(1);
|
|
28604
28619
|
i0.ɵɵelementEnd();
|
|
28605
28620
|
}
|
|
28606
28621
|
if (rf & 2) {
|
|
28607
28622
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
28608
28623
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
28609
|
-
var
|
|
28610
|
-
i0.ɵɵclassProp("sme-table-cell-full-height",
|
|
28611
|
-
i0.ɵɵproperty("id",
|
|
28624
|
+
var ctx_r118 = i0.ɵɵnextContext();
|
|
28625
|
+
i0.ɵɵclassProp("sme-table-cell-full-height", ctx_r118.autoRowHeight);
|
|
28626
|
+
i0.ɵɵproperty("id", ctx_r118.getFirstColumnId(column_r87, renderedItem_r78));
|
|
28612
28627
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data));
|
|
28613
28628
|
i0.ɵɵadvance(1);
|
|
28614
|
-
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ?
|
|
28629
|
+
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ? ctx_r118.resolveObjectPath(renderedItem_r78.data, column_r87.field) : ".", "");
|
|
28615
28630
|
}
|
|
28616
28631
|
}
|
|
28617
28632
|
function TreeTableComponent_div_20_div_4_ng_container_6_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
@@ -28620,24 +28635,24 @@
|
|
|
28620
28635
|
}
|
|
28621
28636
|
if (rf & 2) {
|
|
28622
28637
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
28623
|
-
var
|
|
28624
|
-
var renderedItem_r78 =
|
|
28625
|
-
var rowIndex_r79 =
|
|
28638
|
+
var ctx_r124 = i0.ɵɵnextContext();
|
|
28639
|
+
var renderedItem_r78 = ctx_r124.$implicit;
|
|
28640
|
+
var rowIndex_r79 = ctx_r124.index;
|
|
28626
28641
|
i0.ɵɵproperty("template", column_r87.bodyTemplate)("data", renderedItem_r78.data)("rowIndex", rowIndex_r79);
|
|
28627
28642
|
}
|
|
28628
28643
|
}
|
|
28629
28644
|
function TreeTableComponent_div_20_div_4_ng_container_6_div_2_Template(rf, ctx) {
|
|
28630
28645
|
if (rf & 1) {
|
|
28631
|
-
i0.ɵɵelementStart(0, "div",
|
|
28646
|
+
i0.ɵɵelementStart(0, "div", 86);
|
|
28632
28647
|
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_6_div_2_sme_data_table_template_loader_1_Template, 1, 3, "sme-data-table-template-loader", 76);
|
|
28633
28648
|
i0.ɵɵelementEnd();
|
|
28634
28649
|
}
|
|
28635
28650
|
if (rf & 2) {
|
|
28636
28651
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
28637
28652
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
28638
|
-
var
|
|
28639
|
-
i0.ɵɵclassProp("sme-table-cell-height-auto",
|
|
28640
|
-
i0.ɵɵproperty("id",
|
|
28653
|
+
var ctx_r119 = i0.ɵɵnextContext();
|
|
28654
|
+
i0.ɵɵclassProp("sme-table-cell-height-auto", ctx_r119.autoRowHeight)("sme-table-cell-full-height", ctx_r119.autoRowHeight);
|
|
28655
|
+
i0.ɵɵproperty("id", ctx_r119.getFirstColumnId(column_r87, renderedItem_r78));
|
|
28641
28656
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data));
|
|
28642
28657
|
i0.ɵɵadvance(1);
|
|
28643
28658
|
i0.ɵɵproperty("ngIf", !renderedItem_r78.data.placeholder);
|
|
@@ -28646,8 +28661,8 @@
|
|
|
28646
28661
|
function TreeTableComponent_div_20_div_4_ng_container_6_Template(rf, ctx) {
|
|
28647
28662
|
if (rf & 1) {
|
|
28648
28663
|
i0.ɵɵelementContainerStart(0);
|
|
28649
|
-
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_6_div_1_Template, 2, 5, "div",
|
|
28650
|
-
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_6_div_2_Template, 2, 7, "div",
|
|
28664
|
+
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_6_div_1_Template, 2, 5, "div", 84);
|
|
28665
|
+
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_6_div_2_Template, 2, 7, "div", 85);
|
|
28651
28666
|
i0.ɵɵelementContainerEnd();
|
|
28652
28667
|
}
|
|
28653
28668
|
if (rf & 2) {
|
|
@@ -28669,28 +28684,28 @@
|
|
|
28669
28684
|
if (rf & 2) {
|
|
28670
28685
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
28671
28686
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
28672
|
-
var
|
|
28687
|
+
var ctx_r129 = i0.ɵɵnextContext();
|
|
28673
28688
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data));
|
|
28674
28689
|
i0.ɵɵadvance(1);
|
|
28675
|
-
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ?
|
|
28690
|
+
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ? ctx_r129.resolveObjectPath(renderedItem_r78.data.content, column_r87.field) : ".", "");
|
|
28676
28691
|
}
|
|
28677
28692
|
}
|
|
28678
28693
|
function TreeTableComponent_div_20_div_4_ng_container_7_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
28679
28694
|
if (rf & 1) {
|
|
28680
|
-
i0.ɵɵelement(0, "sme-data-table-template-loader",
|
|
28695
|
+
i0.ɵɵelement(0, "sme-data-table-template-loader", 89);
|
|
28681
28696
|
}
|
|
28682
28697
|
if (rf & 2) {
|
|
28683
28698
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
28684
|
-
var
|
|
28685
|
-
var renderedItem_r78 =
|
|
28686
|
-
var rowIndex_r79 =
|
|
28699
|
+
var ctx_r134 = i0.ɵɵnextContext();
|
|
28700
|
+
var renderedItem_r78 = ctx_r134.$implicit;
|
|
28701
|
+
var rowIndex_r79 = ctx_r134.index;
|
|
28687
28702
|
i0.ɵɵproperty("renderedItem", renderedItem_r78)("template", column_r87.bodyReadTemplate)("data", renderedItem_r78.data.content)("rowIndex", rowIndex_r79);
|
|
28688
28703
|
}
|
|
28689
28704
|
}
|
|
28690
28705
|
function TreeTableComponent_div_20_div_4_ng_container_7_div_2_Template(rf, ctx) {
|
|
28691
28706
|
if (rf & 1) {
|
|
28692
28707
|
i0.ɵɵelementStart(0, "div", 24);
|
|
28693
|
-
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_7_div_2_sme_data_table_template_loader_1_Template, 1, 4, "sme-data-table-template-loader",
|
|
28708
|
+
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_7_div_2_sme_data_table_template_loader_1_Template, 1, 4, "sme-data-table-template-loader", 88);
|
|
28694
28709
|
i0.ɵɵelementEnd();
|
|
28695
28710
|
}
|
|
28696
28711
|
if (rf & 2) {
|
|
@@ -28704,8 +28719,8 @@
|
|
|
28704
28719
|
function TreeTableComponent_div_20_div_4_ng_container_7_Template(rf, ctx) {
|
|
28705
28720
|
if (rf & 1) {
|
|
28706
28721
|
i0.ɵɵelementContainerStart(0);
|
|
28707
|
-
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_7_div_1_Template, 2, 2, "div",
|
|
28708
|
-
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_7_div_2_Template, 2, 2, "div",
|
|
28722
|
+
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_7_div_1_Template, 2, 2, "div", 87);
|
|
28723
|
+
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_7_div_2_Template, 2, 2, "div", 87);
|
|
28709
28724
|
i0.ɵɵelementContainerEnd();
|
|
28710
28725
|
}
|
|
28711
28726
|
if (rf & 2) {
|
|
@@ -28727,10 +28742,10 @@
|
|
|
28727
28742
|
if (rf & 2) {
|
|
28728
28743
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
28729
28744
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
28730
|
-
var
|
|
28745
|
+
var ctx_r142 = i0.ɵɵnextContext();
|
|
28731
28746
|
i0.ɵɵattribute("title", column_r87.getTooltipHandler && column_r87.getTooltipHandler(renderedItem_r78.data.content));
|
|
28732
28747
|
i0.ɵɵadvance(1);
|
|
28733
|
-
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ?
|
|
28748
|
+
i0.ɵɵtextInterpolate1(" ", renderedItem_r78.data ? ctx_r142.resolveObjectPath(renderedItem_r78.data.content, column_r87.field) : ".", "");
|
|
28734
28749
|
}
|
|
28735
28750
|
}
|
|
28736
28751
|
function TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
@@ -28739,9 +28754,9 @@
|
|
|
28739
28754
|
}
|
|
28740
28755
|
if (rf & 2) {
|
|
28741
28756
|
var column_r87 = i0.ɵɵnextContext(4).$implicit;
|
|
28742
|
-
var
|
|
28743
|
-
var renderedItem_r78 =
|
|
28744
|
-
var rowIndex_r79 =
|
|
28757
|
+
var ctx_r148 = i0.ɵɵnextContext();
|
|
28758
|
+
var renderedItem_r78 = ctx_r148.$implicit;
|
|
28759
|
+
var rowIndex_r79 = ctx_r148.index;
|
|
28745
28760
|
i0.ɵɵproperty("template", column_r87.bodyReadTemplate)("data", renderedItem_r78.data.content)("rowIndex", rowIndex_r79);
|
|
28746
28761
|
}
|
|
28747
28762
|
}
|
|
@@ -28762,39 +28777,39 @@
|
|
|
28762
28777
|
function TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_Template(rf, ctx) {
|
|
28763
28778
|
if (rf & 1) {
|
|
28764
28779
|
i0.ɵɵelementContainerStart(0);
|
|
28765
|
-
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_1_Template, 2, 2, "div",
|
|
28766
|
-
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_2_Template, 2, 2, "div",
|
|
28780
|
+
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_1_Template, 2, 2, "div", 87);
|
|
28781
|
+
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_div_2_Template, 2, 2, "div", 87);
|
|
28767
28782
|
i0.ɵɵelementContainerEnd();
|
|
28768
28783
|
}
|
|
28769
28784
|
if (rf & 2) {
|
|
28770
28785
|
var column_r87 = i0.ɵɵnextContext(2).$implicit;
|
|
28771
28786
|
var renderedItem_r78 = i0.ɵɵnextContext().$implicit;
|
|
28772
|
-
var
|
|
28787
|
+
var ctx_r140 = i0.ɵɵnextContext();
|
|
28773
28788
|
i0.ɵɵadvance(1);
|
|
28774
|
-
i0.ɵɵproperty("ngIf", !column_r87.bodyReadTemplate && renderedItem_r78.type !=
|
|
28789
|
+
i0.ɵɵproperty("ngIf", !column_r87.bodyReadTemplate && renderedItem_r78.type != ctx_r140.renderedItemTypeEnum.GroupHeader);
|
|
28775
28790
|
i0.ɵɵadvance(1);
|
|
28776
|
-
i0.ɵɵproperty("ngIf", renderedItem_r78.type !=
|
|
28791
|
+
i0.ɵɵproperty("ngIf", renderedItem_r78.type != ctx_r140.renderedItemTypeEnum.GroupHeader && renderedItem_r78.data && column_r87.bodyReadTemplate);
|
|
28777
28792
|
}
|
|
28778
28793
|
}
|
|
28779
28794
|
function TreeTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template(rf, ctx) {
|
|
28780
28795
|
if (rf & 1) {
|
|
28781
|
-
var
|
|
28782
|
-
i0.ɵɵelementStart(0, "sme-data-table-template-loader",
|
|
28783
|
-
i0.ɵɵlistener("validationAlert", function TreeTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template_sme_data_table_template_loader_validationAlert_0_listener($event) { i0.ɵɵrestoreView(
|
|
28796
|
+
var _r156_2 = i0.ɵɵgetCurrentView();
|
|
28797
|
+
i0.ɵɵelementStart(0, "sme-data-table-template-loader", 93);
|
|
28798
|
+
i0.ɵɵlistener("validationAlert", function TreeTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template_sme_data_table_template_loader_validationAlert_0_listener($event) { i0.ɵɵrestoreView(_r156_2); var column_r87 = i0.ɵɵnextContext(3).$implicit; var renderedItem_r78 = i0.ɵɵnextContext().$implicit; var ctx_r154 = i0.ɵɵnextContext(); return ctx_r154.onValidationAlertHandler(renderedItem_r78, column_r87.field, $event.alert); })("dataChanged", function TreeTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template_sme_data_table_template_loader_dataChanged_0_listener($event) { i0.ɵɵrestoreView(_r156_2); var ctx_r158 = i0.ɵɵnextContext(5); return ctx_r158.onEditableDataChanged($event.renderedItem, $event.field); });
|
|
28784
28799
|
i0.ɵɵelementEnd();
|
|
28785
28800
|
}
|
|
28786
28801
|
if (rf & 2) {
|
|
28787
28802
|
var column_r87 = i0.ɵɵnextContext(3).$implicit;
|
|
28788
|
-
var
|
|
28789
|
-
var renderedItem_r78 =
|
|
28790
|
-
var rowIndex_r79 =
|
|
28803
|
+
var ctx_r160 = i0.ɵɵnextContext();
|
|
28804
|
+
var renderedItem_r78 = ctx_r160.$implicit;
|
|
28805
|
+
var rowIndex_r79 = ctx_r160.index;
|
|
28791
28806
|
i0.ɵɵproperty("template", column_r87.bodyEditTemplate)("field", column_r87.field)("data", renderedItem_r78.data.content)("rowIndex", rowIndex_r79)("renderedItem", renderedItem_r78);
|
|
28792
28807
|
}
|
|
28793
28808
|
}
|
|
28794
28809
|
function TreeTableComponent_div_20_div_4_ng_container_8_div_2_Template(rf, ctx) {
|
|
28795
28810
|
if (rf & 1) {
|
|
28796
|
-
i0.ɵɵelementStart(0, "div",
|
|
28797
|
-
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template, 1, 5, "sme-data-table-template-loader",
|
|
28811
|
+
i0.ɵɵelementStart(0, "div", 91);
|
|
28812
|
+
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_8_div_2_sme_data_table_template_loader_1_Template, 1, 5, "sme-data-table-template-loader", 92);
|
|
28798
28813
|
i0.ɵɵelementEnd();
|
|
28799
28814
|
}
|
|
28800
28815
|
if (rf & 2) {
|
|
@@ -28809,7 +28824,7 @@
|
|
|
28809
28824
|
if (rf & 1) {
|
|
28810
28825
|
i0.ɵɵelementContainerStart(0);
|
|
28811
28826
|
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_ng_container_8_ng_container_1_Template, 3, 2, "ng-container", 61);
|
|
28812
|
-
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_8_div_2_Template, 2, 2, "div",
|
|
28827
|
+
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_ng_container_8_div_2_Template, 2, 2, "div", 90);
|
|
28813
28828
|
i0.ɵɵelementContainerEnd();
|
|
28814
28829
|
}
|
|
28815
28830
|
if (rf & 2) {
|
|
@@ -28825,7 +28840,7 @@
|
|
|
28825
28840
|
if (rf & 1) {
|
|
28826
28841
|
i0.ɵɵelementStart(0, "div", 55);
|
|
28827
28842
|
i0.ɵɵtemplate(1, TreeTableComponent_div_20_div_4_div_1_Template, 2, 1, "div", 56);
|
|
28828
|
-
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_div_2_Template, 4,
|
|
28843
|
+
i0.ɵɵtemplate(2, TreeTableComponent_div_20_div_4_div_2_Template, 4, 4, "div", 82);
|
|
28829
28844
|
i0.ɵɵtemplate(3, TreeTableComponent_div_20_div_4_div_3_Template, 3, 12, "div", 58);
|
|
28830
28845
|
i0.ɵɵtemplate(4, TreeTableComponent_div_20_div_4_div_4_Template, 3, 5, "div", 59);
|
|
28831
28846
|
i0.ɵɵtemplate(5, TreeTableComponent_div_20_div_4_div_5_Template, 4, 3, "div", 60);
|
|
@@ -28863,21 +28878,21 @@
|
|
|
28863
28878
|
function TreeTableComponent_div_20_div_5_div_3_Template(rf, ctx) {
|
|
28864
28879
|
if (rf & 1) {
|
|
28865
28880
|
i0.ɵɵelementStart(0, "div");
|
|
28866
|
-
i0.ɵɵelement(1, "sme-validation-alert",
|
|
28881
|
+
i0.ɵɵelement(1, "sme-validation-alert", 97);
|
|
28867
28882
|
i0.ɵɵelementEnd();
|
|
28868
28883
|
}
|
|
28869
28884
|
if (rf & 2) {
|
|
28870
|
-
var
|
|
28885
|
+
var validationResultItem_r166 = ctx.$implicit;
|
|
28871
28886
|
i0.ɵɵadvance(1);
|
|
28872
|
-
i0.ɵɵproperty("alert",
|
|
28887
|
+
i0.ɵɵproperty("alert", validationResultItem_r166.alert);
|
|
28873
28888
|
}
|
|
28874
28889
|
}
|
|
28875
28890
|
function TreeTableComponent_div_20_div_5_Template(rf, ctx) {
|
|
28876
28891
|
if (rf & 1) {
|
|
28877
|
-
i0.ɵɵelementStart(0, "div",
|
|
28892
|
+
i0.ɵɵelementStart(0, "div", 94);
|
|
28878
28893
|
i0.ɵɵelementStart(1, "div", 50);
|
|
28879
|
-
i0.ɵɵelementStart(2, "div",
|
|
28880
|
-
i0.ɵɵtemplate(3, TreeTableComponent_div_20_div_5_div_3_Template, 2, 1, "div",
|
|
28894
|
+
i0.ɵɵelementStart(2, "div", 95);
|
|
28895
|
+
i0.ɵɵtemplate(3, TreeTableComponent_div_20_div_5_div_3_Template, 2, 1, "div", 96);
|
|
28881
28896
|
i0.ɵɵelementEnd();
|
|
28882
28897
|
i0.ɵɵelementEnd();
|
|
28883
28898
|
i0.ɵɵelementEnd();
|
|
@@ -28893,9 +28908,9 @@
|
|
|
28893
28908
|
}
|
|
28894
28909
|
function TreeTableComponent_div_20_Template(rf, ctx) {
|
|
28895
28910
|
if (rf & 1) {
|
|
28896
|
-
var
|
|
28911
|
+
var _r169_2 = i0.ɵɵgetCurrentView();
|
|
28897
28912
|
i0.ɵɵelementStart(0, "div", 78);
|
|
28898
|
-
i0.ɵɵlistener("keydown", function TreeTableComponent_div_20_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(
|
|
28913
|
+
i0.ɵɵlistener("keydown", function TreeTableComponent_div_20_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var ctx_r168 = i0.ɵɵnextContext(); return ctx_r168.onContentTablePressed($event); })("keyup", function TreeTableComponent_div_20_Template_div_keyup_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var ctx_r170 = i0.ɵɵnextContext(); return ctx_r170.onContentTableKeyUp($event); })("contextmenu", function TreeTableComponent_div_20_Template_div_contextmenu_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r171 = i0.ɵɵnextContext(); return ctx_r171.enableRightClickSelect ? ctx_r171.selectItem($event, renderedItem_r78) : true; })("click", function TreeTableComponent_div_20_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r172 = i0.ɵɵnextContext(); return ctx_r172.selectItem($event, renderedItem_r78); })("dblclick", function TreeTableComponent_div_20_Template_div_dblclick_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r173 = i0.ɵɵnextContext(); return ctx_r173.doubleClickRow($event, renderedItem_r78); })("focus", function TreeTableComponent_div_20_Template_div_focus_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r174 = i0.ɵɵnextContext(); return ctx_r174.onContentItemFocused($event, renderedItem_r78); })("focusin", function TreeTableComponent_div_20_Template_div_focusin_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r175 = i0.ɵɵnextContext(); return ctx_r175.onContentItemFocused($event, renderedItem_r78); })("focusout", function TreeTableComponent_div_20_Template_div_focusout_0_listener($event) { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r176 = i0.ɵɵnextContext(); return ctx_r176.onContentItemBlurred($event, renderedItem_r78); })("mouseenter", function TreeTableComponent_div_20_Template_div_mouseenter_0_listener() { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r177 = i0.ɵɵnextContext(); return ctx_r177.setHoveredRenderedItem(renderedItem_r78); })("mouseleave", function TreeTableComponent_div_20_Template_div_mouseleave_0_listener() { i0.ɵɵrestoreView(_r169_2); var renderedItem_r78 = ctx.$implicit; var ctx_r178 = i0.ɵɵnextContext(); return ctx_r178.unsetHoveredRenderedItem(renderedItem_r78); });
|
|
28899
28914
|
i0.ɵɵelementStart(1, "div", 79);
|
|
28900
28915
|
i0.ɵɵelementStart(2, "div", 50);
|
|
28901
28916
|
i0.ɵɵtemplate(3, TreeTableComponent_div_20_div_3_Template, 4, 5, "div", 80);
|
|
@@ -28922,16 +28937,16 @@
|
|
|
28922
28937
|
}
|
|
28923
28938
|
function TreeTableComponent_div_26_Template(rf, ctx) {
|
|
28924
28939
|
if (rf & 1) {
|
|
28925
|
-
var
|
|
28926
|
-
i0.ɵɵelementStart(0, "div",
|
|
28927
|
-
i0.ɵɵlistener("focus", function TreeTableComponent_div_26_Template_div_focus_0_listener($event) { i0.ɵɵrestoreView(
|
|
28940
|
+
var _r181_2 = i0.ɵɵgetCurrentView();
|
|
28941
|
+
i0.ɵɵelementStart(0, "div", 98, 99);
|
|
28942
|
+
i0.ɵɵlistener("focus", function TreeTableComponent_div_26_Template_div_focus_0_listener($event) { i0.ɵɵrestoreView(_r181_2); var ctx_r180 = i0.ɵɵnextContext(); return ctx_r180.onLastFocusableShadowElementFocused($event); });
|
|
28928
28943
|
i0.ɵɵelementEnd();
|
|
28929
28944
|
}
|
|
28930
28945
|
}
|
|
28931
28946
|
function TreeTableComponent_div_27_Template(rf, ctx) {
|
|
28932
28947
|
if (rf & 1) {
|
|
28933
|
-
i0.ɵɵelementStart(0, "div",
|
|
28934
|
-
i0.ɵɵelement(1, "sme-loading-wheel",
|
|
28948
|
+
i0.ɵɵelementStart(0, "div", 100);
|
|
28949
|
+
i0.ɵɵelement(1, "sme-loading-wheel", 101);
|
|
28935
28950
|
i0.ɵɵelementEnd();
|
|
28936
28951
|
}
|
|
28937
28952
|
if (rf & 2) {
|
|
@@ -32714,7 +32729,7 @@
|
|
|
32714
32729
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastFocusableShadowElement = _t.first);
|
|
32715
32730
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dataTableTemplateLoaderComponents = _t);
|
|
32716
32731
|
}
|
|
32717
|
-
}, inputs: { isBusy: "isBusy", enableRightClickSelect: "enableRightClickSelect", loadingMessage: "loadingMessage", noRecordMessage: "noRecordMessage", editable: "editable", expandTreeNodeOnChecked: "expandTreeNodeOnChecked", isAllEditableRowsVisible: "isAllEditableRowsVisible", scrollableHorizontal: "scrollableHorizontal", lazyLoad: "lazyLoad", rememberTreeNodeToggle: "rememberTreeNodeToggle", rememberSelection: "rememberSelection", preventEnterKeyForDefaultAction: "preventEnterKeyForDefaultAction", getItemIdentityFunction: "getItemIdentityFunction", disableNaturalSort: "disableNaturalSort", shouldScrollToSelectionAfterSorting: "shouldScrollToSelectionAfterSorting", globalFilter: "globalFilter", caseSensitiveFilter: "caseSensitiveFilter", showAsTree: "showAsTree", editableNewDataItem: "editableNewDataItem", items: "items", selection: "selection", selectionMode: "selectionMode", defaultSortColumn: "defaultSortColumn", defaultSortMode: "defaultSortMode", groupColumn: "groupColumn", groupSortMode: "groupSortMode", useGroupToggle: "useGroupToggle", showHeader: "showHeader", tableAriaLabelledBy: "tableAriaLabelledBy", tableAriaLabel: "tableAriaLabel", showGrid: "showGrid", showAllItemCheckbox: "showAllItemCheckbox", selectAndCheck: "selectAndCheck", rowHeight: "rowHeight", linkParentChildrenSelections: "linkParentChildrenSelections", selectItemWhenNavigatingWithKeyboard: "selectItemWhenNavigatingWithKeyboard", showLeftMargin: "showLeftMargin", scrollable: "scrollable", disableUIVirtualization: "disableUIVirtualization", selectable: "selectable", editableAutoNewRow: "editableAutoNewRow", defaultGroupToggleExpanded: "defaultGroupToggleExpanded", autoRowHeight: "autoRowHeight", virtualCount: "virtualCount" }, outputs: { onChangesetUpdated: "onChangesetUpdated", changesetUpdated: "changesetUpdated", selectionChange: "selectionChange", onRowDblclick: "onRowDblclick", rowDblclick: "rowDblclick", onGroupToggleClicked: "onGroupToggleClicked", groupToggleClick: "groupToggleClick", onNewEditableRowAdded: "onNewEditableRowAdded", editableRowAdded: "editableRowAdded", renderedItemsChange: "renderedItemsChange", lazyLoadingData: "lazyLoadingData", onNodeExpand: "onNodeExpand", nodeExpanded: "nodeExpanded", onNodeCollapsed: "onNodeCollapsed", nodeCollapsed: "nodeCollapsed", onNodeSelect: "onNodeSelect", nodeSelected: "nodeSelected", itemsChange: "itemsChange", onFilter: "onFilter", filter: "filter", doCustomSort: "doCustomSort", onRowSelect: "onRowSelect", rowSelected: "rowSelected", onRowUnselect: "onRowUnselect", rowUnselected: "rowUnselected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function DataTableComponent_Template(rf, ctx) {
|
|
32732
|
+
}, inputs: { isBusy: "isBusy", enableRightClickSelect: "enableRightClickSelect", loadingMessage: "loadingMessage", noRecordMessage: "noRecordMessage", editable: "editable", expandTreeNodeOnChecked: "expandTreeNodeOnChecked", isAllEditableRowsVisible: "isAllEditableRowsVisible", scrollableHorizontal: "scrollableHorizontal", lazyLoad: "lazyLoad", rememberTreeNodeToggle: "rememberTreeNodeToggle", rememberSelection: "rememberSelection", preventEnterKeyForDefaultAction: "preventEnterKeyForDefaultAction", getItemIdentityFunction: "getItemIdentityFunction", disableNaturalSort: "disableNaturalSort", shouldScrollToSelectionAfterSorting: "shouldScrollToSelectionAfterSorting", globalFilter: "globalFilter", caseSensitiveFilter: "caseSensitiveFilter", showAsTree: "showAsTree", editableNewDataItem: "editableNewDataItem", items: "items", selection: "selection", selectionMode: "selectionMode", defaultSortColumn: "defaultSortColumn", defaultSortMode: "defaultSortMode", groupColumn: "groupColumn", groupSortMode: "groupSortMode", useGroupToggle: "useGroupToggle", showHeader: "showHeader", tableAriaLabelledBy: "tableAriaLabelledBy", tableAriaLabel: "tableAriaLabel", showGrid: "showGrid", showAllItemCheckbox: "showAllItemCheckbox", selectAndCheck: "selectAndCheck", rowHeight: "rowHeight", linkParentChildrenSelections: "linkParentChildrenSelections", selectItemWhenNavigatingWithKeyboard: "selectItemWhenNavigatingWithKeyboard", showLeftMargin: "showLeftMargin", scrollable: "scrollable", disableUIVirtualization: "disableUIVirtualization", selectable: "selectable", editableAutoNewRow: "editableAutoNewRow", defaultGroupToggleExpanded: "defaultGroupToggleExpanded", autoRowHeight: "autoRowHeight", virtualCount: "virtualCount" }, outputs: { onChangesetUpdated: "onChangesetUpdated", changesetUpdated: "changesetUpdated", selectionChange: "selectionChange", onRowDblclick: "onRowDblclick", rowDblclick: "rowDblclick", onGroupToggleClicked: "onGroupToggleClicked", groupToggleClick: "groupToggleClick", onNewEditableRowAdded: "onNewEditableRowAdded", editableRowAdded: "editableRowAdded", renderedItemsChange: "renderedItemsChange", lazyLoadingData: "lazyLoadingData", onNodeExpand: "onNodeExpand", nodeExpanded: "nodeExpanded", onNodeCollapsed: "onNodeCollapsed", nodeCollapsed: "nodeCollapsed", onNodeSelect: "onNodeSelect", nodeSelected: "nodeSelected", itemsChange: "itemsChange", onFilter: "onFilter", filter: "filter", doCustomSort: "doCustomSort", onRowSelect: "onRowSelect", rowSelected: "rowSelected", onRowUnselect: "onRowUnselect", rowUnselected: "rowUnselected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", "class", "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", 1, "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "id", "click", 4, "ngIf"], [1, "sme-table-cell", 3, "id", "click"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function DataTableComponent_Template(rf, ctx) {
|
|
32718
32733
|
if (rf & 1) {
|
|
32719
32734
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
32720
32735
|
i0.ɵɵelementStart(2, "div", 2, 3);
|
|
@@ -33034,7 +33049,7 @@
|
|
|
33034
33049
|
return TreeTableComponent;
|
|
33035
33050
|
}(DataTableComponent));
|
|
33036
33051
|
/** @nocollapse */ TreeTableComponent.ɵfac = function TreeTableComponent_Factory(t) { return new (t || TreeTableComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
33037
|
-
/** @nocollapse */ TreeTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TreeTableComponent, selectors: [["sme-tree-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["resizerHostSelector", "div.sme-table-header", "orientation", "left", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function TreeTableComponent_Template(rf, ctx) {
|
|
33052
|
+
/** @nocollapse */ TreeTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TreeTableComponent, selectors: [["sme-tree-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 45, consts: [["role", "presentation", 1, "sme-table-header", "sme-focus-zone", "sme-data-table-transition"], ["header", ""], ["role", "rowgroup", 1, "sme-table", "sme-table-virtualized"], ["headerTable", ""], ["role", "row", 1, "sme-table-row", "sme-arrange-stack-h", "sme-position-flex-auto", 3, "keydown"], [1, "sme-table-caption"], ["class", "sme-table-checkbox sme-table-header-checkbox", "role", "presentation", 4, "ngIf"], ["role", "presentation", 3, "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-focus-zone", "sme-table-container", "sme-data-table-transition"], ["content", ""], ["role", "rowgroup", 1, "sme-table-scroll-container", "sme-layout-absolute", "sme-position-inset-none", 3, "ngClass"], ["scrollContainer", ""], ["role", "row", "class", "sme-table-row sme-table-row-placeholder", "tabindex", "0", 4, "ngIf"], ["role", "presentation", 1, "sme-layout-relative", "sme-position-stretch-h", "sme-arrange-overflow-hide"], ["scrollBody", ""], ["sme-lint-disable", "", 1, "sme-table", "sme-table-scrollable", "sme-table-virtualized", 3, "ngStyle"], ["scrollAboveData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", 4, "ngFor", "ngForOf"], ["sme-lint-disable", "", "role", "presentation", 1, "sme-table", "sme-table-scrollable", 3, "ngStyle"], ["scrollData", ""], ["class", "sme-table-row sme-table-row-data sme-table-row-selectable", "role", "row", 3, "sme-table-row-active", "sme-table-row-selected", "sme-table-group-item", "sme-table-group-header", "sme-checked", "sme-table-row-editable", "sme-has-validation-error", "sme-data-table-row-new-item", "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf"], [1, "sme-table-row"], ["tempRow", ""], ["tabindex", "0", 1, "sme-table-td"], [1, "sme-table-cell"], ["class", "sme-focus-zone", "data-sme-last-focusable-shadow-element", "", "tabindex", "0", 3, "focus", 4, "ngIf"], ["class", "sme-layout-absolute sme-position-inset-none", 4, "ngIf"], [1, "sme-width-xxs", "sme-layout-absolute", "sme-position-stretch-v", "sme-background-color-base-80", "sme-layer-flyout", "sme-layout-none"], ["resizerIndicator", ""], ["role", "presentation", 1, "sme-table-checkbox", "sme-table-header-checkbox"], ["sme-lint-disable-self", "", "type", "checkbox", 3, "checked", "change"], ["role", "presentation"], ["role", "presentation", 3, "ngStyle"], ["class", "sme-table-header-cell sme-focus-zone", "role", "columnheader", "aria-live", "polite", "tabindex", "0", 3, "title", "click", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 3, "title", 4, "ngIf"], ["class", "sme-table-header-cell", "role", "columnheader", 4, "ngIf"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", "class", "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing", 4, "ngIf"], ["role", "columnheader", "aria-live", "polite", "tabindex", "0", 1, "sme-table-header-cell", "sme-focus-zone", 3, "title", "click"], [1, "sme-icon", "sme-margin-left-xxs", 3, "ngClass"], ["role", "columnheader", 1, "sme-table-header-cell", 3, "title"], ["role", "columnheader", 1, "sme-table-header-cell"], ["tabindex", "0", "resizerHostSelector", "div.sme-table-header", "orientation", "left", 1, "sme-focus-zone", 3, "visibleToScreenReader", "showResizerCover", "resized", "resizing"], ["role", "row", "tabindex", "0", 1, "sme-table-row", "sme-table-row-placeholder"], ["emptyMessage", ""], [3, "message", 4, "ngIf"], [1, "sme-table-cell", "sme-table-cell-placeholder"], ["role", "cell", 1, "sme-table-cell"], [3, "message"], [1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable"], [1, "sme-arrange-stack-h"], [1, "sme-table-td", "sme-position-flex-auto"], ["class", "sme-table-checkbox", "role", "presentation", 4, "ngIf"], [3, "ngClass", "ngStyle", "class", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-table-checkbox"], ["type", "checkbox", 3, "checked"], [3, "ngClass", "ngStyle"], ["class", "sme-screen-reader sme-screen-reader-disable-copy", 4, "ngIf"], ["class", "sme-table-cell", 3, "click", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "sme-table-expander-cell", 3, "ngStyle", 4, "ngIf"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 4, "ngIf"], [4, "ngIf"], [1, "sme-screen-reader", "sme-screen-reader-disable-copy"], [1, "sme-table-cell", 3, "click"], ["class", "sme-icon sme-icon-size-xxs sme-margin-right-xxs", 3, "ngClass", 4, "ngIf"], [1, "sme-icon", "sme-icon-size-xxs", "sme-margin-right-xxs", 3, "ngClass"], [3, "template", "data"], [1, "sme-table-expander-cell", 3, "ngStyle", "ngClass"], ["role", "button", 1, "sme-icon", "sme-icon-size-xxs", 3, "ngClass", "click"], [1, "sme-table-expander-cell-placeholder"], [1, "sme-table-expander-cell", 3, "ngStyle"], ["size", "extra-small", 3, "inline", "isBackgroundTransparent"], ["role", "presentation", 1, "sme-table-cell", "sme-table-checkbox-container"], ["type", "checkbox", 3, "checked", "change"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "sme-table-cell-height-auto", 4, "ngIf"], [3, "template", "data", "rowIndex", 4, "ngIf"], [3, "template", "data", "rowIndex"], ["role", "row", 1, "sme-table-row", "sme-table-row-data", "sme-table-row-selectable", 3, "keydown", "keyup", "contextmenu", "click", "dblclick", "focus", "focusin", "focusout", "mouseenter", "mouseleave"], ["role", "presentation", 1, "sme-arrange-stack-h"], ["class", "sme-table-cell sme-table-checkbox-container", "role", "presentation", 3, "sme-table-cell-full-height", 4, "ngIf"], ["class", "sme-table-row-validation", 4, "ngIf"], ["class", "sme-table-cell", 3, "id", "click", 4, "ngIf"], [1, "sme-table-cell", 3, "id", "click"], ["class", "sme-table-cell", 3, "sme-table-cell-full-height", "id", 4, "ngIf"], ["class", "sme-table-cell", 3, "sme-table-cell-height-auto", "sme-table-cell-full-height", "id", 4, "ngIf"], [1, "sme-table-cell", 3, "id"], ["class", "sme-table-cell", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex", 4, "ngIf"], [3, "renderedItem", "template", "data", "rowIndex"], ["class", "sme-table-cell sme-table-edit-container", 4, "ngIf"], [1, "sme-table-cell", "sme-table-edit-container"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged", 4, "ngIf"], [3, "template", "field", "data", "rowIndex", "renderedItem", "validationAlert", "dataChanged"], [1, "sme-table-row-validation"], ["role", "presentation", 1, "sme-table-cell"], [4, "ngFor", "ngForOf"], [3, "alert"], ["data-sme-last-focusable-shadow-element", "", "tabindex", "0", 1, "sme-focus-zone", 3, "focus"], ["lastFocusableShadowElement", ""], [1, "sme-layout-absolute", "sme-position-inset-none"], [3, "isBackgroundTransparent"]], template: function TreeTableComponent_Template(rf, ctx) {
|
|
33038
33053
|
if (rf & 1) {
|
|
33039
33054
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
33040
33055
|
i0.ɵɵelementStart(2, "div", 2, 3);
|
|
@@ -33814,7 +33829,6 @@
|
|
|
33814
33829
|
* @param tab The tab to select
|
|
33815
33830
|
*/
|
|
33816
33831
|
PivotComponent.prototype.select = function (tab) {
|
|
33817
|
-
var _this = this;
|
|
33818
33832
|
/** At any given time we should have an attribute that lets us know if a tab is visible or not.
|
|
33819
33833
|
*
|
|
33820
33834
|
*
|
|
@@ -33834,14 +33848,14 @@
|
|
|
33834
33848
|
this.selection = tab;
|
|
33835
33849
|
this.selectionChange.emit(tab);
|
|
33836
33850
|
this.changeDetectorRef.detectChanges();
|
|
33837
|
-
|
|
33838
|
-
_this.layoutChanged.emit();
|
|
33839
|
-
});
|
|
33851
|
+
this.emitLayoutChanged();
|
|
33840
33852
|
}
|
|
33841
33853
|
};
|
|
33854
|
+
PivotComponent.prototype.emitLayoutChanged = function () {
|
|
33855
|
+
this.layoutChanged.emit();
|
|
33856
|
+
};
|
|
33842
33857
|
PivotComponent.prototype.onLayoutChanged = function () {
|
|
33843
|
-
|
|
33844
|
-
setTimeout(function () { _this.updatePivotTabs(); }, 0);
|
|
33858
|
+
this.updatePivotTabs();
|
|
33845
33859
|
};
|
|
33846
33860
|
PivotComponent.prototype.getTabPanelIndex = function (id, currentTab) {
|
|
33847
33861
|
var tabPanelSection = document.getElementById(id);
|
|
@@ -33905,9 +33919,7 @@
|
|
|
33905
33919
|
currentFill += tabWidth;
|
|
33906
33920
|
}
|
|
33907
33921
|
}
|
|
33908
|
-
|
|
33909
|
-
PivotComponent.prototype.tabWidthChanged = function (pivotTab) {
|
|
33910
|
-
this.updatePivotTabs();
|
|
33922
|
+
this.emitLayoutChanged();
|
|
33911
33923
|
};
|
|
33912
33924
|
return PivotComponent;
|
|
33913
33925
|
}(CoreBaseComponent));
|
|
@@ -33991,6 +34003,18 @@
|
|
|
33991
34003
|
SmeInject(i0.ChangeDetectorRef),
|
|
33992
34004
|
__metadata("design:type", i0.ChangeDetectorRef)
|
|
33993
34005
|
], PivotComponent.prototype, "changeDetectorRef", void 0);
|
|
34006
|
+
__decorate([
|
|
34007
|
+
debounce_decorators.Debounce(),
|
|
34008
|
+
__metadata("design:type", Function),
|
|
34009
|
+
__metadata("design:paramtypes", []),
|
|
34010
|
+
__metadata("design:returntype", void 0)
|
|
34011
|
+
], PivotComponent.prototype, "emitLayoutChanged", null);
|
|
34012
|
+
__decorate([
|
|
34013
|
+
debounce_decorators.Debounce(0),
|
|
34014
|
+
__metadata("design:type", Function),
|
|
34015
|
+
__metadata("design:paramtypes", []),
|
|
34016
|
+
__metadata("design:returntype", void 0)
|
|
34017
|
+
], PivotComponent.prototype, "onLayoutChanged", null);
|
|
33994
34018
|
(function () {
|
|
33995
34019
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PivotComponent, [{
|
|
33996
34020
|
type: i0.Component,
|
|
@@ -34041,7 +34065,7 @@
|
|
|
34041
34065
|
}], changeDetectorRef: [], dropDownButtonElement: [{
|
|
34042
34066
|
type: i0.ViewChild,
|
|
34043
34067
|
args: ['dropDownButton']
|
|
34044
|
-
}] });
|
|
34068
|
+
}], emitLayoutChanged: [], onLayoutChanged: [] });
|
|
34045
34069
|
})();
|
|
34046
34070
|
|
|
34047
34071
|
var PivotModule = /** @class */ (function () {
|
|
@@ -50418,8 +50442,8 @@
|
|
|
50418
50442
|
|
|
50419
50443
|
function SettingsComponent_div_1_Template(rf, ctx) {
|
|
50420
50444
|
if (rf & 1) {
|
|
50421
|
-
i0.ɵɵelementStart(0, "div",
|
|
50422
|
-
i0.ɵɵelementStart(1, "h2",
|
|
50445
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
50446
|
+
i0.ɵɵelementStart(1, "h2", 9);
|
|
50423
50447
|
i0.ɵɵtext(2);
|
|
50424
50448
|
i0.ɵɵelementEnd();
|
|
50425
50449
|
i0.ɵɵelementEnd();
|
|
@@ -50514,20 +50538,38 @@
|
|
|
50514
50538
|
'sme-settings'
|
|
50515
50539
|
]);
|
|
50516
50540
|
};
|
|
50541
|
+
SettingsComponent.prototype.isPaddingRequired = function () {
|
|
50542
|
+
if (this.layoutComponent && this.layoutComponent.currentLayoutDefinition) {
|
|
50543
|
+
return this.addPadding = this.layoutComponent.currentLayoutDefinition.name === 'narrow';
|
|
50544
|
+
}
|
|
50545
|
+
};
|
|
50517
50546
|
return SettingsComponent;
|
|
50518
50547
|
}(CoreBaseComponent));
|
|
50519
50548
|
/** @nocollapse */ SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
50520
|
-
/** @nocollapse */ SettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["sme-settings"]],
|
|
50549
|
+
/** @nocollapse */ SettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["sme-settings"]], viewQuery: function SettingsComponent_Query(rf, ctx) {
|
|
50550
|
+
if (rf & 1) {
|
|
50551
|
+
i0.ɵɵviewQuery(LayoutComponent, 1);
|
|
50552
|
+
}
|
|
50553
|
+
if (rf & 2) {
|
|
50554
|
+
var _t = void 0;
|
|
50555
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.layoutComponent = _t.first);
|
|
50556
|
+
}
|
|
50557
|
+
}, inputs: { backRoute: "backRoute", settingsTitle: "settingsTitle" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$O, decls: 12, vars: 8, consts: [[1, "sme-arrange-stack-v", "sme-layout-relative", "sme-arrange-overflow-auto-y", "sme-position-stretch"], ["class", " sme-layout-tool-header sme-position-flex-none sme-arrange-ellipsis", 4, "ngIf"], [1, "sme-position-flex-auto", "sme-arrange-overflow-auto", 3, "padLastItem", "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan"], [3, "columnSpan", "ngClass"], [1, "sme-layout-tool-header", "sme-position-flex-none", "sme-arrange-ellipsis"], [1, "sme-font-h3", 3, "title"]], template: function SettingsComponent_Template(rf, ctx) {
|
|
50521
50558
|
if (rf & 1) {
|
|
50522
50559
|
i0.ɵɵprojectionDef(_c0$1u);
|
|
50523
50560
|
i0.ɵɵelementStart(0, "div", 0);
|
|
50524
50561
|
i0.ɵɵtemplate(1, SettingsComponent_div_1_Template, 3, 3, "div", 1);
|
|
50525
|
-
i0.ɵɵelementStart(2, "
|
|
50526
|
-
i0.ɵɵ
|
|
50527
|
-
i0.ɵɵ
|
|
50528
|
-
i0.ɵɵ
|
|
50529
|
-
i0.ɵɵ
|
|
50530
|
-
i0.ɵɵprojection(7
|
|
50562
|
+
i0.ɵɵelementStart(2, "sme-layout", 2, 3);
|
|
50563
|
+
i0.ɵɵlistener("layoutChanged", function SettingsComponent_Template_sme_layout_layoutChanged_2_listener() { return ctx.isPaddingRequired(); });
|
|
50564
|
+
i0.ɵɵelement(4, "sme-layout-definition", 4);
|
|
50565
|
+
i0.ɵɵelement(5, "sme-layout-definition", 5);
|
|
50566
|
+
i0.ɵɵelementStart(6, "sme-layout-item", 6);
|
|
50567
|
+
i0.ɵɵprojection(7);
|
|
50568
|
+
i0.ɵɵelementEnd();
|
|
50569
|
+
i0.ɵɵelementStart(8, "sme-layout-item", 7);
|
|
50570
|
+
i0.ɵɵprojection(9, 1);
|
|
50571
|
+
i0.ɵɵprojection(10, 2);
|
|
50572
|
+
i0.ɵɵprojection(11, 3);
|
|
50531
50573
|
i0.ɵɵelementEnd();
|
|
50532
50574
|
i0.ɵɵelementEnd();
|
|
50533
50575
|
i0.ɵɵelementEnd();
|
|
@@ -50535,8 +50577,18 @@
|
|
|
50535
50577
|
if (rf & 2) {
|
|
50536
50578
|
i0.ɵɵadvance(1);
|
|
50537
50579
|
i0.ɵɵproperty("ngIf", ctx.settingsTitle);
|
|
50580
|
+
i0.ɵɵadvance(1);
|
|
50581
|
+
i0.ɵɵproperty("padLastItem", false);
|
|
50582
|
+
i0.ɵɵadvance(2);
|
|
50583
|
+
i0.ɵɵproperty("until", 800)("columns", 1);
|
|
50584
|
+
i0.ɵɵadvance(1);
|
|
50585
|
+
i0.ɵɵproperty("columns", 4);
|
|
50586
|
+
i0.ɵɵadvance(1);
|
|
50587
|
+
i0.ɵɵproperty("columnSpan", 1);
|
|
50588
|
+
i0.ɵɵadvance(2);
|
|
50589
|
+
i0.ɵɵproperty("columnSpan", 3)("ngClass", ctx.addPadding ? "sme-position-stretch sme-padding-left-xl" : "sme-position-stretch");
|
|
50538
50590
|
}
|
|
50539
|
-
}, directives: [i1$1.NgIf, TooltipDirective], encapsulation: 2 });
|
|
50591
|
+
}, directives: [i1$1.NgIf, LayoutComponent, LayoutDefinitionComponent, LayoutItemComponent, i1$1.NgClass, TooltipDirective], encapsulation: 2 });
|
|
50540
50592
|
__decorate([
|
|
50541
50593
|
SmeInject(SettingsFormService),
|
|
50542
50594
|
__metadata("design:type", SettingsFormService)
|
|
@@ -50556,6 +50608,9 @@
|
|
|
50556
50608
|
type: i0.Input
|
|
50557
50609
|
}], settingsTitle: [{
|
|
50558
50610
|
type: i0.Input
|
|
50611
|
+
}], layoutComponent: [{
|
|
50612
|
+
type: i0.ViewChild,
|
|
50613
|
+
args: [LayoutComponent]
|
|
50559
50614
|
}], settingsForms: [], dialogService: [] });
|
|
50560
50615
|
})();
|
|
50561
50616
|
|
|
@@ -50591,8 +50646,8 @@
|
|
|
50591
50646
|
|
|
50592
50647
|
function CommonSettingsComponent_header_2_Template(rf, ctx) {
|
|
50593
50648
|
if (rf & 1) {
|
|
50594
|
-
i0.ɵɵelementStart(0, "header",
|
|
50595
|
-
i0.ɵɵelementStart(1, "h2",
|
|
50649
|
+
i0.ɵɵelementStart(0, "header", 7);
|
|
50650
|
+
i0.ɵɵelementStart(1, "h2", 8);
|
|
50596
50651
|
i0.ɵɵtext(2);
|
|
50597
50652
|
i0.ɵɵelementEnd();
|
|
50598
50653
|
i0.ɵɵelementEnd();
|
|
@@ -50605,9 +50660,9 @@
|
|
|
50605
50660
|
i0.ɵɵtextInterpolate(ctx_r0.settingsTitle);
|
|
50606
50661
|
}
|
|
50607
50662
|
}
|
|
50608
|
-
function
|
|
50663
|
+
function CommonSettingsComponent_li_6_h3_1_Template(rf, ctx) {
|
|
50609
50664
|
if (rf & 1) {
|
|
50610
|
-
i0.ɵɵelementStart(0, "h3",
|
|
50665
|
+
i0.ɵɵelementStart(0, "h3", 12);
|
|
50611
50666
|
i0.ɵɵtext(1);
|
|
50612
50667
|
i0.ɵɵelementEnd();
|
|
50613
50668
|
}
|
|
@@ -50621,12 +50676,12 @@
|
|
|
50621
50676
|
i0.ɵɵtextInterpolate(group_r4.group);
|
|
50622
50677
|
}
|
|
50623
50678
|
}
|
|
50624
|
-
function
|
|
50679
|
+
function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) {
|
|
50625
50680
|
if (rf & 1) {
|
|
50626
|
-
i0.ɵɵelementStart(0, "a",
|
|
50627
|
-
i0.ɵɵelement(1, "div",
|
|
50628
|
-
i0.ɵɵelementStart(2, "div",
|
|
50629
|
-
i0.ɵɵelementStart(3, "span",
|
|
50681
|
+
i0.ɵɵelementStart(0, "a", 13);
|
|
50682
|
+
i0.ɵɵelement(1, "div", 14);
|
|
50683
|
+
i0.ɵɵelementStart(2, "div", 15);
|
|
50684
|
+
i0.ɵɵelementStart(3, "span", 16);
|
|
50630
50685
|
i0.ɵɵtext(4);
|
|
50631
50686
|
i0.ɵɵelementEnd();
|
|
50632
50687
|
i0.ɵɵelementEnd();
|
|
@@ -50649,11 +50704,11 @@
|
|
|
50649
50704
|
i0.ɵɵtextInterpolate(setting_r9.label);
|
|
50650
50705
|
}
|
|
50651
50706
|
}
|
|
50652
|
-
function
|
|
50707
|
+
function CommonSettingsComponent_li_6_Template(rf, ctx) {
|
|
50653
50708
|
if (rf & 1) {
|
|
50654
|
-
i0.ɵɵelementStart(0, "li",
|
|
50655
|
-
i0.ɵɵtemplate(1,
|
|
50656
|
-
i0.ɵɵtemplate(2,
|
|
50709
|
+
i0.ɵɵelementStart(0, "li", 9);
|
|
50710
|
+
i0.ɵɵtemplate(1, CommonSettingsComponent_li_6_h3_1_Template, 2, 3, "h3", 10);
|
|
50711
|
+
i0.ɵɵtemplate(2, CommonSettingsComponent_li_6_a_2_Template, 5, 19, "a", 11);
|
|
50657
50712
|
i0.ɵɵelementEnd();
|
|
50658
50713
|
}
|
|
50659
50714
|
if (rf & 2) {
|
|
@@ -50665,18 +50720,18 @@
|
|
|
50665
50720
|
i0.ɵɵproperty("ngForOf", group_r4.options);
|
|
50666
50721
|
}
|
|
50667
50722
|
}
|
|
50668
|
-
function
|
|
50723
|
+
function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) {
|
|
50669
50724
|
if (rf & 1) {
|
|
50670
50725
|
var _r15_1 = i0.ɵɵgetCurrentView();
|
|
50671
|
-
i0.ɵɵelementStart(0, "div",
|
|
50672
|
-
i0.ɵɵlistener("click", function
|
|
50726
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
50727
|
+
i0.ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var layer_r13 = ctx.$implicit; var ctx_r14 = i0.ɵɵnextContext(2); return ctx_r14.onOverlayClick(layer_r13); });
|
|
50673
50728
|
i0.ɵɵelementEnd();
|
|
50674
50729
|
}
|
|
50675
50730
|
}
|
|
50676
|
-
function
|
|
50731
|
+
function CommonSettingsComponent_div_7_Template(rf, ctx) {
|
|
50677
50732
|
if (rf & 1) {
|
|
50678
50733
|
i0.ɵɵelementStart(0, "div");
|
|
50679
|
-
i0.ɵɵtemplate(1,
|
|
50734
|
+
i0.ɵɵtemplate(1, CommonSettingsComponent_div_7_div_1_Template, 1, 0, "div", 17);
|
|
50680
50735
|
i0.ɵɵelementEnd();
|
|
50681
50736
|
}
|
|
50682
50737
|
if (rf & 2) {
|
|
@@ -50685,9 +50740,9 @@
|
|
|
50685
50740
|
i0.ɵɵproperty("ngForOf", ctx_r2.layers);
|
|
50686
50741
|
}
|
|
50687
50742
|
}
|
|
50688
|
-
function
|
|
50743
|
+
function CommonSettingsComponent_sme_settings_header_8_h3_1_Template(rf, ctx) {
|
|
50689
50744
|
if (rf & 1) {
|
|
50690
|
-
i0.ɵɵelementStart(0, "h3",
|
|
50745
|
+
i0.ɵɵelementStart(0, "h3", 20);
|
|
50691
50746
|
i0.ɵɵtext(1);
|
|
50692
50747
|
i0.ɵɵelementEnd();
|
|
50693
50748
|
}
|
|
@@ -50695,13 +50750,13 @@
|
|
|
50695
50750
|
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
50696
50751
|
i0.ɵɵattribute("aria-label", ctx_r16.selectedSettingTitle);
|
|
50697
50752
|
i0.ɵɵadvance(1);
|
|
50698
|
-
i0.ɵɵ
|
|
50753
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r16.selectedSettingTitle, "");
|
|
50699
50754
|
}
|
|
50700
50755
|
}
|
|
50701
|
-
function
|
|
50756
|
+
function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) {
|
|
50702
50757
|
if (rf & 1) {
|
|
50703
50758
|
i0.ɵɵelementStart(0, "sme-settings-header");
|
|
50704
|
-
i0.ɵɵtemplate(1,
|
|
50759
|
+
i0.ɵɵtemplate(1, CommonSettingsComponent_sme_settings_header_8_h3_1_Template, 2, 2, "h3", 19);
|
|
50705
50760
|
i0.ɵɵelementEnd();
|
|
50706
50761
|
}
|
|
50707
50762
|
if (rf & 2) {
|
|
@@ -50991,25 +51046,27 @@
|
|
|
50991
51046
|
var _t = void 0;
|
|
50992
51047
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
|
|
50993
51048
|
}
|
|
50994
|
-
}, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1v, decls:
|
|
51049
|
+
}, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1v, decls: 13, vars: 6, consts: [[3, "settingsTitle"], ["class", "sme-layout-tool-header", 4, "ngIf"], ["role", "region"], ["role", "tablist", 1, "sme-padding-horizontal-lg", "sme-arrange-stack-v", "sme-focus-zone"], ["role", "presentation", 1, "sme-position-flex-auto", "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-overflow-auto-y"], ["class", "sme-margin-inset-none", "role", "presentation", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "sme-layout-tool-header"], [1, "sme-position-flex-none", "sme-font-h3"], ["role", "presentation", 1, "sme-margin-inset-none"], ["class", "sme-margin-top-xs sme-font-h5", 3, "id", "title", 4, "ngIf"], ["class", "sme-padding-squish-v-sm sme-arrange-stack-h sme-scheme-nav-item", "role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", 4, "ngFor", "ngForOf"], [1, "sme-margin-top-xs", "sme-font-h5", 3, "id", "title"], ["role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 1, "sme-padding-squish-v-sm", "sme-arrange-stack-h", "sme-scheme-nav-item", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title"], [1, "sme-icon", "sme-margin-right-xs", 3, "ngClass"], [1, "sme-position-flex-auto"], [3, "id"], ["class", "sme-layout-absolute sme-position-inset-none sme-layer-above sme-scheme-backdrop-opaque", 3, "click", 4, "ngFor", "ngForOf"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-layer-above", "sme-scheme-backdrop-opaque", 3, "click"], ["id", "sme-shell-setting-selectedTitle", 4, "ngIf"], ["id", "sme-shell-setting-selectedTitle"]], template: function CommonSettingsComponent_Template(rf, ctx) {
|
|
50995
51050
|
if (rf & 1) {
|
|
50996
51051
|
i0.ɵɵprojectionDef();
|
|
50997
51052
|
i0.ɵɵelementStart(0, "sme-settings", 0);
|
|
50998
51053
|
i0.ɵɵelementStart(1, "sme-settings-navigation");
|
|
50999
51054
|
i0.ɵɵtemplate(2, CommonSettingsComponent_header_2_Template, 3, 2, "header", 1);
|
|
51000
|
-
i0.ɵɵelementStart(3, "
|
|
51001
|
-
i0.ɵɵelementStart(4, "
|
|
51002
|
-
i0.ɵɵ
|
|
51055
|
+
i0.ɵɵelementStart(3, "div", 2);
|
|
51056
|
+
i0.ɵɵelementStart(4, "nav", 3);
|
|
51057
|
+
i0.ɵɵelementStart(5, "ul", 4);
|
|
51058
|
+
i0.ɵɵtemplate(6, CommonSettingsComponent_li_6_Template, 3, 2, "li", 5);
|
|
51003
51059
|
i0.ɵɵelementEnd();
|
|
51004
51060
|
i0.ɵɵelementEnd();
|
|
51005
|
-
i0.ɵɵtemplate(6, CommonSettingsComponent_div_6_Template, 2, 1, "div", 5);
|
|
51006
51061
|
i0.ɵɵelementEnd();
|
|
51007
|
-
i0.ɵɵtemplate(7,
|
|
51008
|
-
i0.ɵɵelementStart(8, "sme-settings-content");
|
|
51009
|
-
i0.ɵɵelement(9, "router-outlet");
|
|
51062
|
+
i0.ɵɵtemplate(7, CommonSettingsComponent_div_7_Template, 2, 1, "div", 6);
|
|
51010
51063
|
i0.ɵɵelementEnd();
|
|
51011
|
-
i0.ɵɵ
|
|
51012
|
-
i0.ɵɵ
|
|
51064
|
+
i0.ɵɵtemplate(8, CommonSettingsComponent_sme_settings_header_8_Template, 2, 1, "sme-settings-header", 6);
|
|
51065
|
+
i0.ɵɵelementStart(9, "sme-settings-content");
|
|
51066
|
+
i0.ɵɵelement(10, "router-outlet");
|
|
51067
|
+
i0.ɵɵelementEnd();
|
|
51068
|
+
i0.ɵɵelementStart(11, "sme-settings-footer");
|
|
51069
|
+
i0.ɵɵprojection(12);
|
|
51013
51070
|
i0.ɵɵelementEnd();
|
|
51014
51071
|
i0.ɵɵelementEnd();
|
|
51015
51072
|
}
|
|
@@ -51017,6 +51074,8 @@
|
|
|
51017
51074
|
i0.ɵɵproperty("settingsTitle", ctx.hackToolHeader ? "" : ctx.settingsTitle);
|
|
51018
51075
|
i0.ɵɵadvance(2);
|
|
51019
51076
|
i0.ɵɵproperty("ngIf", ctx.hackToolHeader);
|
|
51077
|
+
i0.ɵɵadvance(1);
|
|
51078
|
+
i0.ɵɵattribute("aria-label", ctx.settingsTitle);
|
|
51020
51079
|
i0.ɵɵadvance(3);
|
|
51021
51080
|
i0.ɵɵproperty("ngForOf", ctx.groupTools);
|
|
51022
51081
|
i0.ɵɵadvance(1);
|
|
@@ -51133,7 +51192,8 @@
|
|
|
51133
51192
|
*/
|
|
51134
51193
|
SettingsContentComponent.prototype.getInitialHostClasses = function () {
|
|
51135
51194
|
return _super.prototype.getInitialHostClasses.call(this).concat([
|
|
51136
|
-
'sme-settings-content'
|
|
51195
|
+
'sme-settings-content',
|
|
51196
|
+
'sme-position-stretch'
|
|
51137
51197
|
]);
|
|
51138
51198
|
};
|
|
51139
51199
|
return SettingsContentComponent;
|
|
@@ -51365,6 +51425,7 @@
|
|
|
51365
51425
|
i1.RouterModule,
|
|
51366
51426
|
i1$1.CommonModule,
|
|
51367
51427
|
HeaderModule,
|
|
51428
|
+
LayoutModule,
|
|
51368
51429
|
TooltipModule
|
|
51369
51430
|
]] });
|
|
51370
51431
|
(function () {
|
|
@@ -51378,6 +51439,7 @@
|
|
|
51378
51439
|
CommonSettingsComponent], imports: [i1.RouterModule,
|
|
51379
51440
|
i1$1.CommonModule,
|
|
51380
51441
|
HeaderModule,
|
|
51442
|
+
LayoutModule,
|
|
51381
51443
|
TooltipModule], exports: [SettingsComponent,
|
|
51382
51444
|
SettingsFormDirective,
|
|
51383
51445
|
SettingsFooterComponent,
|
|
@@ -51395,6 +51457,7 @@
|
|
|
51395
51457
|
i1.RouterModule,
|
|
51396
51458
|
i1$1.CommonModule,
|
|
51397
51459
|
HeaderModule,
|
|
51460
|
+
LayoutModule,
|
|
51398
51461
|
TooltipModule
|
|
51399
51462
|
],
|
|
51400
51463
|
exports: [
|
|
@@ -51818,7 +51881,7 @@
|
|
|
51818
51881
|
*
|
|
51819
51882
|
* @param wizard the wizard component instance.
|
|
51820
51883
|
*/
|
|
51821
|
-
function WizardNavigationInformation(wizard) {
|
|
51884
|
+
function WizardNavigationInformation(wizard, wizardBuilder) {
|
|
51822
51885
|
/**
|
|
51823
51886
|
* The history of navigation of stage and step.
|
|
51824
51887
|
*/
|
|
@@ -51828,6 +51891,7 @@
|
|
|
51828
51891
|
*/
|
|
51829
51892
|
this.initialized = false;
|
|
51830
51893
|
this.wizard = wizard;
|
|
51894
|
+
this.wizardBuilder = wizardBuilder;
|
|
51831
51895
|
}
|
|
51832
51896
|
Object.defineProperty(WizardNavigationInformation.prototype, "navigationHistory", {
|
|
51833
51897
|
/**
|
|
@@ -52000,6 +52064,59 @@
|
|
|
52000
52064
|
}
|
|
52001
52065
|
return 0;
|
|
52002
52066
|
};
|
|
52067
|
+
/**
|
|
52068
|
+
* Creates a new WizardStep, and adds it to the specified WizardStage.
|
|
52069
|
+
* If the specified WizardStage does not exist, it will be created.
|
|
52070
|
+
*
|
|
52071
|
+
* @param stepName - The name for the new WizardStep.
|
|
52072
|
+
* @param stepComponentType - The componentType for the new WizardStep.
|
|
52073
|
+
* @param stageName - The name of the WizardStage in which this new WizardStep should be added.
|
|
52074
|
+
*/
|
|
52075
|
+
WizardNavigationInformation.prototype.addStepInStage = function (stepName, stepComponentType, stageName) {
|
|
52076
|
+
this.wizardBuilder.addStepInStage(stepName, stepComponentType, stageName);
|
|
52077
|
+
};
|
|
52078
|
+
/**
|
|
52079
|
+
* Creates a new WizardStep, and adds it to the specified WizardStage at the specified index.
|
|
52080
|
+
* If the specified WizardStage does not exist, it will be created.
|
|
52081
|
+
*
|
|
52082
|
+
* @param stepName - The name for the new WizardStep.
|
|
52083
|
+
* @param stepComponentType - The componentType for the new WizardStep.
|
|
52084
|
+
* @param stageName - The name of the WizardStage in which this new WizardStep should be added.
|
|
52085
|
+
* @param index - The step index to insert step (will increase index of existing step at given index by 1 if any)
|
|
52086
|
+
*/
|
|
52087
|
+
WizardNavigationInformation.prototype.addStepInStageByIndex = function (stepName, stepComponentType, stageName, index) {
|
|
52088
|
+
this.wizardBuilder.addStepInStageByIndex(stepName, stepComponentType, stageName, index);
|
|
52089
|
+
};
|
|
52090
|
+
/**
|
|
52091
|
+
* Removes WizardStep at specified index in specified stage.
|
|
52092
|
+
* If the specified stage or index does not exist, false will be returned.
|
|
52093
|
+
*
|
|
52094
|
+
* @param stageName - The name of the Wizard stage in which to remove the step.
|
|
52095
|
+
* @param index - The step index to be removed (will decrease indices of proceeding steps)
|
|
52096
|
+
* @returns - True if step is removed successfully, false otherwise.
|
|
52097
|
+
*/
|
|
52098
|
+
WizardNavigationInformation.prototype.removeStepInStageByIndex = function (stageName, index) {
|
|
52099
|
+
return this.wizardBuilder.removeStepInStageByIndex(stageName, index);
|
|
52100
|
+
};
|
|
52101
|
+
/**
|
|
52102
|
+
* Creates a new WizardStage at the specified index.
|
|
52103
|
+
*
|
|
52104
|
+
* @param stageName - The Name for the new WizardStage
|
|
52105
|
+
* @param index - The stage index to insert stage (will increase index of existing stage at given index by 1 if any)
|
|
52106
|
+
*/
|
|
52107
|
+
WizardNavigationInformation.prototype.addStageByIndex = function (stageName, index) {
|
|
52108
|
+
this.wizardBuilder.addStageByIndex(stageName, index);
|
|
52109
|
+
};
|
|
52110
|
+
/**
|
|
52111
|
+
* Clears all steps from given stage.
|
|
52112
|
+
* If the specified stage does not exist, false will be returned.
|
|
52113
|
+
*
|
|
52114
|
+
* @param stageName - The name of the Wizard stage to clear steps from.
|
|
52115
|
+
* @returns - True if stage is cleared successfully, false otherwise.
|
|
52116
|
+
*/
|
|
52117
|
+
WizardNavigationInformation.prototype.clearStage = function (stageName) {
|
|
52118
|
+
return this.wizardBuilder.clearStage(stageName);
|
|
52119
|
+
};
|
|
52003
52120
|
return WizardNavigationInformation;
|
|
52004
52121
|
}());
|
|
52005
52122
|
WizardNavigationInformation.NoStageNoStep = -1;
|
|
@@ -52304,7 +52421,6 @@
|
|
|
52304
52421
|
message: _this.strings.MsftSmeShell.Angular.Wizard.disabledStepAlert,
|
|
52305
52422
|
};
|
|
52306
52423
|
_this.modelChange = new i0.EventEmitter();
|
|
52307
|
-
_this.navigationInformation = new WizardNavigationInformation(_this);
|
|
52308
52424
|
_this.isExpanded = true;
|
|
52309
52425
|
return _this;
|
|
52310
52426
|
}
|
|
@@ -52569,6 +52685,9 @@
|
|
|
52569
52685
|
}
|
|
52570
52686
|
else if (!this.onLastStage) {
|
|
52571
52687
|
this.stageIndex++;
|
|
52688
|
+
while (this.stages[this.stageIndex].steps.length === 0) {
|
|
52689
|
+
this.stageIndex++;
|
|
52690
|
+
}
|
|
52572
52691
|
this.stepIndex = 0;
|
|
52573
52692
|
}
|
|
52574
52693
|
this.emitStepChanged();
|
|
@@ -52595,6 +52714,9 @@
|
|
|
52595
52714
|
if (this.stageIndex !== 0) {
|
|
52596
52715
|
this.stages[this.stageIndex].active = false;
|
|
52597
52716
|
this.stageIndex--;
|
|
52717
|
+
while (this.stages[this.stageIndex].steps.length === 0) {
|
|
52718
|
+
this.stageIndex--;
|
|
52719
|
+
}
|
|
52598
52720
|
this.stepIndex = this.stages[this.stageIndex].steps.length - 1;
|
|
52599
52721
|
this.stages[this.stageIndex].completed = false;
|
|
52600
52722
|
}
|
|
@@ -52619,6 +52741,7 @@
|
|
|
52619
52741
|
*/
|
|
52620
52742
|
WizardComponent.prototype.ngOnInit = function () {
|
|
52621
52743
|
var _this = this;
|
|
52744
|
+
this.navigationInformation = new WizardNavigationInformation(this, this.wizardBuilder);
|
|
52622
52745
|
this.stages = this.wizardBuilder.stages;
|
|
52623
52746
|
this.heading = this.wizardBuilder.heading;
|
|
52624
52747
|
this.exitButtonTitle = this.wizardBuilder.exitButtonTitle;
|
|
@@ -53368,6 +53491,75 @@
|
|
|
53368
53491
|
this.stages.push(new WizardStage({ name: stageName, steps: [step] }));
|
|
53369
53492
|
}
|
|
53370
53493
|
};
|
|
53494
|
+
/**
|
|
53495
|
+
* Creates a new WizardStep, and adds it to the specified WizardStage at the specified index.
|
|
53496
|
+
* If the specified WizardStage does not exist, it will be created.
|
|
53497
|
+
*
|
|
53498
|
+
* @param stepName - The name for the new WizardStep.
|
|
53499
|
+
* @param stepComponentType - The componentType for the new WizardStep.
|
|
53500
|
+
* @param stageName - The name of the WizardStage in which this new WizardStep should be added.
|
|
53501
|
+
* @param index - The step index to insert step (will increase index of existing step at given index by 1 if any)
|
|
53502
|
+
*/
|
|
53503
|
+
WizardBuilder.prototype.addStepInStageByIndex = function (stepName, stepComponentType, stageName, index) {
|
|
53504
|
+
var step = new WizardStep(stepComponentType, { name: stepName });
|
|
53505
|
+
var existingStage = this.stages.find(function (eachStage) { return eachStage.name === stageName; });
|
|
53506
|
+
if (existingStage) {
|
|
53507
|
+
if (index > existingStage.steps.length - 1) {
|
|
53508
|
+
existingStage.steps.push(step);
|
|
53509
|
+
}
|
|
53510
|
+
else {
|
|
53511
|
+
existingStage.steps.splice(index, 0, step);
|
|
53512
|
+
}
|
|
53513
|
+
}
|
|
53514
|
+
else {
|
|
53515
|
+
this.stages.push(new WizardStage({ name: stageName, steps: [step] }));
|
|
53516
|
+
}
|
|
53517
|
+
};
|
|
53518
|
+
/**
|
|
53519
|
+
* Removes WizardStep at specified index in specified stage.
|
|
53520
|
+
* If the specified stage or index does not exist, false will be returned.
|
|
53521
|
+
*
|
|
53522
|
+
* @param stageName - The name of the Wizard stage in which to remove the step.
|
|
53523
|
+
* @param index - The step index to be removed (will decrease indices of proceeding steps)
|
|
53524
|
+
* @returns - True if step is removed successfully, false otherwise.
|
|
53525
|
+
*/
|
|
53526
|
+
WizardBuilder.prototype.removeStepInStageByIndex = function (stageName, index) {
|
|
53527
|
+
var stage = this.stages.find(function (eachStage) { return eachStage.name === stageName; });
|
|
53528
|
+
if (stage && index < stage.steps.length) {
|
|
53529
|
+
stage.steps.splice(index, 1);
|
|
53530
|
+
return true;
|
|
53531
|
+
}
|
|
53532
|
+
return false;
|
|
53533
|
+
};
|
|
53534
|
+
/**
|
|
53535
|
+
* Creates a new WizardStage at the specified index.
|
|
53536
|
+
*
|
|
53537
|
+
* @param stageName - The Name for the new WizardStage
|
|
53538
|
+
* @param index - The stage index to insert stage (will increase index of existing stage at given index by 1 if any)
|
|
53539
|
+
*/
|
|
53540
|
+
WizardBuilder.prototype.addStageByIndex = function (stageName, index) {
|
|
53541
|
+
if (index > this.stages.length - 1) {
|
|
53542
|
+
this.stages.push(new WizardStage({ name: stageName, steps: [] }));
|
|
53543
|
+
}
|
|
53544
|
+
else {
|
|
53545
|
+
this.stages.splice(index, 0, new WizardStage({ name: stageName, steps: [] }));
|
|
53546
|
+
}
|
|
53547
|
+
};
|
|
53548
|
+
/**
|
|
53549
|
+
* Clears all steps from given stage.
|
|
53550
|
+
* If the specified stage does not exist, false will be returned.
|
|
53551
|
+
*
|
|
53552
|
+
* @param stageName - The name of the Wizard stage to clear steps from.
|
|
53553
|
+
* @returns - True if stage is cleared successfully, false otherwise.
|
|
53554
|
+
*/
|
|
53555
|
+
WizardBuilder.prototype.clearStage = function (stageName) {
|
|
53556
|
+
var stage = this.stages.find(function (eachStage) { return eachStage.name === stageName; });
|
|
53557
|
+
if (stage) {
|
|
53558
|
+
stage.steps = [];
|
|
53559
|
+
return true;
|
|
53560
|
+
}
|
|
53561
|
+
return false;
|
|
53562
|
+
};
|
|
53371
53563
|
/**
|
|
53372
53564
|
* Creates a new WizardStep for the Finish view using the component specified.
|
|
53373
53565
|
*/
|
|
@@ -54155,13 +54347,16 @@
|
|
|
54155
54347
|
ConnectivityEnforcer.isRequestAllowed = function (connectivityLevel, requestUrl) {
|
|
54156
54348
|
var announcementsBlobGlobal = 'https://announcements.blob.core.windows.net';
|
|
54157
54349
|
var announcementsBlobChina = 'https://announcements.blob.core.chinacloudapi.cn';
|
|
54350
|
+
var announcementsBlobFairfax = 'https://announcements.blob.core.usgovcloudapi.net';
|
|
54158
54351
|
// TODO: Load from manifest.
|
|
54159
54352
|
if (connectivityLevel === exports.ConnectivityLevel.AzureAndGateway) {
|
|
54160
54353
|
var approvedUrls = [
|
|
54161
54354
|
azureConstants.AzureConstants.azureGlobalArmEndpoint,
|
|
54162
54355
|
azureConstants.AzureConstants.azureChinaArmEndpoint,
|
|
54356
|
+
azureConstants.AzureConstants.azureUSGovArmEndpoint,
|
|
54163
54357
|
announcementsBlobGlobal,
|
|
54164
|
-
announcementsBlobChina
|
|
54358
|
+
announcementsBlobChina,
|
|
54359
|
+
announcementsBlobFairfax
|
|
54165
54360
|
];
|
|
54166
54361
|
return approvedUrls.some(function (url) { return requestUrl.startsWith(url); });
|
|
54167
54362
|
}
|
|
@@ -55138,6 +55333,9 @@
|
|
|
55138
55333
|
* Generated bundle index. Do not edit.
|
|
55139
55334
|
*/
|
|
55140
55335
|
|
|
55336
|
+
exports.AccordionComponent = AccordionComponent;
|
|
55337
|
+
exports.AccordionModule = AccordionModule;
|
|
55338
|
+
exports.AccordionPanelComponent = AccordionPanelComponent;
|
|
55141
55339
|
exports.ActionBarComponent = ActionBarComponent;
|
|
55142
55340
|
exports.ActionBarDirective = ActionBarDirective;
|
|
55143
55341
|
exports.ActionButton = ActionButton;
|
|
@@ -55360,6 +55558,7 @@
|
|
|
55360
55558
|
exports.OrderedListFormFieldLoaderComponent = OrderedListFormFieldLoaderComponent;
|
|
55361
55559
|
exports.PageAlertBarComponent = PageAlertBarComponent;
|
|
55362
55560
|
exports.PageAlertBarModule = PageAlertBarModule;
|
|
55561
|
+
exports.PanelControlComponent = PanelControlComponent;
|
|
55363
55562
|
exports.PasswordFormFieldLoaderComponent = PasswordFormFieldLoaderComponent;
|
|
55364
55563
|
exports.PivotComponent = PivotComponent;
|
|
55365
55564
|
exports.PivotModule = PivotModule;
|