@microsoft/windows-admin-center-sdk 2.186.0 → 2.294.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,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, ɵɵdirectiveInject, ChangeDetectorRef, ɵɵdefineDirective, ɵsetClassMetadata, Directive, Optional, Host, Output, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule, ɵɵdefineInjectable, ɵɵgetInheritedFactory, Injectable, ElementRef, ViewContainerRef, ɵɵNgOnChangesFeature, ɵɵInheritDefinitionFeature, ɵɵattribute, HostBinding, Renderer2, ɵɵhostProperty, ɵɵsanitizeHtml, InjectFlags, ɵɵinject, Injector, ɵɵclassProp, KeyValueDiffers, ɵɵdefinePipe, Pipe, ɵɵdefineComponent, ɵɵstyleProp, ɵɵprojectionDef, ɵɵelementStart,
|
|
1
|
+
import { EventEmitter, ɵɵdirectiveInject, ChangeDetectorRef, ɵɵdefineDirective, ɵsetClassMetadata, Directive, Optional, Host, Output, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule, ɵɵdefineInjectable, ɵɵgetInheritedFactory, Injectable, ElementRef, ViewContainerRef, ɵɵNgOnChangesFeature, ɵɵInheritDefinitionFeature, ɵɵattribute, HostBinding, Renderer2, ɵɵhostProperty, ɵɵsanitizeHtml, InjectFlags, ɵɵinject, Injector, ɵɵlistener, ɵɵresolveWindow, HostListener, ɵɵclassProp, KeyValueDiffers, ɵɵdefinePipe, Pipe, ɵɵdefineComponent, ɵɵstyleProp, ɵɵprojectionDef, ɵɵelementStart, ɵɵelementEnd, ɵɵprojection, ɵɵproperty, ɵɵadvance, Component, ɵɵelement, InjectionToken, ɵɵelementContainerStart, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵnextContext, ɵɵtext, ɵɵtextInterpolate, ɵɵtemplate, NgZone, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ɵɵresolveDocument, ViewChild, ɵɵProvidersFeature, forwardRef, ɵɵpureFunction2, ɵɵcontentQuery, ContentChildren, ɵɵpureFunction4, Inject, IterableDiffers, ɵɵgetCurrentView, ɵɵrestoreView, ɵɵreference, ɵɵpipe, ɵɵpipeBind3, QueryList, ComponentFactoryResolver, ɵɵsetComponentScope, ɵɵtextInterpolate1, ɵɵpureFunction1, ɵɵpureFunction3, ɵɵclassMapInterpolate1, Self, TemplateRef, ContentChild, SkipSelf, ViewChildren, ɵɵtemplateRefExtractor, ɵɵpureFunction0, ɵɵpipeBind2, ɵɵclassMap, ɵɵpropertyInterpolate, ɵɵsanitizeUrl, ɵɵpipeBind1, ɵɵnamespaceSVG, ɵɵtextInterpolate2, isDevMode, ɵɵattributeInterpolate5, ErrorHandler } from '@angular/core';
|
|
2
2
|
import { NavigationEnd, RouterLink, RouterLinkWithHref, Router, PRIMARY_OUTLET, RouterOutlet, RouterModule, ActivatedRoute, RouterLinkActive, NavigationStart } from '@angular/router';
|
|
3
3
|
import { ResourceCache } from '@microsoft/windows-admin-center-sdk/core/data/resource-cache';
|
|
4
4
|
import { LogLevel } from '@microsoft/windows-admin-center-sdk/core/diagnostics/log-level';
|
|
@@ -6,11 +6,11 @@ import { Logging } from '@microsoft/windows-admin-center-sdk/core/diagnostics/lo
|
|
|
6
6
|
import { __decorate, __metadata } from 'tslib';
|
|
7
7
|
import { Debounce as Debounce$1 } from '@microsoft/windows-admin-center-sdk/core/base/decorators/debounce.decorators';
|
|
8
8
|
import { Dom, ElementPosition } from '@microsoft/windows-admin-center-sdk/core/dom/dom';
|
|
9
|
-
import
|
|
9
|
+
import { marked } from 'marked';
|
|
10
10
|
import { createClassDecorator, getDecoratorStrings, createUniversalDecorator } from '@microsoft/windows-admin-center-sdk/core/base/decorators/base';
|
|
11
11
|
import { Location, CommonModule, NgClass, NgIf, NgForOf, NgStyle, NgTemplateOutlet, NgSwitch, NgSwitchCase, KeyValuePipe, DatePipe } from '@angular/common';
|
|
12
12
|
import { GatewayInventoryCache } from '@microsoft/windows-admin-center-sdk/core/shared/gateway-inventory/gateway-inventory-cache';
|
|
13
|
-
import { Observable, of, forkJoin, merge, Subject, fromEvent, ReplaySubject, empty, fromEventPattern, zip, from, throwError } from 'rxjs';
|
|
13
|
+
import { Observable, of, forkJoin, merge, Subject, fromEvent, ReplaySubject, empty, fromEventPattern, zip, from, EMPTY, throwError } from 'rxjs';
|
|
14
14
|
import { map, take, catchError, mergeMap, delay, takeLast, flatMap, shareReplay, tap, filter, first, switchMap, debounceTime } from 'rxjs/operators';
|
|
15
15
|
import { AppContext } from '@microsoft/windows-admin-center-sdk/core/data/app-context';
|
|
16
16
|
import { SmeWebTelemetry } from '@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry';
|
|
@@ -63,6 +63,7 @@ import { RpcOverlayCloseClient } from '@microsoft/windows-admin-center-sdk/core/
|
|
|
63
63
|
import { RpcType, RpcOutboundCommands, RpcOpenState, RpcDeactivateState } from '@microsoft/windows-admin-center-sdk/core/rpc/rpc-base';
|
|
64
64
|
import { RpcOverlayOpenSubjectServer } from '@microsoft/windows-admin-center-sdk/core/rpc/overlay/rpc-overlay-open-subject-server';
|
|
65
65
|
import { RxjsLifetimeManager } from '@microsoft/windows-admin-center-sdk/core/base/rxjs-lifetime-manager';
|
|
66
|
+
import { TelemetryActionTypes } from '@microsoft/windows-admin-center-sdk/core/diagnostics/sme-web-telemetry-models';
|
|
66
67
|
import { ColumnPicker } from '@microsoft/windows-admin-center-sdk/core/data/column-picker';
|
|
67
68
|
import { Electron } from '@microsoft/windows-admin-center-sdk/core/data/electron';
|
|
68
69
|
import { JobsManager } from '@microsoft/windows-admin-center-sdk/core/data/jobs/jobs-manager';
|
|
@@ -648,7 +649,6 @@ class DisabledModule {
|
|
|
648
649
|
}]
|
|
649
650
|
}], null, null); })();
|
|
650
651
|
|
|
651
|
-
const marked = marked_;
|
|
652
652
|
/**
|
|
653
653
|
*
|
|
654
654
|
* @smeDoc {@label Markdown @id sme-markdown-directive}
|
|
@@ -665,7 +665,6 @@ class MarkdownDirective {
|
|
|
665
665
|
constructor(host, renderer) {
|
|
666
666
|
this.host = host;
|
|
667
667
|
this.renderer = renderer;
|
|
668
|
-
this.smeMarkdownUseInlineLexer = false;
|
|
669
668
|
}
|
|
670
669
|
get content() {
|
|
671
670
|
return this.renderedContent;
|
|
@@ -679,22 +678,16 @@ class MarkdownDirective {
|
|
|
679
678
|
}
|
|
680
679
|
}
|
|
681
680
|
render() {
|
|
682
|
-
|
|
681
|
+
this.renderedContent = '';
|
|
683
682
|
if (marked && !MsftSme.isNullOrWhiteSpace(this.smeMarkdown)) {
|
|
684
|
-
|
|
685
|
-
content = marked.inlineLexer(this.smeMarkdown, []);
|
|
686
|
-
}
|
|
687
|
-
else {
|
|
688
|
-
content = marked(this.smeMarkdown);
|
|
689
|
-
}
|
|
683
|
+
this.renderedContent = marked.parse(this.smeMarkdown);
|
|
690
684
|
}
|
|
691
|
-
this.renderedContent = content;
|
|
692
685
|
}
|
|
693
686
|
}
|
|
694
687
|
/** @nocollapse */ MarkdownDirective.ɵfac = function MarkdownDirective_Factory(t) { return new (t || MarkdownDirective)(ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2)); };
|
|
695
688
|
/** @nocollapse */ MarkdownDirective.ɵdir = ɵɵdefineDirective({ type: MarkdownDirective, selectors: [["", "smeMarkdown", ""]], hostVars: 1, hostBindings: function MarkdownDirective_HostBindings(rf, ctx) { if (rf & 2) {
|
|
696
689
|
ɵɵhostProperty("innerHtml", ctx.content, ɵɵsanitizeHtml);
|
|
697
|
-
} }, inputs: { smeMarkdown: "smeMarkdown"
|
|
690
|
+
} }, inputs: { smeMarkdown: "smeMarkdown" }, features: [ɵɵNgOnChangesFeature] });
|
|
698
691
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(MarkdownDirective, [{
|
|
699
692
|
type: Directive,
|
|
700
693
|
args: [{
|
|
@@ -703,8 +696,6 @@ class MarkdownDirective {
|
|
|
703
696
|
}]
|
|
704
697
|
}], function () { return [{ type: ElementRef }, { type: Renderer2 }]; }, { smeMarkdown: [{
|
|
705
698
|
type: Input
|
|
706
|
-
}], smeMarkdownUseInlineLexer: [{
|
|
707
|
-
type: Input
|
|
708
699
|
}], content: [{
|
|
709
700
|
type: HostBinding,
|
|
710
701
|
args: ['innerHtml']
|
|
@@ -1094,6 +1085,16 @@ class ClampDirective extends CoreBaseComponent {
|
|
|
1094
1085
|
get breakWords() {
|
|
1095
1086
|
return this.hostElement.nativeElement.classList.contains(breakAllClass);
|
|
1096
1087
|
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Host listener for page resize event.
|
|
1090
|
+
*/
|
|
1091
|
+
onResize() {
|
|
1092
|
+
// reset initial content state
|
|
1093
|
+
this.resetClampContent();
|
|
1094
|
+
if (this.needsClamping) {
|
|
1095
|
+
this.clamp(this.hostElement.nativeElement);
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1097
1098
|
/**
|
|
1098
1099
|
* Implementation of angular OnChanges interface
|
|
1099
1100
|
* On every input change, we recalculate the clamp.
|
|
@@ -1102,10 +1103,7 @@ class ClampDirective extends CoreBaseComponent {
|
|
|
1102
1103
|
super.ngOnChanges(changes);
|
|
1103
1104
|
if (changes.smeClamp) {
|
|
1104
1105
|
// reset initial content state
|
|
1105
|
-
this.
|
|
1106
|
-
this.hostElement.nativeElement.innerHTML = this.smeClamp || '';
|
|
1107
|
-
// whenever this changes, we need to measure and output whether the content will be clamped.
|
|
1108
|
-
this.clamped.emit({ clamped: this.needsClamping });
|
|
1106
|
+
this.resetClampContent();
|
|
1109
1107
|
}
|
|
1110
1108
|
// if the input changes require clamping again, then re-clamp
|
|
1111
1109
|
if (this.needsClamping) {
|
|
@@ -1124,6 +1122,13 @@ class ClampDirective extends CoreBaseComponent {
|
|
|
1124
1122
|
element.classList.remove(breakAllClass);
|
|
1125
1123
|
}
|
|
1126
1124
|
}
|
|
1125
|
+
resetClampContent() {
|
|
1126
|
+
// reset initial content state
|
|
1127
|
+
this.removeBreakWords();
|
|
1128
|
+
this.hostElement.nativeElement.innerHTML = this.smeClamp || '';
|
|
1129
|
+
// whenever this changes, we need to measure and output whether the content will be clamped.
|
|
1130
|
+
this.clamped.emit({ clamped: this.needsClamping });
|
|
1131
|
+
}
|
|
1127
1132
|
/**
|
|
1128
1133
|
* Gets the initial host classes to be applied to this element
|
|
1129
1134
|
*/
|
|
@@ -1214,7 +1219,9 @@ class ClampDirective extends CoreBaseComponent {
|
|
|
1214
1219
|
}
|
|
1215
1220
|
}
|
|
1216
1221
|
/** @nocollapse */ ClampDirective.ɵfac = function ClampDirective_Factory(t) { return new (t || ClampDirective)(ɵɵdirectiveInject(Injector)); };
|
|
1217
|
-
/** @nocollapse */ ClampDirective.ɵdir = ɵɵdefineDirective({ type: ClampDirective, selectors: [["", "smeClamp", ""]],
|
|
1222
|
+
/** @nocollapse */ ClampDirective.ɵdir = ɵɵdefineDirective({ type: ClampDirective, selectors: [["", "smeClamp", ""]], hostBindings: function ClampDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1223
|
+
ɵɵlistener("resize", function ClampDirective_resize_HostBindingHandler() { return ctx.onResize(); }, false, ɵɵresolveWindow);
|
|
1224
|
+
} }, inputs: { smeClamp: "smeClamp", smeClampLines: "smeClampLines" }, outputs: { clamped: "clamped" }, features: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature] });
|
|
1218
1225
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ClampDirective, [{
|
|
1219
1226
|
type: Directive,
|
|
1220
1227
|
args: [{
|
|
@@ -1226,6 +1233,9 @@ class ClampDirective extends CoreBaseComponent {
|
|
|
1226
1233
|
type: Input
|
|
1227
1234
|
}], clamped: [{
|
|
1228
1235
|
type: Output
|
|
1236
|
+
}], onResize: [{
|
|
1237
|
+
type: HostListener,
|
|
1238
|
+
args: ['window:resize']
|
|
1229
1239
|
}] }); })();
|
|
1230
1240
|
|
|
1231
1241
|
class ClampModule {
|
|
@@ -1632,7 +1642,7 @@ class DiscardDirective {
|
|
|
1632
1642
|
this.strings = MsftSme.getStrings();
|
|
1633
1643
|
this.smeDiscardId = `sme-discard-id-${MsftSme.newGuid()}`;
|
|
1634
1644
|
this.isAlerting = false;
|
|
1635
|
-
this.alertElement = this.createAlertElement(this.strings.MsftSmeShell.Angular.Common.
|
|
1645
|
+
this.alertElement = this.createAlertElement(this.strings.MsftSmeShell.Angular.Common.discarded);
|
|
1636
1646
|
}
|
|
1637
1647
|
ngOnInit() {
|
|
1638
1648
|
if (this.host && this.host.nativeElement) {
|
|
@@ -1740,6 +1750,19 @@ class DevGuardService {
|
|
|
1740
1750
|
type: Injectable
|
|
1741
1751
|
}], function () { return [{ type: Router }]; }, null); })();
|
|
1742
1752
|
|
|
1753
|
+
/**
|
|
1754
|
+
*
|
|
1755
|
+
* @smeDoc {@label Experiments and IsProduction @id sme-dev-guide-utilities-msft-sme-experiments}
|
|
1756
|
+
*
|
|
1757
|
+
* @overview
|
|
1758
|
+
* @file {@filepath ./experiment-key/examples/overview.md}
|
|
1759
|
+
*
|
|
1760
|
+
* @example {@label Experiment key @id experiment-key}
|
|
1761
|
+
* @file {@filename experiment-key.ts @filepath ./experiment-key/examples/experiment-key.ts}
|
|
1762
|
+
*
|
|
1763
|
+
* @example {@label IsProduction @id isProduction}
|
|
1764
|
+
* @file {@filename isproduction.ts @filepath ./experiment-key/examples/isproduction.ts}
|
|
1765
|
+
*/
|
|
1743
1766
|
class ExperimentGuardService {
|
|
1744
1767
|
/**
|
|
1745
1768
|
* Initializes a new instance of the ExperimentGuardService class.
|
|
@@ -1834,16 +1857,17 @@ class GatewayService extends GatewayConnection {
|
|
|
1834
1857
|
*
|
|
1835
1858
|
* @param http the Http object.
|
|
1836
1859
|
* @param rpcService the RPC service.
|
|
1860
|
+
* @param authorizationService the authorizaton service.
|
|
1837
1861
|
*/
|
|
1838
|
-
constructor(httpService, rpcService) {
|
|
1839
|
-
super(httpService, rpcService);
|
|
1862
|
+
constructor(httpService, rpcService, authorizationService) {
|
|
1863
|
+
super(httpService, rpcService, authorizationService);
|
|
1840
1864
|
}
|
|
1841
1865
|
}
|
|
1842
|
-
/** @nocollapse */ GatewayService.ɵfac = function GatewayService_Factory(t) { return new (t || GatewayService)(ɵɵinject(HttpService), ɵɵinject(RpcService)); };
|
|
1866
|
+
/** @nocollapse */ GatewayService.ɵfac = function GatewayService_Factory(t) { return new (t || GatewayService)(ɵɵinject(HttpService), ɵɵinject(RpcService), ɵɵinject(AuthorizationService)); };
|
|
1843
1867
|
/** @nocollapse */ GatewayService.ɵprov = ɵɵdefineInjectable({ token: GatewayService, factory: GatewayService.ɵfac });
|
|
1844
1868
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(GatewayService, [{
|
|
1845
1869
|
type: Injectable
|
|
1846
|
-
}], function () { return [{ type: HttpService }, { type: RpcService }]; }, null); })();
|
|
1870
|
+
}], function () { return [{ type: HttpService }, { type: RpcService }, { type: AuthorizationService }]; }, null); })();
|
|
1847
1871
|
|
|
1848
1872
|
/**
|
|
1849
1873
|
* The batch service class.
|
|
@@ -2438,6 +2462,28 @@ Navigation.gatewayUrl = 'gatewayUrl';
|
|
|
2438
2462
|
Navigation.staticVersion = 'staticVersion';
|
|
2439
2463
|
Navigation.pushStateBackup = null;
|
|
2440
2464
|
|
|
2465
|
+
/**
|
|
2466
|
+
*
|
|
2467
|
+
* @smeDoc {@label Notifications @id sme-dev-guide-shell-services-notifications}
|
|
2468
|
+
*
|
|
2469
|
+
* @overview
|
|
2470
|
+
* @file {@filepath ./notifications/examples/overview.md}
|
|
2471
|
+
*
|
|
2472
|
+
* @example {@label In progress notification @id in-progress-notification}
|
|
2473
|
+
* @file {@filename notifications-in-progress.ts @filepath ./notifications/examples/notifications-in-progress.ts}
|
|
2474
|
+
*
|
|
2475
|
+
* @example {@label Alert notification @id alert-notifications}
|
|
2476
|
+
* @file {@filename notifications-alert.ts @filepath ./notifications/examples/notifications-alert.ts}
|
|
2477
|
+
*
|
|
2478
|
+
* @example {@label Information notification @id information-notification}
|
|
2479
|
+
* @file {@filename notifications-information.ts @filepath ./notifications/examples/notifications-information.ts}
|
|
2480
|
+
*
|
|
2481
|
+
* @example {@label Long running notification @id long-running-notification}
|
|
2482
|
+
* @file {@filename notifications-long-running.ts @filepath ./notifications/examples/notifications-long-running.ts}
|
|
2483
|
+
*
|
|
2484
|
+
* @example {@label Long running with disabled notification @id long-running-disable-notification}
|
|
2485
|
+
* @file {@filename notifications-long-running-disable.ts @filepath ./notifications/examples/notifications-long-running-disable.ts}
|
|
2486
|
+
*/
|
|
2441
2487
|
/**
|
|
2442
2488
|
* Notification service class.
|
|
2443
2489
|
*/
|
|
@@ -2667,6 +2713,16 @@ class GuardsModule {
|
|
|
2667
2713
|
* export all public APIs.
|
|
2668
2714
|
*/
|
|
2669
2715
|
|
|
2716
|
+
/**
|
|
2717
|
+
* @smeDoc {@label BooleanConverterPipe @id smeBooleanConverter}
|
|
2718
|
+
*
|
|
2719
|
+
* @overview
|
|
2720
|
+
* @file {@filepath ./examples/boolean-converter-overview.md}
|
|
2721
|
+
*
|
|
2722
|
+
* @example {@label Example Boolean Converter @id boolean-converter-example }
|
|
2723
|
+
* @file {@filename component.html @filepath ./examples/boolean-converter-example.component.html}
|
|
2724
|
+
* @file {@filename component.ts @filepath ./examples/boolean-converter-example.component.ts}
|
|
2725
|
+
*/
|
|
2670
2726
|
class BooleanConverterPipe {
|
|
2671
2727
|
transform(value, args) {
|
|
2672
2728
|
if (args) {
|
|
@@ -2844,6 +2900,16 @@ var MediaConversion2;
|
|
|
2844
2900
|
return iterator;
|
|
2845
2901
|
}
|
|
2846
2902
|
})(MediaConversion2 || (MediaConversion2 = {}));
|
|
2903
|
+
/**
|
|
2904
|
+
* @smeDoc {@label byteConverterPipe @id smeByteUnitConverter}
|
|
2905
|
+
*
|
|
2906
|
+
* @overview
|
|
2907
|
+
* @file {@filepath ./examples/byte-converter-overview.md}
|
|
2908
|
+
*
|
|
2909
|
+
* @example {@label Example byte Converter @id byte-converter-example }
|
|
2910
|
+
* @file {@filename component.html @filepath ./examples/byte-converter-example.component.html}
|
|
2911
|
+
* @file {@filename component.ts @filepath ./examples/byte-converter-example.component.ts}
|
|
2912
|
+
*/
|
|
2847
2913
|
class ByteUnitConverterPipe {
|
|
2848
2914
|
transform(value, baseNumber) {
|
|
2849
2915
|
const base = baseNumber;
|
|
@@ -2961,6 +3027,21 @@ class DateConverterPipeModule {
|
|
|
2961
3027
|
}]
|
|
2962
3028
|
}], null, null); })();
|
|
2963
3029
|
|
|
3030
|
+
/**
|
|
3031
|
+
* @smeDoc {@label enumConverterPipe @id smeEnumConverter}
|
|
3032
|
+
*
|
|
3033
|
+
* @overview
|
|
3034
|
+
* @file {@filepath ./examples/enum-converter-overview.md}
|
|
3035
|
+
*
|
|
3036
|
+
* @example {@label Example Enum Converter @id enum-converter-example }
|
|
3037
|
+
* @file {@filename component.html @filepath ./examples/enum-converter-example.component.html}
|
|
3038
|
+
* @file {@filename component.ts @filepath ./examples/enum-converter-example.component.ts}
|
|
3039
|
+
*
|
|
3040
|
+
* @example {@label Example Color Enum Converter @id color-enum-color-converter }
|
|
3041
|
+
* @file {@filename color.ts @filepath ./examples/enum-converter-example-color.ts}
|
|
3042
|
+
* @file {@filename color.component.html @filepath ./examples/enum-converter-example-color.component.html}
|
|
3043
|
+
* @file {@filename color.component.ts @filepath ./examples/enum-converter-example-color.component.ts}
|
|
3044
|
+
*/
|
|
2964
3045
|
class EnumConverterPipe {
|
|
2965
3046
|
/**
|
|
2966
3047
|
* Registers an Extended enum for use with this pipe
|
|
@@ -3119,6 +3200,16 @@ class FilterPipeModule {
|
|
|
3119
3200
|
}]
|
|
3120
3201
|
}], null, null); })();
|
|
3121
3202
|
|
|
3203
|
+
/**
|
|
3204
|
+
* @smeDoc {@label FormatPipe @id smeFormat}
|
|
3205
|
+
*
|
|
3206
|
+
* @overview
|
|
3207
|
+
* @file {@filepath ./examples/format-overview.md}
|
|
3208
|
+
*
|
|
3209
|
+
* @example {@label Example enum Converter @id format-example }
|
|
3210
|
+
* @file {@filename component.html @filepath ./examples/format-example.component.html}
|
|
3211
|
+
* @file {@filename component.ts @filepath ./examples/format-example.component.ts}
|
|
3212
|
+
*/
|
|
3122
3213
|
class FormatPipe {
|
|
3123
3214
|
transform(format, values) {
|
|
3124
3215
|
if (!format || MsftSme.isNullOrUndefined(values) || values === []) {
|
|
@@ -3163,6 +3254,16 @@ class FormatPipeModule {
|
|
|
3163
3254
|
}]
|
|
3164
3255
|
}], null, null); })();
|
|
3165
3256
|
|
|
3257
|
+
/**
|
|
3258
|
+
* @smeDoc {@label highlightPipe @id smeHighlight}
|
|
3259
|
+
*
|
|
3260
|
+
* @overview
|
|
3261
|
+
* @file {@filepath ./examples/highlight-overview.md}
|
|
3262
|
+
*
|
|
3263
|
+
* @example {@label Example enum Converter @id highlight-example }
|
|
3264
|
+
* @file {@filename component.html @filepath ./examples/highlight-example.component.html}
|
|
3265
|
+
* @file {@filename component.ts @filepath ./examples/highlight-example.component.ts}
|
|
3266
|
+
*/
|
|
3166
3267
|
class HighlightPipe {
|
|
3167
3268
|
transform(attribute, search, highlightClass) {
|
|
3168
3269
|
if (search === undefined || search === null || search === '' || attribute == null) {
|
|
@@ -3202,6 +3303,16 @@ class HighlightPipeModule {
|
|
|
3202
3303
|
}]
|
|
3203
3304
|
}], null, null); })();
|
|
3204
3305
|
|
|
3306
|
+
/**
|
|
3307
|
+
* @smeDoc {@label yesno-converterPipe @id smeBooleanToYesNoConverter}
|
|
3308
|
+
*
|
|
3309
|
+
* @overview
|
|
3310
|
+
* @file {@filepath ./examples/yesno-converter-overview.md}
|
|
3311
|
+
*
|
|
3312
|
+
* @example {@label Example enum Converter @id yesno-converter-example }
|
|
3313
|
+
* @file {@filename component.html @filepath ./examples/yesno-converter-example.component.html}
|
|
3314
|
+
* @file {@filename component.ts @filepath ./examples/yesno-converter-example.component.ts}
|
|
3315
|
+
*/
|
|
3205
3316
|
class YesNoConverterPipe {
|
|
3206
3317
|
constructor() {
|
|
3207
3318
|
this.strings = MsftSme.getStrings();
|
|
@@ -3678,11 +3789,17 @@ class TooltipHostComponent extends CoreBaseComponent {
|
|
|
3678
3789
|
/**
|
|
3679
3790
|
* Escape key listener
|
|
3680
3791
|
*/
|
|
3681
|
-
onClick() {
|
|
3792
|
+
onClick(event) {
|
|
3682
3793
|
if (this.options && this.options.showOn === TooltipShowMode.Click) {
|
|
3683
3794
|
this.options.onWindowClick();
|
|
3684
3795
|
this.hide(this.options.targetid);
|
|
3685
3796
|
}
|
|
3797
|
+
if (MsftSme.isNullOrUndefined(this.mousePosition)) {
|
|
3798
|
+
this.mousePosition = {
|
|
3799
|
+
x: event.x,
|
|
3800
|
+
y: event.y
|
|
3801
|
+
};
|
|
3802
|
+
}
|
|
3686
3803
|
}
|
|
3687
3804
|
/**
|
|
3688
3805
|
* Show a tooltip with the given options
|
|
@@ -3784,7 +3901,12 @@ class TooltipHostComponent extends CoreBaseComponent {
|
|
|
3784
3901
|
// then adjust the pointer and tooltip to align with the pointer
|
|
3785
3902
|
if (tooltipRect.width < targetRect.width) {
|
|
3786
3903
|
pointerLeft = (((tooltipRect.width / 2) - (pointerRect.width / 2)) - tooltipLeftMargin);
|
|
3787
|
-
|
|
3904
|
+
if (this.mousePosition.x <= 0) {
|
|
3905
|
+
left = (tooltipRect.width / 2) - tooltipLeftMargin;
|
|
3906
|
+
}
|
|
3907
|
+
else {
|
|
3908
|
+
left = (this.mousePosition.x - ((tooltipRect.width / 2) - tooltipLeftMargin));
|
|
3909
|
+
}
|
|
3788
3910
|
}
|
|
3789
3911
|
// check if right edge of tooltip is off the screen
|
|
3790
3912
|
const right = (left + tooltipRect.width);
|
|
@@ -3865,7 +3987,7 @@ TooltipHostComponent.SCREEN_EDGE_MARGIN = 16;
|
|
|
3865
3987
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.tooltipContainer = _t.first);
|
|
3866
3988
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.tooltipPointer = _t.first);
|
|
3867
3989
|
} }, hostBindings: function TooltipHostComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3868
|
-
ɵɵlistener("resize", function TooltipHostComponent_resize_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, ɵɵresolveWindow)("blur", function TooltipHostComponent_blur_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, ɵɵresolveWindow)("keyup.escape", function TooltipHostComponent_keyup_escape_HostBindingHandler($event) { return ctx.onEscape($event); }, false, ɵɵresolveDocument)("click", function TooltipHostComponent_click_HostBindingHandler() { return ctx.onClick(); }, false, ɵɵresolveWindow);
|
|
3990
|
+
ɵɵlistener("resize", function TooltipHostComponent_resize_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, ɵɵresolveWindow)("blur", function TooltipHostComponent_blur_HostBindingHandler($event) { return ctx.onWindowResized($event); }, false, ɵɵresolveWindow)("keyup.escape", function TooltipHostComponent_keyup_escape_HostBindingHandler($event) { return ctx.onEscape($event); }, false, ɵɵresolveDocument)("click", function TooltipHostComponent_click_HostBindingHandler($event) { return ctx.onClick($event); }, false, ɵɵresolveWindow);
|
|
3869
3991
|
} }, features: [ɵɵ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) { if (rf & 1) {
|
|
3870
3992
|
ɵɵelementStart(0, "div", 0, 1);
|
|
3871
3993
|
ɵɵlistener("focusin", function TooltipHostComponent_Template_div_focusin_0_listener($event) { return ctx.onFocusChanged($event); })("focusout", function TooltipHostComponent_Template_div_focusout_0_listener($event) { return ctx.onFocusChanged($event); })("mouseenter", function TooltipHostComponent_Template_div_mouseenter_0_listener($event) { return ctx.onHoverChanged($event); })("mouseleave", function TooltipHostComponent_Template_div_mouseleave_0_listener($event) { return ctx.onHoverChanged($event); });
|
|
@@ -3906,7 +4028,7 @@ TooltipHostComponent.SCREEN_EDGE_MARGIN = 16;
|
|
|
3906
4028
|
args: ['document:keyup.escape', ['$event']]
|
|
3907
4029
|
}], onClick: [{
|
|
3908
4030
|
type: HostListener,
|
|
3909
|
-
args: ['window:click']
|
|
4031
|
+
args: ['window:click', ['$event']]
|
|
3910
4032
|
}] }); })();
|
|
3911
4033
|
|
|
3912
4034
|
const _c0$3 = ["*"];
|
|
@@ -6032,7 +6154,7 @@ class DropdownComponent {
|
|
|
6032
6154
|
ɵɵlistener("keyup", function DropdownComponent_keyup_HostBindingHandler($event) { return ctx.onKeyup($event); });
|
|
6033
6155
|
} if (rf & 2) {
|
|
6034
6156
|
ɵɵclassProp("sme-disabled", ctx.disabled);
|
|
6035
|
-
} }, 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) { if (rf & 1) {
|
|
6157
|
+
} }, 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) { if (rf & 1) {
|
|
6036
6158
|
ɵɵprojectionDef(_c2$1);
|
|
6037
6159
|
ɵɵelementStart(0, "div", 0, 1);
|
|
6038
6160
|
ɵɵprojection(2);
|
|
@@ -6655,7 +6777,7 @@ class ActionBarComponent extends ActionContainerComponent {
|
|
|
6655
6777
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
6656
6778
|
} }, hostBindings: function ActionBarComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
6657
6779
|
ɵɵ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, ɵɵresolveWindow);
|
|
6658
|
-
} }, outputs: { actionsUpdated: "actionsUpdated" }, features: [ɵɵ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) { if (rf & 1) {
|
|
6780
|
+
} }, outputs: { actionsUpdated: "actionsUpdated" }, features: [ɵɵ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) { if (rf & 1) {
|
|
6659
6781
|
ɵɵprojectionDef();
|
|
6660
6782
|
ɵɵelementStart(0, "div", 0, 1);
|
|
6661
6783
|
ɵɵtemplate(2, ActionBarComponent_sme_dynamic_action_item_2_Template, 1, 3, "sme-dynamic-action-item", 2);
|
|
@@ -7012,10 +7134,12 @@ class ActionItemComponent {
|
|
|
7012
7134
|
}
|
|
7013
7135
|
}
|
|
7014
7136
|
/** @nocollapse */ ActionItemComponent.ɵfac = function ActionItemComponent_Factory(t) { return new (t || ActionItemComponent)(); };
|
|
7015
|
-
/** @nocollapse */ ActionItemComponent.ɵdir = ɵɵdefineDirective({ type: ActionItemComponent, inputs: { hidden: "hidden", enabled: "enabled", toggled: "toggled", text: "text", iconClass: "iconClass" }, features: [ɵɵNgOnChangesFeature] });
|
|
7137
|
+
/** @nocollapse */ ActionItemComponent.ɵdir = ɵɵdefineDirective({ type: ActionItemComponent, inputs: { actionId: "actionId", hidden: "hidden", enabled: "enabled", toggled: "toggled", text: "text", name: "name", iconClass: "iconClass" }, features: [ɵɵNgOnChangesFeature] });
|
|
7016
7138
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ActionItemComponent, [{
|
|
7017
7139
|
type: Directive
|
|
7018
|
-
}], function () { return []; }, {
|
|
7140
|
+
}], function () { return []; }, { actionId: [{
|
|
7141
|
+
type: Input
|
|
7142
|
+
}], hidden: [{
|
|
7019
7143
|
type: Input
|
|
7020
7144
|
}], enabled: [{
|
|
7021
7145
|
type: Input
|
|
@@ -7023,6 +7147,8 @@ class ActionItemComponent {
|
|
|
7023
7147
|
type: Input
|
|
7024
7148
|
}], text: [{
|
|
7025
7149
|
type: Input
|
|
7150
|
+
}], name: [{
|
|
7151
|
+
type: Input
|
|
7026
7152
|
}], iconClass: [{
|
|
7027
7153
|
type: Input
|
|
7028
7154
|
}] }); })();
|
|
@@ -7040,7 +7166,7 @@ function ActionButtonRendererComponent_button_0_Template(rf, ctx) { if (rf & 1)
|
|
|
7040
7166
|
const ctx_r0 = ɵɵnextContext();
|
|
7041
7167
|
ɵɵclassProp("sme-toggled", ctx_r0.ariaChecked);
|
|
7042
7168
|
ɵɵproperty("smeDisabled", !ctx_r0.item.enabled || ctx_r0.item.busy || !ctx_r0.item.ready);
|
|
7043
|
-
ɵɵattribute("role", ctx_r0.ariaRole)("aria-checked", ctx_r0.ariaChecked);
|
|
7169
|
+
ɵɵattribute("role", ctx_r0.ariaRole)("aria-checked", ctx_r0.ariaChecked)("data-uta-id", ctx_r0.item.actionId);
|
|
7044
7170
|
ɵɵadvance(1);
|
|
7045
7171
|
ɵɵproperty("ngClass", ctx_r0.item.iconClass || "");
|
|
7046
7172
|
ɵɵadvance(2);
|
|
@@ -7056,7 +7182,7 @@ function ActionButtonRendererComponent_button_1_Template(rf, ctx) { if (rf & 1)
|
|
|
7056
7182
|
const ctx_r1 = ɵɵnextContext();
|
|
7057
7183
|
ɵɵclassProp("sme-toggled", ctx_r1.ariaChecked);
|
|
7058
7184
|
ɵɵproperty("smeDisabled", !ctx_r1.item.enabled || ctx_r1.item.busy || !ctx_r1.item.ready)("title", ctx_r1.item.text);
|
|
7059
|
-
ɵɵattribute("role", ctx_r1.ariaRole)("aria-checked", ctx_r1.ariaChecked)("aria-label", ctx_r1.item.text);
|
|
7185
|
+
ɵɵattribute("role", ctx_r1.ariaRole)("aria-checked", ctx_r1.ariaChecked)("data-uta-id", ctx_r1.item.actionId)("aria-label", ctx_r1.item.text);
|
|
7060
7186
|
ɵɵadvance(1);
|
|
7061
7187
|
ɵɵproperty("ngClass", ctx_r1.item.iconClass || "");
|
|
7062
7188
|
} }
|
|
@@ -7116,8 +7242,8 @@ class ActionButtonRendererComponent extends ActionItemRendererComponent {
|
|
|
7116
7242
|
}
|
|
7117
7243
|
/** @nocollapse */ ActionButtonRendererComponent.ɵfac = function ActionButtonRendererComponent_Factory(t) { return new (t || ActionButtonRendererComponent)(ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ElementRef)); };
|
|
7118
7244
|
/** @nocollapse */ ActionButtonRendererComponent.ɵcmp = ɵɵdefineComponent({ type: ActionButtonRendererComponent, selectors: [["sme-action-button-renderer"]], features: [ɵɵ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) { if (rf & 1) {
|
|
7119
|
-
ɵɵtemplate(0, ActionButtonRendererComponent_button_0_Template, 4,
|
|
7120
|
-
ɵɵtemplate(1, ActionButtonRendererComponent_button_1_Template, 2,
|
|
7245
|
+
ɵɵtemplate(0, ActionButtonRendererComponent_button_0_Template, 4, 8, "button", 0);
|
|
7246
|
+
ɵɵtemplate(1, ActionButtonRendererComponent_button_1_Template, 2, 9, "button", 1);
|
|
7121
7247
|
} if (rf & 2) {
|
|
7122
7248
|
ɵɵproperty("ngIf", !(ctx.item.container == null ? null : ctx.item.container.compact));
|
|
7123
7249
|
ɵɵadvance(1);
|
|
@@ -7399,11 +7525,20 @@ class ActionButtonComponent extends ActionItemComponent {
|
|
|
7399
7525
|
|
|
7400
7526
|
const _c0$9 = ["dropDown"];
|
|
7401
7527
|
const _c1$4 = ["dropDownButton"];
|
|
7402
|
-
function
|
|
7403
|
-
|
|
7528
|
+
function ActionDropdownRendererComponent_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
7529
|
+
ɵɵelementStart(0, "p", 9);
|
|
7530
|
+
ɵɵtext(1);
|
|
7531
|
+
ɵɵelementEnd();
|
|
7532
|
+
} if (rf & 2) {
|
|
7533
|
+
const ctx_r2 = ɵɵnextContext();
|
|
7534
|
+
ɵɵadvance(1);
|
|
7535
|
+
ɵɵtextInterpolate(ctx_r2.actionTitle);
|
|
7404
7536
|
} }
|
|
7405
7537
|
function ActionDropdownRendererComponent_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
7406
|
-
ɵɵelement(0, "span",
|
|
7538
|
+
ɵɵelement(0, "span", 10);
|
|
7539
|
+
} }
|
|
7540
|
+
function ActionDropdownRendererComponent_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
7541
|
+
ɵɵelement(0, "span", 11);
|
|
7407
7542
|
} }
|
|
7408
7543
|
const _c2$3 = ["action"];
|
|
7409
7544
|
class ActionDropdown extends ActionItem {
|
|
@@ -7425,6 +7560,12 @@ class ActionDropdownRendererComponent extends ActionItemRendererComponent {
|
|
|
7425
7560
|
this.isHovering = false;
|
|
7426
7561
|
renderer.addClass(hostElement.nativeElement, 'sme-position-stretch');
|
|
7427
7562
|
}
|
|
7563
|
+
get actionTitle() {
|
|
7564
|
+
return this.item.name && this.item.name !== this.item.text ? this.item.name : null;
|
|
7565
|
+
}
|
|
7566
|
+
get actionDropdownId() {
|
|
7567
|
+
return this.item.actionId;
|
|
7568
|
+
}
|
|
7428
7569
|
/**
|
|
7429
7570
|
* Method called to register a change with the ActionButton.
|
|
7430
7571
|
* @param item The ActionButton to register change for.
|
|
@@ -7498,18 +7639,19 @@ ActionDropdownRendererComponent.hoverTimeToActivate = 500;
|
|
|
7498
7639
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropDownButtonElement = _t.first);
|
|
7499
7640
|
} }, hostBindings: function ActionDropdownRendererComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
7500
7641
|
ɵɵ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); });
|
|
7501
|
-
} }, features: [ɵɵInheritDefinitionFeature], decls:
|
|
7642
|
+
} }, features: [ɵɵ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) { if (rf & 1) {
|
|
7502
7643
|
ɵɵelementStart(0, "sme-dropdown", 0, 1);
|
|
7503
7644
|
ɵɵelementStart(2, "button", 2, 3);
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7645
|
+
ɵɵtemplate(4, ActionDropdownRendererComponent_p_4_Template, 2, 1, "p", 4);
|
|
7646
|
+
ɵɵelement(5, "span", 5);
|
|
7647
|
+
ɵɵelementStart(6, "span");
|
|
7648
|
+
ɵɵtext(7);
|
|
7507
7649
|
ɵɵelementEnd();
|
|
7508
|
-
ɵɵtemplate(7, ActionDropdownRendererComponent_span_7_Template, 1, 0, "span", 5);
|
|
7509
7650
|
ɵɵtemplate(8, ActionDropdownRendererComponent_span_8_Template, 1, 0, "span", 6);
|
|
7651
|
+
ɵɵtemplate(9, ActionDropdownRendererComponent_span_9_Template, 1, 0, "span", 7);
|
|
7510
7652
|
ɵɵelementEnd();
|
|
7511
|
-
ɵɵelementStart(
|
|
7512
|
-
ɵɵlistener("targetChange", function
|
|
7653
|
+
ɵɵelementStart(10, "sme-action-menu", 8);
|
|
7654
|
+
ɵɵ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); });
|
|
7513
7655
|
ɵɵelementEnd();
|
|
7514
7656
|
ɵɵelementEnd();
|
|
7515
7657
|
} if (rf & 2) {
|
|
@@ -7517,9 +7659,11 @@ ActionDropdownRendererComponent.hoverTimeToActivate = 500;
|
|
|
7517
7659
|
ɵɵproperty("displayToSide", (ctx.item.container == null ? null : ctx.item.container.orientation) === "horizontal");
|
|
7518
7660
|
ɵɵadvance(2);
|
|
7519
7661
|
ɵɵclassProp("sme-toggled", _r0.isOpen);
|
|
7520
|
-
ɵɵproperty("smeDisabled", !ctx.item.enabled || ctx.item.busy || !ctx.item.ready);
|
|
7521
|
-
ɵɵattribute("aria-expanded", _r0.isOpen);
|
|
7662
|
+
ɵɵproperty("smeDisabled", !ctx.item.enabled || ctx.item.busy || !ctx.item.ready)("title", ctx.actionTitle);
|
|
7663
|
+
ɵɵattribute("aria-expanded", _r0.isOpen)("data-uta-id", ctx.actionDropdownId);
|
|
7522
7664
|
ɵɵadvance(2);
|
|
7665
|
+
ɵɵproperty("ngIf", ctx.actionTitle);
|
|
7666
|
+
ɵɵadvance(1);
|
|
7523
7667
|
ɵɵproperty("ngClass", ctx.item.iconClass || "");
|
|
7524
7668
|
ɵɵadvance(1);
|
|
7525
7669
|
ɵɵclassProp("sme-screen-reader", ctx.item.container.compact);
|
|
@@ -7987,7 +8131,7 @@ class ActionsModule {
|
|
|
7987
8131
|
}], null, null); })();
|
|
7988
8132
|
ɵɵsetComponentScope(ActionBarComponent, [NgForOf, DynamicActionItemComponent, DropdownComponent, TooltipDirective, ActionMenuComponent], []);
|
|
7989
8133
|
ɵɵsetComponentScope(ActionMenuComponent, [NgForOf, DynamicActionItemComponent], [FilterPipe]);
|
|
7990
|
-
ɵɵsetComponentScope(ActionDropdownRendererComponent, [DropdownComponent, DisabledDirective,
|
|
8134
|
+
ɵɵsetComponentScope(ActionDropdownRendererComponent, [DropdownComponent, DisabledDirective, TooltipDirective, NgIf, NgClass, ActionMenuComponent], []);
|
|
7991
8135
|
|
|
7992
8136
|
const _c0$c = ["*"];
|
|
7993
8137
|
class DropZoneComponent extends BaseComponent {
|
|
@@ -8774,6 +8918,22 @@ var LoadingWheelSize;
|
|
|
8774
8918
|
}
|
|
8775
8919
|
LoadingWheelSize.toProgressClass = toProgressClass;
|
|
8776
8920
|
})(LoadingWheelSize || (LoadingWheelSize = {}));
|
|
8921
|
+
/**
|
|
8922
|
+
* @smeDoc {@label Loading Wheel @id sme-loading-wheel}
|
|
8923
|
+
*
|
|
8924
|
+
* @overview
|
|
8925
|
+
* @file {@filepath ./examples/loading-wheel-overview.md}
|
|
8926
|
+
*
|
|
8927
|
+
* @example {@label Small loading wheel example @id small-loading-wheel}
|
|
8928
|
+
* @file {@filename small-loading-wheel-example.html @filepath ./examples/small-loading-wheel-example.html }
|
|
8929
|
+
* @file {@filename small-loading-wheel-example.ts @filepath ./examples/small-loading-wheel-example.ts }
|
|
8930
|
+
* @file {@filename loading-wheel-example.module.ts @filepath ./examples/loading-wheel-example.module.ts }
|
|
8931
|
+
*
|
|
8932
|
+
* @example {@label Large loading wheel example @id large-loading-wheel}
|
|
8933
|
+
* @file {@filename large-loading-wheel-example.html @filepath ./examples/large-loading-wheel-example.html }
|
|
8934
|
+
* @file {@filename large-loading-wheel-example.ts @filepath ./examples/large-loading-wheel-example.ts }
|
|
8935
|
+
* @file {@filename loading-wheel-example.module.ts @filepath ./examples/loading-wheel-example.module.ts }
|
|
8936
|
+
*/
|
|
8777
8937
|
class LoadingWheelComponent extends CoreBaseComponent {
|
|
8778
8938
|
constructor(layout, injector) {
|
|
8779
8939
|
super(injector);
|
|
@@ -9678,6 +9838,13 @@ class FormFieldComponent extends BaseComponent {
|
|
|
9678
9838
|
get loadingOrDisabled() {
|
|
9679
9839
|
return (this.disabled || this.loading) ? true : null;
|
|
9680
9840
|
}
|
|
9841
|
+
/**
|
|
9842
|
+
* The form field's UTA id getter.
|
|
9843
|
+
* The ID is based on the form field name that's set on the ngModel.
|
|
9844
|
+
*/
|
|
9845
|
+
get dataUtaId() {
|
|
9846
|
+
return this.utaId ? this.utaId : this.ngModel && this.ngModel.name && this.ngModel.name.toString();
|
|
9847
|
+
}
|
|
9681
9848
|
/**
|
|
9682
9849
|
* Placeholder for the combined disabled state
|
|
9683
9850
|
*/
|
|
@@ -10349,10 +10516,10 @@ FormFieldComponent.selector = 'sme-form-field';
|
|
|
10349
10516
|
} if (rf & 2) {
|
|
10350
10517
|
let _t;
|
|
10351
10518
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.subFormTemplate = _t.first);
|
|
10352
|
-
} }, hostVars:
|
|
10353
|
-
ɵɵattribute("disabled", ctx.loadingOrDisabled)("aria-disabled", ctx.loadingOrDisabled);
|
|
10519
|
+
} }, hostVars: 15, hostBindings: function FormFieldComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10520
|
+
ɵɵattribute("disabled", ctx.loadingOrDisabled)("aria-disabled", ctx.loadingOrDisabled)("data-uta-id", ctx.dataUtaId);
|
|
10354
10521
|
ɵɵ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);
|
|
10355
|
-
} }, 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: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature] });
|
|
10522
|
+
} }, 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: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature] });
|
|
10356
10523
|
__decorate([
|
|
10357
10524
|
SmeInject(NgControl, true),
|
|
10358
10525
|
__metadata("design:type", NgControl)
|
|
@@ -10452,6 +10619,11 @@ __decorate([
|
|
|
10452
10619
|
type: Input
|
|
10453
10620
|
}], pendingMessage: [{
|
|
10454
10621
|
type: Input
|
|
10622
|
+
}], utaId: [{
|
|
10623
|
+
type: Input
|
|
10624
|
+
}], dataUtaId: [{
|
|
10625
|
+
type: HostBinding,
|
|
10626
|
+
args: ['attr.data-uta-id']
|
|
10455
10627
|
}], immediateValidation: [{
|
|
10456
10628
|
type: Input
|
|
10457
10629
|
}], change: [{
|
|
@@ -11019,14 +11191,16 @@ class FormFieldOptionComponent {
|
|
|
11019
11191
|
let _t;
|
|
11020
11192
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.defaultSubFormTemplate = _t.first);
|
|
11021
11193
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.allTemplates = _t);
|
|
11022
|
-
} }, 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 });
|
|
11194
|
+
} }, 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 });
|
|
11023
11195
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(FormFieldOptionComponent, [{
|
|
11024
11196
|
type: Component,
|
|
11025
11197
|
args: [{
|
|
11026
11198
|
selector: 'sme-option',
|
|
11027
11199
|
template: ''
|
|
11028
11200
|
}]
|
|
11029
|
-
}], null, {
|
|
11201
|
+
}], null, { utaId: [{
|
|
11202
|
+
type: Input
|
|
11203
|
+
}], value: [{
|
|
11030
11204
|
type: Input
|
|
11031
11205
|
}], label: [{
|
|
11032
11206
|
type: Input
|
|
@@ -11820,7 +11994,7 @@ function ValidationAlertComponent_div_1_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
11820
11994
|
ɵɵelement(0, "p", 7);
|
|
11821
11995
|
} if (rf & 2) {
|
|
11822
11996
|
const ctx_r3 = ɵɵnextContext(2);
|
|
11823
|
-
ɵɵproperty("smeMarkdown", ctx_r3.message)
|
|
11997
|
+
ɵɵproperty("smeMarkdown", ctx_r3.message);
|
|
11824
11998
|
ɵɵattribute("id", ctx_r3.idBag.alertMessage);
|
|
11825
11999
|
} }
|
|
11826
12000
|
function ValidationAlertComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -11829,7 +12003,7 @@ function ValidationAlertComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11829
12003
|
ɵɵtext(2);
|
|
11830
12004
|
ɵɵelementEnd();
|
|
11831
12005
|
ɵɵtemplate(3, ValidationAlertComponent_div_1_span_3_Template, 2, 2, "span", 4);
|
|
11832
|
-
ɵɵtemplate(4, ValidationAlertComponent_div_1_p_4_Template, 1,
|
|
12006
|
+
ɵɵtemplate(4, ValidationAlertComponent_div_1_p_4_Template, 1, 2, "p", 5);
|
|
11833
12007
|
ɵɵelementEnd();
|
|
11834
12008
|
} if (rf & 2) {
|
|
11835
12009
|
const ctx_r1 = ɵɵnextContext();
|
|
@@ -11953,12 +12127,6 @@ class ValidationAlertComponent extends CoreBaseComponent {
|
|
|
11953
12127
|
get isSuccess() {
|
|
11954
12128
|
return this.valid && !this.isPending && !this.hasSeverity;
|
|
11955
12129
|
}
|
|
11956
|
-
/**
|
|
11957
|
-
* Optionally center text for the alert.
|
|
11958
|
-
*/
|
|
11959
|
-
get useInlineLexer() {
|
|
11960
|
-
return this.hasAlert ? !!this.alert.useInlineLexer : false;
|
|
11961
|
-
}
|
|
11962
12130
|
/**
|
|
11963
12131
|
* Indicates that the current alert is an success alert
|
|
11964
12132
|
*/
|
|
@@ -12043,7 +12211,7 @@ class ValidationAlertComponent extends CoreBaseComponent {
|
|
|
12043
12211
|
/** @nocollapse */ ValidationAlertComponent.ɵfac = function ValidationAlertComponent_Factory(t) { return ɵValidationAlertComponent_BaseFactory(t || ValidationAlertComponent); };
|
|
12044
12212
|
/** @nocollapse */ ValidationAlertComponent.ɵcmp = ɵɵdefineComponent({ type: ValidationAlertComponent, selectors: [["sme-validation-alert"], ["sme-alert"]], hostVars: 14, hostBindings: function ValidationAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
12045
12213
|
ɵɵ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);
|
|
12046
|
-
} }, inputs: { showBackground: "showBackground", alert: "alert", role: "role" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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",
|
|
12214
|
+
} }, inputs: { showBackground: "showBackground", alert: "alert", role: "role" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
12047
12215
|
ɵɵtemplate(0, ValidationAlertComponent_sme_loading_wheel_0_Template, 1, 1, "sme-loading-wheel", 0);
|
|
12048
12216
|
ɵɵtemplate(1, ValidationAlertComponent_div_1_Template, 5, 6, "div", 1);
|
|
12049
12217
|
} if (rf & 2) {
|
|
@@ -12247,7 +12415,7 @@ function ChecklistFormFieldComponent_div_1_div_1_Template(rf, ctx) { if (rf & 1)
|
|
|
12247
12415
|
const ctx_r1 = ɵɵnextContext(2);
|
|
12248
12416
|
ɵɵadvance(2);
|
|
12249
12417
|
ɵɵproperty("id", ctx_r1.idBag.selectAllCheckbox)("checked", ctx_r1.isAllOptionsSelected)("disabled", ctx_r1.loadingOrDisabled);
|
|
12250
|
-
ɵɵattribute("aria-label", ctx_r1.selectAllLabel)("aria-describedby", ctx_r1.idBag.selectAllCheckboxDescription)("aria-checked", ctx_r1.isAllOptionsSelected);
|
|
12418
|
+
ɵɵattribute("aria-label", ctx_r1.selectAllLabel)("aria-describedby", ctx_r1.idBag.selectAllCheckboxDescription)("aria-checked", ctx_r1.isAllOptionsSelected)("aria-required", ctx_r1.required);
|
|
12251
12419
|
ɵɵadvance(2);
|
|
12252
12420
|
ɵɵtextInterpolate(ctx_r1.selectAllLabel);
|
|
12253
12421
|
ɵɵadvance(1);
|
|
@@ -12304,7 +12472,7 @@ function ChecklistFormFieldComponent_div_1_ng_container_2_Template(rf, ctx) { if
|
|
|
12304
12472
|
} }
|
|
12305
12473
|
function ChecklistFormFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
12306
12474
|
ɵɵelementStart(0, "div", 3);
|
|
12307
|
-
ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7,
|
|
12475
|
+
ɵɵtemplate(1, ChecklistFormFieldComponent_div_1_div_1_Template, 7, 10, "div", 4);
|
|
12308
12476
|
ɵɵtemplate(2, ChecklistFormFieldComponent_div_1_ng_container_2_Template, 9, 11, "ng-container", 5);
|
|
12309
12477
|
ɵɵelementEnd();
|
|
12310
12478
|
} if (rf & 2) {
|
|
@@ -13833,13 +14001,14 @@ class DialogService {
|
|
|
13833
14001
|
* @deprecated since 02/20/18. Please use 'AppContextService.frame.showDialogConfirmation' instead
|
|
13834
14002
|
*/
|
|
13835
14003
|
showConfirmation(options) {
|
|
14004
|
+
let confirmationObservable;
|
|
13836
14005
|
// if running from shell, manually launch dialog
|
|
13837
14006
|
if (this.appContext.rpc.isShell) {
|
|
13838
|
-
|
|
14007
|
+
confirmationObservable = this.show(this.commonIds.confirmation, options);
|
|
13839
14008
|
}
|
|
13840
14009
|
else {
|
|
13841
14010
|
// otherwise ask the shell to do it for us.
|
|
13842
|
-
|
|
14011
|
+
confirmationObservable = this.appContext.frame.showDialogConfirmation({
|
|
13843
14012
|
cancelButtonText: options.cancelButtonText,
|
|
13844
14013
|
checkboxText: options.checkboxText,
|
|
13845
14014
|
confirmButtonText: options.confirmButtonText,
|
|
@@ -13848,6 +14017,9 @@ class DialogService {
|
|
|
13848
14017
|
title: options.title
|
|
13849
14018
|
});
|
|
13850
14019
|
}
|
|
14020
|
+
return confirmationObservable.pipe(map((response) => {
|
|
14021
|
+
return response || { confirmed: false, checkboxResult: false };
|
|
14022
|
+
}));
|
|
13851
14023
|
}
|
|
13852
14024
|
/**
|
|
13853
14025
|
* Hide a confirmation dialog.
|
|
@@ -14767,54 +14939,63 @@ function ArrayFormFieldLoaderComponent_ng_template_2_Template(rf, ctx) { if (rf
|
|
|
14767
14939
|
} }
|
|
14768
14940
|
const _c1$b = ["addButton"];
|
|
14769
14941
|
const _c2$7 = ["type", "array"];
|
|
14942
|
+
const _c3$3 = function (a0, a1) { return { index: a0, ariaLabelId: a1 }; };
|
|
14943
|
+
function ArrayFormFieldComponent_sme_accordion_panel_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
14944
|
+
ɵɵelementContainer(0, 15);
|
|
14945
|
+
} if (rf & 2) {
|
|
14946
|
+
const ctx_r8 = ɵɵnextContext();
|
|
14947
|
+
const item_r2 = ctx_r8.$implicit;
|
|
14948
|
+
const i_r3 = ctx_r8.index;
|
|
14949
|
+
const ctx_r4 = ɵɵnextContext();
|
|
14950
|
+
ɵɵproperty("template", ctx_r4.headerTemplate)("data", item_r2)("hostData", ɵɵpureFunction2(3, _c3$3, i_r3, ctx_r4.getItemAriaId(i_r3, "itemHeader")));
|
|
14951
|
+
} }
|
|
14770
14952
|
function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
14771
|
-
const
|
|
14772
|
-
ɵɵelementStart(0, "button",
|
|
14773
|
-
ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { ɵɵrestoreView(
|
|
14774
|
-
ɵɵelement(1, "span",
|
|
14953
|
+
const _r11 = ɵɵgetCurrentView();
|
|
14954
|
+
ɵɵelementStart(0, "button", 16);
|
|
14955
|
+
ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template_button_click_0_listener() { ɵɵrestoreView(_r11); const item_r2 = ɵɵnextContext().$implicit; const ctx_r9 = ɵɵnextContext(); return ctx_r9.moveUp(item_r2); });
|
|
14956
|
+
ɵɵelement(1, "span", 17);
|
|
14775
14957
|
ɵɵelementEnd();
|
|
14776
14958
|
} if (rf & 2) {
|
|
14777
|
-
const
|
|
14778
|
-
ɵɵproperty("title",
|
|
14779
|
-
ɵɵattribute("aria-label",
|
|
14959
|
+
const ctx_r5 = ɵɵnextContext(2);
|
|
14960
|
+
ɵɵproperty("title", ctx_r5.strings.MsftSmeShell.Angular.Form.Array.promoteButtonTooltip)("smeDisabled", ctx_r5.loadingOrDisabled);
|
|
14961
|
+
ɵɵattribute("aria-label", ctx_r5.strings.MsftSmeShell.Angular.Form.Array.promoteButtonAriaLabel);
|
|
14780
14962
|
} }
|
|
14781
14963
|
function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
14782
|
-
const
|
|
14783
|
-
ɵɵelementStart(0, "button",
|
|
14784
|
-
ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { ɵɵrestoreView(
|
|
14785
|
-
ɵɵelement(1, "span",
|
|
14964
|
+
const _r14 = ɵɵgetCurrentView();
|
|
14965
|
+
ɵɵelementStart(0, "button", 18);
|
|
14966
|
+
ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template_button_click_0_listener() { ɵɵrestoreView(_r14); const item_r2 = ɵɵnextContext().$implicit; const ctx_r12 = ɵɵnextContext(); return ctx_r12.moveDown(item_r2); });
|
|
14967
|
+
ɵɵelement(1, "span", 19);
|
|
14786
14968
|
ɵɵelementEnd();
|
|
14787
14969
|
} if (rf & 2) {
|
|
14788
|
-
const
|
|
14789
|
-
ɵɵproperty("title",
|
|
14790
|
-
ɵɵattribute("aria-label",
|
|
14970
|
+
const ctx_r6 = ɵɵnextContext(2);
|
|
14971
|
+
ɵɵproperty("title", ctx_r6.strings.MsftSmeShell.Angular.Form.Array.demoteButtonTooltip)("smeDisabled", ctx_r6.loadingOrDisabled);
|
|
14972
|
+
ɵɵattribute("aria-label", ctx_r6.strings.MsftSmeShell.Angular.Form.Array.demoteButtonAriaLabel);
|
|
14791
14973
|
} }
|
|
14792
14974
|
function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
14793
|
-
const
|
|
14794
|
-
ɵɵelementStart(0, "button",
|
|
14795
|
-
ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template_button_click_0_listener() { ɵɵrestoreView(
|
|
14796
|
-
ɵɵelement(1, "span",
|
|
14975
|
+
const _r17 = ɵɵgetCurrentView();
|
|
14976
|
+
ɵɵelementStart(0, "button", 20);
|
|
14977
|
+
ɵɵlistener("click", function ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template_button_click_0_listener() { ɵɵrestoreView(_r17); const item_r2 = ɵɵnextContext().$implicit; const ctx_r15 = ɵɵnextContext(); return ctx_r15.delete(item_r2); });
|
|
14978
|
+
ɵɵelement(1, "span", 21);
|
|
14797
14979
|
ɵɵelementEnd();
|
|
14798
14980
|
} if (rf & 2) {
|
|
14799
|
-
const
|
|
14800
|
-
ɵɵproperty("title",
|
|
14801
|
-
ɵɵattribute("aria-label",
|
|
14981
|
+
const ctx_r7 = ɵɵnextContext(2);
|
|
14982
|
+
ɵɵproperty("title", ctx_r7.strings.MsftSmeShell.Angular.Form.Array.removeButtonTooltip)("smeDisabled", ctx_r7.loadingOrDisabled);
|
|
14983
|
+
ɵɵattribute("aria-label", ctx_r7.strings.MsftSmeShell.Angular.Form.Array.removeButtonAriaLabel);
|
|
14802
14984
|
} }
|
|
14803
|
-
const _c3$3 = function (a0, a1) { return { index: a0, ariaLabelId: a1 }; };
|
|
14804
14985
|
function ArrayFormFieldComponent_sme_accordion_panel_3_Template(rf, ctx) { if (rf & 1) {
|
|
14805
14986
|
ɵɵelementStart(0, "sme-accordion-panel", 7);
|
|
14806
14987
|
ɵɵelementStart(1, "sme-panel-control");
|
|
14807
|
-
|
|
14988
|
+
ɵɵtemplate(2, ArrayFormFieldComponent_sme_accordion_panel_3_ng_container_2_Template, 1, 6, "ng-container", 8);
|
|
14808
14989
|
ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_button_3_Template, 2, 3, "button", 9);
|
|
14809
|
-
ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button",
|
|
14810
|
-
ɵɵtemplate(5, ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template, 2, 3, "button",
|
|
14990
|
+
ɵɵtemplate(4, ArrayFormFieldComponent_sme_accordion_panel_3_button_4_Template, 2, 3, "button", 10);
|
|
14991
|
+
ɵɵtemplate(5, ArrayFormFieldComponent_sme_accordion_panel_3_button_5_Template, 2, 3, "button", 11);
|
|
14811
14992
|
ɵɵelementEnd();
|
|
14812
|
-
ɵɵelementStart(6, "span",
|
|
14993
|
+
ɵɵelementStart(6, "span", 12);
|
|
14813
14994
|
ɵɵtext(7);
|
|
14814
14995
|
ɵɵelementEnd();
|
|
14815
|
-
ɵɵelementStart(8, "fieldset",
|
|
14816
|
-
ɵɵelementStart(9, "div",
|
|
14817
|
-
ɵɵelementContainer(10,
|
|
14996
|
+
ɵɵelementStart(8, "fieldset", 13);
|
|
14997
|
+
ɵɵelementStart(9, "div", 14);
|
|
14998
|
+
ɵɵelementContainer(10, 15);
|
|
14818
14999
|
ɵɵelementEnd();
|
|
14819
15000
|
ɵɵelementEnd();
|
|
14820
15001
|
ɵɵelementEnd();
|
|
@@ -14823,8 +15004,9 @@ function ArrayFormFieldComponent_sme_accordion_panel_3_Template(rf, ctx) { if (r
|
|
|
14823
15004
|
const i_r3 = ctx.index;
|
|
14824
15005
|
const ctx_r0 = ɵɵnextContext();
|
|
14825
15006
|
ɵɵproperty("header", ctx_r0.getItemTitle(item_r2, i_r3))("isExpandable", false);
|
|
15007
|
+
ɵɵattribute("data-uta-id", "array-form-field-item-" + i_r3);
|
|
14826
15008
|
ɵɵadvance(2);
|
|
14827
|
-
ɵɵproperty("
|
|
15009
|
+
ɵɵproperty("ngIf", ctx_r0.headerTemplate);
|
|
14828
15010
|
ɵɵadvance(1);
|
|
14829
15011
|
ɵɵproperty("ngIf", ctx_r0.showMove);
|
|
14830
15012
|
ɵɵadvance(1);
|
|
@@ -14841,12 +15023,12 @@ function ArrayFormFieldComponent_sme_accordion_panel_3_Template(rf, ctx) { if (r
|
|
|
14841
15023
|
ɵɵadvance(1);
|
|
14842
15024
|
ɵɵproperty("id", ctx_r0.getItemAriaId(i_r3, "itemContainer"));
|
|
14843
15025
|
ɵɵadvance(1);
|
|
14844
|
-
ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", ɵɵpureFunction2(
|
|
15026
|
+
ɵɵproperty("template", ctx_r0.itemTemplate)("data", item_r2)("hostData", ɵɵpureFunction2(16, _c3$3, i_r3, ctx_r0.getItemAriaId(i_r3, "item")));
|
|
14845
15027
|
} }
|
|
14846
15028
|
function ArrayFormFieldComponent_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
14847
|
-
const
|
|
14848
|
-
ɵɵelementStart(0, "button",
|
|
14849
|
-
ɵɵlistener("click", function ArrayFormFieldComponent_button_4_Template_button_click_0_listener() { ɵɵrestoreView(
|
|
15029
|
+
const _r20 = ɵɵgetCurrentView();
|
|
15030
|
+
ɵɵelementStart(0, "button", 22, 23);
|
|
15031
|
+
ɵɵlistener("click", function ArrayFormFieldComponent_button_4_Template_button_click_0_listener() { ɵɵrestoreView(_r20); const ctx_r19 = ɵɵnextContext(); return ctx_r19.add(); });
|
|
14850
15032
|
ɵɵtext(2);
|
|
14851
15033
|
ɵɵelementEnd();
|
|
14852
15034
|
} if (rf & 2) {
|
|
@@ -15157,11 +15339,11 @@ let ArrayFormFieldComponent = class ArrayFormFieldComponent extends SmeInternalF
|
|
|
15157
15339
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.addButton = _t.first);
|
|
15158
15340
|
} }, hostVars: 1, hostBindings: function ArrayFormFieldComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
15159
15341
|
ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
15160
|
-
} }, 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: [ɵɵ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) { if (rf & 1) {
|
|
15342
|
+
} }, 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: [ɵɵ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) { if (rf & 1) {
|
|
15161
15343
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
15162
15344
|
ɵɵelementStart(1, "div", 1);
|
|
15163
15345
|
ɵɵelementStart(2, "sme-accordion", 2);
|
|
15164
|
-
ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 11,
|
|
15346
|
+
ɵɵtemplate(3, ArrayFormFieldComponent_sme_accordion_panel_3_Template, 11, 19, "sme-accordion-panel", 3);
|
|
15165
15347
|
ɵɵelementEnd();
|
|
15166
15348
|
ɵɵtemplate(4, ArrayFormFieldComponent_button_4_Template, 3, 4, "button", 4);
|
|
15167
15349
|
ɵɵelementEnd();
|
|
@@ -15182,7 +15364,7 @@ let ArrayFormFieldComponent = class ArrayFormFieldComponent extends SmeInternalF
|
|
|
15182
15364
|
ɵɵproperty("alert", ctx.alert);
|
|
15183
15365
|
ɵɵadvance(2);
|
|
15184
15366
|
ɵɵtextInterpolate(ctx.screenReaderEvent);
|
|
15185
|
-
} }, directives: [FormFieldLayoutComponent, AccordionComponent, NgForOf, NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent,
|
|
15367
|
+
} }, directives: [FormFieldLayoutComponent, AccordionComponent, NgForOf, NgIf, ValidationAlertComponent, AccordionPanelComponent, PanelControlComponent, FieldsetDirective, TemplateOutletDirective, TooltipDirective, DisabledDirective], encapsulation: 2 });
|
|
15186
15368
|
ArrayFormFieldComponent = __decorate([
|
|
15187
15369
|
SmeSchemaProperty({
|
|
15188
15370
|
type: SchemaPrimitiveType.Array,
|
|
@@ -17229,7 +17411,7 @@ class SearchFormFieldComponent extends SmeInternalFormFieldComponent {
|
|
|
17229
17411
|
}
|
|
17230
17412
|
}
|
|
17231
17413
|
/** @nocollapse */ SearchFormFieldComponent.ɵfac = function SearchFormFieldComponent_Factory(t) { return new (t || SearchFormFieldComponent)(ɵɵdirectiveInject(Injector)); };
|
|
17232
|
-
/** @nocollapse */ SearchFormFieldComponent.ɵcmp = ɵɵ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: [ɵɵ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) { if (rf & 1) {
|
|
17414
|
+
/** @nocollapse */ SearchFormFieldComponent.ɵcmp = ɵɵ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: [ɵɵ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) { if (rf & 1) {
|
|
17233
17415
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
17234
17416
|
ɵɵelementStart(1, "div", 1);
|
|
17235
17417
|
ɵɵelementStart(2, "input", 2);
|
|
@@ -17423,14 +17605,14 @@ function ComboboxFormFieldComponent_ng_template_16_Template(rf, ctx) { if (rf &
|
|
|
17423
17605
|
const ctx_r9 = ɵɵnextContext();
|
|
17424
17606
|
ɵɵclassProp("sme-selected", option_r22.isSelected);
|
|
17425
17607
|
ɵɵproperty("disabled", option_r22.disabled);
|
|
17426
|
-
ɵɵattribute("aria-selected", option_r22.isSelected)("aria-label", option_r22.toString());
|
|
17608
|
+
ɵɵattribute("aria-selected", option_r22.isSelected)("aria-label", option_r22.toString())("data-uta-id", option_r22.utaId ? option_r22.utaId : option_r22.value);
|
|
17427
17609
|
ɵɵadvance(1);
|
|
17428
17610
|
ɵɵproperty("smeTooltip", option_r22.disabled ? null : option_r22.resolvedTooltipTemplate)("smeTooltipContext", option_r22.disabled ? null : option_r22.tooltipContext || option_r22);
|
|
17429
17611
|
ɵɵadvance(1);
|
|
17430
17612
|
ɵɵclassProp("sme-arrange-ellipsis", !ctx_r9.overflowWrap)("sme-combobox-option-wrap", ctx_r9.overflowWrap);
|
|
17431
17613
|
ɵɵproperty("title", option_r22.resolvedTitle);
|
|
17432
17614
|
ɵɵadvance(1);
|
|
17433
|
-
|
|
17615
|
+
ɵɵtextInterpolate1("", option_r22.toString(), " ");
|
|
17434
17616
|
} }
|
|
17435
17617
|
function ComboboxFormFieldComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
17436
17618
|
const _r27 = ɵɵgetCurrentView();
|
|
@@ -17439,9 +17621,10 @@ function ComboboxFormFieldComponent_ng_template_18_Template(rf, ctx) { if (rf &
|
|
|
17439
17621
|
ɵɵelementStart(2, "input", 28);
|
|
17440
17622
|
ɵɵlistener("change", function ComboboxFormFieldComponent_ng_template_18_Template_input_change_2_listener() { ɵɵrestoreView(_r27); const option_r25 = ctx.$implicit; const ctx_r26 = ɵɵnextContext(); return ctx_r26.toggleOption(option_r25, !option_r25.isSelected); });
|
|
17441
17623
|
ɵɵelementEnd();
|
|
17442
|
-
|
|
17443
|
-
ɵɵelementStart(4, "span",
|
|
17444
|
-
|
|
17624
|
+
ɵɵtext(3, " [disabled]=\"option.disabled\" class=\"sme-layout-absolute sme-position-inset-none\" /> ");
|
|
17625
|
+
ɵɵelementStart(4, "span", 29);
|
|
17626
|
+
ɵɵelementStart(5, "span", 30);
|
|
17627
|
+
ɵɵtext(6);
|
|
17445
17628
|
ɵɵelementEnd();
|
|
17446
17629
|
ɵɵelementEnd();
|
|
17447
17630
|
ɵɵelementEnd();
|
|
@@ -17450,15 +17633,15 @@ function ComboboxFormFieldComponent_ng_template_18_Template(rf, ctx) { if (rf &
|
|
|
17450
17633
|
const option_r25 = ctx.$implicit;
|
|
17451
17634
|
const ctx_r11 = ɵɵnextContext();
|
|
17452
17635
|
ɵɵadvance(2);
|
|
17453
|
-
ɵɵproperty("checked", option_r25.isSelected)
|
|
17454
|
-
ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString());
|
|
17455
|
-
ɵɵadvance(
|
|
17636
|
+
ɵɵproperty("checked", option_r25.isSelected);
|
|
17637
|
+
ɵɵattribute("aria-checked", option_r25.isSelected)("aria-label", option_r25.toString())("data-uta-id", option_r25.utaId ? option_r25.utaId : option_r25.value);
|
|
17638
|
+
ɵɵadvance(2);
|
|
17456
17639
|
ɵɵclassProp("sme-combobox-option-wrap", ctx_r11.overflowWrap);
|
|
17457
17640
|
ɵɵproperty("smeTooltip", option_r25.disabled ? null : option_r25.resolvedTooltipTemplate)("title", option_r25.resolvedTitle)("smeTooltipContext", option_r25.disabled ? null : option_r25.tooltipContext || option_r25);
|
|
17458
17641
|
ɵɵadvance(1);
|
|
17459
17642
|
ɵɵclassProp("sme-arrange-ellipsis", !ctx_r11.overflowWrap);
|
|
17460
17643
|
ɵɵadvance(1);
|
|
17461
|
-
|
|
17644
|
+
ɵɵtextInterpolate1("", option_r25.toString(), " ");
|
|
17462
17645
|
} }
|
|
17463
17646
|
const _c5 = function (a0) { return { "max-width.px": a0 }; };
|
|
17464
17647
|
const _c6 = function () { return { "max-width": "initial" }; };
|
|
@@ -17771,7 +17954,7 @@ let ComboboxFormFieldComponent = class ComboboxFormFieldComponent extends SmeInt
|
|
|
17771
17954
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.multiSelectTemplate = _t.first);
|
|
17772
17955
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.listboxElement = _t.first);
|
|
17773
17956
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
17774
|
-
} }, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [ɵɵ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",
|
|
17957
|
+
} }, inputs: { multiple: "multiple", overflowWrap: "overflowWrap", maintainSearch: "maintainSearch", dropdownApplyFormFieldOffsetWidth: "dropdownApplyFormFieldOffsetWidth" }, features: [ɵɵ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) { if (rf & 1) {
|
|
17775
17958
|
const _r28 = ɵɵgetCurrentView();
|
|
17776
17959
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
17777
17960
|
ɵɵelementStart(1, "sme-dropdown", 1, 2);
|
|
@@ -17795,8 +17978,8 @@ let ComboboxFormFieldComponent = class ComboboxFormFieldComponent extends SmeInt
|
|
|
17795
17978
|
ɵɵelementEnd();
|
|
17796
17979
|
ɵɵelementEnd();
|
|
17797
17980
|
ɵɵelement(15, "sme-validation-alert", 14);
|
|
17798
|
-
ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4,
|
|
17799
|
-
ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template,
|
|
17981
|
+
ɵɵtemplate(16, ComboboxFormFieldComponent_ng_template_16_Template, 4, 14, "ng-template", null, 15, ɵɵtemplateRefExtractor);
|
|
17982
|
+
ɵɵtemplate(18, ComboboxFormFieldComponent_ng_template_18_Template, 7, 12, "ng-template", null, 16, ɵɵtemplateRefExtractor);
|
|
17800
17983
|
ɵɵelementEnd();
|
|
17801
17984
|
} if (rf & 2) {
|
|
17802
17985
|
const _r0 = ɵɵreference(2);
|
|
@@ -18287,7 +18470,7 @@ class DateTimeFormFieldComponent extends DateLikeFormFieldComponent {
|
|
|
18287
18470
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropDown = _t.first);
|
|
18288
18471
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.calendar = _t.first);
|
|
18289
18472
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.clock = _t.first);
|
|
18290
|
-
} }, features: [ɵɵ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) { if (rf & 1) {
|
|
18473
|
+
} }, features: [ɵɵ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) { if (rf & 1) {
|
|
18291
18474
|
const _r6 = ɵɵgetCurrentView();
|
|
18292
18475
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
18293
18476
|
ɵɵelementStart(1, "div", 1);
|
|
@@ -19987,7 +20170,7 @@ function OrderedListFormFieldLoaderComponent_ng_container_3_Template(rf, ctx) {
|
|
|
19987
20170
|
} }
|
|
19988
20171
|
const _c0$D = ["type", "orderedlist"];
|
|
19989
20172
|
function OrderedListFormFieldComponent_div_1_div_1_p_3_Template(rf, ctx) { if (rf & 1) {
|
|
19990
|
-
ɵɵelementStart(0, "p",
|
|
20173
|
+
ɵɵelementStart(0, "p", 14);
|
|
19991
20174
|
ɵɵtext(1);
|
|
19992
20175
|
ɵɵelementEnd();
|
|
19993
20176
|
} if (rf & 2) {
|
|
@@ -19998,14 +20181,14 @@ function OrderedListFormFieldComponent_div_1_div_1_p_3_Template(rf, ctx) { if (r
|
|
|
19998
20181
|
ɵɵtextInterpolate(ctx_r5.arrayGetValueDisplayString(ctx_r5.value[i_r4]));
|
|
19999
20182
|
} }
|
|
20000
20183
|
function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_sme_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
20001
|
-
ɵɵelement(0, "sme-option",
|
|
20184
|
+
ɵɵelement(0, "sme-option", 18);
|
|
20002
20185
|
} if (rf & 2) {
|
|
20003
20186
|
const option_r12 = ɵɵnextContext().$implicit;
|
|
20004
|
-
ɵɵproperty("value", option_r12.value)("label", option_r12.toString())("disabled", option_r12.disabled);
|
|
20187
|
+
ɵɵproperty("utaId", option_r12.utaId ? option_r12.utaId : option_r12.value)("value", option_r12.value)("label", option_r12.toString())("disabled", option_r12.disabled);
|
|
20005
20188
|
} }
|
|
20006
20189
|
function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
20007
20190
|
ɵɵelementContainerStart(0);
|
|
20008
|
-
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_sme_option_1_Template, 1,
|
|
20191
|
+
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_sme_option_1_Template, 1, 4, "sme-option", 17);
|
|
20009
20192
|
ɵɵelementContainerEnd();
|
|
20010
20193
|
} if (rf & 2) {
|
|
20011
20194
|
const option_r12 = ctx.$implicit;
|
|
@@ -20016,22 +20199,24 @@ function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container
|
|
|
20016
20199
|
} }
|
|
20017
20200
|
function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template(rf, ctx) { if (rf & 1) {
|
|
20018
20201
|
const _r17 = ɵɵgetCurrentView();
|
|
20019
|
-
ɵɵelementStart(0, "sme-form-field",
|
|
20202
|
+
ɵɵelementStart(0, "sme-form-field", 15);
|
|
20020
20203
|
ɵɵlistener("ngModelChange", function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template_sme_form_field_ngModelChange_0_listener($event) { ɵɵrestoreView(_r17); const i_r4 = ɵɵnextContext().index; const ctx_r16 = ɵɵ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() { ɵɵrestoreView(_r17); const ctx_r19 = ɵɵnextContext(3); return ctx_r19.triggerValueChange(); })("customValidate", function OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template_sme_form_field_customValidate_0_listener() { ɵɵrestoreView(_r17); const ctx_r20 = ɵɵnextContext(3); return ctx_r20.newItemCheck(); });
|
|
20021
|
-
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_Template, 2, 1, "ng-container",
|
|
20204
|
+
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_ng_container_1_Template, 2, 1, "ng-container", 16);
|
|
20022
20205
|
ɵɵelementEnd();
|
|
20023
20206
|
} if (rf & 2) {
|
|
20024
|
-
const
|
|
20207
|
+
const ctx_r21 = ɵɵnextContext();
|
|
20208
|
+
const item_r3 = ctx_r21.$implicit;
|
|
20209
|
+
const i_r4 = ctx_r21.index;
|
|
20025
20210
|
const ctx_r6 = ɵɵnextContext(2);
|
|
20026
|
-
ɵɵproperty("hideHeader", true)("valueComparator", ctx_r6.valueComparator)("ngModel", ctx_r6.value[i_r4])("label", ctx_r6.label)("searchable", ctx_r6.searchable);
|
|
20211
|
+
ɵɵ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);
|
|
20027
20212
|
ɵɵadvance(1);
|
|
20028
20213
|
ɵɵproperty("ngForOf", ctx_r6.options);
|
|
20029
20214
|
} }
|
|
20030
20215
|
function OrderedListFormFieldComponent_div_1_div_1_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
20031
20216
|
const _r24 = ɵɵgetCurrentView();
|
|
20032
|
-
ɵɵelementStart(0, "button",
|
|
20217
|
+
ɵɵelementStart(0, "button", 19);
|
|
20033
20218
|
ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_div_1_button_6_Template_button_click_0_listener() { ɵɵrestoreView(_r24); const i_r4 = ɵɵnextContext().index; const ctx_r22 = ɵɵnextContext(2); return ctx_r22.promoteItemAt(i_r4); });
|
|
20034
|
-
ɵɵelement(1, "span",
|
|
20219
|
+
ɵɵelement(1, "span", 20);
|
|
20035
20220
|
ɵɵelementEnd();
|
|
20036
20221
|
} if (rf & 2) {
|
|
20037
20222
|
const i_r4 = ɵɵnextContext().index;
|
|
@@ -20041,9 +20226,9 @@ function OrderedListFormFieldComponent_div_1_div_1_button_6_Template(rf, ctx) {
|
|
|
20041
20226
|
} }
|
|
20042
20227
|
function OrderedListFormFieldComponent_div_1_div_1_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
20043
20228
|
const _r28 = ɵɵgetCurrentView();
|
|
20044
|
-
ɵɵelementStart(0, "button",
|
|
20229
|
+
ɵɵelementStart(0, "button", 21);
|
|
20045
20230
|
ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_div_1_button_7_Template_button_click_0_listener() { ɵɵrestoreView(_r28); const i_r4 = ɵɵnextContext().index; const ctx_r26 = ɵɵnextContext(2); return ctx_r26.demoteItemAt(i_r4); });
|
|
20046
|
-
ɵɵelement(1, "span",
|
|
20231
|
+
ɵɵelement(1, "span", 22);
|
|
20047
20232
|
ɵɵelementEnd();
|
|
20048
20233
|
} if (rf & 2) {
|
|
20049
20234
|
const i_r4 = ɵɵnextContext().index;
|
|
@@ -20053,9 +20238,9 @@ function OrderedListFormFieldComponent_div_1_div_1_button_7_Template(rf, ctx) {
|
|
|
20053
20238
|
} }
|
|
20054
20239
|
function OrderedListFormFieldComponent_div_1_div_1_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
20055
20240
|
const _r32 = ɵɵgetCurrentView();
|
|
20056
|
-
ɵɵelementStart(0, "button",
|
|
20241
|
+
ɵɵelementStart(0, "button", 23);
|
|
20057
20242
|
ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_div_1_button_8_Template_button_click_0_listener() { ɵɵrestoreView(_r32); const i_r4 = ɵɵnextContext().index; const ctx_r30 = ɵɵnextContext(2); return ctx_r30.removeItemAt(i_r4); });
|
|
20058
|
-
ɵɵelement(1, "span",
|
|
20243
|
+
ɵɵelement(1, "span", 24);
|
|
20059
20244
|
ɵɵelementEnd();
|
|
20060
20245
|
} if (rf & 2) {
|
|
20061
20246
|
const ctx_r9 = ɵɵnextContext(3);
|
|
@@ -20069,15 +20254,17 @@ function OrderedListFormFieldComponent_div_1_div_1_Template(rf, ctx) { if (rf &
|
|
|
20069
20254
|
ɵɵelementEnd();
|
|
20070
20255
|
ɵɵtemplate(3, OrderedListFormFieldComponent_div_1_div_1_p_3_Template, 2, 2, "p", 8);
|
|
20071
20256
|
ɵɵelementStart(4, "div", 9);
|
|
20072
|
-
ɵɵtemplate(5, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template, 2,
|
|
20257
|
+
ɵɵtemplate(5, OrderedListFormFieldComponent_div_1_div_1_sme_form_field_5_Template, 2, 7, "sme-form-field", 10);
|
|
20073
20258
|
ɵɵelementEnd();
|
|
20074
20259
|
ɵɵtemplate(6, OrderedListFormFieldComponent_div_1_div_1_button_6_Template, 2, 4, "button", 11);
|
|
20075
|
-
ɵɵtemplate(7, OrderedListFormFieldComponent_div_1_div_1_button_7_Template, 2, 4, "button",
|
|
20076
|
-
ɵɵtemplate(8, OrderedListFormFieldComponent_div_1_div_1_button_8_Template, 2, 3, "button",
|
|
20260
|
+
ɵɵtemplate(7, OrderedListFormFieldComponent_div_1_div_1_button_7_Template, 2, 4, "button", 12);
|
|
20261
|
+
ɵɵtemplate(8, OrderedListFormFieldComponent_div_1_div_1_button_8_Template, 2, 3, "button", 13);
|
|
20077
20262
|
ɵɵelementEnd();
|
|
20078
20263
|
} if (rf & 2) {
|
|
20264
|
+
const item_r3 = ctx.$implicit;
|
|
20079
20265
|
const i_r4 = ctx.index;
|
|
20080
20266
|
const ctx_r1 = ɵɵnextContext(2);
|
|
20267
|
+
ɵɵattribute("data-uta-id", item_r3 ? item_r3.toString() + "-row" : "new-item-row");
|
|
20081
20268
|
ɵɵadvance(1);
|
|
20082
20269
|
ɵɵproperty("id", ctx_r1.idBag.detailsSpan + i_r4);
|
|
20083
20270
|
ɵɵadvance(1);
|
|
@@ -20097,7 +20284,7 @@ function OrderedListFormFieldComponent_div_1_div_1_Template(rf, ctx) { if (rf &
|
|
|
20097
20284
|
} }
|
|
20098
20285
|
function OrderedListFormFieldComponent_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
20099
20286
|
const _r34 = ɵɵgetCurrentView();
|
|
20100
|
-
ɵɵelementStart(0, "button",
|
|
20287
|
+
ɵɵelementStart(0, "button", 25);
|
|
20101
20288
|
ɵɵlistener("click", function OrderedListFormFieldComponent_div_1_button_2_Template_button_click_0_listener() { ɵɵrestoreView(_r34); const ctx_r33 = ɵɵnextContext(2); return ctx_r33.addListItem(); });
|
|
20102
20289
|
ɵɵtext(1);
|
|
20103
20290
|
ɵɵelementEnd();
|
|
@@ -20110,7 +20297,7 @@ function OrderedListFormFieldComponent_div_1_button_2_Template(rf, ctx) { if (rf
|
|
|
20110
20297
|
} }
|
|
20111
20298
|
function OrderedListFormFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
20112
20299
|
ɵɵelementStart(0, "div", 3);
|
|
20113
|
-
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_Template, 9,
|
|
20300
|
+
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_div_1_Template, 9, 10, "div", 4);
|
|
20114
20301
|
ɵɵtemplate(2, OrderedListFormFieldComponent_div_1_button_2_Template, 2, 4, "button", 5);
|
|
20115
20302
|
ɵɵelementEnd();
|
|
20116
20303
|
} if (rf & 2) {
|
|
@@ -20384,7 +20571,7 @@ let OrderedListFormFieldComponent = class OrderedListFormFieldComponent extends
|
|
|
20384
20571
|
/** @nocollapse */ OrderedListFormFieldComponent.ɵfac = function OrderedListFormFieldComponent_Factory(t) { return new (t || OrderedListFormFieldComponent)(ɵɵdirectiveInject(Injector)); };
|
|
20385
20572
|
/** @nocollapse */ OrderedListFormFieldComponent.ɵcmp = ɵɵdefineComponent({ type: OrderedListFormFieldComponent, selectors: [["sme-form-field", "type", "orderedlist"]], hostVars: 1, hostBindings: function OrderedListFormFieldComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
20386
20573
|
ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
20387
|
-
} }, inputs: { showAddRemove: "showAddRemove", showMove: "showMove", showSelect: "showSelect", addButtonText: "addButtonText", searchable: "searchable", allowEmpty: "allowEmpty" }, features: [ɵɵ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) { if (rf & 1) {
|
|
20574
|
+
} }, inputs: { showAddRemove: "showAddRemove", showMove: "showMove", showSelect: "showSelect", addButtonText: "addButtonText", searchable: "searchable", allowEmpty: "allowEmpty" }, features: [ɵɵ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) { if (rf & 1) {
|
|
20388
20575
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
20389
20576
|
ɵɵtemplate(1, OrderedListFormFieldComponent_div_1_Template, 3, 3, "div", 1);
|
|
20390
20577
|
ɵɵelement(2, "sme-validation-alert", 2);
|
|
@@ -20809,7 +20996,7 @@ function RadioGroupFormFieldComponent_ng_container_1_ng_container_1_ng_container
|
|
|
20809
20996
|
const ctx_r5 = ɵɵnextContext(2);
|
|
20810
20997
|
ɵɵadvance(3);
|
|
20811
20998
|
ɵɵproperty("name", ctx_r5.idBag.groupName)("value", option_r3.value)("ngModel", ctx_r5.value)("disabled", ctx_r5.loadingOrDisabled || option_r3.disabled);
|
|
20812
|
-
ɵɵ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);
|
|
20999
|
+
ɵɵ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);
|
|
20813
21000
|
ɵɵadvance(3);
|
|
20814
21001
|
ɵɵtextInterpolate(option_r3.label);
|
|
20815
21002
|
ɵɵadvance(1);
|
|
@@ -20823,7 +21010,7 @@ function RadioGroupFormFieldComponent_ng_container_1_ng_container_1_ng_container
|
|
|
20823
21010
|
} }
|
|
20824
21011
|
function RadioGroupFormFieldComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
20825
21012
|
ɵɵelementContainerStart(0);
|
|
20826
|
-
ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_1_ng_container_1_ng_container_1_Template, 11,
|
|
21013
|
+
ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_1_ng_container_1_ng_container_1_Template, 11, 15, "ng-container", 1);
|
|
20827
21014
|
ɵɵelementContainerEnd();
|
|
20828
21015
|
} if (rf & 2) {
|
|
20829
21016
|
const option_r3 = ctx.$implicit;
|
|
@@ -20886,7 +21073,7 @@ function RadioGroupFormFieldComponent_ng_container_2_ng_container_1_ng_container
|
|
|
20886
21073
|
const ctx_r24 = ɵɵnextContext(2);
|
|
20887
21074
|
ɵɵadvance(4);
|
|
20888
21075
|
ɵɵproperty("name", ctx_r24.idBag.groupName)("value", option_r22.value)("ngModel", ctx_r24.value)("disabled", ctx_r24.loadingOrDisabled || option_r22.disabled);
|
|
20889
|
-
ɵɵ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);
|
|
21076
|
+
ɵɵ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);
|
|
20890
21077
|
ɵɵadvance(3);
|
|
20891
21078
|
ɵɵtextInterpolate(option_r22.label);
|
|
20892
21079
|
ɵɵadvance(1);
|
|
@@ -20898,7 +21085,7 @@ function RadioGroupFormFieldComponent_ng_container_2_ng_container_1_ng_container
|
|
|
20898
21085
|
} }
|
|
20899
21086
|
function RadioGroupFormFieldComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
20900
21087
|
ɵɵelementContainerStart(0);
|
|
20901
|
-
ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_2_ng_container_1_ng_container_1_Template, 11,
|
|
21088
|
+
ɵɵtemplate(1, RadioGroupFormFieldComponent_ng_container_2_ng_container_1_ng_container_1_Template, 11, 14, "ng-container", 1);
|
|
20902
21089
|
ɵɵelementContainerEnd();
|
|
20903
21090
|
} if (rf & 2) {
|
|
20904
21091
|
const option_r22 = ctx.$implicit;
|
|
@@ -21931,7 +22118,7 @@ let TagsFormFieldComponent = class TagsFormFieldComponent extends SmeInternalFor
|
|
|
21931
22118
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.newTagInput = _t.first);
|
|
21932
22119
|
} }, hostVars: 1, hostBindings: function TagsFormFieldComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
21933
22120
|
ɵɵattribute("aria-label", ctx.ariaLabel);
|
|
21934
|
-
} }, inputs: { tagSplitCharacter: "tagSplitCharacter", textButton: "textButton", compact: "compact", suggestions: "suggestions" }, features: [ɵɵ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) { if (rf & 1) {
|
|
22121
|
+
} }, inputs: { tagSplitCharacter: "tagSplitCharacter", textButton: "textButton", compact: "compact", suggestions: "suggestions" }, features: [ɵɵ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) { if (rf & 1) {
|
|
21935
22122
|
ɵɵelementStart(0, "sme-form-field-layout", 0);
|
|
21936
22123
|
ɵɵelementStart(1, "div", 1);
|
|
21937
22124
|
ɵɵtemplate(2, TagsFormFieldComponent_div_2_Template, 7, 9, "div", 2);
|
|
@@ -23736,14 +23923,16 @@ class DataTableColumnComponent {
|
|
|
23736
23923
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.bodyTemplate = _t.first);
|
|
23737
23924
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.bodyReadTemplate = _t.first);
|
|
23738
23925
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.bodyEditTemplate = _t.first);
|
|
23739
|
-
} }, 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 });
|
|
23926
|
+
} }, 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 });
|
|
23740
23927
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DataTableColumnComponent, [{
|
|
23741
23928
|
type: Component,
|
|
23742
23929
|
args: [{
|
|
23743
23930
|
selector: 'sme-data-table-column:not([type]), sme-tree-table-column:not([type])',
|
|
23744
23931
|
template: ''
|
|
23745
23932
|
}]
|
|
23746
|
-
}], null, {
|
|
23933
|
+
}], null, { utaId: [{
|
|
23934
|
+
type: Input
|
|
23935
|
+
}], field: [{
|
|
23747
23936
|
type: Input
|
|
23748
23937
|
}], header: [{
|
|
23749
23938
|
type: Input
|
|
@@ -24213,8 +24402,8 @@ function DataTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
24213
24402
|
const colIndex_r19 = ctx.index;
|
|
24214
24403
|
const ctx_r3 = ɵɵnextContext();
|
|
24215
24404
|
ɵɵclassMapInterpolate1("sme-table-caption sme-table-column-header sme-position-flex-auto ", column_r18.styleClass, "");
|
|
24216
|
-
ɵɵproperty("ngStyle", ɵɵpureFunction1(
|
|
24217
|
-
ɵɵattribute("field", column_r18.field);
|
|
24405
|
+
ɵɵproperty("ngStyle", ɵɵpureFunction1(11, _c13, column_r18.width));
|
|
24406
|
+
ɵɵattribute("field", column_r18.field)("data-uta-id", column_r18.utaId)("column-index", colIndex_r19);
|
|
24218
24407
|
ɵɵadvance(1);
|
|
24219
24408
|
ɵɵproperty("ngIf", column_r18.sortable && column_r18.sortable != "false" && ctx_r3.showHeader);
|
|
24220
24409
|
ɵɵadvance(1);
|
|
@@ -24926,8 +25115,8 @@ function TreeTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
24926
25115
|
const colIndex_r19 = ctx.index;
|
|
24927
25116
|
const ctx_r3 = ɵɵnextContext();
|
|
24928
25117
|
ɵɵclassMapInterpolate1("sme-table-caption sme-table-column-header sme-position-flex-auto ", column_r18.styleClass, "");
|
|
24929
|
-
ɵɵproperty("ngStyle", ɵɵpureFunction1(
|
|
24930
|
-
ɵɵattribute("field", column_r18.field);
|
|
25118
|
+
ɵɵproperty("ngStyle", ɵɵpureFunction1(11, _c13, column_r18.width));
|
|
25119
|
+
ɵɵattribute("field", column_r18.field)("data-uta-id", column_r18.utaId)("column-index", colIndex_r19);
|
|
24931
25120
|
ɵɵadvance(1);
|
|
24932
25121
|
ɵɵproperty("ngIf", column_r18.sortable && column_r18.sortable != "false" && ctx_r3.showHeader);
|
|
24933
25122
|
ɵɵadvance(1);
|
|
@@ -27111,6 +27300,13 @@ class DataTableComponent extends CoreBaseComponent {
|
|
|
27111
27300
|
getNoRecordsMessage() {
|
|
27112
27301
|
return this.noRecordMessage || this.strings.MsftSmeShell.Angular.DataTable.NoRecordsFound;
|
|
27113
27302
|
}
|
|
27303
|
+
/**
|
|
27304
|
+
* It determines whether to, or not to show the No-Records Message.
|
|
27305
|
+
*/
|
|
27306
|
+
showNoRecordsMessage() {
|
|
27307
|
+
return (this.renderedItems.length === 0 && !this.lazyLoad) || !this.isColumnWidthCalculated ||
|
|
27308
|
+
(this.lazyLoad && this.items && this.items.length === 0);
|
|
27309
|
+
}
|
|
27114
27310
|
/**
|
|
27115
27311
|
* It handles the behavior that when a group toggle is clicked.
|
|
27116
27312
|
*/
|
|
@@ -27513,7 +27709,7 @@ class DataTableComponent extends CoreBaseComponent {
|
|
|
27513
27709
|
return this.items && this.items.length || undefined;
|
|
27514
27710
|
}
|
|
27515
27711
|
set virtualCount(value) {
|
|
27516
|
-
if (value) {
|
|
27712
|
+
if (value >= 0) {
|
|
27517
27713
|
this.items = Array(value);
|
|
27518
27714
|
for (let i = 0; i < value; i++) {
|
|
27519
27715
|
this.items[i] = null;
|
|
@@ -27527,7 +27723,7 @@ class DataTableComponent extends CoreBaseComponent {
|
|
|
27527
27723
|
* An example of path is "location.zipCode".
|
|
27528
27724
|
*/
|
|
27529
27725
|
resolveObjectPath(obj, path) {
|
|
27530
|
-
if (path) {
|
|
27726
|
+
if (obj && path) {
|
|
27531
27727
|
const pathSegments = path.split('.');
|
|
27532
27728
|
if (pathSegments.length === 1) {
|
|
27533
27729
|
return obj[path];
|
|
@@ -28158,19 +28354,6 @@ class DataTableComponent extends CoreBaseComponent {
|
|
|
28158
28354
|
if (this.isComponentInitialized && this.renderedItems) {
|
|
28159
28355
|
// Scroll container is the div to render the view port of the data table and to provide the scroll bar.
|
|
28160
28356
|
const scrollContainerElement = this.scrollContainerElement.nativeElement;
|
|
28161
|
-
// Scroll body is the div to represent the actual data container.
|
|
28162
|
-
// Its height is the height needed by all the data table items.
|
|
28163
|
-
// When the list is long, this div can be very high and triggers the scroll container to show the scroll bar.
|
|
28164
|
-
const scrollBodyElement = this.scrollBodyElement.nativeElement;
|
|
28165
|
-
// Scroll data element is the div to show the displayed list items in and below the view port.
|
|
28166
|
-
// When the scrolling is happening, we always adjust the top of this div to make sure it remains in the view port.
|
|
28167
|
-
const scrollDataElement = this.scrollDataElement.nativeElement;
|
|
28168
|
-
// "scroll above data" element is the div show the list items above the view port.
|
|
28169
|
-
// We need to render this "above" data seperately
|
|
28170
|
-
// then it's easy for us to find the "top" of the displayed list item in the view port.
|
|
28171
|
-
// Note: the "scroll below data" is rendered in Scroll data element because we don't need to calculate the "top" for it
|
|
28172
|
-
// since anyway it just follow the displayed list items in the view port.
|
|
28173
|
-
const scrollAboveDataElement = this.scrollAboveDataElement.nativeElement;
|
|
28174
28357
|
// Calculates how many items can be rendered in the view port.
|
|
28175
28358
|
this.renderedItemLengthInViewPort = this.scrollable
|
|
28176
28359
|
? Math.min(this.renderedItems.length, scrollContainerElement.offsetHeight / this.rowHeight)
|
|
@@ -29151,7 +29334,7 @@ DataTableComponent.pxConverter = new PxConverter();
|
|
|
29151
29334
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.emptyMessageElement = _t.first);
|
|
29152
29335
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.lastFocusableShadowElement = _t.first);
|
|
29153
29336
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dataTableTemplateLoaderComponents = _t);
|
|
29154
|
-
} }, 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: [ɵɵ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) { if (rf & 1) {
|
|
29337
|
+
} }, 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: [ɵɵ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) { if (rf & 1) {
|
|
29155
29338
|
ɵɵelementStart(0, "div", 0, 1);
|
|
29156
29339
|
ɵɵelementStart(2, "div", 2, 3);
|
|
29157
29340
|
ɵɵelementStart(4, "div", 4);
|
|
@@ -29159,7 +29342,7 @@ DataTableComponent.pxConverter = new PxConverter();
|
|
|
29159
29342
|
ɵɵelementStart(5, "div", 5);
|
|
29160
29343
|
ɵɵtemplate(6, DataTableComponent_div_6_Template, 3, 3, "div", 6);
|
|
29161
29344
|
ɵɵelementEnd();
|
|
29162
|
-
ɵɵtemplate(7, DataTableComponent_div_7_Template, 5,
|
|
29345
|
+
ɵɵtemplate(7, DataTableComponent_div_7_Template, 5, 13, "div", 7);
|
|
29163
29346
|
ɵɵelementEnd();
|
|
29164
29347
|
ɵɵelementEnd();
|
|
29165
29348
|
ɵɵelementEnd();
|
|
@@ -29199,7 +29382,7 @@ DataTableComponent.pxConverter = new PxConverter();
|
|
|
29199
29382
|
ɵɵadvance(2);
|
|
29200
29383
|
ɵɵproperty("ngClass", ɵɵpureFunction2(38, _c18, ctx.scrollable, ctx.shouldScroll));
|
|
29201
29384
|
ɵɵadvance(2);
|
|
29202
|
-
ɵɵproperty("ngIf", ctx.
|
|
29385
|
+
ɵɵproperty("ngIf", ctx.showNoRecordsMessage());
|
|
29203
29386
|
ɵɵadvance(3);
|
|
29204
29387
|
ɵɵproperty("ngStyle", ɵɵpureFunction1(41, _c19, ctx.scrollAboveDataStyleTop));
|
|
29205
29388
|
ɵɵattribute("aria-hidden", true);
|
|
@@ -29459,7 +29642,7 @@ class TreeTableComponent extends DataTableComponent {
|
|
|
29459
29642
|
}
|
|
29460
29643
|
}
|
|
29461
29644
|
/** @nocollapse */ TreeTableComponent.ɵfac = function TreeTableComponent_Factory(t) { return new (t || TreeTableComponent)(ɵɵdirectiveInject(Injector)); };
|
|
29462
|
-
/** @nocollapse */ TreeTableComponent.ɵcmp = ɵɵdefineComponent({ type: TreeTableComponent, selectors: [["sme-tree-table"]], features: [ɵɵ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) { if (rf & 1) {
|
|
29645
|
+
/** @nocollapse */ TreeTableComponent.ɵcmp = ɵɵdefineComponent({ type: TreeTableComponent, selectors: [["sme-tree-table"]], features: [ɵɵ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) { if (rf & 1) {
|
|
29463
29646
|
ɵɵelementStart(0, "div", 0, 1);
|
|
29464
29647
|
ɵɵelementStart(2, "div", 2, 3);
|
|
29465
29648
|
ɵɵelementStart(4, "div", 4);
|
|
@@ -29467,7 +29650,7 @@ class TreeTableComponent extends DataTableComponent {
|
|
|
29467
29650
|
ɵɵelementStart(5, "div", 5);
|
|
29468
29651
|
ɵɵtemplate(6, TreeTableComponent_div_6_Template, 3, 3, "div", 6);
|
|
29469
29652
|
ɵɵelementEnd();
|
|
29470
|
-
ɵɵtemplate(7, TreeTableComponent_div_7_Template, 5,
|
|
29653
|
+
ɵɵtemplate(7, TreeTableComponent_div_7_Template, 5, 13, "div", 7);
|
|
29471
29654
|
ɵɵelementEnd();
|
|
29472
29655
|
ɵɵelementEnd();
|
|
29473
29656
|
ɵɵelementEnd();
|
|
@@ -29507,7 +29690,7 @@ class TreeTableComponent extends DataTableComponent {
|
|
|
29507
29690
|
ɵɵadvance(2);
|
|
29508
29691
|
ɵɵproperty("ngClass", ɵɵpureFunction2(38, _c18, ctx.scrollable, ctx.shouldScroll));
|
|
29509
29692
|
ɵɵadvance(2);
|
|
29510
|
-
ɵɵproperty("ngIf", ctx.
|
|
29693
|
+
ɵɵproperty("ngIf", ctx.showNoRecordsMessage());
|
|
29511
29694
|
ɵɵadvance(3);
|
|
29512
29695
|
ɵɵproperty("ngStyle", ɵɵpureFunction1(41, _c19, ctx.scrollAboveDataStyleTop));
|
|
29513
29696
|
ɵɵattribute("aria-hidden", true);
|
|
@@ -30103,21 +30286,28 @@ class PivotComponent extends CoreBaseComponent {
|
|
|
30103
30286
|
isSelected(tab) {
|
|
30104
30287
|
return this.selection && this.selection === tab;
|
|
30105
30288
|
}
|
|
30289
|
+
/**
|
|
30290
|
+
* Force refresh for the pivot tabs.
|
|
30291
|
+
*/
|
|
30292
|
+
refresh() {
|
|
30293
|
+
this.updatePivotTabs();
|
|
30294
|
+
}
|
|
30106
30295
|
/**
|
|
30107
30296
|
* Selects a tab
|
|
30108
30297
|
* @param tab The tab to select
|
|
30109
30298
|
*/
|
|
30110
30299
|
select(tab) {
|
|
30111
|
-
/**
|
|
30112
|
-
*
|
|
30113
|
-
*
|
|
30300
|
+
/**
|
|
30301
|
+
* At any given time we should have an attribute that lets us know if a tab is visible or not.
|
|
30114
30302
|
*/
|
|
30115
30303
|
if (tab) {
|
|
30116
30304
|
for (let i = 0; i < this.trayTabs.length; i++) {
|
|
30117
30305
|
if (this.trayTabs[i] === tab) {
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30306
|
+
if (this.visibleTabs && this.visibleTabs.length > 0) {
|
|
30307
|
+
const hiddenTab = this.visibleTabs.pop();
|
|
30308
|
+
hiddenTab.isVisible = false;
|
|
30309
|
+
this.trayTabs.push(hiddenTab);
|
|
30310
|
+
}
|
|
30121
30311
|
this.visibleTabs.push(tab);
|
|
30122
30312
|
tab.isVisible = true;
|
|
30123
30313
|
this.trayTabs.splice(i, 1);
|
|
@@ -30198,7 +30388,6 @@ class PivotComponent extends CoreBaseComponent {
|
|
|
30198
30388
|
currentFill += tabWidth;
|
|
30199
30389
|
}
|
|
30200
30390
|
}
|
|
30201
|
-
this.emitLayoutChanged();
|
|
30202
30391
|
}
|
|
30203
30392
|
}
|
|
30204
30393
|
/** @nocollapse */ PivotComponent.ɵfac = function PivotComponent_Factory(t) { return new (t || PivotComponent)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(SME_LAYOUT_PROVIDER, 12)); };
|
|
@@ -30270,6 +30459,12 @@ __decorate([
|
|
|
30270
30459
|
SmeInject(ChangeDetectorRef),
|
|
30271
30460
|
__metadata("design:type", ChangeDetectorRef)
|
|
30272
30461
|
], PivotComponent.prototype, "changeDetectorRef", void 0);
|
|
30462
|
+
__decorate([
|
|
30463
|
+
Debounce$1(),
|
|
30464
|
+
__metadata("design:type", Function),
|
|
30465
|
+
__metadata("design:paramtypes", []),
|
|
30466
|
+
__metadata("design:returntype", void 0)
|
|
30467
|
+
], PivotComponent.prototype, "refresh", null);
|
|
30273
30468
|
__decorate([
|
|
30274
30469
|
Debounce$1(),
|
|
30275
30470
|
__metadata("design:type", Function),
|
|
@@ -30329,7 +30524,7 @@ __decorate([
|
|
|
30329
30524
|
}], changeDetectorRef: [], dropDownButtonElement: [{
|
|
30330
30525
|
type: ViewChild,
|
|
30331
30526
|
args: ['dropDownButton']
|
|
30332
|
-
}], emitLayoutChanged: [], onLayoutChanged: [] }); })();
|
|
30527
|
+
}], refresh: [], emitLayoutChanged: [], onLayoutChanged: [] }); })();
|
|
30333
30528
|
|
|
30334
30529
|
class PivotModule {
|
|
30335
30530
|
}
|
|
@@ -30840,17 +31035,17 @@ const _c1$q = ["smeTreeTable"];
|
|
|
30840
31035
|
const _c2$f = ["container"];
|
|
30841
31036
|
const _c3$9 = ["dataView"];
|
|
30842
31037
|
function MasterViewComponent_h2_0_Template(rf, ctx) { if (rf & 1) {
|
|
30843
|
-
ɵɵelementStart(0, "h2",
|
|
31038
|
+
ɵɵelementStart(0, "h2", 19);
|
|
30844
31039
|
ɵɵtext(1);
|
|
30845
31040
|
ɵɵelementEnd();
|
|
30846
31041
|
} if (rf & 2) {
|
|
30847
31042
|
const ctx_r0 = ɵɵnextContext();
|
|
30848
|
-
ɵɵproperty("hidden", ctx_r0.hideHeader);
|
|
31043
|
+
ɵɵproperty("hidden", ctx_r0.hideHeader)("id", ctx_r0.headerId);
|
|
30849
31044
|
ɵɵadvance(1);
|
|
30850
31045
|
ɵɵtextInterpolate(ctx_r0.header);
|
|
30851
31046
|
} }
|
|
30852
31047
|
function MasterViewComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
30853
|
-
ɵɵelementStart(0, "div",
|
|
31048
|
+
ɵɵelementStart(0, "div", 20);
|
|
30854
31049
|
ɵɵprojection(1, 2);
|
|
30855
31050
|
ɵɵelementEnd();
|
|
30856
31051
|
} if (rf & 2) {
|
|
@@ -30859,15 +31054,15 @@ function MasterViewComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
30859
31054
|
} }
|
|
30860
31055
|
function MasterViewComponent_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
30861
31056
|
const _r13 = ɵɵgetCurrentView();
|
|
30862
|
-
ɵɵelementStart(0, "button",
|
|
31057
|
+
ɵɵelementStart(0, "button", 21);
|
|
30863
31058
|
ɵɵlistener("click", function MasterViewComponent_button_12_Template_button_click_0_listener($event) { ɵɵrestoreView(_r13); const ctx_r12 = ɵɵnextContext(); return ctx_r12.doClearSelection($event); });
|
|
30864
|
-
ɵɵelementStart(1, "i",
|
|
31059
|
+
ɵɵelementStart(1, "i", 22);
|
|
30865
31060
|
ɵɵtext(2);
|
|
30866
31061
|
ɵɵelementEnd();
|
|
30867
|
-
ɵɵelementStart(3, "i",
|
|
31062
|
+
ɵɵelementStart(3, "i", 23);
|
|
30868
31063
|
ɵɵtext(4);
|
|
30869
31064
|
ɵɵelementEnd();
|
|
30870
|
-
ɵɵelement(5, "i",
|
|
31065
|
+
ɵɵelement(5, "i", 24);
|
|
30871
31066
|
ɵɵelementEnd();
|
|
30872
31067
|
} if (rf & 2) {
|
|
30873
31068
|
const ctx_r4 = ɵɵnextContext();
|
|
@@ -30880,9 +31075,9 @@ function MasterViewComponent_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
30880
31075
|
} }
|
|
30881
31076
|
function MasterViewComponent_button_14_Template(rf, ctx) { if (rf & 1) {
|
|
30882
31077
|
const _r15 = ɵɵgetCurrentView();
|
|
30883
|
-
ɵɵelementStart(0, "button",
|
|
31078
|
+
ɵɵelementStart(0, "button", 25);
|
|
30884
31079
|
ɵɵlistener("click", function MasterViewComponent_button_14_Template_button_click_0_listener() { ɵɵrestoreView(_r15); const ctx_r14 = ɵɵnextContext(); return ctx_r14.columnPicker.next(); });
|
|
30885
|
-
ɵɵelement(1, "span",
|
|
31080
|
+
ɵɵelement(1, "span", 26);
|
|
30886
31081
|
ɵɵelementEnd();
|
|
30887
31082
|
} if (rf & 2) {
|
|
30888
31083
|
const ctx_r5 = ɵɵnextContext();
|
|
@@ -30892,9 +31087,9 @@ function MasterViewComponent_button_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
30892
31087
|
} }
|
|
30893
31088
|
function MasterViewComponent_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
30894
31089
|
const _r17 = ɵɵgetCurrentView();
|
|
30895
|
-
ɵɵelementStart(0, "button",
|
|
31090
|
+
ɵɵelementStart(0, "button", 27);
|
|
30896
31091
|
ɵɵlistener("click", function MasterViewComponent_button_15_Template_button_click_0_listener() { ɵɵrestoreView(_r17); const ctx_r16 = ɵɵnextContext(); return ctx_r16.refresh.next(); });
|
|
30897
|
-
ɵɵelement(1, "span",
|
|
31092
|
+
ɵɵelement(1, "span", 28);
|
|
30898
31093
|
ɵɵelementEnd();
|
|
30899
31094
|
} if (rf & 2) {
|
|
30900
31095
|
const ctx_r6 = ɵɵnextContext();
|
|
@@ -30903,9 +31098,9 @@ function MasterViewComponent_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
30903
31098
|
} }
|
|
30904
31099
|
function MasterViewComponent_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
30905
31100
|
const _r19 = ɵɵgetCurrentView();
|
|
30906
|
-
ɵɵelementStart(0, "button",
|
|
31101
|
+
ɵɵelementStart(0, "button", 29);
|
|
30907
31102
|
ɵɵlistener("click", function MasterViewComponent_button_16_Template_button_click_0_listener() { ɵɵrestoreView(_r19); const ctx_r18 = ɵɵnextContext(); return ctx_r18.filter.next(); });
|
|
30908
|
-
ɵɵelement(1, "span",
|
|
31103
|
+
ɵɵelement(1, "span", 30);
|
|
30909
31104
|
ɵɵelementEnd();
|
|
30910
31105
|
} if (rf & 2) {
|
|
30911
31106
|
const ctx_r7 = ɵɵnextContext();
|
|
@@ -30915,9 +31110,9 @@ function MasterViewComponent_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
30915
31110
|
} }
|
|
30916
31111
|
function MasterViewComponent_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
30917
31112
|
const _r21 = ɵɵgetCurrentView();
|
|
30918
|
-
ɵɵelementStart(0, "button",
|
|
31113
|
+
ɵɵelementStart(0, "button", 29);
|
|
30919
31114
|
ɵɵlistener("click", function MasterViewComponent_button_17_Template_button_click_0_listener() { ɵɵrestoreView(_r21); const ctx_r20 = ɵɵnextContext(); return ctx_r20.group.next(); });
|
|
30920
|
-
ɵɵelement(1, "span",
|
|
31115
|
+
ɵɵelement(1, "span", 31);
|
|
30921
31116
|
ɵɵelementEnd();
|
|
30922
31117
|
} if (rf & 2) {
|
|
30923
31118
|
const ctx_r8 = ɵɵnextContext();
|
|
@@ -30926,13 +31121,13 @@ function MasterViewComponent_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
30926
31121
|
ɵɵattribute("aria-label", ctx_r8.resourceStrings.group.title);
|
|
30927
31122
|
} }
|
|
30928
31123
|
function MasterViewComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
30929
|
-
ɵɵelementStart(0, "div",
|
|
31124
|
+
ɵɵelementStart(0, "div", 32);
|
|
30930
31125
|
ɵɵprojection(1, 3);
|
|
30931
31126
|
ɵɵelementEnd();
|
|
30932
31127
|
} }
|
|
30933
31128
|
function MasterViewComponent_form_20_Template(rf, ctx) { if (rf & 1) {
|
|
30934
|
-
ɵɵelementStart(0, "form",
|
|
30935
|
-
ɵɵelementStart(1, "div",
|
|
31129
|
+
ɵɵelementStart(0, "form", 33);
|
|
31130
|
+
ɵɵelementStart(1, "div", 34);
|
|
30936
31131
|
ɵɵprojection(2, 4);
|
|
30937
31132
|
ɵɵelementEnd();
|
|
30938
31133
|
ɵɵelementEnd();
|
|
@@ -30983,6 +31178,7 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
30983
31178
|
this.addClass('sme-arrange-stack-v');
|
|
30984
31179
|
this.addClass('sme-arrange-overflow-hide-y');
|
|
30985
31180
|
this.addClass('sme-arrange-overflow-auto-x');
|
|
31181
|
+
this.headerId = 'master-view-header' + this.componentId;
|
|
30986
31182
|
}
|
|
30987
31183
|
/**
|
|
30988
31184
|
* The source name to use for logging
|
|
@@ -31164,7 +31360,7 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31164
31360
|
setupDataTableAccessibility() {
|
|
31165
31361
|
if (this.internalSmeDataTable) {
|
|
31166
31362
|
if (this.header) {
|
|
31167
|
-
this.internalSmeDataTable.tableAriaLabelledBy =
|
|
31363
|
+
this.internalSmeDataTable.tableAriaLabelledBy = this.headerId;
|
|
31168
31364
|
}
|
|
31169
31365
|
else if (this.pivotComponent) {
|
|
31170
31366
|
const selectedTab = this.pivotComponent.tabs.toArray().filter(item => this.pivotComponent.isSelected(item))[0];
|
|
@@ -31181,7 +31377,8 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31181
31377
|
createIdBag() {
|
|
31182
31378
|
return {
|
|
31183
31379
|
filterLabel: '',
|
|
31184
|
-
columnPickerLabel: ''
|
|
31380
|
+
columnPickerLabel: '',
|
|
31381
|
+
itemCountLabel: ''
|
|
31185
31382
|
};
|
|
31186
31383
|
}
|
|
31187
31384
|
}
|
|
@@ -31206,9 +31403,9 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31206
31403
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dataView = _t.first);
|
|
31207
31404
|
} }, hostBindings: function MasterViewComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
31208
31405
|
ɵɵlistener("resize", function MasterViewComponent_resize_HostBindingHandler() { return ctx.updateLayout(); }, false, ɵɵresolveWindow);
|
|
31209
|
-
} }, 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: [ɵɵInheritDefinitionFeature], ngContentSelectors: _c5$3, decls: 24, vars:
|
|
31406
|
+
} }, 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: [ɵɵ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) { if (rf & 1) {
|
|
31210
31407
|
ɵɵprojectionDef(_c4$5);
|
|
31211
|
-
ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2,
|
|
31408
|
+
ɵɵtemplate(0, MasterViewComponent_h2_0_Template, 2, 3, "h2", 0);
|
|
31212
31409
|
ɵɵelementStart(1, "sme-layout", 1, 2);
|
|
31213
31410
|
ɵɵlistener("layoutChanged", function MasterViewComponent_Template_sme_layout_layoutChanged_1_listener() { return ctx.updateActionBar(); });
|
|
31214
31411
|
ɵɵelement(3, "sme-layout-definition", 3);
|
|
@@ -31226,16 +31423,16 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31226
31423
|
ɵɵelementStart(13, "div", 11);
|
|
31227
31424
|
ɵɵtemplate(14, MasterViewComponent_button_14_Template, 2, 4, "button", 12);
|
|
31228
31425
|
ɵɵtemplate(15, MasterViewComponent_button_15_Template, 2, 3, "button", 13);
|
|
31229
|
-
ɵɵtemplate(16, MasterViewComponent_button_16_Template, 2, 4, "button",
|
|
31230
|
-
ɵɵtemplate(17, MasterViewComponent_button_17_Template, 2, 4, "button",
|
|
31426
|
+
ɵɵtemplate(16, MasterViewComponent_button_16_Template, 2, 4, "button", 14);
|
|
31427
|
+
ɵɵtemplate(17, MasterViewComponent_button_17_Template, 2, 4, "button", 14);
|
|
31231
31428
|
ɵɵelementEnd();
|
|
31232
|
-
ɵɵelementStart(18, "div",
|
|
31233
|
-
ɵɵtemplate(19, MasterViewComponent_div_19_Template, 2, 0, "div",
|
|
31429
|
+
ɵɵelementStart(18, "div", 15);
|
|
31430
|
+
ɵɵtemplate(19, MasterViewComponent_div_19_Template, 2, 0, "div", 16);
|
|
31234
31431
|
ɵɵelementEnd();
|
|
31235
|
-
ɵɵtemplate(20, MasterViewComponent_form_20_Template, 3, 0, "form",
|
|
31432
|
+
ɵɵtemplate(20, MasterViewComponent_form_20_Template, 3, 0, "form", 17);
|
|
31236
31433
|
ɵɵelementEnd();
|
|
31237
31434
|
ɵɵelementEnd();
|
|
31238
|
-
ɵɵelementStart(21, "div", null,
|
|
31435
|
+
ɵɵelementStart(21, "div", null, 18);
|
|
31239
31436
|
ɵɵprojection(23, 1);
|
|
31240
31437
|
ɵɵelementEnd();
|
|
31241
31438
|
} if (rf & 2) {
|
|
@@ -31251,7 +31448,9 @@ class MasterViewComponent extends CoreBaseComponent {
|
|
|
31251
31448
|
ɵɵclassProp("sme-padding-horizontal-sm", !ctx.noSideMargin)("sme-padding-left-sm", ctx.noSideMargin);
|
|
31252
31449
|
ɵɵadvance(1);
|
|
31253
31450
|
ɵɵclassProp("sme-margin-right-xs", ctx.selectedItemCount === 0 || !ctx.showSelection);
|
|
31254
|
-
ɵɵadvance(
|
|
31451
|
+
ɵɵadvance(1);
|
|
31452
|
+
ɵɵproperty("id", ctx.idBag.itemCountLabel);
|
|
31453
|
+
ɵɵadvance(1);
|
|
31255
31454
|
ɵɵtextInterpolate(ctx.getItemCountText());
|
|
31256
31455
|
ɵɵadvance(1);
|
|
31257
31456
|
ɵɵproperty("ngIf", ctx.selectedItemCount > 0 && ctx.showSelection);
|
|
@@ -31466,6 +31665,7 @@ class DataTableColumnPickerExtension {
|
|
|
31466
31665
|
const allColumns = this.dataTable.columns ? this.dataTable.columns.toArray() : [];
|
|
31467
31666
|
const dataTableAllColumns = allColumns.map((item) => {
|
|
31468
31667
|
return {
|
|
31668
|
+
'utaId': item.utaId,
|
|
31469
31669
|
'field': item.field,
|
|
31470
31670
|
'header': item.header,
|
|
31471
31671
|
'hidden': item.hidden,
|
|
@@ -31807,6 +32007,17 @@ function getCssSizeString(defaultSize, size = defaultSize) {
|
|
|
31807
32007
|
}
|
|
31808
32008
|
|
|
31809
32009
|
const _c0$W = ["*"];
|
|
32010
|
+
/**
|
|
32011
|
+
* @smeDoc {@label Layered Icon @id sme-layered-icon}
|
|
32012
|
+
*
|
|
32013
|
+
* @overview
|
|
32014
|
+
* @file {@filepath ./examples/layered-icon-overview.md}
|
|
32015
|
+
*
|
|
32016
|
+
* @example {@label Layered Icon example @id layered-icon-example}
|
|
32017
|
+
* @file {@filename layered-icon-example.component.html @filepath ./examples/layered-icon-example.component.html }
|
|
32018
|
+
* @file {@filename layered-icon-example.component.ts @filepath ./examples/layered-icon-example.component.ts }
|
|
32019
|
+
* @file {@filename layered-icon-example.module.ts @filepath ./examples/layered-icon-example.module.ts }
|
|
32020
|
+
*/
|
|
31810
32021
|
class LayeredIconComponent extends CoreBaseComponent {
|
|
31811
32022
|
constructor(injector) {
|
|
31812
32023
|
super(injector);
|
|
@@ -31968,7 +32179,7 @@ class IconLayerComponent extends CoreBaseComponent {
|
|
|
31968
32179
|
}] }); })();
|
|
31969
32180
|
|
|
31970
32181
|
function StatusIconComponent_sme_icon_layer_1_Template(rf, ctx) { if (rf & 1) {
|
|
31971
|
-
ɵɵelement(0, "sme-icon-layer",
|
|
32182
|
+
ɵɵelement(0, "sme-icon-layer", 3);
|
|
31972
32183
|
} if (rf & 2) {
|
|
31973
32184
|
const layer_r1 = ctx.$implicit;
|
|
31974
32185
|
const ctx_r0 = ɵɵnextContext();
|
|
@@ -32009,8 +32220,37 @@ var StatusIconType;
|
|
|
32009
32220
|
return value;
|
|
32010
32221
|
}
|
|
32011
32222
|
StatusIconType.fromBindableType = fromBindableType;
|
|
32223
|
+
function getIconLayers(iconType) {
|
|
32224
|
+
switch (iconType) {
|
|
32225
|
+
case StatusIconType.Critical:
|
|
32226
|
+
return ['sme-icon', 'sme-color-critical', 'sme-icon-statusErrorFull'];
|
|
32227
|
+
case StatusIconType.Error:
|
|
32228
|
+
return ['sme-icon', 'sme-color-error', 'sme-icon-criticalErrorSolid'];
|
|
32229
|
+
case StatusIconType.Warning:
|
|
32230
|
+
return ['sme-icon', 'sme-color-warning', 'sme-icon-warningSolid'];
|
|
32231
|
+
case StatusIconType.Progress:
|
|
32232
|
+
return ['sme-icon', 'sme-color-progress', 'sme-icon-syncStatusSolid'];
|
|
32233
|
+
case StatusIconType.Info:
|
|
32234
|
+
return ['sme-icon', 'sme-color-info', 'sme-icon-infoSolid'];
|
|
32235
|
+
case StatusIconType.Success:
|
|
32236
|
+
return ['sme-icon', 'sme-color-success', 'sme-icon-completedSolid'];
|
|
32237
|
+
case StatusIconType.Unknown:
|
|
32238
|
+
return ['sme-icon', 'sme-color-neutral', 'sme-icon-unknownSolid'];
|
|
32239
|
+
}
|
|
32240
|
+
}
|
|
32241
|
+
StatusIconType.getIconLayers = getIconLayers;
|
|
32012
32242
|
})(StatusIconType || (StatusIconType = {}));
|
|
32013
|
-
class StatusIconComponent {
|
|
32243
|
+
class StatusIconComponent extends CoreBaseComponent {
|
|
32244
|
+
constructor() {
|
|
32245
|
+
super(...arguments);
|
|
32246
|
+
this.localStrings = this.strings.MsftSmeShell.Angular.StatusIcon;
|
|
32247
|
+
}
|
|
32248
|
+
/**
|
|
32249
|
+
* The source name to use for logging
|
|
32250
|
+
*/
|
|
32251
|
+
get logSourceName() {
|
|
32252
|
+
return 'StatusIconComponent';
|
|
32253
|
+
}
|
|
32014
32254
|
/**
|
|
32015
32255
|
* Input binding for the status icon type
|
|
32016
32256
|
*/
|
|
@@ -32019,39 +32259,52 @@ class StatusIconComponent {
|
|
|
32019
32259
|
switch (type) {
|
|
32020
32260
|
case StatusIconType.Critical:
|
|
32021
32261
|
layers.push(['sme-icon', 'sme-color-critical', 'sme-icon-statusErrorFull']);
|
|
32262
|
+
this.statusString = this.localStrings.Critical;
|
|
32022
32263
|
break;
|
|
32023
32264
|
case StatusIconType.Error:
|
|
32024
32265
|
layers.push(['sme-icon', 'sme-color-error', 'sme-icon-criticalErrorSolid']);
|
|
32266
|
+
this.statusString = this.localStrings.Error;
|
|
32025
32267
|
break;
|
|
32026
32268
|
case StatusIconType.Warning:
|
|
32027
32269
|
layers.push(['sme-icon', 'sme-color-warning', 'sme-icon-warningSolid']);
|
|
32270
|
+
this.statusString = this.localStrings.Warning;
|
|
32028
32271
|
break;
|
|
32029
32272
|
case StatusIconType.Progress:
|
|
32030
32273
|
layers.push(['sme-icon', 'sme-color-progress', 'sme-icon-syncStatusSolid']);
|
|
32274
|
+
this.statusString = this.localStrings.Progress;
|
|
32031
32275
|
break;
|
|
32032
32276
|
case StatusIconType.Info:
|
|
32033
32277
|
layers.push(['sme-icon', 'sme-color-info', 'sme-icon-infoSolid']);
|
|
32278
|
+
this.statusString = this.localStrings.Info;
|
|
32034
32279
|
break;
|
|
32035
32280
|
case StatusIconType.Success:
|
|
32036
32281
|
layers.push(['sme-icon', 'sme-color-success', 'sme-icon-completedSolid']);
|
|
32282
|
+
this.statusString = this.localStrings.Success;
|
|
32037
32283
|
break;
|
|
32038
32284
|
case StatusIconType.Unknown:
|
|
32039
32285
|
layers.push(['sme-icon', 'sme-color-neutral', 'sme-icon-unknownSolid']);
|
|
32286
|
+
this.statusString = this.localStrings.Unknown;
|
|
32040
32287
|
break;
|
|
32041
32288
|
}
|
|
32042
32289
|
this.layers = layers;
|
|
32043
32290
|
}
|
|
32044
32291
|
}
|
|
32045
|
-
/** @nocollapse */ StatusIconComponent.ɵfac = function StatusIconComponent_Factory(t) { return
|
|
32046
|
-
/** @nocollapse */ StatusIconComponent.ɵcmp = ɵɵdefineComponent({ type: StatusIconComponent, selectors: [["sme-status-icon"]], inputs: { size: "size", status: "status" }, decls:
|
|
32292
|
+
/** @nocollapse */ StatusIconComponent.ɵfac = function StatusIconComponent_Factory(t) { return ɵStatusIconComponent_BaseFactory(t || StatusIconComponent); };
|
|
32293
|
+
/** @nocollapse */ StatusIconComponent.ɵcmp = ɵɵdefineComponent({ type: StatusIconComponent, selectors: [["sme-status-icon"]], inputs: { size: "size", status: "status" }, features: [ɵɵ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) { if (rf & 1) {
|
|
32047
32294
|
ɵɵelementStart(0, "sme-layered-icon", 0);
|
|
32048
32295
|
ɵɵtemplate(1, StatusIconComponent_sme_icon_layer_1_Template, 1, 2, "sme-icon-layer", 1);
|
|
32049
32296
|
ɵɵelementEnd();
|
|
32297
|
+
ɵɵelementStart(2, "div", 2);
|
|
32298
|
+
ɵɵtext(3);
|
|
32299
|
+
ɵɵelementEnd();
|
|
32050
32300
|
} if (rf & 2) {
|
|
32051
|
-
ɵɵproperty("size", ctx.size);
|
|
32301
|
+
ɵɵproperty("size", ctx.size)("title", ctx.statusString);
|
|
32052
32302
|
ɵɵadvance(1);
|
|
32053
32303
|
ɵɵproperty("ngForOf", ctx.layers);
|
|
32054
|
-
|
|
32304
|
+
ɵɵadvance(2);
|
|
32305
|
+
ɵɵtextInterpolate(ctx.statusString);
|
|
32306
|
+
} }, directives: [LayeredIconComponent, TooltipDirective, NgForOf, IconLayerComponent, NgClass], encapsulation: 2 });
|
|
32307
|
+
const ɵStatusIconComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFactory(StatusIconComponent);
|
|
32055
32308
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(StatusIconComponent, [{
|
|
32056
32309
|
type: Component,
|
|
32057
32310
|
args: [{
|
|
@@ -32681,12 +32934,6 @@ class BadgeBaseComponent extends BaseComponent {
|
|
|
32681
32934
|
}
|
|
32682
32935
|
}
|
|
32683
32936
|
}
|
|
32684
|
-
/**
|
|
32685
|
-
* The title that we actually bind to
|
|
32686
|
-
*/
|
|
32687
|
-
get resolvedTitle() {
|
|
32688
|
-
return this.resolvedTooltip ? null : this.description;
|
|
32689
|
-
}
|
|
32690
32937
|
/**
|
|
32691
32938
|
* The title that we actually bind to
|
|
32692
32939
|
*/
|
|
@@ -32695,12 +32942,7 @@ class BadgeBaseComponent extends BaseComponent {
|
|
|
32695
32942
|
if (this.tooltip) {
|
|
32696
32943
|
return this.tooltip;
|
|
32697
32944
|
}
|
|
32698
|
-
|
|
32699
|
-
if (this.learnMoreLink || this.showFeedbackLink) {
|
|
32700
|
-
return this.defaultTooltip;
|
|
32701
|
-
}
|
|
32702
|
-
// otherwise its just a description. in which case we should use the title property instead
|
|
32703
|
-
return null;
|
|
32945
|
+
return this.defaultTooltip;
|
|
32704
32946
|
}
|
|
32705
32947
|
/**
|
|
32706
32948
|
* Gets the initial host classes to be applied to this element
|
|
@@ -32754,85 +32996,46 @@ const ɵCoreBadgeBaseComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFacto
|
|
|
32754
32996
|
}], null, null); })();
|
|
32755
32997
|
|
|
32756
32998
|
const _c0$_ = ["type", "comingsoon"];
|
|
32757
|
-
|
|
32758
|
-
|
|
32759
|
-
ɵɵelementStart(0, "p", 4);
|
|
32760
|
-
ɵɵelementStart(1, "span", 5);
|
|
32761
|
-
ɵɵtext(2);
|
|
32762
|
-
ɵɵelementEnd();
|
|
32763
|
-
ɵɵelement(3, "span", 6);
|
|
32764
|
-
ɵɵelementEnd();
|
|
32765
|
-
} if (rf & 2) {
|
|
32766
|
-
const ctx_r0 = ɵɵnextContext();
|
|
32767
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
32768
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
32769
|
-
ɵɵadvance(2);
|
|
32770
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
32771
|
-
ɵɵadvance(1);
|
|
32772
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$s, ctx_r0.icon));
|
|
32773
|
-
} }
|
|
32774
|
-
function ComingSoonBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
32775
|
-
ɵɵelementStart(0, "p", 7);
|
|
32776
|
-
ɵɵelementStart(1, "span");
|
|
32777
|
-
ɵɵtext(2);
|
|
32778
|
-
ɵɵelementEnd();
|
|
32779
|
-
ɵɵelementEnd();
|
|
32780
|
-
} if (rf & 2) {
|
|
32781
|
-
const ctx_r1 = ɵɵnextContext();
|
|
32782
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
32783
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
32784
|
-
ɵɵadvance(2);
|
|
32785
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
32786
|
-
} }
|
|
32787
|
-
function ComingSoonBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
32788
|
-
ɵɵelementStart(0, "a", 12);
|
|
32999
|
+
function ComingSoonBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33000
|
+
ɵɵelementStart(0, "a", 9);
|
|
32789
33001
|
ɵɵtext(1);
|
|
32790
33002
|
ɵɵelementEnd();
|
|
32791
33003
|
} if (rf & 2) {
|
|
32792
|
-
const
|
|
32793
|
-
ɵɵproperty("href",
|
|
33004
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33005
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
32794
33006
|
ɵɵadvance(1);
|
|
32795
|
-
ɵɵtextInterpolate(
|
|
33007
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
32796
33008
|
} }
|
|
32797
|
-
function
|
|
32798
|
-
ɵɵelementStart(0, "a",
|
|
33009
|
+
function ComingSoonBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33010
|
+
ɵɵelementStart(0, "a", 9);
|
|
32799
33011
|
ɵɵtext(1);
|
|
32800
33012
|
ɵɵelementEnd();
|
|
32801
33013
|
} if (rf & 2) {
|
|
32802
|
-
const
|
|
32803
|
-
ɵɵproperty("href",
|
|
33014
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33015
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
32804
33016
|
ɵɵadvance(1);
|
|
32805
|
-
ɵɵtextInterpolate(
|
|
33017
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
32806
33018
|
} }
|
|
32807
|
-
function
|
|
32808
|
-
ɵɵelementStart(0, "
|
|
33019
|
+
function ComingSoonBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33020
|
+
ɵɵelementStart(0, "p", 6);
|
|
32809
33021
|
ɵɵtext(1);
|
|
32810
33022
|
ɵɵelementEnd();
|
|
32811
|
-
ɵɵelementStart(2, "
|
|
32812
|
-
|
|
32813
|
-
ɵɵelementEnd();
|
|
32814
|
-
ɵɵelementStart(4, "div", 10);
|
|
32815
|
-
ɵɵtemplate(5, ComingSoonBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33023
|
+
ɵɵelementStart(2, "div", 7);
|
|
33024
|
+
ɵɵtemplate(3, ComingSoonBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
32816
33025
|
ɵɵelementEnd();
|
|
32817
|
-
ɵɵelementStart(
|
|
32818
|
-
ɵɵtemplate(
|
|
33026
|
+
ɵɵelementStart(4, "div", 7);
|
|
33027
|
+
ɵɵtemplate(5, ComingSoonBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
32819
33028
|
ɵɵelementEnd();
|
|
32820
33029
|
} if (rf & 2) {
|
|
32821
|
-
const
|
|
32822
|
-
const ctx_r3 = ɵɵnextContext();
|
|
32823
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
32824
|
-
ɵɵadvance(1);
|
|
32825
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
32826
|
-
ɵɵadvance(1);
|
|
32827
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
32828
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33030
|
+
const ctx_r1 = ɵɵnextContext();
|
|
32829
33031
|
ɵɵadvance(1);
|
|
32830
|
-
ɵɵtextInterpolate(
|
|
33032
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
32831
33033
|
ɵɵadvance(2);
|
|
32832
|
-
ɵɵproperty("ngIf", !!
|
|
33034
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
32833
33035
|
ɵɵadvance(2);
|
|
32834
|
-
ɵɵproperty("ngIf",
|
|
33036
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
32835
33037
|
} }
|
|
33038
|
+
const _c1$s = function (a1) { return ["sme-icon", a1]; };
|
|
32836
33039
|
/**
|
|
32837
33040
|
* Defines a coming soon badge
|
|
32838
33041
|
*/
|
|
@@ -32862,15 +33065,26 @@ class ComingSoonBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
32862
33065
|
}
|
|
32863
33066
|
}
|
|
32864
33067
|
/** @nocollapse */ ComingSoonBadgeComponent.ɵfac = function ComingSoonBadgeComponent_Factory(t) { return new (t || ComingSoonBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
32865
|
-
/** @nocollapse */ ComingSoonBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: ComingSoonBadgeComponent, selectors: [["sme-badge", "type", "comingsoon"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$_, decls:
|
|
32866
|
-
|
|
32867
|
-
|
|
32868
|
-
|
|
33068
|
+
/** @nocollapse */ ComingSoonBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: ComingSoonBadgeComponent, selectors: [["sme-badge", "type", "comingsoon"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33069
|
+
ɵɵelementStart(0, "p", 0);
|
|
33070
|
+
ɵɵelementStart(1, "span", 1);
|
|
33071
|
+
ɵɵtext(2);
|
|
33072
|
+
ɵɵelementEnd();
|
|
33073
|
+
ɵɵelementStart(3, "span", 2);
|
|
33074
|
+
ɵɵtext(4);
|
|
33075
|
+
ɵɵelementEnd();
|
|
33076
|
+
ɵɵelement(5, "span", 3);
|
|
33077
|
+
ɵɵelementEnd();
|
|
33078
|
+
ɵɵtemplate(6, ComingSoonBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
32869
33079
|
} if (rf & 2) {
|
|
32870
|
-
ɵɵproperty("
|
|
33080
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33081
|
+
ɵɵadvance(2);
|
|
33082
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33083
|
+
ɵɵadvance(2);
|
|
33084
|
+
ɵɵtextInterpolate(ctx.label);
|
|
32871
33085
|
ɵɵadvance(1);
|
|
32872
|
-
ɵɵproperty("
|
|
32873
|
-
} }, directives: [
|
|
33086
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$s, ctx.icon));
|
|
33087
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
32874
33088
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ComingSoonBadgeComponent, [{
|
|
32875
33089
|
type: Component,
|
|
32876
33090
|
args: [{
|
|
@@ -32880,85 +33094,46 @@ class ComingSoonBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
32880
33094
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
32881
33095
|
|
|
32882
33096
|
const _c0$$ = ["type", "custom"];
|
|
32883
|
-
|
|
32884
|
-
|
|
32885
|
-
ɵɵelementStart(0, "p", 4);
|
|
32886
|
-
ɵɵelementStart(1, "span", 5);
|
|
32887
|
-
ɵɵtext(2);
|
|
32888
|
-
ɵɵelementEnd();
|
|
32889
|
-
ɵɵelement(3, "span", 6);
|
|
32890
|
-
ɵɵelementEnd();
|
|
32891
|
-
} if (rf & 2) {
|
|
32892
|
-
const ctx_r0 = ɵɵnextContext();
|
|
32893
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
32894
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
32895
|
-
ɵɵadvance(2);
|
|
32896
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
32897
|
-
ɵɵadvance(1);
|
|
32898
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$t, ctx_r0.icon));
|
|
32899
|
-
} }
|
|
32900
|
-
function CustomBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
32901
|
-
ɵɵelementStart(0, "p", 7);
|
|
32902
|
-
ɵɵelementStart(1, "span");
|
|
32903
|
-
ɵɵtext(2);
|
|
32904
|
-
ɵɵelementEnd();
|
|
32905
|
-
ɵɵelementEnd();
|
|
32906
|
-
} if (rf & 2) {
|
|
32907
|
-
const ctx_r1 = ɵɵnextContext();
|
|
32908
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
32909
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
32910
|
-
ɵɵadvance(2);
|
|
32911
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
32912
|
-
} }
|
|
32913
|
-
function CustomBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
32914
|
-
ɵɵelementStart(0, "a", 12);
|
|
33097
|
+
function CustomBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33098
|
+
ɵɵelementStart(0, "a", 9);
|
|
32915
33099
|
ɵɵtext(1);
|
|
32916
33100
|
ɵɵelementEnd();
|
|
32917
33101
|
} if (rf & 2) {
|
|
32918
|
-
const
|
|
32919
|
-
ɵɵproperty("href",
|
|
33102
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33103
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
32920
33104
|
ɵɵadvance(1);
|
|
32921
|
-
ɵɵtextInterpolate(
|
|
33105
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
32922
33106
|
} }
|
|
32923
|
-
function
|
|
32924
|
-
ɵɵelementStart(0, "a",
|
|
33107
|
+
function CustomBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33108
|
+
ɵɵelementStart(0, "a", 9);
|
|
32925
33109
|
ɵɵtext(1);
|
|
32926
33110
|
ɵɵelementEnd();
|
|
32927
33111
|
} if (rf & 2) {
|
|
32928
|
-
const
|
|
32929
|
-
ɵɵproperty("href",
|
|
33112
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33113
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
32930
33114
|
ɵɵadvance(1);
|
|
32931
|
-
ɵɵtextInterpolate(
|
|
33115
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
32932
33116
|
} }
|
|
32933
|
-
function
|
|
32934
|
-
ɵɵelementStart(0, "
|
|
33117
|
+
function CustomBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33118
|
+
ɵɵelementStart(0, "p", 6);
|
|
32935
33119
|
ɵɵtext(1);
|
|
32936
33120
|
ɵɵelementEnd();
|
|
32937
|
-
ɵɵelementStart(2, "
|
|
32938
|
-
|
|
32939
|
-
ɵɵelementEnd();
|
|
32940
|
-
ɵɵelementStart(4, "div", 10);
|
|
32941
|
-
ɵɵtemplate(5, CustomBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33121
|
+
ɵɵelementStart(2, "div", 7);
|
|
33122
|
+
ɵɵtemplate(3, CustomBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
32942
33123
|
ɵɵelementEnd();
|
|
32943
|
-
ɵɵelementStart(
|
|
32944
|
-
ɵɵtemplate(
|
|
33124
|
+
ɵɵelementStart(4, "div", 7);
|
|
33125
|
+
ɵɵtemplate(5, CustomBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
32945
33126
|
ɵɵelementEnd();
|
|
32946
33127
|
} if (rf & 2) {
|
|
32947
|
-
const
|
|
32948
|
-
const ctx_r3 = ɵɵnextContext();
|
|
32949
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
32950
|
-
ɵɵadvance(1);
|
|
32951
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
32952
|
-
ɵɵadvance(1);
|
|
32953
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
32954
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33128
|
+
const ctx_r1 = ɵɵnextContext();
|
|
32955
33129
|
ɵɵadvance(1);
|
|
32956
|
-
ɵɵtextInterpolate(
|
|
33130
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
32957
33131
|
ɵɵadvance(2);
|
|
32958
|
-
ɵɵproperty("ngIf", !!
|
|
33132
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
32959
33133
|
ɵɵadvance(2);
|
|
32960
|
-
ɵɵproperty("ngIf",
|
|
33134
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
32961
33135
|
} }
|
|
33136
|
+
const _c1$t = function (a1) { return ["sme-icon", a1]; };
|
|
32962
33137
|
/**
|
|
32963
33138
|
* Defines a custom badge
|
|
32964
33139
|
*/
|
|
@@ -32986,15 +33161,26 @@ class CustomBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
32986
33161
|
}
|
|
32987
33162
|
}
|
|
32988
33163
|
/** @nocollapse */ CustomBadgeComponent.ɵfac = function CustomBadgeComponent_Factory(t) { return new (t || CustomBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
32989
|
-
/** @nocollapse */ CustomBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: CustomBadgeComponent, selectors: [["sme-badge", "type", "custom"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$$, decls:
|
|
32990
|
-
|
|
32991
|
-
|
|
32992
|
-
|
|
33164
|
+
/** @nocollapse */ CustomBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: CustomBadgeComponent, selectors: [["sme-badge", "type", "custom"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33165
|
+
ɵɵelementStart(0, "p", 0);
|
|
33166
|
+
ɵɵelementStart(1, "span", 1);
|
|
33167
|
+
ɵɵtext(2);
|
|
33168
|
+
ɵɵelementEnd();
|
|
33169
|
+
ɵɵelementStart(3, "span", 2);
|
|
33170
|
+
ɵɵtext(4);
|
|
33171
|
+
ɵɵelementEnd();
|
|
33172
|
+
ɵɵelement(5, "span", 3);
|
|
33173
|
+
ɵɵelementEnd();
|
|
33174
|
+
ɵɵtemplate(6, CustomBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
32993
33175
|
} if (rf & 2) {
|
|
32994
|
-
ɵɵproperty("
|
|
33176
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33177
|
+
ɵɵadvance(2);
|
|
33178
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33179
|
+
ɵɵadvance(2);
|
|
33180
|
+
ɵɵtextInterpolate(ctx.label);
|
|
32995
33181
|
ɵɵadvance(1);
|
|
32996
|
-
ɵɵproperty("
|
|
32997
|
-
} }, directives: [
|
|
33182
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$t, ctx.icon));
|
|
33183
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
32998
33184
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(CustomBadgeComponent, [{
|
|
32999
33185
|
type: Component,
|
|
33000
33186
|
args: [{
|
|
@@ -33004,85 +33190,46 @@ class CustomBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33004
33190
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33005
33191
|
|
|
33006
33192
|
const _c0$10 = ["type", "feedback"];
|
|
33007
|
-
|
|
33008
|
-
|
|
33009
|
-
ɵɵelementStart(0, "p", 4);
|
|
33010
|
-
ɵɵelementStart(1, "span", 5);
|
|
33011
|
-
ɵɵtext(2);
|
|
33012
|
-
ɵɵelementEnd();
|
|
33013
|
-
ɵɵelement(3, "span", 6);
|
|
33014
|
-
ɵɵelementEnd();
|
|
33015
|
-
} if (rf & 2) {
|
|
33016
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33017
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33018
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33019
|
-
ɵɵadvance(2);
|
|
33020
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33021
|
-
ɵɵadvance(1);
|
|
33022
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$u, ctx_r0.icon));
|
|
33023
|
-
} }
|
|
33024
|
-
function FeedbackBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33025
|
-
ɵɵelementStart(0, "p", 7);
|
|
33026
|
-
ɵɵelementStart(1, "span");
|
|
33027
|
-
ɵɵtext(2);
|
|
33028
|
-
ɵɵelementEnd();
|
|
33029
|
-
ɵɵelementEnd();
|
|
33030
|
-
} if (rf & 2) {
|
|
33031
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33032
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33033
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33034
|
-
ɵɵadvance(2);
|
|
33035
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33036
|
-
} }
|
|
33037
|
-
function FeedbackBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33038
|
-
ɵɵelementStart(0, "a", 12);
|
|
33193
|
+
function FeedbackBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33194
|
+
ɵɵelementStart(0, "a", 9);
|
|
33039
33195
|
ɵɵtext(1);
|
|
33040
33196
|
ɵɵelementEnd();
|
|
33041
33197
|
} if (rf & 2) {
|
|
33042
|
-
const
|
|
33043
|
-
ɵɵproperty("href",
|
|
33198
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33199
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33044
33200
|
ɵɵadvance(1);
|
|
33045
|
-
ɵɵtextInterpolate(
|
|
33201
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33046
33202
|
} }
|
|
33047
|
-
function
|
|
33048
|
-
ɵɵelementStart(0, "a",
|
|
33203
|
+
function FeedbackBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33204
|
+
ɵɵelementStart(0, "a", 9);
|
|
33049
33205
|
ɵɵtext(1);
|
|
33050
33206
|
ɵɵelementEnd();
|
|
33051
33207
|
} if (rf & 2) {
|
|
33052
|
-
const
|
|
33053
|
-
ɵɵproperty("href",
|
|
33208
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33209
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33054
33210
|
ɵɵadvance(1);
|
|
33055
|
-
ɵɵtextInterpolate(
|
|
33211
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33056
33212
|
} }
|
|
33057
|
-
function
|
|
33058
|
-
ɵɵelementStart(0, "
|
|
33213
|
+
function FeedbackBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33214
|
+
ɵɵelementStart(0, "p", 6);
|
|
33059
33215
|
ɵɵtext(1);
|
|
33060
33216
|
ɵɵelementEnd();
|
|
33061
|
-
ɵɵelementStart(2, "
|
|
33062
|
-
|
|
33063
|
-
ɵɵelementEnd();
|
|
33064
|
-
ɵɵelementStart(4, "div", 10);
|
|
33065
|
-
ɵɵtemplate(5, FeedbackBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33217
|
+
ɵɵelementStart(2, "div", 7);
|
|
33218
|
+
ɵɵtemplate(3, FeedbackBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33066
33219
|
ɵɵelementEnd();
|
|
33067
|
-
ɵɵelementStart(
|
|
33068
|
-
ɵɵtemplate(
|
|
33220
|
+
ɵɵelementStart(4, "div", 7);
|
|
33221
|
+
ɵɵtemplate(5, FeedbackBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33069
33222
|
ɵɵelementEnd();
|
|
33070
33223
|
} if (rf & 2) {
|
|
33071
|
-
const
|
|
33072
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33073
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33074
|
-
ɵɵadvance(1);
|
|
33075
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33076
|
-
ɵɵadvance(1);
|
|
33077
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33078
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33224
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33079
33225
|
ɵɵadvance(1);
|
|
33080
|
-
ɵɵtextInterpolate(
|
|
33226
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33081
33227
|
ɵɵadvance(2);
|
|
33082
|
-
ɵɵproperty("ngIf", !!
|
|
33228
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33083
33229
|
ɵɵadvance(2);
|
|
33084
|
-
ɵɵproperty("ngIf",
|
|
33230
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33085
33231
|
} }
|
|
33232
|
+
const _c1$u = function (a1) { return ["sme-icon", a1]; };
|
|
33086
33233
|
/**
|
|
33087
33234
|
* Defines a feedback badge
|
|
33088
33235
|
*/
|
|
@@ -33112,15 +33259,26 @@ class FeedbackBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33112
33259
|
}
|
|
33113
33260
|
}
|
|
33114
33261
|
/** @nocollapse */ FeedbackBadgeComponent.ɵfac = function FeedbackBadgeComponent_Factory(t) { return new (t || FeedbackBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33115
|
-
/** @nocollapse */ FeedbackBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: FeedbackBadgeComponent, selectors: [["sme-badge", "type", "feedback"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$10, decls:
|
|
33116
|
-
|
|
33117
|
-
|
|
33118
|
-
|
|
33262
|
+
/** @nocollapse */ FeedbackBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: FeedbackBadgeComponent, selectors: [["sme-badge", "type", "feedback"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33263
|
+
ɵɵelementStart(0, "p", 0);
|
|
33264
|
+
ɵɵelementStart(1, "span", 1);
|
|
33265
|
+
ɵɵtext(2);
|
|
33266
|
+
ɵɵelementEnd();
|
|
33267
|
+
ɵɵelementStart(3, "span", 2);
|
|
33268
|
+
ɵɵtext(4);
|
|
33269
|
+
ɵɵelementEnd();
|
|
33270
|
+
ɵɵelement(5, "span", 3);
|
|
33271
|
+
ɵɵelementEnd();
|
|
33272
|
+
ɵɵtemplate(6, FeedbackBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33119
33273
|
} if (rf & 2) {
|
|
33120
|
-
ɵɵproperty("
|
|
33274
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33275
|
+
ɵɵadvance(2);
|
|
33276
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33277
|
+
ɵɵadvance(2);
|
|
33278
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33121
33279
|
ɵɵadvance(1);
|
|
33122
|
-
ɵɵproperty("
|
|
33123
|
-
} }, directives: [
|
|
33280
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$u, ctx.icon));
|
|
33281
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33124
33282
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(FeedbackBadgeComponent, [{
|
|
33125
33283
|
type: Component,
|
|
33126
33284
|
args: [{
|
|
@@ -33130,85 +33288,46 @@ class FeedbackBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33130
33288
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33131
33289
|
|
|
33132
33290
|
const _c0$11 = ["type", "new"];
|
|
33133
|
-
|
|
33134
|
-
|
|
33135
|
-
ɵɵelementStart(0, "p", 4);
|
|
33136
|
-
ɵɵelementStart(1, "span", 5);
|
|
33137
|
-
ɵɵtext(2);
|
|
33138
|
-
ɵɵelementEnd();
|
|
33139
|
-
ɵɵelement(3, "span", 6);
|
|
33140
|
-
ɵɵelementEnd();
|
|
33141
|
-
} if (rf & 2) {
|
|
33142
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33143
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33144
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33145
|
-
ɵɵadvance(2);
|
|
33146
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33147
|
-
ɵɵadvance(1);
|
|
33148
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$v, ctx_r0.icon));
|
|
33149
|
-
} }
|
|
33150
|
-
function NewBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33151
|
-
ɵɵelementStart(0, "p", 7);
|
|
33152
|
-
ɵɵelementStart(1, "span");
|
|
33153
|
-
ɵɵtext(2);
|
|
33154
|
-
ɵɵelementEnd();
|
|
33155
|
-
ɵɵelementEnd();
|
|
33156
|
-
} if (rf & 2) {
|
|
33157
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33158
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33159
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33160
|
-
ɵɵadvance(2);
|
|
33161
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33162
|
-
} }
|
|
33163
|
-
function NewBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33164
|
-
ɵɵelementStart(0, "a", 12);
|
|
33291
|
+
function NewBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33292
|
+
ɵɵelementStart(0, "a", 9);
|
|
33165
33293
|
ɵɵtext(1);
|
|
33166
33294
|
ɵɵelementEnd();
|
|
33167
33295
|
} if (rf & 2) {
|
|
33168
|
-
const
|
|
33169
|
-
ɵɵproperty("href",
|
|
33296
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33297
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33170
33298
|
ɵɵadvance(1);
|
|
33171
|
-
ɵɵtextInterpolate(
|
|
33299
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33172
33300
|
} }
|
|
33173
|
-
function
|
|
33174
|
-
ɵɵelementStart(0, "a",
|
|
33301
|
+
function NewBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33302
|
+
ɵɵelementStart(0, "a", 9);
|
|
33175
33303
|
ɵɵtext(1);
|
|
33176
33304
|
ɵɵelementEnd();
|
|
33177
33305
|
} if (rf & 2) {
|
|
33178
|
-
const
|
|
33179
|
-
ɵɵproperty("href",
|
|
33306
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33307
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33180
33308
|
ɵɵadvance(1);
|
|
33181
|
-
ɵɵtextInterpolate(
|
|
33309
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33182
33310
|
} }
|
|
33183
|
-
function
|
|
33184
|
-
ɵɵelementStart(0, "
|
|
33311
|
+
function NewBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33312
|
+
ɵɵelementStart(0, "p", 6);
|
|
33185
33313
|
ɵɵtext(1);
|
|
33186
33314
|
ɵɵelementEnd();
|
|
33187
|
-
ɵɵelementStart(2, "
|
|
33188
|
-
|
|
33189
|
-
ɵɵelementEnd();
|
|
33190
|
-
ɵɵelementStart(4, "div", 10);
|
|
33191
|
-
ɵɵtemplate(5, NewBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33315
|
+
ɵɵelementStart(2, "div", 7);
|
|
33316
|
+
ɵɵtemplate(3, NewBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33192
33317
|
ɵɵelementEnd();
|
|
33193
|
-
ɵɵelementStart(
|
|
33194
|
-
ɵɵtemplate(
|
|
33318
|
+
ɵɵelementStart(4, "div", 7);
|
|
33319
|
+
ɵɵtemplate(5, NewBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33195
33320
|
ɵɵelementEnd();
|
|
33196
33321
|
} if (rf & 2) {
|
|
33197
|
-
const
|
|
33198
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33199
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33200
|
-
ɵɵadvance(1);
|
|
33201
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33202
|
-
ɵɵadvance(1);
|
|
33203
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33204
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33322
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33205
33323
|
ɵɵadvance(1);
|
|
33206
|
-
ɵɵtextInterpolate(
|
|
33324
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33207
33325
|
ɵɵadvance(2);
|
|
33208
|
-
ɵɵproperty("ngIf", !!
|
|
33326
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33209
33327
|
ɵɵadvance(2);
|
|
33210
|
-
ɵɵproperty("ngIf",
|
|
33328
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33211
33329
|
} }
|
|
33330
|
+
const _c1$v = function (a1) { return ["sme-icon", a1]; };
|
|
33212
33331
|
/**
|
|
33213
33332
|
* Defines a 'new' badge
|
|
33214
33333
|
*/
|
|
@@ -33238,15 +33357,26 @@ class NewBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33238
33357
|
}
|
|
33239
33358
|
}
|
|
33240
33359
|
/** @nocollapse */ NewBadgeComponent.ɵfac = function NewBadgeComponent_Factory(t) { return new (t || NewBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33241
|
-
/** @nocollapse */ NewBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: NewBadgeComponent, selectors: [["sme-badge", "type", "new"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$11, decls:
|
|
33242
|
-
|
|
33243
|
-
|
|
33244
|
-
|
|
33360
|
+
/** @nocollapse */ NewBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: NewBadgeComponent, selectors: [["sme-badge", "type", "new"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33361
|
+
ɵɵelementStart(0, "p", 0);
|
|
33362
|
+
ɵɵelementStart(1, "span", 1);
|
|
33363
|
+
ɵɵtext(2);
|
|
33364
|
+
ɵɵelementEnd();
|
|
33365
|
+
ɵɵelementStart(3, "span", 2);
|
|
33366
|
+
ɵɵtext(4);
|
|
33367
|
+
ɵɵelementEnd();
|
|
33368
|
+
ɵɵelement(5, "span", 3);
|
|
33369
|
+
ɵɵelementEnd();
|
|
33370
|
+
ɵɵtemplate(6, NewBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33245
33371
|
} if (rf & 2) {
|
|
33246
|
-
ɵɵproperty("
|
|
33372
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33373
|
+
ɵɵadvance(2);
|
|
33374
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33375
|
+
ɵɵadvance(2);
|
|
33376
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33247
33377
|
ɵɵadvance(1);
|
|
33248
|
-
ɵɵproperty("
|
|
33249
|
-
} }, directives: [
|
|
33378
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$v, ctx.icon));
|
|
33379
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33250
33380
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(NewBadgeComponent, [{
|
|
33251
33381
|
type: Component,
|
|
33252
33382
|
args: [{
|
|
@@ -33256,85 +33386,46 @@ class NewBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33256
33386
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33257
33387
|
|
|
33258
33388
|
const _c0$12 = ["type", "preview"];
|
|
33259
|
-
|
|
33260
|
-
|
|
33261
|
-
ɵɵelementStart(0, "p", 4);
|
|
33262
|
-
ɵɵelementStart(1, "span", 5);
|
|
33263
|
-
ɵɵtext(2);
|
|
33264
|
-
ɵɵelementEnd();
|
|
33265
|
-
ɵɵelement(3, "span", 6);
|
|
33266
|
-
ɵɵelementEnd();
|
|
33267
|
-
} if (rf & 2) {
|
|
33268
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33269
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33270
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33271
|
-
ɵɵadvance(2);
|
|
33272
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33273
|
-
ɵɵadvance(1);
|
|
33274
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$w, ctx_r0.icon));
|
|
33275
|
-
} }
|
|
33276
|
-
function PreviewBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33277
|
-
ɵɵelementStart(0, "p", 7);
|
|
33278
|
-
ɵɵelementStart(1, "span");
|
|
33279
|
-
ɵɵtext(2);
|
|
33280
|
-
ɵɵelementEnd();
|
|
33281
|
-
ɵɵelementEnd();
|
|
33282
|
-
} if (rf & 2) {
|
|
33283
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33284
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33285
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33286
|
-
ɵɵadvance(2);
|
|
33287
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33288
|
-
} }
|
|
33289
|
-
function PreviewBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33290
|
-
ɵɵelementStart(0, "a", 12);
|
|
33389
|
+
function PreviewBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33390
|
+
ɵɵelementStart(0, "a", 9);
|
|
33291
33391
|
ɵɵtext(1);
|
|
33292
33392
|
ɵɵelementEnd();
|
|
33293
33393
|
} if (rf & 2) {
|
|
33294
|
-
const
|
|
33295
|
-
ɵɵproperty("href",
|
|
33394
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33395
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33296
33396
|
ɵɵadvance(1);
|
|
33297
|
-
ɵɵtextInterpolate(
|
|
33397
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33298
33398
|
} }
|
|
33299
|
-
function
|
|
33300
|
-
ɵɵelementStart(0, "a",
|
|
33399
|
+
function PreviewBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33400
|
+
ɵɵelementStart(0, "a", 9);
|
|
33301
33401
|
ɵɵtext(1);
|
|
33302
33402
|
ɵɵelementEnd();
|
|
33303
33403
|
} if (rf & 2) {
|
|
33304
|
-
const
|
|
33305
|
-
ɵɵproperty("href",
|
|
33404
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33405
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33306
33406
|
ɵɵadvance(1);
|
|
33307
|
-
ɵɵtextInterpolate(
|
|
33407
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33308
33408
|
} }
|
|
33309
|
-
function
|
|
33310
|
-
ɵɵelementStart(0, "
|
|
33409
|
+
function PreviewBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33410
|
+
ɵɵelementStart(0, "p", 6);
|
|
33311
33411
|
ɵɵtext(1);
|
|
33312
33412
|
ɵɵelementEnd();
|
|
33313
|
-
ɵɵelementStart(2, "
|
|
33314
|
-
|
|
33315
|
-
ɵɵelementEnd();
|
|
33316
|
-
ɵɵelementStart(4, "div", 10);
|
|
33317
|
-
ɵɵtemplate(5, PreviewBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33413
|
+
ɵɵelementStart(2, "div", 7);
|
|
33414
|
+
ɵɵtemplate(3, PreviewBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33318
33415
|
ɵɵelementEnd();
|
|
33319
|
-
ɵɵelementStart(
|
|
33320
|
-
ɵɵtemplate(
|
|
33416
|
+
ɵɵelementStart(4, "div", 7);
|
|
33417
|
+
ɵɵtemplate(5, PreviewBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33321
33418
|
ɵɵelementEnd();
|
|
33322
33419
|
} if (rf & 2) {
|
|
33323
|
-
const
|
|
33324
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33325
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33326
|
-
ɵɵadvance(1);
|
|
33327
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33328
|
-
ɵɵadvance(1);
|
|
33329
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33330
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33420
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33331
33421
|
ɵɵadvance(1);
|
|
33332
|
-
ɵɵtextInterpolate(
|
|
33422
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33333
33423
|
ɵɵadvance(2);
|
|
33334
|
-
ɵɵproperty("ngIf", !!
|
|
33424
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33335
33425
|
ɵɵadvance(2);
|
|
33336
|
-
ɵɵproperty("ngIf",
|
|
33426
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33337
33427
|
} }
|
|
33428
|
+
const _c1$w = function (a1) { return ["sme-icon", a1]; };
|
|
33338
33429
|
/**
|
|
33339
33430
|
* Defines a preview badge
|
|
33340
33431
|
*/
|
|
@@ -33365,15 +33456,26 @@ class PreviewBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33365
33456
|
}
|
|
33366
33457
|
}
|
|
33367
33458
|
/** @nocollapse */ PreviewBadgeComponent.ɵfac = function PreviewBadgeComponent_Factory(t) { return new (t || PreviewBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33368
|
-
/** @nocollapse */ PreviewBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: PreviewBadgeComponent, selectors: [["sme-badge", "type", "preview"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$12, decls:
|
|
33369
|
-
|
|
33370
|
-
|
|
33371
|
-
|
|
33459
|
+
/** @nocollapse */ PreviewBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: PreviewBadgeComponent, selectors: [["sme-badge", "type", "preview"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33460
|
+
ɵɵelementStart(0, "p", 0);
|
|
33461
|
+
ɵɵelementStart(1, "span", 1);
|
|
33462
|
+
ɵɵtext(2);
|
|
33463
|
+
ɵɵelementEnd();
|
|
33464
|
+
ɵɵelementStart(3, "span", 2);
|
|
33465
|
+
ɵɵtext(4);
|
|
33466
|
+
ɵɵelementEnd();
|
|
33467
|
+
ɵɵelement(5, "span", 3);
|
|
33468
|
+
ɵɵelementEnd();
|
|
33469
|
+
ɵɵtemplate(6, PreviewBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33372
33470
|
} if (rf & 2) {
|
|
33373
|
-
ɵɵproperty("
|
|
33471
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33472
|
+
ɵɵadvance(2);
|
|
33473
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33474
|
+
ɵɵadvance(2);
|
|
33475
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33374
33476
|
ɵɵadvance(1);
|
|
33375
|
-
ɵɵproperty("
|
|
33376
|
-
} }, directives: [
|
|
33477
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$w, ctx.icon));
|
|
33478
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33377
33479
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(PreviewBadgeComponent, [{
|
|
33378
33480
|
type: Component,
|
|
33379
33481
|
args: [{
|
|
@@ -33383,85 +33485,46 @@ class PreviewBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33383
33485
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33384
33486
|
|
|
33385
33487
|
const _c0$13 = ["type", "bugfixes-feature"];
|
|
33386
|
-
|
|
33387
|
-
|
|
33388
|
-
ɵɵelementStart(0, "p", 4);
|
|
33389
|
-
ɵɵelementStart(1, "span", 5);
|
|
33390
|
-
ɵɵtext(2);
|
|
33391
|
-
ɵɵelementEnd();
|
|
33392
|
-
ɵɵelement(3, "span", 6);
|
|
33393
|
-
ɵɵelementEnd();
|
|
33394
|
-
} if (rf & 2) {
|
|
33395
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33396
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33397
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33398
|
-
ɵɵadvance(2);
|
|
33399
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33400
|
-
ɵɵadvance(1);
|
|
33401
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$x, ctx_r0.icon));
|
|
33402
|
-
} }
|
|
33403
|
-
function BugFixesFeatureBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33404
|
-
ɵɵelementStart(0, "p", 7);
|
|
33405
|
-
ɵɵelementStart(1, "span");
|
|
33406
|
-
ɵɵtext(2);
|
|
33407
|
-
ɵɵelementEnd();
|
|
33408
|
-
ɵɵelementEnd();
|
|
33409
|
-
} if (rf & 2) {
|
|
33410
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33411
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33412
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33413
|
-
ɵɵadvance(2);
|
|
33414
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33415
|
-
} }
|
|
33416
|
-
function BugFixesFeatureBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33417
|
-
ɵɵelementStart(0, "a", 12);
|
|
33488
|
+
function BugFixesFeatureBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33489
|
+
ɵɵelementStart(0, "a", 9);
|
|
33418
33490
|
ɵɵtext(1);
|
|
33419
33491
|
ɵɵelementEnd();
|
|
33420
33492
|
} if (rf & 2) {
|
|
33421
|
-
const
|
|
33422
|
-
ɵɵproperty("href",
|
|
33493
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33494
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33423
33495
|
ɵɵadvance(1);
|
|
33424
|
-
ɵɵtextInterpolate(
|
|
33496
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33425
33497
|
} }
|
|
33426
|
-
function
|
|
33427
|
-
ɵɵelementStart(0, "a",
|
|
33498
|
+
function BugFixesFeatureBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33499
|
+
ɵɵelementStart(0, "a", 9);
|
|
33428
33500
|
ɵɵtext(1);
|
|
33429
33501
|
ɵɵelementEnd();
|
|
33430
33502
|
} if (rf & 2) {
|
|
33431
|
-
const
|
|
33432
|
-
ɵɵproperty("href",
|
|
33503
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33504
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33433
33505
|
ɵɵadvance(1);
|
|
33434
|
-
ɵɵtextInterpolate(
|
|
33506
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33435
33507
|
} }
|
|
33436
|
-
function
|
|
33437
|
-
ɵɵelementStart(0, "
|
|
33508
|
+
function BugFixesFeatureBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33509
|
+
ɵɵelementStart(0, "p", 6);
|
|
33438
33510
|
ɵɵtext(1);
|
|
33439
33511
|
ɵɵelementEnd();
|
|
33440
|
-
ɵɵelementStart(2, "
|
|
33441
|
-
|
|
33442
|
-
ɵɵelementEnd();
|
|
33443
|
-
ɵɵelementStart(4, "div", 10);
|
|
33444
|
-
ɵɵtemplate(5, BugFixesFeatureBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33512
|
+
ɵɵelementStart(2, "div", 7);
|
|
33513
|
+
ɵɵtemplate(3, BugFixesFeatureBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33445
33514
|
ɵɵelementEnd();
|
|
33446
|
-
ɵɵelementStart(
|
|
33447
|
-
ɵɵtemplate(
|
|
33515
|
+
ɵɵelementStart(4, "div", 7);
|
|
33516
|
+
ɵɵtemplate(5, BugFixesFeatureBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33448
33517
|
ɵɵelementEnd();
|
|
33449
33518
|
} if (rf & 2) {
|
|
33450
|
-
const
|
|
33451
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33452
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33453
|
-
ɵɵadvance(1);
|
|
33454
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33455
|
-
ɵɵadvance(1);
|
|
33456
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33457
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33519
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33458
33520
|
ɵɵadvance(1);
|
|
33459
|
-
ɵɵtextInterpolate(
|
|
33521
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33460
33522
|
ɵɵadvance(2);
|
|
33461
|
-
ɵɵproperty("ngIf", !!
|
|
33523
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33462
33524
|
ɵɵadvance(2);
|
|
33463
|
-
ɵɵproperty("ngIf",
|
|
33525
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33464
33526
|
} }
|
|
33527
|
+
const _c1$x = function (a1) { return ["sme-icon", a1]; };
|
|
33465
33528
|
/**
|
|
33466
33529
|
* Defines an 'improvement-feature' badge
|
|
33467
33530
|
*/
|
|
@@ -33494,15 +33557,26 @@ class BugFixesFeatureBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33494
33557
|
}
|
|
33495
33558
|
}
|
|
33496
33559
|
/** @nocollapse */ BugFixesFeatureBadgeComponent.ɵfac = function BugFixesFeatureBadgeComponent_Factory(t) { return new (t || BugFixesFeatureBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33497
|
-
/** @nocollapse */ BugFixesFeatureBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: BugFixesFeatureBadgeComponent, selectors: [["sme-badge", "type", "bugfixes-feature"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$13, decls:
|
|
33498
|
-
|
|
33499
|
-
|
|
33500
|
-
|
|
33560
|
+
/** @nocollapse */ BugFixesFeatureBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: BugFixesFeatureBadgeComponent, selectors: [["sme-badge", "type", "bugfixes-feature"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33561
|
+
ɵɵelementStart(0, "p", 0);
|
|
33562
|
+
ɵɵelementStart(1, "span", 1);
|
|
33563
|
+
ɵɵtext(2);
|
|
33564
|
+
ɵɵelementEnd();
|
|
33565
|
+
ɵɵelementStart(3, "span", 2);
|
|
33566
|
+
ɵɵtext(4);
|
|
33567
|
+
ɵɵelementEnd();
|
|
33568
|
+
ɵɵelement(5, "span", 3);
|
|
33569
|
+
ɵɵelementEnd();
|
|
33570
|
+
ɵɵtemplate(6, BugFixesFeatureBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33501
33571
|
} if (rf & 2) {
|
|
33502
|
-
ɵɵproperty("
|
|
33572
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33573
|
+
ɵɵadvance(2);
|
|
33574
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33575
|
+
ɵɵadvance(2);
|
|
33576
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33503
33577
|
ɵɵadvance(1);
|
|
33504
|
-
ɵɵproperty("
|
|
33505
|
-
} }, directives: [
|
|
33578
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$x, ctx.icon));
|
|
33579
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33506
33580
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(BugFixesFeatureBadgeComponent, [{
|
|
33507
33581
|
type: Component,
|
|
33508
33582
|
args: [{
|
|
@@ -33512,85 +33586,46 @@ class BugFixesFeatureBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33512
33586
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33513
33587
|
|
|
33514
33588
|
const _c0$14 = ["type", "credsspenabled"];
|
|
33515
|
-
|
|
33516
|
-
|
|
33517
|
-
ɵɵelementStart(0, "p", 4);
|
|
33518
|
-
ɵɵelementStart(1, "span", 5);
|
|
33519
|
-
ɵɵtext(2);
|
|
33520
|
-
ɵɵelementEnd();
|
|
33521
|
-
ɵɵelement(3, "span", 6);
|
|
33522
|
-
ɵɵelementEnd();
|
|
33523
|
-
} if (rf & 2) {
|
|
33524
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33525
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33526
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33527
|
-
ɵɵadvance(2);
|
|
33528
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33529
|
-
ɵɵadvance(1);
|
|
33530
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$y, ctx_r0.icon));
|
|
33531
|
-
} }
|
|
33532
|
-
function CredSSPEnabledBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33533
|
-
ɵɵelementStart(0, "p", 7);
|
|
33534
|
-
ɵɵelementStart(1, "span");
|
|
33535
|
-
ɵɵtext(2);
|
|
33536
|
-
ɵɵelementEnd();
|
|
33537
|
-
ɵɵelementEnd();
|
|
33538
|
-
} if (rf & 2) {
|
|
33539
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33540
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33541
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33542
|
-
ɵɵadvance(2);
|
|
33543
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33544
|
-
} }
|
|
33545
|
-
function CredSSPEnabledBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33546
|
-
ɵɵelementStart(0, "a", 12);
|
|
33589
|
+
function CredSSPEnabledBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33590
|
+
ɵɵelementStart(0, "a", 9);
|
|
33547
33591
|
ɵɵtext(1);
|
|
33548
33592
|
ɵɵelementEnd();
|
|
33549
33593
|
} if (rf & 2) {
|
|
33550
|
-
const
|
|
33551
|
-
ɵɵproperty("href",
|
|
33594
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33595
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33552
33596
|
ɵɵadvance(1);
|
|
33553
|
-
ɵɵtextInterpolate(
|
|
33597
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33554
33598
|
} }
|
|
33555
|
-
function
|
|
33556
|
-
ɵɵelementStart(0, "a",
|
|
33599
|
+
function CredSSPEnabledBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33600
|
+
ɵɵelementStart(0, "a", 9);
|
|
33557
33601
|
ɵɵtext(1);
|
|
33558
33602
|
ɵɵelementEnd();
|
|
33559
33603
|
} if (rf & 2) {
|
|
33560
|
-
const
|
|
33561
|
-
ɵɵproperty("href",
|
|
33604
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33605
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33562
33606
|
ɵɵadvance(1);
|
|
33563
|
-
ɵɵtextInterpolate(
|
|
33607
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33564
33608
|
} }
|
|
33565
|
-
function
|
|
33566
|
-
ɵɵelementStart(0, "
|
|
33609
|
+
function CredSSPEnabledBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33610
|
+
ɵɵelementStart(0, "p", 6);
|
|
33567
33611
|
ɵɵtext(1);
|
|
33568
33612
|
ɵɵelementEnd();
|
|
33569
|
-
ɵɵelementStart(2, "
|
|
33570
|
-
|
|
33571
|
-
ɵɵelementEnd();
|
|
33572
|
-
ɵɵelementStart(4, "div", 10);
|
|
33573
|
-
ɵɵtemplate(5, CredSSPEnabledBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33613
|
+
ɵɵelementStart(2, "div", 7);
|
|
33614
|
+
ɵɵtemplate(3, CredSSPEnabledBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33574
33615
|
ɵɵelementEnd();
|
|
33575
|
-
ɵɵelementStart(
|
|
33576
|
-
ɵɵtemplate(
|
|
33616
|
+
ɵɵelementStart(4, "div", 7);
|
|
33617
|
+
ɵɵtemplate(5, CredSSPEnabledBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33577
33618
|
ɵɵelementEnd();
|
|
33578
33619
|
} if (rf & 2) {
|
|
33579
|
-
const
|
|
33580
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33581
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33582
|
-
ɵɵadvance(1);
|
|
33583
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33584
|
-
ɵɵadvance(1);
|
|
33585
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33586
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33620
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33587
33621
|
ɵɵadvance(1);
|
|
33588
|
-
ɵɵtextInterpolate(
|
|
33622
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33589
33623
|
ɵɵadvance(2);
|
|
33590
|
-
ɵɵproperty("ngIf", !!
|
|
33624
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33591
33625
|
ɵɵadvance(2);
|
|
33592
|
-
ɵɵproperty("ngIf",
|
|
33626
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33593
33627
|
} }
|
|
33628
|
+
const _c1$y = function (a1) { return ["sme-icon", a1]; };
|
|
33594
33629
|
/**
|
|
33595
33630
|
* Defines a preview badge
|
|
33596
33631
|
*/
|
|
@@ -33620,15 +33655,26 @@ class CredSSPEnabledBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33620
33655
|
}
|
|
33621
33656
|
}
|
|
33622
33657
|
/** @nocollapse */ CredSSPEnabledBadgeComponent.ɵfac = function CredSSPEnabledBadgeComponent_Factory(t) { return new (t || CredSSPEnabledBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33623
|
-
/** @nocollapse */ CredSSPEnabledBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: CredSSPEnabledBadgeComponent, selectors: [["sme-badge", "type", "credsspenabled"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$14, decls:
|
|
33624
|
-
|
|
33625
|
-
|
|
33626
|
-
|
|
33658
|
+
/** @nocollapse */ CredSSPEnabledBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: CredSSPEnabledBadgeComponent, selectors: [["sme-badge", "type", "credsspenabled"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33659
|
+
ɵɵelementStart(0, "p", 0);
|
|
33660
|
+
ɵɵelementStart(1, "span", 1);
|
|
33661
|
+
ɵɵtext(2);
|
|
33662
|
+
ɵɵelementEnd();
|
|
33663
|
+
ɵɵelementStart(3, "span", 2);
|
|
33664
|
+
ɵɵtext(4);
|
|
33665
|
+
ɵɵelementEnd();
|
|
33666
|
+
ɵɵelement(5, "span", 3);
|
|
33667
|
+
ɵɵelementEnd();
|
|
33668
|
+
ɵɵtemplate(6, CredSSPEnabledBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33627
33669
|
} if (rf & 2) {
|
|
33628
|
-
ɵɵproperty("
|
|
33670
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33671
|
+
ɵɵadvance(2);
|
|
33672
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33673
|
+
ɵɵadvance(2);
|
|
33674
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33629
33675
|
ɵɵadvance(1);
|
|
33630
|
-
ɵɵproperty("
|
|
33631
|
-
} }, directives: [
|
|
33676
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$y, ctx.icon));
|
|
33677
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33632
33678
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(CredSSPEnabledBadgeComponent, [{
|
|
33633
33679
|
type: Component,
|
|
33634
33680
|
args: [{
|
|
@@ -33638,85 +33684,46 @@ class CredSSPEnabledBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33638
33684
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33639
33685
|
|
|
33640
33686
|
const _c0$15 = ["type", "critical"];
|
|
33641
|
-
|
|
33642
|
-
|
|
33643
|
-
ɵɵelementStart(0, "p", 4);
|
|
33644
|
-
ɵɵelementStart(1, "span", 5);
|
|
33645
|
-
ɵɵtext(2);
|
|
33646
|
-
ɵɵelementEnd();
|
|
33647
|
-
ɵɵelement(3, "span", 6);
|
|
33648
|
-
ɵɵelementEnd();
|
|
33649
|
-
} if (rf & 2) {
|
|
33650
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33651
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33652
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33653
|
-
ɵɵadvance(2);
|
|
33654
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33655
|
-
ɵɵadvance(1);
|
|
33656
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$z, ctx_r0.icon));
|
|
33657
|
-
} }
|
|
33658
|
-
function CriticalBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33659
|
-
ɵɵelementStart(0, "p", 7);
|
|
33660
|
-
ɵɵelementStart(1, "span");
|
|
33661
|
-
ɵɵtext(2);
|
|
33662
|
-
ɵɵelementEnd();
|
|
33663
|
-
ɵɵelementEnd();
|
|
33664
|
-
} if (rf & 2) {
|
|
33665
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33666
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33667
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33668
|
-
ɵɵadvance(2);
|
|
33669
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33670
|
-
} }
|
|
33671
|
-
function CriticalBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33672
|
-
ɵɵelementStart(0, "a", 12);
|
|
33687
|
+
function CriticalBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33688
|
+
ɵɵelementStart(0, "a", 9);
|
|
33673
33689
|
ɵɵtext(1);
|
|
33674
33690
|
ɵɵelementEnd();
|
|
33675
33691
|
} if (rf & 2) {
|
|
33676
|
-
const
|
|
33677
|
-
ɵɵproperty("href",
|
|
33692
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33693
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33678
33694
|
ɵɵadvance(1);
|
|
33679
|
-
ɵɵtextInterpolate(
|
|
33695
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33680
33696
|
} }
|
|
33681
|
-
function
|
|
33682
|
-
ɵɵelementStart(0, "a",
|
|
33697
|
+
function CriticalBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33698
|
+
ɵɵelementStart(0, "a", 9);
|
|
33683
33699
|
ɵɵtext(1);
|
|
33684
33700
|
ɵɵelementEnd();
|
|
33685
33701
|
} if (rf & 2) {
|
|
33686
|
-
const
|
|
33687
|
-
ɵɵproperty("href",
|
|
33702
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33703
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33688
33704
|
ɵɵadvance(1);
|
|
33689
|
-
ɵɵtextInterpolate(
|
|
33705
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33690
33706
|
} }
|
|
33691
|
-
function
|
|
33692
|
-
ɵɵelementStart(0, "
|
|
33707
|
+
function CriticalBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33708
|
+
ɵɵelementStart(0, "p", 6);
|
|
33693
33709
|
ɵɵtext(1);
|
|
33694
33710
|
ɵɵelementEnd();
|
|
33695
|
-
ɵɵelementStart(2, "
|
|
33696
|
-
|
|
33711
|
+
ɵɵelementStart(2, "div", 7);
|
|
33712
|
+
ɵɵtemplate(3, CriticalBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33697
33713
|
ɵɵelementEnd();
|
|
33698
|
-
ɵɵelementStart(4, "div",
|
|
33699
|
-
ɵɵtemplate(5,
|
|
33700
|
-
ɵɵelementEnd();
|
|
33701
|
-
ɵɵelementStart(6, "div", 10);
|
|
33702
|
-
ɵɵtemplate(7, CriticalBadgeComponent_ng_template_2_a_7_Template, 2, 2, "a", 11);
|
|
33714
|
+
ɵɵelementStart(4, "div", 7);
|
|
33715
|
+
ɵɵtemplate(5, CriticalBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33703
33716
|
ɵɵelementEnd();
|
|
33704
33717
|
} if (rf & 2) {
|
|
33705
|
-
const
|
|
33706
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33707
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33708
|
-
ɵɵadvance(1);
|
|
33709
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33710
|
-
ɵɵadvance(1);
|
|
33711
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33712
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33718
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33713
33719
|
ɵɵadvance(1);
|
|
33714
|
-
ɵɵtextInterpolate(
|
|
33720
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33715
33721
|
ɵɵadvance(2);
|
|
33716
|
-
ɵɵproperty("ngIf", !!
|
|
33722
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33717
33723
|
ɵɵadvance(2);
|
|
33718
|
-
ɵɵproperty("ngIf",
|
|
33724
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33719
33725
|
} }
|
|
33726
|
+
const _c1$z = function (a1) { return ["sme-icon", a1]; };
|
|
33720
33727
|
/**
|
|
33721
33728
|
* Defines the critical badge.
|
|
33722
33729
|
*/
|
|
@@ -33745,15 +33752,26 @@ class CriticalBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33745
33752
|
}
|
|
33746
33753
|
}
|
|
33747
33754
|
/** @nocollapse */ CriticalBadgeComponent.ɵfac = function CriticalBadgeComponent_Factory(t) { return new (t || CriticalBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33748
|
-
/** @nocollapse */ CriticalBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: CriticalBadgeComponent, selectors: [["sme-badge", "type", "critical"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$15, decls:
|
|
33749
|
-
|
|
33750
|
-
|
|
33751
|
-
|
|
33755
|
+
/** @nocollapse */ CriticalBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: CriticalBadgeComponent, selectors: [["sme-badge", "type", "critical"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33756
|
+
ɵɵelementStart(0, "p", 0);
|
|
33757
|
+
ɵɵelementStart(1, "span", 1);
|
|
33758
|
+
ɵɵtext(2);
|
|
33759
|
+
ɵɵelementEnd();
|
|
33760
|
+
ɵɵelementStart(3, "span", 2);
|
|
33761
|
+
ɵɵtext(4);
|
|
33762
|
+
ɵɵelementEnd();
|
|
33763
|
+
ɵɵelement(5, "span", 3);
|
|
33764
|
+
ɵɵelementEnd();
|
|
33765
|
+
ɵɵtemplate(6, CriticalBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33752
33766
|
} if (rf & 2) {
|
|
33753
|
-
ɵɵproperty("
|
|
33767
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33768
|
+
ɵɵadvance(2);
|
|
33769
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33770
|
+
ɵɵadvance(2);
|
|
33771
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33754
33772
|
ɵɵadvance(1);
|
|
33755
|
-
ɵɵproperty("
|
|
33756
|
-
} }, directives: [
|
|
33773
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$z, ctx.icon));
|
|
33774
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33757
33775
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(CriticalBadgeComponent, [{
|
|
33758
33776
|
type: Component,
|
|
33759
33777
|
args: [{
|
|
@@ -33763,85 +33781,46 @@ class CriticalBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33763
33781
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33764
33782
|
|
|
33765
33783
|
const _c0$16 = ["type", "improvement-feature"];
|
|
33766
|
-
|
|
33767
|
-
|
|
33768
|
-
ɵɵelementStart(0, "p", 4);
|
|
33769
|
-
ɵɵelementStart(1, "span", 5);
|
|
33770
|
-
ɵɵtext(2);
|
|
33771
|
-
ɵɵelementEnd();
|
|
33772
|
-
ɵɵelement(3, "span", 6);
|
|
33773
|
-
ɵɵelementEnd();
|
|
33774
|
-
} if (rf & 2) {
|
|
33775
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33776
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33777
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33778
|
-
ɵɵadvance(2);
|
|
33779
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33780
|
-
ɵɵadvance(1);
|
|
33781
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$A, ctx_r0.icon));
|
|
33782
|
-
} }
|
|
33783
|
-
function ImprovementFeatureBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33784
|
-
ɵɵelementStart(0, "p", 7);
|
|
33785
|
-
ɵɵelementStart(1, "span");
|
|
33786
|
-
ɵɵtext(2);
|
|
33787
|
-
ɵɵelementEnd();
|
|
33788
|
-
ɵɵelementEnd();
|
|
33789
|
-
} if (rf & 2) {
|
|
33790
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33791
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33792
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33793
|
-
ɵɵadvance(2);
|
|
33794
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33795
|
-
} }
|
|
33796
|
-
function ImprovementFeatureBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33797
|
-
ɵɵelementStart(0, "a", 12);
|
|
33784
|
+
function ImprovementFeatureBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33785
|
+
ɵɵelementStart(0, "a", 9);
|
|
33798
33786
|
ɵɵtext(1);
|
|
33799
33787
|
ɵɵelementEnd();
|
|
33800
33788
|
} if (rf & 2) {
|
|
33801
|
-
const
|
|
33802
|
-
ɵɵproperty("href",
|
|
33789
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33790
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33803
33791
|
ɵɵadvance(1);
|
|
33804
|
-
ɵɵtextInterpolate(
|
|
33792
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33805
33793
|
} }
|
|
33806
|
-
function
|
|
33807
|
-
ɵɵelementStart(0, "a",
|
|
33794
|
+
function ImprovementFeatureBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33795
|
+
ɵɵelementStart(0, "a", 9);
|
|
33808
33796
|
ɵɵtext(1);
|
|
33809
33797
|
ɵɵelementEnd();
|
|
33810
33798
|
} if (rf & 2) {
|
|
33811
|
-
const
|
|
33812
|
-
ɵɵproperty("href",
|
|
33799
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33800
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33813
33801
|
ɵɵadvance(1);
|
|
33814
|
-
ɵɵtextInterpolate(
|
|
33802
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33815
33803
|
} }
|
|
33816
|
-
function
|
|
33817
|
-
ɵɵelementStart(0, "
|
|
33804
|
+
function ImprovementFeatureBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33805
|
+
ɵɵelementStart(0, "p", 6);
|
|
33818
33806
|
ɵɵtext(1);
|
|
33819
33807
|
ɵɵelementEnd();
|
|
33820
|
-
ɵɵelementStart(2, "
|
|
33821
|
-
|
|
33822
|
-
ɵɵelementEnd();
|
|
33823
|
-
ɵɵelementStart(4, "div", 10);
|
|
33824
|
-
ɵɵtemplate(5, ImprovementFeatureBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33808
|
+
ɵɵelementStart(2, "div", 7);
|
|
33809
|
+
ɵɵtemplate(3, ImprovementFeatureBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33825
33810
|
ɵɵelementEnd();
|
|
33826
|
-
ɵɵelementStart(
|
|
33827
|
-
ɵɵtemplate(
|
|
33811
|
+
ɵɵelementStart(4, "div", 7);
|
|
33812
|
+
ɵɵtemplate(5, ImprovementFeatureBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33828
33813
|
ɵɵelementEnd();
|
|
33829
33814
|
} if (rf & 2) {
|
|
33830
|
-
const
|
|
33831
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33832
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33833
|
-
ɵɵadvance(1);
|
|
33834
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33835
|
-
ɵɵadvance(1);
|
|
33836
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33837
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33815
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33838
33816
|
ɵɵadvance(1);
|
|
33839
|
-
ɵɵtextInterpolate(
|
|
33817
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33840
33818
|
ɵɵadvance(2);
|
|
33841
|
-
ɵɵproperty("ngIf", !!
|
|
33819
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33842
33820
|
ɵɵadvance(2);
|
|
33843
|
-
ɵɵproperty("ngIf",
|
|
33821
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33844
33822
|
} }
|
|
33823
|
+
const _c1$A = function (a1) { return ["sme-icon", a1]; };
|
|
33845
33824
|
/**
|
|
33846
33825
|
* Defines an 'improvement-feature' badge
|
|
33847
33826
|
*/
|
|
@@ -33874,15 +33853,26 @@ class ImprovementFeatureBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33874
33853
|
}
|
|
33875
33854
|
}
|
|
33876
33855
|
/** @nocollapse */ ImprovementFeatureBadgeComponent.ɵfac = function ImprovementFeatureBadgeComponent_Factory(t) { return new (t || ImprovementFeatureBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
33877
|
-
/** @nocollapse */ ImprovementFeatureBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: ImprovementFeatureBadgeComponent, selectors: [["sme-badge", "type", "improvement-feature"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$16, decls:
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
|
|
33856
|
+
/** @nocollapse */ ImprovementFeatureBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: ImprovementFeatureBadgeComponent, selectors: [["sme-badge", "type", "improvement-feature"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33857
|
+
ɵɵelementStart(0, "p", 0);
|
|
33858
|
+
ɵɵelementStart(1, "span", 1);
|
|
33859
|
+
ɵɵtext(2);
|
|
33860
|
+
ɵɵelementEnd();
|
|
33861
|
+
ɵɵelementStart(3, "span", 2);
|
|
33862
|
+
ɵɵtext(4);
|
|
33863
|
+
ɵɵelementEnd();
|
|
33864
|
+
ɵɵelement(5, "span", 3);
|
|
33865
|
+
ɵɵelementEnd();
|
|
33866
|
+
ɵɵtemplate(6, ImprovementFeatureBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
33881
33867
|
} if (rf & 2) {
|
|
33882
|
-
ɵɵproperty("
|
|
33868
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33869
|
+
ɵɵadvance(2);
|
|
33870
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33871
|
+
ɵɵadvance(2);
|
|
33872
|
+
ɵɵtextInterpolate(ctx.label);
|
|
33883
33873
|
ɵɵadvance(1);
|
|
33884
|
-
ɵɵproperty("
|
|
33885
|
-
} }, directives: [
|
|
33874
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$A, ctx.icon));
|
|
33875
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
33886
33876
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ImprovementFeatureBadgeComponent, [{
|
|
33887
33877
|
type: Component,
|
|
33888
33878
|
args: [{
|
|
@@ -33892,85 +33882,46 @@ class ImprovementFeatureBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
33892
33882
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
33893
33883
|
|
|
33894
33884
|
const _c0$17 = ["type", "new-feature"];
|
|
33895
|
-
|
|
33896
|
-
|
|
33897
|
-
ɵɵelementStart(0, "p", 4);
|
|
33898
|
-
ɵɵelementStart(1, "span", 5);
|
|
33899
|
-
ɵɵtext(2);
|
|
33900
|
-
ɵɵelementEnd();
|
|
33901
|
-
ɵɵelement(3, "span", 6);
|
|
33902
|
-
ɵɵelementEnd();
|
|
33903
|
-
} if (rf & 2) {
|
|
33904
|
-
const ctx_r0 = ɵɵnextContext();
|
|
33905
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
33906
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
33907
|
-
ɵɵadvance(2);
|
|
33908
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
33909
|
-
ɵɵadvance(1);
|
|
33910
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$B, ctx_r0.icon));
|
|
33911
|
-
} }
|
|
33912
|
-
function NewFeatureBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
33913
|
-
ɵɵelementStart(0, "p", 7);
|
|
33914
|
-
ɵɵelementStart(1, "span");
|
|
33915
|
-
ɵɵtext(2);
|
|
33916
|
-
ɵɵelementEnd();
|
|
33917
|
-
ɵɵelementEnd();
|
|
33918
|
-
} if (rf & 2) {
|
|
33919
|
-
const ctx_r1 = ɵɵnextContext();
|
|
33920
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33921
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
33922
|
-
ɵɵadvance(2);
|
|
33923
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
33924
|
-
} }
|
|
33925
|
-
function NewFeatureBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33926
|
-
ɵɵelementStart(0, "a", 12);
|
|
33885
|
+
function NewFeatureBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33886
|
+
ɵɵelementStart(0, "a", 9);
|
|
33927
33887
|
ɵɵtext(1);
|
|
33928
33888
|
ɵɵelementEnd();
|
|
33929
33889
|
} if (rf & 2) {
|
|
33930
|
-
const
|
|
33931
|
-
ɵɵproperty("href",
|
|
33890
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33891
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
33932
33892
|
ɵɵadvance(1);
|
|
33933
|
-
ɵɵtextInterpolate(
|
|
33893
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
33934
33894
|
} }
|
|
33935
|
-
function
|
|
33936
|
-
ɵɵelementStart(0, "a",
|
|
33895
|
+
function NewFeatureBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33896
|
+
ɵɵelementStart(0, "a", 9);
|
|
33937
33897
|
ɵɵtext(1);
|
|
33938
33898
|
ɵɵelementEnd();
|
|
33939
33899
|
} if (rf & 2) {
|
|
33940
|
-
const
|
|
33941
|
-
ɵɵproperty("href",
|
|
33900
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
33901
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
33942
33902
|
ɵɵadvance(1);
|
|
33943
|
-
ɵɵtextInterpolate(
|
|
33903
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
33944
33904
|
} }
|
|
33945
|
-
function
|
|
33946
|
-
ɵɵelementStart(0, "
|
|
33905
|
+
function NewFeatureBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
33906
|
+
ɵɵelementStart(0, "p", 6);
|
|
33947
33907
|
ɵɵtext(1);
|
|
33948
33908
|
ɵɵelementEnd();
|
|
33949
|
-
ɵɵelementStart(2, "
|
|
33950
|
-
|
|
33951
|
-
ɵɵelementEnd();
|
|
33952
|
-
ɵɵelementStart(4, "div", 10);
|
|
33953
|
-
ɵɵtemplate(5, NewFeatureBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
33909
|
+
ɵɵelementStart(2, "div", 7);
|
|
33910
|
+
ɵɵtemplate(3, NewFeatureBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
33954
33911
|
ɵɵelementEnd();
|
|
33955
|
-
ɵɵelementStart(
|
|
33956
|
-
ɵɵtemplate(
|
|
33912
|
+
ɵɵelementStart(4, "div", 7);
|
|
33913
|
+
ɵɵtemplate(5, NewFeatureBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
33957
33914
|
ɵɵelementEnd();
|
|
33958
33915
|
} if (rf & 2) {
|
|
33959
|
-
const
|
|
33960
|
-
const ctx_r3 = ɵɵnextContext();
|
|
33961
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
33962
|
-
ɵɵadvance(1);
|
|
33963
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
33964
|
-
ɵɵadvance(1);
|
|
33965
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
33966
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
33916
|
+
const ctx_r1 = ɵɵnextContext();
|
|
33967
33917
|
ɵɵadvance(1);
|
|
33968
|
-
ɵɵtextInterpolate(
|
|
33918
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
33969
33919
|
ɵɵadvance(2);
|
|
33970
|
-
ɵɵproperty("ngIf", !!
|
|
33920
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
33971
33921
|
ɵɵadvance(2);
|
|
33972
|
-
ɵɵproperty("ngIf",
|
|
33922
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
33973
33923
|
} }
|
|
33924
|
+
const _c1$B = function (a1) { return ["sme-icon", a1]; };
|
|
33974
33925
|
/**
|
|
33975
33926
|
* Defines a 'new-feature' badge
|
|
33976
33927
|
*/
|
|
@@ -34003,15 +33954,26 @@ class NewFeatureBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
34003
33954
|
}
|
|
34004
33955
|
}
|
|
34005
33956
|
/** @nocollapse */ NewFeatureBadgeComponent.ɵfac = function NewFeatureBadgeComponent_Factory(t) { return new (t || NewFeatureBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
34006
|
-
/** @nocollapse */ NewFeatureBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: NewFeatureBadgeComponent, selectors: [["sme-badge", "type", "new-feature"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$17, decls:
|
|
34007
|
-
|
|
34008
|
-
|
|
34009
|
-
|
|
33957
|
+
/** @nocollapse */ NewFeatureBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: NewFeatureBadgeComponent, selectors: [["sme-badge", "type", "new-feature"]], features: [ɵɵ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) { if (rf & 1) {
|
|
33958
|
+
ɵɵelementStart(0, "p", 0);
|
|
33959
|
+
ɵɵelementStart(1, "span", 1);
|
|
33960
|
+
ɵɵtext(2);
|
|
33961
|
+
ɵɵelementEnd();
|
|
33962
|
+
ɵɵelementStart(3, "span", 2);
|
|
33963
|
+
ɵɵtext(4);
|
|
33964
|
+
ɵɵelementEnd();
|
|
33965
|
+
ɵɵelement(5, "span", 3);
|
|
33966
|
+
ɵɵelementEnd();
|
|
33967
|
+
ɵɵtemplate(6, NewFeatureBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
34010
33968
|
} if (rf & 2) {
|
|
34011
|
-
ɵɵproperty("
|
|
33969
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
33970
|
+
ɵɵadvance(2);
|
|
33971
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
33972
|
+
ɵɵadvance(2);
|
|
33973
|
+
ɵɵtextInterpolate(ctx.label);
|
|
34012
33974
|
ɵɵadvance(1);
|
|
34013
|
-
ɵɵproperty("
|
|
34014
|
-
} }, directives: [
|
|
33975
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$B, ctx.icon));
|
|
33976
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
34015
33977
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(NewFeatureBadgeComponent, [{
|
|
34016
33978
|
type: Component,
|
|
34017
33979
|
args: [{
|
|
@@ -34021,85 +33983,46 @@ class NewFeatureBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
34021
33983
|
}], function () { return [{ type: Injector }]; }, null); })();
|
|
34022
33984
|
|
|
34023
33985
|
const _c0$18 = ["type", "warning"];
|
|
34024
|
-
|
|
34025
|
-
|
|
34026
|
-
ɵɵelementStart(0, "p", 4);
|
|
34027
|
-
ɵɵelementStart(1, "span", 5);
|
|
34028
|
-
ɵɵtext(2);
|
|
34029
|
-
ɵɵelementEnd();
|
|
34030
|
-
ɵɵelement(3, "span", 6);
|
|
34031
|
-
ɵɵelementEnd();
|
|
34032
|
-
} if (rf & 2) {
|
|
34033
|
-
const ctx_r0 = ɵɵnextContext();
|
|
34034
|
-
ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
34035
|
-
ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
34036
|
-
ɵɵadvance(2);
|
|
34037
|
-
ɵɵtextInterpolate(ctx_r0.label);
|
|
34038
|
-
ɵɵadvance(1);
|
|
34039
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c1$C, ctx_r0.icon));
|
|
34040
|
-
} }
|
|
34041
|
-
function WarningBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
34042
|
-
ɵɵelementStart(0, "p", 7);
|
|
34043
|
-
ɵɵelementStart(1, "span");
|
|
34044
|
-
ɵɵtext(2);
|
|
34045
|
-
ɵɵelementEnd();
|
|
34046
|
-
ɵɵelementEnd();
|
|
34047
|
-
} if (rf & 2) {
|
|
34048
|
-
const ctx_r1 = ɵɵnextContext();
|
|
34049
|
-
ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
34050
|
-
ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
34051
|
-
ɵɵadvance(2);
|
|
34052
|
-
ɵɵtextInterpolate(ctx_r1.label);
|
|
34053
|
-
} }
|
|
34054
|
-
function WarningBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
34055
|
-
ɵɵelementStart(0, "a", 12);
|
|
33986
|
+
function WarningBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
33987
|
+
ɵɵelementStart(0, "a", 9);
|
|
34056
33988
|
ɵɵtext(1);
|
|
34057
33989
|
ɵɵelementEnd();
|
|
34058
33990
|
} if (rf & 2) {
|
|
34059
|
-
const
|
|
34060
|
-
ɵɵproperty("href",
|
|
33991
|
+
const ctx_r3 = ɵɵnextContext(2);
|
|
33992
|
+
ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), ɵɵsanitizeUrl);
|
|
34061
33993
|
ɵɵadvance(1);
|
|
34062
|
-
ɵɵtextInterpolate(
|
|
33994
|
+
ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
34063
33995
|
} }
|
|
34064
|
-
function
|
|
34065
|
-
ɵɵelementStart(0, "a",
|
|
33996
|
+
function WarningBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
33997
|
+
ɵɵelementStart(0, "a", 9);
|
|
34066
33998
|
ɵɵtext(1);
|
|
34067
33999
|
ɵɵelementEnd();
|
|
34068
34000
|
} if (rf & 2) {
|
|
34069
|
-
const
|
|
34070
|
-
ɵɵproperty("href",
|
|
34001
|
+
const ctx_r4 = ɵɵnextContext(2);
|
|
34002
|
+
ɵɵproperty("href", ctx_r4.feedbackLink.toString(), ɵɵsanitizeUrl);
|
|
34071
34003
|
ɵɵadvance(1);
|
|
34072
|
-
ɵɵtextInterpolate(
|
|
34004
|
+
ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
34073
34005
|
} }
|
|
34074
|
-
function
|
|
34075
|
-
ɵɵelementStart(0, "
|
|
34006
|
+
function WarningBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
34007
|
+
ɵɵelementStart(0, "p", 6);
|
|
34076
34008
|
ɵɵtext(1);
|
|
34077
34009
|
ɵɵelementEnd();
|
|
34078
|
-
ɵɵelementStart(2, "
|
|
34079
|
-
|
|
34080
|
-
ɵɵelementEnd();
|
|
34081
|
-
ɵɵelementStart(4, "div", 10);
|
|
34082
|
-
ɵɵtemplate(5, WarningBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
34010
|
+
ɵɵelementStart(2, "div", 7);
|
|
34011
|
+
ɵɵtemplate(3, WarningBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
34083
34012
|
ɵɵelementEnd();
|
|
34084
|
-
ɵɵelementStart(
|
|
34085
|
-
ɵɵtemplate(
|
|
34013
|
+
ɵɵelementStart(4, "div", 7);
|
|
34014
|
+
ɵɵtemplate(5, WarningBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
34086
34015
|
ɵɵelementEnd();
|
|
34087
34016
|
} if (rf & 2) {
|
|
34088
|
-
const
|
|
34089
|
-
const ctx_r3 = ɵɵnextContext();
|
|
34090
|
-
ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
34091
|
-
ɵɵadvance(1);
|
|
34092
|
-
ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
34093
|
-
ɵɵadvance(1);
|
|
34094
|
-
ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
34095
|
-
ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
34017
|
+
const ctx_r1 = ɵɵnextContext();
|
|
34096
34018
|
ɵɵadvance(1);
|
|
34097
|
-
ɵɵtextInterpolate(
|
|
34019
|
+
ɵɵtextInterpolate(ctx_r1.description);
|
|
34098
34020
|
ɵɵadvance(2);
|
|
34099
|
-
ɵɵproperty("ngIf", !!
|
|
34021
|
+
ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
34100
34022
|
ɵɵadvance(2);
|
|
34101
|
-
ɵɵproperty("ngIf",
|
|
34023
|
+
ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
34102
34024
|
} }
|
|
34025
|
+
const _c1$C = function (a1) { return ["sme-icon", a1]; };
|
|
34103
34026
|
/**
|
|
34104
34027
|
* Defines the rbac badge.
|
|
34105
34028
|
*/
|
|
@@ -34128,15 +34051,26 @@ class WarningBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
34128
34051
|
}
|
|
34129
34052
|
}
|
|
34130
34053
|
/** @nocollapse */ WarningBadgeComponent.ɵfac = function WarningBadgeComponent_Factory(t) { return new (t || WarningBadgeComponent)(ɵɵdirectiveInject(Injector)); };
|
|
34131
|
-
/** @nocollapse */ WarningBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: WarningBadgeComponent, selectors: [["sme-badge", "type", "warning"]], features: [ɵɵInheritDefinitionFeature], attrs: _c0$18, decls:
|
|
34132
|
-
|
|
34133
|
-
|
|
34134
|
-
|
|
34054
|
+
/** @nocollapse */ WarningBadgeComponent.ɵcmp = ɵɵdefineComponent({ type: WarningBadgeComponent, selectors: [["sme-badge", "type", "warning"]], features: [ɵɵ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) { if (rf & 1) {
|
|
34055
|
+
ɵɵelementStart(0, "p", 0);
|
|
34056
|
+
ɵɵelementStart(1, "span", 1);
|
|
34057
|
+
ɵɵtext(2);
|
|
34058
|
+
ɵɵelementEnd();
|
|
34059
|
+
ɵɵelementStart(3, "span", 2);
|
|
34060
|
+
ɵɵtext(4);
|
|
34061
|
+
ɵɵelementEnd();
|
|
34062
|
+
ɵɵelement(5, "span", 3);
|
|
34063
|
+
ɵɵelementEnd();
|
|
34064
|
+
ɵɵtemplate(6, WarningBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, ɵɵtemplateRefExtractor);
|
|
34135
34065
|
} if (rf & 2) {
|
|
34136
|
-
ɵɵproperty("
|
|
34066
|
+
ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
34067
|
+
ɵɵadvance(2);
|
|
34068
|
+
ɵɵtextInterpolate(ctx.ariaLabel);
|
|
34069
|
+
ɵɵadvance(2);
|
|
34070
|
+
ɵɵtextInterpolate(ctx.label);
|
|
34137
34071
|
ɵɵadvance(1);
|
|
34138
|
-
ɵɵproperty("
|
|
34139
|
-
} }, directives: [
|
|
34072
|
+
ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c1$C, ctx.icon));
|
|
34073
|
+
} }, directives: [TooltipDirective, NgClass, NgIf], encapsulation: 2 });
|
|
34140
34074
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(WarningBadgeComponent, [{
|
|
34141
34075
|
type: Component,
|
|
34142
34076
|
args: [{
|
|
@@ -34844,7 +34778,7 @@ class BreadcrumbHeaderComponent extends CoreBaseComponent {
|
|
|
34844
34778
|
}
|
|
34845
34779
|
}
|
|
34846
34780
|
/** @nocollapse */ BreadcrumbHeaderComponent.ɵfac = function BreadcrumbHeaderComponent_Factory(t) { return ɵBreadcrumbHeaderComponent_BaseFactory(t || BreadcrumbHeaderComponent); };
|
|
34847
|
-
/** @nocollapse */ BreadcrumbHeaderComponent.ɵcmp = ɵɵdefineComponent({ type: BreadcrumbHeaderComponent, selectors: [["sme-breadcrumb-header"]], inputs: { breadcrumbItems: "breadcrumbItems", breadcrumbSeparator: "breadcrumbSeparator", noLeftPadding: "noLeftPadding", useToolTitleStyle: "useToolTitleStyle" }, features: [ɵɵ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) { if (rf & 1) {
|
|
34781
|
+
/** @nocollapse */ BreadcrumbHeaderComponent.ɵcmp = ɵɵdefineComponent({ type: BreadcrumbHeaderComponent, selectors: [["sme-breadcrumb-header"]], inputs: { breadcrumbItems: "breadcrumbItems", breadcrumbSeparator: "breadcrumbSeparator", noLeftPadding: "noLeftPadding", useToolTitleStyle: "useToolTitleStyle" }, features: [ɵɵ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) { if (rf & 1) {
|
|
34848
34782
|
ɵɵtemplate(0, BreadcrumbHeaderComponent_div_0_Template, 3, 4, "div", 0);
|
|
34849
34783
|
ɵɵtemplate(1, BreadcrumbHeaderComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, ɵɵtemplateRefExtractor);
|
|
34850
34784
|
} if (rf & 2) {
|
|
@@ -34915,20 +34849,20 @@ function BreadcrumbComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
34915
34849
|
ɵɵtextInterpolate(item_r1.label);
|
|
34916
34850
|
} }
|
|
34917
34851
|
function BreadcrumbComponent_span_0_span_4_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
34918
|
-
ɵɵelementStart(0, "span");
|
|
34852
|
+
ɵɵelementStart(0, "span", 10);
|
|
34919
34853
|
ɵɵtext(1, "\u00A0\\\u00A0");
|
|
34920
34854
|
ɵɵelementEnd();
|
|
34921
34855
|
} }
|
|
34922
34856
|
function BreadcrumbComponent_span_0_span_4_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
34923
|
-
ɵɵelementStart(0, "span");
|
|
34857
|
+
ɵɵelementStart(0, "span", 10);
|
|
34924
34858
|
ɵɵtext(1, "\u00A0/\u00A0");
|
|
34925
34859
|
ɵɵelementEnd();
|
|
34926
34860
|
} }
|
|
34927
34861
|
function BreadcrumbComponent_span_0_span_4_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34928
|
-
ɵɵelement(0, "span",
|
|
34862
|
+
ɵɵelement(0, "span", 11);
|
|
34929
34863
|
} }
|
|
34930
34864
|
function BreadcrumbComponent_span_0_span_4_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
34931
|
-
ɵɵelementStart(0, "span");
|
|
34865
|
+
ɵɵelementStart(0, "span", 10);
|
|
34932
34866
|
ɵɵtext(1, "\u00A0,\u00A0");
|
|
34933
34867
|
ɵɵelementEnd();
|
|
34934
34868
|
} }
|
|
@@ -35020,7 +34954,7 @@ BreadcrumbComponent.separators = {
|
|
|
35020
34954
|
comma: BreadcrumbSeparator.Comma
|
|
35021
34955
|
};
|
|
35022
34956
|
/** @nocollapse */ BreadcrumbComponent.ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(ɵɵdirectiveInject(Injector)); };
|
|
35023
|
-
/** @nocollapse */ BreadcrumbComponent.ɵcmp = ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["sme-breadcrumb"]], inputs: { breadcrumbs: "breadcrumbs", separator: "separator" }, features: [ɵɵ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) { if (rf & 1) {
|
|
34957
|
+
/** @nocollapse */ BreadcrumbComponent.ɵcmp = ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["sme-breadcrumb"]], inputs: { breadcrumbs: "breadcrumbs", separator: "separator" }, features: [ɵɵ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) { if (rf & 1) {
|
|
35024
34958
|
ɵɵtemplate(0, BreadcrumbComponent_span_0_Template, 5, 5, "span", 0);
|
|
35025
34959
|
} if (rf & 2) {
|
|
35026
34960
|
ɵɵproperty("ngForOf", ctx.breadcrumbs);
|
|
@@ -35688,7 +35622,7 @@ class DetailsComponent extends CoreBaseComponent {
|
|
|
35688
35622
|
} if (rf & 2) {
|
|
35689
35623
|
let _t;
|
|
35690
35624
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.expander = _t.first);
|
|
35691
|
-
} }, inputs: { initialHeightPercentage: "initialHeightPercentage", header: "header", chevronInverted: "chevronInverted", title: "title", isExpanded: "isExpanded", ignoreChangeInExpandedSize: "ignoreChangeInExpandedSize" }, outputs: { isExpandedChange: "isExpandedChange" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
35625
|
+
} }, inputs: { initialHeightPercentage: "initialHeightPercentage", header: "header", chevronInverted: "chevronInverted", title: "title", isExpanded: "isExpanded", ignoreChangeInExpandedSize: "ignoreChangeInExpandedSize" }, outputs: { isExpandedChange: "isExpandedChange" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
35692
35626
|
ɵɵprojectionDef();
|
|
35693
35627
|
ɵɵelementStart(0, "div", 0, 1);
|
|
35694
35628
|
ɵɵlistener("click", function DetailsComponent_Template_div_click_0_listener() { return ctx.toggleExpansion(); });
|
|
@@ -35905,43 +35839,29 @@ class BaseDialogComponent {
|
|
|
35905
35839
|
function ConfirmationDialogComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
35906
35840
|
const _r5 = ɵɵgetCurrentView();
|
|
35907
35841
|
ɵɵelementStart(0, "div", 10);
|
|
35908
|
-
ɵɵelementStart(1, "
|
|
35909
|
-
|
|
35910
|
-
ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_9_Template_input_ngModelChange_2_listener($event) { ɵɵrestoreView(_r5); const ctx_r4 = ɵɵnextContext(); return ctx_r4.checked = $event; });
|
|
35911
|
-
ɵɵelementEnd();
|
|
35912
|
-
ɵɵelementStart(3, "span");
|
|
35913
|
-
ɵɵtext(4);
|
|
35914
|
-
ɵɵelementEnd();
|
|
35842
|
+
ɵɵelementStart(1, "sme-form-field", 11);
|
|
35843
|
+
ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_9_Template_sme_form_field_ngModelChange_1_listener($event) { ɵɵrestoreView(_r5); const ctx_r4 = ɵɵnextContext(); return ctx_r4.checked = $event; });
|
|
35915
35844
|
ɵɵelementEnd();
|
|
35916
35845
|
ɵɵelementEnd();
|
|
35917
35846
|
} if (rf & 2) {
|
|
35918
35847
|
const ctx_r1 = ɵɵnextContext();
|
|
35919
|
-
ɵɵadvance(
|
|
35920
|
-
ɵɵproperty("ngModel", ctx_r1.checked);
|
|
35921
|
-
ɵɵadvance(2);
|
|
35922
|
-
ɵɵtextInterpolate(ctx_r1.checkboxText);
|
|
35848
|
+
ɵɵadvance(1);
|
|
35849
|
+
ɵɵproperty("ngModel", ctx_r1.checked)("label", ctx_r1.checkboxText);
|
|
35923
35850
|
} }
|
|
35924
35851
|
function ConfirmationDialogComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
35925
35852
|
const _r7 = ɵɵgetCurrentView();
|
|
35926
|
-
ɵɵelementStart(0, "div",
|
|
35927
|
-
ɵɵelementStart(1, "
|
|
35928
|
-
|
|
35929
|
-
ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_10_Template_input_ngModelChange_2_listener($event) { ɵɵrestoreView(_r7); const ctx_r6 = ɵɵnextContext(); return ctx_r6.doubleChecked = $event; });
|
|
35930
|
-
ɵɵelementEnd();
|
|
35931
|
-
ɵɵelementStart(3, "span");
|
|
35932
|
-
ɵɵtext(4);
|
|
35933
|
-
ɵɵelementEnd();
|
|
35853
|
+
ɵɵelementStart(0, "div", 12);
|
|
35854
|
+
ɵɵelementStart(1, "sme-form-field", 13);
|
|
35855
|
+
ɵɵlistener("ngModelChange", function ConfirmationDialogComponent_div_10_Template_sme_form_field_ngModelChange_1_listener($event) { ɵɵrestoreView(_r7); const ctx_r6 = ɵɵnextContext(); return ctx_r6.doubleChecked = $event; });
|
|
35934
35856
|
ɵɵelementEnd();
|
|
35935
35857
|
ɵɵelementEnd();
|
|
35936
35858
|
} if (rf & 2) {
|
|
35937
35859
|
const ctx_r2 = ɵɵnextContext();
|
|
35938
|
-
ɵɵadvance(
|
|
35939
|
-
ɵɵproperty("ngModel", ctx_r2.doubleChecked);
|
|
35940
|
-
ɵɵadvance(2);
|
|
35941
|
-
ɵɵtextInterpolate(ctx_r2.doubleCheckText);
|
|
35860
|
+
ɵɵadvance(1);
|
|
35861
|
+
ɵɵproperty("ngModel", ctx_r2.doubleChecked)("label", ctx_r2.doubleCheckText);
|
|
35942
35862
|
} }
|
|
35943
35863
|
function ConfirmationDialogComponent_sme_alert_11_Template(rf, ctx) { if (rf & 1) {
|
|
35944
|
-
ɵɵelement(0, "sme-alert",
|
|
35864
|
+
ɵɵelement(0, "sme-alert", 14);
|
|
35945
35865
|
} if (rf & 2) {
|
|
35946
35866
|
const ctx_r3 = ɵɵnextContext();
|
|
35947
35867
|
ɵɵproperty("alert", ctx_r3.alert);
|
|
@@ -35956,6 +35876,7 @@ class ConfirmationDialogComponent extends BaseDialogComponent {
|
|
|
35956
35876
|
*/
|
|
35957
35877
|
constructor(dialogService) {
|
|
35958
35878
|
super(dialogService);
|
|
35879
|
+
this.keepOpen = true;
|
|
35959
35880
|
}
|
|
35960
35881
|
/**
|
|
35961
35882
|
* handler for when a close is requested
|
|
@@ -36016,7 +35937,7 @@ class ConfirmationDialogComponent extends BaseDialogComponent {
|
|
|
36016
35937
|
}
|
|
36017
35938
|
}
|
|
36018
35939
|
/** @nocollapse */ ConfirmationDialogComponent.ɵfac = function ConfirmationDialogComponent_Factory(t) { return new (t || ConfirmationDialogComponent)(ɵɵdirectiveInject(DialogService)); };
|
|
36019
|
-
/** @nocollapse */ ConfirmationDialogComponent.ɵcmp = ɵɵdefineComponent({ type: ConfirmationDialogComponent, selectors: [["sme-confirmation-dialog"]], features: [ɵɵ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-
|
|
35940
|
+
/** @nocollapse */ ConfirmationDialogComponent.ɵcmp = ɵɵdefineComponent({ type: ConfirmationDialogComponent, selectors: [["sme-confirmation-dialog"]], features: [ɵɵ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) { if (rf & 1) {
|
|
36020
35941
|
ɵɵelementStart(0, "sme-dialog", 0, 1);
|
|
36021
35942
|
ɵɵelementStart(2, "sme-dialog-header");
|
|
36022
35943
|
ɵɵelementStart(3, "h2", 2);
|
|
@@ -36028,8 +35949,8 @@ class ConfirmationDialogComponent extends BaseDialogComponent {
|
|
|
36028
35949
|
ɵɵelementStart(7, "p", 4);
|
|
36029
35950
|
ɵɵtext(8);
|
|
36030
35951
|
ɵɵelementEnd();
|
|
36031
|
-
ɵɵtemplate(9, ConfirmationDialogComponent_div_9_Template,
|
|
36032
|
-
ɵɵtemplate(10, ConfirmationDialogComponent_div_10_Template,
|
|
35952
|
+
ɵɵtemplate(9, ConfirmationDialogComponent_div_9_Template, 2, 2, "div", 5);
|
|
35953
|
+
ɵɵtemplate(10, ConfirmationDialogComponent_div_10_Template, 2, 2, "div", 6);
|
|
36033
35954
|
ɵɵtemplate(11, ConfirmationDialogComponent_sme_alert_11_Template, 1, 1, "sme-alert", 7);
|
|
36034
35955
|
ɵɵelementEnd();
|
|
36035
35956
|
ɵɵelementEnd();
|
|
@@ -36063,7 +35984,7 @@ class ConfirmationDialogComponent extends BaseDialogComponent {
|
|
|
36063
35984
|
ɵɵtextInterpolate(ctx.confirmButtonText);
|
|
36064
35985
|
ɵɵadvance(2);
|
|
36065
35986
|
ɵɵtextInterpolate(ctx.cancelButtonText);
|
|
36066
|
-
} }, directives: [DialogComponent, DialogHeaderComponent, DialogContentComponent, ɵangular_packages_forms_forms_ba, NgControlStatusGroup, NgForm, NgIf, DialogFooterComponent,
|
|
35987
|
+
} }, directives: [DialogComponent, DialogHeaderComponent, DialogContentComponent, ɵangular_packages_forms_forms_ba, NgControlStatusGroup, NgForm, NgIf, DialogFooterComponent, FormFieldAccessorDirective, FormFieldValidatorDirective, CheckboxFormFieldComponent, NgControlStatus, NgModel, ValidationAlertComponent], encapsulation: 2 });
|
|
36067
35988
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ConfirmationDialogComponent, [{
|
|
36068
35989
|
type: Component,
|
|
36069
35990
|
args: [{
|
|
@@ -38617,6 +38538,22 @@ function StackedHorizontalBarChartComponent_div_7_Template(rf, ctx) { if (rf & 1
|
|
|
38617
38538
|
ɵɵadvance(1);
|
|
38618
38539
|
ɵɵproperty("ngIf", ctx_r3.legendTotalData);
|
|
38619
38540
|
} }
|
|
38541
|
+
/**
|
|
38542
|
+
*
|
|
38543
|
+
* @smeDoc {@label Stacked Horizontal Bar Chart @id sme-stacked-horizontal-bar-chart-dev-guide}
|
|
38544
|
+
*
|
|
38545
|
+
* @overview
|
|
38546
|
+
* @file {@filepath ./examples/overview.md}
|
|
38547
|
+
*
|
|
38548
|
+
* @example {@label Stacked horizontal bar chart @id horizontal-bar-chart}
|
|
38549
|
+
* @file {@filename component.html @filepath ./examples/horizontal-bar-chart.component.html}
|
|
38550
|
+
* @file {@filename component.ts @filepath ./examples/horizontal-bar-chart.component.ts}
|
|
38551
|
+
*
|
|
38552
|
+
* @example {@label Stacked horizontal bar chart with custom color @id horizontal-bar-chart-custom-color}
|
|
38553
|
+
* @file {@filename component.html @filepath ./examples/horizontal-bar-chart-custom-color.component.html}
|
|
38554
|
+
* @file {@filename component.ts @filepath ./examples/horizontal-bar-chart-custom-color.component.ts}
|
|
38555
|
+
*
|
|
38556
|
+
*/
|
|
38620
38557
|
class StackedHorizontalBarChartComponent extends CapacityBase {
|
|
38621
38558
|
constructor(injector) {
|
|
38622
38559
|
super(injector);
|
|
@@ -40070,7 +40007,7 @@ function PropertyGridComponent_sme_layout_item_5_span_6_Template(rf, ctx) { if (
|
|
|
40070
40007
|
const _r16 = ɵɵreference(2);
|
|
40071
40008
|
ɵɵproperty("title", item_r14.tooltip)("tooltipZone", _r16);
|
|
40072
40009
|
} }
|
|
40073
|
-
function
|
|
40010
|
+
function PropertyGridComponent_sme_layout_item_5_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
40074
40011
|
ɵɵelementContainer(0);
|
|
40075
40012
|
} }
|
|
40076
40013
|
const _c4$6 = function (a0, a1) { return { $implicit: a0, index: a1 }; };
|
|
@@ -40082,17 +40019,11 @@ function PropertyGridComponent_sme_layout_item_5_Template(rf, ctx) { if (rf & 1)
|
|
|
40082
40019
|
ɵɵtext(5);
|
|
40083
40020
|
ɵɵelementEnd();
|
|
40084
40021
|
ɵɵtemplate(6, PropertyGridComponent_sme_layout_item_5_span_6_Template, 1, 2, "span", 17);
|
|
40022
|
+
ɵɵelementStart(7, "span", 18);
|
|
40023
|
+
ɵɵtext(8);
|
|
40085
40024
|
ɵɵelementEnd();
|
|
40086
|
-
ɵɵtemplate(7, PropertyGridComponent_sme_layout_item_5_ng_container_7_Template, 1, 0, "ng-container", 18);
|
|
40087
|
-
ɵɵelementStart(8, "span", 19);
|
|
40088
|
-
ɵɵtext(9);
|
|
40089
|
-
ɵɵelementEnd();
|
|
40090
|
-
ɵɵelementStart(10, "span", 19);
|
|
40091
|
-
ɵɵtext(11);
|
|
40092
|
-
ɵɵelementEnd();
|
|
40093
|
-
ɵɵelementStart(12, "span", 19);
|
|
40094
|
-
ɵɵtext(13);
|
|
40095
40025
|
ɵɵelementEnd();
|
|
40026
|
+
ɵɵtemplate(9, PropertyGridComponent_sme_layout_item_5_ng_container_9_Template, 1, 0, "ng-container", 19);
|
|
40096
40027
|
ɵɵelementEnd();
|
|
40097
40028
|
ɵɵelementEnd();
|
|
40098
40029
|
} if (rf & 2) {
|
|
@@ -40104,20 +40035,10 @@ function PropertyGridComponent_sme_layout_item_5_Template(rf, ctx) { if (rf & 1)
|
|
|
40104
40035
|
ɵɵtextInterpolate(item_r14.label);
|
|
40105
40036
|
ɵɵadvance(1);
|
|
40106
40037
|
ɵɵproperty("ngIf", item_r14.tooltip);
|
|
40107
|
-
ɵɵadvance(
|
|
40108
|
-
ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", ɵɵpureFunction2(12, _c4$6, item_r14, i_r15));
|
|
40109
|
-
ɵɵadvance(1);
|
|
40110
|
-
ɵɵproperty("id", ctx_r3.idBag.detailsSpan + i_r15);
|
|
40111
|
-
ɵɵadvance(1);
|
|
40038
|
+
ɵɵadvance(2);
|
|
40112
40039
|
ɵɵtextInterpolate(item_r14.tooltip);
|
|
40113
40040
|
ɵɵadvance(1);
|
|
40114
|
-
ɵɵproperty("
|
|
40115
|
-
ɵɵadvance(1);
|
|
40116
|
-
ɵɵtextInterpolate(item_r14.label);
|
|
40117
|
-
ɵɵadvance(1);
|
|
40118
|
-
ɵɵproperty("id", ctx_r3.idBag.valueSpan + i_r15);
|
|
40119
|
-
ɵɵadvance(1);
|
|
40120
|
-
ɵɵtextInterpolate(item_r14.value);
|
|
40041
|
+
ɵɵproperty("ngTemplateOutlet", ctx_r3.getTemplate(item_r14))("ngTemplateOutletContext", ɵɵpureFunction2(7, _c4$6, item_r14, i_r15));
|
|
40121
40042
|
} }
|
|
40122
40043
|
function PropertyGridComponent_ng_template_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40123
40044
|
ɵɵelementContainer(0);
|
|
@@ -40134,7 +40055,7 @@ function PropertyGridComponent_ng_template_6_span_2_Template(rf, ctx) { if (rf &
|
|
|
40134
40055
|
} }
|
|
40135
40056
|
function PropertyGridComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
40136
40057
|
ɵɵelementStart(0, "p", 21);
|
|
40137
|
-
ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container",
|
|
40058
|
+
ɵɵtemplate(1, PropertyGridComponent_ng_template_6_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40138
40059
|
ɵɵtemplate(2, PropertyGridComponent_ng_template_6_span_2_Template, 2, 1, "span", 22);
|
|
40139
40060
|
ɵɵelementEnd();
|
|
40140
40061
|
} if (rf & 2) {
|
|
@@ -40153,7 +40074,7 @@ function PropertyGridComponent_ng_template_8_ng_container_1_Template(rf, ctx) {
|
|
|
40153
40074
|
} }
|
|
40154
40075
|
function PropertyGridComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
40155
40076
|
ɵɵelementStart(0, "p");
|
|
40156
|
-
ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container",
|
|
40077
|
+
ɵɵtemplate(1, PropertyGridComponent_ng_template_8_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40157
40078
|
ɵɵelementStart(2, "a", 23);
|
|
40158
40079
|
ɵɵlistener("click", function PropertyGridComponent_ng_template_8_Template_a_click_2_listener() { const item_r25 = ctx.$implicit; return item_r25.action(item_r25); });
|
|
40159
40080
|
ɵɵtext(3);
|
|
@@ -40176,7 +40097,7 @@ function PropertyGridComponent_ng_template_10_ng_container_1_Template(rf, ctx) {
|
|
|
40176
40097
|
} }
|
|
40177
40098
|
function PropertyGridComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
40178
40099
|
ɵɵelementStart(0, "p");
|
|
40179
|
-
ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container",
|
|
40100
|
+
ɵɵtemplate(1, PropertyGridComponent_ng_template_10_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40180
40101
|
ɵɵelementStart(2, "a", 24);
|
|
40181
40102
|
ɵɵtext(3);
|
|
40182
40103
|
ɵɵelementEnd();
|
|
@@ -40199,7 +40120,7 @@ function PropertyGridComponent_ng_template_12_ng_container_1_Template(rf, ctx) {
|
|
|
40199
40120
|
} }
|
|
40200
40121
|
function PropertyGridComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
40201
40122
|
ɵɵelementStart(0, "p");
|
|
40202
|
-
ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container",
|
|
40123
|
+
ɵɵtemplate(1, PropertyGridComponent_ng_template_12_ng_container_1_Template, 1, 0, "ng-container", 19);
|
|
40203
40124
|
ɵɵelementStart(2, "a", 25);
|
|
40204
40125
|
ɵɵelementStart(3, "span");
|
|
40205
40126
|
ɵɵtext(4);
|
|
@@ -40382,12 +40303,12 @@ class PropertyGridComponent extends CoreBaseComponent {
|
|
|
40382
40303
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.externalLinkTemplate = _t.first);
|
|
40383
40304
|
} }, inputs: { orientation: "orientation" }, outputs: { layoutChanged: "layoutChanged" }, features: [ɵɵProvidersFeature([
|
|
40384
40305
|
{ provide: SME_LAYOUT_PROVIDER, useExisting: forwardRef((() => PropertyGridComponent)) }
|
|
40385
|
-
]), ɵɵInheritDefinitionFeature, ɵɵ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"], [
|
|
40306
|
+
]), ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
40386
40307
|
ɵɵelementStart(0, "sme-layout", 0, 1);
|
|
40387
40308
|
ɵɵelement(2, "sme-layout-definition", 2);
|
|
40388
40309
|
ɵɵtemplate(3, PropertyGridComponent_sme_layout_definition_3_Template, 1, 2, "sme-layout-definition", 3);
|
|
40389
40310
|
ɵɵtemplate(4, PropertyGridComponent_sme_layout_definition_4_Template, 1, 1, "sme-layout-definition", 4);
|
|
40390
|
-
ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template,
|
|
40311
|
+
ɵɵtemplate(5, PropertyGridComponent_sme_layout_item_5_Template, 10, 10, "sme-layout-item", 5);
|
|
40391
40312
|
ɵɵelementEnd();
|
|
40392
40313
|
ɵɵtemplate(6, PropertyGridComponent_ng_template_6_Template, 3, 8, "ng-template", null, 6, ɵɵtemplateRefExtractor);
|
|
40393
40314
|
ɵɵtemplate(8, PropertyGridComponent_ng_template_8_Template, 4, 8, "ng-template", null, 7, ɵɵtemplateRefExtractor);
|
|
@@ -41974,10 +41895,10 @@ class SchemaFormContentComponent {
|
|
|
41974
41895
|
}
|
|
41975
41896
|
}
|
|
41976
41897
|
get isFormValid() {
|
|
41977
|
-
return this.fieldHostComponent.isValid();
|
|
41898
|
+
return !!this.fieldHostComponent && this.fieldHostComponent.isValid();
|
|
41978
41899
|
}
|
|
41979
41900
|
get isFormDirty() {
|
|
41980
|
-
return this.fieldHostComponent.isDirty();
|
|
41901
|
+
return !!this.fieldHostComponent && this.fieldHostComponent.isDirty();
|
|
41981
41902
|
}
|
|
41982
41903
|
onFormActionExecuted(action, data) {
|
|
41983
41904
|
this.formActionExecuted.emit({ action: action, data: data });
|
|
@@ -41989,7 +41910,10 @@ class SchemaFormContentComponent {
|
|
|
41989
41910
|
this.context.formController = this.formController;
|
|
41990
41911
|
}
|
|
41991
41912
|
getFormContainerLoaderComponent() {
|
|
41992
|
-
|
|
41913
|
+
if (this.fieldHostComponent) {
|
|
41914
|
+
return this.fieldHostComponent.getFormFieldLoaderComponent();
|
|
41915
|
+
}
|
|
41916
|
+
return null;
|
|
41993
41917
|
}
|
|
41994
41918
|
}
|
|
41995
41919
|
/** @nocollapse */ SchemaFormContentComponent.ɵfac = function SchemaFormContentComponent_Factory(t) { return new (t || SchemaFormContentComponent)(); };
|
|
@@ -44588,6 +44512,33 @@ function SettingsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
44588
44512
|
} }
|
|
44589
44513
|
const _c0$1u = [[["sme-settings-navigation"]], [["sme-settings-header"]], [["sme-settings-content"]], [["sme-settings-footer"]]];
|
|
44590
44514
|
const _c1$O = ["sme-settings-navigation", "sme-settings-header", "sme-settings-content", "sme-settings-footer"];
|
|
44515
|
+
/**
|
|
44516
|
+
*
|
|
44517
|
+
* @smeDoc {@label Settings @id sme-settings}
|
|
44518
|
+
*
|
|
44519
|
+
* @overview
|
|
44520
|
+
* @file {@filepath ./examples/settings-overview.md}
|
|
44521
|
+
*
|
|
44522
|
+
* @example {@label Basic Multi-Form Usage @id basic-multi}
|
|
44523
|
+
* @file {@filename component.html @filepath ./examples/multi-form-example/component.html}
|
|
44524
|
+
* @file {@filename component.ts @filepath ./examples/multi-form-example/component.ts}
|
|
44525
|
+
* @file {@filename panel1.ts @filepath ./examples/multi-form-example/panel1.ts}
|
|
44526
|
+
* @file {@filename panel1.html @filepath ./examples/multi-form-example/panel1.html}
|
|
44527
|
+
* @file {@filename panel2.ts @filepath ./examples/multi-form-example/panel2.ts}
|
|
44528
|
+
* @file {@filename panel2.html @filepath ./examples/multi-form-example/panel2.html}
|
|
44529
|
+
* @file {@filename component-routing.module @filepath ./examples/multi-form-example/routing.module.ts}
|
|
44530
|
+
*
|
|
44531
|
+
* @example {@label Basic Single-Form Usage @id basic-single}
|
|
44532
|
+
* @file {@filename component.html @filepath ./examples/single-form-example/component.html}
|
|
44533
|
+
* @file {@filename component.ts @filepath ./examples/single-form-example/component.ts}
|
|
44534
|
+
* @file {@filename panel.ts @filepath ./examples/single-form-example/panel.ts}
|
|
44535
|
+
* @file {@filename panel.html @filepath ./examples/single-form-example/panel.html}
|
|
44536
|
+
* @file {@filename component-routing.module @filepath ./examples/single-form-example/routing.module.ts}
|
|
44537
|
+
*
|
|
44538
|
+
*/
|
|
44539
|
+
/**
|
|
44540
|
+
* Defines base settings component, implements core functionality + settings form.
|
|
44541
|
+
*/
|
|
44591
44542
|
class SettingsComponent extends CoreBaseComponent {
|
|
44592
44543
|
constructor(injector) {
|
|
44593
44544
|
super(injector);
|
|
@@ -44753,7 +44704,9 @@ function CommonSettingsComponent_li_6_h3_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
44753
44704
|
ɵɵtextInterpolate(group_r4.group);
|
|
44754
44705
|
} }
|
|
44755
44706
|
function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
44707
|
+
const _r12 = ɵɵgetCurrentView();
|
|
44756
44708
|
ɵɵelementStart(0, "a", 13);
|
|
44709
|
+
ɵɵlistener("smeRouterLinkActivated", function CommonSettingsComponent_li_6_a_2_Template_a_smeRouterLinkActivated_0_listener() { ɵɵrestoreView(_r12); const setting_r9 = ctx.$implicit; const ctx_r11 = ɵɵnextContext(2); return ctx_r11.selectedSetting = setting_r9; });
|
|
44757
44710
|
ɵɵelement(1, "div", 14);
|
|
44758
44711
|
ɵɵelementStart(2, "div", 15);
|
|
44759
44712
|
ɵɵelementStart(3, "span", 16);
|
|
@@ -44768,7 +44721,7 @@ function CommonSettingsComponent_li_6_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
44768
44721
|
const ctx_r7 = ɵɵnextContext();
|
|
44769
44722
|
ɵɵattributeInterpolate5("aria-labelledby", "", ctx_r7.idBag.option, "-", j_r5, "-", i_r10, " ", ctx_r7.idBag.group, "-", j_r5, "");
|
|
44770
44723
|
ɵɵ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);
|
|
44771
|
-
ɵɵattribute("aria-selected", ctx_r7.
|
|
44724
|
+
ɵɵattribute("aria-selected", ctx_r7.selectedSetting === setting_r9);
|
|
44772
44725
|
ɵɵadvance(1);
|
|
44773
44726
|
ɵɵproperty("ngClass", ctx_r7.getSmeIconClass(setting_r9));
|
|
44774
44727
|
ɵɵadvance(2);
|
|
@@ -44791,9 +44744,9 @@ function CommonSettingsComponent_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
44791
44744
|
ɵɵproperty("ngForOf", group_r4.options);
|
|
44792
44745
|
} }
|
|
44793
44746
|
function CommonSettingsComponent_div_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
44794
|
-
const
|
|
44747
|
+
const _r17 = ɵɵgetCurrentView();
|
|
44795
44748
|
ɵɵelementStart(0, "div", 18);
|
|
44796
|
-
ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { ɵɵrestoreView(
|
|
44749
|
+
ɵɵlistener("click", function CommonSettingsComponent_div_7_div_1_Template_div_click_0_listener() { ɵɵrestoreView(_r17); const layer_r15 = ctx.$implicit; const ctx_r16 = ɵɵnextContext(2); return ctx_r16.onOverlayClick(layer_r15); });
|
|
44797
44750
|
ɵɵelementEnd();
|
|
44798
44751
|
} }
|
|
44799
44752
|
function CommonSettingsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -44810,10 +44763,10 @@ function CommonSettingsComponent_sme_settings_header_8_h3_1_Template(rf, ctx) {
|
|
|
44810
44763
|
ɵɵtext(1);
|
|
44811
44764
|
ɵɵelementEnd();
|
|
44812
44765
|
} if (rf & 2) {
|
|
44813
|
-
const
|
|
44814
|
-
ɵɵattribute("aria-label",
|
|
44766
|
+
const ctx_r18 = ɵɵnextContext(2);
|
|
44767
|
+
ɵɵattribute("aria-label", ctx_r18.selectedSetting.label);
|
|
44815
44768
|
ɵɵadvance(1);
|
|
44816
|
-
ɵɵtextInterpolate1(" ",
|
|
44769
|
+
ɵɵtextInterpolate1(" ", ctx_r18.selectedSetting.label, "");
|
|
44817
44770
|
} }
|
|
44818
44771
|
function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) { if (rf & 1) {
|
|
44819
44772
|
ɵɵelementStart(0, "sme-settings-header");
|
|
@@ -44822,14 +44775,16 @@ function CommonSettingsComponent_sme_settings_header_8_Template(rf, ctx) { if (r
|
|
|
44822
44775
|
} if (rf & 2) {
|
|
44823
44776
|
const ctx_r3 = ɵɵnextContext();
|
|
44824
44777
|
ɵɵadvance(1);
|
|
44825
|
-
ɵɵproperty("ngIf", !!ctx_r3.
|
|
44778
|
+
ɵɵproperty("ngIf", !!ctx_r3.selectedSetting);
|
|
44826
44779
|
} }
|
|
44827
44780
|
const _c0$1v = ["*"];
|
|
44781
|
+
/**
|
|
44782
|
+
* Container around settings component, handles common settings behavior.
|
|
44783
|
+
*/
|
|
44828
44784
|
class CommonSettingsComponent extends CoreBaseComponent {
|
|
44829
|
-
constructor(injector, router,
|
|
44785
|
+
constructor(injector, router, settingsForms, iterableDiffers, appContext, rpcShellService) {
|
|
44830
44786
|
super(injector);
|
|
44831
44787
|
this.router = router;
|
|
44832
|
-
this.activatedRoute = activatedRoute;
|
|
44833
44788
|
this.settingsForms = settingsForms;
|
|
44834
44789
|
this.iterableDiffers = iterableDiffers;
|
|
44835
44790
|
this.appContext = appContext;
|
|
@@ -44924,7 +44879,7 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
44924
44879
|
}
|
|
44925
44880
|
}
|
|
44926
44881
|
recalculateActivePanel() {
|
|
44927
|
-
const setting = this.
|
|
44882
|
+
const setting = this.selectedSetting;
|
|
44928
44883
|
if (MsftSme.isNullOrUndefined(setting)) {
|
|
44929
44884
|
return;
|
|
44930
44885
|
}
|
|
@@ -44953,7 +44908,7 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
44953
44908
|
discardAllChildForms() {
|
|
44954
44909
|
// For the current active setting, we need to reset the form to its
|
|
44955
44910
|
// original pristine form when discarding changes
|
|
44956
|
-
const activeSetting = this.
|
|
44911
|
+
const activeSetting = this.selectedSetting;
|
|
44957
44912
|
const settingWithForm = activeSetting;
|
|
44958
44913
|
if (settingWithForm.form) {
|
|
44959
44914
|
settingWithForm.form.reset(this.latestPristineFormValue);
|
|
@@ -44970,7 +44925,7 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
44970
44925
|
});
|
|
44971
44926
|
}
|
|
44972
44927
|
acceptAllChildFormsValue() {
|
|
44973
|
-
const activeSetting = this.
|
|
44928
|
+
const activeSetting = this.selectedSetting;
|
|
44974
44929
|
this.settings.forEach((setting) => {
|
|
44975
44930
|
const settingWithForm = setting;
|
|
44976
44931
|
if (settingWithForm.form) {
|
|
@@ -45012,22 +44967,6 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45012
44967
|
option: ''
|
|
45013
44968
|
};
|
|
45014
44969
|
}
|
|
45015
|
-
getActiveSettingItem() {
|
|
45016
|
-
if (this.settings && this.settings.length > 0) {
|
|
45017
|
-
for (const setting of this.settings) {
|
|
45018
|
-
const extras = setting.routeParams.extras || {};
|
|
45019
|
-
Object.assign(extras, {
|
|
45020
|
-
relativeTo: this.activatedRoute
|
|
45021
|
-
});
|
|
45022
|
-
const urlTree = this.router.createUrlTree(setting.routeParams.commands, extras);
|
|
45023
|
-
if (this.router.isActive(urlTree, false)) {
|
|
45024
|
-
this.selectedSettingTitle = setting.label;
|
|
45025
|
-
return setting;
|
|
45026
|
-
}
|
|
45027
|
-
}
|
|
45028
|
-
}
|
|
45029
|
-
return undefined;
|
|
45030
|
-
}
|
|
45031
44970
|
onOverlayClick(layer) {
|
|
45032
44971
|
const layerRpc = this.appContext.rpc.rpcManager.rpcChannel.getRpc(layer.sourceName, layer.sourceSubName, RpcType.Outbound);
|
|
45033
44972
|
from(RpcOverlayCloseClient.overlayClose(this.appContext.rpc, { overlay: false, dialogId: layer.dialogId }, layerRpc))
|
|
@@ -45041,7 +44980,7 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45041
44980
|
if (this.layers.length > 0) {
|
|
45042
44981
|
this.layers.pop();
|
|
45043
44982
|
}
|
|
45044
|
-
return
|
|
44983
|
+
return EMPTY;
|
|
45045
44984
|
});
|
|
45046
44985
|
}
|
|
45047
44986
|
/**
|
|
@@ -45073,13 +45012,13 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45073
45012
|
return formControl.value;
|
|
45074
45013
|
}
|
|
45075
45014
|
}
|
|
45076
|
-
/** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(Router), ɵɵdirectiveInject(
|
|
45015
|
+
/** @nocollapse */ CommonSettingsComponent.ɵfac = function CommonSettingsComponent_Factory(t) { return new (t || CommonSettingsComponent)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(Router), ɵɵdirectiveInject(SettingsFormService), ɵɵdirectiveInject(IterableDiffers), ɵɵdirectiveInject(AppContextService), ɵɵdirectiveInject(RpcShellService)); };
|
|
45077
45016
|
/** @nocollapse */ CommonSettingsComponent.ɵcmp = ɵɵdefineComponent({ type: CommonSettingsComponent, selectors: [["sme-common-settings"]], viewQuery: function CommonSettingsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
45078
45017
|
ɵɵviewQuery(SettingsComponent, 1);
|
|
45079
45018
|
} if (rf & 2) {
|
|
45080
45019
|
let _t;
|
|
45081
45020
|
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.settingsComponent = _t.first);
|
|
45082
|
-
} }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
45021
|
+
} }, inputs: { settingsTitle: "settingsTitle", settings: "settings", showHeader: "showHeader", hackShowOverlay: "hackShowOverlay", hackToolHeader: "hackToolHeader", backRoute: "backRoute" }, features: [ɵɵInheritDefinitionFeature, ɵɵ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) { if (rf & 1) {
|
|
45083
45022
|
ɵɵprojectionDef();
|
|
45084
45023
|
ɵɵelementStart(0, "sme-settings", 0);
|
|
45085
45024
|
ɵɵelementStart(1, "sme-settings-navigation");
|
|
@@ -45120,7 +45059,7 @@ class CommonSettingsComponent extends CoreBaseComponent {
|
|
|
45120
45059
|
selector: 'sme-common-settings',
|
|
45121
45060
|
templateUrl: './common-settings.component.html'
|
|
45122
45061
|
}]
|
|
45123
|
-
}], function () { return [{ type: Injector }, { type: Router }, { type:
|
|
45062
|
+
}], function () { return [{ type: Injector }, { type: Router }, { type: SettingsFormService }, { type: IterableDiffers }, { type: AppContextService }, { type: RpcShellService }]; }, { settingsTitle: [{
|
|
45124
45063
|
type: Input
|
|
45125
45064
|
}], settings: [{
|
|
45126
45065
|
type: Input
|
|
@@ -45388,6 +45327,7 @@ class SettingsModule {
|
|
|
45388
45327
|
SettingsFormService,
|
|
45389
45328
|
CanDeactivateGuard
|
|
45390
45329
|
], imports: [[
|
|
45330
|
+
SmeRouterModule,
|
|
45391
45331
|
RouterModule,
|
|
45392
45332
|
CommonModule,
|
|
45393
45333
|
HeaderModule,
|
|
@@ -45401,7 +45341,8 @@ class SettingsModule {
|
|
|
45401
45341
|
SettingsContentComponent,
|
|
45402
45342
|
SettingsPageComponent,
|
|
45403
45343
|
SettingsNavigationComponent,
|
|
45404
|
-
CommonSettingsComponent], imports: [
|
|
45344
|
+
CommonSettingsComponent], imports: [SmeRouterModule,
|
|
45345
|
+
RouterModule,
|
|
45405
45346
|
CommonModule,
|
|
45406
45347
|
HeaderModule,
|
|
45407
45348
|
LayoutModule,
|
|
@@ -45417,6 +45358,7 @@ class SettingsModule {
|
|
|
45417
45358
|
type: NgModule,
|
|
45418
45359
|
args: [{
|
|
45419
45360
|
imports: [
|
|
45361
|
+
SmeRouterModule,
|
|
45420
45362
|
RouterModule,
|
|
45421
45363
|
CommonModule,
|
|
45422
45364
|
HeaderModule,
|
|
@@ -45450,7 +45392,7 @@ class SettingsModule {
|
|
|
45450
45392
|
}]
|
|
45451
45393
|
}], null, null); })();
|
|
45452
45394
|
ɵɵsetComponentScope(CommonSettingsComponent, [SettingsComponent,
|
|
45453
|
-
SettingsNavigationComponent, NgIf, NgForOf, TooltipDirective, RouterLinkWithHref, RouterLinkActive, NgClass, SettingsHeaderComponent,
|
|
45395
|
+
SettingsNavigationComponent, NgIf, NgForOf, TooltipDirective, RouterLinkWithHref, RouterLinkActive, SmeRouterLinkDirective, NgClass, SettingsHeaderComponent,
|
|
45454
45396
|
SettingsContentComponent, RouterOutlet, SettingsFooterComponent], []);
|
|
45455
45397
|
|
|
45456
45398
|
// tslint:disable-next-line: directive-class-suffix
|
|
@@ -46403,7 +46345,7 @@ function WizardComponent_div_4_ul_1_li_1_span_4_Template(rf, ctx) { if (rf & 1)
|
|
|
46403
46345
|
ɵɵadvance(1);
|
|
46404
46346
|
ɵɵtextInterpolate(step_r14.name);
|
|
46405
46347
|
} }
|
|
46406
|
-
const _c3$c = function (a0) { return { "sme-scheme-list-item sme-active sme-color-base-5": a0 }; };
|
|
46348
|
+
const _c3$c = function (a0) { return { "sme-scheme-nav-list-item sme-active sme-color-base-5": a0 }; };
|
|
46407
46349
|
const _c4$8 = function (a0) { return { "sme-step-active": a0 }; };
|
|
46408
46350
|
function WizardComponent_div_4_ul_1_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
46409
46351
|
const _r19 = ɵɵgetCurrentView();
|
|
@@ -46540,6 +46482,23 @@ var WizardState;
|
|
|
46540
46482
|
*/
|
|
46541
46483
|
class WizardTelemetryData {
|
|
46542
46484
|
}
|
|
46485
|
+
/**
|
|
46486
|
+
* @smeDoc {@label Wizard @id sme-wizard}
|
|
46487
|
+
*
|
|
46488
|
+
* @overview
|
|
46489
|
+
* @file {@filepath ./examples/overview.md}
|
|
46490
|
+
*
|
|
46491
|
+
* @example {@label Example Wizard @id simple-wizard}
|
|
46492
|
+
* @file {@filename component.html @filepath ./examples/wizard-example.component.html}
|
|
46493
|
+
* @file {@filename component.ts @filepath ./examples/wizard-example.component.ts}
|
|
46494
|
+
* @file {@filename data-model.ts @filepath ./examples/example-model.ts}
|
|
46495
|
+
* @file {@filename finish-component.ts @filepath ./examples/finish.component.ts}
|
|
46496
|
+
* @file {@filename finish-component.html @filepath ./examples/finish.component.html}
|
|
46497
|
+
* @file {@filename simple-static-text.html @filepath ./examples/simple-static-text.component.html}
|
|
46498
|
+
* @file {@filename simple-static-text.ts @filepath ./examples/simple-static-text.ts}
|
|
46499
|
+
* @file {@filename simple-text-input.component.html @filepath ./examples/simple-text-input.component.html}
|
|
46500
|
+
* @file {@filename simple-text-input.component.ts @filepath ./examples/simple-text-input.component.ts}
|
|
46501
|
+
*/
|
|
46543
46502
|
/**
|
|
46544
46503
|
* The component class definition for the wizard component.
|
|
46545
46504
|
*/
|
|
@@ -46561,6 +46520,7 @@ class WizardComponent extends DynamicComponentBase {
|
|
|
46561
46520
|
*/
|
|
46562
46521
|
this.telemetryData = {
|
|
46563
46522
|
stepIndexNumber: '1.1',
|
|
46523
|
+
stepName: '',
|
|
46564
46524
|
stepIndexStartTime: (new Date()).toISOString(),
|
|
46565
46525
|
entryPoint: EnvironmentModule.createEntrypointId(MsftSme.self().Init.moduleName, MsftSme.self().Init.entryPointName),
|
|
46566
46526
|
state: WizardState.Entry
|
|
@@ -46614,6 +46574,18 @@ class WizardComponent extends DynamicComponentBase {
|
|
|
46614
46574
|
get model() {
|
|
46615
46575
|
return this.internalModel;
|
|
46616
46576
|
}
|
|
46577
|
+
/**
|
|
46578
|
+
* Create and return the current telemetry event structure for wizard telemetry. This can be used for any automatic
|
|
46579
|
+
* actions not triggered by a DOM interaction.
|
|
46580
|
+
*/
|
|
46581
|
+
get wizardTelemetryEventBlob() {
|
|
46582
|
+
const wizardTelemetryBase = {
|
|
46583
|
+
contentId: 'sme-wizard',
|
|
46584
|
+
areaName: 'WizardComponent'
|
|
46585
|
+
};
|
|
46586
|
+
MsftSme.deepAssign(wizardTelemetryBase, this.telemetryData);
|
|
46587
|
+
return wizardTelemetryBase;
|
|
46588
|
+
}
|
|
46617
46589
|
/**
|
|
46618
46590
|
* Gets the index of the current stage of the wizard.
|
|
46619
46591
|
*/
|
|
@@ -46897,17 +46869,17 @@ class WizardComponent extends DynamicComponentBase {
|
|
|
46897
46869
|
this.telemetryData.wizardType = filledModel.wizardType;
|
|
46898
46870
|
}
|
|
46899
46871
|
this.navigationInformation.resetHistory();
|
|
46872
|
+
// update here first to get updated telemetry info
|
|
46900
46873
|
this.updateTelemetryTags();
|
|
46874
|
+
SmeWebTelemetry.traceAction(null, { content: this.wizardTelemetryEventBlob, actionType: TelemetryActionTypes.Automatic });
|
|
46875
|
+
this.updateTelemetryTags(WizardState.Active);
|
|
46901
46876
|
window.addEventListener('pagehide', () => {
|
|
46902
46877
|
if (this.telemetryData.state !== WizardState.Finished) {
|
|
46903
46878
|
// manually set at this point b/c view is destructed.
|
|
46904
46879
|
this.telemetryData.state = WizardState.Exit;
|
|
46905
46880
|
}
|
|
46906
|
-
// Populate ourselves b/c the element ref is destructed at this point. Container tags should not change
|
|
46907
|
-
const exitTelemetryData = { contentId: 'sme-wizard', areaName: 'WizardComponent' };
|
|
46908
|
-
MsftSme.deepAssign(exitTelemetryData, this.telemetryData);
|
|
46909
46881
|
// actionType A for Auto (according to AWA dictionary) to differentiate from CL
|
|
46910
|
-
SmeWebTelemetry.traceAction(null, { content:
|
|
46882
|
+
SmeWebTelemetry.traceAction(null, { content: this.wizardTelemetryEventBlob, actionType: TelemetryActionTypes.Automatic });
|
|
46911
46883
|
});
|
|
46912
46884
|
}
|
|
46913
46885
|
/**
|
|
@@ -47165,6 +47137,7 @@ class WizardComponent extends DynamicComponentBase {
|
|
|
47165
47137
|
updateTelemetryTags(state) {
|
|
47166
47138
|
this.telemetryData.state = state ? state : this.telemetryData.state;
|
|
47167
47139
|
this.telemetryData.stepIndexNumber = `${this.stageIndex + 1}.${this.stepIndex + 1}`;
|
|
47140
|
+
this.telemetryData.stepName = `${this.currentStage.name}.${this.currentStep.name}`;
|
|
47168
47141
|
this.telemetryData.stepIndexStartTime = (new Date()).toISOString(); // keep same format as event timestamp
|
|
47169
47142
|
this.changeDetectorRef.detectChanges();
|
|
47170
47143
|
}
|