@robot-admin/naive-ui-components 0.42.2 → 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 (103) hide show
  1. package/CHANGELOG.md +9 -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 +68 -66
  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/constants.d.cts +1 -1
  19. package/dist/constants.d.ts +1 -1
  20. package/dist/constants3.d.cts +8 -8
  21. package/dist/constants3.d.ts +8 -8
  22. package/dist/constants4.d.cts +7 -7
  23. package/dist/constants4.d.ts +7 -7
  24. package/dist/context.d.cts +3 -0
  25. package/dist/data2.d.cts +16 -12
  26. package/dist/data2.d.ts +16 -12
  27. package/dist/data3.cjs +1 -1
  28. package/dist/data3.js +1 -1
  29. package/dist/editors.d.cts +9 -8
  30. package/dist/editors.d.ts +9 -8
  31. package/dist/graphics.d.cts +1 -1
  32. package/dist/graphics.d.ts +1 -1
  33. package/dist/index.d.cts +2 -2
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index11.vue.d.ts +3 -3
  36. package/dist/index12.vue.d.cts +3 -3
  37. package/dist/index14.vue.d.ts +2 -2
  38. package/dist/index15.vue.d.cts +2 -2
  39. package/dist/index17.vue.d.ts +1 -1
  40. package/dist/index18.vue.d.cts +1 -1
  41. package/dist/index19.vue.d.ts +2 -2
  42. package/dist/index20.vue.d.cts +2 -2
  43. package/dist/index20.vue.d.ts +2 -2
  44. package/dist/index21.vue.d.cts +2 -2
  45. package/dist/index21.vue.d.ts +9 -9
  46. package/dist/index22.vue.d.cts +9 -9
  47. package/dist/index23.vue.d.ts +2 -2
  48. package/dist/index24.vue.d.cts +2 -2
  49. package/dist/index24.vue.d.ts +1 -1
  50. package/dist/index25.vue.d.cts +1 -1
  51. package/dist/index26.vue.d.ts +1 -1
  52. package/dist/index27.vue.d.cts +1 -1
  53. package/dist/index27.vue.d.ts +1 -1
  54. package/dist/index28.vue.d.cts +1 -1
  55. package/dist/index29.vue.d.cts +2 -2
  56. package/dist/index29.vue.d.ts +2 -2
  57. package/dist/index3.vue.d.cts +4 -4
  58. package/dist/index3.vue.d.ts +4 -4
  59. package/dist/index31.vue.d.cts +1 -1
  60. package/dist/index31.vue.d.ts +1 -1
  61. package/dist/index34.vue.d.cts +13 -2
  62. package/dist/index34.vue.d.ts +13 -2
  63. package/dist/index35.vue.d.cts +2 -2
  64. package/dist/index35.vue.d.ts +2 -2
  65. package/dist/index38.vue.d.cts +2 -2
  66. package/dist/index38.vue.d.ts +2 -2
  67. package/dist/index39.vue.d.cts +1 -1
  68. package/dist/index39.vue.d.ts +1 -1
  69. package/dist/index41.vue.d.cts +1 -1
  70. package/dist/index41.vue.d.ts +1 -1
  71. package/dist/index42.vue.d.cts +4 -4
  72. package/dist/index42.vue.d.ts +4 -4
  73. package/dist/index5.vue.d.cts +1 -1
  74. package/dist/index5.vue.d.ts +1 -1
  75. package/dist/index6.vue.d.cts +2 -2
  76. package/dist/index6.vue.d.ts +2 -2
  77. package/dist/localSource.cjs +1 -1
  78. package/dist/localSource.d.cts +9 -4
  79. package/dist/localSource.d.ts +9 -4
  80. package/dist/localSource.js +1 -1
  81. package/dist/style.css +256 -217
  82. package/dist/useCalendarEvents.d.cts +1 -1
  83. package/dist/useCalendarEvents.d.ts +1 -1
  84. package/dist/useCollapsePanel.d.cts +6 -6
  85. package/dist/useCollapsePanel.d.ts +6 -6
  86. package/dist/useCropperCore.d.cts +1 -1
  87. package/dist/useCropperCore.d.ts +1 -1
  88. package/dist/useFullscreen.d.cts +4 -4
  89. package/dist/useFullscreen.d.ts +4 -4
  90. package/dist/useQRCode.d.cts +3 -3
  91. package/dist/useQRCode.d.ts +3 -3
  92. package/dist/useSignatureHistory.d.cts +2 -2
  93. package/dist/useSignatureHistory.d.ts +2 -2
  94. package/dist/useSplitResize.d.cts +5 -4
  95. package/dist/useSplitResize.d.ts +5 -4
  96. package/dist/verification.d.cts +2 -2
  97. package/dist/verification.d.ts +2 -2
  98. package/docs/guides/data-picker.md +2 -0
  99. package/docs/guides/data-workflows.md +4 -0
  100. package/docs/guides/resource-schedule.md +4 -0
  101. package/docs/guides/split-pane.en.md +2 -0
  102. package/docs/guides/split-pane.md +2 -0
  103. package/package.json +1 -1
@@ -81,8 +81,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
81
81
  "onEvent-resized"?: ((event: Partial<CalendarEvent>) => any) | undefined;
82
82
  }>, {
83
83
  editable: boolean;
84
- events: CalendarEvent[];
85
84
  initialView: CalendarViewType;
85
+ events: CalendarEvent[];
86
86
  showAddDialog: boolean;
87
87
  showEditDialog: boolean;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -81,8 +81,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
81
81
  "onEvent-resized"?: ((event: Partial<CalendarEvent>) => any) | undefined;
82
82
  }>, {
83
83
  editable: boolean;
84
- events: CalendarEvent[];
85
84
  initialView: CalendarViewType;
85
+ events: CalendarEvent[];
86
86
  showAddDialog: boolean;
87
87
  showEditDialog: boolean;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -73,23 +73,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
73
73
  };
74
74
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
75
75
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
76
- "update:activeKeys": (keys: string[]) => any;
76
+ change: (activeKeys: string[]) => any;
77
77
  expand: (key: string) => any;
78
78
  collapse: (key: string) => any;
79
- change: (activeKeys: string[]) => any;
79
+ "update:activeKeys": (keys: string[]) => any;
80
80
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
81
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
81
+ onChange?: ((activeKeys: string[]) => any) | undefined;
82
82
  onExpand?: ((key: string) => any) | undefined;
83
83
  onCollapse?: ((key: string) => any) | undefined;
84
- onChange?: ((activeKeys: string[]) => any) | undefined;
84
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
85
85
  }>, {
86
86
  bordered: boolean;
87
+ accordion: boolean;
88
+ persistKey: string;
87
89
  activeKeys: string[];
88
90
  defaultActiveKeys: string[];
89
- accordion: boolean;
90
91
  variant: CollapsePanelVariant;
91
92
  expandIconPosition: ExpandIconPosition;
92
- persistKey: string;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
95
95
  declare const _default: typeof __VLS_export;
@@ -73,23 +73,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
73
73
  };
74
74
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
75
75
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
76
- "update:activeKeys": (keys: string[]) => any;
76
+ change: (activeKeys: string[]) => any;
77
77
  expand: (key: string) => any;
78
78
  collapse: (key: string) => any;
79
- change: (activeKeys: string[]) => any;
79
+ "update:activeKeys": (keys: string[]) => any;
80
80
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
81
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
81
+ onChange?: ((activeKeys: string[]) => any) | undefined;
82
82
  onExpand?: ((key: string) => any) | undefined;
83
83
  onCollapse?: ((key: string) => any) | undefined;
84
- onChange?: ((activeKeys: string[]) => any) | undefined;
84
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
85
85
  }>, {
86
86
  bordered: boolean;
87
+ accordion: boolean;
88
+ persistKey: string;
87
89
  activeKeys: string[];
88
90
  defaultActiveKeys: string[];
89
- accordion: boolean;
90
91
  variant: CollapsePanelVariant;
91
92
  expandIconPosition: ExpandIconPosition;
92
- persistKey: string;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
95
95
  declare const _default: typeof __VLS_export;
@@ -66,13 +66,13 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
66
66
  disabled: boolean;
67
67
  height: string | number;
68
68
  showToolbar: boolean;
69
- showPreview: boolean;
70
69
  src: string;
71
70
  aspectRatio: number;
72
71
  outputFormat: CropOutputFormat;
73
72
  outputQuality: number;
74
73
  maxOutputWidth: number;
75
74
  maxOutputHeight: number;
75
+ showPreview: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -66,13 +66,13 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
66
66
  disabled: boolean;
67
67
  height: string | number;
68
68
  showToolbar: boolean;
69
- showPreview: boolean;
70
69
  src: string;
71
70
  aspectRatio: number;
72
71
  outputFormat: CropOutputFormat;
73
72
  outputQuality: number;
74
73
  maxOutputWidth: number;
75
74
  maxOutputHeight: number;
75
+ showPreview: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -4,13 +4,13 @@ import { Ref } from "vue";
4
4
 
5
5
  //#region src/components/C_FilePreview/index.vue.d.ts
6
6
  declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
7
- "update:show": (show: boolean) => any;
8
- download: (file: string | File) => any;
9
7
  preview: (file: string | File) => any;
8
+ download: (file: string | File) => any;
9
+ "update:show": (show: boolean) => any;
10
10
  }, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
11
- "onUpdate:show"?: ((show: boolean) => any) | undefined;
12
- onDownload?: ((file: string | File) => any) | undefined;
13
11
  onPreview?: ((file: string | File) => any) | undefined;
12
+ onDownload?: ((file: string | File) => any) | undefined;
13
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
14
14
  }>, {
15
15
  show: boolean;
16
16
  inline: boolean;
@@ -4,13 +4,13 @@ import { Ref } from "vue";
4
4
 
5
5
  //#region src/components/C_FilePreview/index.vue.d.ts
6
6
  declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
7
- "update:show": (show: boolean) => any;
8
- download: (file: string | File) => any;
9
7
  preview: (file: string | File) => any;
8
+ download: (file: string | File) => any;
9
+ "update:show": (show: boolean) => any;
10
10
  }, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
11
- "onUpdate:show"?: ((show: boolean) => any) | undefined;
12
- onDownload?: ((file: string | File) => any) | undefined;
13
11
  onPreview?: ((file: string | File) => any) | undefined;
12
+ onDownload?: ((file: string | File) => any) | undefined;
13
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
14
14
  }>, {
15
15
  show: boolean;
16
16
  inline: boolean;
@@ -39,12 +39,12 @@ declare const __VLS_export: vue.DefineComponent<QRCodeProps, QRCodeExpose, {}, {
39
39
  }>, {
40
40
  size: number;
41
41
  label: string;
42
- color: string;
43
- showBorder: boolean;
44
- showLabel: boolean;
45
42
  mode: RenderMode;
43
+ color: string;
46
44
  margin: number;
47
45
  bgColor: string;
46
+ showBorder: boolean;
47
+ showLabel: boolean;
48
48
  errorCorrectionLevel: ErrorCorrectionLevel;
49
49
  logo: LogoOptions;
50
50
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -39,12 +39,12 @@ declare const __VLS_export: vue.DefineComponent<QRCodeProps, QRCodeExpose, {}, {
39
39
  }>, {
40
40
  size: number;
41
41
  label: string;
42
- color: string;
43
- showBorder: boolean;
44
- showLabel: boolean;
45
42
  mode: RenderMode;
43
+ color: string;
46
44
  margin: number;
47
45
  bgColor: string;
46
+ showBorder: boolean;
47
+ showLabel: boolean;
48
48
  errorCorrectionLevel: ErrorCorrectionLevel;
49
49
  logo: LogoOptions;
50
50
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -94,18 +94,18 @@ interface SignatureEmits {
94
94
  //#endregion
95
95
  //#region src/components/C_Signature/index.vue.d.ts
96
96
  declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
97
- error: (error: Error) => any;
98
97
  change: (data: SignatureStroke[]) => any;
99
98
  clear: () => any;
99
+ error: (error: Error) => any;
100
100
  "start-draw": () => any;
101
101
  drawing: (point: SignaturePoint) => any;
102
102
  "end-draw": (stroke: SignatureStroke) => any;
103
103
  undo: () => any;
104
104
  redo: () => any;
105
105
  }, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
106
- onError?: ((error: Error) => any) | undefined;
107
106
  onChange?: ((data: SignatureStroke[]) => any) | undefined;
108
107
  onClear?: (() => any) | undefined;
108
+ onError?: ((error: Error) => any) | undefined;
109
109
  "onStart-draw"?: (() => any) | undefined;
110
110
  onDrawing?: ((point: SignaturePoint) => any) | undefined;
111
111
  "onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
@@ -94,18 +94,18 @@ interface SignatureEmits {
94
94
  //#endregion
95
95
  //#region src/components/C_Signature/index.vue.d.ts
96
96
  declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
97
- error: (error: Error) => any;
98
97
  change: (data: SignatureStroke[]) => any;
99
98
  clear: () => any;
99
+ error: (error: Error) => any;
100
100
  "start-draw": () => any;
101
101
  drawing: (point: SignaturePoint) => any;
102
102
  "end-draw": (stroke: SignatureStroke) => any;
103
103
  undo: () => any;
104
104
  redo: () => any;
105
105
  }, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
106
- onError?: ((error: Error) => any) | undefined;
107
106
  onChange?: ((data: SignatureStroke[]) => any) | undefined;
108
107
  onClear?: (() => any) | undefined;
108
+ onError?: ((error: Error) => any) | undefined;
109
109
  "onStart-draw"?: (() => any) | undefined;
110
110
  onDrawing?: ((point: SignaturePoint) => any) | undefined;
111
111
  "onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
@@ -55,19 +55,19 @@ type __VLS_Slots = {
55
55
  second(props: PanelInfo): unknown;
56
56
  };
57
57
  declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
+ resize: (firstSize: number, secondSize: number) => any;
58
59
  expand: (target: CollapseTarget) => any;
60
+ "update:size": (size: number) => any;
59
61
  collapse: (target: CollapseTarget) => any;
60
62
  "drag-start": (size: number) => any;
61
63
  "drag-end": (size: number) => any;
62
- resize: (firstSize: number, secondSize: number) => any;
63
- "update:size": (size: number) => any;
64
64
  }, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
65
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
65
66
  onExpand?: ((target: CollapseTarget) => any) | undefined;
67
+ "onUpdate:size"?: ((size: number) => any) | undefined;
66
68
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
67
69
  "onDrag-start"?: ((size: number) => any) | undefined;
68
70
  "onDrag-end"?: ((size: number) => any) | undefined;
69
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
70
- "onUpdate:size"?: ((size: number) => any) | undefined;
71
71
  }>, {
72
72
  direction: SplitDirection;
73
73
  collapsible: boolean;
@@ -103,6 +103,7 @@ interface UseSplitResizeOptions {
103
103
  disabled: Ref<boolean>;
104
104
  collapsible: Ref<boolean>;
105
105
  step: MaybeRefOrGetter<number>;
106
+ interruptMotion?: () => number | undefined;
106
107
  onUpdateSize?: (size: number) => void;
107
108
  onResize?: (firstSize: number, secondSize: number) => void;
108
109
  onCollapse?: (target: CollapseTarget) => void;
@@ -55,19 +55,19 @@ type __VLS_Slots = {
55
55
  second(props: PanelInfo): unknown;
56
56
  };
57
57
  declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
+ resize: (firstSize: number, secondSize: number) => any;
58
59
  expand: (target: CollapseTarget) => any;
60
+ "update:size": (size: number) => any;
59
61
  collapse: (target: CollapseTarget) => any;
60
62
  "drag-start": (size: number) => any;
61
63
  "drag-end": (size: number) => any;
62
- resize: (firstSize: number, secondSize: number) => any;
63
- "update:size": (size: number) => any;
64
64
  }, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
65
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
65
66
  onExpand?: ((target: CollapseTarget) => any) | undefined;
67
+ "onUpdate:size"?: ((size: number) => any) | undefined;
66
68
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
67
69
  "onDrag-start"?: ((size: number) => any) | undefined;
68
70
  "onDrag-end"?: ((size: number) => any) | undefined;
69
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
70
- "onUpdate:size"?: ((size: number) => any) | undefined;
71
71
  }>, {
72
72
  direction: SplitDirection;
73
73
  collapsible: boolean;
@@ -103,6 +103,7 @@ interface UseSplitResizeOptions {
103
103
  disabled: Ref<boolean>;
104
104
  collapsible: Ref<boolean>;
105
105
  step: MaybeRefOrGetter<number>;
106
+ interruptMotion?: () => number | undefined;
106
107
  onUpdateSize?: (size: number) => void;
107
108
  onResize?: (firstSize: number, secondSize: number) => void;
108
109
  onCollapse?: (target: CollapseTarget) => void;
@@ -76,16 +76,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
76
76
  reset: () => void;
77
77
  show: () => void;
78
78
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
79
- success: (data: CaptchaSuccessPayload) => any;
80
79
  change: (valid: boolean) => any;
80
+ success: (data: CaptchaSuccessPayload) => any;
81
81
  fail: (error: string) => any;
82
82
  "verify-error": (error: unknown) => any;
83
83
  "load-error": (error: unknown) => any;
84
84
  "visible-change": (visible: boolean) => any;
85
85
  reset: () => any;
86
86
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
87
- onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
88
87
  onChange?: ((valid: boolean) => any) | undefined;
88
+ onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
89
89
  onFail?: ((error: string) => any) | undefined;
90
90
  "onVerify-error"?: ((error: unknown) => any) | undefined;
91
91
  "onLoad-error"?: ((error: unknown) => any) | undefined;
@@ -76,16 +76,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
76
76
  reset: () => void;
77
77
  show: () => void;
78
78
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
79
- success: (data: CaptchaSuccessPayload) => any;
80
79
  change: (valid: boolean) => any;
80
+ success: (data: CaptchaSuccessPayload) => any;
81
81
  fail: (error: string) => any;
82
82
  "verify-error": (error: unknown) => any;
83
83
  "load-error": (error: unknown) => any;
84
84
  "visible-change": (visible: boolean) => any;
85
85
  reset: () => any;
86
86
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
87
- onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
88
87
  onChange?: ((valid: boolean) => any) | undefined;
88
+ onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
89
89
  onFail?: ((error: string) => any) | undefined;
90
90
  "onVerify-error"?: ((error: unknown) => any) | undefined;
91
91
  "onLoad-error"?: ((error: unknown) => any) | undefined;
@@ -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.
@@ -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`。
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.42.2",
6
+ "version": "0.43.0",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "packageManager": "bun@1.4.2",
9
9
  "engines": {