@robot-admin/naive-ui-components 0.42.1 → 0.42.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 +9 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_SplitPane.css +9 -10
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants3.d.cts +7 -7
- package/dist/constants3.d.ts +7 -7
- package/dist/constants4.d.cts +4 -4
- package/dist/constants4.d.ts +4 -4
- package/dist/data2.d.cts +9 -9
- package/dist/data2.d.ts +9 -9
- package/dist/editors.d.cts +7 -7
- package/dist/editors.d.ts +7 -7
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +4 -4
- package/dist/index14.vue.d.cts +4 -4
- package/dist/index14.vue.d.ts +3 -3
- package/dist/index15.vue.d.cts +3 -3
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.ts +5 -5
- package/dist/index21.vue.d.cts +5 -5
- package/dist/index21.vue.d.ts +7 -7
- package/dist/index22.vue.d.cts +7 -7
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index29.vue.d.cts +2 -2
- package/dist/index29.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +5 -5
- package/dist/index3.vue.d.ts +5 -5
- package/dist/index31.vue.d.cts +1 -1
- package/dist/index31.vue.d.ts +1 -1
- package/dist/index38.vue.d.cts +1 -1
- package/dist/index38.vue.d.ts +1 -1
- package/dist/index39.vue.d.cts +2 -2
- package/dist/index39.vue.d.ts +2 -2
- package/dist/index42.vue.d.cts +3 -3
- package/dist/index42.vue.d.ts +3 -3
- package/dist/index43.vue.d.cts +2 -2
- package/dist/index43.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +1 -1
- package/dist/index5.vue.d.ts +1 -1
- package/dist/index6.vue.d.cts +5 -5
- package/dist/index6.vue.d.ts +5 -5
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +9 -10
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +5 -5
- package/dist/useCollapsePanel.d.ts +5 -5
- package/dist/useCropperCore.d.cts +6 -6
- package/dist/useCropperCore.d.ts +6 -6
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useWorkflowValidation.d.cts +102 -102
- package/dist/useWorkflowValidation.d.ts +102 -102
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/split-pane.en.md +4 -4
- package/docs/guides/split-pane.md +4 -11
- package/docs/wl-ui-produce-coverage.md +1 -1
- 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: "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
443
|
+
type: "approval";
|
|
445
444
|
data: {
|
|
446
|
-
|
|
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: "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
610
|
+
type: "approval";
|
|
612
611
|
data: {
|
|
613
|
-
|
|
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: "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
830
|
+
type: "approval";
|
|
832
831
|
data: {
|
|
833
|
-
|
|
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: "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
997
|
+
type: "approval";
|
|
999
998
|
data: {
|
|
1000
|
-
|
|
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: "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
1238
|
+
type: "approval";
|
|
1240
1239
|
data: {
|
|
1241
|
-
|
|
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: "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
1428
|
+
type: "approval";
|
|
1430
1429
|
data: {
|
|
1431
|
-
|
|
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;
|
package/dist/verification.d.cts
CHANGED
|
@@ -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
79
|
success: (data: CaptchaSuccessPayload) => any;
|
|
81
80
|
change: (valid: boolean) => 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
87
|
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
88
|
onChange?: ((valid: boolean) => 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;
|
package/dist/verification.d.ts
CHANGED
|
@@ -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
79
|
success: (data: CaptchaSuccessPayload) => any;
|
|
81
80
|
change: (valid: boolean) => 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
87
|
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
88
|
onChange?: ((valid: boolean) => 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;
|
|
@@ -94,12 +94,12 @@ Pointer Events support mouse, pen and touch. Pointer cancellation, window blur,
|
|
|
94
94
|
|
|
95
95
|
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
96
|
|
|
97
|
-
`resize(first, second)` reports actual displayed proportions
|
|
97
|
+
`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
98
|
|
|
99
99
|
## Production-reference comparison
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
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
102
|
|
|
103
|
-
|
|
103
|
+
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
104
|
|
|
105
|
-
|
|
105
|
+
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.
|
|
@@ -109,21 +109,14 @@
|
|
|
109
109
|
- 如果业务需要同时保留两张表,设置 `collapsible="false"`,并通过 `gutterSize` 分配手柄宽度或高度。父容器除了两侧最小尺寸和分隔条,还需预留拖动行程。
|
|
110
110
|
- `role="separator"` 提供 orientation、当前百分比、真实上下限和唯一的受控面板 ID。折叠内容不能通过 Tab 获取焦点。
|
|
111
111
|
|
|
112
|
-
`resize(first, second)`
|
|
112
|
+
`resize(first, second)` 表示实际显示比例变化。`update:size(size)` 用于受控状态更新,拖动中连续相同的请求只发送一次。`drag-start/drag-end` 可记录拖动会话。`collapse/expand` 表示实际折叠状态变化。关闭折叠时,到达或离开尺寸边界只通知比例变化。应用可调用 `setSize/resetSize/collapse/expand/toggle/getPanelInfo`。
|
|
113
113
|
|
|
114
114
|
## 与 wl-ui-produce 的对应关系
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
炼钢计划调度、炉次确认和 ATP 预估使用 `jh-drag-row`,生产工单创建与打包弹窗也实际使用 `jh-drag-col`。平台上下和左右手柄分别处理鼠标与触摸,通过 `document.on*` 属性注册拖动事件,并以约 40ms 节流更新。`C_SplitPane` 统一使用 Pointer Events,每帧最多更新一次,松手时应用最终位置,并提供键盘调整与独立折叠入口。
|
|
117
117
|
|
|
118
|
-
|
|
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;本库的像素约束以自身实现和测试为准 |
|
|
118
|
+
炼钢主从表为整条手柄预留 20px。上下多表可以在 `C_SplitPane` 设置 `direction="vertical"`、`:gutter-size="20"` 和两侧像素下限。两张表都需要常驻时可以关闭折叠。平台接受 `top-height` / `left-width` 像素初值。本组件的 `defaultSize` 和 `v-model:size` 使用百分比,精确的初始像素可由页面按可用空间换算。
|
|
126
119
|
|
|
127
|
-
|
|
120
|
+
生产页会按可见行数、空态高度和用户调整过的比例分配空间,并为极矮窗口保留页面滚动。这样的内容预算适合由页面维护。编辑草稿、主从查询和表格重排仍由表格及应用处理。
|
|
128
121
|
|
|
129
122
|
允许用户自由重组页签和面板的路由,可以参考[多面板工作台布局](./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-
|
|
18
|
+
- 2026-12-02 复核补充了实际左右分栏。生产工单创建页和打包弹窗都使用 `jh-drag-col`。炼钢计划调度、炉次确认与 ATP 预估使用 `jh-drag-row`,其中炼钢主从包装为分隔条预留 20px。
|
|
19
19
|
- 参考项目本地 `C_Tree` 是 Element Tree 封装,未发现视图实际使用它;树的覆盖判断依据其声明、Naive 官方协议和本库回归,不作为生产页面迁移证明。
|
|
20
20
|
|
|
21
21
|
## 能力矩阵
|