@wavemaker/app-ng-runtime 11.10.3-next.25128 → 11.10.3-rc.6079
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/components/basic/default/bundles/index.umd.js +68 -68
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
- package/components/basic/default/esm2022/icon/icon.component.mjs +13 -12
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +10 -9
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
- package/components/basic/default/esm2022/video/video.component.mjs +15 -14
- package/components/basic/default/fesm2022/index.mjs +68 -68
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/bundles/index.umd.js +17 -16
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -7
- package/components/basic/progress/fesm2022/index.mjs +9 -8
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +12 -11
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +9 -8
- package/components/basic/rich-text-editor/fesm2022/index.mjs +8 -7
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +67 -63
- package/components/basic/search/esm2022/search.component.mjs +67 -63
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +67 -63
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +17 -17
- package/components/chart/esm2022/chart.component.mjs +18 -18
- package/components/chart/fesm2022/index.mjs +17 -17
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/bundles/index.umd.js +39 -39
- package/components/containers/panel/esm2022/panel.component.mjs +40 -40
- package/components/containers/panel/fesm2022/index.mjs +39 -39
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +29 -29
- package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
- package/components/containers/tabs/fesm2022/index.mjs +29 -29
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +49 -49
- package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
- package/components/containers/wizard/fesm2022/index.mjs +49 -49
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/data/card/bundles/index.umd.js +29 -29
- package/components/data/card/esm2022/card.component.mjs +30 -30
- package/components/data/card/fesm2022/index.mjs +29 -29
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +96 -91
- package/components/data/form/esm2022/form.component.mjs +97 -92
- package/components/data/form/fesm2022/index.mjs +96 -91
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +173 -171
- package/components/data/list/esm2022/list.component.mjs +173 -171
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +173 -171
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +32 -32
- package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
- package/components/data/pagination/fesm2022/index.mjs +32 -32
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +38 -39
- package/components/data/table/esm2022/table.component.mjs +39 -40
- package/components/data/table/fesm2022/index.mjs +38 -39
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/bundles/index.umd.js +95 -66
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +96 -67
- package/components/dialogs/default/fesm2022/index.mjs +95 -66
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
- package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +25 -24
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +16 -15
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +15 -14
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/bundles/index.umd.js +21 -21
- package/components/input/chips/esm2022/chips.component.mjs +22 -22
- package/components/input/chips/fesm2022/index.mjs +21 -21
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/default/bundles/index.umd.js +209 -201
- package/components/input/default/esm2022/button/button.component.mjs +18 -18
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +69 -68
- package/components/input/default/esm2022/radioset/radioset.component.mjs +69 -68
- package/components/input/default/esm2022/select/select.component.mjs +27 -21
- package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
- package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
- package/components/input/default/fesm2022/index.mjs +209 -201
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +164 -171
- package/components/input/epoch/esm2022/date/date.component.mjs +15 -14
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +59 -64
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +19 -18
- package/components/input/epoch/esm2022/picker/picker.component.mjs +25 -26
- package/components/input/epoch/esm2022/time/time.component.mjs +18 -17
- package/components/input/epoch/fesm2022/index.mjs +117 -124
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +114 -111
- package/components/input/file-upload/esm2022/file-upload.component.mjs +115 -112
- package/components/input/file-upload/fesm2022/index.mjs +114 -111
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/bundles/index.umd.js +14 -14
- package/components/input/rating/esm2022/rating.component.mjs +15 -15
- package/components/input/rating/fesm2022/index.mjs +14 -14
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/bundles/index.umd.js +40 -39
- package/components/input/slider/esm2022/slider.component.mjs +11 -10
- package/components/input/slider/fesm2022/index.mjs +10 -9
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +15 -16
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +16 -17
- package/components/navigation/breadcrumb/fesm2022/index.mjs +15 -16
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +71 -69
- package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
- package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
- package/components/navigation/menu/esm2022/menu.component.mjs +26 -22
- package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +24 -26
- package/components/navigation/menu/fesm2022/index.mjs +71 -69
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/bundles/index.umd.js +12 -12
- package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
- package/components/navigation/navbar/fesm2022/index.mjs +12 -12
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/basic/default/bundles/index.umd.js +111 -102
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +40 -39
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +44 -35
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +28 -27
- package/mobile/components/basic/default/fesm2022/index.mjs +107 -98
- package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +9 -8
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
- package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
- package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
- package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
- package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
- package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
- package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +215 -219
- package/runtime/base/esm2022/components/app-component/app.component.mjs +41 -38
- package/runtime/base/esm2022/components/app-spinner.component.mjs +21 -25
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +16 -18
- package/runtime/base/fesm2022/index.mjs +95 -99
- package/runtime/base/fesm2022/index.mjs.map +1 -1
|
@@ -38,22 +38,22 @@ const _c0$5 = ["wmAnchor", ""];
|
|
|
38
38
|
const _c1$1 = [[["", 8, "caret"]]];
|
|
39
39
|
const _c2$1 = [".caret"];
|
|
40
40
|
const _c3 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
|
|
41
|
-
function
|
|
42
|
-
i0.ɵɵelement(0, "img",
|
|
41
|
+
function AnchorComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelement(0, "img", 5);
|
|
43
43
|
i0.ɵɵpipe(1, "image");
|
|
44
44
|
} if (rf & 2) {
|
|
45
45
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
46
46
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
47
47
|
} }
|
|
48
|
-
function
|
|
49
|
-
i0.ɵɵelement(0, "i",
|
|
48
|
+
function AnchorComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵelement(0, "i", 6);
|
|
50
50
|
} if (rf & 2) {
|
|
51
51
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
52
52
|
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
|
|
53
53
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(4, _c3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
54
54
|
} }
|
|
55
|
-
function
|
|
56
|
-
i0.ɵɵelementStart(0, "span",
|
|
55
|
+
function AnchorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
57
57
|
i0.ɵɵtext(1);
|
|
58
58
|
i0.ɵɵelementEnd();
|
|
59
59
|
} if (rf & 2) {
|
|
@@ -61,8 +61,8 @@ function AnchorComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
61
61
|
i0.ɵɵadvance();
|
|
62
62
|
i0.ɵɵtextInterpolate2("", ctx_r0.caption, " ", ctx_r0.appLocale.LABEL_ICON, "");
|
|
63
63
|
} }
|
|
64
|
-
function
|
|
65
|
-
i0.ɵɵelement(0, "span",
|
|
64
|
+
function AnchorComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0.ɵɵelement(0, "span", 8);
|
|
66
66
|
} if (rf & 2) {
|
|
67
67
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
68
68
|
i0.ɵɵproperty("textContent", ctx_r0.badgevalue);
|
|
@@ -182,29 +182,29 @@ class AnchorComponent extends StylableComponent {
|
|
|
182
182
|
i0.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
183
183
|
} }, exportAs: ["wmAnchor"], features: [i0.ɵɵProvidersFeature([
|
|
184
184
|
provideAsWidgetRef(AnchorComponent)
|
|
185
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$5, ngContentSelectors: _c2$1, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "Image",
|
|
185
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$5, ngContentSelectors: _c2$1, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "Image", "class", "anchor-image-icon", 3, "src", "ngStyle", 4, "ngIf"], ["aria-hidden", "true", 3, "class", "ngStyle", 4, "ngIf"], ["class", "sr-only", 4, "ngIf"], [1, "anchor-caption", 3, "innerHTML"], ["class", "badge pull-right", 3, "textContent", 4, "ngIf"], ["data-identifier", "img", "alt", "Image", 1, "anchor-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "ngStyle"], [1, "sr-only"], [1, "badge", "pull-right", 3, "textContent"]], template: function AnchorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
186
186
|
i0.ɵɵprojectionDef(_c1$1);
|
|
187
|
-
i0.ɵɵtemplate(0,
|
|
187
|
+
i0.ɵɵtemplate(0, AnchorComponent_img_0_Template, 2, 8, "img", 0)(1, AnchorComponent_i_1_Template, 1, 8, "i", 1)(2, AnchorComponent_span_2_Template, 2, 2, "span", 2);
|
|
188
188
|
i0.ɵɵelement(3, "span", 3);
|
|
189
189
|
i0.ɵɵprojection(4);
|
|
190
|
-
i0.ɵɵtemplate(5,
|
|
190
|
+
i0.ɵɵtemplate(5, AnchorComponent_span_5_Template, 1, 1, "span", 4);
|
|
191
191
|
} if (rf & 2) {
|
|
192
|
-
i0.ɵɵ
|
|
192
|
+
i0.ɵɵproperty("ngIf", ctx.iconurl);
|
|
193
193
|
i0.ɵɵadvance();
|
|
194
|
-
i0.ɵɵ
|
|
194
|
+
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
195
195
|
i0.ɵɵadvance();
|
|
196
|
-
i0.ɵɵ
|
|
196
|
+
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
197
197
|
i0.ɵɵadvance();
|
|
198
198
|
i0.ɵɵproperty("innerHTML", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
199
199
|
i0.ɵɵadvance(2);
|
|
200
|
-
i0.ɵɵ
|
|
201
|
-
} }, dependencies: [i2.NgStyle, i1$1.TextContentDirective, i1$1.ImagePipe], encapsulation: 2 }); }
|
|
200
|
+
i0.ɵɵproperty("ngIf", ctx.badgevalue);
|
|
201
|
+
} }, dependencies: [i2.NgIf, i2.NgStyle, i1$1.TextContentDirective, i1$1.ImagePipe], encapsulation: 2 }); }
|
|
202
202
|
}
|
|
203
203
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnchorComponent, [{
|
|
204
204
|
type: Component,
|
|
205
205
|
args: [{ selector: 'a[wmAnchor]', providers: [
|
|
206
206
|
provideAsWidgetRef(AnchorComponent)
|
|
207
|
-
], exportAs: 'wmAnchor', template: "
|
|
207
|
+
], exportAs: 'wmAnchor', template: "<img data-identifier=\"img\" alt=\"Image\" class=\"anchor-image-icon\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n<i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\" *ngIf=\"iconclass\"></i>\n<span class=\"sr-only\" *ngIf=\"iconclass\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n<span class=\"anchor-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n<span *ngIf=\"badgevalue\" class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n" }]
|
|
208
208
|
}], () => [{ type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
|
209
209
|
type: Inject,
|
|
210
210
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -392,8 +392,8 @@ const registerProps$5 = () => {
|
|
|
392
392
|
};
|
|
393
393
|
|
|
394
394
|
const _c0$3 = ["wmIcon", ""];
|
|
395
|
-
function
|
|
396
|
-
i0.ɵɵelementStart(0, "span",
|
|
395
|
+
function IconComponent_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
396
|
+
i0.ɵɵelementStart(0, "span", 2);
|
|
397
397
|
i0.ɵɵtext(1);
|
|
398
398
|
i0.ɵɵelementEnd();
|
|
399
399
|
} if (rf & 2) {
|
|
@@ -401,8 +401,8 @@ function IconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
401
401
|
i0.ɵɵadvance();
|
|
402
402
|
i0.ɵɵtextInterpolate(ctx_r0.arialabel || ctx_r0.caption || ctx_r0.appLocale.LABEL_ICON);
|
|
403
403
|
} }
|
|
404
|
-
function
|
|
405
|
-
i0.ɵɵelement(0, "label",
|
|
404
|
+
function IconComponent_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
405
|
+
i0.ɵɵelement(0, "label", 3);
|
|
406
406
|
} if (rf & 2) {
|
|
407
407
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
408
408
|
i0.ɵɵproperty("textContent", ctx_r0.caption);
|
|
@@ -424,22 +424,22 @@ class IconComponent extends StylableComponent {
|
|
|
424
424
|
i0.ɵɵstyleProp("font-size", ctx.iconsize);
|
|
425
425
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
426
426
|
provideAsWidgetRef(IconComponent)
|
|
427
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$3, decls: 3, vars: 5, consts: [[1, "sr-only"], ["aria-hidden", "true", 1, "app-label", 3, "textContent"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
427
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$3, decls: 3, vars: 5, consts: [["class", "sr-only", 4, "ngIf"], ["aria-hidden", "true", "class", "app-label", 3, "textContent", 4, "ngIf"], [1, "sr-only"], ["aria-hidden", "true", 1, "app-label", 3, "textContent"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
428
428
|
i0.ɵɵelement(0, "i");
|
|
429
|
-
i0.ɵɵtemplate(1,
|
|
429
|
+
i0.ɵɵtemplate(1, IconComponent_span_1_Template, 2, 1, "span", 0)(2, IconComponent_label_2_Template, 1, 1, "label", 1);
|
|
430
430
|
} if (rf & 2) {
|
|
431
431
|
i0.ɵɵclassMapInterpolate1("app-icon ", ctx.iconclass, "");
|
|
432
432
|
i0.ɵɵadvance();
|
|
433
|
-
i0.ɵɵ
|
|
433
|
+
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
434
434
|
i0.ɵɵadvance();
|
|
435
|
-
i0.ɵɵ
|
|
436
|
-
} }, dependencies: [i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
435
|
+
i0.ɵɵproperty("ngIf", ctx.caption);
|
|
436
|
+
} }, dependencies: [i2.NgIf, i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
437
437
|
}
|
|
438
438
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconComponent, [{
|
|
439
439
|
type: Component,
|
|
440
440
|
args: [{ selector: '[wmIcon]', providers: [
|
|
441
441
|
provideAsWidgetRef(IconComponent)
|
|
442
|
-
], template: "<i class=\"app-icon {{iconclass}}\"></i>\n
|
|
442
|
+
], template: "<i class=\"app-icon {{iconclass}}\"></i>\n<span *ngIf=\"iconclass\" class=\"sr-only\">{{ arialabel || caption || appLocale.LABEL_ICON }}</span>\n<label *ngIf=\"caption\" [textContent]=\"caption\" aria-hidden=\"true\" class=\"app-label\"></label>\n" }]
|
|
443
443
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
444
444
|
type: Inject,
|
|
445
445
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -469,9 +469,9 @@ const registerProps$4 = () => {
|
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
const _c0$2 = ["wmIframe", ""];
|
|
472
|
-
function
|
|
473
|
-
i0.ɵɵelementStart(0, "div",
|
|
474
|
-
i0.ɵɵelement(1, "p",
|
|
472
|
+
function IframeComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
473
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
474
|
+
i0.ɵɵelement(1, "p", 3);
|
|
475
475
|
i0.ɵɵelementEnd();
|
|
476
476
|
} if (rf & 2) {
|
|
477
477
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -522,21 +522,21 @@ class IframeComponent extends StylableComponent {
|
|
|
522
522
|
static { this.ɵfac = function IframeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IframeComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.TrustAsPipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
523
523
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IframeComponent, selectors: [["", "wmIframe", ""]], features: [i0.ɵɵProvidersFeature([
|
|
524
524
|
provideAsWidgetRef(IframeComponent)
|
|
525
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls: 2, vars: 4, consts: [["role", "document", "scrolling", "auto", "marginheight", "0", "marginwidth", "0", "frameborder", "0", "seamless", "seamless", 1, "embed-responsive-item", "iframe-content", 3, "name"], [1, "wm-content-info", "readonly-wrapper"], [1, "wm-message", 3, "title", "textContent"]], template: function IframeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
525
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls: 2, vars: 4, consts: [["role", "document", "scrolling", "auto", "marginheight", "0", "marginwidth", "0", "frameborder", "0", "seamless", "seamless", 1, "embed-responsive-item", "iframe-content", 3, "name"], ["class", "wm-content-info readonly-wrapper", 4, "ngIf"], [1, "wm-content-info", "readonly-wrapper"], [1, "wm-message", 3, "title", "textContent"]], template: function IframeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
526
526
|
i0.ɵɵelement(0, "iframe", 0);
|
|
527
|
-
i0.ɵɵtemplate(1,
|
|
527
|
+
i0.ɵɵtemplate(1, IframeComponent_div_1_Template, 2, 2, "div", 1);
|
|
528
528
|
} if (rf & 2) {
|
|
529
529
|
i0.ɵɵproperty("name", ctx.name);
|
|
530
530
|
i0.ɵɵattribute("src", ctx._iframesrc, i0.ɵɵsanitizeResourceUrl)("aria-label", ctx.arialabel || "iframe");
|
|
531
531
|
i0.ɵɵadvance();
|
|
532
|
-
i0.ɵɵ
|
|
533
|
-
} }, dependencies: [i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
532
|
+
i0.ɵɵproperty("ngIf", ctx.showContentLoadError);
|
|
533
|
+
} }, dependencies: [i2.NgIf, i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
534
534
|
}
|
|
535
535
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IframeComponent, [{
|
|
536
536
|
type: Component,
|
|
537
537
|
args: [{ selector: '[wmIframe]', providers: [
|
|
538
538
|
provideAsWidgetRef(IframeComponent)
|
|
539
|
-
], template: "<iframe class=\"embed-responsive-item iframe-content\" role=\"document\"\n
|
|
539
|
+
], template: "<iframe class=\"embed-responsive-item iframe-content\" role=\"document\"\n scrolling=\"auto\"\n marginheight=\"0\"\n marginwidth=\"0\"\n frameborder=\"0\"\n [name]=\"name\"\n [attr.src]=\"_iframesrc\"\n [attr.aria-label]=\"arialabel || 'iframe'\"\n seamless=\"seamless\">\n</iframe>\n<div class=\"wm-content-info readonly-wrapper\" *ngIf=\"showContentLoadError\">\n <p class=\"wm-message\" [title]=\"hintMsg\" [textContent]=\"errMsg\"></p>\n</div>\n" }]
|
|
540
540
|
}], () => [{ type: i0.Injector }, { type: i1$1.TrustAsPipe }, { type: undefined, decorators: [{
|
|
541
541
|
type: Inject,
|
|
542
542
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -752,39 +752,39 @@ const registerProps$1 = () => {
|
|
|
752
752
|
const _c0$1 = ["wmSpinner", ""];
|
|
753
753
|
const _c1 = (a0, a1, a2, a3) => ({ width: a0, height: a1, backgroundImage: a2, backgroundSize: a3 });
|
|
754
754
|
const _c2 = (a0, a1) => [a0, a1];
|
|
755
|
-
function
|
|
756
|
-
i0.ɵɵelement(0, "span",
|
|
755
|
+
function SpinnerComponent_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
756
|
+
i0.ɵɵelement(0, "span", 5);
|
|
757
757
|
} if (rf & 2) {
|
|
758
758
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
759
759
|
i0.ɵɵproperty("ngClass", ctx_r0.animation)("ngStyle", i0.ɵɵpureFunction4(2, _c1, ctx_r0.imagewidth, ctx_r0.imageheight, "url(" + ctx_r0.picture + ")", ctx_r0.imagewidth));
|
|
760
760
|
} }
|
|
761
|
-
function
|
|
762
|
-
i0.ɵɵelement(0, "i",
|
|
761
|
+
function SpinnerComponent_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
762
|
+
i0.ɵɵelement(0, "i", 6);
|
|
763
763
|
} if (rf & 2) {
|
|
764
764
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
765
765
|
i0.ɵɵstyleProp("fon-size", ctx_r0.iconsize);
|
|
766
766
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c2, ctx_r0.iconclass, ctx_r0.animation));
|
|
767
767
|
} }
|
|
768
|
-
function
|
|
769
|
-
i0.ɵɵelement(0, "span",
|
|
768
|
+
function SpinnerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
769
|
+
i0.ɵɵelement(0, "span", 7);
|
|
770
770
|
} if (rf & 2) {
|
|
771
771
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
772
772
|
i0.ɵɵproperty("innerHTML", ctx_r0.caption, i0.ɵɵsanitizeHtml);
|
|
773
773
|
} }
|
|
774
|
-
function
|
|
775
|
-
i0.ɵɵelement(0, "p",
|
|
774
|
+
function SpinnerComponent_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
775
|
+
i0.ɵɵelement(0, "p", 10);
|
|
776
776
|
} if (rf & 2) {
|
|
777
777
|
const value_r2 = ctx.$implicit;
|
|
778
778
|
i0.ɵɵproperty("textContent", value_r2);
|
|
779
779
|
} }
|
|
780
|
-
function
|
|
781
|
-
i0.ɵɵelementStart(0, "div",
|
|
782
|
-
i0.ɵɵ
|
|
780
|
+
function SpinnerComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
781
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
782
|
+
i0.ɵɵtemplate(1, SpinnerComponent_div_4_p_1_Template, 1, 1, "p", 9);
|
|
783
783
|
i0.ɵɵelementEnd();
|
|
784
784
|
} if (rf & 2) {
|
|
785
785
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
786
786
|
i0.ɵɵadvance();
|
|
787
|
-
i0.ɵɵ
|
|
787
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.spinnerMessages);
|
|
788
788
|
} }
|
|
789
789
|
const DEFAULT_CLS$1 = 'app-spinner';
|
|
790
790
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-spinner', hostClass: DEFAULT_CLS$1 };
|
|
@@ -841,26 +841,26 @@ class SpinnerComponent extends StylableComponent {
|
|
|
841
841
|
static { this.ɵfac = function SpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SpinnerComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.ImagePipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
842
842
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SpinnerComponent, selectors: [["", "wmSpinner", ""]], exportAs: ["wmSpinner"], features: [i0.ɵɵProvidersFeature([
|
|
843
843
|
provideAsWidgetRef(SpinnerComponent)
|
|
844
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 5, vars: 4, consts: [[1, "spinner-message"], ["aria-hidden", "true",
|
|
844
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 5, vars: 4, consts: [[1, "spinner-message"], ["class", "spinner-image animated infinite", "aria-hidden", "true", 3, "ngClass", "ngStyle", 4, "ngIf"], ["class", "spinner-image animated infinite", "aria-hidden", "true", 3, "ngClass", "fonSize", 4, "ngIf"], ["class", "spinner-text", 3, "innerHTML", 4, "ngIf"], ["class", "spinner-messages", 4, "ngIf"], ["aria-hidden", "true", 1, "spinner-image", "animated", "infinite", 3, "ngClass", "ngStyle"], ["aria-hidden", "true", 1, "spinner-image", "animated", "infinite", 3, "ngClass"], [1, "spinner-text", 3, "innerHTML"], [1, "spinner-messages"], [3, "textContent", 4, "ngFor", "ngForOf"], [3, "textContent"]], template: function SpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
845
845
|
i0.ɵɵelementStart(0, "div", 0);
|
|
846
|
-
i0.ɵɵtemplate(1,
|
|
846
|
+
i0.ɵɵtemplate(1, SpinnerComponent_span_1_Template, 1, 7, "span", 1)(2, SpinnerComponent_i_2_Template, 1, 6, "i", 2)(3, SpinnerComponent_span_3_Template, 1, 1, "span", 3)(4, SpinnerComponent_div_4_Template, 2, 1, "div", 4);
|
|
847
847
|
i0.ɵɵelementEnd();
|
|
848
848
|
} if (rf & 2) {
|
|
849
849
|
i0.ɵɵadvance();
|
|
850
|
-
i0.ɵɵ
|
|
850
|
+
i0.ɵɵproperty("ngIf", ctx.type === "image");
|
|
851
851
|
i0.ɵɵadvance();
|
|
852
|
-
i0.ɵɵ
|
|
852
|
+
i0.ɵɵproperty("ngIf", ctx.type === "icon");
|
|
853
853
|
i0.ɵɵadvance();
|
|
854
|
-
i0.ɵɵ
|
|
854
|
+
i0.ɵɵproperty("ngIf", ctx.showCaption);
|
|
855
855
|
i0.ɵɵadvance();
|
|
856
|
-
i0.ɵɵ
|
|
857
|
-
} }, dependencies: [i2.NgClass, i2.NgStyle, i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
856
|
+
i0.ɵɵproperty("ngIf", !ctx.showCaption && ctx.spinnerMessages);
|
|
857
|
+
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
858
858
|
}
|
|
859
859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpinnerComponent, [{
|
|
860
860
|
type: Component,
|
|
861
861
|
args: [{ selector: '[wmSpinner]', providers: [
|
|
862
862
|
provideAsWidgetRef(SpinnerComponent)
|
|
863
|
-
], exportAs: 'wmSpinner', template: "<div class=\"spinner-message\">\n
|
|
863
|
+
], exportAs: 'wmSpinner', template: "<div class=\"spinner-message\">\n <span class=\"spinner-image animated infinite\" [ngClass]=\"animation\" aria-hidden=\"true\"\n [ngStyle]=\"{width: imagewidth, height: imageheight, backgroundImage: 'url(' + picture + ')', backgroundSize: imagewidth}\"\n *ngIf=\"type === 'image'\"></span>\n <i class=\"spinner-image animated infinite\" aria-hidden=\"true\" [ngClass]=\"[iconclass, animation]\" [style.fonSize]=\"iconsize\" *ngIf=\"type === 'icon'\"></i>\n <span class=\"spinner-text\" [innerHTML]=\"caption\" *ngIf=\"showCaption\"></span>\n <div class=\"spinner-messages\" *ngIf=\"!showCaption && spinnerMessages\">\n <p *ngFor=\"let value of spinnerMessages\" [textContent]=\"value\"></p>\n </div>\n</div>\n" }]
|
|
864
864
|
}], () => [{ type: i0.Injector }, { type: i1$1.ImagePipe }, { type: undefined, decorators: [{
|
|
865
865
|
type: Inject,
|
|
866
866
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -893,22 +893,22 @@ const registerProps = () => {
|
|
|
893
893
|
};
|
|
894
894
|
|
|
895
895
|
const _c0 = ["wmVideo", ""];
|
|
896
|
-
function
|
|
897
|
-
i0.ɵɵelement(0, "source",
|
|
896
|
+
function VideoComponent_source_3_Template(rf, ctx) { if (rf & 1) {
|
|
897
|
+
i0.ɵɵelement(0, "source", 4);
|
|
898
898
|
i0.ɵɵpipe(1, "trustAs");
|
|
899
899
|
} if (rf & 2) {
|
|
900
900
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
901
901
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(1, 1, ctx_r0.mp4format, "resource"), i0.ɵɵsanitizeUrl);
|
|
902
902
|
} }
|
|
903
|
-
function
|
|
904
|
-
i0.ɵɵelement(0, "source",
|
|
903
|
+
function VideoComponent_source_4_Template(rf, ctx) { if (rf & 1) {
|
|
904
|
+
i0.ɵɵelement(0, "source", 5);
|
|
905
905
|
i0.ɵɵpipe(1, "trustAs");
|
|
906
906
|
} if (rf & 2) {
|
|
907
907
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
908
908
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(1, 1, ctx_r0.webmformat, "resource"), i0.ɵɵsanitizeUrl);
|
|
909
909
|
} }
|
|
910
|
-
function
|
|
911
|
-
i0.ɵɵelement(0, "source",
|
|
910
|
+
function VideoComponent_source_5_Template(rf, ctx) { if (rf & 1) {
|
|
911
|
+
i0.ɵɵelement(0, "source", 6);
|
|
912
912
|
i0.ɵɵpipe(1, "trustAs");
|
|
913
913
|
} if (rf & 2) {
|
|
914
914
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -964,31 +964,31 @@ class VideoComponent extends StylableComponent {
|
|
|
964
964
|
static { this.ɵfac = function VideoComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || VideoComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.TrustAsPipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
965
965
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VideoComponent, selectors: [["", "wmVideo", ""]], features: [i0.ɵɵProvidersFeature([
|
|
966
966
|
provideAsWidgetRef(VideoComponent)
|
|
967
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars: 18, consts: [[3, "preload", "src", "muted", "poster", "controls", "loop", "autoplay", "tabindex"], ["type", "video/mp4", 3, "src"], ["type", "video/webm", 3, "src"], ["type", "video/ogg", 3, "src"]], template: function VideoComponent_Template(rf, ctx) { if (rf & 1) {
|
|
967
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars: 18, consts: [[3, "preload", "src", "muted", "poster", "controls", "loop", "autoplay", "tabindex"], ["type", "video/mp4", 3, "src", 4, "ngIf"], ["type", "video/webm", 3, "src", 4, "ngIf"], ["type", "video/ogg", 3, "src", 4, "ngIf"], ["type", "video/mp4", 3, "src"], ["type", "video/webm", 3, "src"], ["type", "video/ogg", 3, "src"]], template: function VideoComponent_Template(rf, ctx) { if (rf & 1) {
|
|
968
968
|
i0.ɵɵelementStart(0, "video", 0);
|
|
969
969
|
i0.ɵɵpipe(1, "trustAs");
|
|
970
970
|
i0.ɵɵpipe(2, "image");
|
|
971
|
-
i0.ɵɵtemplate(3,
|
|
971
|
+
i0.ɵɵtemplate(3, VideoComponent_source_3_Template, 2, 4, "source", 1)(4, VideoComponent_source_4_Template, 2, 4, "source", 2)(5, VideoComponent_source_5_Template, 2, 4, "source", 3);
|
|
972
972
|
i0.ɵɵtext(6);
|
|
973
973
|
i0.ɵɵelementEnd();
|
|
974
974
|
} if (rf & 2) {
|
|
975
975
|
i0.ɵɵproperty("preload", ctx.videopreload)("src", i0.ɵɵpipeBind2(1, 13, ctx.mp4format, "resource"), i0.ɵɵsanitizeUrl)("muted", ctx.muted)("poster", i0.ɵɵpipeBind1(2, 16, ctx.videoposter), i0.ɵɵsanitizeUrl)("controls", ctx.controls)("loop", ctx.loop)("autoplay", ctx.autoplay)("tabindex", ctx.tabindex);
|
|
976
976
|
i0.ɵɵattribute("aria-label", ctx.arialabel || "video");
|
|
977
977
|
i0.ɵɵadvance(3);
|
|
978
|
-
i0.ɵɵ
|
|
978
|
+
i0.ɵɵproperty("ngIf", ctx.mp4format);
|
|
979
979
|
i0.ɵɵadvance();
|
|
980
|
-
i0.ɵɵ
|
|
980
|
+
i0.ɵɵproperty("ngIf", ctx.webmformat);
|
|
981
981
|
i0.ɵɵadvance();
|
|
982
|
-
i0.ɵɵ
|
|
982
|
+
i0.ɵɵproperty("ngIf", ctx.oggformat);
|
|
983
983
|
i0.ɵɵadvance();
|
|
984
984
|
i0.ɵɵtextInterpolate1(" ", ctx.videosupportmessage, "\n");
|
|
985
|
-
} }, dependencies: [i1$1.TrustAsPipe, i1$1.ImagePipe], encapsulation: 2 }); }
|
|
985
|
+
} }, dependencies: [i2.NgIf, i1$1.TrustAsPipe, i1$1.ImagePipe], encapsulation: 2 }); }
|
|
986
986
|
}
|
|
987
987
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VideoComponent, [{
|
|
988
988
|
type: Component,
|
|
989
989
|
args: [{ selector: '[wmVideo]', providers: [
|
|
990
990
|
provideAsWidgetRef(VideoComponent)
|
|
991
|
-
], template: "<video [attr.aria-label]=\"arialabel || 'video'\" [preload]=\"videopreload\"\n
|
|
991
|
+
], template: "<video [attr.aria-label]=\"arialabel || 'video'\" [preload]=\"videopreload\"\n [src]=\"mp4format | trustAs: 'resource'\"\n [muted]=\"muted\"\n [poster]=\"videoposter | image\"\n [controls]=\"controls\"\n [loop]=\"loop\"\n [autoplay]=\"autoplay\" [tabindex]=\"tabindex\">\n <source type=\"video/mp4\" [src]=\"mp4format | trustAs: 'resource'\" *ngIf=\"mp4format\">\n <source type=\"video/webm\" [src]=\"webmformat | trustAs: 'resource'\" *ngIf=\"webmformat\">\n <source type=\"video/ogg\" [src]=\"oggformat | trustAs: 'resource'\" *ngIf=\"oggformat\">\n {{videosupportmessage}}\n</video>\n" }]
|
|
992
992
|
}], () => [{ type: i0.Injector }, { type: i1$1.TrustAsPipe }, { type: undefined, decorators: [{
|
|
993
993
|
type: Inject,
|
|
994
994
|
args: ['EXPLICIT_CONTEXT']
|