orion-design 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. package/README.md +5 -0
  2. package/dist/Throne/index.d.ts +18 -0
  3. package/dist/Throne/index.js +20 -0
  4. package/dist/Throne/index.js.map +1 -0
  5. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  6. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  7. package/dist/components/Button/Button.vue.d.ts +2 -0
  8. package/dist/components/Button/index.d.ts +2 -0
  9. package/dist/components/Button/index.js +27 -0
  10. package/dist/components/Button/index.js.map +1 -0
  11. package/dist/components/Flex/Col.d.ts +4 -4
  12. package/dist/components/Flex/Item.d.ts +4 -4
  13. package/dist/components/Flex/Row.d.ts +4 -4
  14. package/dist/components/Flex/index.d.ts +4 -4
  15. package/dist/components/Flex/index.js +95 -127
  16. package/dist/components/Flex/index.js.map +1 -0
  17. package/dist/components/Form/ButtonGroup/ButtonGroup.d.ts +5 -0
  18. package/dist/components/Form/ButtonGroup/ButtonGroup.js +2 -0
  19. package/dist/components/Form/ButtonGroup/ButtonGroup.js.map +1 -0
  20. package/dist/components/Form/ButtonGroup/ButtonGroup.vue.d.ts +17 -0
  21. package/dist/components/Form/ButtonGroup/index.d.ts +1 -0
  22. package/dist/components/Form/ButtonGroup/index.js +2 -0
  23. package/dist/components/Form/ButtonGroup/index.js.map +1 -0
  24. package/dist/components/Form/Checkbox/Checkbox.d.ts +10 -0
  25. package/dist/components/Form/Checkbox/Checkbox.js +2 -0
  26. package/dist/components/Form/Checkbox/Checkbox.js.map +1 -0
  27. package/dist/components/Form/Checkbox/Checkbox.vue.d.ts +3 -0
  28. package/dist/components/Form/Checkbox/index.d.ts +1 -0
  29. package/dist/components/Form/Checkbox/index.js +2 -0
  30. package/dist/components/Form/Checkbox/index.js.map +1 -0
  31. package/dist/components/Form/CheckboxGroup/CheckboxGroup.d.ts +14 -0
  32. package/dist/components/Form/CheckboxGroup/CheckboxGroup.js +2 -0
  33. package/dist/components/Form/CheckboxGroup/CheckboxGroup.js.map +1 -0
  34. package/dist/components/Form/CheckboxGroup/CheckboxGroup.vue.d.ts +3 -0
  35. package/dist/components/Form/CheckboxGroup/index.d.ts +1 -0
  36. package/dist/components/Form/CheckboxGroup/index.js +2 -0
  37. package/dist/components/Form/CheckboxGroup/index.js.map +1 -0
  38. package/dist/components/Form/DateInput/DateInput.d.ts +17 -0
  39. package/dist/components/Form/DateInput/DateInput.js +2 -0
  40. package/dist/components/Form/DateInput/DateInput.js.map +1 -0
  41. package/dist/components/Form/DateInput/DateInput.vue.d.ts +3 -0
  42. package/dist/components/Form/DateInput/index.d.ts +1 -0
  43. package/dist/components/Form/DateInput/index.js +2 -0
  44. package/dist/components/Form/DateInput/index.js.map +1 -0
  45. package/dist/components/Form/FileInput/FileInput.d.ts +10 -0
  46. package/dist/components/Form/FileInput/FileInput.js +2 -0
  47. package/dist/components/Form/FileInput/FileInput.js.map +1 -0
  48. package/dist/components/Form/FileInput/FileInput.vue.d.ts +451 -0
  49. package/dist/components/Form/FileInput/index.d.ts +1 -0
  50. package/dist/components/Form/FileInput/index.js +2 -0
  51. package/dist/components/Form/FileInput/index.js.map +1 -0
  52. package/dist/components/Form/Form.d.ts +21 -0
  53. package/dist/components/Form/Form.js +5 -0
  54. package/dist/components/Form/Form.js.map +1 -0
  55. package/dist/components/Form/Form.vue.d.ts +465 -0
  56. package/dist/components/Form/MultiSelect/MultiSelect.d.ts +15 -0
  57. package/dist/components/Form/MultiSelect/MultiSelect.js +2 -0
  58. package/dist/components/Form/MultiSelect/MultiSelect.js.map +1 -0
  59. package/dist/components/Form/MultiSelect/MultiSelect.vue.d.ts +3 -0
  60. package/dist/components/Form/MultiSelect/index.d.ts +1 -0
  61. package/dist/components/Form/MultiSelect/index.js +2 -0
  62. package/dist/components/Form/MultiSelect/index.js.map +1 -0
  63. package/dist/components/Form/PasswordInput/PasswordInput.d.ts +13 -0
  64. package/dist/components/Form/PasswordInput/PasswordInput.js +2 -0
  65. package/dist/components/Form/PasswordInput/PasswordInput.js.map +1 -0
  66. package/dist/components/Form/PasswordInput/PasswordInput.vue.d.ts +3 -0
  67. package/dist/components/Form/PasswordInput/index.d.ts +1 -0
  68. package/dist/components/Form/PasswordInput/index.js +2 -0
  69. package/dist/components/Form/PasswordInput/index.js.map +1 -0
  70. package/dist/components/Form/RadioGroup/RadioGroup.d.ts +14 -0
  71. package/dist/components/Form/RadioGroup/RadioGroup.js +2 -0
  72. package/dist/components/Form/RadioGroup/RadioGroup.js.map +1 -0
  73. package/dist/components/Form/RadioGroup/RadioGroup.vue.d.ts +3 -0
  74. package/dist/components/Form/RadioGroup/index.d.ts +1 -0
  75. package/dist/components/Form/RadioGroup/index.js +2 -0
  76. package/dist/components/Form/RadioGroup/index.js.map +1 -0
  77. package/dist/components/Form/SingleSelect/SingleSelect.d.ts +17 -0
  78. package/dist/components/Form/SingleSelect/SingleSelect.js +2 -0
  79. package/dist/components/Form/SingleSelect/SingleSelect.js.map +1 -0
  80. package/dist/components/Form/SingleSelect/SingleSelect.vue.d.ts +3 -0
  81. package/dist/components/Form/SingleSelect/index.d.ts +1 -0
  82. package/dist/components/Form/SingleSelect/index.js +2 -0
  83. package/dist/components/Form/SingleSelect/index.js.map +1 -0
  84. package/dist/components/Form/StringInput/StringInput.d.ts +13 -0
  85. package/dist/components/Form/StringInput/StringInput.js +2 -0
  86. package/dist/components/Form/StringInput/StringInput.js.map +1 -0
  87. package/dist/components/Form/StringInput/StringInput.vue.d.ts +3 -0
  88. package/dist/components/Form/StringInput/index.d.ts +1 -0
  89. package/dist/components/Form/StringInput/index.js +2 -0
  90. package/dist/components/Form/StringInput/index.js.map +1 -0
  91. package/dist/components/Form/Switch/Switch.d.ts +10 -0
  92. package/dist/components/Form/Switch/Switch.js +2 -0
  93. package/dist/components/Form/Switch/Switch.js.map +1 -0
  94. package/dist/components/Form/Switch/Switch.vue.d.ts +3 -0
  95. package/dist/components/Form/Switch/index.d.ts +1 -0
  96. package/dist/components/Form/Switch/index.js +2 -0
  97. package/dist/components/Form/Switch/index.js.map +1 -0
  98. package/dist/components/Form/Textarea/Textarea.d.ts +14 -0
  99. package/dist/components/Form/Textarea/Textarea.js +2 -0
  100. package/dist/components/Form/Textarea/Textarea.js.map +1 -0
  101. package/dist/components/Form/Textarea/Textarea.vue.d.ts +3 -0
  102. package/dist/components/Form/Textarea/index.d.ts +1 -0
  103. package/dist/components/Form/Textarea/index.js +2 -0
  104. package/dist/components/Form/Textarea/index.js.map +1 -0
  105. package/dist/components/Form/hooks/useForm.d.ts +7 -0
  106. package/dist/components/Form/hooks/useForm.js +44 -0
  107. package/dist/components/Form/hooks/useForm.js.map +1 -0
  108. package/dist/components/Form/index.d.ts +301 -0
  109. package/dist/components/Form/index.js +660 -0
  110. package/dist/components/Form/index.js.map +1 -0
  111. package/dist/components/Form/utils/index.d.ts +8 -0
  112. package/dist/components/Form/utils/index.js +26 -0
  113. package/dist/components/Form/utils/index.js.map +1 -0
  114. package/dist/components/Modal/index.d.ts +1 -14
  115. package/dist/components/Modal/useModal.d.ts +1 -1
  116. package/dist/components/Modal/useModal.js +7 -7
  117. package/dist/components/Modal/useModal.js.map +1 -0
  118. package/dist/components/Pagetable/Pagetable.d.ts +91 -0
  119. package/dist/components/Pagetable/columns/PagetableCellButton.d.ts +24 -0
  120. package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +78 -0
  121. package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +101 -0
  122. package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +78 -0
  123. package/dist/components/Pagetable/columns/PagetableColumnIndex.d.ts +5 -0
  124. package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +109 -0
  125. package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +114 -0
  126. package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +109 -0
  127. package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +75 -0
  128. package/dist/components/Pagetable/columns/PagetableColumngroup.d.ts +35 -0
  129. package/dist/components/Pagetable/hooks/useColumns.d.ts +1 -0
  130. package/dist/components/Pagetable/hooks/useColumns.js +96 -0
  131. package/dist/components/Pagetable/hooks/useColumns.js.map +1 -0
  132. package/dist/components/Pagetable/index.d.ts +85 -0
  133. package/dist/components/Pagetable/index.js +521 -0
  134. package/dist/components/Pagetable/index.js.map +1 -0
  135. package/dist/components/Pagetable/interface.d.ts +10 -0
  136. package/dist/components/Pagetable/interface.js +2 -0
  137. package/dist/components/Pagetable/interface.js.map +1 -0
  138. package/dist/components/Pagetable/utils/index.d.ts +15 -0
  139. package/dist/components/Pagetable/utils/index.js +169 -0
  140. package/dist/components/Pagetable/utils/index.js.map +1 -0
  141. package/dist/components/Space/index.d.ts +12 -12
  142. package/dist/components/_util/arrays.d.ts +5 -0
  143. package/dist/components/_util/arrays.js +8 -0
  144. package/dist/components/_util/arrays.js.map +1 -0
  145. package/dist/components/_util/browser.d.ts +3 -0
  146. package/dist/components/_util/browser.js +9 -0
  147. package/dist/components/_util/browser.js.map +1 -0
  148. package/dist/components/_util/classNames.js +20 -27
  149. package/dist/components/_util/classNames.js.map +1 -0
  150. package/dist/components/_util/dom/aria.d.ts +30 -0
  151. package/dist/components/_util/dom/aria.js +46 -0
  152. package/dist/components/_util/dom/aria.js.map +1 -0
  153. package/dist/components/_util/dom/element.d.ts +3 -0
  154. package/dist/components/_util/dom/element.js +18 -0
  155. package/dist/components/_util/dom/element.js.map +1 -0
  156. package/dist/components/_util/dom/event.d.ts +6 -0
  157. package/dist/components/_util/dom/event.js +10 -0
  158. package/dist/components/_util/dom/event.js.map +1 -0
  159. package/dist/components/_util/dom/index.d.ts +6 -0
  160. package/dist/components/_util/dom/index.js +39 -0
  161. package/dist/components/_util/dom/index.js.map +1 -0
  162. package/dist/components/_util/dom/position.d.ts +7 -0
  163. package/dist/components/_util/dom/position.js +30 -0
  164. package/dist/components/_util/dom/position.js.map +1 -0
  165. package/dist/components/_util/dom/scroll.d.ts +11 -0
  166. package/dist/components/_util/dom/scroll.js +78 -0
  167. package/dist/components/_util/dom/scroll.js.map +1 -0
  168. package/dist/components/_util/dom/style.d.ts +9 -0
  169. package/dist/components/_util/dom/style.js +58 -0
  170. package/dist/components/_util/dom/style.js.map +1 -0
  171. package/dist/components/_util/easings.d.ts +1 -0
  172. package/dist/components/_util/easings.js +8 -0
  173. package/dist/components/_util/easings.js.map +1 -0
  174. package/dist/components/_util/error.d.ts +3 -0
  175. package/dist/components/_util/error.js +22 -0
  176. package/dist/components/_util/error.js.map +1 -0
  177. package/dist/components/_util/functions.d.ts +1 -0
  178. package/dist/components/_util/functions.js +6 -0
  179. package/dist/components/_util/functions.js.map +1 -0
  180. package/dist/components/_util/i18n.d.ts +1 -0
  181. package/dist/components/_util/i18n.js +5 -0
  182. package/dist/components/_util/i18n.js.map +1 -0
  183. package/dist/components/_util/index.d.ts +15 -0
  184. package/dist/components/_util/index.js +140 -0
  185. package/dist/components/_util/index.js.map +1 -0
  186. package/dist/components/_util/isValid.js +4 -4
  187. package/dist/components/_util/isValid.js.map +1 -0
  188. package/dist/components/_util/objects.d.ts +8 -0
  189. package/dist/components/_util/objects.js +17 -0
  190. package/dist/components/_util/objects.js.map +1 -0
  191. package/dist/components/_util/props-util/index.d.ts +4 -4
  192. package/dist/components/_util/props-util/index.js +23 -50
  193. package/dist/components/_util/props-util/index.js.map +1 -0
  194. package/dist/components/_util/props-util/initDefaultProps.d.ts +2 -2
  195. package/dist/components/_util/props-util/initDefaultProps.js +13 -24
  196. package/dist/components/_util/props-util/initDefaultProps.js.map +1 -0
  197. package/dist/components/_util/raf.d.ts +2 -0
  198. package/dist/components/_util/raf.js +7 -0
  199. package/dist/components/_util/raf.js.map +1 -0
  200. package/dist/components/_util/rand.d.ts +12 -0
  201. package/dist/components/_util/rand.js +6 -0
  202. package/dist/components/_util/rand.js.map +1 -0
  203. package/dist/components/_util/strings.d.ts +6 -0
  204. package/dist/components/_util/strings.js +11 -0
  205. package/dist/components/_util/strings.js.map +1 -0
  206. package/dist/components/_util/throttleByRaf.d.ts +4 -0
  207. package/dist/components/_util/throttleByRaf.js +16 -0
  208. package/dist/components/_util/throttleByRaf.js.map +1 -0
  209. package/dist/components/_util/type.d.ts +5 -1
  210. package/dist/components/_util/type.js +52 -65
  211. package/dist/components/_util/type.js.map +1 -0
  212. package/dist/components/_util/types.d.ts +10 -0
  213. package/dist/components/_util/types.js +25 -0
  214. package/dist/components/_util/types.js.map +1 -0
  215. package/dist/components/_util/typescript.d.ts +12 -0
  216. package/dist/components/_util/typescript.js +5 -0
  217. package/dist/components/_util/typescript.js.map +1 -0
  218. package/dist/components/_util/util.d.ts +1 -1
  219. package/dist/components/_util/util.js +46 -74
  220. package/dist/components/_util/util.js.map +1 -0
  221. package/dist/components/_util/vue/global-node.d.ts +3 -0
  222. package/dist/components/_util/vue/global-node.js +21 -0
  223. package/dist/components/_util/vue/global-node.js.map +1 -0
  224. package/dist/components/_util/vue/icon.d.ts +23 -0
  225. package/dist/components/_util/vue/icon.js +154 -0
  226. package/dist/components/_util/vue/icon.js.map +1 -0
  227. package/dist/components/_util/vue/index.d.ts +9 -0
  228. package/dist/components/_util/vue/index.js +44 -0
  229. package/dist/components/_util/vue/index.js.map +1 -0
  230. package/dist/components/_util/vue/install.d.ts +6 -0
  231. package/dist/components/_util/vue/install.js +21 -0
  232. package/dist/components/_util/vue/install.js.map +1 -0
  233. package/dist/components/_util/vue/props/index.d.ts +3 -0
  234. package/dist/components/_util/vue/props/index.js +9 -0
  235. package/dist/components/_util/vue/props/index.js.map +1 -0
  236. package/dist/components/_util/vue/props/runtime.d.ts +29 -0
  237. package/dist/components/_util/vue/props/runtime.js +37 -0
  238. package/dist/components/_util/vue/props/runtime.js.map +1 -0
  239. package/dist/components/_util/vue/props/types.d.ts +120 -0
  240. package/dist/components/_util/vue/props/types.js +2 -0
  241. package/dist/components/_util/vue/props/types.js.map +1 -0
  242. package/dist/components/_util/vue/props/util.d.ts +8 -0
  243. package/dist/components/_util/vue/props/util.js +2 -0
  244. package/dist/components/_util/vue/props/util.js.map +1 -0
  245. package/dist/components/_util/vue/refs.d.ts +3 -0
  246. package/dist/components/_util/vue/refs.js +12 -0
  247. package/dist/components/_util/vue/refs.js.map +1 -0
  248. package/dist/components/_util/vue/size.d.ts +2 -0
  249. package/dist/components/_util/vue/size.js +6 -0
  250. package/dist/components/_util/vue/size.js.map +1 -0
  251. package/dist/components/_util/vue/typescript.d.ts +5 -0
  252. package/dist/components/_util/vue/typescript.js +2 -0
  253. package/dist/components/_util/vue/typescript.js.map +1 -0
  254. package/dist/components/_util/vue/validator.d.ts +3 -0
  255. package/dist/components/_util/vue/validator.js +7 -0
  256. package/dist/components/_util/vue/validator.js.map +1 -0
  257. package/dist/components/_util/vue/vnode.d.ts +50 -0
  258. package/dist/components/_util/vue/vnode.js +68 -0
  259. package/dist/components/_util/vue/vnode.js.map +1 -0
  260. package/dist/components/_util/vue-types/index.d.ts +3 -3
  261. package/dist/components/_util/vue-types/index.js +275 -417
  262. package/dist/components/_util/vue-types/index.js.map +1 -0
  263. package/dist/components/components.d.ts +4 -0
  264. package/dist/components/components.js +19 -12
  265. package/dist/components/components.js.map +1 -0
  266. package/dist/components/index.d.ts +1 -1
  267. package/dist/components/index.js +26 -24
  268. package/dist/components/index.js.map +1 -0
  269. package/dist/components-CutWiB7Q.js +68 -0
  270. package/dist/components-CutWiB7Q.js.map +1 -0
  271. package/dist/error/OrionError.js +7 -12
  272. package/dist/error/OrionError.js.map +1 -0
  273. package/dist/functions-DzLqXvGt.js +33 -0
  274. package/dist/functions-DzLqXvGt.js.map +1 -0
  275. package/dist/index-BbsXWo7C.js +44 -0
  276. package/dist/index-BbsXWo7C.js.map +1 -0
  277. package/dist/index-C8JNJPWW.js +8 -0
  278. package/dist/index-C8JNJPWW.js.map +1 -0
  279. package/dist/index.css +1 -44
  280. package/dist/index.d.ts +2 -1
  281. package/dist/index.js +27 -14
  282. package/dist/index.js.map +1 -0
  283. package/dist/print/LodopFuncs.js +48 -111
  284. package/dist/print/LodopFuncs.js.map +1 -0
  285. package/dist/print/index.d.ts +2 -2
  286. package/dist/print/index.js +111 -220
  287. package/dist/print/index.js.map +1 -0
  288. package/dist/request/ErrorHandlerChain.js +17 -15
  289. package/dist/request/ErrorHandlerChain.js.map +1 -0
  290. package/dist/request/RequestFilterChain.d.ts +1 -1
  291. package/dist/request/RequestFilterChain.js +16 -14
  292. package/dist/request/RequestFilterChain.js.map +1 -0
  293. package/dist/request/ResponseParserChain.d.ts +1 -1
  294. package/dist/request/ResponseParserChain.js +17 -15
  295. package/dist/request/ResponseParserChain.js.map +1 -0
  296. package/dist/request/disivion/DateSerializer.js +25 -46
  297. package/dist/request/disivion/DateSerializer.js.map +1 -0
  298. package/dist/request/disivion/DivisionErrorHandler.d.ts +1 -1
  299. package/dist/request/disivion/DivisionErrorHandler.js +30 -52
  300. package/dist/request/disivion/DivisionErrorHandler.js.map +1 -0
  301. package/dist/request/disivion/DivisionResponseParser.d.ts +2 -2
  302. package/dist/request/disivion/DivisionResponseParser.js +13 -25
  303. package/dist/request/disivion/DivisionResponseParser.js.map +1 -0
  304. package/dist/request/disivion/index.d.ts +3 -3
  305. package/dist/request/disivion/index.js +230 -480
  306. package/dist/request/disivion/index.js.map +1 -0
  307. package/dist/request/error/BizExceptionResponseError.d.ts +2 -2
  308. package/dist/request/error/BizExceptionResponseError.js +8 -15
  309. package/dist/request/error/BizExceptionResponseError.js.map +1 -0
  310. package/dist/request/error/ExceptionResponseError.d.ts +2 -2
  311. package/dist/request/error/ExceptionResponseError.js +8 -15
  312. package/dist/request/error/ExceptionResponseError.js.map +1 -0
  313. package/dist/request/error/ResponseError.d.ts +1 -1
  314. package/dist/request/error/ResponseError.js +7 -14
  315. package/dist/request/error/ResponseError.js.map +1 -0
  316. package/dist/request/error/SessionExceptionResponseError.d.ts +2 -2
  317. package/dist/request/error/SessionExceptionResponseError.js +8 -15
  318. package/dist/request/error/SessionExceptionResponseError.js.map +1 -0
  319. package/dist/request/index.js +11 -17
  320. package/dist/request/index.js.map +1 -0
  321. package/dist/style/index.d.ts +0 -3
  322. package/dist/style/index.js +1 -0
  323. package/dist/style/index.js.map +1 -0
  324. package/dist/utils/DateUtil.js +36 -50
  325. package/dist/utils/DateUtil.js.map +1 -0
  326. package/dist/utils/NumberUtil.js +9 -8
  327. package/dist/utils/NumberUtil.js.map +1 -0
  328. package/dist/utils/cloneDeep.js +5 -1
  329. package/dist/utils/cloneDeep.js.map +1 -0
  330. package/dist/utils/delay.js +6 -4
  331. package/dist/utils/delay.js.map +1 -0
  332. package/dist/utils/functions.d.ts +1 -0
  333. package/dist/utils/functions.js +6 -0
  334. package/dist/utils/functions.js.map +1 -0
  335. package/dist/utils/index.js +15 -9
  336. package/dist/utils/index.js.map +1 -0
  337. package/dist/utils/md5.js +120 -245
  338. package/dist/utils/md5.js.map +1 -0
  339. package/dist/utils/uuid.js +28 -58
  340. package/dist/utils/uuid.js.map +1 -0
  341. package/dist/version/index.d.ts +1 -1
  342. package/dist/version/index.js +5 -6
  343. package/dist/version/index.js.map +1 -0
  344. package/dist/version/version.d.ts +1 -1
  345. package/dist/version/version.js +5 -3
  346. package/dist/version/version.js.map +1 -0
  347. package/dist/vite.svg +1 -0
  348. package/global.d.ts +6 -0
  349. package/package.json +53 -63
  350. package/dist/components-BTX5S_6V.js +0 -128
@@ -0,0 +1,3 @@
1
+ import { SingleSelectProps } from './SingleSelect';
2
+ declare const _default: import('vue').DefineComponent<SingleSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SingleSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './SingleSelect';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface StringInputProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ maxlength?: string | number;
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=StringInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StringInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { StringInputProps } from './StringInput';
2
+ declare const _default: import('vue').DefineComponent<StringInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StringInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './StringInput';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface SwitchProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ disabled?: boolean;
10
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=Switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { SwitchProps } from './Switch';
2
+ declare const _default: import('vue').DefineComponent<SwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SwitchProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './Switch';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface TextareaProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ maxlength?: string | number;
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ rows?: number;
14
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=Textarea.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { TextareaProps } from './Textarea';
2
+ declare const _default: import('vue').DefineComponent<TextareaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TextareaProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './Textarea';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { CodeItem } from '../../../Throne';
2
+ declare const useFormContext: () => import('..').FormContext | undefined;
3
+ declare const useFormSpan: () => import('vue').ComputedRef<number>;
4
+ declare const useFormRules: () => import('vue').ComputedRef<import('element-plus').FormItemRule[]>;
5
+ declare const useFormDisabled: () => import('vue').ComputedRef<boolean>;
6
+ declare const useFormCode: () => import('vue').ComputedRef<CodeItem[]>;
7
+ export { useFormContext, useFormSpan, useFormRules, useFormDisabled, useFormCode };
@@ -0,0 +1,44 @@
1
+ import { inject as p, getCurrentInstance as s, computed as n } from "vue";
2
+ import { formContextKey as C } from "../Form.js";
3
+ import b from "../../../Throne/index.js";
4
+ import { castArray as i, isString as g, isArray as x } from "lodash-es";
5
+ import { formContextKey as y } from "element-plus";
6
+ import l from "../../../error/OrionError.js";
7
+ const f = () => p(C), O = () => {
8
+ const e = f(), { props: o } = s();
9
+ return n(() => o.span ? o.span : e.itemSpan);
10
+ }, R = () => {
11
+ const e = f(), { props: o } = s(), { name: r, label: m, required: a } = o;
12
+ return n(() => {
13
+ const t = [];
14
+ let u = !0;
15
+ return a && (o.rules && (t.push(...i(o.rules)), u = !t.some((c) => Object.keys(c).includes("required"))), e.rules && e.rules[r] && (u = !i(e.rules[r]).some((d) => Object.keys(d).includes("required")))), u && t.push({
16
+ required: !0,
17
+ message: `必填项[${m || r}]不能为空`,
18
+ trigger: "blur"
19
+ }), t;
20
+ });
21
+ }, S = () => {
22
+ const e = p(y), { props: o } = s(), { disabled: r } = o;
23
+ return n(() => e.disabled || r);
24
+ }, k = () => {
25
+ let e;
26
+ const { props: o } = s(), { code: r } = o;
27
+ if (r)
28
+ if (g(r))
29
+ e = b.getCode(r).value;
30
+ else if (x(r))
31
+ e = r;
32
+ else
33
+ throw new l("code类型错误");
34
+ else throw new l("code为空");
35
+ return n(() => e);
36
+ };
37
+ export {
38
+ k as useFormCode,
39
+ f as useFormContext,
40
+ S as useFormDisabled,
41
+ R as useFormRules,
42
+ O as useFormSpan
43
+ };
44
+ //# sourceMappingURL=useForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useForm.js","sources":["../../../../src/components/Form/hooks/useForm.ts"],"sourcesContent":["import { inject, getCurrentInstance, computed } from 'vue'\r\nimport { formContextKey, FormItemRule } from '../Form'\r\nimport Throne, { CodeItem } from '../../../Throne'\r\nimport { castArray, isArray, isString } from 'lodash-es'\r\nimport { formContextKey as elFormContextKey } from 'element-plus'\r\nimport OrionError from '../../../error/OrionError'\r\n\r\nconst useFormContext = () => {\r\n return inject(formContextKey)\r\n}\r\n\r\nconst useFormSpan = () => {\r\n const formContext = useFormContext()!\r\n const { props } = getCurrentInstance()!\r\n\r\n return computed(() => (props.span ? (props.span as number) : formContext.itemSpan))\r\n}\r\n\r\nconst useFormRules = () => {\r\n const formContext = useFormContext()!\r\n const { props } = getCurrentInstance()!\r\n const { name, label, required } = props\r\n\r\n return computed(() => {\r\n const rules: FormItemRule[] = []\r\n let flag = true\r\n\r\n if (required) {\r\n if (props.rules) {\r\n rules.push(...castArray(props.rules))\r\n flag = !rules.some((rule) => Object.keys(rule).includes('required'))\r\n }\r\n if (formContext.rules && formContext.rules[name as string]) {\r\n const formRules = castArray(formContext.rules[name as string])\r\n flag = !formRules.some((rule) => Object.keys(rule).includes('required'))\r\n }\r\n }\r\n\r\n if (flag) {\r\n rules.push({\r\n required: true,\r\n message: `必填项[${label ? label : name}]不能为空`,\r\n trigger: 'blur'\r\n })\r\n }\r\n\r\n return rules\r\n })\r\n}\r\n\r\nconst useFormDisabled = () => {\r\n const elForm = inject(elFormContextKey)!\r\n const { props } = getCurrentInstance()!\r\n const { disabled } = props\r\n return computed(() => elForm.disabled || (disabled as boolean))\r\n}\r\n\r\nconst useFormCode = () => {\r\n let codeData: Array<CodeItem>\r\n const { props } = getCurrentInstance()!\r\n const { code } = props\r\n if (!code) {\r\n throw new OrionError('code为空')\r\n } else if (isString(code)) {\r\n codeData = Throne.getCode(code).value\r\n } else if (isArray<CodeItem>(code)) {\r\n codeData = code\r\n } else {\r\n throw new OrionError('code类型错误')\r\n }\r\n return computed(() => codeData)\r\n}\r\n\r\nexport { useFormContext, useFormSpan, useFormRules, useFormDisabled, useFormCode }\r\n"],"names":["useFormContext","inject","formContextKey","useFormSpan","formContext","props","getCurrentInstance","computed","useFormRules","name","label","required","rules","flag","castArray","rule","useFormDisabled","elForm","elFormContextKey","disabled","useFormCode","codeData","code","isString","Throne","isArray","OrionError"],"mappings":";;;;;;AAOA,MAAMA,IAAiB,MACdC,EAAOC,CAAc,GAGxBC,IAAc,MAAM;AACxB,QAAMC,IAAcJ,KACd,EAAE,OAAAK,MAAUC;AAElB,SAAOC,EAAS,MAAOF,EAAM,OAAQA,EAAM,OAAkBD,EAAY,QAAS;AACpF,GAEMI,IAAe,MAAM;AACzB,QAAMJ,IAAcJ,KACd,EAAE,OAAAK,MAAUC,KACZ,EAAE,MAAAG,GAAM,OAAAC,GAAO,UAAAC,EAAA,IAAaN;AAElC,SAAOE,EAAS,MAAM;AACpB,UAAMK,IAAwB,CAAA;AAC9B,QAAIC,IAAO;AAEX,WAAIF,MACEN,EAAM,UACRO,EAAM,KAAK,GAAGE,EAAUT,EAAM,KAAK,CAAC,GAC7BQ,IAAA,CAACD,EAAM,KAAK,CAACG,MAAS,OAAO,KAAKA,CAAI,EAAE,SAAS,UAAU,CAAC,IAEjEX,EAAY,SAASA,EAAY,MAAMK,CAAc,MAEhDI,IAAA,CADWC,EAAUV,EAAY,MAAMK,CAAc,CAAC,EAC3C,KAAK,CAACM,MAAS,OAAO,KAAKA,CAAI,EAAE,SAAS,UAAU,CAAC,KAIvEF,KACFD,EAAM,KAAK;AAAA,MACT,UAAU;AAAA,MACV,SAAS,OAAOF,KAAgBD,CAAI;AAAA,MACpC,SAAS;AAAA,IAAA,CACV,GAGIG;AAAA,EAAA,CACR;AACH,GAEMI,IAAkB,MAAM;AACtB,QAAAC,IAAShB,EAAOiB,CAAgB,GAChC,EAAE,OAAAb,MAAUC,KACZ,EAAE,UAAAa,EAAa,IAAAd;AACrB,SAAOE,EAAS,MAAMU,EAAO,YAAaE,CAAoB;AAChE,GAEMC,IAAc,MAAM;AACpB,MAAAC;AACE,QAAA,EAAE,OAAAhB,MAAUC,KACZ,EAAE,MAAAgB,EAAS,IAAAjB;AACjB,MAAKiB;AAEL,QAAWC,EAASD,CAAI;AACX,MAAAD,IAAAG,EAAO,QAAQF,CAAI,EAAE;AAAA,aACvBG,EAAkBH,CAAI;AACpB,MAAAD,IAAAC;AAAA;AAEL,YAAA,IAAII,EAAW,UAAU;AAAA,MANzB,OAAA,IAAIA,EAAW,QAAQ;AAQxB,SAAAnB,EAAS,MAAMc,CAAQ;AAChC;"}
@@ -0,0 +1,301 @@
1
+ import { default as StringInput } from './StringInput/StringInput.vue';
2
+ import { default as PasswordInput } from './PasswordInput/PasswordInput.vue';
3
+ import { default as Textarea } from './Textarea/Textarea.vue';
4
+ import { default as SingleSelect } from './SingleSelect/SingleSelect.vue';
5
+ import { default as MultiSelect } from './MultiSelect/MultiSelect.vue';
6
+ import { default as RadioGroup } from './RadioGroup/RadioGroup.vue';
7
+ import { default as CheckboxGroup } from './CheckboxGroup/CheckboxGroup.vue';
8
+ import { default as Checkbox } from './Checkbox/Checkbox.vue';
9
+ import { default as Switch } from './Switch/Switch.vue';
10
+ import { default as DateInput } from './DateInput/DateInput.vue';
11
+ import { default as FileInput } from './FileInput/FileInput.vue';
12
+ import { default as ButtonGroup } from './ButtonGroup/ButtonGroup.vue';
13
+ declare const _default: import('../_util').SFCWithInstall<{
14
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
15
+ modelValue?: Record<string, any>;
16
+ } & import('./Form').FormProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((modelValue: Record<string, any>) => any) | undefined;
18
+ }>, {
19
+ validate: () => Promise<boolean>;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ "update:modelValue": (modelValue: Record<string, any>) => any;
22
+ }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
23
+ modelValue?: Record<string, any>;
24
+ } & import('./Form').FormProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((modelValue: Record<string, any>) => any) | undefined;
26
+ }>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
27
+ formRef: ({
28
+ $: import('vue').ComponentInternalInstance;
29
+ $data: {};
30
+ $props: Partial<{
31
+ readonly inline: boolean;
32
+ readonly disabled: boolean;
33
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
34
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
35
+ readonly inlineMessage: boolean;
36
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
37
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
38
+ readonly labelSuffix: string;
39
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
40
+ readonly statusIcon: boolean;
41
+ readonly hideRequiredAsterisk: boolean;
42
+ readonly scrollToError: boolean;
43
+ }> & Omit<{
44
+ readonly inline: boolean;
45
+ readonly disabled: boolean;
46
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
47
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
48
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
49
+ readonly labelSuffix: string;
50
+ readonly inlineMessage: boolean;
51
+ readonly statusIcon: boolean;
52
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
53
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
54
+ readonly hideRequiredAsterisk: boolean;
55
+ readonly scrollToError: boolean;
56
+ readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
57
+ readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
58
+ readonly model?: Record<string, any> | undefined;
59
+ readonly scrollIntoViewOptions?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
60
+ onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
61
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
62
+ readonly model: ObjectConstructor;
63
+ readonly rules: {
64
+ readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
65
+ readonly required: false;
66
+ readonly validator: ((val: unknown) => boolean) | undefined;
67
+ __epPropKey: true;
68
+ };
69
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
70
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
71
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
72
+ readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
73
+ readonly inline: BooleanConstructor;
74
+ readonly inlineMessage: BooleanConstructor;
75
+ readonly statusIcon: BooleanConstructor;
76
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
77
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
78
+ readonly hideRequiredAsterisk: BooleanConstructor;
79
+ readonly scrollToError: BooleanConstructor;
80
+ readonly scrollIntoViewOptions: {
81
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
82
+ readonly required: false;
83
+ readonly validator: ((val: unknown) => boolean) | undefined;
84
+ __epPropKey: true;
85
+ };
86
+ readonly size: {
87
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
88
+ readonly required: false;
89
+ readonly validator: ((val: unknown) => boolean) | undefined;
90
+ __epPropKey: true;
91
+ };
92
+ readonly disabled: BooleanConstructor;
93
+ }>> & {
94
+ onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
95
+ }, "inline" | "disabled" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
96
+ $attrs: {
97
+ [x: string]: unknown;
98
+ };
99
+ $refs: {
100
+ [x: string]: unknown;
101
+ };
102
+ $slots: Readonly<{
103
+ [name: string]: import('vue').Slot<any> | undefined;
104
+ }>;
105
+ $root: import('vue').ComponentPublicInstance | null;
106
+ $parent: import('vue').ComponentPublicInstance | null;
107
+ $host: Element | null;
108
+ $emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
109
+ $el: any;
110
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
111
+ readonly model: ObjectConstructor;
112
+ readonly rules: {
113
+ readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
114
+ readonly required: false;
115
+ readonly validator: ((val: unknown) => boolean) | undefined;
116
+ __epPropKey: true;
117
+ };
118
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
119
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
120
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
121
+ readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
122
+ readonly inline: BooleanConstructor;
123
+ readonly inlineMessage: BooleanConstructor;
124
+ readonly statusIcon: BooleanConstructor;
125
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
126
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
127
+ readonly hideRequiredAsterisk: BooleanConstructor;
128
+ readonly scrollToError: BooleanConstructor;
129
+ readonly scrollIntoViewOptions: {
130
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
131
+ readonly required: false;
132
+ readonly validator: ((val: unknown) => boolean) | undefined;
133
+ __epPropKey: true;
134
+ };
135
+ readonly size: {
136
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
137
+ readonly required: false;
138
+ readonly validator: ((val: unknown) => boolean) | undefined;
139
+ __epPropKey: true;
140
+ };
141
+ readonly disabled: BooleanConstructor;
142
+ }>> & {
143
+ onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
144
+ }, {
145
+ validate: (callback?: import('element-plus').FormValidateCallback | undefined) => import('element-plus').FormValidationResult;
146
+ validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp> | undefined, callback?: import('element-plus').FormValidateCallback | undefined) => import('element-plus').FormValidationResult;
147
+ resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp> | undefined) => void;
148
+ clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp> | undefined) => void;
149
+ scrollToField: (prop: import('element-plus').FormItemProp) => void;
150
+ fields: import('element-plus').FormItemContext[];
151
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
152
+ validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
153
+ }, string, {
154
+ readonly inline: boolean;
155
+ readonly disabled: boolean;
156
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
157
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
158
+ readonly inlineMessage: boolean;
159
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
160
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
161
+ readonly labelSuffix: string;
162
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
163
+ readonly statusIcon: boolean;
164
+ readonly hideRequiredAsterisk: boolean;
165
+ readonly scrollToError: boolean;
166
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
167
+ beforeCreate?: (() => void) | (() => void)[];
168
+ created?: (() => void) | (() => void)[];
169
+ beforeMount?: (() => void) | (() => void)[];
170
+ mounted?: (() => void) | (() => void)[];
171
+ beforeUpdate?: (() => void) | (() => void)[];
172
+ updated?: (() => void) | (() => void)[];
173
+ activated?: (() => void) | (() => void)[];
174
+ deactivated?: (() => void) | (() => void)[];
175
+ beforeDestroy?: (() => void) | (() => void)[];
176
+ beforeUnmount?: (() => void) | (() => void)[];
177
+ destroyed?: (() => void) | (() => void)[];
178
+ unmounted?: (() => void) | (() => void)[];
179
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
180
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
181
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
182
+ };
183
+ $forceUpdate: () => void;
184
+ $nextTick: typeof import('vue').nextTick;
185
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
186
+ } & Readonly<{
187
+ readonly inline: boolean;
188
+ readonly disabled: boolean;
189
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
190
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
191
+ readonly inlineMessage: boolean;
192
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
193
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
194
+ readonly labelSuffix: string;
195
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
196
+ readonly statusIcon: boolean;
197
+ readonly hideRequiredAsterisk: boolean;
198
+ readonly scrollToError: boolean;
199
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
200
+ readonly model: ObjectConstructor;
201
+ readonly rules: {
202
+ readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
203
+ readonly required: false;
204
+ readonly validator: ((val: unknown) => boolean) | undefined;
205
+ __epPropKey: true;
206
+ };
207
+ readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
208
+ readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
209
+ readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
210
+ readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
211
+ readonly inline: BooleanConstructor;
212
+ readonly inlineMessage: BooleanConstructor;
213
+ readonly statusIcon: BooleanConstructor;
214
+ readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
215
+ readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
216
+ readonly hideRequiredAsterisk: BooleanConstructor;
217
+ readonly scrollToError: BooleanConstructor;
218
+ readonly scrollIntoViewOptions: {
219
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
220
+ readonly required: false;
221
+ readonly validator: ((val: unknown) => boolean) | undefined;
222
+ __epPropKey: true;
223
+ };
224
+ readonly size: {
225
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
226
+ readonly required: false;
227
+ readonly validator: ((val: unknown) => boolean) | undefined;
228
+ __epPropKey: true;
229
+ };
230
+ readonly disabled: BooleanConstructor;
231
+ }>> & {
232
+ onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
233
+ }, "inline" | "disabled" | "validate" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "fields"> & import('vue').ShallowUnwrapRef<{
234
+ validate: (callback?: import('element-plus').FormValidateCallback | undefined) => import('element-plus').FormValidationResult;
235
+ validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp> | undefined, callback?: import('element-plus').FormValidateCallback | undefined) => import('element-plus').FormValidationResult;
236
+ resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp> | undefined) => void;
237
+ clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp> | undefined) => void;
238
+ scrollToField: (prop: import('element-plus').FormItemProp) => void;
239
+ fields: import('element-plus').FormItemContext[];
240
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
241
+ $slots: {
242
+ default?(_: {}): any;
243
+ };
244
+ }) | null;
245
+ }, any, import('vue').ComponentProvideOptions, {
246
+ P: {};
247
+ B: {};
248
+ D: {};
249
+ C: {};
250
+ M: {};
251
+ Defaults: {};
252
+ }, Readonly<{
253
+ modelValue?: Record<string, any>;
254
+ } & import('./Form').FormProps> & Readonly<{
255
+ "onUpdate:modelValue"?: ((modelValue: Record<string, any>) => any) | undefined;
256
+ }>, {
257
+ validate: () => Promise<boolean>;
258
+ }, {}, {}, {}, {}>;
259
+ __isFragment?: never;
260
+ __isTeleport?: never;
261
+ __isSuspense?: never;
262
+ } & import('vue').ComponentOptionsBase<Readonly<{
263
+ modelValue?: Record<string, any>;
264
+ } & import('./Form').FormProps> & Readonly<{
265
+ "onUpdate:modelValue"?: ((modelValue: Record<string, any>) => any) | undefined;
266
+ }>, {
267
+ validate: () => Promise<boolean>;
268
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
269
+ "update:modelValue": (modelValue: Record<string, any>) => any;
270
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
271
+ $slots: {
272
+ default?(_: {}): any;
273
+ };
274
+ })> & {
275
+ StringInput: typeof StringInput;
276
+ PasswordInput: typeof PasswordInput;
277
+ Textarea: typeof Textarea;
278
+ SingleSelect: typeof SingleSelect;
279
+ MultiSelect: typeof MultiSelect;
280
+ RadioGroup: typeof RadioGroup;
281
+ CheckboxGroup: typeof CheckboxGroup;
282
+ Checkbox: typeof Checkbox;
283
+ Switch: typeof Switch;
284
+ DateInput: typeof DateInput;
285
+ FileInput: typeof FileInput;
286
+ ButtonGroup: typeof ButtonGroup;
287
+ };
288
+ export default _default;
289
+ export * from './Form';
290
+ export * from './StringInput';
291
+ export * from './PasswordInput';
292
+ export * from './Textarea';
293
+ export * from './SingleSelect';
294
+ export * from './MultiSelect';
295
+ export * from './RadioGroup';
296
+ export * from './CheckboxGroup';
297
+ export * from './Checkbox';
298
+ export * from './Switch';
299
+ export * from './DateInput';
300
+ export * from './FileInput';
301
+ export * from './ButtonGroup';