@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,88 +1,49 @@
|
|
|
1
1
|
import { Component, Injector } from '@angular/core';
|
|
2
2
|
import { BadgeSeverity, CoreBadgeBaseComponent } from './badge-base.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "../tooltip/tooltip.directive";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
6
|
const _c0 = ["type", "critical"];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
10
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
11
|
-
i0.ɵɵtext(2);
|
|
12
|
-
i0.ɵɵelementEnd();
|
|
13
|
-
i0.ɵɵelement(3, "span", 6);
|
|
14
|
-
i0.ɵɵelementEnd();
|
|
15
|
-
} if (rf & 2) {
|
|
16
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
18
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
19
|
-
i0.ɵɵadvance(2);
|
|
20
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
21
|
-
i0.ɵɵadvance(1);
|
|
22
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1, ctx_r0.icon));
|
|
23
|
-
} }
|
|
24
|
-
function CriticalBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
26
|
-
i0.ɵɵelementStart(1, "span");
|
|
27
|
-
i0.ɵɵtext(2);
|
|
28
|
-
i0.ɵɵelementEnd();
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
34
|
-
i0.ɵɵadvance(2);
|
|
35
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
36
|
-
} }
|
|
37
|
-
function CriticalBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
7
|
+
function CriticalBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
39
9
|
i0.ɵɵtext(1);
|
|
40
10
|
i0.ɵɵelementEnd();
|
|
41
11
|
} if (rf & 2) {
|
|
42
|
-
const
|
|
43
|
-
i0.ɵɵproperty("href",
|
|
12
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
13
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
44
14
|
i0.ɵɵadvance(1);
|
|
45
|
-
i0.ɵɵtextInterpolate(
|
|
15
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
46
16
|
} }
|
|
47
|
-
function
|
|
48
|
-
i0.ɵɵelementStart(0, "a",
|
|
17
|
+
function CriticalBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
49
19
|
i0.ɵɵtext(1);
|
|
50
20
|
i0.ɵɵelementEnd();
|
|
51
21
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
i0.ɵɵproperty("href",
|
|
22
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
54
24
|
i0.ɵɵadvance(1);
|
|
55
|
-
i0.ɵɵtextInterpolate(
|
|
25
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
56
26
|
} }
|
|
57
|
-
function
|
|
58
|
-
i0.ɵɵelementStart(0, "
|
|
27
|
+
function CriticalBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
59
29
|
i0.ɵɵtext(1);
|
|
60
30
|
i0.ɵɵelementEnd();
|
|
61
|
-
i0.ɵɵelementStart(2, "
|
|
62
|
-
i0.ɵɵ
|
|
63
|
-
i0.ɵɵelementEnd();
|
|
64
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
65
|
-
i0.ɵɵtemplate(5, CriticalBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
31
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
32
|
+
i0.ɵɵtemplate(3, CriticalBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
66
33
|
i0.ɵɵelementEnd();
|
|
67
|
-
i0.ɵɵelementStart(
|
|
68
|
-
i0.ɵɵtemplate(
|
|
34
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
35
|
+
i0.ɵɵtemplate(5, CriticalBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
69
36
|
i0.ɵɵelementEnd();
|
|
70
37
|
} if (rf & 2) {
|
|
71
|
-
const
|
|
72
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
73
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
74
|
-
i0.ɵɵadvance(1);
|
|
75
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
78
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
79
39
|
i0.ɵɵadvance(1);
|
|
80
|
-
i0.ɵɵtextInterpolate(
|
|
40
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
81
41
|
i0.ɵɵadvance(2);
|
|
82
|
-
i0.ɵɵproperty("ngIf", !!
|
|
42
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
83
43
|
i0.ɵɵadvance(2);
|
|
84
|
-
i0.ɵɵproperty("ngIf",
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
85
45
|
} }
|
|
46
|
+
const _c1 = function (a1) { return ["sme-icon", a1]; };
|
|
86
47
|
/**
|
|
87
48
|
* Defines the critical badge.
|
|
88
49
|
*/
|
|
@@ -111,15 +72,26 @@ export class CriticalBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
111
72
|
}
|
|
112
73
|
}
|
|
113
74
|
/** @nocollapse */ CriticalBadgeComponent.ɵfac = function CriticalBadgeComponent_Factory(t) { return new (t || CriticalBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
114
|
-
/** @nocollapse */ CriticalBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CriticalBadgeComponent, selectors: [["sme-badge", "type", "critical"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls:
|
|
115
|
-
i0.ɵɵ
|
|
116
|
-
i0.ɵɵ
|
|
117
|
-
i0.ɵɵ
|
|
75
|
+
/** @nocollapse */ CriticalBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CriticalBadgeComponent, selectors: [["sme-badge", "type", "critical"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function CriticalBadgeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
77
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
78
|
+
i0.ɵɵtext(2);
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
81
|
+
i0.ɵɵtext(4);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelement(5, "span", 3);
|
|
84
|
+
i0.ɵɵelementEnd();
|
|
85
|
+
i0.ɵɵtemplate(6, CriticalBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
118
86
|
} if (rf & 2) {
|
|
119
|
-
i0.ɵɵproperty("
|
|
87
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
88
|
+
i0.ɵɵadvance(2);
|
|
89
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
90
|
+
i0.ɵɵadvance(2);
|
|
91
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
120
92
|
i0.ɵɵadvance(1);
|
|
121
|
-
i0.ɵɵproperty("
|
|
122
|
-
} }, directives: [i1.
|
|
93
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx.icon));
|
|
94
|
+
} }, directives: [i1.TooltipDirective, i2.NgClass, i2.NgIf], encapsulation: 2 });
|
|
123
95
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CriticalBadgeComponent, [{
|
|
124
96
|
type: Component,
|
|
125
97
|
args: [{
|
|
@@ -127,4 +99,4 @@ export class CriticalBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
127
99
|
templateUrl: './badge.component.html'
|
|
128
100
|
}]
|
|
129
101
|
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
130
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JpdGljYWwtYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vYW5ndWxhci9zcmMvY29udHJvbHMvYmFkZ2UvY3JpdGljYWwtYmFkZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vYW5ndWxhci9zcmMvY29udHJvbHMvYmFkZ2UvYmFkZ2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLGFBQWEsRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDOzs7Ozs7SUNPM0UsNEJBQW1HO0lBQUEsWUFBd0Q7SUFBQSxpQkFBSTs7O0lBQS9HLHdFQUFpQztJQUFrQixlQUF3RDtJQUF4RCxpRkFBd0Q7OztJQUczSiw0QkFBbUc7SUFBQSxZQUF1RDtJQUFBLGlCQUFJOzs7SUFBN0csdUVBQWdDO0lBQWtCLGVBQXVEO0lBQXZELGdGQUF1RDs7O0lBTDVKLDRCQUErQztJQUFBLFlBQWU7SUFBQSxpQkFBSTtJQUNsRSw4QkFBb0M7SUFDbEMsaUZBQStKO0lBQ2pLLGlCQUFNO0lBQ04sOEJBQW9DO0lBQ2xDLGlGQUE4SjtJQUNoSyxpQ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wiYWJvdXQ6YmxhbmtcIiBbaHJlZl09XCJsZWFybk1vcmVMaW5rLnRvU3RyaW5nKClcIiBjbGFzcz1cInNtZS1saW5rXCI+e3tzdHJpbmdzLk1zZnRTbWVTaGVsbC5Bbmd1bGFyLkJhZGdlcy5Db21tb24ubGVhcm5Nb3JlfX08L2E+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cInNtZS1wb3NpdGlvbi1zdHJldGNoLWhcIj5cclxuICAgIDxhICpuZ0lmPVwic2hvd0ZlZWRiYWNrTGlua1wiIHRhcmdldD1cImFib3V0OmJsYW5rXCIgW2hyZWZdPVwiZmVlZGJhY2tMaW5rLnRvU3RyaW5nKClcIiBjbGFzcz1cInNtZS1saW5rXCI+e3tzdHJpbmdzLk1zZnRTbWVTaGVsbC5Bbmd1bGFyLkJhZGdlcy5Db21tb24uZmVlZGJhY2t9fTwvYT5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -1,88 +1,49 @@
|
|
|
1
1
|
import { Component, Injector } from '@angular/core';
|
|
2
2
|
import { CoreBadgeBaseComponent } from './badge-base.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "../tooltip/tooltip.directive";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
6
|
const _c0 = ["type", "custom"];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
10
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
11
|
-
i0.ɵɵtext(2);
|
|
12
|
-
i0.ɵɵelementEnd();
|
|
13
|
-
i0.ɵɵelement(3, "span", 6);
|
|
14
|
-
i0.ɵɵelementEnd();
|
|
15
|
-
} if (rf & 2) {
|
|
16
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
18
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
19
|
-
i0.ɵɵadvance(2);
|
|
20
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
21
|
-
i0.ɵɵadvance(1);
|
|
22
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1, ctx_r0.icon));
|
|
23
|
-
} }
|
|
24
|
-
function CustomBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
26
|
-
i0.ɵɵelementStart(1, "span");
|
|
27
|
-
i0.ɵɵtext(2);
|
|
28
|
-
i0.ɵɵelementEnd();
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
34
|
-
i0.ɵɵadvance(2);
|
|
35
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
36
|
-
} }
|
|
37
|
-
function CustomBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
7
|
+
function CustomBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
39
9
|
i0.ɵɵtext(1);
|
|
40
10
|
i0.ɵɵelementEnd();
|
|
41
11
|
} if (rf & 2) {
|
|
42
|
-
const
|
|
43
|
-
i0.ɵɵproperty("href",
|
|
12
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
13
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
44
14
|
i0.ɵɵadvance(1);
|
|
45
|
-
i0.ɵɵtextInterpolate(
|
|
15
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
46
16
|
} }
|
|
47
|
-
function
|
|
48
|
-
i0.ɵɵelementStart(0, "a",
|
|
17
|
+
function CustomBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
49
19
|
i0.ɵɵtext(1);
|
|
50
20
|
i0.ɵɵelementEnd();
|
|
51
21
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
i0.ɵɵproperty("href",
|
|
22
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
54
24
|
i0.ɵɵadvance(1);
|
|
55
|
-
i0.ɵɵtextInterpolate(
|
|
25
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
56
26
|
} }
|
|
57
|
-
function
|
|
58
|
-
i0.ɵɵelementStart(0, "
|
|
27
|
+
function CustomBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
59
29
|
i0.ɵɵtext(1);
|
|
60
30
|
i0.ɵɵelementEnd();
|
|
61
|
-
i0.ɵɵelementStart(2, "
|
|
62
|
-
i0.ɵɵ
|
|
63
|
-
i0.ɵɵelementEnd();
|
|
64
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
65
|
-
i0.ɵɵtemplate(5, CustomBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
31
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
32
|
+
i0.ɵɵtemplate(3, CustomBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
66
33
|
i0.ɵɵelementEnd();
|
|
67
|
-
i0.ɵɵelementStart(
|
|
68
|
-
i0.ɵɵtemplate(
|
|
34
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
35
|
+
i0.ɵɵtemplate(5, CustomBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
69
36
|
i0.ɵɵelementEnd();
|
|
70
37
|
} if (rf & 2) {
|
|
71
|
-
const
|
|
72
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
73
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
74
|
-
i0.ɵɵadvance(1);
|
|
75
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
78
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
79
39
|
i0.ɵɵadvance(1);
|
|
80
|
-
i0.ɵɵtextInterpolate(
|
|
40
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
81
41
|
i0.ɵɵadvance(2);
|
|
82
|
-
i0.ɵɵproperty("ngIf", !!
|
|
42
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
83
43
|
i0.ɵɵadvance(2);
|
|
84
|
-
i0.ɵɵproperty("ngIf",
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
85
45
|
} }
|
|
46
|
+
const _c1 = function (a1) { return ["sme-icon", a1]; };
|
|
86
47
|
/**
|
|
87
48
|
* Defines a custom badge
|
|
88
49
|
*/
|
|
@@ -110,15 +71,26 @@ export class CustomBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
110
71
|
}
|
|
111
72
|
}
|
|
112
73
|
/** @nocollapse */ CustomBadgeComponent.ɵfac = function CustomBadgeComponent_Factory(t) { return new (t || CustomBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
113
|
-
/** @nocollapse */ CustomBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CustomBadgeComponent, selectors: [["sme-badge", "type", "custom"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls:
|
|
114
|
-
i0.ɵɵ
|
|
115
|
-
i0.ɵɵ
|
|
116
|
-
i0.ɵɵ
|
|
74
|
+
/** @nocollapse */ CustomBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CustomBadgeComponent, selectors: [["sme-badge", "type", "custom"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function CustomBadgeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
76
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
77
|
+
i0.ɵɵtext(2);
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
79
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
80
|
+
i0.ɵɵtext(4);
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
i0.ɵɵelement(5, "span", 3);
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵtemplate(6, CustomBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
117
85
|
} if (rf & 2) {
|
|
118
|
-
i0.ɵɵproperty("
|
|
86
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
87
|
+
i0.ɵɵadvance(2);
|
|
88
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
89
|
+
i0.ɵɵadvance(2);
|
|
90
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
119
91
|
i0.ɵɵadvance(1);
|
|
120
|
-
i0.ɵɵproperty("
|
|
121
|
-
} }, directives: [i1.
|
|
92
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx.icon));
|
|
93
|
+
} }, directives: [i1.TooltipDirective, i2.NgClass, i2.NgIf], encapsulation: 2 });
|
|
122
94
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomBadgeComponent, [{
|
|
123
95
|
type: Component,
|
|
124
96
|
args: [{
|
|
@@ -126,4 +98,4 @@ export class CustomBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
126
98
|
templateUrl: './badge.component.html'
|
|
127
99
|
}]
|
|
128
100
|
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
129
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWJhZGdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2FuZ3VsYXIvc3JjL2NvbnRyb2xzL2JhZGdlL2N1c3RvbS1iYWRnZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9hbmd1bGFyL3NyYy9jb250cm9scy9iYWRnZS9iYWRnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsc0JBQX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G4gIDxwIGNsYXNzPVwic21lLW1hcmdpbi1ib3R0b20teHMgc21lLWZvbnQtbGFiZWxcIj57e2Rlc2NyaXB0aW9ufX08L3A+XHJcbiAgPGRpdiBjbGFzcz1cInNtZS1wb3NpdGlvbi1zdHJldGNoLWhcIj5cclxuICAgIDxhICpuZ0lmPVwiISFsZWFybk1vcmVMaW5rXCIgdGFyZ2V0PVwiYWJvdXQ6YmxhbmtcIiBbaHJlZl09XCJsZWFybk1vcmVMaW5rLnRvU3RyaW5nKClcIiBjbGFzcz1cInNtZS1saW5rXCI+e3tzdHJpbmdzLk1zZnRTbWVTaGVsbC5Bbmd1bGFyLkJhZGdlcy5Db21tb24ubGVhcm5Nb3JlfX08L2E+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cInNtZS1wb3NpdGlvbi1zdHJldGNoLWhcIj5cclxuICAgIDxhICpuZ0lmPVwic2hvd0ZlZWRiYWNrTGlua1wiIHRhcmdldD1cImFib3V0OmJsYW5rXCIgW2hyZWZdPVwiZmVlZGJhY2tMaW5rLnRvU3RyaW5nKClcIiBjbGFzcz1cInNtZS1saW5rXCI+e3tzdHJpbmdzLk1zZnRTbWVTaGVsbC5Bbmd1bGFyLkJhZGdlcy5Db21tb24uZmVlZGJhY2t9fTwvYT5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -1,88 +1,49 @@
|
|
|
1
1
|
import { Component, Injector } from '@angular/core';
|
|
2
2
|
import { CoreBadgeBaseComponent } from './badge-base.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "../tooltip/tooltip.directive";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
6
|
const _c0 = ["type", "feedback"];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
i0.ɵɵelementStart(0, "p", 4);
|
|
10
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
11
|
-
i0.ɵɵtext(2);
|
|
12
|
-
i0.ɵɵelementEnd();
|
|
13
|
-
i0.ɵɵelement(3, "span", 6);
|
|
14
|
-
i0.ɵɵelementEnd();
|
|
15
|
-
} if (rf & 2) {
|
|
16
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
-
i0.ɵɵproperty("smeTooltip", ctx_r0.resolvedTooltip)("title", ctx_r0.resolvedTitle);
|
|
18
|
-
i0.ɵɵattribute("aria-label", ctx_r0.resolvedTitle ? ctx_r0.ariaLabel : null);
|
|
19
|
-
i0.ɵɵadvance(2);
|
|
20
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
21
|
-
i0.ɵɵadvance(1);
|
|
22
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1, ctx_r0.icon));
|
|
23
|
-
} }
|
|
24
|
-
function FeedbackBadgeComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
i0.ɵɵelementStart(0, "p", 7);
|
|
26
|
-
i0.ɵɵelementStart(1, "span");
|
|
27
|
-
i0.ɵɵtext(2);
|
|
28
|
-
i0.ɵɵelementEnd();
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
-
i0.ɵɵproperty("smeTooltip", ctx_r1.resolvedTooltip)("title", ctx_r1.resolvedTitle);
|
|
33
|
-
i0.ɵɵattribute("aria-label", ctx_r1.resolvedTitle ? ctx_r1.ariaLabel : null);
|
|
34
|
-
i0.ɵɵadvance(2);
|
|
35
|
-
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
36
|
-
} }
|
|
37
|
-
function FeedbackBadgeComponent_ng_template_2_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelementStart(0, "a", 12);
|
|
7
|
+
function FeedbackBadgeComponent_ng_template_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
39
9
|
i0.ɵɵtext(1);
|
|
40
10
|
i0.ɵɵelementEnd();
|
|
41
11
|
} if (rf & 2) {
|
|
42
|
-
const
|
|
43
|
-
i0.ɵɵproperty("href",
|
|
12
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
13
|
+
i0.ɵɵproperty("href", ctx_r3.learnMoreLink.toString(), i0.ɵɵsanitizeUrl);
|
|
44
14
|
i0.ɵɵadvance(1);
|
|
45
|
-
i0.ɵɵtextInterpolate(
|
|
15
|
+
i0.ɵɵtextInterpolate(ctx_r3.strings.MsftSmeShell.Angular.Badges.Common.learnMore);
|
|
46
16
|
} }
|
|
47
|
-
function
|
|
48
|
-
i0.ɵɵelementStart(0, "a",
|
|
17
|
+
function FeedbackBadgeComponent_ng_template_6_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelementStart(0, "a", 9);
|
|
49
19
|
i0.ɵɵtext(1);
|
|
50
20
|
i0.ɵɵelementEnd();
|
|
51
21
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
i0.ɵɵproperty("href",
|
|
22
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("href", ctx_r4.feedbackLink.toString(), i0.ɵɵsanitizeUrl);
|
|
54
24
|
i0.ɵɵadvance(1);
|
|
55
|
-
i0.ɵɵtextInterpolate(
|
|
25
|
+
i0.ɵɵtextInterpolate(ctx_r4.strings.MsftSmeShell.Angular.Badges.Common.feedback);
|
|
56
26
|
} }
|
|
57
|
-
function
|
|
58
|
-
i0.ɵɵelementStart(0, "
|
|
27
|
+
function FeedbackBadgeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
59
29
|
i0.ɵɵtext(1);
|
|
60
30
|
i0.ɵɵelementEnd();
|
|
61
|
-
i0.ɵɵelementStart(2, "
|
|
62
|
-
i0.ɵɵ
|
|
63
|
-
i0.ɵɵelementEnd();
|
|
64
|
-
i0.ɵɵelementStart(4, "div", 10);
|
|
65
|
-
i0.ɵɵtemplate(5, FeedbackBadgeComponent_ng_template_2_a_5_Template, 2, 2, "a", 11);
|
|
31
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
32
|
+
i0.ɵɵtemplate(3, FeedbackBadgeComponent_ng_template_6_a_3_Template, 2, 2, "a", 8);
|
|
66
33
|
i0.ɵɵelementEnd();
|
|
67
|
-
i0.ɵɵelementStart(
|
|
68
|
-
i0.ɵɵtemplate(
|
|
34
|
+
i0.ɵɵelementStart(4, "div", 7);
|
|
35
|
+
i0.ɵɵtemplate(5, FeedbackBadgeComponent_ng_template_6_a_5_Template, 2, 2, "a", 8);
|
|
69
36
|
i0.ɵɵelementEnd();
|
|
70
37
|
} if (rf & 2) {
|
|
71
|
-
const
|
|
72
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
73
|
-
i0.ɵɵproperty("id", hostData_r4.ariaLabelId);
|
|
74
|
-
i0.ɵɵadvance(1);
|
|
75
|
-
i0.ɵɵtextInterpolate(ctx_r3.ariaLabel);
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("id", hostData_r4.ariaDescriptionId);
|
|
78
|
-
i0.ɵɵattribute("aria-describedby", hostData_r4.ariaDescriptionId);
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
79
39
|
i0.ɵɵadvance(1);
|
|
80
|
-
i0.ɵɵtextInterpolate(
|
|
40
|
+
i0.ɵɵtextInterpolate(ctx_r1.description);
|
|
81
41
|
i0.ɵɵadvance(2);
|
|
82
|
-
i0.ɵɵproperty("ngIf", !!
|
|
42
|
+
i0.ɵɵproperty("ngIf", !!ctx_r1.learnMoreLink);
|
|
83
43
|
i0.ɵɵadvance(2);
|
|
84
|
-
i0.ɵɵproperty("ngIf",
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showFeedbackLink);
|
|
85
45
|
} }
|
|
46
|
+
const _c1 = function (a1) { return ["sme-icon", a1]; };
|
|
86
47
|
/**
|
|
87
48
|
* Defines a feedback badge
|
|
88
49
|
*/
|
|
@@ -112,15 +73,26 @@ export class FeedbackBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
112
73
|
}
|
|
113
74
|
}
|
|
114
75
|
/** @nocollapse */ FeedbackBadgeComponent.ɵfac = function FeedbackBadgeComponent_Factory(t) { return new (t || FeedbackBadgeComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
115
|
-
/** @nocollapse */ FeedbackBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FeedbackBadgeComponent, selectors: [["sme-badge", "type", "feedback"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls:
|
|
116
|
-
i0.ɵɵ
|
|
117
|
-
i0.ɵɵ
|
|
118
|
-
i0.ɵɵ
|
|
76
|
+
/** @nocollapse */ FeedbackBadgeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FeedbackBadgeComponent, selectors: [["sme-badge", "type", "feedback"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 8, vars: 6, consts: [["tabindex", "0", 3, "smeTooltip"], [1, "sme-screen-reader"], ["aria-hidden", "true"], ["aria-hidden", "true", 3, "ngClass"], ["class", "sme-arrange-stack-v"], ["defaultTooltip", ""], [1, "sme-margin-bottom-xs", "sme-font-label"], [1, "sme-position-stretch-h"], ["target", "about:blank", "class", "sme-link", 3, "href", 4, "ngIf"], ["target", "about:blank", 1, "sme-link", 3, "href"]], template: function FeedbackBadgeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
i0.ɵɵelementStart(0, "p", 0);
|
|
78
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
79
|
+
i0.ɵɵtext(2);
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
82
|
+
i0.ɵɵtext(4);
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelement(5, "span", 3);
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
i0.ɵɵtemplate(6, FeedbackBadgeComponent_ng_template_6_Template, 6, 3, "ng-template", 4, 5, i0.ɵɵtemplateRefExtractor);
|
|
119
87
|
} if (rf & 2) {
|
|
120
|
-
i0.ɵɵproperty("
|
|
88
|
+
i0.ɵɵproperty("smeTooltip", ctx.resolvedTooltip);
|
|
89
|
+
i0.ɵɵadvance(2);
|
|
90
|
+
i0.ɵɵtextInterpolate(ctx.ariaLabel);
|
|
91
|
+
i0.ɵɵadvance(2);
|
|
92
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
121
93
|
i0.ɵɵadvance(1);
|
|
122
|
-
i0.ɵɵproperty("
|
|
123
|
-
} }, directives: [i1.
|
|
94
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx.icon));
|
|
95
|
+
} }, directives: [i1.TooltipDirective, i2.NgClass, i2.NgIf], encapsulation: 2 });
|
|
124
96
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedbackBadgeComponent, [{
|
|
125
97
|
type: Component,
|
|
126
98
|
args: [{
|
|
@@ -128,4 +100,4 @@ export class FeedbackBadgeComponent extends CoreBadgeBaseComponent {
|
|
|
128
100
|
templateUrl: './badge.component.html'
|
|
129
101
|
}]
|
|
130
102
|
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
131
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2stYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vYW5ndWxhci9zcmMvY29udHJvbHMvYmFkZ2UvZmVlZGJhY2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