@microsoft/windows-admin-center-sdk 2.186.0 → 2.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular/assets/strings/cs-CZ/strings.json +1 -1
- package/angular/assets/strings/de-DE/strings.json +1 -1
- package/angular/assets/strings/es-ES/strings.json +1 -1
- package/angular/assets/strings/fr-FR/strings.json +1 -1
- package/angular/assets/strings/hu-HU/strings.json +1 -1
- package/angular/assets/strings/it-IT/strings.json +1 -1
- package/angular/assets/strings/ja-JP/strings.json +1 -1
- package/angular/assets/strings/ko-KR/strings.json +1 -1
- package/angular/assets/strings/nl-NL/strings.json +1 -1
- package/angular/assets/strings/pl-PL/strings.json +1 -1
- package/angular/assets/strings/pt-BR/strings.json +1 -1
- package/angular/assets/strings/pt-PT/strings.json +1 -1
- package/angular/assets/strings/ru-RU/strings.json +1 -1
- package/angular/assets/strings/strings.json +1 -1
- package/angular/assets/strings/sv-SE/strings.json +1 -1
- package/angular/assets/strings/tr-TR/strings.json +1 -1
- package/angular/assets/strings/zh-CN/strings.json +1 -1
- package/angular/assets/strings/zh-TW/strings.json +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js +1103 -1209
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js.map +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js +2 -2
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
- package/angular/esm2015/src/controls/actions/actions.module.js +2 -2
- package/angular/esm2015/src/controls/actions/containers/action-bar/action-bar.component.js +2 -2
- package/angular/esm2015/src/controls/actions/items/action-button/action-button-renderer.component.js +5 -5
- package/angular/esm2015/src/controls/actions/items/action-dropdown/action-dropdown.component.js +31 -13
- package/angular/esm2015/src/controls/actions/items/action-item.component.js +7 -3
- package/angular/esm2015/src/controls/badge/badge-base.component.js +2 -13
- package/angular/esm2015/src/controls/badge/bugfixes-feature-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/coming-soon-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/credssp-enabled-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/critical-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/custom-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/feedback-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/improvement-feature-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/new-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/new-feature-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/preview-badge.component.js +42 -70
- package/angular/esm2015/src/controls/badge/warning-badge.component.js +42 -70
- package/angular/esm2015/src/controls/breadcrumb/breadcrumb.component.js +6 -6
- package/angular/esm2015/src/controls/breadcrumb-header/breadcrumb-header.component.js +2 -2
- package/angular/esm2015/src/controls/data-table/data-table-column.component.js +5 -3
- package/angular/esm2015/src/controls/data-table/data-table.component.js +20 -26
- package/angular/esm2015/src/controls/data-table/extensions/data-table-column-picker-extension.js +2 -1
- package/angular/esm2015/src/controls/details/details.component.js +2 -2
- package/angular/esm2015/src/controls/dialog/base-dialog.component.js +1 -1
- package/angular/esm2015/src/controls/dialog/confirmation-dialog/confirmation-dialog.component.js +20 -30
- package/angular/esm2015/src/controls/dialog/dialog.service.js +7 -3
- package/angular/esm2015/src/controls/dropdown/dropdown.component.js +2 -2
- package/angular/esm2015/src/controls/form/form-field/array/array-form-field.component.js +50 -40
- package/angular/esm2015/src/controls/form/form-field/checklist/checklist-form-field.component.js +3 -3
- package/angular/esm2015/src/controls/form/form-field/combobox/combobox-form-field.component.js +14 -13
- package/angular/esm2015/src/controls/form/form-field/datetime/datetime-form-field.component.js +2 -2
- package/angular/esm2015/src/controls/form/form-field/form-field.component.js +16 -4
- package/angular/esm2015/src/controls/form/form-field/options-form-field/form-field-option.component.js +5 -3
- package/angular/esm2015/src/controls/form/form-field/ordered-list/ordered-list-form-field.component.js +25 -21
- package/angular/esm2015/src/controls/form/form-field/radio-group/classic/radio-group-form-field.component.js +5 -5
- package/angular/esm2015/src/controls/form/form-field/search/search-form-field.component.js +2 -2
- package/angular/esm2015/src/controls/form/form-field/tags/tags-form-field.component.js +2 -2
- package/angular/esm2015/src/controls/form/validation-alert/validation-alert.component.js +4 -10
- package/angular/esm2015/src/controls/form/validation-alert/validation-alert.js +1 -1
- package/angular/esm2015/src/controls/horizontal-bar-chart/stacked-horizontal-bar-chart.component.js +17 -1
- package/angular/esm2015/src/controls/icon/layered-icon/layered-icon.component.js +12 -1
- package/angular/esm2015/src/controls/icon/layered-icon/status/status-icon.component.js +53 -9
- package/angular/esm2015/src/controls/loading-wheel/loading-wheel.component.js +17 -1
- package/angular/esm2015/src/controls/master-view/master-view.component.js +34 -30
- package/angular/esm2015/src/controls/pivot/pivot-tab.component.js +1 -1
- package/angular/esm2015/src/controls/pivot/pivot.component.js +21 -9
- package/angular/esm2015/src/controls/property-grid/property-grid.component.js +13 -29
- package/angular/esm2015/src/controls/schema-form/schema-form-content.component.js +7 -4
- package/angular/esm2015/src/controls/settings/common-settings/common-settings.component.js +23 -35
- package/angular/esm2015/src/controls/settings/settings.component.js +28 -1
- package/angular/esm2015/src/controls/settings/settings.module.js +8 -3
- package/angular/esm2015/src/controls/tooltip/tooltip-host.component.js +16 -5
- package/angular/esm2015/src/controls/wizard/wizard.component.js +38 -6
- package/angular/esm2015/src/directives/clamp/clamp.directive.js +26 -7
- package/angular/esm2015/src/directives/discard/discard.directive.js +2 -2
- package/angular/esm2015/src/directives/markdown/markdown.directive.js +5 -18
- package/angular/esm2015/src/generated/strings.js +1 -1
- package/angular/esm2015/src/guards/experiment.guard.service.js +14 -1
- package/angular/esm2015/src/pipes/boolean-converter-pipe.js +11 -1
- package/angular/esm2015/src/pipes/byte-unit-converter-pipe.js +11 -1
- package/angular/esm2015/src/pipes/enum-converter-pipe.js +16 -1
- package/angular/esm2015/src/pipes/format-pipe.js +11 -1
- package/angular/esm2015/src/pipes/highlight-pipe.js +11 -1
- package/angular/esm2015/src/pipes/yesno-converter-pipe.js +11 -1
- package/angular/esm2015/src/service/gateway.service.js +8 -5
- package/angular/esm2015/src/service/notification.service.js +23 -1
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +1042 -1069
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
- package/angular/package.json +0 -1
- package/angular/src/controls/actions/items/action-dropdown/action-dropdown.component.d.ts +2 -0
- package/angular/src/controls/actions/items/action-item.component.d.ts +11 -1
- package/angular/src/controls/badge/badge-base.component.d.ts +0 -4
- package/angular/src/controls/data-table/data-table-column.component.d.ts +2 -1
- package/angular/src/controls/data-table/data-table.component.d.ts +4 -0
- package/angular/src/controls/dialog/base-dialog.component.d.ts +1 -1
- package/angular/src/controls/form/form-field/form-field.component.d.ts +10 -1
- package/angular/src/controls/form/form-field/options-form-field/form-field-option.component.d.ts +5 -1
- package/angular/src/controls/form/validation-alert/validation-alert.component.d.ts +0 -4
- package/angular/src/controls/form/validation-alert/validation-alert.d.ts +0 -1
- package/angular/src/controls/horizontal-bar-chart/stacked-horizontal-bar-chart.component.d.ts +16 -0
- package/angular/src/controls/icon/layered-icon/layered-icon.component.d.ts +11 -0
- package/angular/src/controls/icon/layered-icon/status/status-icon.component.d.ts +13 -2
- package/angular/src/controls/loading-wheel/loading-wheel.component.d.ts +16 -0
- package/angular/src/controls/master-view/master-view.component.d.ts +1 -0
- package/angular/src/controls/pivot/pivot-tab.component.d.ts +0 -1
- package/angular/src/controls/pivot/pivot.component.d.ts +4 -0
- package/angular/src/controls/settings/common-settings/common-settings.component.d.ts +6 -5
- package/angular/src/controls/settings/settings.component.d.ts +27 -0
- package/angular/src/controls/settings/settings.module.d.ts +7 -6
- package/angular/src/controls/tooltip/tooltip-host.component.d.ts +1 -1
- package/angular/src/controls/wizard/wizard.component.d.ts +23 -0
- package/angular/src/directives/clamp/clamp.directive.d.ts +5 -0
- package/angular/src/directives/markdown/markdown.directive.d.ts +2 -3
- package/angular/src/generated/strings.d.ts +9 -0
- package/angular/src/guards/experiment.guard.service.d.ts +13 -0
- package/angular/src/pipes/boolean-converter-pipe.d.ts +10 -0
- package/angular/src/pipes/byte-unit-converter-pipe.d.ts +10 -0
- package/angular/src/pipes/enum-converter-pipe.d.ts +15 -0
- package/angular/src/pipes/format-pipe.d.ts +10 -0
- package/angular/src/pipes/highlight-pipe.d.ts +10 -0
- package/angular/src/pipes/yesno-converter-pipe.d.ts +10 -0
- package/angular/src/service/gateway.service.d.ts +3 -1
- package/angular/src/service/notification.service.d.ts +22 -0
- package/core/base/environment.d.ts +7 -0
- package/core/base/environment.js.map +1 -1
- package/core/base/versioned-object.js +2 -2
- package/core/base/versioned-object.js.map +1 -1
- package/core/data/cim-stream.js +8 -1
- package/core/data/cim-stream.js.map +1 -1
- package/core/data/core-environment.d.ts +4 -0
- package/core/data/core-environment.js +1 -0
- package/core/data/core-environment.js.map +1 -1
- package/core/data/crypto.js +10 -9
- package/core/data/crypto.js.map +1 -1
- package/core/data/file-transfer.js +5 -1
- package/core/data/file-transfer.js.map +1 -1
- package/core/data/gateway-connection.d.ts +11 -1
- package/core/data/gateway-connection.js +51 -9
- package/core/data/gateway-connection.js.map +1 -1
- package/core/data/http-constants.d.ts +5 -1
- package/core/data/http-constants.js +5 -1
- package/core/data/http-constants.js.map +1 -1
- package/core/data/net.d.ts +15 -11
- package/core/data/net.js +44 -41
- package/core/data/net.js.map +1 -1
- package/core/data/node-connection.d.ts +2 -2
- package/core/data/node-connection.js.map +1 -1
- package/core/data/powershell-stream.js +11 -3
- package/core/data/powershell-stream.js.map +1 -1
- package/core/data/powershell.d.ts +17 -1
- package/core/data/powershell.js +35 -9
- package/core/data/powershell.js.map +1 -1
- package/core/data/settings-manager.d.ts +9 -0
- package/core/data/settings-manager.js +18 -1
- package/core/data/settings-manager.js.map +1 -1
- package/core/generated/powershell-scripts.d.ts +5 -4
- package/core/generated/powershell-scripts.js +5 -4
- package/core/generated/powershell-scripts.js.map +1 -1
- package/core/host/host-core-manager.d.ts +36 -0
- package/core/host/host-core-manager.js +134 -0
- package/core/host/host-core-manager.js.map +1 -0
- package/core/host/host-core-message-type.d.ts +12 -0
- package/core/host/host-core-message-type.js +17 -0
- package/core/host/host-core-message-type.js.map +1 -0
- package/core/host/host-core-messages.d.ts +14 -0
- package/core/host/host-core-messages.js +3 -0
- package/core/host/host-core-messages.js.map +1 -0
- package/core/manifest/manifest-loader.d.ts +2 -1
- package/core/manifest/manifest-loader.js +27 -18
- package/core/manifest/manifest-loader.js.map +1 -1
- package/core/notification/notification.js +4 -0
- package/core/notification/notification.js.map +1 -1
- package/core/security/authorization-manager.d.ts +44 -0
- package/core/security/authorization-manager.js +111 -5
- package/core/security/authorization-manager.js.map +1 -1
- package/core/security/sign-on-manager.d.ts +109 -0
- package/core/security/sign-on-manager.js +119 -0
- package/core/security/sign-on-manager.js.map +1 -0
- package/core/security/tag-manager.js.map +1 -1
- package/core/shared/cluster-inventory/cluster-inventory-cache.js +3 -2
- package/core/shared/cluster-inventory/cluster-inventory-cache.js.map +1 -1
- package/core/shared/gateway-inventory/gateway-inventory-cache.d.ts +1 -1
- package/core/shared/gateway-inventory/gateway-inventory-cache.js +1 -1
- package/core/shared/gateway-inventory/gateway-inventory-cache.js.map +1 -1
- package/core/shared/server-inventory/server-inventory-cache.js +2 -1
- package/core/shared/server-inventory/server-inventory-cache.js.map +1 -1
- package/core/shared/tool-inventory/tool-inventory-cache.js +1 -1
- package/core/shared/tool-inventory/tool-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 +5 -5
- package/styles/css/fonts.css +2 -2
- package/styles/css/main.css +1 -1
- package/styles/fonts/ServMDL2/ServMDL2-4.62.woff +0 -0
- package/styles/fonts/ServMDL2/ServMDL2.json +238 -2039
- package/styles/fonts/ServMDL2/ServMDL2.scss +238 -2039
- package/tools/gulp-manifest-resource/index.js +3 -1
- package/tools/gulp-manifest-resource/index.js.map +1 -1
- package/tools/gulp-ps-cim/index.js +1 -1
- package/tools/gulp-ps-cim/index.js.map +1 -1
- package/tools/gulp-ps-cim/powershell-cim-config-schema.json +1 -1
- package/tools/gulp-ps-code/index.js +36 -2
- package/tools/gulp-ps-code/index.js.map +1 -1
- package/tools/gulp-ps-code/ps-code-convert.js +4 -8
- package/tools/gulp-ps-code/ps-code-convert.js.map +1 -1
- package/tools/gulp-ps-resjson/index.js +79 -74
- package/tools/gulp-ps-resjson/index.js.map +1 -1
- package/tools/module-template/build/pipelines/codeinspector.yml +27 -0
- package/tools/module-template/gulpfile.ts/common/lint.ts +3 -3
- package/tools/module-template/gulpfile.ts/common/pack.ts +14 -14
- package/tools/module-template/gulpfile.ts/common/ui-test-automation.ts +40 -0
- package/tools/module-template/gulpfile.ts/common/utilities.ts +10 -10
- package/tools/module-template/gulpfile.ts/common/validate.ts +14 -4
- package/tools/module-template/gulpfile.ts/index.ts +20 -8
- package/tools/wac-cli/src/upgrade/file-updater.d.ts +1 -0
- package/tools/wac-cli/src/upgrade/file-updater.js +7 -1
- package/tools/wac-cli/src/upgrade/file-updater.js.map +1 -1
- package/styles/fonts/ServMDL2/ServMDL2-4.33.woff +0 -0
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@microsoft/windows-admin-center-sdk/core/data/resource-cache'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/log-level'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/logging'), require('@microsoft/windows-admin-center-sdk/core/base/decorators/debounce.decorators'), require('@microsoft/windows-admin-center-sdk/core/dom/dom'), require('marked'), require('@microsoft/windows-admin-center-sdk/core/base/decorators/base'), require('@angular/common'), require('@microsoft/windows-admin-center-sdk/core/shared/gateway-inventory/gateway-inventory-cache'), require('rxjs'), require('rxjs/operators'), require('@microsoft/windows-admin-center-sdk/core/data/app-context'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry'), require('@microsoft/windows-admin-center-sdk/core/performance/performance-tracker'), require('@microsoft/windows-admin-center-sdk/core/manifest/environment-modules'), require('@microsoft/windows-admin-center-sdk/core/security/active-connection'), require('@microsoft/windows-admin-center-sdk/core/security/connection-manager'), require('@microsoft/windows-admin-center-sdk/core/rpc/rpc'), require('@microsoft/windows-admin-center-sdk/core/data/gateway-connection'), require('@microsoft/windows-admin-center-sdk/core/data/http'), require('@microsoft/windows-admin-center-sdk/core/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@microsoft/windows-admin-center-sdk/angular', ['exports', '@angular/core', '@angular/router', '@microsoft/windows-admin-center-sdk/core/data/resource-cache', '@microsoft/windows-admin-center-sdk/core/diagnostics/log-level', '@microsoft/windows-admin-center-sdk/core/diagnostics/logging', '@microsoft/windows-admin-center-sdk/core/base/decorators/debounce.decorators', '@microsoft/windows-admin-center-sdk/core/dom/dom', 'marked', '@microsoft/windows-admin-center-sdk/core/base/decorators/base', '@angular/common', '@microsoft/windows-admin-center-sdk/core/shared/gateway-inventory/gateway-inventory-cache', 'rxjs', 'rxjs/operators', '@microsoft/windows-admin-center-sdk/core/data/app-context', '@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry', '@microsoft/windows-admin-center-sdk/core/performance/performance-tracker', '@microsoft/windows-admin-center-sdk/core/manifest/environment-modules', '@microsoft/windows-admin-center-sdk/core/security/active-connection', '@microsoft/windows-admin-center-sdk/core/security/connection-manager', '@microsoft/windows-admin-center-sdk/core/rpc/rpc', '@microsoft/windows-admin-center-sdk/core/data/gateway-connection', '@microsoft/windows-admin-center-sdk/core/data/http', '@microsoft/windows-admin-center-sdk/core/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.microsoft = global.microsoft || {}, global.microsoft['windows-admin-center-sdk'] = global.microsoft['windows-admin-center-sdk'] || {}, global.microsoft['windows-admin-center-sdk'].angular = {}), global.ng.core, global.ng.router, global.resourceCache, global.logLevel, global.logging, global.debounce_decorators, global.dom, global.marked, global.base, global.ng.common, global.gatewayInventoryCache, global.rxjs, global.rxjs.operators, global.appContext, global.smeWebTelemetry, global.performanceTracker, global.environmentModules, global.activeConnection, global.connectionManager, global.rpc, global.gatewayConnection, global.http, global.
|
|
5
|
-
}(this, (function (exports, i0, i1, resourceCache, logLevel, logging, debounce_decorators, dom,
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n['default'] = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var marked___namespace = /*#__PURE__*/_interopNamespace(marked_);
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@microsoft/windows-admin-center-sdk/core/data/resource-cache'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/log-level'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/logging'), require('@microsoft/windows-admin-center-sdk/core/base/decorators/debounce.decorators'), require('@microsoft/windows-admin-center-sdk/core/dom/dom'), require('marked'), require('@microsoft/windows-admin-center-sdk/core/base/decorators/base'), require('@angular/common'), require('@microsoft/windows-admin-center-sdk/core/shared/gateway-inventory/gateway-inventory-cache'), require('rxjs'), require('rxjs/operators'), require('@microsoft/windows-admin-center-sdk/core/data/app-context'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry'), require('@microsoft/windows-admin-center-sdk/core/performance/performance-tracker'), require('@microsoft/windows-admin-center-sdk/core/manifest/environment-modules'), require('@microsoft/windows-admin-center-sdk/core/security/active-connection'), require('@microsoft/windows-admin-center-sdk/core/security/connection-manager'), require('@microsoft/windows-admin-center-sdk/core/rpc/rpc'), require('@microsoft/windows-admin-center-sdk/core/data/gateway-connection'), require('@microsoft/windows-admin-center-sdk/core/data/http'), require('@microsoft/windows-admin-center-sdk/core/security/authorization-manager'), require('@microsoft/windows-admin-center-sdk/core/data/cim-connection'), require('@microsoft/windows-admin-center-sdk/core/data/node-connection'), require('@microsoft/windows-admin-center-sdk/core/data/batch-connection'), require('@microsoft/windows-admin-center-sdk/core/data/powershell-connection'), require('@microsoft/windows-admin-center-sdk/core/data/disposable'), require('@microsoft/windows-admin-center-sdk/core/data/lifetime-data'), require('@microsoft/windows-admin-center-sdk/core/data/file-transfer'), require('@microsoft/windows-admin-center-sdk/core/azure/azure-manager'), require('@microsoft/windows-admin-center-sdk/core/data/cim-stream'), require('@microsoft/windows-admin-center-sdk/core/data/websocket-stream'), require('@microsoft/windows-admin-center-sdk/core/data/powershell-stream'), require('@microsoft/windows-admin-center-sdk/core/security/credssp-manager'), require('@microsoft/windows-admin-center-sdk/core/frame/frame-connection'), require('@microsoft/windows-admin-center-sdk/core/notification/notification-connection'), require('@microsoft/windows-admin-center-sdk/core/data/settings-manager'), require('@microsoft/windows-admin-center-sdk/core/notification/work-item-connection'), require('@microsoft/windows-admin-center-sdk/core/data/globalization'), require('@microsoft/windows-admin-center-sdk/core/data/accessibility-manager'), require('@microsoft/windows-admin-center-sdk/core/base/decorators/yield.decorator'), require('@microsoft/windows-admin-center-sdk/core/security/tag-manager'), require('@microsoft/windows-admin-center-sdk/core/data/extension-broker/extension-broker'), require('@angular/forms'), require('@microsoft/windows-admin-center-sdk/core/data/net'), require('@microsoft/windows-admin-center-sdk/core/base/date/date-time'), require('@microsoft/windows-admin-center-sdk/core/base/date/date-type'), require('@microsoft/windows-admin-center-sdk/core/base/date/time-unit'), require('@microsoft/windows-admin-center-sdk/core/base/date/date-range'), require('@microsoft/windows-admin-center-sdk/core/data/core-environment'), require('@microsoft/windows-admin-center-sdk/core/data/active-directory/active-directory'), require('@microsoft/windows-admin-center-sdk/core/data/active-directory/models/search-type'), require('@microsoft/windows-admin-center-sdk/core/notification/notification-state'), require('@microsoft/windows-admin-center-sdk/core/data/animation'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/telemetry-control-type'), require('@microsoft/windows-admin-center-sdk/core/rpc/shell-navigate/rpc-shell-navigate-client'), require('chart.js'), require('@microsoft/windows-admin-center-sdk/core/base/decorators/deprecation.decorators'), require('@microsoft/windows-admin-center-sdk/core/rpc/dialog/rpc-dialog-model'), require('@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-close-client'), require('@microsoft/windows-admin-center-sdk/core/rpc/rpc-base'), require('@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-open-subject-server'), require('@microsoft/windows-admin-center-sdk/core/base/rxjs-lifetime-manager'), require('@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry-models'), require('@microsoft/windows-admin-center-sdk/core/data/column-picker'), require('@microsoft/windows-admin-center-sdk/core/data/electron'), require('@microsoft/windows-admin-center-sdk/core/data/jobs/jobs-manager'), require('@microsoft/windows-admin-center-sdk/core/data/native-q'), require('@microsoft/windows-admin-center-sdk/core/performance/performance-profile'), require('@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-model'), require('@microsoft/windows-admin-center-sdk/core/rpc/performance/rpc-observable-performance-config-server'), require('@microsoft/windows-admin-center-sdk/core/rpc/update-theme/rpc-observable-update-theme-server'), require('@microsoft/windows-admin-center-sdk/core/azure/azure-constants'), require('@microsoft/windows-admin-center-sdk/core/rpc/alive/rpc-observable-alive-client'), require('@microsoft/windows-admin-center-sdk/core/data/schedule-reboot'), require('@microsoft/windows-admin-center-sdk/core/data/http-constants'), require('@microsoft/windows-admin-center-sdk/core/rpc/extension-data/rpc-observable-extension-data-client'), require('@microsoft/windows-admin-center-sdk/core/data/sme-extension')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@microsoft/windows-admin-center-sdk/angular', ['exports', '@angular/core', '@angular/router', '@microsoft/windows-admin-center-sdk/core/data/resource-cache', '@microsoft/windows-admin-center-sdk/core/diagnostics/log-level', '@microsoft/windows-admin-center-sdk/core/diagnostics/logging', '@microsoft/windows-admin-center-sdk/core/base/decorators/debounce.decorators', '@microsoft/windows-admin-center-sdk/core/dom/dom', 'marked', '@microsoft/windows-admin-center-sdk/core/base/decorators/base', '@angular/common', '@microsoft/windows-admin-center-sdk/core/shared/gateway-inventory/gateway-inventory-cache', 'rxjs', 'rxjs/operators', '@microsoft/windows-admin-center-sdk/core/data/app-context', '@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry', '@microsoft/windows-admin-center-sdk/core/performance/performance-tracker', '@microsoft/windows-admin-center-sdk/core/manifest/environment-modules', '@microsoft/windows-admin-center-sdk/core/security/active-connection', '@microsoft/windows-admin-center-sdk/core/security/connection-manager', '@microsoft/windows-admin-center-sdk/core/rpc/rpc', '@microsoft/windows-admin-center-sdk/core/data/gateway-connection', '@microsoft/windows-admin-center-sdk/core/data/http', '@microsoft/windows-admin-center-sdk/core/security/authorization-manager', '@microsoft/windows-admin-center-sdk/core/data/cim-connection', '@microsoft/windows-admin-center-sdk/core/data/node-connection', '@microsoft/windows-admin-center-sdk/core/data/batch-connection', '@microsoft/windows-admin-center-sdk/core/data/powershell-connection', '@microsoft/windows-admin-center-sdk/core/data/disposable', '@microsoft/windows-admin-center-sdk/core/data/lifetime-data', '@microsoft/windows-admin-center-sdk/core/data/file-transfer', '@microsoft/windows-admin-center-sdk/core/azure/azure-manager', '@microsoft/windows-admin-center-sdk/core/data/cim-stream', '@microsoft/windows-admin-center-sdk/core/data/websocket-stream', '@microsoft/windows-admin-center-sdk/core/data/powershell-stream', '@microsoft/windows-admin-center-sdk/core/security/credssp-manager', '@microsoft/windows-admin-center-sdk/core/frame/frame-connection', '@microsoft/windows-admin-center-sdk/core/notification/notification-connection', '@microsoft/windows-admin-center-sdk/core/data/settings-manager', '@microsoft/windows-admin-center-sdk/core/notification/work-item-connection', '@microsoft/windows-admin-center-sdk/core/data/globalization', '@microsoft/windows-admin-center-sdk/core/data/accessibility-manager', '@microsoft/windows-admin-center-sdk/core/base/decorators/yield.decorator', '@microsoft/windows-admin-center-sdk/core/security/tag-manager', '@microsoft/windows-admin-center-sdk/core/data/extension-broker/extension-broker', '@angular/forms', '@microsoft/windows-admin-center-sdk/core/data/net', '@microsoft/windows-admin-center-sdk/core/base/date/date-time', '@microsoft/windows-admin-center-sdk/core/base/date/date-type', '@microsoft/windows-admin-center-sdk/core/base/date/time-unit', '@microsoft/windows-admin-center-sdk/core/base/date/date-range', '@microsoft/windows-admin-center-sdk/core/data/core-environment', '@microsoft/windows-admin-center-sdk/core/data/active-directory/active-directory', '@microsoft/windows-admin-center-sdk/core/data/active-directory/models/search-type', '@microsoft/windows-admin-center-sdk/core/notification/notification-state', '@microsoft/windows-admin-center-sdk/core/data/animation', '@microsoft/windows-admin-center-sdk/core/diagnostics/telemetry-control-type', '@microsoft/windows-admin-center-sdk/core/rpc/shell-navigate/rpc-shell-navigate-client', 'chart.js', '@microsoft/windows-admin-center-sdk/core/base/decorators/deprecation.decorators', '@microsoft/windows-admin-center-sdk/core/rpc/dialog/rpc-dialog-model', '@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-close-client', '@microsoft/windows-admin-center-sdk/core/rpc/rpc-base', '@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-open-subject-server', '@microsoft/windows-admin-center-sdk/core/base/rxjs-lifetime-manager', '@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry-models', '@microsoft/windows-admin-center-sdk/core/data/column-picker', '@microsoft/windows-admin-center-sdk/core/data/electron', '@microsoft/windows-admin-center-sdk/core/data/jobs/jobs-manager', '@microsoft/windows-admin-center-sdk/core/data/native-q', '@microsoft/windows-admin-center-sdk/core/performance/performance-profile', '@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-model', '@microsoft/windows-admin-center-sdk/core/rpc/performance/rpc-observable-performance-config-server', '@microsoft/windows-admin-center-sdk/core/rpc/update-theme/rpc-observable-update-theme-server', '@microsoft/windows-admin-center-sdk/core/azure/azure-constants', '@microsoft/windows-admin-center-sdk/core/rpc/alive/rpc-observable-alive-client', '@microsoft/windows-admin-center-sdk/core/data/schedule-reboot', '@microsoft/windows-admin-center-sdk/core/data/http-constants', '@microsoft/windows-admin-center-sdk/core/rpc/extension-data/rpc-observable-extension-data-client', '@microsoft/windows-admin-center-sdk/core/data/sme-extension'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.microsoft = global.microsoft || {}, global.microsoft['windows-admin-center-sdk'] = global.microsoft['windows-admin-center-sdk'] || {}, global.microsoft['windows-admin-center-sdk'].angular = {}), global.ng.core, global.ng.router, global.resourceCache, global.logLevel, global.logging, global.debounce_decorators, global.dom, global.marked, global.base, global.ng.common, global.gatewayInventoryCache, global.rxjs, global.rxjs.operators, global.appContext, global.smeWebTelemetry, global.performanceTracker, global.environmentModules, global.activeConnection, global.connectionManager, global.rpc, global.gatewayConnection, global.http, global.authorizationManager, global.cimConnection, global.nodeConnection, global.batchConnection, global.powershellConnection, global.disposable, global.lifetimeData, global.fileTransfer, global.azureManager, global.cimStream, global.websocketStream, global.powershellStream, global.credsspManager, global.frameConnection, global.notificationConnection, global.settingsManager, global.workItemConnection, global.globalization, global.accessibilityManager, global.yield_decorator, global.tagManager, global.extensionBroker, global.ng.forms, global.net, global.dateTime, global.dateType, global.timeUnit, global.dateRange, global.coreEnvironment, global.activeDirectory, global.searchType, global.notificationState, global.animation, global.telemetryControlType, global.rpcShellNavigateClient, global.chart_js, global.deprecation_decorators, global.rpcDialogModel, global.rpcOverlayCloseClient, global.rpcBase, global.rpcOverlayOpenSubjectServer, global.rxjsLifetimeManager, global.smeWebTelemetryModels, global.columnPicker, global.electron, global.jobsManager, global.nativeQ, global.performanceProfile, global.rpcOverlayModel, global.rpcObservablePerformanceConfigServer, global.rpcObservableUpdateThemeServer, global.azureConstants, global.rpcObservableAliveClient, global.scheduleReboot, global.httpConstants, global.rpcObservableExtensionDataClient, global.smeExtension));
|
|
5
|
+
}(this, (function (exports, i0, i1, resourceCache, logLevel, logging, debounce_decorators, dom, marked, base, i1$1, gatewayInventoryCache, rxjs, operators, appContext, smeWebTelemetry, performanceTracker, environmentModules, activeConnection, connectionManager, rpc, gatewayConnection, http, authorizationManager, cimConnection, nodeConnection, batchConnection, powershellConnection, disposable, lifetimeData, fileTransfer, azureManager, cimStream, websocketStream, powershellStream, credsspManager, frameConnection, notificationConnection, settingsManager, workItemConnection, globalization, accessibilityManager, yield_decorator, tagManager, extensionBroker, i4, net, dateTime, dateType, timeUnit, dateRange, coreEnvironment, activeDirectory, searchType, notificationState, animation, telemetryControlType, rpcShellNavigateClient, chart_js, deprecation_decorators, rpcDialogModel, rpcOverlayCloseClient, rpcBase, rpcOverlayOpenSubjectServer, rxjsLifetimeManager, smeWebTelemetryModels, columnPicker, electron, jobsManager, nativeQ, performanceProfile, rpcOverlayModel, rpcObservablePerformanceConfigServer, rpcObservableUpdateThemeServer, azureConstants, rpcObservableAliveClient, scheduleReboot, httpConstants, rpcObservableExtensionDataClient, smeExtension) { 'use strict';
|
|
28
6
|
|
|
29
7
|
/**
|
|
30
8
|
* Directive to provide notification or state changes for angulars @see RouterLink directive.
|
|
@@ -415,7 +393,7 @@
|
|
|
415
393
|
ar[i] = from[i];
|
|
416
394
|
}
|
|
417
395
|
}
|
|
418
|
-
return to.concat(ar || from);
|
|
396
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
419
397
|
}
|
|
420
398
|
function __await(v) {
|
|
421
399
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -1000,7 +978,6 @@
|
|
|
1000
978
|
}], null, null);
|
|
1001
979
|
})();
|
|
1002
980
|
|
|
1003
|
-
var marked = marked___namespace;
|
|
1004
981
|
/**
|
|
1005
982
|
*
|
|
1006
983
|
* @smeDoc {@label Markdown @id sme-markdown-directive}
|
|
@@ -1017,7 +994,6 @@
|
|
|
1017
994
|
function MarkdownDirective(host, renderer) {
|
|
1018
995
|
this.host = host;
|
|
1019
996
|
this.renderer = renderer;
|
|
1020
|
-
this.smeMarkdownUseInlineLexer = false;
|
|
1021
997
|
}
|
|
1022
998
|
Object.defineProperty(MarkdownDirective.prototype, "content", {
|
|
1023
999
|
get: function () {
|
|
@@ -1035,16 +1011,10 @@
|
|
|
1035
1011
|
}
|
|
1036
1012
|
};
|
|
1037
1013
|
MarkdownDirective.prototype.render = function () {
|
|
1038
|
-
|
|
1039
|
-
if (marked && !MsftSme.isNullOrWhiteSpace(this.smeMarkdown)) {
|
|
1040
|
-
|
|
1041
|
-
content = marked.inlineLexer(this.smeMarkdown, []);
|
|
1042
|
-
}
|
|
1043
|
-
else {
|
|
1044
|
-
content = marked(this.smeMarkdown);
|
|
1045
|
-
}
|
|
1014
|
+
this.renderedContent = '';
|
|
1015
|
+
if (marked.marked && !MsftSme.isNullOrWhiteSpace(this.smeMarkdown)) {
|
|
1016
|
+
this.renderedContent = marked.marked.parse(this.smeMarkdown);
|
|
1046
1017
|
}
|
|
1047
|
-
this.renderedContent = content;
|
|
1048
1018
|
};
|
|
1049
1019
|
return MarkdownDirective;
|
|
1050
1020
|
}());
|
|
@@ -1053,7 +1023,7 @@
|
|
|
1053
1023
|
if (rf & 2) {
|
|
1054
1024
|
i0.ɵɵhostProperty("innerHtml", ctx.content, i0.ɵɵsanitizeHtml);
|
|
1055
1025
|
}
|
|
1056
|
-
}, inputs: { smeMarkdown: "smeMarkdown"
|
|
1026
|
+
}, inputs: { smeMarkdown: "smeMarkdown" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
1057
1027
|
(function () {
|
|
1058
1028
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownDirective, [{
|
|
1059
1029
|
type: i0.Directive,
|
|
@@ -1063,8 +1033,6 @@
|
|
|
1063
1033
|
}]
|
|
1064
1034
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, { smeMarkdown: [{
|
|
1065
1035
|
type: i0.Input
|
|
1066
|
-
}], smeMarkdownUseInlineLexer: [{
|
|
1067
|
-
type: i0.Input
|
|
1068
1036
|
}], content: [{
|
|
1069
1037
|
type: i0.HostBinding,
|
|
1070
1038
|
args: ['innerHtml']
|
|
@@ -1517,6 +1485,16 @@
|
|
|
1517
1485
|
enumerable: false,
|
|
1518
1486
|
configurable: true
|
|
1519
1487
|
});
|
|
1488
|
+
/**
|
|
1489
|
+
* Host listener for page resize event.
|
|
1490
|
+
*/
|
|
1491
|
+
ClampDirective.prototype.onResize = function () {
|
|
1492
|
+
// reset initial content state
|
|
1493
|
+
this.resetClampContent();
|
|
1494
|
+
if (this.needsClamping) {
|
|
1495
|
+
this.clamp(this.hostElement.nativeElement);
|
|
1496
|
+
}
|
|
1497
|
+
};
|
|
1520
1498
|
/**
|
|
1521
1499
|
* Implementation of angular OnChanges interface
|
|
1522
1500
|
* On every input change, we recalculate the clamp.
|
|
@@ -1525,10 +1503,7 @@
|
|
|
1525
1503
|
_super.prototype.ngOnChanges.call(this, changes);
|
|
1526
1504
|
if (changes.smeClamp) {
|
|
1527
1505
|
// reset initial content state
|
|
1528
|
-
this.
|
|
1529
|
-
this.hostElement.nativeElement.innerHTML = this.smeClamp || '';
|
|
1530
|
-
// whenever this changes, we need to measure and output whether the content will be clamped.
|
|
1531
|
-
this.clamped.emit({ clamped: this.needsClamping });
|
|
1506
|
+
this.resetClampContent();
|
|
1532
1507
|
}
|
|
1533
1508
|
// if the input changes require clamping again, then re-clamp
|
|
1534
1509
|
if (this.needsClamping) {
|
|
@@ -1547,6 +1522,13 @@
|
|
|
1547
1522
|
element.classList.remove(breakAllClass);
|
|
1548
1523
|
}
|
|
1549
1524
|
};
|
|
1525
|
+
ClampDirective.prototype.resetClampContent = function () {
|
|
1526
|
+
// reset initial content state
|
|
1527
|
+
this.removeBreakWords();
|
|
1528
|
+
this.hostElement.nativeElement.innerHTML = this.smeClamp || '';
|
|
1529
|
+
// whenever this changes, we need to measure and output whether the content will be clamped.
|
|
1530
|
+
this.clamped.emit({ clamped: this.needsClamping });
|
|
1531
|
+
};
|
|
1550
1532
|
/**
|
|
1551
1533
|
* Gets the initial host classes to be applied to this element
|
|
1552
1534
|
*/
|
|
@@ -1638,7 +1620,11 @@
|
|
|
1638
1620
|
return ClampDirective;
|
|
1639
1621
|
}(CoreBaseComponent));
|
|
1640
1622
|
/** @nocollapse */ ClampDirective.ɵfac = function ClampDirective_Factory(t) { return new (t || ClampDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
1641
|
-
/** @nocollapse */ ClampDirective.ɵdir = i0.ɵɵdefineDirective({ type: ClampDirective, selectors: [["", "smeClamp", ""]],
|
|
1623
|
+
/** @nocollapse */ ClampDirective.ɵdir = i0.ɵɵdefineDirective({ type: ClampDirective, selectors: [["", "smeClamp", ""]], hostBindings: function ClampDirective_HostBindings(rf, ctx) {
|
|
1624
|
+
if (rf & 1) {
|
|
1625
|
+
i0.ɵɵlistener("resize", function ClampDirective_resize_HostBindingHandler() { return ctx.onResize(); }, false, i0.ɵɵresolveWindow);
|
|
1626
|
+
}
|
|
1627
|
+
}, inputs: { smeClamp: "smeClamp", smeClampLines: "smeClampLines" }, outputs: { clamped: "clamped" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] });
|
|
1642
1628
|
(function () {
|
|
1643
1629
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClampDirective, [{
|
|
1644
1630
|
type: i0.Directive,
|
|
@@ -1651,6 +1637,9 @@
|
|
|
1651
1637
|
type: i0.Input
|
|
1652
1638
|
}], clamped: [{
|
|
1653
1639
|
type: i0.Output
|
|
1640
|
+
}], onResize: [{
|
|
1641
|
+
type: i0.HostListener,
|
|
1642
|
+
args: ['window:resize']
|
|
1654
1643
|
}] });
|
|
1655
1644
|
})();
|
|
1656
1645
|
|
|
@@ -2162,7 +2151,7 @@
|
|
|
2162
2151
|
this.strings = MsftSme.getStrings();
|
|
2163
2152
|
this.smeDiscardId = "sme-discard-id-" + MsftSme.newGuid();
|
|
2164
2153
|
this.isAlerting = false;
|
|
2165
|
-
this.alertElement = this.createAlertElement(this.strings.MsftSmeShell.Angular.Common.
|
|
2154
|
+
this.alertElement = this.createAlertElement(this.strings.MsftSmeShell.Angular.Common.discarded);
|
|
2166
2155
|
}
|
|
2167
2156
|
DiscardDirective.prototype.ngOnInit = function () {
|
|
2168
2157
|
var _this = this;
|
|
@@ -2282,6 +2271,19 @@
|
|
|
2282
2271
|
}], function () { return [{ type: i1.Router }]; }, null);
|
|
2283
2272
|
})();
|
|
2284
2273
|
|
|
2274
|
+
/**
|
|
2275
|
+
*
|
|
2276
|
+
* @smeDoc {@label Experiments and IsProduction @id sme-dev-guide-utilities-msft-sme-experiments}
|
|
2277
|
+
*
|
|
2278
|
+
* @overview
|
|
2279
|
+
* @file {@filepath ./experiment-key/examples/overview.md}
|
|
2280
|
+
*
|
|
2281
|
+
* @example {@label Experiment key @id experiment-key}
|
|
2282
|
+
* @file {@filename experiment-key.ts @filepath ./experiment-key/examples/experiment-key.ts}
|
|
2283
|
+
*
|
|
2284
|
+
* @example {@label IsProduction @id isProduction}
|
|
2285
|
+
* @file {@filename isproduction.ts @filepath ./experiment-key/examples/isproduction.ts}
|
|
2286
|
+
*/
|
|
2285
2287
|
var ExperimentGuardService = /** @class */ (function () {
|
|
2286
2288
|
/**
|
|
2287
2289
|
* Initializes a new instance of the ExperimentGuardService class.
|
|
@@ -2696,6 +2698,34 @@
|
|
|
2696
2698
|
}], null, null);
|
|
2697
2699
|
})();
|
|
2698
2700
|
|
|
2701
|
+
var AuthorizationService = /** @class */ (function (_super) {
|
|
2702
|
+
__extends(AuthorizationService, _super);
|
|
2703
|
+
function AuthorizationService(rpc) {
|
|
2704
|
+
return _super.call(this, function (serverNames, errorData) { return AuthorizationService.authorize(serverNames, errorData); }, rpc) || this;
|
|
2705
|
+
}
|
|
2706
|
+
AuthorizationService.prototype.canHandleAjaxFailure = function (code, error) {
|
|
2707
|
+
// if we are not the shell, assume our parent can handle auth
|
|
2708
|
+
var canHandle = AuthorizationService.authorize || !this.isShell;
|
|
2709
|
+
return canHandle && _super.prototype.canHandleAjaxFailure.call(this, code, error);
|
|
2710
|
+
};
|
|
2711
|
+
Object.defineProperty(AuthorizationService.prototype, "isShell", {
|
|
2712
|
+
get: function () {
|
|
2713
|
+
return this.rpc.isShell;
|
|
2714
|
+
},
|
|
2715
|
+
enumerable: false,
|
|
2716
|
+
configurable: true
|
|
2717
|
+
});
|
|
2718
|
+
return AuthorizationService;
|
|
2719
|
+
}(authorizationManager.AuthorizationManager));
|
|
2720
|
+
AuthorizationService.authorize = null;
|
|
2721
|
+
/** @nocollapse */ AuthorizationService.ɵfac = function AuthorizationService_Factory(t) { return new (t || AuthorizationService)(i0.ɵɵinject(RpcService)); };
|
|
2722
|
+
/** @nocollapse */ AuthorizationService.ɵprov = i0.ɵɵdefineInjectable({ token: AuthorizationService, factory: AuthorizationService.ɵfac });
|
|
2723
|
+
(function () {
|
|
2724
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthorizationService, [{
|
|
2725
|
+
type: i0.Injectable
|
|
2726
|
+
}], function () { return [{ type: RpcService }]; }, null);
|
|
2727
|
+
})();
|
|
2728
|
+
|
|
2699
2729
|
/**
|
|
2700
2730
|
* The gateway service class.
|
|
2701
2731
|
*/
|
|
@@ -2706,18 +2736,19 @@
|
|
|
2706
2736
|
*
|
|
2707
2737
|
* @param http the Http object.
|
|
2708
2738
|
* @param rpcService the RPC service.
|
|
2739
|
+
* @param authorizationService the authorizaton service.
|
|
2709
2740
|
*/
|
|
2710
|
-
function GatewayService(httpService, rpcService) {
|
|
2711
|
-
return _super.call(this, httpService, rpcService) || this;
|
|
2741
|
+
function GatewayService(httpService, rpcService, authorizationService) {
|
|
2742
|
+
return _super.call(this, httpService, rpcService, authorizationService) || this;
|
|
2712
2743
|
}
|
|
2713
2744
|
return GatewayService;
|
|
2714
2745
|
}(gatewayConnection.GatewayConnection));
|
|
2715
|
-
/** @nocollapse */ GatewayService.ɵfac = function GatewayService_Factory(t) { return new (t || GatewayService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(RpcService)); };
|
|
2746
|
+
/** @nocollapse */ GatewayService.ɵfac = function GatewayService_Factory(t) { return new (t || GatewayService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(RpcService), i0.ɵɵinject(AuthorizationService)); };
|
|
2716
2747
|
/** @nocollapse */ GatewayService.ɵprov = i0.ɵɵdefineInjectable({ token: GatewayService, factory: GatewayService.ɵfac });
|
|
2717
2748
|
(function () {
|
|
2718
2749
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GatewayService, [{
|
|
2719
2750
|
type: i0.Injectable
|
|
2720
|
-
}], function () { return [{ type: HttpService }, { type: RpcService }]; }, null);
|
|
2751
|
+
}], function () { return [{ type: HttpService }, { type: RpcService }, { type: AuthorizationService }]; }, null);
|
|
2721
2752
|
})();
|
|
2722
2753
|
|
|
2723
2754
|
var ConnectionService = /** @class */ (function (_super) {
|
|
@@ -2735,34 +2766,6 @@
|
|
|
2735
2766
|
}], function () { return [{ type: RpcService }, { type: GatewayService }]; }, null);
|
|
2736
2767
|
})();
|
|
2737
2768
|
|
|
2738
|
-
var AuthorizationService = /** @class */ (function (_super) {
|
|
2739
|
-
__extends(AuthorizationService, _super);
|
|
2740
|
-
function AuthorizationService(rpc) {
|
|
2741
|
-
return _super.call(this, function (serverNames, errorData) { return AuthorizationService.authorize(serverNames, errorData); }, rpc) || this;
|
|
2742
|
-
}
|
|
2743
|
-
AuthorizationService.prototype.canHandleAjaxFailure = function (code, error) {
|
|
2744
|
-
// if we are not the shell, assume our parent can handle auth
|
|
2745
|
-
var canHandle = AuthorizationService.authorize || !this.isShell;
|
|
2746
|
-
return canHandle && _super.prototype.canHandleAjaxFailure.call(this, code, error);
|
|
2747
|
-
};
|
|
2748
|
-
Object.defineProperty(AuthorizationService.prototype, "isShell", {
|
|
2749
|
-
get: function () {
|
|
2750
|
-
return this.rpc.isShell;
|
|
2751
|
-
},
|
|
2752
|
-
enumerable: false,
|
|
2753
|
-
configurable: true
|
|
2754
|
-
});
|
|
2755
|
-
return AuthorizationService;
|
|
2756
|
-
}(authorizationManager.AuthorizationManager));
|
|
2757
|
-
AuthorizationService.authorize = null;
|
|
2758
|
-
/** @nocollapse */ AuthorizationService.ɵfac = function AuthorizationService_Factory(t) { return new (t || AuthorizationService)(i0.ɵɵinject(RpcService)); };
|
|
2759
|
-
/** @nocollapse */ AuthorizationService.ɵprov = i0.ɵɵdefineInjectable({ token: AuthorizationService, factory: AuthorizationService.ɵfac });
|
|
2760
|
-
(function () {
|
|
2761
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthorizationService, [{
|
|
2762
|
-
type: i0.Injectable
|
|
2763
|
-
}], function () { return [{ type: RpcService }]; }, null);
|
|
2764
|
-
})();
|
|
2765
|
-
|
|
2766
2769
|
/**
|
|
2767
2770
|
* The node service class.
|
|
2768
2771
|
*/
|
|
@@ -3067,6 +3070,28 @@
|
|
|
3067
3070
|
}], function () { return [{ type: RpcService }]; }, null);
|
|
3068
3071
|
})();
|
|
3069
3072
|
|
|
3073
|
+
/**
|
|
3074
|
+
*
|
|
3075
|
+
* @smeDoc {@label Notifications @id sme-dev-guide-shell-services-notifications}
|
|
3076
|
+
*
|
|
3077
|
+
* @overview
|
|
3078
|
+
* @file {@filepath ./notifications/examples/overview.md}
|
|
3079
|
+
*
|
|
3080
|
+
* @example {@label In progress notification @id in-progress-notification}
|
|
3081
|
+
* @file {@filename notifications-in-progress.ts @filepath ./notifications/examples/notifications-in-progress.ts}
|
|
3082
|
+
*
|
|
3083
|
+
* @example {@label Alert notification @id alert-notifications}
|
|
3084
|
+
* @file {@filename notifications-alert.ts @filepath ./notifications/examples/notifications-alert.ts}
|
|
3085
|
+
*
|
|
3086
|
+
* @example {@label Information notification @id information-notification}
|
|
3087
|
+
* @file {@filename notifications-information.ts @filepath ./notifications/examples/notifications-information.ts}
|
|
3088
|
+
*
|
|
3089
|
+
* @example {@label Long running notification @id long-running-notification}
|
|
3090
|
+
* @file {@filename notifications-long-running.ts @filepath ./notifications/examples/notifications-long-running.ts}
|
|
3091
|
+
*
|
|
3092
|
+
* @example {@label Long running with disabled notification @id long-running-disable-notification}
|
|
3093
|
+
* @file {@filename notifications-long-running-disable.ts @filepath ./notifications/examples/notifications-long-running-disable.ts}
|
|
3094
|
+
*/
|
|
3070
3095
|
/**
|
|
3071
3096
|
* Notification service class.
|
|
3072
3097
|
*/
|
|
@@ -3322,6 +3347,16 @@
|
|
|
3322
3347
|
* export all public APIs.
|
|
3323
3348
|
*/
|
|
3324
3349
|
|
|
3350
|
+
/**
|
|
3351
|
+
* @smeDoc {@label BooleanConverterPipe @id smeBooleanConverter}
|
|
3352
|
+
*
|
|
3353
|
+
* @overview
|
|
3354
|
+
* @file {@filepath ./examples/boolean-converter-overview.md}
|
|
3355
|
+
*
|
|
3356
|
+
* @example {@label Example Boolean Converter @id boolean-converter-example }
|
|
3357
|
+
* @file {@filename component.html @filepath ./examples/boolean-converter-example.component.html}
|
|
3358
|
+
* @file {@filename component.ts @filepath ./examples/boolean-converter-example.component.ts}
|
|
3359
|
+
*/
|
|
3325
3360
|
var BooleanConverterPipe = /** @class */ (function () {
|
|
3326
3361
|
function BooleanConverterPipe() {
|
|
3327
3362
|
}
|
|
@@ -3505,6 +3540,16 @@
|
|
|
3505
3540
|
return iterator;
|
|
3506
3541
|
}
|
|
3507
3542
|
})(exports.MediaConversion2 || (exports.MediaConversion2 = {}));
|
|
3543
|
+
/**
|
|
3544
|
+
* @smeDoc {@label byteConverterPipe @id smeByteUnitConverter}
|
|
3545
|
+
*
|
|
3546
|
+
* @overview
|
|
3547
|
+
* @file {@filepath ./examples/byte-converter-overview.md}
|
|
3548
|
+
*
|
|
3549
|
+
* @example {@label Example byte Converter @id byte-converter-example }
|
|
3550
|
+
* @file {@filename component.html @filepath ./examples/byte-converter-example.component.html}
|
|
3551
|
+
* @file {@filename component.ts @filepath ./examples/byte-converter-example.component.ts}
|
|
3552
|
+
*/
|
|
3508
3553
|
var ByteUnitConverterPipe = /** @class */ (function () {
|
|
3509
3554
|
function ByteUnitConverterPipe() {
|
|
3510
3555
|
}
|
|
@@ -3647,6 +3692,21 @@
|
|
|
3647
3692
|
}], null, null);
|
|
3648
3693
|
})();
|
|
3649
3694
|
|
|
3695
|
+
/**
|
|
3696
|
+
* @smeDoc {@label enumConverterPipe @id smeEnumConverter}
|
|
3697
|
+
*
|
|
3698
|
+
* @overview
|
|
3699
|
+
* @file {@filepath ./examples/enum-converter-overview.md}
|
|
3700
|
+
*
|
|
3701
|
+
* @example {@label Example Enum Converter @id enum-converter-example }
|
|
3702
|
+
* @file {@filename component.html @filepath ./examples/enum-converter-example.component.html}
|
|
3703
|
+
* @file {@filename component.ts @filepath ./examples/enum-converter-example.component.ts}
|
|
3704
|
+
*
|
|
3705
|
+
* @example {@label Example Color Enum Converter @id color-enum-color-converter }
|
|
3706
|
+
* @file {@filename color.ts @filepath ./examples/enum-converter-example-color.ts}
|
|
3707
|
+
* @file {@filename color.component.html @filepath ./examples/enum-converter-example-color.component.html}
|
|
3708
|
+
* @file {@filename color.component.ts @filepath ./examples/enum-converter-example-color.component.ts}
|
|
3709
|
+
*/
|
|
3650
3710
|
var EnumConverterPipe = /** @class */ (function () {
|
|
3651
3711
|
function EnumConverterPipe() {
|
|
3652
3712
|
}
|
|
@@ -3825,6 +3885,16 @@
|
|
|
3825
3885
|
}], null, null);
|
|
3826
3886
|
})();
|
|
3827
3887
|
|
|
3888
|
+
/**
|
|
3889
|
+
* @smeDoc {@label FormatPipe @id smeFormat}
|
|
3890
|
+
*
|
|
3891
|
+
* @overview
|
|
3892
|
+
* @file {@filepath ./examples/format-overview.md}
|
|
3893
|
+
*
|
|
3894
|
+
* @example {@label Example enum Converter @id format-example }
|
|
3895
|
+
* @file {@filename component.html @filepath ./examples/format-example.component.html}
|
|
3896
|
+
* @file {@filename component.ts @filepath ./examples/format-example.component.ts}
|
|
3897
|
+
*/
|
|
3828
3898
|
var FormatPipe = /** @class */ (function () {
|
|
3829
3899
|
function FormatPipe() {
|
|
3830
3900
|
}
|
|
@@ -3879,6 +3949,16 @@
|
|
|
3879
3949
|
}], null, null);
|
|
3880
3950
|
})();
|
|
3881
3951
|
|
|
3952
|
+
/**
|
|
3953
|
+
* @smeDoc {@label highlightPipe @id smeHighlight}
|
|
3954
|
+
*
|
|
3955
|
+
* @overview
|
|
3956
|
+
* @file {@filepath ./examples/highlight-overview.md}
|
|
3957
|
+
*
|
|
3958
|
+
* @example {@label Example enum Converter @id highlight-example }
|
|
3959
|
+
* @file {@filename component.html @filepath ./examples/highlight-example.component.html}
|
|
3960
|
+
* @file {@filename component.ts @filepath ./examples/highlight-example.component.ts}
|
|
3961
|
+
*/
|
|
3882
3962
|
var HighlightPipe = /** @class */ (function () {
|
|
3883
3963
|
function HighlightPipe() {
|
|
3884
3964
|
}
|
|
@@ -3928,6 +4008,16 @@
|
|
|
3928
4008
|
}], null, null);
|
|
3929
4009
|
})();
|
|
3930
4010
|
|
|
4011
|
+
/**
|
|
4012
|
+
* @smeDoc {@label yesno-converterPipe @id smeBooleanToYesNoConverter}
|
|
4013
|
+
*
|
|
4014
|
+
* @overview
|
|
4015
|
+
* @file {@filepath ./examples/yesno-converter-overview.md}
|
|
4016
|
+
*
|
|
4017
|
+
* @example {@label Example enum Converter @id yesno-converter-example }
|
|
4018
|
+
* @file {@filename component.html @filepath ./examples/yesno-converter-example.component.html}
|
|
4019
|
+
* @file {@filename component.ts @filepath ./examples/yesno-converter-example.component.ts}
|
|
4020
|
+
*/
|
|
3931
4021
|
var YesNoConverterPipe = /** @class */ (function () {
|
|
3932
4022
|
function YesNoConverterPipe() {
|
|
3933
4023
|
this.strings = MsftSme.getStrings();
|
|
@@ -4516,11 +4606,17 @@
|
|
|
4516
4606
|
/**
|
|
4517
4607
|
* Escape key listener
|
|
4518
4608
|
*/
|
|
4519
|
-
TooltipHostComponent.prototype.onClick = function () {
|
|
4609
|
+
TooltipHostComponent.prototype.onClick = function (event) {
|
|
4520
4610
|
if (this.options && this.options.showOn === TooltipShowMode.Click) {
|
|
4521
4611
|
this.options.onWindowClick();
|
|
4522
4612
|
this.hide(this.options.targetid);
|
|
4523
4613
|
}
|
|
4614
|
+
if (MsftSme.isNullOrUndefined(this.mousePosition)) {
|
|
4615
|
+
this.mousePosition = {
|
|
4616
|
+
x: event.x,
|
|
4617
|
+
y: event.y
|
|
4618
|
+
};
|
|
4619
|
+
}
|
|
4524
4620
|
};
|
|
4525
4621
|
/**
|
|
4526
4622
|
* Show a tooltip with the given options
|
|
@@ -4624,7 +4720,12 @@
|
|
|
4624
4720
|
// then adjust the pointer and tooltip to align with the pointer
|
|
4625
4721
|
if (tooltipRect.width < targetRect.width) {
|
|
4626
4722
|
pointerLeft = (((tooltipRect.width / 2) - (pointerRect.width / 2)) - tooltipLeftMargin);
|
|
4627
|
-
|
|
4723
|
+
if (this.mousePosition.x <= 0) {
|
|
4724
|
+
left = (tooltipRect.width / 2) - tooltipLeftMargin;
|
|
4725
|
+
}
|
|
4726
|
+
else {
|
|
4727
|
+
left = (this.mousePosition.x - ((tooltipRect.width / 2) - tooltipLeftMargin));
|
|
4728
|
+
}
|
|
4628
4729
|
}
|
|
4629
4730
|
// check if right edge of tooltip is off the screen
|
|
4630
4731
|
var right = (left + tooltipRect.width);
|
|
@@ -4710,7 +4811,7 @@
|
|
|
4710
4811
|
}
|
|
4711
4812
|
}, hostBindings: function TooltipHostComponent_HostBindings(rf, ctx) {
|
|
4712
4813
|
if (rf & 1) {
|
|
4713
|
-
i0.ɵɵlistener("resize", function TooltipHostComponent_resize_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, i0.ɵɵresolveWindow)("blur", function TooltipHostComponent_blur_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, i0.ɵɵresolveWindow)("keyup.escape", function TooltipHostComponent_keyup_escape_HostBindingHandler($event) { return ctx.onEscape($event); }, false, i0.ɵɵresolveDocument)("click", function TooltipHostComponent_click_HostBindingHandler() { return ctx.onClick(); }, false, i0.ɵɵresolveWindow);
|
|
4814
|
+
i0.ɵɵlistener("resize", function TooltipHostComponent_resize_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, i0.ɵɵresolveWindow)("blur", function TooltipHostComponent_blur_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, i0.ɵɵresolveWindow)("keyup.escape", function TooltipHostComponent_keyup_escape_HostBindingHandler($event) { return ctx.onEscape($event); }, false, i0.ɵɵresolveDocument)("click", function TooltipHostComponent_click_HostBindingHandler($event) { return ctx.onClick($event); }, false, i0.ɵɵresolveWindow);
|
|
4714
4815
|
}
|
|
4715
4816
|
}, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 4, consts: [[1, "sme-tooltip", "sme-tooltip-position-bottom", "sme-layer-tooltip", "sme-shadow-tooltip", 3, "focusin", "focusout", "mouseenter", "mouseleave"], ["tooltipContainer", ""], [1, "sme-tooltip-pointer"], ["tooltipPointer", ""], [1, "sme-tooltip-pointer-cover"], ["class", "sme-tooltip-content sme-focus-trap", 3, "id", 4, "ngIf"], ["aria-live", "assertive"], ["class", "sme-tooltip-content", 3, "id", 4, "ngIf"], [1, "sme-tooltip-content", "sme-focus-trap", 3, "id"], [4, "ngIf"], ["smeTemplateOutlet", "", 3, "template", "data", "hostData"], [1, "sme-font-label", 3, "id"], [1, "sme-tooltip-content", 3, "id"]], template: function TooltipHostComponent_Template(rf, ctx) {
|
|
4716
4817
|
if (rf & 1) {
|
|
@@ -4756,7 +4857,7 @@
|
|
|
4756
4857
|
args: ['document:keyup.escape', ['$event']]
|
|
4757
4858
|
}], onClick: [{
|
|
4758
4859
|
type: i0.HostListener,
|
|
4759
|
-
args: ['window:click']
|
|
4860
|
+
args: ['window:click', ['$event']]
|
|
4760
4861
|
}] });
|
|
4761
4862
|
})();
|
|
4762
4863
|
|
|
@@ -7060,7 +7161,7 @@
|
|
|
7060
7161
|
if (rf & 2) {
|
|
7061
7162
|
i0.ɵɵclassProp("sme-disabled", ctx.disabled);
|
|
7062
7163
|
}
|
|
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) {
|
|
7164
|
+
}, 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: [["data-uta-id", "dropdown-toggle", 1, "sme-dropdown-toggle-container"], ["smeDropdownToggle", ""], ["data-uta-id", "dropdown-content", 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) {
|
|
7064
7165
|
if (rf & 1) {
|
|
7065
7166
|
i0.ɵɵprojectionDef(_c2$1);
|
|
7066
7167
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
@@ -7756,7 +7857,7 @@
|
|
|
7756
7857
|
if (rf & 1) {
|
|
7757
7858
|
i0.ɵɵlistener("focusin", function ActionBarComponent_focusin_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("focusout", function ActionBarComponent_focusout_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("keydown", function ActionBarComponent_keydown_HostBindingHandler($event) { return ctx.onToggleKeydown($event); })("mouseenter", function ActionBarComponent_mouseenter_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("mouseleave", function ActionBarComponent_mouseleave_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("resize", function ActionBarComponent_resize_HostBindingHandler() { return ctx.onResize(); }, false, i0.ɵɵresolveWindow);
|
|
7758
7859
|
}
|
|
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) {
|
|
7860
|
+
}, outputs: { actionsUpdated: "actionsUpdated" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c3$2, decls: 12, vars: 14, consts: [["role", "menubar", 1, "sme-position-flex-none", "sme-arrange-stack-h"], ["actionBarElement", ""], ["class", "sme-arrange-stack-h sme-arrange-stack-centered sme-arrange-stack-inline", 3, "item", "sme-action-bar-item-no-padding-v", "itemChanged", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "sme-position-flex-none"], ["dropDown", ""], ["type", "button", "role", "menuitem", "aria-haspopup", "true", "data-uta-id", "action-bar-more", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-dropdown-toggle"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-more", 3, "title"], [1, "sme-screen-reader"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions", "target", "targetChange", "error", "executed"], [1, "sme-arrange-stack-h", "sme-arrange-stack-centered", "sme-arrange-stack-inline", 3, "item", "itemChanged"]], template: function ActionBarComponent_Template(rf, ctx) {
|
|
7760
7861
|
if (rf & 1) {
|
|
7761
7862
|
i0.ɵɵprojectionDef();
|
|
7762
7863
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
@@ -8163,11 +8264,13 @@
|
|
|
8163
8264
|
return ActionItemComponent;
|
|
8164
8265
|
}());
|
|
8165
8266
|
/** @nocollapse */ ActionItemComponent.ɵfac = function ActionItemComponent_Factory(t) { return new (t || ActionItemComponent)(); };
|
|
8166
|
-
/** @nocollapse */ ActionItemComponent.ɵdir = i0.ɵɵdefineDirective({ type: ActionItemComponent, inputs: { hidden: "hidden", enabled: "enabled", toggled: "toggled", text: "text", iconClass: "iconClass" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
8267
|
+
/** @nocollapse */ ActionItemComponent.ɵdir = i0.ɵɵdefineDirective({ type: ActionItemComponent, inputs: { actionId: "actionId", hidden: "hidden", enabled: "enabled", toggled: "toggled", text: "text", name: "name", iconClass: "iconClass" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
8167
8268
|
(function () {
|
|
8168
8269
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionItemComponent, [{
|
|
8169
8270
|
type: i0.Directive
|
|
8170
|
-
}], function () { return []; }, {
|
|
8271
|
+
}], function () { return []; }, { actionId: [{
|
|
8272
|
+
type: i0.Input
|
|
8273
|
+
}], hidden: [{
|
|
8171
8274
|
type: i0.Input
|
|
8172
8275
|
}], enabled: [{
|
|
8173
8276
|
type: i0.Input
|
|
@@ -8175,6 +8278,8 @@
|
|
|
8175
8278
|
type: i0.Input
|
|
8176
8279
|
}], text: [{
|
|
8177
8280
|
type: i0.Input
|
|
8281
|
+
}], name: [{
|
|
8282
|
+
type: i0.Input
|
|
8178
8283
|
}], iconClass: [{
|
|
8179
8284
|
type: i0.Input
|
|
8180
8285
|
}] });
|
|
@@ -8195,7 +8300,7 @@
|
|
|
8195
8300
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
8196
8301
|
i0.ɵɵclassProp("sme-toggled", ctx_r0.ariaChecked);
|
|
8197
8302
|
i0.ɵɵproperty("smeDisabled", !ctx_r0.item.enabled || ctx_r0.item.busy || !ctx_r0.item.ready);
|
|
8198
|
-
i0.ɵɵattribute("role", ctx_r0.ariaRole)("aria-checked", ctx_r0.ariaChecked);
|
|
8303
|
+
i0.ɵɵattribute("role", ctx_r0.ariaRole)("aria-checked", ctx_r0.ariaChecked)("data-uta-id", ctx_r0.item.actionId);
|
|
8199
8304
|
i0.ɵɵadvance(1);
|
|
8200
8305
|
i0.ɵɵproperty("ngClass", ctx_r0.item.iconClass || "");
|
|
8201
8306
|
i0.ɵɵadvance(2);
|
|
@@ -8214,7 +8319,7 @@
|
|
|
8214
8319
|
var ctx_r1 = i0.ɵɵnextContext();
|
|
8215
8320
|
i0.ɵɵclassProp("sme-toggled", ctx_r1.ariaChecked);
|
|
8216
8321
|
i0.ɵɵproperty("smeDisabled", !ctx_r1.item.enabled || ctx_r1.item.busy || !ctx_r1.item.ready)("title", ctx_r1.item.text);
|
|
8217
|
-
i0.ɵɵattribute("role", ctx_r1.ariaRole)("aria-checked", ctx_r1.ariaChecked)("aria-label", ctx_r1.item.text);
|
|
8322
|
+
i0.ɵɵattribute("role", ctx_r1.ariaRole)("aria-checked", ctx_r1.ariaChecked)("data-uta-id", ctx_r1.item.actionId)("aria-label", ctx_r1.item.text);
|
|
8218
8323
|
i0.ɵɵadvance(1);
|
|
8219
8324
|
i0.ɵɵproperty("ngClass", ctx_r1.item.iconClass || "");
|
|
8220
8325
|
}
|
|
@@ -8287,8 +8392,8 @@
|
|
|
8287
8392
|
/** @nocollapse */ ActionButtonRendererComponent.ɵfac = function ActionButtonRendererComponent_Factory(t) { return new (t || ActionButtonRendererComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
8288
8393
|
/** @nocollapse */ ActionButtonRendererComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActionButtonRendererComponent, selectors: [["sme-action-button-renderer"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "sme-button-trigger sme-button-auto-width sme-button-align-left sme-position-stretch", "type", "button", 3, "sme-toggled", "smeDisabled", "click", 4, "ngIf"], ["class", "sme-button-trigger sme-button-auto-width sme-button-align-left sme-position-stretch", "type", "button", 3, "sme-toggled", "smeDisabled", "title", "click", 4, "ngIf"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-button-align-left", "sme-position-stretch", 3, "smeDisabled", "click"], ["aria-hidden", "true", 3, "ngClass"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-button-align-left", "sme-position-stretch", 3, "smeDisabled", "title", "click"]], template: function ActionButtonRendererComponent_Template(rf, ctx) {
|
|
8289
8394
|
if (rf & 1) {
|
|
8290
|
-
i0.ɵɵtemplate(0, ActionButtonRendererComponent_button_0_Template, 4,
|
|
8291
|
-
i0.ɵɵtemplate(1, ActionButtonRendererComponent_button_1_Template, 2,
|
|
8395
|
+
i0.ɵɵtemplate(0, ActionButtonRendererComponent_button_0_Template, 4, 8, "button", 0);
|
|
8396
|
+
i0.ɵɵtemplate(1, ActionButtonRendererComponent_button_1_Template, 2, 9, "button", 1);
|
|
8292
8397
|
}
|
|
8293
8398
|
if (rf & 2) {
|
|
8294
8399
|
i0.ɵɵproperty("ngIf", !(ctx.item.container == null ? null : ctx.item.container.compact));
|
|
@@ -8596,14 +8701,26 @@
|
|
|
8596
8701
|
|
|
8597
8702
|
var _c0$9 = ["dropDown"];
|
|
8598
8703
|
var _c1$4 = ["dropDownButton"];
|
|
8599
|
-
function
|
|
8704
|
+
function ActionDropdownRendererComponent_p_4_Template(rf, ctx) {
|
|
8600
8705
|
if (rf & 1) {
|
|
8601
|
-
i0.ɵɵ
|
|
8706
|
+
i0.ɵɵelementStart(0, "p", 9);
|
|
8707
|
+
i0.ɵɵtext(1);
|
|
8708
|
+
i0.ɵɵelementEnd();
|
|
8709
|
+
}
|
|
8710
|
+
if (rf & 2) {
|
|
8711
|
+
var ctx_r2 = i0.ɵɵnextContext();
|
|
8712
|
+
i0.ɵɵadvance(1);
|
|
8713
|
+
i0.ɵɵtextInterpolate(ctx_r2.actionTitle);
|
|
8602
8714
|
}
|
|
8603
8715
|
}
|
|
8604
8716
|
function ActionDropdownRendererComponent_span_8_Template(rf, ctx) {
|
|
8605
8717
|
if (rf & 1) {
|
|
8606
|
-
i0.ɵɵelement(0, "span",
|
|
8718
|
+
i0.ɵɵelement(0, "span", 10);
|
|
8719
|
+
}
|
|
8720
|
+
}
|
|
8721
|
+
function ActionDropdownRendererComponent_span_9_Template(rf, ctx) {
|
|
8722
|
+
if (rf & 1) {
|
|
8723
|
+
i0.ɵɵelement(0, "span", 11);
|
|
8607
8724
|
}
|
|
8608
8725
|
}
|
|
8609
8726
|
var _c2$3 = ["action"];
|
|
@@ -8630,6 +8747,20 @@
|
|
|
8630
8747
|
renderer.addClass(hostElement.nativeElement, 'sme-position-stretch');
|
|
8631
8748
|
return _this;
|
|
8632
8749
|
}
|
|
8750
|
+
Object.defineProperty(ActionDropdownRendererComponent.prototype, "actionTitle", {
|
|
8751
|
+
get: function () {
|
|
8752
|
+
return this.item.name && this.item.name !== this.item.text ? this.item.name : null;
|
|
8753
|
+
},
|
|
8754
|
+
enumerable: false,
|
|
8755
|
+
configurable: true
|
|
8756
|
+
});
|
|
8757
|
+
Object.defineProperty(ActionDropdownRendererComponent.prototype, "actionDropdownId", {
|
|
8758
|
+
get: function () {
|
|
8759
|
+
return this.item.actionId;
|
|
8760
|
+
},
|
|
8761
|
+
enumerable: false,
|
|
8762
|
+
configurable: true
|
|
8763
|
+
});
|
|
8633
8764
|
/**
|
|
8634
8765
|
* Method called to register a change with the ActionButton.
|
|
8635
8766
|
* @param item The ActionButton to register change for.
|
|
@@ -8710,19 +8841,20 @@
|
|
|
8710
8841
|
if (rf & 1) {
|
|
8711
8842
|
i0.ɵɵlistener("keydown", function ActionDropdownRendererComponent_keydown_HostBindingHandler($event) { return ctx.onToggleKeydown($event); })("mouseenter", function ActionDropdownRendererComponent_mouseenter_HostBindingHandler($event) { return ctx.onMouseEvent($event); })("mouseleave", function ActionDropdownRendererComponent_mouseleave_HostBindingHandler($event) { return ctx.onMouseEvent($event); });
|
|
8712
8843
|
}
|
|
8713
|
-
}, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
8844
|
+
}, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [["role", "presentation", 1, "sme-position-flex-none", 3, "displayToSide"], ["dropDown", ""], ["role", "menuitem", "type", "button", "aria-haspopup", "true", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-button-auto-width", "sme-button-align-left", "sme-position-stretch-h", "sme-dropdown-toggle", 3, "smeDisabled", "title"], ["dropDownButton", ""], ["class", "sme-screen-reader", 4, "ngIf"], [3, "ngClass"], ["class", "sme-icon sme-icon-size-xxs sme-icon-chevronDown sme-margin-left-xs", 4, "ngIf"], ["class", "sme-icon sme-icon-size-xxs sme-icon-chevronRight sme-position-right-inline", 4, "ngIf"], ["role", "menu", 1, "sme-dropdown-content", 3, "actions", "target", "targetChange", "error", "executed"], [1, "sme-screen-reader"], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-chevronDown", "sme-margin-left-xs"], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-chevronRight", "sme-position-right-inline"]], template: function ActionDropdownRendererComponent_Template(rf, ctx) {
|
|
8714
8845
|
if (rf & 1) {
|
|
8715
8846
|
i0.ɵɵelementStart(0, "sme-dropdown", 0, 1);
|
|
8716
8847
|
i0.ɵɵelementStart(2, "button", 2, 3);
|
|
8717
|
-
i0.ɵɵ
|
|
8718
|
-
i0.ɵɵ
|
|
8719
|
-
i0.ɵɵ
|
|
8848
|
+
i0.ɵɵtemplate(4, ActionDropdownRendererComponent_p_4_Template, 2, 1, "p", 4);
|
|
8849
|
+
i0.ɵɵelement(5, "span", 5);
|
|
8850
|
+
i0.ɵɵelementStart(6, "span");
|
|
8851
|
+
i0.ɵɵtext(7);
|
|
8720
8852
|
i0.ɵɵelementEnd();
|
|
8721
|
-
i0.ɵɵtemplate(7, ActionDropdownRendererComponent_span_7_Template, 1, 0, "span", 5);
|
|
8722
8853
|
i0.ɵɵtemplate(8, ActionDropdownRendererComponent_span_8_Template, 1, 0, "span", 6);
|
|
8854
|
+
i0.ɵɵtemplate(9, ActionDropdownRendererComponent_span_9_Template, 1, 0, "span", 7);
|
|
8723
8855
|
i0.ɵɵelementEnd();
|
|
8724
|
-
i0.ɵɵelementStart(
|
|
8725
|
-
i0.ɵɵlistener("targetChange", function
|
|
8856
|
+
i0.ɵɵelementStart(10, "sme-action-menu", 8);
|
|
8857
|
+
i0.ɵɵlistener("targetChange", function ActionDropdownRendererComponent_Template_sme_action_menu_targetChange_10_listener($event) { return ctx.item.container.target = $event; })("error", function ActionDropdownRendererComponent_Template_sme_action_menu_error_10_listener($event) { return ctx.item.container.error.emit($event); })("executed", function ActionDropdownRendererComponent_Template_sme_action_menu_executed_10_listener($event) { return ctx.item.container.executed.emit($event); });
|
|
8726
8858
|
i0.ɵɵelementEnd();
|
|
8727
8859
|
i0.ɵɵelementEnd();
|
|
8728
8860
|
}
|
|
@@ -8731,9 +8863,11 @@
|
|
|
8731
8863
|
i0.ɵɵproperty("displayToSide", (ctx.item.container == null ? null : ctx.item.container.orientation) === "horizontal");
|
|
8732
8864
|
i0.ɵɵadvance(2);
|
|
8733
8865
|
i0.ɵɵclassProp("sme-toggled", _r0.isOpen);
|
|
8734
|
-
i0.ɵɵproperty("smeDisabled", !ctx.item.enabled || ctx.item.busy || !ctx.item.ready);
|
|
8735
|
-
i0.ɵɵattribute("aria-expanded", _r0.isOpen);
|
|
8866
|
+
i0.ɵɵproperty("smeDisabled", !ctx.item.enabled || ctx.item.busy || !ctx.item.ready)("title", ctx.actionTitle);
|
|
8867
|
+
i0.ɵɵattribute("aria-expanded", _r0.isOpen)("data-uta-id", ctx.actionDropdownId);
|
|
8736
8868
|
i0.ɵɵadvance(2);
|
|
8869
|
+
i0.ɵɵproperty("ngIf", ctx.actionTitle);
|
|
8870
|
+
i0.ɵɵadvance(1);
|
|
8737
8871
|
i0.ɵɵproperty("ngClass", ctx.item.iconClass || "");
|
|
8738
8872
|
i0.ɵɵadvance(1);
|
|
8739
8873
|
i0.ɵɵclassProp("sme-screen-reader", ctx.item.container.compact);
|
|
@@ -9281,7 +9415,7 @@
|
|
|
9281
9415
|
})();
|
|
9282
9416
|
i0.ɵɵsetComponentScope(ActionBarComponent, [i1$1.NgForOf, DynamicActionItemComponent, DropdownComponent, TooltipDirective, ActionMenuComponent], []);
|
|
9283
9417
|
i0.ɵɵsetComponentScope(ActionMenuComponent, [i1$1.NgForOf, DynamicActionItemComponent], [FilterPipe]);
|
|
9284
|
-
i0.ɵɵsetComponentScope(ActionDropdownRendererComponent, [DropdownComponent, DisabledDirective, i1$1.
|
|
9418
|
+
i0.ɵɵsetComponentScope(ActionDropdownRendererComponent, [DropdownComponent, DisabledDirective, TooltipDirective, i1$1.NgIf, i1$1.NgClass, ActionMenuComponent], []);
|
|
9285
9419
|
|
|
9286
9420
|
var _c0$c = ["*"];
|
|
9287
9421
|
var DropZoneComponent = /** @class */ (function (_super) {
|
|
@@ -10190,6 +10324,22 @@
|
|
|
10190
10324
|
}
|
|
10191
10325
|
LoadingWheelSize.toProgressClass = toProgressClass;
|
|
10192
10326
|
})(exports.LoadingWheelSize || (exports.LoadingWheelSize = {}));
|
|
10327
|
+
/**
|
|
10328
|
+
* @smeDoc {@label Loading Wheel @id sme-loading-wheel}
|
|
10329
|
+
*
|
|
10330
|
+
* @overview
|
|
10331
|
+
* @file {@filepath ./examples/loading-wheel-overview.md}
|
|
10332
|
+
*
|
|
10333
|
+
* @example {@label Small loading wheel example @id small-loading-wheel}
|
|
10334
|
+
* @file {@filename small-loading-wheel-example.html @filepath ./examples/small-loading-wheel-example.html }
|
|
10335
|
+
* @file {@filename small-loading-wheel-example.ts @filepath ./examples/small-loading-wheel-example.ts }
|
|
10336
|
+
* @file {@filename loading-wheel-example.module.ts @filepath ./examples/loading-wheel-example.module.ts }
|
|
10337
|
+
*
|
|
10338
|
+
* @example {@label Large loading wheel example @id large-loading-wheel}
|
|
10339
|
+
* @file {@filename large-loading-wheel-example.html @filepath ./examples/large-loading-wheel-example.html }
|
|
10340
|
+
* @file {@filename large-loading-wheel-example.ts @filepath ./examples/large-loading-wheel-example.ts }
|
|
10341
|
+
* @file {@filename loading-wheel-example.module.ts @filepath ./examples/loading-wheel-example.module.ts }
|
|
10342
|
+
*/
|
|
10193
10343
|
var LoadingWheelComponent = /** @class */ (function (_super) {
|
|
10194
10344
|
__extends(LoadingWheelComponent, _super);
|
|
10195
10345
|
function LoadingWheelComponent(layout, injector) {
|
|
@@ -11703,6 +11853,17 @@
|
|
|
11703
11853
|
enumerable: false,
|
|
11704
11854
|
configurable: true
|
|
11705
11855
|
});
|
|
11856
|
+
Object.defineProperty(FormFieldComponent.prototype, "dataUtaId", {
|
|
11857
|
+
/**
|
|
11858
|
+
* The form field's UTA id getter.
|
|
11859
|
+
* The ID is based on the form field name that's set on the ngModel.
|
|
11860
|
+
*/
|
|
11861
|
+
get: function () {
|
|
11862
|
+
return this.utaId ? this.utaId : this.ngModel && this.ngModel.name && this.ngModel.name.toString();
|
|
11863
|
+
},
|
|
11864
|
+
enumerable: false,
|
|
11865
|
+
configurable: true
|
|
11866
|
+
});
|
|
11706
11867
|
Object.defineProperty(FormFieldComponent.prototype, "internalDisabled", {
|
|
11707
11868
|
/**
|
|
11708
11869
|
* Placeholder for the combined disabled state
|
|
@@ -12427,12 +12588,12 @@
|
|
|
12427
12588
|
var _t = void 0;
|
|
12428
12589
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.subFormTemplate = _t.first);
|
|
12429
12590
|
}
|
|
12430
|
-
}, hostVars:
|
|
12591
|
+
}, hostVars: 15, hostBindings: function FormFieldComponent_HostBindings(rf, ctx) {
|
|
12431
12592
|
if (rf & 2) {
|
|
12432
|
-
i0.ɵɵattribute("disabled", ctx.loadingOrDisabled)("aria-disabled", ctx.loadingOrDisabled);
|
|
12593
|
+
i0.ɵɵattribute("disabled", ctx.loadingOrDisabled)("aria-disabled", ctx.loadingOrDisabled)("data-uta-id", ctx.dataUtaId);
|
|
12433
12594
|
i0.ɵɵclassProp("sme-form-field-auto-height", ctx.compact)("sme-form-field-minimal", ctx.minimal)("sme-disabled", ctx.loadingOrDisabled)("sme-form-field-error-alert-border", ctx.errorAlertBorder)("sme-form-field-orientation-horizontal", ctx.isHorizontalLayout)("sme-form-field-orientation-vertical", ctx.isVerticalLayout);
|
|
12434
12595
|
}
|
|
12435
|
-
}, inputs: { type: "type", hideHeader: "hideHeader", hideHeaderSpace: "hideHeaderSpace", required: "required", autofocus: "autofocus", placeholder: "placeholder", label: "label", description: "description", compact: "compact", minimal: "minimal", readonly: "readonly", instructions: "instructions", tooltipTemplate: "tooltipTemplate", tooltip: "tooltip", tooltipContext: "tooltipContext", disabledInput: ["disabled", "disabledInput"], loading: "loading", loadingMessage: "loadingMessage", pendingMessage: "pendingMessage", immediateValidation: "immediateValidation", orientation: "orientation", formFieldContainer: "formFieldContainer" }, outputs: { change: "change" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] });
|
|
12596
|
+
}, inputs: { type: "type", hideHeader: "hideHeader", hideHeaderSpace: "hideHeaderSpace", required: "required", autofocus: "autofocus", placeholder: "placeholder", label: "label", description: "description", compact: "compact", minimal: "minimal", readonly: "readonly", instructions: "instructions", tooltipTemplate: "tooltipTemplate", tooltip: "tooltip", tooltipContext: "tooltipContext", disabledInput: ["disabled", "disabledInput"], loading: "loading", loadingMessage: "loadingMessage", pendingMessage: "pendingMessage", utaId: "utaId", immediateValidation: "immediateValidation", orientation: "orientation", formFieldContainer: "formFieldContainer" }, outputs: { change: "change" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] });
|
|
12436
12597
|
__decorate([
|
|
12437
12598
|
SmeInject(i4.NgControl, true),
|
|
12438
12599
|
__metadata("design:type", i4.NgControl)
|
|
@@ -12533,6 +12694,11 @@
|
|
|
12533
12694
|
type: i0.Input
|
|
12534
12695
|
}], pendingMessage: [{
|
|
12535
12696
|
type: i0.Input
|
|
12697
|
+
}], utaId: [{
|
|
12698
|
+
type: i0.Input
|
|
12699
|
+
}], dataUtaId: [{
|
|
12700
|
+
type: i0.HostBinding,
|
|
12701
|
+
args: ['attr.data-uta-id']
|
|
12536
12702
|
}], immediateValidation: [{
|
|
12537
12703
|
type: i0.Input
|
|
12538
12704
|
}], change: [{
|
|
@@ -12678,7 +12844,7 @@
|
|
|
12678
12844
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultSubFormTemplate = _t.first);
|
|
12679
12845
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.allTemplates = _t);
|
|
12680
12846
|
}
|
|
12681
|
-
}, inputs: { value: "value", label: "label", description: "description", disabled: "disabled", hidden: "hidden", tooltip: "tooltip", tooltipTemplate: "tooltipTemplate", tooltipContext: "tooltipContext" }, decls: 0, vars: 0, template: function FormFieldOptionComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
12847
|
+
}, inputs: { utaId: "utaId", value: "value", label: "label", description: "description", disabled: "disabled", hidden: "hidden", tooltip: "tooltip", tooltipTemplate: "tooltipTemplate", tooltipContext: "tooltipContext" }, decls: 0, vars: 0, template: function FormFieldOptionComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
12682
12848
|
(function () {
|
|
12683
12849
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldOptionComponent, [{
|
|
12684
12850
|
type: i0.Component,
|
|
@@ -12686,7 +12852,9 @@
|
|
|
12686
12852
|
selector: 'sme-option',
|
|
12687
12853
|
template: ''
|
|
12688
12854
|
}]
|
|
12689
|
-
}], null, {
|
|
12855
|
+
}], null, { utaId: [{
|
|
12856
|
+
type: i0.Input
|
|
12857
|
+
}], value: [{
|
|
12690
12858
|
type: i0.Input
|
|
12691
12859
|
}], label: [{
|
|
12692
12860
|
type: i0.Input
|
|
@@ -13604,7 +13772,7 @@
|
|
|
13604
13772
|
}
|
|
13605
13773
|
if (rf & 2) {
|
|
13606
13774
|
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
13607
|
-
i0.ɵɵproperty("smeMarkdown", ctx_r3.message)
|
|
13775
|
+
i0.ɵɵproperty("smeMarkdown", ctx_r3.message);
|
|
13608
13776
|
i0.ɵɵattribute("id", ctx_r3.idBag.alertMessage);
|
|
13609
13777
|
}
|
|
13610
13778
|
}
|
|
@@ -13615,7 +13783,7 @@
|
|
|
13615
13783
|
i0.ɵɵtext(2);
|
|
13616
13784
|
i0.ɵɵelementEnd();
|
|
13617
13785
|
i0.ɵɵtemplate(3, ValidationAlertComponent_div_1_span_3_Template, 2, 2, "span", 4);
|
|
13618
|
-
i0.ɵɵtemplate(4, ValidationAlertComponent_div_1_p_4_Template, 1,
|
|
13786
|
+
i0.ɵɵtemplate(4, ValidationAlertComponent_div_1_p_4_Template, 1, 2, "p", 5);
|
|
13619
13787
|
i0.ɵɵelementEnd();
|
|
13620
13788
|
}
|
|
13621
13789
|
if (rf & 2) {
|
|
@@ -13799,16 +13967,6 @@
|
|
|
13799
13967
|
enumerable: false,
|
|
13800
13968
|
configurable: true
|
|
13801
13969
|
});
|
|
13802
|
-
Object.defineProperty(ValidationAlertComponent.prototype, "useInlineLexer", {
|
|
13803
|
-
/**
|
|
13804
|
-
* Optionally center text for the alert.
|
|
13805
|
-
*/
|
|
13806
|
-
get: function () {
|
|
13807
|
-
return this.hasAlert ? !!this.alert.useInlineLexer : false;
|
|
13808
|
-
},
|
|
13809
|
-
enumerable: false,
|
|
13810
|
-
configurable: true
|
|
13811
|
-
});
|
|
13812
13970
|
Object.defineProperty(ValidationAlertComponent.prototype, "alertType", {
|
|
13813
13971
|
/**
|
|
13814
13972
|
* Indicates that the current alert is an success alert
|
|
@@ -13900,7 +14058,7 @@
|
|
|
13900
14058
|
if (rf & 2) {
|
|
13901
14059
|
i0.ɵɵclassProp("sme-alert-background", ctx.showBackground)("sme-layout-none", ctx.isHidden)("sme-alert-pending", ctx.isPending)("sme-alert-error", ctx.isError)("sme-alert-warning", ctx.isWarning)("sme-alert-informational", ctx.isInformational)("sme-alert-success", ctx.isSuccess);
|
|
13902
14060
|
}
|
|
13903
|
-
}, inputs: { showBackground: "showBackground", alert: "alert", role: "role" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [["size", "small", "class", "sme-layout-relative sme-layout-inline-block sme-width-lg sme-margin-right-xs", 3, "isBackgroundTransparent", 4, "ngIf"], [4, "ngIf"], ["size", "small", 1, "sme-layout-relative", "sme-layout-inline-block", "sme-width-lg", "sme-margin-right-xs", 3, "isBackgroundTransparent"], [1, "sme-screen-reader"], ["aria-hidden", "true", 4, "ngIf"], ["aria-hidden", "true", 3, "smeMarkdown",
|
|
14061
|
+
}, inputs: { showBackground: "showBackground", alert: "alert", role: "role" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [["size", "small", "class", "sme-layout-relative sme-layout-inline-block sme-width-lg sme-margin-right-xs", 3, "isBackgroundTransparent", 4, "ngIf"], [4, "ngIf"], ["size", "small", 1, "sme-layout-relative", "sme-layout-inline-block", "sme-width-lg", "sme-margin-right-xs", 3, "isBackgroundTransparent"], [1, "sme-screen-reader"], ["aria-hidden", "true", 4, "ngIf"], ["aria-hidden", "true", 3, "smeMarkdown", 4, "ngIf"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "smeMarkdown"]], template: function ValidationAlertComponent_Template(rf, ctx) {
|
|
13904
14062
|
if (rf & 1) {
|
|
13905
14063
|
i0.ɵɵtemplate(0, ValidationAlertComponent_sme_loading_wheel_0_Template, 1, 1, "sme-loading-wheel", 0);
|
|
13906
14064
|
i0.ɵɵtemplate(1, ValidationAlertComponent_div_1_Template, 5, 6, "div", 1);
|
|
@@ -14141,7 +14299,7 @@
|
|
|
14141
14299
|
var ctx_r1 = i0.ɵɵnextContext(2);
|
|
14142
14300
|
i0.ɵɵadvance(2);
|
|
14143
14301
|
i0.ɵɵproperty("id", ctx_r1.idBag.selectAllCheckbox)("checked", ctx_r1.isAllOptionsSelected)("disabled", ctx_r1.loadingOrDisabled);
|
|
14144
|
-
i0.ɵɵattribute("aria-label", ctx_r1.selectAllLabel)("aria-describedby", ctx_r1.idBag.selectAllCheckboxDescription)("aria-checked", ctx_r1.isAllOptionsSelected);
|
|
14302
|
+
i0.ɵɵattribute("aria-label", ctx_r1.selectAllLabel)("aria-describedby", ctx_r1.idBag.selectAllCheckboxDescription)("aria-checked", ctx_r1.isAllOptionsSelected)("aria-required", ctx_r1.required);
|
|
14145
14303
|
i0.ɵɵadvance(2);
|
|
14146
14304
|
i0.ɵɵtextInterpolate(ctx_r1.selectAllLabel);
|
|
14147
14305
|
i0.ɵɵadvance(1);
|
|
@@ -14206,7 +14364,7 @@
|
|
|
14206
14364
|
function ChecklistFormFieldComponent_div_1_Template(rf, ctx) {
|
|
14207
14365
|
if (rf & 1) {
|
|
14208
14366
|
i0.ɵɵelementStart(0, "div", 3);
|
|
14209
|
-
i0.ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7,
|
|
14367
|
+
i0.ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7, 10, "div", 4);
|
|
14210
14368
|
i0.ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9, 11, "ng-container", 5);
|
|
14211
14369
|
i0.ɵɵelementEnd();
|
|
14212
14370
|
}
|
|
@@ -15890,13 +16048,14 @@
|
|
|
15890
16048
|
* @deprecated since 02/20/18. Please use 'AppContextService.frame.showDialogConfirmation' instead
|
|
15891
16049
|
*/
|
|
15892
16050
|
DialogService.prototype.showConfirmation = function (options) {
|
|
16051
|
+
var confirmationObservable;
|
|
15893
16052
|
// if running from shell, manually launch dialog
|
|
15894
16053
|
if (this.appContext.rpc.isShell) {
|
|
15895
|
-
|
|
16054
|
+
confirmationObservable = this.show(this.commonIds.confirmation, options);
|
|
15896
16055
|
}
|
|
15897
16056
|
else {
|
|
15898
16057
|
// otherwise ask the shell to do it for us.
|
|
15899
|
-
|
|
16058
|
+
confirmationObservable = this.appContext.frame.showDialogConfirmation({
|
|
15900
16059
|
cancelButtonText: options.cancelButtonText,
|
|
15901
16060
|
checkboxText: options.checkboxText,
|
|
15902
16061
|
confirmButtonText: options.confirmButtonText,
|
|
@@ -15905,6 +16064,9 @@
|
|
|
15905
16064
|
title: options.title
|
|
15906
16065
|
});
|
|
15907
16066
|
}
|
|
16067
|
+
return confirmationObservable.pipe(operators.map(function (response) {
|
|
16068
|
+
return response || { confirmed: false, checkboxResult: false };
|
|
16069
|
+
}));
|
|
15908
16070
|
};
|
|
15909
16071
|
/**
|
|
15910
16072
|
* Hide a confirmation dialog.
|
|
@@ -16909,64 +17071,76 @@
|
|
|
16909
17071
|
}
|
|
16910
17072
|
var _c1$b = ["addButton"];
|
|
16911
17073
|
var _c2$7 = ["type", "array"];
|
|
17074
|
+
var _c3$3 = function (a0, a1) { return { index: a0, ariaLabelId: a1 }; };
|
|
17075
|
+
function ArrayFormFieldComponent_sme_accordion_panel_3_ng_container_2_Template(rf, ctx) {
|
|
17076
|
+
if (rf & 1) {
|
|
17077
|
+
i0.ɵɵelementContainer(0, 15);
|
|
17078
|
+
}
|
|
17079
|
+
if (rf & 2) {
|
|
17080
|
+
var ctx_r8 = i0.ɵɵnextContext();
|
|
17081
|
+
var item_r2 = ctx_r8.$implicit;
|
|
17082
|
+
var i_r3 = ctx_r8.index;
|
|
17083
|
+
var ctx_r4 = i0.ɵɵnextContext();
|
|
17084
|
+
i0.ɵɵproperty("template", ctx_r4.headerTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(3, _c3$3, i_r3, ctx_r4.getItemAriaId(i_r3, "itemHeader")));
|
|
17085
|
+
}
|
|
17086
|
+
}
|
|
16912
17087
|
function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template(rf, ctx) {
|
|
16913
17088
|
if (rf & 1) {
|
|
16914
|
-
var
|
|
16915
|
-
i0.ɵɵelementStart(0, "button",
|
|
16916
|
-
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
16917
|
-
i0.ɵɵelement(1, "span",
|
|
17089
|
+
var _r11_1 = i0.ɵɵgetCurrentView();
|
|
17090
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
17091
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.moveUp(item_r2); });
|
|
17092
|
+
i0.ɵɵelement(1, "span", 17);
|
|
16918
17093
|
i0.ɵɵelementEnd();
|
|
16919
17094
|
}
|
|
16920
17095
|
if (rf & 2) {
|
|
16921
|
-
var
|
|
16922
|
-
i0.ɵɵproperty("title",
|
|
16923
|
-
i0.ɵɵattribute("aria-label",
|
|
17096
|
+
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
17097
|
+
i0.ɵɵproperty("title", ctx_r5.strings.MsftSmeShell.Angular.Form.Array.promoteButtonTooltip)("smeDisabled", ctx_r5.loadingOrDisabled);
|
|
17098
|
+
i0.ɵɵattribute("aria-label", ctx_r5.strings.MsftSmeShell.Angular.Form.Array.promoteButtonAriaLabel);
|
|
16924
17099
|
}
|
|
16925
17100
|
}
|
|
16926
17101
|
function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template(rf, ctx) {
|
|
16927
17102
|
if (rf & 1) {
|
|
16928
|
-
var
|
|
16929
|
-
i0.ɵɵelementStart(0, "button",
|
|
16930
|
-
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
16931
|
-
i0.ɵɵelement(1, "span",
|
|
17103
|
+
var _r14_1 = i0.ɵɵgetCurrentView();
|
|
17104
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
17105
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r14_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.moveDown(item_r2); });
|
|
17106
|
+
i0.ɵɵelement(1, "span", 19);
|
|
16932
17107
|
i0.ɵɵelementEnd();
|
|
16933
17108
|
}
|
|
16934
17109
|
if (rf & 2) {
|
|
16935
|
-
var
|
|
16936
|
-
i0.ɵɵproperty("title",
|
|
16937
|
-
i0.ɵɵattribute("aria-label",
|
|
17110
|
+
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
17111
|
+
i0.ɵɵproperty("title", ctx_r6.strings.MsftSmeShell.Angular.Form.Array.demoteButtonTooltip)("smeDisabled", ctx_r6.loadingOrDisabled);
|
|
17112
|
+
i0.ɵɵattribute("aria-label", ctx_r6.strings.MsftSmeShell.Angular.Form.Array.demoteButtonAriaLabel);
|
|
16938
17113
|
}
|
|
16939
17114
|
}
|
|
16940
17115
|
function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template(rf, ctx) {
|
|
16941
17116
|
if (rf & 1) {
|
|
16942
|
-
var
|
|
16943
|
-
i0.ɵɵelementStart(0, "button",
|
|
16944
|
-
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
16945
|
-
i0.ɵɵelement(1, "span",
|
|
17117
|
+
var _r17_1 = i0.ɵɵgetCurrentView();
|
|
17118
|
+
i0.ɵɵelementStart(0, "button", 20);
|
|
17119
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var item_r2 = i0.ɵɵnextContext().$implicit; var ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.delete(item_r2); });
|
|
17120
|
+
i0.ɵɵelement(1, "span", 21);
|
|
16946
17121
|
i0.ɵɵelementEnd();
|
|
16947
17122
|
}
|
|
16948
17123
|
if (rf & 2) {
|
|
16949
|
-
var
|
|
16950
|
-
i0.ɵɵproperty("title",
|
|
16951
|
-
i0.ɵɵattribute("aria-label",
|
|
17124
|
+
var ctx_r7 = i0.ɵɵnextContext(2);
|
|
17125
|
+
i0.ɵɵproperty("title", ctx_r7.strings.MsftSmeShell.Angular.Form.Array.removeButtonTooltip)("smeDisabled", ctx_r7.loadingOrDisabled);
|
|
17126
|
+
i0.ɵɵattribute("aria-label", ctx_r7.strings.MsftSmeShell.Angular.Form.Array.removeButtonAriaLabel);
|
|
16952
17127
|
}
|
|
16953
17128
|
}
|
|
16954
|
-
var _c3$3 = function (a0, a1) { return { index: a0, ariaLabelId: a1 }; };
|
|
16955
17129
|
function ArrayFormFieldComponent_sme_accordion_panel_3_Template(rf, ctx) {
|
|
16956
17130
|
if (rf & 1) {
|
|
16957
17131
|
i0.ɵɵelementStart(0, "sme-accordion-panel", 7);
|
|
16958
17132
|
i0.ɵɵelementStart(1, "sme-panel-control");
|
|
16959
|
-
i0.ɵɵ
|
|
17133
|
+
i0.ɵɵtemplate(2, ArrayFormFieldComponent_sme_accordion_panel_3_ng_container_2_Template, 1, 6, "ng-container", 8);
|
|
16960
17134
|
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template, 2, 3, "button", 9);
|
|
16961
|
-
i0.ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button",
|
|
16962
|
-
i0.ɵɵtemplate(5, ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template, 2, 3, "button",
|
|
17135
|
+
i0.ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button", 10);
|
|
17136
|
+
i0.ɵɵtemplate(5, ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template, 2, 3, "button", 11);
|
|
16963
17137
|
i0.ɵɵelementEnd();
|
|
16964
|
-
i0.ɵɵelementStart(6, "span",
|
|
17138
|
+
i0.ɵɵelementStart(6, "span", 12);
|
|
16965
17139
|
i0.ɵɵtext(7);
|
|
16966
17140
|
i0.ɵɵelementEnd();
|
|
16967
|
-
i0.ɵɵelementStart(8, "fieldset",
|
|
16968
|
-
i0.ɵɵelementStart(9, "div",
|
|
16969
|
-
i0.ɵɵelementContainer(10,
|
|
17141
|
+
i0.ɵɵelementStart(8, "fieldset", 13);
|
|
17142
|
+
i0.ɵɵelementStart(9, "div", 14);
|
|
17143
|
+
i0.ɵɵelementContainer(10, 15);
|
|
16970
17144
|
i0.ɵɵelementEnd();
|
|
16971
17145
|
i0.ɵɵelementEnd();
|
|
16972
17146
|
i0.ɵɵelementEnd();
|
|
@@ -16976,8 +17150,9 @@
|
|
|
16976
17150
|
var i_r3 = ctx.index;
|
|
16977
17151
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
16978
17152
|
i0.ɵɵproperty("header", ctx_r0.getItemTitle(item_r2, i_r3))("isExpandable", false);
|
|
17153
|
+
i0.ɵɵattribute("data-uta-id", "array-form-field-item-" + i_r3);
|
|
16979
17154
|
i0.ɵɵadvance(2);
|
|
16980
|
-
i0.ɵɵproperty("
|
|
17155
|
+
i0.ɵɵproperty("ngIf", ctx_r0.headerTemplate);
|
|
16981
17156
|
i0.ɵɵadvance(1);
|
|
16982
17157
|
i0.ɵɵproperty("ngIf", ctx_r0.showMove);
|
|
16983
17158
|
i0.ɵɵadvance(1);
|
|
@@ -16994,14 +17169,14 @@
|
|
|
16994
17169
|
i0.ɵɵadvance(1);
|
|
16995
17170
|
i0.ɵɵproperty("id", ctx_r0.getItemAriaId(i_r3, "itemContainer"));
|
|
16996
17171
|
i0.ɵɵadvance(1);
|
|
16997
|
-
i0.ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(
|
|
17172
|
+
i0.ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", i0.ɵɵpureFunction2(16, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "item")));
|
|
16998
17173
|
}
|
|
16999
17174
|
}
|
|
17000
17175
|
function ArrayFormFieldComponent_button_4_Template(rf, ctx) {
|
|
17001
17176
|
if (rf & 1) {
|
|
17002
|
-
var
|
|
17003
|
-
i0.ɵɵelementStart(0, "button",
|
|
17004
|
-
i0.ɵɵlistener("click", function ArrayFormFieldComponent_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
17177
|
+
var _r20_1 = i0.ɵɵgetCurrentView();
|
|
17178
|
+
i0.ɵɵelementStart(0, "button", 22, 23);
|
|
17179
|
+
i0.ɵɵlistener("click", function ArrayFormFieldComponent_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r20_1); var ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.add(); });
|
|
17005
17180
|
i0.ɵɵtext(2);
|
|
17006
17181
|
i0.ɵɵelementEnd();
|
|
17007
17182
|
}
|
|
@@ -17341,12 +17516,12 @@
|
|
|
17341
17516
|
if (rf & 2) {
|
|
17342
17517
|
i0.ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
17343
17518
|
}
|
|
17344
|
-
}, 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) {
|
|
17519
|
+
}, 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", "data-uta-id", "add-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", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", "data-uta-id", "promote-button", 3, "title", "smeDisabled", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", "data-uta-id", "demote-button", 3, "title", "smeDisabled", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height sme-padding-horizontal-xs", "data-uta-id", "remove-button", 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"], ["smeTemplateOutlet", "", "hostDataName", "context", 3, "template", "data", "hostData"], ["type", "button", "data-uta-id", "promote-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"], ["type", "button", "data-uta-id", "demote-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-down"], ["type", "button", "data-uta-id", "remove-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-delete", "sme-color-red"], ["type", "button", "data-uta-id", "add-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) {
|
|
17345
17520
|
if (rf & 1) {
|
|
17346
17521
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
17347
17522
|
i0.ɵɵelementStart(1, "div", 1);
|
|
17348
17523
|
i0.ɵɵelementStart(2, "sme-accordion", 2);
|
|
17349
|
-
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 11,
|
|
17524
|
+
i0.ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 11, 19, "sme-accordion-panel", 3);
|
|
17350
17525
|
i0.ɵɵelementEnd();
|
|
17351
17526
|
i0.ɵɵtemplate(4, ArrayFormFieldComponent_button_4_Template, 3, 4, "button", 4);
|
|
17352
17527
|
i0.ɵɵelementEnd();
|
|
@@ -17369,7 +17544,7 @@
|
|
|
17369
17544
|
i0.ɵɵadvance(2);
|
|
17370
17545
|
i0.ɵɵtextInterpolate(ctx.screenReaderEvent);
|
|
17371
17546
|
}
|
|
17372
|
-
}, directives: [FormFieldLayoutComponent, AccordionComponent, i1$1.NgForOf, i1$1.NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent,
|
|
17547
|
+
}, directives: [FormFieldLayoutComponent, AccordionComponent, i1$1.NgForOf, i1$1.NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent, FieldsetDirective, TemplateOutletDirective, TooltipDirective, DisabledDirective], encapsulation: 2 });
|
|
17373
17548
|
exports.ArrayFormFieldComponent = __decorate([
|
|
17374
17549
|
SmeSchemaProperty({
|
|
17375
17550
|
type: exports.SchemaPrimitiveType.Array,
|
|
@@ -19630,7 +19805,7 @@
|
|
|
19630
19805
|
return SearchFormFieldComponent;
|
|
19631
19806
|
}(SmeInternalFormFieldComponent));
|
|
19632
19807
|
/** @nocollapse */ SearchFormFieldComponent.ɵfac = function SearchFormFieldComponent_Factory(t) { return new (t || SearchFormFieldComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
19633
|
-
/** @nocollapse */ SearchFormFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchFormFieldComponent, selectors: [["sme-form-field", "type", "search"]], inputs: { count: "count", searching: "searching", trimSearch: "trimSearch", emphasizeSearchButton: "emphasizeSearchButton", searchButtonText: "searchButtonText", disableSearchButton: "disableSearchButton" }, outputs: { search: "search", deliberateSearch: "deliberateSearch" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$u, decls: 11, vars: 17, consts: [[3, "formField"], [1, "sme-searchbox", "sme-searchbox-button-icon"], ["type", "search", 3, "required", "autofocus", "disabled", "ngModel", "placeholder", "ngModelChange", "keydown.Enter"], [4, "ngIf"], [1, "sme-screen-reader", 3, "id"], ["aria-live", "polite", "aria-relevant", "all", 4, "ngIf"], [3, "alert"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height", 3, "smeDisabled", "title", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-primary sme-button-auto-width sme-form-field-height", 3, "smeDisabled", "click", 4, "ngIf"], ["type", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-form-field-height", 3, "smeDisabled", "title", "click"], [1, "sme-icon", "sme-icon-search"], ["type", "button", 1, "sme-button-primary", "sme-button-auto-width", "sme-form-field-height", 3, "smeDisabled", "click"], [1, "sme-icon", "sme-icon-search", "sme-margin-right-xs"], [1, "sme-icon", "sme-icon-search", "sme-margin-right-xs", "sme-margin-top-xs", 3, "click"], ["aria-live", "polite", "aria-relevant", "all"]], template: function SearchFormFieldComponent_Template(rf, ctx) {
|
|
19808
|
+
/** @nocollapse */ SearchFormFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchFormFieldComponent, selectors: [["sme-form-field", "type", "search"]], inputs: { count: "count", searching: "searching", trimSearch: "trimSearch", emphasizeSearchButton: "emphasizeSearchButton", searchButtonText: "searchButtonText", disableSearchButton: "disableSearchButton" }, outputs: { search: "search", deliberateSearch: "deliberateSearch" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$u, decls: 11, vars: 17, consts: [[3, "formField"], [1, "sme-searchbox", "sme-searchbox-button-icon"], ["type", "search", 3, "required", "autofocus", "disabled", "ngModel", "placeholder", "ngModelChange", "keydown.Enter"], [4, "ngIf"], [1, "sme-screen-reader", 3, "id"], ["aria-live", "polite", "aria-relevant", "all", 4, "ngIf"], [3, "alert"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-form-field-height", "data-uta-id", "search-button", 3, "smeDisabled", "title", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-primary sme-button-auto-width sme-form-field-height", "data-uta-id", "search-button", 3, "smeDisabled", "click", 4, "ngIf"], ["type", "button", "data-uta-id", "search-button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-form-field-height", 3, "smeDisabled", "title", "click"], [1, "sme-icon", "sme-icon-search"], ["type", "button", "data-uta-id", "search-button", 1, "sme-button-primary", "sme-button-auto-width", "sme-form-field-height", 3, "smeDisabled", "click"], [1, "sme-icon", "sme-icon-search", "sme-margin-right-xs"], [1, "sme-icon", "sme-icon-search", "sme-margin-right-xs", "sme-margin-top-xs", 3, "click"], ["aria-live", "polite", "aria-relevant", "all"]], template: function SearchFormFieldComponent_Template(rf, ctx) {
|
|
19634
19809
|
if (rf & 1) {
|
|
19635
19810
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
19636
19811
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -19858,14 +20033,14 @@
|
|
|
19858
20033
|
var ctx_r9 = i0.ɵɵnextContext();
|
|
19859
20034
|
i0.ɵɵclassProp("sme-selected", option_r22.isSelected);
|
|
19860
20035
|
i0.ɵɵproperty("disabled", option_r22.disabled);
|
|
19861
|
-
i0.ɵɵattribute("aria-selected", option_r22.isSelected)("aria-label", option_r22.toString());
|
|
20036
|
+
i0.ɵɵattribute("aria-selected", option_r22.isSelected)("aria-label", option_r22.toString())("data-uta-id", option_r22.utaId ? option_r22.utaId : option_r22.value);
|
|
19862
20037
|
i0.ɵɵadvance(1);
|
|
19863
20038
|
i0.ɵɵproperty("smeTooltip", option_r22.disabled ? null : option_r22.resolvedTooltipTemplate)("smeTooltipContext", option_r22.disabled ? null : option_r22.tooltipContext || option_r22);
|
|
19864
20039
|
i0.ɵɵadvance(1);
|
|
19865
20040
|
i0.ɵɵclassProp("sme-arrange-ellipsis", !ctx_r9.overflowWrap)("sme-combobox-option-wrap", ctx_r9.overflowWrap);
|
|
19866
20041
|
i0.ɵɵproperty("title", option_r22.resolvedTitle);
|
|
19867
20042
|
i0.ɵɵadvance(1);
|
|
19868
|
-
i0.ɵɵ
|
|
20043
|
+
i0.ɵɵtextInterpolate1("", option_r22.toString(), " ");
|
|
19869
20044
|
}
|
|
19870
20045
|
}
|
|
19871
20046
|
function ComboboxFormFieldComponent_ng_template_18_Template(rf, ctx) {
|
|
@@ -19876,9 +20051,10 @@
|
|
|
19876
20051
|
i0.ɵɵelementStart(2, "input", 28);
|
|
19877
20052
|
i0.ɵɵlistener("change", function ComboboxFormFieldComponent_ng_template_18_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r27_1); var option_r25 = ctx.$implicit; var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.toggleOption(option_r25, !option_r25.isSelected); });
|
|
19878
20053
|
i0.ɵɵelementEnd();
|
|
19879
|
-
i0.ɵɵ
|
|
19880
|
-
i0.ɵɵelementStart(4, "span",
|
|
19881
|
-
i0.ɵɵ
|
|
20054
|
+
i0.ɵɵtext(3, " [disabled]=\"option.disabled\" class=\"sme-layout-absolute sme-position-inset-none\" /> ");
|
|
20055
|
+
i0.ɵɵelementStart(4, "span", 29);
|
|
20056
|
+
i0.ɵɵelementStart(5, "span", 30);
|
|
20057
|
+
i0.ɵɵtext(6);
|
|
19882
20058
|
i0.ɵɵelementEnd();
|
|
19883
20059
|
i0.ɵɵelementEnd();
|
|
19884
20060
|
i0.ɵɵelementEnd();
|
|
@@ -19888,15 +20064,15 @@
|
|
|
19888
20064
|
var option_r25 = ctx.$implicit;
|
|
19889
20065
|
var ctx_r11 = i0.ɵɵnextContext();
|
|
19890
20066
|
i0.ɵɵadvance(2);
|
|
19891
|
-
i0.ɵɵproperty("checked", option_r25.isSelected)
|
|
19892
|
-
i0.ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString());
|
|
19893
|
-
i0.ɵɵadvance(
|
|
20067
|
+
i0.ɵɵproperty("checked", option_r25.isSelected);
|
|
20068
|
+
i0.ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString())("data-uta-id", option_r25.utaId ? option_r25.utaId : option_r25.value);
|
|
20069
|
+
i0.ɵɵadvance(2);
|
|
19894
20070
|
i0.ɵɵclassProp("sme-combobox-option-wrap", ctx_r11.overflowWrap);
|
|
19895
20071
|
i0.ɵɵproperty("smeTooltip", option_r25.disabled ? null : option_r25.resolvedTooltipTemplate)("title", option_r25.resolvedTitle)("smeTooltipContext", option_r25.disabled ? null : option_r25.tooltipContext || option_r25);
|
|
19896
20072
|
i0.ɵɵadvance(1);
|
|
19897
20073
|
i0.ɵɵclassProp("sme-arrange-ellipsis", !ctx_r11.overflowWrap);
|
|
19898
20074
|
i0.ɵɵadvance(1);
|
|
19899
|
-
i0.ɵɵ
|
|
20075
|
+
i0.ɵɵtextInterpolate1("", option_r25.toString(), " ");
|
|
19900
20076
|
}
|
|
19901
20077
|
}
|
|
19902
20078
|
var _c5 = function (a0) { return { "max-width.px": a0 }; };
|
|
@@ -20220,7 +20396,7 @@
|
|
|
20220
20396
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listboxElement = _t.first);
|
|
20221
20397
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
20222
20398
|
}
|
|
20223
|
-
}, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$1, decls: 20, vars: 30, consts: [[3, "formField"], [1, "sme-combobox", "sme-focus-zone", "sme-form-field-editor", 3, "autoToggle", "disabled", "calculateHeight", "dropdownApplyFormFieldOffsetWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown", "keypress"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "readonly", "", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "value", "placeholder", "click"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], [1, "sme-icon", "sme-icon-chevronDown"], ["role", "listbox", 1, "sme-dropdown-content", "sme-dropdown-content-inherit-container-height", 3, "ngStyle", "id", "keydown"], ["listbox", ""], [3, "sme-padding-squish-v-xs", "keydown", 4, "ngIf"], ["class", "sme-checkbox sme-dropdown-interaction-enabled", "role", "option", 3, "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [3, "alert"], ["singleSelectTemplate", ""], ["multiSelectTemplate", ""], [3, "keydown"], ["name", "searchStringValue", "type", "search", 3, "disableSearchButton", "placeholder", "label", "id", "count", "ngModel", "ngModelChange"], ["role", "option", 1, "sme-checkbox", "sme-dropdown-interaction-enabled"], [1, "sme-position-stretch-h", "sme-arrange-word-break-all"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "change"], ["aria-hidden", "true"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["smeTemplateOutlet", "", 3, "template", "data"], ["type", "button", "role", "option", 3, "disabled", "click"], [3, "smeTooltip", "smeTooltipContext"], [1, "sme-layout-float-left", 3, "title"], ["type", "checkbox", "role", "checkbox",
|
|
20399
|
+
}, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$1, decls: 20, vars: 30, consts: [[3, "formField"], [1, "sme-combobox", "sme-focus-zone", "sme-form-field-editor", 3, "autoToggle", "disabled", "calculateHeight", "dropdownApplyFormFieldOffsetWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown", "keypress"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "readonly", "", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "value", "placeholder", "click"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], [1, "sme-icon", "sme-icon-chevronDown"], ["role", "listbox", 1, "sme-dropdown-content", "sme-dropdown-content-inherit-container-height", 3, "ngStyle", "id", "keydown"], ["listbox", ""], [3, "sme-padding-squish-v-xs", "keydown", 4, "ngIf"], ["class", "sme-checkbox sme-dropdown-interaction-enabled", "role", "option", 3, "sme-layout-none", 4, "ngIf"], [4, "ngIf"], [3, "alert"], ["singleSelectTemplate", ""], ["multiSelectTemplate", ""], [3, "keydown"], ["name", "searchStringValue", "type", "search", 3, "disableSearchButton", "placeholder", "label", "id", "count", "ngModel", "ngModelChange"], ["role", "option", 1, "sme-checkbox", "sme-dropdown-interaction-enabled"], [1, "sme-position-stretch-h", "sme-arrange-word-break-all"], ["type", "checkbox", "role", "checkbox", 1, "sme-layout-absolute", "sme-position-inset-none", 3, "checked", "change"], ["aria-hidden", "true"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["smeTemplateOutlet", "", 3, "template", "data"], ["type", "button", "role", "option", 3, "disabled", "click"], [3, "smeTooltip", "smeTooltipContext"], [1, "sme-layout-float-left", 3, "title"], ["type", "checkbox", "role", "checkbox", 3, "checked", "change"], ["aria-hidden", "true", 1, "sme-position-stretch-h", "sme-layout-float-left", 3, "smeTooltip", "title", "smeTooltipContext"], [1, "sme-position-stretch-h", "sme-layout-float-left"]], template: function ComboboxFormFieldComponent_Template(rf, ctx) {
|
|
20224
20400
|
if (rf & 1) {
|
|
20225
20401
|
var _r28_1 = i0.ɵɵgetCurrentView();
|
|
20226
20402
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
@@ -20245,8 +20421,8 @@
|
|
|
20245
20421
|
i0.ɵɵelementEnd();
|
|
20246
20422
|
i0.ɵɵelementEnd();
|
|
20247
20423
|
i0.ɵɵelement(15, "sme-validation-alert", 14);
|
|
20248
|
-
i0.ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4,
|
|
20249
|
-
i0.ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template,
|
|
20424
|
+
i0.ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4, 14, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
|
|
20425
|
+
i0.ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template, 7, 12, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
|
|
20250
20426
|
i0.ɵɵelementEnd();
|
|
20251
20427
|
}
|
|
20252
20428
|
if (rf & 2) {
|
|
@@ -20821,7 +20997,7 @@
|
|
|
20821
20997
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.calendar = _t.first);
|
|
20822
20998
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clock = _t.first);
|
|
20823
20999
|
}
|
|
20824
|
-
}, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$5, decls: 24, vars: 27, consts: [[3, "formField"], [1, "sme-arrange-stack-h", "sme-focus-zone", "sme-form-field-editor"], [1, "sme-combobox", 3, "autoToggle", "disabled", "autoWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "ngModel", "placeholder", "ngModelChange"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-dateTime2"], [1, "sme-dropdown-content", "sme-dropdown-interaction-enabled", "sme-focus-trap", 3, "id"], [1, "sme-datetime-dropdown"], [1, "sme-datetime-main-content"], ["type", "calendar", "orientation", "vertical", 3, "ngModel", "required", "hideHeader", "ngModelChange"], ["calendar", ""], ["type", "clock", "orientation", "vertical", 3, "ngModel", "required", "hideHeader", "ngModelChange"], ["clock", ""], [1, "sme-datetime-confirmation"], ["tabindex", "0", 3, "click"], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-accept"], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-clear"], [3, "alert"]], template: function DateTimeFormFieldComponent_Template(rf, ctx) {
|
|
21000
|
+
}, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$5, decls: 24, vars: 27, consts: [[3, "formField"], [1, "sme-arrange-stack-h", "sme-focus-zone", "sme-form-field-editor"], [1, "sme-combobox", 3, "autoToggle", "disabled", "autoWidth", "toggled"], ["dropDown", ""], [1, "sme-combobox-header", "sme-dropdown-toggle", 3, "keydown"], ["dropdownHeader", ""], ["type", "text", "role", "combobox", "spellcheck", "false", "autocapitalize", "off", "autocomplete", "off", 3, "ngModel", "placeholder", "ngModelChange"], ["textInput", ""], ["type", "button", "tabindex", "-1", "role", "presentation", "aria-hidden", "true", 1, "sme-button-trigger", "sme-button-auto-width", 3, "click"], ["dropDownButton", ""], [1, "sme-icon", "sme-icon-dateTime2"], [1, "sme-dropdown-content", "sme-dropdown-interaction-enabled", "sme-focus-trap", 3, "id"], [1, "sme-datetime-dropdown"], [1, "sme-datetime-main-content"], ["type", "calendar", "orientation", "vertical", 3, "ngModel", "required", "hideHeader", "ngModelChange"], ["calendar", ""], ["type", "clock", "orientation", "vertical", 3, "ngModel", "required", "hideHeader", "ngModelChange"], ["clock", ""], [1, "sme-datetime-confirmation"], ["tabindex", "0", 1, "sme-focus-zone", 3, "click"], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-accept"], [1, "sme-icon", "sme-icon-size-xxs", "sme-icon-clear"], [3, "alert"]], template: function DateTimeFormFieldComponent_Template(rf, ctx) {
|
|
20825
21001
|
if (rf & 1) {
|
|
20826
21002
|
var _r6_1 = i0.ɵɵgetCurrentView();
|
|
20827
21003
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
@@ -22660,7 +22836,7 @@
|
|
|
22660
22836
|
var _c0$D = ["type", "orderedlist"];
|
|
22661
22837
|
function OrderedListFormFieldComponent_div_1_div_1_p_3_Template(rf, ctx) {
|
|
22662
22838
|
if (rf & 1) {
|
|
22663
|
-
i0.ɵɵelementStart(0, "p",
|
|
22839
|
+
i0.ɵɵelementStart(0, "p", 14);
|
|
22664
22840
|
i0.ɵɵtext(1);
|
|
22665
22841
|
i0.ɵɵelementEnd();
|
|
22666
22842
|
}
|
|
@@ -22674,17 +22850,17 @@
|
|
|
22674
22850
|
}
|
|
22675
22851
|
function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_sme_option_1_Template(rf, ctx) {
|
|
22676
22852
|
if (rf & 1) {
|
|
22677
|
-
i0.ɵɵelement(0, "sme-option",
|
|
22853
|
+
i0.ɵɵelement(0, "sme-option", 18);
|
|
22678
22854
|
}
|
|
22679
22855
|
if (rf & 2) {
|
|
22680
22856
|
var option_r12 = i0.ɵɵnextContext().$implicit;
|
|
22681
|
-
i0.ɵɵproperty("value", option_r12.value)("label", option_r12.toString())("disabled", option_r12.disabled);
|
|
22857
|
+
i0.ɵɵproperty("utaId", option_r12.utaId ? option_r12.utaId : option_r12.value)("value", option_r12.value)("label", option_r12.toString())("disabled", option_r12.disabled);
|
|
22682
22858
|
}
|
|
22683
22859
|
}
|
|
22684
22860
|
function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_Template(rf, ctx) {
|
|
22685
22861
|
if (rf & 1) {
|
|
22686
22862
|
i0.ɵɵelementContainerStart(0);
|
|
22687
|
-
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_sme_option_1_Template, 1,
|
|
22863
|
+
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_sme_option_1_Template, 1, 4, "sme-option", 17);
|
|
22688
22864
|
i0.ɵɵelementContainerEnd();
|
|
22689
22865
|
}
|
|
22690
22866
|
if (rf & 2) {
|
|
@@ -22698,15 +22874,17 @@
|
|
|
22698
22874
|
function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template(rf, ctx) {
|
|
22699
22875
|
if (rf & 1) {
|
|
22700
22876
|
var _r17_1 = i0.ɵɵgetCurrentView();
|
|
22701
|
-
i0.ɵɵelementStart(0, "sme-form-field",
|
|
22877
|
+
i0.ɵɵelementStart(0, "sme-form-field", 15);
|
|
22702
22878
|
i0.ɵɵlistener("ngModelChange", function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template_sme_form_field_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r17_1); var i_r4 = i0.ɵɵnextContext().index; var ctx_r16 = i0.ɵɵnextContext(2); return (ctx_r16.value[i_r4] = $event); })("ngModelChange", function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template_sme_form_field_ngModelChange_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r19 = i0.ɵɵnextContext(3); return ctx_r19.triggerValueChange(); })("customValidate", function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template_sme_form_field_customValidate_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r20 = i0.ɵɵnextContext(3); return ctx_r20.newItemCheck(); });
|
|
22703
|
-
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_Template, 2, 1, "ng-container",
|
|
22879
|
+
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_Template, 2, 1, "ng-container", 16);
|
|
22704
22880
|
i0.ɵɵelementEnd();
|
|
22705
22881
|
}
|
|
22706
22882
|
if (rf & 2) {
|
|
22707
|
-
var
|
|
22883
|
+
var ctx_r21 = i0.ɵɵnextContext();
|
|
22884
|
+
var item_r3 = ctx_r21.$implicit;
|
|
22885
|
+
var i_r4 = ctx_r21.index;
|
|
22708
22886
|
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
22709
|
-
i0.ɵɵproperty("hideHeader", true)("valueComparator", ctx_r6.valueComparator)("ngModel", ctx_r6.value[i_r4])("label", ctx_r6.label)("searchable", ctx_r6.searchable);
|
|
22887
|
+
i0.ɵɵproperty("utaId", item_r3 ? item_r3.toString() + "-combobox" : "new-combobox")("hideHeader", true)("valueComparator", ctx_r6.valueComparator)("ngModel", ctx_r6.value[i_r4])("label", ctx_r6.label)("searchable", ctx_r6.searchable);
|
|
22710
22888
|
i0.ɵɵadvance(1);
|
|
22711
22889
|
i0.ɵɵproperty("ngForOf", ctx_r6.options);
|
|
22712
22890
|
}
|
|
@@ -22714,9 +22892,9 @@
|
|
|
22714
22892
|
function OrderedListFormFieldComponent_div_1_div_1_button_6_Template(rf, ctx) {
|
|
22715
22893
|
if (rf & 1) {
|
|
22716
22894
|
var _r24_1 = i0.ɵɵgetCurrentView();
|
|
22717
|
-
i0.ɵɵelementStart(0, "button",
|
|
22895
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
22718
22896
|
i0.ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_div_1_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r24_1); var i_r4 = i0.ɵɵnextContext().index; var ctx_r22 = i0.ɵɵnextContext(2); return ctx_r22.promoteItemAt(i_r4); });
|
|
22719
|
-
i0.ɵɵelement(1, "span",
|
|
22897
|
+
i0.ɵɵelement(1, "span", 20);
|
|
22720
22898
|
i0.ɵɵelementEnd();
|
|
22721
22899
|
}
|
|
22722
22900
|
if (rf & 2) {
|
|
@@ -22729,9 +22907,9 @@
|
|
|
22729
22907
|
function OrderedListFormFieldComponent_div_1_div_1_button_7_Template(rf, ctx) {
|
|
22730
22908
|
if (rf & 1) {
|
|
22731
22909
|
var _r28_1 = i0.ɵɵgetCurrentView();
|
|
22732
|
-
i0.ɵɵelementStart(0, "button",
|
|
22910
|
+
i0.ɵɵelementStart(0, "button", 21);
|
|
22733
22911
|
i0.ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_div_1_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r28_1); var i_r4 = i0.ɵɵnextContext().index; var ctx_r26 = i0.ɵɵnextContext(2); return ctx_r26.demoteItemAt(i_r4); });
|
|
22734
|
-
i0.ɵɵelement(1, "span",
|
|
22912
|
+
i0.ɵɵelement(1, "span", 22);
|
|
22735
22913
|
i0.ɵɵelementEnd();
|
|
22736
22914
|
}
|
|
22737
22915
|
if (rf & 2) {
|
|
@@ -22744,9 +22922,9 @@
|
|
|
22744
22922
|
function OrderedListFormFieldComponent_div_1_div_1_button_8_Template(rf, ctx) {
|
|
22745
22923
|
if (rf & 1) {
|
|
22746
22924
|
var _r32_1 = i0.ɵɵgetCurrentView();
|
|
22747
|
-
i0.ɵɵelementStart(0, "button",
|
|
22925
|
+
i0.ɵɵelementStart(0, "button", 23);
|
|
22748
22926
|
i0.ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_div_1_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r32_1); var i_r4 = i0.ɵɵnextContext().index; var ctx_r30 = i0.ɵɵnextContext(2); return ctx_r30.removeItemAt(i_r4); });
|
|
22749
|
-
i0.ɵɵelement(1, "span",
|
|
22927
|
+
i0.ɵɵelement(1, "span", 24);
|
|
22750
22928
|
i0.ɵɵelementEnd();
|
|
22751
22929
|
}
|
|
22752
22930
|
if (rf & 2) {
|
|
@@ -22763,16 +22941,18 @@
|
|
|
22763
22941
|
i0.ɵɵelementEnd();
|
|
22764
22942
|
i0.ɵɵtemplate(3, OrderedListFormFieldComponent_div_1_div_1_p_3_Template, 2, 2, "p", 8);
|
|
22765
22943
|
i0.ɵɵelementStart(4, "div", 9);
|
|
22766
|
-
i0.ɵɵtemplate(5, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template, 2,
|
|
22944
|
+
i0.ɵɵtemplate(5, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template, 2, 7, "sme-form-field", 10);
|
|
22767
22945
|
i0.ɵɵelementEnd();
|
|
22768
22946
|
i0.ɵɵtemplate(6, OrderedListFormFieldComponent_div_1_div_1_button_6_Template, 2, 4, "button", 11);
|
|
22769
|
-
i0.ɵɵtemplate(7, OrderedListFormFieldComponent_div_1_div_1_button_7_Template, 2, 4, "button",
|
|
22770
|
-
i0.ɵɵtemplate(8, OrderedListFormFieldComponent_div_1_div_1_button_8_Template, 2, 3, "button",
|
|
22947
|
+
i0.ɵɵtemplate(7, OrderedListFormFieldComponent_div_1_div_1_button_7_Template, 2, 4, "button", 12);
|
|
22948
|
+
i0.ɵɵtemplate(8, OrderedListFormFieldComponent_div_1_div_1_button_8_Template, 2, 3, "button", 13);
|
|
22771
22949
|
i0.ɵɵelementEnd();
|
|
22772
22950
|
}
|
|
22773
22951
|
if (rf & 2) {
|
|
22952
|
+
var item_r3 = ctx.$implicit;
|
|
22774
22953
|
var i_r4 = ctx.index;
|
|
22775
22954
|
var ctx_r1 = i0.ɵɵnextContext(2);
|
|
22955
|
+
i0.ɵɵattribute("data-uta-id", item_r3 ? item_r3.toString() + "-row" : "new-item-row");
|
|
22776
22956
|
i0.ɵɵadvance(1);
|
|
22777
22957
|
i0.ɵɵproperty("id", ctx_r1.idBag.detailsSpan + i_r4);
|
|
22778
22958
|
i0.ɵɵadvance(1);
|
|
@@ -22794,7 +22974,7 @@
|
|
|
22794
22974
|
function OrderedListFormFieldComponent_div_1_button_2_Template(rf, ctx) {
|
|
22795
22975
|
if (rf & 1) {
|
|
22796
22976
|
var _r34_1 = i0.ɵɵgetCurrentView();
|
|
22797
|
-
i0.ɵɵelementStart(0, "button",
|
|
22977
|
+
i0.ɵɵelementStart(0, "button", 25);
|
|
22798
22978
|
i0.ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r34_1); var ctx_r33 = i0.ɵɵnextContext(2); return ctx_r33.addListItem(); });
|
|
22799
22979
|
i0.ɵɵtext(1);
|
|
22800
22980
|
i0.ɵɵelementEnd();
|
|
@@ -22810,7 +22990,7 @@
|
|
|
22810
22990
|
function OrderedListFormFieldComponent_div_1_Template(rf, ctx) {
|
|
22811
22991
|
if (rf & 1) {
|
|
22812
22992
|
i0.ɵɵelementStart(0, "div", 3);
|
|
22813
|
-
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_Template, 9,
|
|
22993
|
+
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_Template, 9, 10, "div", 4);
|
|
22814
22994
|
i0.ɵɵtemplate(2, OrderedListFormFieldComponent_div_1_button_2_Template, 2, 4, "button", 5);
|
|
22815
22995
|
i0.ɵɵelementEnd();
|
|
22816
22996
|
}
|
|
@@ -23094,7 +23274,7 @@
|
|
|
23094
23274
|
if (rf & 2) {
|
|
23095
23275
|
i0.ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
23096
23276
|
}
|
|
23097
|
-
}, inputs: { showAddRemove: "showAddRemove", showMove: "showMove", showSelect: "showSelect", addButtonText: "addButtonText", searchable: "searchable", allowEmpty: "allowEmpty" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$D, decls: 3, vars: 3, consts: [[3, "formField"], ["class", "sme-margin-bottom-xs sme-form-field-editor", 4, "ngIf"], [3, "alert"], [1, "sme-margin-bottom-xs", "sme-form-field-editor"], ["class", "sme-arrange-stack-h sme-margin-bottom-xs sme-form-field-width", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["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"], [1, "sme-arrange-stack-h", "sme-margin-bottom-xs", "sme-form-field-width"], [1, "sme-screen-reader", 3, "id"], ["class", "sme-position-flex-auto", "role", "textbox", "tabindex", "0", 4, "ngIf"], [1, "sme-layout-relative", "sme-position-flex-auto"], ["type", "combobox", 3, "hideHeader", "valueComparator", "ngModel", "label", "searchable", "ngModelChange", "customValidate", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-position-flex-none sme-button-auto-width sme-form-field-height", 3, "id", "title", "smeDisabled", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-position-flex-none sme-button-auto-width sme-form-field-height", 3, "title", "smeDisabled", "click", 4, "ngIf"], ["role", "textbox", "tabindex", "0", 1, "sme-position-flex-auto"], ["type", "combobox", 3, "hideHeader", "valueComparator", "ngModel", "label", "searchable", "ngModelChange", "customValidate"], [4, "ngFor", "ngForOf"], [3, "value", "label", "disabled", 4, "ngIf"], [3, "value", "label", "disabled"], ["type", "button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", "sme-form-field-height", 3, "id", "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-up"], [1, "sme-icon", "sme-icon-down"], ["type", "button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", "sme-form-field-height", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-cancel", "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"]], template: function OrderedListFormFieldComponent_Template(rf, ctx) {
|
|
23277
|
+
}, inputs: { showAddRemove: "showAddRemove", showMove: "showMove", showSelect: "showSelect", addButtonText: "addButtonText", searchable: "searchable", allowEmpty: "allowEmpty" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$D, decls: 3, vars: 3, consts: [[3, "formField"], ["class", "sme-margin-bottom-xs sme-form-field-editor", 4, "ngIf"], [3, "alert"], [1, "sme-margin-bottom-xs", "sme-form-field-editor"], ["class", "sme-arrange-stack-h sme-margin-bottom-xs sme-form-field-width", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["type", "button", "class", "sme-button-trigger sme-button-auto-width sme-icon sme-icon-add sme-margin-bottom-xs", "data-uta-id", "add-button", 3, "smeDisabled", "title", "click", 4, "ngIf"], [1, "sme-arrange-stack-h", "sme-margin-bottom-xs", "sme-form-field-width"], [1, "sme-screen-reader", 3, "id"], ["class", "sme-position-flex-auto", "role", "textbox", "tabindex", "0", 4, "ngIf"], [1, "sme-layout-relative", "sme-position-flex-auto"], ["type", "combobox", 3, "utaId", "hideHeader", "valueComparator", "ngModel", "label", "searchable", "ngModelChange", "customValidate", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-position-flex-none sme-button-auto-width sme-form-field-height", "data-uta-id", "promote-button", 3, "id", "title", "smeDisabled", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-position-flex-none sme-button-auto-width sme-form-field-height", "data-uta-id", "demote-button", 3, "id", "title", "smeDisabled", "click", 4, "ngIf"], ["type", "button", "class", "sme-button-trigger sme-position-flex-none sme-button-auto-width sme-form-field-height", "data-uta-id", "remove-button", 3, "title", "smeDisabled", "click", 4, "ngIf"], ["role", "textbox", "tabindex", "0", 1, "sme-position-flex-auto"], ["type", "combobox", 3, "utaId", "hideHeader", "valueComparator", "ngModel", "label", "searchable", "ngModelChange", "customValidate"], [4, "ngFor", "ngForOf"], [3, "utaId", "value", "label", "disabled", 4, "ngIf"], [3, "utaId", "value", "label", "disabled"], ["type", "button", "data-uta-id", "promote-button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", "sme-form-field-height", 3, "id", "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-up"], ["type", "button", "data-uta-id", "demote-button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", "sme-form-field-height", 3, "id", "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-down"], ["type", "button", "data-uta-id", "remove-button", 1, "sme-button-trigger", "sme-position-flex-none", "sme-button-auto-width", "sme-form-field-height", 3, "title", "smeDisabled", "click"], [1, "sme-icon", "sme-icon-cancel", "sme-color-red"], ["type", "button", "data-uta-id", "add-button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-icon", "sme-icon-add", "sme-margin-bottom-xs", 3, "smeDisabled", "title", "click"]], template: function OrderedListFormFieldComponent_Template(rf, ctx) {
|
|
23098
23278
|
if (rf & 1) {
|
|
23099
23279
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
23100
23280
|
i0.ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_Template, 3, 3, "div", 1);
|
|
@@ -23585,7 +23765,7 @@
|
|
|
23585
23765
|
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
23586
23766
|
i0.ɵɵadvance(3);
|
|
23587
23767
|
i0.ɵɵproperty("name", ctx_r5.idBag.groupName)("value", option_r3.value)("ngModel", ctx_r5.value)("disabled", ctx_r5.loadingOrDisabled || option_r3.disabled);
|
|
23588
|
-
i0.ɵɵattribute("aria-label", option_r3.label)("aria-describedby", option_r3.description)("aria-checked", option_r3.isSelected)("name", ctx_r5.idBag.groupName)("aria-required", ctx_r5.required);
|
|
23768
|
+
i0.ɵɵattribute("aria-label", option_r3.label)("aria-describedby", option_r3.description)("aria-checked", option_r3.isSelected)("name", ctx_r5.idBag.groupName)("data-uta-id", option_r3.utaId)("aria-required", ctx_r5.required);
|
|
23589
23769
|
i0.ɵɵadvance(3);
|
|
23590
23770
|
i0.ɵɵtextInterpolate(option_r3.label);
|
|
23591
23771
|
i0.ɵɵadvance(1);
|
|
@@ -23601,7 +23781,7 @@
|
|
|
23601
23781
|
function RadioGroupFormFieldComponent_ng_container_1_ng_container_1_Template(rf, ctx) {
|
|
23602
23782
|
if (rf & 1) {
|
|
23603
23783
|
i0.ɵɵelementContainerStart(0);
|
|
23604
|
-
i0.ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_1_ng_container_1_ng_container_1_Template, 11,
|
|
23784
|
+
i0.ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_1_ng_container_1_ng_container_1_Template, 11, 15, "ng-container", 1);
|
|
23605
23785
|
i0.ɵɵelementContainerEnd();
|
|
23606
23786
|
}
|
|
23607
23787
|
if (rf & 2) {
|
|
@@ -23679,7 +23859,7 @@
|
|
|
23679
23859
|
var ctx_r24 = i0.ɵɵnextContext(2);
|
|
23680
23860
|
i0.ɵɵadvance(4);
|
|
23681
23861
|
i0.ɵɵproperty("name", ctx_r24.idBag.groupName)("value", option_r22.value)("ngModel", ctx_r24.value)("disabled", ctx_r24.loadingOrDisabled || option_r22.disabled);
|
|
23682
|
-
i0.ɵɵattribute("aria-label", option_r22.label)("aria-describedby", option_r22.description)("aria-checked", option_r22.isSelected)("name", ctx_r24.idBag.groupName)("aria-required", ctx_r24.required);
|
|
23862
|
+
i0.ɵɵattribute("aria-label", option_r22.label)("aria-describedby", option_r22.description)("aria-checked", option_r22.isSelected)("name", ctx_r24.idBag.groupName)("data-uta-id", option_r22.utaId)("aria-required", ctx_r24.required);
|
|
23683
23863
|
i0.ɵɵadvance(3);
|
|
23684
23864
|
i0.ɵɵtextInterpolate(option_r22.label);
|
|
23685
23865
|
i0.ɵɵadvance(1);
|
|
@@ -23693,7 +23873,7 @@
|
|
|
23693
23873
|
function RadioGroupFormFieldComponent_ng_container_2_ng_container_1_Template(rf, ctx) {
|
|
23694
23874
|
if (rf & 1) {
|
|
23695
23875
|
i0.ɵɵelementContainerStart(0);
|
|
23696
|
-
i0.ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_2_ng_container_1_ng_container_1_Template, 11,
|
|
23876
|
+
i0.ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_2_ng_container_1_ng_container_1_Template, 11, 14, "ng-container", 1);
|
|
23697
23877
|
i0.ɵɵelementContainerEnd();
|
|
23698
23878
|
}
|
|
23699
23879
|
if (rf & 2) {
|
|
@@ -24848,7 +25028,7 @@
|
|
|
24848
25028
|
if (rf & 2) {
|
|
24849
25029
|
i0.ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
24850
25030
|
}
|
|
24851
|
-
}, inputs: { tagSplitCharacter: "tagSplitCharacter", textButton: "textButton", compact: "compact", suggestions: "suggestions" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c1$j, decls: 14, vars: 15, consts: [[3, "formField"], [1, "sme-tags-input", "sme-focus-zone"], ["class", "sme-tag", 4, "ngFor", "ngForOf"], [1, "sme-tag"], [1, "sme-screen-reader", 3, "id"], ["type", "text", "autocomplete", "off", 1, "sme-tag-input", 3, "disabled", "ngModel", "ngModelChange", "keydown.enter", "blur", "focus", "keypress"], ["newTagInput", ""], [3, "id"], [4, "ngFor", "ngForOf"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-tag-button", "sme-button-auto-width", "sme-tag-button-add", 3, "click"], [1, "sme-icon", "sme-icon-add", "sme-icon-size-xxs"], [4, "ngIf"], [3, "alert"], [1, "sme-tag-content"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-tag-button", "sme-tag-button-delete", 3, "title", "click"], [1, "sme-icon", "sme-icon-clear", "sme-icon-size-xxs"]], template: function TagsFormFieldComponent_Template(rf, ctx) {
|
|
25031
|
+
}, inputs: { tagSplitCharacter: "tagSplitCharacter", textButton: "textButton", compact: "compact", suggestions: "suggestions" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c1$j, decls: 14, vars: 15, consts: [[3, "formField"], [1, "sme-tags-input", "sme-focus-zone"], ["class", "sme-tag", 4, "ngFor", "ngForOf"], [1, "sme-tag"], [1, "sme-screen-reader", 3, "id"], ["type", "text", "autocomplete", "off", "data-uta-id", "tag-add-input", 1, "sme-tag-input", 3, "disabled", "ngModel", "ngModelChange", "keydown.enter", "blur", "focus", "keypress"], ["newTagInput", ""], [3, "id"], [4, "ngFor", "ngForOf"], ["type", "button", "role", "button", "data-uta-id", "tag-add-button", 1, "sme-button-trigger", "sme-tag-button", "sme-button-auto-width", "sme-tag-button-add", 3, "click"], [1, "sme-icon", "sme-icon-add", "sme-icon-size-xxs"], [4, "ngIf"], [3, "alert"], [1, "sme-tag-content"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-button-auto-width", "sme-tag-button", "sme-tag-button-delete", 3, "title", "click"], [1, "sme-icon", "sme-icon-clear", "sme-icon-size-xxs"]], template: function TagsFormFieldComponent_Template(rf, ctx) {
|
|
24852
25032
|
if (rf & 1) {
|
|
24853
25033
|
i0.ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
24854
25034
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -26658,7 +26838,7 @@
|
|
|
26658
26838
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.bodyReadTemplate = _t.first);
|
|
26659
26839
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.bodyEditTemplate = _t.first);
|
|
26660
26840
|
}
|
|
26661
|
-
}, inputs: { field: "field", header: "header", sortable: "sortable", width: "width", hidden: "hidden", getTooltipHandler: "getTooltipHandler", compareFunction: "compareFunction", filterOverridingFunction: "filterOverridingFunction", selectionMode: "selectionMode", styleClass: "styleClass", searchable: "searchable", queryEditorType: "queryEditorType", queryEditorOptions: "queryEditorOptions", queryEditorEqualIsContain: "queryEditorEqualIsContain" }, decls: 0, vars: 0, template: function DataTableColumnComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
26841
|
+
}, inputs: { utaId: "utaId", field: "field", header: "header", sortable: "sortable", width: "width", hidden: "hidden", getTooltipHandler: "getTooltipHandler", compareFunction: "compareFunction", filterOverridingFunction: "filterOverridingFunction", selectionMode: "selectionMode", styleClass: "styleClass", searchable: "searchable", queryEditorType: "queryEditorType", queryEditorOptions: "queryEditorOptions", queryEditorEqualIsContain: "queryEditorEqualIsContain" }, decls: 0, vars: 0, template: function DataTableColumnComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
26662
26842
|
(function () {
|
|
26663
26843
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataTableColumnComponent, [{
|
|
26664
26844
|
type: i0.Component,
|
|
@@ -26666,7 +26846,9 @@
|
|
|
26666
26846
|
selector: 'sme-data-table-column:not([type]), sme-tree-table-column:not([type])',
|
|
26667
26847
|
template: ''
|
|
26668
26848
|
}]
|
|
26669
|
-
}], null, {
|
|
26849
|
+
}], null, { utaId: [{
|
|
26850
|
+
type: i0.Input
|
|
26851
|
+
}], field: [{
|
|
26670
26852
|
type: i0.Input
|
|
26671
26853
|
}], header: [{
|
|
26672
26854
|
type: i0.Input
|
|
@@ -27317,8 +27499,8 @@
|
|
|
27317
27499
|
var colIndex_r19 = ctx.index;
|
|
27318
27500
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
27319
27501
|
i0.ɵɵclassMapInterpolate1("sme-table-caption sme-table-column-header sme-position-flex-auto ", column_r18.styleClass, "");
|
|
27320
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
27321
|
-
i0.ɵɵattribute("field", column_r18.field);
|
|
27502
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11, _c13, column_r18.width));
|
|
27503
|
+
i0.ɵɵattribute("field", column_r18.field)("data-uta-id", column_r18.utaId)("column-index", colIndex_r19);
|
|
27322
27504
|
i0.ɵɵadvance(1);
|
|
27323
27505
|
i0.ɵɵproperty("ngIf", column_r18.sortable && column_r18.sortable != "false" && ctx_r3.showHeader);
|
|
27324
27506
|
i0.ɵɵadvance(1);
|
|
@@ -28187,8 +28369,8 @@
|
|
|
28187
28369
|
var colIndex_r19 = ctx.index;
|
|
28188
28370
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
28189
28371
|
i0.ɵɵclassMapInterpolate1("sme-table-caption sme-table-column-header sme-position-flex-auto ", column_r18.styleClass, "");
|
|
28190
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
28191
|
-
i0.ɵɵattribute("field", column_r18.field);
|
|
28372
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11, _c13, column_r18.width));
|
|
28373
|
+
i0.ɵɵattribute("field", column_r18.field)("data-uta-id", column_r18.utaId)("column-index", colIndex_r19);
|
|
28192
28374
|
i0.ɵɵadvance(1);
|
|
28193
28375
|
i0.ɵɵproperty("ngIf", column_r18.sortable && column_r18.sortable != "false" && ctx_r3.showHeader);
|
|
28194
28376
|
i0.ɵɵadvance(1);
|
|
@@ -30644,6 +30826,13 @@
|
|
|
30644
30826
|
DataTableComponent.prototype.getNoRecordsMessage = function () {
|
|
30645
30827
|
return this.noRecordMessage || this.strings.MsftSmeShell.Angular.DataTable.NoRecordsFound;
|
|
30646
30828
|
};
|
|
30829
|
+
/**
|
|
30830
|
+
* It determines whether to, or not to show the No-Records Message.
|
|
30831
|
+
*/
|
|
30832
|
+
DataTableComponent.prototype.showNoRecordsMessage = function () {
|
|
30833
|
+
return (this.renderedItems.length === 0 && !this.lazyLoad) || !this.isColumnWidthCalculated ||
|
|
30834
|
+
(this.lazyLoad && this.items && this.items.length === 0);
|
|
30835
|
+
};
|
|
30647
30836
|
/**
|
|
30648
30837
|
* It handles the behavior that when a group toggle is clicked.
|
|
30649
30838
|
*/
|
|
@@ -31054,7 +31243,7 @@
|
|
|
31054
31243
|
return this.items && this.items.length || undefined;
|
|
31055
31244
|
},
|
|
31056
31245
|
set: function (value) {
|
|
31057
|
-
if (value) {
|
|
31246
|
+
if (value >= 0) {
|
|
31058
31247
|
this.items = Array(value);
|
|
31059
31248
|
for (var i = 0; i < value; i++) {
|
|
31060
31249
|
this.items[i] = null;
|
|
@@ -31071,7 +31260,7 @@
|
|
|
31071
31260
|
* An example of path is "location.zipCode".
|
|
31072
31261
|
*/
|
|
31073
31262
|
DataTableComponent.prototype.resolveObjectPath = function (obj, path) {
|
|
31074
|
-
if (path) {
|
|
31263
|
+
if (obj && path) {
|
|
31075
31264
|
var pathSegments = path.split('.');
|
|
31076
31265
|
if (pathSegments.length === 1) {
|
|
31077
31266
|
return obj[path];
|
|
@@ -31717,19 +31906,6 @@
|
|
|
31717
31906
|
if (this.isComponentInitialized && this.renderedItems) {
|
|
31718
31907
|
// Scroll container is the div to render the view port of the data table and to provide the scroll bar.
|
|
31719
31908
|
var scrollContainerElement = this.scrollContainerElement.nativeElement;
|
|
31720
|
-
// Scroll body is the div to represent the actual data container.
|
|
31721
|
-
// Its height is the height needed by all the data table items.
|
|
31722
|
-
// When the list is long, this div can be very high and triggers the scroll container to show the scroll bar.
|
|
31723
|
-
var scrollBodyElement = this.scrollBodyElement.nativeElement;
|
|
31724
|
-
// Scroll data element is the div to show the displayed list items in and below the view port.
|
|
31725
|
-
// When the scrolling is happening, we always adjust the top of this div to make sure it remains in the view port.
|
|
31726
|
-
var scrollDataElement = this.scrollDataElement.nativeElement;
|
|
31727
|
-
// "scroll above data" element is the div show the list items above the view port.
|
|
31728
|
-
// We need to render this "above" data seperately
|
|
31729
|
-
// then it's easy for us to find the "top" of the displayed list item in the view port.
|
|
31730
|
-
// Note: the "scroll below data" is rendered in Scroll data element because we don't need to calculate the "top" for it
|
|
31731
|
-
// since anyway it just follow the displayed list items in the view port.
|
|
31732
|
-
var scrollAboveDataElement = this.scrollAboveDataElement.nativeElement;
|
|
31733
31909
|
// Calculates how many items can be rendered in the view port.
|
|
31734
31910
|
this.renderedItemLengthInViewPort = this.scrollable
|
|
31735
31911
|
? Math.min(this.renderedItems.length, scrollContainerElement.offsetHeight / this.rowHeight)
|
|
@@ -32738,7 +32914,7 @@
|
|
|
32738
32914
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastFocusableShadowElement = _t.first);
|
|
32739
32915
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dataTableTemplateLoaderComponents = _t);
|
|
32740
32916
|
}
|
|
32741
|
-
}, 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) {
|
|
32917
|
+
}, 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"], ["data-uta-id", "checkboxColumn", 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", "data-uta-id", "empty-table-message", 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", "data-uta-id", "empty-table-message", 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) {
|
|
32742
32918
|
if (rf & 1) {
|
|
32743
32919
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
32744
32920
|
i0.ɵɵelementStart(2, "div", 2, 3);
|
|
@@ -32747,7 +32923,7 @@
|
|
|
32747
32923
|
i0.ɵɵelementStart(5, "div", 5);
|
|
32748
32924
|
i0.ɵɵtemplate(6, DataTableComponent_div_6_Template, 3, 3, "div", 6);
|
|
32749
32925
|
i0.ɵɵelementEnd();
|
|
32750
|
-
i0.ɵɵtemplate(7, DataTableComponent_div_7_Template, 5,
|
|
32926
|
+
i0.ɵɵtemplate(7, DataTableComponent_div_7_Template, 5, 13, "div", 7);
|
|
32751
32927
|
i0.ɵɵelementEnd();
|
|
32752
32928
|
i0.ɵɵelementEnd();
|
|
32753
32929
|
i0.ɵɵelementEnd();
|
|
@@ -32788,7 +32964,7 @@
|
|
|
32788
32964
|
i0.ɵɵadvance(2);
|
|
32789
32965
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(38, _c18, ctx.scrollable, ctx.shouldScroll));
|
|
32790
32966
|
i0.ɵɵadvance(2);
|
|
32791
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
32967
|
+
i0.ɵɵproperty("ngIf", ctx.showNoRecordsMessage());
|
|
32792
32968
|
i0.ɵɵadvance(3);
|
|
32793
32969
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(41, _c19, ctx.scrollAboveDataStyleTop));
|
|
32794
32970
|
i0.ɵɵattribute("aria-hidden", true);
|
|
@@ -33058,7 +33234,7 @@
|
|
|
33058
33234
|
return TreeTableComponent;
|
|
33059
33235
|
}(DataTableComponent));
|
|
33060
33236
|
/** @nocollapse */ TreeTableComponent.ɵfac = function TreeTableComponent_Factory(t) { return new (t || TreeTableComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
33061
|
-
/** @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) {
|
|
33237
|
+
/** @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"], ["data-uta-id", "checkboxColumn", 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", "data-uta-id", "empty-table-message", 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", "data-uta-id", "empty-table-message", 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) {
|
|
33062
33238
|
if (rf & 1) {
|
|
33063
33239
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
33064
33240
|
i0.ɵɵelementStart(2, "div", 2, 3);
|
|
@@ -33067,7 +33243,7 @@
|
|
|
33067
33243
|
i0.ɵɵelementStart(5, "div", 5);
|
|
33068
33244
|
i0.ɵɵtemplate(6, TreeTableComponent_div_6_Template, 3, 3, "div", 6);
|
|
33069
33245
|
i0.ɵɵelementEnd();
|
|
33070
|
-
i0.ɵɵtemplate(7, TreeTableComponent_div_7_Template, 5,
|
|
33246
|
+
i0.ɵɵtemplate(7, TreeTableComponent_div_7_Template, 5, 13, "div", 7);
|
|
33071
33247
|
i0.ɵɵelementEnd();
|
|
33072
33248
|
i0.ɵɵelementEnd();
|
|
33073
33249
|
i0.ɵɵelementEnd();
|
|
@@ -33108,7 +33284,7 @@
|
|
|
33108
33284
|
i0.ɵɵadvance(2);
|
|
33109
33285
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(38, _c18, ctx.scrollable, ctx.shouldScroll));
|
|
33110
33286
|
i0.ɵɵadvance(2);
|
|
33111
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
33287
|
+
i0.ɵɵproperty("ngIf", ctx.showNoRecordsMessage());
|
|
33112
33288
|
i0.ɵɵadvance(3);
|
|
33113
33289
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(41, _c19, ctx.scrollAboveDataStyleTop));
|
|
33114
33290
|
i0.ɵɵattribute("aria-hidden", true);
|
|
@@ -33833,21 +34009,28 @@
|
|
|
33833
34009
|
PivotComponent.prototype.isSelected = function (tab) {
|
|
33834
34010
|
return this.selection && this.selection === tab;
|
|
33835
34011
|
};
|
|
34012
|
+
/**
|
|
34013
|
+
* Force refresh for the pivot tabs.
|
|
34014
|
+
*/
|
|
34015
|
+
PivotComponent.prototype.refresh = function () {
|
|
34016
|
+
this.updatePivotTabs();
|
|
34017
|
+
};
|
|
33836
34018
|
/**
|
|
33837
34019
|
* Selects a tab
|
|
33838
34020
|
* @param tab The tab to select
|
|
33839
34021
|
*/
|
|
33840
34022
|
PivotComponent.prototype.select = function (tab) {
|
|
33841
|
-
/**
|
|
33842
|
-
*
|
|
33843
|
-
*
|
|
34023
|
+
/**
|
|
34024
|
+
* At any given time we should have an attribute that lets us know if a tab is visible or not.
|
|
33844
34025
|
*/
|
|
33845
34026
|
if (tab) {
|
|
33846
34027
|
for (var i = 0; i < this.trayTabs.length; i++) {
|
|
33847
34028
|
if (this.trayTabs[i] === tab) {
|
|
33848
|
-
|
|
33849
|
-
|
|
33850
|
-
|
|
34029
|
+
if (this.visibleTabs && this.visibleTabs.length > 0) {
|
|
34030
|
+
var hiddenTab = this.visibleTabs.pop();
|
|
34031
|
+
hiddenTab.isVisible = false;
|
|
34032
|
+
this.trayTabs.push(hiddenTab);
|
|
34033
|
+
}
|
|
33851
34034
|
this.visibleTabs.push(tab);
|
|
33852
34035
|
tab.isVisible = true;
|
|
33853
34036
|
this.trayTabs.splice(i, 1);
|
|
@@ -33928,7 +34111,6 @@
|
|
|
33928
34111
|
currentFill += tabWidth;
|
|
33929
34112
|
}
|
|
33930
34113
|
}
|
|
33931
|
-
this.emitLayoutChanged();
|
|
33932
34114
|
};
|
|
33933
34115
|
return PivotComponent;
|
|
33934
34116
|
}(CoreBaseComponent));
|
|
@@ -34012,6 +34194,12 @@
|
|
|
34012
34194
|
SmeInject(i0.ChangeDetectorRef),
|
|
34013
34195
|
__metadata("design:type", i0.ChangeDetectorRef)
|
|
34014
34196
|
], PivotComponent.prototype, "changeDetectorRef", void 0);
|
|
34197
|
+
__decorate([
|
|
34198
|
+
debounce_decorators.Debounce(),
|
|
34199
|
+
__metadata("design:type", Function),
|
|
34200
|
+
__metadata("design:paramtypes", []),
|
|
34201
|
+
__metadata("design:returntype", void 0)
|
|
34202
|
+
], PivotComponent.prototype, "refresh", null);
|
|
34015
34203
|
__decorate([
|
|
34016
34204
|
debounce_decorators.Debounce(),
|
|
34017
34205
|
__metadata("design:type", Function),
|
|
@@ -34074,7 +34262,7 @@
|
|
|
34074
34262
|
}], changeDetectorRef: [], dropDownButtonElement: [{
|
|
34075
34263
|
type: i0.ViewChild,
|
|
34076
34264
|
args: ['dropDownButton']
|
|
34077
|
-
}], emitLayoutChanged: [], onLayoutChanged: [] });
|
|
34265
|
+
}], refresh: [], emitLayoutChanged: [], onLayoutChanged: [] });
|
|
34078
34266
|
})();
|
|
34079
34267
|
|
|
34080
34268
|
var PivotModule = /** @class */ (function () {
|
|
@@ -34668,20 +34856,20 @@
|
|
|
34668
34856
|
var _c3$9 = ["dataView"];
|
|
34669
34857
|
function MasterViewComponent_h2_0_Template(rf, ctx) {
|
|
34670
34858
|
if (rf & 1) {
|
|
34671
|
-
i0.ɵɵelementStart(0, "h2",
|
|
34859
|
+
i0.ɵɵelementStart(0, "h2", 19);
|
|
34672
34860
|
i0.ɵɵtext(1);
|
|
34673
34861
|
i0.ɵɵelementEnd();
|
|
34674
34862
|
}
|
|
34675
34863
|
if (rf & 2) {
|
|
34676
34864
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
34677
|
-
i0.ɵɵproperty("hidden", ctx_r0.hideHeader);
|
|
34865
|
+
i0.ɵɵproperty("hidden", ctx_r0.hideHeader)("id", ctx_r0.headerId);
|
|
34678
34866
|
i0.ɵɵadvance(1);
|
|
34679
34867
|
i0.ɵɵtextInterpolate(ctx_r0.header);
|
|
34680
34868
|
}
|
|
34681
34869
|
}
|
|
34682
34870
|
function MasterViewComponent_div_4_Template(rf, ctx) {
|
|
34683
34871
|
if (rf & 1) {
|
|
34684
|
-
i0.ɵɵelementStart(0, "div",
|
|
34872
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
34685
34873
|
i0.ɵɵprojection(1, 2);
|
|
34686
34874
|
i0.ɵɵelementEnd();
|
|
34687
34875
|
}
|
|
@@ -34693,15 +34881,15 @@
|
|
|
34693
34881
|
function MasterViewComponent_button_12_Template(rf, ctx) {
|
|
34694
34882
|
if (rf & 1) {
|
|
34695
34883
|
var _r13_1 = i0.ɵɵgetCurrentView();
|
|
34696
|
-
i0.ɵɵelementStart(0, "button",
|
|
34884
|
+
i0.ɵɵelementStart(0, "button", 21);
|
|
34697
34885
|
i0.ɵɵlistener("click", function MasterViewComponent_button_12_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r13_1); var ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.doClearSelection($event); });
|
|
34698
|
-
i0.ɵɵelementStart(1, "i",
|
|
34886
|
+
i0.ɵɵelementStart(1, "i", 22);
|
|
34699
34887
|
i0.ɵɵtext(2);
|
|
34700
34888
|
i0.ɵɵelementEnd();
|
|
34701
|
-
i0.ɵɵelementStart(3, "i",
|
|
34889
|
+
i0.ɵɵelementStart(3, "i", 23);
|
|
34702
34890
|
i0.ɵɵtext(4);
|
|
34703
34891
|
i0.ɵɵelementEnd();
|
|
34704
|
-
i0.ɵɵelement(5, "i",
|
|
34892
|
+
i0.ɵɵelement(5, "i", 24);
|
|
34705
34893
|
i0.ɵɵelementEnd();
|
|
34706
34894
|
}
|
|
34707
34895
|
if (rf & 2) {
|
|
@@ -34717,9 +34905,9 @@
|
|
|
34717
34905
|
function MasterViewComponent_button_14_Template(rf, ctx) {
|
|
34718
34906
|
if (rf & 1) {
|
|
34719
34907
|
var _r15_1 = i0.ɵɵgetCurrentView();
|
|
34720
|
-
i0.ɵɵelementStart(0, "button",
|
|
34908
|
+
i0.ɵɵelementStart(0, "button", 25);
|
|
34721
34909
|
i0.ɵɵlistener("click", function MasterViewComponent_button_14_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15_1); var ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.columnPicker.next(); });
|
|
34722
|
-
i0.ɵɵelement(1, "span",
|
|
34910
|
+
i0.ɵɵelement(1, "span", 26);
|
|
34723
34911
|
i0.ɵɵelementEnd();
|
|
34724
34912
|
}
|
|
34725
34913
|
if (rf & 2) {
|
|
@@ -34732,9 +34920,9 @@
|
|
|
34732
34920
|
function MasterViewComponent_button_15_Template(rf, ctx) {
|
|
34733
34921
|
if (rf & 1) {
|
|
34734
34922
|
var _r17_1 = i0.ɵɵgetCurrentView();
|
|
34735
|
-
i0.ɵɵelementStart(0, "button",
|
|
34923
|
+
i0.ɵɵelementStart(0, "button", 27);
|
|
34736
34924
|
i0.ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.refresh.next(); });
|
|
34737
|
-
i0.ɵɵelement(1, "span",
|
|
34925
|
+
i0.ɵɵelement(1, "span", 28);
|
|
34738
34926
|
i0.ɵɵelementEnd();
|
|
34739
34927
|
}
|
|
34740
34928
|
if (rf & 2) {
|
|
@@ -34746,9 +34934,9 @@
|
|
|
34746
34934
|
function MasterViewComponent_button_16_Template(rf, ctx) {
|
|
34747
34935
|
if (rf & 1) {
|
|
34748
34936
|
var _r19_1 = i0.ɵɵgetCurrentView();
|
|
34749
|
-
i0.ɵɵelementStart(0, "button",
|
|
34937
|
+
i0.ɵɵelementStart(0, "button", 29);
|
|
34750
34938
|
i0.ɵɵlistener("click", function MasterViewComponent_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r19_1); var ctx_r18 = i0.ɵɵnextContext(); return ctx_r18.filter.next(); });
|
|
34751
|
-
i0.ɵɵelement(1, "span",
|
|
34939
|
+
i0.ɵɵelement(1, "span", 30);
|
|
34752
34940
|
i0.ɵɵelementEnd();
|
|
34753
34941
|
}
|
|
34754
34942
|
if (rf & 2) {
|
|
@@ -34761,9 +34949,9 @@
|
|
|
34761
34949
|
function MasterViewComponent_button_17_Template(rf, ctx) {
|
|
34762
34950
|
if (rf & 1) {
|
|
34763
34951
|
var _r21_1 = i0.ɵɵgetCurrentView();
|
|
34764
|
-
i0.ɵɵelementStart(0, "button",
|
|
34952
|
+
i0.ɵɵelementStart(0, "button", 29);
|
|
34765
34953
|
i0.ɵɵlistener("click", function MasterViewComponent_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r21_1); var ctx_r20 = i0.ɵɵnextContext(); return ctx_r20.group.next(); });
|
|
34766
|
-
i0.ɵɵelement(1, "span",
|
|
34954
|
+
i0.ɵɵelement(1, "span", 31);
|
|
34767
34955
|
i0.ɵɵelementEnd();
|
|
34768
34956
|
}
|
|
34769
34957
|
if (rf & 2) {
|
|
@@ -34775,15 +34963,15 @@
|
|
|
34775
34963
|
}
|
|
34776
34964
|
function MasterViewComponent_div_19_Template(rf, ctx) {
|
|
34777
34965
|
if (rf & 1) {
|
|
34778
|
-
i0.ɵɵelementStart(0, "div",
|
|
34966
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
34779
34967
|
i0.ɵɵprojection(1, 3);
|
|
34780
34968
|
i0.ɵɵelementEnd();
|
|
34781
34969
|
}
|
|
34782
34970
|
}
|
|
34783
34971
|
function MasterViewComponent_form_20_Template(rf, ctx) {
|
|
34784
34972
|
if (rf & 1) {
|
|
34785
|
-
i0.ɵɵelementStart(0, "form",
|
|
34786
|
-
i0.ɵɵelementStart(1, "div",
|
|
34973
|
+
i0.ɵɵelementStart(0, "form", 33);
|
|
34974
|
+
i0.ɵɵelementStart(1, "div", 34);
|
|
34787
34975
|
i0.ɵɵprojection(2, 4);
|
|
34788
34976
|
i0.ɵɵelementEnd();
|
|
34789
34977
|
i0.ɵɵelementEnd();
|
|
@@ -34837,6 +35025,7 @@
|
|
|
34837
35025
|
_this.addClass('sme-arrange-stack-v');
|
|
34838
35026
|
_this.addClass('sme-arrange-overflow-hide-y');
|
|
34839
35027
|
_this.addClass('sme-arrange-overflow-auto-x');
|
|
35028
|
+
_this.headerId = 'master-view-header' + _this.componentId;
|
|
34840
35029
|
return _this;
|
|
34841
35030
|
}
|
|
34842
35031
|
Object.defineProperty(MasterViewComponent.prototype, "logSourceName", {
|
|
@@ -35039,7 +35228,7 @@
|
|
|
35039
35228
|
var _this = this;
|
|
35040
35229
|
if (this.internalSmeDataTable) {
|
|
35041
35230
|
if (this.header) {
|
|
35042
|
-
this.internalSmeDataTable.tableAriaLabelledBy =
|
|
35231
|
+
this.internalSmeDataTable.tableAriaLabelledBy = this.headerId;
|
|
35043
35232
|
}
|
|
35044
35233
|
else if (this.pivotComponent) {
|
|
35045
35234
|
var selectedTab = this.pivotComponent.tabs.toArray().filter(function (item) { return _this.pivotComponent.isSelected(item); })[0];
|
|
@@ -35056,7 +35245,8 @@
|
|
|
35056
35245
|
MasterViewComponent.prototype.createIdBag = function () {
|
|
35057
35246
|
return {
|
|
35058
35247
|
filterLabel: '',
|
|
35059
|
-
columnPickerLabel: ''
|
|
35248
|
+
columnPickerLabel: '',
|
|
35249
|
+
itemCountLabel: ''
|
|
35060
35250
|
};
|
|
35061
35251
|
};
|
|
35062
35252
|
return MasterViewComponent;
|
|
@@ -35090,10 +35280,10 @@
|
|
|
35090
35280
|
if (rf & 1) {
|
|
35091
35281
|
i0.ɵɵlistener("resize", function MasterViewComponent_resize_HostBindingHandler() { return ctx.updateLayout(); }, false, i0.ɵɵresolveWindow);
|
|
35092
35282
|
}
|
|
35093
|
-
}, inputs: { noSideMargin: "noSideMargin", hideHeader: "hideHeader", header: "header", total: "total", showSelection: "showSelection", showColumnPicker: "showColumnPicker", columnPickerActive: "columnPickerActive", showRefresh: "showRefresh", disableRefresh: "disableRefresh", dataTableMinWidth: "dataTableMinWidth", showFilter: "showFilter", filterActive: "filterActive", enableQueryEditor: "enableQueryEditor", selection: "selection", requireDataItemUniqueId: "requireDataItemUniqueId", showCustomFilter: "showCustomFilter", groupActive: "groupActive", stretchToAbsolute: "stretchToAbsolute", autoExpandDetailsPane: "autoExpandDetailsPane", showGroup: "showGroup" }, outputs: { selectionChange: "selectionChange", columnPicker: "columnPicker", refresh: "refresh", filter: "filter", group: "group", clearSelection: "clearSelection" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c5$3, decls: 24, vars:
|
|
35283
|
+
}, inputs: { noSideMargin: "noSideMargin", hideHeader: "hideHeader", header: "header", total: "total", showSelection: "showSelection", showColumnPicker: "showColumnPicker", columnPickerActive: "columnPickerActive", showRefresh: "showRefresh", disableRefresh: "disableRefresh", dataTableMinWidth: "dataTableMinWidth", showFilter: "showFilter", filterActive: "filterActive", enableQueryEditor: "enableQueryEditor", selection: "selection", requireDataItemUniqueId: "requireDataItemUniqueId", showCustomFilter: "showCustomFilter", groupActive: "groupActive", stretchToAbsolute: "stretchToAbsolute", autoExpandDetailsPane: "autoExpandDetailsPane", showGroup: "showGroup" }, outputs: { selectionChange: "selectionChange", columnPicker: "columnPicker", refresh: "refresh", filter: "filter", group: "group", clearSelection: "clearSelection" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c5$3, decls: 24, vars: 27, consts: [["class", "sme-position-flex-none sme-padding-squish-v-lg sme-arrange-word-wrap-break-word sme-font-h3", 3, "hidden", "id", 4, "ngIf"], [3, "layoutChanged"], ["layout", ""], ["name", "narrow", 3, "until"], ["class", "sme-position-flex-none", 3, "sme-padding-horizontal-sm", 4, "ngIf"], [1, "sme-position-flex-none", "sme-arrange-stack-reversed"], ["container", ""], [1, "sme-position-flex-none", "sme-arrange-stack-h"], [1, "sme-focus-zone", "sme-position-flex-none", "sme-arrange-stack-h", "sme-arrange-ws-nowrap", "sme-scheme-secondary-text"], ["role", "status", 1, "sme-layout-action-bar-item", "sme-padding-horizontal-sm", 3, "id"], ["type", "button", "role", "button", "class", "sme-button-trigger sme-layout-action-bar-item-height sme-scheme-secondary-text sme-button-auto-width", 3, "click", 4, "ngIf"], [1, "sme-focus-zone", "sme-arrange-ws-nowrap"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", "data-uta-id", "column-picker-button", 3, "title", "sme-toggled", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "disabled", "title", "click", 4, "ngIf"], ["type", "button", "role", "button", "class", "sme-layout-action-bar-item-height sme-button-trigger sme-button-auto-width", 3, "title", "sme-toggled", "click", 4, "ngIf"], [1, "sme-focus-zone"], ["class", "sme-margin-horizontal-sm", 4, "ngIf"], ["style", "position: relative;", 4, "ngIf"], ["dataView", ""], [1, "sme-position-flex-none", "sme-padding-squish-v-lg", "sme-arrange-word-wrap-break-word", "sme-font-h3", 3, "hidden", "id"], [1, "sme-position-flex-none"], ["type", "button", "role", "button", 1, "sme-button-trigger", "sme-layout-action-bar-item-height", "sme-scheme-secondary-text", "sme-button-auto-width", 3, "click"], ["aria-hidden", "true"], [1, "sme-screen-reader"], ["aria-hidden", "true", 1, "sme-icon", "sme-icon-clear", "sme-margin-left-xs", 3, "title"], ["type", "button", "role", "button", "data-uta-id", "column-picker-button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-tripleColumn"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "disabled", "title", "click"], [1, "sme-icon", "sme-icon-refresh"], ["type", "button", "role", "button", 1, "sme-layout-action-bar-item-height", "sme-button-trigger", "sme-button-auto-width", 3, "title", "click"], [1, "sme-icon", "sme-icon-filter"], [1, "sme-icon", "sme-icon-groupedList"], [1, "sme-margin-horizontal-sm"], [2, "position", "relative"], [1, "sme-position-flex-none", "sme-layout-action-bar-item"]], template: function MasterViewComponent_Template(rf, ctx) {
|
|
35094
35284
|
if (rf & 1) {
|
|
35095
35285
|
i0.ɵɵprojectionDef(_c4$5);
|
|
35096
|
-
i0.ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2,
|
|
35286
|
+
i0.ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2, 3, "h2", 0);
|
|
35097
35287
|
i0.ɵɵelementStart(1, "sme-layout", 1, 2);
|
|
35098
35288
|
i0.ɵɵlistener("layoutChanged", function MasterViewComponent_Template_sme_layout_layoutChanged_1_listener() { return ctx.updateActionBar(); });
|
|
35099
35289
|
i0.ɵɵelement(3, "sme-layout-definition", 3);
|
|
@@ -35111,16 +35301,16 @@
|
|
|
35111
35301
|
i0.ɵɵelementStart(13, "div", 11);
|
|
35112
35302
|
i0.ɵɵtemplate(14, MasterViewComponent_button_14_Template, 2, 4, "button", 12);
|
|
35113
35303
|
i0.ɵɵtemplate(15, MasterViewComponent_button_15_Template, 2, 3, "button", 13);
|
|
35114
|
-
i0.ɵɵtemplate(16, MasterViewComponent_button_16_Template, 2, 4, "button",
|
|
35115
|
-
i0.ɵɵtemplate(17, MasterViewComponent_button_17_Template, 2, 4, "button",
|
|
35304
|
+
i0.ɵɵtemplate(16, MasterViewComponent_button_16_Template, 2, 4, "button", 14);
|
|
35305
|
+
i0.ɵɵtemplate(17, MasterViewComponent_button_17_Template, 2, 4, "button", 14);
|
|
35116
35306
|
i0.ɵɵelementEnd();
|
|
35117
|
-
i0.ɵɵelementStart(18, "div",
|
|
35118
|
-
i0.ɵɵtemplate(19, MasterViewComponent_div_19_Template, 2, 0, "div",
|
|
35307
|
+
i0.ɵɵelementStart(18, "div", 15);
|
|
35308
|
+
i0.ɵɵtemplate(19, MasterViewComponent_div_19_Template, 2, 0, "div", 16);
|
|
35119
35309
|
i0.ɵɵelementEnd();
|
|
35120
|
-
i0.ɵɵtemplate(20, MasterViewComponent_form_20_Template, 3, 0, "form",
|
|
35310
|
+
i0.ɵɵtemplate(20, MasterViewComponent_form_20_Template, 3, 0, "form", 17);
|
|
35121
35311
|
i0.ɵɵelementEnd();
|
|
35122
35312
|
i0.ɵɵelementEnd();
|
|
35123
|
-
i0.ɵɵelementStart(21, "div", null,
|
|
35313
|
+
i0.ɵɵelementStart(21, "div", null, 18);
|
|
35124
35314
|
i0.ɵɵprojection(23, 1);
|
|
35125
35315
|
i0.ɵɵelementEnd();
|
|
35126
35316
|
}
|
|
@@ -35137,7 +35327,9 @@
|
|
|
35137
35327
|
i0.ɵɵclassProp("sme-padding-horizontal-sm", !ctx.noSideMargin)("sme-padding-left-sm", ctx.noSideMargin);
|
|
35138
35328
|
i0.ɵɵadvance(1);
|
|
35139
35329
|
i0.ɵɵclassProp("sme-margin-right-xs", ctx.selectedItemCount === 0 || !ctx.showSelection);
|
|
35140
|
-
i0.ɵɵadvance(
|
|
35330
|
+
i0.ɵɵadvance(1);
|
|
35331
|
+
i0.ɵɵproperty("id", ctx.idBag.itemCountLabel);
|
|
35332
|
+
i0.ɵɵadvance(1);
|
|
35141
35333
|
i0.ɵɵtextInterpolate(ctx.getItemCountText());
|
|
35142
35334
|
i0.ɵɵadvance(1);
|
|
35143
35335
|
i0.ɵɵproperty("ngIf", ctx.selectedItemCount > 0 && ctx.showSelection);
|
|
@@ -35368,6 +35560,7 @@
|
|
|
35368
35560
|
var allColumns = this.dataTable.columns ? this.dataTable.columns.toArray() : [];
|
|
35369
35561
|
var dataTableAllColumns = allColumns.map(function (item) {
|
|
35370
35562
|
return {
|
|
35563
|
+
'utaId': item.utaId,
|
|
35371
35564
|
'field': item.field,
|
|
35372
35565
|
'header': item.header,
|
|
35373
35566
|
'hidden': item.hidden,
|
|
@@ -35756,6 +35949,17 @@
|
|
|
35756
35949
|
}
|
|
35757
35950
|
|
|
35758
35951
|
var _c0$W = ["*"];
|
|
35952
|
+
/**
|
|
35953
|
+
* @smeDoc {@label Layered Icon @id sme-layered-icon}
|
|
35954
|
+
*
|
|
35955
|
+
* @overview
|
|
35956
|
+
* @file {@filepath ./examples/layered-icon-overview.md}
|
|
35957
|
+
*
|
|
35958
|
+
* @example {@label Layered Icon example @id layered-icon-example}
|
|
35959
|
+
* @file {@filename layered-icon-example.component.html @filepath ./examples/layered-icon-example.component.html }
|
|
35960
|
+
* @file {@filename layered-icon-example.component.ts @filepath ./examples/layered-icon-example.component.ts }
|
|
35961
|
+
* @file {@filename layered-icon-example.module.ts @filepath ./examples/layered-icon-example.module.ts }
|
|
35962
|
+
*/
|
|
35759
35963
|
var LayeredIconComponent = /** @class */ (function (_super) {
|
|
35760
35964
|
__extends(LayeredIconComponent, _super);
|
|
35761
35965
|
function LayeredIconComponent(injector) {
|
|
@@ -35975,7 +36179,7 @@
|
|
|
35975
36179
|
|
|
35976
36180
|
function StatusIconComponent_sme_icon_layer_1_Template(rf, ctx) {
|
|
35977
36181
|
if (rf & 1) {
|
|
35978
|
-
i0.ɵɵelement(0, "sme-icon-layer",
|
|
36182
|
+
i0.ɵɵelement(0, "sme-icon-layer", 3);
|
|
35979
36183
|
}
|
|
35980
36184
|
if (rf & 2) {
|
|
35981
36185
|
var layer_r1 = ctx.$implicit;
|
|
@@ -36017,10 +36221,43 @@
|
|
|
36017
36221
|
return value;
|
|
36018
36222
|
}
|
|
36019
36223
|
StatusIconType.fromBindableType = fromBindableType;
|
|
36224
|
+
function getIconLayers(iconType) {
|
|
36225
|
+
switch (iconType) {
|
|
36226
|
+
case StatusIconType.Critical:
|
|
36227
|
+
return ['sme-icon', 'sme-color-critical', 'sme-icon-statusErrorFull'];
|
|
36228
|
+
case StatusIconType.Error:
|
|
36229
|
+
return ['sme-icon', 'sme-color-error', 'sme-icon-criticalErrorSolid'];
|
|
36230
|
+
case StatusIconType.Warning:
|
|
36231
|
+
return ['sme-icon', 'sme-color-warning', 'sme-icon-warningSolid'];
|
|
36232
|
+
case StatusIconType.Progress:
|
|
36233
|
+
return ['sme-icon', 'sme-color-progress', 'sme-icon-syncStatusSolid'];
|
|
36234
|
+
case StatusIconType.Info:
|
|
36235
|
+
return ['sme-icon', 'sme-color-info', 'sme-icon-infoSolid'];
|
|
36236
|
+
case StatusIconType.Success:
|
|
36237
|
+
return ['sme-icon', 'sme-color-success', 'sme-icon-completedSolid'];
|
|
36238
|
+
case StatusIconType.Unknown:
|
|
36239
|
+
return ['sme-icon', 'sme-color-neutral', 'sme-icon-unknownSolid'];
|
|
36240
|
+
}
|
|
36241
|
+
}
|
|
36242
|
+
StatusIconType.getIconLayers = getIconLayers;
|
|
36020
36243
|
})(exports.StatusIconType || (exports.StatusIconType = {}));
|
|
36021
|
-
var StatusIconComponent = /** @class */ (function () {
|
|
36244
|
+
var StatusIconComponent = /** @class */ (function (_super) {
|
|
36245
|
+
__extends(StatusIconComponent, _super);
|
|
36022
36246
|
function StatusIconComponent() {
|
|
36247
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
36248
|
+
_this.localStrings = _this.strings.MsftSmeShell.Angular.StatusIcon;
|
|
36249
|
+
return _this;
|
|
36023
36250
|
}
|
|
36251
|
+
Object.defineProperty(StatusIconComponent.prototype, "logSourceName", {
|
|
36252
|
+
/**
|
|
36253
|
+
* The source name to use for logging
|
|
36254
|
+
*/
|
|
36255
|
+
get: function () {
|
|
36256
|
+
return 'StatusIconComponent';
|
|
36257
|
+
},
|
|
36258
|
+
enumerable: false,
|
|
36259
|
+
configurable: true
|
|
36260
|
+
});
|
|
36024
36261
|
Object.defineProperty(StatusIconComponent.prototype, "status", {
|
|
36025
36262
|
/**
|
|
36026
36263
|
* Input binding for the status icon type
|
|
@@ -36030,24 +36267,31 @@
|
|
|
36030
36267
|
switch (type) {
|
|
36031
36268
|
case exports.StatusIconType.Critical:
|
|
36032
36269
|
layers.push(['sme-icon', 'sme-color-critical', 'sme-icon-statusErrorFull']);
|
|
36270
|
+
this.statusString = this.localStrings.Critical;
|
|
36033
36271
|
break;
|
|
36034
36272
|
case exports.StatusIconType.Error:
|
|
36035
36273
|
layers.push(['sme-icon', 'sme-color-error', 'sme-icon-criticalErrorSolid']);
|
|
36274
|
+
this.statusString = this.localStrings.Error;
|
|
36036
36275
|
break;
|
|
36037
36276
|
case exports.StatusIconType.Warning:
|
|
36038
36277
|
layers.push(['sme-icon', 'sme-color-warning', 'sme-icon-warningSolid']);
|
|
36278
|
+
this.statusString = this.localStrings.Warning;
|
|
36039
36279
|
break;
|
|
36040
36280
|
case exports.StatusIconType.Progress:
|
|
36041
36281
|
layers.push(['sme-icon', 'sme-color-progress', 'sme-icon-syncStatusSolid']);
|
|
36282
|
+
this.statusString = this.localStrings.Progress;
|
|
36042
36283
|
break;
|
|
36043
36284
|
case exports.StatusIconType.Info:
|
|
36044
36285
|
layers.push(['sme-icon', 'sme-color-info', 'sme-icon-infoSolid']);
|
|
36286
|
+
this.statusString = this.localStrings.Info;
|
|
36045
36287
|
break;
|
|
36046
36288
|
case exports.StatusIconType.Success:
|
|
36047
36289
|
layers.push(['sme-icon', 'sme-color-success', 'sme-icon-completedSolid']);
|
|
36290
|
+
this.statusString = this.localStrings.Success;
|
|
36048
36291
|
break;
|
|
36049
36292
|
case exports.StatusIconType.Unknown:
|
|
36050
36293
|
layers.push(['sme-icon', 'sme-color-neutral', 'sme-icon-unknownSolid']);
|
|
36294
|
+
this.statusString = this.localStrings.Unknown;
|
|
36051
36295
|
break;
|
|
36052
36296
|
}
|
|
36053
36297
|
this.layers = layers;
|
|
@@ -36056,20 +36300,26 @@
|
|
|
36056
36300
|
configurable: true
|
|
36057
36301
|
});
|
|
36058
36302
|
return StatusIconComponent;
|
|
36059
|
-
}());
|
|
36060
|
-
/** @nocollapse */ StatusIconComponent.ɵfac = function StatusIconComponent_Factory(t) { return
|
|
36061
|
-
/** @nocollapse */ StatusIconComponent.ɵcmp = i0.ɵɵdefineComponent({ type: StatusIconComponent, selectors: [["sme-status-icon"]], inputs: { size: "size", status: "status" }, decls:
|
|
36303
|
+
}(CoreBaseComponent));
|
|
36304
|
+
/** @nocollapse */ StatusIconComponent.ɵfac = function StatusIconComponent_Factory(t) { return ɵStatusIconComponent_BaseFactory(t || StatusIconComponent); };
|
|
36305
|
+
/** @nocollapse */ StatusIconComponent.ɵcmp = i0.ɵɵdefineComponent({ type: StatusIconComponent, selectors: [["sme-status-icon"]], inputs: { size: "size", status: "status" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 4, consts: [["aria-hidden", "true", 3, "size", "title"], [3, "size", "ngClass", 4, "ngFor", "ngForOf"], [1, "sme-screen-reader"], [3, "size", "ngClass"]], template: function StatusIconComponent_Template(rf, ctx) {
|
|
36062
36306
|
if (rf & 1) {
|
|
36063
36307
|
i0.ɵɵelementStart(0, "sme-layered-icon", 0);
|
|
36064
36308
|
i0.ɵɵtemplate(1, StatusIconComponent_sme_icon_layer_1_Template, 1, 2, "sme-icon-layer", 1);
|
|
36065
36309
|
i0.ɵɵelementEnd();
|
|
36310
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
36311
|
+
i0.ɵɵtext(3);
|
|
36312
|
+
i0.ɵɵelementEnd();
|
|
36066
36313
|
}
|
|
36067
36314
|
if (rf & 2) {
|
|
36068
|
-
i0.ɵɵproperty("size", ctx.size);
|
|
36315
|
+
i0.ɵɵproperty("size", ctx.size)("title", ctx.statusString);
|
|
36069
36316
|
i0.ɵɵadvance(1);
|
|
36070
36317
|
i0.ɵɵproperty("ngForOf", ctx.layers);
|
|
36318
|
+
i0.ɵɵadvance(2);
|
|
36319
|
+
i0.ɵɵtextInterpolate(ctx.statusString);
|
|
36071
36320
|
}
|
|
36072
|
-
}, directives: [LayeredIconComponent, i1$1.NgForOf, IconLayerComponent, i1$1.NgClass], encapsulation: 2 });
|
|
36321
|
+
}, directives: [LayeredIconComponent, TooltipDirective, i1$1.NgForOf, IconLayerComponent, i1$1.NgClass], encapsulation: 2 });
|
|
36322
|
+
var ɵStatusIconComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(StatusIconComponent);
|
|
36073
36323
|
(function () {
|
|
36074
36324
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusIconComponent, [{
|
|
36075
36325
|
type: i0.Component,
|
|
@@ -36768,16 +37018,6 @@
|
|
|
36768
37018
|
enumerable: false,
|
|
36769
37019
|
configurable: true
|
|
36770
37020
|
});
|
|
36771
|
-
Object.defineProperty(BadgeBaseComponent.prototype, "resolvedTitle", {
|
|
36772
|
-
/**
|
|
36773
|
-
* The title that we actually bind to
|
|
36774
|
-
*/
|
|
36775
|
-
get: function () {
|
|
36776
|
-
return this.resolvedTooltip ? null : this.description;
|
|
36777
|
-
},
|
|
36778
|
-
enumerable: false,
|
|
36779
|
-
configurable: true
|
|
36780
|
-
});
|
|
36781
37021
|
Object.defineProperty(BadgeBaseComponent.prototype, "resolvedTooltip", {
|
|
36782
37022
|
/**
|
|
36783
37023
|
* The title that we actually bind to
|
|
@@ -36787,12 +37027,7 @@
|
|
|
36787
37027
|
if (this.tooltip) {
|
|
36788
37028
|
return this.tooltip;
|
|
36789
37029
|
}
|
|
36790
|
-
|
|
36791
|
-
if (this.learnMoreLink || this.showFeedbackLink) {
|
|
36792
|
-
return this.defaultTooltip;
|
|
36793
|
-
}
|
|
36794
|
-
// otherwise its just a description. in which case we should use the title property instead
|
|
36795
|
-
return null;
|
|
37030
|
+
return this.defaultTooltip;
|
|
36796
37031
|
},
|
|
36797
37032
|
enumerable: false,
|
|
36798
37033
|
configurable: true
|
|
@@ -36862,100 +37097,55 @@
|
|
|
36862
37097
|
})();
|
|
36863
37098
|
|
|
36864
37099
|
var _c0$_ = ["type", "comingsoon"];
|
|
36865
|
-
|
|
36866
|
-
function ComingSoonBadgeComponent_p_0_Template(rf, ctx) {
|
|
36867
|
-
if (rf & 1) {
|
|
36868
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
36869
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
36870
|
-
i0.ɵɵtext(2);
|
|
36871
|
-
i0.ɵɵelementEnd();
|
|
36872
|
-
i0.ɵɵelement(3, "span", 6);
|
|
36873
|
-
i0.ɵɵelementEnd();
|
|
36874
|
-
}
|
|
36875
|
-
if (rf & 2) {
|
|
36876
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
36877
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
36878
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
36879
|
-
i0.ɵɵadvance(2);
|
|
36880
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
36881
|
-
i0.ɵɵadvance(1);
|
|
36882
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$s, ctx_r0.icon));
|
|
36883
|
-
}
|
|
36884
|
-
}
|
|
36885
|
-
function ComingSoonBadgeComponent_p_1_Template(rf, ctx) {
|
|
36886
|
-
if (rf & 1) {
|
|
36887
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
36888
|
-
i0.ɵɵelementStart(1, "span");
|
|
36889
|
-
i0.ɵɵtext(2);
|
|
36890
|
-
i0.ɵɵelementEnd();
|
|
36891
|
-
i0.ɵɵelementEnd();
|
|
36892
|
-
}
|
|
36893
|
-
if (rf & 2) {
|
|
36894
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
36895
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
36896
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
36897
|
-
i0.ɵɵadvance(2);
|
|
36898
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
36899
|
-
}
|
|
36900
|
-
}
|
|
36901
|
-
function ComingSoonBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37100
|
+
function ComingSoonBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
36902
37101
|
if (rf & 1) {
|
|
36903
|
-
i0.ɵɵelementStart(0, "a",
|
|
37102
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
36904
37103
|
i0.ɵɵtext(1);
|
|
36905
37104
|
i0.ɵɵelementEnd();
|
|
36906
37105
|
}
|
|
36907
37106
|
if (rf & 2) {
|
|
36908
|
-
var
|
|
36909
|
-
i0.ɵɵproperty("href",
|
|
37107
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37108
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
36910
37109
|
i0.ɵɵadvance(1);
|
|
36911
|
-
i0.ɵɵtextInterpolate(
|
|
37110
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
36912
37111
|
}
|
|
36913
37112
|
}
|
|
36914
|
-
function
|
|
37113
|
+
function ComingSoonBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
36915
37114
|
if (rf & 1) {
|
|
36916
|
-
i0.ɵɵelementStart(0, "a",
|
|
37115
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
36917
37116
|
i0.ɵɵtext(1);
|
|
36918
37117
|
i0.ɵɵelementEnd();
|
|
36919
37118
|
}
|
|
36920
37119
|
if (rf & 2) {
|
|
36921
|
-
var
|
|
36922
|
-
i0.ɵɵproperty("href",
|
|
37120
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37121
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
36923
37122
|
i0.ɵɵadvance(1);
|
|
36924
|
-
i0.ɵɵtextInterpolate(
|
|
37123
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
36925
37124
|
}
|
|
36926
37125
|
}
|
|
36927
|
-
function
|
|
37126
|
+
function ComingSoonBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
36928
37127
|
if (rf & 1) {
|
|
36929
|
-
i0.ɵɵelementStart(0, "
|
|
37128
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
36930
37129
|
i0.ɵɵtext(1);
|
|
36931
37130
|
i0.ɵɵelementEnd();
|
|
36932
|
-
i0.ɵɵelementStart(2, "
|
|
36933
|
-
i0.ɵɵ
|
|
36934
|
-
i0.ɵɵelementEnd();
|
|
36935
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
36936
|
-
i0.ɵɵtemplate(5, ComingSoonBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37131
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37132
|
+
i0.ɵɵtemplate(3, ComingSoonBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
36937
37133
|
i0.ɵɵelementEnd();
|
|
36938
|
-
i0.ɵɵelementStart(
|
|
36939
|
-
i0.ɵɵtemplate(
|
|
37134
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37135
|
+
i0.ɵɵtemplate(5, ComingSoonBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
36940
37136
|
i0.ɵɵelementEnd();
|
|
36941
37137
|
}
|
|
36942
37138
|
if (rf & 2) {
|
|
36943
|
-
var
|
|
36944
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
36945
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
36946
|
-
i0.ɵɵadvance(1);
|
|
36947
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
36948
|
-
i0.ɵɵadvance(1);
|
|
36949
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
36950
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37139
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
36951
37140
|
i0.ɵɵadvance(1);
|
|
36952
|
-
i0.ɵɵtextInterpolate(
|
|
37141
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
36953
37142
|
i0.ɵɵadvance(2);
|
|
36954
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37143
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
36955
37144
|
i0.ɵɵadvance(2);
|
|
36956
|
-
i0.ɵɵproperty("ngIf",
|
|
37145
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
36957
37146
|
}
|
|
36958
37147
|
}
|
|
37148
|
+
var _c1$s = function (a1) { return ["sme-icon", a1]; };
|
|
36959
37149
|
/**
|
|
36960
37150
|
* Defines a coming soon badge
|
|
36961
37151
|
*/
|
|
@@ -36992,18 +37182,29 @@
|
|
|
36992
37182
|
return ComingSoonBadgeComponent;
|
|
36993
37183
|
}(CoreBadgeBaseComponent));
|
|
36994
37184
|
/** @nocollapse */ ComingSoonBadgeComponent.ɵfac = function ComingSoonBadgeComponent_Factory(t) { return new (t || ComingSoonBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
36995
|
-
/** @nocollapse */ ComingSoonBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ComingSoonBadgeComponent, selectors: [["sme-badge", "type", "comingsoon"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$_, decls:
|
|
37185
|
+
/** @nocollapse */ ComingSoonBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ComingSoonBadgeComponent, selectors: [["sme-badge", "type", "comingsoon"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$_, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function ComingSoonBadgeComponent_Template(rf, ctx) {
|
|
36996
37186
|
if (rf & 1) {
|
|
36997
|
-
i0.ɵɵ
|
|
36998
|
-
i0.ɵɵ
|
|
36999
|
-
i0.ɵɵ
|
|
37187
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37188
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37189
|
+
i0.ɵɵtext(2);
|
|
37190
|
+
i0.ɵɵelementEnd();
|
|
37191
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37192
|
+
i0.ɵɵtext(4);
|
|
37193
|
+
i0.ɵɵelementEnd();
|
|
37194
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37195
|
+
i0.ɵɵelementEnd();
|
|
37196
|
+
i0.ɵɵtemplate(6, ComingSoonBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37000
37197
|
}
|
|
37001
37198
|
if (rf & 2) {
|
|
37002
|
-
i0.ɵɵproperty("
|
|
37199
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37200
|
+
i0.ɵɵadvance(2);
|
|
37201
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37202
|
+
i0.ɵɵadvance(2);
|
|
37203
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37003
37204
|
i0.ɵɵadvance(1);
|
|
37004
|
-
i0.ɵɵproperty("
|
|
37205
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$s, ctx.icon));
|
|
37005
37206
|
}
|
|
37006
|
-
}, directives: [i1$1.
|
|
37207
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37007
37208
|
(function () {
|
|
37008
37209
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComingSoonBadgeComponent, [{
|
|
37009
37210
|
type: i0.Component,
|
|
@@ -37015,100 +37216,55 @@
|
|
|
37015
37216
|
})();
|
|
37016
37217
|
|
|
37017
37218
|
var _c0$$ = ["type", "custom"];
|
|
37018
|
-
|
|
37019
|
-
function CustomBadgeComponent_p_0_Template(rf, ctx) {
|
|
37020
|
-
if (rf & 1) {
|
|
37021
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
37022
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37023
|
-
i0.ɵɵtext(2);
|
|
37024
|
-
i0.ɵɵelementEnd();
|
|
37025
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37026
|
-
i0.ɵɵelementEnd();
|
|
37027
|
-
}
|
|
37028
|
-
if (rf & 2) {
|
|
37029
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37030
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37031
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37032
|
-
i0.ɵɵadvance(2);
|
|
37033
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37034
|
-
i0.ɵɵadvance(1);
|
|
37035
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$t, ctx_r0.icon));
|
|
37036
|
-
}
|
|
37037
|
-
}
|
|
37038
|
-
function CustomBadgeComponent_p_1_Template(rf, ctx) {
|
|
37039
|
-
if (rf & 1) {
|
|
37040
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37041
|
-
i0.ɵɵelementStart(1, "span");
|
|
37042
|
-
i0.ɵɵtext(2);
|
|
37043
|
-
i0.ɵɵelementEnd();
|
|
37044
|
-
i0.ɵɵelementEnd();
|
|
37045
|
-
}
|
|
37046
|
-
if (rf & 2) {
|
|
37047
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37048
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37049
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37050
|
-
i0.ɵɵadvance(2);
|
|
37051
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37052
|
-
}
|
|
37053
|
-
}
|
|
37054
|
-
function CustomBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37219
|
+
function CustomBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37055
37220
|
if (rf & 1) {
|
|
37056
|
-
i0.ɵɵelementStart(0, "a",
|
|
37221
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37057
37222
|
i0.ɵɵtext(1);
|
|
37058
37223
|
i0.ɵɵelementEnd();
|
|
37059
37224
|
}
|
|
37060
37225
|
if (rf & 2) {
|
|
37061
|
-
var
|
|
37062
|
-
i0.ɵɵproperty("href",
|
|
37226
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37227
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37063
37228
|
i0.ɵɵadvance(1);
|
|
37064
|
-
i0.ɵɵtextInterpolate(
|
|
37229
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37065
37230
|
}
|
|
37066
37231
|
}
|
|
37067
|
-
function
|
|
37232
|
+
function CustomBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37068
37233
|
if (rf & 1) {
|
|
37069
|
-
i0.ɵɵelementStart(0, "a",
|
|
37234
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37070
37235
|
i0.ɵɵtext(1);
|
|
37071
37236
|
i0.ɵɵelementEnd();
|
|
37072
37237
|
}
|
|
37073
37238
|
if (rf & 2) {
|
|
37074
|
-
var
|
|
37075
|
-
i0.ɵɵproperty("href",
|
|
37239
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37240
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37076
37241
|
i0.ɵɵadvance(1);
|
|
37077
|
-
i0.ɵɵtextInterpolate(
|
|
37242
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37078
37243
|
}
|
|
37079
37244
|
}
|
|
37080
|
-
function
|
|
37245
|
+
function CustomBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
37081
37246
|
if (rf & 1) {
|
|
37082
|
-
i0.ɵɵelementStart(0, "
|
|
37247
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
37083
37248
|
i0.ɵɵtext(1);
|
|
37084
37249
|
i0.ɵɵelementEnd();
|
|
37085
|
-
i0.ɵɵelementStart(2, "
|
|
37086
|
-
i0.ɵɵ
|
|
37087
|
-
i0.ɵɵelementEnd();
|
|
37088
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
37089
|
-
i0.ɵɵtemplate(5, CustomBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37250
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37251
|
+
i0.ɵɵtemplate(3, CustomBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
37090
37252
|
i0.ɵɵelementEnd();
|
|
37091
|
-
i0.ɵɵelementStart(
|
|
37092
|
-
i0.ɵɵtemplate(
|
|
37253
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37254
|
+
i0.ɵɵtemplate(5, CustomBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
37093
37255
|
i0.ɵɵelementEnd();
|
|
37094
37256
|
}
|
|
37095
37257
|
if (rf & 2) {
|
|
37096
|
-
var
|
|
37097
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
37098
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
37099
|
-
i0.ɵɵadvance(1);
|
|
37100
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
37101
|
-
i0.ɵɵadvance(1);
|
|
37102
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
37103
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37258
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
37104
37259
|
i0.ɵɵadvance(1);
|
|
37105
|
-
i0.ɵɵtextInterpolate(
|
|
37260
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
37106
37261
|
i0.ɵɵadvance(2);
|
|
37107
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37262
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
37108
37263
|
i0.ɵɵadvance(2);
|
|
37109
|
-
i0.ɵɵproperty("ngIf",
|
|
37264
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
37110
37265
|
}
|
|
37111
37266
|
}
|
|
37267
|
+
var _c1$t = function (a1) { return ["sme-icon", a1]; };
|
|
37112
37268
|
/**
|
|
37113
37269
|
* Defines a custom badge
|
|
37114
37270
|
*/
|
|
@@ -37142,18 +37298,29 @@
|
|
|
37142
37298
|
return CustomBadgeComponent;
|
|
37143
37299
|
}(CoreBadgeBaseComponent));
|
|
37144
37300
|
/** @nocollapse */ CustomBadgeComponent.ɵfac = function CustomBadgeComponent_Factory(t) { return new (t || CustomBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
37145
|
-
/** @nocollapse */ CustomBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CustomBadgeComponent, selectors: [["sme-badge", "type", "custom"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$$, decls:
|
|
37301
|
+
/** @nocollapse */ CustomBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CustomBadgeComponent, selectors: [["sme-badge", "type", "custom"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$$, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function CustomBadgeComponent_Template(rf, ctx) {
|
|
37146
37302
|
if (rf & 1) {
|
|
37147
|
-
i0.ɵɵ
|
|
37148
|
-
i0.ɵɵ
|
|
37149
|
-
i0.ɵɵ
|
|
37303
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37304
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37305
|
+
i0.ɵɵtext(2);
|
|
37306
|
+
i0.ɵɵelementEnd();
|
|
37307
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37308
|
+
i0.ɵɵtext(4);
|
|
37309
|
+
i0.ɵɵelementEnd();
|
|
37310
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37311
|
+
i0.ɵɵelementEnd();
|
|
37312
|
+
i0.ɵɵtemplate(6, CustomBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37150
37313
|
}
|
|
37151
37314
|
if (rf & 2) {
|
|
37152
|
-
i0.ɵɵproperty("
|
|
37315
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37316
|
+
i0.ɵɵadvance(2);
|
|
37317
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37318
|
+
i0.ɵɵadvance(2);
|
|
37319
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37153
37320
|
i0.ɵɵadvance(1);
|
|
37154
|
-
i0.ɵɵproperty("
|
|
37321
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$t, ctx.icon));
|
|
37155
37322
|
}
|
|
37156
|
-
}, directives: [i1$1.
|
|
37323
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37157
37324
|
(function () {
|
|
37158
37325
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomBadgeComponent, [{
|
|
37159
37326
|
type: i0.Component,
|
|
@@ -37165,100 +37332,55 @@
|
|
|
37165
37332
|
})();
|
|
37166
37333
|
|
|
37167
37334
|
var _c0$10 = ["type", "feedback"];
|
|
37168
|
-
|
|
37169
|
-
function FeedbackBadgeComponent_p_0_Template(rf, ctx) {
|
|
37170
|
-
if (rf & 1) {
|
|
37171
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
37172
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37173
|
-
i0.ɵɵtext(2);
|
|
37174
|
-
i0.ɵɵelementEnd();
|
|
37175
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37176
|
-
i0.ɵɵelementEnd();
|
|
37177
|
-
}
|
|
37178
|
-
if (rf & 2) {
|
|
37179
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37180
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37181
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37182
|
-
i0.ɵɵadvance(2);
|
|
37183
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37184
|
-
i0.ɵɵadvance(1);
|
|
37185
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$u, ctx_r0.icon));
|
|
37186
|
-
}
|
|
37187
|
-
}
|
|
37188
|
-
function FeedbackBadgeComponent_p_1_Template(rf, ctx) {
|
|
37189
|
-
if (rf & 1) {
|
|
37190
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37191
|
-
i0.ɵɵelementStart(1, "span");
|
|
37192
|
-
i0.ɵɵtext(2);
|
|
37193
|
-
i0.ɵɵelementEnd();
|
|
37194
|
-
i0.ɵɵelementEnd();
|
|
37195
|
-
}
|
|
37196
|
-
if (rf & 2) {
|
|
37197
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37198
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37199
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37200
|
-
i0.ɵɵadvance(2);
|
|
37201
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37202
|
-
}
|
|
37203
|
-
}
|
|
37204
|
-
function FeedbackBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37335
|
+
function FeedbackBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37205
37336
|
if (rf & 1) {
|
|
37206
|
-
i0.ɵɵelementStart(0, "a",
|
|
37337
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37207
37338
|
i0.ɵɵtext(1);
|
|
37208
37339
|
i0.ɵɵelementEnd();
|
|
37209
37340
|
}
|
|
37210
37341
|
if (rf & 2) {
|
|
37211
|
-
var
|
|
37212
|
-
i0.ɵɵproperty("href",
|
|
37342
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37343
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37213
37344
|
i0.ɵɵadvance(1);
|
|
37214
|
-
i0.ɵɵtextInterpolate(
|
|
37345
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37215
37346
|
}
|
|
37216
37347
|
}
|
|
37217
|
-
function
|
|
37348
|
+
function FeedbackBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37218
37349
|
if (rf & 1) {
|
|
37219
|
-
i0.ɵɵelementStart(0, "a",
|
|
37350
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37220
37351
|
i0.ɵɵtext(1);
|
|
37221
37352
|
i0.ɵɵelementEnd();
|
|
37222
37353
|
}
|
|
37223
37354
|
if (rf & 2) {
|
|
37224
|
-
var
|
|
37225
|
-
i0.ɵɵproperty("href",
|
|
37355
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37356
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37226
37357
|
i0.ɵɵadvance(1);
|
|
37227
|
-
i0.ɵɵtextInterpolate(
|
|
37358
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37228
37359
|
}
|
|
37229
37360
|
}
|
|
37230
|
-
function
|
|
37361
|
+
function FeedbackBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
37231
37362
|
if (rf & 1) {
|
|
37232
|
-
i0.ɵɵelementStart(0, "
|
|
37363
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
37233
37364
|
i0.ɵɵtext(1);
|
|
37234
37365
|
i0.ɵɵelementEnd();
|
|
37235
|
-
i0.ɵɵelementStart(2, "
|
|
37236
|
-
i0.ɵɵ
|
|
37237
|
-
i0.ɵɵelementEnd();
|
|
37238
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
37239
|
-
i0.ɵɵtemplate(5, FeedbackBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37366
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37367
|
+
i0.ɵɵtemplate(3, FeedbackBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
37240
37368
|
i0.ɵɵelementEnd();
|
|
37241
|
-
i0.ɵɵelementStart(
|
|
37242
|
-
i0.ɵɵtemplate(
|
|
37369
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37370
|
+
i0.ɵɵtemplate(5, FeedbackBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
37243
37371
|
i0.ɵɵelementEnd();
|
|
37244
37372
|
}
|
|
37245
37373
|
if (rf & 2) {
|
|
37246
|
-
var
|
|
37247
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
37248
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
37249
|
-
i0.ɵɵadvance(1);
|
|
37250
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
37251
|
-
i0.ɵɵadvance(1);
|
|
37252
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
37253
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37374
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
37254
37375
|
i0.ɵɵadvance(1);
|
|
37255
|
-
i0.ɵɵtextInterpolate(
|
|
37376
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
37256
37377
|
i0.ɵɵadvance(2);
|
|
37257
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37378
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
37258
37379
|
i0.ɵɵadvance(2);
|
|
37259
|
-
i0.ɵɵproperty("ngIf",
|
|
37380
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
37260
37381
|
}
|
|
37261
37382
|
}
|
|
37383
|
+
var _c1$u = function (a1) { return ["sme-icon", a1]; };
|
|
37262
37384
|
/**
|
|
37263
37385
|
* Defines a feedback badge
|
|
37264
37386
|
*/
|
|
@@ -37295,18 +37417,29 @@
|
|
|
37295
37417
|
return FeedbackBadgeComponent;
|
|
37296
37418
|
}(CoreBadgeBaseComponent));
|
|
37297
37419
|
/** @nocollapse */ FeedbackBadgeComponent.ɵfac = function FeedbackBadgeComponent_Factory(t) { return new (t || FeedbackBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
37298
|
-
/** @nocollapse */ FeedbackBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FeedbackBadgeComponent, selectors: [["sme-badge", "type", "feedback"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$10, decls:
|
|
37420
|
+
/** @nocollapse */ FeedbackBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FeedbackBadgeComponent, selectors: [["sme-badge", "type", "feedback"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$10, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function FeedbackBadgeComponent_Template(rf, ctx) {
|
|
37299
37421
|
if (rf & 1) {
|
|
37300
|
-
i0.ɵɵ
|
|
37301
|
-
i0.ɵɵ
|
|
37302
|
-
i0.ɵɵ
|
|
37422
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37423
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37424
|
+
i0.ɵɵtext(2);
|
|
37425
|
+
i0.ɵɵelementEnd();
|
|
37426
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37427
|
+
i0.ɵɵtext(4);
|
|
37428
|
+
i0.ɵɵelementEnd();
|
|
37429
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37430
|
+
i0.ɵɵelementEnd();
|
|
37431
|
+
i0.ɵɵtemplate(6, FeedbackBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37303
37432
|
}
|
|
37304
37433
|
if (rf & 2) {
|
|
37305
|
-
i0.ɵɵproperty("
|
|
37434
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37435
|
+
i0.ɵɵadvance(2);
|
|
37436
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37437
|
+
i0.ɵɵadvance(2);
|
|
37438
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37306
37439
|
i0.ɵɵadvance(1);
|
|
37307
|
-
i0.ɵɵproperty("
|
|
37440
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$u, ctx.icon));
|
|
37308
37441
|
}
|
|
37309
|
-
}, directives: [i1$1.
|
|
37442
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37310
37443
|
(function () {
|
|
37311
37444
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedbackBadgeComponent, [{
|
|
37312
37445
|
type: i0.Component,
|
|
@@ -37318,100 +37451,55 @@
|
|
|
37318
37451
|
})();
|
|
37319
37452
|
|
|
37320
37453
|
var _c0$11 = ["type", "new"];
|
|
37321
|
-
|
|
37322
|
-
function NewBadgeComponent_p_0_Template(rf, ctx) {
|
|
37454
|
+
function NewBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37323
37455
|
if (rf & 1) {
|
|
37324
|
-
i0.ɵɵelementStart(0, "
|
|
37325
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37326
|
-
i0.ɵɵtext(2);
|
|
37327
|
-
i0.ɵɵelementEnd();
|
|
37328
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37329
|
-
i0.ɵɵelementEnd();
|
|
37330
|
-
}
|
|
37331
|
-
if (rf & 2) {
|
|
37332
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37333
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37334
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37335
|
-
i0.ɵɵadvance(2);
|
|
37336
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37337
|
-
i0.ɵɵadvance(1);
|
|
37338
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$v, ctx_r0.icon));
|
|
37339
|
-
}
|
|
37340
|
-
}
|
|
37341
|
-
function NewBadgeComponent_p_1_Template(rf, ctx) {
|
|
37342
|
-
if (rf & 1) {
|
|
37343
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37344
|
-
i0.ɵɵelementStart(1, "span");
|
|
37345
|
-
i0.ɵɵtext(2);
|
|
37346
|
-
i0.ɵɵelementEnd();
|
|
37347
|
-
i0.ɵɵelementEnd();
|
|
37348
|
-
}
|
|
37349
|
-
if (rf & 2) {
|
|
37350
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37351
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37352
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37353
|
-
i0.ɵɵadvance(2);
|
|
37354
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37355
|
-
}
|
|
37356
|
-
}
|
|
37357
|
-
function NewBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37358
|
-
if (rf & 1) {
|
|
37359
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
37456
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37360
37457
|
i0.ɵɵtext(1);
|
|
37361
37458
|
i0.ɵɵelementEnd();
|
|
37362
37459
|
}
|
|
37363
37460
|
if (rf & 2) {
|
|
37364
|
-
var
|
|
37365
|
-
i0.ɵɵproperty("href",
|
|
37461
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37462
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37366
37463
|
i0.ɵɵadvance(1);
|
|
37367
|
-
i0.ɵɵtextInterpolate(
|
|
37464
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37368
37465
|
}
|
|
37369
37466
|
}
|
|
37370
|
-
function
|
|
37467
|
+
function NewBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37371
37468
|
if (rf & 1) {
|
|
37372
|
-
i0.ɵɵelementStart(0, "a",
|
|
37469
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37373
37470
|
i0.ɵɵtext(1);
|
|
37374
37471
|
i0.ɵɵelementEnd();
|
|
37375
37472
|
}
|
|
37376
37473
|
if (rf & 2) {
|
|
37377
|
-
var
|
|
37378
|
-
i0.ɵɵproperty("href",
|
|
37474
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37475
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37379
37476
|
i0.ɵɵadvance(1);
|
|
37380
|
-
i0.ɵɵtextInterpolate(
|
|
37477
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37381
37478
|
}
|
|
37382
37479
|
}
|
|
37383
|
-
function
|
|
37480
|
+
function NewBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
37384
37481
|
if (rf & 1) {
|
|
37385
|
-
i0.ɵɵelementStart(0, "
|
|
37482
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
37386
37483
|
i0.ɵɵtext(1);
|
|
37387
37484
|
i0.ɵɵelementEnd();
|
|
37388
|
-
i0.ɵɵelementStart(2, "
|
|
37389
|
-
i0.ɵɵ
|
|
37390
|
-
i0.ɵɵelementEnd();
|
|
37391
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
37392
|
-
i0.ɵɵtemplate(5, NewBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37485
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37486
|
+
i0.ɵɵtemplate(3, NewBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
37393
37487
|
i0.ɵɵelementEnd();
|
|
37394
|
-
i0.ɵɵelementStart(
|
|
37395
|
-
i0.ɵɵtemplate(
|
|
37488
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37489
|
+
i0.ɵɵtemplate(5, NewBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
37396
37490
|
i0.ɵɵelementEnd();
|
|
37397
37491
|
}
|
|
37398
37492
|
if (rf & 2) {
|
|
37399
|
-
var
|
|
37400
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
37401
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
37402
|
-
i0.ɵɵadvance(1);
|
|
37403
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
37404
|
-
i0.ɵɵadvance(1);
|
|
37405
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
37406
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37493
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
37407
37494
|
i0.ɵɵadvance(1);
|
|
37408
|
-
i0.ɵɵtextInterpolate(
|
|
37495
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
37409
37496
|
i0.ɵɵadvance(2);
|
|
37410
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37497
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
37411
37498
|
i0.ɵɵadvance(2);
|
|
37412
|
-
i0.ɵɵproperty("ngIf",
|
|
37499
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
37413
37500
|
}
|
|
37414
37501
|
}
|
|
37502
|
+
var _c1$v = function (a1) { return ["sme-icon", a1]; };
|
|
37415
37503
|
/**
|
|
37416
37504
|
* Defines a 'new' badge
|
|
37417
37505
|
*/
|
|
@@ -37448,18 +37536,29 @@
|
|
|
37448
37536
|
return NewBadgeComponent;
|
|
37449
37537
|
}(CoreBadgeBaseComponent));
|
|
37450
37538
|
/** @nocollapse */ NewBadgeComponent.ɵfac = function NewBadgeComponent_Factory(t) { return new (t || NewBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
37451
|
-
/** @nocollapse */ NewBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NewBadgeComponent, selectors: [["sme-badge", "type", "new"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$11, decls:
|
|
37539
|
+
/** @nocollapse */ NewBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NewBadgeComponent, selectors: [["sme-badge", "type", "new"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$11, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function NewBadgeComponent_Template(rf, ctx) {
|
|
37452
37540
|
if (rf & 1) {
|
|
37453
|
-
i0.ɵɵ
|
|
37454
|
-
i0.ɵɵ
|
|
37455
|
-
i0.ɵɵ
|
|
37541
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37542
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37543
|
+
i0.ɵɵtext(2);
|
|
37544
|
+
i0.ɵɵelementEnd();
|
|
37545
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37546
|
+
i0.ɵɵtext(4);
|
|
37547
|
+
i0.ɵɵelementEnd();
|
|
37548
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37549
|
+
i0.ɵɵelementEnd();
|
|
37550
|
+
i0.ɵɵtemplate(6, NewBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37456
37551
|
}
|
|
37457
37552
|
if (rf & 2) {
|
|
37458
|
-
i0.ɵɵproperty("
|
|
37553
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37554
|
+
i0.ɵɵadvance(2);
|
|
37555
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37556
|
+
i0.ɵɵadvance(2);
|
|
37557
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37459
37558
|
i0.ɵɵadvance(1);
|
|
37460
|
-
i0.ɵɵproperty("
|
|
37559
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$v, ctx.icon));
|
|
37461
37560
|
}
|
|
37462
|
-
}, directives: [i1$1.
|
|
37561
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37463
37562
|
(function () {
|
|
37464
37563
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NewBadgeComponent, [{
|
|
37465
37564
|
type: i0.Component,
|
|
@@ -37471,100 +37570,55 @@
|
|
|
37471
37570
|
})();
|
|
37472
37571
|
|
|
37473
37572
|
var _c0$12 = ["type", "preview"];
|
|
37474
|
-
|
|
37475
|
-
function PreviewBadgeComponent_p_0_Template(rf, ctx) {
|
|
37476
|
-
if (rf & 1) {
|
|
37477
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
37478
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37479
|
-
i0.ɵɵtext(2);
|
|
37480
|
-
i0.ɵɵelementEnd();
|
|
37481
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37482
|
-
i0.ɵɵelementEnd();
|
|
37483
|
-
}
|
|
37484
|
-
if (rf & 2) {
|
|
37485
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37486
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37487
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37488
|
-
i0.ɵɵadvance(2);
|
|
37489
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37490
|
-
i0.ɵɵadvance(1);
|
|
37491
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$w, ctx_r0.icon));
|
|
37492
|
-
}
|
|
37493
|
-
}
|
|
37494
|
-
function PreviewBadgeComponent_p_1_Template(rf, ctx) {
|
|
37495
|
-
if (rf & 1) {
|
|
37496
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37497
|
-
i0.ɵɵelementStart(1, "span");
|
|
37498
|
-
i0.ɵɵtext(2);
|
|
37499
|
-
i0.ɵɵelementEnd();
|
|
37500
|
-
i0.ɵɵelementEnd();
|
|
37501
|
-
}
|
|
37502
|
-
if (rf & 2) {
|
|
37503
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37504
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37505
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37506
|
-
i0.ɵɵadvance(2);
|
|
37507
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37508
|
-
}
|
|
37509
|
-
}
|
|
37510
|
-
function PreviewBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37573
|
+
function PreviewBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37511
37574
|
if (rf & 1) {
|
|
37512
|
-
i0.ɵɵelementStart(0, "a",
|
|
37575
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37513
37576
|
i0.ɵɵtext(1);
|
|
37514
37577
|
i0.ɵɵelementEnd();
|
|
37515
37578
|
}
|
|
37516
37579
|
if (rf & 2) {
|
|
37517
|
-
var
|
|
37518
|
-
i0.ɵɵproperty("href",
|
|
37580
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37581
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37519
37582
|
i0.ɵɵadvance(1);
|
|
37520
|
-
i0.ɵɵtextInterpolate(
|
|
37583
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37521
37584
|
}
|
|
37522
37585
|
}
|
|
37523
|
-
function
|
|
37586
|
+
function PreviewBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37524
37587
|
if (rf & 1) {
|
|
37525
|
-
i0.ɵɵelementStart(0, "a",
|
|
37588
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37526
37589
|
i0.ɵɵtext(1);
|
|
37527
37590
|
i0.ɵɵelementEnd();
|
|
37528
37591
|
}
|
|
37529
37592
|
if (rf & 2) {
|
|
37530
|
-
var
|
|
37531
|
-
i0.ɵɵproperty("href",
|
|
37593
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37594
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37532
37595
|
i0.ɵɵadvance(1);
|
|
37533
|
-
i0.ɵɵtextInterpolate(
|
|
37596
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37534
37597
|
}
|
|
37535
37598
|
}
|
|
37536
|
-
function
|
|
37599
|
+
function PreviewBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
37537
37600
|
if (rf & 1) {
|
|
37538
|
-
i0.ɵɵelementStart(0, "
|
|
37601
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
37539
37602
|
i0.ɵɵtext(1);
|
|
37540
37603
|
i0.ɵɵelementEnd();
|
|
37541
|
-
i0.ɵɵelementStart(2, "
|
|
37542
|
-
i0.ɵɵ
|
|
37543
|
-
i0.ɵɵelementEnd();
|
|
37544
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
37545
|
-
i0.ɵɵtemplate(5, PreviewBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37604
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37605
|
+
i0.ɵɵtemplate(3, PreviewBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
37546
37606
|
i0.ɵɵelementEnd();
|
|
37547
|
-
i0.ɵɵelementStart(
|
|
37548
|
-
i0.ɵɵtemplate(
|
|
37607
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37608
|
+
i0.ɵɵtemplate(5, PreviewBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
37549
37609
|
i0.ɵɵelementEnd();
|
|
37550
37610
|
}
|
|
37551
37611
|
if (rf & 2) {
|
|
37552
|
-
var
|
|
37553
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
37554
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
37555
|
-
i0.ɵɵadvance(1);
|
|
37556
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
37557
|
-
i0.ɵɵadvance(1);
|
|
37558
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
37559
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37612
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
37560
37613
|
i0.ɵɵadvance(1);
|
|
37561
|
-
i0.ɵɵtextInterpolate(
|
|
37614
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
37562
37615
|
i0.ɵɵadvance(2);
|
|
37563
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37616
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
37564
37617
|
i0.ɵɵadvance(2);
|
|
37565
|
-
i0.ɵɵproperty("ngIf",
|
|
37618
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
37566
37619
|
}
|
|
37567
37620
|
}
|
|
37621
|
+
var _c1$w = function (a1) { return ["sme-icon", a1]; };
|
|
37568
37622
|
/**
|
|
37569
37623
|
* Defines a preview badge
|
|
37570
37624
|
*/
|
|
@@ -37602,18 +37656,29 @@
|
|
|
37602
37656
|
return PreviewBadgeComponent;
|
|
37603
37657
|
}(CoreBadgeBaseComponent));
|
|
37604
37658
|
/** @nocollapse */ PreviewBadgeComponent.ɵfac = function PreviewBadgeComponent_Factory(t) { return new (t || PreviewBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
37605
|
-
/** @nocollapse */ PreviewBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PreviewBadgeComponent, selectors: [["sme-badge", "type", "preview"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$12, decls:
|
|
37659
|
+
/** @nocollapse */ PreviewBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PreviewBadgeComponent, selectors: [["sme-badge", "type", "preview"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$12, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function PreviewBadgeComponent_Template(rf, ctx) {
|
|
37606
37660
|
if (rf & 1) {
|
|
37607
|
-
i0.ɵɵ
|
|
37608
|
-
i0.ɵɵ
|
|
37609
|
-
i0.ɵɵ
|
|
37661
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37662
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37663
|
+
i0.ɵɵtext(2);
|
|
37664
|
+
i0.ɵɵelementEnd();
|
|
37665
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37666
|
+
i0.ɵɵtext(4);
|
|
37667
|
+
i0.ɵɵelementEnd();
|
|
37668
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37669
|
+
i0.ɵɵelementEnd();
|
|
37670
|
+
i0.ɵɵtemplate(6, PreviewBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37610
37671
|
}
|
|
37611
37672
|
if (rf & 2) {
|
|
37612
|
-
i0.ɵɵproperty("
|
|
37673
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37674
|
+
i0.ɵɵadvance(2);
|
|
37675
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37676
|
+
i0.ɵɵadvance(2);
|
|
37677
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37613
37678
|
i0.ɵɵadvance(1);
|
|
37614
|
-
i0.ɵɵproperty("
|
|
37679
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$w, ctx.icon));
|
|
37615
37680
|
}
|
|
37616
|
-
}, directives: [i1$1.
|
|
37681
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37617
37682
|
(function () {
|
|
37618
37683
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PreviewBadgeComponent, [{
|
|
37619
37684
|
type: i0.Component,
|
|
@@ -37625,100 +37690,55 @@
|
|
|
37625
37690
|
})();
|
|
37626
37691
|
|
|
37627
37692
|
var _c0$13 = ["type", "bugfixes-feature"];
|
|
37628
|
-
|
|
37629
|
-
function BugFixesFeatureBadgeComponent_p_0_Template(rf, ctx) {
|
|
37630
|
-
if (rf & 1) {
|
|
37631
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
37632
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37633
|
-
i0.ɵɵtext(2);
|
|
37634
|
-
i0.ɵɵelementEnd();
|
|
37635
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37636
|
-
i0.ɵɵelementEnd();
|
|
37637
|
-
}
|
|
37638
|
-
if (rf & 2) {
|
|
37639
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37640
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37641
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37642
|
-
i0.ɵɵadvance(2);
|
|
37643
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37644
|
-
i0.ɵɵadvance(1);
|
|
37645
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$x, ctx_r0.icon));
|
|
37646
|
-
}
|
|
37647
|
-
}
|
|
37648
|
-
function BugFixesFeatureBadgeComponent_p_1_Template(rf, ctx) {
|
|
37649
|
-
if (rf & 1) {
|
|
37650
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37651
|
-
i0.ɵɵelementStart(1, "span");
|
|
37652
|
-
i0.ɵɵtext(2);
|
|
37653
|
-
i0.ɵɵelementEnd();
|
|
37654
|
-
i0.ɵɵelementEnd();
|
|
37655
|
-
}
|
|
37656
|
-
if (rf & 2) {
|
|
37657
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37658
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37659
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37660
|
-
i0.ɵɵadvance(2);
|
|
37661
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37662
|
-
}
|
|
37663
|
-
}
|
|
37664
|
-
function BugFixesFeatureBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37693
|
+
function BugFixesFeatureBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37665
37694
|
if (rf & 1) {
|
|
37666
|
-
i0.ɵɵelementStart(0, "a",
|
|
37695
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37667
37696
|
i0.ɵɵtext(1);
|
|
37668
37697
|
i0.ɵɵelementEnd();
|
|
37669
37698
|
}
|
|
37670
37699
|
if (rf & 2) {
|
|
37671
|
-
var
|
|
37672
|
-
i0.ɵɵproperty("href",
|
|
37700
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37701
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37673
37702
|
i0.ɵɵadvance(1);
|
|
37674
|
-
i0.ɵɵtextInterpolate(
|
|
37703
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37675
37704
|
}
|
|
37676
37705
|
}
|
|
37677
|
-
function
|
|
37706
|
+
function BugFixesFeatureBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37678
37707
|
if (rf & 1) {
|
|
37679
|
-
i0.ɵɵelementStart(0, "a",
|
|
37708
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37680
37709
|
i0.ɵɵtext(1);
|
|
37681
37710
|
i0.ɵɵelementEnd();
|
|
37682
37711
|
}
|
|
37683
37712
|
if (rf & 2) {
|
|
37684
|
-
var
|
|
37685
|
-
i0.ɵɵproperty("href",
|
|
37713
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37714
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37686
37715
|
i0.ɵɵadvance(1);
|
|
37687
|
-
i0.ɵɵtextInterpolate(
|
|
37716
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37688
37717
|
}
|
|
37689
37718
|
}
|
|
37690
|
-
function
|
|
37719
|
+
function BugFixesFeatureBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
37691
37720
|
if (rf & 1) {
|
|
37692
|
-
i0.ɵɵelementStart(0, "
|
|
37721
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
37693
37722
|
i0.ɵɵtext(1);
|
|
37694
37723
|
i0.ɵɵelementEnd();
|
|
37695
|
-
i0.ɵɵelementStart(2, "
|
|
37696
|
-
i0.ɵɵ
|
|
37697
|
-
i0.ɵɵelementEnd();
|
|
37698
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
37699
|
-
i0.ɵɵtemplate(5, BugFixesFeatureBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37724
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37725
|
+
i0.ɵɵtemplate(3, BugFixesFeatureBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
37700
37726
|
i0.ɵɵelementEnd();
|
|
37701
|
-
i0.ɵɵelementStart(
|
|
37702
|
-
i0.ɵɵtemplate(
|
|
37727
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37728
|
+
i0.ɵɵtemplate(5, BugFixesFeatureBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
37703
37729
|
i0.ɵɵelementEnd();
|
|
37704
37730
|
}
|
|
37705
37731
|
if (rf & 2) {
|
|
37706
|
-
var
|
|
37707
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
37708
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
37709
|
-
i0.ɵɵadvance(1);
|
|
37710
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
37711
|
-
i0.ɵɵadvance(1);
|
|
37712
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
37713
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37732
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
37714
37733
|
i0.ɵɵadvance(1);
|
|
37715
|
-
i0.ɵɵtextInterpolate(
|
|
37734
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
37716
37735
|
i0.ɵɵadvance(2);
|
|
37717
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37736
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
37718
37737
|
i0.ɵɵadvance(2);
|
|
37719
|
-
i0.ɵɵproperty("ngIf",
|
|
37738
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
37720
37739
|
}
|
|
37721
37740
|
}
|
|
37741
|
+
var _c1$x = function (a1) { return ["sme-icon", a1]; };
|
|
37722
37742
|
/**
|
|
37723
37743
|
* Defines an 'improvement-feature' badge
|
|
37724
37744
|
*/
|
|
@@ -37758,18 +37778,29 @@
|
|
|
37758
37778
|
return BugFixesFeatureBadgeComponent;
|
|
37759
37779
|
}(CoreBadgeBaseComponent));
|
|
37760
37780
|
/** @nocollapse */ BugFixesFeatureBadgeComponent.ɵfac = function BugFixesFeatureBadgeComponent_Factory(t) { return new (t || BugFixesFeatureBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
37761
|
-
/** @nocollapse */ BugFixesFeatureBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BugFixesFeatureBadgeComponent, selectors: [["sme-badge", "type", "bugfixes-feature"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$13, decls:
|
|
37781
|
+
/** @nocollapse */ BugFixesFeatureBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BugFixesFeatureBadgeComponent, selectors: [["sme-badge", "type", "bugfixes-feature"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$13, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function BugFixesFeatureBadgeComponent_Template(rf, ctx) {
|
|
37762
37782
|
if (rf & 1) {
|
|
37763
|
-
i0.ɵɵ
|
|
37764
|
-
i0.ɵɵ
|
|
37765
|
-
i0.ɵɵ
|
|
37783
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37784
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37785
|
+
i0.ɵɵtext(2);
|
|
37786
|
+
i0.ɵɵelementEnd();
|
|
37787
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37788
|
+
i0.ɵɵtext(4);
|
|
37789
|
+
i0.ɵɵelementEnd();
|
|
37790
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37791
|
+
i0.ɵɵelementEnd();
|
|
37792
|
+
i0.ɵɵtemplate(6, BugFixesFeatureBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37766
37793
|
}
|
|
37767
37794
|
if (rf & 2) {
|
|
37768
|
-
i0.ɵɵproperty("
|
|
37795
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37796
|
+
i0.ɵɵadvance(2);
|
|
37797
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37798
|
+
i0.ɵɵadvance(2);
|
|
37799
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37769
37800
|
i0.ɵɵadvance(1);
|
|
37770
|
-
i0.ɵɵproperty("
|
|
37801
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$x, ctx.icon));
|
|
37771
37802
|
}
|
|
37772
|
-
}, directives: [i1$1.
|
|
37803
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37773
37804
|
(function () {
|
|
37774
37805
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BugFixesFeatureBadgeComponent, [{
|
|
37775
37806
|
type: i0.Component,
|
|
@@ -37781,100 +37812,55 @@
|
|
|
37781
37812
|
})();
|
|
37782
37813
|
|
|
37783
37814
|
var _c0$14 = ["type", "credsspenabled"];
|
|
37784
|
-
|
|
37785
|
-
function CredSSPEnabledBadgeComponent_p_0_Template(rf, ctx) {
|
|
37786
|
-
if (rf & 1) {
|
|
37787
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
37788
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37789
|
-
i0.ɵɵtext(2);
|
|
37790
|
-
i0.ɵɵelementEnd();
|
|
37791
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37792
|
-
i0.ɵɵelementEnd();
|
|
37793
|
-
}
|
|
37794
|
-
if (rf & 2) {
|
|
37795
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37796
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37797
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37798
|
-
i0.ɵɵadvance(2);
|
|
37799
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37800
|
-
i0.ɵɵadvance(1);
|
|
37801
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$y, ctx_r0.icon));
|
|
37802
|
-
}
|
|
37803
|
-
}
|
|
37804
|
-
function CredSSPEnabledBadgeComponent_p_1_Template(rf, ctx) {
|
|
37805
|
-
if (rf & 1) {
|
|
37806
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37807
|
-
i0.ɵɵelementStart(1, "span");
|
|
37808
|
-
i0.ɵɵtext(2);
|
|
37809
|
-
i0.ɵɵelementEnd();
|
|
37810
|
-
i0.ɵɵelementEnd();
|
|
37811
|
-
}
|
|
37812
|
-
if (rf & 2) {
|
|
37813
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37814
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37815
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37816
|
-
i0.ɵɵadvance(2);
|
|
37817
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37818
|
-
}
|
|
37819
|
-
}
|
|
37820
|
-
function CredSSPEnabledBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37815
|
+
function CredSSPEnabledBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37821
37816
|
if (rf & 1) {
|
|
37822
|
-
i0.ɵɵelementStart(0, "a",
|
|
37817
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37823
37818
|
i0.ɵɵtext(1);
|
|
37824
37819
|
i0.ɵɵelementEnd();
|
|
37825
37820
|
}
|
|
37826
37821
|
if (rf & 2) {
|
|
37827
|
-
var
|
|
37828
|
-
i0.ɵɵproperty("href",
|
|
37822
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37823
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37829
37824
|
i0.ɵɵadvance(1);
|
|
37830
|
-
i0.ɵɵtextInterpolate(
|
|
37825
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37831
37826
|
}
|
|
37832
37827
|
}
|
|
37833
|
-
function
|
|
37828
|
+
function CredSSPEnabledBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37834
37829
|
if (rf & 1) {
|
|
37835
|
-
i0.ɵɵelementStart(0, "a",
|
|
37830
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37836
37831
|
i0.ɵɵtext(1);
|
|
37837
37832
|
i0.ɵɵelementEnd();
|
|
37838
37833
|
}
|
|
37839
37834
|
if (rf & 2) {
|
|
37840
|
-
var
|
|
37841
|
-
i0.ɵɵproperty("href",
|
|
37835
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37836
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37842
37837
|
i0.ɵɵadvance(1);
|
|
37843
|
-
i0.ɵɵtextInterpolate(
|
|
37838
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37844
37839
|
}
|
|
37845
37840
|
}
|
|
37846
|
-
function
|
|
37841
|
+
function CredSSPEnabledBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
37847
37842
|
if (rf & 1) {
|
|
37848
|
-
i0.ɵɵelementStart(0, "
|
|
37843
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
37849
37844
|
i0.ɵɵtext(1);
|
|
37850
37845
|
i0.ɵɵelementEnd();
|
|
37851
|
-
i0.ɵɵelementStart(2, "
|
|
37852
|
-
i0.ɵɵ
|
|
37853
|
-
i0.ɵɵelementEnd();
|
|
37854
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
37855
|
-
i0.ɵɵtemplate(5, CredSSPEnabledBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
37846
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37847
|
+
i0.ɵɵtemplate(3, CredSSPEnabledBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
37856
37848
|
i0.ɵɵelementEnd();
|
|
37857
|
-
i0.ɵɵelementStart(
|
|
37858
|
-
i0.ɵɵtemplate(
|
|
37849
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37850
|
+
i0.ɵɵtemplate(5, CredSSPEnabledBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
37859
37851
|
i0.ɵɵelementEnd();
|
|
37860
37852
|
}
|
|
37861
37853
|
if (rf & 2) {
|
|
37862
|
-
var
|
|
37863
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
37864
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
37865
|
-
i0.ɵɵadvance(1);
|
|
37866
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
37867
|
-
i0.ɵɵadvance(1);
|
|
37868
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
37869
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37854
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
37870
37855
|
i0.ɵɵadvance(1);
|
|
37871
|
-
i0.ɵɵtextInterpolate(
|
|
37856
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
37872
37857
|
i0.ɵɵadvance(2);
|
|
37873
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37858
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
37874
37859
|
i0.ɵɵadvance(2);
|
|
37875
|
-
i0.ɵɵproperty("ngIf",
|
|
37860
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
37876
37861
|
}
|
|
37877
37862
|
}
|
|
37863
|
+
var _c1$y = function (a1) { return ["sme-icon", a1]; };
|
|
37878
37864
|
/**
|
|
37879
37865
|
* Defines a preview badge
|
|
37880
37866
|
*/
|
|
@@ -37911,18 +37897,29 @@
|
|
|
37911
37897
|
return CredSSPEnabledBadgeComponent;
|
|
37912
37898
|
}(CoreBadgeBaseComponent));
|
|
37913
37899
|
/** @nocollapse */ CredSSPEnabledBadgeComponent.ɵfac = function CredSSPEnabledBadgeComponent_Factory(t) { return new (t || CredSSPEnabledBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
37914
|
-
/** @nocollapse */ CredSSPEnabledBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CredSSPEnabledBadgeComponent, selectors: [["sme-badge", "type", "credsspenabled"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$14, decls:
|
|
37900
|
+
/** @nocollapse */ CredSSPEnabledBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CredSSPEnabledBadgeComponent, selectors: [["sme-badge", "type", "credsspenabled"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$14, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function CredSSPEnabledBadgeComponent_Template(rf, ctx) {
|
|
37915
37901
|
if (rf & 1) {
|
|
37916
|
-
i0.ɵɵ
|
|
37917
|
-
i0.ɵɵ
|
|
37918
|
-
i0.ɵɵ
|
|
37902
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
37903
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
37904
|
+
i0.ɵɵtext(2);
|
|
37905
|
+
i0.ɵɵelementEnd();
|
|
37906
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
37907
|
+
i0.ɵɵtext(4);
|
|
37908
|
+
i0.ɵɵelementEnd();
|
|
37909
|
+
i0.ɵɵelement(5, "span", 3);
|
|
37910
|
+
i0.ɵɵelementEnd();
|
|
37911
|
+
i0.ɵɵtemplate(6, CredSSPEnabledBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
37919
37912
|
}
|
|
37920
37913
|
if (rf & 2) {
|
|
37921
|
-
i0.ɵɵproperty("
|
|
37914
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
37915
|
+
i0.ɵɵadvance(2);
|
|
37916
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
37917
|
+
i0.ɵɵadvance(2);
|
|
37918
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
37922
37919
|
i0.ɵɵadvance(1);
|
|
37923
|
-
i0.ɵɵproperty("
|
|
37920
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$y, ctx.icon));
|
|
37924
37921
|
}
|
|
37925
|
-
}, directives: [i1$1.
|
|
37922
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
37926
37923
|
(function () {
|
|
37927
37924
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CredSSPEnabledBadgeComponent, [{
|
|
37928
37925
|
type: i0.Component,
|
|
@@ -37934,100 +37931,55 @@
|
|
|
37934
37931
|
})();
|
|
37935
37932
|
|
|
37936
37933
|
var _c0$15 = ["type", "critical"];
|
|
37937
|
-
|
|
37938
|
-
function CriticalBadgeComponent_p_0_Template(rf, ctx) {
|
|
37939
|
-
if (rf & 1) {
|
|
37940
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
37941
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
37942
|
-
i0.ɵɵtext(2);
|
|
37943
|
-
i0.ɵɵelementEnd();
|
|
37944
|
-
i0.ɵɵelement(3, "span", 6);
|
|
37945
|
-
i0.ɵɵelementEnd();
|
|
37946
|
-
}
|
|
37947
|
-
if (rf & 2) {
|
|
37948
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
37949
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
37950
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
37951
|
-
i0.ɵɵadvance(2);
|
|
37952
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
37953
|
-
i0.ɵɵadvance(1);
|
|
37954
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$z, ctx_r0.icon));
|
|
37955
|
-
}
|
|
37956
|
-
}
|
|
37957
|
-
function CriticalBadgeComponent_p_1_Template(rf, ctx) {
|
|
37958
|
-
if (rf & 1) {
|
|
37959
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
37960
|
-
i0.ɵɵelementStart(1, "span");
|
|
37961
|
-
i0.ɵɵtext(2);
|
|
37962
|
-
i0.ɵɵelementEnd();
|
|
37963
|
-
i0.ɵɵelementEnd();
|
|
37964
|
-
}
|
|
37965
|
-
if (rf & 2) {
|
|
37966
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
37967
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
37968
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
37969
|
-
i0.ɵɵadvance(2);
|
|
37970
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
37971
|
-
}
|
|
37972
|
-
}
|
|
37973
|
-
function CriticalBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
37934
|
+
function CriticalBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
37974
37935
|
if (rf & 1) {
|
|
37975
|
-
i0.ɵɵelementStart(0, "a",
|
|
37936
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37976
37937
|
i0.ɵɵtext(1);
|
|
37977
37938
|
i0.ɵɵelementEnd();
|
|
37978
37939
|
}
|
|
37979
37940
|
if (rf & 2) {
|
|
37980
|
-
var
|
|
37981
|
-
i0.ɵɵproperty("href",
|
|
37941
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
37942
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37982
37943
|
i0.ɵɵadvance(1);
|
|
37983
|
-
i0.ɵɵtextInterpolate(
|
|
37944
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
37984
37945
|
}
|
|
37985
37946
|
}
|
|
37986
|
-
function
|
|
37947
|
+
function CriticalBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
37987
37948
|
if (rf & 1) {
|
|
37988
|
-
i0.ɵɵelementStart(0, "a",
|
|
37949
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
37989
37950
|
i0.ɵɵtext(1);
|
|
37990
37951
|
i0.ɵɵelementEnd();
|
|
37991
37952
|
}
|
|
37992
37953
|
if (rf & 2) {
|
|
37993
|
-
var
|
|
37994
|
-
i0.ɵɵproperty("href",
|
|
37954
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
37955
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
37995
37956
|
i0.ɵɵadvance(1);
|
|
37996
|
-
i0.ɵɵtextInterpolate(
|
|
37957
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
37997
37958
|
}
|
|
37998
37959
|
}
|
|
37999
|
-
function
|
|
37960
|
+
function CriticalBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
38000
37961
|
if (rf & 1) {
|
|
38001
|
-
i0.ɵɵelementStart(0, "
|
|
37962
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
38002
37963
|
i0.ɵɵtext(1);
|
|
38003
37964
|
i0.ɵɵelementEnd();
|
|
38004
|
-
i0.ɵɵelementStart(2, "
|
|
38005
|
-
i0.ɵɵ
|
|
37965
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
37966
|
+
i0.ɵɵtemplate(3, CriticalBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
38006
37967
|
i0.ɵɵelementEnd();
|
|
38007
|
-
i0.ɵɵelementStart(4, "div",
|
|
38008
|
-
i0.ɵɵtemplate(5,
|
|
38009
|
-
i0.ɵɵelementEnd();
|
|
38010
|
-
i0.ɵɵelementStart(6, "div", 10);
|
|
38011
|
-
i0.ɵɵtemplate(7, CriticalBadgeComponent_ng_template_2_a_7_Template, 2, 2, "a", 11);
|
|
37968
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
37969
|
+
i0.ɵɵtemplate(5, CriticalBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
38012
37970
|
i0.ɵɵelementEnd();
|
|
38013
37971
|
}
|
|
38014
37972
|
if (rf & 2) {
|
|
38015
|
-
var
|
|
38016
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
38017
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
38018
|
-
i0.ɵɵadvance(1);
|
|
38019
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
38020
|
-
i0.ɵɵadvance(1);
|
|
38021
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
38022
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
37973
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
38023
37974
|
i0.ɵɵadvance(1);
|
|
38024
|
-
i0.ɵɵtextInterpolate(
|
|
37975
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
38025
37976
|
i0.ɵɵadvance(2);
|
|
38026
|
-
i0.ɵɵproperty("ngIf", !!
|
|
37977
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
38027
37978
|
i0.ɵɵadvance(2);
|
|
38028
|
-
i0.ɵɵproperty("ngIf",
|
|
37979
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
38029
37980
|
}
|
|
38030
37981
|
}
|
|
37982
|
+
var _c1$z = function (a1) { return ["sme-icon", a1]; };
|
|
38031
37983
|
/**
|
|
38032
37984
|
* Defines the critical badge.
|
|
38033
37985
|
*/
|
|
@@ -38063,18 +38015,29 @@
|
|
|
38063
38015
|
return CriticalBadgeComponent;
|
|
38064
38016
|
}(CoreBadgeBaseComponent));
|
|
38065
38017
|
/** @nocollapse */ CriticalBadgeComponent.ɵfac = function CriticalBadgeComponent_Factory(t) { return new (t || CriticalBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
38066
|
-
/** @nocollapse */ CriticalBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CriticalBadgeComponent, selectors: [["sme-badge", "type", "critical"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$15, decls:
|
|
38018
|
+
/** @nocollapse */ CriticalBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CriticalBadgeComponent, selectors: [["sme-badge", "type", "critical"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$15, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function CriticalBadgeComponent_Template(rf, ctx) {
|
|
38067
38019
|
if (rf & 1) {
|
|
38068
|
-
i0.ɵɵ
|
|
38069
|
-
i0.ɵɵ
|
|
38070
|
-
i0.ɵɵ
|
|
38020
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
38021
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
38022
|
+
i0.ɵɵtext(2);
|
|
38023
|
+
i0.ɵɵelementEnd();
|
|
38024
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
38025
|
+
i0.ɵɵtext(4);
|
|
38026
|
+
i0.ɵɵelementEnd();
|
|
38027
|
+
i0.ɵɵelement(5, "span", 3);
|
|
38028
|
+
i0.ɵɵelementEnd();
|
|
38029
|
+
i0.ɵɵtemplate(6, CriticalBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
38071
38030
|
}
|
|
38072
38031
|
if (rf & 2) {
|
|
38073
|
-
i0.ɵɵproperty("
|
|
38032
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
38033
|
+
i0.ɵɵadvance(2);
|
|
38034
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
38035
|
+
i0.ɵɵadvance(2);
|
|
38036
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
38074
38037
|
i0.ɵɵadvance(1);
|
|
38075
|
-
i0.ɵɵproperty("
|
|
38038
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$z, ctx.icon));
|
|
38076
38039
|
}
|
|
38077
|
-
}, directives: [i1$1.
|
|
38040
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
38078
38041
|
(function () {
|
|
38079
38042
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CriticalBadgeComponent, [{
|
|
38080
38043
|
type: i0.Component,
|
|
@@ -38086,100 +38049,55 @@
|
|
|
38086
38049
|
})();
|
|
38087
38050
|
|
|
38088
38051
|
var _c0$16 = ["type", "improvement-feature"];
|
|
38089
|
-
|
|
38090
|
-
function ImprovementFeatureBadgeComponent_p_0_Template(rf, ctx) {
|
|
38052
|
+
function ImprovementFeatureBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
38091
38053
|
if (rf & 1) {
|
|
38092
|
-
i0.ɵɵelementStart(0, "
|
|
38093
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
38094
|
-
i0.ɵɵtext(2);
|
|
38095
|
-
i0.ɵɵelementEnd();
|
|
38096
|
-
i0.ɵɵelement(3, "span", 6);
|
|
38097
|
-
i0.ɵɵelementEnd();
|
|
38098
|
-
}
|
|
38099
|
-
if (rf & 2) {
|
|
38100
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
38101
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
38102
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
38103
|
-
i0.ɵɵadvance(2);
|
|
38104
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
38105
|
-
i0.ɵɵadvance(1);
|
|
38106
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$A, ctx_r0.icon));
|
|
38107
|
-
}
|
|
38108
|
-
}
|
|
38109
|
-
function ImprovementFeatureBadgeComponent_p_1_Template(rf, ctx) {
|
|
38110
|
-
if (rf & 1) {
|
|
38111
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
38112
|
-
i0.ɵɵelementStart(1, "span");
|
|
38113
|
-
i0.ɵɵtext(2);
|
|
38114
|
-
i0.ɵɵelementEnd();
|
|
38115
|
-
i0.ɵɵelementEnd();
|
|
38116
|
-
}
|
|
38117
|
-
if (rf & 2) {
|
|
38118
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
38119
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
38120
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
38121
|
-
i0.ɵɵadvance(2);
|
|
38122
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
38123
|
-
}
|
|
38124
|
-
}
|
|
38125
|
-
function ImprovementFeatureBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
38126
|
-
if (rf & 1) {
|
|
38127
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
38054
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
38128
38055
|
i0.ɵɵtext(1);
|
|
38129
38056
|
i0.ɵɵelementEnd();
|
|
38130
38057
|
}
|
|
38131
38058
|
if (rf & 2) {
|
|
38132
|
-
var
|
|
38133
|
-
i0.ɵɵproperty("href",
|
|
38059
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
38060
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
38134
38061
|
i0.ɵɵadvance(1);
|
|
38135
|
-
i0.ɵɵtextInterpolate(
|
|
38062
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
38136
38063
|
}
|
|
38137
38064
|
}
|
|
38138
|
-
function
|
|
38065
|
+
function ImprovementFeatureBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
38139
38066
|
if (rf & 1) {
|
|
38140
|
-
i0.ɵɵelementStart(0, "a",
|
|
38067
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
38141
38068
|
i0.ɵɵtext(1);
|
|
38142
38069
|
i0.ɵɵelementEnd();
|
|
38143
38070
|
}
|
|
38144
38071
|
if (rf & 2) {
|
|
38145
|
-
var
|
|
38146
|
-
i0.ɵɵproperty("href",
|
|
38072
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
38073
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
38147
38074
|
i0.ɵɵadvance(1);
|
|
38148
|
-
i0.ɵɵtextInterpolate(
|
|
38075
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
38149
38076
|
}
|
|
38150
38077
|
}
|
|
38151
|
-
function
|
|
38078
|
+
function ImprovementFeatureBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
38152
38079
|
if (rf & 1) {
|
|
38153
|
-
i0.ɵɵelementStart(0, "
|
|
38080
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
38154
38081
|
i0.ɵɵtext(1);
|
|
38155
38082
|
i0.ɵɵelementEnd();
|
|
38156
|
-
i0.ɵɵelementStart(2, "
|
|
38157
|
-
i0.ɵɵ
|
|
38158
|
-
i0.ɵɵelementEnd();
|
|
38159
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
38160
|
-
i0.ɵɵtemplate(5, ImprovementFeatureBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
38083
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
38084
|
+
i0.ɵɵtemplate(3, ImprovementFeatureBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
38161
38085
|
i0.ɵɵelementEnd();
|
|
38162
|
-
i0.ɵɵelementStart(
|
|
38163
|
-
i0.ɵɵtemplate(
|
|
38086
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
38087
|
+
i0.ɵɵtemplate(5, ImprovementFeatureBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
38164
38088
|
i0.ɵɵelementEnd();
|
|
38165
38089
|
}
|
|
38166
38090
|
if (rf & 2) {
|
|
38167
|
-
var
|
|
38168
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
38169
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
38170
|
-
i0.ɵɵadvance(1);
|
|
38171
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
38172
|
-
i0.ɵɵadvance(1);
|
|
38173
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
38174
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
38091
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
38175
38092
|
i0.ɵɵadvance(1);
|
|
38176
|
-
i0.ɵɵtextInterpolate(
|
|
38093
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
38177
38094
|
i0.ɵɵadvance(2);
|
|
38178
|
-
i0.ɵɵproperty("ngIf", !!
|
|
38095
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
38179
38096
|
i0.ɵɵadvance(2);
|
|
38180
|
-
i0.ɵɵproperty("ngIf",
|
|
38097
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
38181
38098
|
}
|
|
38182
38099
|
}
|
|
38100
|
+
var _c1$A = function (a1) { return ["sme-icon", a1]; };
|
|
38183
38101
|
/**
|
|
38184
38102
|
* Defines an 'improvement-feature' badge
|
|
38185
38103
|
*/
|
|
@@ -38219,18 +38137,29 @@
|
|
|
38219
38137
|
return ImprovementFeatureBadgeComponent;
|
|
38220
38138
|
}(CoreBadgeBaseComponent));
|
|
38221
38139
|
/** @nocollapse */ ImprovementFeatureBadgeComponent.ɵfac = function ImprovementFeatureBadgeComponent_Factory(t) { return new (t || ImprovementFeatureBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
38222
|
-
/** @nocollapse */ ImprovementFeatureBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ImprovementFeatureBadgeComponent, selectors: [["sme-badge", "type", "improvement-feature"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$16, decls:
|
|
38140
|
+
/** @nocollapse */ ImprovementFeatureBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ImprovementFeatureBadgeComponent, selectors: [["sme-badge", "type", "improvement-feature"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$16, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function ImprovementFeatureBadgeComponent_Template(rf, ctx) {
|
|
38223
38141
|
if (rf & 1) {
|
|
38224
|
-
i0.ɵɵ
|
|
38225
|
-
i0.ɵɵ
|
|
38226
|
-
i0.ɵɵ
|
|
38142
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
38143
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
38144
|
+
i0.ɵɵtext(2);
|
|
38145
|
+
i0.ɵɵelementEnd();
|
|
38146
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
38147
|
+
i0.ɵɵtext(4);
|
|
38148
|
+
i0.ɵɵelementEnd();
|
|
38149
|
+
i0.ɵɵelement(5, "span", 3);
|
|
38150
|
+
i0.ɵɵelementEnd();
|
|
38151
|
+
i0.ɵɵtemplate(6, ImprovementFeatureBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
38227
38152
|
}
|
|
38228
38153
|
if (rf & 2) {
|
|
38229
|
-
i0.ɵɵproperty("
|
|
38154
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
38155
|
+
i0.ɵɵadvance(2);
|
|
38156
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
38157
|
+
i0.ɵɵadvance(2);
|
|
38158
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
38230
38159
|
i0.ɵɵadvance(1);
|
|
38231
|
-
i0.ɵɵproperty("
|
|
38160
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$A, ctx.icon));
|
|
38232
38161
|
}
|
|
38233
|
-
}, directives: [i1$1.
|
|
38162
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
38234
38163
|
(function () {
|
|
38235
38164
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImprovementFeatureBadgeComponent, [{
|
|
38236
38165
|
type: i0.Component,
|
|
@@ -38242,100 +38171,55 @@
|
|
|
38242
38171
|
})();
|
|
38243
38172
|
|
|
38244
38173
|
var _c0$17 = ["type", "new-feature"];
|
|
38245
|
-
|
|
38246
|
-
function NewFeatureBadgeComponent_p_0_Template(rf, ctx) {
|
|
38247
|
-
if (rf & 1) {
|
|
38248
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
38249
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
38250
|
-
i0.ɵɵtext(2);
|
|
38251
|
-
i0.ɵɵelementEnd();
|
|
38252
|
-
i0.ɵɵelement(3, "span", 6);
|
|
38253
|
-
i0.ɵɵelementEnd();
|
|
38254
|
-
}
|
|
38255
|
-
if (rf & 2) {
|
|
38256
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
38257
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
38258
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
38259
|
-
i0.ɵɵadvance(2);
|
|
38260
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
38261
|
-
i0.ɵɵadvance(1);
|
|
38262
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$B, ctx_r0.icon));
|
|
38263
|
-
}
|
|
38264
|
-
}
|
|
38265
|
-
function NewFeatureBadgeComponent_p_1_Template(rf, ctx) {
|
|
38174
|
+
function NewFeatureBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
38266
38175
|
if (rf & 1) {
|
|
38267
|
-
i0.ɵɵelementStart(0, "
|
|
38268
|
-
i0.ɵɵelementStart(1, "span");
|
|
38269
|
-
i0.ɵɵtext(2);
|
|
38270
|
-
i0.ɵɵelementEnd();
|
|
38271
|
-
i0.ɵɵelementEnd();
|
|
38272
|
-
}
|
|
38273
|
-
if (rf & 2) {
|
|
38274
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
38275
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
38276
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
38277
|
-
i0.ɵɵadvance(2);
|
|
38278
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
38279
|
-
}
|
|
38280
|
-
}
|
|
38281
|
-
function NewFeatureBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
38282
|
-
if (rf & 1) {
|
|
38283
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
38176
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
38284
38177
|
i0.ɵɵtext(1);
|
|
38285
38178
|
i0.ɵɵelementEnd();
|
|
38286
38179
|
}
|
|
38287
38180
|
if (rf & 2) {
|
|
38288
|
-
var
|
|
38289
|
-
i0.ɵɵproperty("href",
|
|
38181
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
38182
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
38290
38183
|
i0.ɵɵadvance(1);
|
|
38291
|
-
i0.ɵɵtextInterpolate(
|
|
38184
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
38292
38185
|
}
|
|
38293
38186
|
}
|
|
38294
|
-
function
|
|
38187
|
+
function NewFeatureBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
38295
38188
|
if (rf & 1) {
|
|
38296
|
-
i0.ɵɵelementStart(0, "a",
|
|
38189
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
38297
38190
|
i0.ɵɵtext(1);
|
|
38298
38191
|
i0.ɵɵelementEnd();
|
|
38299
38192
|
}
|
|
38300
38193
|
if (rf & 2) {
|
|
38301
|
-
var
|
|
38302
|
-
i0.ɵɵproperty("href",
|
|
38194
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
38195
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
38303
38196
|
i0.ɵɵadvance(1);
|
|
38304
|
-
i0.ɵɵtextInterpolate(
|
|
38197
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
38305
38198
|
}
|
|
38306
38199
|
}
|
|
38307
|
-
function
|
|
38200
|
+
function NewFeatureBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
38308
38201
|
if (rf & 1) {
|
|
38309
|
-
i0.ɵɵelementStart(0, "
|
|
38202
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
38310
38203
|
i0.ɵɵtext(1);
|
|
38311
38204
|
i0.ɵɵelementEnd();
|
|
38312
|
-
i0.ɵɵelementStart(2, "
|
|
38313
|
-
i0.ɵɵ
|
|
38314
|
-
i0.ɵɵelementEnd();
|
|
38315
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
38316
|
-
i0.ɵɵtemplate(5, NewFeatureBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
38205
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
38206
|
+
i0.ɵɵtemplate(3, NewFeatureBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
38317
38207
|
i0.ɵɵelementEnd();
|
|
38318
|
-
i0.ɵɵelementStart(
|
|
38319
|
-
i0.ɵɵtemplate(
|
|
38208
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
38209
|
+
i0.ɵɵtemplate(5, NewFeatureBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
38320
38210
|
i0.ɵɵelementEnd();
|
|
38321
38211
|
}
|
|
38322
38212
|
if (rf & 2) {
|
|
38323
|
-
var
|
|
38324
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
38325
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
38326
|
-
i0.ɵɵadvance(1);
|
|
38327
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
38328
|
-
i0.ɵɵadvance(1);
|
|
38329
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
38330
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
38213
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
38331
38214
|
i0.ɵɵadvance(1);
|
|
38332
|
-
i0.ɵɵtextInterpolate(
|
|
38215
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
38333
38216
|
i0.ɵɵadvance(2);
|
|
38334
|
-
i0.ɵɵproperty("ngIf", !!
|
|
38217
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
38335
38218
|
i0.ɵɵadvance(2);
|
|
38336
|
-
i0.ɵɵproperty("ngIf",
|
|
38219
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
38337
38220
|
}
|
|
38338
38221
|
}
|
|
38222
|
+
var _c1$B = function (a1) { return ["sme-icon", a1]; };
|
|
38339
38223
|
/**
|
|
38340
38224
|
* Defines a 'new-feature' badge
|
|
38341
38225
|
*/
|
|
@@ -38375,18 +38259,29 @@
|
|
|
38375
38259
|
return NewFeatureBadgeComponent;
|
|
38376
38260
|
}(CoreBadgeBaseComponent));
|
|
38377
38261
|
/** @nocollapse */ NewFeatureBadgeComponent.ɵfac = function NewFeatureBadgeComponent_Factory(t) { return new (t || NewFeatureBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
38378
|
-
/** @nocollapse */ NewFeatureBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NewFeatureBadgeComponent, selectors: [["sme-badge", "type", "new-feature"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$17, decls:
|
|
38262
|
+
/** @nocollapse */ NewFeatureBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NewFeatureBadgeComponent, selectors: [["sme-badge", "type", "new-feature"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$17, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function NewFeatureBadgeComponent_Template(rf, ctx) {
|
|
38379
38263
|
if (rf & 1) {
|
|
38380
|
-
i0.ɵɵ
|
|
38381
|
-
i0.ɵɵ
|
|
38382
|
-
i0.ɵɵ
|
|
38264
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
38265
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
38266
|
+
i0.ɵɵtext(2);
|
|
38267
|
+
i0.ɵɵelementEnd();
|
|
38268
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
38269
|
+
i0.ɵɵtext(4);
|
|
38270
|
+
i0.ɵɵelementEnd();
|
|
38271
|
+
i0.ɵɵelement(5, "span", 3);
|
|
38272
|
+
i0.ɵɵelementEnd();
|
|
38273
|
+
i0.ɵɵtemplate(6, NewFeatureBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
38383
38274
|
}
|
|
38384
38275
|
if (rf & 2) {
|
|
38385
|
-
i0.ɵɵproperty("
|
|
38276
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
38277
|
+
i0.ɵɵadvance(2);
|
|
38278
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
38279
|
+
i0.ɵɵadvance(2);
|
|
38280
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
38386
38281
|
i0.ɵɵadvance(1);
|
|
38387
|
-
i0.ɵɵproperty("
|
|
38282
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$B, ctx.icon));
|
|
38388
38283
|
}
|
|
38389
|
-
}, directives: [i1$1.
|
|
38284
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
38390
38285
|
(function () {
|
|
38391
38286
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NewFeatureBadgeComponent, [{
|
|
38392
38287
|
type: i0.Component,
|
|
@@ -38398,100 +38293,55 @@
|
|
|
38398
38293
|
})();
|
|
38399
38294
|
|
|
38400
38295
|
var _c0$18 = ["type", "warning"];
|
|
38401
|
-
|
|
38402
|
-
function WarningBadgeComponent_p_0_Template(rf, ctx) {
|
|
38403
|
-
if (rf & 1) {
|
|
38404
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
38405
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
38406
|
-
i0.ɵɵtext(2);
|
|
38407
|
-
i0.ɵɵelementEnd();
|
|
38408
|
-
i0.ɵɵelement(3, "span", 6);
|
|
38409
|
-
i0.ɵɵelementEnd();
|
|
38410
|
-
}
|
|
38411
|
-
if (rf & 2) {
|
|
38412
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
38413
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
38414
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
38415
|
-
i0.ɵɵadvance(2);
|
|
38416
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
38417
|
-
i0.ɵɵadvance(1);
|
|
38418
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$C, ctx_r0.icon));
|
|
38419
|
-
}
|
|
38420
|
-
}
|
|
38421
|
-
function WarningBadgeComponent_p_1_Template(rf, ctx) {
|
|
38296
|
+
function WarningBadgeComponent_ng_template_6_a_3_Template(rf, ctx) {
|
|
38422
38297
|
if (rf & 1) {
|
|
38423
|
-
i0.ɵɵelementStart(0, "
|
|
38424
|
-
i0.ɵɵelementStart(1, "span");
|
|
38425
|
-
i0.ɵɵtext(2);
|
|
38426
|
-
i0.ɵɵelementEnd();
|
|
38427
|
-
i0.ɵɵelementEnd();
|
|
38428
|
-
}
|
|
38429
|
-
if (rf & 2) {
|
|
38430
|
-
var ctx_r1 = i0.ɵɵnextContext();
|
|
38431
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
38432
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
38433
|
-
i0.ɵɵadvance(2);
|
|
38434
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
38435
|
-
}
|
|
38436
|
-
}
|
|
38437
|
-
function WarningBadgeComponent_ng_template_2_a_5_Template(rf, ctx) {
|
|
38438
|
-
if (rf & 1) {
|
|
38439
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
38298
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
38440
38299
|
i0.ɵɵtext(1);
|
|
38441
38300
|
i0.ɵɵelementEnd();
|
|
38442
38301
|
}
|
|
38443
38302
|
if (rf & 2) {
|
|
38444
|
-
var
|
|
38445
|
-
i0.ɵɵproperty("href",
|
|
38303
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
38304
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
38446
38305
|
i0.ɵɵadvance(1);
|
|
38447
|
-
i0.ɵɵtextInterpolate(
|
|
38306
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
38448
38307
|
}
|
|
38449
38308
|
}
|
|
38450
|
-
function
|
|
38309
|
+
function WarningBadgeComponent_ng_template_6_a_5_Template(rf, ctx) {
|
|
38451
38310
|
if (rf & 1) {
|
|
38452
|
-
i0.ɵɵelementStart(0, "a",
|
|
38311
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
38453
38312
|
i0.ɵɵtext(1);
|
|
38454
38313
|
i0.ɵɵelementEnd();
|
|
38455
38314
|
}
|
|
38456
38315
|
if (rf & 2) {
|
|
38457
|
-
var
|
|
38458
|
-
i0.ɵɵproperty("href",
|
|
38316
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
38317
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
38459
38318
|
i0.ɵɵadvance(1);
|
|
38460
|
-
i0.ɵɵtextInterpolate(
|
|
38319
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
38461
38320
|
}
|
|
38462
38321
|
}
|
|
38463
|
-
function
|
|
38322
|
+
function WarningBadgeComponent_ng_template_6_Template(rf, ctx) {
|
|
38464
38323
|
if (rf & 1) {
|
|
38465
|
-
i0.ɵɵelementStart(0, "
|
|
38324
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
38466
38325
|
i0.ɵɵtext(1);
|
|
38467
38326
|
i0.ɵɵelementEnd();
|
|
38468
|
-
i0.ɵɵelementStart(2, "
|
|
38469
|
-
i0.ɵɵ
|
|
38470
|
-
i0.ɵɵelementEnd();
|
|
38471
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
38472
|
-
i0.ɵɵtemplate(5, WarningBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
38327
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
38328
|
+
i0.ɵɵtemplate(3, WarningBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
38473
38329
|
i0.ɵɵelementEnd();
|
|
38474
|
-
i0.ɵɵelementStart(
|
|
38475
|
-
i0.ɵɵtemplate(
|
|
38330
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
38331
|
+
i0.ɵɵtemplate(5, WarningBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
38476
38332
|
i0.ɵɵelementEnd();
|
|
38477
38333
|
}
|
|
38478
38334
|
if (rf & 2) {
|
|
38479
|
-
var
|
|
38480
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
38481
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
38482
|
-
i0.ɵɵadvance(1);
|
|
38483
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
38484
|
-
i0.ɵɵadvance(1);
|
|
38485
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
38486
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
38335
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
38487
38336
|
i0.ɵɵadvance(1);
|
|
38488
|
-
i0.ɵɵtextInterpolate(
|
|
38337
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
38489
38338
|
i0.ɵɵadvance(2);
|
|
38490
|
-
i0.ɵɵproperty("ngIf", !!
|
|
38339
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
38491
38340
|
i0.ɵɵadvance(2);
|
|
38492
|
-
i0.ɵɵproperty("ngIf",
|
|
38341
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
38493
38342
|
}
|
|
38494
38343
|
}
|
|
38344
|
+
var _c1$C = function (a1) { return ["sme-icon", a1]; };
|
|
38495
38345
|
/**
|
|
38496
38346
|
* Defines the rbac badge.
|
|
38497
38347
|
*/
|
|
@@ -38527,18 +38377,29 @@
|
|
|
38527
38377
|
return WarningBadgeComponent;
|
|
38528
38378
|
}(CoreBadgeBaseComponent));
|
|
38529
38379
|
/** @nocollapse */ WarningBadgeComponent.ɵfac = function WarningBadgeComponent_Factory(t) { return new (t || WarningBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
38530
|
-
/** @nocollapse */ WarningBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WarningBadgeComponent, selectors: [["sme-badge", "type", "warning"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$18, decls:
|
|
38380
|
+
/** @nocollapse */ WarningBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WarningBadgeComponent, selectors: [["sme-badge", "type", "warning"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$18, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function WarningBadgeComponent_Template(rf, ctx) {
|
|
38531
38381
|
if (rf & 1) {
|
|
38532
|
-
i0.ɵɵ
|
|
38533
|
-
i0.ɵɵ
|
|
38534
|
-
i0.ɵɵ
|
|
38382
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
38383
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
38384
|
+
i0.ɵɵtext(2);
|
|
38385
|
+
i0.ɵɵelementEnd();
|
|
38386
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
38387
|
+
i0.ɵɵtext(4);
|
|
38388
|
+
i0.ɵɵelementEnd();
|
|
38389
|
+
i0.ɵɵelement(5, "span", 3);
|
|
38390
|
+
i0.ɵɵelementEnd();
|
|
38391
|
+
i0.ɵɵtemplate(6, WarningBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
38535
38392
|
}
|
|
38536
38393
|
if (rf & 2) {
|
|
38537
|
-
i0.ɵɵproperty("
|
|
38394
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
38395
|
+
i0.ɵɵadvance(2);
|
|
38396
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
38397
|
+
i0.ɵɵadvance(2);
|
|
38398
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
38538
38399
|
i0.ɵɵadvance(1);
|
|
38539
|
-
i0.ɵɵproperty("
|
|
38400
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$C, ctx.icon));
|
|
38540
38401
|
}
|
|
38541
|
-
}, directives: [i1$1.
|
|
38402
|
+
}, directives: [TooltipDirective, i1$1.NgClass, i1$1.NgIf], encapsulation: 2 });
|
|
38542
38403
|
(function () {
|
|
38543
38404
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WarningBadgeComponent, [{
|
|
38544
38405
|
type: i0.Component,
|
|
@@ -39351,7 +39212,7 @@
|
|
|
39351
39212
|
return BreadcrumbHeaderComponent;
|
|
39352
39213
|
}(CoreBaseComponent));
|
|
39353
39214
|
/** @nocollapse */ BreadcrumbHeaderComponent.ɵfac = function BreadcrumbHeaderComponent_Factory(t) { return ɵBreadcrumbHeaderComponent_BaseFactory(t || BreadcrumbHeaderComponent); };
|
|
39354
|
-
/** @nocollapse */ BreadcrumbHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BreadcrumbHeaderComponent, selectors: [["sme-breadcrumb-header"]], inputs: { breadcrumbItems: "breadcrumbItems", breadcrumbSeparator: "breadcrumbSeparator", noLeftPadding: "noLeftPadding", useToolTitleStyle: "useToolTitleStyle" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [["class", "tool-header-box", 3, "paddingLeft", 4, "ngIf"], ["content", ""], [1, "tool-header-box"], ["class", "sme-position-flex-none", 4, "ngIf"], ["class", "tool-header sme-position-flex-none", 4, "ngIf"], [1, "sme-position-flex-none"], [4, "ngTemplateOutlet"], [1, "tool-header", "sme-position-flex-none"], ["class", "sme-behavior-hover-trigger", 4, "ngFor", "ngForOf"], [1, "sme-behavior-hover-trigger"], ["class", "sme-behavior-hover-target-underline", "tabindex", "0", "role", "link", 3, "sme-font-family-normal", "click", 4, "ngIf"], [3, "sme-font-family-normal", 4, "ngIf"], ["class", "sme-font-family-normal", 3, "ngSwitch", 4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-behavior-hover-target-underline", 3, "click"], [1, "sme-font-family-normal", 3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "sme-icon sme-icon-chevronRight sme-icon-size-sm", 4, "ngSwitchCase"], [1, "sme-icon", "sme-icon-chevronRight", "sme-icon-size-sm"]], template: function BreadcrumbHeaderComponent_Template(rf, ctx) {
|
|
39215
|
+
/** @nocollapse */ BreadcrumbHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BreadcrumbHeaderComponent, selectors: [["sme-breadcrumb-header"]], inputs: { breadcrumbItems: "breadcrumbItems", breadcrumbSeparator: "breadcrumbSeparator", noLeftPadding: "noLeftPadding", useToolTitleStyle: "useToolTitleStyle" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [["class", "tool-header-box", 3, "paddingLeft", 4, "ngIf"], ["content", ""], [1, "tool-header-box"], ["class", "sme-position-flex-none", 4, "ngIf"], ["class", "tool-header sme-position-flex-none", 4, "ngIf"], [1, "sme-position-flex-none"], [4, "ngTemplateOutlet"], [1, "tool-header", "sme-position-flex-none"], ["class", "sme-behavior-hover-trigger", 4, "ngFor", "ngForOf"], [1, "sme-behavior-hover-trigger"], ["class", "sme-behavior-hover-target-underline sme-focus-zone", "tabindex", "0", "role", "link", 3, "sme-font-family-normal", "click", 4, "ngIf"], [3, "sme-font-family-normal", 4, "ngIf"], ["class", "sme-font-family-normal", 3, "ngSwitch", 4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-behavior-hover-target-underline", "sme-focus-zone", 3, "click"], [1, "sme-font-family-normal", 3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "sme-icon sme-icon-chevronRight sme-icon-size-sm", 4, "ngSwitchCase"], [1, "sme-icon", "sme-icon-chevronRight", "sme-icon-size-sm"]], template: function BreadcrumbHeaderComponent_Template(rf, ctx) {
|
|
39355
39216
|
if (rf & 1) {
|
|
39356
39217
|
i0.ɵɵtemplate(0, BreadcrumbHeaderComponent_div_0_Template, 3, 4, "div", 0);
|
|
39357
39218
|
i0.ɵɵtemplate(1, BreadcrumbHeaderComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -39448,26 +39309,26 @@
|
|
|
39448
39309
|
}
|
|
39449
39310
|
function BreadcrumbComponent_span_0_span_4_span_1_Template(rf, ctx) {
|
|
39450
39311
|
if (rf & 1) {
|
|
39451
|
-
i0.ɵɵelementStart(0, "span");
|
|
39312
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
39452
39313
|
i0.ɵɵtext(1, "\u00A0\\\u00A0");
|
|
39453
39314
|
i0.ɵɵelementEnd();
|
|
39454
39315
|
}
|
|
39455
39316
|
}
|
|
39456
39317
|
function BreadcrumbComponent_span_0_span_4_span_2_Template(rf, ctx) {
|
|
39457
39318
|
if (rf & 1) {
|
|
39458
|
-
i0.ɵɵelementStart(0, "span");
|
|
39319
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
39459
39320
|
i0.ɵɵtext(1, "\u00A0/\u00A0");
|
|
39460
39321
|
i0.ɵɵelementEnd();
|
|
39461
39322
|
}
|
|
39462
39323
|
}
|
|
39463
39324
|
function BreadcrumbComponent_span_0_span_4_span_3_Template(rf, ctx) {
|
|
39464
39325
|
if (rf & 1) {
|
|
39465
|
-
i0.ɵɵelement(0, "span",
|
|
39326
|
+
i0.ɵɵelement(0, "span", 11);
|
|
39466
39327
|
}
|
|
39467
39328
|
}
|
|
39468
39329
|
function BreadcrumbComponent_span_0_span_4_span_4_Template(rf, ctx) {
|
|
39469
39330
|
if (rf & 1) {
|
|
39470
|
-
i0.ɵɵelementStart(0, "span");
|
|
39331
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
39471
39332
|
i0.ɵɵtext(1, "\u00A0,\u00A0");
|
|
39472
39333
|
i0.ɵɵelementEnd();
|
|
39473
39334
|
}
|
|
@@ -39577,7 +39438,7 @@
|
|
|
39577
39438
|
comma: exports.BreadcrumbSeparator.Comma
|
|
39578
39439
|
};
|
|
39579
39440
|
/** @nocollapse */ BreadcrumbComponent.ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
39580
|
-
/** @nocollapse */ BreadcrumbComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["sme-breadcrumb"]], inputs: { breadcrumbs: "breadcrumbs", separator: "separator" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"], [1, "sme-behavior-hover-trigger"], ["class", "sme-behavior-hover-target-underline", "tabindex", "0", "role", "link", 3, "click", 4, "ngIf"], ["tabindex", "0", 4, "ngIf"], ["class", "sme-breadcrumb-separator", 3, "ngSwitch", 4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-behavior-hover-target-underline", 3, "click"], ["tabindex", "0"], [1, "sme-breadcrumb-separator", 3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "sme-icon sme-icon-chevronRight", 4, "ngSwitchCase"], [1, "sme-icon", "sme-icon-chevronRight"]], template: function BreadcrumbComponent_Template(rf, ctx) {
|
|
39441
|
+
/** @nocollapse */ BreadcrumbComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["sme-breadcrumb"]], inputs: { breadcrumbs: "breadcrumbs", separator: "separator" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"], [1, "sme-behavior-hover-trigger"], ["class", "sme-behavior-hover-target-underline sme-focus-zone", "tabindex", "0", "role", "link", 3, "click", 4, "ngIf"], ["tabindex", "0", 4, "ngIf"], ["class", "sme-breadcrumb-separator", 3, "ngSwitch", 4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-behavior-hover-target-underline", "sme-focus-zone", 3, "click"], ["tabindex", "0"], [1, "sme-breadcrumb-separator", 3, "ngSwitch"], ["aria-hidden", "true", 4, "ngSwitchCase"], ["class", "sme-icon sme-icon-chevronRight", "aria-hidden", "true", 4, "ngSwitchCase"], ["aria-hidden", "true"], ["aria-hidden", "true", 1, "sme-icon", "sme-icon-chevronRight"]], template: function BreadcrumbComponent_Template(rf, ctx) {
|
|
39581
39442
|
if (rf & 1) {
|
|
39582
39443
|
i0.ɵɵtemplate(0, BreadcrumbComponent_span_0_Template, 5, 5, "span", 0);
|
|
39583
39444
|
}
|
|
@@ -40358,7 +40219,7 @@
|
|
|
40358
40219
|
var _t = void 0;
|
|
40359
40220
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.expander = _t.first);
|
|
40360
40221
|
}
|
|
40361
|
-
}, inputs: { initialHeightPercentage: "initialHeightPercentage", header: "header", chevronInverted: "chevronInverted", title: "title", isExpanded: "isExpanded", ignoreChangeInExpandedSize: "ignoreChangeInExpandedSize" }, outputs: { isExpandedChange: "isExpandedChange" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c2$g, decls: 11, vars: 12, consts: [["role", "button", "tabindex", "0", 1, "sme-button", "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-squish-v-md", "sme-padding-horizontal-lg", "sme-position-stretch-h", "sme-position-left-inline", "sme-arrange-stack-h", "sme-focus-zone", 3, "title", "click"], ["expander", ""], [1, "sme-position-flex-auto", "sme-arrange-ellipsis"], ["class", "sme-icon sme-position-flex-none", 3, "ngClass", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-position-flex-auto", "sme-layout-relative"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-padding-bottom-sm", "sme-arrange-overflow-auto"], [1, "sme-icon", "sme-position-flex-none", 3, "ngClass"]], template: function DetailsComponent_Template(rf, ctx) {
|
|
40222
|
+
}, inputs: { initialHeightPercentage: "initialHeightPercentage", header: "header", chevronInverted: "chevronInverted", title: "title", isExpanded: "isExpanded", ignoreChangeInExpandedSize: "ignoreChangeInExpandedSize" }, outputs: { isExpandedChange: "isExpandedChange" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c2$g, decls: 11, vars: 12, consts: [["role", "button", "tabindex", "0", 1, "sme-button", "sme-button-trigger", "sme-button-auto-width", "sme-position-flex-none", "sme-padding-squish-v-md", "sme-padding-horizontal-lg", "sme-position-stretch-h", "sme-position-left-inline", "sme-arrange-stack-h", "sme-focus-zone", 3, "title", "click"], ["expander", ""], [1, "sme-position-flex-auto", "sme-arrange-ellipsis"], ["class", "sme-icon sme-position-flex-none", "aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "sme-screen-reader", 3, "id"], [1, "sme-position-flex-auto", "sme-layout-relative"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-padding-bottom-sm", "sme-arrange-overflow-auto"], ["aria-hidden", "true", 1, "sme-icon", "sme-position-flex-none", 3, "ngClass"]], template: function DetailsComponent_Template(rf, ctx) {
|
|
40362
40223
|
if (rf & 1) {
|
|
40363
40224
|
i0.ɵɵprojectionDef();
|
|
40364
40225
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
@@ -40601,49 +40462,35 @@
|
|
|
40601
40462
|
if (rf & 1) {
|
|
40602
40463
|
var _r5_1 = i0.ɵɵgetCurrentView();
|
|
40603
40464
|
i0.ɵɵelementStart(0, "div", 10);
|
|
40604
|
-
i0.ɵɵelementStart(1, "
|
|
40605
|
-
i0.ɵɵ
|
|
40606
|
-
i0.ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_9_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r5_1); var ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.checked = $event; });
|
|
40607
|
-
i0.ɵɵelementEnd();
|
|
40608
|
-
i0.ɵɵelementStart(3, "span");
|
|
40609
|
-
i0.ɵɵtext(4);
|
|
40610
|
-
i0.ɵɵelementEnd();
|
|
40465
|
+
i0.ɵɵelementStart(1, "sme-form-field", 11);
|
|
40466
|
+
i0.ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_9_Template_sme_form_field_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r5_1); var ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.checked = $event; });
|
|
40611
40467
|
i0.ɵɵelementEnd();
|
|
40612
40468
|
i0.ɵɵelementEnd();
|
|
40613
40469
|
}
|
|
40614
40470
|
if (rf & 2) {
|
|
40615
40471
|
var ctx_r1 = i0.ɵɵnextContext();
|
|
40616
|
-
i0.ɵɵadvance(
|
|
40617
|
-
i0.ɵɵproperty("ngModel", ctx_r1.checked);
|
|
40618
|
-
i0.ɵɵadvance(2);
|
|
40619
|
-
i0.ɵɵtextInterpolate(ctx_r1.checkboxText);
|
|
40472
|
+
i0.ɵɵadvance(1);
|
|
40473
|
+
i0.ɵɵproperty("ngModel", ctx_r1.checked)("label", ctx_r1.checkboxText);
|
|
40620
40474
|
}
|
|
40621
40475
|
}
|
|
40622
40476
|
function ConfirmationDialogComponent_div_10_Template(rf, ctx) {
|
|
40623
40477
|
if (rf & 1) {
|
|
40624
40478
|
var _r7_1 = i0.ɵɵgetCurrentView();
|
|
40625
|
-
i0.ɵɵelementStart(0, "div",
|
|
40626
|
-
i0.ɵɵelementStart(1, "
|
|
40627
|
-
i0.ɵɵ
|
|
40628
|
-
i0.ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_10_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r7_1); var ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.doubleChecked = $event; });
|
|
40629
|
-
i0.ɵɵelementEnd();
|
|
40630
|
-
i0.ɵɵelementStart(3, "span");
|
|
40631
|
-
i0.ɵɵtext(4);
|
|
40632
|
-
i0.ɵɵelementEnd();
|
|
40479
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
40480
|
+
i0.ɵɵelementStart(1, "sme-form-field", 13);
|
|
40481
|
+
i0.ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_10_Template_sme_form_field_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r7_1); var ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.doubleChecked = $event; });
|
|
40633
40482
|
i0.ɵɵelementEnd();
|
|
40634
40483
|
i0.ɵɵelementEnd();
|
|
40635
40484
|
}
|
|
40636
40485
|
if (rf & 2) {
|
|
40637
40486
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
40638
|
-
i0.ɵɵadvance(
|
|
40639
|
-
i0.ɵɵproperty("ngModel", ctx_r2.doubleChecked);
|
|
40640
|
-
i0.ɵɵadvance(2);
|
|
40641
|
-
i0.ɵɵtextInterpolate(ctx_r2.doubleCheckText);
|
|
40487
|
+
i0.ɵɵadvance(1);
|
|
40488
|
+
i0.ɵɵproperty("ngModel", ctx_r2.doubleChecked)("label", ctx_r2.doubleCheckText);
|
|
40642
40489
|
}
|
|
40643
40490
|
}
|
|
40644
40491
|
function ConfirmationDialogComponent_sme_alert_11_Template(rf, ctx) {
|
|
40645
40492
|
if (rf & 1) {
|
|
40646
|
-
i0.ɵɵelement(0, "sme-alert",
|
|
40493
|
+
i0.ɵɵelement(0, "sme-alert", 14);
|
|
40647
40494
|
}
|
|
40648
40495
|
if (rf & 2) {
|
|
40649
40496
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
@@ -40660,7 +40507,9 @@
|
|
|
40660
40507
|
* Initializes a new instance of the ConfirmationDialogComponent class.
|
|
40661
40508
|
*/
|
|
40662
40509
|
function ConfirmationDialogComponent(dialogService) {
|
|
40663
|
-
|
|
40510
|
+
var _this = _super.call(this, dialogService) || this;
|
|
40511
|
+
_this.keepOpen = true;
|
|
40512
|
+
return _this;
|
|
40664
40513
|
}
|
|
40665
40514
|
/**
|
|
40666
40515
|
* handler for when a close is requested
|
|
@@ -40730,7 +40579,7 @@
|
|
|
40730
40579
|
return ConfirmationDialogComponent;
|
|
40731
40580
|
}(BaseDialogComponent));
|
|
40732
40581
|
/** @nocollapse */ ConfirmationDialogComponent.ɵfac = function ConfirmationDialogComponent_Factory(t) { return new (t || ConfirmationDialogComponent)(i0.ɵɵdirectiveInject(DialogService)); };
|
|
40733
|
-
/** @nocollapse */ ConfirmationDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ConfirmationDialogComponent, selectors: [["sme-confirmation-dialog"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 13, consts: [["dialogMode", "centered", 3, "clickBackdrop"], ["dialog", ""], ["id", "sme-dialog-title"], ["id", "sme-confirmation-dialog-form"], ["id", "sme-dialog-desc"], ["class", "sme-
|
|
40582
|
+
/** @nocollapse */ ConfirmationDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ConfirmationDialogComponent, selectors: [["sme-confirmation-dialog"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 13, consts: [["dialogMode", "centered", 3, "clickBackdrop"], ["dialog", ""], ["id", "sme-dialog-title"], ["id", "sme-confirmation-dialog-form"], ["id", "sme-dialog-desc"], ["class", "sme-margin-top-sm", 4, "ngIf"], ["class", "sme-margin-top-xs", 4, "ngIf"], ["class", "sme-margin-vertical-sm", 3, "alert", 4, "ngIf"], ["type", "submit", "form", "sme-confirmation-dialog-form", "data-uta-id", "dialog-confirm-button", 1, "sme-button-primary", "sme-focus-zone", 3, "disabled", "click"], ["type", "button", "data-uta-id", "dialog-cancel-button", 1, "sme-focus-zone", 3, "click"], [1, "sme-margin-top-sm"], ["type", "checkbox", "name", "checked", 3, "ngModel", "label", "ngModelChange"], [1, "sme-margin-top-xs"], ["type", "checkbox", "name", "doubleChecked", 3, "ngModel", "label", "ngModelChange"], [1, "sme-margin-vertical-sm", 3, "alert"]], template: function ConfirmationDialogComponent_Template(rf, ctx) {
|
|
40734
40583
|
if (rf & 1) {
|
|
40735
40584
|
i0.ɵɵelementStart(0, "sme-dialog", 0, 1);
|
|
40736
40585
|
i0.ɵɵelementStart(2, "sme-dialog-header");
|
|
@@ -40743,8 +40592,8 @@
|
|
|
40743
40592
|
i0.ɵɵelementStart(7, "p", 4);
|
|
40744
40593
|
i0.ɵɵtext(8);
|
|
40745
40594
|
i0.ɵɵelementEnd();
|
|
40746
|
-
i0.ɵɵtemplate(9, ConfirmationDialogComponent_div_9_Template,
|
|
40747
|
-
i0.ɵɵtemplate(10, ConfirmationDialogComponent_div_10_Template,
|
|
40595
|
+
i0.ɵɵtemplate(9, ConfirmationDialogComponent_div_9_Template, 2, 2, "div", 5);
|
|
40596
|
+
i0.ɵɵtemplate(10, ConfirmationDialogComponent_div_10_Template, 2, 2, "div", 6);
|
|
40748
40597
|
i0.ɵɵtemplate(11, ConfirmationDialogComponent_sme_alert_11_Template, 1, 1, "sme-alert", 7);
|
|
40749
40598
|
i0.ɵɵelementEnd();
|
|
40750
40599
|
i0.ɵɵelementEnd();
|
|
@@ -40780,7 +40629,7 @@
|
|
|
40780
40629
|
i0.ɵɵadvance(2);
|
|
40781
40630
|
i0.ɵɵtextInterpolate(ctx.cancelButtonText);
|
|
40782
40631
|
}
|
|
40783
|
-
}, directives: [DialogComponent, DialogHeaderComponent, DialogContentComponent, i4.ɵangular_packages_forms_forms_ba, i4.NgControlStatusGroup, i4.NgForm, i1$1.NgIf, DialogFooterComponent,
|
|
40632
|
+
}, directives: [DialogComponent, DialogHeaderComponent, DialogContentComponent, i4.ɵangular_packages_forms_forms_ba, i4.NgControlStatusGroup, i4.NgForm, i1$1.NgIf, DialogFooterComponent, FormFieldAccessorDirective, FormFieldValidatorDirective, exports.CheckboxFormFieldComponent, i4.NgControlStatus, i4.NgModel, ValidationAlertComponent], encapsulation: 2 });
|
|
40784
40633
|
(function () {
|
|
40785
40634
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationDialogComponent, [{
|
|
40786
40635
|
type: i0.Component,
|
|
@@ -43771,6 +43620,22 @@
|
|
|
43771
43620
|
i0.ɵɵproperty("ngIf", ctx_r3.legendTotalData);
|
|
43772
43621
|
}
|
|
43773
43622
|
}
|
|
43623
|
+
/**
|
|
43624
|
+
*
|
|
43625
|
+
* @smeDoc {@label Stacked Horizontal Bar Chart @id sme-stacked-horizontal-bar-chart-dev-guide}
|
|
43626
|
+
*
|
|
43627
|
+
* @overview
|
|
43628
|
+
* @file {@filepath ./examples/overview.md}
|
|
43629
|
+
*
|
|
43630
|
+
* @example {@label Stacked horizontal bar chart @id horizontal-bar-chart}
|
|
43631
|
+
* @file {@filename component.html @filepath ./examples/horizontal-bar-chart.component.html}
|
|
43632
|
+
* @file {@filename component.ts @filepath ./examples/horizontal-bar-chart.component.ts}
|
|
43633
|
+
*
|
|
43634
|
+
* @example {@label Stacked horizontal bar chart with custom color @id horizontal-bar-chart-custom-color}
|
|
43635
|
+
* @file {@filename component.html @filepath ./examples/horizontal-bar-chart-custom-color.component.html}
|
|
43636
|
+
* @file {@filename component.ts @filepath ./examples/horizontal-bar-chart-custom-color.component.ts}
|
|
43637
|
+
*
|
|
43638
|
+
*/
|
|
43774
43639
|
var StackedHorizontalBarChartComponent = /** @class */ (function (_super) {
|
|
43775
43640
|
__extends(StackedHorizontalBarChartComponent, _super);
|
|
43776
43641
|
function StackedHorizontalBarChartComponent(injector) {
|
|
@@ -45464,7 +45329,7 @@
|
|
|
45464
45329
|
i0.ɵɵproperty("title", item_r14.tooltip)("tooltipZone", _r16);
|
|
45465
45330
|
}
|
|
45466
45331
|
}
|
|
45467
|
-
function
|
|
45332
|
+
function PropertyGridComponent_sme_layout_item_5_ng_container_9_Template(rf, ctx) {
|
|
45468
45333
|
if (rf & 1) {
|
|
45469
45334
|
i0.ɵɵelementContainer(0);
|
|
45470
45335
|
}
|
|
@@ -45479,17 +45344,11 @@
|
|
|
45479
45344
|
i0.ɵɵtext(5);
|
|
45480
45345
|
i0.ɵɵelementEnd();
|
|
45481
45346
|
i0.ɵɵtemplate(6, PropertyGridComponent_sme_layout_item_5_span_6_Template, 1, 2, "span", 17);
|
|
45347
|
+
i0.ɵɵelementStart(7, "span", 18);
|
|
45348
|
+
i0.ɵɵtext(8);
|
|
45482
45349
|
i0.ɵɵelementEnd();
|
|
45483
|
-
i0.ɵɵtemplate(7, PropertyGridComponent_sme_layout_item_5_ng_container_7_Template, 1, 0, "ng-container", 18);
|
|
45484
|
-
i0.ɵɵelementStart(8, "span", 19);
|
|
45485
|
-
i0.ɵɵtext(9);
|
|
45486
|
-
i0.ɵɵelementEnd();
|
|
45487
|
-
i0.ɵɵelementStart(10, "span", 19);
|
|
45488
|
-
i0.ɵɵtext(11);
|
|
45489
|
-
i0.ɵɵelementEnd();
|
|
45490
|
-
i0.ɵɵelementStart(12, "span", 19);
|
|
45491
|
-
i0.ɵɵtext(13);
|
|
45492
45350
|
i0.ɵɵelementEnd();
|
|
45351
|
+
i0.ɵɵtemplate(9, PropertyGridComponent_sme_layout_item_5_ng_container_9_Template, 1, 0, "ng-container", 19);
|
|
45493
45352
|
i0.ɵɵelementEnd();
|
|
45494
45353
|
i0.ɵɵelementEnd();
|
|
45495
45354
|
}
|
|
@@ -45502,20 +45361,10 @@
|
|
|
45502
45361
|
i0.ɵɵtextInterpolate(item_r14.label);
|
|
45503
45362
|
i0.ɵɵadvance(1);
|
|
45504
45363
|
i0.ɵɵproperty("ngIf", item_r14.tooltip);
|
|
45505
|
-
i0.ɵɵadvance(
|
|
45506
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", i0.ɵɵpureFunction2(12, _c4$6, item_r14, i_r15));
|
|
45507
|
-
i0.ɵɵadvance(1);
|
|
45508
|
-
i0.ɵɵproperty("id", ctx_r3.idBag.detailsSpan + i_r15);
|
|
45509
|
-
i0.ɵɵadvance(1);
|
|
45364
|
+
i0.ɵɵadvance(2);
|
|
45510
45365
|
i0.ɵɵtextInterpolate(item_r14.tooltip);
|
|
45511
45366
|
i0.ɵɵadvance(1);
|
|
45512
|
-
i0.ɵɵproperty("
|
|
45513
|
-
i0.ɵɵadvance(1);
|
|
45514
|
-
i0.ɵɵtextInterpolate(item_r14.label);
|
|
45515
|
-
i0.ɵɵadvance(1);
|
|
45516
|
-
i0.ɵɵproperty("id", ctx_r3.idBag.valueSpan + i_r15);
|
|
45517
|
-
i0.ɵɵadvance(1);
|
|
45518
|
-
i0.ɵɵtextInterpolate(item_r14.value);
|
|
45367
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", i0.ɵɵpureFunction2(7, _c4$6, item_r14, i_r15));
|
|
45519
45368
|
}
|
|
45520
45369
|
}
|
|
45521
45370
|
function PropertyGridComponent_ng_template_6_ng_container_1_Template(rf, ctx) {
|
|
@@ -45539,7 +45388,7 @@
|
|
|
45539
45388
|
function PropertyGridComponent_ng_template_6_Template(rf, ctx) {
|
|
45540
45389
|
if (rf & 1) {
|
|
45541
45390
|
i0.ɵɵelementStart(0, "p", 21);
|
|
45542
|
-
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container",
|
|
45391
|
+
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45543
45392
|
i0.ɵɵtemplate(2, PropertyGridComponent_ng_template_6_span_2_Template, 2, 1, "span", 22);
|
|
45544
45393
|
i0.ɵɵelementEnd();
|
|
45545
45394
|
}
|
|
@@ -45563,7 +45412,7 @@
|
|
|
45563
45412
|
function PropertyGridComponent_ng_template_8_Template(rf, ctx) {
|
|
45564
45413
|
if (rf & 1) {
|
|
45565
45414
|
i0.ɵɵelementStart(0, "p");
|
|
45566
|
-
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container",
|
|
45415
|
+
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45567
45416
|
i0.ɵɵelementStart(2, "a", 23);
|
|
45568
45417
|
i0.ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { var item_r25 = ctx.$implicit; return item_r25.action(item_r25); });
|
|
45569
45418
|
i0.ɵɵtext(3);
|
|
@@ -45591,7 +45440,7 @@
|
|
|
45591
45440
|
function PropertyGridComponent_ng_template_10_Template(rf, ctx) {
|
|
45592
45441
|
if (rf & 1) {
|
|
45593
45442
|
i0.ɵɵelementStart(0, "p");
|
|
45594
|
-
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container",
|
|
45443
|
+
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45595
45444
|
i0.ɵɵelementStart(2, "a", 24);
|
|
45596
45445
|
i0.ɵɵtext(3);
|
|
45597
45446
|
i0.ɵɵelementEnd();
|
|
@@ -45619,7 +45468,7 @@
|
|
|
45619
45468
|
function PropertyGridComponent_ng_template_12_Template(rf, ctx) {
|
|
45620
45469
|
if (rf & 1) {
|
|
45621
45470
|
i0.ɵɵelementStart(0, "p");
|
|
45622
|
-
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container",
|
|
45471
|
+
i0.ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
45623
45472
|
i0.ɵɵelementStart(2, "a", 25);
|
|
45624
45473
|
i0.ɵɵelementStart(3, "span");
|
|
45625
45474
|
i0.ɵɵtext(4);
|
|
@@ -45827,13 +45676,13 @@
|
|
|
45827
45676
|
}
|
|
45828
45677
|
}, inputs: { orientation: "orientation" }, outputs: { layoutChanged: "layoutChanged" }, features: [i0.ɵɵProvidersFeature([
|
|
45829
45678
|
{ provide: SME_LAYOUT_PROVIDER, useExisting: i0.forwardRef((function () { return PropertyGridComponent; })) }
|
|
45830
|
-
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 16, vars: 6, consts: [[1, "sme-position-inset-none", "sme-position-stretch-h", 3, "padLastItem"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "medium", 3, "until", "columns", 4, "ngIf"], ["name", "wide", 3, "columns", 4, "ngIf"], [3, "columnSpan", "maxWidth", 4, "ngFor", "ngForOf"], ["readonlyTemplate", ""], ["actionLinkTemplate", ""], ["internalLinkTemplate", ""], ["externalLinkTemplate", ""], ["iconTemplate", ""], ["name", "medium", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "maxWidth"], ["smeTooltipZone", "", 1, "sme-property-grid-item"], ["zone", "smeTooltipZone"], [
|
|
45679
|
+
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 16, vars: 6, consts: [[1, "sme-position-inset-none", "sme-position-stretch-h", 3, "padLastItem"], ["layout", ""], ["name", "narrow", 3, "until", "columns"], ["name", "medium", 3, "until", "columns", 4, "ngIf"], ["name", "wide", 3, "columns", 4, "ngIf"], [3, "columnSpan", "maxWidth", 4, "ngFor", "ngForOf"], ["readonlyTemplate", ""], ["actionLinkTemplate", ""], ["internalLinkTemplate", ""], ["externalLinkTemplate", ""], ["iconTemplate", ""], ["name", "medium", 3, "until", "columns"], ["name", "wide", 3, "columns"], [3, "columnSpan", "maxWidth"], ["smeTooltipZone", "", 1, "sme-property-grid-item"], ["zone", "smeTooltipZone"], [1, "sme-arrange-stack-h"], ["class", "sme-position-flex-none sme-icon sme-icon-info sme-info-bubble sme-margin-left-xs", "aria-hidden", "true", 3, "title", "tooltipZone", 4, "ngIf"], [1, "sme-screen-reader"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["aria-hidden", "true", 1, "sme-position-flex-none", "sme-icon", "sme-icon-info", "sme-info-bubble", "sme-margin-left-xs", 3, "title", "tooltipZone"], [1, "read-only-template"], [4, "ngIf"], ["tabindex", "0", "role", "link", 1, "sme-link", "sme-focus-zone", "action-link-template", 3, "click"], ["role", "link", 1, "sme-link", "sme-focus-zone", 3, "routerLink"], ["role", "link", "target", "_blank", 1, "sme-link", "sme-focus-zone", 3, "href"], [1, "sme-icon", "sme-icon-openInNewWindow", "sme-margin-left-xs"], [3, "class", 4, "ngIf"], ["class", "sme-layout-inline-block sme-margin-right-xs ", "size", "16px", 3, "status", 4, "ngIf"], ["size", "16px", 1, "sme-layout-inline-block", "sme-margin-right-xs", 3, "status"]], template: function PropertyGridComponent_Template(rf, ctx) {
|
|
45831
45680
|
if (rf & 1) {
|
|
45832
45681
|
i0.ɵɵelementStart(0, "sme-layout", 0, 1);
|
|
45833
45682
|
i0.ɵɵelement(2, "sme-layout-definition", 2);
|
|
45834
45683
|
i0.ɵɵtemplate(3, PropertyGridComponent_sme_layout_definition_3_Template, 1, 2, "sme-layout-definition", 3);
|
|
45835
45684
|
i0.ɵɵtemplate(4, PropertyGridComponent_sme_layout_definition_4_Template, 1, 1, "sme-layout-definition", 4);
|
|
45836
|
-
i0.ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template,
|
|
45685
|
+
i0.ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template, 10, 10, "sme-layout-item", 5);
|
|
45837
45686
|
i0.ɵɵelementEnd();
|
|
45838
45687
|
i0.ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template, 3, 8, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
45839
45688
|
i0.ɵɵtemplate(8, PropertyGridComponent_ng_template_8_Template, 4, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
@@ -48257,14 +48106,14 @@
|
|
|
48257
48106
|
});
|
|
48258
48107
|
Object.defineProperty(SchemaFormContentComponent.prototype, "isFormValid", {
|
|
48259
48108
|
get: function () {
|
|
48260
|
-
return this.fieldHostComponent.isValid();
|
|
48109
|
+
return !!this.fieldHostComponent && this.fieldHostComponent.isValid();
|
|
48261
48110
|
},
|
|
48262
48111
|
enumerable: false,
|
|
48263
48112
|
configurable: true
|
|
48264
48113
|
});
|
|
48265
48114
|
Object.defineProperty(SchemaFormContentComponent.prototype, "isFormDirty", {
|
|
48266
48115
|
get: function () {
|
|
48267
|
-
return this.fieldHostComponent.isDirty();
|
|
48116
|
+
return !!this.fieldHostComponent && this.fieldHostComponent.isDirty();
|
|
48268
48117
|
},
|
|
48269
48118
|
enumerable: false,
|
|
48270
48119
|
configurable: true
|
|
@@ -48279,7 +48128,10 @@
|
|
|
48279
48128
|
this.context.formController = this.formController;
|
|
48280
48129
|
};
|
|
48281
48130
|
SchemaFormContentComponent.prototype.getFormContainerLoaderComponent = function () {
|
|
48282
|
-
|
|
48131
|
+
if (this.fieldHostComponent) {
|
|
48132
|
+
return this.fieldHostComponent.getFormFieldLoaderComponent();
|
|
48133
|
+
}
|
|
48134
|
+
return null;
|
|
48283
48135
|
};
|
|
48284
48136
|
return SchemaFormContentComponent;
|
|
48285
48137
|
}());
|
|
@@ -50468,6 +50320,33 @@
|
|
|
50468
50320
|
}
|
|
50469
50321
|
var _c0$1u = [[["sme-settings-navigation"]], [["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
50470
50322
|
var _c1$O = ["sme-settings-navigation", "sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
50323
|
+
/**
|
|
50324
|
+
*
|
|
50325
|
+
* @smeDoc {@label Settings @id sme-settings}
|
|
50326
|
+
*
|
|
50327
|
+
* @overview
|
|
50328
|
+
* @file {@filepath ./examples/settings-overview.md}
|
|
50329
|
+
*
|
|
50330
|
+
* @example {@label Basic Multi-Form Usage @id basic-multi}
|
|
50331
|
+
* @file {@filename component.html @filepath ./examples/multi-form-example/component.html}
|
|
50332
|
+
* @file {@filename component.ts @filepath ./examples/multi-form-example/component.ts}
|
|
50333
|
+
* @file {@filename panel1.ts @filepath ./examples/multi-form-example/panel1.ts}
|
|
50334
|
+
* @file {@filename panel1.html @filepath ./examples/multi-form-example/panel1.html}
|
|
50335
|
+
* @file {@filename panel2.ts @filepath ./examples/multi-form-example/panel2.ts}
|
|
50336
|
+
* @file {@filename panel2.html @filepath ./examples/multi-form-example/panel2.html}
|
|
50337
|
+
* @file {@filename component-routing.module @filepath ./examples/multi-form-example/routing.module.ts}
|
|
50338
|
+
*
|
|
50339
|
+
* @example {@label Basic Single-Form Usage @id basic-single}
|
|
50340
|
+
* @file {@filename component.html @filepath ./examples/single-form-example/component.html}
|
|
50341
|
+
* @file {@filename component.ts @filepath ./examples/single-form-example/component.ts}
|
|
50342
|
+
* @file {@filename panel.ts @filepath ./examples/single-form-example/panel.ts}
|
|
50343
|
+
* @file {@filename panel.html @filepath ./examples/single-form-example/panel.html}
|
|
50344
|
+
* @file {@filename component-routing.module @filepath ./examples/single-form-example/routing.module.ts}
|
|
50345
|
+
*
|
|
50346
|
+
*/
|
|
50347
|
+
/**
|
|
50348
|
+
* Defines base settings component, implements core functionality + settings form.
|
|
50349
|
+
*/
|
|
50471
50350
|
var SettingsComponent = /** @class */ (function (_super) {
|
|
50472
50351
|
__extends(SettingsComponent, _super);
|
|
50473
50352
|
function SettingsComponent(injector) {
|
|
@@ -50687,7 +50566,9 @@
|
|
|
50687
50566
|
}
|
|
50688
50567
|
function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) {
|
|
50689
50568
|
if (rf & 1) {
|
|
50569
|
+
var _r12_1 = i0.ɵɵgetCurrentView();
|
|
50690
50570
|
i0.ɵɵelementStart(0, "a", 13);
|
|
50571
|
+
i0.ɵɵlistener("smeRouterLinkActivated", function CommonSettingsComponent_li_6_a_2_Template_a_smeRouterLinkActivated_0_listener() { i0.ɵɵrestoreView(_r12_1); var setting_r9 = ctx.$implicit; var ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.selectedSetting = setting_r9; });
|
|
50691
50572
|
i0.ɵɵelement(1, "div", 14);
|
|
50692
50573
|
i0.ɵɵelementStart(2, "div", 15);
|
|
50693
50574
|
i0.ɵɵelementStart(3, "span", 16);
|
|
@@ -50703,7 +50584,7 @@
|
|
|
50703
50584
|
var ctx_r7 = i0.ɵɵnextContext();
|
|
50704
50585
|
i0.ɵɵattributeInterpolate5("aria-labelledby", "", ctx_r7.idBag.option, "-", j_r5, "-", i_r10, " ", ctx_r7.idBag.group, "-", j_r5, "");
|
|
50705
50586
|
i0.ɵɵproperty("routerLink", setting_r9.routeParams.commands)("preserveFragment", setting_r9.routeParams.extras && setting_r9.routeParams.extras.preserveFragment)("skipLocationChange", setting_r9.routeParams.extras && setting_r9.routeParams.extras.skipLocationChange)("replaceUrl", setting_r9.routeParams.extras && setting_r9.routeParams.extras.replaceUrl)("queryParams", setting_r9.routeParams.extras && setting_r9.routeParams.extras.queryParams)("title", setting_r9.label);
|
|
50706
|
-
i0.ɵɵattribute("aria-selected", ctx_r7.
|
|
50587
|
+
i0.ɵɵattribute("aria-selected", ctx_r7.selectedSetting === setting_r9);
|
|
50707
50588
|
i0.ɵɵadvance(1);
|
|
50708
50589
|
i0.ɵɵproperty("ngClass", ctx_r7.getSmeIconClass(setting_r9));
|
|
50709
50590
|
i0.ɵɵadvance(2);
|
|
@@ -50731,9 +50612,9 @@
|
|
|
50731
50612
|
}
|
|
50732
50613
|
function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) {
|
|
50733
50614
|
if (rf & 1) {
|
|
50734
|
-
var
|
|
50615
|
+
var _r17_1 = i0.ɵɵgetCurrentView();
|
|
50735
50616
|
i0.ɵɵelementStart(0, "div", 18);
|
|
50736
|
-
i0.ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
50617
|
+
i0.ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r17_1); var layer_r15 = ctx.$implicit; var ctx_r16 = i0.ɵɵnextContext(2); return ctx_r16.onOverlayClick(layer_r15); });
|
|
50737
50618
|
i0.ɵɵelementEnd();
|
|
50738
50619
|
}
|
|
50739
50620
|
}
|
|
@@ -50756,10 +50637,10 @@
|
|
|
50756
50637
|
i0.ɵɵelementEnd();
|
|
50757
50638
|
}
|
|
50758
50639
|
if (rf & 2) {
|
|
50759
|
-
var
|
|
50760
|
-
i0.ɵɵattribute("aria-label",
|
|
50640
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
50641
|
+
i0.ɵɵattribute("aria-label", ctx_r18.selectedSetting.label);
|
|
50761
50642
|
i0.ɵɵadvance(1);
|
|
50762
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
50643
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r18.selectedSetting.label, "");
|
|
50763
50644
|
}
|
|
50764
50645
|
}
|
|
50765
50646
|
function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) {
|
|
@@ -50771,16 +50652,18 @@
|
|
|
50771
50652
|
if (rf & 2) {
|
|
50772
50653
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
50773
50654
|
i0.ɵɵadvance(1);
|
|
50774
|
-
i0.ɵɵproperty("ngIf", !!ctx_r3.
|
|
50655
|
+
i0.ɵɵproperty("ngIf", !!ctx_r3.selectedSetting);
|
|
50775
50656
|
}
|
|
50776
50657
|
}
|
|
50777
50658
|
var _c0$1v = ["*"];
|
|
50659
|
+
/**
|
|
50660
|
+
* Container around settings component, handles common settings behavior.
|
|
50661
|
+
*/
|
|
50778
50662
|
var CommonSettingsComponent = /** @class */ (function (_super) {
|
|
50779
50663
|
__extends(CommonSettingsComponent, _super);
|
|
50780
|
-
function CommonSettingsComponent(injector, router,
|
|
50664
|
+
function CommonSettingsComponent(injector, router, settingsForms, iterableDiffers, appContext, rpcShellService) {
|
|
50781
50665
|
var _this = _super.call(this, injector) || this;
|
|
50782
50666
|
_this.router = router;
|
|
50783
|
-
_this.activatedRoute = activatedRoute;
|
|
50784
50667
|
_this.settingsForms = settingsForms;
|
|
50785
50668
|
_this.iterableDiffers = iterableDiffers;
|
|
50786
50669
|
_this.appContext = appContext;
|
|
@@ -50881,7 +50764,7 @@
|
|
|
50881
50764
|
}
|
|
50882
50765
|
};
|
|
50883
50766
|
CommonSettingsComponent.prototype.recalculateActivePanel = function () {
|
|
50884
|
-
var setting = this.
|
|
50767
|
+
var setting = this.selectedSetting;
|
|
50885
50768
|
if (MsftSme.isNullOrUndefined(setting)) {
|
|
50886
50769
|
return;
|
|
50887
50770
|
}
|
|
@@ -50911,7 +50794,7 @@
|
|
|
50911
50794
|
var _this = this;
|
|
50912
50795
|
// For the current active setting, we need to reset the form to its
|
|
50913
50796
|
// original pristine form when discarding changes
|
|
50914
|
-
var activeSetting = this.
|
|
50797
|
+
var activeSetting = this.selectedSetting;
|
|
50915
50798
|
var settingWithForm = activeSetting;
|
|
50916
50799
|
if (settingWithForm.form) {
|
|
50917
50800
|
settingWithForm.form.reset(this.latestPristineFormValue);
|
|
@@ -50929,7 +50812,7 @@
|
|
|
50929
50812
|
};
|
|
50930
50813
|
CommonSettingsComponent.prototype.acceptAllChildFormsValue = function () {
|
|
50931
50814
|
var _this = this;
|
|
50932
|
-
var activeSetting = this.
|
|
50815
|
+
var activeSetting = this.selectedSetting;
|
|
50933
50816
|
this.settings.forEach(function (setting) {
|
|
50934
50817
|
var settingWithForm = setting;
|
|
50935
50818
|
if (settingWithForm.form) {
|
|
@@ -50971,33 +50854,6 @@
|
|
|
50971
50854
|
option: ''
|
|
50972
50855
|
};
|
|
50973
50856
|
};
|
|
50974
|
-
CommonSettingsComponent.prototype.getActiveSettingItem = function () {
|
|
50975
|
-
var e_1, _a;
|
|
50976
|
-
if (this.settings && this.settings.length > 0) {
|
|
50977
|
-
try {
|
|
50978
|
-
for (var _b = __values(this.settings), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
50979
|
-
var setting = _c.value;
|
|
50980
|
-
var extras = setting.routeParams.extras || {};
|
|
50981
|
-
Object.assign(extras, {
|
|
50982
|
-
relativeTo: this.activatedRoute
|
|
50983
|
-
});
|
|
50984
|
-
var urlTree = this.router.createUrlTree(setting.routeParams.commands, extras);
|
|
50985
|
-
if (this.router.isActive(urlTree, false)) {
|
|
50986
|
-
this.selectedSettingTitle = setting.label;
|
|
50987
|
-
return setting;
|
|
50988
|
-
}
|
|
50989
|
-
}
|
|
50990
|
-
}
|
|
50991
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
50992
|
-
finally {
|
|
50993
|
-
try {
|
|
50994
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
50995
|
-
}
|
|
50996
|
-
finally { if (e_1) throw e_1.error; }
|
|
50997
|
-
}
|
|
50998
|
-
}
|
|
50999
|
-
return undefined;
|
|
51000
|
-
};
|
|
51001
50857
|
CommonSettingsComponent.prototype.onOverlayClick = function (layer) {
|
|
51002
50858
|
var _this = this;
|
|
51003
50859
|
var layerRpc = this.appContext.rpc.rpcManager.rpcChannel.getRpc(layer.sourceName, layer.sourceSubName, rpcBase.RpcType.Outbound);
|
|
@@ -51012,7 +50868,7 @@
|
|
|
51012
50868
|
if (_this.layers.length > 0) {
|
|
51013
50869
|
_this.layers.pop();
|
|
51014
50870
|
}
|
|
51015
|
-
return rxjs.
|
|
50871
|
+
return rxjs.EMPTY;
|
|
51016
50872
|
});
|
|
51017
50873
|
};
|
|
51018
50874
|
/**
|
|
@@ -51046,7 +50902,7 @@
|
|
|
51046
50902
|
};
|
|
51047
50903
|
return CommonSettingsComponent;
|
|
51048
50904
|
}(CoreBaseComponent));
|
|
51049
|
-
/** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(
|
|
50905
|
+
/** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(SettingsFormService), i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(RpcShellService)); };
|
|
51050
50906
|
/** @nocollapse */ CommonSettingsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CommonSettingsComponent, selectors: [["sme-common-settings"]], viewQuery: function CommonSettingsComponent_Query(rf, ctx) {
|
|
51051
50907
|
if (rf & 1) {
|
|
51052
50908
|
i0.ɵɵviewQuery(SettingsComponent, 1);
|
|
@@ -51055,7 +50911,7 @@
|
|
|
51055
50911
|
var _t = void 0;
|
|
51056
50912
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
|
|
51057
50913
|
}
|
|
51058
|
-
}, 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) {
|
|
50914
|
+
}, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$1v, decls: 13, vars: 6, consts: [[3, "settingsTitle"], ["class", "sme-layout-tool-header", 4, "ngIf"], ["role", "region"], ["role", "tablist", 1, "sme-padding-horizontal-lg", "sme-arrange-stack-v", "sme-focus-zone"], ["role", "presentation", 1, "sme-position-flex-auto", "sme-arrange-stack-v", "sme-arrange-overflow-hide-x", "sme-arrange-overflow-auto-y"], ["class", "sme-margin-inset-none", "role", "presentation", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "sme-layout-tool-header"], [1, "sme-position-flex-none", "sme-font-h3"], ["role", "presentation", 1, "sme-margin-inset-none"], ["class", "sme-margin-top-xs sme-font-h5", 3, "id", "title", 4, "ngIf"], ["class", "sme-padding-squish-v-sm sme-arrange-stack-h sme-scheme-nav-item", "role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", "smeRouterLinkActivated", 4, "ngFor", "ngForOf"], [1, "sme-margin-top-xs", "sme-font-h5", 3, "id", "title"], ["role", "tab", "href", "setting.routeParams.extras && setting.routeParams.extras.replaceUrl", "routerLinkActive", "sme-active", 1, "sme-padding-squish-v-sm", "sme-arrange-stack-h", "sme-scheme-nav-item", 3, "routerLink", "preserveFragment", "skipLocationChange", "replaceUrl", "queryParams", "title", "smeRouterLinkActivated"], [1, "sme-icon", "sme-margin-right-xs", 3, "ngClass"], [1, "sme-position-flex-auto"], [3, "id"], ["class", "sme-layout-absolute sme-position-inset-none sme-layer-above sme-scheme-backdrop-opaque", 3, "click", 4, "ngFor", "ngForOf"], [1, "sme-layout-absolute", "sme-position-inset-none", "sme-layer-above", "sme-scheme-backdrop-opaque", 3, "click"], ["id", "sme-shell-setting-selectedTitle", 4, "ngIf"], ["id", "sme-shell-setting-selectedTitle"]], template: function CommonSettingsComponent_Template(rf, ctx) {
|
|
51059
50915
|
if (rf & 1) {
|
|
51060
50916
|
i0.ɵɵprojectionDef();
|
|
51061
50917
|
i0.ɵɵelementStart(0, "sme-settings", 0);
|
|
@@ -51100,7 +50956,7 @@
|
|
|
51100
50956
|
selector: 'sme-common-settings',
|
|
51101
50957
|
templateUrl: './common-settings.component.html'
|
|
51102
50958
|
}]
|
|
51103
|
-
}], function () { return [{ type: i0.Injector }, { type: i1.Router }, { type:
|
|
50959
|
+
}], function () { return [{ type: i0.Injector }, { type: i1.Router }, { type: SettingsFormService }, { type: i0.IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, { settingsTitle: [{
|
|
51104
50960
|
type: i0.Input
|
|
51105
50961
|
}], settings: [{
|
|
51106
50962
|
type: i0.Input
|
|
@@ -51431,6 +51287,7 @@
|
|
|
51431
51287
|
SettingsFormService,
|
|
51432
51288
|
CanDeactivateGuard
|
|
51433
51289
|
], imports: [[
|
|
51290
|
+
SmeRouterModule,
|
|
51434
51291
|
i1.RouterModule,
|
|
51435
51292
|
i1$1.CommonModule,
|
|
51436
51293
|
HeaderModule,
|
|
@@ -51445,7 +51302,8 @@
|
|
|
51445
51302
|
SettingsContentComponent,
|
|
51446
51303
|
SettingsPageComponent,
|
|
51447
51304
|
SettingsNavigationComponent,
|
|
51448
|
-
CommonSettingsComponent], imports: [
|
|
51305
|
+
CommonSettingsComponent], imports: [SmeRouterModule,
|
|
51306
|
+
i1.RouterModule,
|
|
51449
51307
|
i1$1.CommonModule,
|
|
51450
51308
|
HeaderModule,
|
|
51451
51309
|
LayoutModule,
|
|
@@ -51463,6 +51321,7 @@
|
|
|
51463
51321
|
type: i0.NgModule,
|
|
51464
51322
|
args: [{
|
|
51465
51323
|
imports: [
|
|
51324
|
+
SmeRouterModule,
|
|
51466
51325
|
i1.RouterModule,
|
|
51467
51326
|
i1$1.CommonModule,
|
|
51468
51327
|
HeaderModule,
|
|
@@ -51497,7 +51356,7 @@
|
|
|
51497
51356
|
}], null, null);
|
|
51498
51357
|
})();
|
|
51499
51358
|
i0.ɵɵsetComponentScope(CommonSettingsComponent, [SettingsComponent,
|
|
51500
|
-
SettingsNavigationComponent, i1$1.NgIf, i1$1.NgForOf, TooltipDirective, i1.RouterLinkWithHref, i1.RouterLinkActive, i1$1.NgClass, SettingsHeaderComponent,
|
|
51359
|
+
SettingsNavigationComponent, i1$1.NgIf, i1$1.NgForOf, TooltipDirective, i1.RouterLinkWithHref, i1.RouterLinkActive, SmeRouterLinkDirective, i1$1.NgClass, SettingsHeaderComponent,
|
|
51501
51360
|
SettingsContentComponent, i1.RouterOutlet, SettingsFooterComponent], []);
|
|
51502
51361
|
|
|
51503
51362
|
// tslint:disable-next-line: directive-class-suffix
|
|
@@ -52253,7 +52112,7 @@
|
|
|
52253
52112
|
i0.ɵɵtextInterpolate(step_r14.name);
|
|
52254
52113
|
}
|
|
52255
52114
|
}
|
|
52256
|
-
var _c3$c = function (a0) { return { "sme-scheme-list-item sme-active sme-color-base-5": a0 }; };
|
|
52115
|
+
var _c3$c = function (a0) { return { "sme-scheme-nav-list-item sme-active sme-color-base-5": a0 }; };
|
|
52257
52116
|
var _c4$8 = function (a0) { return { "sme-step-active": a0 }; };
|
|
52258
52117
|
function WizardComponent_div_4_ul_1_li_1_Template(rf, ctx) {
|
|
52259
52118
|
if (rf & 1) {
|
|
@@ -52410,6 +52269,23 @@
|
|
|
52410
52269
|
}
|
|
52411
52270
|
return WizardTelemetryData;
|
|
52412
52271
|
}());
|
|
52272
|
+
/**
|
|
52273
|
+
* @smeDoc {@label Wizard @id sme-wizard}
|
|
52274
|
+
*
|
|
52275
|
+
* @overview
|
|
52276
|
+
* @file {@filepath ./examples/overview.md}
|
|
52277
|
+
*
|
|
52278
|
+
* @example {@label Example Wizard @id simple-wizard}
|
|
52279
|
+
* @file {@filename component.html @filepath ./examples/wizard-example.component.html}
|
|
52280
|
+
* @file {@filename component.ts @filepath ./examples/wizard-example.component.ts}
|
|
52281
|
+
* @file {@filename data-model.ts @filepath ./examples/example-model.ts}
|
|
52282
|
+
* @file {@filename finish-component.ts @filepath ./examples/finish.component.ts}
|
|
52283
|
+
* @file {@filename finish-component.html @filepath ./examples/finish.component.html}
|
|
52284
|
+
* @file {@filename simple-static-text.html @filepath ./examples/simple-static-text.component.html}
|
|
52285
|
+
* @file {@filename simple-static-text.ts @filepath ./examples/simple-static-text.ts}
|
|
52286
|
+
* @file {@filename simple-text-input.component.html @filepath ./examples/simple-text-input.component.html}
|
|
52287
|
+
* @file {@filename simple-text-input.component.ts @filepath ./examples/simple-text-input.component.ts}
|
|
52288
|
+
*/
|
|
52413
52289
|
/**
|
|
52414
52290
|
* The component class definition for the wizard component.
|
|
52415
52291
|
*/
|
|
@@ -52432,6 +52308,7 @@
|
|
|
52432
52308
|
*/
|
|
52433
52309
|
_this.telemetryData = {
|
|
52434
52310
|
stepIndexNumber: '1.1',
|
|
52311
|
+
stepName: '',
|
|
52435
52312
|
stepIndexStartTime: (new Date()).toISOString(),
|
|
52436
52313
|
entryPoint: environmentModules.EnvironmentModule.createEntrypointId(MsftSme.self().Init.moduleName, MsftSme.self().Init.entryPointName),
|
|
52437
52314
|
state: WizardState.Entry
|
|
@@ -52490,6 +52367,22 @@
|
|
|
52490
52367
|
enumerable: false,
|
|
52491
52368
|
configurable: true
|
|
52492
52369
|
});
|
|
52370
|
+
Object.defineProperty(WizardComponent.prototype, "wizardTelemetryEventBlob", {
|
|
52371
|
+
/**
|
|
52372
|
+
* Create and return the current telemetry event structure for wizard telemetry. This can be used for any automatic
|
|
52373
|
+
* actions not triggered by a DOM interaction.
|
|
52374
|
+
*/
|
|
52375
|
+
get: function () {
|
|
52376
|
+
var wizardTelemetryBase = {
|
|
52377
|
+
contentId: 'sme-wizard',
|
|
52378
|
+
areaName: 'WizardComponent'
|
|
52379
|
+
};
|
|
52380
|
+
MsftSme.deepAssign(wizardTelemetryBase, this.telemetryData);
|
|
52381
|
+
return wizardTelemetryBase;
|
|
52382
|
+
},
|
|
52383
|
+
enumerable: false,
|
|
52384
|
+
configurable: true
|
|
52385
|
+
});
|
|
52493
52386
|
Object.defineProperty(WizardComponent.prototype, "stagesArrayIndex", {
|
|
52494
52387
|
/**
|
|
52495
52388
|
* Gets the index of the current stage of the wizard.
|
|
@@ -52822,17 +52715,17 @@
|
|
|
52822
52715
|
this.telemetryData.wizardType = filledModel.wizardType;
|
|
52823
52716
|
}
|
|
52824
52717
|
this.navigationInformation.resetHistory();
|
|
52718
|
+
// update here first to get updated telemetry info
|
|
52825
52719
|
this.updateTelemetryTags();
|
|
52720
|
+
smeWebTelemetry.SmeWebTelemetry.traceAction(null, { content: this.wizardTelemetryEventBlob, actionType: smeWebTelemetryModels.TelemetryActionTypes.Automatic });
|
|
52721
|
+
this.updateTelemetryTags(WizardState.Active);
|
|
52826
52722
|
window.addEventListener('pagehide', function () {
|
|
52827
52723
|
if (_this.telemetryData.state !== WizardState.Finished) {
|
|
52828
52724
|
// manually set at this point b/c view is destructed.
|
|
52829
52725
|
_this.telemetryData.state = WizardState.Exit;
|
|
52830
52726
|
}
|
|
52831
|
-
// Populate ourselves b/c the element ref is destructed at this point. Container tags should not change
|
|
52832
|
-
var exitTelemetryData = { contentId: 'sme-wizard', areaName: 'WizardComponent' };
|
|
52833
|
-
MsftSme.deepAssign(exitTelemetryData, _this.telemetryData);
|
|
52834
52727
|
// actionType A for Auto (according to AWA dictionary) to differentiate from CL
|
|
52835
|
-
smeWebTelemetry.SmeWebTelemetry.traceAction(null, { content:
|
|
52728
|
+
smeWebTelemetry.SmeWebTelemetry.traceAction(null, { content: _this.wizardTelemetryEventBlob, actionType: smeWebTelemetryModels.TelemetryActionTypes.Automatic });
|
|
52836
52729
|
});
|
|
52837
52730
|
};
|
|
52838
52731
|
/**
|
|
@@ -53097,6 +52990,7 @@
|
|
|
53097
52990
|
WizardComponent.prototype.updateTelemetryTags = function (state) {
|
|
53098
52991
|
this.telemetryData.state = state ? state : this.telemetryData.state;
|
|
53099
52992
|
this.telemetryData.stepIndexNumber = this.stageIndex + 1 + "." + (this.stepIndex + 1);
|
|
52993
|
+
this.telemetryData.stepName = this.currentStage.name + "." + this.currentStep.name;
|
|
53100
52994
|
this.telemetryData.stepIndexStartTime = (new Date()).toISOString(); // keep same format as event timestamp
|
|
53101
52995
|
this.changeDetectorRef.detectChanges();
|
|
53102
52996
|
};
|