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,3 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
3
+ //# sourceMappingURL=icon-add-circle-fill.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-add-circle-fill.vue.d.ts","sourceRoot":"","sources":["../../src/assets/icon-add-circle-fill.vue"],"names":[],"mappings":"AAKA;;AAwDA,wBAMG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
3
+ //# sourceMappingURL=icon-close-line.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-close-line.vue.d.ts","sourceRoot":"","sources":["../../src/assets/icon-close-line.vue"],"names":[],"mappings":"AAOA;;AA0DA,wBAMG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
3
+ //# sourceMappingURL=icon-drag.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-drag.vue.d.ts","sourceRoot":"","sources":["../../src/assets/icon-drag.vue"],"names":[],"mappings":"AAmBA;;AAmIA,wBAMG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
3
+ //# sourceMappingURL=icon-minus-circle.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-minus-circle.vue.d.ts","sourceRoot":"","sources":["../../src/assets/icon-minus-circle.vue"],"names":[],"mappings":"AAOA;;AA0DA,wBAMG"}
@@ -0,0 +1,17 @@
1
+ import { XInputArrayItem } from '../form/type';
2
+ import { StyleValue } from 'vue';
3
+ export interface FormItemColsProps {
4
+ items: XInputArrayItem[];
5
+ row: any;
6
+ static?: boolean;
7
+ propPrefix?: string;
8
+ rowClass?: string;
9
+ rowStyle?: StyleValue;
10
+ defaultItemWidth?: string | false;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<FormItemColsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormItemColsProps> & Readonly<{}>, {
13
+ items: XInputArrayItem[];
14
+ row: any;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
17
+ //# sourceMappingURL=form-item-cols.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-item-cols.vue.d.ts","sourceRoot":"","sources":["../../../src/components/_public/form-item-cols.vue"],"names":[],"mappings":"AAmBA;AAgIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAA2C,KAAK,UAAU,EAAE,MAAM,KAAK,CAAA;AAQ9E,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,GAAG,EAAE,GAAG,CAAA;IACR,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CAClC;;WAPQ,eAAe,EAAE;SACnB,GAAG;;AA6LV,wBAOG"}
@@ -0,0 +1,85 @@
1
+ import { Component } from 'vue';
2
+ export interface ElButtonSchema {
3
+ /**
4
+ * 尺寸
5
+ */
6
+ size?: 'large' | 'default' | 'small';
7
+ /**
8
+ * 按钮类型,在设置color时,后者优先。
9
+ */
10
+ _type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
+ /**
12
+ * 是否为朴素按钮
13
+ */
14
+ plain?: boolean;
15
+ /**
16
+ * 是否为文字按钮
17
+ */
18
+ text?: boolean;
19
+ /**
20
+ * 是否显示文字按钮背景颜色
21
+ */
22
+ bg?: boolean;
23
+ /**
24
+ * 是否为链接按钮
25
+ */
26
+ link?: boolean;
27
+ /**
28
+ * 是否为圆角按钮
29
+ */
30
+ round?: boolean;
31
+ /**
32
+ * 是否为圆形按钮
33
+ */
34
+ circle?: boolean;
35
+ /**
36
+ * 是否为加载中状态
37
+ */
38
+ loading?: boolean;
39
+ /**
40
+ * 自定义加载中状态图标组件
41
+ */
42
+ loadingIcon?: string | Component;
43
+ /**
44
+ * 按钮是否为禁用状态
45
+ */
46
+ disabled?: boolean;
47
+ /**
48
+ * 图标组件
49
+ */
50
+ icon?: string | Component;
51
+ /**
52
+ * 自动在两个中文字符之间插入空格
53
+ */
54
+ autoInsertSpace?: boolean;
55
+ /**
56
+ * 自定义按钮颜色, 并自动计算 hover 和 active 触发后的颜色
57
+ */
58
+ color?: string;
59
+ /**
60
+ * dark 模式, 意味着自动设置 color 为 dark 模式的颜色
61
+ */
62
+ dark?: boolean;
63
+ /**
64
+ * 自定义元素标签,默认`button`
65
+ */
66
+ tag?: string | Component;
67
+ }
68
+ export interface ElButtonGroupSchema {
69
+ /**
70
+ * 用于控制该按钮组内按钮的大小
71
+ */
72
+ size?: 'large' | 'default' | 'small';
73
+ /**
74
+ * 用于控制该按钮组内按钮的类型
75
+ */
76
+ _type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
77
+ }
78
+ export interface XButtonSchema extends ElButtonSchema {
79
+ /**
80
+ * 按钮
81
+ */
82
+ type: 'button';
83
+ attrs?: ElButtonSchema;
84
+ }
85
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/button/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAA;IAE7D;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAEzB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAA;CAC9D;AAED,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAA;IAEd,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB"}
@@ -0,0 +1,66 @@
1
+ import { XCascaderBase } from './type';
2
+ import { OptionItem } from '../../types';
3
+ export interface XCascaderProps extends XCascaderBase {
4
+ modelValue?: any;
5
+ }
6
+ /**
7
+ * cascader 静态插槽参数:
8
+ * 在 #static 中暴露当前值、路径和选项映射,便于业务侧自定义只读展示。
9
+ */
10
+ interface XCascaderStaticSlotScope {
11
+ /** 当前绑定值(单选为标量,多选通常为数组)。 */
12
+ value: any;
13
+ /** 静态模式最终展示文本(受 staticShowFullPath 等配置影响)。 */
14
+ displayValue: string;
15
+ /** 完整路径展示文本(与 displayValue 区分,便于业务自主选择)。 */
16
+ displayPath: string;
17
+ /** 单选场景下匹配到的当前节点。 */
18
+ selectedOption: OptionItem | null;
19
+ /** 多选场景下按值顺序映射的节点集合(未命中时为 null)。 */
20
+ selectedOptions: Array<OptionItem | null>;
21
+ /** 单选场景下匹配到的完整节点路径。 */
22
+ selectedPath: OptionItem[] | null;
23
+ /** 多选场景下的完整节点路径集合。 */
24
+ selectedPaths: OptionItem[][];
25
+ /** 单选场景下的路径文案(完整路径或末级文本)。 */
26
+ pathLabel: string;
27
+ /** 多选场景下的路径文本二维数组(每一项对应一条路径)。 */
28
+ pathLabels: string[][];
29
+ /** 路径层级分隔符(如 `/`)。 */
30
+ pathSeparator: string;
31
+ /** 当前可选树数据(已合并动态 options 结果)。 */
32
+ options: OptionItem[];
33
+ }
34
+ interface XCascaderSlots {
35
+ static?: (scope: XCascaderStaticSlotScope) => any;
36
+ }
37
+ declare function __VLS_template(): {
38
+ attrs: Partial<{}>;
39
+ slots: Readonly<XCascaderSlots> & XCascaderSlots;
40
+ refs: {
41
+ containerRef: HTMLDivElement;
42
+ };
43
+ rootEl: any;
44
+ };
45
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
46
+ declare const __VLS_component: import('vue').DefineComponent<XCascaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
+ "update:modelValue": (...args: any[]) => void;
48
+ change: (...args: any[]) => void;
49
+ }, string, import('vue').PublicProps, Readonly<XCascaderProps> & Readonly<{
50
+ "onUpdate:modelValue"?: (...args: any[]) => any;
51
+ onChange?: (...args: any[]) => any;
52
+ }>, {
53
+ options: import('../../types').FormItemOptions<any, any>;
54
+ tagType: "success" | "info" | "warning" | "danger";
55
+ tagEffect: "light" | "dark" | "plain";
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
57
+ containerRef: HTMLDivElement;
58
+ }, any>;
59
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
60
+ export default _default;
61
+ type __VLS_WithTemplateSlots<T, S> = T & {
62
+ new (): {
63
+ $slots: S;
64
+ };
65
+ };
66
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/cascader/index.vue"],"names":[],"mappings":"AAwBA;AAkXA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAE3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAIzC,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,UAAU,CAAC,EAAE,GAAG,CAAA;CACjB;AAED;;;GAGG;AACH,UAAU,wBAAwB;IAChC,4BAA4B;IAC5B,KAAK,EAAE,GAAG,CAAA;IACV,8CAA8C;IAC9C,YAAY,EAAE,MAAM,CAAA;IACpB,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,qBAAqB;IACrB,cAAc,EAAE,UAAU,GAAG,IAAI,CAAA;IACjC,oCAAoC;IACpC,eAAe,EAAE,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,CAAA;IACzC,uBAAuB;IACvB,YAAY,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;IACjC,sBAAsB;IACtB,aAAa,EAAE,UAAU,EAAE,EAAE,CAAA;IAC7B,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAA;IACjB,iCAAiC;IACjC,UAAU,EAAE,MAAM,EAAE,EAAE,CAAA;IACtB,sBAAsB;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,iCAAiC;IACjC,OAAO,EAAE,UAAU,EAAE,CAAA;CACtB;AAED,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,GAAG,CAAA;CAClD;AAuRD,iBAAS,cAAc;WA2DT,OAAO,IAA6B;;;;;;EAKjD;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;OASnB,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,125 @@
1
+ import { IMultipleSelect } from '../../types';
2
+ import { CascaderNode, CascaderProps, Placement } from 'element-plus';
3
+ import { StyleValue } from 'vue';
4
+ export interface ElCascaderSchema {
5
+ /**
6
+ * 占位符
7
+ */
8
+ placeholder?: string;
9
+ /**
10
+ * 配置选项
11
+ */
12
+ props?: CascaderProps;
13
+ /**
14
+ * 尺寸
15
+ */
16
+ size?: 'large' | 'default' | 'small';
17
+ /**
18
+ * 输入框中是否显示选中值的完整路径,默认true
19
+ */
20
+ showAllLevels?: boolean;
21
+ /**
22
+ * 多选模式下是否折叠Tag,默认false
23
+ */
24
+ collapseTags?: boolean;
25
+ /**
26
+ * 当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此属性,collapse-tags属性必须设定为 true
27
+ */
28
+ collapseTagsTooltip?: boolean;
29
+ /**
30
+ * 用于分隔选项的字符,默认`/`
31
+ */
32
+ separator?: string;
33
+ /**
34
+ * 该选项是否可以被搜索
35
+ */
36
+ filterable?: boolean;
37
+ /**
38
+ * 自定义搜索逻辑
39
+ * @param node 当前节点
40
+ * @param keyword 关键字
41
+ * @returns 是否保留该选项
42
+ */
43
+ filterMethod?: (node: CascaderNode, keyword: string) => boolean;
44
+ /**
45
+ * 搜索关键词正在输入时的去抖延迟,单位为毫秒,默认300
46
+ */
47
+ debounce?: number;
48
+ /**
49
+ * 过滤函数调用前,所要调用的钩子函数,该函数接收要过滤的值作为参数。 如果该函数的返回值是 false 或者是一个被拒绝的 Promise,那么接下来的过滤逻辑便不会执行。
50
+ * @param value
51
+ * @returns
52
+ */
53
+ beforeFilter?: (value: string) => boolean;
54
+ /**
55
+ * 弹出内容的自定义类名
56
+ */
57
+ popperClass?: string;
58
+ /**
59
+ * 弹出层是否使用teleport,默认true
60
+ */
61
+ teleported?: boolean;
62
+ /**
63
+ * 标签类型
64
+ */
65
+ tagType?: 'success' | 'info' | 'warning' | 'danger';
66
+ /**
67
+ * 标签主题效果
68
+ */
69
+ tagEffect?: 'light' | 'dark' | 'plain';
70
+ /**
71
+ * 输入时是否触发表单的校验,默认true
72
+ */
73
+ validateEvent?: boolean;
74
+ /**
75
+ * 需要显示的 Tag 的最大数量 只有当 collapse-tags 设置为 true 时才会生效。
76
+ */
77
+ maxCollapseTags?: number;
78
+ /**
79
+ * 组件的空值配置
80
+ */
81
+ emptyValues?: any[];
82
+ valueOnClear?: string | number | boolean | Function | null;
83
+ /**
84
+ * 当下拉框未被激活并且persistent设置为false,下拉框容器会被删除。
85
+ */
86
+ persistent?: boolean;
87
+ /**
88
+ * Tooltip 可用的 positions
89
+ */
90
+ fallbackPlacements?: Placement[];
91
+ /**
92
+ * 下拉框出现的位置,默认`bottom-start`
93
+ */
94
+ placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
95
+ }
96
+ export interface XCascaderBase<T = any, Context = any> extends IMultipleSelect<T, Context> {
97
+ tagType?: 'success' | 'info' | 'warning' | 'danger';
98
+ tagEffect?: 'light' | 'dark' | 'plain';
99
+ /**
100
+ * 是否合并选中值,当叶子节点全部选中时,数据只保存父节点。默认`false`。
101
+ */
102
+ mergeSelected?: boolean;
103
+ style?: StyleValue;
104
+ /**
105
+ * 是否为静态模式,静态模式下只读展示,不渲染交互控件。
106
+ */
107
+ static?: boolean;
108
+ /**
109
+ * 静态模式下多值展示分隔符,默认 `、`。
110
+ */
111
+ staticSeparator?: string;
112
+ /**
113
+ * 静态模式是否展示完整路径,默认 `false`(仅显示当前节点文本)。
114
+ */
115
+ staticShowFullPath?: boolean;
116
+ }
117
+ export interface XCascaderSchema<T = any, Context = any> extends XCascaderBase<T, Context>, ElCascaderSchema {
118
+ /**
119
+ * 级联选择器
120
+ */
121
+ type: 'cascader' | 'x-cascader';
122
+ [prop: string]: any;
123
+ attrs?: ElCascaderSchema | ((row: T, context: Context) => ElCascaderSchema);
124
+ }
125
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/cascader/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAErC,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEpC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAA;IAE/D;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;IAEzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAA;IAEnD;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;IAEtC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,GAAG,EAAE,CAAA;IAEnB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAA;IAE1D;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,EAAE,CAAA;IAEhC;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,aAAa,GAAG,WAAW,CAAA;CACpK;AACD,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC;IACxF,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAA;IACnD,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB,KAAK,CAAC,EAAE,UAAU,CAAA;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAC1G;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,YAAY,CAAA;IAE/B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;IAEnB,KAAK,CAAC,EAAE,gBAAgB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,gBAAgB,CAAC,CAAA;CAC5E"}
@@ -0,0 +1,30 @@
1
+ import { XCheckboxBase } from './type';
2
+ export interface XCheckboxProps extends XCheckboxBase {
3
+ modelValue?: boolean | string | number;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ static?(_: {
9
+ value: string | number | boolean;
10
+ displayValue: string;
11
+ }): any;
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<XCheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (...args: any[]) => void;
20
+ }, string, import('vue').PublicProps, Readonly<XCheckboxProps> & Readonly<{
21
+ "onUpdate:modelValue"?: (...args: any[]) => any;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
30
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.vue"],"names":[],"mappings":"AAqBA;AA+DA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAG3C,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;CACvC;AA8BD,iBAAS,cAAc;WAgET,OAAO,IAA6B;;;;;YAZtB,GAAG;yBACD,GAAG;;;;EAgBhC;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,36 @@
1
+ export interface ElCheckboxSchema {
2
+ /**
3
+ * 选中时的值
4
+ */
5
+ trueValue?: string | number;
6
+ /**
7
+ * 未选中时的值
8
+ */
9
+ falseValue?: string | number;
10
+ /**
11
+ * 是否显示边框,默认false
12
+ */
13
+ border?: boolean;
14
+ /**
15
+ * 尺寸
16
+ */
17
+ size?: 'large' | 'default' | 'small';
18
+ /**
19
+ * 设置不确定状态,仅负责样式控制
20
+ */
21
+ indeterminate?: boolean;
22
+ }
23
+ export interface XCheckboxBase extends ElCheckboxSchema {
24
+ /**
25
+ * 是否为静态模式,静态模式下只读展示,不渲染交互控件。
26
+ */
27
+ static?: boolean;
28
+ }
29
+ export interface XCheckboxSchema<T = any, Context = any> extends XCheckboxBase {
30
+ /**
31
+ * 单个勾选框
32
+ */
33
+ type: 'checkbox' | 'x-checkbox';
34
+ attrs?: ElCheckboxSchema | ((row: T, context: Context) => ElCheckboxSchema);
35
+ }
36
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEpC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,aAAa;IAC5E;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,YAAY,CAAA;IAE/B,KAAK,CAAC,EAAE,gBAAgB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,gBAAgB,CAAC,CAAA;CAC5E"}
@@ -0,0 +1,42 @@
1
+ import { XCheckboxesBase } from './type';
2
+ export interface XCheckboxesProps extends XCheckboxesBase {
3
+ modelValue?: string | string[] | number[];
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ static?(_: {
9
+ value: string | string[] | number[];
10
+ displayValue: string;
11
+ selectedOptions: any[];
12
+ options: import('../..').OptionItem[] | {
13
+ label: any;
14
+ value: any;
15
+ disabled?: boolean;
16
+ children?: import('../..').OptionItem[];
17
+ }[];
18
+ }): any;
19
+ };
20
+ refs: {};
21
+ rootEl: any;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<XCheckboxesProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:modelValue": (...args: any[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<XCheckboxesProps> & Readonly<{
27
+ "onUpdate:modelValue"?: (...args: any[]) => any;
28
+ }>, {
29
+ options: import('../..').FormItemOptions<any, any>;
30
+ clearValueOnOptionsChange: boolean;
31
+ separator: string;
32
+ collapsable: boolean;
33
+ collapseLength: number;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
42
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/checkboxes/index.vue"],"names":[],"mappings":"AAqDA;AAgNA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAG7C,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAAA;CAC1C;AAuGD,iBAAS,cAAc;WAoMT,OAAO,IAA6B;;;;;;;;;;;;YAXtB,GAAG;;;;EAgB9B;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;4EAQnB,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,56 @@
1
+ import { IMultipleSelect } from '../../types';
2
+ export interface ElCheckboxesSchema {
3
+ /**
4
+ * Checkbox 的尺寸
5
+ */
6
+ size?: 'large' | 'default' | 'small';
7
+ /**
8
+ * 可被勾选的 checkbox 的最小数量
9
+ */
10
+ min?: number;
11
+ /**
12
+ * 可被勾选的 checkbox 的最大数量
13
+ */
14
+ max?: number;
15
+ /**
16
+ * 当按钮为活跃状态时的字体颜色
17
+ */
18
+ textColor?: string;
19
+ /**
20
+ * 当按钮为活跃状态时的填充色和边框色
21
+ */
22
+ fill?: string;
23
+ /**
24
+ * checkbox-group 的 元素,默认div
25
+ */
26
+ tag?: string;
27
+ }
28
+ export interface XCheckboxesBase<T = any, Context = any> extends IMultipleSelect<T, Context> {
29
+ /**
30
+ * 模式
31
+ */
32
+ mode?: 'default' | 'button' | 'filter';
33
+ /**
34
+ * 是否可折叠
35
+ */
36
+ collapsable?: boolean;
37
+ /**
38
+ * 折叠长度
39
+ */
40
+ collapseLength?: number;
41
+ /**
42
+ * 是否为静态模式,静态模式下只读展示,不渲染交互控件。
43
+ */
44
+ static?: boolean;
45
+ /**
46
+ * 静态模式下多值展示分隔符,默认 `、`。
47
+ */
48
+ staticSeparator?: string;
49
+ }
50
+ export interface XCheckboxesSchema<T = any, Context = any> extends XCheckboxesBase<T, Context> {
51
+ /**
52
+ * 多选框
53
+ */
54
+ type: 'x-checkboxes';
55
+ }
56
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/checkboxes/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEpC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC;IAC1F;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IAEtC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC;IAC5F;;OAEG;IACH,IAAI,EAAE,cAAc,CAAA;CACrB"}
@@ -0,0 +1,7 @@
1
+ import { FunctionalComponent, Component } from 'vue';
2
+ interface XComponentProps {
3
+ is: string | Component;
4
+ }
5
+ declare const XComponent: FunctionalComponent<XComponentProps>;
6
+ export default XComponent;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAEnF,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;CACvB;AAED,QAAA,MAAM,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAEpD,CAAA;AAGD,eAAe,UAAU,CAAA"}
@@ -0,0 +1,32 @@
1
+ import { XConditionNode } from './type';
2
+ declare function __VLS_template(): any;
3
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<XConditionNode>, {}>>, {
5
+ addCondition: () => void;
6
+ addGroup: () => void;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<XConditionNode>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
+ export default _default;
10
+ type __VLS_WithDefaults<P, D> = {
11
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
12
+ default: D[K];
13
+ }> : P[K];
14
+ };
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToOption<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ type __VLS_PrettifyLocal<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
32
+ //# sourceMappingURL=condition-node.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"condition-node.vue.d.ts","sourceRoot":"","sources":["../../../src/components/condition-builder/condition-node.vue"],"names":[],"mappings":"AA6BA;AAsJA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAsH5C,iBAAS,cAAc,QAoFtB;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;wUAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GAC5C,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AACF,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { XConditionNode } from './type';
2
+ type __VLS_Props = {
3
+ isStatic: boolean;
4
+ canDrag: boolean;
5
+ data: Record<string, any>;
6
+ children: XConditionNode[];
7
+ level: number;
8
+ globalConfig: any;
9
+ conditionTypeValue: string;
10
+ groupTypeValue: string;
11
+ deleteItem: (index: number) => void;
12
+ addCondition: () => void;
13
+ addGroup: () => void;
14
+ clear: () => void;
15
+ setDragContainer: (el: Element | null) => void;
16
+ };
17
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ export default _default;
19
+ //# sourceMappingURL=group-bracket.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-bracket.vue.d.ts","sourceRoot":"","sources":["../../../src/components/condition-builder/group-bracket.vue"],"names":[],"mappings":"AA4DA;AAkOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAQ5C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,GAAG,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;CAC/C,CAAC;;AAuaF,wBAOG"}
@@ -0,0 +1,19 @@
1
+ import { XConditionNode } from './type';
2
+ type __VLS_Props = {
3
+ isStatic: boolean;
4
+ canDrag: boolean;
5
+ data: Record<string, any>;
6
+ children: XConditionNode[];
7
+ level: number;
8
+ globalConfig: any;
9
+ conditionTypeValue: string;
10
+ groupTypeValue: string;
11
+ deleteItem: (index: number) => void;
12
+ addCondition: () => void;
13
+ addGroup: () => void;
14
+ clear: () => void;
15
+ setDragContainer: (el: Element | null) => void;
16
+ };
17
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ export default _default;
19
+ //# sourceMappingURL=group-indent.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-indent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/condition-builder/group-indent.vue"],"names":[],"mappings":"AA4DA;AA8NA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAS5C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,GAAG,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;CAC/C,CAAC;;AAuaF,wBAOG"}