@wlydfe/pro-ui 0.2.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 (679) hide show
  1. package/README.md +79 -0
  2. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  3. package/es/component.d.ts +3 -0
  4. package/es/component.mjs +49 -0
  5. package/es/components/breadcrumb/index.d.ts +14102 -0
  6. package/es/components/breadcrumb/index.mjs +5 -0
  7. package/es/components/breadcrumb/src/index.vue.d.ts +14110 -0
  8. package/es/components/breadcrumb/src/index.vue.mjs +6 -0
  9. package/es/components/breadcrumb/src/index.vue2.mjs +101 -0
  10. package/es/components/breadcrumb/style/css.d.ts +3 -0
  11. package/es/components/breadcrumb/style/css.mjs +3 -0
  12. package/es/components/breadcrumb/style/index.d.ts +3 -0
  13. package/es/components/breadcrumb/style/index.mjs +3 -0
  14. package/es/components/check-card/index.d.ts +272 -0
  15. package/es/components/check-card/index.mjs +5 -0
  16. package/es/components/check-card/src/index.vue.d.ts +293 -0
  17. package/es/components/check-card/src/index.vue.mjs +6 -0
  18. package/es/components/check-card/src/index.vue2.mjs +166 -0
  19. package/es/components/check-card/style/css.d.ts +2 -0
  20. package/es/components/check-card/style/css.mjs +2 -0
  21. package/es/components/check-card/style/index.d.ts +2 -0
  22. package/es/components/check-card/style/index.mjs +2 -0
  23. package/es/components/check-card-group/index.d.ts +344 -0
  24. package/es/components/check-card-group/index.mjs +5 -0
  25. package/es/components/check-card-group/src/index.vue.d.ts +369 -0
  26. package/es/components/check-card-group/src/index.vue.mjs +6 -0
  27. package/es/components/check-card-group/src/index.vue2.mjs +142 -0
  28. package/es/components/check-card-group/style/css.d.ts +2 -0
  29. package/es/components/check-card-group/style/css.mjs +2 -0
  30. package/es/components/check-card-group/style/index.d.ts +2 -0
  31. package/es/components/check-card-group/style/index.mjs +2 -0
  32. package/es/components/date-picker/index.d.ts +2739 -0
  33. package/es/components/date-picker/index.mjs +5 -0
  34. package/es/components/date-picker/src/index.vue.d.ts +2757 -0
  35. package/es/components/date-picker/src/index.vue.mjs +6 -0
  36. package/es/components/date-picker/src/index.vue2.mjs +140 -0
  37. package/es/components/date-picker/style/css.d.ts +2 -0
  38. package/es/components/date-picker/style/css.mjs +2 -0
  39. package/es/components/date-picker/style/index.d.ts +2 -0
  40. package/es/components/date-picker/style/index.mjs +2 -0
  41. package/es/components/descriptions/index.d.ts +9802 -0
  42. package/es/components/descriptions/index.mjs +5 -0
  43. package/es/components/descriptions/src/index.vue.d.ts +9814 -0
  44. package/es/components/descriptions/src/index.vue.mjs +6 -0
  45. package/es/components/descriptions/src/index.vue2.mjs +133 -0
  46. package/es/components/descriptions/style/css.d.ts +3 -0
  47. package/es/components/descriptions/style/css.mjs +3 -0
  48. package/es/components/descriptions/style/index.d.ts +3 -0
  49. package/es/components/descriptions/style/index.mjs +3 -0
  50. package/es/components/dialog/index.d.ts +1056 -0
  51. package/es/components/dialog/index.mjs +5 -0
  52. package/es/components/dialog/src/index.vue.d.ts +1071 -0
  53. package/es/components/dialog/src/index.vue.mjs +6 -0
  54. package/es/components/dialog/src/index.vue2.mjs +120 -0
  55. package/es/components/dialog/style/css.d.ts +3 -0
  56. package/es/components/dialog/style/css.mjs +3 -0
  57. package/es/components/dialog/style/index.d.ts +3 -0
  58. package/es/components/dialog/style/index.mjs +3 -0
  59. package/es/components/dialog-form/index.d.ts +8990 -0
  60. package/es/components/dialog-form/index.mjs +5 -0
  61. package/es/components/dialog-form/src/index.vue.d.ts +9009 -0
  62. package/es/components/dialog-form/src/index.vue.mjs +6 -0
  63. package/es/components/dialog-form/src/index.vue2.mjs +170 -0
  64. package/es/components/dialog-form/style/css.d.ts +3 -0
  65. package/es/components/dialog-form/style/css.mjs +3 -0
  66. package/es/components/dialog-form/style/index.d.ts +3 -0
  67. package/es/components/dialog-form/style/index.mjs +3 -0
  68. package/es/components/display-item/index.d.ts +9114 -0
  69. package/es/components/display-item/index.mjs +5 -0
  70. package/es/components/display-item/src/index.vue.d.ts +9127 -0
  71. package/es/components/display-item/src/index.vue.mjs +6 -0
  72. package/es/components/display-item/src/index.vue2.mjs +524 -0
  73. package/es/components/display-item/style/css.d.ts +6 -0
  74. package/es/components/display-item/style/css.mjs +6 -0
  75. package/es/components/display-item/style/index.d.ts +6 -0
  76. package/es/components/display-item/style/index.mjs +6 -0
  77. package/es/components/drawer-form/index.d.ts +9643 -0
  78. package/es/components/drawer-form/index.mjs +5 -0
  79. package/es/components/drawer-form/src/index.vue.d.ts +9666 -0
  80. package/es/components/drawer-form/src/index.vue.mjs +6 -0
  81. package/es/components/drawer-form/src/index.vue2.mjs +169 -0
  82. package/es/components/drawer-form/style/css.d.ts +3 -0
  83. package/es/components/drawer-form/style/css.mjs +3 -0
  84. package/es/components/drawer-form/style/index.d.ts +3 -0
  85. package/es/components/drawer-form/style/index.mjs +3 -0
  86. package/es/components/form/index.d.ts +7860 -0
  87. package/es/components/form/index.mjs +5 -0
  88. package/es/components/form/src/form-content.vue.d.ts +6452 -0
  89. package/es/components/form/src/form-content.vue.mjs +6 -0
  90. package/es/components/form/src/form-content.vue2.mjs +138 -0
  91. package/es/components/form/src/index.vue.d.ts +7900 -0
  92. package/es/components/form/src/index.vue.mjs +6 -0
  93. package/es/components/form/src/index.vue2.mjs +320 -0
  94. package/es/components/form/style/css.d.ts +7 -0
  95. package/es/components/form/style/css.mjs +7 -0
  96. package/es/components/form/style/index.d.ts +7 -0
  97. package/es/components/form/style/index.mjs +7 -0
  98. package/es/components/form-item/index.d.ts +5951 -0
  99. package/es/components/form-item/index.mjs +5 -0
  100. package/es/components/form-item/src/index.vue.d.ts +5976 -0
  101. package/es/components/form-item/src/index.vue.mjs +6 -0
  102. package/es/components/form-item/src/index.vue2.mjs +951 -0
  103. package/es/components/form-item/style/css.d.ts +24 -0
  104. package/es/components/form-item/style/css.mjs +24 -0
  105. package/es/components/form-item/style/index.d.ts +24 -0
  106. package/es/components/form-item/style/index.mjs +24 -0
  107. package/es/components/header/index.d.ts +1142 -0
  108. package/es/components/header/index.mjs +5 -0
  109. package/es/components/header/src/index.vue.d.ts +1174 -0
  110. package/es/components/header/src/index.vue.mjs +6 -0
  111. package/es/components/header/src/index.vue2.mjs +210 -0
  112. package/es/components/header/style/css.d.ts +6 -0
  113. package/es/components/header/style/css.mjs +6 -0
  114. package/es/components/header/style/index.d.ts +6 -0
  115. package/es/components/header/style/index.mjs +6 -0
  116. package/es/components/index.d.ts +22 -0
  117. package/es/components/index.mjs +22 -0
  118. package/es/components/input-tag/index.d.ts +893 -0
  119. package/es/components/input-tag/index.mjs +5 -0
  120. package/es/components/input-tag/src/index.vue.d.ts +917 -0
  121. package/es/components/input-tag/src/index.vue.mjs +6 -0
  122. package/es/components/input-tag/src/index.vue2.mjs +136 -0
  123. package/es/components/input-tag/style/css.d.ts +3 -0
  124. package/es/components/input-tag/style/css.mjs +3 -0
  125. package/es/components/input-tag/style/index.d.ts +3 -0
  126. package/es/components/input-tag/style/index.mjs +3 -0
  127. package/es/components/layout/index.d.ts +10618 -0
  128. package/es/components/layout/index.mjs +5 -0
  129. package/es/components/layout/src/index.vue.d.ts +10643 -0
  130. package/es/components/layout/src/index.vue.mjs +6 -0
  131. package/es/components/layout/src/index.vue2.mjs +169 -0
  132. package/es/components/layout/style/css.d.ts +8 -0
  133. package/es/components/layout/style/css.mjs +8 -0
  134. package/es/components/layout/style/index.d.ts +8 -0
  135. package/es/components/layout/style/index.mjs +8 -0
  136. package/es/components/page/index.d.ts +219 -0
  137. package/es/components/page/index.mjs +5 -0
  138. package/es/components/page/src/index.vue.d.ts +291 -0
  139. package/es/components/page/src/index.vue.mjs +6 -0
  140. package/es/components/page/src/index.vue2.mjs +275 -0
  141. package/es/components/page/style/css.d.ts +4 -0
  142. package/es/components/page/style/css.mjs +4 -0
  143. package/es/components/page/style/index.d.ts +4 -0
  144. package/es/components/page/style/index.mjs +4 -0
  145. package/es/components/pagination/index.d.ts +446 -0
  146. package/es/components/pagination/index.mjs +5 -0
  147. package/es/components/pagination/src/index.vue.d.ts +458 -0
  148. package/es/components/pagination/src/index.vue.mjs +6 -0
  149. package/es/components/pagination/src/index.vue2.mjs +77 -0
  150. package/es/components/pagination/style/css.d.ts +2 -0
  151. package/es/components/pagination/style/css.mjs +2 -0
  152. package/es/components/pagination/style/index.d.ts +2 -0
  153. package/es/components/pagination/style/index.mjs +2 -0
  154. package/es/components/popover/index.d.ts +1125 -0
  155. package/es/components/popover/index.mjs +5 -0
  156. package/es/components/popover/src/index.vue.d.ts +1135 -0
  157. package/es/components/popover/src/index.vue.mjs +6 -0
  158. package/es/components/popover/src/index.vue2.mjs +97 -0
  159. package/es/components/popover/style/css.d.ts +3 -0
  160. package/es/components/popover/style/css.mjs +3 -0
  161. package/es/components/popover/style/index.d.ts +3 -0
  162. package/es/components/popover/style/index.mjs +3 -0
  163. package/es/components/radio/index.d.ts +1593 -0
  164. package/es/components/radio/index.mjs +5 -0
  165. package/es/components/radio/src/index.vue.d.ts +1608 -0
  166. package/es/components/radio/src/index.vue.mjs +6 -0
  167. package/es/components/radio/src/index.vue2.mjs +202 -0
  168. package/es/components/radio/style/css.d.ts +3 -0
  169. package/es/components/radio/style/css.mjs +3 -0
  170. package/es/components/radio/style/index.d.ts +3 -0
  171. package/es/components/radio/style/index.mjs +3 -0
  172. package/es/components/render/index.d.ts +71 -0
  173. package/es/components/render/index.mjs +5 -0
  174. package/es/components/render/src/index.vue.d.ts +86 -0
  175. package/es/components/render/src/index.vue.mjs +6 -0
  176. package/es/components/render/src/index.vue2.mjs +73 -0
  177. package/es/components/search/index.d.ts +8778 -0
  178. package/es/components/search/index.mjs +5 -0
  179. package/es/components/search/src/index.vue.d.ts +8807 -0
  180. package/es/components/search/src/index.vue.mjs +6 -0
  181. package/es/components/search/src/index.vue2.mjs +216 -0
  182. package/es/components/search/style/css.d.ts +3 -0
  183. package/es/components/search/style/css.mjs +3 -0
  184. package/es/components/search/style/index.d.ts +3 -0
  185. package/es/components/search/style/index.mjs +3 -0
  186. package/es/components/sidebar/index.d.ts +3009 -0
  187. package/es/components/sidebar/index.mjs +7 -0
  188. package/es/components/sidebar/src/index.vue.d.ts +2557 -0
  189. package/es/components/sidebar/src/index.vue.mjs +6 -0
  190. package/es/components/sidebar/src/index.vue2.mjs +175 -0
  191. package/es/components/sidebar/src/sidebar-item.vue.d.ts +513 -0
  192. package/es/components/sidebar/src/sidebar-item.vue.mjs +6 -0
  193. package/es/components/sidebar/src/sidebar-item.vue2.mjs +270 -0
  194. package/es/components/sidebar/style/css.d.ts +6 -0
  195. package/es/components/sidebar/style/css.mjs +6 -0
  196. package/es/components/sidebar/style/index.d.ts +6 -0
  197. package/es/components/sidebar/style/index.mjs +6 -0
  198. package/es/components/steps-form/index.d.ts +8350 -0
  199. package/es/components/steps-form/index.mjs +5 -0
  200. package/es/components/steps-form/src/index.vue.d.ts +8370 -0
  201. package/es/components/steps-form/src/index.vue.mjs +6 -0
  202. package/es/components/steps-form/src/index.vue2.mjs +124 -0
  203. package/es/components/steps-form/style/css.d.ts +4 -0
  204. package/es/components/steps-form/style/css.mjs +4 -0
  205. package/es/components/steps-form/style/index.d.ts +4 -0
  206. package/es/components/steps-form/style/index.mjs +4 -0
  207. package/es/components/table/index.d.ts +6 -0
  208. package/es/components/table/index.mjs +6 -0
  209. package/es/components/table/src/index.vue.mjs +6 -0
  210. package/es/components/table/src/index.vue2.mjs +338 -0
  211. package/es/components/table/src/table-action-bar.vue.mjs +6 -0
  212. package/es/components/table/src/table-action-bar.vue2.mjs +217 -0
  213. package/es/components/table/src/table-column-drag-sort.vue.mjs +6 -0
  214. package/es/components/table/src/table-column-drag-sort.vue2.mjs +74 -0
  215. package/es/components/table/src/table-column-index.vue.mjs +6 -0
  216. package/es/components/table/src/table-column-index.vue2.mjs +91 -0
  217. package/es/components/table/src/table-column.vue.mjs +6 -0
  218. package/es/components/table/src/table-column.vue2.mjs +161 -0
  219. package/es/components/table/src/table-title-bar.vue.d.ts +3594 -0
  220. package/es/components/table/src/table-title-bar.vue.mjs +6 -0
  221. package/es/components/table/src/table-title-bar.vue2.mjs +435 -0
  222. package/es/components/table/src/type.d.ts +208 -0
  223. package/es/components/table/src/type.mjs +1 -0
  224. package/es/components/table/style/css.d.ts +13 -0
  225. package/es/components/table/style/css.mjs +13 -0
  226. package/es/components/table/style/index.d.ts +13 -0
  227. package/es/components/table/style/index.mjs +13 -0
  228. package/es/components/utils/format.d.ts +9 -0
  229. package/es/components/utils/format.mjs +10 -0
  230. package/es/components/utils/index.d.ts +92 -0
  231. package/es/components/utils/index.mjs +111 -0
  232. package/es/components/utils/is.d.ts +98 -0
  233. package/es/components/utils/is.mjs +29 -0
  234. package/es/constants/form.d.ts +20 -0
  235. package/es/constants/form.mjs +13 -0
  236. package/es/constants/index.d.ts +2 -0
  237. package/es/constants/index.mjs +2 -0
  238. package/es/constants/page.d.ts +9 -0
  239. package/es/constants/page.mjs +7 -0
  240. package/es/defaults.d.ts +4 -0
  241. package/es/defaults.mjs +7 -0
  242. package/es/directive.d.ts +3 -0
  243. package/es/directive.mjs +8 -0
  244. package/es/directives/click/hook/useClickControl.d.ts +11 -0
  245. package/es/directives/click/hook/useClickControl.mjs +75 -0
  246. package/es/directives/click/index.d.ts +3 -0
  247. package/es/directives/click/index.mjs +51 -0
  248. package/es/directives/click/type/index.d.ts +16 -0
  249. package/es/directives/click/type/index.mjs +17 -0
  250. package/es/directives/index.d.ts +1 -0
  251. package/es/directives/index.mjs +1 -0
  252. package/es/hooks/index.d.ts +3 -0
  253. package/es/hooks/index.mjs +3 -0
  254. package/es/hooks/useGetOptions.d.ts +6 -0
  255. package/es/hooks/useGetOptions.mjs +62 -0
  256. package/es/hooks/useLocale.d.ts +18 -0
  257. package/es/hooks/useLocale.mjs +28 -0
  258. package/es/hooks/useTable.d.ts +20 -0
  259. package/es/hooks/useTable.mjs +21 -0
  260. package/es/index.css +21 -0
  261. package/es/index.d.ts +9 -0
  262. package/es/index.mjs +39 -0
  263. package/es/locale/index.d.ts +9 -0
  264. package/es/locale/index.mjs +2 -0
  265. package/es/locale/lang/en.d.ts +66 -0
  266. package/es/locale/lang/en.mjs +67 -0
  267. package/es/locale/lang/zh-cn.d.ts +66 -0
  268. package/es/locale/lang/zh-cn.mjs +67 -0
  269. package/es/make-installer.d.ts +4 -0
  270. package/es/make-installer.mjs +11 -0
  271. package/es/theme-chalk/src/breadcrumb.scss.mjs +3 -0
  272. package/es/theme-chalk/src/check-card-group.scss.mjs +3 -0
  273. package/es/theme-chalk/src/check-card.scss.mjs +3 -0
  274. package/es/theme-chalk/src/date-picker.scss.mjs +3 -0
  275. package/es/theme-chalk/src/descriptions.scss.mjs +3 -0
  276. package/es/theme-chalk/src/dialog-form.scss.mjs +3 -0
  277. package/es/theme-chalk/src/dialog.scss.mjs +3 -0
  278. package/es/theme-chalk/src/display-item.scss.mjs +3 -0
  279. package/es/theme-chalk/src/drawer-form.scss.mjs +3 -0
  280. package/es/theme-chalk/src/form-item.scss.mjs +3 -0
  281. package/es/theme-chalk/src/form.scss.mjs +3 -0
  282. package/es/theme-chalk/src/header.scss.mjs +3 -0
  283. package/es/theme-chalk/src/input-tag.scss.mjs +3 -0
  284. package/es/theme-chalk/src/layout.scss.mjs +3 -0
  285. package/es/theme-chalk/src/page.scss.mjs +3 -0
  286. package/es/theme-chalk/src/pagination.scss.mjs +3 -0
  287. package/es/theme-chalk/src/popover.scss.mjs +3 -0
  288. package/es/theme-chalk/src/radio.scss.mjs +3 -0
  289. package/es/theme-chalk/src/search.scss.mjs +3 -0
  290. package/es/theme-chalk/src/sidebar.scss.mjs +3 -0
  291. package/es/theme-chalk/src/steps-form.scss.mjs +3 -0
  292. package/es/theme-chalk/src/table.scss.mjs +3 -0
  293. package/es/types/form.d.ts +234 -0
  294. package/es/types/form.mjs +1 -0
  295. package/es/types/global.d.ts +29 -0
  296. package/es/types/global.mjs +1 -0
  297. package/es/types/index.d.ts +5 -0
  298. package/es/types/index.mjs +5 -0
  299. package/es/types/layout.d.ts +43 -0
  300. package/es/types/layout.mjs +1 -0
  301. package/es/types/plus.d.ts +217 -0
  302. package/es/types/plus.mjs +1 -0
  303. package/es/types/table.d.ts +36 -0
  304. package/es/types/table.mjs +1 -0
  305. package/es/version.d.ts +1 -0
  306. package/es/version.mjs +3 -0
  307. package/global.d.ts +29 -0
  308. package/index.css +1 -0
  309. package/index.d.ts +2 -0
  310. package/index.js +12352 -0
  311. package/index.min.js +7 -0
  312. package/index.min.mjs +7 -0
  313. package/index.mjs +12306 -0
  314. package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
  315. package/lib/component.d.ts +3 -0
  316. package/lib/component.js +53 -0
  317. package/lib/components/breadcrumb/index.d.ts +14102 -0
  318. package/lib/components/breadcrumb/index.js +7 -0
  319. package/lib/components/breadcrumb/src/index.vue.d.ts +14110 -0
  320. package/lib/components/breadcrumb/src/index.vue.js +10 -0
  321. package/lib/components/breadcrumb/src/index.vue2.js +105 -0
  322. package/lib/components/breadcrumb/style/css.d.ts +3 -0
  323. package/lib/components/breadcrumb/style/css.js +6 -0
  324. package/lib/components/breadcrumb/style/index.d.ts +3 -0
  325. package/lib/components/breadcrumb/style/index.js +6 -0
  326. package/lib/components/check-card/index.d.ts +272 -0
  327. package/lib/components/check-card/index.js +7 -0
  328. package/lib/components/check-card/src/index.vue.d.ts +293 -0
  329. package/lib/components/check-card/src/index.vue.js +10 -0
  330. package/lib/components/check-card/src/index.vue2.js +170 -0
  331. package/lib/components/check-card/style/css.d.ts +2 -0
  332. package/lib/components/check-card/style/css.js +5 -0
  333. package/lib/components/check-card/style/index.d.ts +2 -0
  334. package/lib/components/check-card/style/index.js +5 -0
  335. package/lib/components/check-card-group/index.d.ts +344 -0
  336. package/lib/components/check-card-group/index.js +7 -0
  337. package/lib/components/check-card-group/src/index.vue.d.ts +369 -0
  338. package/lib/components/check-card-group/src/index.vue.js +10 -0
  339. package/lib/components/check-card-group/src/index.vue2.js +146 -0
  340. package/lib/components/check-card-group/style/css.d.ts +2 -0
  341. package/lib/components/check-card-group/style/css.js +5 -0
  342. package/lib/components/check-card-group/style/index.d.ts +2 -0
  343. package/lib/components/check-card-group/style/index.js +5 -0
  344. package/lib/components/date-picker/index.d.ts +2739 -0
  345. package/lib/components/date-picker/index.js +7 -0
  346. package/lib/components/date-picker/src/index.vue.d.ts +2757 -0
  347. package/lib/components/date-picker/src/index.vue.js +10 -0
  348. package/lib/components/date-picker/src/index.vue2.js +144 -0
  349. package/lib/components/date-picker/style/css.d.ts +2 -0
  350. package/lib/components/date-picker/style/css.js +5 -0
  351. package/lib/components/date-picker/style/index.d.ts +2 -0
  352. package/lib/components/date-picker/style/index.js +5 -0
  353. package/lib/components/descriptions/index.d.ts +9802 -0
  354. package/lib/components/descriptions/index.js +7 -0
  355. package/lib/components/descriptions/src/index.vue.d.ts +9814 -0
  356. package/lib/components/descriptions/src/index.vue.js +10 -0
  357. package/lib/components/descriptions/src/index.vue2.js +137 -0
  358. package/lib/components/descriptions/style/css.d.ts +3 -0
  359. package/lib/components/descriptions/style/css.js +6 -0
  360. package/lib/components/descriptions/style/index.d.ts +3 -0
  361. package/lib/components/descriptions/style/index.js +6 -0
  362. package/lib/components/dialog/index.d.ts +1056 -0
  363. package/lib/components/dialog/index.js +7 -0
  364. package/lib/components/dialog/src/index.vue.d.ts +1071 -0
  365. package/lib/components/dialog/src/index.vue.js +10 -0
  366. package/lib/components/dialog/src/index.vue2.js +124 -0
  367. package/lib/components/dialog/style/css.d.ts +3 -0
  368. package/lib/components/dialog/style/css.js +6 -0
  369. package/lib/components/dialog/style/index.d.ts +3 -0
  370. package/lib/components/dialog/style/index.js +6 -0
  371. package/lib/components/dialog-form/index.d.ts +8990 -0
  372. package/lib/components/dialog-form/index.js +7 -0
  373. package/lib/components/dialog-form/src/index.vue.d.ts +9009 -0
  374. package/lib/components/dialog-form/src/index.vue.js +10 -0
  375. package/lib/components/dialog-form/src/index.vue2.js +174 -0
  376. package/lib/components/dialog-form/style/css.d.ts +3 -0
  377. package/lib/components/dialog-form/style/css.js +6 -0
  378. package/lib/components/dialog-form/style/index.d.ts +3 -0
  379. package/lib/components/dialog-form/style/index.js +6 -0
  380. package/lib/components/display-item/index.d.ts +9114 -0
  381. package/lib/components/display-item/index.js +7 -0
  382. package/lib/components/display-item/src/index.vue.d.ts +9127 -0
  383. package/lib/components/display-item/src/index.vue.js +10 -0
  384. package/lib/components/display-item/src/index.vue2.js +528 -0
  385. package/lib/components/display-item/style/css.d.ts +6 -0
  386. package/lib/components/display-item/style/css.js +9 -0
  387. package/lib/components/display-item/style/index.d.ts +6 -0
  388. package/lib/components/display-item/style/index.js +9 -0
  389. package/lib/components/drawer-form/index.d.ts +9643 -0
  390. package/lib/components/drawer-form/index.js +7 -0
  391. package/lib/components/drawer-form/src/index.vue.d.ts +9666 -0
  392. package/lib/components/drawer-form/src/index.vue.js +10 -0
  393. package/lib/components/drawer-form/src/index.vue2.js +173 -0
  394. package/lib/components/drawer-form/style/css.d.ts +3 -0
  395. package/lib/components/drawer-form/style/css.js +6 -0
  396. package/lib/components/drawer-form/style/index.d.ts +3 -0
  397. package/lib/components/drawer-form/style/index.js +6 -0
  398. package/lib/components/form/index.d.ts +7860 -0
  399. package/lib/components/form/index.js +7 -0
  400. package/lib/components/form/src/form-content.vue.d.ts +6452 -0
  401. package/lib/components/form/src/form-content.vue.js +10 -0
  402. package/lib/components/form/src/form-content.vue2.js +142 -0
  403. package/lib/components/form/src/index.vue.d.ts +7900 -0
  404. package/lib/components/form/src/index.vue.js +10 -0
  405. package/lib/components/form/src/index.vue2.js +324 -0
  406. package/lib/components/form/style/css.d.ts +7 -0
  407. package/lib/components/form/style/css.js +10 -0
  408. package/lib/components/form/style/index.d.ts +7 -0
  409. package/lib/components/form/style/index.js +10 -0
  410. package/lib/components/form-item/index.d.ts +5951 -0
  411. package/lib/components/form-item/index.js +7 -0
  412. package/lib/components/form-item/src/index.vue.d.ts +5976 -0
  413. package/lib/components/form-item/src/index.vue.js +10 -0
  414. package/lib/components/form-item/src/index.vue2.js +955 -0
  415. package/lib/components/form-item/style/css.d.ts +24 -0
  416. package/lib/components/form-item/style/css.js +27 -0
  417. package/lib/components/form-item/style/index.d.ts +24 -0
  418. package/lib/components/form-item/style/index.js +27 -0
  419. package/lib/components/header/index.d.ts +1142 -0
  420. package/lib/components/header/index.js +7 -0
  421. package/lib/components/header/src/index.vue.d.ts +1174 -0
  422. package/lib/components/header/src/index.vue.js +10 -0
  423. package/lib/components/header/src/index.vue2.js +214 -0
  424. package/lib/components/header/style/css.d.ts +6 -0
  425. package/lib/components/header/style/css.js +9 -0
  426. package/lib/components/header/style/index.d.ts +6 -0
  427. package/lib/components/header/style/index.js +9 -0
  428. package/lib/components/index.d.ts +22 -0
  429. package/lib/components/index.js +50 -0
  430. package/lib/components/input-tag/index.d.ts +893 -0
  431. package/lib/components/input-tag/index.js +7 -0
  432. package/lib/components/input-tag/src/index.vue.d.ts +917 -0
  433. package/lib/components/input-tag/src/index.vue.js +10 -0
  434. package/lib/components/input-tag/src/index.vue2.js +140 -0
  435. package/lib/components/input-tag/style/css.d.ts +3 -0
  436. package/lib/components/input-tag/style/css.js +6 -0
  437. package/lib/components/input-tag/style/index.d.ts +3 -0
  438. package/lib/components/input-tag/style/index.js +6 -0
  439. package/lib/components/layout/index.d.ts +10618 -0
  440. package/lib/components/layout/index.js +7 -0
  441. package/lib/components/layout/src/index.vue.d.ts +10643 -0
  442. package/lib/components/layout/src/index.vue.js +10 -0
  443. package/lib/components/layout/src/index.vue2.js +173 -0
  444. package/lib/components/layout/style/css.d.ts +8 -0
  445. package/lib/components/layout/style/css.js +11 -0
  446. package/lib/components/layout/style/index.d.ts +8 -0
  447. package/lib/components/layout/style/index.js +11 -0
  448. package/lib/components/page/index.d.ts +219 -0
  449. package/lib/components/page/index.js +7 -0
  450. package/lib/components/page/src/index.vue.d.ts +291 -0
  451. package/lib/components/page/src/index.vue.js +10 -0
  452. package/lib/components/page/src/index.vue2.js +279 -0
  453. package/lib/components/page/style/css.d.ts +4 -0
  454. package/lib/components/page/style/css.js +7 -0
  455. package/lib/components/page/style/index.d.ts +4 -0
  456. package/lib/components/page/style/index.js +7 -0
  457. package/lib/components/pagination/index.d.ts +446 -0
  458. package/lib/components/pagination/index.js +7 -0
  459. package/lib/components/pagination/src/index.vue.d.ts +458 -0
  460. package/lib/components/pagination/src/index.vue.js +10 -0
  461. package/lib/components/pagination/src/index.vue2.js +81 -0
  462. package/lib/components/pagination/style/css.d.ts +2 -0
  463. package/lib/components/pagination/style/css.js +5 -0
  464. package/lib/components/pagination/style/index.d.ts +2 -0
  465. package/lib/components/pagination/style/index.js +5 -0
  466. package/lib/components/popover/index.d.ts +1125 -0
  467. package/lib/components/popover/index.js +7 -0
  468. package/lib/components/popover/src/index.vue.d.ts +1135 -0
  469. package/lib/components/popover/src/index.vue.js +10 -0
  470. package/lib/components/popover/src/index.vue2.js +101 -0
  471. package/lib/components/popover/style/css.d.ts +3 -0
  472. package/lib/components/popover/style/css.js +6 -0
  473. package/lib/components/popover/style/index.d.ts +3 -0
  474. package/lib/components/popover/style/index.js +6 -0
  475. package/lib/components/radio/index.d.ts +1593 -0
  476. package/lib/components/radio/index.js +7 -0
  477. package/lib/components/radio/src/index.vue.d.ts +1608 -0
  478. package/lib/components/radio/src/index.vue.js +10 -0
  479. package/lib/components/radio/src/index.vue2.js +206 -0
  480. package/lib/components/radio/style/css.d.ts +3 -0
  481. package/lib/components/radio/style/css.js +6 -0
  482. package/lib/components/radio/style/index.d.ts +3 -0
  483. package/lib/components/radio/style/index.js +6 -0
  484. package/lib/components/render/index.d.ts +71 -0
  485. package/lib/components/render/index.js +7 -0
  486. package/lib/components/render/src/index.vue.d.ts +86 -0
  487. package/lib/components/render/src/index.vue.js +10 -0
  488. package/lib/components/render/src/index.vue2.js +77 -0
  489. package/lib/components/search/index.d.ts +8778 -0
  490. package/lib/components/search/index.js +7 -0
  491. package/lib/components/search/src/index.vue.d.ts +8807 -0
  492. package/lib/components/search/src/index.vue.js +10 -0
  493. package/lib/components/search/src/index.vue2.js +220 -0
  494. package/lib/components/search/style/css.d.ts +3 -0
  495. package/lib/components/search/style/css.js +6 -0
  496. package/lib/components/search/style/index.d.ts +3 -0
  497. package/lib/components/search/style/index.js +6 -0
  498. package/lib/components/sidebar/index.d.ts +3009 -0
  499. package/lib/components/sidebar/index.js +10 -0
  500. package/lib/components/sidebar/src/index.vue.d.ts +2557 -0
  501. package/lib/components/sidebar/src/index.vue.js +10 -0
  502. package/lib/components/sidebar/src/index.vue2.js +179 -0
  503. package/lib/components/sidebar/src/sidebar-item.vue.d.ts +513 -0
  504. package/lib/components/sidebar/src/sidebar-item.vue.js +10 -0
  505. package/lib/components/sidebar/src/sidebar-item.vue2.js +274 -0
  506. package/lib/components/sidebar/style/css.d.ts +6 -0
  507. package/lib/components/sidebar/style/css.js +9 -0
  508. package/lib/components/sidebar/style/index.d.ts +6 -0
  509. package/lib/components/sidebar/style/index.js +9 -0
  510. package/lib/components/steps-form/index.d.ts +8350 -0
  511. package/lib/components/steps-form/index.js +7 -0
  512. package/lib/components/steps-form/src/index.vue.d.ts +8370 -0
  513. package/lib/components/steps-form/src/index.vue.js +10 -0
  514. package/lib/components/steps-form/src/index.vue2.js +128 -0
  515. package/lib/components/steps-form/style/css.d.ts +4 -0
  516. package/lib/components/steps-form/style/css.js +7 -0
  517. package/lib/components/steps-form/style/index.d.ts +4 -0
  518. package/lib/components/steps-form/style/index.js +7 -0
  519. package/lib/components/table/index.d.ts +6 -0
  520. package/lib/components/table/index.js +8 -0
  521. package/lib/components/table/src/index.vue.js +10 -0
  522. package/lib/components/table/src/index.vue2.js +342 -0
  523. package/lib/components/table/src/table-action-bar.vue.js +10 -0
  524. package/lib/components/table/src/table-action-bar.vue2.js +221 -0
  525. package/lib/components/table/src/table-column-drag-sort.vue.js +10 -0
  526. package/lib/components/table/src/table-column-drag-sort.vue2.js +78 -0
  527. package/lib/components/table/src/table-column-index.vue.js +10 -0
  528. package/lib/components/table/src/table-column-index.vue2.js +95 -0
  529. package/lib/components/table/src/table-column.vue.js +10 -0
  530. package/lib/components/table/src/table-column.vue2.js +165 -0
  531. package/lib/components/table/src/table-title-bar.vue.d.ts +3594 -0
  532. package/lib/components/table/src/table-title-bar.vue.js +10 -0
  533. package/lib/components/table/src/table-title-bar.vue2.js +439 -0
  534. package/lib/components/table/src/type.d.ts +208 -0
  535. package/lib/components/table/src/type.js +2 -0
  536. package/lib/components/table/style/css.d.ts +13 -0
  537. package/lib/components/table/style/css.js +16 -0
  538. package/lib/components/table/style/index.d.ts +13 -0
  539. package/lib/components/table/style/index.js +16 -0
  540. package/lib/components/utils/format.d.ts +9 -0
  541. package/lib/components/utils/format.js +13 -0
  542. package/lib/components/utils/index.d.ts +92 -0
  543. package/lib/components/utils/index.js +147 -0
  544. package/lib/components/utils/is.d.ts +98 -0
  545. package/lib/components/utils/is.js +47 -0
  546. package/lib/constants/form.d.ts +20 -0
  547. package/lib/constants/form.js +19 -0
  548. package/lib/constants/index.d.ts +2 -0
  549. package/lib/constants/index.js +14 -0
  550. package/lib/constants/page.d.ts +9 -0
  551. package/lib/constants/page.js +10 -0
  552. package/lib/defaults.d.ts +4 -0
  553. package/lib/defaults.js +11 -0
  554. package/lib/directive.d.ts +3 -0
  555. package/lib/directive.js +12 -0
  556. package/lib/directives/click/hook/useClickControl.d.ts +11 -0
  557. package/lib/directives/click/hook/useClickControl.js +77 -0
  558. package/lib/directives/click/index.d.ts +3 -0
  559. package/lib/directives/click/index.js +55 -0
  560. package/lib/directives/click/type/index.d.ts +16 -0
  561. package/lib/directives/click/type/index.js +19 -0
  562. package/lib/directives/index.d.ts +1 -0
  563. package/lib/directives/index.js +7 -0
  564. package/lib/hooks/index.d.ts +3 -0
  565. package/lib/hooks/index.js +14 -0
  566. package/lib/hooks/useGetOptions.d.ts +6 -0
  567. package/lib/hooks/useGetOptions.js +64 -0
  568. package/lib/hooks/useLocale.d.ts +18 -0
  569. package/lib/hooks/useLocale.js +33 -0
  570. package/lib/hooks/useTable.d.ts +20 -0
  571. package/lib/hooks/useTable.js +23 -0
  572. package/lib/index.css +22 -0
  573. package/lib/index.d.ts +9 -0
  574. package/lib/index.js +82 -0
  575. package/lib/locale/index.d.ts +9 -0
  576. package/lib/locale/index.js +9 -0
  577. package/lib/locale/lang/en.d.ts +66 -0
  578. package/lib/locale/lang/en.js +71 -0
  579. package/lib/locale/lang/zh-cn.d.ts +66 -0
  580. package/lib/locale/lang/zh-cn.js +71 -0
  581. package/lib/make-installer.d.ts +4 -0
  582. package/lib/make-installer.js +13 -0
  583. package/lib/theme-chalk/src/breadcrumb.scss.js +7 -0
  584. package/lib/theme-chalk/src/check-card-group.scss.js +7 -0
  585. package/lib/theme-chalk/src/check-card.scss.js +7 -0
  586. package/lib/theme-chalk/src/date-picker.scss.js +7 -0
  587. package/lib/theme-chalk/src/descriptions.scss.js +7 -0
  588. package/lib/theme-chalk/src/dialog-form.scss.js +7 -0
  589. package/lib/theme-chalk/src/dialog.scss.js +7 -0
  590. package/lib/theme-chalk/src/display-item.scss.js +7 -0
  591. package/lib/theme-chalk/src/drawer-form.scss.js +7 -0
  592. package/lib/theme-chalk/src/form-item.scss.js +7 -0
  593. package/lib/theme-chalk/src/form.scss.js +7 -0
  594. package/lib/theme-chalk/src/header.scss.js +7 -0
  595. package/lib/theme-chalk/src/input-tag.scss.js +7 -0
  596. package/lib/theme-chalk/src/layout.scss.js +7 -0
  597. package/lib/theme-chalk/src/page.scss.js +7 -0
  598. package/lib/theme-chalk/src/pagination.scss.js +7 -0
  599. package/lib/theme-chalk/src/popover.scss.js +7 -0
  600. package/lib/theme-chalk/src/radio.scss.js +7 -0
  601. package/lib/theme-chalk/src/search.scss.js +7 -0
  602. package/lib/theme-chalk/src/sidebar.scss.js +7 -0
  603. package/lib/theme-chalk/src/steps-form.scss.js +7 -0
  604. package/lib/theme-chalk/src/table.scss.js +7 -0
  605. package/lib/types/form.d.ts +234 -0
  606. package/lib/types/form.js +2 -0
  607. package/lib/types/global.d.ts +29 -0
  608. package/lib/types/global.js +2 -0
  609. package/lib/types/index.d.ts +5 -0
  610. package/lib/types/index.js +8 -0
  611. package/lib/types/layout.d.ts +43 -0
  612. package/lib/types/layout.js +2 -0
  613. package/lib/types/plus.d.ts +217 -0
  614. package/lib/types/plus.js +2 -0
  615. package/lib/types/table.d.ts +36 -0
  616. package/lib/types/table.js +2 -0
  617. package/lib/version.d.ts +1 -0
  618. package/lib/version.js +5 -0
  619. package/locale/en.d.ts +66 -0
  620. package/locale/en.js +77 -0
  621. package/locale/en.min.js +1 -0
  622. package/locale/en.min.mjs +1 -0
  623. package/locale/en.mjs +69 -0
  624. package/locale/zh-cn.d.ts +66 -0
  625. package/locale/zh-cn.js +77 -0
  626. package/locale/zh-cn.min.js +1 -0
  627. package/locale/zh-cn.min.mjs +1 -0
  628. package/locale/zh-cn.mjs +69 -0
  629. package/package.json +103 -0
  630. package/theme-chalk/index.css +1 -0
  631. package/theme-chalk/plus-breadcrumb.css +1 -0
  632. package/theme-chalk/plus-check-card-group.css +1 -0
  633. package/theme-chalk/plus-check-card.css +1 -0
  634. package/theme-chalk/plus-date-picker.css +1 -0
  635. package/theme-chalk/plus-descriptions.css +1 -0
  636. package/theme-chalk/plus-dialog-form.css +0 -0
  637. package/theme-chalk/plus-dialog.css +1 -0
  638. package/theme-chalk/plus-display-item.css +1 -0
  639. package/theme-chalk/plus-drawer-form.css +0 -0
  640. package/theme-chalk/plus-form-item.css +1 -0
  641. package/theme-chalk/plus-form.css +1 -0
  642. package/theme-chalk/plus-header.css +1 -0
  643. package/theme-chalk/plus-input-tag.css +1 -0
  644. package/theme-chalk/plus-layout.css +1 -0
  645. package/theme-chalk/plus-page.css +1 -0
  646. package/theme-chalk/plus-pagination.css +1 -0
  647. package/theme-chalk/plus-popover.css +0 -0
  648. package/theme-chalk/plus-radio.css +0 -0
  649. package/theme-chalk/plus-search.css +1 -0
  650. package/theme-chalk/plus-sidebar.css +1 -0
  651. package/theme-chalk/plus-steps-form.css +1 -0
  652. package/theme-chalk/plus-table.css +1 -0
  653. package/theme-chalk/src/breadcrumb.scss +5 -0
  654. package/theme-chalk/src/check-card-group.scss +12 -0
  655. package/theme-chalk/src/check-card.scss +81 -0
  656. package/theme-chalk/src/date-picker.scss +75 -0
  657. package/theme-chalk/src/descriptions.scss +11 -0
  658. package/theme-chalk/src/dialog-form.scss +1 -0
  659. package/theme-chalk/src/dialog.scss +8 -0
  660. package/theme-chalk/src/display-item.scss +70 -0
  661. package/theme-chalk/src/drawer-form.scss +0 -0
  662. package/theme-chalk/src/form-item.scss +23 -0
  663. package/theme-chalk/src/form.scss +36 -0
  664. package/theme-chalk/src/header.scss +61 -0
  665. package/theme-chalk/src/index.scss +22 -0
  666. package/theme-chalk/src/input-tag.scss +74 -0
  667. package/theme-chalk/src/layout.scss +24 -0
  668. package/theme-chalk/src/mixins/config.scss +8 -0
  669. package/theme-chalk/src/mixins/function.scss +73 -0
  670. package/theme-chalk/src/mixins/mixins.scss +79 -0
  671. package/theme-chalk/src/page.scss +7 -0
  672. package/theme-chalk/src/pagination.scss +8 -0
  673. package/theme-chalk/src/popover.scss +1 -0
  674. package/theme-chalk/src/radio.scss +1 -0
  675. package/theme-chalk/src/search.scss +28 -0
  676. package/theme-chalk/src/sidebar.scss +79 -0
  677. package/theme-chalk/src/steps-form.scss +18 -0
  678. package/theme-chalk/src/table.scss +145 -0
  679. package/theme-chalk/src/var/index.scss +4 -0
@@ -0,0 +1,955 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const vue = require('vue');
6
+ const index = require('../../utils/index.js');
7
+ const iconsVue = require('@element-plus/icons-vue');
8
+ require('../../../hooks/index.js');
9
+ const index$4 = require('../../radio/index.js');
10
+ const index$2 = require('../../date-picker/index.js');
11
+ const index$3 = require('../../input-tag/index.js');
12
+ const index$1 = require('../../render/index.js');
13
+ const elementPlus = require('element-plus');
14
+ require('../../../constants/index.js');
15
+ const useLocale = require('../../../hooks/useLocale.js');
16
+ const useGetOptions = require('../../../hooks/useGetOptions.js');
17
+ const form = require('../../../constants/form.js');
18
+ const is = require('../../utils/is.js');
19
+
20
+ const _hoisted_1 = { class: "plus-form-item__label" };
21
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
22
+ ...{
23
+ name: "PlusFormItem"
24
+ },
25
+ __name: "index",
26
+ props: {
27
+ modelValue: { type: [String, Number, Boolean, null, Date, Array], default: "" },
28
+ hasLabel: { type: Boolean, default: true },
29
+ label: { default: "" },
30
+ prop: {},
31
+ fieldProps: { default: () => ({}) },
32
+ valueType: { default: void 0 },
33
+ options: { default: () => [] },
34
+ formItemProps: { default: () => ({}) },
35
+ renderField: { type: Function, default: void 0 },
36
+ renderLabel: { type: Function, default: void 0 },
37
+ tooltip: { default: "" },
38
+ fieldSlots: { default: () => ({}) },
39
+ fieldChildrenSlot: { type: Function, default: void 0 },
40
+ index: { default: 0 }
41
+ },
42
+ emits: ["update:modelValue", "change"],
43
+ setup(__props, { expose: __expose, emit: __emit }) {
44
+ const ElFormItem = elementPlus.ElFormItem;
45
+ const ElTooltip = elementPlus.ElTooltip;
46
+ const ElIcon = elementPlus.ElIcon;
47
+ const ElAutocomplete = elementPlus.ElAutocomplete;
48
+ const ElCascader = elementPlus.ElCascader;
49
+ const ElCheckbox = elementPlus.ElCheckbox;
50
+ const ElCheckboxGroup = elementPlus.ElCheckboxGroup;
51
+ const ElColorPicker = elementPlus.ElColorPicker;
52
+ const ElDatePicker = elementPlus.ElDatePicker;
53
+ const ElInputNumber = elementPlus.ElInputNumber;
54
+ const ElRadioGroup = elementPlus.ElRadioGroup;
55
+ const ElRadio = elementPlus.ElRadio;
56
+ const ElRate = elementPlus.ElRate;
57
+ const ElSelect = elementPlus.ElSelect;
58
+ const ElOption = elementPlus.ElOption;
59
+ const ElSlider = elementPlus.ElSlider;
60
+ const ElSwitch = elementPlus.ElSwitch;
61
+ const ElTimePicker = elementPlus.ElTimePicker;
62
+ const ElTimeSelect = elementPlus.ElTimeSelect;
63
+ const ElInput = elementPlus.ElInput;
64
+ const ElText = elementPlus.ElText;
65
+ const props = __props;
66
+ const emit = __emit;
67
+ const { t } = useLocale.useLocale();
68
+ const { customOptions, customOptionsIsReady } = useGetOptions.useGetOptions(props);
69
+ const formItemInstance = vue.ref();
70
+ const fieldInstance = vue.ref();
71
+ const customFormItemProps = vue.ref({});
72
+ const customFieldProps = vue.ref({});
73
+ const state = vue.ref();
74
+ const customFieldPropsIsReady = vue.ref(false);
75
+ const valueIsReady = vue.ref(false);
76
+ const isArrayValue = vue.computed(() => {
77
+ var _a, _b, _c, _d, _e;
78
+ if (props.valueType === "cascader" && ((_b = (_a = customFieldProps.value) == null ? void 0 : _a.props) == null ? void 0 : _b.emitPath) === false) {
79
+ return false;
80
+ }
81
+ if (form.ValueIsArrayList.includes(props.valueType)) {
82
+ return true;
83
+ }
84
+ if (props.valueType === "select" && ((_c = customFieldProps.value) == null ? void 0 : _c.multiple) === true) {
85
+ return true;
86
+ }
87
+ if (props.valueType === "date-picker" && form.DatePickerValueIsArrayList.includes((_d = customFieldProps.value) == null ? void 0 : _d.type)) {
88
+ return true;
89
+ }
90
+ if (props.valueType === "time-picker" && ((_e = customFieldProps.value) == null ? void 0 : _e.isRange) === true) {
91
+ return true;
92
+ }
93
+ return false;
94
+ });
95
+ const isNumberValue = vue.computed(() => {
96
+ if (form.ValueIsNumberList.includes(props.valueType)) {
97
+ return true;
98
+ }
99
+ return false;
100
+ });
101
+ const isBooleanValue = vue.computed(() => {
102
+ if (form.ValueIsBooleanList.includes(props.valueType)) {
103
+ return true;
104
+ }
105
+ return false;
106
+ });
107
+ const setValue = (val) => {
108
+ if (isArrayValue.value) {
109
+ if (is.isArray(val)) {
110
+ const [start, end] = val;
111
+ if (is.isDate(start) || is.isDate(end)) {
112
+ state.value = [String(start), String(end)];
113
+ } else {
114
+ state.value = val;
115
+ }
116
+ } else {
117
+ state.value = [];
118
+ }
119
+ } else if (isNumberValue.value) {
120
+ state.value = Number(val);
121
+ } else if (isBooleanValue.value) {
122
+ state.value = Boolean(val);
123
+ } else if (is.isDate(val)) {
124
+ state.value = String(val);
125
+ } else {
126
+ state.value = val;
127
+ }
128
+ valueIsReady.value = true;
129
+ };
130
+ vue.watch(
131
+ () => props.formItemProps,
132
+ (val) => {
133
+ index.getCustomProps(val, state.value, props, props.index, "formItemProps").then((data) => {
134
+ customFormItemProps.value = data;
135
+ }).catch((err) => {
136
+ throw err;
137
+ });
138
+ },
139
+ {
140
+ immediate: true,
141
+ deep: true
142
+ }
143
+ );
144
+ vue.watch(
145
+ () => props.fieldProps,
146
+ (val) => {
147
+ index.getCustomProps(val, state.value, props, props.index, "fieldProps").then((data) => {
148
+ customFieldProps.value = data;
149
+ customFieldPropsIsReady.value = true;
150
+ }).catch((err) => {
151
+ throw err;
152
+ });
153
+ },
154
+ {
155
+ immediate: true,
156
+ deep: true
157
+ }
158
+ );
159
+ vue.watch(
160
+ vue.computed(() => [props.modelValue, customFieldPropsIsReady.value, customOptionsIsReady.value]),
161
+ ([val, fieldPropsIsReady, optionsIsReady]) => {
162
+ if (fieldPropsIsReady && optionsIsReady) {
163
+ setValue(val);
164
+ }
165
+ },
166
+ {
167
+ immediate: true,
168
+ flush: "post"
169
+ }
170
+ );
171
+ const handleChange = (val) => {
172
+ emit("update:modelValue", val);
173
+ emit("change", val);
174
+ };
175
+ const handleSelect = ({ value }) => {
176
+ handleChange(value);
177
+ };
178
+ __expose({
179
+ formItemInstance,
180
+ fieldInstance
181
+ });
182
+ return (_ctx, _cache) => {
183
+ return valueIsReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(ElFormItem), vue.mergeProps({
184
+ key: 0,
185
+ ref_key: "formItemInstance",
186
+ ref: formItemInstance,
187
+ label: _ctx.hasLabel ? _ctx.label : "",
188
+ prop: _ctx.prop,
189
+ class: "plus-form-item"
190
+ }, customFormItemProps.value), vue.createSlots({
191
+ default: vue.withCtx(() => [
192
+ _ctx.renderField && vue.unref(is.isFunction)(_ctx.renderField) ? (vue.openBlock(), vue.createElementBlock(
193
+ vue.Fragment,
194
+ { key: 0 },
195
+ [
196
+ valueIsReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.PlusRender), {
197
+ key: 0,
198
+ render: _ctx.renderField,
199
+ params: props,
200
+ "callback-value": state.value,
201
+ "custom-field-props": customFieldProps.value,
202
+ "render-type": "form",
203
+ "handle-change": handleChange
204
+ }, null, 8, ["render", "callback-value", "custom-field-props"])) : vue.createCommentVNode("v-if", true)
205
+ ],
206
+ 64
207
+ /* STABLE_FRAGMENT */
208
+ )) : _ctx.$slots[vue.unref(index.getFieldSlotName)(_ctx.prop)] ? vue.renderSlot(_ctx.$slots, vue.unref(index.getFieldSlotName)(_ctx.prop), {
209
+ key: 1,
210
+ prop: _ctx.prop,
211
+ label: _ctx.label,
212
+ fieldProps: customFieldProps.value,
213
+ valueType: _ctx.valueType,
214
+ column: props
215
+ }) : _ctx.valueType === "autocomplete" ? (vue.openBlock(), vue.createBlock(vue.unref(ElAutocomplete), vue.mergeProps({
216
+ key: 2,
217
+ ref_key: "fieldInstance",
218
+ ref: fieldInstance,
219
+ modelValue: state.value,
220
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.value = $event),
221
+ placeholder: vue.unref(t)("plus.field.pleaseEnter") + _ctx.label,
222
+ class: "plus-form-item-field",
223
+ clearable: ""
224
+ }, customFieldProps.value, {
225
+ "onUpdate:modelValue": handleChange,
226
+ onSelect: handleSelect
227
+ }), vue.createSlots({
228
+ _: 2
229
+ /* DYNAMIC */
230
+ }, [
231
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
232
+ return {
233
+ name: key,
234
+ fn: vue.withCtx((data) => [
235
+ (vue.openBlock(), vue.createBlock(
236
+ vue.resolveDynamicComponent(fieldSlot),
237
+ vue.normalizeProps(vue.guardReactiveProps(data)),
238
+ null,
239
+ 16
240
+ /* FULL_PROPS */
241
+ ))
242
+ ])
243
+ };
244
+ })
245
+ ]), 1040, ["modelValue", "placeholder"])) : _ctx.valueType === "cascader" ? (vue.openBlock(), vue.createBlock(vue.unref(ElCascader), vue.mergeProps({
246
+ key: 3,
247
+ ref_key: "fieldInstance",
248
+ ref: fieldInstance,
249
+ modelValue: state.value,
250
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.value = $event),
251
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
252
+ class: "plus-form-item-field",
253
+ options: vue.unref(customOptions),
254
+ clearable: ""
255
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
256
+ _: 2
257
+ /* DYNAMIC */
258
+ }, [
259
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
260
+ return {
261
+ name: key,
262
+ fn: vue.withCtx((data) => [
263
+ (vue.openBlock(), vue.createBlock(
264
+ vue.resolveDynamicComponent(fieldSlot),
265
+ vue.normalizeProps(vue.guardReactiveProps(data)),
266
+ null,
267
+ 16
268
+ /* FULL_PROPS */
269
+ ))
270
+ ])
271
+ };
272
+ })
273
+ ]), 1040, ["modelValue", "placeholder", "options"])) : _ctx.valueType === "checkbox" ? (vue.openBlock(), vue.createBlock(vue.unref(ElCheckboxGroup), vue.mergeProps({
274
+ key: 4,
275
+ ref_key: "fieldInstance",
276
+ ref: fieldInstance,
277
+ modelValue: state.value,
278
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => state.value = $event),
279
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
280
+ class: "plus-form-item-field"
281
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
282
+ default: vue.withCtx(() => [
283
+ vue.unref(index.versionIsLessThan260) ? (vue.openBlock(true), vue.createElementBlock(
284
+ vue.Fragment,
285
+ { key: 0 },
286
+ vue.renderList(vue.unref(customOptions), (item) => {
287
+ return vue.openBlock(), vue.createBlock(vue.unref(ElCheckbox), vue.mergeProps({
288
+ key: item.label,
289
+ label: item.value
290
+ }, { ref_for: true }, item.fieldItemProps), {
291
+ default: vue.withCtx(() => [
292
+ vue.unref(is.isFunction)(item.fieldSlot) ? (vue.openBlock(), vue.createBlock(
293
+ vue.resolveDynamicComponent(item.fieldSlot),
294
+ vue.mergeProps({
295
+ key: 0,
296
+ ref_for: true
297
+ }, item),
298
+ null,
299
+ 16
300
+ /* FULL_PROPS */
301
+ )) : vue.unref(is.isFunction)(_ctx.fieldChildrenSlot) ? (vue.openBlock(), vue.createBlock(
302
+ vue.resolveDynamicComponent(_ctx.fieldChildrenSlot),
303
+ vue.mergeProps({
304
+ key: 1,
305
+ ref_for: true
306
+ }, item),
307
+ null,
308
+ 16
309
+ /* FULL_PROPS */
310
+ )) : (vue.openBlock(), vue.createElementBlock(
311
+ vue.Fragment,
312
+ { key: 2 },
313
+ [
314
+ vue.createTextVNode(
315
+ vue.toDisplayString(item.label),
316
+ 1
317
+ /* TEXT */
318
+ )
319
+ ],
320
+ 64
321
+ /* STABLE_FRAGMENT */
322
+ ))
323
+ ]),
324
+ _: 2
325
+ /* DYNAMIC */
326
+ }, 1040, ["label"]);
327
+ }),
328
+ 128
329
+ /* KEYED_FRAGMENT */
330
+ )) : (vue.openBlock(), vue.createElementBlock(
331
+ vue.Fragment,
332
+ { key: 1 },
333
+ [
334
+ vue.createCommentVNode(" element-plus \u7248\u672C\u53F7\u5927\u4E8E\u7B49\u4E8E2.6.0 "),
335
+ (vue.openBlock(true), vue.createElementBlock(
336
+ vue.Fragment,
337
+ null,
338
+ vue.renderList(vue.unref(customOptions), (item) => {
339
+ return vue.openBlock(), vue.createBlock(vue.unref(ElCheckbox), vue.mergeProps({
340
+ key: item.label,
341
+ value: item.value
342
+ }, { ref_for: true }, item.fieldItemProps), {
343
+ default: vue.withCtx(() => [
344
+ vue.unref(is.isFunction)(item.fieldSlot) ? (vue.openBlock(), vue.createBlock(
345
+ vue.resolveDynamicComponent(item.fieldSlot),
346
+ vue.mergeProps({
347
+ key: 0,
348
+ ref_for: true
349
+ }, item),
350
+ null,
351
+ 16
352
+ /* FULL_PROPS */
353
+ )) : vue.unref(is.isFunction)(_ctx.fieldChildrenSlot) ? (vue.openBlock(), vue.createBlock(
354
+ vue.resolveDynamicComponent(_ctx.fieldChildrenSlot),
355
+ vue.mergeProps({
356
+ key: 1,
357
+ ref_for: true
358
+ }, item),
359
+ null,
360
+ 16
361
+ /* FULL_PROPS */
362
+ )) : (vue.openBlock(), vue.createElementBlock(
363
+ vue.Fragment,
364
+ { key: 2 },
365
+ [
366
+ vue.createTextVNode(
367
+ vue.toDisplayString(item.label),
368
+ 1
369
+ /* TEXT */
370
+ )
371
+ ],
372
+ 64
373
+ /* STABLE_FRAGMENT */
374
+ ))
375
+ ]),
376
+ _: 2
377
+ /* DYNAMIC */
378
+ }, 1040, ["value"]);
379
+ }),
380
+ 128
381
+ /* KEYED_FRAGMENT */
382
+ ))
383
+ ],
384
+ 64
385
+ /* STABLE_FRAGMENT */
386
+ ))
387
+ ]),
388
+ _: 2
389
+ /* DYNAMIC */
390
+ }, [
391
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
392
+ return {
393
+ name: key,
394
+ fn: vue.withCtx((data) => [
395
+ (vue.openBlock(), vue.createBlock(
396
+ vue.resolveDynamicComponent(fieldSlot),
397
+ vue.normalizeProps(vue.guardReactiveProps(data)),
398
+ null,
399
+ 16
400
+ /* FULL_PROPS */
401
+ ))
402
+ ])
403
+ };
404
+ })
405
+ ]), 1040, ["modelValue", "placeholder"])) : _ctx.valueType === "color-picker" ? (vue.openBlock(), vue.createBlock(vue.unref(ElColorPicker), vue.mergeProps({
406
+ key: 5,
407
+ ref_key: "fieldInstance",
408
+ ref: fieldInstance,
409
+ modelValue: state.value,
410
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => state.value = $event),
411
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
412
+ class: "plus-form-item-field"
413
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue", "placeholder"])) : _ctx.valueType === "date-picker" ? (vue.openBlock(), vue.createBlock(vue.unref(ElDatePicker), vue.mergeProps({
414
+ key: 6,
415
+ ref_key: "fieldInstance",
416
+ ref: fieldInstance,
417
+ modelValue: state.value,
418
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => state.value = $event),
419
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
420
+ "start-placeholder": vue.unref(t)("plus.datepicker.startPlaceholder"),
421
+ "end-placeholder": vue.unref(t)("plus.datepicker.endPlaceholder"),
422
+ class: "plus-form-item-field",
423
+ type: "datetime",
424
+ clearable: ""
425
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
426
+ _: 2
427
+ /* DYNAMIC */
428
+ }, [
429
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
430
+ return {
431
+ name: key,
432
+ fn: vue.withCtx((data) => [
433
+ (vue.openBlock(), vue.createBlock(
434
+ vue.resolveDynamicComponent(fieldSlot),
435
+ vue.normalizeProps(vue.guardReactiveProps(data)),
436
+ null,
437
+ 16
438
+ /* FULL_PROPS */
439
+ ))
440
+ ])
441
+ };
442
+ })
443
+ ]), 1040, ["modelValue", "placeholder", "start-placeholder", "end-placeholder"])) : _ctx.valueType === "plus-date-picker" ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.PlusDatePicker), vue.mergeProps({
444
+ key: 7,
445
+ ref_key: "fieldInstance",
446
+ ref: fieldInstance,
447
+ modelValue: state.value,
448
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => state.value = $event),
449
+ class: "plus-form-item-field"
450
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue"])) : _ctx.valueType === "input-number" ? (vue.openBlock(), vue.createBlock(vue.unref(ElInputNumber), vue.mergeProps({
451
+ key: 8,
452
+ ref_key: "fieldInstance",
453
+ ref: fieldInstance,
454
+ modelValue: state.value,
455
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => state.value = $event),
456
+ class: "plus-form-item-field",
457
+ placeholder: vue.unref(t)("plus.field.pleaseEnter") + _ctx.label,
458
+ autocomplete: "off"
459
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue", "placeholder"])) : _ctx.valueType === "plus-input-tag" ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.PlusInputTag), vue.mergeProps({
460
+ key: 9,
461
+ ref_key: "fieldInstance",
462
+ ref: fieldInstance,
463
+ modelValue: state.value,
464
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => state.value = $event),
465
+ class: "plus-form-item-field"
466
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue"])) : _ctx.valueType === "radio" ? (vue.openBlock(), vue.createBlock(vue.unref(ElRadioGroup), vue.mergeProps({
467
+ key: 10,
468
+ ref_key: "fieldInstance",
469
+ ref: fieldInstance,
470
+ modelValue: state.value,
471
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => state.value = $event),
472
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
473
+ class: "plus-form-item-field",
474
+ clearable: ""
475
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
476
+ default: vue.withCtx(() => [
477
+ vue.unref(index.versionIsLessThan260) ? (vue.openBlock(true), vue.createElementBlock(
478
+ vue.Fragment,
479
+ { key: 0 },
480
+ vue.renderList(vue.unref(customOptions), (item) => {
481
+ return vue.openBlock(), vue.createBlock(vue.unref(ElRadio), vue.mergeProps({
482
+ key: item.label,
483
+ label: item.value
484
+ }, { ref_for: true }, item.fieldItemProps), {
485
+ default: vue.withCtx(() => [
486
+ vue.unref(is.isFunction)(item.fieldSlot) ? (vue.openBlock(), vue.createBlock(
487
+ vue.resolveDynamicComponent(item.fieldSlot),
488
+ vue.mergeProps({
489
+ key: 0,
490
+ ref_for: true
491
+ }, item),
492
+ null,
493
+ 16
494
+ /* FULL_PROPS */
495
+ )) : vue.unref(is.isFunction)(_ctx.fieldChildrenSlot) ? (vue.openBlock(), vue.createBlock(
496
+ vue.resolveDynamicComponent(_ctx.fieldChildrenSlot),
497
+ vue.mergeProps({
498
+ key: 1,
499
+ ref_for: true
500
+ }, item),
501
+ null,
502
+ 16
503
+ /* FULL_PROPS */
504
+ )) : (vue.openBlock(), vue.createElementBlock(
505
+ vue.Fragment,
506
+ { key: 2 },
507
+ [
508
+ vue.createTextVNode(
509
+ vue.toDisplayString(item.label),
510
+ 1
511
+ /* TEXT */
512
+ )
513
+ ],
514
+ 64
515
+ /* STABLE_FRAGMENT */
516
+ ))
517
+ ]),
518
+ _: 2
519
+ /* DYNAMIC */
520
+ }, 1040, ["label"]);
521
+ }),
522
+ 128
523
+ /* KEYED_FRAGMENT */
524
+ )) : (vue.openBlock(), vue.createElementBlock(
525
+ vue.Fragment,
526
+ { key: 1 },
527
+ [
528
+ vue.createCommentVNode(" element-plus \u7248\u672C\u53F7\u5927\u4E8E\u7B49\u4E8E2.6.0 "),
529
+ (vue.openBlock(true), vue.createElementBlock(
530
+ vue.Fragment,
531
+ null,
532
+ vue.renderList(vue.unref(customOptions), (item) => {
533
+ return vue.openBlock(), vue.createBlock(vue.unref(ElRadio), vue.mergeProps({
534
+ key: item.label,
535
+ value: item.value
536
+ }, { ref_for: true }, item.fieldItemProps), {
537
+ default: vue.withCtx(() => [
538
+ vue.unref(is.isFunction)(item.fieldSlot) ? (vue.openBlock(), vue.createBlock(
539
+ vue.resolveDynamicComponent(item.fieldSlot),
540
+ vue.mergeProps({
541
+ key: 0,
542
+ ref_for: true
543
+ }, item),
544
+ null,
545
+ 16
546
+ /* FULL_PROPS */
547
+ )) : vue.unref(is.isFunction)(_ctx.fieldChildrenSlot) ? (vue.openBlock(), vue.createBlock(
548
+ vue.resolveDynamicComponent(_ctx.fieldChildrenSlot),
549
+ vue.mergeProps({
550
+ key: 1,
551
+ ref_for: true
552
+ }, item),
553
+ null,
554
+ 16
555
+ /* FULL_PROPS */
556
+ )) : (vue.openBlock(), vue.createElementBlock(
557
+ vue.Fragment,
558
+ { key: 2 },
559
+ [
560
+ vue.createTextVNode(
561
+ vue.toDisplayString(item.label),
562
+ 1
563
+ /* TEXT */
564
+ )
565
+ ],
566
+ 64
567
+ /* STABLE_FRAGMENT */
568
+ ))
569
+ ]),
570
+ _: 2
571
+ /* DYNAMIC */
572
+ }, 1040, ["value"]);
573
+ }),
574
+ 128
575
+ /* KEYED_FRAGMENT */
576
+ ))
577
+ ],
578
+ 64
579
+ /* STABLE_FRAGMENT */
580
+ ))
581
+ ]),
582
+ _: 2
583
+ /* DYNAMIC */
584
+ }, [
585
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
586
+ return {
587
+ name: key,
588
+ fn: vue.withCtx((data) => [
589
+ (vue.openBlock(), vue.createBlock(
590
+ vue.resolveDynamicComponent(fieldSlot),
591
+ vue.normalizeProps(vue.guardReactiveProps(data)),
592
+ null,
593
+ 16
594
+ /* FULL_PROPS */
595
+ ))
596
+ ])
597
+ };
598
+ })
599
+ ]), 1040, ["modelValue", "placeholder"])) : _ctx.valueType === "plus-radio" ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.PlusRadio), vue.mergeProps({
600
+ key: 11,
601
+ ref_key: "fieldInstance",
602
+ ref: fieldInstance,
603
+ modelValue: state.value,
604
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => state.value = $event),
605
+ class: "plus-form-item-field",
606
+ options: vue.unref(customOptions),
607
+ "field-children-slot": _ctx.fieldChildrenSlot,
608
+ "is-cancel": ""
609
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue", "options", "field-children-slot"])) : _ctx.valueType === "rate" ? (vue.openBlock(), vue.createBlock(vue.unref(ElRate), vue.mergeProps({
610
+ key: 12,
611
+ ref_key: "fieldInstance",
612
+ ref: fieldInstance,
613
+ modelValue: state.value,
614
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => state.value = $event),
615
+ class: "plus-form-item-field"
616
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue"])) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), vue.mergeProps({
617
+ key: 13,
618
+ ref_key: "fieldInstance",
619
+ ref: fieldInstance,
620
+ modelValue: state.value,
621
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => state.value = $event),
622
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
623
+ class: "plus-form-item-field",
624
+ clearable: ""
625
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
626
+ default: vue.withCtx(() => [
627
+ (vue.openBlock(true), vue.createElementBlock(
628
+ vue.Fragment,
629
+ null,
630
+ vue.renderList(vue.unref(customOptions), (item) => {
631
+ return vue.openBlock(), vue.createBlock(vue.unref(ElOption), vue.mergeProps({
632
+ key: item.label,
633
+ label: item.label,
634
+ value: item.value
635
+ }, { ref_for: true }, item.fieldItemProps), {
636
+ default: vue.withCtx(() => [
637
+ vue.unref(is.isFunction)(item.fieldSlot) ? (vue.openBlock(), vue.createBlock(
638
+ vue.resolveDynamicComponent(item.fieldSlot),
639
+ vue.mergeProps({
640
+ key: 0,
641
+ ref_for: true
642
+ }, item),
643
+ null,
644
+ 16
645
+ /* FULL_PROPS */
646
+ )) : vue.unref(is.isFunction)(_ctx.fieldChildrenSlot) ? (vue.openBlock(), vue.createBlock(
647
+ vue.resolveDynamicComponent(_ctx.fieldChildrenSlot),
648
+ vue.mergeProps({
649
+ key: 1,
650
+ ref_for: true
651
+ }, item),
652
+ null,
653
+ 16
654
+ /* FULL_PROPS */
655
+ )) : (vue.openBlock(), vue.createElementBlock(
656
+ vue.Fragment,
657
+ { key: 2 },
658
+ [
659
+ vue.createTextVNode(
660
+ vue.toDisplayString(item.label),
661
+ 1
662
+ /* TEXT */
663
+ )
664
+ ],
665
+ 64
666
+ /* STABLE_FRAGMENT */
667
+ ))
668
+ ]),
669
+ _: 2
670
+ /* DYNAMIC */
671
+ }, 1040, ["label", "value"]);
672
+ }),
673
+ 128
674
+ /* KEYED_FRAGMENT */
675
+ ))
676
+ ]),
677
+ _: 2
678
+ /* DYNAMIC */
679
+ }, [
680
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
681
+ return {
682
+ name: key,
683
+ fn: vue.withCtx((data) => [
684
+ (vue.openBlock(), vue.createBlock(
685
+ vue.resolveDynamicComponent(fieldSlot),
686
+ vue.normalizeProps(vue.guardReactiveProps(data)),
687
+ null,
688
+ 16
689
+ /* FULL_PROPS */
690
+ ))
691
+ ])
692
+ };
693
+ })
694
+ ]), 1040, ["modelValue", "placeholder"])) : _ctx.valueType === "select" ? (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), vue.mergeProps({
695
+ key: 14,
696
+ ref_key: "fieldInstance",
697
+ ref: fieldInstance,
698
+ modelValue: state.value,
699
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => state.value = $event),
700
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
701
+ class: "plus-form-item-field",
702
+ clearable: ""
703
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
704
+ default: vue.withCtx(() => [
705
+ (vue.openBlock(true), vue.createElementBlock(
706
+ vue.Fragment,
707
+ null,
708
+ vue.renderList(vue.unref(customOptions), (item) => {
709
+ return vue.openBlock(), vue.createBlock(vue.unref(ElOption), vue.mergeProps({
710
+ key: item.label,
711
+ label: item.label,
712
+ value: item.value
713
+ }, { ref_for: true }, item.fieldItemProps), {
714
+ default: vue.withCtx(() => [
715
+ vue.unref(is.isFunction)(item.fieldSlot) ? (vue.openBlock(), vue.createBlock(
716
+ vue.resolveDynamicComponent(item.fieldSlot),
717
+ vue.mergeProps({
718
+ key: 0,
719
+ ref_for: true
720
+ }, item),
721
+ null,
722
+ 16
723
+ /* FULL_PROPS */
724
+ )) : vue.unref(is.isFunction)(_ctx.fieldChildrenSlot) ? (vue.openBlock(), vue.createBlock(
725
+ vue.resolveDynamicComponent(_ctx.fieldChildrenSlot),
726
+ vue.mergeProps({
727
+ key: 1,
728
+ ref_for: true
729
+ }, item),
730
+ null,
731
+ 16
732
+ /* FULL_PROPS */
733
+ )) : (vue.openBlock(), vue.createElementBlock(
734
+ vue.Fragment,
735
+ { key: 2 },
736
+ [
737
+ vue.createTextVNode(
738
+ vue.toDisplayString(item.label),
739
+ 1
740
+ /* TEXT */
741
+ )
742
+ ],
743
+ 64
744
+ /* STABLE_FRAGMENT */
745
+ ))
746
+ ]),
747
+ _: 2
748
+ /* DYNAMIC */
749
+ }, 1040, ["label", "value"]);
750
+ }),
751
+ 128
752
+ /* KEYED_FRAGMENT */
753
+ ))
754
+ ]),
755
+ _: 2
756
+ /* DYNAMIC */
757
+ }, [
758
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
759
+ return {
760
+ name: key,
761
+ fn: vue.withCtx((data) => [
762
+ (vue.openBlock(), vue.createBlock(
763
+ vue.resolveDynamicComponent(fieldSlot),
764
+ vue.normalizeProps(vue.guardReactiveProps(data)),
765
+ null,
766
+ 16
767
+ /* FULL_PROPS */
768
+ ))
769
+ ])
770
+ };
771
+ })
772
+ ]), 1040, ["modelValue", "placeholder"])) : _ctx.valueType === "slider" ? (vue.openBlock(), vue.createBlock(vue.unref(ElSlider), vue.mergeProps({
773
+ key: 15,
774
+ ref_key: "fieldInstance",
775
+ ref: fieldInstance,
776
+ modelValue: state.value,
777
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => state.value = $event),
778
+ class: "plus-form-item-field"
779
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue"])) : _ctx.valueType === "switch" ? (vue.openBlock(), vue.createBlock(vue.unref(ElSwitch), vue.mergeProps({
780
+ key: 16,
781
+ ref_key: "fieldInstance",
782
+ ref: fieldInstance,
783
+ modelValue: state.value,
784
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => state.value = $event),
785
+ class: "plus-form-item-field"
786
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
787
+ _: 2
788
+ /* DYNAMIC */
789
+ }, [
790
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
791
+ return {
792
+ name: key,
793
+ fn: vue.withCtx((data) => [
794
+ (vue.openBlock(), vue.createBlock(
795
+ vue.resolveDynamicComponent(fieldSlot),
796
+ vue.normalizeProps(vue.guardReactiveProps(data)),
797
+ null,
798
+ 16
799
+ /* FULL_PROPS */
800
+ ))
801
+ ])
802
+ };
803
+ })
804
+ ]), 1040, ["modelValue"])) : _ctx.valueType === "time-picker" ? (vue.openBlock(), vue.createBlock(vue.unref(ElTimePicker), vue.mergeProps({
805
+ key: 17,
806
+ ref_key: "fieldInstance",
807
+ ref: fieldInstance,
808
+ modelValue: state.value,
809
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => state.value = $event),
810
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
811
+ class: "plus-form-item-field",
812
+ clearable: "",
813
+ "value-format": "YYYY-MM-DD HH:mm:ss"
814
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue", "placeholder"])) : _ctx.valueType === "time-select" ? (vue.openBlock(), vue.createBlock(vue.unref(ElTimeSelect), vue.mergeProps({
815
+ key: 18,
816
+ ref_key: "fieldInstance",
817
+ ref: fieldInstance,
818
+ modelValue: state.value,
819
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => state.value = $event),
820
+ class: "plus-form-item-field",
821
+ placeholder: vue.unref(t)("plus.field.pleaseSelect") + _ctx.label,
822
+ clearable: ""
823
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue", "placeholder"])) : _ctx.valueType === "textarea" ? (vue.openBlock(), vue.createBlock(vue.unref(ElInput), vue.mergeProps({
824
+ key: 19,
825
+ ref_key: "fieldInstance",
826
+ ref: fieldInstance,
827
+ modelValue: state.value,
828
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => state.value = $event),
829
+ type: "textarea",
830
+ class: "plus-form-item-field",
831
+ placeholder: vue.unref(t)("plus.field.pleaseEnter") + _ctx.label,
832
+ autocomplete: "off"
833
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), null, 16, ["modelValue", "placeholder"])) : _ctx.valueType === "text" ? (vue.openBlock(), vue.createBlock(
834
+ vue.unref(ElText),
835
+ vue.mergeProps({
836
+ key: 20,
837
+ ref_key: "fieldInstance",
838
+ ref: fieldInstance,
839
+ class: "plus-form-item-field"
840
+ }, customFieldProps.value),
841
+ {
842
+ default: vue.withCtx(() => [
843
+ vue.createTextVNode(
844
+ vue.toDisplayString(state.value),
845
+ 1
846
+ /* TEXT */
847
+ )
848
+ ]),
849
+ _: 1
850
+ /* STABLE */
851
+ },
852
+ 16
853
+ /* FULL_PROPS */
854
+ )) : (vue.openBlock(), vue.createBlock(vue.unref(ElInput), vue.mergeProps({
855
+ key: 21,
856
+ ref_key: "fieldInstance",
857
+ ref: fieldInstance,
858
+ modelValue: state.value,
859
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => state.value = $event),
860
+ class: "plus-form-item-field",
861
+ placeholder: vue.unref(t)("plus.field.pleaseEnter") + _ctx.label,
862
+ autocomplete: "off",
863
+ clearable: ""
864
+ }, customFieldProps.value, { "onUpdate:modelValue": handleChange }), vue.createSlots({
865
+ _: 2
866
+ /* DYNAMIC */
867
+ }, [
868
+ vue.renderList(_ctx.fieldSlots, (fieldSlot, key) => {
869
+ return {
870
+ name: key,
871
+ fn: vue.withCtx((data) => [
872
+ (vue.openBlock(), vue.createBlock(
873
+ vue.resolveDynamicComponent(fieldSlot),
874
+ vue.normalizeProps(vue.guardReactiveProps(data)),
875
+ null,
876
+ 16
877
+ /* FULL_PROPS */
878
+ ))
879
+ ])
880
+ };
881
+ })
882
+ ]), 1040, ["modelValue", "placeholder"]))
883
+ ]),
884
+ _: 2
885
+ /* DYNAMIC */
886
+ }, [
887
+ _ctx.hasLabel ? {
888
+ name: "label",
889
+ fn: vue.withCtx(({ label: currentLabel }) => [
890
+ vue.createElementVNode("span", _hoisted_1, [
891
+ _ctx.renderLabel && vue.unref(is.isFunction)(_ctx.renderLabel) ? (vue.openBlock(), vue.createElementBlock(
892
+ vue.Fragment,
893
+ { key: 0 },
894
+ [
895
+ valueIsReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.PlusRender), {
896
+ key: 0,
897
+ render: _ctx.renderLabel,
898
+ params: props,
899
+ "callback-value": currentLabel,
900
+ "custom-field-props": customFieldProps.value
901
+ }, null, 8, ["render", "callback-value", "custom-field-props"])) : vue.createCommentVNode("v-if", true)
902
+ ],
903
+ 64
904
+ /* STABLE_FRAGMENT */
905
+ )) : vue.renderSlot(_ctx.$slots, vue.unref(index.getLabelSlotName)(_ctx.prop), {
906
+ key: 1,
907
+ prop: _ctx.prop,
908
+ label: _ctx.label,
909
+ fieldProps: customFieldProps.value,
910
+ valueType: _ctx.valueType,
911
+ column: props
912
+ }, () => [
913
+ vue.createTextVNode(
914
+ vue.toDisplayString(currentLabel),
915
+ 1
916
+ /* TEXT */
917
+ )
918
+ ]),
919
+ _ctx.tooltip ? (vue.openBlock(), vue.createBlock(
920
+ vue.unref(ElTooltip),
921
+ vue.mergeProps({
922
+ key: 2,
923
+ placement: "top"
924
+ }, vue.unref(index.getTooltip)(_ctx.tooltip)),
925
+ {
926
+ default: vue.withCtx(() => [
927
+ vue.renderSlot(_ctx.$slots, "tooltip-icon", {}, () => [
928
+ vue.createVNode(vue.unref(ElIcon), {
929
+ class: "plus-table-column__label__icon",
930
+ size: 16
931
+ }, {
932
+ default: vue.withCtx(() => [
933
+ vue.createVNode(vue.unref(iconsVue.QuestionFilled))
934
+ ]),
935
+ _: 1
936
+ /* STABLE */
937
+ })
938
+ ])
939
+ ]),
940
+ _: 3
941
+ /* FORWARDED */
942
+ },
943
+ 16
944
+ /* FULL_PROPS */
945
+ )) : vue.createCommentVNode("v-if", true)
946
+ ])
947
+ ]),
948
+ key: "0"
949
+ } : void 0
950
+ ]), 1040, ["label", "prop"])) : vue.createCommentVNode("v-if", true);
951
+ };
952
+ }
953
+ });
954
+
955
+ exports.default = _sfc_main;