@robot-admin/naive-ui-components 0.42.1 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/README_EN.md +1 -1
  4. package/dist/C_ResourceSchedule.css +51 -27
  5. package/dist/C_ResourceSchedule.d.cts +2 -2
  6. package/dist/C_ResourceSchedule.d.ts +2 -2
  7. package/dist/C_ResourceSchedule2.cjs +1 -1
  8. package/dist/C_ResourceSchedule2.js +1 -1
  9. package/dist/C_SplitPane.css +75 -74
  10. package/dist/C_SplitPane2.cjs +1 -1
  11. package/dist/C_SplitPane2.js +1 -1
  12. package/dist/C_Table.base.css +128 -115
  13. package/dist/C_Table.css +128 -115
  14. package/dist/C_Table2.cjs +4 -4
  15. package/dist/C_Table2.js +4 -4
  16. package/dist/C_Tabs.css +9 -9
  17. package/dist/component-config.d.ts +3 -0
  18. package/dist/constants3.d.cts +3 -3
  19. package/dist/constants3.d.ts +3 -3
  20. package/dist/constants4.d.cts +6 -6
  21. package/dist/constants4.d.ts +6 -6
  22. package/dist/context.d.cts +3 -0
  23. package/dist/data2.d.cts +19 -15
  24. package/dist/data2.d.ts +19 -15
  25. package/dist/data3.cjs +1 -1
  26. package/dist/data3.js +1 -1
  27. package/dist/editors.d.cts +9 -8
  28. package/dist/editors.d.ts +9 -8
  29. package/dist/graphics.d.cts +1 -1
  30. package/dist/graphics.d.ts +1 -1
  31. package/dist/index.d.cts +2 -2
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index13.vue.d.ts +4 -4
  34. package/dist/index14.vue.d.cts +4 -4
  35. package/dist/index14.vue.d.ts +3 -3
  36. package/dist/index15.vue.d.cts +3 -3
  37. package/dist/index17.vue.d.ts +1 -1
  38. package/dist/index18.vue.d.cts +1 -1
  39. package/dist/index19.vue.d.ts +2 -2
  40. package/dist/index2.vue.d.cts +2 -2
  41. package/dist/index2.vue.d.ts +2 -2
  42. package/dist/index20.vue.d.cts +2 -2
  43. package/dist/index20.vue.d.ts +6 -6
  44. package/dist/index21.vue.d.cts +6 -6
  45. package/dist/index21.vue.d.ts +8 -8
  46. package/dist/index22.vue.d.cts +8 -8
  47. package/dist/index26.vue.d.ts +1 -1
  48. package/dist/index27.vue.d.cts +1 -1
  49. package/dist/index27.vue.d.ts +3 -3
  50. package/dist/index28.vue.d.cts +3 -3
  51. package/dist/index29.vue.d.cts +2 -2
  52. package/dist/index29.vue.d.ts +2 -2
  53. package/dist/index3.vue.d.cts +3 -3
  54. package/dist/index3.vue.d.ts +3 -3
  55. package/dist/index34.vue.d.cts +13 -2
  56. package/dist/index34.vue.d.ts +13 -2
  57. package/dist/index35.vue.d.cts +2 -2
  58. package/dist/index35.vue.d.ts +2 -2
  59. package/dist/index38.vue.d.cts +1 -1
  60. package/dist/index38.vue.d.ts +1 -1
  61. package/dist/index39.vue.d.cts +1 -1
  62. package/dist/index39.vue.d.ts +1 -1
  63. package/dist/index41.vue.d.cts +1 -1
  64. package/dist/index41.vue.d.ts +1 -1
  65. package/dist/index42.vue.d.cts +5 -5
  66. package/dist/index42.vue.d.ts +5 -5
  67. package/dist/index43.vue.d.cts +2 -2
  68. package/dist/index43.vue.d.ts +2 -2
  69. package/dist/index5.vue.d.cts +2 -2
  70. package/dist/index5.vue.d.ts +2 -2
  71. package/dist/index6.vue.d.cts +5 -5
  72. package/dist/index6.vue.d.ts +5 -5
  73. package/dist/localSource.cjs +1 -1
  74. package/dist/localSource.d.cts +9 -4
  75. package/dist/localSource.d.ts +9 -4
  76. package/dist/localSource.js +1 -1
  77. package/dist/mapUtils.d.cts +2 -2
  78. package/dist/mapUtils.d.ts +2 -2
  79. package/dist/presets.d.cts +1 -1
  80. package/dist/presets.d.ts +1 -1
  81. package/dist/style.css +263 -225
  82. package/dist/useCollapsePanel.d.cts +3 -3
  83. package/dist/useCollapsePanel.d.ts +3 -3
  84. package/dist/useCropperCore.d.cts +5 -5
  85. package/dist/useCropperCore.d.ts +5 -5
  86. package/dist/useEdgeInteraction.d.cts +1 -1
  87. package/dist/useEdgeInteraction.d.ts +1 -1
  88. package/dist/useFullscreen.d.cts +3 -3
  89. package/dist/useFullscreen.d.ts +3 -3
  90. package/dist/useQRCode.d.cts +5 -5
  91. package/dist/useQRCode.d.ts +5 -5
  92. package/dist/useSignatureHistory.d.cts +5 -5
  93. package/dist/useSignatureHistory.d.ts +5 -5
  94. package/dist/useSplitResize.d.cts +1 -0
  95. package/dist/useSplitResize.d.ts +1 -0
  96. package/dist/useWorkflowValidation.d.cts +102 -102
  97. package/dist/useWorkflowValidation.d.ts +102 -102
  98. package/dist/verification.d.cts +4 -4
  99. package/dist/verification.d.ts +4 -4
  100. package/docs/guides/data-picker.md +2 -0
  101. package/docs/guides/data-workflows.md +4 -0
  102. package/docs/guides/resource-schedule.md +4 -0
  103. package/docs/guides/split-pane.en.md +6 -4
  104. package/docs/guides/split-pane.md +6 -11
  105. package/docs/wl-ui-produce-coverage.md +1 -1
  106. package/package.json +1 -1
@@ -362,10 +362,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
362
362
  zIndex?: number | undefined;
363
363
  extent?: "parent" | [[number, number], [number, number]] | undefined;
364
364
  expandParent?: boolean | undefined;
365
- type: "start";
365
+ type: "copy";
366
366
  data: {
367
+ copyUsers?: {
368
+ id: string;
369
+ name: string;
370
+ avatar?: string | undefined;
371
+ department: string;
372
+ departmentId?: string | undefined;
373
+ role: string;
374
+ email?: string | undefined;
375
+ phone?: string | undefined;
376
+ }[] | undefined;
367
377
  title: string;
368
- status: "active";
378
+ status?: NodeStatus | undefined;
369
379
  config?: Record<string, unknown> | undefined;
370
380
  initiators?: {
371
381
  id: string;
@@ -396,21 +406,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
396
406
  zIndex?: number | undefined;
397
407
  extent?: "parent" | [[number, number], [number, number]] | undefined;
398
408
  expandParent?: boolean | undefined;
399
- type: "approval";
409
+ type: "start";
400
410
  data: {
401
- approvers?: {
402
- id: string;
403
- name: string;
404
- avatar?: string | undefined;
405
- department: string;
406
- departmentId?: string | undefined;
407
- role: string;
408
- email?: string | undefined;
409
- phone?: string | undefined;
410
- }[] | undefined;
411
- approvalMode?: ApprovalMode | undefined;
412
411
  title: string;
413
- status?: NodeStatus | undefined;
412
+ status: "active";
414
413
  config?: Record<string, unknown> | undefined;
415
414
  initiators?: {
416
415
  id: string;
@@ -441,9 +440,9 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
441
440
  zIndex?: number | undefined;
442
441
  extent?: "parent" | [[number, number], [number, number]] | undefined;
443
442
  expandParent?: boolean | undefined;
444
- type: "copy";
443
+ type: "approval";
445
444
  data: {
446
- copyUsers?: {
445
+ approvers?: {
447
446
  id: string;
448
447
  name: string;
449
448
  avatar?: string | undefined;
@@ -453,6 +452,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
453
452
  email?: string | undefined;
454
453
  phone?: string | undefined;
455
454
  }[] | undefined;
455
+ approvalMode?: ApprovalMode | undefined;
456
456
  title: string;
457
457
  status?: NodeStatus | undefined;
458
458
  config?: Record<string, unknown> | undefined;
@@ -529,10 +529,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
529
529
  zIndex?: number | undefined;
530
530
  extent?: "parent" | [[number, number], [number, number]] | undefined;
531
531
  expandParent?: boolean | undefined;
532
- type: "start";
532
+ type: "copy";
533
533
  data: {
534
+ copyUsers?: {
535
+ id: string;
536
+ name: string;
537
+ avatar?: string | undefined;
538
+ department: string;
539
+ departmentId?: string | undefined;
540
+ role: string;
541
+ email?: string | undefined;
542
+ phone?: string | undefined;
543
+ }[] | undefined;
534
544
  title: string;
535
- status: "active";
545
+ status?: NodeStatus | undefined;
536
546
  config?: Record<string, unknown> | undefined;
537
547
  initiators?: {
538
548
  id: string;
@@ -563,21 +573,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
563
573
  zIndex?: number | undefined;
564
574
  extent?: "parent" | [[number, number], [number, number]] | undefined;
565
575
  expandParent?: boolean | undefined;
566
- type: "approval";
576
+ type: "start";
567
577
  data: {
568
- approvers?: {
569
- id: string;
570
- name: string;
571
- avatar?: string | undefined;
572
- department: string;
573
- departmentId?: string | undefined;
574
- role: string;
575
- email?: string | undefined;
576
- phone?: string | undefined;
577
- }[] | undefined;
578
- approvalMode?: ApprovalMode | undefined;
579
578
  title: string;
580
- status?: NodeStatus | undefined;
579
+ status: "active";
581
580
  config?: Record<string, unknown> | undefined;
582
581
  initiators?: {
583
582
  id: string;
@@ -608,9 +607,9 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
608
607
  zIndex?: number | undefined;
609
608
  extent?: "parent" | [[number, number], [number, number]] | undefined;
610
609
  expandParent?: boolean | undefined;
611
- type: "copy";
610
+ type: "approval";
612
611
  data: {
613
- copyUsers?: {
612
+ approvers?: {
614
613
  id: string;
615
614
  name: string;
616
615
  avatar?: string | undefined;
@@ -620,6 +619,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
620
619
  email?: string | undefined;
621
620
  phone?: string | undefined;
622
621
  }[] | undefined;
622
+ approvalMode?: ApprovalMode | undefined;
623
623
  title: string;
624
624
  status?: NodeStatus | undefined;
625
625
  config?: Record<string, unknown> | undefined;
@@ -749,10 +749,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
749
749
  zIndex?: number | undefined;
750
750
  extent?: "parent" | [[number, number], [number, number]] | undefined;
751
751
  expandParent?: boolean | undefined;
752
- type: "start";
752
+ type: "copy";
753
753
  data: {
754
+ copyUsers?: {
755
+ id: string;
756
+ name: string;
757
+ avatar?: string | undefined;
758
+ department: string;
759
+ departmentId?: string | undefined;
760
+ role: string;
761
+ email?: string | undefined;
762
+ phone?: string | undefined;
763
+ }[] | undefined;
754
764
  title: string;
755
- status: "active";
765
+ status?: NodeStatus | undefined;
756
766
  config?: Record<string, unknown> | undefined;
757
767
  initiators?: {
758
768
  id: string;
@@ -783,21 +793,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
783
793
  zIndex?: number | undefined;
784
794
  extent?: "parent" | [[number, number], [number, number]] | undefined;
785
795
  expandParent?: boolean | undefined;
786
- type: "approval";
796
+ type: "start";
787
797
  data: {
788
- approvers?: {
789
- id: string;
790
- name: string;
791
- avatar?: string | undefined;
792
- department: string;
793
- departmentId?: string | undefined;
794
- role: string;
795
- email?: string | undefined;
796
- phone?: string | undefined;
797
- }[] | undefined;
798
- approvalMode?: ApprovalMode | undefined;
799
798
  title: string;
800
- status?: NodeStatus | undefined;
799
+ status: "active";
801
800
  config?: Record<string, unknown> | undefined;
802
801
  initiators?: {
803
802
  id: string;
@@ -828,9 +827,9 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
828
827
  zIndex?: number | undefined;
829
828
  extent?: "parent" | [[number, number], [number, number]] | undefined;
830
829
  expandParent?: boolean | undefined;
831
- type: "copy";
830
+ type: "approval";
832
831
  data: {
833
- copyUsers?: {
832
+ approvers?: {
834
833
  id: string;
835
834
  name: string;
836
835
  avatar?: string | undefined;
@@ -840,6 +839,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
840
839
  email?: string | undefined;
841
840
  phone?: string | undefined;
842
841
  }[] | undefined;
842
+ approvalMode?: ApprovalMode | undefined;
843
843
  title: string;
844
844
  status?: NodeStatus | undefined;
845
845
  config?: Record<string, unknown> | undefined;
@@ -916,10 +916,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
916
916
  zIndex?: number | undefined;
917
917
  extent?: "parent" | [[number, number], [number, number]] | undefined;
918
918
  expandParent?: boolean | undefined;
919
- type: "start";
919
+ type: "copy";
920
920
  data: {
921
+ copyUsers?: {
922
+ id: string;
923
+ name: string;
924
+ avatar?: string | undefined;
925
+ department: string;
926
+ departmentId?: string | undefined;
927
+ role: string;
928
+ email?: string | undefined;
929
+ phone?: string | undefined;
930
+ }[] | undefined;
921
931
  title: string;
922
- status: "active";
932
+ status?: NodeStatus | undefined;
923
933
  config?: Record<string, unknown> | undefined;
924
934
  initiators?: {
925
935
  id: string;
@@ -950,21 +960,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
950
960
  zIndex?: number | undefined;
951
961
  extent?: "parent" | [[number, number], [number, number]] | undefined;
952
962
  expandParent?: boolean | undefined;
953
- type: "approval";
963
+ type: "start";
954
964
  data: {
955
- approvers?: {
956
- id: string;
957
- name: string;
958
- avatar?: string | undefined;
959
- department: string;
960
- departmentId?: string | undefined;
961
- role: string;
962
- email?: string | undefined;
963
- phone?: string | undefined;
964
- }[] | undefined;
965
- approvalMode?: ApprovalMode | undefined;
966
965
  title: string;
967
- status?: NodeStatus | undefined;
966
+ status: "active";
968
967
  config?: Record<string, unknown> | undefined;
969
968
  initiators?: {
970
969
  id: string;
@@ -995,9 +994,9 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
995
994
  zIndex?: number | undefined;
996
995
  extent?: "parent" | [[number, number], [number, number]] | undefined;
997
996
  expandParent?: boolean | undefined;
998
- type: "copy";
997
+ type: "approval";
999
998
  data: {
1000
- copyUsers?: {
999
+ approvers?: {
1001
1000
  id: string;
1002
1001
  name: string;
1003
1002
  avatar?: string | undefined;
@@ -1007,6 +1006,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
1007
1006
  email?: string | undefined;
1008
1007
  phone?: string | undefined;
1009
1008
  }[] | undefined;
1009
+ approvalMode?: ApprovalMode | undefined;
1010
1010
  title: string;
1011
1011
  status?: NodeStatus | undefined;
1012
1012
  config?: Record<string, unknown> | undefined;
@@ -1157,10 +1157,20 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1157
1157
  zIndex?: number | undefined;
1158
1158
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1159
1159
  expandParent?: boolean | undefined;
1160
- type: "start";
1160
+ type: "copy";
1161
1161
  data: {
1162
+ copyUsers?: {
1163
+ id: string;
1164
+ name: string;
1165
+ avatar?: string | undefined;
1166
+ department: string;
1167
+ departmentId?: string | undefined;
1168
+ role: string;
1169
+ email?: string | undefined;
1170
+ phone?: string | undefined;
1171
+ }[] | undefined;
1162
1172
  title: string;
1163
- status: "active";
1173
+ status?: NodeStatus | undefined;
1164
1174
  config?: Record<string, unknown> | undefined;
1165
1175
  initiators?: {
1166
1176
  id: string;
@@ -1191,21 +1201,10 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1191
1201
  zIndex?: number | undefined;
1192
1202
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1193
1203
  expandParent?: boolean | undefined;
1194
- type: "approval";
1204
+ type: "start";
1195
1205
  data: {
1196
- approvers?: {
1197
- id: string;
1198
- name: string;
1199
- avatar?: string | undefined;
1200
- department: string;
1201
- departmentId?: string | undefined;
1202
- role: string;
1203
- email?: string | undefined;
1204
- phone?: string | undefined;
1205
- }[] | undefined;
1206
- approvalMode?: ApprovalMode | undefined;
1207
1206
  title: string;
1208
- status?: NodeStatus | undefined;
1207
+ status: "active";
1209
1208
  config?: Record<string, unknown> | undefined;
1210
1209
  initiators?: {
1211
1210
  id: string;
@@ -1236,9 +1235,9 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1236
1235
  zIndex?: number | undefined;
1237
1236
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1238
1237
  expandParent?: boolean | undefined;
1239
- type: "copy";
1238
+ type: "approval";
1240
1239
  data: {
1241
- copyUsers?: {
1240
+ approvers?: {
1242
1241
  id: string;
1243
1242
  name: string;
1244
1243
  avatar?: string | undefined;
@@ -1248,6 +1247,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1248
1247
  email?: string | undefined;
1249
1248
  phone?: string | undefined;
1250
1249
  }[] | undefined;
1250
+ approvalMode?: ApprovalMode | undefined;
1251
1251
  title: string;
1252
1252
  status?: NodeStatus | undefined;
1253
1253
  config?: Record<string, unknown> | undefined;
@@ -1347,10 +1347,20 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1347
1347
  zIndex?: number | undefined;
1348
1348
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1349
1349
  expandParent?: boolean | undefined;
1350
- type: "start";
1350
+ type: "copy";
1351
1351
  data: {
1352
+ copyUsers?: {
1353
+ id: string;
1354
+ name: string;
1355
+ avatar?: string | undefined;
1356
+ department: string;
1357
+ departmentId?: string | undefined;
1358
+ role: string;
1359
+ email?: string | undefined;
1360
+ phone?: string | undefined;
1361
+ }[] | undefined;
1352
1362
  title: string;
1353
- status: "active";
1363
+ status?: NodeStatus | undefined;
1354
1364
  config?: Record<string, unknown> | undefined;
1355
1365
  initiators?: {
1356
1366
  id: string;
@@ -1381,21 +1391,10 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1381
1391
  zIndex?: number | undefined;
1382
1392
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1383
1393
  expandParent?: boolean | undefined;
1384
- type: "approval";
1394
+ type: "start";
1385
1395
  data: {
1386
- approvers?: {
1387
- id: string;
1388
- name: string;
1389
- avatar?: string | undefined;
1390
- department: string;
1391
- departmentId?: string | undefined;
1392
- role: string;
1393
- email?: string | undefined;
1394
- phone?: string | undefined;
1395
- }[] | undefined;
1396
- approvalMode?: ApprovalMode | undefined;
1397
1396
  title: string;
1398
- status?: NodeStatus | undefined;
1397
+ status: "active";
1399
1398
  config?: Record<string, unknown> | undefined;
1400
1399
  initiators?: {
1401
1400
  id: string;
@@ -1426,9 +1425,9 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1426
1425
  zIndex?: number | undefined;
1427
1426
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1428
1427
  expandParent?: boolean | undefined;
1429
- type: "copy";
1428
+ type: "approval";
1430
1429
  data: {
1431
- copyUsers?: {
1430
+ approvers?: {
1432
1431
  id: string;
1433
1432
  name: string;
1434
1433
  avatar?: string | undefined;
@@ -1438,6 +1437,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1438
1437
  email?: string | undefined;
1439
1438
  phone?: string | undefined;
1440
1439
  }[] | undefined;
1440
+ approvalMode?: ApprovalMode | undefined;
1441
1441
  title: string;
1442
1442
  status?: NodeStatus | undefined;
1443
1443
  config?: Record<string, unknown> | undefined;
@@ -76,21 +76,21 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
76
76
  reset: () => void;
77
77
  show: () => void;
78
78
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
79
- reset: () => any;
80
- success: (data: CaptchaSuccessPayload) => any;
81
79
  change: (valid: boolean) => any;
80
+ success: (data: CaptchaSuccessPayload) => any;
82
81
  fail: (error: string) => any;
83
82
  "verify-error": (error: unknown) => any;
84
83
  "load-error": (error: unknown) => any;
85
84
  "visible-change": (visible: boolean) => any;
85
+ reset: () => any;
86
86
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
87
- onReset?: (() => any) | undefined;
88
- onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
89
87
  onChange?: ((valid: boolean) => any) | undefined;
88
+ onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
90
89
  onFail?: ((error: string) => any) | undefined;
91
90
  "onVerify-error"?: ((error: unknown) => any) | undefined;
92
91
  "onLoad-error"?: ((error: unknown) => any) | undefined;
93
92
  "onVisible-change"?: ((visible: boolean) => any) | undefined;
93
+ onReset?: (() => any) | undefined;
94
94
  }>, {
95
95
  disabled: boolean;
96
96
  provider: CaptchaProvider;
@@ -76,21 +76,21 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
76
76
  reset: () => void;
77
77
  show: () => void;
78
78
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
79
- reset: () => any;
80
- success: (data: CaptchaSuccessPayload) => any;
81
79
  change: (valid: boolean) => any;
80
+ success: (data: CaptchaSuccessPayload) => any;
82
81
  fail: (error: string) => any;
83
82
  "verify-error": (error: unknown) => any;
84
83
  "load-error": (error: unknown) => any;
85
84
  "visible-change": (visible: boolean) => any;
85
+ reset: () => any;
86
86
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
87
- onReset?: (() => any) | undefined;
88
- onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
89
87
  onChange?: ((valid: boolean) => any) | undefined;
88
+ onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
90
89
  onFail?: ((error: string) => any) | undefined;
91
90
  "onVerify-error"?: ((error: unknown) => any) | undefined;
92
91
  "onLoad-error"?: ((error: unknown) => any) | undefined;
93
92
  "onVisible-change"?: ((visible: boolean) => any) | undefined;
93
+ onReset?: (() => any) | undefined;
94
94
  }>, {
95
95
  disabled: boolean;
96
96
  provider: CaptchaProvider;
@@ -171,6 +171,8 @@ const source = createLocalDataPickerSource({
171
171
  })
172
172
  ```
173
173
 
174
+ 需要页内结构化筛选时,配置 `filter(row, filters)`。`filters` 的类型从回调声明推导,首屏未提供条件时为 `undefined`。结构化条件与内置关键词匹配共同执行,再计算总数和分页。自定义规则也可通过 `searchText: false` 配合 `filter(row, filters, { search })` 接管关键词。值回显和粘贴编码仍在传入的完整候选范围内查找。
175
+
174
176
  ```vue
175
177
  <C_DataPicker
176
178
  v-model="customerId"
@@ -137,6 +137,10 @@ const details = useDataResource({
137
137
 
138
138
  ## 多页签共享查询
139
139
 
140
+ 主从表可在 `C_Table` 传 `active-row-key`,并监听 `row-activate`。事件提供行对象和稳定行键,由页面决定是否切换当前记录。传 `null` 可以在尚未选中记录时接受激活。批量勾选仍各自使用选择列,行里的链接、输入框和操作按钮保留自己的交互。
141
+
142
+ `C_Tabs` 自带方向键、Home、End 和联动焦点。内容在另一个容器时,用 `tabs-only`,并给对应项配置 `tabId` 和 `panelId`。内容区通过相同的 `panelId` 和 `aria-labelledby` 关联页签,仍可独立安排滚动和挂载时机。
143
+
140
144
  `useTabbedQuery` 在 `/workflows` 提供。适合一组共用筛选条件、分别分页的页签。页面传活动页签、初始条件和一个请求函数,即可把同一份状态接到搜索与当前表格。
141
145
 
142
146
  ```ts
@@ -57,3 +57,7 @@
57
57
  - `navigation` 通过 `update:range` 请求翻到相邻等长时段。页面可以按时段和资源加载数据。跨时区显示用 `timeZone`,默认 UTC。
58
58
  - `#booking` 可定制块内摘要,`#details` 可接入页面的查看、编辑或改期操作,这些插槽收到原始业务记录。键盘焦点沿标记移动,也可直接激活预约。
59
59
  - 组件负责展示与选择,业务提交、时间冲突复核和自动调度由宿主应用执行。
60
+
61
+ 工序等固定时间轴可通过 `axisTicks` 提交明确的时间戳,用 `formatTick` 统一刻度文案。组件按实际时间定位刻度线,过滤范围外值和重复值。
62
+
63
+ 用 `bookingTone` 标记业务状态,冲突仍按占用区间独立计算。`bookingLabel` 提供包含业务信息的读屏标签和提示文本。单击继续选择,`activatable` 返回 `true` 的时间块可双击或按 Enter 后发出 `activate`。当摘要已由页面展示时,可用 `hideDetails` 收起组件内摘要。
@@ -86,6 +86,8 @@ A fine divider line carries a centered capsule grip (80px long, 16px thick by de
86
86
 
87
87
  The capsule itself accepts dragging without increasing the layout space reserved by `gutterSize`. Touch input gets a 24px grip thickness and permanently visible 28px buttons. Collapsed controls dock inside the container to avoid clipping. Inline SVG arrows require no remote icon request, and reduced-motion preferences disable transitions.
88
88
 
89
+ Collapsing, switching panes and restoring use a short transition. You can reverse it or take over by dragging before it finishes. Inside a scrolling container, the grip moves back into view with the smallest necessary scroll after the interaction. With reduced motion enabled, resizing and scrolling take effect immediately.
90
+
89
91
  The [W3C APG Window Splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) informs keyboard behavior and separator semantics. Use Left/Right for left/right layouts and Up/Down for top/bottom layouts. Home/End move to the current boundaries. Enter or double-click collapses the first pane or restores either collapsed pane. A single click focuses the separator. A pointer drag starts after 3px of movement.
90
92
 
91
93
  For workspaces that keep both panels visible, use `collapsible="false"`. The `gutterSize` sets the separator's layout width or height. Reserve space for drag travel in addition to the panel minimums and the gutter.
@@ -94,12 +96,12 @@ Pointer Events support mouse, pen and touch. Pointer cancellation, window blur,
94
96
 
95
97
  The separator exposes orientation, its decimal value, responsive limits and a unique controlled pane ID. Collapse buttons expose their target and expanded state, show keyboard focus and remain visible for touch input.
96
98
 
97
- `resize(first, second)` reports actual displayed proportions; `update:size` requests a controlled-state change. `drag-start/drag-end` report gesture boundaries. `collapse/expand` report actual state transitions. Exposed methods: `setSize`, `resetSize`, `collapse`, `expand`, `toggle`, `getPanelInfo`.
99
+ `resize(first, second)` reports actual displayed proportions. `update:size` requests a controlled-state change and suppresses consecutive duplicate requests during a drag. `drag-start/drag-end` report gesture boundaries. `collapse/expand` report actual state transitions. With collapse disabled, moving to or from a size limit only reports a resize. Available methods include `setSize`, `resetSize`, `collapse`, `expand`, `toggle`, and `getPanelInfo`.
98
100
 
99
101
  ## Production-reference comparison
100
102
 
101
- The `wl-ui-produce` comparison was read-only: no component migration or backend write was performed. Three Vue files use `jh-drag-row`; no current `src` call uses `jh-drag-col`. Left/right tree examples come from its local layout standard 14. The installed common-core source/declarations are partly stripped, so they cannot prove every threshold documented in that standard.
103
+ Steelmaking dispatch, heat confirmation and ATP estimates use `jh-drag-row`. Work-order creation and the bundling dialog also use `jh-drag-col`. The platform runtime handles mouse and touch separately through `document.on*` properties and throttles updates to roughly 40ms. `C_SplitPane` uses Pointer Events, updates at most once per frame, applies the final pointer position on release, and provides keyboard resizing and independent collapse buttons.
102
104
 
103
- Both implementations are movable pane separators. The production master/detail wrapper supplies `top-height=390/470` pixel initial values; the local standard shows `left-width=240`. This library deliberately retains percentage initial values and adds physical minima, rather than introducing multiple pixel aliases. Convert an exact pixel initial value at the application boundary when needed.
105
+ Steelmaking master/detail pages reserve a 20px divider. A stacked `C_SplitPane` can use `direction="vertical"`, `:gutter-size="20"`, and a pixel minimum for each pane. Disable collapse when both tables should remain visible. The platform accepts initial pixel dimensions through `top-height` and `left-width`. Use a percentage for `defaultSize` and `v-model:size`, or calculate a percentage at the application boundary for an exact initial pixel size.
104
106
 
105
- `c_steelListPanel` owns its ResizeObserver and table layout call. `c_steelWorkstation` also coordinates forms, streams, Tabs and business data. SplitPane supplies geometry; it does not replace those domain responsibilities or establish equivalence with Element Plus / BaseTable / AG Grid. See the [coverage assessment](../wl-ui-produce-coverage.md) for the wider limitations.
107
+ Production pages also budget space against visible rows and empty states, retain the user's drag ratio, and allow page scrolling in very short windows. The page owns those sizing decisions, along with master/detail queries and draft state. The table owns its row layout. See the [coverage assessment](../wl-ui-produce-coverage.md) for related scenarios.
@@ -100,6 +100,8 @@
100
100
 
101
101
  胶囊是独立的实际拖动区域,其视觉厚度不会改变 `gutterSize` 占用的布局空间。触屏下握柄厚度增至 24px、折叠按钮增至 28px,并保持按钮常驻;折叠到边缘时控件向容器内部停靠,避免被裁切。箭头使用本地 SVG,不请求远程图标。
102
102
 
103
+ 折叠切换和恢复使用短过渡,动画中可以直接反向操作或接手拖动。分栏位于滚动容器内时,组件会在操作结束后按最短距离平滑露出手柄。系统启用「减少动态效果」时,布局和滚动立即到位。
104
+
103
105
  键盘交互与 separator 语义参照 [W3C APG Window Splitter](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/)。可用 `aria-label="订单主表"` 设置面板对应的可访问名称。
104
106
 
105
107
  - 拖动支持鼠标、触控笔和触屏 Pointer Events,不接管宿主的 `document.onmousemove`。
@@ -109,21 +111,14 @@
109
111
  - 如果业务需要同时保留两张表,设置 `collapsible="false"`,并通过 `gutterSize` 分配手柄宽度或高度。父容器除了两侧最小尺寸和分隔条,还需预留拖动行程。
110
112
  - `role="separator"` 提供 orientation、当前百分比、真实上下限和唯一的受控面板 ID。折叠内容不能通过 Tab 获取焦点。
111
113
 
112
- `resize(first, second)` 表示实际显示比例变化,`update:size(size)` 用于受控状态更新;`drag-start/drag-end` 可记录拖动会话。`collapse/expand` 表示实际折叠状态变化。暴露 `setSize/resetSize/collapse/expand/toggle/getPanelInfo`,应用无需查找或操作内部 DOM。
114
+ `resize(first, second)` 表示实际显示比例变化。`update:size(size)` 用于受控状态更新,拖动中连续相同的请求只发送一次。`drag-start/drag-end` 可记录拖动会话。`collapse/expand` 表示实际折叠状态变化。关闭折叠时,到达或离开尺寸边界只通知比例变化。应用可调用 `setSize/resetSize/collapse/expand/toggle/getPanelInfo`。
113
115
 
114
116
  ## 与 wl-ui-produce 的对应关系
115
117
 
116
- 本轮只读对比 `wl-ui-produce` 的真实 `jh-drag-row` 调用(3 个 Vue 文件;当前 src 未发现 col 标签)、`@jhlc/common-core` 安装源码/声明以及本地布局规范 14,未修改该项目,也未更换其 BaseTable/AG Grid 或 Element Plus 技术栈。
118
+ 炼钢计划调度、炉次确认和 ATP 预估使用 `jh-drag-row`,生产工单创建与打包弹窗也实际使用 `jh-drag-col`。平台上下和左右手柄分别处理鼠标与触摸,通过 `document.on*` 属性注册拖动事件,并以约 40ms 节流更新。`C_SplitPane` 统一使用 Pointer Events,每帧最多更新一次,松手时应用最终位置,并提供键盘调整与独立折叠入口。
117
119
 
118
- | 生产项目证据 | C_SplitPane 对应能力 / 边界 |
119
- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
120
- | 规范 14 的 `jh-drag-col` 左树右表示例、`leftWidth=240`(当前 src 无真实 col 调用) | 同类左右布局。这里保留百分比初值与双向绑定,新增各面板 px 最小值;**不提供** `leftWidth/rightWidth` 固定像素初值别名 |
121
- | `c_steelMasterDetail` 使用 `jh-drag-row`,`top-height=390/470` | 同类上下主从布局,`direction="vertical"`;默认比例应按页面高度设计,精确 px 初值可由应用测量后换算,不把 px 值直接传给百分比 `defaultSize` |
122
- | 本地规范 14:原生 slot、多层嵌套和完整高度链 | 直接渲染 slot;组件自身包含 min-height/min-width:0,页面和 Tabs 的外部高度链仍由应用保证 |
123
- | `c_steelListPanel` 自己观察 panel 并调用 `table.doLayout` | 同样保持布局与表格职责分离;原生 C_Table 的 flexHeight 负责表内尺寸适配 |
124
- | `c_steelWorkstation` 还有多 Tab 表单、流别/物料表和页面级纵向滚动 | 这是工作台业务组合;分割面板能提供尺寸布局,不能替代查询/编辑/主从关系/Tab 状态与流程管理 |
125
- | 规范 FAQ 提及 common-core 可配置像素阈值 | 安装包部分源码/声明被裁剪,未据此推断其完整实际 API;本库的像素约束以自身实现和测试为准 |
120
+ 炼钢主从表为整条手柄预留 20px。上下多表可以在 `C_SplitPane` 设置 `direction="vertical"`、`:gutter-size="20"` 和两侧像素下限。两张表都需要常驻时可以关闭折叠。平台接受 `top-height` / `left-width` 像素初值。本组件的 `defaultSize` 和 `v-model:size` 使用百分比,精确的初始像素可由页面按可用空间换算。
126
121
 
127
- 因此两者的分割手柄属于同一类机制;C_SplitPane 能作为复杂多表布局基础,但不能保证“任意业务场景零配置覆盖”。交叉冻结列、树表权限、主从联动、编辑提交、业务事务和超长工作台仍由各自组件与应用组合完成。
122
+ 生产页会按可见行数、空态高度和用户调整过的比例分配空间,并为极矮窗口保留页面滚动。这样的内容预算适合由页面维护。编辑草稿、主从查询和表格重排仍由表格及应用处理。
128
123
 
129
124
  允许用户自由重组页签和面板的路由,可以参考[多面板工作台布局](./dockable-workbench.md)选用独立的布局方案。
@@ -15,7 +15,7 @@
15
15
  - 静态检索 `src/views/produce` 下 42 个 Vue 视图文件;这不是 42 个页面逐个运行验收。
16
16
  - 阅读 `c_steelListPanel`、`c_steelMasterDetail`、`c_steelWorkstation`、`c_listModal` 与炼钢 `shared/{types,runtime,query,page-factory}`。
17
17
  - 抽查钢水转移、配料、跟踪、退火、委外多表和 `reports/components/ReportView.vue` 的布局及接口边界。
18
- - `jh-drag-row` 实际出现于 3 个 Vue 文件:主从包装、退火和委外;当前 `src` 未发现 `jh-drag-col` 标签调用。左右分屏来自项目规范和组件语义,不冒充已上线页面事实。
18
+ - 2026-12-02 复核补充了实际左右分栏。生产工单创建页和打包弹窗都使用 `jh-drag-col`。炼钢计划调度、炉次确认与 ATP 预估使用 `jh-drag-row`,其中炼钢主从包装为分隔条预留 20px。
19
19
  - 参考项目本地 `C_Tree` 是 Element Tree 封装,未发现视图实际使用它;树的覆盖判断依据其声明、Naive 官方协议和本库回归,不作为生产页面迁移证明。
20
20
 
21
21
  ## 能力矩阵
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.42.1",
6
+ "version": "0.43.0",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "packageManager": "bun@1.4.2",
9
9
  "engines": {