@wavemaker/app-ng-runtime 11.10.2-rc.203 → 11.10.3-next.25128
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/build-task/bundles/index.umd.js +5 -3
- package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
- package/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
- package/build-task/fesm2022/index.mjs +5 -3
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/basic/default/bundles/index.umd.js +68 -71
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
- package/components/basic/default/esm2022/icon/icon.component.mjs +12 -13
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -10
- package/components/basic/default/esm2022/picture/picture.directive.mjs +2 -5
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
- package/components/basic/default/esm2022/video/video.component.mjs +14 -15
- package/components/basic/default/fesm2022/index.mjs +68 -71
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/bundles/index.umd.js +16 -17
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +7 -8
- package/components/basic/progress/fesm2022/index.mjs +8 -9
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +11 -12
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +8 -9
- package/components/basic/rich-text-editor/fesm2022/index.mjs +7 -8
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +63 -67
- package/components/basic/search/esm2022/search.component.mjs +63 -67
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +63 -67
- 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 +91 -96
- package/components/data/form/esm2022/form.component.mjs +92 -97
- package/components/data/form/fesm2022/index.mjs +91 -96
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +171 -173
- package/components/data/list/esm2022/list.component.mjs +171 -173
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +171 -173
- 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 +69 -39
- package/components/data/table/esm2022/table-column/table-column.directive.mjs +2 -1
- package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -1
- package/components/data/table/esm2022/table-filter.directive.mjs +29 -2
- package/components/data/table/esm2022/table.component.mjs +40 -39
- package/components/data/table/esm2022/table.props.mjs +2 -1
- package/components/data/table/fesm2022/index.mjs +72 -41
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/table-column/table-column.directive.d.ts +1 -0
- package/components/data/table/table-filter.directive.d.ts +1 -0
- package/components/dialogs/default/bundles/index.umd.js +66 -95
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +67 -96
- package/components/dialogs/default/fesm2022/index.mjs +66 -95
- 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 +24 -25
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -16
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +14 -15
- 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 +201 -209
- package/components/input/default/esm2022/button/button.component.mjs +18 -18
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +68 -69
- package/components/input/default/esm2022/radioset/radioset.component.mjs +68 -69
- package/components/input/default/esm2022/select/select.component.mjs +21 -27
- 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 +201 -209
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +171 -164
- package/components/input/epoch/esm2022/date/date.component.mjs +14 -15
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +64 -59
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +18 -19
- package/components/input/epoch/esm2022/picker/picker.component.mjs +26 -25
- package/components/input/epoch/esm2022/time/time.component.mjs +17 -18
- package/components/input/epoch/fesm2022/index.mjs +124 -117
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +111 -114
- package/components/input/file-upload/esm2022/file-upload.component.mjs +112 -115
- package/components/input/file-upload/fesm2022/index.mjs +111 -114
- 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 +39 -40
- package/components/input/slider/esm2022/slider.component.mjs +10 -11
- package/components/input/slider/fesm2022/index.mjs +9 -10
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +16 -15
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +17 -16
- package/components/navigation/breadcrumb/fesm2022/index.mjs +16 -15
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +82 -74
- package/components/navigation/menu/esm2022/menu-adapator.component.mjs +14 -4
- 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 +22 -26
- package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +26 -24
- package/components/navigation/menu/fesm2022/index.mjs +82 -74
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/menu-adapator.component.d.ts +1 -0
- 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 +102 -111
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +39 -40
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +35 -44
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +27 -28
- package/mobile/components/basic/default/fesm2022/index.mjs +98 -107
- 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 +8 -9
- 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 +219 -215
- package/runtime/base/esm2022/components/app-component/app.component.mjs +38 -41
- package/runtime/base/esm2022/components/app-spinner.component.mjs +25 -21
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +18 -16
- package/runtime/base/fesm2022/index.mjs +99 -95
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/scripts/datatable/datatable.js +1 -0
|
@@ -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_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelement(0, "img", 0);
|
|
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_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵelement(0, "i", 5);
|
|
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_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
i0.ɵɵelementStart(0, "span", 2);
|
|
57
57
|
i0.ɵɵtext(1);
|
|
58
58
|
i0.ɵɵelementEnd();
|
|
59
59
|
} if (rf & 2) {
|
|
@@ -61,8 +61,8 @@ function AnchorComponent_span_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_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0.ɵɵelement(0, "span", 4);
|
|
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", 1, "anchor-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "class", "ngStyle"], [1, "sr-only"], [1, "anchor-caption", 3, "innerHTML"], [1, "badge", "pull-right", 3, "textContent"], ["aria-hidden", "true", 3, "ngStyle"]], template: function AnchorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
186
186
|
i0.ɵɵprojectionDef(_c1$1);
|
|
187
|
-
i0.ɵɵtemplate(0,
|
|
187
|
+
i0.ɵɵtemplate(0, AnchorComponent_Conditional_0_Template, 2, 8, "img", 0)(1, AnchorComponent_Conditional_1_Template, 1, 8, "i", 1)(2, AnchorComponent_Conditional_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_Conditional_5_Template, 1, 1, "span", 4);
|
|
191
191
|
} if (rf & 2) {
|
|
192
|
-
i0.ɵɵ
|
|
192
|
+
i0.ɵɵconditional(ctx.iconurl ? 0 : -1);
|
|
193
193
|
i0.ɵɵadvance();
|
|
194
|
-
i0.ɵɵ
|
|
194
|
+
i0.ɵɵconditional(ctx.iconclass ? 1 : -1);
|
|
195
195
|
i0.ɵɵadvance();
|
|
196
|
-
i0.ɵɵ
|
|
196
|
+
i0.ɵɵconditional(ctx.iconclass ? 2 : -1);
|
|
197
197
|
i0.ɵɵadvance();
|
|
198
198
|
i0.ɵɵproperty("innerHTML", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
199
199
|
i0.ɵɵadvance(2);
|
|
200
|
-
i0.ɵɵ
|
|
201
|
-
} }, dependencies: [i2.
|
|
200
|
+
i0.ɵɵconditional(ctx.badgevalue ? 5 : -1);
|
|
201
|
+
} }, dependencies: [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: "<img data-identifier=\"img\" alt=\"Image\" class=\"anchor-image-icon\" [src]=\"iconurl | image\"
|
|
207
|
+
], exportAs: 'wmAnchor', template: "@if (iconurl) {\n <img data-identifier=\"img\" alt=\"Image\" class=\"anchor-image-icon\" [src]=\"iconurl | image\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n}\n@if (iconclass) {\n <i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"></i>\n}\n@if (iconclass) {\n <span class=\"sr-only\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n}\n<span class=\"anchor-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n@if (badgevalue) {\n <span class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n}\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_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
396
|
+
i0.ɵɵelementStart(0, "span", 0);
|
|
397
397
|
i0.ɵɵtext(1);
|
|
398
398
|
i0.ɵɵelementEnd();
|
|
399
399
|
} if (rf & 2) {
|
|
@@ -401,8 +401,8 @@ function IconComponent_span_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_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
405
|
+
i0.ɵɵelement(0, "label", 1);
|
|
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: [[
|
|
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) {
|
|
428
428
|
i0.ɵɵelement(0, "i");
|
|
429
|
-
i0.ɵɵtemplate(1,
|
|
429
|
+
i0.ɵɵtemplate(1, IconComponent_Conditional_1_Template, 2, 1, "span", 0)(2, IconComponent_Conditional_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.ɵɵconditional(ctx.iconclass ? 1 : -1);
|
|
434
434
|
i0.ɵɵadvance();
|
|
435
|
-
i0.ɵɵ
|
|
436
|
-
} }, dependencies: [
|
|
435
|
+
i0.ɵɵconditional(ctx.caption ? 2 : -1);
|
|
436
|
+
} }, dependencies: [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@if (iconclass) {\n <span class=\"sr-only\">{{ arialabel || caption || appLocale.LABEL_ICON }}</span>\n}\n@if (caption) {\n <label [textContent]=\"caption\" aria-hidden=\"true\" class=\"app-label\"></label>\n}\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_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
473
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
474
|
+
i0.ɵɵelement(1, "p", 2);
|
|
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"], [
|
|
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) {
|
|
526
526
|
i0.ɵɵelement(0, "iframe", 0);
|
|
527
|
-
i0.ɵɵtemplate(1,
|
|
527
|
+
i0.ɵɵtemplate(1, IframeComponent_Conditional_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: [
|
|
532
|
+
i0.ɵɵconditional(ctx.showContentLoadError ? 1 : -1);
|
|
533
|
+
} }, dependencies: [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@if (showContentLoadError) {\n <div class=\"wm-content-info readonly-wrapper\">\n <p class=\"wm-message\" [title]=\"hintMsg\" [textContent]=\"errMsg\"></p>\n </div>\n}\n" }]
|
|
540
540
|
}], () => [{ type: i0.Injector }, { type: i1$1.TrustAsPipe }, { type: undefined, decorators: [{
|
|
541
541
|
type: Inject,
|
|
542
542
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -687,9 +687,6 @@ class PictureDirective extends StylableComponent {
|
|
|
687
687
|
else if (key === 'shape') {
|
|
688
688
|
switchClass(this.nativeElement, `img-${nv}`, `img-${ov}`);
|
|
689
689
|
}
|
|
690
|
-
else if (key === 'hint') {
|
|
691
|
-
setAttr(this.nativeElement, 'alt', nv);
|
|
692
|
-
}
|
|
693
690
|
else if (key === 'resizemode') {
|
|
694
691
|
setCSS(this.nativeElement, 'object-fit', nv);
|
|
695
692
|
}
|
|
@@ -755,39 +752,39 @@ const registerProps$1 = () => {
|
|
|
755
752
|
const _c0$1 = ["wmSpinner", ""];
|
|
756
753
|
const _c1 = (a0, a1, a2, a3) => ({ width: a0, height: a1, backgroundImage: a2, backgroundSize: a3 });
|
|
757
754
|
const _c2 = (a0, a1) => [a0, a1];
|
|
758
|
-
function
|
|
759
|
-
i0.ɵɵelement(0, "span",
|
|
755
|
+
function SpinnerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
756
|
+
i0.ɵɵelement(0, "span", 1);
|
|
760
757
|
} if (rf & 2) {
|
|
761
758
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
762
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));
|
|
763
760
|
} }
|
|
764
|
-
function
|
|
765
|
-
i0.ɵɵelement(0, "i",
|
|
761
|
+
function SpinnerComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
762
|
+
i0.ɵɵelement(0, "i", 5);
|
|
766
763
|
} if (rf & 2) {
|
|
767
764
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
768
765
|
i0.ɵɵstyleProp("fon-size", ctx_r0.iconsize);
|
|
769
766
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c2, ctx_r0.iconclass, ctx_r0.animation));
|
|
770
767
|
} }
|
|
771
|
-
function
|
|
772
|
-
i0.ɵɵelement(0, "span",
|
|
768
|
+
function SpinnerComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
769
|
+
i0.ɵɵelement(0, "span", 3);
|
|
773
770
|
} if (rf & 2) {
|
|
774
771
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
775
772
|
i0.ɵɵproperty("innerHTML", ctx_r0.caption, i0.ɵɵsanitizeHtml);
|
|
776
773
|
} }
|
|
777
|
-
function
|
|
778
|
-
i0.ɵɵelement(0, "p",
|
|
774
|
+
function SpinnerComponent_Conditional_4_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
775
|
+
i0.ɵɵelement(0, "p", 6);
|
|
779
776
|
} if (rf & 2) {
|
|
780
777
|
const value_r2 = ctx.$implicit;
|
|
781
778
|
i0.ɵɵproperty("textContent", value_r2);
|
|
782
779
|
} }
|
|
783
|
-
function
|
|
784
|
-
i0.ɵɵelementStart(0, "div",
|
|
785
|
-
i0.ɵɵ
|
|
780
|
+
function SpinnerComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
781
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
782
|
+
i0.ɵɵrepeaterCreate(1, SpinnerComponent_Conditional_4_For_2_Template, 1, 1, "p", 6, i0.ɵɵrepeaterTrackByIdentity);
|
|
786
783
|
i0.ɵɵelementEnd();
|
|
787
784
|
} if (rf & 2) {
|
|
788
785
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
789
786
|
i0.ɵɵadvance();
|
|
790
|
-
i0.ɵɵ
|
|
787
|
+
i0.ɵɵrepeater(ctx_r0.spinnerMessages);
|
|
791
788
|
} }
|
|
792
789
|
const DEFAULT_CLS$1 = 'app-spinner';
|
|
793
790
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-spinner', hostClass: DEFAULT_CLS$1 };
|
|
@@ -844,26 +841,26 @@ class SpinnerComponent extends StylableComponent {
|
|
|
844
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)); }; }
|
|
845
842
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SpinnerComponent, selectors: [["", "wmSpinner", ""]], exportAs: ["wmSpinner"], features: [i0.ɵɵProvidersFeature([
|
|
846
843
|
provideAsWidgetRef(SpinnerComponent)
|
|
847
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 5, vars: 4, consts: [[1, "spinner-message"], ["
|
|
844
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 5, vars: 4, consts: [[1, "spinner-message"], ["aria-hidden", "true", 1, "spinner-image", "animated", "infinite", 3, "ngClass", "ngStyle"], ["aria-hidden", "true", 1, "spinner-image", "animated", "infinite", 3, "ngClass", "fonSize"], [1, "spinner-text", 3, "innerHTML"], [1, "spinner-messages"], ["aria-hidden", "true", 1, "spinner-image", "animated", "infinite", 3, "ngClass"], [3, "textContent"]], template: function SpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
848
845
|
i0.ɵɵelementStart(0, "div", 0);
|
|
849
|
-
i0.ɵɵtemplate(1,
|
|
846
|
+
i0.ɵɵtemplate(1, SpinnerComponent_Conditional_1_Template, 1, 7, "span", 1)(2, SpinnerComponent_Conditional_2_Template, 1, 6, "i", 2)(3, SpinnerComponent_Conditional_3_Template, 1, 1, "span", 3)(4, SpinnerComponent_Conditional_4_Template, 3, 0, "div", 4);
|
|
850
847
|
i0.ɵɵelementEnd();
|
|
851
848
|
} if (rf & 2) {
|
|
852
849
|
i0.ɵɵadvance();
|
|
853
|
-
i0.ɵɵ
|
|
850
|
+
i0.ɵɵconditional(ctx.type === "image" ? 1 : -1);
|
|
854
851
|
i0.ɵɵadvance();
|
|
855
|
-
i0.ɵɵ
|
|
852
|
+
i0.ɵɵconditional(ctx.type === "icon" ? 2 : -1);
|
|
856
853
|
i0.ɵɵadvance();
|
|
857
|
-
i0.ɵɵ
|
|
854
|
+
i0.ɵɵconditional(ctx.showCaption ? 3 : -1);
|
|
858
855
|
i0.ɵɵadvance();
|
|
859
|
-
i0.ɵɵ
|
|
860
|
-
} }, dependencies: [i2.NgClass, i2.
|
|
856
|
+
i0.ɵɵconditional(!ctx.showCaption && ctx.spinnerMessages ? 4 : -1);
|
|
857
|
+
} }, dependencies: [i2.NgClass, i2.NgStyle, i1$1.TextContentDirective], encapsulation: 2 }); }
|
|
861
858
|
}
|
|
862
859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpinnerComponent, [{
|
|
863
860
|
type: Component,
|
|
864
861
|
args: [{ selector: '[wmSpinner]', providers: [
|
|
865
862
|
provideAsWidgetRef(SpinnerComponent)
|
|
866
|
-
], exportAs: 'wmSpinner', template: "<div class=\"spinner-message\">\n <span class=\"spinner-image animated infinite\" [ngClass]=\"animation\" aria-hidden=\"true\"\n
|
|
863
|
+
], exportAs: 'wmSpinner', template: "<div class=\"spinner-message\">\n @if (type === 'image') {\n <span class=\"spinner-image animated infinite\" [ngClass]=\"animation\" aria-hidden=\"true\"\n [ngStyle]=\"{width: imagewidth, height: imageheight, backgroundImage: 'url(' + picture + ')', backgroundSize: imagewidth}\"\n ></span>\n }\n @if (type === 'icon') {\n <i class=\"spinner-image animated infinite\" aria-hidden=\"true\" [ngClass]=\"[iconclass, animation]\" [style.fonSize]=\"iconsize\"></i>\n }\n @if (showCaption) {\n <span class=\"spinner-text\" [innerHTML]=\"caption\"></span>\n }\n @if (!showCaption && spinnerMessages) {\n <div class=\"spinner-messages\">\n @for (value of spinnerMessages; track value) {\n <p [textContent]=\"value\"></p>\n }\n </div>\n }\n</div>\n" }]
|
|
867
864
|
}], () => [{ type: i0.Injector }, { type: i1$1.ImagePipe }, { type: undefined, decorators: [{
|
|
868
865
|
type: Inject,
|
|
869
866
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -896,22 +893,22 @@ const registerProps = () => {
|
|
|
896
893
|
};
|
|
897
894
|
|
|
898
895
|
const _c0 = ["wmVideo", ""];
|
|
899
|
-
function
|
|
900
|
-
i0.ɵɵelement(0, "source",
|
|
896
|
+
function VideoComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
897
|
+
i0.ɵɵelement(0, "source", 1);
|
|
901
898
|
i0.ɵɵpipe(1, "trustAs");
|
|
902
899
|
} if (rf & 2) {
|
|
903
900
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
904
901
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(1, 1, ctx_r0.mp4format, "resource"), i0.ɵɵsanitizeUrl);
|
|
905
902
|
} }
|
|
906
|
-
function
|
|
907
|
-
i0.ɵɵelement(0, "source",
|
|
903
|
+
function VideoComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
904
|
+
i0.ɵɵelement(0, "source", 2);
|
|
908
905
|
i0.ɵɵpipe(1, "trustAs");
|
|
909
906
|
} if (rf & 2) {
|
|
910
907
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
911
908
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(1, 1, ctx_r0.webmformat, "resource"), i0.ɵɵsanitizeUrl);
|
|
912
909
|
} }
|
|
913
|
-
function
|
|
914
|
-
i0.ɵɵelement(0, "source",
|
|
910
|
+
function VideoComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
911
|
+
i0.ɵɵelement(0, "source", 3);
|
|
915
912
|
i0.ɵɵpipe(1, "trustAs");
|
|
916
913
|
} if (rf & 2) {
|
|
917
914
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -967,31 +964,31 @@ class VideoComponent extends StylableComponent {
|
|
|
967
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)); }; }
|
|
968
965
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VideoComponent, selectors: [["", "wmVideo", ""]], features: [i0.ɵɵProvidersFeature([
|
|
969
966
|
provideAsWidgetRef(VideoComponent)
|
|
970
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars: 18, consts: [[3, "preload", "src", "muted", "poster", "controls", "loop", "autoplay", "tabindex"], ["type", "video/mp4", 3, "src"
|
|
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) {
|
|
971
968
|
i0.ɵɵelementStart(0, "video", 0);
|
|
972
969
|
i0.ɵɵpipe(1, "trustAs");
|
|
973
970
|
i0.ɵɵpipe(2, "image");
|
|
974
|
-
i0.ɵɵtemplate(3,
|
|
971
|
+
i0.ɵɵtemplate(3, VideoComponent_Conditional_3_Template, 2, 4, "source", 1)(4, VideoComponent_Conditional_4_Template, 2, 4, "source", 2)(5, VideoComponent_Conditional_5_Template, 2, 4, "source", 3);
|
|
975
972
|
i0.ɵɵtext(6);
|
|
976
973
|
i0.ɵɵelementEnd();
|
|
977
974
|
} if (rf & 2) {
|
|
978
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);
|
|
979
976
|
i0.ɵɵattribute("aria-label", ctx.arialabel || "video");
|
|
980
977
|
i0.ɵɵadvance(3);
|
|
981
|
-
i0.ɵɵ
|
|
978
|
+
i0.ɵɵconditional(ctx.mp4format ? 3 : -1);
|
|
982
979
|
i0.ɵɵadvance();
|
|
983
|
-
i0.ɵɵ
|
|
980
|
+
i0.ɵɵconditional(ctx.webmformat ? 4 : -1);
|
|
984
981
|
i0.ɵɵadvance();
|
|
985
|
-
i0.ɵɵ
|
|
982
|
+
i0.ɵɵconditional(ctx.oggformat ? 5 : -1);
|
|
986
983
|
i0.ɵɵadvance();
|
|
987
984
|
i0.ɵɵtextInterpolate1(" ", ctx.videosupportmessage, "\n");
|
|
988
|
-
} }, dependencies: [
|
|
985
|
+
} }, dependencies: [i1$1.TrustAsPipe, i1$1.ImagePipe], encapsulation: 2 }); }
|
|
989
986
|
}
|
|
990
987
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VideoComponent, [{
|
|
991
988
|
type: Component,
|
|
992
989
|
args: [{ selector: '[wmVideo]', providers: [
|
|
993
990
|
provideAsWidgetRef(VideoComponent)
|
|
994
|
-
], 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 @if (mp4format) {\n <source type=\"video/mp4\" [src]=\"mp4format | trustAs: 'resource'\">\n }\n @if (webmformat) {\n <source type=\"video/webm\" [src]=\"webmformat | trustAs: 'resource'\">\n }\n @if (oggformat) {\n <source type=\"video/ogg\" [src]=\"oggformat | trustAs: 'resource'\">\n }\n {{videosupportmessage}}\n</video>\n" }]
|
|
995
992
|
}], () => [{ type: i0.Injector }, { type: i1$1.TrustAsPipe }, { type: undefined, decorators: [{
|
|
996
993
|
type: Inject,
|
|
997
994
|
args: ['EXPLICIT_CONTEXT']
|