@robot-admin/naive-ui-components 0.29.3 → 0.30.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 (182) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +3 -1
  3. package/README_EN.md +3 -1
  4. package/dist/C_ActionBar.css +52 -49
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_DataPicker.cjs +1 -1
  8. package/dist/C_DataPicker.css +29 -28
  9. package/dist/C_DataPicker.d.cts +2 -2
  10. package/dist/C_DataPicker.d.ts +3 -2
  11. package/dist/C_DataPicker.js +1 -1
  12. package/dist/C_Density.d.cts +1 -1
  13. package/dist/C_Density.d.ts +1 -1
  14. package/dist/C_Editor.d.cts +1 -1
  15. package/dist/C_Editor.d.ts +1 -1
  16. package/dist/C_ErrorSummary.d.cts +1 -1
  17. package/dist/C_ErrorSummary.d.ts +1 -1
  18. package/dist/C_FilePreview2.js +1 -1
  19. package/dist/C_Form.d.cts +2 -1
  20. package/dist/C_Form.d.ts +2 -1
  21. package/dist/C_FormModal.css +52 -49
  22. package/dist/C_FormModal.d.cts +1 -1
  23. package/dist/C_FormModal.d.ts +2 -1
  24. package/dist/C_FormSearch.css +66 -66
  25. package/dist/C_Guide.d.cts +1 -1
  26. package/dist/C_Guide.d.ts +1 -1
  27. package/dist/C_Icon.d.cts +1 -1
  28. package/dist/C_Icon.d.ts +1 -1
  29. package/dist/C_Language.d.cts +1 -1
  30. package/dist/C_Language.d.ts +1 -1
  31. package/dist/C_Loading.d.cts +1 -1
  32. package/dist/C_Loading.d.ts +1 -1
  33. package/dist/C_Login.d.cts +1 -1
  34. package/dist/C_Login.d.ts +1 -1
  35. package/dist/C_Markdown.d.cts +1 -1
  36. package/dist/C_Markdown.d.ts +1 -1
  37. package/dist/C_Menu.d.ts +1 -1
  38. package/dist/C_OrgChart.d.cts +1 -1
  39. package/dist/C_OrgChart.d.ts +1 -1
  40. package/dist/C_Progress.d.cts +1 -1
  41. package/dist/C_Progress.d.ts +1 -1
  42. package/dist/C_SectionNav.d.cts +1 -1
  43. package/dist/C_SectionNav.d.ts +1 -1
  44. package/dist/C_Skeleton.d.cts +1 -1
  45. package/dist/C_Skeleton.d.ts +1 -1
  46. package/dist/C_Steps.d.cts +1 -1
  47. package/dist/C_Steps.d.ts +1 -1
  48. package/dist/C_Table.base.css +161 -158
  49. package/dist/C_Table.cjs +1 -1
  50. package/dist/C_Table.css +161 -158
  51. package/dist/C_Table.d.cts +2 -2
  52. package/dist/C_Table.d.ts +7 -6
  53. package/dist/C_Table.js +1 -1
  54. package/dist/C_Table2.cjs +3 -3
  55. package/dist/C_Table2.js +3 -3
  56. package/dist/C_TagsView.d.cts +1 -1
  57. package/dist/C_TagsView.d.ts +1 -1
  58. package/dist/C_Theme.d.cts +1 -1
  59. package/dist/C_Theme.d.ts +1 -1
  60. package/dist/C_Timeline.d.cts +1 -1
  61. package/dist/C_Timeline.d.ts +1 -1
  62. package/dist/C_Transfer.d.cts +1 -1
  63. package/dist/C_Transfer.d.ts +1 -1
  64. package/dist/C_Tree.d.ts +6 -5
  65. package/dist/constants.d.cts +1 -1
  66. package/dist/constants.d.ts +1 -1
  67. package/dist/constants2.d.cts +1 -1
  68. package/dist/constants2.d.ts +1 -1
  69. package/dist/constants3.d.cts +1 -1
  70. package/dist/constants3.d.ts +1 -1
  71. package/dist/constants4.d.cts +6 -6
  72. package/dist/constants4.d.ts +6 -6
  73. package/dist/constants5.d.cts +2 -2
  74. package/dist/constants5.d.ts +2 -2
  75. package/dist/data2.d.cts +6 -6
  76. package/dist/data2.d.ts +6 -6
  77. package/dist/dateRange.d.cts +3 -0
  78. package/dist/dateRange.d.ts +3 -0
  79. package/dist/formField.cjs +1 -0
  80. package/dist/formField.d.cts +1179 -0
  81. package/dist/formField.d.ts +1179 -0
  82. package/dist/formField.js +1 -0
  83. package/dist/helpers2.cjs +1 -0
  84. package/dist/helpers2.js +1 -0
  85. package/dist/index.cjs +1 -1
  86. package/dist/index.d.cts +23 -22
  87. package/dist/index.d.ts +24 -23
  88. package/dist/index.js +1 -1
  89. package/dist/index.vue.d.cts +3 -3
  90. package/dist/index.vue.d.ts +3 -3
  91. package/dist/index10.vue.d.cts +2 -2
  92. package/dist/index10.vue.d.ts +4 -4
  93. package/dist/index11.vue.d.cts +4 -4
  94. package/dist/index11.vue.d.ts +13 -1162
  95. package/dist/index12.vue.d.cts +13 -1162
  96. package/dist/index12.vue.d.ts +59 -16
  97. package/dist/index13.vue.d.cts +59 -16
  98. package/dist/index13.vue.d.ts +17 -57
  99. package/dist/index14.vue.d.cts +17 -57
  100. package/dist/index14.vue.d.ts +55 -18
  101. package/dist/index15.vue.d.cts +55 -18
  102. package/dist/index15.vue.d.ts +124 -53
  103. package/dist/index16.vue.d.cts +124 -53
  104. package/dist/index16.vue.d.ts +51 -123
  105. package/dist/index17.vue.d.cts +51 -123
  106. package/dist/index17.vue.d.ts +25 -52
  107. package/dist/index18.vue.d.cts +25 -52
  108. package/dist/index18.vue.d.ts +12 -25
  109. package/dist/index19.vue.d.cts +12 -25
  110. package/dist/index19.vue.d.ts +129 -13
  111. package/dist/index2.vue.d.cts +1 -1
  112. package/dist/index2.vue.d.ts +1 -1
  113. package/dist/index20.vue.d.cts +129 -13
  114. package/dist/index20.vue.d.ts +76 -129
  115. package/dist/index21.vue.d.cts +76 -129
  116. package/dist/index21.vue.d.ts +72 -78
  117. package/dist/index22.vue.d.cts +97 -75
  118. package/dist/index22.vue.d.ts +96 -68
  119. package/dist/index23.vue.d.cts +40 -91
  120. package/dist/index23.vue.d.ts +40 -91
  121. package/dist/index24.vue.d.cts +23 -49
  122. package/dist/index24.vue.d.ts +23 -49
  123. package/dist/index25.vue.d.cts +96 -21
  124. package/dist/index25.vue.d.ts +96 -21
  125. package/dist/index26.vue.d.cts +37 -95
  126. package/dist/index26.vue.d.ts +37 -95
  127. package/dist/index27.vue.d.cts +8 -34
  128. package/dist/index27.vue.d.ts +8 -34
  129. package/dist/index28.vue.d.cts +86 -9
  130. package/dist/index28.vue.d.ts +86 -9
  131. package/dist/index29.vue.d.cts +99 -85
  132. package/dist/index29.vue.d.ts +99 -85
  133. package/dist/index3.vue.d.cts +1 -1
  134. package/dist/index3.vue.d.ts +1 -1
  135. package/dist/index30.vue.d.cts +59 -94
  136. package/dist/index30.vue.d.ts +59 -94
  137. package/dist/index9.vue.d.ts +2 -2
  138. package/dist/mapUtils.d.cts +4 -4
  139. package/dist/mapUtils.d.ts +4 -4
  140. package/dist/presets.d.cts +5 -2
  141. package/dist/presets.d.ts +5 -2
  142. package/dist/rolldown-runtime.js +1 -0
  143. package/dist/serializeSearch.cjs +1 -1
  144. package/dist/serializeSearch.js +1 -1
  145. package/dist/style.css +256 -252
  146. package/dist/useCollapsePanel.d.cts +4 -4
  147. package/dist/useCollapsePanel.d.ts +4 -4
  148. package/dist/useCropperCore.d.cts +13 -13
  149. package/dist/useCropperCore.d.ts +13 -13
  150. package/dist/useDynamicFormState.d.cts +5 -67
  151. package/dist/useDynamicFormState.d.ts +5 -67
  152. package/dist/useEdgeInteraction.d.cts +3 -3
  153. package/dist/useEdgeInteraction.d.ts +3 -3
  154. package/dist/useFormRenderer.d.cts +69 -0
  155. package/dist/useFormRenderer.d.ts +69 -0
  156. package/dist/useFullscreen.d.cts +1 -1
  157. package/dist/useFullscreen.d.ts +1 -1
  158. package/dist/useInfiniteScroll.d.cts +4 -4
  159. package/dist/useInfiniteScroll.d.ts +4 -4
  160. package/dist/useQRCode.d.cts +2 -2
  161. package/dist/useQRCode.d.ts +2 -2
  162. package/dist/useSignatureHistory.d.cts +6 -6
  163. package/dist/useSignatureHistory.d.ts +6 -6
  164. package/dist/useSplitResize.d.cts +6 -6
  165. package/dist/useSplitResize.d.ts +6 -6
  166. package/dist/useTableQuery.d.cts +9 -9
  167. package/dist/useTableQuery.d.ts +9 -9
  168. package/dist/useWorkflowValidation.d.cts +6 -6
  169. package/dist/useWorkflowValidation.d.ts +6 -6
  170. package/dist/verification.d.cts +5 -5
  171. package/dist/verification.d.ts +5 -5
  172. package/dist/{xlsx.js → xlsx2.js} +1 -1
  173. package/docs/guides/data-picker.md +22 -3
  174. package/docs/guides/data-workflows.md +22 -1
  175. package/docs/guides/search-workflows.md +3 -1
  176. package/docs/guides/usage.en.md +2 -3
  177. package/docs/guides/usage.md +2 -3
  178. package/package.json +1 -1
  179. package/dist/C_DataPicker2.cjs +0 -1
  180. package/dist/C_DataPicker2.js +0 -1
  181. package/dist/index31.vue.d.cts +0 -75
  182. package/dist/index31.vue.d.ts +0 -75
@@ -1,75 +0,0 @@
1
- import * as vue from "vue";
2
-
3
- //#region src/components/C_Transfer/types.d.ts
4
- /**
5
- * @Description: 穿梭框组件类型定义
6
- */
7
- /** 穿梭框数据项 */
8
- interface TransferItem<K extends string | number = string | number> {
9
- /** 唯一标识 */
10
- key: K;
11
- /** 显示标签 */
12
- label: string;
13
- /** 是否禁用 */
14
- disabled?: boolean;
15
- /** 分组名称 */
16
- group?: string;
17
- /** 描述信息(用于详细模式) */
18
- description?: string;
19
- /** 图标(Iconify) */
20
- icon?: string;
21
- /** 额外数据 */
22
- extra?: Record<string, unknown>;
23
- }
24
- /** 组件 Props */
25
- interface TransferProps<T extends TransferItem = TransferItem> {
26
- /** 数据源 */
27
- data: readonly T[];
28
- /** 右侧已选 key 列表 (v-model) */
29
- modelValue: readonly NoInfer<T['key']>[];
30
- /** 左右栏标题 */
31
- titles?: readonly [string, string];
32
- /** 是否可搜索 */
33
- filterable?: boolean;
34
- /** 搜索占位符 */
35
- filterPlaceholder?: string;
36
- /** 自定义筛选函数 */
37
- filterMethod?: (query: string, item: T) => boolean;
38
- /** 是否显示全选复选框 */
39
- showSelectAll?: boolean;
40
- /** 左侧空状态描述 */
41
- sourceEmptyText?: string;
42
- /** 右侧空状态描述 */
43
- targetEmptyText?: string;
44
- /** 尺寸 */
45
- size?: 'small' | 'medium' | 'large';
46
- /** 大列表自动使用虚拟滚动;自定义可变行高或需要完整 DOM 时可关闭。默认 true,100 项起启用。 */
47
- virtualScroll?: boolean;
48
- }
49
- /** 事件保留数据源的键类型,例如纯数字键仍为 number[]。 */
50
- interface TransferEmits<T extends TransferItem = TransferItem> {
51
- 'update:modelValue': [value: Array<T['key']>];
52
- change: [targetKeys: Array<T['key']>, direction: 'left' | 'right', moveKeys: Array<T['key']>];
53
- }
54
- /** 默认 Props */
55
- declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
56
- //#endregion
57
- //#region src/components/C_Transfer/index.vue.d.ts
58
- declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
- props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
- "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
- }> & (typeof globalThis extends {
63
- __VLS_PROPS_FALLBACK: infer P;
64
- } ? P : {});
65
- expose: (exposed: {}) => void;
66
- attrs: any;
67
- slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
- }>) => vue.VNode & {
70
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
- };
72
- declare const _default: typeof __VLS_export;
73
- type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
74
- //#endregion
75
- export { TransferProps as a, TransferItem as i, DEFAULT_TRANSFER_PROPS as n, TransferEmits as r, _default as t };