voiptime-components 1.13.55 → 1.14.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/index.cjs.js +1 -1
- package/dist/index.d.ts +17 -8
- package/dist/index.es.js +4995 -4537
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1139,14 +1139,24 @@ export declare const isValidDate: (value: any) => boolean;
|
|
|
1139
1139
|
|
|
1140
1140
|
export declare const isValidTimeString: (timeStr: string) => boolean;
|
|
1141
1141
|
|
|
1142
|
+
export declare enum LANGUAGES {
|
|
1143
|
+
en = "en",// Англійська
|
|
1144
|
+
uk = "uk",// Українська
|
|
1145
|
+
ru = "ru"
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1142
1148
|
export declare const loaderDirective: ObjectDirective;
|
|
1143
1149
|
|
|
1144
1150
|
export declare const maxLength: (max: number) => ValidatorFn;
|
|
1145
1151
|
|
|
1152
|
+
export declare const maxNumber: (max: number) => ValidatorFn;
|
|
1153
|
+
|
|
1146
1154
|
export declare const messageManager: VMessageManager;
|
|
1147
1155
|
|
|
1148
1156
|
export declare const minLength: (min: number) => ValidatorFn;
|
|
1149
1157
|
|
|
1158
|
+
export declare const minNumber: (min: number) => ValidatorFn;
|
|
1159
|
+
|
|
1150
1160
|
export declare function mk<V extends ValidatorFn>(opts: {
|
|
1151
1161
|
name?: string;
|
|
1152
1162
|
params?: Record<string, any>;
|
|
@@ -1156,10 +1166,6 @@ export declare function mk<V extends ValidatorFn>(opts: {
|
|
|
1156
1166
|
|
|
1157
1167
|
export declare const modalManager: VModalManager;
|
|
1158
1168
|
|
|
1159
|
-
export declare const MONTH_NAMES: string[];
|
|
1160
|
-
|
|
1161
|
-
export declare const MONTH_NAMES_SHORT: string[];
|
|
1162
|
-
|
|
1163
1169
|
export declare const noSpaces: ValidatorFn;
|
|
1164
1170
|
|
|
1165
1171
|
export declare const numeric: ValidatorFn;
|
|
@@ -1228,6 +1234,8 @@ export declare interface ParseResult {
|
|
|
1228
1234
|
|
|
1229
1235
|
export declare const parseTimeString: (timeStr: string) => TimeObject | null;
|
|
1230
1236
|
|
|
1237
|
+
export declare const pattern: (regex: RegExp, message?: string) => ValidatorFn;
|
|
1238
|
+
|
|
1231
1239
|
export declare const phoneNumber: ValidatorFn;
|
|
1232
1240
|
|
|
1233
1241
|
declare interface Props {
|
|
@@ -1265,6 +1273,8 @@ export declare interface SelectionChangeEventData {
|
|
|
1265
1273
|
isAllSelected?: boolean;
|
|
1266
1274
|
}
|
|
1267
1275
|
|
|
1276
|
+
export declare function setLocale(locale: LANGUAGES): void;
|
|
1277
|
+
|
|
1268
1278
|
export declare interface SheetParseResult {
|
|
1269
1279
|
name: string;
|
|
1270
1280
|
rows: number;
|
|
@@ -1342,6 +1352,8 @@ export declare interface UploadFile {
|
|
|
1342
1352
|
error?: string;
|
|
1343
1353
|
}
|
|
1344
1354
|
|
|
1355
|
+
export declare const url: ValidatorFn;
|
|
1356
|
+
|
|
1345
1357
|
/**
|
|
1346
1358
|
* Build validation tree recursively
|
|
1347
1359
|
*/
|
|
@@ -2335,6 +2347,7 @@ export declare interface VUIPluginOptions {
|
|
|
2335
2347
|
prefix?: string;
|
|
2336
2348
|
modal?: boolean;
|
|
2337
2349
|
message?: boolean;
|
|
2350
|
+
locale?: LANGUAGES;
|
|
2338
2351
|
}
|
|
2339
2352
|
|
|
2340
2353
|
export declare const VUpload: DefineComponent<VUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -2416,10 +2429,6 @@ export declare interface VUploadProps {
|
|
|
2416
2429
|
returnData?: boolean;
|
|
2417
2430
|
}
|
|
2418
2431
|
|
|
2419
|
-
export declare const WEEKDAY_NAMES: string[];
|
|
2420
|
-
|
|
2421
|
-
export declare const WEEKDAY_NAMES_SHORT: string[];
|
|
2422
|
-
|
|
2423
2432
|
export declare function withAsync(validator: ValidatorFn): WrappedValidator;
|
|
2424
2433
|
|
|
2425
2434
|
export declare function withMessage(message: string | ((params?: any) => string), validator: ValidatorFn): WrappedValidator;
|