@wavemaker/app-ng-runtime 12.0.0-next.45191 → 12.0.0-next.45197
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.
- app-ng-runtime/build-task/bundles/index.umd.js +7 -7
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion-pane/accordion-pane.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/containers/wizard/wizard.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/chips/chips.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +2 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +7 -7
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +0 -5
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +1 -6
- app-ng-runtime/components/base/fesm2022/index.mjs +0 -5
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +18 -7
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +13 -5
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +7 -4
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +18 -7
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +7 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -4
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +7 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/search/bundles/index.umd.js +7 -2
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +8 -3
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +7 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +3 -2
- app-ng-runtime/components/chart/bundles/index.umd.js +2 -1
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +3 -2
- app-ng-runtime/components/chart/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +15 -9
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +13 -10
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +4 -1
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +6 -6
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +7 -7
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +20 -12
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +10 -1
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +13 -13
- app-ng-runtime/components/data/list/fesm2022/index.mjs +21 -13
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +24 -7
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +25 -8
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +24 -7
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +21 -5
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +3 -3
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +20 -4
- app-ng-runtime/components/input/default/fesm2022/index.mjs +21 -5
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +3 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +22 -14
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +13 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +4 -4
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -4
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +19 -11
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +80 -64
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +80 -65
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +3 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +81 -65
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +7 -2
- app-ng-runtime/components/input/rating/bundles/index.umd.js +2 -2
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +3 -3
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +6 -6
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +7 -7
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +10 -3
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +11 -4
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +10 -3
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -2
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -3
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +9 -5
- app-ng-runtime/variables/bundles/index.umd.js +34 -16
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +35 -17
- app-ng-runtime/variables/fesm2022/index.mjs +34 -16
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/manager/variable/web-socket-variable.manager.d.ts +0 -4
@@ -12,7 +12,9 @@ export declare class AudioComponent extends StylableComponent {
|
|
12
12
|
autoplay: boolean;
|
13
13
|
hint: string;
|
14
14
|
arialabel: string;
|
15
|
+
tabindex: string;
|
15
16
|
constructor(inj: Injector, explicitContext: any);
|
17
|
+
onPropertyChange(key: any, nv: any, ov: any): void;
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioComponent, [null, { optional: true; }]>;
|
17
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AudioComponent, "[wmAudio]", never, {}, {}, never, never, false, never>;
|
18
20
|
}
|
@@ -271,10 +271,18 @@
|
|
271
271
|
super(inj, WIDGET_CONFIG$7, explicitContext);
|
272
272
|
i1$1.styler(this.nativeElement, this);
|
273
273
|
}
|
274
|
+
onPropertyChange(key, nv, ov) {
|
275
|
+
if (key === 'tabindex') {
|
276
|
+
return;
|
277
|
+
}
|
278
|
+
else {
|
279
|
+
super.onPropertyChange(key, nv, ov);
|
280
|
+
}
|
281
|
+
}
|
274
282
|
static { this.ɵfac = function AudioComponent_Factory(t) { return new (t || AudioComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
275
283
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AudioComponent, selectors: [["", "wmAudio", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
276
284
|
i1$1.provideAsWidgetRef(AudioComponent)
|
277
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$4, decls: 5, vars:
|
285
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$4, decls: 5, vars: 17, consts: [["name", "wmAudio", 3, "autoplay", "controls", "loop", "muted", "preload", "src", "tabindex"], ["type", "audio/mp3", 3, "src"]], template: function AudioComponent_Template(rf, ctx) { if (rf & 1) {
|
278
286
|
i0__namespace.ɵɵelementStart(0, "audio", 0);
|
279
287
|
i0__namespace.ɵɵpipe(1, "trustAs");
|
280
288
|
i0__namespace.ɵɵelement(2, "source", 1);
|
@@ -282,10 +290,10 @@
|
|
282
290
|
i0__namespace.ɵɵtext(4);
|
283
291
|
i0__namespace.ɵɵelementEnd();
|
284
292
|
} if (rf & 2) {
|
285
|
-
i0__namespace.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0__namespace.ɵɵpipeBind2(1,
|
293
|
+
i0__namespace.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0__namespace.ɵɵpipeBind2(1, 11, ctx.mp3format, "resource"), i0__namespace.ɵɵsanitizeUrl)("tabindex", ctx.tabindex);
|
286
294
|
i0__namespace.ɵɵattribute("aria-label", ctx.arialabel || "Audio")("hint", ctx.hint);
|
287
295
|
i0__namespace.ɵɵadvance(2);
|
288
|
-
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind2(3,
|
296
|
+
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind2(3, 14, ctx.mp3format, "resource"), i0__namespace.ɵɵsanitizeUrl);
|
289
297
|
i0__namespace.ɵɵadvance(2);
|
290
298
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.audiosupportmessage, "\n");
|
291
299
|
} }, dependencies: [i1$1__namespace.TrustAsPipe], encapsulation: 2 }); }
|
@@ -294,7 +302,7 @@
|
|
294
302
|
type: i0.Component,
|
295
303
|
args: [{ selector: '[wmAudio]', providers: [
|
296
304
|
i1$1.provideAsWidgetRef(AudioComponent)
|
297
|
-
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\"
|
305
|
+
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\" [tabindex]=\"tabindex\">\n <source type=\"audio/mp3\" [src]=\"mp3format | trustAs: 'resource'\">\n {{audiosupportmessage}}\n</audio>\n" }]
|
298
306
|
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
299
307
|
type: i0.Inject,
|
300
308
|
args: ['EXPLICIT_CONTEXT']
|
@@ -969,12 +977,15 @@
|
|
969
977
|
else if (key === 'oggformat') {
|
970
978
|
this.oggformat = i1.transformFileURI(nv);
|
971
979
|
}
|
980
|
+
else if (key === 'tabindex') {
|
981
|
+
return;
|
982
|
+
}
|
972
983
|
super.onPropertyChange(key, nv, ov);
|
973
984
|
}
|
974
985
|
static { this.ɵfac = function VideoComponent_Factory(t) { return new (t || VideoComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.TrustAsPipe), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
975
986
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: VideoComponent, selectors: [["", "wmVideo", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
976
987
|
i1$1.provideAsWidgetRef(VideoComponent)
|
977
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars:
|
988
|
+
]), i0__namespace.ɵɵ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) {
|
978
989
|
i0__namespace.ɵɵelementStart(0, "video", 0);
|
979
990
|
i0__namespace.ɵɵpipe(1, "trustAs");
|
980
991
|
i0__namespace.ɵɵpipe(2, "image");
|
@@ -982,7 +993,7 @@
|
|
982
993
|
i0__namespace.ɵɵtext(6);
|
983
994
|
i0__namespace.ɵɵelementEnd();
|
984
995
|
} if (rf & 2) {
|
985
|
-
i0__namespace.ɵɵproperty("preload", ctx.videopreload)("src", i0__namespace.ɵɵpipeBind2(1,
|
996
|
+
i0__namespace.ɵɵproperty("preload", ctx.videopreload)("src", i0__namespace.ɵɵpipeBind2(1, 13, ctx.mp4format, "resource"), i0__namespace.ɵɵsanitizeUrl)("muted", ctx.muted)("poster", i0__namespace.ɵɵpipeBind1(2, 16, ctx.videoposter), i0__namespace.ɵɵsanitizeUrl)("controls", ctx.controls)("loop", ctx.loop)("autoplay", ctx.autoplay)("tabindex", ctx.tabindex);
|
986
997
|
i0__namespace.ɵɵattribute("aria-label", ctx.arialabel || "video");
|
987
998
|
i0__namespace.ɵɵadvance(3);
|
988
999
|
i0__namespace.ɵɵproperty("ngIf", ctx.mp4format);
|
@@ -998,7 +1009,7 @@
|
|
998
1009
|
type: i0.Component,
|
999
1010
|
args: [{ selector: '[wmVideo]', providers: [
|
1000
1011
|
i1$1.provideAsWidgetRef(VideoComponent)
|
1001
|
-
], 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\">\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" }]
|
1012
|
+
], 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" }]
|
1002
1013
|
}], () => [{ type: i0__namespace.Injector }, { type: i1$1__namespace.TrustAsPipe }, { type: undefined, decorators: [{
|
1003
1014
|
type: i0.Inject,
|
1004
1015
|
args: ['EXPLICIT_CONTEXT']
|
@@ -16,10 +16,18 @@ export class AudioComponent extends StylableComponent {
|
|
16
16
|
super(inj, WIDGET_CONFIG, explicitContext);
|
17
17
|
styler(this.nativeElement, this);
|
18
18
|
}
|
19
|
+
onPropertyChange(key, nv, ov) {
|
20
|
+
if (key === 'tabindex') {
|
21
|
+
return;
|
22
|
+
}
|
23
|
+
else {
|
24
|
+
super.onPropertyChange(key, nv, ov);
|
25
|
+
}
|
26
|
+
}
|
19
27
|
static { this.ɵfac = function AudioComponent_Factory(t) { return new (t || AudioComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
20
28
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AudioComponent, selectors: [["", "wmAudio", ""]], features: [i0.ɵɵProvidersFeature([
|
21
29
|
provideAsWidgetRef(AudioComponent)
|
22
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars:
|
30
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 17, consts: [["name", "wmAudio", 3, "autoplay", "controls", "loop", "muted", "preload", "src", "tabindex"], ["type", "audio/mp3", 3, "src"]], template: function AudioComponent_Template(rf, ctx) { if (rf & 1) {
|
23
31
|
i0.ɵɵelementStart(0, "audio", 0);
|
24
32
|
i0.ɵɵpipe(1, "trustAs");
|
25
33
|
i0.ɵɵelement(2, "source", 1);
|
@@ -27,10 +35,10 @@ export class AudioComponent extends StylableComponent {
|
|
27
35
|
i0.ɵɵtext(4);
|
28
36
|
i0.ɵɵelementEnd();
|
29
37
|
} if (rf & 2) {
|
30
|
-
i0.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0.ɵɵpipeBind2(1,
|
38
|
+
i0.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0.ɵɵpipeBind2(1, 11, ctx.mp3format, "resource"), i0.ɵɵsanitizeUrl)("tabindex", ctx.tabindex);
|
31
39
|
i0.ɵɵattribute("aria-label", ctx.arialabel || "Audio")("hint", ctx.hint);
|
32
40
|
i0.ɵɵadvance(2);
|
33
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(3,
|
41
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(3, 14, ctx.mp3format, "resource"), i0.ɵɵsanitizeUrl);
|
34
42
|
i0.ɵɵadvance(2);
|
35
43
|
i0.ɵɵtextInterpolate1(" ", ctx.audiosupportmessage, "\n");
|
36
44
|
} }, dependencies: [i1.TrustAsPipe], encapsulation: 2 }); }
|
@@ -39,7 +47,7 @@ export class AudioComponent extends StylableComponent {
|
|
39
47
|
type: Component,
|
40
48
|
args: [{ selector: '[wmAudio]', providers: [
|
41
49
|
provideAsWidgetRef(AudioComponent)
|
42
|
-
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\"
|
50
|
+
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\" [tabindex]=\"tabindex\">\n <source type=\"audio/mp3\" [src]=\"mp3format | trustAs: 'resource'\">\n {{audiosupportmessage}}\n</audio>\n" }]
|
43
51
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
44
52
|
type: Inject,
|
45
53
|
args: ['EXPLICIT_CONTEXT']
|
@@ -47,4 +55,4 @@ export class AudioComponent extends StylableComponent {
|
|
47
55
|
type: Optional
|
48
56
|
}] }], null); })();
|
49
57
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AudioComponent, { className: "AudioComponent", filePath: "audio/audio.component.ts", lineNumber: 20 }); })();
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2Jhc2ljL2RlZmF1bHQvc3JjL2F1ZGlvL2F1ZGlvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9hdWRpby9hdWRpby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXBFLE9BQU8sRUFBQyxZQUFZLEVBQWlCLGtCQUFrQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQy9HLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7QUFFNUMsTUFBTSxXQUFXLEdBQUcsV0FBVyxDQUFDO0FBQ2hDLE1BQU0sYUFBYSxHQUFrQjtJQUNqQyxVQUFVLEVBQUUsVUFBVTtJQUN0QixTQUFTLEVBQUUsV0FBVztJQUN0QixXQUFXLEVBQUUsWUFBWSxDQUFDLFlBQVk7Q0FDekMsQ0FBQztBQVNGLE1BQU0sT0FBTyxjQUFlLFNBQVEsaUJBQWl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InRhYmluZGV4XCI+XG4gICAgPHNvdXJjZSB0eXBlPVwiYXVkaW8vbXAzXCIgW3NyY109XCJtcDNmb3JtYXQgfCB0cnVzdEFzOiAncmVzb3VyY2UnXCI+XG4gICAge3thdWRpb3N1cHBvcnRtZXNzYWdlfX1cbjwvYXVkaW8+XG4iXX0=
|
@@ -69,12 +69,15 @@ export class VideoComponent extends StylableComponent {
|
|
69
69
|
else if (key === 'oggformat') {
|
70
70
|
this.oggformat = transformFileURI(nv);
|
71
71
|
}
|
72
|
+
else if (key === 'tabindex') {
|
73
|
+
return;
|
74
|
+
}
|
72
75
|
super.onPropertyChange(key, nv, ov);
|
73
76
|
}
|
74
77
|
static { this.ɵfac = function VideoComponent_Factory(t) { return new (t || VideoComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.TrustAsPipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
75
78
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VideoComponent, selectors: [["", "wmVideo", ""]], features: [i0.ɵɵProvidersFeature([
|
76
79
|
provideAsWidgetRef(VideoComponent)
|
77
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars:
|
80
|
+
]), 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) {
|
78
81
|
i0.ɵɵelementStart(0, "video", 0);
|
79
82
|
i0.ɵɵpipe(1, "trustAs");
|
80
83
|
i0.ɵɵpipe(2, "image");
|
@@ -82,7 +85,7 @@ export class VideoComponent extends StylableComponent {
|
|
82
85
|
i0.ɵɵtext(6);
|
83
86
|
i0.ɵɵelementEnd();
|
84
87
|
} if (rf & 2) {
|
85
|
-
i0.ɵɵproperty("preload", ctx.videopreload)("src", i0.ɵɵpipeBind2(1,
|
88
|
+
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);
|
86
89
|
i0.ɵɵattribute("aria-label", ctx.arialabel || "video");
|
87
90
|
i0.ɵɵadvance(3);
|
88
91
|
i0.ɵɵproperty("ngIf", ctx.mp4format);
|
@@ -98,7 +101,7 @@ export class VideoComponent extends StylableComponent {
|
|
98
101
|
type: Component,
|
99
102
|
args: [{ selector: '[wmVideo]', providers: [
|
100
103
|
provideAsWidgetRef(VideoComponent)
|
101
|
-
], 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\">\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" }]
|
104
|
+
], 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" }]
|
102
105
|
}], () => [{ type: i0.Injector }, { type: i1.TrustAsPipe }, { type: undefined, decorators: [{
|
103
106
|
type: Inject,
|
104
107
|
args: ['EXPLICIT_CONTEXT']
|
@@ -106,4 +109,4 @@ export class VideoComponent extends StylableComponent {
|
|
106
109
|
type: Optional
|
107
110
|
}] }], null); })();
|
108
111
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(VideoComponent, { className: "VideoComponent", filePath: "video/video.component.ts", lineNumber: 22 }); })();
|
109
|
-
//# sourceMappingURL=data:application/json;base64,
|
112
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2Jhc2ljL2RlZmF1bHQvc3JjL3ZpZGVvL3ZpZGVvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy92aWRlby92aWRlby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUVyRixPQUFPLEVBQUMsVUFBVSxFQUFFLGFBQWEsRUFBRSxVQUFVLEVBQUUsZ0JBQWdCL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HJlbG9hZFwiXG4gICAgICAgW3NyY109XCJtcDRmb3JtYXQgfCB0cnVzdEFzOiAncmVzb3VyY2UnXCJcbiAgICAgICBbbXV0ZWRdPVwibXV0ZWRcIlxuICAgICAgIFtwb3N0ZXJdPVwidmlkZW9wb3N0ZXIgfCBpbWFnZVwiXG4gICAgICAgW2NvbnRyb2xzXT1cImNvbnRyb2xzXCJcbiAgICAgICBbbG9vcF09XCJsb29wXCJcbiAgICAgICBbYXV0b3BsYXldPVwiYXV0b3BsYXlcIiBbdGFiaW5kZXhdPVwidGFiaW5kZXhcIj5cbiAgICA8c291cmNlIHR5cGU9XCJ2aWRlby9tcDRcIiBbc3JjXT1cIm1wNGZvcm1hdCB8IHRydXN0QXM6ICdyZXNvdXJjZSdcIiAqbmdJZj1cIm1wNGZvcm1hdFwiPlxuICAgIDxzb3VyY2UgdHlwZT1cInZpZGVvL3dlYm1cIiBbc3JjXT1cIndlYm1mb3JtYXQgfCB0cnVzdEFzOiAncmVzb3VyY2UnXCIgKm5nSWY9XCJ3ZWJtZm9ybWF0XCI+XG4gICAgPHNvdXJjZSB0eXBlPVwidmlkZW8vb2dnXCIgW3NyY109XCJvZ2dmb3JtYXQgfCB0cnVzdEFzOiAncmVzb3VyY2UnXCIgKm5nSWY9XCJvZ2dmb3JtYXRcIj5cbiAgICB7e3ZpZGVvc3VwcG9ydG1lc3NhZ2V9fVxuPC92aWRlbz5cbiJdfQ==
|
@@ -253,10 +253,18 @@ class AudioComponent extends StylableComponent {
|
|
253
253
|
super(inj, WIDGET_CONFIG$7, explicitContext);
|
254
254
|
styler(this.nativeElement, this);
|
255
255
|
}
|
256
|
+
onPropertyChange(key, nv, ov) {
|
257
|
+
if (key === 'tabindex') {
|
258
|
+
return;
|
259
|
+
}
|
260
|
+
else {
|
261
|
+
super.onPropertyChange(key, nv, ov);
|
262
|
+
}
|
263
|
+
}
|
256
264
|
static { this.ɵfac = function AudioComponent_Factory(t) { return new (t || AudioComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
257
265
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AudioComponent, selectors: [["", "wmAudio", ""]], features: [i0.ɵɵProvidersFeature([
|
258
266
|
provideAsWidgetRef(AudioComponent)
|
259
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$4, decls: 5, vars:
|
267
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$4, decls: 5, vars: 17, consts: [["name", "wmAudio", 3, "autoplay", "controls", "loop", "muted", "preload", "src", "tabindex"], ["type", "audio/mp3", 3, "src"]], template: function AudioComponent_Template(rf, ctx) { if (rf & 1) {
|
260
268
|
i0.ɵɵelementStart(0, "audio", 0);
|
261
269
|
i0.ɵɵpipe(1, "trustAs");
|
262
270
|
i0.ɵɵelement(2, "source", 1);
|
@@ -264,10 +272,10 @@ class AudioComponent extends StylableComponent {
|
|
264
272
|
i0.ɵɵtext(4);
|
265
273
|
i0.ɵɵelementEnd();
|
266
274
|
} if (rf & 2) {
|
267
|
-
i0.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0.ɵɵpipeBind2(1,
|
275
|
+
i0.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0.ɵɵpipeBind2(1, 11, ctx.mp3format, "resource"), i0.ɵɵsanitizeUrl)("tabindex", ctx.tabindex);
|
268
276
|
i0.ɵɵattribute("aria-label", ctx.arialabel || "Audio")("hint", ctx.hint);
|
269
277
|
i0.ɵɵadvance(2);
|
270
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(3,
|
278
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(3, 14, ctx.mp3format, "resource"), i0.ɵɵsanitizeUrl);
|
271
279
|
i0.ɵɵadvance(2);
|
272
280
|
i0.ɵɵtextInterpolate1(" ", ctx.audiosupportmessage, "\n");
|
273
281
|
} }, dependencies: [i1$1.TrustAsPipe], encapsulation: 2 }); }
|
@@ -276,7 +284,7 @@ class AudioComponent extends StylableComponent {
|
|
276
284
|
type: Component,
|
277
285
|
args: [{ selector: '[wmAudio]', providers: [
|
278
286
|
provideAsWidgetRef(AudioComponent)
|
279
|
-
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\"
|
287
|
+
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\" [tabindex]=\"tabindex\">\n <source type=\"audio/mp3\" [src]=\"mp3format | trustAs: 'resource'\">\n {{audiosupportmessage}}\n</audio>\n" }]
|
280
288
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
281
289
|
type: Inject,
|
282
290
|
args: ['EXPLICIT_CONTEXT']
|
@@ -951,12 +959,15 @@ class VideoComponent extends StylableComponent {
|
|
951
959
|
else if (key === 'oggformat') {
|
952
960
|
this.oggformat = transformFileURI(nv);
|
953
961
|
}
|
962
|
+
else if (key === 'tabindex') {
|
963
|
+
return;
|
964
|
+
}
|
954
965
|
super.onPropertyChange(key, nv, ov);
|
955
966
|
}
|
956
967
|
static { this.ɵfac = function VideoComponent_Factory(t) { return new (t || VideoComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.TrustAsPipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
957
968
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VideoComponent, selectors: [["", "wmVideo", ""]], features: [i0.ɵɵProvidersFeature([
|
958
969
|
provideAsWidgetRef(VideoComponent)
|
959
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars:
|
970
|
+
]), 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) {
|
960
971
|
i0.ɵɵelementStart(0, "video", 0);
|
961
972
|
i0.ɵɵpipe(1, "trustAs");
|
962
973
|
i0.ɵɵpipe(2, "image");
|
@@ -964,7 +975,7 @@ class VideoComponent extends StylableComponent {
|
|
964
975
|
i0.ɵɵtext(6);
|
965
976
|
i0.ɵɵelementEnd();
|
966
977
|
} if (rf & 2) {
|
967
|
-
i0.ɵɵproperty("preload", ctx.videopreload)("src", i0.ɵɵpipeBind2(1,
|
978
|
+
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);
|
968
979
|
i0.ɵɵattribute("aria-label", ctx.arialabel || "video");
|
969
980
|
i0.ɵɵadvance(3);
|
970
981
|
i0.ɵɵproperty("ngIf", ctx.mp4format);
|
@@ -980,7 +991,7 @@ class VideoComponent extends StylableComponent {
|
|
980
991
|
type: Component,
|
981
992
|
args: [{ selector: '[wmVideo]', providers: [
|
982
993
|
provideAsWidgetRef(VideoComponent)
|
983
|
-
], 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\">\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" }]
|
994
|
+
], 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" }]
|
984
995
|
}], () => [{ type: i0.Injector }, { type: i1$1.TrustAsPipe }, { type: undefined, decorators: [{
|
985
996
|
type: Inject,
|
986
997
|
args: ['EXPLICIT_CONTEXT']
|