voiptime-components 1.12.21 → 1.12.23
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.cjs.js +39 -1
- package/dist/index.d.ts +51 -1
- package/dist/index.es.js +25579 -4522
- package/dist/index.umd.js +39 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -939,6 +939,7 @@ declare const icons: {
|
|
|
939
939
|
readonly chatAttention: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
940
940
|
readonly chatBlock: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
941
941
|
readonly chatCheck: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
942
|
+
readonly chatDabble: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
942
943
|
readonly chatDelete: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
943
944
|
readonly chatFlash: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
944
945
|
readonly chatForward: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -988,6 +989,7 @@ declare const icons: {
|
|
|
988
989
|
readonly emailQueue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
989
990
|
readonly emailSpam: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
990
991
|
readonly add: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
992
|
+
readonly diamondInSquare: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
991
993
|
readonly dsr: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
992
994
|
readonly emptyRound: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
993
995
|
readonly hold: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -1019,6 +1021,7 @@ declare const icons: {
|
|
|
1019
1021
|
readonly iframBlock: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1020
1022
|
readonly infoBlock: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1021
1023
|
readonly proposalBlock: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1024
|
+
readonly statsDiagramPie: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1022
1025
|
readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1023
1026
|
readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1024
1027
|
readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -1118,6 +1121,13 @@ export declare interface PaginationState {
|
|
|
1118
1121
|
toItem: number;
|
|
1119
1122
|
}
|
|
1120
1123
|
|
|
1124
|
+
declare interface ParseResult {
|
|
1125
|
+
sheets: SheetParseResult[];
|
|
1126
|
+
rows: number;
|
|
1127
|
+
columns: string[];
|
|
1128
|
+
data?: any[];
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1121
1131
|
export declare const parseTimeString: (timeStr: string) => TimeObject | null;
|
|
1122
1132
|
|
|
1123
1133
|
export declare const phoneNumber: ValidatorFn;
|
|
@@ -1157,6 +1167,13 @@ export declare interface SelectionChangeEventData {
|
|
|
1157
1167
|
isAllSelected?: boolean;
|
|
1158
1168
|
}
|
|
1159
1169
|
|
|
1170
|
+
declare interface SheetParseResult {
|
|
1171
|
+
name: string;
|
|
1172
|
+
rows: number;
|
|
1173
|
+
columns: string[];
|
|
1174
|
+
data?: any[];
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1160
1177
|
export declare interface SortChangeEventData {
|
|
1161
1178
|
column: VTableColumnProps;
|
|
1162
1179
|
direction: SortDirection | null;
|
|
@@ -1202,7 +1219,7 @@ export declare type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1202
1219
|
export declare const uniqueAsync: (checkFn: (val: any) => Promise<boolean>, message?: string) => ValidatorFn;
|
|
1203
1220
|
|
|
1204
1221
|
export declare interface UploadError {
|
|
1205
|
-
type: 'size' | 'type' | 'count';
|
|
1222
|
+
type: 'size' | 'type' | 'count' | 'parse';
|
|
1206
1223
|
message: string;
|
|
1207
1224
|
file?: File;
|
|
1208
1225
|
}
|
|
@@ -2180,22 +2197,43 @@ export declare const VUpload: DefineComponent<VUploadProps, {}, {}, {}, {}, Comp
|
|
|
2180
2197
|
"update:modelValue": (files: UploadFile[]) => any;
|
|
2181
2198
|
remove: (file: UploadFile) => any;
|
|
2182
2199
|
exceed: (files: File[]) => any;
|
|
2200
|
+
parse: (result: {
|
|
2201
|
+
file: UploadFile;
|
|
2202
|
+
result: ParseResult;
|
|
2203
|
+
}) => any;
|
|
2204
|
+
rowsExceed: (data: {
|
|
2205
|
+
file: UploadFile;
|
|
2206
|
+
rows: number;
|
|
2207
|
+
maxRows: number;
|
|
2208
|
+
}) => any;
|
|
2183
2209
|
}, string, PublicProps, Readonly<VUploadProps> & Readonly<{
|
|
2184
2210
|
onChange?: ((files: UploadFile[]) => any) | undefined;
|
|
2185
2211
|
onError?: ((error: UploadError) => any) | undefined;
|
|
2186
2212
|
"onUpdate:modelValue"?: ((files: UploadFile[]) => any) | undefined;
|
|
2187
2213
|
onRemove?: ((file: UploadFile) => any) | undefined;
|
|
2188
2214
|
onExceed?: ((files: File[]) => any) | undefined;
|
|
2215
|
+
onParse?: ((result: {
|
|
2216
|
+
file: UploadFile;
|
|
2217
|
+
result: ParseResult;
|
|
2218
|
+
}) => any) | undefined;
|
|
2219
|
+
onRowsExceed?: ((data: {
|
|
2220
|
+
file: UploadFile;
|
|
2221
|
+
rows: number;
|
|
2222
|
+
maxRows: number;
|
|
2223
|
+
}) => any) | undefined;
|
|
2189
2224
|
}>, {
|
|
2190
2225
|
type: "drag" | "button";
|
|
2191
2226
|
disabled: boolean;
|
|
2192
2227
|
modelValue: UploadFile[];
|
|
2193
2228
|
placeholder: string;
|
|
2229
|
+
maxRows: number;
|
|
2194
2230
|
multiple: boolean;
|
|
2195
2231
|
accept: string;
|
|
2196
2232
|
maxSize: number;
|
|
2197
2233
|
maxFiles: number;
|
|
2198
2234
|
tip: string;
|
|
2235
|
+
parseFiles: boolean;
|
|
2236
|
+
returnData: boolean;
|
|
2199
2237
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2200
2238
|
fileInputRef: HTMLInputElement;
|
|
2201
2239
|
}, HTMLDivElement>;
|
|
@@ -2206,6 +2244,15 @@ export declare interface VUploadEmits {
|
|
|
2206
2244
|
(e: 'remove', file: UploadFile): void;
|
|
2207
2245
|
(e: 'exceed', files: File[]): void;
|
|
2208
2246
|
(e: 'error', error: UploadError): void;
|
|
2247
|
+
(e: 'parse', result: {
|
|
2248
|
+
file: UploadFile;
|
|
2249
|
+
result: ParseResult;
|
|
2250
|
+
}): void;
|
|
2251
|
+
(e: 'rowsExceed', data: {
|
|
2252
|
+
file: UploadFile;
|
|
2253
|
+
rows: number;
|
|
2254
|
+
maxRows: number;
|
|
2255
|
+
}): void;
|
|
2209
2256
|
}
|
|
2210
2257
|
|
|
2211
2258
|
export declare interface VUploadProps {
|
|
@@ -2213,11 +2260,14 @@ export declare interface VUploadProps {
|
|
|
2213
2260
|
accept?: string;
|
|
2214
2261
|
maxSize?: number;
|
|
2215
2262
|
maxFiles?: number;
|
|
2263
|
+
maxRows?: number;
|
|
2216
2264
|
multiple?: boolean;
|
|
2217
2265
|
type?: 'drag' | 'button';
|
|
2218
2266
|
disabled?: boolean;
|
|
2219
2267
|
placeholder?: string;
|
|
2220
2268
|
tip?: string;
|
|
2269
|
+
parseFiles?: boolean;
|
|
2270
|
+
returnData?: boolean;
|
|
2221
2271
|
}
|
|
2222
2272
|
|
|
2223
2273
|
export declare const WEEKDAY_NAMES: string[];
|