@tilde-nlp/ngx-common 5.0.2 → 5.0.3
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/esm2022/lib/close-button/close-button.component.mjs +37 -18
- package/esm2022/lib/close-button/close-button.module.mjs +25 -24
- package/esm2022/lib/company-product/company-product.component.mjs +25 -11
- package/esm2022/lib/company-product/company-product.module.mjs +17 -16
- package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +63 -10
- package/esm2022/lib/confirmation-modal/confirmation-modal.module.mjs +13 -12
- package/esm2022/lib/confirmation-modal/services/confirmation.service.mjs +9 -9
- package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +17 -15
- package/esm2022/lib/directives/click-outside/click-outside.module.mjs +19 -18
- package/esm2022/lib/directives/drag-and-drop/drag-and-drop.directive.mjs +28 -24
- package/esm2022/lib/directives/drag-and-drop/drag-and-drop.module.mjs +19 -18
- package/esm2022/lib/directives/mat-button-loading/mat-button-loading.directive.mjs +12 -12
- package/esm2022/lib/directives/mat-button-loading/mat-button-loading.module.mjs +15 -14
- package/esm2022/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.mjs +19 -9
- package/esm2022/lib/extension-dialog/extension-dialog.component.mjs +99 -10
- package/esm2022/lib/extension-dialog/extension-dialog.module.mjs +33 -32
- package/esm2022/lib/extension-dialog/services/extension-dialog.service.mjs +9 -9
- package/esm2022/lib/file-upload/file-upload.component.mjs +83 -33
- package/esm2022/lib/file-upload/file-upload.module.mjs +27 -26
- package/esm2022/lib/filter-bar/filter-bar.component.mjs +187 -20
- package/esm2022/lib/filter-bar/filter-bar.module.mjs +43 -42
- package/esm2022/lib/filter-bar/models/filter-bar-settings.model.mjs +1 -1
- package/esm2022/lib/footer/footer.component.mjs +121 -15
- package/esm2022/lib/footer/footer.module.mjs +23 -22
- package/esm2022/lib/inline-message/inline-message.component.mjs +59 -11
- package/esm2022/lib/inline-message/inline-message.module.mjs +23 -22
- package/esm2022/lib/multi-functional-table/models/filter-config.model.mjs +1 -1
- package/esm2022/lib/multi-functional-table/multi-functional-table.component.mjs +248 -44
- package/esm2022/lib/multi-functional-table/multi-functional-table.module.mjs +43 -42
- package/esm2022/lib/notification-message/notification-message.component.mjs +130 -17
- package/esm2022/lib/notification-message/notification-message.module.mjs +29 -28
- package/esm2022/lib/open-close-button/open-close-button.component.mjs +68 -25
- package/esm2022/lib/open-close-button/open-close-button.module.mjs +13 -12
- package/esm2022/lib/pipes/date-ago/date-ago.module.mjs +21 -20
- package/esm2022/lib/pipes/date-ago/date-ago.pipe.mjs +15 -15
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.module.mjs +19 -18
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.mjs +9 -9
- package/esm2022/lib/pipes/index.mjs +2 -1
- package/esm2022/lib/pipes/language-translate/language-translate.module.mjs +13 -12
- package/esm2022/lib/pipes/language-translate/language-translate.pipe.mjs +10 -10
- package/esm2022/lib/pipes/object-length/index.mjs +3 -0
- package/esm2022/lib/pipes/object-length/object-length.module.mjs +19 -0
- package/esm2022/lib/pipes/object-length/object-length.pipe.mjs +23 -0
- package/esm2022/lib/pipes/sort-translations/sort-translations.module.mjs +17 -16
- package/esm2022/lib/pipes/sort-translations/sort-translations.pipe.mjs +9 -9
- package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.mjs +13 -12
- package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.mjs +9 -9
- package/esm2022/lib/plausible/plausible-event.directive.mjs +16 -14
- package/esm2022/lib/plausible/plausible.module.mjs +19 -18
- package/esm2022/lib/services/alert/alert.service.mjs +12 -12
- package/esm2022/lib/services/dom/dom.service.mjs +9 -9
- package/esm2022/lib/services/icon/icon.service.mjs +9 -9
- package/esm2022/lib/services/language-translate/language-translate.service.mjs +9 -9
- package/esm2022/lib/services/notification/notification.service.mjs +9 -9
- package/esm2022/lib/services/system/system.service.mjs +12 -12
- package/esm2022/lib/status-display/status-display.component.mjs +55 -10
- package/esm2022/lib/status-display/status-display.module.mjs +13 -12
- package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.mjs +196 -25
- package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.mjs +107 -14
- package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.mjs +71 -10
- package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.mjs +29 -13
- package/esm2022/lib/terminology/components/terminology-panel/terminology-panel.component.mjs +83 -14
- package/esm2022/lib/terminology/config/services/terminology-config/terminology-config.service.mjs +27 -25
- package/esm2022/lib/terminology/factories/terminology-api.factory.mjs +4 -4
- package/esm2022/lib/terminology/factories/terminology-system.factory.mjs +4 -4
- package/esm2022/lib/terminology/models/active-data.model.mjs +1 -1
- package/esm2022/lib/terminology/models/system.model.mjs +1 -1
- package/esm2022/lib/terminology/services/engine-term-api/engine-term-api.service.mjs +9 -9
- package/esm2022/lib/terminology/services/system-api-v1/system-api-v1.service.mjs +9 -9
- package/esm2022/lib/terminology/services/system-api-v2/system-api-v2.service.mjs +9 -9
- package/esm2022/lib/terminology/services/terminology/terminology.service.mjs +15 -13
- package/esm2022/lib/terminology/services/terminology-api-v1/terminology-api-v1.service.mjs +9 -9
- package/esm2022/lib/terminology/services/terminology-api-v2/terminology-api-v2.service.mjs +9 -9
- package/esm2022/lib/terminology/services/terminology-collection/terminology-collection.service.mjs +9 -9
- package/esm2022/lib/terminology/terminology.component.mjs +109 -22
- package/esm2022/lib/terminology/terminology.module.mjs +73 -72
- package/esm2022/lib/text-to-speech/index.mjs +2 -0
- package/esm2022/lib/text-to-speech/services/text-play.service.mjs +22 -0
- package/esm2022/lib/text-to-speech/text-to-speech.component.mjs +171 -0
- package/esm2022/lib/text-to-speech/translations/tts-i18n.mjs +26 -0
- package/esm2022/lib/tld-loader/tld-loader.component.mjs +12 -7
- package/esm2022/lib/tld-loader/tld-loader.module.mjs +16 -15
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/tilde-nlp-ngx-common.mjs +2828 -1098
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/lib/filter-bar/filter-bar.component.d.ts +1 -0
- package/lib/filter-bar/models/filter-bar-settings.model.d.ts +3 -1
- package/lib/multi-functional-table/models/filter-config.model.d.ts +1 -0
- package/lib/multi-functional-table/multi-functional-table.component.d.ts +4 -1
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/object-length/index.d.ts +2 -0
- package/lib/pipes/object-length/object-length.module.d.ts +8 -0
- package/lib/pipes/object-length/object-length.pipe.d.ts +7 -0
- package/lib/terminology/config/services/terminology-config/terminology-config.service.d.ts +1 -0
- package/lib/terminology/models/active-data.model.d.ts +1 -0
- package/lib/terminology/models/system.model.d.ts +1 -0
- package/lib/text-to-speech/index.d.ts +1 -0
- package/lib/text-to-speech/services/text-play.service.d.ts +8 -0
- package/lib/text-to-speech/text-to-speech.component.d.ts +23 -0
- package/lib/text-to-speech/translations/tts-i18n.d.ts +1 -0
- package/package.json +7 -4
- package/public-api.d.ts +1 -0
- package/styles/material-overrides.scss +33 -0
- package/web-components/3rdpartylicenses.txt +333 -0
- package/web-components/index.html +17 -0
- package/web-components/main.js +11 -0
- package/web-components/media/material-icons-outlined.woff2 +0 -0
- package/web-components/media/material-icons.woff2 +0 -0
- package/web-components/polyfills.js +3 -0
- package/web-components/styles.css +1 -0
- package/web-components/web-components.js +1 -0
|
@@ -15,21 +15,9 @@ import { MatTooltipModule } from '@angular/material/tooltip';
|
|
|
15
15
|
import { StatusDisplayModule } from '../status-display';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export class MultiFunctionalTableModule {
|
|
18
|
-
static { this.ɵfac =
|
|
19
|
-
static { this.ɵmod = i0.ɵɵ
|
|
20
|
-
|
|
21
|
-
MatButtonModule,
|
|
22
|
-
TranslateModule,
|
|
23
|
-
MatMenuModule,
|
|
24
|
-
MatCheckboxModule,
|
|
25
|
-
FormsModule,
|
|
26
|
-
FilterBarModule,
|
|
27
|
-
FlexLayoutModule,
|
|
28
|
-
MatSortModule,
|
|
29
|
-
MatProgressSpinnerModule,
|
|
30
|
-
MatTooltipModule,
|
|
31
|
-
StatusDisplayModule], exports: [MultiFunctionalTableComponent] }); }
|
|
32
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: MultiFunctionalTableModule, imports: [CommonModule,
|
|
18
|
+
static { this.ɵfac = function MultiFunctionalTableModule_Factory(t) { return new (t || MultiFunctionalTableModule)(); }; }
|
|
19
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MultiFunctionalTableModule }); }
|
|
20
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
33
21
|
MatTableModule,
|
|
34
22
|
MatButtonModule,
|
|
35
23
|
TranslateModule,
|
|
@@ -43,30 +31,43 @@ export class MultiFunctionalTableModule {
|
|
|
43
31
|
MatTooltipModule,
|
|
44
32
|
StatusDisplayModule] }); }
|
|
45
33
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
34
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiFunctionalTableModule, [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
declarations: [
|
|
38
|
+
MultiFunctionalTableComponent
|
|
39
|
+
],
|
|
40
|
+
imports: [
|
|
41
|
+
CommonModule,
|
|
42
|
+
MatTableModule,
|
|
43
|
+
MatButtonModule,
|
|
44
|
+
TranslateModule,
|
|
45
|
+
MatMenuModule,
|
|
46
|
+
MatCheckboxModule,
|
|
47
|
+
FormsModule,
|
|
48
|
+
FilterBarModule,
|
|
49
|
+
FlexLayoutModule,
|
|
50
|
+
MatSortModule,
|
|
51
|
+
MatProgressSpinnerModule,
|
|
52
|
+
MatTooltipModule,
|
|
53
|
+
StatusDisplayModule
|
|
54
|
+
],
|
|
55
|
+
exports: [
|
|
56
|
+
MultiFunctionalTableComponent
|
|
57
|
+
]
|
|
58
|
+
}]
|
|
59
|
+
}], null, null); })();
|
|
60
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MultiFunctionalTableModule, { declarations: [MultiFunctionalTableComponent], imports: [CommonModule,
|
|
61
|
+
MatTableModule,
|
|
62
|
+
MatButtonModule,
|
|
63
|
+
TranslateModule,
|
|
64
|
+
MatMenuModule,
|
|
65
|
+
MatCheckboxModule,
|
|
66
|
+
FormsModule,
|
|
67
|
+
FilterBarModule,
|
|
68
|
+
FlexLayoutModule,
|
|
69
|
+
MatSortModule,
|
|
70
|
+
MatProgressSpinnerModule,
|
|
71
|
+
MatTooltipModule,
|
|
72
|
+
StatusDisplayModule], exports: [MultiFunctionalTableComponent] }); })();
|
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktZnVuY3Rpb25hbC10YWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvbXVsdGktZnVuY3Rpb25hbC10YWJsZS9tdWx0aS1mdW5jdGlvbmFsLXRhYmxlLm1vZHVsZS50cyJdLCJuY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nRcclxuICBdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIE1hdFRhYmxlTW9kdWxlLFxyXG4gICAgTWF0QnV0dG9uTW9kdWxlLFxyXG4gICAgVHJhbnNsYXRlTW9kdWxlLFxyXG4gICAgTWF0TWVudU1vZHVsZSxcclxuICAgIE1hdENoZWNrYm94TW9kdWxlLFxyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgICBGaWx0ZXJCYXJNb2R1bGUsXHJcbiAgICBGbGV4TGF5b3V0TW9kdWxlLFxyXG4gICAgTWF0U29ydE1vZHVsZSxcclxuICAgIE1hdFByb2dyZXNzU3Bpbm5lck1vZHVsZSxcclxuICAgIE1hdFRvb2x0aXBNb2R1bGUsXHJcbiAgICBTdGF0dXNEaXNwbGF5TW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBNdWx0aUZ1bmN0aW9uYWxUYWJsZUNvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIE11bHRpRnVuY3Rpb25hbFRhYmxlTW9kdWxlIHsgfVxyXG4iXX0=
|
|
@@ -7,6 +7,91 @@ import * as i4 from "../close-button/close-button.component";
|
|
|
7
7
|
import * as i5 from "@angular/material/button";
|
|
8
8
|
import * as i6 from "@angular/router";
|
|
9
9
|
import * as i7 from "@ngx-translate/core";
|
|
10
|
+
const _c0 = a0 => [a0];
|
|
11
|
+
function NotificationMessageComponent_h1_7_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelement(0, "h1", 9);
|
|
13
|
+
i0.ɵɵpipe(1, "translate");
|
|
14
|
+
} if (rf & 2) {
|
|
15
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
|
+
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind2(1, 1, ctx_r0.message.title, ctx_r0.message.localizationParams), i0.ɵɵsanitizeHtml);
|
|
17
|
+
} }
|
|
18
|
+
function NotificationMessageComponent_p_8_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelement(0, "span", 11);
|
|
20
|
+
i0.ɵɵpipe(1, "translate");
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind2(1, 1, ctx_r0.message.support, ctx_r0.message.localizationParams), i0.ɵɵsanitizeHtml);
|
|
24
|
+
} }
|
|
25
|
+
function NotificationMessageComponent_p_8_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelementStart(0, "p", 10);
|
|
27
|
+
i0.ɵɵelement(1, "span", 11);
|
|
28
|
+
i0.ɵɵpipe(2, "translate");
|
|
29
|
+
i0.ɵɵtemplate(3, NotificationMessageComponent_p_8_span_3_Template, 2, 4, "span", 12);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind2(2, 2, ctx_r0.message.body, ctx_r0.message.localizationParams), i0.ɵɵsanitizeHtml);
|
|
35
|
+
i0.ɵɵadvance(2);
|
|
36
|
+
i0.ɵɵproperty("ngIf", ctx_r0.message.support);
|
|
37
|
+
} }
|
|
38
|
+
function NotificationMessageComponent_tld_close_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
40
|
+
i0.ɵɵelementStart(0, "tld-close-button", 13);
|
|
41
|
+
i0.ɵɵlistener("tldClick", function NotificationMessageComponent_tld_close_button_9_Template_tld_close_button_tldClick_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.closeClick()); });
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
} }
|
|
44
|
+
function NotificationMessageComponent_div_10_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
46
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
47
|
+
i0.ɵɵlistener("click", function NotificationMessageComponent_div_10_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.buttonClick()); });
|
|
48
|
+
i0.ɵɵtext(1);
|
|
49
|
+
i0.ɵɵpipe(2, "translate");
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, ctx_r0.message.buttonText), " ");
|
|
55
|
+
} }
|
|
56
|
+
function NotificationMessageComponent_div_10_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
58
|
+
i0.ɵɵelementStart(0, "a", 19);
|
|
59
|
+
i0.ɵɵlistener("click", function NotificationMessageComponent_div_10_a_2_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.linkClick()); });
|
|
60
|
+
i0.ɵɵtext(1);
|
|
61
|
+
i0.ɵɵpipe(2, "translate");
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
65
|
+
i0.ɵɵattribute("href", ctx_r0.message.linkHref, i0.ɵɵsanitizeUrl);
|
|
66
|
+
i0.ɵɵadvance();
|
|
67
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.message.linkText));
|
|
68
|
+
} }
|
|
69
|
+
function NotificationMessageComponent_div_10_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
71
|
+
i0.ɵɵelementStart(0, "a", 20);
|
|
72
|
+
i0.ɵɵlistener("click", function NotificationMessageComponent_div_10_a_3_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.linkClick()); });
|
|
73
|
+
i0.ɵɵtext(1);
|
|
74
|
+
i0.ɵɵpipe(2, "translate");
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
78
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c0, ctx_r0.message.routerLink));
|
|
79
|
+
i0.ɵɵadvance();
|
|
80
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.message.linkText));
|
|
81
|
+
} }
|
|
82
|
+
function NotificationMessageComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
+
i0.ɵɵelementStart(0, "div", 14);
|
|
84
|
+
i0.ɵɵtemplate(1, NotificationMessageComponent_div_10_button_1_Template, 3, 3, "button", 15)(2, NotificationMessageComponent_div_10_a_2_Template, 3, 4, "a", 16)(3, NotificationMessageComponent_div_10_a_3_Template, 3, 6, "a", 17);
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
} if (rf & 2) {
|
|
87
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵproperty("ngIf", ctx_r0.message.buttonText);
|
|
90
|
+
i0.ɵɵadvance();
|
|
91
|
+
i0.ɵɵproperty("ngIf", ctx_r0.message.linkHref && ctx_r0.message.linkText);
|
|
92
|
+
i0.ɵɵadvance();
|
|
93
|
+
i0.ɵɵproperty("ngIf", ctx_r0.message.routerLink && ctx_r0.message.linkText);
|
|
94
|
+
} }
|
|
10
95
|
export class NotificationMessageComponent {
|
|
11
96
|
constructor() {
|
|
12
97
|
this.buttonClicked = new EventEmitter();
|
|
@@ -32,21 +117,49 @@ export class NotificationMessageComponent {
|
|
|
32
117
|
linkClick() {
|
|
33
118
|
this.linkClicked.next(null);
|
|
34
119
|
}
|
|
35
|
-
static { this.ɵfac =
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.4", type: NotificationMessageComponent, selector: "lib-tld-notification-message", inputs: { message: "message", inline: "inline" }, outputs: { buttonClicked: "buttonClicked", closeClicked: "closeClicked", linkClicked: "linkClicked" }, ngImport: i0, template: "<div class=\"notification-message {{className}}\">\r\n <div class=\"notification-message-container tld-default-border\" [ngClass.lt-md]=\"'mobile'\" [class.inline]=\"inline\"\r\n fxLayout=\"row\" fxLayoutAlign=\"start start\" [attr.id]=\"message.id\" aria-live=\"polite\" fxLayout=\"row\">\r\n <span class=\"material-icons-outlined message-icon\">\r\n {{iconNames[message.type]}}\r\n </span>\r\n <div class=\"items-container\" fxFlex>\r\n <div fxLayout=\"row\">\r\n <div class=\"text-container\" fxFlex>\r\n <h1 *ngIf=\"message.title\" class=\"message-title\"\r\n [innerHtml]=\"message.title | translate: message.localizationParams\"></h1>\r\n <p *ngIf=\"message.body\" class=\"message-body\">\r\n <span [innerHtml]=\"message.body | translate: message.localizationParams\"></span>\r\n <span *ngIf=\"message.support\" [innerHtml]=\"message.support | translate: message.localizationParams\"></span>\r\n </p>\r\n </div>\r\n <tld-close-button *ngIf=\"!message.hideClose\" class=\"close-button\" (tldClick)=\"closeClick()\">\r\n </tld-close-button>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutGap=\"16px\" fxLayoutAlign=\"start center\"\r\n *ngIf=\"message.buttonText || message.linkHref || message.routerLink\">\r\n <button class=\"message-action-button\" color=\"accent\" mat-flat-button *ngIf=\"message.buttonText\"\r\n (click)=\"buttonClick()\">{{message.buttonText | translate}} </button>\r\n <a class=\"message-action-link\" *ngIf=\"message.linkHref && message.linkText\" (click)=\"linkClick()\"\r\n [attr.href]=\"message.linkHref\">{{message.linkText |\r\n translate}}</a>\r\n <a class=\"message-action-link\" *ngIf=\"message.routerLink && message.linkText\" (click)=\"linkClick()\"\r\n [routerLink]=\"[message.routerLink]\">{{message.linkText |\r\n translate}}</a>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:inline-block;width:100%}.close-button{position:absolute;top:.2em;right:.2em}.text-container{margin-right:45px}.notification-message{position:relative}.notification-message.basic .notification-message-container{background-color:var(--base-100)}.notification-message.basic .notification-message-container .close-button,.notification-message.basic .notification-message-container .message-icon{color:var(--base-40)}.notification-message.basic .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.info .notification-message-container{background-color:var(--info-light)}.notification-message.info .notification-message-container .text-container{color:var(--info-dark)}.notification-message.info .notification-message-container .message-icon{color:var(--info-primary)}.notification-message.info .notification-message-container .close-button{color:var(--info-dark)}.notification-message.info .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.error .notification-message-container{background-color:var(--error-light)}.notification-message.error .notification-message-container .close-button,.notification-message.error .notification-message-container .text-container,.notification-message.error .notification-message-container .message-icon{color:var(--error-dark)}.notification-message.error .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.warning .notification-message-container{background-color:var(--warning-light)}.notification-message.warning .notification-message-container .close-button,.notification-message.warning .notification-message-container .text-container,.notification-message.warning .notification-message-container .message-icon{color:var(--warning-dark)}.notification-message.warning .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.success .notification-message-container{background-color:var(--success-light)}.notification-message.success .notification-message-container .close-button,.notification-message.success .notification-message-container .text-container,.notification-message.success .notification-message-container .message-icon{color:var(--success-dark)}.notification-message.success .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message .notification-message-container{border-radius:4px}.notification-message .notification-message-container.mobile{padding:.6em .4em!important;border-radius:0}.notification-message .notification-message-container.mobile .items-container{margin-left:.4em!important}.notification-message .notification-message-container.mobile .items-container div+div{margin-top:.2em!important}.notification-message .notification-message-container.mobile .items-container .message-title+.message-body{margin-top:0!important}.notification-message .notification-message-container .text-container:first-child{line-height:1.5em}.notification-message .notification-message-container .text-container .message-title{font-weight:600;margin:0}.notification-message .notification-message-container .text-container .message-body{margin:0}.notification-message .notification-message-container:not(.inline){padding:1.5em}.notification-message .notification-message-container:not(.inline) .items-container{margin-left:1em}.notification-message .notification-message-container:not(.inline) .items-container div+div,.notification-message .notification-message-container:not(.inline) .items-container .message-title+.message-body{margin-top:1em}.notification-message .notification-message-container:not(.inline) .message-title{font-size:1.25em}.notification-message .notification-message-container:not(.inline) .message-body{line-height:1.5em}.notification-message .notification-message-container.inline{padding:.75em 1em}.notification-message .notification-message-container.inline .items-container{margin-left:.75em}.notification-message .notification-message-container.inline .items-container div+div{margin-top:.5em}.notification-message .notification-message-container.inline .items-container .message-title+.message-body{margin-top:.2em}.notification-message .notification-message-container.inline .message-title{font-size:1em}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i4.CloseButtonComponent, selector: "tld-close-button", inputs: ["ariaCode", "disabled", "tooltip"], outputs: ["tldClick"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i6.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
|
|
120
|
+
static { this.ɵfac = function NotificationMessageComponent_Factory(t) { return new (t || NotificationMessageComponent)(); }; }
|
|
121
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationMessageComponent, selectors: [["lib-tld-notification-message"]], inputs: { message: "message", inline: "inline" }, outputs: { buttonClicked: "buttonClicked", closeClicked: "closeClicked", linkClicked: "linkClicked" }, decls: 11, vars: 12, consts: [["fxLayout", "row", "fxLayoutAlign", "start start", "aria-live", "polite", "fxLayout", "row", 1, "notification-message-container", "tld-default-border", 3, "ngClass.lt-md"], [1, "material-icons-outlined", "message-icon"], ["fxFlex", "", 1, "items-container"], ["fxLayout", "row"], ["fxFlex", "", 1, "text-container"], ["class", "message-title", 3, "innerHtml", 4, "ngIf"], ["class", "message-body", 4, "ngIf"], ["class", "close-button", 3, "tldClick", 4, "ngIf"], ["fxLayout", "row", "fxLayoutGap", "16px", "fxLayoutAlign", "start center", 4, "ngIf"], [1, "message-title", 3, "innerHtml"], [1, "message-body"], [3, "innerHtml"], [3, "innerHtml", 4, "ngIf"], [1, "close-button", 3, "tldClick"], ["fxLayout", "row", "fxLayoutGap", "16px", "fxLayoutAlign", "start center"], ["class", "message-action-button", "color", "accent", "mat-flat-button", "", 3, "click", 4, "ngIf"], ["class", "message-action-link", 3, "click", 4, "ngIf"], ["class", "message-action-link", 3, "routerLink", "click", 4, "ngIf"], ["color", "accent", "mat-flat-button", "", 1, "message-action-button", 3, "click"], [1, "message-action-link", 3, "click"], [1, "message-action-link", 3, "click", "routerLink"]], template: function NotificationMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "span", 1);
|
|
123
|
+
i0.ɵɵtext(3);
|
|
124
|
+
i0.ɵɵelementEnd();
|
|
125
|
+
i0.ɵɵelementStart(4, "div", 2)(5, "div", 3)(6, "div", 4);
|
|
126
|
+
i0.ɵɵtemplate(7, NotificationMessageComponent_h1_7_Template, 2, 4, "h1", 5)(8, NotificationMessageComponent_p_8_Template, 4, 5, "p", 6);
|
|
127
|
+
i0.ɵɵelementEnd();
|
|
128
|
+
i0.ɵɵtemplate(9, NotificationMessageComponent_tld_close_button_9_Template, 1, 0, "tld-close-button", 7);
|
|
129
|
+
i0.ɵɵelementEnd();
|
|
130
|
+
i0.ɵɵtemplate(10, NotificationMessageComponent_div_10_Template, 4, 3, "div", 8);
|
|
131
|
+
i0.ɵɵelementEnd()()();
|
|
132
|
+
} if (rf & 2) {
|
|
133
|
+
i0.ɵɵclassMapInterpolate1("notification-message ", ctx.className, "");
|
|
134
|
+
i0.ɵɵadvance();
|
|
135
|
+
i0.ɵɵclassProp("inline", ctx.inline);
|
|
136
|
+
i0.ɵɵproperty("ngClass.lt-md", "mobile");
|
|
137
|
+
i0.ɵɵattribute("id", ctx.message.id);
|
|
138
|
+
i0.ɵɵadvance(2);
|
|
139
|
+
i0.ɵɵtextInterpolate1(" ", ctx.iconNames[ctx.message.type], " ");
|
|
140
|
+
i0.ɵɵadvance(4);
|
|
141
|
+
i0.ɵɵproperty("ngIf", ctx.message.title);
|
|
142
|
+
i0.ɵɵadvance();
|
|
143
|
+
i0.ɵɵproperty("ngIf", ctx.message.body);
|
|
144
|
+
i0.ɵɵadvance();
|
|
145
|
+
i0.ɵɵproperty("ngIf", !ctx.message.hideClose);
|
|
146
|
+
i0.ɵɵadvance();
|
|
147
|
+
i0.ɵɵproperty("ngIf", ctx.message.buttonText || ctx.message.linkHref || ctx.message.routerLink);
|
|
148
|
+
} }, dependencies: [i1.NgIf, i2.DefaultLayoutDirective, i2.DefaultLayoutGapDirective, i2.DefaultLayoutAlignDirective, i2.DefaultFlexDirective, i3.DefaultClassDirective, i4.CloseButtonComponent, i5.MatButton, i6.RouterLink, i7.TranslatePipe], styles: ["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em;right:.2em}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-weight:600;margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%], .notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"] }); }
|
|
37
149
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
150
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationMessageComponent, [{
|
|
151
|
+
type: Component,
|
|
152
|
+
args: [{ selector: 'lib-tld-notification-message', template: "<div class=\"notification-message {{className}}\">\r\n <div class=\"notification-message-container tld-default-border\" [ngClass.lt-md]=\"'mobile'\" [class.inline]=\"inline\"\r\n fxLayout=\"row\" fxLayoutAlign=\"start start\" [attr.id]=\"message.id\" aria-live=\"polite\" fxLayout=\"row\">\r\n <span class=\"material-icons-outlined message-icon\">\r\n {{iconNames[message.type]}}\r\n </span>\r\n <div class=\"items-container\" fxFlex>\r\n <div fxLayout=\"row\">\r\n <div class=\"text-container\" fxFlex>\r\n <h1 *ngIf=\"message.title\" class=\"message-title\"\r\n [innerHtml]=\"message.title | translate: message.localizationParams\"></h1>\r\n <p *ngIf=\"message.body\" class=\"message-body\">\r\n <span [innerHtml]=\"message.body | translate: message.localizationParams\"></span>\r\n <span *ngIf=\"message.support\" [innerHtml]=\"message.support | translate: message.localizationParams\"></span>\r\n </p>\r\n </div>\r\n <tld-close-button *ngIf=\"!message.hideClose\" class=\"close-button\" (tldClick)=\"closeClick()\">\r\n </tld-close-button>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutGap=\"16px\" fxLayoutAlign=\"start center\"\r\n *ngIf=\"message.buttonText || message.linkHref || message.routerLink\">\r\n <button class=\"message-action-button\" color=\"accent\" mat-flat-button *ngIf=\"message.buttonText\"\r\n (click)=\"buttonClick()\">{{message.buttonText | translate}} </button>\r\n <a class=\"message-action-link\" *ngIf=\"message.linkHref && message.linkText\" (click)=\"linkClick()\"\r\n [attr.href]=\"message.linkHref\">{{message.linkText |\r\n translate}}</a>\r\n <a class=\"message-action-link\" *ngIf=\"message.routerLink && message.linkText\" (click)=\"linkClick()\"\r\n [routerLink]=\"[message.routerLink]\">{{message.linkText |\r\n translate}}</a>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:inline-block;width:100%}.close-button{position:absolute;top:.2em;right:.2em}.text-container{margin-right:45px}.notification-message{position:relative}.notification-message.basic .notification-message-container{background-color:var(--base-100)}.notification-message.basic .notification-message-container .close-button,.notification-message.basic .notification-message-container .message-icon{color:var(--base-40)}.notification-message.basic .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.info .notification-message-container{background-color:var(--info-light)}.notification-message.info .notification-message-container .text-container{color:var(--info-dark)}.notification-message.info .notification-message-container .message-icon{color:var(--info-primary)}.notification-message.info .notification-message-container .close-button{color:var(--info-dark)}.notification-message.info .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.error .notification-message-container{background-color:var(--error-light)}.notification-message.error .notification-message-container .close-button,.notification-message.error .notification-message-container .text-container,.notification-message.error .notification-message-container .message-icon{color:var(--error-dark)}.notification-message.error .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.warning .notification-message-container{background-color:var(--warning-light)}.notification-message.warning .notification-message-container .close-button,.notification-message.warning .notification-message-container .text-container,.notification-message.warning .notification-message-container .message-icon{color:var(--warning-dark)}.notification-message.warning .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.success .notification-message-container{background-color:var(--success-light)}.notification-message.success .notification-message-container .close-button,.notification-message.success .notification-message-container .text-container,.notification-message.success .notification-message-container .message-icon{color:var(--success-dark)}.notification-message.success .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message .notification-message-container{border-radius:4px}.notification-message .notification-message-container.mobile{padding:.6em .4em!important;border-radius:0}.notification-message .notification-message-container.mobile .items-container{margin-left:.4em!important}.notification-message .notification-message-container.mobile .items-container div+div{margin-top:.2em!important}.notification-message .notification-message-container.mobile .items-container .message-title+.message-body{margin-top:0!important}.notification-message .notification-message-container .text-container:first-child{line-height:1.5em}.notification-message .notification-message-container .text-container .message-title{font-weight:600;margin:0}.notification-message .notification-message-container .text-container .message-body{margin:0}.notification-message .notification-message-container:not(.inline){padding:1.5em}.notification-message .notification-message-container:not(.inline) .items-container{margin-left:1em}.notification-message .notification-message-container:not(.inline) .items-container div+div,.notification-message .notification-message-container:not(.inline) .items-container .message-title+.message-body{margin-top:1em}.notification-message .notification-message-container:not(.inline) .message-title{font-size:1.25em}.notification-message .notification-message-container:not(.inline) .message-body{line-height:1.5em}.notification-message .notification-message-container.inline{padding:.75em 1em}.notification-message .notification-message-container.inline .items-container{margin-left:.75em}.notification-message .notification-message-container.inline .items-container div+div{margin-top:.5em}.notification-message .notification-message-container.inline .items-container .message-title+.message-body{margin-top:.2em}.notification-message .notification-message-container.inline .message-title{font-size:1em}\n"] }]
|
|
153
|
+
}], null, { message: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], buttonClicked: [{
|
|
156
|
+
type: Output
|
|
157
|
+
}], closeClicked: [{
|
|
158
|
+
type: Output
|
|
159
|
+
}], linkClicked: [{
|
|
160
|
+
type: Output
|
|
161
|
+
}], inline: [{
|
|
162
|
+
type: Input
|
|
163
|
+
}] }); })();
|
|
164
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationMessageComponent, { className: "NotificationMessageComponent", filePath: "lib\\notification-message\\notification-message.component.ts", lineNumber: 10 }); })();
|
|
165
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLW1lc3NhZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL25vdGlmaWNhdGlvbi1tZXNzYWdlL25vdGlmaWNhdGlvbi1tZXNzYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi9ub3RpZmljYXRpb24tbWVzc2FnZS9ub3RpZmljYXRpb24tbWVzc2FnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFB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yXG4gICAgICAgIDxhIGNsYXNzPVwibWVzc2FnZS1hY3Rpb24tbGlua1wiICpuZ0lmPVwibWVzc2FnZS5saW5rSHJlZiAmJiBtZXNzYWdlLmxpbmtUZXh0XCIgKGNsaWNrKT1cImxpbmtDbGljaygpXCJcclxuICAgICAgICAgIFthdHRyLmhyZWZdPVwibWVzc2FnZS5saW5rSHJlZlwiPnt7bWVzc2FnZS5saW5rVGV4dCB8XHJcbiAgICAgICAgICB0cmFuc2xhdGV9fTwvYT5cclxuICAgICAgICA8YSBjbGFzcz1cIm1lc3NhZ2UtYWN0aW9uLWxpbmtcIiAqbmdJZj1cIm1lc3NhZ2Uucm91dGVyTGluayAmJiBtZXNzYWdlLmxpbmtUZXh0XCIgKGNsaWNrKT1cImxpbmtDbGljaygpXCJcclxuICAgICAgICAgIFtyb3V0ZXJMaW5rXT1cIlttZXNzYWdlLnJvdXRlckxpbmtdXCI+e3ttZXNzYWdlLmxpbmtUZXh0IHxcclxuICAgICAgICAgIHRyYW5zbGF0ZX19PC9hPlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -8,37 +8,38 @@ import { CloseButtonModule } from '../close-button/close-button.module';
|
|
|
8
8
|
import { NotificationMessageComponent } from './notification-message.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export class NotificationMessageModule {
|
|
11
|
-
static { this.ɵfac =
|
|
12
|
-
static { this.ɵmod = i0.ɵɵ
|
|
13
|
-
|
|
14
|
-
CloseButtonModule,
|
|
15
|
-
MatButtonModule,
|
|
16
|
-
TranslateModule,
|
|
17
|
-
RouterModule], exports: [NotificationMessageComponent] }); }
|
|
18
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: NotificationMessageModule, imports: [CommonModule,
|
|
11
|
+
static { this.ɵfac = function NotificationMessageModule_Factory(t) { return new (t || NotificationMessageModule)(); }; }
|
|
12
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NotificationMessageModule }); }
|
|
13
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
19
14
|
FlexLayoutModule,
|
|
20
15
|
CloseButtonModule,
|
|
21
16
|
MatButtonModule,
|
|
22
17
|
TranslateModule,
|
|
23
18
|
RouterModule] }); }
|
|
24
19
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
20
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationMessageModule, [{
|
|
21
|
+
type: NgModule,
|
|
22
|
+
args: [{
|
|
23
|
+
declarations: [
|
|
24
|
+
NotificationMessageComponent
|
|
25
|
+
],
|
|
26
|
+
imports: [
|
|
27
|
+
CommonModule,
|
|
28
|
+
FlexLayoutModule,
|
|
29
|
+
CloseButtonModule,
|
|
30
|
+
MatButtonModule,
|
|
31
|
+
TranslateModule,
|
|
32
|
+
RouterModule
|
|
33
|
+
],
|
|
34
|
+
exports: [
|
|
35
|
+
NotificationMessageComponent
|
|
36
|
+
]
|
|
37
|
+
}]
|
|
38
|
+
}], null, null); })();
|
|
39
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NotificationMessageModule, { declarations: [NotificationMessageComponent], imports: [CommonModule,
|
|
40
|
+
FlexLayoutModule,
|
|
41
|
+
CloseButtonModule,
|
|
42
|
+
MatButtonModule,
|
|
43
|
+
TranslateModule,
|
|
44
|
+
RouterModule], exports: [NotificationMessageComponent] }); })();
|
|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TWVzc2FnZUNvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgRmxleExheW91dE1vZHVsZSxcclxuICAgIENsb3NlQnV0dG9uTW9kdWxlLFxyXG4gICAgTWF0QnV0dG9uTW9kdWxlLFxyXG4gICAgVHJhbnNsYXRlTW9kdWxlLFxyXG4gICAgUm91dGVyTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBOb3RpZmljYXRpb25NZXNzYWdlQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTm90aWZpY2F0aW9uTWVzc2FnZU1vZHVsZSB7IH1cclxuIl19
|
|
@@ -7,6 +7,36 @@ import * as i2 from "@angular/material/button";
|
|
|
7
7
|
import * as i3 from "@ngbracket/ngx-layout/flex";
|
|
8
8
|
import * as i4 from "@ngbracket/ngx-layout/extended";
|
|
9
9
|
import * as i5 from "@ngx-translate/core";
|
|
10
|
+
const _c0 = ["*"];
|
|
11
|
+
function OpenCloseButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
13
|
+
i0.ɵɵpipe(1, "translate");
|
|
14
|
+
i0.ɵɵelementStart(2, "span", 3)(3, "span", 4);
|
|
15
|
+
i0.ɵɵprojection(4);
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
i0.ɵɵelementStart(5, "span", 5);
|
|
18
|
+
i0.ɵɵtext(6);
|
|
19
|
+
i0.ɵɵelementEnd()()();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
22
|
+
i0.ɵɵproperty("disabled", ctx_r0.disabled)("disableRipple", true)("ngClass.lt-md", "open-close-button-tablet");
|
|
23
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 5, ctx_r0.ariaLabelCode));
|
|
24
|
+
i0.ɵɵadvance(6);
|
|
25
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.isOpened ? ctx_r0.icons.open : ctx_r0.icons.close, " ");
|
|
26
|
+
} }
|
|
27
|
+
function OpenCloseButtonComponent_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "button", 6);
|
|
29
|
+
i0.ɵɵpipe(1, "translate");
|
|
30
|
+
i0.ɵɵelementStart(2, "span", 5);
|
|
31
|
+
i0.ɵɵtext(3);
|
|
32
|
+
i0.ɵɵelementEnd()();
|
|
33
|
+
} if (rf & 2) {
|
|
34
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
35
|
+
i0.ɵɵproperty("disabled", ctx_r0.disabled);
|
|
36
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 3, ctx_r0.ariaLabelCode));
|
|
37
|
+
i0.ɵɵadvance(3);
|
|
38
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.isOpened ? ctx_r0.icons.open : ctx_r0.icons.close, " ");
|
|
39
|
+
} }
|
|
10
40
|
export class OpenCloseButtonComponent {
|
|
11
41
|
set isOpened(value) {
|
|
12
42
|
if (this._isOpened && !value && !this.disableFocusOnAction) {
|
|
@@ -25,29 +55,42 @@ export class OpenCloseButtonComponent {
|
|
|
25
55
|
focus() {
|
|
26
56
|
this.button.focus();
|
|
27
57
|
}
|
|
28
|
-
static { this.ɵfac =
|
|
29
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
58
|
+
static { this.ɵfac = function OpenCloseButtonComponent_Factory(t) { return new (t || OpenCloseButtonComponent)(i0.ɵɵdirectiveInject(OPEN_CLOSE_BTN_ICONS_TOKEN, 8)); }; }
|
|
59
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OpenCloseButtonComponent, selectors: [["lib-open-close-button"]], viewQuery: function OpenCloseButtonComponent_Query(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵviewQuery(MatButton, 5);
|
|
61
|
+
} if (rf & 2) {
|
|
62
|
+
let _t;
|
|
63
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.button = _t.first);
|
|
64
|
+
} }, inputs: { disableFocusOnAction: "disableFocusOnAction", disabled: "disabled", isIcon: "isIcon", ariaLabelCode: "ariaLabelCode", isOpened: "isOpened" }, ngContentSelectors: _c0, decls: 2, vars: 2, consts: [["mat-button", "", 3, "disabled", "disableRipple", "ngClass.lt-md", 4, "ngIf"], ["mat-icon-button", "", "fxLayoutAlign", "center center", 3, "disabled", 4, "ngIf"], ["mat-button", "", 3, "disabled", "disableRipple", "ngClass.lt-md"], ["fxLayout", "row", "fxLayoutAlign", "center center"], ["fxLayoutAlign", "center center", 1, "open-close-button-content", "text-l"], [1, "material-icons"], ["mat-icon-button", "", "fxLayoutAlign", "center center", 3, "disabled"]], template: function OpenCloseButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0.ɵɵprojectionDef();
|
|
66
|
+
i0.ɵɵtemplate(0, OpenCloseButtonComponent_button_0_Template, 7, 7, "button", 0)(1, OpenCloseButtonComponent_button_1_Template, 4, 5, "button", 1);
|
|
67
|
+
} if (rf & 2) {
|
|
68
|
+
i0.ɵɵproperty("ngIf", !ctx.isIcon);
|
|
69
|
+
i0.ɵɵadvance();
|
|
70
|
+
i0.ɵɵproperty("ngIf", ctx.isIcon);
|
|
71
|
+
} }, dependencies: [i1.NgIf, i2.MatButton, i2.MatIconButton, i3.DefaultLayoutDirective, i3.DefaultLayoutAlignDirective, i4.DefaultClassDirective, i5.TranslatePipe], encapsulation: 2 }); }
|
|
30
72
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
73
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenCloseButtonComponent, [{
|
|
74
|
+
type: Component,
|
|
75
|
+
args: [{ selector: 'lib-open-close-button', template: "<button\r\n mat-button\r\n *ngIf=\"!isIcon\"\r\n [disabled]=\"disabled\"\r\n [disableRipple]=\"true\"\r\n [ngClass.lt-md]=\"'open-close-button-tablet'\"\r\n [attr.aria-label]=\"ariaLabelCode | translate\">\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center center\">\r\n <span class=\"open-close-button-content text-l\" fxLayoutAlign=\"center center\">\r\n <ng-content></ng-content>\r\n </span>\r\n\r\n <span class=\"material-icons\">\r\n {{ isOpened ? icons.open : icons.close }}\r\n </span>\r\n </span>\r\n</button>\r\n<button\r\n mat-icon-button\r\n fxLayoutAlign=\"center center\"\r\n *ngIf=\"isIcon\"\r\n [disabled]=\"disabled\"\r\n [attr.aria-label]=\"ariaLabelCode | translate\">\r\n <span class=\"material-icons\">\r\n {{ isOpened ? icons.open : icons.close }}\r\n </span>\r\n</button>\r\n" }]
|
|
76
|
+
}], () => [{ type: undefined, decorators: [{
|
|
77
|
+
type: Optional
|
|
78
|
+
}, {
|
|
79
|
+
type: Inject,
|
|
80
|
+
args: [OPEN_CLOSE_BTN_ICONS_TOKEN]
|
|
81
|
+
}] }], { disableFocusOnAction: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], disabled: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], isIcon: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], ariaLabelCode: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], isOpened: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], button: [{
|
|
92
|
+
type: ViewChild,
|
|
93
|
+
args: [MatButton]
|
|
94
|
+
}] }); })();
|
|
95
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OpenCloseButtonComponent, { className: "OpenCloseButtonComponent", filePath: "lib\\open-close-button\\open-close-button.component.ts", lineNumber: 10 }); })();
|
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3Blbi1jbG9zZS1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL29wZW4tY2xvc2UtYnV0dG9uL29wZW4tY2xvc2UtYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi9vcGVuLWNsb3NlLWJ1dHRvbi9vcGVuLWNsb3NlLWJ1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQVUsUUFBUSxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFckQsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7Ozs7Ozs7OztJQ0hoRSxpQ0FNZ0Q7O0lBRTVDLEFBREYsK0JBQW1ELGNBQzRCO0lBQzNFLGtCQUF5QjtJQUMzQixpQkFBTztJQUVQLCtCQUE2QjtJQUMzQixZQUNGO0lBRUosQUFERSxBQURFLGlCQUFPLEVBQ0YsRUFDQTs7O0lBWFAsQUFEQSxBQURBLDBDQUFxQix1QkFDQyw2Q0FDc0I7O0lBUXhDLGVBQ0Y7SUFERSx5RkFDRjs7O0lBR0osaUNBS2dEOztJQUM5QywrQkFBNkI7SUFDM0IsWUFDRj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