@robot-admin/naive-ui-components 0.6.1 → 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 -40
- 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_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 +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +6 -6
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.ts +2 -2
- 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 +37 -37
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useDynamicFormState.d.ts +118 -118
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.ts +3 -3
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTimeSelection.d.ts +1 -1
- package/dist/useTreeOperations.d.ts +5 -5
- package/dist/useWorkflowValidation.d.ts +5 -5
- package/package.json +1 -1
|
@@ -430,13 +430,13 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
|
|
|
430
430
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
431
431
|
"update:modelValue": (model: Record<string, any>) => any;
|
|
432
432
|
submit: (payload: SubmitEventPayload) => any;
|
|
433
|
-
"validate-error": (errors: unknown) => any;
|
|
434
433
|
"validate-success": (model: Record<string, any>) => any;
|
|
434
|
+
"validate-error": (errors: unknown) => any;
|
|
435
435
|
}, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
|
|
436
436
|
"onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
|
|
437
437
|
onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
|
|
438
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
439
438
|
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
439
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
441
|
config: FormConfig;
|
|
442
442
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1296,67 +1296,10 @@ declare const useDynamicFormState: () => {
|
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
1298
|
readonly required?: boolean | undefined;
|
|
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
1299
|
readonly level?: "warning" | "error" | undefined;
|
|
1355
1300
|
readonly key?: string | undefined;
|
|
1356
|
-
readonly trigger?: string | readonly string[] | undefined;
|
|
1357
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1358
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
1359
1301
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1302
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
1360
1303
|
readonly min?: number | undefined;
|
|
1361
1304
|
readonly max?: number | undefined;
|
|
1362
1305
|
readonly len?: number | undefined;
|
|
@@ -1505,6 +1448,61 @@ declare const useDynamicFormState: () => {
|
|
|
1505
1448
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1506
1449
|
}[];
|
|
1507
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;
|
|
1508
1506
|
readonly defaultField?: {
|
|
1509
1507
|
readonly type?: RuleType | undefined;
|
|
1510
1508
|
readonly required?: boolean | undefined;
|
|
@@ -1931,6 +1929,8 @@ declare const useDynamicFormState: () => {
|
|
|
1931
1929
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1932
1930
|
}[] | undefined;
|
|
1933
1931
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1932
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1933
|
+
readonly trigger?: string | readonly string[] | undefined;
|
|
1934
1934
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
@@ -3573,67 +3573,10 @@ declare const useDynamicFormState: () => {
|
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
3575
|
readonly required?: boolean | undefined;
|
|
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
3576
|
readonly level?: "warning" | "error" | undefined;
|
|
3632
3577
|
readonly key?: string | undefined;
|
|
3633
|
-
readonly trigger?: string | readonly string[] | undefined;
|
|
3634
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
3635
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
3636
3578
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3579
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
3637
3580
|
readonly min?: number | undefined;
|
|
3638
3581
|
readonly max?: number | undefined;
|
|
3639
3582
|
readonly len?: number | undefined;
|
|
@@ -3782,6 +3725,61 @@ declare const useDynamicFormState: () => {
|
|
|
3782
3725
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
3783
3726
|
}[];
|
|
3784
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;
|
|
3785
3783
|
readonly defaultField?: {
|
|
3786
3784
|
readonly type?: RuleType | undefined;
|
|
3787
3785
|
readonly required?: boolean | undefined;
|
|
@@ -4208,6 +4206,8 @@ declare const useDynamicFormState: () => {
|
|
|
4208
4206
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
4209
4207
|
}[] | undefined;
|
|
4210
4208
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4209
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4210
|
+
readonly trigger?: string | readonly string[] | undefined;
|
|
4211
4211
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
@@ -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,14 +89,14 @@ 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
|
-
gap: number;
|
|
93
92
|
columns: number;
|
|
93
|
+
animationDuration: number;
|
|
94
|
+
gap: number;
|
|
95
|
+
infinite: boolean;
|
|
94
96
|
loading: boolean;
|
|
95
97
|
lazy: boolean;
|
|
96
|
-
infinite: boolean;
|
|
97
98
|
skeleton: boolean;
|
|
98
99
|
skeletonCount: number;
|
|
99
|
-
animationDuration: number;
|
|
100
100
|
breakpoints: WaterFallBreakpoint[];
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -590,8 +590,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
590
590
|
clearAllSelections(): void;
|
|
591
591
|
};
|
|
592
592
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
593
|
-
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
594
593
|
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
594
|
+
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
595
595
|
"pagination-change": (...args: unknown[]) => any;
|
|
596
596
|
"row-delete": (...args: unknown[]) => any;
|
|
597
597
|
"expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
|
|
@@ -606,8 +606,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
606
606
|
"view-detail": (data: DataRecord) => any;
|
|
607
607
|
"column-change": (columns: TableColumn[]) => any;
|
|
608
608
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
609
|
-
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
610
609
|
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
610
|
+
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
611
611
|
"onPagination-change"?: ((...args: unknown[]) => any) | undefined;
|
|
612
612
|
"onRow-delete"?: ((...args: unknown[]) => any) | undefined;
|
|
613
613
|
"onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -53,12 +53,12 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
53
53
|
showBorder: boolean;
|
|
54
54
|
label: string;
|
|
55
55
|
showLabel: boolean;
|
|
56
|
-
mode: RenderMode;
|
|
57
56
|
size: number;
|
|
57
|
+
mode: RenderMode;
|
|
58
58
|
color: string;
|
|
59
|
+
margin: number;
|
|
59
60
|
bgColor: string;
|
|
60
61
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
-
margin: number;
|
|
62
62
|
logo: LogoOptions;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
package/dist/useSearchState.d.ts
CHANGED
|
@@ -55,16 +55,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
55
55
|
cleanFn: () => void;
|
|
56
56
|
changeFoldState: () => void;
|
|
57
57
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
-
search: (params: SearchFormParams) => any;
|
|
59
58
|
reset: () => any;
|
|
59
|
+
search: (params: SearchFormParams) => any;
|
|
60
60
|
"change-params": (params: SearchFormParams) => any;
|
|
61
61
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
62
|
-
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
63
62
|
onReset?: (() => any) | undefined;
|
|
63
|
+
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
64
64
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
bordered: boolean;
|
|
67
66
|
size: "small" | "medium" | "large";
|
|
67
|
+
bordered: boolean;
|
|
68
68
|
formItemList: SearchFormItem[];
|
|
69
69
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
70
70
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -66,24 +66,24 @@ type __VLS_Slots = {} & {
|
|
|
66
66
|
second?: (props: typeof __VLS_13) => any;
|
|
67
67
|
};
|
|
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
71
|
"drag-start": (size: number) => any;
|
|
72
72
|
"drag-end": (size: number) => any;
|
|
73
|
-
|
|
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
77
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
78
78
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
79
|
-
|
|
79
|
+
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
|
-
direction: SplitDirection;
|
|
83
82
|
step: number;
|
|
84
|
-
|
|
83
|
+
direction: SplitDirection;
|
|
85
84
|
defaultSize: number;
|
|
86
85
|
minSize: number;
|
|
86
|
+
maxSize: number;
|
|
87
87
|
collapsible: boolean;
|
|
88
88
|
showCollapseButton: boolean;
|
|
89
89
|
gutterSize: number;
|
|
@@ -49,8 +49,8 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
49
49
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
format: string;
|
|
52
|
-
placeholder: string;
|
|
53
52
|
mode: TimeMode;
|
|
53
|
+
placeholder: string;
|
|
54
54
|
startPlaceholder: string;
|
|
55
55
|
endPlaceholder: string;
|
|
56
56
|
attrs: Record<string, any>;
|
|
@@ -91,24 +91,24 @@ type __VLS_Slots = {} & {
|
|
|
91
91
|
};
|
|
92
92
|
declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
93
93
|
add: (parentNode?: TreeNodeData | undefined) => any;
|
|
94
|
-
refresh: () => any;
|
|
95
94
|
"node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
|
|
96
95
|
"node-action": (action: string, node: TreeNodeData) => any;
|
|
97
96
|
"node-drop": (info: DropInfo) => any;
|
|
97
|
+
refresh: () => any;
|
|
98
98
|
}, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
|
|
99
99
|
onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
|
|
100
|
-
onRefresh?: (() => any) | undefined;
|
|
101
100
|
"onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
|
|
102
101
|
"onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
|
|
103
102
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
103
|
+
onRefresh?: (() => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
105
|
mode: TreeMode;
|
|
106
|
-
showToolbar: boolean;
|
|
107
|
-
actions: ActionConfig[];
|
|
108
106
|
draggable: boolean;
|
|
109
107
|
labelField: string;
|
|
110
|
-
keyField: string;
|
|
111
108
|
childrenField: string;
|
|
109
|
+
keyField: string;
|
|
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
|
+
"validate-error": (errors: ValidationError[]) => any;
|
|
242
243
|
save: (data: WorkflowData) => any;
|
|
243
244
|
"node-click": (node: WorkflowNode) => any;
|
|
244
245
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
245
|
-
"validate-error": (errors: ValidationError[]) => 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
|
+
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
249
250
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
250
251
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
251
252
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
252
|
-
"onValidate-error"?: ((errors: ValidationError[]) => 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[];
|