@vonage/vivid-vue 3.52.0 → 3.53.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.
@@ -392,12 +392,12 @@ declare const _default: import("vue").DefineComponent<{
392
392
  readonly: boolean;
393
393
  list: string;
394
394
  placeholder: string;
395
+ pattern: string;
395
396
  charCount: boolean;
396
397
  maxlength: number;
397
398
  minlength: number;
398
399
  autoComplete: string;
399
400
  spellcheck: boolean;
400
- pattern: string;
401
401
  }, SlotsType<{
402
402
  /**
403
403
  * Used to add action items to the start of the text-field.
@@ -407,5 +407,9 @@ declare const _default: import("vue").DefineComponent<{
407
407
  * Used to add action items to the end of the text-field.
408
408
  */
409
409
  'action-items': Record<string, never>;
410
+ /**
411
+ * Describes how to use the text-field. Alternative to the `helper-text` attribute.
412
+ */
413
+ 'helper-text': Record<string, never>;
410
414
  }>>;
411
415
  export default _default;
@@ -251,5 +251,10 @@ declare const _default: import("vue").DefineComponent<{
251
251
  minutesStep: number;
252
252
  secondsStep: number;
253
253
  clock: "12h" | "24h";
254
- }, SlotsType<Record<string, never>>>;
254
+ }, SlotsType<{
255
+ /**
256
+ * Describes how to use the time-picker. Alternative to the `helper-text` attribute.
257
+ */
258
+ 'helper-text': Record<string, never>;
259
+ }>>;
255
260
  export default _default;
@@ -0,0 +1,10 @@
1
+ import { VNode } from 'vue';
2
+ import VVideoPlayerVue2 from './VVideoPlayer.vue2';
3
+ import VVideoPlayerVue3 from './VVideoPlayer.vue3';
4
+
5
+ // @ts-ignore
6
+ type VNodeData = VNode["data"];
7
+ type IsAny<T> = 0 extends (1 & T) ? true : false;
8
+ type VueVersion = IsAny<VNodeData> extends true ? 'v3' : 'v2';
9
+ declare const _default: VueVersion extends 'v2' ? typeof VVideoPlayerVue2 : typeof VVideoPlayerVue3;
10
+ export default _default;
@@ -0,0 +1,118 @@
1
+ import { PropType } from 'vue';
2
+ import type { VideoPlayer } from '@vonage/vivid/lib/video-player/video-player';
3
+ /**
4
+ * Base class for video-player
5
+ */
6
+ declare const _default: import("vue/types/v3-define-component").DefineComponent<{
7
+ /**
8
+ * Indicates the element that represents the current item within a container or set of related elements.
9
+ */
10
+ ariaCurrent: {
11
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
12
+ default: undefined;
13
+ };
14
+ /**
15
+ * Reference to an image which is displayed before the video is played
16
+ */
17
+ poster: {
18
+ type: PropType<string>;
19
+ default: undefined;
20
+ };
21
+ /**
22
+ * URL of a video file
23
+ */
24
+ src: {
25
+ type: PropType<string>;
26
+ default: undefined;
27
+ };
28
+ /**
29
+ * Allows the video will play automatically (muted)
30
+ */
31
+ autoplay: {
32
+ type: PropType<boolean>;
33
+ default: undefined;
34
+ };
35
+ /**
36
+ * Allows the video to loop back to the beginning when finished
37
+ */
38
+ loop: {
39
+ type: PropType<boolean>;
40
+ default: undefined;
41
+ };
42
+ /**
43
+ * Sets the available playback rates. When an empty string, no choices will be available
44
+ */
45
+ playbackRates: {
46
+ type: PropType<string>;
47
+ default: undefined;
48
+ };
49
+ /**
50
+ * Allows the video to loop back to the beginning when finished
51
+ */
52
+ skipBy: {
53
+ type: PropType<"0" | "5" | "10" | "30">;
54
+ default: undefined;
55
+ };
56
+ }, {
57
+ componentName: import("vue").Ref<string>;
58
+ element: import("vue").Ref<VideoPlayer | null>;
59
+ }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "play" | "pause" | "ended")[], string, Readonly<import("vue").ExtractPropTypes<{
60
+ /**
61
+ * Indicates the element that represents the current item within a container or set of related elements.
62
+ */
63
+ ariaCurrent: {
64
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
65
+ default: undefined;
66
+ };
67
+ /**
68
+ * Reference to an image which is displayed before the video is played
69
+ */
70
+ poster: {
71
+ type: PropType<string>;
72
+ default: undefined;
73
+ };
74
+ /**
75
+ * URL of a video file
76
+ */
77
+ src: {
78
+ type: PropType<string>;
79
+ default: undefined;
80
+ };
81
+ /**
82
+ * Allows the video will play automatically (muted)
83
+ */
84
+ autoplay: {
85
+ type: PropType<boolean>;
86
+ default: undefined;
87
+ };
88
+ /**
89
+ * Allows the video to loop back to the beginning when finished
90
+ */
91
+ loop: {
92
+ type: PropType<boolean>;
93
+ default: undefined;
94
+ };
95
+ /**
96
+ * Sets the available playback rates. When an empty string, no choices will be available
97
+ */
98
+ playbackRates: {
99
+ type: PropType<string>;
100
+ default: undefined;
101
+ };
102
+ /**
103
+ * Allows the video to loop back to the beginning when finished
104
+ */
105
+ skipBy: {
106
+ type: PropType<"0" | "5" | "10" | "30">;
107
+ default: undefined;
108
+ };
109
+ }>>, {
110
+ ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
111
+ src: string;
112
+ poster: string;
113
+ autoplay: boolean;
114
+ loop: boolean;
115
+ playbackRates: string;
116
+ skipBy: "0" | "5" | "10" | "30";
117
+ }>;
118
+ export default _default;
@@ -0,0 +1,134 @@
1
+ import { PropType } from 'vue';
2
+ import type { VideoPlayer } from '@vonage/vivid/lib/video-player/video-player';
3
+ import type { SlotsType } from 'vue';
4
+ /**
5
+ * Base class for video-player
6
+ */
7
+ declare const _default: import("vue").DefineComponent<{
8
+ /**
9
+ * Indicates the element that represents the current item within a container or set of related elements.
10
+ */
11
+ ariaCurrent: {
12
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
13
+ default: undefined;
14
+ };
15
+ /**
16
+ * Reference to an image which is displayed before the video is played
17
+ */
18
+ poster: {
19
+ type: PropType<string>;
20
+ default: undefined;
21
+ };
22
+ /**
23
+ * URL of a video file
24
+ */
25
+ src: {
26
+ type: PropType<string>;
27
+ default: undefined;
28
+ };
29
+ /**
30
+ * Allows the video will play automatically (muted)
31
+ */
32
+ autoplay: {
33
+ type: PropType<boolean>;
34
+ default: undefined;
35
+ };
36
+ /**
37
+ * Allows the video to loop back to the beginning when finished
38
+ */
39
+ loop: {
40
+ type: PropType<boolean>;
41
+ default: undefined;
42
+ };
43
+ /**
44
+ * Sets the available playback rates. When an empty string, no choices will be available
45
+ */
46
+ playbackRates: {
47
+ type: PropType<string>;
48
+ default: undefined;
49
+ };
50
+ /**
51
+ * Allows the video to loop back to the beginning when finished
52
+ */
53
+ skipBy: {
54
+ type: PropType<"0" | "5" | "10" | "30">;
55
+ default: undefined;
56
+ };
57
+ }, {
58
+ componentName: import("vue").Ref<string>;
59
+ element: import("vue").Ref<VideoPlayer | null>;
60
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "play" | "pause" | "ended")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "play" | "pause" | "ended", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
+ /**
62
+ * Indicates the element that represents the current item within a container or set of related elements.
63
+ */
64
+ ariaCurrent: {
65
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
66
+ default: undefined;
67
+ };
68
+ /**
69
+ * Reference to an image which is displayed before the video is played
70
+ */
71
+ poster: {
72
+ type: PropType<string>;
73
+ default: undefined;
74
+ };
75
+ /**
76
+ * URL of a video file
77
+ */
78
+ src: {
79
+ type: PropType<string>;
80
+ default: undefined;
81
+ };
82
+ /**
83
+ * Allows the video will play automatically (muted)
84
+ */
85
+ autoplay: {
86
+ type: PropType<boolean>;
87
+ default: undefined;
88
+ };
89
+ /**
90
+ * Allows the video to loop back to the beginning when finished
91
+ */
92
+ loop: {
93
+ type: PropType<boolean>;
94
+ default: undefined;
95
+ };
96
+ /**
97
+ * Sets the available playback rates. When an empty string, no choices will be available
98
+ */
99
+ playbackRates: {
100
+ type: PropType<string>;
101
+ default: undefined;
102
+ };
103
+ /**
104
+ * Allows the video to loop back to the beginning when finished
105
+ */
106
+ skipBy: {
107
+ type: PropType<"0" | "5" | "10" | "30">;
108
+ default: undefined;
109
+ };
110
+ }>> & {
111
+ onKeydown?: ((...args: any[]) => any) | undefined;
112
+ onClick?: ((...args: any[]) => any) | undefined;
113
+ onFocus?: ((...args: any[]) => any) | undefined;
114
+ onBlur?: ((...args: any[]) => any) | undefined;
115
+ onKeyup?: ((...args: any[]) => any) | undefined;
116
+ onInput?: ((...args: any[]) => any) | undefined;
117
+ onPlay?: ((...args: any[]) => any) | undefined;
118
+ onPause?: ((...args: any[]) => any) | undefined;
119
+ onEnded?: ((...args: any[]) => any) | undefined;
120
+ }, {
121
+ ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
122
+ src: string;
123
+ poster: string;
124
+ autoplay: boolean;
125
+ loop: boolean;
126
+ playbackRates: string;
127
+ skipBy: "0" | "5" | "10" | "30";
128
+ }, SlotsType<{
129
+ /**
130
+ * Default slot
131
+ */
132
+ default: Record<string, never>;
133
+ }>>;
134
+ export default _default;
@@ -19,6 +19,7 @@ export { default as VDataGridCell } from './VDataGridCell';
19
19
  export { default as VDataGridRow } from './VDataGridRow';
20
20
  export { default as VDatePicker } from './VDatePicker';
21
21
  export { default as VDateRangePicker } from './VDateRangePicker';
22
+ export { default as VDialPad } from './VDialPad';
22
23
  export { default as VDialog } from './VDialog';
23
24
  export { default as VDivider } from './VDivider';
24
25
  export { default as VEmptyState } from './VEmptyState';
@@ -59,3 +60,4 @@ export { default as VToggletip } from './VToggletip';
59
60
  export { default as VTooltip } from './VTooltip';
60
61
  export { default as VTreeItem } from './VTreeItem';
61
62
  export { default as VTreeView } from './VTreeView';
63
+ export { default as VVideoPlayer } from './VVideoPlayer';