pukaad-ui-lib 1.406.0 → 1.407.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/components/display/display-video.d.vue.ts +4 -4
- package/dist/runtime/components/display/display-video.vue +17 -1
- package/dist/runtime/components/display/display-video.vue.d.ts +4 -4
- package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
- package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +2 -2
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-combobox.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-combobox.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-localized-name.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-localized-name.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-suggest.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-suggest.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-textarea.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-textarea.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -81,16 +81,16 @@ declare const __VLS_base: import("vue").DefineComponent<DisplayVideoProps, {
|
|
|
81
81
|
toggle: () => void;
|
|
82
82
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
83
|
close: (payload: DisplayVideoAction) => any;
|
|
84
|
-
fullscreen: (payload: DisplayVideoAction) => any;
|
|
85
|
-
"play-click": (payload: DisplayVideoAction) => any;
|
|
86
84
|
prev: (payload: DisplayVideoAction) => any;
|
|
87
85
|
next: (payload: DisplayVideoAction) => any;
|
|
86
|
+
fullscreen: (payload: DisplayVideoAction) => any;
|
|
87
|
+
"play-click": (payload: DisplayVideoAction) => any;
|
|
88
88
|
}, string, import("vue").PublicProps, Readonly<DisplayVideoProps> & Readonly<{
|
|
89
89
|
onClose?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
90
|
-
onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
91
|
-
"onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
92
90
|
onPrev?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
93
91
|
onNext?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
92
|
+
onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
93
|
+
"onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
94
94
|
}>, {
|
|
95
95
|
src: string;
|
|
96
96
|
fullHeight: boolean;
|
|
@@ -231,7 +231,8 @@ onMounted(() => {
|
|
|
231
231
|
const el = videoRef.value;
|
|
232
232
|
if (!el) return;
|
|
233
233
|
applyStartTime();
|
|
234
|
-
|
|
234
|
+
paused.value = el.paused;
|
|
235
|
+
showPlayButton.value = el.paused && !props.autoplay;
|
|
235
236
|
});
|
|
236
237
|
onBeforeUnmount(clearHideTimer);
|
|
237
238
|
watch(() => [props.muted, props.volume, props.playbackRate], syncPlayback);
|
|
@@ -240,6 +241,7 @@ const actionPayload = () => ({
|
|
|
240
241
|
currentTime: videoRef.value?.currentTime ?? 0,
|
|
241
242
|
paused: paused.value
|
|
242
243
|
});
|
|
244
|
+
let userToggled = false;
|
|
243
245
|
const onPaused = (value) => {
|
|
244
246
|
paused.value = value;
|
|
245
247
|
clearHideTimer();
|
|
@@ -247,11 +249,24 @@ const onPaused = (value) => {
|
|
|
247
249
|
showPlayButton.value = true;
|
|
248
250
|
return;
|
|
249
251
|
}
|
|
252
|
+
if (!userToggled) {
|
|
253
|
+
showPlayButton.value = false;
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
userToggled = false;
|
|
250
257
|
showPlayButton.value = true;
|
|
251
258
|
hideTimer = setTimeout(() => {
|
|
252
259
|
showPlayButton.value = false;
|
|
253
260
|
}, props.playButtonHideDelay);
|
|
254
261
|
};
|
|
262
|
+
watch(
|
|
263
|
+
() => props.playButton,
|
|
264
|
+
(on) => {
|
|
265
|
+
if (!on) return;
|
|
266
|
+
clearHideTimer();
|
|
267
|
+
showPlayButton.value = !!videoRef.value?.paused;
|
|
268
|
+
}
|
|
269
|
+
);
|
|
255
270
|
const onSurfaceClick = () => {
|
|
256
271
|
if (!surfaceClickable.value) return;
|
|
257
272
|
onPlayClick();
|
|
@@ -259,6 +274,7 @@ const onSurfaceClick = () => {
|
|
|
259
274
|
const onPlayClick = () => {
|
|
260
275
|
const el = videoRef.value;
|
|
261
276
|
if (el) {
|
|
277
|
+
userToggled = true;
|
|
262
278
|
if (el.paused) el.play();
|
|
263
279
|
else el.pause();
|
|
264
280
|
}
|
|
@@ -81,16 +81,16 @@ declare const __VLS_base: import("vue").DefineComponent<DisplayVideoProps, {
|
|
|
81
81
|
toggle: () => void;
|
|
82
82
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
83
|
close: (payload: DisplayVideoAction) => any;
|
|
84
|
-
fullscreen: (payload: DisplayVideoAction) => any;
|
|
85
|
-
"play-click": (payload: DisplayVideoAction) => any;
|
|
86
84
|
prev: (payload: DisplayVideoAction) => any;
|
|
87
85
|
next: (payload: DisplayVideoAction) => any;
|
|
86
|
+
fullscreen: (payload: DisplayVideoAction) => any;
|
|
87
|
+
"play-click": (payload: DisplayVideoAction) => any;
|
|
88
88
|
}, string, import("vue").PublicProps, Readonly<DisplayVideoProps> & Readonly<{
|
|
89
89
|
onClose?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
90
|
-
onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
91
|
-
"onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
92
90
|
onPrev?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
93
91
|
onNext?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
92
|
+
onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
93
|
+
"onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
|
|
94
94
|
}>, {
|
|
95
95
|
src: string;
|
|
96
96
|
fullHeight: boolean;
|
|
@@ -65,14 +65,14 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
67
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
68
|
-
background: boolean;
|
|
69
|
-
modal: boolean;
|
|
70
68
|
responsive: boolean;
|
|
71
69
|
restore: boolean;
|
|
72
70
|
checkCrossOrigin: boolean;
|
|
73
71
|
checkOrientation: boolean;
|
|
72
|
+
modal: boolean;
|
|
74
73
|
guides: boolean;
|
|
75
74
|
highlight: boolean;
|
|
75
|
+
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -65,14 +65,14 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
67
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
68
|
-
background: boolean;
|
|
69
|
-
modal: boolean;
|
|
70
68
|
responsive: boolean;
|
|
71
69
|
restore: boolean;
|
|
72
70
|
checkCrossOrigin: boolean;
|
|
73
71
|
checkOrientation: boolean;
|
|
72
|
+
modal: boolean;
|
|
74
73
|
guides: boolean;
|
|
75
74
|
highlight: boolean;
|
|
75
|
+
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -69,10 +69,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
69
69
|
name: string;
|
|
70
70
|
required: boolean;
|
|
71
71
|
description: string;
|
|
72
|
-
options: AutocompleteOption[] | string[] | number[];
|
|
73
|
-
limit: number;
|
|
74
72
|
labelKey: string;
|
|
75
73
|
placeholder: string;
|
|
74
|
+
options: AutocompleteOption[] | string[] | number[];
|
|
75
|
+
limit: number;
|
|
76
76
|
disabledErrorMessage: boolean;
|
|
77
77
|
disabledBorder: boolean;
|
|
78
78
|
showCounter: boolean;
|
|
@@ -69,10 +69,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
69
69
|
name: string;
|
|
70
70
|
required: boolean;
|
|
71
71
|
description: string;
|
|
72
|
-
options: AutocompleteOption[] | string[] | number[];
|
|
73
|
-
limit: number;
|
|
74
72
|
labelKey: string;
|
|
75
73
|
placeholder: string;
|
|
74
|
+
options: AutocompleteOption[] | string[] | number[];
|
|
75
|
+
limit: number;
|
|
76
76
|
disabledErrorMessage: boolean;
|
|
77
77
|
disabledBorder: boolean;
|
|
78
78
|
showCounter: boolean;
|
|
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
label: string;
|
|
12
12
|
name: string;
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
|
+
placeholder: string;
|
|
14
15
|
options: InputSelectItem[];
|
|
15
16
|
limit: number;
|
|
16
|
-
placeholder: string;
|
|
17
17
|
showCounter: boolean;
|
|
18
18
|
addLabel: string;
|
|
19
19
|
removable: boolean;
|
|
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
label: string;
|
|
12
12
|
name: string;
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
|
+
placeholder: string;
|
|
14
15
|
options: InputSelectItem[];
|
|
15
16
|
limit: number;
|
|
16
|
-
placeholder: string;
|
|
17
17
|
showCounter: boolean;
|
|
18
18
|
addLabel: string;
|
|
19
19
|
removable: boolean;
|
|
@@ -20,9 +20,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
20
20
|
name: string;
|
|
21
21
|
required: boolean;
|
|
22
22
|
description: string;
|
|
23
|
-
limit: number;
|
|
24
23
|
labelKey: string;
|
|
25
24
|
placeholder: string;
|
|
25
|
+
limit: number;
|
|
26
26
|
disabledErrorMessage: boolean;
|
|
27
27
|
disabledBorder: boolean;
|
|
28
28
|
showCounter: boolean;
|
|
@@ -20,9 +20,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
20
20
|
name: string;
|
|
21
21
|
required: boolean;
|
|
22
22
|
description: string;
|
|
23
|
-
limit: number;
|
|
24
23
|
labelKey: string;
|
|
25
24
|
placeholder: string;
|
|
25
|
+
limit: number;
|
|
26
26
|
disabledErrorMessage: boolean;
|
|
27
27
|
disabledBorder: boolean;
|
|
28
28
|
showCounter: boolean;
|
|
@@ -25,9 +25,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
25
25
|
"onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
name: string;
|
|
28
|
+
placeholder: string;
|
|
28
29
|
state: "user" | "admin";
|
|
29
30
|
limit: number;
|
|
30
|
-
placeholder: string;
|
|
31
31
|
ignore: string[];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -25,9 +25,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
25
25
|
"onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
name: string;
|
|
28
|
+
placeholder: string;
|
|
28
29
|
state: "user" | "admin";
|
|
29
30
|
limit: number;
|
|
30
|
-
placeholder: string;
|
|
31
31
|
ignore: string[];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
46
46
|
resize: "none" | "both" | "horizontal" | "vertical";
|
|
47
47
|
fullHeight: boolean;
|
|
48
48
|
fullWidth: boolean;
|
|
49
|
-
limit: number;
|
|
50
49
|
rows: number;
|
|
50
|
+
limit: number;
|
|
51
51
|
disabledErrorMessage: boolean;
|
|
52
52
|
disabledBorder: boolean;
|
|
53
53
|
showCounter: boolean;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
46
46
|
resize: "none" | "both" | "horizontal" | "vertical";
|
|
47
47
|
fullHeight: boolean;
|
|
48
48
|
fullWidth: boolean;
|
|
49
|
-
limit: number;
|
|
50
49
|
rows: number;
|
|
50
|
+
limit: number;
|
|
51
51
|
disabledErrorMessage: boolean;
|
|
52
52
|
disabledBorder: boolean;
|
|
53
53
|
showCounter: boolean;
|