@robot-admin/naive-ui-components 0.29.3 → 0.30.1

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 (244) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +4 -2
  3. package/README_EN.md +4 -2
  4. package/dist/C_ActionBar.css +53 -51
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_AntV.css +1 -2
  8. package/dist/C_AudioPlayer.css +1 -2
  9. package/dist/C_AvatarGroup.css +1 -2
  10. package/dist/C_Barcode.css +1 -2
  11. package/dist/C_Breadcrumb.css +1 -2
  12. package/dist/C_Captcha.css +1 -2
  13. package/dist/C_Cascade.css +1 -2
  14. package/dist/C_Chat.css +1 -2
  15. package/dist/C_City.css +1 -2
  16. package/dist/C_Code.css +1 -2
  17. package/dist/C_CollapsePanel.css +1 -2
  18. package/dist/C_ContextMenu.css +1 -2
  19. package/dist/C_Cron.css +1 -2
  20. package/dist/C_DataPicker.cjs +1 -1
  21. package/dist/C_DataPicker.css +29 -28
  22. package/dist/C_DataPicker.d.cts +2 -2
  23. package/dist/C_DataPicker.d.ts +3 -2
  24. package/dist/C_DataPicker.js +1 -1
  25. package/dist/C_Date.css +1 -2
  26. package/dist/C_Density.css +1 -1
  27. package/dist/C_Density.d.cts +1 -1
  28. package/dist/C_Density.d.ts +1 -1
  29. package/dist/C_Draggable.css +1 -2
  30. package/dist/C_Editor.css +1 -2
  31. package/dist/C_Editor.d.cts +1 -1
  32. package/dist/C_Editor.d.ts +1 -1
  33. package/dist/C_ErrorSummary.css +1 -2
  34. package/dist/C_ErrorSummary.d.cts +1 -1
  35. package/dist/C_ErrorSummary.d.ts +1 -1
  36. package/dist/C_FilePreview.css +1 -2
  37. package/dist/C_FilePreview2.js +1 -1
  38. package/dist/C_Form.base.css +1 -2
  39. package/dist/C_Form.d.cts +2 -1
  40. package/dist/C_Form.d.ts +2 -1
  41. package/dist/C_FormModal.css +52 -49
  42. package/dist/C_FormModal.d.cts +1 -1
  43. package/dist/C_FormModal.d.ts +2 -1
  44. package/dist/C_FormSearch.css +67 -68
  45. package/dist/C_FormulaEditor.css +1 -2
  46. package/dist/C_FullCalendar.css +1 -2
  47. package/dist/C_GlobalSearch.css +1 -2
  48. package/dist/C_Guide.css +1 -2
  49. package/dist/C_Guide.d.cts +1 -1
  50. package/dist/C_Guide.d.ts +1 -1
  51. package/dist/C_Icon.css +1 -2
  52. package/dist/C_Icon.d.cts +1 -1
  53. package/dist/C_Icon.d.ts +1 -1
  54. package/dist/C_ImageCropper.css +1 -2
  55. package/dist/C_Language.css +1 -2
  56. package/dist/C_Language.d.cts +1 -1
  57. package/dist/C_Language.d.ts +1 -1
  58. package/dist/C_Loading.css +1 -2
  59. package/dist/C_Loading.d.cts +1 -1
  60. package/dist/C_Loading.d.ts +1 -1
  61. package/dist/C_Login.css +1 -2
  62. package/dist/C_Login.d.cts +1 -1
  63. package/dist/C_Login.d.ts +1 -1
  64. package/dist/C_Map.css +1 -2
  65. package/dist/C_Markdown.css +1 -2
  66. package/dist/C_Markdown.d.cts +1 -1
  67. package/dist/C_Markdown.d.ts +1 -1
  68. package/dist/C_Menu.css +1 -2
  69. package/dist/C_Menu.d.ts +1 -1
  70. package/dist/C_NotificationCenter.css +1 -2
  71. package/dist/C_OrgChart.css +1 -2
  72. package/dist/C_OrgChart.d.cts +1 -1
  73. package/dist/C_OrgChart.d.ts +1 -1
  74. package/dist/C_PageLoading.css +1 -2
  75. package/dist/C_Progress.css +1 -1
  76. package/dist/C_Progress.d.cts +1 -1
  77. package/dist/C_Progress.d.ts +1 -1
  78. package/dist/C_QRCode.css +1 -2
  79. package/dist/C_SectionNav.css +1 -2
  80. package/dist/C_SectionNav.d.cts +1 -1
  81. package/dist/C_SectionNav.d.ts +1 -1
  82. package/dist/C_Signature.css +1 -2
  83. package/dist/C_Skeleton.css +1 -2
  84. package/dist/C_Skeleton.d.cts +1 -1
  85. package/dist/C_Skeleton.d.ts +1 -1
  86. package/dist/C_SplitPane.css +1 -2
  87. package/dist/C_Steps.css +1 -2
  88. package/dist/C_Steps.d.cts +1 -1
  89. package/dist/C_Steps.d.ts +1 -1
  90. package/dist/C_Table.base.css +162 -160
  91. package/dist/C_Table.cjs +1 -1
  92. package/dist/C_Table.css +161 -158
  93. package/dist/C_Table.d.cts +2 -2
  94. package/dist/C_Table.d.ts +7 -6
  95. package/dist/C_Table.js +1 -1
  96. package/dist/C_Table2.cjs +3 -3
  97. package/dist/C_Table2.js +3 -3
  98. package/dist/C_Tabs.css +1 -2
  99. package/dist/C_TagsView.css +1 -2
  100. package/dist/C_TagsView.d.cts +1 -1
  101. package/dist/C_TagsView.d.ts +1 -1
  102. package/dist/C_Theme.css +1 -2
  103. package/dist/C_Theme.d.cts +1 -1
  104. package/dist/C_Theme.d.ts +1 -1
  105. package/dist/C_Time.css +1 -2
  106. package/dist/C_Timeline.css +1 -2
  107. package/dist/C_Timeline.d.cts +1 -1
  108. package/dist/C_Timeline.d.ts +1 -1
  109. package/dist/C_Transfer.css +1 -2
  110. package/dist/C_Transfer.d.cts +1 -1
  111. package/dist/C_Transfer.d.ts +1 -1
  112. package/dist/C_Tree.css +1 -2
  113. package/dist/C_Tree.d.ts +6 -5
  114. package/dist/C_Upload.css +1 -2
  115. package/dist/C_VideoPlayer.css +1 -2
  116. package/dist/C_VtableGantt.css +1 -2
  117. package/dist/C_WaterFall.css +1 -2
  118. package/dist/C_WorkFlow.css +1 -2
  119. package/dist/constants.d.cts +1 -1
  120. package/dist/constants.d.ts +1 -1
  121. package/dist/constants2.d.cts +1 -1
  122. package/dist/constants2.d.ts +1 -1
  123. package/dist/constants4.d.cts +7 -7
  124. package/dist/constants4.d.ts +7 -7
  125. package/dist/constants5.d.cts +4 -4
  126. package/dist/constants5.d.ts +4 -4
  127. package/dist/data2.d.cts +7 -7
  128. package/dist/data2.d.ts +7 -7
  129. package/dist/dateRange.d.cts +3 -0
  130. package/dist/dateRange.d.ts +3 -0
  131. package/dist/formField.cjs +1 -0
  132. package/dist/formField.d.cts +1181 -0
  133. package/dist/formField.d.ts +1181 -0
  134. package/dist/formField.js +1 -0
  135. package/dist/helpers.cjs +1 -1
  136. package/dist/helpers.js +1 -1
  137. package/dist/helpers2.cjs +1 -0
  138. package/dist/helpers2.js +1 -0
  139. package/dist/index.cjs +1 -1
  140. package/dist/index.d.cts +23 -22
  141. package/dist/index.d.ts +24 -23
  142. package/dist/index.js +1 -1
  143. package/dist/index.vue.d.cts +6 -6
  144. package/dist/index.vue.d.ts +6 -6
  145. package/dist/index10.vue.d.cts +3 -3
  146. package/dist/index10.vue.d.ts +3 -3
  147. package/dist/index11.vue.d.cts +3 -3
  148. package/dist/index11.vue.d.ts +13 -1162
  149. package/dist/index12.vue.d.cts +13 -1162
  150. package/dist/index12.vue.d.ts +59 -16
  151. package/dist/index13.vue.d.cts +59 -16
  152. package/dist/index13.vue.d.ts +17 -57
  153. package/dist/index14.vue.d.cts +17 -57
  154. package/dist/index14.vue.d.ts +55 -18
  155. package/dist/index15.vue.d.cts +55 -18
  156. package/dist/index15.vue.d.ts +124 -53
  157. package/dist/index16.vue.d.cts +124 -53
  158. package/dist/index16.vue.d.ts +51 -123
  159. package/dist/index17.vue.d.cts +51 -123
  160. package/dist/index17.vue.d.ts +25 -52
  161. package/dist/index18.vue.d.cts +25 -52
  162. package/dist/index18.vue.d.ts +12 -25
  163. package/dist/index19.vue.d.cts +12 -25
  164. package/dist/index19.vue.d.ts +129 -13
  165. package/dist/index20.vue.d.cts +129 -13
  166. package/dist/index20.vue.d.ts +76 -129
  167. package/dist/index21.vue.d.cts +76 -129
  168. package/dist/index21.vue.d.ts +72 -78
  169. package/dist/index22.vue.d.cts +97 -75
  170. package/dist/index22.vue.d.ts +96 -68
  171. package/dist/index23.vue.d.cts +40 -91
  172. package/dist/index23.vue.d.ts +40 -91
  173. package/dist/index24.vue.d.cts +23 -49
  174. package/dist/index24.vue.d.ts +23 -49
  175. package/dist/index25.vue.d.cts +96 -21
  176. package/dist/index25.vue.d.ts +96 -21
  177. package/dist/index26.vue.d.cts +37 -95
  178. package/dist/index26.vue.d.ts +37 -95
  179. package/dist/index27.vue.d.cts +8 -34
  180. package/dist/index27.vue.d.ts +8 -34
  181. package/dist/index28.vue.d.cts +86 -9
  182. package/dist/index28.vue.d.ts +86 -9
  183. package/dist/index29.vue.d.cts +99 -85
  184. package/dist/index29.vue.d.ts +99 -85
  185. package/dist/index3.vue.d.cts +4 -4
  186. package/dist/index3.vue.d.ts +4 -4
  187. package/dist/index30.vue.d.cts +59 -94
  188. package/dist/index30.vue.d.ts +59 -94
  189. package/dist/index7.vue.d.ts +3 -3
  190. package/dist/index8.vue.d.cts +3 -3
  191. package/dist/index9.vue.d.ts +3 -3
  192. package/dist/mapUtils.d.cts +5 -5
  193. package/dist/mapUtils.d.ts +5 -5
  194. package/dist/options.cjs +1 -1
  195. package/dist/options.js +1 -1
  196. package/dist/presets.d.cts +5 -2
  197. package/dist/presets.d.ts +5 -2
  198. package/dist/rolldown-runtime.js +1 -0
  199. package/dist/serializeSearch.cjs +1 -1
  200. package/dist/serializeSearch.js +1 -1
  201. package/dist/shared-tokens.css +1 -0
  202. package/dist/style.css +256 -252
  203. package/dist/useCalendarEvents.d.cts +1 -1
  204. package/dist/useCalendarEvents.d.ts +1 -1
  205. package/dist/useCollapsePanel.d.cts +4 -4
  206. package/dist/useCollapsePanel.d.ts +4 -4
  207. package/dist/useCropperCore.d.cts +10 -10
  208. package/dist/useCropperCore.d.ts +10 -10
  209. package/dist/useDynamicFormState.d.cts +3 -65
  210. package/dist/useDynamicFormState.d.ts +3 -65
  211. package/dist/useEdgeInteraction.d.cts +3 -3
  212. package/dist/useEdgeInteraction.d.ts +3 -3
  213. package/dist/useFormRenderer.d.cts +69 -0
  214. package/dist/useFormRenderer.d.ts +69 -0
  215. package/dist/useFullscreen.d.cts +1 -1
  216. package/dist/useFullscreen.d.ts +1 -1
  217. package/dist/useGlobalSearch.d.cts +1 -1
  218. package/dist/useGlobalSearch.d.ts +1 -1
  219. package/dist/useInfiniteScroll.d.cts +2 -2
  220. package/dist/useInfiniteScroll.d.ts +2 -2
  221. package/dist/useQRCode.d.cts +4 -4
  222. package/dist/useQRCode.d.ts +4 -4
  223. package/dist/useSignatureHistory.d.cts +4 -4
  224. package/dist/useSignatureHistory.d.ts +4 -4
  225. package/dist/useSplitResize.d.cts +11 -11
  226. package/dist/useSplitResize.d.ts +11 -11
  227. package/dist/useTableQuery.d.cts +8 -7
  228. package/dist/useTableQuery.d.ts +8 -7
  229. package/dist/useWorkflowValidation.d.cts +33 -33
  230. package/dist/useWorkflowValidation.d.ts +33 -33
  231. package/dist/verification.d.cts +3 -3
  232. package/dist/verification.d.ts +3 -3
  233. package/dist/{xlsx.js → xlsx2.js} +1 -1
  234. package/docs/guides/data-picker.md +22 -3
  235. package/docs/guides/data-workflows.md +22 -1
  236. package/docs/guides/runtime-performance.md +10 -0
  237. package/docs/guides/search-workflows.md +3 -1
  238. package/docs/guides/usage.en.md +2 -3
  239. package/docs/guides/usage.md +2 -3
  240. package/package.json +2 -1
  241. package/dist/C_DataPicker2.cjs +0 -1
  242. package/dist/C_DataPicker2.js +0 -1
  243. package/dist/index31.vue.d.cts +0 -75
  244. package/dist/index31.vue.d.ts +0 -75
@@ -1,110 +1,75 @@
1
1
  import * as vue from "vue";
2
2
 
3
- //#region src/components/C_Timeline/types.d.ts
3
+ //#region src/components/C_Transfer/types.d.ts
4
4
  /**
5
- * @Description: 时间线组件类型定义
5
+ * @Description: 穿梭框组件类型定义
6
6
  */
7
- /** 单条时间线节点 */
8
- interface TimelineItem {
7
+ /** 穿梭框数据项 */
8
+ interface TransferItem<K extends string | number = string | number> {
9
9
  /** 唯一标识 */
10
- id: string | number;
11
- /** 标题 */
12
- title: string;
13
- /** 描述内容(支持 HTML 字符串) */
14
- content?: string;
15
- /** 时间标签 */
16
- time?: string;
17
- /** 节点颜色(CSS 颜色值) */
18
- color?: string;
19
- /** 节点图标(Iconify 图标名) */
10
+ key: K;
11
+ /** 显示标签 */
12
+ label: string;
13
+ /** 是否禁用 */
14
+ disabled?: boolean;
15
+ /** 分组名称 */
16
+ group?: string;
17
+ /** 描述信息(用于详细模式) */
18
+ description?: string;
19
+ /** 图标(Iconify) */
20
20
  icon?: string;
21
- /** 节点状态 */
22
- status?: 'default' | 'success' | 'warning' | 'error' | 'info';
23
- /** 是否可展开/折叠详情 */
24
- collapsible?: boolean;
25
- /** 初始是否展开 */
26
- defaultExpanded?: boolean;
27
- /** 附加标签组 */
28
- tags?: Array<{
29
- text: string;
30
- type?: string;
31
- }>;
32
- /** 自定义额外数据 */
21
+ /** 额外数据 */
33
22
  extra?: Record<string, unknown>;
34
23
  }
35
24
  /** 组件 Props */
36
- interface TimelineProps {
37
- /** 时间线数据 */
38
- items: TimelineItem[];
39
- /** 布局方向 */
40
- mode?: 'vertical' | 'horizontal';
41
- /** 垂直模式下时间标签位置 */
42
- labelPlacement?: 'left' | 'right' | 'alternate';
43
- /** 是否显示尾部加载更多指示 */
44
- pending?: boolean;
45
- /** 加载更多文案 */
46
- pendingText?: string;
47
- /** 是否反转排列(最新在前) */
48
- reverse?: boolean;
49
- /** 节点大小 */
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
+ /** 尺寸 */
50
45
  size?: 'small' | 'medium' | 'large';
51
- /** 连接线样式 */
52
- lineType?: 'solid' | 'dashed' | 'dotted';
53
- /** 是否显示时间标签 */
54
- showTime?: boolean;
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']>];
55
53
  }
56
54
  /** 默认 Props */
57
- declare const DEFAULT_TIMELINE_PROPS: {
58
- mode: "vertical";
59
- labelPlacement: "right";
60
- pending: boolean;
61
- pendingText: string;
62
- reverse: boolean;
63
- size: "medium";
64
- lineType: "solid";
65
- showTime: boolean;
66
- };
67
- /** 状态 → 颜色映射 */
68
- declare const STATUS_COLOR_MAP: Record<string, string>;
55
+ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
69
56
  //#endregion
70
- //#region src/components/C_Timeline/index.vue.d.ts
71
- declare var __VLS_1: {
72
- item: TimelineItem;
73
- index: number;
74
- }, __VLS_8: {
75
- item: TimelineItem;
76
- index: number;
77
- };
78
- type __VLS_Slots = {} & {
79
- dot?: (props: typeof __VLS_1) => any;
80
- } & {
81
- title?: (props: typeof __VLS_8) => any;
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>>;
82
71
  };
83
- declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
- /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
- collapseAll: () => void;
86
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
- "item-click": (item: TimelineItem, index: number) => any;
89
- }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
- }>, {
93
- reverse: boolean;
94
- items: TimelineItem[];
95
- mode: "vertical" | "horizontal";
96
- labelPlacement: "left" | "right" | "alternate";
97
- size: "small" | "medium" | "large";
98
- pending: boolean;
99
- lineType: "solid" | "dashed" | "dotted";
100
- showTime: boolean;
101
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
102
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
103
72
  declare const _default: typeof __VLS_export;
104
- type __VLS_WithSlots<T, S> = T & {
105
- new (): {
106
- $slots: S;
107
- };
108
- };
73
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
109
74
  //#endregion
110
- export { TimelineProps as a, TimelineItem as i, DEFAULT_TIMELINE_PROPS as n, STATUS_COLOR_MAP as r, _default as t };
75
+ export { TransferProps as a, TransferItem as i, DEFAULT_TRANSFER_PROPS as n, TransferEmits as r, _default as t };
@@ -1,110 +1,75 @@
1
1
  import * as vue from "vue";
2
2
 
3
- //#region src/components/C_Timeline/types.d.ts
3
+ //#region src/components/C_Transfer/types.d.ts
4
4
  /**
5
- * @Description: 时间线组件类型定义
5
+ * @Description: 穿梭框组件类型定义
6
6
  */
7
- /** 单条时间线节点 */
8
- interface TimelineItem {
7
+ /** 穿梭框数据项 */
8
+ interface TransferItem<K extends string | number = string | number> {
9
9
  /** 唯一标识 */
10
- id: string | number;
11
- /** 标题 */
12
- title: string;
13
- /** 描述内容(支持 HTML 字符串) */
14
- content?: string;
15
- /** 时间标签 */
16
- time?: string;
17
- /** 节点颜色(CSS 颜色值) */
18
- color?: string;
19
- /** 节点图标(Iconify 图标名) */
10
+ key: K;
11
+ /** 显示标签 */
12
+ label: string;
13
+ /** 是否禁用 */
14
+ disabled?: boolean;
15
+ /** 分组名称 */
16
+ group?: string;
17
+ /** 描述信息(用于详细模式) */
18
+ description?: string;
19
+ /** 图标(Iconify) */
20
20
  icon?: string;
21
- /** 节点状态 */
22
- status?: 'default' | 'success' | 'warning' | 'error' | 'info';
23
- /** 是否可展开/折叠详情 */
24
- collapsible?: boolean;
25
- /** 初始是否展开 */
26
- defaultExpanded?: boolean;
27
- /** 附加标签组 */
28
- tags?: Array<{
29
- text: string;
30
- type?: string;
31
- }>;
32
- /** 自定义额外数据 */
21
+ /** 额外数据 */
33
22
  extra?: Record<string, unknown>;
34
23
  }
35
24
  /** 组件 Props */
36
- interface TimelineProps {
37
- /** 时间线数据 */
38
- items: TimelineItem[];
39
- /** 布局方向 */
40
- mode?: 'vertical' | 'horizontal';
41
- /** 垂直模式下时间标签位置 */
42
- labelPlacement?: 'left' | 'right' | 'alternate';
43
- /** 是否显示尾部加载更多指示 */
44
- pending?: boolean;
45
- /** 加载更多文案 */
46
- pendingText?: string;
47
- /** 是否反转排列(最新在前) */
48
- reverse?: boolean;
49
- /** 节点大小 */
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
+ /** 尺寸 */
50
45
  size?: 'small' | 'medium' | 'large';
51
- /** 连接线样式 */
52
- lineType?: 'solid' | 'dashed' | 'dotted';
53
- /** 是否显示时间标签 */
54
- showTime?: boolean;
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']>];
55
53
  }
56
54
  /** 默认 Props */
57
- declare const DEFAULT_TIMELINE_PROPS: {
58
- mode: "vertical";
59
- labelPlacement: "right";
60
- pending: boolean;
61
- pendingText: string;
62
- reverse: boolean;
63
- size: "medium";
64
- lineType: "solid";
65
- showTime: boolean;
66
- };
67
- /** 状态 → 颜色映射 */
68
- declare const STATUS_COLOR_MAP: Record<string, string>;
55
+ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
69
56
  //#endregion
70
- //#region src/components/C_Timeline/index.vue.d.ts
71
- declare var __VLS_1: {
72
- item: TimelineItem;
73
- index: number;
74
- }, __VLS_8: {
75
- item: TimelineItem;
76
- index: number;
77
- };
78
- type __VLS_Slots = {} & {
79
- dot?: (props: typeof __VLS_1) => any;
80
- } & {
81
- title?: (props: typeof __VLS_8) => any;
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>>;
82
71
  };
83
- declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
- /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
- collapseAll: () => void;
86
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
- "item-click": (item: TimelineItem, index: number) => any;
89
- }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
- }>, {
93
- reverse: boolean;
94
- items: TimelineItem[];
95
- mode: "vertical" | "horizontal";
96
- labelPlacement: "left" | "right" | "alternate";
97
- size: "small" | "medium" | "large";
98
- pending: boolean;
99
- lineType: "solid" | "dashed" | "dotted";
100
- showTime: boolean;
101
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
102
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
103
72
  declare const _default: typeof __VLS_export;
104
- type __VLS_WithSlots<T, S> = T & {
105
- new (): {
106
- $slots: S;
107
- };
108
- };
73
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
109
74
  //#endregion
110
- export { TimelineProps as a, TimelineItem as i, DEFAULT_TIMELINE_PROPS as n, STATUS_COLOR_MAP as r, _default as t };
75
+ export { TransferProps as a, TransferItem as i, DEFAULT_TRANSFER_PROPS as n, TransferEmits as r, _default as t };
@@ -88,25 +88,24 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
- "load-more": () => any;
92
91
  send: (content: string) => any;
93
92
  "select-contact": (id: string) => any;
93
+ "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
- "onLoad-more"?: (() => any) | undefined;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
+ "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- virtualScroll: boolean;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
116
115
  currentContactId: string;
117
116
  selfAvatar: string;
118
117
  selfName: string;
118
+ virtualScroll: boolean;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
121
121
  declare const _default: typeof __VLS_export;
@@ -88,25 +88,24 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
- "load-more": () => any;
92
91
  send: (content: string) => any;
93
92
  "select-contact": (id: string) => any;
93
+ "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
- "onLoad-more"?: (() => any) | undefined;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
+ "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- virtualScroll: boolean;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
116
115
  currentContactId: string;
117
116
  selfAvatar: string;
118
117
  selfName: string;
118
+ virtualScroll: boolean;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
121
121
  declare const _default: typeof __VLS_export;
@@ -24,17 +24,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
26
  click: (event: MouseEvent) => any;
27
- fullscreen: (isFullscreen: boolean) => any;
28
27
  copy: (code: string) => any;
28
+ fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
31
  onCopy?: ((code: string) => any) | undefined;
32
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
35
35
  code: string;
36
- showHeader: boolean;
37
36
  language: string;
37
+ showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
40
40
  showFullscreen: boolean;
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- ariaLabel: string;
95
- height: string;
96
- zoom: number;
97
94
  center: MapCoordinate;
95
+ zoom: number;
96
+ height: string;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- ariaLabel: string;
95
- height: string;
96
- zoom: number;
97
94
  center: MapCoordinate;
95
+ zoom: number;
96
+ height: string;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
package/dist/options.cjs CHANGED
@@ -1 +1 @@
1
- const e=Symbol(`c-option-value`);function t(e,t){return(Array.isArray(t)?t:[t]).some(e=>typeof e==`boolean`)||e?.some(e=>typeof e.value==`boolean`)===!0}function n(t,n){let r=t?.map(e=>e.value??e.label??e.labelDefault),i=Array.isArray(n)?n:[n],a=new Set([...r??[],...i]),o=new Map;for(let e of[!1,!0]){let t=`__c_option_boolean_${e}__`;for(;a.has(t);)t+=`_`;o.set(e,t),a.add(t)}let s=e=>typeof e==`boolean`?o.get(e):typeof e==`string`||typeof e==`number`?e:null,c=(t,n)=>{if(n!==void 0){if(n&&typeof n==`object`&&Object.prototype.hasOwnProperty.call(n,e)){let t=n[e];if(typeof t==`boolean`)return t}return t}return t===o.get(!1)?!1:t===o.get(!0)?!0:t};return{options:t?.map((t,n)=>({...t,label:t.label??t.labelDefault??``,value:s(r[n])??void 0,[e]:r[n]})),value:Array.isArray(n)?n.map(s).filter(e=>e!==null):s(n),fallbackOption:t=>({value:t,label:String(c(t)),[e]:c(t)}),decode:(e,t)=>Array.isArray(e)?e.map((e,n)=>c(e,Array.isArray(t)?t[n]:void 0)):e===null?null:c(e,t)}}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
1
+ const e=Symbol(`c-option-value`),t=`__c_option_boolean_`;function n(e,t){return(Array.isArray(t)?t:[t]).some(e=>typeof e==`boolean`)||e?.some(e=>typeof e.value==`boolean`)===!0}function r(t,n){let r=e=>typeof e==`boolean`?e?n:t:typeof e==`string`||typeof e==`number`?e:null,i=(r,i)=>{if(i!==void 0){if(i&&typeof i==`object`&&Object.prototype.hasOwnProperty.call(i,e)){let t=i[e];if(typeof t==`boolean`)return t}return r}return r===t?!1:r===n?!0:r};return{encode:r,fallbackOption:t=>{let n=i(t);return{value:t,label:String(n),[e]:n}},decode:(e,t)=>Array.isArray(e)?e.map((e,n)=>i(e,Array.isArray(t)?t[n]:void 0)):e===null?null:i(e,t)}}function i(n){let i=new Set,a=!1,o=n?.map(n=>{let r=n.value??n.label??n.labelDefault;return typeof r==`string`&&r.startsWith(t)&&i.add(r),typeof r==`boolean`&&(a=!0),{...n,label:n.label??n.labelDefault??``,value:typeof r==`string`||typeof r==`number`?r:void 0,[e]:r}}),s=(e,n)=>{let r=`${t}${e}__`;for(;i.has(r)||n?.has(r);)r+=`_`;return r},c=s(!1),l=s(!0),u=(t,n)=>({falseToken:t,trueToken:n,codec:r(t,n),nativeOptions:a?o?.map(r=>{let i=r[e];return typeof i==`boolean`?{...r,value:i?n:t}:r}):o}),d;return e=>{let t=new Set(Array.isArray(e)?e:[e]),n=t.has(c)?s(!1,t):c,r=t.has(l)?s(!0,t):l;(d?.falseToken!==n||d.trueToken!==r)&&(d=u(n,r));let{encode:i,decode:a,fallbackOption:o}=d.codec;return{options:d.nativeOptions,value:Array.isArray(e)?e.map(i).filter(e=>e!==null):i(e),fallbackOption:o,decode:a}}}function a(e,t){return i(e)(t)}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
package/dist/options.js CHANGED
@@ -1 +1 @@
1
- const e=Symbol(`c-option-value`);function t(e,t){return(Array.isArray(t)?t:[t]).some(e=>typeof e==`boolean`)||e?.some(e=>typeof e.value==`boolean`)===!0}function n(t,n){let r=t?.map(e=>e.value??e.label??e.labelDefault),i=Array.isArray(n)?n:[n],a=new Set([...r??[],...i]),o=new Map;for(let e of[!1,!0]){let t=`__c_option_boolean_${e}__`;for(;a.has(t);)t+=`_`;o.set(e,t),a.add(t)}let s=e=>typeof e==`boolean`?o.get(e):typeof e==`string`||typeof e==`number`?e:null,c=(t,n)=>{if(n!==void 0){if(n&&typeof n==`object`&&Object.prototype.hasOwnProperty.call(n,e)){let t=n[e];if(typeof t==`boolean`)return t}return t}return t===o.get(!1)?!1:t===o.get(!0)?!0:t};return{options:t?.map((t,n)=>({...t,label:t.label??t.labelDefault??``,value:s(r[n])??void 0,[e]:r[n]})),value:Array.isArray(n)?n.map(s).filter(e=>e!==null):s(n),fallbackOption:t=>({value:t,label:String(c(t)),[e]:c(t)}),decode:(e,t)=>Array.isArray(e)?e.map((e,n)=>c(e,Array.isArray(t)?t[n]:void 0)):e===null?null:c(e,t)}}export{t as n,n as t};
1
+ const e=Symbol(`c-option-value`),t=`__c_option_boolean_`;function n(e,t){return(Array.isArray(t)?t:[t]).some(e=>typeof e==`boolean`)||e?.some(e=>typeof e.value==`boolean`)===!0}function r(t,n){let r=e=>typeof e==`boolean`?e?n:t:typeof e==`string`||typeof e==`number`?e:null,i=(r,i)=>{if(i!==void 0){if(i&&typeof i==`object`&&Object.prototype.hasOwnProperty.call(i,e)){let t=i[e];if(typeof t==`boolean`)return t}return r}return r===t?!1:r===n?!0:r};return{encode:r,fallbackOption:t=>{let n=i(t);return{value:t,label:String(n),[e]:n}},decode:(e,t)=>Array.isArray(e)?e.map((e,n)=>i(e,Array.isArray(t)?t[n]:void 0)):e===null?null:i(e,t)}}function i(n){let i=new Set,a=!1,o=n?.map(n=>{let r=n.value??n.label??n.labelDefault;return typeof r==`string`&&r.startsWith(t)&&i.add(r),typeof r==`boolean`&&(a=!0),{...n,label:n.label??n.labelDefault??``,value:typeof r==`string`||typeof r==`number`?r:void 0,[e]:r}}),s=(e,n)=>{let r=`${t}${e}__`;for(;i.has(r)||n?.has(r);)r+=`_`;return r},c=s(!1),l=s(!0),u=(t,n)=>({falseToken:t,trueToken:n,codec:r(t,n),nativeOptions:a?o?.map(r=>{let i=r[e];return typeof i==`boolean`?{...r,value:i?n:t}:r}):o}),d;return e=>{let t=new Set(Array.isArray(e)?e:[e]),n=t.has(c)?s(!1,t):c,r=t.has(l)?s(!0,t):l;(d?.falseToken!==n||d.trueToken!==r)&&(d=u(n,r));let{encode:i,decode:a,fallbackOption:o}=d.codec;return{options:d.nativeOptions,value:Array.isArray(e)?e.map(i).filter(e=>e!==null):i(e),fallbackOption:o,decode:a}}}function a(e,t){return i(e)(t)}export{a as n,n as r,i as t};
@@ -15,10 +15,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
+ config: ActionBarConfig;
18
19
  actions: ActionItem[];
19
20
  leftActions: ActionItem[];
20
21
  rightActions: ActionItem[];
21
- config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
@@ -37,7 +37,10 @@ declare const DEFAULT_ACTION_ICON = "mdi:gesture-tap-button";
37
37
  */
38
38
  declare const ACTION_BAR_DEFAULT_CONFIG: Readonly<Required<ActionBarConfig>>;
39
39
  declare const ACTION_PRESETS: Readonly<Record<string, Pick<ActionItem, 'label' | 'icon' | 'type'>>>;
40
- declare const resolveActionPreset: (action: ActionItem) => ActionItem;
40
+ declare const resolveActionPreset: (action: ActionItem) => ActionItem & {
41
+ label: string;
42
+ icon: string;
43
+ };
41
44
  /** 保留动作字面量推导,使用侧无需重复声明 ActionItem[]。 */
42
45
  declare const defineActions: <const T extends ActionItem[]>(actions: T) => T;
43
46
  //#endregion
package/dist/presets.d.ts CHANGED
@@ -15,10 +15,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
+ config: ActionBarConfig;
18
19
  actions: ActionItem[];
19
20
  leftActions: ActionItem[];
20
21
  rightActions: ActionItem[];
21
- config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
@@ -37,7 +37,10 @@ declare const DEFAULT_ACTION_ICON = "mdi:gesture-tap-button";
37
37
  */
38
38
  declare const ACTION_BAR_DEFAULT_CONFIG: Readonly<Required<ActionBarConfig>>;
39
39
  declare const ACTION_PRESETS: Readonly<Record<string, Pick<ActionItem, 'label' | 'icon' | 'type'>>>;
40
- declare const resolveActionPreset: (action: ActionItem) => ActionItem;
40
+ declare const resolveActionPreset: (action: ActionItem) => ActionItem & {
41
+ label: string;
42
+ icon: string;
43
+ };
41
44
  /** 保留动作字面量推导,使用侧无需重复声明 ActionItem[]。 */
42
45
  declare const defineActions: <const T extends ActionItem[]>(actions: T) => T;
43
46
  //#endregion
@@ -0,0 +1 @@
1
+ var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};export{t};