voiptime-components 0.0.13 → 0.0.14

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/index.d.ts CHANGED
@@ -6,116 +6,146 @@ import { ObjectDirective } from 'vue';
6
6
  import { PublicProps } from 'vue';
7
7
 
8
8
  declare const __VLS_component: DefineComponent<VButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- click: (event: MouseEvent) => any;
9
+ click: (event: MouseEvent) => any;
10
10
  }, string, PublicProps, Readonly<VButtonProps> & Readonly<{
11
- onClick?: ((event: MouseEvent) => any) | undefined;
11
+ onClick?: ((event: MouseEvent) => any) | undefined;
12
12
  }>, {
13
- type: VButtonType;
14
- disabled: boolean;
15
- loading: boolean;
16
- tooltip: boolean;
17
- tooltipPlacement: TooltipPlacement;
18
- htmlType: "button" | "submit" | "reset";
19
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ type: VButtonType;
14
+ disabled: boolean;
15
+ loading: boolean;
16
+ tooltip: boolean;
17
+ tooltipPlacement: TooltipPlacement;
18
+ htmlType: "button" | "submit" | "reset";
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
20
20
 
21
21
  declare const __VLS_component_2: DefineComponent<VModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
22
- close: () => any;
23
- "update:modelValue": (value: boolean) => any;
22
+ close: () => any;
23
+ "update:modelValue": (value: boolean) => any;
24
24
  }, string, PublicProps, Readonly<VModalProps> & Readonly<{
25
- onClose?: (() => any) | undefined;
26
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
+ onClose?: (() => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
27
27
  }>, {
28
- size: VModalSize;
29
- showCloseButton: boolean;
30
- closeOnBackdropClick: boolean;
31
- zIndex: number;
28
+ size: VModalSize;
29
+ showCloseButton: boolean;
30
+ closeOnBackdropClick: boolean;
31
+ zIndex: number;
32
32
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
33
33
 
34
34
  declare const __VLS_component_3: DefineComponent<VCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
35
- "update:modelValue": (value: boolean) => any;
36
- change: (value: boolean, event: Event) => any;
37
- focus: (event: FocusEvent) => any;
38
- blur: (event: FocusEvent) => any;
35
+ blur: (event: FocusEvent) => any;
36
+ change: (value: boolean, event: Event) => any;
37
+ focus: (event: FocusEvent) => any;
38
+ "update:modelValue": (value: boolean) => any;
39
39
  }, string, PublicProps, Readonly<VCheckboxProps> & Readonly<{
40
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
41
- onChange?: ((value: boolean, event: Event) => any) | undefined;
42
- onFocus?: ((event: FocusEvent) => any) | undefined;
43
- onBlur?: ((event: FocusEvent) => any) | undefined;
40
+ onBlur?: ((event: FocusEvent) => any) | undefined;
41
+ onChange?: ((value: boolean, event: Event) => any) | undefined;
42
+ onFocus?: ((event: FocusEvent) => any) | undefined;
43
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
44
44
  }>, {
45
- disabled: boolean;
46
- modelValue: boolean;
47
- size: "small" | "medium" | "large";
48
- required: boolean;
49
- checked: boolean;
50
- indeterminate: boolean;
51
- variant: "primary" | "success" | "warning" | "danger" | "info";
52
- isDouble: boolean;
53
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
45
+ disabled: boolean;
46
+ modelValue: boolean;
47
+ size: "small" | "medium" | "large";
48
+ required: boolean;
49
+ checked: boolean;
50
+ indeterminate: boolean;
51
+ variant: "primary" | "success" | "warning" | "danger" | "info";
52
+ isDouble: boolean;
53
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
54
54
 
55
55
  declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {
56
- toggleRowSelection: (row: Record<string, any>, selected?: boolean) => void;
57
- toggleAllSelection: () => void;
58
- selectAbsolutelyAll: () => void;
59
- clearSelection: () => void;
60
- getSelectionRows: () => Record<string, any>[];
61
- setSelectionRows: (rows: Record<string, any>[]) => void;
56
+ toggleRowSelection: (row: Record<string, any>, selected?: boolean) => void;
57
+ toggleAllSelection: () => void;
58
+ selectAbsolutelyAll: () => void;
59
+ clearSelection: () => void;
60
+ getSelectionRows: () => Record<string, any>[];
61
+ setSelectionRows: (rows: Record<string, any>[]) => void;
62
+ resetInfinityScroll: () => void;
62
63
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
63
- [x: string]: any;
64
+ [x: string]: any;
64
65
  } & {
65
- [x: string]: any;
66
+ [x: string]: any;
66
67
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
67
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
68
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
68
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
69
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
70
+ tableWrapperRef: HTMLDivElement;
71
+ }, HTMLDivElement>;
69
72
 
70
73
  declare type __VLS_Props = {
71
74
  name: IconName;
72
75
  };
73
76
 
74
- declare type __VLS_Props_2 = VTableProps & {
75
- allData?: Record<string, any>[];
76
- };
77
+ declare type __VLS_Props_2 = VTableProps;
77
78
 
78
- declare type __VLS_PublicProps = __VLS_Props_2 & {
79
+ declare type __VLS_PublicProps = {
79
80
  'columns'?: VTableColumnProps[];
80
- };
81
+ } & __VLS_Props_2;
81
82
 
82
- declare type __VLS_Slots = {} & {
83
- default?: (props: typeof __VLS_7) => any;
83
+ declare function __VLS_template(): {
84
+ attrs: Partial<{}>;
85
+ slots: {
86
+ default?(_: {}): any;
87
+ };
88
+ refs: {};
89
+ rootEl: HTMLButtonElement;
84
90
  };
85
91
 
86
- declare type __VLS_Slots_2 = {} & {
87
- default?: (props: typeof __VLS_12) => any;
92
+ declare function __VLS_template_2(): {
93
+ attrs: Partial<{}>;
94
+ slots: {
95
+ default?(_: {}): any;
96
+ };
97
+ refs: {};
98
+ rootEl: any;
88
99
  };
89
100
 
90
- declare type __VLS_Slots_3 = {} & {
91
- label?: (props: typeof __VLS_1) => any;
92
- } & {
93
- default?: (props: typeof __VLS_3) => any;
101
+ declare function __VLS_template_3(): {
102
+ attrs: Partial<{}>;
103
+ slots: {
104
+ label?(_: {}): any;
105
+ default?(_: {}): any;
106
+ };
107
+ refs: {};
108
+ rootEl: HTMLLabelElement;
94
109
  };
95
110
 
96
- declare type __VLS_Slots_4 = {} & {
97
- default?: (props: typeof __VLS_1) => any;
111
+ declare function __VLS_template_4(): {
112
+ attrs: Partial<{}>;
113
+ slots: {
114
+ default?(_: {}): any;
115
+ };
116
+ refs: {
117
+ tableWrapperRef: HTMLDivElement;
118
+ };
119
+ rootEl: HTMLDivElement;
98
120
  };
99
121
 
100
- declare type __VLS_WithSlots<T, S> = T & {
122
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
123
+
124
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
125
+
126
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
127
+
128
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
129
+
130
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
101
131
  new (): {
102
132
  $slots: S;
103
133
  };
104
134
  };
105
135
 
106
- declare type __VLS_WithSlots_2<T, S> = T & {
136
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
107
137
  new (): {
108
138
  $slots: S;
109
139
  };
110
140
  };
111
141
 
112
- declare type __VLS_WithSlots_3<T, S> = T & {
142
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
113
143
  new (): {
114
144
  $slots: S;
115
145
  };
116
146
  };
117
147
 
118
- declare type __VLS_WithSlots_4<T, S> = T & {
148
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
119
149
  new (): {
120
150
  $slots: S;
121
151
  };
@@ -133,18 +163,19 @@ export declare const DEFAULT_COLUMN_CONFIG: {
133
163
  export declare type IconName = keyof typeof icons;
134
164
 
135
165
  declare const icons: {
136
- readonly arrowDown: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
137
- readonly arrowTop: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
138
- readonly arrowRight: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
139
- readonly arrowLeft: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
140
- readonly arrowReload: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
141
- readonly columnInsert: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
142
- readonly freeze: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
143
- readonly unfreeze: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
144
- readonly columnsMove: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
145
- readonly listBullet: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
146
- readonly listBulletHorizontal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
147
- readonly close: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
166
+ readonly arrowDown: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
167
+ readonly arrowTop: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
168
+ readonly arrowRight: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
169
+ readonly arrowLeft: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
170
+ readonly arrowReload: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
171
+ readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
172
+ readonly freeze: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
173
+ readonly unfreeze: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
174
+ readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
175
+ readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
176
+ readonly listBullet: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
177
+ readonly listBulletHorizontal: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
178
+ readonly close: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
148
179
  };
149
180
 
150
181
  export declare const install: (app: App, options?: VUIPluginOptions) => void;
@@ -239,7 +270,7 @@ export declare const tooltipDirective: ObjectDirective;
239
270
 
240
271
  export declare type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
241
272
 
242
- export declare const VButton: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
273
+ export declare const VButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
243
274
 
244
275
  export declare interface VButtonEmits {
245
276
  click: [event: MouseEvent];
@@ -260,7 +291,7 @@ declare type VButtonShape = 'circle' | 'square';
260
291
 
261
292
  export declare type VButtonType = 'default' | 'primary' | 'success' | 'danger' | 'warning' | 'info';
262
293
 
263
- export declare const VCheckbox: __VLS_WithSlots_3<typeof __VLS_component_3, __VLS_Slots_3>;
294
+ export declare const VCheckbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
264
295
 
265
296
  export declare interface VCheckboxEmits {
266
297
  'update:modelValue': [value: boolean];
@@ -291,9 +322,9 @@ export declare interface VCheckboxSlots {
291
322
 
292
323
  export declare const VIcon: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
293
324
 
294
- export declare const VLoader: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
325
+ export declare const VLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
295
326
 
296
- export declare const VModal: __VLS_WithSlots_2<typeof __VLS_component_2, __VLS_Slots_2>;
327
+ export declare const VModal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
297
328
 
298
329
  export declare interface VModalConfig {
299
330
  title?: string;
@@ -357,31 +388,31 @@ export declare interface VModalProps {
357
388
  export declare type VModalSize = 'small' | 'medium' | 'large';
358
389
 
359
390
  export declare const VPagination: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
360
- "update:currentPage": (page: number) => any;
361
- "update:pageSize": (size: number) => any;
362
- pageChange: (data: PaginationChangeData) => any;
363
- reloadData: (page: number) => any;
391
+ "update:currentPage": (page: number) => any;
392
+ "update:pageSize": (size: number) => any;
393
+ pageChange: (data: PaginationChangeData) => any;
394
+ reloadData: (page: number) => any;
364
395
  }, string, PublicProps, Readonly<PaginationProps> & Readonly<{
365
- "onUpdate:currentPage"?: ((page: number) => any) | undefined;
366
- "onUpdate:pageSize"?: ((size: number) => any) | undefined;
367
- onPageChange?: ((data: PaginationChangeData) => any) | undefined;
368
- onReloadData?: ((page: number) => any) | undefined;
396
+ "onUpdate:currentPage"?: ((page: number) => any) | undefined;
397
+ "onUpdate:pageSize"?: ((size: number) => any) | undefined;
398
+ onPageChange?: ((data: PaginationChangeData) => any) | undefined;
399
+ onReloadData?: ((page: number) => any) | undefined;
369
400
  }>, {
370
- pageSize: number;
371
- currentPage: number;
372
- pageSizeOptions: number[];
373
- maxVisiblePages: number;
374
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
401
+ pageSize: number;
402
+ currentPage: number;
403
+ pageSizeOptions: number[];
404
+ maxVisiblePages: number;
405
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
375
406
 
376
- export declare const VTable: __VLS_WithSlots_4<typeof __VLS_component_4, __VLS_Slots_4>;
407
+ export declare const VTable: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
377
408
 
378
409
  export declare const VTableColumn: DefineComponent<VTableColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<VTableColumnProps> & Readonly<{}>, {
379
- sortable: boolean;
380
- pinnedLeft: boolean;
381
- pinnedRight: boolean;
382
- actionColumn: boolean;
383
- showOverflowTooltip: boolean;
384
- selectable: boolean;
410
+ sortable: boolean;
411
+ pinnedLeft: boolean;
412
+ pinnedRight: boolean;
413
+ actionColumn: boolean;
414
+ showOverflowTooltip: boolean;
415
+ selectable: boolean;
385
416
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
386
417
 
387
418
  export declare interface VTableColumnGroup {
@@ -439,6 +470,7 @@ export declare interface VTableEmits {
439
470
  direction: 'asc' | 'desc' | null;
440
471
  }): void;
441
472
  (e: 'columns-change', columns: VTableColumnProps[]): void;
473
+ (e: 'infinity-scroll'): void;
442
474
  }
443
475
 
444
476
  export declare interface VTableProps {