@robot-admin/naive-ui-components 0.6.0 → 0.6.2
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/CHANGELOG.md +48 -32
- package/dist/C_Breadcrumb.js.map +1 -1
- package/dist/C_Breadcrumb2.js.map +1 -1
- package/dist/C_Menu.js.map +1 -1
- package/dist/C_Menu2.js.map +1 -1
- package/dist/{C_Table-Dcam_tRs.css.map → C_Table-vZlcgH6x.css.map} +1 -1
- package/dist/{C_Table-tbUx-R4H.css.map → C_Table-wzAO43l0.css.map} +1 -1
- package/dist/C_Table.css +69 -69
- package/dist/C_Table.js.map +1 -1
- package/dist/C_Table2.js +1 -1
- package/dist/C_Table2.js.map +1 -1
- package/dist/{C_TagsView-DX3LecK1.css.map → C_TagsView-BsutyC3U.css.map} +1 -1
- package/dist/{C_TagsView-DqOTa8bL.css.map → C_TagsView-Crm7yWg9.css.map} +1 -1
- package/dist/C_TagsView.css +36 -36
- package/dist/C_TagsView.js.map +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_TagsView2.js.map +1 -1
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.ts +5 -5
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.ts +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index11.vue.d.ts +4 -4
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index19.vue.d.ts +3 -3
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index4.vue.d.ts +4 -4
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.ts +1 -1
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.ts +3 -3
- package/dist/menuAdapter.js +1 -1
- package/dist/menuAdapter.js.map +1 -1
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.js.map +1 -1
- package/dist/style.css +107 -107
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.ts +118 -118
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useModalEdit.d.ts +0 -1
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.ts +2 -2
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +3 -3
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/package.json +1 -1
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,28 +51,28 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Event) => any;
|
|
55
|
+
cancel: () => any;
|
|
56
|
+
ready: () => any;
|
|
56
57
|
crop: (result: any) => any;
|
|
57
58
|
confirm: (result: any) => any;
|
|
58
|
-
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Event) => any) | undefined;
|
|
61
|
+
onCancel?: (() => any) | undefined;
|
|
62
|
+
onReady?: (() => any) | undefined;
|
|
62
63
|
onCrop?: ((result: any) => any) | undefined;
|
|
63
64
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
|
-
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
height: string | number;
|
|
67
|
-
showToolbar: boolean;
|
|
68
67
|
disabled: boolean;
|
|
69
|
-
src: string;
|
|
70
68
|
aspectRatio: number;
|
|
69
|
+
showPreview: boolean;
|
|
70
|
+
showToolbar: boolean;
|
|
71
|
+
src: string;
|
|
71
72
|
outputFormat: CropOutputFormat;
|
|
72
73
|
outputQuality: number;
|
|
73
74
|
maxOutputWidth: number;
|
|
74
75
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -117,9 +117,8 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
sort: boolean;
|
|
120
|
-
modelValue: DraggableItem[];
|
|
121
120
|
disabled: boolean;
|
|
122
|
-
|
|
121
|
+
modelValue: DraggableItem[];
|
|
123
122
|
layout: LayoutMode;
|
|
124
123
|
group: string | GroupOptions;
|
|
125
124
|
alignItems: AlignItems;
|
|
@@ -129,6 +128,7 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
129
128
|
animation: number;
|
|
130
129
|
gap: string | number;
|
|
131
130
|
itemClass: string;
|
|
131
|
+
delay: number;
|
|
132
132
|
handle: string;
|
|
133
133
|
showHandle: boolean;
|
|
134
134
|
ghostClass: string;
|
|
@@ -1296,64 +1296,10 @@ declare const useDynamicFormState: () => {
|
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
1298
|
readonly required?: boolean | undefined;
|
|
1299
|
-
readonly
|
|
1300
|
-
|
|
1301
|
-
readonly suppressValidatorError?: boolean | undefined;
|
|
1302
|
-
readonly first?: boolean | undefined;
|
|
1303
|
-
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
1304
|
-
readonly messages?: {
|
|
1305
|
-
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1306
|
-
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1307
|
-
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1308
|
-
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1309
|
-
readonly date?: {
|
|
1310
|
-
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1311
|
-
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1312
|
-
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1313
|
-
} | undefined;
|
|
1314
|
-
readonly types?: {
|
|
1315
|
-
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1316
|
-
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1317
|
-
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1318
|
-
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1319
|
-
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1320
|
-
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1321
|
-
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1322
|
-
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1323
|
-
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1324
|
-
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1325
|
-
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1326
|
-
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1327
|
-
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1328
|
-
} | undefined;
|
|
1329
|
-
readonly string?: {
|
|
1330
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1331
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1332
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1333
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1334
|
-
} | undefined;
|
|
1335
|
-
readonly number?: {
|
|
1336
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1337
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1338
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1339
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1340
|
-
} | undefined;
|
|
1341
|
-
readonly array?: {
|
|
1342
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1343
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1344
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1345
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1346
|
-
} | undefined;
|
|
1347
|
-
readonly pattern?: {
|
|
1348
|
-
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
1349
|
-
} | undefined;
|
|
1350
|
-
} | undefined;
|
|
1351
|
-
readonly keys?: readonly string[] | undefined;
|
|
1352
|
-
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1353
|
-
} | undefined;
|
|
1354
|
-
readonly trigger?: string | readonly string[] | undefined;
|
|
1355
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
1299
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1300
|
+
readonly key?: string | undefined;
|
|
1356
1301
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1302
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
1357
1303
|
readonly min?: number | undefined;
|
|
1358
1304
|
readonly max?: number | undefined;
|
|
1359
1305
|
readonly len?: number | undefined;
|
|
@@ -1502,6 +1448,61 @@ declare const useDynamicFormState: () => {
|
|
|
1502
1448
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1503
1449
|
}[];
|
|
1504
1450
|
} | undefined;
|
|
1451
|
+
readonly options?: {
|
|
1452
|
+
readonly suppressWarning?: boolean | undefined;
|
|
1453
|
+
readonly suppressValidatorError?: boolean | undefined;
|
|
1454
|
+
readonly first?: boolean | undefined;
|
|
1455
|
+
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
1456
|
+
readonly messages?: {
|
|
1457
|
+
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1458
|
+
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1459
|
+
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1460
|
+
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1461
|
+
readonly date?: {
|
|
1462
|
+
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1463
|
+
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1464
|
+
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1465
|
+
} | undefined;
|
|
1466
|
+
readonly types?: {
|
|
1467
|
+
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1468
|
+
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1469
|
+
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1470
|
+
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1471
|
+
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1472
|
+
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1473
|
+
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1474
|
+
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1475
|
+
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1476
|
+
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1477
|
+
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1478
|
+
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1479
|
+
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1480
|
+
} | undefined;
|
|
1481
|
+
readonly string?: {
|
|
1482
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1483
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1484
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1485
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1486
|
+
} | undefined;
|
|
1487
|
+
readonly number?: {
|
|
1488
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1489
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1490
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1491
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1492
|
+
} | undefined;
|
|
1493
|
+
readonly array?: {
|
|
1494
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1495
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1496
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1497
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1498
|
+
} | undefined;
|
|
1499
|
+
readonly pattern?: {
|
|
1500
|
+
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
} | undefined;
|
|
1503
|
+
readonly keys?: readonly string[] | undefined;
|
|
1504
|
+
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1505
|
+
} | undefined;
|
|
1505
1506
|
readonly defaultField?: {
|
|
1506
1507
|
readonly type?: RuleType | undefined;
|
|
1507
1508
|
readonly required?: boolean | undefined;
|
|
@@ -1929,9 +1930,8 @@ declare const useDynamicFormState: () => {
|
|
|
1929
1930
|
}[] | undefined;
|
|
1930
1931
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1931
1932
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1932
|
-
readonly
|
|
1933
|
+
readonly trigger?: string | readonly string[] | undefined;
|
|
1933
1934
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1934
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
1937
1937
|
readonly attrs?: {
|
|
@@ -3573,64 +3573,10 @@ declare const useDynamicFormState: () => {
|
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
3575
|
readonly required?: boolean | undefined;
|
|
3576
|
-
readonly
|
|
3577
|
-
|
|
3578
|
-
readonly suppressValidatorError?: boolean | undefined;
|
|
3579
|
-
readonly first?: boolean | undefined;
|
|
3580
|
-
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
3581
|
-
readonly messages?: {
|
|
3582
|
-
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3583
|
-
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3584
|
-
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3585
|
-
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3586
|
-
readonly date?: {
|
|
3587
|
-
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3588
|
-
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3589
|
-
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3590
|
-
} | undefined;
|
|
3591
|
-
readonly types?: {
|
|
3592
|
-
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3593
|
-
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3594
|
-
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3595
|
-
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3596
|
-
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3597
|
-
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3598
|
-
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3599
|
-
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3600
|
-
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3601
|
-
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3602
|
-
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3603
|
-
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3604
|
-
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3605
|
-
} | undefined;
|
|
3606
|
-
readonly string?: {
|
|
3607
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3608
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3609
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3610
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3611
|
-
} | undefined;
|
|
3612
|
-
readonly number?: {
|
|
3613
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3614
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3615
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3616
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3617
|
-
} | undefined;
|
|
3618
|
-
readonly array?: {
|
|
3619
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3620
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3621
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3622
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3623
|
-
} | undefined;
|
|
3624
|
-
readonly pattern?: {
|
|
3625
|
-
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
3626
|
-
} | undefined;
|
|
3627
|
-
} | undefined;
|
|
3628
|
-
readonly keys?: readonly string[] | undefined;
|
|
3629
|
-
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3630
|
-
} | undefined;
|
|
3631
|
-
readonly trigger?: string | readonly string[] | undefined;
|
|
3632
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
3576
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3577
|
+
readonly key?: string | undefined;
|
|
3633
3578
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3579
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
3634
3580
|
readonly min?: number | undefined;
|
|
3635
3581
|
readonly max?: number | undefined;
|
|
3636
3582
|
readonly len?: number | undefined;
|
|
@@ -3779,6 +3725,61 @@ declare const useDynamicFormState: () => {
|
|
|
3779
3725
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
3780
3726
|
}[];
|
|
3781
3727
|
} | undefined;
|
|
3728
|
+
readonly options?: {
|
|
3729
|
+
readonly suppressWarning?: boolean | undefined;
|
|
3730
|
+
readonly suppressValidatorError?: boolean | undefined;
|
|
3731
|
+
readonly first?: boolean | undefined;
|
|
3732
|
+
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
3733
|
+
readonly messages?: {
|
|
3734
|
+
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3735
|
+
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3736
|
+
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3737
|
+
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3738
|
+
readonly date?: {
|
|
3739
|
+
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3740
|
+
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3741
|
+
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3742
|
+
} | undefined;
|
|
3743
|
+
readonly types?: {
|
|
3744
|
+
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3745
|
+
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3746
|
+
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3747
|
+
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3748
|
+
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3749
|
+
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3750
|
+
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3751
|
+
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3752
|
+
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3753
|
+
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3754
|
+
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3755
|
+
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3756
|
+
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3757
|
+
} | undefined;
|
|
3758
|
+
readonly string?: {
|
|
3759
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3760
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3761
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3762
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3763
|
+
} | undefined;
|
|
3764
|
+
readonly number?: {
|
|
3765
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3766
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3767
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3768
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3769
|
+
} | undefined;
|
|
3770
|
+
readonly array?: {
|
|
3771
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3772
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3773
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3774
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3775
|
+
} | undefined;
|
|
3776
|
+
readonly pattern?: {
|
|
3777
|
+
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
3778
|
+
} | undefined;
|
|
3779
|
+
} | undefined;
|
|
3780
|
+
readonly keys?: readonly string[] | undefined;
|
|
3781
|
+
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3782
|
+
} | undefined;
|
|
3782
3783
|
readonly defaultField?: {
|
|
3783
3784
|
readonly type?: RuleType | undefined;
|
|
3784
3785
|
readonly required?: boolean | undefined;
|
|
@@ -4206,9 +4207,8 @@ declare const useDynamicFormState: () => {
|
|
|
4206
4207
|
}[] | undefined;
|
|
4207
4208
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4208
4209
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4209
|
-
readonly
|
|
4210
|
+
readonly trigger?: string | readonly string[] | undefined;
|
|
4210
4211
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4211
|
-
readonly level?: "warning" | "error" | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
4214
4214
|
}[];
|
|
@@ -261,9 +261,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
261
261
|
}>, {
|
|
262
262
|
width: string | number;
|
|
263
263
|
height: string | number;
|
|
264
|
+
theme: "light" | "dark";
|
|
264
265
|
readonly: boolean;
|
|
265
266
|
showToolbar: boolean;
|
|
266
|
-
theme: "light" | "dark";
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
268
268
|
declare const _default: typeof __VLS_export;
|
|
269
269
|
//#endregion
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
loading: boolean;
|
|
93
|
-
animationDuration: number;
|
|
94
92
|
columns: number;
|
|
93
|
+
animationDuration: number;
|
|
95
94
|
gap: number;
|
|
96
95
|
infinite: boolean;
|
|
96
|
+
loading: boolean;
|
|
97
97
|
lazy: boolean;
|
|
98
98
|
skeleton: boolean;
|
|
99
99
|
skeletonCount: number;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -623,7 +623,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
623
623
|
"onColumn-change"?: ((columns: TableColumn[]) => any) | undefined;
|
|
624
624
|
}>, {
|
|
625
625
|
config: TableConfig;
|
|
626
|
-
loading: MaybeRefLike<boolean>;
|
|
627
626
|
rowKey: (row: DataRecord) => DataTableRowKey$1;
|
|
628
627
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
629
628
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
size: number;
|
|
54
53
|
showBorder: boolean;
|
|
55
54
|
label: string;
|
|
56
55
|
showLabel: boolean;
|
|
56
|
+
size: number;
|
|
57
|
+
mode: RenderMode;
|
|
57
58
|
color: string;
|
|
58
59
|
margin: number;
|
|
59
|
-
mode: RenderMode;
|
|
60
60
|
bgColor: string;
|
|
61
61
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
62
62
|
logo: LogoOptions;
|
|
@@ -109,9 +109,9 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
109
109
|
}>, {
|
|
110
110
|
width: number | string;
|
|
111
111
|
height: number | string;
|
|
112
|
+
disabled: boolean;
|
|
112
113
|
readonly: boolean;
|
|
113
114
|
showToolbar: boolean;
|
|
114
|
-
disabled: boolean;
|
|
115
115
|
maxHistory: number;
|
|
116
116
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
117
117
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -68,15 +68,15 @@ type __VLS_Slots = {} & {
|
|
|
68
68
|
declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
69
69
|
resize: (firstSize: number, secondSize: number) => any;
|
|
70
70
|
collapse: (target: CollapseTarget) => any;
|
|
71
|
-
expand: (target: CollapseTarget) => any;
|
|
72
71
|
"drag-start": (size: number) => any;
|
|
73
72
|
"drag-end": (size: number) => any;
|
|
73
|
+
expand: (target: CollapseTarget) => any;
|
|
74
74
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
75
75
|
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
76
76
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
77
|
-
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
78
77
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
79
78
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
79
|
+
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
82
|
step: number;
|
|
@@ -48,12 +48,12 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
48
48
|
"onChange-start"?: ((time: number | null) => any) | undefined;
|
|
49
49
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
|
-
placeholder: string;
|
|
52
51
|
format: string;
|
|
53
|
-
attrs: Record<string, any>;
|
|
54
52
|
mode: TimeMode;
|
|
53
|
+
placeholder: string;
|
|
55
54
|
startPlaceholder: string;
|
|
56
55
|
endPlaceholder: string;
|
|
56
|
+
attrs: Record<string, any>;
|
|
57
57
|
useHours: boolean;
|
|
58
58
|
useMinutes: boolean;
|
|
59
59
|
useSeconds: boolean;
|
|
@@ -102,13 +102,13 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
|
|
|
102
102
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
103
103
|
onRefresh?: (() => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
showToolbar: boolean;
|
|
106
|
-
labelField: string;
|
|
107
|
-
childrenField: string;
|
|
108
105
|
mode: TreeMode;
|
|
109
106
|
draggable: boolean;
|
|
107
|
+
labelField: string;
|
|
108
|
+
childrenField: string;
|
|
110
109
|
keyField: string;
|
|
111
110
|
actions: ActionConfig[];
|
|
111
|
+
showToolbar: boolean;
|
|
112
112
|
searchPattern: string;
|
|
113
113
|
searchable: boolean;
|
|
114
114
|
searchPlaceholder: string;
|
|
@@ -237,22 +237,22 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
237
237
|
conditionNodes: number;
|
|
238
238
|
}>;
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
|
-
"update:modelValue": (value: WorkflowData) => any;
|
|
241
240
|
change: (value: WorkflowData) => any;
|
|
241
|
+
"update:modelValue": (value: WorkflowData) => any;
|
|
242
242
|
"validate-error": (errors: ValidationError[]) => any;
|
|
243
243
|
save: (data: WorkflowData) => any;
|
|
244
244
|
"node-click": (node: WorkflowNode) => any;
|
|
245
245
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
|
-
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
248
247
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
248
|
+
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
249
249
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
250
250
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
251
251
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
252
252
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
|
-
readonly: boolean;
|
|
255
254
|
theme: "light" | "dark";
|
|
255
|
+
readonly: boolean;
|
|
256
256
|
users: User[];
|
|
257
257
|
roles: Role[];
|
|
258
258
|
departments: Department[];
|