epic-designer-gold 0.0.2 → 0.0.4

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/.eslintrc.js +10 -0
  2. package/.vscode/extensions.json +3 -0
  3. package/.vscode/settings.json +6 -0
  4. package/README.md +3 -6
  5. package/docs/.vitepress/config.ts +163 -0
  6. package/docs/.vitepress/theme/custom.css +38 -0
  7. package/docs/.vitepress/theme/index.ts +7 -0
  8. package/docs/.vitepress/theme/style.css +44 -0
  9. package/docs/guide/about/about.md +24 -0
  10. package/docs/guide/action/customFunctions.md +560 -0
  11. package/docs/guide/components/EBuilder.md +546 -0
  12. package/docs/guide/components/EDesigner.md +120 -0
  13. package/docs/guide/copyright/copyright.md +38 -0
  14. package/docs/guide/extensions/actionBar.md +55 -0
  15. package/docs/guide/extensions/component.md +115 -0
  16. package/docs/guide/extensions/icon.md +111 -0
  17. package/docs/guide/extensions/publicMethods.md +52 -0
  18. package/docs/guide/extensions/rightSidebar.md +57 -0
  19. package/docs/guide/start/dark-mode.md +149 -0
  20. package/docs/guide/start/i18n-cn.md +39 -0
  21. package/docs/guide/start/index.md +59 -0
  22. package/docs/guide/start/layoutGuide.md +0 -0
  23. package/docs/guide/start/quick-start.md +194 -0
  24. package/docs/guide/start/theme.md +125 -0
  25. package/docs/guide/utils/pageManager.md +97 -0
  26. package/docs/guide/utils/pluginManager.md +227 -0
  27. package/docs/index.md +41 -0
  28. package/docs/package.json +15 -0
  29. package/docs/public/certificate.jpg +0 -0
  30. package/docs/public/dark.png +0 -0
  31. package/docs/public/favicon.ico +0 -0
  32. package/docs/public/icons/demo.css +539 -0
  33. package/docs/public/icons/demo_index.html +589 -0
  34. package/docs/public/icons/iconfont.css +379 -0
  35. package/docs/public/icons/iconfont.js +1 -0
  36. package/docs/public/icons/iconfont.json +646 -0
  37. package/docs/public/icons/iconfont.ttf +0 -0
  38. package/docs/public/icons/iconfont.woff +0 -0
  39. package/docs/public/icons/iconfont.woff2 +0 -0
  40. package/docs/public/icons/iconify.css +271 -0
  41. package/docs/public/icons/iconify.html +333 -0
  42. package/docs/public/layout.jpg +0 -0
  43. package/docs/public/logo.png +0 -0
  44. package/docs/public/theme.jpg +0 -0
  45. package/docs/updateLog.md +461 -0
  46. package/docs/vite.config.ts +18 -0
  47. package/docs//345/210/235/345/247/213/345/214/226/345/270/203/345/261/200.jpg +0 -0
  48. package/docs//350/256/276/350/256/241/345/231/250/344/273/213/347/273/215.md +21 -0
  49. package/docs//350/256/276/350/256/241/345/231/250/345/270/203/345/261/200.jpg +0 -0
  50. package/examples/README.md +18 -0
  51. package/examples/index.html +14 -0
  52. package/examples/package.json +28 -0
  53. package/examples/public/favicon.ico +0 -0
  54. package/examples/src/App.vue +5 -0
  55. package/examples/src/assets/logo.png +0 -0
  56. package/examples/src/layout/baseLayout.vue +3 -0
  57. package/examples/src/layout/components/Header/index.vue +104 -0
  58. package/examples/src/layout/components/Main/Maximize.vue +77 -0
  59. package/examples/src/layout/components/Main/index.vue +16 -0
  60. package/examples/src/layout/components/Menu/index.vue +49 -0
  61. package/examples/src/layout/index.vue +26 -0
  62. package/examples/src/main.ts +6 -0
  63. package/examples/src/router/index.ts +122 -0
  64. package/examples/src/style/reset.css +253 -0
  65. package/examples/src/style.less +44 -0
  66. package/examples/src/views/builder/basic/index.vue +300 -0
  67. package/examples/src/views/builder/customForm/index.vue +227 -0
  68. package/examples/src/views/builder/disableDisplay/index.vue +153 -0
  69. package/examples/src/views/builder/disableDisplay copy/index.vue +111 -0
  70. package/examples/src/views/builder/loadData/index.vue +69 -0
  71. package/examples/src/views/builder/loadFormData/index.vue +195 -0
  72. package/examples/src/views/builder/sum/index.vue +127 -0
  73. package/examples/src/views/designer/basic/index.vue +62 -0
  74. package/examples/src/views/designer/formMode/index.vue +22 -0
  75. package/examples/src/views/designer/loadData/index.vue +63 -0
  76. package/examples/src/vite-env.d.ts +1 -0
  77. package/examples/tsconfig.json +27 -0
  78. package/examples/tsconfig.node.json +10 -0
  79. package/examples/uno.config.ts +2 -0
  80. package/examples/vite.config.ts +35 -0
  81. package/package.json +49 -75
  82. package/packages/core/LICENSE +21 -0
  83. package/packages/core/components/asyncLoader/index.less +92 -0
  84. package/packages/core/components/asyncLoader/index.vue +7 -0
  85. package/packages/core/components/builder/hooks/useBuilder.ts +132 -0
  86. package/packages/core/components/builder/index.ts +3 -0
  87. package/packages/core/components/builder/src/builder.vue +131 -0
  88. package/packages/core/components/builder/src/types.ts +4 -0
  89. package/packages/core/components/designer/index.ts +3 -0
  90. package/packages/core/components/designer/src/designer.vue +337 -0
  91. package/packages/core/components/designer/src/index.less +81 -0
  92. package/packages/core/components/designer/src/modules/actionBar/index.less +80 -0
  93. package/packages/core/components/designer/src/modules/actionBar/index.vue +50 -0
  94. package/packages/core/components/designer/src/modules/attributeView/attributeView.vue +124 -0
  95. package/packages/core/components/designer/src/modules/attributeView/eventView.vue +77 -0
  96. package/packages/core/components/designer/src/modules/attributeView/index.less +36 -0
  97. package/packages/core/components/designer/src/modules/attributeView/styleView.vue +117 -0
  98. package/packages/core/components/designer/src/modules/componentView/index.less +61 -0
  99. package/packages/core/components/designer/src/modules/componentView/index.vue +127 -0
  100. package/packages/core/components/designer/src/modules/editContainer/editNodeItem.vue +87 -0
  101. package/packages/core/components/designer/src/modules/editContainer/editScreenContainer.vue +227 -0
  102. package/packages/core/components/designer/src/modules/editContainer/index.less +159 -0
  103. package/packages/core/components/designer/src/modules/editContainer/index.vue +36 -0
  104. package/packages/core/components/designer/src/modules/editContainer/nodeItem.vue +93 -0
  105. package/packages/core/components/designer/src/modules/editContainer/previewJson.vue +60 -0
  106. package/packages/core/components/designer/src/modules/editContainer/previewWidgets.vue +390 -0
  107. package/packages/core/components/designer/src/modules/editContainer/toolbar.vue +258 -0
  108. package/packages/core/components/designer/src/modules/header/index.less +16 -0
  109. package/packages/core/components/designer/src/modules/header/index.vue +72 -0
  110. package/packages/core/components/designer/src/modules/outline/index.less +7 -0
  111. package/packages/core/components/designer/src/modules/outline/outline.vue +56 -0
  112. package/packages/core/components/designer/src/modules/preview/index.less +0 -0
  113. package/packages/core/components/designer/src/modules/preview/index.vue +103 -0
  114. package/packages/core/components/designer/src/modules/rightSidebar/breadcrumb.vue +30 -0
  115. package/packages/core/components/designer/src/modules/rightSidebar/index.less +74 -0
  116. package/packages/core/components/designer/src/modules/rightSidebar/index.vue +67 -0
  117. package/packages/core/components/designer/src/modules/sourceCode/index.less +7 -0
  118. package/packages/core/components/designer/src/modules/sourceCode/index.vue +37 -0
  119. package/packages/core/components/designer/src/types.ts +51 -0
  120. package/packages/core/components/icon/index.ts +2 -0
  121. package/packages/core/components/icon/src/icon.vue +28 -0
  122. package/packages/core/components/node/index.ts +2 -0
  123. package/packages/core/components/node/src/dynamicFormItem.vue +38 -0
  124. package/packages/core/components/node/src/node.vue +400 -0
  125. package/packages/core/components/tree/index.ts +2 -0
  126. package/packages/core/components/tree/src/index.less +117 -0
  127. package/packages/core/components/tree/src/tree.vue +113 -0
  128. package/packages/core/components/tree/src/treeNodeItem.vue +120 -0
  129. package/packages/core/components/tree/src/treeNodes.vue +70 -0
  130. package/packages/core/extensions/EActionEditor/index.less +177 -0
  131. package/packages/core/extensions/EActionEditor/index.vue +160 -0
  132. package/packages/core/extensions/EActionEditor/src/EActionEditorItem.vue +133 -0
  133. package/packages/core/extensions/EActionEditor/src/EActionModal.vue +258 -0
  134. package/packages/core/extensions/EActionEditor/src/EArgsEditor.vue +61 -0
  135. package/packages/core/extensions/EActionEditor/src/EScriptEdit.vue +26 -0
  136. package/packages/core/extensions/EColEditor/index.less +24 -0
  137. package/packages/core/extensions/EColEditor/index.vue +65 -0
  138. package/packages/core/extensions/EDataSource/index.less +170 -0
  139. package/packages/core/extensions/EDataSource/index.vue +437 -0
  140. package/packages/core/extensions/EInputSize/index.vue +59 -0
  141. package/packages/core/extensions/EOptionsEditor/index.vue +195 -0
  142. package/packages/core/extensions/EOptionsEditor/optionItem.vue +72 -0
  143. package/packages/core/extensions/ERuleEditor/ERuleItem.vue +136 -0
  144. package/packages/core/extensions/ERuleEditor/data.ts +24 -0
  145. package/packages/core/extensions/ERuleEditor/index.less +17 -0
  146. package/packages/core/extensions/ERuleEditor/index.vue +157 -0
  147. package/packages/core/extensions/ERuleEditor/types.ts +17 -0
  148. package/packages/core/extensions/MonacoEditor/index.ts +31 -0
  149. package/packages/core/extensions/MonacoEditor/index.vue +150 -0
  150. package/packages/core/extensions/Page/index.ts +23 -0
  151. package/packages/core/extensions/Page/index.vue +27 -0
  152. package/packages/core/extensions/index.ts +58 -0
  153. package/packages/core/index.less +24 -0
  154. package/packages/core/index.ts +35 -0
  155. package/packages/core/package.json +59 -0
  156. package/packages/core/static/icons/iconify.css +271 -0
  157. package/packages/core/static/logo.png +0 -0
  158. package/packages/core/tsconfig.json +19 -0
  159. package/packages/core/types/epic-designer.ts +75 -0
  160. package/packages/epic-designer/LICENSE +21 -0
  161. package/packages/epic-designer/README.md +239 -0
  162. package/packages/epic-designer/package.json +75 -0
  163. package/packages/hooks/LICENSE +21 -0
  164. package/packages/hooks/common/element.ts +170 -0
  165. package/packages/hooks/common/index.ts +2 -0
  166. package/packages/hooks/common/theme.ts +84 -0
  167. package/packages/hooks/index.ts +2 -0
  168. package/packages/hooks/package.json +7 -0
  169. package/packages/hooks/store/index.ts +30 -0
  170. package/packages/hooks/tsconfig.json +19 -0
  171. package/packages/script/package.json +17 -0
  172. package/packages/script/src/check-compiled.ts +22 -0
  173. package/packages/script/tsconfig.json +10 -0
  174. package/packages/ui/LICENSE +21 -0
  175. package/packages/ui/antd/button/button.vue +16 -0
  176. package/packages/ui/antd/button/index.ts +203 -0
  177. package/packages/ui/antd/card/card.ts +31 -0
  178. package/packages/ui/antd/card/index.ts +64 -0
  179. package/packages/ui/antd/cascader/cascader.vue +23 -0
  180. package/packages/ui/antd/cascader/index.ts +200 -0
  181. package/packages/ui/antd/checkbox/index.ts +100 -0
  182. package/packages/ui/antd/col/col.ts +31 -0
  183. package/packages/ui/antd/col/index.ts +22 -0
  184. package/packages/ui/antd/color-picker/index.ts +108 -0
  185. package/packages/ui/antd/date-picker/datePicker.ts +47 -0
  186. package/packages/ui/antd/date-picker/index.ts +304 -0
  187. package/packages/ui/antd/form/form.vue +115 -0
  188. package/packages/ui/antd/form/index.ts +196 -0
  189. package/packages/ui/antd/form-item/formItem.vue +15 -0
  190. package/packages/ui/antd/form-item/index.ts +11 -0
  191. package/packages/ui/antd/index.less +33 -0
  192. package/packages/ui/antd/index.ts +306 -0
  193. package/packages/ui/antd/input/index.ts +170 -0
  194. package/packages/ui/antd/input-number/index.ts +182 -0
  195. package/packages/ui/antd/input-password/index.ts +153 -0
  196. package/packages/ui/antd/modal/index.ts +19 -0
  197. package/packages/ui/antd/modal/modal.vue +82 -0
  198. package/packages/ui/antd/radio/index.ts +106 -0
  199. package/packages/ui/antd/row/index.ts +115 -0
  200. package/packages/ui/antd/row/row.ts +31 -0
  201. package/packages/ui/antd/select/index.ts +230 -0
  202. package/packages/ui/antd/slider/index.ts +148 -0
  203. package/packages/ui/antd/switch/index.ts +142 -0
  204. package/packages/ui/antd/textarea/index.ts +163 -0
  205. package/packages/ui/antd/time-picker/index.ts +191 -0
  206. package/packages/ui/antd/upload-file/index.ts +89 -0
  207. package/packages/ui/antd/upload-file/uploadFile.ts +119 -0
  208. package/packages/ui/antd/upload-image/index.ts +70 -0
  209. package/packages/ui/antd/upload-image/uploadImage.vue +148 -0
  210. package/packages/ui/elementPlus/button/button.ts +24 -0
  211. package/packages/ui/elementPlus/button/index.ts +129 -0
  212. package/packages/ui/elementPlus/card/card.ts +36 -0
  213. package/packages/ui/elementPlus/card/index.ts +51 -0
  214. package/packages/ui/elementPlus/cascader/index.ts +222 -0
  215. package/packages/ui/elementPlus/checkbox/checkbox.ts +26 -0
  216. package/packages/ui/elementPlus/checkbox/index.ts +148 -0
  217. package/packages/ui/elementPlus/col/col.ts +31 -0
  218. package/packages/ui/elementPlus/col/index.ts +21 -0
  219. package/packages/ui/elementPlus/collapse/collapse.ts +32 -0
  220. package/packages/ui/elementPlus/collapse/index.ts +41 -0
  221. package/packages/ui/elementPlus/collapse-item/collapseItem.ts +31 -0
  222. package/packages/ui/elementPlus/collapse-item/index.ts +12 -0
  223. package/packages/ui/elementPlus/color-picker/index.ts +111 -0
  224. package/packages/ui/elementPlus/date-picker/index.ts +219 -0
  225. package/packages/ui/elementPlus/form/form.vue +110 -0
  226. package/packages/ui/elementPlus/form/index.ts +150 -0
  227. package/packages/ui/elementPlus/formItem/formItem.vue +15 -0
  228. package/packages/ui/elementPlus/formItem/index.ts +11 -0
  229. package/packages/ui/elementPlus/index.less +79 -0
  230. package/packages/ui/elementPlus/index.ts +91 -0
  231. package/packages/ui/elementPlus/input/index.ts +180 -0
  232. package/packages/ui/elementPlus/input-number/index.ts +146 -0
  233. package/packages/ui/elementPlus/modal/index.ts +18 -0
  234. package/packages/ui/elementPlus/modal/modal.ts +68 -0
  235. package/packages/ui/elementPlus/radio/index.ts +129 -0
  236. package/packages/ui/elementPlus/radio/radio.ts +32 -0
  237. package/packages/ui/elementPlus/row/index.ts +106 -0
  238. package/packages/ui/elementPlus/row/row.ts +32 -0
  239. package/packages/ui/elementPlus/select/index.ts +291 -0
  240. package/packages/ui/elementPlus/select/select.ts +29 -0
  241. package/packages/ui/elementPlus/sign/index.ts +97 -0
  242. package/packages/ui/elementPlus/sign/sign.vue +207 -0
  243. package/packages/ui/elementPlus/slider/index.ts +238 -0
  244. package/packages/ui/elementPlus/switch/index.ts +160 -0
  245. package/packages/ui/elementPlus/textarea/index.ts +155 -0
  246. package/packages/ui/elementPlus/upload-file/index.ts +87 -0
  247. package/packages/ui/elementPlus/upload-file/uploadFile.ts +114 -0
  248. package/packages/ui/elementPlus/upload-image/index.ts +87 -0
  249. package/packages/ui/elementPlus/upload-image/uploadImage.ts +150 -0
  250. package/packages/ui/index.ts +22 -0
  251. package/packages/ui/naiveUi/button/button.ts +25 -0
  252. package/packages/ui/naiveUi/button/index.ts +148 -0
  253. package/packages/ui/naiveUi/card/card.ts +32 -0
  254. package/packages/ui/naiveUi/card/index.ts +26 -0
  255. package/packages/ui/naiveUi/cascader/index.ts +222 -0
  256. package/packages/ui/naiveUi/checkbox/checkbox.ts +27 -0
  257. package/packages/ui/naiveUi/checkbox/index.ts +117 -0
  258. package/packages/ui/naiveUi/col/col.ts +30 -0
  259. package/packages/ui/naiveUi/col/index.ts +21 -0
  260. package/packages/ui/naiveUi/collapse/collapse.ts +31 -0
  261. package/packages/ui/naiveUi/collapse/index.ts +40 -0
  262. package/packages/ui/naiveUi/collapse-item/collapseItem.ts +31 -0
  263. package/packages/ui/naiveUi/collapse-item/index.ts +12 -0
  264. package/packages/ui/naiveUi/color-picker/index.ts +182 -0
  265. package/packages/ui/naiveUi/date-picker/index.ts +213 -0
  266. package/packages/ui/naiveUi/form/form.vue +98 -0
  267. package/packages/ui/naiveUi/form/index.ts +147 -0
  268. package/packages/ui/naiveUi/form-item/formItem.vue +15 -0
  269. package/packages/ui/naiveUi/form-item/index.ts +10 -0
  270. package/packages/ui/naiveUi/index.less +33 -0
  271. package/packages/ui/naiveUi/index.ts +68 -0
  272. package/packages/ui/naiveUi/input/index.ts +221 -0
  273. package/packages/ui/naiveUi/input-number/index.ts +145 -0
  274. package/packages/ui/naiveUi/modal/index.ts +18 -0
  275. package/packages/ui/naiveUi/modal/modal.ts +83 -0
  276. package/packages/ui/naiveUi/radio/index.ts +97 -0
  277. package/packages/ui/naiveUi/radio/radio.ts +27 -0
  278. package/packages/ui/naiveUi/row/index.ts +106 -0
  279. package/packages/ui/naiveUi/row/row.ts +31 -0
  280. package/packages/ui/naiveUi/select/index.ts +197 -0
  281. package/packages/ui/naiveUi/slider/index.ts +182 -0
  282. package/packages/ui/naiveUi/switch/index.ts +136 -0
  283. package/packages/ui/naiveUi/upload-file/index.ts +83 -0
  284. package/packages/ui/naiveUi/upload-file/uploadFile.ts +78 -0
  285. package/packages/ui/naiveUi/upload-image/index.ts +83 -0
  286. package/packages/ui/naiveUi/upload-image/uploadImage.ts +151 -0
  287. package/packages/ui/package.json +17 -0
  288. package/packages/ui/tsconfig.json +19 -0
  289. package/packages/utils/LICENSE +21 -0
  290. package/packages/utils/__test__/common/debounce.test.ts +44 -0
  291. package/packages/utils/__test__/common/deepClone.test.ts +42 -0
  292. package/packages/utils/__test__/common/deepCompareAndModify.test.ts +84 -0
  293. package/packages/utils/__test__/common/deepEqual.test.ts +105 -0
  294. package/packages/utils/__test__/common/findSchemaById.test.ts +80 -0
  295. package/packages/utils/__test__/common/findSchemas.test.ts +98 -0
  296. package/packages/utils/__test__/common/getFormSchemas.test.ts +124 -0
  297. package/packages/utils/__test__/common/getMatchedById.test.ts +79 -0
  298. package/packages/utils/__test__/common/getUUID.test.ts +30 -0
  299. package/packages/utils/__test__/common/getValueByPath.test.ts +54 -0
  300. package/packages/utils/__test__/common/mapSchemas.test.ts +98 -0
  301. package/packages/utils/__test__/common/setValueByPath.test.ts +69 -0
  302. package/packages/utils/__test__/manager/pageManager.test.ts +75 -0
  303. package/packages/utils/__test__/manager/revoke.test.ts +103 -0
  304. package/packages/utils/common/common.ts +18 -0
  305. package/packages/utils/common/component.ts +22 -0
  306. package/packages/utils/common/data.ts +662 -0
  307. package/packages/utils/common/eventBus.ts +4 -0
  308. package/packages/utils/common/index.ts +5 -0
  309. package/packages/utils/common/string.ts +24 -0
  310. package/packages/utils/index.ts +2 -0
  311. package/{dist/utils/manager/index.d.ts → packages/utils/manager/index.ts} +3 -3
  312. package/packages/utils/manager/pageManager.ts +238 -0
  313. package/packages/utils/manager/pluginManager.ts +633 -0
  314. package/packages/utils/manager/revoke.ts +124 -0
  315. package/packages/utils/package.json +7 -0
  316. package/packages/utils/tsconfig.json +19 -0
  317. package/pnpm-lock.yaml +14558 -0
  318. package/pnpm-workspace.yaml +5 -0
  319. package/turbo.json +20 -0
  320. package/vitest.config.ts +7 -0
  321. package/dist/_commonjsHelpers-BVfed4GL.js +0 -28
  322. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +0 -1
  323. package/dist/_dayjs_commonjs-external-D9ZbEWhj.js +0 -6
  324. package/dist/_dayjs_commonjs-external-DWlrxCld.cjs +0 -1
  325. package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  326. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  327. package/dist/_vue_commonjs-external-BbihI59z.cjs +0 -1
  328. package/dist/_vue_commonjs-external-NwvjgbHK.js +0 -6
  329. package/dist/attributeView-DZw_yBnS.cjs +0 -1
  330. package/dist/attributeView-oQIE06uw.js +0 -105
  331. package/dist/axios-CXDYiOMX.js +0 -1704
  332. package/dist/axios-tuVKNgv9.cjs +0 -6
  333. package/dist/az-C4lqmLYp.js +0 -22
  334. package/dist/az-CJXcaytS.cjs +0 -1
  335. package/dist/be--_CkdeMD.cjs +0 -1
  336. package/dist/be-DJzFjqtL.js +0 -22
  337. package/dist/bg-BOlG8Um1.js +0 -25
  338. package/dist/bg-DCT06eJE.cjs +0 -1
  339. package/dist/bn-bd-B1E6-oJQ.js +0 -33
  340. package/dist/bn-bd-DaKs5QkR.cjs +0 -1
  341. package/dist/button-BKT6NVeB.cjs +0 -1
  342. package/dist/button-BbHi0DmU.js +0 -31
  343. package/dist/button-Bj-ntCA2.js +0 -27
  344. package/dist/button-BvmCwtR3.js +0 -27
  345. package/dist/button-C48gWpMn.cjs +0 -1
  346. package/dist/button-Cc4KYk3v.cjs +0 -1
  347. package/dist/ca-BTQUSb29.cjs +0 -1
  348. package/dist/ca-DCcDFeSK.js +0 -22
  349. package/dist/card-BOMT_SwB.cjs +0 -1
  350. package/dist/card-BQ_K3Q8i.js +0 -33
  351. package/dist/card-BowzD9vN.cjs +0 -1
  352. package/dist/card-CNGNDzPp.js +0 -31
  353. package/dist/card-Cdove1KC.js +0 -32
  354. package/dist/card-hriyYYMn.cjs +0 -1
  355. package/dist/checkbox-CMr5pERY.cjs +0 -1
  356. package/dist/checkbox-D8eqzQDX.cjs +0 -1
  357. package/dist/checkbox-Dp36upb2.js +0 -30
  358. package/dist/checkbox-LVKgMSjI.js +0 -28
  359. package/dist/col-0rmM8on4.js +0 -33
  360. package/dist/col-B1GUMkMK.cjs +0 -1
  361. package/dist/col-B4lx76O5.cjs +0 -1
  362. package/dist/col-C_cbW1SI.js +0 -33
  363. package/dist/col-DXjfnmpf.cjs +0 -1
  364. package/dist/col-LQvh8U5y.js +0 -30
  365. package/dist/collapse-B2AXU6Jz.cjs +0 -1
  366. package/dist/collapse-BSFa_xwh.cjs +0 -1
  367. package/dist/collapse-CxLG5oyO.js +0 -32
  368. package/dist/collapse-I4H1VTFf.js +0 -35
  369. package/dist/collapseItem-CAGqWjGg.cjs +0 -1
  370. package/dist/collapseItem-CW_HTWvE.js +0 -33
  371. package/dist/collapseItem-DmnJXvsZ.js +0 -30
  372. package/dist/collapseItem-FF5A59WT.cjs +0 -1
  373. package/dist/core/components/asyncLoader/index.vue.d.ts +0 -2
  374. package/dist/core/components/builder/hooks/useBuilder.d.ts +0 -29
  375. package/dist/core/components/builder/index.d.ts +0 -2
  376. package/dist/core/components/builder/src/builder.vue.d.ts +0 -41
  377. package/dist/core/components/builder/src/types.d.ts +0 -4
  378. package/dist/core/components/designer/index.d.ts +0 -2
  379. package/dist/core/components/designer/src/designer.vue.d.ts +0 -98
  380. package/dist/core/components/designer/src/modules/actionBar/index.vue.d.ts +0 -2
  381. package/dist/core/components/designer/src/modules/attributeView/attributeView.vue.d.ts +0 -2
  382. package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +0 -2
  383. package/dist/core/components/designer/src/modules/attributeView/styleView.vue.d.ts +0 -2
  384. package/dist/core/components/designer/src/modules/componentView/index.vue.d.ts +0 -2
  385. package/dist/core/components/designer/src/modules/editContainer/editNodeItem.vue.d.ts +0 -11
  386. package/dist/core/components/designer/src/modules/editContainer/editScreenContainer.vue.d.ts +0 -20
  387. package/dist/core/components/designer/src/modules/editContainer/index.vue.d.ts +0 -2
  388. package/dist/core/components/designer/src/modules/editContainer/nodeItem.vue.d.ts +0 -9
  389. package/dist/core/components/designer/src/modules/editContainer/previewJson.vue.d.ts +0 -5
  390. package/dist/core/components/designer/src/modules/editContainer/previewWidgets.vue.d.ts +0 -5
  391. package/dist/core/components/designer/src/modules/editContainer/toolbar.vue.d.ts +0 -2
  392. package/dist/core/components/designer/src/modules/header/index.vue.d.ts +0 -28
  393. package/dist/core/components/designer/src/modules/outline/outline.vue.d.ts +0 -2
  394. package/dist/core/components/designer/src/modules/preview/index.vue.d.ts +0 -5
  395. package/dist/core/components/designer/src/modules/rightSidebar/breadcrumb.vue.d.ts +0 -2
  396. package/dist/core/components/designer/src/modules/rightSidebar/index.vue.d.ts +0 -2
  397. package/dist/core/components/designer/src/modules/sourceCode/index.vue.d.ts +0 -2
  398. package/dist/core/components/designer/src/types.d.ts +0 -46
  399. package/dist/core/components/icon/index.d.ts +0 -2
  400. package/dist/core/components/icon/src/icon.vue.d.ts +0 -10
  401. package/dist/core/components/node/index.d.ts +0 -2
  402. package/dist/core/components/node/src/dynamicFormItem.vue.d.ts +0 -30
  403. package/dist/core/components/node/src/node.vue.d.ts +0 -48
  404. package/dist/core/components/tree/index.d.ts +0 -2
  405. package/dist/core/components/tree/src/tree.vue.d.ts +0 -49
  406. package/dist/core/components/tree/src/treeNodeItem.vue.d.ts +0 -7
  407. package/dist/core/components/tree/src/treeNodes.vue.d.ts +0 -13
  408. package/dist/core/extensions/EActionEditor/index.vue.d.ts +0 -25
  409. package/dist/core/extensions/EActionEditor/src/EActionEditorItem.vue.d.ts +0 -50
  410. package/dist/core/extensions/EActionEditor/src/EActionModal.vue.d.ts +0 -13
  411. package/dist/core/extensions/EActionEditor/src/EArgsEditor.vue.d.ts +0 -13
  412. package/dist/core/extensions/EActionEditor/src/EScriptEdit.vue.d.ts +0 -2
  413. package/dist/core/extensions/EColEditor/index.vue.d.ts +0 -20
  414. package/dist/core/extensions/EDataSource/index.vue.d.ts +0 -8
  415. package/dist/core/extensions/EInputSize/index.vue.d.ts +0 -10
  416. package/dist/core/extensions/EOptionsEditor/index.vue.d.ts +0 -23
  417. package/dist/core/extensions/EOptionsEditor/optionItem.vue.d.ts +0 -15
  418. package/dist/core/extensions/ERuleEditor/ERuleItem.vue.d.ts +0 -15
  419. package/dist/core/extensions/ERuleEditor/data.d.ts +0 -9
  420. package/dist/core/extensions/ERuleEditor/index.vue.d.ts +0 -29
  421. package/dist/core/extensions/ERuleEditor/types.d.ts +0 -17
  422. package/dist/core/extensions/MonacoEditor/index.d.ts +0 -3
  423. package/dist/core/extensions/MonacoEditor/index.vue.d.ts +0 -45
  424. package/dist/core/extensions/Page/index.d.ts +0 -3
  425. package/dist/core/extensions/Page/index.vue.d.ts +0 -24
  426. package/dist/core/extensions/index.d.ts +0 -2
  427. package/dist/core/index.d.ts +0 -6
  428. package/dist/core/types/epic-designer.d.ts +0 -55
  429. package/dist/cs-CisRL5gQ.js +0 -53
  430. package/dist/cs-D_hyDJBU.cjs +0 -1
  431. package/dist/da-DHmiHyZA.cjs +0 -1
  432. package/dist/da-DhyERRsC.js +0 -22
  433. package/dist/datePicker-2Df6yfYg.js +0 -40
  434. package/dist/datePicker-DCH40VJR.cjs +0 -1
  435. package/dist/de-2hHpT7Ze.cjs +0 -1
  436. package/dist/de-CjumkRE8.js +0 -27
  437. package/dist/el-BCec0wpC.cjs +0 -1
  438. package/dist/el-DyUHskgW.js +0 -22
  439. package/dist/en-C1ESb179.cjs +0 -1
  440. package/dist/en-C2YS2Qnb.js +0 -18
  441. package/dist/en-gb-C8f1Enek.js +0 -23
  442. package/dist/en-gb-py_kegyw.cjs +0 -1
  443. package/dist/epic-designer/index.d.ts +0 -3
  444. package/dist/epic-designer/uno.config.d.ts +0 -2
  445. package/dist/es-BFLRglxD.cjs +0 -1
  446. package/dist/es-DP04S73E.js +0 -22
  447. package/dist/et-DKRhU9OP.cjs +0 -1
  448. package/dist/et-ipLqjCDG.js +0 -27
  449. package/dist/eventView-BQ5e-Rco.cjs +0 -1
  450. package/dist/eventView-BuTYx7tM.js +0 -64
  451. package/dist/fa-DUcAIQzU.cjs +0 -1
  452. package/dist/fa-DXE6u9is.js +0 -22
  453. package/dist/fade-in-scale-up.cssr-BXjoIAAA.js +0 -39
  454. package/dist/fade-in-scale-up.cssr-C_UMnGtI.cjs +0 -1
  455. package/dist/fi-Cpkq8dP2.js +0 -27
  456. package/dist/fi-CyT899pV.cjs +0 -1
  457. package/dist/form-6cUK-Ari.js +0 -72
  458. package/dist/form-BPH0cDFl.js +0 -75
  459. package/dist/form-ChuxpD-f.cjs +0 -1
  460. package/dist/form-Cr7tBgLQ.js +0 -66
  461. package/dist/form-CthzLIgs.cjs +0 -1
  462. package/dist/form-D2qj0Dvr.cjs +0 -1
  463. package/dist/formItem-0oXWwtrG.cjs +0 -1
  464. package/dist/formItem-BVnNs1Q9.cjs +0 -1
  465. package/dist/formItem-D10Om12T.js +0 -22
  466. package/dist/formItem-DPnbV4m-.js +0 -22
  467. package/dist/formItem-Do31LPIz.cjs +0 -1
  468. package/dist/formItem-cj8JQT2r.js +0 -22
  469. package/dist/fr-D1kezmpm.cjs +0 -1
  470. package/dist/fr-DoLP2lvG.js +0 -22
  471. package/dist/fr-ca-D872_l2Z.cjs +0 -1
  472. package/dist/fr-ca-EPfCD7sc.js +0 -22
  473. package/dist/ga-B7Rd2JIZ.cjs +0 -1
  474. package/dist/ga-BcnAx7jm.js +0 -22
  475. package/dist/gl-CBMDu4db.js +0 -22
  476. package/dist/gl-DI-aVaAh.cjs +0 -1
  477. package/dist/he-O14-JKYm.cjs +0 -1
  478. package/dist/he-VbXQT3dj.js +0 -26
  479. package/dist/hi-BSHDLwY4.cjs +0 -1
  480. package/dist/hi-nXeMgLvO.js +0 -22
  481. package/dist/hooks/common/element.d.ts +0 -42
  482. package/dist/hooks/common/index.d.ts +0 -2
  483. package/dist/hooks/common/theme.d.ts +0 -12
  484. package/dist/hooks/index.d.ts +0 -2
  485. package/dist/hooks/store/index.d.ts +0 -12
  486. package/dist/hr-BuVBNZ4z.cjs +0 -1
  487. package/dist/hr-C3DFfYc9.js +0 -26
  488. package/dist/hu-Bs3B-9e3.js +0 -44
  489. package/dist/hu-CXrkHTYq.cjs +0 -1
  490. package/dist/hy-am-BLnv1pCz.cjs +0 -1
  491. package/dist/hy-am-CvHDFapi.js +0 -22
  492. package/dist/icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js +0 -25
  493. package/dist/icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs +0 -1
  494. package/dist/id-CO78nlWo.js +0 -22
  495. package/dist/id-DG0GoH6p.cjs +0 -1
  496. package/dist/index-3fW_aWMH.js +0 -1357
  497. package/dist/index-4PPmJYKt.cjs +0 -51
  498. package/dist/index-8hE8gNZo.cjs +0 -1
  499. package/dist/index-B6BQyTQZ.js +0 -104
  500. package/dist/index-B72l3XQl.js +0 -453
  501. package/dist/index-B8lWNEk-.cjs +0 -1
  502. package/dist/index-BB9rZNCd.cjs +0 -181
  503. package/dist/index-BCk0LJsg.cjs +0 -347
  504. package/dist/index-BVLGR2QA.cjs +0 -1
  505. package/dist/index-BVUz9lFN.cjs +0 -325
  506. package/dist/index-BZf3IisW.cjs +0 -1
  507. package/dist/index-BccuJTEJ.cjs +0 -1
  508. package/dist/index-Bhu7a5V1.cjs +0 -10
  509. package/dist/index-Bj0HJWQW.cjs +0 -1
  510. package/dist/index-Bo1Sw1k6.js +0 -1509
  511. package/dist/index-BqD_ySXV.cjs +0 -1
  512. package/dist/index-BsXm6fLD.js +0 -1493
  513. package/dist/index-Bu0xFQA6.js +0 -204
  514. package/dist/index-C78D4bvx.js +0 -682
  515. package/dist/index-CCeXsiaV.js +0 -581
  516. package/dist/index-CEPcVhC6.cjs +0 -1
  517. package/dist/index-CNOUPCih.js +0 -698
  518. package/dist/index-COyKmK8p.js +0 -1160
  519. package/dist/index-CR_tJiJv.js +0 -653
  520. package/dist/index-CUE1ALKr.js +0 -432
  521. package/dist/index-CWE_REOU.cjs +0 -1
  522. package/dist/index-Cap7FkuS.cjs +0 -1
  523. package/dist/index-CgZH_WDO.js +0 -270
  524. package/dist/index-Ch9jeYmj.cjs +0 -1
  525. package/dist/index-CjcjqKkB.js +0 -571
  526. package/dist/index-Cphndmia.cjs +0 -214
  527. package/dist/index-CsBTnVvp.js +0 -83
  528. package/dist/index-CuxnFxdY.cjs +0 -1
  529. package/dist/index-D14r6xyt.cjs +0 -1
  530. package/dist/index-D1ZL6feZ.js +0 -50484
  531. package/dist/index-D1f110me.js +0 -71
  532. package/dist/index-D5WpEOUO.cjs +0 -351
  533. package/dist/index-DBQ-tc2k.cjs +0 -1
  534. package/dist/index-DMszow96.cjs +0 -110
  535. package/dist/index-DQ9Vb0QH.js +0 -759
  536. package/dist/index-DTzB2pWI.cjs +0 -159
  537. package/dist/index-DWCSzZfR.cjs +0 -80
  538. package/dist/index-DWjMyXtP.cjs +0 -1
  539. package/dist/index-DaRhLTx9.js +0 -1876
  540. package/dist/index-DcPL6st2.cjs +0 -1
  541. package/dist/index-DgcFxYFp.js +0 -14
  542. package/dist/index-DiDIFoTk.js +0 -18
  543. package/dist/index-DyWFUxn5.js +0 -11674
  544. package/dist/index-HM72iSCq.js +0 -64
  545. package/dist/index-Hdc_C4Xg.js +0 -389
  546. package/dist/index-HkPkpZp-.js +0 -88
  547. package/dist/index-LpGkgW2u.js +0 -41
  548. package/dist/index-M-hTLR0c.js +0 -44
  549. package/dist/index-RdEhd65J.cjs +0 -65
  550. package/dist/index-XU85x6vz.cjs +0 -9
  551. package/dist/index-g5ZjtbqH.cjs +0 -102
  552. package/dist/index-gA02bxwJ.js +0 -5947
  553. package/dist/index-jx5A2kt8.cjs +0 -850
  554. package/dist/index-kDCMxtRw.js +0 -4
  555. package/dist/index-tSmvj7CR.js +0 -1742
  556. package/dist/index-uaq_HmHi.js +0 -87
  557. package/dist/index-zYoSB4fa.cjs +0 -9
  558. package/dist/index.cjs +0 -1
  559. package/dist/index.js +0 -40
  560. package/dist/is-Bip0ggci.js +0 -30
  561. package/dist/is-C40R_fdL.cjs +0 -1
  562. package/dist/it-BFF7WzRR.js +0 -22
  563. package/dist/it-D7K-0U_k.cjs +0 -1
  564. package/dist/ja-4CWMghxy.js +0 -24
  565. package/dist/ja-CAXCMb11.cjs +0 -1
  566. package/dist/ka-DrA_EMLP.js +0 -22
  567. package/dist/ka-JF7_8awE.cjs +0 -1
  568. package/dist/kk-Bv8yYeRk.cjs +0 -1
  569. package/dist/kk-QVPqpI2b.js +0 -22
  570. package/dist/km-BmycjYfj.cjs +0 -1
  571. package/dist/km-CBMnSWv_.js +0 -22
  572. package/dist/kn-CFiXt5hu.cjs +0 -1
  573. package/dist/kn-TECqDIit.js +0 -22
  574. package/dist/ko-DlQtUQ6r.cjs +0 -1
  575. package/dist/ko-MjoD8l4E.js +0 -24
  576. package/dist/ku-5MauiT2q.cjs +0 -1
  577. package/dist/ku-BfqBpklm.js +0 -32
  578. package/dist/lt-CkWoaAYB.cjs +0 -1
  579. package/dist/lt-D0cq_0yM.js +0 -26
  580. package/dist/lv-CVdYvxq8.js +0 -22
  581. package/dist/lv-CoTNe47-.cjs +0 -1
  582. package/dist/mk-DDuk7A3P.js +0 -22
  583. package/dist/mk-DVN6iYK_.cjs +0 -1
  584. package/dist/ml-CPI3tJe8.js +0 -22
  585. package/dist/ml-DnXJOqZ0.cjs +0 -1
  586. package/dist/mn-CNbMEx0y.js +0 -22
  587. package/dist/mn-DMIrWGkN.cjs +0 -1
  588. package/dist/modal-3Iw7tqyx.js +0 -85
  589. package/dist/modal-BPJM1Muh.js +0 -59
  590. package/dist/modal-BYw2WLwG.cjs +0 -1
  591. package/dist/modal-D4cRUUVN.js +0 -74
  592. package/dist/modal-DZRJyZfk.cjs +0 -1
  593. package/dist/modal-_fid8E1T.cjs +0 -1
  594. package/dist/ms-my-BcgYEtml.js +0 -22
  595. package/dist/ms-my-BoMZ8Hzl.cjs +0 -1
  596. package/dist/nb-BL5QmNEa.js +0 -22
  597. package/dist/nb-BdFW_T0n.cjs +0 -1
  598. package/dist/ne-9klrwaIE.js +0 -24
  599. package/dist/ne-VNPqdWFn.cjs +0 -1
  600. package/dist/nl-DBFNL8wC.cjs +0 -1
  601. package/dist/nl-DxyA21TA.js +0 -22
  602. package/dist/nl-be-Bo6vnbHY.cjs +0 -1
  603. package/dist/nl-be-Di_N4z2D.js +0 -22
  604. package/dist/outline-UAdT8ap6.cjs +0 -1
  605. package/dist/outline-utbOTCBV.js +0 -54
  606. package/dist/pl-BbDu9Cfd.js +0 -47
  607. package/dist/pl-De2Dm_kD.cjs +0 -1
  608. package/dist/pluginManager-D8PM7ICc.js +0 -383
  609. package/dist/pluginManager-itCTrGag.cjs +0 -1
  610. package/dist/pt-BaTZB0XW.cjs +0 -1
  611. package/dist/pt-CKDbEzZ-.js +0 -22
  612. package/dist/pt-br-B_N58uu_.cjs +0 -1
  613. package/dist/pt-br-C1mqj5qX.js +0 -22
  614. package/dist/radio-ChBAvqeY.js +0 -32
  615. package/dist/radio-D3AHEMXb.cjs +0 -1
  616. package/dist/radio-DAOm4xuJ.js +0 -30
  617. package/dist/radio-J90E17Sb.cjs +0 -1
  618. package/dist/ro-Cnuhxb40.cjs +0 -1
  619. package/dist/ro-V1i-UrkP.js +0 -22
  620. package/dist/row-B28N4Nao.cjs +0 -1
  621. package/dist/row-BC69rVQW.js +0 -32
  622. package/dist/row-BX4lrSir.js +0 -33
  623. package/dist/row-BpXp0tC3.cjs +0 -1
  624. package/dist/row-CkyJ9pQh.js +0 -35
  625. package/dist/row-NNlPGZRG.cjs +0 -1
  626. package/dist/ru-CCbLARi0.js +0 -37
  627. package/dist/ru-_du5Xwu3.cjs +0 -1
  628. package/dist/script/src/check-compiled.d.ts +0 -1
  629. package/dist/select-B8HCbraJ.js +0 -29
  630. package/dist/select-D6bRz5G2.cjs +0 -1
  631. package/dist/sign-CdhDIjlg.js +0 -138
  632. package/dist/sign-Dx0d5kWo.cjs +0 -1
  633. package/dist/sk-DD18bemk.js +0 -53
  634. package/dist/sk-DRjgEzVO.cjs +0 -1
  635. package/dist/sl-CL8MnX8D.js +0 -56
  636. package/dist/sl-nqW7xzZa.cjs +0 -1
  637. package/dist/sr-BiP5qrT7.js +0 -29
  638. package/dist/sr-BnjILg54.cjs +0 -1
  639. package/dist/style.css +0 -1
  640. package/dist/styleView-BrdzlBZA.cjs +0 -1
  641. package/dist/styleView-CeqIxdNC.js +0 -105
  642. package/dist/sv-6b7oq_fA.cjs +0 -1
  643. package/dist/sv-DxlAeqP5.js +0 -23
  644. package/dist/ta-CsfYqZQU.js +0 -22
  645. package/dist/ta-HTr6IFsZ.cjs +0 -1
  646. package/dist/th-C-CGWPlT.cjs +0 -1
  647. package/dist/th-CC5sx7mS.js +0 -22
  648. package/dist/tr-CCMwF27-.js +0 -22
  649. package/dist/tr-z7Blusoy.cjs +0 -1
  650. package/dist/tree.vue_vue_type_script_setup_true_lang-BVopU0uv.cjs +0 -1
  651. package/dist/tree.vue_vue_type_script_setup_true_lang-Bnl1CGxG.js +0 -242
  652. package/dist/ui/antd/button/button.vue.d.ts +0 -30
  653. package/dist/ui/antd/button/index.d.ts +0 -3
  654. package/dist/ui/antd/card/card.d.ts +0 -20
  655. package/dist/ui/antd/card/index.d.ts +0 -3
  656. package/dist/ui/antd/cascader/index.d.ts +0 -3
  657. package/dist/ui/antd/checkbox/index.d.ts +0 -3
  658. package/dist/ui/antd/col/col.d.ts +0 -20
  659. package/dist/ui/antd/col/index.d.ts +0 -3
  660. package/dist/ui/antd/color-picker/index.d.ts +0 -3
  661. package/dist/ui/antd/date-picker/datePicker.d.ts +0 -29
  662. package/dist/ui/antd/date-picker/index.d.ts +0 -3
  663. package/dist/ui/antd/form/form.vue.d.ts +0 -64
  664. package/dist/ui/antd/form/index.d.ts +0 -3
  665. package/dist/ui/antd/form-item/formItem.vue.d.ts +0 -18
  666. package/dist/ui/antd/form-item/index.d.ts +0 -3
  667. package/dist/ui/antd/index.cjs +0 -10
  668. package/dist/ui/antd/index.d.ts +0 -7
  669. package/dist/ui/antd/index.js +0 -3117
  670. package/dist/ui/antd/input/index.d.ts +0 -3
  671. package/dist/ui/antd/input-number/index.d.ts +0 -3
  672. package/dist/ui/antd/input-password/index.d.ts +0 -3
  673. package/dist/ui/antd/modal/index.d.ts +0 -3
  674. package/dist/ui/antd/modal/modal.vue.d.ts +0 -42
  675. package/dist/ui/antd/radio/index.d.ts +0 -3
  676. package/dist/ui/antd/row/index.d.ts +0 -3
  677. package/dist/ui/antd/row/row.d.ts +0 -20
  678. package/dist/ui/antd/select/index.d.ts +0 -3
  679. package/dist/ui/antd/slider/index.d.ts +0 -3
  680. package/dist/ui/antd/switch/index.d.ts +0 -3
  681. package/dist/ui/antd/textarea/index.d.ts +0 -3
  682. package/dist/ui/antd/time-picker/index.d.ts +0 -3
  683. package/dist/ui/antd/upload-file/index.d.ts +0 -3
  684. package/dist/ui/antd/upload-file/uploadFile.d.ts +0 -21
  685. package/dist/ui/antd/upload-image/index.d.ts +0 -3
  686. package/dist/ui/antd/upload-image/uploadImage.vue.d.ts +0 -28
  687. package/dist/ui/elementPlus/button/button.d.ts +0 -18
  688. package/dist/ui/elementPlus/button/index.d.ts +0 -3
  689. package/dist/ui/elementPlus/card/card.d.ts +0 -20
  690. package/dist/ui/elementPlus/card/index.d.ts +0 -3
  691. package/dist/ui/elementPlus/cascader/index.d.ts +0 -3
  692. package/dist/ui/elementPlus/checkbox/checkbox.d.ts +0 -6
  693. package/dist/ui/elementPlus/checkbox/index.d.ts +0 -3
  694. package/dist/ui/elementPlus/col/col.d.ts +0 -20
  695. package/dist/ui/elementPlus/col/index.d.ts +0 -3
  696. package/dist/ui/elementPlus/collapse/collapse.d.ts +0 -20
  697. package/dist/ui/elementPlus/collapse/index.d.ts +0 -3
  698. package/dist/ui/elementPlus/collapse-item/collapseItem.d.ts +0 -20
  699. package/dist/ui/elementPlus/collapse-item/index.d.ts +0 -3
  700. package/dist/ui/elementPlus/color-picker/index.d.ts +0 -3
  701. package/dist/ui/elementPlus/date-picker/index.d.ts +0 -3
  702. package/dist/ui/elementPlus/form/form.vue.d.ts +0 -62
  703. package/dist/ui/elementPlus/form/index.d.ts +0 -3
  704. package/dist/ui/elementPlus/formItem/formItem.vue.d.ts +0 -18
  705. package/dist/ui/elementPlus/formItem/index.d.ts +0 -3
  706. package/dist/ui/elementPlus/index.cjs +0 -1
  707. package/dist/ui/elementPlus/index.d.ts +0 -6
  708. package/dist/ui/elementPlus/index.js +0 -2721
  709. package/dist/ui/elementPlus/input/index.d.ts +0 -3
  710. package/dist/ui/elementPlus/input-number/index.d.ts +0 -3
  711. package/dist/ui/elementPlus/modal/index.d.ts +0 -3
  712. package/dist/ui/elementPlus/modal/modal.d.ts +0 -22
  713. package/dist/ui/elementPlus/radio/index.d.ts +0 -3
  714. package/dist/ui/elementPlus/radio/radio.d.ts +0 -6
  715. package/dist/ui/elementPlus/row/index.d.ts +0 -3
  716. package/dist/ui/elementPlus/row/row.d.ts +0 -20
  717. package/dist/ui/elementPlus/select/index.d.ts +0 -3
  718. package/dist/ui/elementPlus/select/select.d.ts +0 -6
  719. package/dist/ui/elementPlus/sign/index.d.ts +0 -3
  720. package/dist/ui/elementPlus/slider/index.d.ts +0 -3
  721. package/dist/ui/elementPlus/switch/index.d.ts +0 -3
  722. package/dist/ui/elementPlus/textarea/index.d.ts +0 -3
  723. package/dist/ui/elementPlus/upload-file/index.d.ts +0 -3
  724. package/dist/ui/elementPlus/upload-file/uploadFile.d.ts +0 -20
  725. package/dist/ui/elementPlus/upload-image/index.d.ts +0 -3
  726. package/dist/ui/elementPlus/upload-image/uploadImage.d.ts +0 -20
  727. package/dist/ui/index.d.ts +0 -3
  728. package/dist/ui/naiveUi/button/button.d.ts +0 -18
  729. package/dist/ui/naiveUi/button/index.d.ts +0 -3
  730. package/dist/ui/naiveUi/card/card.d.ts +0 -20
  731. package/dist/ui/naiveUi/card/index.d.ts +0 -3
  732. package/dist/ui/naiveUi/cascader/index.d.ts +0 -3
  733. package/dist/ui/naiveUi/checkbox/checkbox.d.ts +0 -6
  734. package/dist/ui/naiveUi/checkbox/index.d.ts +0 -3
  735. package/dist/ui/naiveUi/col/col.d.ts +0 -20
  736. package/dist/ui/naiveUi/col/index.d.ts +0 -3
  737. package/dist/ui/naiveUi/collapse/collapse.d.ts +0 -20
  738. package/dist/ui/naiveUi/collapse/index.d.ts +0 -3
  739. package/dist/ui/naiveUi/collapse-item/collapseItem.d.ts +0 -20
  740. package/dist/ui/naiveUi/collapse-item/index.d.ts +0 -3
  741. package/dist/ui/naiveUi/color-picker/index.d.ts +0 -3
  742. package/dist/ui/naiveUi/date-picker/index.d.ts +0 -3
  743. package/dist/ui/naiveUi/form/index.d.ts +0 -3
  744. package/dist/ui/naiveUi/form-item/formItem.vue.d.ts +0 -18
  745. package/dist/ui/naiveUi/form-item/index.d.ts +0 -3
  746. package/dist/ui/naiveUi/index.cjs +0 -1
  747. package/dist/ui/naiveUi/index.d.ts +0 -2
  748. package/dist/ui/naiveUi/index.js +0 -2361
  749. package/dist/ui/naiveUi/input/index.d.ts +0 -3
  750. package/dist/ui/naiveUi/input-number/index.d.ts +0 -3
  751. package/dist/ui/naiveUi/modal/index.d.ts +0 -3
  752. package/dist/ui/naiveUi/modal/modal.d.ts +0 -22
  753. package/dist/ui/naiveUi/radio/index.d.ts +0 -3
  754. package/dist/ui/naiveUi/radio/radio.d.ts +0 -6
  755. package/dist/ui/naiveUi/row/index.d.ts +0 -3
  756. package/dist/ui/naiveUi/row/row.d.ts +0 -20
  757. package/dist/ui/naiveUi/select/index.d.ts +0 -3
  758. package/dist/ui/naiveUi/slider/index.d.ts +0 -3
  759. package/dist/ui/naiveUi/switch/index.d.ts +0 -3
  760. package/dist/ui/naiveUi/upload-file/index.d.ts +0 -3
  761. package/dist/ui/naiveUi/upload-file/uploadFile.d.ts +0 -20
  762. package/dist/ui/naiveUi/upload-image/index.d.ts +0 -3
  763. package/dist/ui/naiveUi/upload-image/uploadImage.d.ts +0 -20
  764. package/dist/uk-Ba9IHfoi.js +0 -31
  765. package/dist/uk-Cc6k-QUE.cjs +0 -1
  766. package/dist/uploadFile-BU5cBhab.js +0 -67
  767. package/dist/uploadFile-C3HY1r-N.js +0 -78
  768. package/dist/uploadFile-COrVkbrU.js +0 -70
  769. package/dist/uploadFile-Dv3Rsw56.cjs +0 -1
  770. package/dist/uploadFile-LCUznBf2.cjs +0 -1
  771. package/dist/uploadFile-z7Ko58XG.cjs +0 -1
  772. package/dist/uploadImage-BQhv5ymq.cjs +0 -1
  773. package/dist/uploadImage-CYV7X1sG.js +0 -88
  774. package/dist/uploadImage-CnNnAISs.js +0 -84
  775. package/dist/uploadImage-Db_66X3C.js +0 -93
  776. package/dist/uploadImage-nwjqcVFU.cjs +0 -1
  777. package/dist/uploadImage-xU0He_aO.cjs +0 -1
  778. package/dist/ur-C0tmW1hr.js +0 -22
  779. package/dist/ur-CPEUOWqh.cjs +0 -1
  780. package/dist/utils/__test__/common/debounce.test.d.ts +0 -1
  781. package/dist/utils/__test__/common/deepClone.test.d.ts +0 -1
  782. package/dist/utils/__test__/common/deepCompareAndModify.test.d.ts +0 -1
  783. package/dist/utils/__test__/common/deepEqual.test.d.ts +0 -1
  784. package/dist/utils/__test__/common/findSchemaById.test.d.ts +0 -1
  785. package/dist/utils/__test__/common/findSchemas.test.d.ts +0 -1
  786. package/dist/utils/__test__/common/getFormSchemas.test.d.ts +0 -1
  787. package/dist/utils/__test__/common/getMatchedById.test.d.ts +0 -1
  788. package/dist/utils/__test__/common/getUUID.test.d.ts +0 -1
  789. package/dist/utils/__test__/common/getValueByPath.test.d.ts +0 -1
  790. package/dist/utils/__test__/common/mapSchemas.test.d.ts +0 -1
  791. package/dist/utils/__test__/common/setValueByPath.test.d.ts +0 -1
  792. package/dist/utils/__test__/manager/pageManager.test.d.ts +0 -1
  793. package/dist/utils/__test__/manager/revoke.test.d.ts +0 -1
  794. package/dist/utils/common/common.d.ts +0 -7
  795. package/dist/utils/common/component.d.ts +0 -7
  796. package/dist/utils/common/data.d.ts +0 -119
  797. package/dist/utils/common/eventBus.d.ts +0 -2
  798. package/dist/utils/common/index.d.ts +0 -5
  799. package/dist/utils/common/string.d.ts +0 -11
  800. package/dist/utils/index.d.ts +0 -2
  801. package/dist/utils/manager/pageManager.d.ts +0 -26
  802. package/dist/utils/manager/pluginManager.d.ts +0 -379
  803. package/dist/utils/manager/revoke.d.ts +0 -40
  804. package/dist/utils-BM69FtWE.js +0 -66
  805. package/dist/utils-zEcOzoWV.cjs +0 -1
  806. package/dist/vi-Dyfq5Qgz.cjs +0 -1
  807. package/dist/vi-j1PGHz1o.js +0 -22
  808. package/dist/vuedraggable.umd-BqhSJIAi.cjs +0 -10
  809. package/dist/vuedraggable.umd-D2S7Eo7p.js +0 -4425
  810. package/dist/zh-cn-BKQHxHe9.cjs +0 -1
  811. package/dist/zh-cn-BYui8_WB.js +0 -25
  812. package/dist/zh-hk-QZ4a6JLR.js +0 -25
  813. package/dist/zh-hk-hNFRxlrX.cjs +0 -1
  814. package/dist/zh-tw-BT16WIrT.js +0 -25
  815. package/dist/zh-tw-SGOlw9Wo.cjs +0 -1
  816. /package/{dist → packages/core}/theme/var.less +0 -0
  817. /package/{shims-vue.d.ts → packages/epic-designer/shims-vue.d.ts} +0 -0
  818. /package/{tsconfig.json → packages/epic-designer/tsconfig.json} +0 -0
@@ -1,1493 +0,0 @@
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
- };