xkit-ui 2.0.0-alpha.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 (309) hide show
  1. package/lib/assets/icon-add-circle-fill.vue.d.ts +3 -0
  2. package/lib/assets/icon-add-circle-fill.vue.d.ts.map +1 -0
  3. package/lib/assets/icon-close-line.vue.d.ts +3 -0
  4. package/lib/assets/icon-close-line.vue.d.ts.map +1 -0
  5. package/lib/assets/icon-drag.vue.d.ts +3 -0
  6. package/lib/assets/icon-drag.vue.d.ts.map +1 -0
  7. package/lib/assets/icon-minus-circle.vue.d.ts +3 -0
  8. package/lib/assets/icon-minus-circle.vue.d.ts.map +1 -0
  9. package/lib/components/_public/form-item-cols.vue.d.ts +17 -0
  10. package/lib/components/_public/form-item-cols.vue.d.ts.map +1 -0
  11. package/lib/components/button/type.d.ts +85 -0
  12. package/lib/components/button/type.d.ts.map +1 -0
  13. package/lib/components/cascader/index.vue.d.ts +66 -0
  14. package/lib/components/cascader/index.vue.d.ts.map +1 -0
  15. package/lib/components/cascader/type.d.ts +125 -0
  16. package/lib/components/cascader/type.d.ts.map +1 -0
  17. package/lib/components/checkbox/index.vue.d.ts +30 -0
  18. package/lib/components/checkbox/index.vue.d.ts.map +1 -0
  19. package/lib/components/checkbox/type.d.ts +36 -0
  20. package/lib/components/checkbox/type.d.ts.map +1 -0
  21. package/lib/components/checkboxes/index.vue.d.ts +42 -0
  22. package/lib/components/checkboxes/index.vue.d.ts.map +1 -0
  23. package/lib/components/checkboxes/type.d.ts +56 -0
  24. package/lib/components/checkboxes/type.d.ts.map +1 -0
  25. package/lib/components/component/index.d.ts +7 -0
  26. package/lib/components/component/index.d.ts.map +1 -0
  27. package/lib/components/condition-builder/condition-node.vue.d.ts +32 -0
  28. package/lib/components/condition-builder/condition-node.vue.d.ts.map +1 -0
  29. package/lib/components/condition-builder/group-bracket.vue.d.ts +19 -0
  30. package/lib/components/condition-builder/group-bracket.vue.d.ts.map +1 -0
  31. package/lib/components/condition-builder/group-indent.vue.d.ts +19 -0
  32. package/lib/components/condition-builder/group-indent.vue.d.ts.map +1 -0
  33. package/lib/components/condition-builder/index.vue.d.ts +160 -0
  34. package/lib/components/condition-builder/index.vue.d.ts.map +1 -0
  35. package/lib/components/condition-builder/type.d.ts +88 -0
  36. package/lib/components/condition-builder/type.d.ts.map +1 -0
  37. package/lib/components/crud/action-type.d.ts +80 -0
  38. package/lib/components/crud/action-type.d.ts.map +1 -0
  39. package/lib/components/crud/index.vue.d.ts +78 -0
  40. package/lib/components/crud/index.vue.d.ts.map +1 -0
  41. package/lib/components/crud/multi-action.vue.d.ts +8 -0
  42. package/lib/components/crud/multi-action.vue.d.ts.map +1 -0
  43. package/lib/components/crud/single-action.vue.d.ts +7 -0
  44. package/lib/components/crud/single-action.vue.d.ts.map +1 -0
  45. package/lib/components/crud/type.d.ts +171 -0
  46. package/lib/components/crud/type.d.ts.map +1 -0
  47. package/lib/components/crud-form/index.vue.d.ts +22 -0
  48. package/lib/components/crud-form/index.vue.d.ts.map +1 -0
  49. package/lib/components/crud-form/type.d.ts +65 -0
  50. package/lib/components/crud-form/type.d.ts.map +1 -0
  51. package/lib/components/date-picker/index.vue.d.ts +35 -0
  52. package/lib/components/date-picker/index.vue.d.ts.map +1 -0
  53. package/lib/components/date-picker/type.d.ts +139 -0
  54. package/lib/components/date-picker/type.d.ts.map +1 -0
  55. package/lib/components/date-range-picker/index.vue.d.ts +15 -0
  56. package/lib/components/date-range-picker/index.vue.d.ts.map +1 -0
  57. package/lib/components/date-range-picker/type.d.ts +137 -0
  58. package/lib/components/date-range-picker/type.d.ts.map +1 -0
  59. package/lib/components/date-range-picker-v2/index.vue.d.ts +22 -0
  60. package/lib/components/date-range-picker-v2/index.vue.d.ts.map +1 -0
  61. package/lib/components/date-range-picker-v2/type.d.ts +37 -0
  62. package/lib/components/date-range-picker-v2/type.d.ts.map +1 -0
  63. package/lib/components/description/index.vue.d.ts +28 -0
  64. package/lib/components/description/index.vue.d.ts.map +1 -0
  65. package/lib/components/description/type.d.ts +120 -0
  66. package/lib/components/description/type.d.ts.map +1 -0
  67. package/lib/components/dialog/type.d.ts +100 -0
  68. package/lib/components/dialog/type.d.ts.map +1 -0
  69. package/lib/components/dropdown/type.d.ts +62 -0
  70. package/lib/components/dropdown/type.d.ts.map +1 -0
  71. package/lib/components/ellipsis/index.vue.d.ts +34 -0
  72. package/lib/components/ellipsis/index.vue.d.ts.map +1 -0
  73. package/lib/components/ellipsis/type.d.ts +26 -0
  74. package/lib/components/ellipsis/type.d.ts.map +1 -0
  75. package/lib/components/event-menu/index.vue.d.ts +25 -0
  76. package/lib/components/event-menu/index.vue.d.ts.map +1 -0
  77. package/lib/components/form/form-item.type.d.ts +304 -0
  78. package/lib/components/form/form-item.type.d.ts.map +1 -0
  79. package/lib/components/form/form-item.vue.d.ts +50 -0
  80. package/lib/components/form/form-item.vue.d.ts.map +1 -0
  81. package/lib/components/form/form-layout-renderer.vue.d.ts +71 -0
  82. package/lib/components/form/form-layout-renderer.vue.d.ts.map +1 -0
  83. package/lib/components/form/index.vue.d.ts +220 -0
  84. package/lib/components/form/index.vue.d.ts.map +1 -0
  85. package/lib/components/form/query-form.d.ts +4 -0
  86. package/lib/components/form/query-form.d.ts.map +1 -0
  87. package/lib/components/form/type.d.ts +312 -0
  88. package/lib/components/form/type.d.ts.map +1 -0
  89. package/lib/components/group/group-item.vue.d.ts +9 -0
  90. package/lib/components/group/group-item.vue.d.ts.map +1 -0
  91. package/lib/components/group/index.vue.d.ts +24 -0
  92. package/lib/components/group/index.vue.d.ts.map +1 -0
  93. package/lib/components/group/type.d.ts +119 -0
  94. package/lib/components/group/type.d.ts.map +1 -0
  95. package/lib/components/icon-select/__tests__/icon-sources.test.d.ts +2 -0
  96. package/lib/components/icon-select/__tests__/icon-sources.test.d.ts.map +1 -0
  97. package/lib/components/icon-select/icon-parser.vue.d.ts +41 -0
  98. package/lib/components/icon-select/icon-parser.vue.d.ts.map +1 -0
  99. package/lib/components/icon-select/icon-sources.d.ts +22 -0
  100. package/lib/components/icon-select/icon-sources.d.ts.map +1 -0
  101. package/lib/components/icon-select/index.vue.d.ts +15 -0
  102. package/lib/components/icon-select/index.vue.d.ts.map +1 -0
  103. package/lib/components/icon-select/type.d.ts +24 -0
  104. package/lib/components/icon-select/type.d.ts.map +1 -0
  105. package/lib/components/index.d.ts +107 -0
  106. package/lib/components/index.d.ts.map +1 -0
  107. package/lib/components/input/index.vue.d.ts +20 -0
  108. package/lib/components/input/index.vue.d.ts.map +1 -0
  109. package/lib/components/input/type.d.ts +121 -0
  110. package/lib/components/input/type.d.ts.map +1 -0
  111. package/lib/components/input-array/__tests__/layout.test.d.ts +2 -0
  112. package/lib/components/input-array/__tests__/layout.test.d.ts.map +1 -0
  113. package/lib/components/input-array/index.vue.d.ts +28 -0
  114. package/lib/components/input-array/index.vue.d.ts.map +1 -0
  115. package/lib/components/input-array/layout.d.ts +11 -0
  116. package/lib/components/input-array/layout.d.ts.map +1 -0
  117. package/lib/components/input-array/type.d.ts +89 -0
  118. package/lib/components/input-array/type.d.ts.map +1 -0
  119. package/lib/components/input-collapse/index.vue.d.ts +7 -0
  120. package/lib/components/input-collapse/index.vue.d.ts.map +1 -0
  121. package/lib/components/input-collapse/type.d.ts +50 -0
  122. package/lib/components/input-collapse/type.d.ts.map +1 -0
  123. package/lib/components/input-linked/index.vue.d.ts +13 -0
  124. package/lib/components/input-linked/index.vue.d.ts.map +1 -0
  125. package/lib/components/input-linked/type.d.ts +32 -0
  126. package/lib/components/input-linked/type.d.ts.map +1 -0
  127. package/lib/components/input-number/index.vue.d.ts +29 -0
  128. package/lib/components/input-number/index.vue.d.ts.map +1 -0
  129. package/lib/components/input-number/type.d.ts +57 -0
  130. package/lib/components/input-number/type.d.ts.map +1 -0
  131. package/lib/components/input-number-range/index.vue.d.ts +28 -0
  132. package/lib/components/input-number-range/index.vue.d.ts.map +1 -0
  133. package/lib/components/input-number-range/type.d.ts +49 -0
  134. package/lib/components/input-number-range/type.d.ts.map +1 -0
  135. package/lib/components/input-table/index.vue.d.ts +25 -0
  136. package/lib/components/input-table/index.vue.d.ts.map +1 -0
  137. package/lib/components/input-table/type.d.ts +37 -0
  138. package/lib/components/input-table/type.d.ts.map +1 -0
  139. package/lib/components/input-upload/index.vue.d.ts +11 -0
  140. package/lib/components/input-upload/index.vue.d.ts.map +1 -0
  141. package/lib/components/input-upload/type.d.ts +59 -0
  142. package/lib/components/input-upload/type.d.ts.map +1 -0
  143. package/lib/components/json/index.vue.d.ts +10 -0
  144. package/lib/components/json/index.vue.d.ts.map +1 -0
  145. package/lib/components/link/index.vue.d.ts +21 -0
  146. package/lib/components/link/index.vue.d.ts.map +1 -0
  147. package/lib/components/link/type.d.ts +28 -0
  148. package/lib/components/link/type.d.ts.map +1 -0
  149. package/lib/components/radios/index.vue.d.ts +42 -0
  150. package/lib/components/radios/index.vue.d.ts.map +1 -0
  151. package/lib/components/radios/type.d.ts +36 -0
  152. package/lib/components/radios/type.d.ts.map +1 -0
  153. package/lib/components/search-bar/index.vue.d.ts +37 -0
  154. package/lib/components/search-bar/index.vue.d.ts.map +1 -0
  155. package/lib/components/select/index.vue.d.ts +48 -0
  156. package/lib/components/select/index.vue.d.ts.map +1 -0
  157. package/lib/components/select/type.d.ts +222 -0
  158. package/lib/components/select/type.d.ts.map +1 -0
  159. package/lib/components/static/options-viewer.vue.d.ts +16 -0
  160. package/lib/components/static/options-viewer.vue.d.ts.map +1 -0
  161. package/lib/components/static/rich-text-viewer.vue.d.ts +8 -0
  162. package/lib/components/static/rich-text-viewer.vue.d.ts.map +1 -0
  163. package/lib/components/static/textarea-viewer.vue.d.ts +6 -0
  164. package/lib/components/static/textarea-viewer.vue.d.ts.map +1 -0
  165. package/lib/components/switch/index.vue.d.ts +38 -0
  166. package/lib/components/switch/index.vue.d.ts.map +1 -0
  167. package/lib/components/switch/type.d.ts +72 -0
  168. package/lib/components/switch/type.d.ts.map +1 -0
  169. package/lib/components/table/index.vue.d.ts +1317 -0
  170. package/lib/components/table/index.vue.d.ts.map +1 -0
  171. package/lib/components/table/table-column.vue.d.ts +44 -0
  172. package/lib/components/table/table-column.vue.d.ts.map +1 -0
  173. package/lib/components/table/type.d.ts +306 -0
  174. package/lib/components/table/type.d.ts.map +1 -0
  175. package/lib/components/table-select/const.d.ts +14 -0
  176. package/lib/components/table-select/const.d.ts.map +1 -0
  177. package/lib/components/table-select/index.vue.d.ts +22471 -0
  178. package/lib/components/table-select/index.vue.d.ts.map +1 -0
  179. package/lib/components/table-select/table-selector-main.vue.d.ts +4795 -0
  180. package/lib/components/table-select/table-selector-main.vue.d.ts.map +1 -0
  181. package/lib/components/table-select/type.d.ts +71 -0
  182. package/lib/components/table-select/type.d.ts.map +1 -0
  183. package/lib/components/tabs/index.vue.d.ts +6 -0
  184. package/lib/components/tabs/index.vue.d.ts.map +1 -0
  185. package/lib/components/tabs/type.d.ts +23 -0
  186. package/lib/components/tabs/type.d.ts.map +1 -0
  187. package/lib/components/text/index.vue.d.ts +7 -0
  188. package/lib/components/text/index.vue.d.ts.map +1 -0
  189. package/lib/components/text/type.d.ts +7 -0
  190. package/lib/components/text/type.d.ts.map +1 -0
  191. package/lib/components/textarea/type.d.ts +79 -0
  192. package/lib/components/textarea/type.d.ts.map +1 -0
  193. package/lib/components/toolbar/index.vue.d.ts +15 -0
  194. package/lib/components/toolbar/index.vue.d.ts.map +1 -0
  195. package/lib/components/transitions/TransitionHeight.vue.d.ts +30 -0
  196. package/lib/components/transitions/TransitionHeight.vue.d.ts.map +1 -0
  197. package/lib/components/tree/index.vue.d.ts +17 -0
  198. package/lib/components/tree/index.vue.d.ts.map +1 -0
  199. package/lib/components/tree/tree-node.vue.d.ts +8 -0
  200. package/lib/components/tree/tree-node.vue.d.ts.map +1 -0
  201. package/lib/components/tree/tree-state.d.ts +35 -0
  202. package/lib/components/tree/tree-state.d.ts.map +1 -0
  203. package/lib/components/tree/type.d.ts +50 -0
  204. package/lib/components/tree/type.d.ts.map +1 -0
  205. package/lib/components/tree-select/index.vue.d.ts +94 -0
  206. package/lib/components/tree-select/index.vue.d.ts.map +1 -0
  207. package/lib/components/tree-select/type.d.ts +156 -0
  208. package/lib/components/tree-select/type.d.ts.map +1 -0
  209. package/lib/components/tree-select-crud/index.vue.d.ts +3102 -0
  210. package/lib/components/tree-select-crud/index.vue.d.ts.map +1 -0
  211. package/lib/components/tree-select-crud/type.d.ts +88 -0
  212. package/lib/components/tree-select-crud/type.d.ts.map +1 -0
  213. package/lib/components/upload/index.vue.d.ts +54 -0
  214. package/lib/components/upload/index.vue.d.ts.map +1 -0
  215. package/lib/composables/__tests__/use-option-static.test.d.ts +2 -0
  216. package/lib/composables/__tests__/use-option-static.test.d.ts.map +1 -0
  217. package/lib/composables/index.d.ts +3 -0
  218. package/lib/composables/index.d.ts.map +1 -0
  219. package/lib/composables/use-action.d.ts +21 -0
  220. package/lib/composables/use-action.d.ts.map +1 -0
  221. package/lib/composables/use-component.d.ts +74 -0
  222. package/lib/composables/use-component.d.ts.map +1 -0
  223. package/lib/composables/use-config.d.ts +76 -0
  224. package/lib/composables/use-config.d.ts.map +1 -0
  225. package/lib/composables/use-draggable.d.ts +22 -0
  226. package/lib/composables/use-draggable.d.ts.map +1 -0
  227. package/lib/composables/use-input-array.d.ts +45 -0
  228. package/lib/composables/use-input-array.d.ts.map +1 -0
  229. package/lib/composables/use-label.d.ts +2 -0
  230. package/lib/composables/use-label.d.ts.map +1 -0
  231. package/lib/composables/use-loading.d.ts +6 -0
  232. package/lib/composables/use-loading.d.ts.map +1 -0
  233. package/lib/composables/use-option-static.d.ts +51 -0
  234. package/lib/composables/use-option-static.d.ts.map +1 -0
  235. package/lib/composables/use-options.d.ts +66 -0
  236. package/lib/composables/use-options.d.ts.map +1 -0
  237. package/lib/composables/use-paging.d.ts +134 -0
  238. package/lib/composables/use-paging.d.ts.map +1 -0
  239. package/lib/composables/use-scaffold.d.ts +54 -0
  240. package/lib/composables/use-scaffold.d.ts.map +1 -0
  241. package/lib/composables/use-toggle.d.ts +11 -0
  242. package/lib/composables/use-toggle.d.ts.map +1 -0
  243. package/lib/composables/use-tree-static-path.d.ts +45 -0
  244. package/lib/composables/use-tree-static-path.d.ts.map +1 -0
  245. package/lib/composables/use-visible.d.ts +11 -0
  246. package/lib/composables/use-visible.d.ts.map +1 -0
  247. package/lib/config/layout.d.ts +9 -0
  248. package/lib/config/layout.d.ts.map +1 -0
  249. package/lib/constants/injection.d.ts +11 -0
  250. package/lib/constants/injection.d.ts.map +1 -0
  251. package/lib/directives/highlight.d.ts +7 -0
  252. package/lib/directives/highlight.d.ts.map +1 -0
  253. package/lib/directives/index.d.ts +2 -0
  254. package/lib/directives/index.d.ts.map +1 -0
  255. package/lib/favicon.ico +0 -0
  256. package/lib/index.d.ts +59 -0
  257. package/lib/index.d.ts.map +1 -0
  258. package/lib/ri/icons.json +8728 -0
  259. package/lib/ri/metadata.json +2938 -0
  260. package/lib/types/api.d.ts +8 -0
  261. package/lib/types/api.d.ts.map +1 -0
  262. package/lib/types/base.d.ts +306 -0
  263. package/lib/types/base.d.ts.map +1 -0
  264. package/lib/types/form.d.ts +82 -0
  265. package/lib/types/form.d.ts.map +1 -0
  266. package/lib/types/index.d.ts +6 -0
  267. package/lib/types/index.d.ts.map +1 -0
  268. package/lib/types/option.d.ts +115 -0
  269. package/lib/types/option.d.ts.map +1 -0
  270. package/lib/types/pagination.d.ts +35 -0
  271. package/lib/types/pagination.d.ts.map +1 -0
  272. package/lib/types/table.d.ts +34 -0
  273. package/lib/types/table.d.ts.map +1 -0
  274. package/lib/types/util.d.ts +6 -0
  275. package/lib/types/util.d.ts.map +1 -0
  276. package/lib/utils/__tests__/condition.test.d.ts +2 -0
  277. package/lib/utils/__tests__/condition.test.d.ts.map +1 -0
  278. package/lib/utils/__tests__/editor-container.test.d.ts +2 -0
  279. package/lib/utils/__tests__/editor-container.test.d.ts.map +1 -0
  280. package/lib/utils/__tests__/form.test.d.ts +2 -0
  281. package/lib/utils/__tests__/form.test.d.ts.map +1 -0
  282. package/lib/utils/__tests__/tree.test.d.ts +2 -0
  283. package/lib/utils/__tests__/tree.test.d.ts.map +1 -0
  284. package/lib/utils/common.d.ts +13 -0
  285. package/lib/utils/common.d.ts.map +1 -0
  286. package/lib/utils/computed-state-manager.d.ts +3 -0
  287. package/lib/utils/computed-state-manager.d.ts.map +1 -0
  288. package/lib/utils/condition.d.ts +4 -0
  289. package/lib/utils/condition.d.ts.map +1 -0
  290. package/lib/utils/editor-container.d.ts +25 -0
  291. package/lib/utils/editor-container.d.ts.map +1 -0
  292. package/lib/utils/form-item.d.ts +23 -0
  293. package/lib/utils/form-item.d.ts.map +1 -0
  294. package/lib/utils/form.d.ts +75 -0
  295. package/lib/utils/form.d.ts.map +1 -0
  296. package/lib/utils/id.d.ts +24 -0
  297. package/lib/utils/id.d.ts.map +1 -0
  298. package/lib/utils/options.d.ts +14 -0
  299. package/lib/utils/options.d.ts.map +1 -0
  300. package/lib/utils/reactive.d.ts +13 -0
  301. package/lib/utils/reactive.d.ts.map +1 -0
  302. package/lib/utils/style.d.ts +5 -0
  303. package/lib/utils/style.d.ts.map +1 -0
  304. package/lib/utils/tree.d.ts +51 -0
  305. package/lib/utils/tree.d.ts.map +1 -0
  306. package/lib/xkit-ui.css +2 -0
  307. package/lib/xkit-ui.js +7478 -0
  308. package/lib/xkit-ui.umd.cjs +3 -0
  309. package/package.json +66 -0
@@ -0,0 +1,89 @@
1
+ import { XLayout } from '../../types';
2
+ import { XInputArrayItem } from '../form/type';
3
+ import { StyleValue } from 'vue';
4
+ export interface XInputArrayBase {
5
+ /**
6
+ * 行数据唯一标识字段,默认 id
7
+ */
8
+ idField?: string;
9
+ /**
10
+ * 子项
11
+ */
12
+ items?: XInputArrayItem[];
13
+ labelVisible?: boolean;
14
+ /**
15
+ * 字段名
16
+ */
17
+ name?: string;
18
+ /**
19
+ * 是否可拖拽排序
20
+ */
21
+ draggable?: boolean;
22
+ /**
23
+ * 拖拽是否强制刷新,当拖拽后,UI不更新时开启
24
+ */
25
+ forceUpdate?: boolean;
26
+ /**
27
+ * 是否可删除
28
+ */
29
+ deletable?: boolean;
30
+ /**
31
+ * 是否可添加
32
+ */
33
+ addable?: boolean;
34
+ /**
35
+ * 最小长度
36
+ */
37
+ minLength?: number;
38
+ /**
39
+ * 最大长度
40
+ */
41
+ maxLength?: number;
42
+ /**
43
+ * 是否为静态
44
+ */
45
+ static?: boolean;
46
+ /**
47
+ * 是否使用布局
48
+ */
49
+ useLayout?: boolean;
50
+ /**
51
+ * 布局
52
+ */
53
+ layout?: XLayout;
54
+ /**
55
+ * 样式style
56
+ */
57
+ style?: StyleValue;
58
+ /**
59
+ * 样式class
60
+ */
61
+ class?: string;
62
+ /**
63
+ * 是否启用脚手架模式
64
+ */
65
+ useScaffoldValue?: boolean;
66
+ /**
67
+ * 是否显示底部新增按钮
68
+ */
69
+ showFooterAddButton?: boolean;
70
+ /**
71
+ * 是否显示行内新增按钮
72
+ */
73
+ showInlineAddButton?: boolean;
74
+ /**
75
+ * 行样式
76
+ */
77
+ rowClass?: string;
78
+ /**
79
+ * 行样式
80
+ */
81
+ rowStyle?: StyleValue;
82
+ }
83
+ export interface XInputArraySchema extends XInputArrayBase {
84
+ /**
85
+ * 数组输入框
86
+ */
87
+ type: 'x-input-array';
88
+ }
89
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-array/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAErC,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD;;OAEG;IACH,IAAI,EAAE,eAAe,CAAA;CACtB"}
@@ -0,0 +1,7 @@
1
+ import { XInputCollapseBase } from './type';
2
+ type __VLS_Props = XInputCollapseBase;
3
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
4
+ body: import('./type').XInputCollapseItem<any, any>[];
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input-collapse/index.vue"],"names":[],"mappings":"AASA;AAuCA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAOhD,KAAK,WAAW,GAAG,kBAAkB,CAAC;;;;AAmGtC,wBAOG"}
@@ -0,0 +1,50 @@
1
+ import { XLayout } from '../../types';
2
+ import { XFormItem } from '../form/type';
3
+ import { Component } from 'vue';
4
+ export interface ElCollapseItemSchema {
5
+ /**
6
+ * 唯一标志符
7
+ */
8
+ _name?: string;
9
+ /**
10
+ * 面板标题
11
+ */
12
+ title?: string;
13
+ /**
14
+ * 折叠项目的图标
15
+ */
16
+ icon?: string | Component;
17
+ }
18
+ export interface XInputCollapseItemBase<T = any, Context = any> {
19
+ name?: string;
20
+ /**
21
+ * 子项
22
+ */
23
+ body?: XFormItem<T, Context>[];
24
+ /**
25
+ * 布局
26
+ */
27
+ layout?: XLayout;
28
+ }
29
+ export type XInputCollapseItem<T = any, Context = any> = XInputCollapseItemBase<T, Context> & ElCollapseItemSchema;
30
+ export interface XInputCollapseBase<T = any, Context = any> {
31
+ /**
32
+ * 统一配置layout
33
+ */
34
+ layout?: XLayout;
35
+ /**
36
+ * 分组项
37
+ */
38
+ body?: XInputCollapseItem<T, Context>[];
39
+ /**
40
+ * 是否手风琴模式
41
+ */
42
+ accordion?: boolean;
43
+ }
44
+ export interface XInputCollapseSchema<T = any, Context = any> extends XInputCollapseBase<T, Context> {
45
+ /**
46
+ * 分组列表
47
+ */
48
+ type: 'input-collapse' | 'x-input-collapse';
49
+ }
50
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-collapse/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B;AASD,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,CAAA;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,sBAAsB,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,oBAAoB,CAAA;AAClH,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,CAAA;IAEvC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,kBAAkB,CAAC,CAAC,EAAE,OAAO,CAAC;IAClG;;OAEG;IACH,IAAI,EAAE,gBAAgB,GAAG,kBAAkB,CAAA;CAC5C"}
@@ -0,0 +1,13 @@
1
+ import { SelectableFormItemBase, XInputLinkBase } from './type';
2
+ export interface XInputLinkedProps extends XInputLinkBase {
3
+ /**
4
+ * 静态显示时的连接符,默认“`/`”
5
+ */
6
+ separator?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<XInputLinkedProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XInputLinkedProps> & Readonly<{}>, {
9
+ items: SelectableFormItemBase[];
10
+ separator: string;
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input-linked/index.vue"],"names":[],"mappings":"AAiBA;AAwLA,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAEpE,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;;;eADa,MAAM;;AAsQpB,wBAOG"}
@@ -0,0 +1,32 @@
1
+ import { ISelectWithAll } from '../../types';
2
+ import { XFormItem } from '../form/type';
3
+ export type SelectableFormItem = XFormItem & ISelectWithAll;
4
+ export type SelectableFormItemBase = Omit<SelectableFormItem, 'disabled'> & {
5
+ disabled?: boolean;
6
+ };
7
+ export interface XInputLinkBase {
8
+ /**
9
+ * 是否为静态
10
+ */
11
+ static?: boolean;
12
+ items?: SelectableFormItemBase[];
13
+ /**
14
+ * 静态显示时的连接符,默认“`/`”
15
+ */
16
+ separator?: string;
17
+ }
18
+ export interface XInputLinkedSchema {
19
+ /**
20
+ * 链式输入器
21
+ */
22
+ type: 'x-input-linked';
23
+ /**
24
+ * 子项
25
+ */
26
+ items: SelectableFormItem[];
27
+ /**
28
+ * 静态显示时的连接符,默认“`/`”
29
+ */
30
+ separator?: string;
31
+ }
32
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-linked/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,cAAc,CAAA;AAE3D,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAClG,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AACD,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAA;IAGtB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,29 @@
1
+ import { XInputNumberBase } from './type';
2
+ export interface XInputNumberProps extends XInputNumberBase {
3
+ modelValue?: number;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ static?(_: {
9
+ value: number;
10
+ displayValue: string;
11
+ }): any;
12
+ };
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<XInputNumberProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:modelValue": (...args: any[]) => void;
19
+ }, string, import('vue').PublicProps, Readonly<XInputNumberProps> & Readonly<{
20
+ "onUpdate:modelValue"?: (...args: any[]) => any;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input-number/index.vue"],"names":[],"mappings":"AAgBA;AAwFA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAQ9C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAyCD,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;;;;YAVtB,GAAG;;;;EAe9B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;iFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,57 @@
1
+ export interface ElInputNumberSchema {
2
+ /**
3
+ * 占位符
4
+ */
5
+ placeholder?: string;
6
+ /**
7
+ * 设置计数器允许的最小值,默认`-Infinity`
8
+ */
9
+ min?: number;
10
+ /**
11
+ * 设置计数器允许的最大值,默认`Infinity`
12
+ */
13
+ max?: number;
14
+ /**
15
+ * 计数器步长,默认`1`
16
+ */
17
+ step?: number;
18
+ /**
19
+ * 是否只能输入 step 的倍数,默认`false`
20
+ */
21
+ stepStrictly?: boolean;
22
+ /**
23
+ * 数值精度
24
+ */
25
+ precision?: number;
26
+ /**
27
+ * 计数器尺寸
28
+ */
29
+ size?: 'large' | 'default' | 'small';
30
+ /**
31
+ * 是否使用控制按钮
32
+ */
33
+ controls?: boolean;
34
+ /**
35
+ * 控制按钮位置
36
+ */
37
+ controlsPosition?: '' | 'right';
38
+ valueOnClear?: number | null;
39
+ }
40
+ export interface XInputNumberBase {
41
+ /**
42
+ * 单位
43
+ */
44
+ unit?: string;
45
+ /**
46
+ * 是否为静态模式
47
+ */
48
+ static?: boolean;
49
+ }
50
+ export interface XInputNumberSchema<T = any, Context = any> extends ElInputNumberSchema, XInputNumberBase {
51
+ /**
52
+ * 数字输入框
53
+ */
54
+ type: 'input-number' | 'x-input-number';
55
+ attrs?: ElInputNumberSchema | ((row: T, context: Context) => ElInputNumberSchema);
56
+ }
57
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-number/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEpC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,EAAE,GAAG,OAAO,CAAA;IAE/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AACD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AACD,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,mBAAmB,EAAE,gBAAgB;IACvG;;OAEG;IACH,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAAA;IAEvC,KAAK,CAAC,EAAE,mBAAmB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,mBAAmB,CAAC,CAAA;CAClF"}
@@ -0,0 +1,28 @@
1
+ import { XInputNumberRangeBase } from './type';
2
+ import { RulesMapper } from '../form/type';
3
+ export interface XInputNumberRangeProps extends XInputNumberRangeBase {
4
+ /**
5
+ * 这个是表单中对sync处理后得到的验证规则
6
+ */
7
+ _rules?: RulesMapper;
8
+ modelValue?: any;
9
+ startValue?: number;
10
+ endValue?: number;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<XInputNumberRangeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:modelValue": (...args: any[]) => void;
14
+ "update:startValue": (...args: any[]) => void;
15
+ "update:endValue": (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<XInputNumberRangeProps> & Readonly<{
17
+ "onUpdate:modelValue"?: (...args: any[]) => any;
18
+ "onUpdate:startValue"?: (...args: any[]) => any;
19
+ "onUpdate:endValue"?: (...args: any[]) => any;
20
+ }>, {
21
+ min: number;
22
+ max: number;
23
+ rangeSeperator: string;
24
+ startPlaceholder: string;
25
+ endPlaceholder: string;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ export default _default;
28
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input-number-range/index.vue"],"names":[],"mappings":"AAuBA;AA2LA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG/C,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;;;;;;;;;;;;;;;;AAwQD,wBAQG"}
@@ -0,0 +1,49 @@
1
+ import { StyleValue } from 'vue';
2
+ import { ElInputNumberSchema } from '../input-number/type';
3
+ export interface XInputNumberRangeBase {
4
+ /**
5
+ * 开始值
6
+ */
7
+ startValue?: number;
8
+ /**
9
+ * 结束值
10
+ */
11
+ endValue?: number;
12
+ /**
13
+ * 设置计数器允许的最小值,默认`-Infinity`
14
+ */
15
+ min?: number;
16
+ /**
17
+ * 设置计数器允许的最大值,默认`Infinity`
18
+ */
19
+ max?: number;
20
+ style?: StyleValue;
21
+ /**
22
+ * 是否将modelValue的两个值合并为字符串,默认`false`
23
+ */
24
+ joinValues?: boolean;
25
+ /**
26
+ * 范围选择时开始日期的占位内容
27
+ */
28
+ startPlaceholder?: string;
29
+ /**
30
+ * 范围选择时结束日期的占位内容
31
+ */
32
+ endPlaceholder?: string;
33
+ /**
34
+ * 范围选择器分隔符,默认“-”
35
+ */
36
+ rangeSeperator?: string;
37
+ /**
38
+ * 是否为静态
39
+ */
40
+ static?: boolean;
41
+ }
42
+ export interface XInputNumberRangeSchema<T = any, Context = any> extends XInputNumberRangeBase, ElInputNumberSchema {
43
+ /**
44
+ * 数值范围输入器
45
+ */
46
+ type: 'x-input-number-range';
47
+ attrs?: ElInputNumberSchema | ((row: T, context: Context) => ElInputNumberSchema);
48
+ }
49
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-number-range/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE/D,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,UAAU,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AACD,MAAM,WAAW,uBAAuB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,qBAAqB,EAAE,mBAAmB;IACjH;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAA;IAG5B,KAAK,CAAC,EAAE,mBAAmB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,mBAAmB,CAAC,CAAA;CAClF"}
@@ -0,0 +1,25 @@
1
+ import { XInputTableBase } from './type';
2
+ declare const _default: <T extends {
3
+ children?: any[];
4
+ } = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly onDelete?: (...args: any[]) => any;
7
+ readonly onAdd?: (...args: any[]) => any;
8
+ readonly "onUpdate:modelValue"?: (...args: any[]) => any;
9
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onAdd" | "onDelete"> & (XInputTableBase<T, any> & {
10
+ modelValue?: T[];
11
+ }) & Partial<{}>> & import('vue').PublicProps;
12
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
13
+ attrs: any;
14
+ slots: {};
15
+ emit: (event: "delete" | "add" | "update:modelValue", ...args: any[]) => void;
16
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
17
+ [key: string]: any;
18
+ }> & {
19
+ __ctx?: Awaited<typeof __VLS_setup>;
20
+ };
21
+ export default _default;
22
+ type __VLS_PrettifyLocal<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
25
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input-table/index.vue"],"names":[],"mappings":"AA6CA;AA4lBA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAA;yBAY5B,CAAC,SAAS;IAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAA;CAAE,qBACjC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA4qB1D,mBAAmB,CAAC;;;;;qBArqB2B,CAAC,EAAE;oBAqqBoC,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;YAKiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAtrBvE,wBAsrB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { InputArray } from '../../composables/use-input-array';
2
+ import { ElTableSchema } from '../table/type';
3
+ import { SingleActionItem as ActionItem } from '../crud/action-type';
4
+ export interface XInputTableBase<T = any, Context = any> extends Omit<InputArray<T, Context>, 'modelValue'> {
5
+ /**
6
+ * 是否为静态
7
+ */
8
+ static?: boolean;
9
+ /**
10
+ * 字段名
11
+ */
12
+ name?: string;
13
+ /**
14
+ * 底部工具栏
15
+ */
16
+ footerToolbar?: {
17
+ left?: ActionItem[];
18
+ right?: ActionItem[];
19
+ };
20
+ /**
21
+ * 是否显示表头,默认显示。透传给嵌套表格;merged 模式也会读取。
22
+ */
23
+ showHeader?: boolean;
24
+ /**
25
+ * 在 x-form table 布局中的组合方式。
26
+ * nested: 在单元格内渲染独立表格;merged: 输出行/单元格片段并融入父表格。
27
+ */
28
+ tableComposition?: 'nested' | 'merged';
29
+ }
30
+ export interface XInputTableSchema<T = any, Context = any> extends XInputTableBase<T, Context>, ElTableSchema {
31
+ /**
32
+ * 表格输入器(一对多)
33
+ */
34
+ type: 'x-input-table';
35
+ [prop: string]: any;
36
+ }
37
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-table/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,KAAK,gBAAgB,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACzE,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,YAAY,CAAC;IACzG;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,UAAU,EAAE,CAAC;QAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;KAAE,CAAA;IAC7D;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;CACvC;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,aAAa;IAC3G;;OAEG;IACH,IAAI,EAAE,eAAe,CAAA;IAErB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;CACpB"}
@@ -0,0 +1,11 @@
1
+ import { XInputUploadProps } from './type';
2
+ declare const _default: import('vue').DefineComponent<XInputUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ "update:modelValue": (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<XInputUploadProps> & Readonly<{
5
+ "onUpdate:modelValue"?: (...args: any[]) => any;
6
+ }>, {
7
+ valueField: string;
8
+ multiple: boolean;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
11
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input-upload/index.vue"],"names":[],"mappings":"AAiDA;AAiZA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,QAAQ,CAAA;;;;;;;;;AA6iBhE,wBAQG"}
@@ -0,0 +1,59 @@
1
+ import { IMultiple } from '../../types';
2
+ import { XEllipsisProps } from '../ellipsis/index.vue';
3
+ export interface XInputUploadSchema extends IMultiple {
4
+ type: 'x-input-upload';
5
+ limitSize?: number;
6
+ tips?: string | string[];
7
+ /**
8
+ * 模式,file和image,默认file
9
+ */
10
+ mode?: 'file' | 'image';
11
+ limit?: number;
12
+ doUpload?: (file: File) => Promise<XUploadFileItem>;
13
+ onPreview?: (file: XUploadFileItem, props: XInputUploadProps) => void;
14
+ /**
15
+ * 文件url字段,默认url,joinValues为true时使用
16
+ */
17
+ valueField?: string;
18
+ /**
19
+ * 上传文件类型限制
20
+ */
21
+ accept?: string | string[];
22
+ /**
23
+ * tips ellipsis
24
+ */
25
+ ellipsis?: XEllipsisProps;
26
+ /**
27
+ * 是否使用id进行存储
28
+ */
29
+ idMode?: boolean;
30
+ /**
31
+ * 获取文件详情的钩子函数
32
+ * @param id 文件id
33
+ * @returns 文件详情
34
+ */
35
+ getFileInfo?: (id: string) => Promise<XUploadFileItem>;
36
+ }
37
+ export type XInputUploadProps = Omit<XInputUploadSchema, 'type'> & {
38
+ static?: boolean;
39
+ modelValue?: string | string[] | XUploadFileItem | XUploadFileItem[];
40
+ };
41
+ /**
42
+ * 上传返回文件对象
43
+ */
44
+ export interface XUploadFileItem {
45
+ /**
46
+ * 文件id
47
+ */
48
+ id?: string;
49
+ /**
50
+ * 文件名
51
+ */
52
+ name: string;
53
+ /**
54
+ * 文件地址
55
+ */
56
+ url: string;
57
+ [prop: string]: any;
58
+ }
59
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/input-upload/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,IAAI,EAAE,gBAAgB,CAAA;IAEtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IACnD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;IACrE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAA;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;CACvD;AACD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG;IACjE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,eAAe,GAAG,eAAe,EAAE,CAAA;CACrE,CAAA;AACD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;CACpB"}
@@ -0,0 +1,10 @@
1
+ export interface XJsonProps {
2
+ modelValue?: any;
3
+ collapsed?: boolean;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<XJsonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XJsonProps> & Readonly<{}>, {
6
+ modelValue: any;
7
+ collapsed: boolean;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
9
+ export default _default;
10
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/json/index.vue"],"names":[],"mappings":"AAUA;AA4HA,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;;gBAFc,GAAG;eACJ,OAAO;;AA2HrB,wBAQG"}
@@ -0,0 +1,21 @@
1
+ export interface XLinkProps {
2
+ modelValue?: string;
3
+ }
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: any;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<XLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/link/index.vue"],"names":[],"mappings":"AAOA;AA0BA,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAWD,iBAAS,cAAc;WAkCT,OAAO,IAA6B;;yBAXrB,GAAG;;;;EAgB/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+RAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { Component } from 'vue';
2
+ export interface ElLinkSchema {
3
+ /**
4
+ * link的类型
5
+ */
6
+ _type?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default';
7
+ /**
8
+ * 是否有下划线,默认`true`
9
+ */
10
+ underline?: boolean;
11
+ /**
12
+ * 原生 `href` 属性
13
+ */
14
+ href?: string;
15
+ /**
16
+ * 原生 `target` 属性
17
+ */
18
+ target?: '_blank' | '_parent' | '_self' | '_top';
19
+ /**
20
+ * 图标组件
21
+ */
22
+ icon?: string | Component;
23
+ }
24
+ export interface XLinkSchema<T = any, Context = any> extends ElLinkSchema {
25
+ type: 'link' | 'x-link';
26
+ attrs?: ElLinkSchema | ((row: T, context: Context) => ElLinkSchema);
27
+ }
28
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/link/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAA;IAEzE;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IAEhD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,YAAY;IACvE,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAA;IAEvB,KAAK,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,YAAY,CAAC,CAAA;CACpE"}