@robot-admin/naive-ui-components 0.4.2 → 0.4.3

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 (58) hide show
  1. package/dist/C_Guide.cjs +1 -0
  2. package/dist/C_Guide.js +1 -0
  3. package/dist/C_Guide2.js +8 -5
  4. package/dist/C_Guide2.js.map +1 -1
  5. package/dist/C_Language.cjs +1 -0
  6. package/dist/C_Language.js +1 -0
  7. package/dist/C_Language2.js +15 -8
  8. package/dist/C_Language2.js.map +1 -1
  9. package/dist/C_Theme.cjs +1 -0
  10. package/dist/C_Theme.js +1 -0
  11. package/dist/C_Theme2.js +10 -6
  12. package/dist/C_Theme2.js.map +1 -1
  13. package/dist/constants.d.ts +5 -5
  14. package/dist/constants2.d.ts +5 -5
  15. package/dist/constants3.d.ts +1 -1
  16. package/dist/constants4.d.ts +4 -4
  17. package/dist/index.cjs +0 -28
  18. package/dist/index.d.cts +1 -17
  19. package/dist/index.d.cts.map +1 -1
  20. package/dist/index.d.ts +1 -17
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +1 -28
  23. package/dist/index.js.map +1 -1
  24. package/dist/index10.vue.d.ts +1 -1
  25. package/dist/index11.vue.d.ts +2 -2
  26. package/dist/index11.vue.d.ts.map +1 -1
  27. package/dist/index12.vue.d.ts +5 -5
  28. package/dist/index14.vue.d.ts +1 -1
  29. package/dist/index15.vue.d.ts.map +1 -1
  30. package/dist/index16.vue.d.ts +2 -2
  31. package/dist/index16.vue.d.ts.map +1 -1
  32. package/dist/index2.vue.d.ts +5 -5
  33. package/dist/index3.vue.d.ts +1 -1
  34. package/dist/index4.vue.d.ts +2 -2
  35. package/dist/index5.vue.d.ts +2 -2
  36. package/dist/index6.vue.d.ts +1 -1
  37. package/dist/index7.vue.d.ts +4 -4
  38. package/dist/index7.vue.d.ts.map +1 -1
  39. package/dist/index8.vue.d.ts +2 -2
  40. package/dist/index9.vue.d.ts.map +1 -1
  41. package/dist/useCropperCore.d.ts +2 -2
  42. package/dist/useDraggableLayout.d.ts +2 -2
  43. package/dist/useDynamicFormState.d.ts +8 -8
  44. package/dist/useDynamicFormState.d.ts.map +1 -1
  45. package/dist/useEdgeInteraction.d.ts +1 -1
  46. package/dist/useFullscreen.d.ts +2 -2
  47. package/dist/useInfiniteScroll.d.ts +2 -2
  48. package/dist/useModalEdit.d.ts +2 -2
  49. package/dist/useQRCode.d.ts +4 -4
  50. package/dist/useQRCode.d.ts.map +1 -1
  51. package/dist/useSearchState.d.ts +2 -2
  52. package/dist/useSignatureHistory.d.ts +1 -1
  53. package/dist/useSplitResize.d.ts +2 -2
  54. package/dist/useSplitResize.d.ts.map +1 -1
  55. package/dist/useTimeSelection.d.ts +3 -3
  56. package/dist/useTreeOperations.d.ts +4 -4
  57. package/dist/useWorkflowValidation.d.ts +6 -6
  58. package/package.json +5 -195
@@ -91,23 +91,23 @@ 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
+ mode: TreeMode;
105
106
  labelField: string;
106
107
  childrenField: string;
108
+ draggable: boolean;
107
109
  actions: ActionConfig[];
108
- mode: TreeMode;
109
110
  showToolbar: boolean;
110
- draggable: boolean;
111
111
  keyField: string;
112
112
  searchPattern: string;
113
113
  searchable: boolean;
@@ -237,19 +237,19 @@ 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;
242
- save: (data: WorkflowData) => any;
243
- "validate-error": (errors: ValidationError[]) => any;
241
+ "update:modelValue": (value: WorkflowData) => any;
244
242
  "node-click": (node: WorkflowNode) => any;
245
243
  "edge-click": (edge: WorkflowEdge) => any;
244
+ save: (data: WorkflowData) => 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;
249
- onSave?: ((data: WorkflowData) => any) | undefined;
250
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
251
249
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
250
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
251
+ onSave?: ((data: WorkflowData) => any) | undefined;
252
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
253
253
  }>, {
254
254
  theme: "light" | "dark";
255
255
  readonly: boolean;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.4.2",
6
+ "version": "0.4.3",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",
@@ -21,200 +21,10 @@
21
21
  "import": "./dist/resolver.js",
22
22
  "require": "./dist/resolver.cjs"
23
23
  },
24
- "./C_ActionBar": {
25
- "types": "./dist/C_ActionBar.d.ts",
26
- "import": "./dist/C_ActionBar.js",
27
- "require": "./dist/C_ActionBar.cjs"
28
- },
29
- "./C_AntV": {
30
- "types": "./dist/C_AntV.d.ts",
31
- "import": "./dist/C_AntV.js",
32
- "require": "./dist/C_AntV.cjs"
33
- },
34
- "./C_Barcode": {
35
- "types": "./dist/C_Barcode.d.ts",
36
- "import": "./dist/C_Barcode.js",
37
- "require": "./dist/C_Barcode.cjs"
38
- },
39
- "./C_Captcha": {
40
- "types": "./dist/C_Captcha.d.ts",
41
- "import": "./dist/C_Captcha.js",
42
- "require": "./dist/C_Captcha.cjs"
43
- },
44
- "./C_Cascade": {
45
- "types": "./dist/C_Cascade.d.ts",
46
- "import": "./dist/C_Cascade.js",
47
- "require": "./dist/C_Cascade.cjs"
48
- },
49
- "./C_City": {
50
- "types": "./dist/C_City.d.ts",
51
- "import": "./dist/C_City.js",
52
- "require": "./dist/C_City.cjs"
53
- },
54
- "./C_Code": {
55
- "types": "./dist/C_Code.d.ts",
56
- "import": "./dist/C_Code.js",
57
- "require": "./dist/C_Code.cjs"
58
- },
59
- "./C_CollapsePanel": {
60
- "types": "./dist/C_CollapsePanel.d.ts",
61
- "import": "./dist/C_CollapsePanel.js",
62
- "require": "./dist/C_CollapsePanel.cjs"
63
- },
64
- "./C_Cron": {
65
- "types": "./dist/C_Cron.d.ts",
66
- "import": "./dist/C_Cron.js",
67
- "require": "./dist/C_Cron.cjs"
68
- },
69
- "./C_Date": {
70
- "types": "./dist/C_Date.d.ts",
71
- "import": "./dist/C_Date.js",
72
- "require": "./dist/C_Date.cjs"
73
- },
74
- "./C_Draggable": {
75
- "types": "./dist/C_Draggable.d.ts",
76
- "import": "./dist/C_Draggable.js",
77
- "require": "./dist/C_Draggable.cjs"
78
- },
79
- "./C_Editor": {
80
- "types": "./dist/C_Editor.d.ts",
81
- "import": "./dist/C_Editor.js",
82
- "require": "./dist/C_Editor.cjs"
83
- },
84
- "./C_FilePreview": {
85
- "types": "./dist/C_FilePreview.d.ts",
86
- "import": "./dist/C_FilePreview.js",
87
- "require": "./dist/C_FilePreview.cjs"
88
- },
89
- "./C_Form": {
90
- "types": "./dist/C_Form.d.ts",
91
- "import": "./dist/C_Form.js",
92
- "require": "./dist/C_Form.cjs"
93
- },
94
- "./C_FormSearch": {
95
- "types": "./dist/C_FormSearch.d.ts",
96
- "import": "./dist/C_FormSearch.js",
97
- "require": "./dist/C_FormSearch.cjs"
98
- },
99
- "./C_FormulaEditor": {
100
- "types": "./dist/C_FormulaEditor.d.ts",
101
- "import": "./dist/C_FormulaEditor.js",
102
- "require": "./dist/C_FormulaEditor.cjs"
103
- },
104
- "./C_FullCalendar": {
105
- "types": "./dist/C_FullCalendar.d.ts",
106
- "import": "./dist/C_FullCalendar.js",
107
- "require": "./dist/C_FullCalendar.cjs"
108
- },
109
- "./C_GlobalSearch": {
110
- "types": "./dist/C_GlobalSearch.d.ts",
111
- "import": "./dist/C_GlobalSearch.js",
112
- "require": "./dist/C_GlobalSearch.cjs"
113
- },
114
- "./C_Guide": {
115
- "types": "./dist/C_Guide.d.ts",
116
- "import": "./dist/C_Guide.js",
117
- "require": "./dist/C_Guide.cjs"
118
- },
119
- "./C_Icon": {
120
- "types": "./dist/C_Icon.d.ts",
121
- "import": "./dist/C_Icon.js",
122
- "require": "./dist/C_Icon.cjs"
123
- },
124
- "./C_ImageCropper": {
125
- "types": "./dist/C_ImageCropper.d.ts",
126
- "import": "./dist/C_ImageCropper.js",
127
- "require": "./dist/C_ImageCropper.cjs"
128
- },
129
- "./C_Language": {
130
- "types": "./dist/C_Language.d.ts",
131
- "import": "./dist/C_Language.js",
132
- "require": "./dist/C_Language.cjs"
133
- },
134
- "./C_Map": {
135
- "types": "./dist/C_Map.d.ts",
136
- "import": "./dist/C_Map.js",
137
- "require": "./dist/C_Map.cjs"
138
- },
139
- "./C_Markdown": {
140
- "types": "./dist/C_Markdown.d.ts",
141
- "import": "./dist/C_Markdown.js",
142
- "require": "./dist/C_Markdown.cjs"
143
- },
144
- "./C_NotificationCenter": {
145
- "types": "./dist/C_NotificationCenter.d.ts",
146
- "import": "./dist/C_NotificationCenter.js",
147
- "require": "./dist/C_NotificationCenter.cjs"
148
- },
149
- "./C_Progress": {
150
- "types": "./dist/C_Progress.d.ts",
151
- "import": "./dist/C_Progress.js",
152
- "require": "./dist/C_Progress.cjs"
153
- },
154
- "./C_QRCode": {
155
- "types": "./dist/C_QRCode.d.ts",
156
- "import": "./dist/C_QRCode.js",
157
- "require": "./dist/C_QRCode.cjs"
158
- },
159
- "./C_Signature": {
160
- "types": "./dist/C_Signature.d.ts",
161
- "import": "./dist/C_Signature.js",
162
- "require": "./dist/C_Signature.cjs"
163
- },
164
- "./C_SplitPane": {
165
- "types": "./dist/C_SplitPane.d.ts",
166
- "import": "./dist/C_SplitPane.js",
167
- "require": "./dist/C_SplitPane.cjs"
168
- },
169
- "./C_Steps": {
170
- "types": "./dist/C_Steps.d.ts",
171
- "import": "./dist/C_Steps.js",
172
- "require": "./dist/C_Steps.cjs"
173
- },
174
- "./C_Table": {
175
- "types": "./dist/C_Table.d.ts",
176
- "import": "./dist/C_Table.js",
177
- "require": "./dist/C_Table.cjs"
178
- },
179
- "./C_Theme": {
180
- "types": "./dist/C_Theme.d.ts",
181
- "import": "./dist/C_Theme.js",
182
- "require": "./dist/C_Theme.cjs"
183
- },
184
- "./C_Time": {
185
- "types": "./dist/C_Time.d.ts",
186
- "import": "./dist/C_Time.js",
187
- "require": "./dist/C_Time.cjs"
188
- },
189
- "./C_Tree": {
190
- "types": "./dist/C_Tree.d.ts",
191
- "import": "./dist/C_Tree.js",
192
- "require": "./dist/C_Tree.cjs"
193
- },
194
- "./C_Upload": {
195
- "types": "./dist/C_Upload.d.ts",
196
- "import": "./dist/C_Upload.js",
197
- "require": "./dist/C_Upload.cjs"
198
- },
199
- "./C_VideoPlayer": {
200
- "types": "./dist/C_VideoPlayer.d.ts",
201
- "import": "./dist/C_VideoPlayer.js",
202
- "require": "./dist/C_VideoPlayer.cjs"
203
- },
204
- "./C_VtableGantt": {
205
- "types": "./dist/C_VtableGantt.d.ts",
206
- "import": "./dist/C_VtableGantt.js",
207
- "require": "./dist/C_VtableGantt.cjs"
208
- },
209
- "./C_WaterFall": {
210
- "types": "./dist/C_WaterFall.d.ts",
211
- "import": "./dist/C_WaterFall.js",
212
- "require": "./dist/C_WaterFall.cjs"
213
- },
214
- "./C_WorkFlow": {
215
- "types": "./dist/C_WorkFlow.d.ts",
216
- "import": "./dist/C_WorkFlow.js",
217
- "require": "./dist/C_WorkFlow.cjs"
24
+ "./C_*": {
25
+ "types": "./dist/C_*.d.ts",
26
+ "import": "./dist/C_*.js",
27
+ "require": "./dist/C_*.cjs"
218
28
  }
219
29
  },
220
30
  "sideEffects": [