epic-designer-gold 0.0.4 → 0.0.5

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 (818) hide show
  1. package/README.md +6 -3
  2. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  3. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
  4. package/dist/_dayjs_commonjs-external-D9ZbEWhj.js +6 -0
  5. package/dist/_dayjs_commonjs-external-DWlrxCld.cjs +1 -0
  6. package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
  7. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  8. package/dist/_vue_commonjs-external-BbihI59z.cjs +1 -0
  9. package/dist/_vue_commonjs-external-NwvjgbHK.js +6 -0
  10. package/dist/attributeView-BBUcYXCm.cjs +1 -0
  11. package/dist/attributeView-Bv_SPKKn.js +105 -0
  12. package/dist/axios-CXDYiOMX.js +1704 -0
  13. package/dist/axios-tuVKNgv9.cjs +6 -0
  14. package/dist/az-C4lqmLYp.js +22 -0
  15. package/dist/az-CJXcaytS.cjs +1 -0
  16. package/dist/be--_CkdeMD.cjs +1 -0
  17. package/dist/be-DJzFjqtL.js +22 -0
  18. package/dist/bg-BOlG8Um1.js +25 -0
  19. package/dist/bg-DCT06eJE.cjs +1 -0
  20. package/dist/bn-bd-B1E6-oJQ.js +33 -0
  21. package/dist/bn-bd-DaKs5QkR.cjs +1 -0
  22. package/dist/button-BKT6NVeB.cjs +1 -0
  23. package/dist/button-BbHi0DmU.js +31 -0
  24. package/dist/button-Bj-ntCA2.js +27 -0
  25. package/dist/button-BvmCwtR3.js +27 -0
  26. package/dist/button-C48gWpMn.cjs +1 -0
  27. package/dist/button-Cc4KYk3v.cjs +1 -0
  28. package/dist/ca-BTQUSb29.cjs +1 -0
  29. package/dist/ca-DCcDFeSK.js +22 -0
  30. package/dist/card-BOMT_SwB.cjs +1 -0
  31. package/dist/card-BQ_K3Q8i.js +33 -0
  32. package/dist/card-BowzD9vN.cjs +1 -0
  33. package/dist/card-CNGNDzPp.js +31 -0
  34. package/dist/card-Cdove1KC.js +32 -0
  35. package/dist/card-hriyYYMn.cjs +1 -0
  36. package/dist/checkbox-CMr5pERY.cjs +1 -0
  37. package/dist/checkbox-D8eqzQDX.cjs +1 -0
  38. package/dist/checkbox-Dp36upb2.js +30 -0
  39. package/dist/checkbox-LVKgMSjI.js +28 -0
  40. package/dist/col-0rmM8on4.js +33 -0
  41. package/dist/col-B1GUMkMK.cjs +1 -0
  42. package/dist/col-B4lx76O5.cjs +1 -0
  43. package/dist/col-C_cbW1SI.js +33 -0
  44. package/dist/col-DXjfnmpf.cjs +1 -0
  45. package/dist/col-LQvh8U5y.js +30 -0
  46. package/dist/collapse-B2AXU6Jz.cjs +1 -0
  47. package/dist/collapse-BSFa_xwh.cjs +1 -0
  48. package/dist/collapse-CxLG5oyO.js +32 -0
  49. package/dist/collapse-I4H1VTFf.js +35 -0
  50. package/dist/collapseItem-CAGqWjGg.cjs +1 -0
  51. package/dist/collapseItem-CW_HTWvE.js +33 -0
  52. package/dist/collapseItem-DmnJXvsZ.js +30 -0
  53. package/dist/collapseItem-FF5A59WT.cjs +1 -0
  54. package/dist/core/components/asyncLoader/index.vue.d.ts +2 -0
  55. package/dist/core/components/builder/hooks/useBuilder.d.ts +29 -0
  56. package/dist/core/components/builder/index.d.ts +2 -0
  57. package/dist/core/components/builder/src/builder.vue.d.ts +41 -0
  58. package/dist/core/components/builder/src/types.d.ts +4 -0
  59. package/dist/core/components/designer/index.d.ts +2 -0
  60. package/dist/core/components/designer/src/designer.vue.d.ts +98 -0
  61. package/dist/core/components/designer/src/modules/actionBar/index.vue.d.ts +2 -0
  62. package/dist/core/components/designer/src/modules/attributeView/attributeView.vue.d.ts +2 -0
  63. package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
  64. package/dist/core/components/designer/src/modules/attributeView/styleView.vue.d.ts +2 -0
  65. package/dist/core/components/designer/src/modules/componentView/index.vue.d.ts +2 -0
  66. package/dist/core/components/designer/src/modules/editContainer/editNodeItem.vue.d.ts +11 -0
  67. package/dist/core/components/designer/src/modules/editContainer/editScreenContainer.vue.d.ts +20 -0
  68. package/dist/core/components/designer/src/modules/editContainer/index.vue.d.ts +2 -0
  69. package/dist/core/components/designer/src/modules/editContainer/nodeItem.vue.d.ts +9 -0
  70. package/dist/core/components/designer/src/modules/editContainer/previewJson.vue.d.ts +5 -0
  71. package/dist/core/components/designer/src/modules/editContainer/previewWidgets.vue.d.ts +5 -0
  72. package/dist/core/components/designer/src/modules/editContainer/toolbar.vue.d.ts +2 -0
  73. package/dist/core/components/designer/src/modules/header/index.vue.d.ts +28 -0
  74. package/dist/core/components/designer/src/modules/outline/outline.vue.d.ts +2 -0
  75. package/dist/core/components/designer/src/modules/preview/index.vue.d.ts +5 -0
  76. package/dist/core/components/designer/src/modules/rightSidebar/breadcrumb.vue.d.ts +2 -0
  77. package/dist/core/components/designer/src/modules/rightSidebar/index.vue.d.ts +2 -0
  78. package/dist/core/components/designer/src/modules/sourceCode/index.vue.d.ts +2 -0
  79. package/dist/core/components/designer/src/types.d.ts +46 -0
  80. package/dist/core/components/icon/index.d.ts +2 -0
  81. package/dist/core/components/icon/src/icon.vue.d.ts +10 -0
  82. package/dist/core/components/node/index.d.ts +2 -0
  83. package/dist/core/components/node/src/dynamicFormItem.vue.d.ts +30 -0
  84. package/dist/core/components/node/src/node.vue.d.ts +48 -0
  85. package/dist/core/components/tree/index.d.ts +2 -0
  86. package/dist/core/components/tree/src/tree.vue.d.ts +49 -0
  87. package/dist/core/components/tree/src/treeNodeItem.vue.d.ts +7 -0
  88. package/dist/core/components/tree/src/treeNodes.vue.d.ts +13 -0
  89. package/dist/core/extensions/EActionEditor/index.vue.d.ts +25 -0
  90. package/dist/core/extensions/EActionEditor/src/EActionEditorItem.vue.d.ts +50 -0
  91. package/dist/core/extensions/EActionEditor/src/EActionModal.vue.d.ts +13 -0
  92. package/dist/core/extensions/EActionEditor/src/EArgsEditor.vue.d.ts +13 -0
  93. package/dist/core/extensions/EActionEditor/src/EScriptEdit.vue.d.ts +2 -0
  94. package/dist/core/extensions/EColEditor/index.vue.d.ts +20 -0
  95. package/dist/core/extensions/EDataSource/index.vue.d.ts +8 -0
  96. package/dist/core/extensions/EInputSize/index.vue.d.ts +10 -0
  97. package/dist/core/extensions/EOptionsEditor/index.vue.d.ts +23 -0
  98. package/dist/core/extensions/EOptionsEditor/optionItem.vue.d.ts +15 -0
  99. package/dist/core/extensions/ERuleEditor/ERuleItem.vue.d.ts +15 -0
  100. package/dist/core/extensions/ERuleEditor/data.d.ts +9 -0
  101. package/dist/core/extensions/ERuleEditor/index.vue.d.ts +29 -0
  102. package/dist/core/extensions/ERuleEditor/types.d.ts +17 -0
  103. package/dist/core/extensions/MonacoEditor/index.d.ts +3 -0
  104. package/dist/core/extensions/MonacoEditor/index.vue.d.ts +45 -0
  105. package/dist/core/extensions/Page/index.d.ts +3 -0
  106. package/dist/core/extensions/Page/index.vue.d.ts +24 -0
  107. package/dist/core/extensions/index.d.ts +2 -0
  108. package/dist/core/index.d.ts +6 -0
  109. package/dist/core/types/epic-designer.d.ts +55 -0
  110. package/dist/cs-CisRL5gQ.js +53 -0
  111. package/dist/cs-D_hyDJBU.cjs +1 -0
  112. package/dist/da-DHmiHyZA.cjs +1 -0
  113. package/dist/da-DhyERRsC.js +22 -0
  114. package/dist/datePicker-2Df6yfYg.js +40 -0
  115. package/dist/datePicker-DCH40VJR.cjs +1 -0
  116. package/dist/de-2hHpT7Ze.cjs +1 -0
  117. package/dist/de-CjumkRE8.js +27 -0
  118. package/dist/el-BCec0wpC.cjs +1 -0
  119. package/dist/el-DyUHskgW.js +22 -0
  120. package/dist/en-C1ESb179.cjs +1 -0
  121. package/dist/en-C2YS2Qnb.js +18 -0
  122. package/dist/en-gb-C8f1Enek.js +23 -0
  123. package/dist/en-gb-py_kegyw.cjs +1 -0
  124. package/dist/epic-designer/index.d.ts +3 -0
  125. package/dist/epic-designer/uno.config.d.ts +2 -0
  126. package/dist/es-BFLRglxD.cjs +1 -0
  127. package/dist/es-DP04S73E.js +22 -0
  128. package/dist/et-DKRhU9OP.cjs +1 -0
  129. package/dist/et-ipLqjCDG.js +27 -0
  130. package/dist/eventView-B2sBIhbt.js +64 -0
  131. package/dist/eventView-B4YUFKCB.cjs +1 -0
  132. package/dist/fa-DUcAIQzU.cjs +1 -0
  133. package/dist/fa-DXE6u9is.js +22 -0
  134. package/dist/fade-in-scale-up.cssr-BXjoIAAA.js +39 -0
  135. package/dist/fade-in-scale-up.cssr-C_UMnGtI.cjs +1 -0
  136. package/dist/fi-Cpkq8dP2.js +27 -0
  137. package/dist/fi-CyT899pV.cjs +1 -0
  138. package/dist/form-6cUK-Ari.js +72 -0
  139. package/dist/form-BPH0cDFl.js +75 -0
  140. package/dist/form-ChuxpD-f.cjs +1 -0
  141. package/dist/form-Cr7tBgLQ.js +66 -0
  142. package/dist/form-CthzLIgs.cjs +1 -0
  143. package/dist/form-D2qj0Dvr.cjs +1 -0
  144. package/dist/formItem-0oXWwtrG.cjs +1 -0
  145. package/dist/formItem-BVnNs1Q9.cjs +1 -0
  146. package/dist/formItem-D10Om12T.js +22 -0
  147. package/dist/formItem-DPnbV4m-.js +22 -0
  148. package/dist/formItem-Do31LPIz.cjs +1 -0
  149. package/dist/formItem-cj8JQT2r.js +22 -0
  150. package/dist/fr-D1kezmpm.cjs +1 -0
  151. package/dist/fr-DoLP2lvG.js +22 -0
  152. package/dist/fr-ca-D872_l2Z.cjs +1 -0
  153. package/dist/fr-ca-EPfCD7sc.js +22 -0
  154. package/dist/ga-B7Rd2JIZ.cjs +1 -0
  155. package/dist/ga-BcnAx7jm.js +22 -0
  156. package/dist/gl-CBMDu4db.js +22 -0
  157. package/dist/gl-DI-aVaAh.cjs +1 -0
  158. package/dist/he-O14-JKYm.cjs +1 -0
  159. package/dist/he-VbXQT3dj.js +26 -0
  160. package/dist/hi-BSHDLwY4.cjs +1 -0
  161. package/dist/hi-nXeMgLvO.js +22 -0
  162. package/dist/hooks/common/element.d.ts +42 -0
  163. package/dist/hooks/common/index.d.ts +2 -0
  164. package/dist/hooks/common/theme.d.ts +12 -0
  165. package/dist/hooks/index.d.ts +2 -0
  166. package/dist/hooks/store/index.d.ts +12 -0
  167. package/dist/hr-BuVBNZ4z.cjs +1 -0
  168. package/dist/hr-C3DFfYc9.js +26 -0
  169. package/dist/hu-Bs3B-9e3.js +44 -0
  170. package/dist/hu-CXrkHTYq.cjs +1 -0
  171. package/dist/hy-am-BLnv1pCz.cjs +1 -0
  172. package/dist/hy-am-CvHDFapi.js +22 -0
  173. package/dist/icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js +25 -0
  174. package/dist/icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs +1 -0
  175. package/dist/id-CO78nlWo.js +22 -0
  176. package/dist/id-DG0GoH6p.cjs +1 -0
  177. package/dist/index-3fW_aWMH.js +1357 -0
  178. package/dist/index-4PPmJYKt.cjs +51 -0
  179. package/dist/index-8hE8gNZo.cjs +1 -0
  180. package/dist/index-B72l3XQl.js +453 -0
  181. package/dist/index-BB9rZNCd.cjs +181 -0
  182. package/dist/index-BCk0LJsg.cjs +347 -0
  183. package/dist/index-BQCFQnY4.cjs +1 -0
  184. package/dist/index-BVUz9lFN.cjs +325 -0
  185. package/dist/index-BrsEjVOq.js +4 -0
  186. package/dist/index-BsXm6fLD.js +1493 -0
  187. package/dist/index-BvzfruqY.cjs +1 -0
  188. package/dist/index-C0BbA32V.js +71 -0
  189. package/dist/index-C1iu91xM.js +41 -0
  190. package/dist/index-C2kcV-J4.js +432 -0
  191. package/dist/index-C65JM7cg.cjs +1 -0
  192. package/dist/index-CNOUPCih.js +698 -0
  193. package/dist/index-COVBA1PK.cjs +1 -0
  194. package/dist/index-COyKmK8p.js +1160 -0
  195. package/dist/index-CR_tJiJv.js +653 -0
  196. package/dist/index-CUo89LNo.cjs +1 -0
  197. package/dist/index-Cap7FkuS.cjs +1 -0
  198. package/dist/index-Ch2OsKdV.cjs +10 -0
  199. package/dist/index-Ch9jeYmj.cjs +1 -0
  200. package/dist/index-CjcjqKkB.js +571 -0
  201. package/dist/index-Cphndmia.cjs +214 -0
  202. package/dist/index-Cq1qV6v1.js +1509 -0
  203. package/dist/index-CsBTnVvp.js +83 -0
  204. package/dist/index-CuxnFxdY.cjs +1 -0
  205. package/dist/index-CyeaJlxA.js +682 -0
  206. package/dist/index-D1ZL6feZ.js +50484 -0
  207. package/dist/index-D5WpEOUO.cjs +351 -0
  208. package/dist/index-DBQ-tc2k.cjs +1 -0
  209. package/dist/index-DFg9vStb.js +577 -0
  210. package/dist/index-DL2aKRxZ.cjs +1 -0
  211. package/dist/index-DMszow96.cjs +110 -0
  212. package/dist/index-DQ9Vb0QH.js +759 -0
  213. package/dist/index-DTzB2pWI.cjs +159 -0
  214. package/dist/index-DWCSzZfR.cjs +80 -0
  215. package/dist/index-DWjMyXtP.cjs +1 -0
  216. package/dist/index-DaRhLTx9.js +1876 -0
  217. package/dist/index-DafgOfPL.cjs +1 -0
  218. package/dist/index-DgcFxYFp.js +14 -0
  219. package/dist/index-Di-N3DCZ.cjs +1 -0
  220. package/dist/index-DiDIFoTk.js +18 -0
  221. package/dist/index-DrouLAPy.cjs +1 -0
  222. package/dist/index-DuHnyT85.js +88 -0
  223. package/dist/index-DyV3tWzZ.js +204 -0
  224. package/dist/index-DyWFUxn5.js +11674 -0
  225. package/dist/index-E6KwAQoV.js +104 -0
  226. package/dist/index-HM72iSCq.js +64 -0
  227. package/dist/index-Hdc_C4Xg.js +389 -0
  228. package/dist/index-KwL5jE1T.js +270 -0
  229. package/dist/index-M-hTLR0c.js +44 -0
  230. package/dist/index-RdEhd65J.cjs +65 -0
  231. package/dist/index-XU85x6vz.cjs +9 -0
  232. package/dist/index-cMeYVX5X.cjs +1 -0
  233. package/dist/index-g5ZjtbqH.cjs +102 -0
  234. package/dist/index-gA02bxwJ.js +5947 -0
  235. package/dist/index-jx5A2kt8.cjs +850 -0
  236. package/dist/index-tSmvj7CR.js +1742 -0
  237. package/dist/index-uaq_HmHi.js +87 -0
  238. package/dist/index-zYoSB4fa.cjs +9 -0
  239. package/dist/index.cjs +1 -0
  240. package/dist/index.js +40 -0
  241. package/dist/is-Bip0ggci.js +30 -0
  242. package/dist/is-C40R_fdL.cjs +1 -0
  243. package/dist/it-BFF7WzRR.js +22 -0
  244. package/dist/it-D7K-0U_k.cjs +1 -0
  245. package/dist/ja-4CWMghxy.js +24 -0
  246. package/dist/ja-CAXCMb11.cjs +1 -0
  247. package/dist/ka-DrA_EMLP.js +22 -0
  248. package/dist/ka-JF7_8awE.cjs +1 -0
  249. package/dist/kk-Bv8yYeRk.cjs +1 -0
  250. package/dist/kk-QVPqpI2b.js +22 -0
  251. package/dist/km-BmycjYfj.cjs +1 -0
  252. package/dist/km-CBMnSWv_.js +22 -0
  253. package/dist/kn-CFiXt5hu.cjs +1 -0
  254. package/dist/kn-TECqDIit.js +22 -0
  255. package/dist/ko-DlQtUQ6r.cjs +1 -0
  256. package/dist/ko-MjoD8l4E.js +24 -0
  257. package/dist/ku-5MauiT2q.cjs +1 -0
  258. package/dist/ku-BfqBpklm.js +32 -0
  259. package/dist/lt-CkWoaAYB.cjs +1 -0
  260. package/dist/lt-D0cq_0yM.js +26 -0
  261. package/dist/lv-CVdYvxq8.js +22 -0
  262. package/dist/lv-CoTNe47-.cjs +1 -0
  263. package/dist/mk-DDuk7A3P.js +22 -0
  264. package/dist/mk-DVN6iYK_.cjs +1 -0
  265. package/dist/ml-CPI3tJe8.js +22 -0
  266. package/dist/ml-DnXJOqZ0.cjs +1 -0
  267. package/dist/mn-CNbMEx0y.js +22 -0
  268. package/dist/mn-DMIrWGkN.cjs +1 -0
  269. package/dist/modal-3Iw7tqyx.js +85 -0
  270. package/dist/modal-BPJM1Muh.js +59 -0
  271. package/dist/modal-BYw2WLwG.cjs +1 -0
  272. package/dist/modal-D4cRUUVN.js +74 -0
  273. package/dist/modal-DZRJyZfk.cjs +1 -0
  274. package/dist/modal-_fid8E1T.cjs +1 -0
  275. package/dist/ms-my-BcgYEtml.js +22 -0
  276. package/dist/ms-my-BoMZ8Hzl.cjs +1 -0
  277. package/dist/nb-BL5QmNEa.js +22 -0
  278. package/dist/nb-BdFW_T0n.cjs +1 -0
  279. package/dist/ne-9klrwaIE.js +24 -0
  280. package/dist/ne-VNPqdWFn.cjs +1 -0
  281. package/dist/nl-DBFNL8wC.cjs +1 -0
  282. package/dist/nl-DxyA21TA.js +22 -0
  283. package/dist/nl-be-Bo6vnbHY.cjs +1 -0
  284. package/dist/nl-be-Di_N4z2D.js +22 -0
  285. package/dist/outline-UAdT8ap6.cjs +1 -0
  286. package/dist/outline-utbOTCBV.js +54 -0
  287. package/dist/pl-BbDu9Cfd.js +47 -0
  288. package/dist/pl-De2Dm_kD.cjs +1 -0
  289. package/dist/pluginManager-D8PM7ICc.js +383 -0
  290. package/dist/pluginManager-itCTrGag.cjs +1 -0
  291. package/dist/pt-BaTZB0XW.cjs +1 -0
  292. package/dist/pt-CKDbEzZ-.js +22 -0
  293. package/dist/pt-br-B_N58uu_.cjs +1 -0
  294. package/dist/pt-br-C1mqj5qX.js +22 -0
  295. package/dist/radio-ChBAvqeY.js +32 -0
  296. package/dist/radio-D3AHEMXb.cjs +1 -0
  297. package/dist/radio-DAOm4xuJ.js +30 -0
  298. package/dist/radio-J90E17Sb.cjs +1 -0
  299. package/dist/ro-Cnuhxb40.cjs +1 -0
  300. package/dist/ro-V1i-UrkP.js +22 -0
  301. package/dist/row-B28N4Nao.cjs +1 -0
  302. package/dist/row-BC69rVQW.js +32 -0
  303. package/dist/row-BX4lrSir.js +33 -0
  304. package/dist/row-BpXp0tC3.cjs +1 -0
  305. package/dist/row-CkyJ9pQh.js +35 -0
  306. package/dist/row-NNlPGZRG.cjs +1 -0
  307. package/dist/ru-CCbLARi0.js +37 -0
  308. package/dist/ru-_du5Xwu3.cjs +1 -0
  309. package/dist/script/src/check-compiled.d.ts +1 -0
  310. package/dist/select-B8HCbraJ.js +29 -0
  311. package/dist/select-D6bRz5G2.cjs +1 -0
  312. package/dist/sign-CdhDIjlg.js +138 -0
  313. package/dist/sign-Dx0d5kWo.cjs +1 -0
  314. package/dist/sk-DD18bemk.js +53 -0
  315. package/dist/sk-DRjgEzVO.cjs +1 -0
  316. package/dist/sl-CL8MnX8D.js +56 -0
  317. package/dist/sl-nqW7xzZa.cjs +1 -0
  318. package/dist/sr-BiP5qrT7.js +29 -0
  319. package/dist/sr-BnjILg54.cjs +1 -0
  320. package/dist/style.css +1 -0
  321. package/dist/styleView-BTbs7sw1.js +105 -0
  322. package/dist/styleView-BzVCkUuS.cjs +1 -0
  323. package/dist/sv-6b7oq_fA.cjs +1 -0
  324. package/dist/sv-DxlAeqP5.js +23 -0
  325. package/dist/ta-CsfYqZQU.js +22 -0
  326. package/dist/ta-HTr6IFsZ.cjs +1 -0
  327. package/dist/th-C-CGWPlT.cjs +1 -0
  328. package/dist/th-CC5sx7mS.js +22 -0
  329. package/dist/tr-CCMwF27-.js +22 -0
  330. package/dist/tr-z7Blusoy.cjs +1 -0
  331. package/dist/tree.vue_vue_type_script_setup_true_lang-BVopU0uv.cjs +1 -0
  332. package/dist/tree.vue_vue_type_script_setup_true_lang-Bnl1CGxG.js +242 -0
  333. package/dist/ui/antd/button/button.vue.d.ts +30 -0
  334. package/dist/ui/antd/button/index.d.ts +3 -0
  335. package/dist/ui/antd/card/card.d.ts +20 -0
  336. package/dist/ui/antd/card/index.d.ts +3 -0
  337. package/dist/ui/antd/cascader/index.d.ts +3 -0
  338. package/dist/ui/antd/checkbox/index.d.ts +3 -0
  339. package/dist/ui/antd/col/col.d.ts +20 -0
  340. package/dist/ui/antd/col/index.d.ts +3 -0
  341. package/dist/ui/antd/color-picker/index.d.ts +3 -0
  342. package/dist/ui/antd/date-picker/datePicker.d.ts +29 -0
  343. package/dist/ui/antd/date-picker/index.d.ts +3 -0
  344. package/dist/ui/antd/form/form.vue.d.ts +64 -0
  345. package/dist/ui/antd/form/index.d.ts +3 -0
  346. package/dist/ui/antd/form-item/formItem.vue.d.ts +18 -0
  347. package/dist/ui/antd/form-item/index.d.ts +3 -0
  348. package/dist/ui/antd/index.cjs +10 -0
  349. package/dist/ui/antd/index.d.ts +7 -0
  350. package/dist/ui/antd/index.js +3117 -0
  351. package/dist/ui/antd/input/index.d.ts +3 -0
  352. package/dist/ui/antd/input-number/index.d.ts +3 -0
  353. package/dist/ui/antd/input-password/index.d.ts +3 -0
  354. package/dist/ui/antd/modal/index.d.ts +3 -0
  355. package/dist/ui/antd/modal/modal.vue.d.ts +42 -0
  356. package/dist/ui/antd/radio/index.d.ts +3 -0
  357. package/dist/ui/antd/row/index.d.ts +3 -0
  358. package/dist/ui/antd/row/row.d.ts +20 -0
  359. package/dist/ui/antd/select/index.d.ts +3 -0
  360. package/dist/ui/antd/slider/index.d.ts +3 -0
  361. package/dist/ui/antd/switch/index.d.ts +3 -0
  362. package/dist/ui/antd/textarea/index.d.ts +3 -0
  363. package/dist/ui/antd/time-picker/index.d.ts +3 -0
  364. package/dist/ui/antd/upload-file/index.d.ts +3 -0
  365. package/dist/ui/antd/upload-file/uploadFile.d.ts +21 -0
  366. package/dist/ui/antd/upload-image/index.d.ts +3 -0
  367. package/dist/ui/antd/upload-image/uploadImage.vue.d.ts +28 -0
  368. package/dist/ui/elementPlus/button/button.d.ts +18 -0
  369. package/dist/ui/elementPlus/button/index.d.ts +3 -0
  370. package/dist/ui/elementPlus/card/card.d.ts +20 -0
  371. package/dist/ui/elementPlus/card/index.d.ts +3 -0
  372. package/dist/ui/elementPlus/cascader/index.d.ts +3 -0
  373. package/dist/ui/elementPlus/checkbox/checkbox.d.ts +6 -0
  374. package/dist/ui/elementPlus/checkbox/index.d.ts +3 -0
  375. package/dist/ui/elementPlus/col/col.d.ts +20 -0
  376. package/dist/ui/elementPlus/col/index.d.ts +3 -0
  377. package/dist/ui/elementPlus/collapse/collapse.d.ts +20 -0
  378. package/dist/ui/elementPlus/collapse/index.d.ts +3 -0
  379. package/dist/ui/elementPlus/collapse-item/collapseItem.d.ts +20 -0
  380. package/dist/ui/elementPlus/collapse-item/index.d.ts +3 -0
  381. package/dist/ui/elementPlus/color-picker/index.d.ts +3 -0
  382. package/dist/ui/elementPlus/date-picker/index.d.ts +3 -0
  383. package/dist/ui/elementPlus/form/form.vue.d.ts +62 -0
  384. package/dist/ui/elementPlus/form/index.d.ts +3 -0
  385. package/dist/ui/elementPlus/formItem/formItem.vue.d.ts +18 -0
  386. package/dist/ui/elementPlus/formItem/index.d.ts +3 -0
  387. package/dist/ui/elementPlus/index.cjs +1 -0
  388. package/dist/ui/elementPlus/index.d.ts +6 -0
  389. package/dist/ui/elementPlus/index.js +2721 -0
  390. package/dist/ui/elementPlus/input/index.d.ts +3 -0
  391. package/dist/ui/elementPlus/input-number/index.d.ts +3 -0
  392. package/dist/ui/elementPlus/modal/index.d.ts +3 -0
  393. package/dist/ui/elementPlus/modal/modal.d.ts +22 -0
  394. package/dist/ui/elementPlus/radio/index.d.ts +3 -0
  395. package/dist/ui/elementPlus/radio/radio.d.ts +6 -0
  396. package/dist/ui/elementPlus/row/index.d.ts +3 -0
  397. package/dist/ui/elementPlus/row/row.d.ts +20 -0
  398. package/dist/ui/elementPlus/select/index.d.ts +3 -0
  399. package/dist/ui/elementPlus/select/select.d.ts +6 -0
  400. package/dist/ui/elementPlus/sign/index.d.ts +3 -0
  401. package/dist/ui/elementPlus/slider/index.d.ts +3 -0
  402. package/dist/ui/elementPlus/switch/index.d.ts +3 -0
  403. package/dist/ui/elementPlus/textarea/index.d.ts +3 -0
  404. package/dist/ui/elementPlus/upload-file/index.d.ts +3 -0
  405. package/dist/ui/elementPlus/upload-file/uploadFile.d.ts +20 -0
  406. package/dist/ui/elementPlus/upload-image/index.d.ts +3 -0
  407. package/dist/ui/elementPlus/upload-image/uploadImage.d.ts +20 -0
  408. package/dist/ui/index.d.ts +3 -0
  409. package/dist/ui/naiveUi/button/button.d.ts +18 -0
  410. package/dist/ui/naiveUi/button/index.d.ts +3 -0
  411. package/dist/ui/naiveUi/card/card.d.ts +20 -0
  412. package/dist/ui/naiveUi/card/index.d.ts +3 -0
  413. package/dist/ui/naiveUi/cascader/index.d.ts +3 -0
  414. package/dist/ui/naiveUi/checkbox/checkbox.d.ts +6 -0
  415. package/dist/ui/naiveUi/checkbox/index.d.ts +3 -0
  416. package/dist/ui/naiveUi/col/col.d.ts +20 -0
  417. package/dist/ui/naiveUi/col/index.d.ts +3 -0
  418. package/dist/ui/naiveUi/collapse/collapse.d.ts +20 -0
  419. package/dist/ui/naiveUi/collapse/index.d.ts +3 -0
  420. package/dist/ui/naiveUi/collapse-item/collapseItem.d.ts +20 -0
  421. package/dist/ui/naiveUi/collapse-item/index.d.ts +3 -0
  422. package/dist/ui/naiveUi/color-picker/index.d.ts +3 -0
  423. package/dist/ui/naiveUi/date-picker/index.d.ts +3 -0
  424. package/dist/ui/naiveUi/form/index.d.ts +3 -0
  425. package/dist/ui/naiveUi/form-item/formItem.vue.d.ts +18 -0
  426. package/dist/ui/naiveUi/form-item/index.d.ts +3 -0
  427. package/dist/ui/naiveUi/index.cjs +1 -0
  428. package/dist/ui/naiveUi/index.d.ts +2 -0
  429. package/dist/ui/naiveUi/index.js +2349 -0
  430. package/dist/ui/naiveUi/input/index.d.ts +3 -0
  431. package/dist/ui/naiveUi/input-number/index.d.ts +3 -0
  432. package/dist/ui/naiveUi/modal/index.d.ts +3 -0
  433. package/dist/ui/naiveUi/modal/modal.d.ts +22 -0
  434. package/dist/ui/naiveUi/radio/index.d.ts +3 -0
  435. package/dist/ui/naiveUi/radio/radio.d.ts +6 -0
  436. package/dist/ui/naiveUi/row/index.d.ts +3 -0
  437. package/dist/ui/naiveUi/row/row.d.ts +20 -0
  438. package/dist/ui/naiveUi/select/index.d.ts +3 -0
  439. package/dist/ui/naiveUi/slider/index.d.ts +3 -0
  440. package/dist/ui/naiveUi/switch/index.d.ts +3 -0
  441. package/dist/ui/naiveUi/upload-file/index.d.ts +3 -0
  442. package/dist/ui/naiveUi/upload-file/uploadFile.d.ts +20 -0
  443. package/dist/ui/naiveUi/upload-image/index.d.ts +3 -0
  444. package/dist/ui/naiveUi/upload-image/uploadImage.d.ts +20 -0
  445. package/dist/uk-Ba9IHfoi.js +31 -0
  446. package/dist/uk-Cc6k-QUE.cjs +1 -0
  447. package/dist/uploadFile-BU5cBhab.js +67 -0
  448. package/dist/uploadFile-C3HY1r-N.js +78 -0
  449. package/dist/uploadFile-COrVkbrU.js +70 -0
  450. package/dist/uploadFile-Dv3Rsw56.cjs +1 -0
  451. package/dist/uploadFile-LCUznBf2.cjs +1 -0
  452. package/dist/uploadFile-z7Ko58XG.cjs +1 -0
  453. package/dist/uploadImage-BQhv5ymq.cjs +1 -0
  454. package/dist/uploadImage-CYV7X1sG.js +88 -0
  455. package/dist/uploadImage-CnNnAISs.js +84 -0
  456. package/dist/uploadImage-Db_66X3C.js +93 -0
  457. package/dist/uploadImage-nwjqcVFU.cjs +1 -0
  458. package/dist/uploadImage-xU0He_aO.cjs +1 -0
  459. package/dist/ur-C0tmW1hr.js +22 -0
  460. package/dist/ur-CPEUOWqh.cjs +1 -0
  461. package/dist/utils/__test__/common/debounce.test.d.ts +1 -0
  462. package/dist/utils/__test__/common/deepClone.test.d.ts +1 -0
  463. package/dist/utils/__test__/common/deepCompareAndModify.test.d.ts +1 -0
  464. package/dist/utils/__test__/common/deepEqual.test.d.ts +1 -0
  465. package/dist/utils/__test__/common/findSchemaById.test.d.ts +1 -0
  466. package/dist/utils/__test__/common/findSchemas.test.d.ts +1 -0
  467. package/dist/utils/__test__/common/getFormSchemas.test.d.ts +1 -0
  468. package/dist/utils/__test__/common/getMatchedById.test.d.ts +1 -0
  469. package/dist/utils/__test__/common/getUUID.test.d.ts +1 -0
  470. package/dist/utils/__test__/common/getValueByPath.test.d.ts +1 -0
  471. package/dist/utils/__test__/common/mapSchemas.test.d.ts +1 -0
  472. package/dist/utils/__test__/common/setValueByPath.test.d.ts +1 -0
  473. package/dist/utils/__test__/manager/pageManager.test.d.ts +1 -0
  474. package/dist/utils/__test__/manager/revoke.test.d.ts +1 -0
  475. package/dist/utils/common/common.d.ts +7 -0
  476. package/dist/utils/common/component.d.ts +7 -0
  477. package/dist/utils/common/data.d.ts +119 -0
  478. package/dist/utils/common/eventBus.d.ts +2 -0
  479. package/dist/utils/common/index.d.ts +5 -0
  480. package/dist/utils/common/string.d.ts +11 -0
  481. package/dist/utils/index.d.ts +2 -0
  482. package/{packages/utils/manager/index.ts → dist/utils/manager/index.d.ts} +3 -3
  483. package/dist/utils/manager/pageManager.d.ts +26 -0
  484. package/dist/utils/manager/pluginManager.d.ts +379 -0
  485. package/dist/utils/manager/revoke.d.ts +40 -0
  486. package/dist/utils-BM69FtWE.js +66 -0
  487. package/dist/utils-zEcOzoWV.cjs +1 -0
  488. package/dist/vi-Dyfq5Qgz.cjs +1 -0
  489. package/dist/vi-j1PGHz1o.js +22 -0
  490. package/dist/vuedraggable.umd-BqhSJIAi.cjs +10 -0
  491. package/dist/vuedraggable.umd-D2S7Eo7p.js +4425 -0
  492. package/dist/zh-cn-BKQHxHe9.cjs +1 -0
  493. package/dist/zh-cn-BYui8_WB.js +25 -0
  494. package/dist/zh-hk-QZ4a6JLR.js +25 -0
  495. package/dist/zh-hk-hNFRxlrX.cjs +1 -0
  496. package/dist/zh-tw-BT16WIrT.js +25 -0
  497. package/dist/zh-tw-SGOlw9Wo.cjs +1 -0
  498. package/package.json +75 -49
  499. package/.eslintrc.js +0 -10
  500. package/.vscode/extensions.json +0 -3
  501. package/.vscode/settings.json +0 -6
  502. package/docs/.vitepress/config.ts +0 -163
  503. package/docs/.vitepress/theme/custom.css +0 -38
  504. package/docs/.vitepress/theme/index.ts +0 -7
  505. package/docs/.vitepress/theme/style.css +0 -44
  506. package/docs/guide/about/about.md +0 -24
  507. package/docs/guide/action/customFunctions.md +0 -560
  508. package/docs/guide/components/EBuilder.md +0 -546
  509. package/docs/guide/components/EDesigner.md +0 -120
  510. package/docs/guide/copyright/copyright.md +0 -38
  511. package/docs/guide/extensions/actionBar.md +0 -55
  512. package/docs/guide/extensions/component.md +0 -115
  513. package/docs/guide/extensions/icon.md +0 -111
  514. package/docs/guide/extensions/publicMethods.md +0 -52
  515. package/docs/guide/extensions/rightSidebar.md +0 -57
  516. package/docs/guide/start/dark-mode.md +0 -149
  517. package/docs/guide/start/i18n-cn.md +0 -39
  518. package/docs/guide/start/index.md +0 -59
  519. package/docs/guide/start/layoutGuide.md +0 -0
  520. package/docs/guide/start/quick-start.md +0 -194
  521. package/docs/guide/start/theme.md +0 -125
  522. package/docs/guide/utils/pageManager.md +0 -97
  523. package/docs/guide/utils/pluginManager.md +0 -227
  524. package/docs/index.md +0 -41
  525. package/docs/package.json +0 -15
  526. package/docs/public/certificate.jpg +0 -0
  527. package/docs/public/dark.png +0 -0
  528. package/docs/public/favicon.ico +0 -0
  529. package/docs/public/icons/demo.css +0 -539
  530. package/docs/public/icons/demo_index.html +0 -589
  531. package/docs/public/icons/iconfont.css +0 -379
  532. package/docs/public/icons/iconfont.js +0 -1
  533. package/docs/public/icons/iconfont.json +0 -646
  534. package/docs/public/icons/iconfont.ttf +0 -0
  535. package/docs/public/icons/iconfont.woff +0 -0
  536. package/docs/public/icons/iconfont.woff2 +0 -0
  537. package/docs/public/icons/iconify.css +0 -271
  538. package/docs/public/icons/iconify.html +0 -333
  539. package/docs/public/layout.jpg +0 -0
  540. package/docs/public/logo.png +0 -0
  541. package/docs/public/theme.jpg +0 -0
  542. package/docs/updateLog.md +0 -461
  543. package/docs/vite.config.ts +0 -18
  544. package/docs//345/210/235/345/247/213/345/214/226/345/270/203/345/261/200.jpg +0 -0
  545. package/docs//350/256/276/350/256/241/345/231/250/344/273/213/347/273/215.md +0 -21
  546. package/docs//350/256/276/350/256/241/345/231/250/345/270/203/345/261/200.jpg +0 -0
  547. package/examples/README.md +0 -18
  548. package/examples/index.html +0 -14
  549. package/examples/package.json +0 -28
  550. package/examples/public/favicon.ico +0 -0
  551. package/examples/src/App.vue +0 -5
  552. package/examples/src/assets/logo.png +0 -0
  553. package/examples/src/layout/baseLayout.vue +0 -3
  554. package/examples/src/layout/components/Header/index.vue +0 -104
  555. package/examples/src/layout/components/Main/Maximize.vue +0 -77
  556. package/examples/src/layout/components/Main/index.vue +0 -16
  557. package/examples/src/layout/components/Menu/index.vue +0 -49
  558. package/examples/src/layout/index.vue +0 -26
  559. package/examples/src/main.ts +0 -6
  560. package/examples/src/router/index.ts +0 -122
  561. package/examples/src/style/reset.css +0 -253
  562. package/examples/src/style.less +0 -44
  563. package/examples/src/views/builder/basic/index.vue +0 -300
  564. package/examples/src/views/builder/customForm/index.vue +0 -227
  565. package/examples/src/views/builder/disableDisplay/index.vue +0 -153
  566. package/examples/src/views/builder/disableDisplay copy/index.vue +0 -111
  567. package/examples/src/views/builder/loadData/index.vue +0 -69
  568. package/examples/src/views/builder/loadFormData/index.vue +0 -195
  569. package/examples/src/views/builder/sum/index.vue +0 -127
  570. package/examples/src/views/designer/basic/index.vue +0 -62
  571. package/examples/src/views/designer/formMode/index.vue +0 -22
  572. package/examples/src/views/designer/loadData/index.vue +0 -63
  573. package/examples/src/vite-env.d.ts +0 -1
  574. package/examples/tsconfig.json +0 -27
  575. package/examples/tsconfig.node.json +0 -10
  576. package/examples/uno.config.ts +0 -2
  577. package/examples/vite.config.ts +0 -35
  578. package/packages/core/LICENSE +0 -21
  579. package/packages/core/components/asyncLoader/index.less +0 -92
  580. package/packages/core/components/asyncLoader/index.vue +0 -7
  581. package/packages/core/components/builder/hooks/useBuilder.ts +0 -132
  582. package/packages/core/components/builder/index.ts +0 -3
  583. package/packages/core/components/builder/src/builder.vue +0 -131
  584. package/packages/core/components/builder/src/types.ts +0 -4
  585. package/packages/core/components/designer/index.ts +0 -3
  586. package/packages/core/components/designer/src/designer.vue +0 -337
  587. package/packages/core/components/designer/src/index.less +0 -81
  588. package/packages/core/components/designer/src/modules/actionBar/index.less +0 -80
  589. package/packages/core/components/designer/src/modules/actionBar/index.vue +0 -50
  590. package/packages/core/components/designer/src/modules/attributeView/attributeView.vue +0 -124
  591. package/packages/core/components/designer/src/modules/attributeView/eventView.vue +0 -77
  592. package/packages/core/components/designer/src/modules/attributeView/index.less +0 -36
  593. package/packages/core/components/designer/src/modules/attributeView/styleView.vue +0 -117
  594. package/packages/core/components/designer/src/modules/componentView/index.less +0 -61
  595. package/packages/core/components/designer/src/modules/componentView/index.vue +0 -127
  596. package/packages/core/components/designer/src/modules/editContainer/editNodeItem.vue +0 -87
  597. package/packages/core/components/designer/src/modules/editContainer/editScreenContainer.vue +0 -227
  598. package/packages/core/components/designer/src/modules/editContainer/index.less +0 -159
  599. package/packages/core/components/designer/src/modules/editContainer/index.vue +0 -36
  600. package/packages/core/components/designer/src/modules/editContainer/nodeItem.vue +0 -93
  601. package/packages/core/components/designer/src/modules/editContainer/previewJson.vue +0 -60
  602. package/packages/core/components/designer/src/modules/editContainer/previewWidgets.vue +0 -390
  603. package/packages/core/components/designer/src/modules/editContainer/toolbar.vue +0 -258
  604. package/packages/core/components/designer/src/modules/header/index.less +0 -16
  605. package/packages/core/components/designer/src/modules/header/index.vue +0 -72
  606. package/packages/core/components/designer/src/modules/outline/index.less +0 -7
  607. package/packages/core/components/designer/src/modules/outline/outline.vue +0 -56
  608. package/packages/core/components/designer/src/modules/preview/index.less +0 -0
  609. package/packages/core/components/designer/src/modules/preview/index.vue +0 -103
  610. package/packages/core/components/designer/src/modules/rightSidebar/breadcrumb.vue +0 -30
  611. package/packages/core/components/designer/src/modules/rightSidebar/index.less +0 -74
  612. package/packages/core/components/designer/src/modules/rightSidebar/index.vue +0 -67
  613. package/packages/core/components/designer/src/modules/sourceCode/index.less +0 -7
  614. package/packages/core/components/designer/src/modules/sourceCode/index.vue +0 -37
  615. package/packages/core/components/designer/src/types.ts +0 -51
  616. package/packages/core/components/icon/index.ts +0 -2
  617. package/packages/core/components/icon/src/icon.vue +0 -28
  618. package/packages/core/components/node/index.ts +0 -2
  619. package/packages/core/components/node/src/dynamicFormItem.vue +0 -38
  620. package/packages/core/components/node/src/node.vue +0 -400
  621. package/packages/core/components/tree/index.ts +0 -2
  622. package/packages/core/components/tree/src/index.less +0 -117
  623. package/packages/core/components/tree/src/tree.vue +0 -113
  624. package/packages/core/components/tree/src/treeNodeItem.vue +0 -120
  625. package/packages/core/components/tree/src/treeNodes.vue +0 -70
  626. package/packages/core/extensions/EActionEditor/index.less +0 -177
  627. package/packages/core/extensions/EActionEditor/index.vue +0 -160
  628. package/packages/core/extensions/EActionEditor/src/EActionEditorItem.vue +0 -133
  629. package/packages/core/extensions/EActionEditor/src/EActionModal.vue +0 -258
  630. package/packages/core/extensions/EActionEditor/src/EArgsEditor.vue +0 -61
  631. package/packages/core/extensions/EActionEditor/src/EScriptEdit.vue +0 -26
  632. package/packages/core/extensions/EColEditor/index.less +0 -24
  633. package/packages/core/extensions/EColEditor/index.vue +0 -65
  634. package/packages/core/extensions/EDataSource/index.less +0 -170
  635. package/packages/core/extensions/EDataSource/index.vue +0 -437
  636. package/packages/core/extensions/EInputSize/index.vue +0 -59
  637. package/packages/core/extensions/EOptionsEditor/index.vue +0 -195
  638. package/packages/core/extensions/EOptionsEditor/optionItem.vue +0 -72
  639. package/packages/core/extensions/ERuleEditor/ERuleItem.vue +0 -136
  640. package/packages/core/extensions/ERuleEditor/data.ts +0 -24
  641. package/packages/core/extensions/ERuleEditor/index.less +0 -17
  642. package/packages/core/extensions/ERuleEditor/index.vue +0 -157
  643. package/packages/core/extensions/ERuleEditor/types.ts +0 -17
  644. package/packages/core/extensions/MonacoEditor/index.ts +0 -31
  645. package/packages/core/extensions/MonacoEditor/index.vue +0 -150
  646. package/packages/core/extensions/Page/index.ts +0 -23
  647. package/packages/core/extensions/Page/index.vue +0 -27
  648. package/packages/core/extensions/index.ts +0 -58
  649. package/packages/core/index.less +0 -24
  650. package/packages/core/index.ts +0 -35
  651. package/packages/core/package.json +0 -59
  652. package/packages/core/static/icons/iconify.css +0 -271
  653. package/packages/core/static/logo.png +0 -0
  654. package/packages/core/tsconfig.json +0 -19
  655. package/packages/core/types/epic-designer.ts +0 -75
  656. package/packages/epic-designer/LICENSE +0 -21
  657. package/packages/epic-designer/README.md +0 -239
  658. package/packages/epic-designer/package.json +0 -75
  659. package/packages/hooks/LICENSE +0 -21
  660. package/packages/hooks/common/element.ts +0 -170
  661. package/packages/hooks/common/index.ts +0 -2
  662. package/packages/hooks/common/theme.ts +0 -84
  663. package/packages/hooks/index.ts +0 -2
  664. package/packages/hooks/package.json +0 -7
  665. package/packages/hooks/store/index.ts +0 -30
  666. package/packages/hooks/tsconfig.json +0 -19
  667. package/packages/script/package.json +0 -17
  668. package/packages/script/src/check-compiled.ts +0 -22
  669. package/packages/script/tsconfig.json +0 -10
  670. package/packages/ui/LICENSE +0 -21
  671. package/packages/ui/antd/button/button.vue +0 -16
  672. package/packages/ui/antd/button/index.ts +0 -203
  673. package/packages/ui/antd/card/card.ts +0 -31
  674. package/packages/ui/antd/card/index.ts +0 -64
  675. package/packages/ui/antd/cascader/cascader.vue +0 -23
  676. package/packages/ui/antd/cascader/index.ts +0 -200
  677. package/packages/ui/antd/checkbox/index.ts +0 -100
  678. package/packages/ui/antd/col/col.ts +0 -31
  679. package/packages/ui/antd/col/index.ts +0 -22
  680. package/packages/ui/antd/color-picker/index.ts +0 -108
  681. package/packages/ui/antd/date-picker/datePicker.ts +0 -47
  682. package/packages/ui/antd/date-picker/index.ts +0 -304
  683. package/packages/ui/antd/form/form.vue +0 -115
  684. package/packages/ui/antd/form/index.ts +0 -196
  685. package/packages/ui/antd/form-item/formItem.vue +0 -15
  686. package/packages/ui/antd/form-item/index.ts +0 -11
  687. package/packages/ui/antd/index.less +0 -33
  688. package/packages/ui/antd/index.ts +0 -306
  689. package/packages/ui/antd/input/index.ts +0 -170
  690. package/packages/ui/antd/input-number/index.ts +0 -182
  691. package/packages/ui/antd/input-password/index.ts +0 -153
  692. package/packages/ui/antd/modal/index.ts +0 -19
  693. package/packages/ui/antd/modal/modal.vue +0 -82
  694. package/packages/ui/antd/radio/index.ts +0 -106
  695. package/packages/ui/antd/row/index.ts +0 -115
  696. package/packages/ui/antd/row/row.ts +0 -31
  697. package/packages/ui/antd/select/index.ts +0 -230
  698. package/packages/ui/antd/slider/index.ts +0 -148
  699. package/packages/ui/antd/switch/index.ts +0 -142
  700. package/packages/ui/antd/textarea/index.ts +0 -163
  701. package/packages/ui/antd/time-picker/index.ts +0 -191
  702. package/packages/ui/antd/upload-file/index.ts +0 -89
  703. package/packages/ui/antd/upload-file/uploadFile.ts +0 -119
  704. package/packages/ui/antd/upload-image/index.ts +0 -70
  705. package/packages/ui/antd/upload-image/uploadImage.vue +0 -148
  706. package/packages/ui/elementPlus/button/button.ts +0 -24
  707. package/packages/ui/elementPlus/button/index.ts +0 -129
  708. package/packages/ui/elementPlus/card/card.ts +0 -36
  709. package/packages/ui/elementPlus/card/index.ts +0 -51
  710. package/packages/ui/elementPlus/cascader/index.ts +0 -222
  711. package/packages/ui/elementPlus/checkbox/checkbox.ts +0 -26
  712. package/packages/ui/elementPlus/checkbox/index.ts +0 -148
  713. package/packages/ui/elementPlus/col/col.ts +0 -31
  714. package/packages/ui/elementPlus/col/index.ts +0 -21
  715. package/packages/ui/elementPlus/collapse/collapse.ts +0 -32
  716. package/packages/ui/elementPlus/collapse/index.ts +0 -41
  717. package/packages/ui/elementPlus/collapse-item/collapseItem.ts +0 -31
  718. package/packages/ui/elementPlus/collapse-item/index.ts +0 -12
  719. package/packages/ui/elementPlus/color-picker/index.ts +0 -111
  720. package/packages/ui/elementPlus/date-picker/index.ts +0 -219
  721. package/packages/ui/elementPlus/form/form.vue +0 -110
  722. package/packages/ui/elementPlus/form/index.ts +0 -150
  723. package/packages/ui/elementPlus/formItem/formItem.vue +0 -15
  724. package/packages/ui/elementPlus/formItem/index.ts +0 -11
  725. package/packages/ui/elementPlus/index.less +0 -79
  726. package/packages/ui/elementPlus/index.ts +0 -91
  727. package/packages/ui/elementPlus/input/index.ts +0 -180
  728. package/packages/ui/elementPlus/input-number/index.ts +0 -146
  729. package/packages/ui/elementPlus/modal/index.ts +0 -18
  730. package/packages/ui/elementPlus/modal/modal.ts +0 -68
  731. package/packages/ui/elementPlus/radio/index.ts +0 -129
  732. package/packages/ui/elementPlus/radio/radio.ts +0 -32
  733. package/packages/ui/elementPlus/row/index.ts +0 -106
  734. package/packages/ui/elementPlus/row/row.ts +0 -32
  735. package/packages/ui/elementPlus/select/index.ts +0 -291
  736. package/packages/ui/elementPlus/select/select.ts +0 -29
  737. package/packages/ui/elementPlus/sign/index.ts +0 -97
  738. package/packages/ui/elementPlus/sign/sign.vue +0 -207
  739. package/packages/ui/elementPlus/slider/index.ts +0 -238
  740. package/packages/ui/elementPlus/switch/index.ts +0 -160
  741. package/packages/ui/elementPlus/textarea/index.ts +0 -155
  742. package/packages/ui/elementPlus/upload-file/index.ts +0 -87
  743. package/packages/ui/elementPlus/upload-file/uploadFile.ts +0 -114
  744. package/packages/ui/elementPlus/upload-image/index.ts +0 -87
  745. package/packages/ui/elementPlus/upload-image/uploadImage.ts +0 -150
  746. package/packages/ui/index.ts +0 -22
  747. package/packages/ui/naiveUi/button/button.ts +0 -25
  748. package/packages/ui/naiveUi/button/index.ts +0 -148
  749. package/packages/ui/naiveUi/card/card.ts +0 -32
  750. package/packages/ui/naiveUi/card/index.ts +0 -26
  751. package/packages/ui/naiveUi/cascader/index.ts +0 -222
  752. package/packages/ui/naiveUi/checkbox/checkbox.ts +0 -27
  753. package/packages/ui/naiveUi/checkbox/index.ts +0 -117
  754. package/packages/ui/naiveUi/col/col.ts +0 -30
  755. package/packages/ui/naiveUi/col/index.ts +0 -21
  756. package/packages/ui/naiveUi/collapse/collapse.ts +0 -31
  757. package/packages/ui/naiveUi/collapse/index.ts +0 -40
  758. package/packages/ui/naiveUi/collapse-item/collapseItem.ts +0 -31
  759. package/packages/ui/naiveUi/collapse-item/index.ts +0 -12
  760. package/packages/ui/naiveUi/color-picker/index.ts +0 -182
  761. package/packages/ui/naiveUi/date-picker/index.ts +0 -213
  762. package/packages/ui/naiveUi/form/form.vue +0 -98
  763. package/packages/ui/naiveUi/form/index.ts +0 -147
  764. package/packages/ui/naiveUi/form-item/formItem.vue +0 -15
  765. package/packages/ui/naiveUi/form-item/index.ts +0 -10
  766. package/packages/ui/naiveUi/index.less +0 -33
  767. package/packages/ui/naiveUi/index.ts +0 -68
  768. package/packages/ui/naiveUi/input/index.ts +0 -221
  769. package/packages/ui/naiveUi/input-number/index.ts +0 -145
  770. package/packages/ui/naiveUi/modal/index.ts +0 -18
  771. package/packages/ui/naiveUi/modal/modal.ts +0 -83
  772. package/packages/ui/naiveUi/radio/index.ts +0 -97
  773. package/packages/ui/naiveUi/radio/radio.ts +0 -27
  774. package/packages/ui/naiveUi/row/index.ts +0 -106
  775. package/packages/ui/naiveUi/row/row.ts +0 -31
  776. package/packages/ui/naiveUi/select/index.ts +0 -197
  777. package/packages/ui/naiveUi/slider/index.ts +0 -182
  778. package/packages/ui/naiveUi/switch/index.ts +0 -136
  779. package/packages/ui/naiveUi/upload-file/index.ts +0 -83
  780. package/packages/ui/naiveUi/upload-file/uploadFile.ts +0 -78
  781. package/packages/ui/naiveUi/upload-image/index.ts +0 -83
  782. package/packages/ui/naiveUi/upload-image/uploadImage.ts +0 -151
  783. package/packages/ui/package.json +0 -17
  784. package/packages/ui/tsconfig.json +0 -19
  785. package/packages/utils/LICENSE +0 -21
  786. package/packages/utils/__test__/common/debounce.test.ts +0 -44
  787. package/packages/utils/__test__/common/deepClone.test.ts +0 -42
  788. package/packages/utils/__test__/common/deepCompareAndModify.test.ts +0 -84
  789. package/packages/utils/__test__/common/deepEqual.test.ts +0 -105
  790. package/packages/utils/__test__/common/findSchemaById.test.ts +0 -80
  791. package/packages/utils/__test__/common/findSchemas.test.ts +0 -98
  792. package/packages/utils/__test__/common/getFormSchemas.test.ts +0 -124
  793. package/packages/utils/__test__/common/getMatchedById.test.ts +0 -79
  794. package/packages/utils/__test__/common/getUUID.test.ts +0 -30
  795. package/packages/utils/__test__/common/getValueByPath.test.ts +0 -54
  796. package/packages/utils/__test__/common/mapSchemas.test.ts +0 -98
  797. package/packages/utils/__test__/common/setValueByPath.test.ts +0 -69
  798. package/packages/utils/__test__/manager/pageManager.test.ts +0 -75
  799. package/packages/utils/__test__/manager/revoke.test.ts +0 -103
  800. package/packages/utils/common/common.ts +0 -18
  801. package/packages/utils/common/component.ts +0 -22
  802. package/packages/utils/common/data.ts +0 -662
  803. package/packages/utils/common/eventBus.ts +0 -4
  804. package/packages/utils/common/index.ts +0 -5
  805. package/packages/utils/common/string.ts +0 -24
  806. package/packages/utils/index.ts +0 -2
  807. package/packages/utils/manager/pageManager.ts +0 -238
  808. package/packages/utils/manager/pluginManager.ts +0 -633
  809. package/packages/utils/manager/revoke.ts +0 -124
  810. package/packages/utils/package.json +0 -7
  811. package/packages/utils/tsconfig.json +0 -19
  812. package/pnpm-lock.yaml +0 -14558
  813. package/pnpm-workspace.yaml +0 -5
  814. package/turbo.json +0 -20
  815. package/vitest.config.ts +0 -7
  816. /package/{packages/core → dist}/theme/var.less +0 -0
  817. /package/{packages/epic-designer/shims-vue.d.ts → shims-vue.d.ts} +0 -0
  818. /package/{packages/epic-designer/tsconfig.json → tsconfig.json} +0 -0
@@ -0,0 +1,1493 @@
1
+ import { c as S } from "./_commonjsHelpers-BVfed4GL.js";
2
+ import { r as le } from "./_vue_commonjs-external-NwvjgbHK.js";
3
+ import { q as Fo, r as Fe, c as qe, a as xe, _ as _e, e as Do, f as Io, p as To, b as De, i as Ao } from "./index-D1ZL6feZ.js";
4
+ import { i as Oo, _ as jo } from "./index-gA02bxwJ.js";
5
+ function Wo(t, s) {
6
+ for (var v = 0; v < s.length; v++) {
7
+ const h = s[v];
8
+ if (typeof h != "string" && !Array.isArray(h)) {
9
+ for (const p in h)
10
+ if (p !== "default" && !(p in t)) {
11
+ const r = Object.getOwnPropertyDescriptor(h, p);
12
+ r && Object.defineProperty(t, p, r.get ? r : {
13
+ enumerable: !0,
14
+ get: () => h[p]
15
+ });
16
+ }
17
+ }
18
+ }
19
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
20
+ }
21
+ var Xe = {}, Ye = {}, Je = {};
22
+ (function(t) {
23
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.isSafari = t.isFirefox = t.isChrome = void 0;
24
+ const s = Fo;
25
+ t.isChrome = s.isBrowser && "chrome" in window, t.isFirefox = s.isBrowser && navigator.userAgent.includes("Firefox"), t.isSafari = s.isBrowser && navigator.userAgent.includes("Safari") && !t.isChrome;
26
+ })(Je);
27
+ var Ie = {}, Te = {}, ye = {};
28
+ Object.defineProperty(ye, "__esModule", { value: !0 });
29
+ ye.default = {
30
+ paddingTiny: "0 8px",
31
+ paddingSmall: "0 10px",
32
+ paddingMedium: "0 12px",
33
+ paddingLarge: "0 14px",
34
+ clearSize: "16px"
35
+ };
36
+ var Vo = S && S.__importDefault || function(t) {
37
+ return t && t.__esModule ? t : { default: t };
38
+ };
39
+ Object.defineProperty(Te, "__esModule", { value: !0 });
40
+ const Z = Fe, ko = qe, Lo = Vo(ye), Ho = {
41
+ name: "Input",
42
+ common: ko.commonDark,
43
+ self(t) {
44
+ const { textColor2: s, textColor3: v, textColorDisabled: h, primaryColor: p, primaryColorHover: r, inputColor: x, inputColorDisabled: u, warningColor: b, warningColorHover: C, errorColor: $, errorColorHover: D, borderRadius: I, lineHeight: B, fontSizeTiny: R, fontSizeSmall: f, fontSizeMedium: H, fontSizeLarge: N, heightTiny: j, heightSmall: V, heightMedium: k, heightLarge: n, clearColor: g, clearColorHover: a, clearColorPressed: F, placeholderColor: T, placeholderColorDisabled: A, iconColor: z, iconColorDisabled: E, iconColorHover: w, iconColorPressed: c } = t;
45
+ return Object.assign(Object.assign({}, Lo.default), {
46
+ countTextColorDisabled: h,
47
+ countTextColor: v,
48
+ heightTiny: j,
49
+ heightSmall: V,
50
+ heightMedium: k,
51
+ heightLarge: n,
52
+ fontSizeTiny: R,
53
+ fontSizeSmall: f,
54
+ fontSizeMedium: H,
55
+ fontSizeLarge: N,
56
+ lineHeight: B,
57
+ lineHeightTextarea: B,
58
+ borderRadius: I,
59
+ iconSize: "16px",
60
+ groupLabelColor: x,
61
+ textColor: s,
62
+ textColorDisabled: h,
63
+ textDecorationColor: s,
64
+ groupLabelTextColor: s,
65
+ caretColor: p,
66
+ placeholderColor: T,
67
+ placeholderColorDisabled: A,
68
+ color: x,
69
+ colorDisabled: u,
70
+ colorFocus: (0, Z.changeColor)(p, { alpha: 0.1 }),
71
+ groupLabelBorder: "1px solid #0000",
72
+ border: "1px solid #0000",
73
+ borderHover: `1px solid ${r}`,
74
+ borderDisabled: "1px solid #0000",
75
+ borderFocus: `1px solid ${r}`,
76
+ boxShadowFocus: `0 0 8px 0 ${(0, Z.changeColor)(p, { alpha: 0.3 })}`,
77
+ loadingColor: p,
78
+ // warning
79
+ loadingColorWarning: b,
80
+ borderWarning: `1px solid ${b}`,
81
+ borderHoverWarning: `1px solid ${C}`,
82
+ colorFocusWarning: (0, Z.changeColor)(b, { alpha: 0.1 }),
83
+ borderFocusWarning: `1px solid ${C}`,
84
+ boxShadowFocusWarning: `0 0 8px 0 ${(0, Z.changeColor)(b, {
85
+ alpha: 0.3
86
+ })}`,
87
+ caretColorWarning: b,
88
+ // error
89
+ loadingColorError: $,
90
+ borderError: `1px solid ${$}`,
91
+ borderHoverError: `1px solid ${D}`,
92
+ colorFocusError: (0, Z.changeColor)($, { alpha: 0.1 }),
93
+ borderFocusError: `1px solid ${D}`,
94
+ boxShadowFocusError: `0 0 8px 0 ${(0, Z.changeColor)($, {
95
+ alpha: 0.3
96
+ })}`,
97
+ caretColorError: $,
98
+ clearColor: g,
99
+ clearColorHover: a,
100
+ clearColorPressed: F,
101
+ iconColor: z,
102
+ iconColorDisabled: E,
103
+ iconColorHover: w,
104
+ iconColorPressed: c,
105
+ suffixTextColor: s
106
+ });
107
+ }
108
+ };
109
+ Te.default = Ho;
110
+ var Ae = {}, No = S && S.__importDefault || function(t) {
111
+ return t && t.__esModule ? t : { default: t };
112
+ };
113
+ Object.defineProperty(Ae, "__esModule", { value: !0 });
114
+ const Re = Fe, Go = qe, Ko = No(ye);
115
+ function Uo(t) {
116
+ const { textColor2: s, textColor3: v, textColorDisabled: h, primaryColor: p, primaryColorHover: r, inputColor: x, inputColorDisabled: u, borderColor: b, warningColor: C, warningColorHover: $, errorColor: D, errorColorHover: I, borderRadius: B, lineHeight: R, fontSizeTiny: f, fontSizeSmall: H, fontSizeMedium: N, fontSizeLarge: j, heightTiny: V, heightSmall: k, heightMedium: n, heightLarge: g, actionColor: a, clearColor: F, clearColorHover: T, clearColorPressed: A, placeholderColor: z, placeholderColorDisabled: E, iconColor: w, iconColorDisabled: c, iconColorHover: d, iconColorPressed: M } = t;
117
+ return Object.assign(Object.assign({}, Ko.default), {
118
+ countTextColorDisabled: h,
119
+ countTextColor: v,
120
+ heightTiny: V,
121
+ heightSmall: k,
122
+ heightMedium: n,
123
+ heightLarge: g,
124
+ fontSizeTiny: f,
125
+ fontSizeSmall: H,
126
+ fontSizeMedium: N,
127
+ fontSizeLarge: j,
128
+ lineHeight: R,
129
+ lineHeightTextarea: R,
130
+ borderRadius: B,
131
+ iconSize: "16px",
132
+ groupLabelColor: a,
133
+ groupLabelTextColor: s,
134
+ textColor: s,
135
+ textColorDisabled: h,
136
+ textDecorationColor: s,
137
+ caretColor: p,
138
+ placeholderColor: z,
139
+ placeholderColorDisabled: E,
140
+ color: x,
141
+ colorDisabled: u,
142
+ colorFocus: x,
143
+ groupLabelBorder: `1px solid ${b}`,
144
+ border: `1px solid ${b}`,
145
+ borderHover: `1px solid ${r}`,
146
+ borderDisabled: `1px solid ${b}`,
147
+ borderFocus: `1px solid ${r}`,
148
+ boxShadowFocus: `0 0 0 2px ${(0, Re.changeColor)(p, { alpha: 0.2 })}`,
149
+ loadingColor: p,
150
+ // warning
151
+ loadingColorWarning: C,
152
+ borderWarning: `1px solid ${C}`,
153
+ borderHoverWarning: `1px solid ${$}`,
154
+ colorFocusWarning: x,
155
+ borderFocusWarning: `1px solid ${$}`,
156
+ boxShadowFocusWarning: `0 0 0 2px ${(0, Re.changeColor)(C, {
157
+ alpha: 0.2
158
+ })}`,
159
+ caretColorWarning: C,
160
+ // error
161
+ loadingColorError: D,
162
+ borderError: `1px solid ${D}`,
163
+ borderHoverError: `1px solid ${I}`,
164
+ colorFocusError: x,
165
+ borderFocusError: `1px solid ${I}`,
166
+ boxShadowFocusError: `0 0 0 2px ${(0, Re.changeColor)(D, {
167
+ alpha: 0.2
168
+ })}`,
169
+ caretColorError: D,
170
+ clearColor: F,
171
+ clearColorHover: T,
172
+ clearColorPressed: A,
173
+ iconColor: w,
174
+ iconColorDisabled: c,
175
+ iconColorHover: d,
176
+ iconColorPressed: M,
177
+ suffixTextColor: s
178
+ });
179
+ }
180
+ const qo = {
181
+ name: "Input",
182
+ common: Go.commonLight,
183
+ self: Uo
184
+ };
185
+ Ae.default = qo;
186
+ var we = {}, Oe = {};
187
+ Object.defineProperty(Oe, "__esModule", {
188
+ value: !0
189
+ });
190
+ const X = xe;
191
+ Oe.default = (0, X.cB)("input", [(0, X.cM)("rtl", `
192
+ direction: rtl;
193
+ `, [(0, X.cE)("prefix", {
194
+ marginRight: 0,
195
+ marginLeft: "4px"
196
+ }), (0, X.cE)("suffix", {
197
+ marginRight: "4px",
198
+ marginLeft: 0
199
+ }), (0, X.cM)("textarea", "width: 100%;", [(0, X.cB)("input-word-count", `
200
+ left: var(--n-padding-right);
201
+ right: unset;
202
+ `)]), (0, X.cB)("input-word-count", `
203
+ margin-left: 0;
204
+ margin-right: 4px;
205
+ `)])]);
206
+ var Xo = S && S.__importDefault || function(t) {
207
+ return t && t.__esModule ? t : { default: t };
208
+ };
209
+ Object.defineProperty(we, "__esModule", { value: !0 });
210
+ we.inputRtl = void 0;
211
+ const Yo = Xo(Oe);
212
+ we.inputRtl = {
213
+ name: "Input",
214
+ style: Yo.default
215
+ };
216
+ (function(t) {
217
+ var s = S && S.__importDefault || function(r) {
218
+ return r && r.__esModule ? r : { default: r };
219
+ };
220
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.inputRtl = t.inputLight = t.inputDark = void 0;
221
+ var v = Te;
222
+ Object.defineProperty(t, "inputDark", { enumerable: !0, get: function() {
223
+ return s(v).default;
224
+ } });
225
+ var h = Ae;
226
+ Object.defineProperty(t, "inputLight", { enumerable: !0, get: function() {
227
+ return s(h).default;
228
+ } });
229
+ var p = we;
230
+ Object.defineProperty(t, "inputRtl", { enumerable: !0, get: function() {
231
+ return p.inputRtl;
232
+ } });
233
+ })(Ie);
234
+ var se = {};
235
+ Object.defineProperty(se, "__esModule", { value: !0 });
236
+ se.inputInjectionKey = void 0;
237
+ const Jo = _e;
238
+ se.inputInjectionKey = (0, Jo.createInjectionKey)("n-input");
239
+ var ee = {};
240
+ Object.defineProperty(ee, "__esModule", { value: !0 });
241
+ ee.len = Qo;
242
+ ee.isEmptyInputValue = Zo;
243
+ ee.useCursor = et;
244
+ const Ke = le;
245
+ function Qo(t) {
246
+ let s = 0;
247
+ for (const v of t)
248
+ s++;
249
+ return s;
250
+ }
251
+ function Zo(t) {
252
+ return t === "" || t == null;
253
+ }
254
+ function et(t) {
255
+ const s = (0, Ke.ref)(null);
256
+ function v() {
257
+ const { value: r } = t;
258
+ if (!(r != null && r.focus)) {
259
+ p();
260
+ return;
261
+ }
262
+ const { selectionStart: x, selectionEnd: u, value: b } = r;
263
+ if (x == null || u == null) {
264
+ p();
265
+ return;
266
+ }
267
+ s.value = {
268
+ start: x,
269
+ end: u,
270
+ beforeText: b.slice(0, x),
271
+ afterText: b.slice(u)
272
+ };
273
+ }
274
+ function h() {
275
+ var r;
276
+ const { value: x } = s, { value: u } = t;
277
+ if (!x || !u)
278
+ return;
279
+ const { value: b } = u, { start: C, beforeText: $, afterText: D } = x;
280
+ let I = b.length;
281
+ if (b.endsWith(D))
282
+ I = b.length - D.length;
283
+ else if (b.startsWith($))
284
+ I = $.length;
285
+ else {
286
+ const B = $[C - 1], R = b.indexOf(B, C - 1);
287
+ R !== -1 && (I = R + 1);
288
+ }
289
+ (r = u.setSelectionRange) === null || r === void 0 || r.call(u, I, I);
290
+ }
291
+ function p() {
292
+ s.value = null;
293
+ }
294
+ return (0, Ke.watch)(t, p), {
295
+ recordCursor: v,
296
+ restoreCursor: h
297
+ };
298
+ }
299
+ var je = {};
300
+ Object.defineProperty(je, "__esModule", { value: !0 });
301
+ const me = le, rt = _e, ot = se, tt = ee;
302
+ je.default = (0, me.defineComponent)({
303
+ name: "InputWordCount",
304
+ setup(t, { slots: s }) {
305
+ const { mergedValueRef: v, maxlengthRef: h, mergedClsPrefixRef: p, countGraphemesRef: r } = (0, me.inject)(ot.inputInjectionKey), x = (0, me.computed)(() => {
306
+ const { value: u } = v;
307
+ return u === null || Array.isArray(u) ? 0 : (r.value || tt.len)(u);
308
+ });
309
+ return () => {
310
+ const { value: u } = h, { value: b } = v;
311
+ return (0, me.h)("span", { class: `${p.value}-input-word-count` }, (0, rt.resolveSlotWithProps)(s.default, {
312
+ value: b === null || Array.isArray(b) ? "" : b
313
+ }, () => [
314
+ u === void 0 ? x.value : `${x.value} / ${u}`
315
+ ]));
316
+ };
317
+ }
318
+ });
319
+ var ue = {};
320
+ Object.defineProperty(ue, "__esModule", {
321
+ value: !0
322
+ });
323
+ ue.safariStyle = void 0;
324
+ const i = xe;
325
+ ue.default = (0, i.cB)("input", `
326
+ max-width: 100%;
327
+ cursor: text;
328
+ line-height: 1.5;
329
+ z-index: auto;
330
+ outline: none;
331
+ box-sizing: border-box;
332
+ position: relative;
333
+ display: inline-flex;
334
+ border-radius: var(--n-border-radius);
335
+ background-color: var(--n-color);
336
+ transition: background-color .3s var(--n-bezier);
337
+ font-size: var(--n-font-size);
338
+ --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
339
+ `, [
340
+ // common
341
+ (0, i.cE)("input, textarea", `
342
+ overflow: hidden;
343
+ flex-grow: 1;
344
+ position: relative;
345
+ `),
346
+ (0, i.cE)("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder", `
347
+ box-sizing: border-box;
348
+ font-size: inherit;
349
+ line-height: 1.5;
350
+ font-family: inherit;
351
+ border: none;
352
+ outline: none;
353
+ background-color: #0000;
354
+ text-align: inherit;
355
+ transition:
356
+ -webkit-text-fill-color .3s var(--n-bezier),
357
+ caret-color .3s var(--n-bezier),
358
+ color .3s var(--n-bezier),
359
+ text-decoration-color .3s var(--n-bezier);
360
+ `),
361
+ (0, i.cE)("input-el, textarea-el", `
362
+ -webkit-appearance: none;
363
+ scrollbar-width: none;
364
+ width: 100%;
365
+ min-width: 0;
366
+ text-decoration-color: var(--n-text-decoration-color);
367
+ color: var(--n-text-color);
368
+ caret-color: var(--n-caret-color);
369
+ background-color: transparent;
370
+ `, [(0, i.c)("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb", `
371
+ width: 0;
372
+ height: 0;
373
+ display: none;
374
+ `), (0, i.c)("&::placeholder", `
375
+ color: #0000;
376
+ -webkit-text-fill-color: transparent !important;
377
+ `), (0, i.c)("&:-webkit-autofill ~", [(0, i.cE)("placeholder", "display: none;")])]),
378
+ (0, i.cM)("round", [(0, i.cNotM)("textarea", "border-radius: calc(var(--n-height) / 2);")]),
379
+ (0, i.cE)("placeholder", `
380
+ pointer-events: none;
381
+ position: absolute;
382
+ left: 0;
383
+ right: 0;
384
+ top: 0;
385
+ bottom: 0;
386
+ overflow: hidden;
387
+ color: var(--n-placeholder-color);
388
+ `, [(0, i.c)("span", `
389
+ width: 100%;
390
+ display: inline-block;
391
+ `)]),
392
+ (0, i.cM)("textarea", [(0, i.cE)("placeholder", "overflow: visible;")]),
393
+ (0, i.cNotM)("autosize", "width: 100%;"),
394
+ (0, i.cM)("autosize", [(0, i.cE)("textarea-el, input-el", `
395
+ position: absolute;
396
+ top: 0;
397
+ left: 0;
398
+ height: 100%;
399
+ `)]),
400
+ // input
401
+ (0, i.cB)("input-wrapper", `
402
+ overflow: hidden;
403
+ display: inline-flex;
404
+ flex-grow: 1;
405
+ position: relative;
406
+ padding-left: var(--n-padding-left);
407
+ padding-right: var(--n-padding-right);
408
+ `),
409
+ (0, i.cE)("input-mirror", `
410
+ padding: 0;
411
+ height: var(--n-height);
412
+ line-height: var(--n-height);
413
+ overflow: hidden;
414
+ visibility: hidden;
415
+ position: static;
416
+ white-space: pre;
417
+ pointer-events: none;
418
+ `),
419
+ (0, i.cE)("input-el", `
420
+ padding: 0;
421
+ height: var(--n-height);
422
+ line-height: var(--n-height);
423
+ `, [(0, i.c)("&[type=password]::-ms-reveal", "display: none;"), (0, i.c)("+", [(0, i.cE)("placeholder", `
424
+ display: flex;
425
+ align-items: center;
426
+ `)])]),
427
+ (0, i.cNotM)("textarea", [(0, i.cE)("placeholder", "white-space: nowrap;")]),
428
+ (0, i.cE)("eye", `
429
+ display: flex;
430
+ align-items: center;
431
+ justify-content: center;
432
+ transition: color .3s var(--n-bezier);
433
+ `),
434
+ // textarea
435
+ (0, i.cM)("textarea", "width: 100%;", [(0, i.cB)("input-word-count", `
436
+ position: absolute;
437
+ right: var(--n-padding-right);
438
+ bottom: var(--n-padding-vertical);
439
+ `), (0, i.cM)("resizable", [(0, i.cB)("input-wrapper", `
440
+ resize: vertical;
441
+ min-height: var(--n-height);
442
+ `)]), (0, i.cE)("textarea-el, textarea-mirror, placeholder", `
443
+ height: 100%;
444
+ padding-left: 0;
445
+ padding-right: 0;
446
+ padding-top: var(--n-padding-vertical);
447
+ padding-bottom: var(--n-padding-vertical);
448
+ word-break: break-word;
449
+ display: inline-block;
450
+ vertical-align: bottom;
451
+ box-sizing: border-box;
452
+ line-height: var(--n-line-height-textarea);
453
+ margin: 0;
454
+ resize: none;
455
+ white-space: pre-wrap;
456
+ scroll-padding-block-end: var(--n-padding-vertical);
457
+ `), (0, i.cE)("textarea-mirror", `
458
+ width: 100%;
459
+ pointer-events: none;
460
+ overflow: hidden;
461
+ visibility: hidden;
462
+ position: static;
463
+ white-space: pre-wrap;
464
+ overflow-wrap: break-word;
465
+ `)]),
466
+ // pair
467
+ (0, i.cM)("pair", [(0, i.cE)("input-el, placeholder", "text-align: center;"), (0, i.cE)("separator", `
468
+ display: flex;
469
+ align-items: center;
470
+ transition: color .3s var(--n-bezier);
471
+ color: var(--n-text-color);
472
+ white-space: nowrap;
473
+ `, [(0, i.cB)("icon", `
474
+ color: var(--n-icon-color);
475
+ `), (0, i.cB)("base-icon", `
476
+ color: var(--n-icon-color);
477
+ `)])]),
478
+ (0, i.cM)("disabled", `
479
+ cursor: not-allowed;
480
+ background-color: var(--n-color-disabled);
481
+ `, [(0, i.cE)("border", "border: var(--n-border-disabled);"), (0, i.cE)("input-el, textarea-el", `
482
+ cursor: not-allowed;
483
+ color: var(--n-text-color-disabled);
484
+ text-decoration-color: var(--n-text-color-disabled);
485
+ `), (0, i.cE)("placeholder", "color: var(--n-placeholder-color-disabled);"), (0, i.cE)("separator", "color: var(--n-text-color-disabled);", [(0, i.cB)("icon", `
486
+ color: var(--n-icon-color-disabled);
487
+ `), (0, i.cB)("base-icon", `
488
+ color: var(--n-icon-color-disabled);
489
+ `)]), (0, i.cB)("input-word-count", `
490
+ color: var(--n-count-text-color-disabled);
491
+ `), (0, i.cE)("suffix, prefix", "color: var(--n-text-color-disabled);", [(0, i.cB)("icon", `
492
+ color: var(--n-icon-color-disabled);
493
+ `), (0, i.cB)("internal-icon", `
494
+ color: var(--n-icon-color-disabled);
495
+ `)])]),
496
+ (0, i.cNotM)("disabled", [(0, i.cE)("eye", `
497
+ color: var(--n-icon-color);
498
+ cursor: pointer;
499
+ `, [(0, i.c)("&:hover", `
500
+ color: var(--n-icon-color-hover);
501
+ `), (0, i.c)("&:active", `
502
+ color: var(--n-icon-color-pressed);
503
+ `)]), (0, i.c)("&:hover", [(0, i.cE)("state-border", "border: var(--n-border-hover);")]), (0, i.cM)("focus", "background-color: var(--n-color-focus);", [(0, i.cE)("state-border", `
504
+ border: var(--n-border-focus);
505
+ box-shadow: var(--n-box-shadow-focus);
506
+ `)])]),
507
+ (0, i.cE)("border, state-border", `
508
+ box-sizing: border-box;
509
+ position: absolute;
510
+ left: 0;
511
+ right: 0;
512
+ top: 0;
513
+ bottom: 0;
514
+ pointer-events: none;
515
+ border-radius: inherit;
516
+ border: var(--n-border);
517
+ transition:
518
+ box-shadow .3s var(--n-bezier),
519
+ border-color .3s var(--n-bezier);
520
+ `),
521
+ (0, i.cE)("state-border", `
522
+ border-color: #0000;
523
+ z-index: 1;
524
+ `),
525
+ (0, i.cE)("prefix", "margin-right: 4px;"),
526
+ (0, i.cE)("suffix", `
527
+ margin-left: 4px;
528
+ `),
529
+ (0, i.cE)("suffix, prefix", `
530
+ transition: color .3s var(--n-bezier);
531
+ flex-wrap: nowrap;
532
+ flex-shrink: 0;
533
+ line-height: var(--n-height);
534
+ white-space: nowrap;
535
+ display: inline-flex;
536
+ align-items: center;
537
+ justify-content: center;
538
+ color: var(--n-suffix-text-color);
539
+ `, [(0, i.cB)("base-loading", `
540
+ font-size: var(--n-icon-size);
541
+ margin: 0 2px;
542
+ color: var(--n-loading-color);
543
+ `), (0, i.cB)("base-clear", `
544
+ font-size: var(--n-icon-size);
545
+ `, [(0, i.cE)("placeholder", [(0, i.cB)("base-icon", `
546
+ transition: color .3s var(--n-bezier);
547
+ color: var(--n-icon-color);
548
+ font-size: var(--n-icon-size);
549
+ `)])]), (0, i.c)(">", [(0, i.cB)("icon", `
550
+ transition: color .3s var(--n-bezier);
551
+ color: var(--n-icon-color);
552
+ font-size: var(--n-icon-size);
553
+ `)]), (0, i.cB)("base-icon", `
554
+ font-size: var(--n-icon-size);
555
+ `)]),
556
+ (0, i.cB)("input-word-count", `
557
+ pointer-events: none;
558
+ line-height: 1.5;
559
+ font-size: .85em;
560
+ color: var(--n-count-text-color);
561
+ transition: color .3s var(--n-bezier);
562
+ margin-left: 4px;
563
+ font-variant: tabular-nums;
564
+ `),
565
+ ["warning", "error"].map((t) => (0, i.cM)(`${t}-status`, [(0, i.cNotM)("disabled", [(0, i.cB)("base-loading", `
566
+ color: var(--n-loading-color-${t})
567
+ `), (0, i.cE)("input-el, textarea-el", `
568
+ caret-color: var(--n-caret-color-${t});
569
+ `), (0, i.cE)("state-border", `
570
+ border: var(--n-border-${t});
571
+ `), (0, i.c)("&:hover", [(0, i.cE)("state-border", `
572
+ border: var(--n-border-hover-${t});
573
+ `)]), (0, i.c)("&:focus", `
574
+ background-color: var(--n-color-focus-${t});
575
+ `, [(0, i.cE)("state-border", `
576
+ box-shadow: var(--n-box-shadow-focus-${t});
577
+ border: var(--n-border-focus-${t});
578
+ `)]), (0, i.cM)("focus", `
579
+ background-color: var(--n-color-focus-${t});
580
+ `, [(0, i.cE)("state-border", `
581
+ box-shadow: var(--n-box-shadow-focus-${t});
582
+ border: var(--n-border-focus-${t});
583
+ `)])])]))
584
+ ]);
585
+ ue.safariStyle = (0, i.cB)("input", [(0, i.cM)("disabled", [(0, i.cE)("input-el, textarea-el", `
586
+ -webkit-text-fill-color: var(--n-text-color-disabled);
587
+ `)])]);
588
+ (function(t) {
589
+ var s = S && S.__createBinding || (Object.create ? function(n, g, a, F) {
590
+ F === void 0 && (F = a);
591
+ var T = Object.getOwnPropertyDescriptor(g, a);
592
+ (!T || ("get" in T ? !g.__esModule : T.writable || T.configurable)) && (T = { enumerable: !0, get: function() {
593
+ return g[a];
594
+ } }), Object.defineProperty(n, F, T);
595
+ } : function(n, g, a, F) {
596
+ F === void 0 && (F = a), n[F] = g[a];
597
+ }), v = S && S.__setModuleDefault || (Object.create ? function(n, g) {
598
+ Object.defineProperty(n, "default", { enumerable: !0, value: g });
599
+ } : function(n, g) {
600
+ n.default = g;
601
+ }), h = S && S.__importStar || function(n) {
602
+ if (n && n.__esModule) return n;
603
+ var g = {};
604
+ if (n != null) for (var a in n) a !== "default" && Object.prototype.hasOwnProperty.call(n, a) && s(g, n, a);
605
+ return v(g, n), g;
606
+ }, p = S && S.__importDefault || function(n) {
607
+ return n && n.__esModule ? n : { default: n };
608
+ };
609
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.inputProps = void 0;
610
+ const r = le, x = Do, u = Fe, b = Io, C = Ao, $ = Je, D = Oo, I = To, B = jo, R = De, f = _e, H = Ie, N = se, j = ee, V = p(je), k = h(ue);
611
+ t.inputProps = Object.assign(Object.assign({}, R.useTheme.props), {
612
+ bordered: {
613
+ type: Boolean,
614
+ default: void 0
615
+ },
616
+ type: {
617
+ type: String,
618
+ default: "text"
619
+ },
620
+ placeholder: [Array, String],
621
+ defaultValue: {
622
+ type: [String, Array],
623
+ default: null
624
+ },
625
+ value: [String, Array],
626
+ disabled: {
627
+ type: Boolean,
628
+ default: void 0
629
+ },
630
+ size: String,
631
+ rows: {
632
+ type: [Number, String],
633
+ default: 3
634
+ },
635
+ round: Boolean,
636
+ minlength: [String, Number],
637
+ maxlength: [String, Number],
638
+ clearable: Boolean,
639
+ autosize: {
640
+ type: [Boolean, Object],
641
+ default: !1
642
+ },
643
+ pair: Boolean,
644
+ separator: String,
645
+ readonly: {
646
+ type: [String, Boolean],
647
+ default: !1
648
+ },
649
+ passivelyActivated: Boolean,
650
+ showPasswordOn: String,
651
+ stateful: {
652
+ type: Boolean,
653
+ default: !0
654
+ },
655
+ autofocus: Boolean,
656
+ inputProps: Object,
657
+ resizable: {
658
+ type: Boolean,
659
+ default: !0
660
+ },
661
+ showCount: Boolean,
662
+ loading: {
663
+ type: Boolean,
664
+ default: void 0
665
+ },
666
+ allowInput: Function,
667
+ renderCount: Function,
668
+ onMousedown: Function,
669
+ onKeydown: Function,
670
+ onKeyup: [Function, Array],
671
+ onInput: [Function, Array],
672
+ onFocus: [Function, Array],
673
+ onBlur: [Function, Array],
674
+ onClick: [Function, Array],
675
+ onChange: [Function, Array],
676
+ onClear: [Function, Array],
677
+ countGraphemes: Function,
678
+ status: String,
679
+ "onUpdate:value": [Function, Array],
680
+ onUpdateValue: [Function, Array],
681
+ /** private */
682
+ textDecoration: [String, Array],
683
+ attrSize: {
684
+ type: Number,
685
+ default: 20
686
+ },
687
+ onInputBlur: [Function, Array],
688
+ onInputFocus: [Function, Array],
689
+ onDeactivate: [Function, Array],
690
+ onActivate: [Function, Array],
691
+ onWrapperFocus: [Function, Array],
692
+ onWrapperBlur: [Function, Array],
693
+ internalDeactivateOnEnter: Boolean,
694
+ internalForceFocus: Boolean,
695
+ internalLoadingBeforeSuffix: {
696
+ type: Boolean,
697
+ default: !0
698
+ },
699
+ /** deprecated */
700
+ showPasswordToggle: Boolean
701
+ }), t.default = (0, r.defineComponent)({
702
+ name: "Input",
703
+ props: t.inputProps,
704
+ setup(n) {
705
+ process.env.NODE_ENV !== "production" && (0, r.watchEffect)(() => {
706
+ n.showPasswordToggle && (0, f.warnOnce)("input", '`show-password-toggle` is deprecated, please use `showPasswordOn="click"` instead');
707
+ });
708
+ const { mergedClsPrefixRef: g, mergedBorderedRef: a, inlineThemeDisabled: F, mergedRtlRef: T } = (0, R.useConfig)(n), A = (0, R.useTheme)("Input", "-input", k.default, H.inputLight, n, g);
709
+ $.isSafari && (0, R.useStyle)("-input-safari", k.safariStyle, g);
710
+ const z = (0, r.ref)(null), E = (0, r.ref)(null), w = (0, r.ref)(null), c = (0, r.ref)(null), d = (0, r.ref)(null), M = (0, r.ref)(null), O = (0, r.ref)(null), ce = (0, j.useCursor)(O), G = (0, r.ref)(null), { localeRef: er } = (0, R.useLocale)("Input"), de = (0, r.ref)(n.defaultValue), rr = (0, r.toRef)(n, "value"), W = (0, x.useMergedState)(rr, de), re = (0, R.useFormItem)(n), { mergedSizeRef: Ce, mergedDisabledRef: Y, mergedStatusRef: or } = re, J = (0, r.ref)(!1), oe = (0, r.ref)(!1), L = (0, r.ref)(!1), te = (0, r.ref)(!1);
711
+ let Ee = null;
712
+ const Pe = (0, r.computed)(() => {
713
+ const { placeholder: e, pair: o } = n;
714
+ return o ? Array.isArray(e) ? e : e === void 0 ? ["", ""] : [e, e] : e === void 0 ? [er.value.placeholder] : [e];
715
+ }), tr = (0, r.computed)(() => {
716
+ const { value: e } = L, { value: o } = W, { value: l } = Pe;
717
+ return !e && ((0, j.isEmptyInputValue)(o) || Array.isArray(o) && (0, j.isEmptyInputValue)(o[0])) && l[0];
718
+ }), nr = (0, r.computed)(() => {
719
+ const { value: e } = L, { value: o } = W, { value: l } = Pe;
720
+ return !e && l[1] && ((0, j.isEmptyInputValue)(o) || Array.isArray(o) && (0, j.isEmptyInputValue)(o[1]));
721
+ }), Se = (0, x.useMemo)(() => n.internalForceFocus || J.value), ir = (0, x.useMemo)(() => {
722
+ if (Y.value || n.readonly || !n.clearable || !Se.value && !oe.value)
723
+ return !1;
724
+ const { value: e } = W, { value: o } = Se;
725
+ return n.pair ? !!(Array.isArray(e) && (e[0] || e[1])) && (oe.value || o) : !!e && (oe.value || o);
726
+ }), $e = (0, r.computed)(() => {
727
+ const { showPasswordOn: e } = n;
728
+ if (e)
729
+ return e;
730
+ if (n.showPasswordToggle)
731
+ return "click";
732
+ }), ne = (0, r.ref)(!1), ar = (0, r.computed)(() => {
733
+ const { textDecoration: e } = n;
734
+ return e ? Array.isArray(e) ? e.map((o) => ({
735
+ textDecoration: o
736
+ })) : [
737
+ {
738
+ textDecoration: e
739
+ }
740
+ ] : ["", ""];
741
+ }), ke = (0, r.ref)(void 0), lr = () => {
742
+ var e, o;
743
+ if (n.type === "textarea") {
744
+ const { autosize: l } = n;
745
+ if (l && (ke.value = (o = (e = G.value) === null || e === void 0 ? void 0 : e.$el) === null || o === void 0 ? void 0 : o.offsetWidth), !E.value || typeof l == "boolean")
746
+ return;
747
+ const { paddingTop: _, paddingBottom: P, lineHeight: m } = window.getComputedStyle(E.value), K = Number(_.slice(0, -2)), U = Number(P.slice(0, -2)), q = Number(m.slice(0, -2)), { value: ie } = w;
748
+ if (!ie)
749
+ return;
750
+ if (l.minRows) {
751
+ const ae = Math.max(l.minRows, 1), Me = `${K + U + q * ae}px`;
752
+ ie.style.minHeight = Me;
753
+ }
754
+ if (l.maxRows) {
755
+ const ae = `${K + U + q * l.maxRows}px`;
756
+ ie.style.maxHeight = ae;
757
+ }
758
+ }
759
+ }, sr = (0, r.computed)(() => {
760
+ const { maxlength: e } = n;
761
+ return e === void 0 ? void 0 : Number(e);
762
+ });
763
+ (0, r.onMounted)(() => {
764
+ const { value: e } = W;
765
+ Array.isArray(e) || ze(e);
766
+ });
767
+ const ur = (0, r.getCurrentInstance)().proxy;
768
+ function fe(e, o) {
769
+ const { onUpdateValue: l, "onUpdate:value": _, onInput: P } = n, { nTriggerFormInput: m } = re;
770
+ l && (0, f.call)(l, e, o), _ && (0, f.call)(_, e, o), P && (0, f.call)(P, e, o), de.value = e, m();
771
+ }
772
+ function pe(e, o) {
773
+ const { onChange: l } = n, { nTriggerFormChange: _ } = re;
774
+ l && (0, f.call)(l, e, o), de.value = e, _();
775
+ }
776
+ function cr(e) {
777
+ const { onBlur: o } = n, { nTriggerFormBlur: l } = re;
778
+ o && (0, f.call)(o, e), l();
779
+ }
780
+ function dr(e) {
781
+ const { onFocus: o } = n, { nTriggerFormFocus: l } = re;
782
+ o && (0, f.call)(o, e), l();
783
+ }
784
+ function fr(e) {
785
+ const { onClear: o } = n;
786
+ o && (0, f.call)(o, e);
787
+ }
788
+ function pr(e) {
789
+ const { onInputBlur: o } = n;
790
+ o && (0, f.call)(o, e);
791
+ }
792
+ function hr(e) {
793
+ const { onInputFocus: o } = n;
794
+ o && (0, f.call)(o, e);
795
+ }
796
+ function vr() {
797
+ const { onDeactivate: e } = n;
798
+ e && (0, f.call)(e);
799
+ }
800
+ function br() {
801
+ const { onActivate: e } = n;
802
+ e && (0, f.call)(e);
803
+ }
804
+ function gr(e) {
805
+ const { onClick: o } = n;
806
+ o && (0, f.call)(o, e);
807
+ }
808
+ function mr(e) {
809
+ const { onWrapperFocus: o } = n;
810
+ o && (0, f.call)(o, e);
811
+ }
812
+ function xr(e) {
813
+ const { onWrapperBlur: o } = n;
814
+ o && (0, f.call)(o, e);
815
+ }
816
+ function _r() {
817
+ L.value = !0;
818
+ }
819
+ function yr(e) {
820
+ L.value = !1, e.target === M.value ? he(e, 1) : he(e, 0);
821
+ }
822
+ function he(e, o = 0, l = "input") {
823
+ const _ = e.target.value;
824
+ if (ze(_), e instanceof InputEvent && !e.isComposing && (L.value = !1), n.type === "textarea") {
825
+ const { value: m } = G;
826
+ m && m.syncUnifiedContainer();
827
+ }
828
+ if (Ee = _, L.value)
829
+ return;
830
+ ce.recordCursor();
831
+ const P = wr(_);
832
+ if (P)
833
+ if (!n.pair)
834
+ l === "input" ? fe(_, { source: o }) : pe(_, { source: o });
835
+ else {
836
+ let { value: m } = W;
837
+ Array.isArray(m) ? m = [m[0], m[1]] : m = ["", ""], m[o] = _, l === "input" ? fe(m, { source: o }) : pe(m, { source: o });
838
+ }
839
+ ur.$forceUpdate(), P || (0, r.nextTick)(ce.restoreCursor);
840
+ }
841
+ function wr(e) {
842
+ const { countGraphemes: o, maxlength: l, minlength: _ } = n;
843
+ if (o) {
844
+ let m;
845
+ if (l !== void 0 && (m === void 0 && (m = o(e)), m > Number(l)) || _ !== void 0 && (m === void 0 && (m = o(e)), m < Number(l)))
846
+ return !1;
847
+ }
848
+ const { allowInput: P } = n;
849
+ return typeof P == "function" ? P(e) : !0;
850
+ }
851
+ function Cr(e) {
852
+ pr(e), e.relatedTarget === z.value && vr(), e.relatedTarget !== null && (e.relatedTarget === d.value || e.relatedTarget === M.value || e.relatedTarget === E.value) || (te.value = !1), ve(e, "blur"), O.value = null;
853
+ }
854
+ function Er(e, o) {
855
+ hr(e), J.value = !0, te.value = !0, br(), ve(e, "focus"), o === 0 ? O.value = d.value : o === 1 ? O.value = M.value : o === 2 && (O.value = E.value);
856
+ }
857
+ function Pr(e) {
858
+ n.passivelyActivated && (xr(e), ve(e, "blur"));
859
+ }
860
+ function Sr(e) {
861
+ n.passivelyActivated && (J.value = !0, mr(e), ve(e, "focus"));
862
+ }
863
+ function ve(e, o) {
864
+ e.relatedTarget !== null && (e.relatedTarget === d.value || e.relatedTarget === M.value || e.relatedTarget === E.value || e.relatedTarget === z.value) || (o === "focus" ? (dr(e), J.value = !0) : o === "blur" && (cr(e), J.value = !1));
865
+ }
866
+ function $r(e, o) {
867
+ he(e, o, "change");
868
+ }
869
+ function Br(e) {
870
+ gr(e);
871
+ }
872
+ function zr(e) {
873
+ fr(e), Le();
874
+ }
875
+ function Le() {
876
+ n.pair ? (fe(["", ""], { source: "clear" }), pe(["", ""], { source: "clear" })) : (fe("", { source: "clear" }), pe("", { source: "clear" }));
877
+ }
878
+ function Mr(e) {
879
+ const { onMousedown: o } = n;
880
+ o && o(e);
881
+ const { tagName: l } = e.target;
882
+ if (l !== "INPUT" && l !== "TEXTAREA") {
883
+ if (n.resizable) {
884
+ const { value: _ } = z;
885
+ if (_) {
886
+ const { left: P, top: m, width: K, height: U } = _.getBoundingClientRect(), q = 14;
887
+ if (P + K - q < e.clientX && e.clientX < P + K && m + U - q < e.clientY && e.clientY < m + U)
888
+ return;
889
+ }
890
+ }
891
+ e.preventDefault(), J.value || He();
892
+ }
893
+ }
894
+ function Rr() {
895
+ var e;
896
+ oe.value = !0, n.type === "textarea" && ((e = G.value) === null || e === void 0 || e.handleMouseEnterWrapper());
897
+ }
898
+ function Fr() {
899
+ var e;
900
+ oe.value = !1, n.type === "textarea" && ((e = G.value) === null || e === void 0 || e.handleMouseLeaveWrapper());
901
+ }
902
+ function Dr() {
903
+ Y.value || $e.value === "click" && (ne.value = !ne.value);
904
+ }
905
+ function Ir(e) {
906
+ if (Y.value)
907
+ return;
908
+ e.preventDefault();
909
+ const o = (_) => {
910
+ _.preventDefault(), (0, C.off)("mouseup", document, o);
911
+ };
912
+ if ((0, C.on)("mouseup", document, o), $e.value !== "mousedown")
913
+ return;
914
+ ne.value = !0;
915
+ const l = () => {
916
+ ne.value = !1, (0, C.off)("mouseup", document, l);
917
+ };
918
+ (0, C.on)("mouseup", document, l);
919
+ }
920
+ function Tr(e) {
921
+ n.onKeyup && (0, f.call)(n.onKeyup, e);
922
+ }
923
+ function Ar(e) {
924
+ switch (n.onKeydown && (0, f.call)(n.onKeydown, e), e.key) {
925
+ case "Escape":
926
+ Be();
927
+ break;
928
+ case "Enter":
929
+ Or(e);
930
+ break;
931
+ }
932
+ }
933
+ function Or(e) {
934
+ var o, l;
935
+ if (n.passivelyActivated) {
936
+ const { value: _ } = te;
937
+ if (_) {
938
+ n.internalDeactivateOnEnter && Be();
939
+ return;
940
+ }
941
+ e.preventDefault(), n.type === "textarea" ? (o = E.value) === null || o === void 0 || o.focus() : (l = d.value) === null || l === void 0 || l.focus();
942
+ }
943
+ }
944
+ function Be() {
945
+ n.passivelyActivated && (te.value = !1, (0, r.nextTick)(() => {
946
+ var e;
947
+ (e = z.value) === null || e === void 0 || e.focus();
948
+ }));
949
+ }
950
+ function He() {
951
+ var e, o, l;
952
+ Y.value || (n.passivelyActivated ? (e = z.value) === null || e === void 0 || e.focus() : ((o = E.value) === null || o === void 0 || o.focus(), (l = d.value) === null || l === void 0 || l.focus()));
953
+ }
954
+ function jr() {
955
+ var e;
956
+ !((e = z.value) === null || e === void 0) && e.contains(document.activeElement) && document.activeElement.blur();
957
+ }
958
+ function Wr() {
959
+ var e, o;
960
+ (e = E.value) === null || e === void 0 || e.select(), (o = d.value) === null || o === void 0 || o.select();
961
+ }
962
+ function Vr() {
963
+ Y.value || (E.value ? E.value.focus() : d.value && d.value.focus());
964
+ }
965
+ function kr() {
966
+ const { value: e } = z;
967
+ e != null && e.contains(document.activeElement) && e !== document.activeElement && Be();
968
+ }
969
+ function Lr(e) {
970
+ if (n.type === "textarea") {
971
+ const { value: o } = E;
972
+ o == null || o.scrollTo(e);
973
+ } else {
974
+ const { value: o } = d;
975
+ o == null || o.scrollTo(e);
976
+ }
977
+ }
978
+ function ze(e) {
979
+ const { type: o, pair: l, autosize: _ } = n;
980
+ if (!l && _)
981
+ if (o === "textarea") {
982
+ const { value: P } = w;
983
+ P && (P.textContent = `${e ?? ""}\r
984
+ `);
985
+ } else {
986
+ const { value: P } = c;
987
+ P && (e ? P.textContent = e : P.innerHTML = "&nbsp;");
988
+ }
989
+ }
990
+ function Hr() {
991
+ lr();
992
+ }
993
+ const Ne = (0, r.ref)({
994
+ top: "0"
995
+ });
996
+ function Nr(e) {
997
+ var o;
998
+ const { scrollTop: l } = e.target;
999
+ Ne.value.top = `${-l}px`, (o = G.value) === null || o === void 0 || o.syncUnifiedContainer();
1000
+ }
1001
+ let be = null;
1002
+ (0, r.watchEffect)(() => {
1003
+ const { autosize: e, type: o } = n;
1004
+ e && o === "textarea" ? be = (0, r.watch)(W, (l) => {
1005
+ !Array.isArray(l) && l !== Ee && ze(l);
1006
+ }) : be == null || be();
1007
+ });
1008
+ let ge = null;
1009
+ (0, r.watchEffect)(() => {
1010
+ n.type === "textarea" ? ge = (0, r.watch)(W, (e) => {
1011
+ var o;
1012
+ !Array.isArray(e) && e !== Ee && ((o = G.value) === null || o === void 0 || o.syncUnifiedContainer());
1013
+ }) : ge == null || ge();
1014
+ }), (0, r.provide)(N.inputInjectionKey, {
1015
+ mergedValueRef: W,
1016
+ maxlengthRef: sr,
1017
+ mergedClsPrefixRef: g,
1018
+ countGraphemesRef: (0, r.toRef)(n, "countGraphemes")
1019
+ });
1020
+ const Gr = {
1021
+ wrapperElRef: z,
1022
+ inputElRef: d,
1023
+ textareaElRef: E,
1024
+ isCompositing: L,
1025
+ clear: Le,
1026
+ focus: He,
1027
+ blur: jr,
1028
+ select: Wr,
1029
+ deactivate: kr,
1030
+ activate: Vr,
1031
+ scrollTo: Lr
1032
+ }, Kr = (0, I.useRtl)("Input", T, g), Ge = (0, r.computed)(() => {
1033
+ const { value: e } = Ce, { common: { cubicBezierEaseInOut: o }, self: { color: l, borderRadius: _, textColor: P, caretColor: m, caretColorError: K, caretColorWarning: U, textDecorationColor: q, border: ie, borderDisabled: ae, borderHover: Me, borderFocus: Ur, placeholderColor: qr, placeholderColorDisabled: Xr, lineHeightTextarea: Yr, colorDisabled: Jr, colorFocus: Qr, textColorDisabled: Zr, boxShadowFocus: eo, iconSize: ro, colorFocusWarning: oo, boxShadowFocusWarning: to, borderWarning: no, borderFocusWarning: io, borderHoverWarning: ao, colorFocusError: lo, boxShadowFocusError: so, borderError: uo, borderFocusError: co, borderHoverError: fo, clearSize: po, clearColor: ho, clearColorHover: vo, clearColorPressed: bo, iconColor: go, iconColorDisabled: mo, suffixTextColor: xo, countTextColor: _o, countTextColorDisabled: yo, iconColorHover: wo, iconColorPressed: Co, loadingColor: Eo, loadingColorError: Po, loadingColorWarning: So, [(0, f.createKey)("padding", e)]: $o, [(0, f.createKey)("fontSize", e)]: Bo, [(0, f.createKey)("height", e)]: zo } } = A.value, { left: Mo, right: Ro } = (0, u.getPadding)($o);
1034
+ return {
1035
+ "--n-bezier": o,
1036
+ "--n-count-text-color": _o,
1037
+ "--n-count-text-color-disabled": yo,
1038
+ "--n-color": l,
1039
+ "--n-font-size": Bo,
1040
+ "--n-border-radius": _,
1041
+ "--n-height": zo,
1042
+ "--n-padding-left": Mo,
1043
+ "--n-padding-right": Ro,
1044
+ "--n-text-color": P,
1045
+ "--n-caret-color": m,
1046
+ "--n-text-decoration-color": q,
1047
+ "--n-border": ie,
1048
+ "--n-border-disabled": ae,
1049
+ "--n-border-hover": Me,
1050
+ "--n-border-focus": Ur,
1051
+ "--n-placeholder-color": qr,
1052
+ "--n-placeholder-color-disabled": Xr,
1053
+ "--n-icon-size": ro,
1054
+ "--n-line-height-textarea": Yr,
1055
+ "--n-color-disabled": Jr,
1056
+ "--n-color-focus": Qr,
1057
+ "--n-text-color-disabled": Zr,
1058
+ "--n-box-shadow-focus": eo,
1059
+ "--n-loading-color": Eo,
1060
+ // form warning
1061
+ "--n-caret-color-warning": U,
1062
+ "--n-color-focus-warning": oo,
1063
+ "--n-box-shadow-focus-warning": to,
1064
+ "--n-border-warning": no,
1065
+ "--n-border-focus-warning": io,
1066
+ "--n-border-hover-warning": ao,
1067
+ "--n-loading-color-warning": So,
1068
+ // form error
1069
+ "--n-caret-color-error": K,
1070
+ "--n-color-focus-error": lo,
1071
+ "--n-box-shadow-focus-error": so,
1072
+ "--n-border-error": uo,
1073
+ "--n-border-focus-error": co,
1074
+ "--n-border-hover-error": fo,
1075
+ "--n-loading-color-error": Po,
1076
+ // clear-button
1077
+ "--n-clear-color": ho,
1078
+ "--n-clear-size": po,
1079
+ "--n-clear-color-hover": vo,
1080
+ "--n-clear-color-pressed": bo,
1081
+ "--n-icon-color": go,
1082
+ "--n-icon-color-hover": wo,
1083
+ "--n-icon-color-pressed": Co,
1084
+ "--n-icon-color-disabled": mo,
1085
+ "--n-suffix-text-color": xo
1086
+ };
1087
+ }), Q = F ? (0, R.useThemeClass)("input", (0, r.computed)(() => {
1088
+ const { value: e } = Ce;
1089
+ return e[0];
1090
+ }), Ge, n) : void 0;
1091
+ return Object.assign(Object.assign({}, Gr), {
1092
+ // DOM ref
1093
+ wrapperElRef: z,
1094
+ inputElRef: d,
1095
+ inputMirrorElRef: c,
1096
+ inputEl2Ref: M,
1097
+ textareaElRef: E,
1098
+ textareaMirrorElRef: w,
1099
+ textareaScrollbarInstRef: G,
1100
+ // value
1101
+ rtlEnabled: Kr,
1102
+ uncontrolledValue: de,
1103
+ mergedValue: W,
1104
+ passwordVisible: ne,
1105
+ mergedPlaceholder: Pe,
1106
+ showPlaceholder1: tr,
1107
+ showPlaceholder2: nr,
1108
+ mergedFocus: Se,
1109
+ isComposing: L,
1110
+ activated: te,
1111
+ showClearButton: ir,
1112
+ mergedSize: Ce,
1113
+ mergedDisabled: Y,
1114
+ textDecorationStyle: ar,
1115
+ mergedClsPrefix: g,
1116
+ mergedBordered: a,
1117
+ mergedShowPasswordOn: $e,
1118
+ placeholderStyle: Ne,
1119
+ mergedStatus: or,
1120
+ textAreaScrollContainerWidth: ke,
1121
+ // methods
1122
+ handleTextAreaScroll: Nr,
1123
+ handleCompositionStart: _r,
1124
+ handleCompositionEnd: yr,
1125
+ handleInput: he,
1126
+ handleInputBlur: Cr,
1127
+ handleInputFocus: Er,
1128
+ handleWrapperBlur: Pr,
1129
+ handleWrapperFocus: Sr,
1130
+ handleMouseEnter: Rr,
1131
+ handleMouseLeave: Fr,
1132
+ handleMouseDown: Mr,
1133
+ handleChange: $r,
1134
+ handleClick: Br,
1135
+ handleClear: zr,
1136
+ handlePasswordToggleClick: Dr,
1137
+ handlePasswordToggleMousedown: Ir,
1138
+ handleWrapperKeydown: Ar,
1139
+ handleWrapperKeyup: Tr,
1140
+ handleTextAreaMirrorResize: Hr,
1141
+ getTextareaScrollContainer: () => E.value,
1142
+ mergedTheme: A,
1143
+ cssVars: F ? void 0 : Ge,
1144
+ themeClass: Q == null ? void 0 : Q.themeClass,
1145
+ onRender: Q == null ? void 0 : Q.onRender
1146
+ });
1147
+ },
1148
+ render() {
1149
+ var n, g;
1150
+ const { mergedClsPrefix: a, mergedStatus: F, themeClass: T, type: A, countGraphemes: z, onRender: E } = this, w = this.$slots;
1151
+ return E == null || E(), (0, r.h)(
1152
+ "div",
1153
+ { ref: "wrapperElRef", class: [
1154
+ `${a}-input`,
1155
+ T,
1156
+ F && `${a}-input--${F}-status`,
1157
+ {
1158
+ [`${a}-input--rtl`]: this.rtlEnabled,
1159
+ [`${a}-input--disabled`]: this.mergedDisabled,
1160
+ [`${a}-input--textarea`]: A === "textarea",
1161
+ [`${a}-input--resizable`]: this.resizable && !this.autosize,
1162
+ [`${a}-input--autosize`]: this.autosize,
1163
+ [`${a}-input--round`]: this.round && A !== "textarea",
1164
+ [`${a}-input--pair`]: this.pair,
1165
+ [`${a}-input--focus`]: this.mergedFocus,
1166
+ [`${a}-input--stateful`]: this.stateful
1167
+ }
1168
+ ], style: this.cssVars, tabindex: !this.mergedDisabled && this.passivelyActivated && !this.activated ? 0 : void 0, onFocus: this.handleWrapperFocus, onBlur: this.handleWrapperBlur, onClick: this.handleClick, onMousedown: this.handleMouseDown, onMouseenter: this.handleMouseEnter, onMouseleave: this.handleMouseLeave, onCompositionstart: this.handleCompositionStart, onCompositionend: this.handleCompositionEnd, onKeyup: this.handleWrapperKeyup, onKeydown: this.handleWrapperKeydown },
1169
+ (0, r.h)(
1170
+ "div",
1171
+ { class: `${a}-input-wrapper` },
1172
+ (0, f.resolveWrappedSlot)(w.prefix, (c) => c && (0, r.h)("div", { class: `${a}-input__prefix` }, c)),
1173
+ A === "textarea" ? (0, r.h)(B.NScrollbar, { ref: "textareaScrollbarInstRef", class: `${a}-input__textarea`, container: this.getTextareaScrollContainer, triggerDisplayManually: !0, useUnifiedContainer: !0, internalHoistYRail: !0 }, {
1174
+ default: () => {
1175
+ var c, d;
1176
+ const { textAreaScrollContainerWidth: M } = this, O = {
1177
+ width: this.autosize && M && `${M}px`
1178
+ };
1179
+ return (0, r.h)(
1180
+ r.Fragment,
1181
+ null,
1182
+ (0, r.h)("textarea", Object.assign({}, this.inputProps, { ref: "textareaElRef", class: [
1183
+ `${a}-input__textarea-el`,
1184
+ (c = this.inputProps) === null || c === void 0 ? void 0 : c.class
1185
+ ], autofocus: this.autofocus, rows: Number(this.rows), placeholder: this.placeholder, value: this.mergedValue, disabled: this.mergedDisabled, maxlength: z ? void 0 : this.maxlength, minlength: z ? void 0 : this.minlength, readonly: this.readonly, tabindex: this.passivelyActivated && !this.activated ? -1 : void 0, style: [
1186
+ this.textDecorationStyle[0],
1187
+ (d = this.inputProps) === null || d === void 0 ? void 0 : d.style,
1188
+ O
1189
+ ], onBlur: this.handleInputBlur, onFocus: (ce) => {
1190
+ this.handleInputFocus(ce, 2);
1191
+ }, onInput: this.handleInput, onChange: this.handleChange, onScroll: this.handleTextAreaScroll })),
1192
+ this.showPlaceholder1 ? (0, r.h)("div", { class: `${a}-input__placeholder`, style: [
1193
+ this.placeholderStyle,
1194
+ O
1195
+ ], key: "placeholder" }, this.mergedPlaceholder[0]) : null,
1196
+ this.autosize ? (0, r.h)(b.VResizeObserver, { onResize: this.handleTextAreaMirrorResize }, {
1197
+ default: () => (0, r.h)("div", { ref: "textareaMirrorElRef", class: `${a}-input__textarea-mirror`, key: "mirror" })
1198
+ }) : null
1199
+ );
1200
+ }
1201
+ }) : (0, r.h)(
1202
+ "div",
1203
+ { class: `${a}-input__input` },
1204
+ (0, r.h)("input", Object.assign({ type: A === "password" && this.mergedShowPasswordOn && this.passwordVisible ? "text" : A }, this.inputProps, { ref: "inputElRef", class: [
1205
+ `${a}-input__input-el`,
1206
+ (n = this.inputProps) === null || n === void 0 ? void 0 : n.class
1207
+ ], style: [
1208
+ this.textDecorationStyle[0],
1209
+ (g = this.inputProps) === null || g === void 0 ? void 0 : g.style
1210
+ ], tabindex: this.passivelyActivated && !this.activated ? -1 : void 0, placeholder: this.mergedPlaceholder[0], disabled: this.mergedDisabled, maxlength: z ? void 0 : this.maxlength, minlength: z ? void 0 : this.minlength, value: Array.isArray(this.mergedValue) ? this.mergedValue[0] : this.mergedValue, readonly: this.readonly, autofocus: this.autofocus, size: this.attrSize, onBlur: this.handleInputBlur, onFocus: (c) => {
1211
+ this.handleInputFocus(c, 0);
1212
+ }, onInput: (c) => {
1213
+ this.handleInput(c, 0);
1214
+ }, onChange: (c) => {
1215
+ this.handleChange(c, 0);
1216
+ } })),
1217
+ this.showPlaceholder1 ? (0, r.h)(
1218
+ "div",
1219
+ { class: `${a}-input__placeholder` },
1220
+ (0, r.h)("span", null, this.mergedPlaceholder[0])
1221
+ ) : null,
1222
+ this.autosize ? (0, r.h)("div", { class: `${a}-input__input-mirror`, key: "mirror", ref: "inputMirrorElRef" }, " ") : null
1223
+ ),
1224
+ !this.pair && (0, f.resolveWrappedSlot)(w.suffix, (c) => c || this.clearable || this.showCount || this.mergedShowPasswordOn || this.loading !== void 0 ? (0, r.h)("div", { class: `${a}-input__suffix` }, [
1225
+ (0, f.resolveWrappedSlot)(w["clear-icon-placeholder"], (d) => (this.clearable || d) && (0, r.h)(B.NBaseClear, { clsPrefix: a, show: this.showClearButton, onClear: this.handleClear }, {
1226
+ placeholder: () => d,
1227
+ icon: () => {
1228
+ var M, O;
1229
+ return (O = (M = this.$slots)["clear-icon"]) === null || O === void 0 ? void 0 : O.call(M);
1230
+ }
1231
+ })),
1232
+ this.internalLoadingBeforeSuffix ? null : c,
1233
+ this.loading !== void 0 ? (0, r.h)(B.NBaseSuffix, { clsPrefix: a, loading: this.loading, showArrow: !1, showClear: !1, style: this.cssVars }) : null,
1234
+ this.internalLoadingBeforeSuffix ? c : null,
1235
+ this.showCount && this.type !== "textarea" ? (0, r.h)(V.default, null, {
1236
+ default: (d) => {
1237
+ var M;
1238
+ return (M = w.count) === null || M === void 0 ? void 0 : M.call(w, d);
1239
+ }
1240
+ }) : null,
1241
+ this.mergedShowPasswordOn && this.type === "password" ? (0, r.h)("div", { class: `${a}-input__eye`, onMousedown: this.handlePasswordToggleMousedown, onClick: this.handlePasswordToggleClick }, this.passwordVisible ? (0, f.resolveSlot)(w["password-visible-icon"], () => [
1242
+ (0, r.h)(B.NBaseIcon, { clsPrefix: a }, { default: () => (0, r.h)(D.EyeIcon, null) })
1243
+ ]) : (0, f.resolveSlot)(w["password-invisible-icon"], () => [
1244
+ (0, r.h)(B.NBaseIcon, { clsPrefix: a }, { default: () => (0, r.h)(D.EyeOffIcon, null) })
1245
+ ])) : null
1246
+ ]) : null)
1247
+ ),
1248
+ this.pair ? (0, r.h)("span", { class: `${a}-input__separator` }, (0, f.resolveSlot)(w.separator, () => [this.separator])) : null,
1249
+ this.pair ? (0, r.h)(
1250
+ "div",
1251
+ { class: `${a}-input-wrapper` },
1252
+ (0, r.h)(
1253
+ "div",
1254
+ { class: `${a}-input__input` },
1255
+ (0, r.h)("input", { ref: "inputEl2Ref", type: this.type, class: `${a}-input__input-el`, tabindex: this.passivelyActivated && !this.activated ? -1 : void 0, placeholder: this.mergedPlaceholder[1], disabled: this.mergedDisabled, maxlength: z ? void 0 : this.maxlength, minlength: z ? void 0 : this.minlength, value: Array.isArray(this.mergedValue) ? this.mergedValue[1] : void 0, readonly: this.readonly, style: this.textDecorationStyle[1], onBlur: this.handleInputBlur, onFocus: (c) => {
1256
+ this.handleInputFocus(c, 1);
1257
+ }, onInput: (c) => {
1258
+ this.handleInput(c, 1);
1259
+ }, onChange: (c) => {
1260
+ this.handleChange(c, 1);
1261
+ } }),
1262
+ this.showPlaceholder2 ? (0, r.h)(
1263
+ "div",
1264
+ { class: `${a}-input__placeholder` },
1265
+ (0, r.h)("span", null, this.mergedPlaceholder[1])
1266
+ ) : null
1267
+ ),
1268
+ (0, f.resolveWrappedSlot)(w.suffix, (c) => (this.clearable || c) && (0, r.h)("div", { class: `${a}-input__suffix` }, [
1269
+ this.clearable && (0, r.h)(B.NBaseClear, { clsPrefix: a, show: this.showClearButton, onClear: this.handleClear }, {
1270
+ icon: () => {
1271
+ var d;
1272
+ return (d = w["clear-icon"]) === null || d === void 0 ? void 0 : d.call(w);
1273
+ },
1274
+ placeholder: () => {
1275
+ var d;
1276
+ return (d = w["clear-icon-placeholder"]) === null || d === void 0 ? void 0 : d.call(w);
1277
+ }
1278
+ }),
1279
+ c
1280
+ ]))
1281
+ ) : null,
1282
+ this.mergedBordered ? (0, r.h)("div", { class: `${a}-input__border` }) : null,
1283
+ this.mergedBordered ? (0, r.h)("div", { class: `${a}-input__state-border` }) : null,
1284
+ this.showCount && A === "textarea" ? (0, r.h)(V.default, null, {
1285
+ default: (c) => {
1286
+ var d;
1287
+ const { renderCount: M } = this;
1288
+ return M ? M(c) : (d = w.count) === null || d === void 0 ? void 0 : d.call(w, c);
1289
+ }
1290
+ }) : null
1291
+ );
1292
+ }
1293
+ });
1294
+ })(Ye);
1295
+ var Qe = {}, We = {};
1296
+ Object.defineProperty(We, "__esModule", {
1297
+ value: !0
1298
+ });
1299
+ const y = xe;
1300
+ We.default = (0, y.cB)("input-group", `
1301
+ display: inline-flex;
1302
+ width: 100%;
1303
+ flex-wrap: nowrap;
1304
+ vertical-align: bottom;
1305
+ `, [(0, y.c)(">", [(0, y.cB)("input", [(0, y.c)("&:not(:last-child)", `
1306
+ border-top-right-radius: 0!important;
1307
+ border-bottom-right-radius: 0!important;
1308
+ `), (0, y.c)("&:not(:first-child)", `
1309
+ border-top-left-radius: 0!important;
1310
+ border-bottom-left-radius: 0!important;
1311
+ margin-left: -1px!important;
1312
+ `)]), (0, y.cB)("button", [(0, y.c)("&:not(:last-child)", `
1313
+ border-top-right-radius: 0!important;
1314
+ border-bottom-right-radius: 0!important;
1315
+ `, [(0, y.cE)("state-border, border", `
1316
+ border-top-right-radius: 0!important;
1317
+ border-bottom-right-radius: 0!important;
1318
+ `)]), (0, y.c)("&:not(:first-child)", `
1319
+ border-top-left-radius: 0!important;
1320
+ border-bottom-left-radius: 0!important;
1321
+ `, [(0, y.cE)("state-border, border", `
1322
+ border-top-left-radius: 0!important;
1323
+ border-bottom-left-radius: 0!important;
1324
+ `)])]), (0, y.c)("*", [(0, y.c)("&:not(:last-child)", `
1325
+ border-top-right-radius: 0!important;
1326
+ border-bottom-right-radius: 0!important;
1327
+ `, [(0, y.c)(">", [(0, y.cB)("input", `
1328
+ border-top-right-radius: 0!important;
1329
+ border-bottom-right-radius: 0!important;
1330
+ `), (0, y.cB)("base-selection", [(0, y.cB)("base-selection-label", `
1331
+ border-top-right-radius: 0!important;
1332
+ border-bottom-right-radius: 0!important;
1333
+ `), (0, y.cB)("base-selection-tags", `
1334
+ border-top-right-radius: 0!important;
1335
+ border-bottom-right-radius: 0!important;
1336
+ `), (0, y.cE)("box-shadow, border, state-border", `
1337
+ border-top-right-radius: 0!important;
1338
+ border-bottom-right-radius: 0!important;
1339
+ `)])])]), (0, y.c)("&:not(:first-child)", `
1340
+ margin-left: -1px!important;
1341
+ border-top-left-radius: 0!important;
1342
+ border-bottom-left-radius: 0!important;
1343
+ `, [(0, y.c)(">", [(0, y.cB)("input", `
1344
+ border-top-left-radius: 0!important;
1345
+ border-bottom-left-radius: 0!important;
1346
+ `), (0, y.cB)("base-selection", [(0, y.cB)("base-selection-label", `
1347
+ border-top-left-radius: 0!important;
1348
+ border-bottom-left-radius: 0!important;
1349
+ `), (0, y.cB)("base-selection-tags", `
1350
+ border-top-left-radius: 0!important;
1351
+ border-bottom-left-radius: 0!important;
1352
+ `), (0, y.cE)("box-shadow, border, state-border", `
1353
+ border-top-left-radius: 0!important;
1354
+ border-bottom-left-radius: 0!important;
1355
+ `)])])])])])]);
1356
+ (function(t) {
1357
+ var s = S && S.__importDefault || function(r) {
1358
+ return r && r.__esModule ? r : { default: r };
1359
+ };
1360
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.inputGroupProps = void 0;
1361
+ const v = le, h = De, p = s(We);
1362
+ t.inputGroupProps = {}, t.default = (0, v.defineComponent)({
1363
+ name: "InputGroup",
1364
+ props: t.inputGroupProps,
1365
+ setup(r) {
1366
+ const { mergedClsPrefixRef: x } = (0, h.useConfig)(r);
1367
+ return (0, h.useStyle)("-input-group", p.default, x), {
1368
+ mergedClsPrefix: x
1369
+ };
1370
+ },
1371
+ render() {
1372
+ const { mergedClsPrefix: r } = this;
1373
+ return (0, v.h)("div", { class: `${r}-input-group` }, this.$slots);
1374
+ }
1375
+ });
1376
+ })(Qe);
1377
+ var Ze = {}, Ve = {};
1378
+ Object.defineProperty(Ve, "__esModule", {
1379
+ value: !0
1380
+ });
1381
+ const Ue = xe;
1382
+ Ve.default = (0, Ue.cB)("input-group-label", `
1383
+ position: relative;
1384
+ user-select: none;
1385
+ -webkit-user-select: none;
1386
+ box-sizing: border-box;
1387
+ padding: 0 12px;
1388
+ display: inline-block;
1389
+ border-radius: var(--n-border-radius);
1390
+ background-color: var(--n-group-label-color);
1391
+ color: var(--n-group-label-text-color);
1392
+ font-size: var(--n-font-size);
1393
+ line-height: var(--n-height);
1394
+ height: var(--n-height);
1395
+ flex-shrink: 0;
1396
+ white-space: nowrap;
1397
+ transition:
1398
+ color .3s var(--n-bezier),
1399
+ background-color .3s var(--n-bezier),
1400
+ box-shadow .3s var(--n-bezier);
1401
+ `, [(0, Ue.cE)("border", `
1402
+ position: absolute;
1403
+ left: 0;
1404
+ right: 0;
1405
+ top: 0;
1406
+ bottom: 0;
1407
+ border-radius: inherit;
1408
+ border: var(--n-group-label-border);
1409
+ transition: border-color .3s var(--n-bezier);
1410
+ `)]);
1411
+ (function(t) {
1412
+ var s = S && S.__importDefault || function(u) {
1413
+ return u && u.__esModule ? u : { default: u };
1414
+ };
1415
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.inputGroupLabelProps = void 0;
1416
+ const v = le, h = De, p = _e, r = Ie, x = s(Ve);
1417
+ t.inputGroupLabelProps = Object.assign(Object.assign({}, h.useTheme.props), { size: {
1418
+ type: String,
1419
+ default: "medium"
1420
+ }, bordered: {
1421
+ type: Boolean,
1422
+ default: void 0
1423
+ } }), t.default = (0, v.defineComponent)({
1424
+ name: "InputGroupLabel",
1425
+ props: t.inputGroupLabelProps,
1426
+ setup(u) {
1427
+ const { mergedBorderedRef: b, mergedClsPrefixRef: C, inlineThemeDisabled: $ } = (0, h.useConfig)(u), D = (0, h.useTheme)("Input", "-input-group-label", x.default, r.inputLight, u, C), I = (0, v.computed)(() => {
1428
+ const { size: R } = u, { common: { cubicBezierEaseInOut: f }, self: { groupLabelColor: H, borderRadius: N, groupLabelTextColor: j, lineHeight: V, groupLabelBorder: k, [(0, p.createKey)("fontSize", R)]: n, [(0, p.createKey)("height", R)]: g } } = D.value;
1429
+ return {
1430
+ "--n-bezier": f,
1431
+ "--n-group-label-color": H,
1432
+ "--n-group-label-border": k,
1433
+ "--n-border-radius": N,
1434
+ "--n-group-label-text-color": j,
1435
+ "--n-font-size": n,
1436
+ "--n-line-height": V,
1437
+ "--n-height": g
1438
+ };
1439
+ }), B = $ ? (0, h.useThemeClass)("input-group-label", (0, v.computed)(() => u.size[0]), I, u) : void 0;
1440
+ return {
1441
+ mergedClsPrefix: C,
1442
+ mergedBordered: b,
1443
+ cssVars: $ ? void 0 : I,
1444
+ themeClass: B == null ? void 0 : B.themeClass,
1445
+ onRender: B == null ? void 0 : B.onRender
1446
+ };
1447
+ },
1448
+ render() {
1449
+ var u, b, C;
1450
+ const { mergedClsPrefix: $ } = this;
1451
+ return (u = this.onRender) === null || u === void 0 || u.call(this), (0, v.h)(
1452
+ "div",
1453
+ { class: [`${$}-input-group-label`, this.themeClass], style: this.cssVars },
1454
+ (C = (b = this.$slots).default) === null || C === void 0 ? void 0 : C.call(b),
1455
+ this.mergedBordered ? (0, v.h)("div", { class: `${$}-input-group-label__border` }) : null
1456
+ );
1457
+ }
1458
+ });
1459
+ })(Ze);
1460
+ (function(t) {
1461
+ var s = S && S.__importDefault || function(r) {
1462
+ return r && r.__esModule ? r : { default: r };
1463
+ };
1464
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.inputGroupLabelProps = t.NInputGroupLabel = t.inputGroupProps = t.NInputGroup = t.inputProps = t.NInput = void 0;
1465
+ var v = Ye;
1466
+ Object.defineProperty(t, "NInput", { enumerable: !0, get: function() {
1467
+ return s(v).default;
1468
+ } }), Object.defineProperty(t, "inputProps", { enumerable: !0, get: function() {
1469
+ return v.inputProps;
1470
+ } });
1471
+ var h = Qe;
1472
+ Object.defineProperty(t, "NInputGroup", { enumerable: !0, get: function() {
1473
+ return s(h).default;
1474
+ } }), Object.defineProperty(t, "inputGroupProps", { enumerable: !0, get: function() {
1475
+ return h.inputGroupProps;
1476
+ } });
1477
+ var p = Ze;
1478
+ Object.defineProperty(t, "NInputGroupLabel", { enumerable: !0, get: function() {
1479
+ return s(p).default;
1480
+ } }), Object.defineProperty(t, "inputGroupLabelProps", { enumerable: !0, get: function() {
1481
+ return p.inputGroupLabelProps;
1482
+ } });
1483
+ })(Xe);
1484
+ const st = /* @__PURE__ */ Wo({
1485
+ __proto__: null
1486
+ }, [Xe]);
1487
+ export {
1488
+ Xe as a,
1489
+ Je as b,
1490
+ st as i,
1491
+ we as r,
1492
+ Ie as s
1493
+ };