@robot-admin/naive-ui-components 0.3.1 → 0.3.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/dist/C_Form.cjs +1 -0
- package/dist/C_Form.js +1 -0
- package/dist/C_Form2.js +22 -25
- package/dist/C_Form2.js.map +1 -1
- package/dist/C_Table.cjs +1 -0
- package/dist/C_Table.js +1 -0
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +5 -5
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index10.vue.d.ts +5 -5
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +5 -5
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index14.vue.d.ts +1 -1
- package/dist/index16.vue.d.ts +3 -3
- package/dist/index16.vue.d.ts.map +1 -1
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +3 -3
- package/dist/index8.vue.d.ts +2 -2
- package/dist/resolver.js.map +1 -1
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.ts +3 -3
- package/dist/useDynamicFormState.d.ts +118 -118
- package/dist/useDynamicFormState.d.ts.map +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useQRCode.d.ts.map +1 -1
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1296,8 +1296,66 @@ declare const useDynamicFormState: () => {
|
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
1298
|
readonly required?: boolean | undefined;
|
|
1299
|
-
readonly
|
|
1299
|
+
readonly options?: {
|
|
1300
|
+
readonly suppressWarning?: boolean | undefined;
|
|
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;
|
|
1300
1355
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1356
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1357
|
+
readonly key?: string | undefined;
|
|
1358
|
+
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1301
1359
|
readonly min?: number | undefined;
|
|
1302
1360
|
readonly max?: number | undefined;
|
|
1303
1361
|
readonly len?: number | undefined;
|
|
@@ -1446,61 +1504,6 @@ declare const useDynamicFormState: () => {
|
|
|
1446
1504
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1447
1505
|
}[];
|
|
1448
1506
|
} | undefined;
|
|
1449
|
-
readonly options?: {
|
|
1450
|
-
readonly suppressWarning?: boolean | undefined;
|
|
1451
|
-
readonly suppressValidatorError?: boolean | undefined;
|
|
1452
|
-
readonly first?: boolean | undefined;
|
|
1453
|
-
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
1454
|
-
readonly messages?: {
|
|
1455
|
-
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1456
|
-
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1457
|
-
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1458
|
-
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1459
|
-
readonly date?: {
|
|
1460
|
-
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1461
|
-
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1462
|
-
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1463
|
-
} | undefined;
|
|
1464
|
-
readonly types?: {
|
|
1465
|
-
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1466
|
-
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1467
|
-
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1468
|
-
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1469
|
-
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1470
|
-
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1471
|
-
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1472
|
-
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1473
|
-
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1474
|
-
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1475
|
-
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1476
|
-
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1477
|
-
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1478
|
-
} | undefined;
|
|
1479
|
-
readonly string?: {
|
|
1480
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1481
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1482
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1483
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1484
|
-
} | undefined;
|
|
1485
|
-
readonly number?: {
|
|
1486
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1487
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1488
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1489
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1490
|
-
} | undefined;
|
|
1491
|
-
readonly array?: {
|
|
1492
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1493
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1494
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1495
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1496
|
-
} | undefined;
|
|
1497
|
-
readonly pattern?: {
|
|
1498
|
-
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
1499
|
-
} | undefined;
|
|
1500
|
-
} | undefined;
|
|
1501
|
-
readonly keys?: readonly string[] | undefined;
|
|
1502
|
-
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1503
|
-
} | undefined;
|
|
1504
1507
|
readonly defaultField?: {
|
|
1505
1508
|
readonly type?: RuleType | undefined;
|
|
1506
1509
|
readonly required?: boolean | undefined;
|
|
@@ -1928,10 +1931,7 @@ declare const useDynamicFormState: () => {
|
|
|
1928
1931
|
}[] | undefined;
|
|
1929
1932
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1930
1933
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1931
|
-
readonly key?: string | undefined;
|
|
1932
|
-
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,8 +3573,66 @@ declare const useDynamicFormState: () => {
|
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
3575
|
readonly required?: boolean | undefined;
|
|
3576
|
-
readonly
|
|
3576
|
+
readonly options?: {
|
|
3577
|
+
readonly suppressWarning?: boolean | undefined;
|
|
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;
|
|
3577
3632
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3633
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3634
|
+
readonly key?: string | undefined;
|
|
3635
|
+
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3578
3636
|
readonly min?: number | undefined;
|
|
3579
3637
|
readonly max?: number | undefined;
|
|
3580
3638
|
readonly len?: number | undefined;
|
|
@@ -3723,61 +3781,6 @@ declare const useDynamicFormState: () => {
|
|
|
3723
3781
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
3724
3782
|
}[];
|
|
3725
3783
|
} | undefined;
|
|
3726
|
-
readonly options?: {
|
|
3727
|
-
readonly suppressWarning?: boolean | undefined;
|
|
3728
|
-
readonly suppressValidatorError?: boolean | undefined;
|
|
3729
|
-
readonly first?: boolean | undefined;
|
|
3730
|
-
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
3731
|
-
readonly messages?: {
|
|
3732
|
-
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3733
|
-
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3734
|
-
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3735
|
-
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3736
|
-
readonly date?: {
|
|
3737
|
-
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3738
|
-
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3739
|
-
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3740
|
-
} | undefined;
|
|
3741
|
-
readonly types?: {
|
|
3742
|
-
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3743
|
-
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3744
|
-
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3745
|
-
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3746
|
-
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3747
|
-
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3748
|
-
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3749
|
-
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3750
|
-
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3751
|
-
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3752
|
-
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3753
|
-
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3754
|
-
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3755
|
-
} | undefined;
|
|
3756
|
-
readonly string?: {
|
|
3757
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3758
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3759
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3760
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3761
|
-
} | undefined;
|
|
3762
|
-
readonly number?: {
|
|
3763
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3764
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3765
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3766
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3767
|
-
} | undefined;
|
|
3768
|
-
readonly array?: {
|
|
3769
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3770
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3771
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3772
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3773
|
-
} | undefined;
|
|
3774
|
-
readonly pattern?: {
|
|
3775
|
-
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
3776
|
-
} | undefined;
|
|
3777
|
-
} | undefined;
|
|
3778
|
-
readonly keys?: readonly string[] | undefined;
|
|
3779
|
-
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3780
|
-
} | undefined;
|
|
3781
3784
|
readonly defaultField?: {
|
|
3782
3785
|
readonly type?: RuleType | undefined;
|
|
3783
3786
|
readonly required?: boolean | undefined;
|
|
@@ -4205,10 +4208,7 @@ declare const useDynamicFormState: () => {
|
|
|
4205
4208
|
}[] | undefined;
|
|
4206
4209
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4207
4210
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4208
|
-
readonly key?: string | undefined;
|
|
4209
|
-
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
|
}[];
|