@cldemo/ui-kit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (720) hide show
  1. package/COMPONENT_CATALOG.md +210 -0
  2. package/LICENSE +21 -0
  3. package/README.md +120 -0
  4. package/buildLibs/all/index.cjs +99 -0
  5. package/buildLibs/all/index.cjs.map +1 -0
  6. package/buildLibs/all/index.d.ts +83 -0
  7. package/buildLibs/all/index.js +168 -0
  8. package/buildLibs/all/index.js.map +1 -0
  9. package/buildLibs/common/Element/Event/drag.d.ts +24 -0
  10. package/buildLibs/common/Element/Event/index.d.ts +9 -0
  11. package/buildLibs/common/Element/Event/resize.d.ts +20 -0
  12. package/buildLibs/common/Element/index.d.ts +104 -0
  13. package/buildLibs/common/Element_Event_drag-DeZYlveu.js +430 -0
  14. package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +1 -0
  15. package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +3 -0
  16. package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +1 -0
  17. package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +2 -0
  18. package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +1 -0
  19. package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +49 -0
  20. package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +1 -0
  21. package/buildLibs/common/Tools/animateEasing.d.ts +27 -0
  22. package/buildLibs/common/Tools/cookie.d.ts +8 -0
  23. package/buildLibs/common/Tools/delayFun.d.ts +9 -0
  24. package/buildLibs/common/Tools/index.d.ts +15 -0
  25. package/buildLibs/common/Tools/localStorage.d.ts +9 -0
  26. package/buildLibs/common/Tools/number.d.ts +8 -0
  27. package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +2 -0
  28. package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +1 -0
  29. package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +50 -0
  30. package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +1 -0
  31. package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +2 -0
  32. package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +1 -0
  33. package/buildLibs/common/Tools_cookie-DKctMXdK.js +31 -0
  34. package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +1 -0
  35. package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +21 -0
  36. package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +1 -0
  37. package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +2 -0
  38. package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +1 -0
  39. package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +2 -0
  40. package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +1 -0
  41. package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +48 -0
  42. package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +1 -0
  43. package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +2 -0
  44. package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +1 -0
  45. package/buildLibs/common/Tools_number-C_MjN473.js +22 -0
  46. package/buildLibs/common/Tools_number-C_MjN473.js.map +1 -0
  47. package/buildLibs/common/axios-DZoeNi6y.cjs +2 -0
  48. package/buildLibs/common/axios-DZoeNi6y.cjs.map +1 -0
  49. package/buildLibs/common/axios-DqkFEq4Y.js +242 -0
  50. package/buildLibs/common/axios-DqkFEq4Y.js.map +1 -0
  51. package/buildLibs/common/axios.d.ts +28 -0
  52. package/buildLibs/common/base-PQGakkrl.js +808 -0
  53. package/buildLibs/common/base-PQGakkrl.js.map +1 -0
  54. package/buildLibs/common/base-iCmnU-fv.cjs +2 -0
  55. package/buildLibs/common/base-iCmnU-fv.cjs.map +1 -0
  56. package/buildLibs/common/base.d.ts +222 -0
  57. package/buildLibs/common/day-BzMalBXj.cjs +2 -0
  58. package/buildLibs/common/day-BzMalBXj.cjs.map +1 -0
  59. package/buildLibs/common/day-Dm_AnEZp.js +75 -0
  60. package/buildLibs/common/day-Dm_AnEZp.js.map +1 -0
  61. package/buildLibs/common/day.d.ts +25 -0
  62. package/buildLibs/common/echart-BtfUJ8lE.js +498 -0
  63. package/buildLibs/common/echart-BtfUJ8lE.js.map +1 -0
  64. package/buildLibs/common/echart-Cs3rQ-e9.cjs +2 -0
  65. package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +1 -0
  66. package/buildLibs/common/echart.d.ts +82 -0
  67. package/buildLibs/common/i18n/en.d.ts +111 -0
  68. package/buildLibs/common/i18n/index.d.ts +25 -0
  69. package/buildLibs/common/i18n/zh_CN.d.ts +111 -0
  70. package/buildLibs/common/i18n_en-BHhFEbi6.js +114 -0
  71. package/buildLibs/common/i18n_en-BHhFEbi6.js.map +1 -0
  72. package/buildLibs/common/i18n_en-D-5antzy.cjs +2 -0
  73. package/buildLibs/common/i18n_en-D-5antzy.cjs.map +1 -0
  74. package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +114 -0
  75. package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +1 -0
  76. package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +2 -0
  77. package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +1 -0
  78. package/buildLibs/common/index.cjs +2 -0
  79. package/buildLibs/common/index.cjs.map +1 -0
  80. package/buildLibs/common/index.d.ts +10 -0
  81. package/buildLibs/common/index.js +124 -0
  82. package/buildLibs/common/index.js.map +1 -0
  83. package/buildLibs/common/promise-BtoePzHD.cjs +2 -0
  84. package/buildLibs/common/promise-BtoePzHD.cjs.map +1 -0
  85. package/buildLibs/common/promise-CPiVqqqL.js +44 -0
  86. package/buildLibs/common/promise-CPiVqqqL.js.map +1 -0
  87. package/buildLibs/common/promise.d.ts +14 -0
  88. package/buildLibs/common/tooltip-De0atcAJ.js +215 -0
  89. package/buildLibs/common/tooltip-De0atcAJ.js.map +1 -0
  90. package/buildLibs/common/tooltip-Dj_ol2ax.cjs +2 -0
  91. package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +1 -0
  92. package/buildLibs/common/tooltip.d.ts +37 -0
  93. package/buildLibs/mobile/index.cjs +56 -0
  94. package/buildLibs/mobile/index.cjs.map +1 -0
  95. package/buildLibs/mobile/index.d.ts +47 -0
  96. package/buildLibs/mobile/index.js +96 -0
  97. package/buildLibs/mobile/index.js.map +1 -0
  98. package/buildLibs/resolver/index.cjs +2 -0
  99. package/buildLibs/resolver/index.cjs.map +1 -0
  100. package/buildLibs/resolver/index.js +82 -0
  101. package/buildLibs/resolver/index.js.map +1 -0
  102. package/buildLibs/resolver/resolver.d.ts +7 -0
  103. package/buildLibs/utils/Element/ClAnchorNav.cjs +2 -0
  104. package/buildLibs/utils/Element/ClAnchorNav.cjs.map +1 -0
  105. package/buildLibs/utils/Element/ClAnchorNav.css +1 -0
  106. package/buildLibs/utils/Element/ClAnchorNav.d.ts +3 -0
  107. package/buildLibs/utils/Element/ClAnchorNav.js +55 -0
  108. package/buildLibs/utils/Element/ClAnchorNav.js.map +1 -0
  109. package/buildLibs/utils/Element/ClBadge.cjs +2 -0
  110. package/buildLibs/utils/Element/ClBadge.cjs.map +1 -0
  111. package/buildLibs/utils/Element/ClBadge.d.ts +3 -0
  112. package/buildLibs/utils/Element/ClBadge.js +5 -0
  113. package/buildLibs/utils/Element/ClBadge.js.map +1 -0
  114. package/buildLibs/utils/Element/ClButton.cjs +2 -0
  115. package/buildLibs/utils/Element/ClButton.cjs.map +1 -0
  116. package/buildLibs/utils/Element/ClButton.css +1 -0
  117. package/buildLibs/utils/Element/ClButton.d.ts +3 -0
  118. package/buildLibs/utils/Element/ClButton.js +226 -0
  119. package/buildLibs/utils/Element/ClButton.js.map +1 -0
  120. package/buildLibs/utils/Element/ClCheckbox.cjs +2 -0
  121. package/buildLibs/utils/Element/ClCheckbox.cjs.map +1 -0
  122. package/buildLibs/utils/Element/ClCheckbox.d.ts +3 -0
  123. package/buildLibs/utils/Element/ClCheckbox.js +205 -0
  124. package/buildLibs/utils/Element/ClCheckbox.js.map +1 -0
  125. package/buildLibs/utils/Element/ClCheckboxOne.d.ts +3 -0
  126. package/buildLibs/utils/Element/ClClipboard.cjs +2 -0
  127. package/buildLibs/utils/Element/ClClipboard.cjs.map +1 -0
  128. package/buildLibs/utils/Element/ClClipboard.d.ts +3 -0
  129. package/buildLibs/utils/Element/ClClipboard.js +5 -0
  130. package/buildLibs/utils/Element/ClClipboard.js.map +1 -0
  131. package/buildLibs/utils/Element/ClCountup.cjs +2 -0
  132. package/buildLibs/utils/Element/ClCountup.cjs.map +1 -0
  133. package/buildLibs/utils/Element/ClCountup.d.ts +3 -0
  134. package/buildLibs/utils/Element/ClCountup.js +56 -0
  135. package/buildLibs/utils/Element/ClCountup.js.map +1 -0
  136. package/buildLibs/utils/Element/ClCropper.cjs +2 -0
  137. package/buildLibs/utils/Element/ClCropper.cjs.map +1 -0
  138. package/buildLibs/utils/Element/ClCropper.d.ts +3 -0
  139. package/buildLibs/utils/Element/ClCropper.js +5 -0
  140. package/buildLibs/utils/Element/ClCropper.js.map +1 -0
  141. package/buildLibs/utils/Element/ClCropperPreview.css +1 -0
  142. package/buildLibs/utils/Element/ClDarg.cjs +7 -0
  143. package/buildLibs/utils/Element/ClDarg.cjs.map +1 -0
  144. package/buildLibs/utils/Element/ClDarg.css +1 -0
  145. package/buildLibs/utils/Element/ClDarg.d.ts +3 -0
  146. package/buildLibs/utils/Element/ClDarg.js +1554 -0
  147. package/buildLibs/utils/Element/ClDarg.js.map +1 -0
  148. package/buildLibs/utils/Element/ClEllipsis.cjs +2 -0
  149. package/buildLibs/utils/Element/ClEllipsis.cjs.map +1 -0
  150. package/buildLibs/utils/Element/ClEllipsis.css +1 -0
  151. package/buildLibs/utils/Element/ClEllipsis.d.ts +3 -0
  152. package/buildLibs/utils/Element/ClEllipsis.js +99 -0
  153. package/buildLibs/utils/Element/ClEllipsis.js.map +1 -0
  154. package/buildLibs/utils/Element/ClForm.cjs +2 -0
  155. package/buildLibs/utils/Element/ClForm.cjs.map +1 -0
  156. package/buildLibs/utils/Element/ClForm.css +1 -0
  157. package/buildLibs/utils/Element/ClForm.d.ts +3 -0
  158. package/buildLibs/utils/Element/ClForm.js +139 -0
  159. package/buildLibs/utils/Element/ClForm.js.map +1 -0
  160. package/buildLibs/utils/Element/ClFormGroup.cjs +2 -0
  161. package/buildLibs/utils/Element/ClFormGroup.cjs.map +1 -0
  162. package/buildLibs/utils/Element/ClFormGroup.css +1 -0
  163. package/buildLibs/utils/Element/ClFormGroup.d.ts +3 -0
  164. package/buildLibs/utils/Element/ClFormGroup.js +76 -0
  165. package/buildLibs/utils/Element/ClFormGroup.js.map +1 -0
  166. package/buildLibs/utils/Element/ClFormValidate.d.ts +3 -0
  167. package/buildLibs/utils/Element/ClIconFont.cjs +2 -0
  168. package/buildLibs/utils/Element/ClIconFont.cjs.map +1 -0
  169. package/buildLibs/utils/Element/ClIconFont.d.ts +3 -0
  170. package/buildLibs/utils/Element/ClIconFont.js +5 -0
  171. package/buildLibs/utils/Element/ClIconFont.js.map +1 -0
  172. package/buildLibs/utils/Element/ClImage.cjs +2 -0
  173. package/buildLibs/utils/Element/ClImage.cjs.map +1 -0
  174. package/buildLibs/utils/Element/ClImage.css +1 -0
  175. package/buildLibs/utils/Element/ClImage.d.ts +3 -0
  176. package/buildLibs/utils/Element/ClImage.js +195 -0
  177. package/buildLibs/utils/Element/ClImage.js.map +1 -0
  178. package/buildLibs/utils/Element/ClInput.cjs +2 -0
  179. package/buildLibs/utils/Element/ClInput.cjs.map +1 -0
  180. package/buildLibs/utils/Element/ClInput.d.ts +3 -0
  181. package/buildLibs/utils/Element/ClInput.js +5 -0
  182. package/buildLibs/utils/Element/ClInput.js.map +1 -0
  183. package/buildLibs/utils/Element/ClInputCaptcha.cjs +2 -0
  184. package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +1 -0
  185. package/buildLibs/utils/Element/ClInputCaptcha.css +1 -0
  186. package/buildLibs/utils/Element/ClInputCaptcha.d.ts +3 -0
  187. package/buildLibs/utils/Element/ClInputCaptcha.js +111 -0
  188. package/buildLibs/utils/Element/ClInputCaptcha.js.map +1 -0
  189. package/buildLibs/utils/Element/ClInputNumber.cjs +2 -0
  190. package/buildLibs/utils/Element/ClInputNumber.cjs.map +1 -0
  191. package/buildLibs/utils/Element/ClInputNumber.d.ts +3 -0
  192. package/buildLibs/utils/Element/ClInputNumber.js +5 -0
  193. package/buildLibs/utils/Element/ClInputNumber.js.map +1 -0
  194. package/buildLibs/utils/Element/ClInputSearch.cjs +2 -0
  195. package/buildLibs/utils/Element/ClInputSearch.cjs.map +1 -0
  196. package/buildLibs/utils/Element/ClInputSearch.d.ts +3 -0
  197. package/buildLibs/utils/Element/ClInputSearch.js +5 -0
  198. package/buildLibs/utils/Element/ClInputSearch.js.map +1 -0
  199. package/buildLibs/utils/Element/ClInputTag.css +1 -0
  200. package/buildLibs/utils/Element/ClInputTextarea.cjs +2 -0
  201. package/buildLibs/utils/Element/ClInputTextarea.cjs.map +1 -0
  202. package/buildLibs/utils/Element/ClInputTextarea.d.ts +3 -0
  203. package/buildLibs/utils/Element/ClInputTextarea.js +5 -0
  204. package/buildLibs/utils/Element/ClInputTextarea.js.map +1 -0
  205. package/buildLibs/utils/Element/ClInputnumberButton.d.ts +3 -0
  206. package/buildLibs/utils/Element/ClLink.cjs +2 -0
  207. package/buildLibs/utils/Element/ClLink.cjs.map +1 -0
  208. package/buildLibs/utils/Element/ClLink.d.ts +3 -0
  209. package/buildLibs/utils/Element/ClLink.js +5 -0
  210. package/buildLibs/utils/Element/ClLink.js.map +1 -0
  211. package/buildLibs/utils/Element/ClLoad.cjs +2 -0
  212. package/buildLibs/utils/Element/ClLoad.cjs.map +1 -0
  213. package/buildLibs/utils/Element/ClLoad.d.ts +3 -0
  214. package/buildLibs/utils/Element/ClLoad.js +5 -0
  215. package/buildLibs/utils/Element/ClLoad.js.map +1 -0
  216. package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +3 -0
  217. package/buildLibs/utils/Element/ClLoadIng.d.ts +3 -0
  218. package/buildLibs/utils/Element/ClLoadScreen.cjs +2 -0
  219. package/buildLibs/utils/Element/ClLoadScreen.cjs.map +1 -0
  220. package/buildLibs/utils/Element/ClLoadScreen.d.ts +3 -0
  221. package/buildLibs/utils/Element/ClLoadScreen.js +5 -0
  222. package/buildLibs/utils/Element/ClLoadScreen.js.map +1 -0
  223. package/buildLibs/utils/Element/ClLoadWarp.d.ts +3 -0
  224. package/buildLibs/utils/Element/ClModal.cjs +2 -0
  225. package/buildLibs/utils/Element/ClModal.cjs.map +1 -0
  226. package/buildLibs/utils/Element/ClModal.d.ts +3 -0
  227. package/buildLibs/utils/Element/ClModal.js +5 -0
  228. package/buildLibs/utils/Element/ClModal.js.map +1 -0
  229. package/buildLibs/utils/Element/ClProgress.cjs +2 -0
  230. package/buildLibs/utils/Element/ClProgress.cjs.map +1 -0
  231. package/buildLibs/utils/Element/ClProgress.css +1 -0
  232. package/buildLibs/utils/Element/ClProgress.d.ts +3 -0
  233. package/buildLibs/utils/Element/ClProgress.js +219 -0
  234. package/buildLibs/utils/Element/ClProgress.js.map +1 -0
  235. package/buildLibs/utils/Element/ClRadio.cjs +2 -0
  236. package/buildLibs/utils/Element/ClRadio.cjs.map +1 -0
  237. package/buildLibs/utils/Element/ClRadio.d.ts +3 -0
  238. package/buildLibs/utils/Element/ClRadio.js +176 -0
  239. package/buildLibs/utils/Element/ClRadio.js.map +1 -0
  240. package/buildLibs/utils/Element/ClRadioOne.d.ts +3 -0
  241. package/buildLibs/utils/Element/ClSlider.cjs +2 -0
  242. package/buildLibs/utils/Element/ClSlider.cjs.map +1 -0
  243. package/buildLibs/utils/Element/ClSlider.css +1 -0
  244. package/buildLibs/utils/Element/ClSlider.d.ts +3 -0
  245. package/buildLibs/utils/Element/ClSlider.js +721 -0
  246. package/buildLibs/utils/Element/ClSlider.js.map +1 -0
  247. package/buildLibs/utils/Element/ClSwitchery.cjs +2 -0
  248. package/buildLibs/utils/Element/ClSwitchery.cjs.map +1 -0
  249. package/buildLibs/utils/Element/ClSwitchery.css +1 -0
  250. package/buildLibs/utils/Element/ClSwitchery.d.ts +3 -0
  251. package/buildLibs/utils/Element/ClSwitchery.js +429 -0
  252. package/buildLibs/utils/Element/ClSwitchery.js.map +1 -0
  253. package/buildLibs/utils/Element/ClTags.cjs +2 -0
  254. package/buildLibs/utils/Element/ClTags.cjs.map +1 -0
  255. package/buildLibs/utils/Element/ClTags.d.ts +3 -0
  256. package/buildLibs/utils/Element/ClTags.js +5 -0
  257. package/buildLibs/utils/Element/ClTags.js.map +1 -0
  258. package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +3 -0
  259. package/buildLibs/utils/Element/ClWaterfall.cjs +2 -0
  260. package/buildLibs/utils/Element/ClWaterfall.cjs.map +1 -0
  261. package/buildLibs/utils/Element/ClWaterfall.css +1 -0
  262. package/buildLibs/utils/Element/ClWaterfall.d.ts +3 -0
  263. package/buildLibs/utils/Element/ClWaterfall.js +167 -0
  264. package/buildLibs/utils/Element/ClWaterfall.js.map +1 -0
  265. package/buildLibs/utils/Element/ClWaterfallImage.d.ts +3 -0
  266. package/buildLibs/utils/Element/__provide__/Clipboard.cjs +2 -0
  267. package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +1 -0
  268. package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +2 -0
  269. package/buildLibs/utils/Element/__provide__/Clipboard.js +62 -0
  270. package/buildLibs/utils/Element/__provide__/Clipboard.js.map +1 -0
  271. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +2 -0
  272. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +1 -0
  273. package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +2 -0
  274. package/buildLibs/utils/Element/__provide__/LoadScreen.js +17 -0
  275. package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +1 -0
  276. package/buildLibs/utils/Element/__provide__/languagePack.cjs +2 -0
  277. package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +1 -0
  278. package/buildLibs/utils/Element/__provide__/languagePack.d.ts +2 -0
  279. package/buildLibs/utils/Element/__provide__/languagePack.js +29 -0
  280. package/buildLibs/utils/Element/__provide__/languagePack.js.map +1 -0
  281. package/buildLibs/utils/Mobile/ClCell.cjs +2 -0
  282. package/buildLibs/utils/Mobile/ClCell.cjs.map +1 -0
  283. package/buildLibs/utils/Mobile/ClCell.css +1 -0
  284. package/buildLibs/utils/Mobile/ClCell.d.ts +3 -0
  285. package/buildLibs/utils/Mobile/ClCell.js +130 -0
  286. package/buildLibs/utils/Mobile/ClCell.js.map +1 -0
  287. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +2 -0
  288. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +1 -0
  289. package/buildLibs/utils/Mobile/ClPullToRefresh.css +1 -0
  290. package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +3 -0
  291. package/buildLibs/utils/Mobile/ClPullToRefresh.js +195 -0
  292. package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +1 -0
  293. package/buildLibs/utils/Shared/Alert.css +1 -0
  294. package/buildLibs/utils/Shared/Base.css +1 -0
  295. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +2 -0
  296. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +1 -0
  297. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +354 -0
  298. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +1 -0
  299. package/buildLibs/utils/Shared/BaseTransition.css +1 -0
  300. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +2 -0
  301. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +1 -0
  302. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +121 -0
  303. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +1 -0
  304. package/buildLibs/utils/Shared/Highlight.css +1 -0
  305. package/buildLibs/utils/Shared/Index.css +1 -0
  306. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +233 -0
  307. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +1 -0
  308. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +75 -0
  309. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +1 -0
  310. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +2 -0
  311. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +1 -0
  312. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +2 -0
  313. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +1 -0
  314. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +2 -0
  315. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +1 -0
  316. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +143 -0
  317. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +1 -0
  318. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +2 -0
  319. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +1 -0
  320. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +24 -0
  321. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +1 -0
  322. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +1146 -0
  323. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +1 -0
  324. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +336 -0
  325. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +1 -0
  326. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +2 -0
  327. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +1 -0
  328. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +2 -0
  329. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +1 -0
  330. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +165 -0
  331. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +1 -0
  332. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +2 -0
  333. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +1 -0
  334. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +168 -0
  335. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +1 -0
  336. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +2 -0
  337. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +1 -0
  338. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +2 -0
  339. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +1 -0
  340. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +70 -0
  341. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +1 -0
  342. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +2 -0
  343. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +1 -0
  344. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +84 -0
  345. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +1 -0
  346. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +2 -0
  347. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +1 -0
  348. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +98 -0
  349. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +1 -0
  350. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +342 -0
  351. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +1 -0
  352. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +166 -0
  353. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +1 -0
  354. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +2 -0
  355. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +1 -0
  356. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +2 -0
  357. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +1 -0
  358. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +384 -0
  359. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +1 -0
  360. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +462 -0
  361. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +1 -0
  362. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +2 -0
  363. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +1 -0
  364. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +2 -0
  365. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +1 -0
  366. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +2 -0
  367. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +1 -0
  368. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +2 -0
  369. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +1 -0
  370. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +593 -0
  371. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +1 -0
  372. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +54 -0
  373. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +1 -0
  374. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +144 -0
  375. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +1 -0
  376. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +2 -0
  377. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +1 -0
  378. package/buildLibs/utils/Shared/Index10.css +1 -0
  379. package/buildLibs/utils/Shared/Index11.css +1 -0
  380. package/buildLibs/utils/Shared/Index12.css +1 -0
  381. package/buildLibs/utils/Shared/Index13.css +1 -0
  382. package/buildLibs/utils/Shared/Index14.css +1 -0
  383. package/buildLibs/utils/Shared/Index15.css +1 -0
  384. package/buildLibs/utils/Shared/Index16.css +1 -0
  385. package/buildLibs/utils/Shared/Index17.css +1 -0
  386. package/buildLibs/utils/Shared/Index18.css +1 -0
  387. package/buildLibs/utils/Shared/Index19.css +1 -0
  388. package/buildLibs/utils/Shared/Index2.css +1 -0
  389. package/buildLibs/utils/Shared/Index3.css +1 -0
  390. package/buildLibs/utils/Shared/Index4.css +1 -0
  391. package/buildLibs/utils/Shared/Index5.css +1 -0
  392. package/buildLibs/utils/Shared/Index6.css +1 -0
  393. package/buildLibs/utils/Shared/Index7.css +1 -0
  394. package/buildLibs/utils/Shared/Index8.css +1 -0
  395. package/buildLibs/utils/Shared/Index9.css +1 -0
  396. package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +43 -0
  397. package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +1 -0
  398. package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +2 -0
  399. package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +1 -0
  400. package/buildLibs/utils/Shared/Ing.css +1 -0
  401. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +2 -0
  402. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +1 -0
  403. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +141 -0
  404. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +1 -0
  405. package/buildLibs/utils/Shared/Notify.css +1 -0
  406. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +87 -0
  407. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +1 -0
  408. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +2 -0
  409. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +1 -0
  410. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +109 -0
  411. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +1 -0
  412. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +2 -0
  413. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +1 -0
  414. package/buildLibs/utils/Shared/Tooltip.css +1 -0
  415. package/buildLibs/utils/Shared/Waves.css +7 -0
  416. package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +2 -0
  417. package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +1 -0
  418. package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +10 -0
  419. package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
  420. package/buildLibs/utils/Shared/base-PQGakkrl.js +808 -0
  421. package/buildLibs/utils/Shared/base-PQGakkrl.js.map +1 -0
  422. package/buildLibs/utils/Shared/base-iCmnU-fv.js +2 -0
  423. package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +1 -0
  424. package/buildLibs/utils/Shared/day-Bz9LfelO.js +75 -0
  425. package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +1 -0
  426. package/buildLibs/utils/Shared/day-CvcvgKjb.js +2 -0
  427. package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +1 -0
  428. package/buildLibs/utils/Shared/drag-CzE5R222.js +2 -0
  429. package/buildLibs/utils/Shared/drag-CzE5R222.js.map +1 -0
  430. package/buildLibs/utils/Shared/drag-CzfhSB0g.js +42 -0
  431. package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +1 -0
  432. package/buildLibs/utils/Shared/index-BnerInzC.js +432 -0
  433. package/buildLibs/utils/Shared/index-BnerInzC.js.map +1 -0
  434. package/buildLibs/utils/Shared/index-C1R9HAvS.js +320 -0
  435. package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +1 -0
  436. package/buildLibs/utils/Shared/index-CVBh8iTg.js +2 -0
  437. package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +1 -0
  438. package/buildLibs/utils/Shared/index-Ul6uY51t.js +3 -0
  439. package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +1 -0
  440. package/buildLibs/utils/Shared/language-D6gRWx8H.js +2 -0
  441. package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +1 -0
  442. package/buildLibs/utils/Shared/language-DxTlvFs2.js +18 -0
  443. package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +1 -0
  444. package/buildLibs/utils/Shared/resize-COkswDOq.js +2 -0
  445. package/buildLibs/utils/Shared/resize-COkswDOq.js.map +1 -0
  446. package/buildLibs/utils/Shared/resize-kOWxHVSP.js +54 -0
  447. package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +1 -0
  448. package/buildLibs/utils/Shared/vue-virtual-scroller.css +1 -0
  449. package/buildLibs/utils/Web/ClBreadcrumb.cjs +2 -0
  450. package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +1 -0
  451. package/buildLibs/utils/Web/ClBreadcrumb.css +1 -0
  452. package/buildLibs/utils/Web/ClBreadcrumb.d.ts +3 -0
  453. package/buildLibs/utils/Web/ClBreadcrumb.js +82 -0
  454. package/buildLibs/utils/Web/ClBreadcrumb.js.map +1 -0
  455. package/buildLibs/utils/Web/ClCalendar.cjs +2 -0
  456. package/buildLibs/utils/Web/ClCalendar.cjs.map +1 -0
  457. package/buildLibs/utils/Web/ClCalendar.css +1 -0
  458. package/buildLibs/utils/Web/ClCalendar.d.ts +3 -0
  459. package/buildLibs/utils/Web/ClCalendar.js +179 -0
  460. package/buildLibs/utils/Web/ClCalendar.js.map +1 -0
  461. package/buildLibs/utils/Web/ClCard.cjs +2 -0
  462. package/buildLibs/utils/Web/ClCard.cjs.map +1 -0
  463. package/buildLibs/utils/Web/ClCard.d.ts +3 -0
  464. package/buildLibs/utils/Web/ClCard.js +5 -0
  465. package/buildLibs/utils/Web/ClCard.js.map +1 -0
  466. package/buildLibs/utils/Web/ClCardLegend.cjs +2 -0
  467. package/buildLibs/utils/Web/ClCardLegend.cjs.map +1 -0
  468. package/buildLibs/utils/Web/ClCardLegend.css +1 -0
  469. package/buildLibs/utils/Web/ClCardLegend.d.ts +3 -0
  470. package/buildLibs/utils/Web/ClCardLegend.js +128 -0
  471. package/buildLibs/utils/Web/ClCardLegend.js.map +1 -0
  472. package/buildLibs/utils/Web/ClCollapse.cjs +2 -0
  473. package/buildLibs/utils/Web/ClCollapse.cjs.map +1 -0
  474. package/buildLibs/utils/Web/ClCollapse.css +1 -0
  475. package/buildLibs/utils/Web/ClCollapse.d.ts +3 -0
  476. package/buildLibs/utils/Web/ClCollapse.js +111 -0
  477. package/buildLibs/utils/Web/ClCollapse.js.map +1 -0
  478. package/buildLibs/utils/Web/ClColorpicker.cjs +2 -0
  479. package/buildLibs/utils/Web/ClColorpicker.cjs.map +1 -0
  480. package/buildLibs/utils/Web/ClColorpicker.css +1 -0
  481. package/buildLibs/utils/Web/ClColorpicker.d.ts +3 -0
  482. package/buildLibs/utils/Web/ClColorpicker.js +1130 -0
  483. package/buildLibs/utils/Web/ClColorpicker.js.map +1 -0
  484. package/buildLibs/utils/Web/ClCropperPreview.cjs +2 -0
  485. package/buildLibs/utils/Web/ClCropperPreview.cjs.map +1 -0
  486. package/buildLibs/utils/Web/ClCropperPreview.d.ts +3 -0
  487. package/buildLibs/utils/Web/ClCropperPreview.js +175 -0
  488. package/buildLibs/utils/Web/ClCropperPreview.js.map +1 -0
  489. package/buildLibs/utils/Web/ClDatetime.cjs +2 -0
  490. package/buildLibs/utils/Web/ClDatetime.cjs.map +1 -0
  491. package/buildLibs/utils/Web/ClDatetime.css +1 -0
  492. package/buildLibs/utils/Web/ClDatetime.d.ts +3 -0
  493. package/buildLibs/utils/Web/ClDatetime.js +2002 -0
  494. package/buildLibs/utils/Web/ClDatetime.js.map +1 -0
  495. package/buildLibs/utils/Web/ClDropdownmenu.cjs +2 -0
  496. package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +1 -0
  497. package/buildLibs/utils/Web/ClDropdownmenu.css +1 -0
  498. package/buildLibs/utils/Web/ClDropdownmenu.d.ts +3 -0
  499. package/buildLibs/utils/Web/ClDropdownmenu.js +75 -0
  500. package/buildLibs/utils/Web/ClDropdownmenu.js.map +1 -0
  501. package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +3 -0
  502. package/buildLibs/utils/Web/ClDropdownpopup.cjs +2 -0
  503. package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +1 -0
  504. package/buildLibs/utils/Web/ClDropdownpopup.css +1 -0
  505. package/buildLibs/utils/Web/ClDropdownpopup.d.ts +3 -0
  506. package/buildLibs/utils/Web/ClDropdownpopup.js +89 -0
  507. package/buildLibs/utils/Web/ClDropdownpopup.js.map +1 -0
  508. package/buildLibs/utils/Web/ClEcharts.cjs +2 -0
  509. package/buildLibs/utils/Web/ClEcharts.cjs.map +1 -0
  510. package/buildLibs/utils/Web/ClEcharts.css +1 -0
  511. package/buildLibs/utils/Web/ClEcharts.d.ts +3 -0
  512. package/buildLibs/utils/Web/ClEcharts.js +297 -0
  513. package/buildLibs/utils/Web/ClEcharts.js.map +1 -0
  514. package/buildLibs/utils/Web/ClFileupload.cjs +2 -0
  515. package/buildLibs/utils/Web/ClFileupload.cjs.map +1 -0
  516. package/buildLibs/utils/Web/ClFileupload.d.ts +3 -0
  517. package/buildLibs/utils/Web/ClFileupload.js +5 -0
  518. package/buildLibs/utils/Web/ClFileupload.js.map +1 -0
  519. package/buildLibs/utils/Web/ClInputTag.cjs +6 -0
  520. package/buildLibs/utils/Web/ClInputTag.cjs.map +1 -0
  521. package/buildLibs/utils/Web/ClInputTag.d.ts +3 -0
  522. package/buildLibs/utils/Web/ClInputTag.js +854 -0
  523. package/buildLibs/utils/Web/ClInputTag.js.map +1 -0
  524. package/buildLibs/utils/Web/ClPaginate.cjs +2 -0
  525. package/buildLibs/utils/Web/ClPaginate.cjs.map +1 -0
  526. package/buildLibs/utils/Web/ClPaginate.css +1 -0
  527. package/buildLibs/utils/Web/ClPaginate.d.ts +3 -0
  528. package/buildLibs/utils/Web/ClPaginate.js +167 -0
  529. package/buildLibs/utils/Web/ClPaginate.js.map +1 -0
  530. package/buildLibs/utils/Web/ClPortlet.cjs +2 -0
  531. package/buildLibs/utils/Web/ClPortlet.cjs.map +1 -0
  532. package/buildLibs/utils/Web/ClPortlet.css +1 -0
  533. package/buildLibs/utils/Web/ClPortlet.d.ts +3 -0
  534. package/buildLibs/utils/Web/ClPortlet.js +47 -0
  535. package/buildLibs/utils/Web/ClPortlet.js.map +1 -0
  536. package/buildLibs/utils/Web/ClPreview.cjs +2 -0
  537. package/buildLibs/utils/Web/ClPreview.cjs.map +1 -0
  538. package/buildLibs/utils/Web/ClPreview.js +5 -0
  539. package/buildLibs/utils/Web/ClPreview.js.map +1 -0
  540. package/buildLibs/utils/Web/ClPreviewexample.cjs +2 -0
  541. package/buildLibs/utils/Web/ClPreviewexample.cjs.map +1 -0
  542. package/buildLibs/utils/Web/ClPreviewexample.d.ts +3 -0
  543. package/buildLibs/utils/Web/ClPreviewexample.js +5 -0
  544. package/buildLibs/utils/Web/ClPreviewexample.js.map +1 -0
  545. package/buildLibs/utils/Web/ClScrollXFence.cjs +2 -0
  546. package/buildLibs/utils/Web/ClScrollXFence.cjs.map +1 -0
  547. package/buildLibs/utils/Web/ClScrollXFence.css +1 -0
  548. package/buildLibs/utils/Web/ClScrollXFence.d.ts +3 -0
  549. package/buildLibs/utils/Web/ClScrollXFence.js +107 -0
  550. package/buildLibs/utils/Web/ClScrollXFence.js.map +1 -0
  551. package/buildLibs/utils/Web/ClSelect.cjs +2 -0
  552. package/buildLibs/utils/Web/ClSelect.cjs.map +1 -0
  553. package/buildLibs/utils/Web/ClSelect.d.ts +3 -0
  554. package/buildLibs/utils/Web/ClSelect.js +5 -0
  555. package/buildLibs/utils/Web/ClSelect.js.map +1 -0
  556. package/buildLibs/utils/Web/ClSelectCascade.cjs +2 -0
  557. package/buildLibs/utils/Web/ClSelectCascade.cjs.map +1 -0
  558. package/buildLibs/utils/Web/ClSelectCascade.css +1 -0
  559. package/buildLibs/utils/Web/ClSelectCascade.d.ts +3 -0
  560. package/buildLibs/utils/Web/ClSelectCascade.js +222 -0
  561. package/buildLibs/utils/Web/ClSelectCascade.js.map +1 -0
  562. package/buildLibs/utils/Web/ClSelectTag.cjs +2 -0
  563. package/buildLibs/utils/Web/ClSelectTag.cjs.map +1 -0
  564. package/buildLibs/utils/Web/ClSelectTag.css +1 -0
  565. package/buildLibs/utils/Web/ClSelectTag.d.ts +3 -0
  566. package/buildLibs/utils/Web/ClSelectTag.js +249 -0
  567. package/buildLibs/utils/Web/ClSelectTag.js.map +1 -0
  568. package/buildLibs/utils/Web/ClSelectTree.cjs +2 -0
  569. package/buildLibs/utils/Web/ClSelectTree.cjs.map +1 -0
  570. package/buildLibs/utils/Web/ClSelectTree.css +1 -0
  571. package/buildLibs/utils/Web/ClSelectTree.d.ts +3 -0
  572. package/buildLibs/utils/Web/ClSelectTree.js +190 -0
  573. package/buildLibs/utils/Web/ClSelectTree.js.map +1 -0
  574. package/buildLibs/utils/Web/ClSelectmove.cjs +2 -0
  575. package/buildLibs/utils/Web/ClSelectmove.cjs.map +1 -0
  576. package/buildLibs/utils/Web/ClSelectmove.css +1 -0
  577. package/buildLibs/utils/Web/ClSelectmove.d.ts +3 -0
  578. package/buildLibs/utils/Web/ClSelectmove.js +1090 -0
  579. package/buildLibs/utils/Web/ClSelectmove.js.map +1 -0
  580. package/buildLibs/utils/Web/ClSidemenu.cjs +2 -0
  581. package/buildLibs/utils/Web/ClSidemenu.cjs.map +1 -0
  582. package/buildLibs/utils/Web/ClSidemenu.css +1 -0
  583. package/buildLibs/utils/Web/ClSidemenu.d.ts +3 -0
  584. package/buildLibs/utils/Web/ClSidemenu.js +190 -0
  585. package/buildLibs/utils/Web/ClSidemenu.js.map +1 -0
  586. package/buildLibs/utils/Web/ClTable.cjs +2 -0
  587. package/buildLibs/utils/Web/ClTable.cjs.map +1 -0
  588. package/buildLibs/utils/Web/ClTable.css +1 -0
  589. package/buildLibs/utils/Web/ClTable.d.ts +3 -0
  590. package/buildLibs/utils/Web/ClTable.js +1914 -0
  591. package/buildLibs/utils/Web/ClTable.js.map +1 -0
  592. package/buildLibs/utils/Web/ClTabs.cjs +2 -0
  593. package/buildLibs/utils/Web/ClTabs.cjs.map +1 -0
  594. package/buildLibs/utils/Web/ClTabs.css +1 -0
  595. package/buildLibs/utils/Web/ClTabs.d.ts +3 -0
  596. package/buildLibs/utils/Web/ClTabs.js +276 -0
  597. package/buildLibs/utils/Web/ClTabs.js.map +1 -0
  598. package/buildLibs/utils/Web/ClTree.cjs +2 -0
  599. package/buildLibs/utils/Web/ClTree.cjs.map +1 -0
  600. package/buildLibs/utils/Web/ClTree.css +1 -0
  601. package/buildLibs/utils/Web/ClTree.d.ts +3 -0
  602. package/buildLibs/utils/Web/ClTree.js +416 -0
  603. package/buildLibs/utils/Web/ClTree.js.map +1 -0
  604. package/buildLibs/utils/Web/ClWeekhour.cjs +2 -0
  605. package/buildLibs/utils/Web/ClWeekhour.cjs.map +1 -0
  606. package/buildLibs/utils/Web/ClWeekhour.css +1 -0
  607. package/buildLibs/utils/Web/ClWeekhour.d.ts +3 -0
  608. package/buildLibs/utils/Web/ClWeekhour.js +679 -0
  609. package/buildLibs/utils/Web/ClWeekhour.js.map +1 -0
  610. package/buildLibs/utils/Web/ClXeditable.cjs +2 -0
  611. package/buildLibs/utils/Web/ClXeditable.cjs.map +1 -0
  612. package/buildLibs/utils/Web/ClXeditable.css +1 -0
  613. package/buildLibs/utils/Web/ClXeditable.d.ts +3 -0
  614. package/buildLibs/utils/Web/ClXeditable.js +593 -0
  615. package/buildLibs/utils/Web/ClXeditable.js.map +1 -0
  616. package/buildLibs/utils/Web/__directive__/Highlight.cjs +4 -0
  617. package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +1 -0
  618. package/buildLibs/utils/Web/__directive__/Highlight.d.ts +2 -0
  619. package/buildLibs/utils/Web/__directive__/Highlight.js +3625 -0
  620. package/buildLibs/utils/Web/__directive__/Highlight.js.map +1 -0
  621. package/buildLibs/utils/Web/__directive__/Tooltip.cjs +2 -0
  622. package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +1 -0
  623. package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +2 -0
  624. package/buildLibs/utils/Web/__directive__/Tooltip.js +356 -0
  625. package/buildLibs/utils/Web/__directive__/Tooltip.js.map +1 -0
  626. package/buildLibs/utils/Web/__directive__/Waves.cjs +9 -0
  627. package/buildLibs/utils/Web/__directive__/Waves.cjs.map +1 -0
  628. package/buildLibs/utils/Web/__directive__/Waves.d.ts +2 -0
  629. package/buildLibs/utils/Web/__directive__/Waves.js +256 -0
  630. package/buildLibs/utils/Web/__directive__/Waves.js.map +1 -0
  631. package/buildLibs/utils/Web/__provide__/Alert.cjs +2 -0
  632. package/buildLibs/utils/Web/__provide__/Alert.cjs.map +1 -0
  633. package/buildLibs/utils/Web/__provide__/Alert.d.ts +2 -0
  634. package/buildLibs/utils/Web/__provide__/Alert.js +236 -0
  635. package/buildLibs/utils/Web/__provide__/Alert.js.map +1 -0
  636. package/buildLibs/utils/Web/__provide__/Notify.cjs +2 -0
  637. package/buildLibs/utils/Web/__provide__/Notify.cjs.map +1 -0
  638. package/buildLibs/utils/Web/__provide__/Notify.d.ts +2 -0
  639. package/buildLibs/utils/Web/__provide__/Notify.js +235 -0
  640. package/buildLibs/utils/Web/__provide__/Notify.js.map +1 -0
  641. package/buildLibs/utils/Web/__provide__/Preview.cjs +2 -0
  642. package/buildLibs/utils/Web/__provide__/Preview.cjs.map +1 -0
  643. package/buildLibs/utils/Web/__provide__/Preview.d.ts +2 -0
  644. package/buildLibs/utils/Web/__provide__/Preview.js +26 -0
  645. package/buildLibs/utils/Web/__provide__/Preview.js.map +1 -0
  646. package/buildLibs/web/index.cjs +97 -0
  647. package/buildLibs/web/index.cjs.map +1 -0
  648. package/buildLibs/web/index.d.ts +81 -0
  649. package/buildLibs/web/index.js +164 -0
  650. package/buildLibs/web/index.js.map +1 -0
  651. package/docs/components/Element/AnchorNav.md +19 -0
  652. package/docs/components/Element/Badge.md +24 -0
  653. package/docs/components/Element/Button.md +45 -0
  654. package/docs/components/Element/Checkbox.md +48 -0
  655. package/docs/components/Element/Clipboard.md +34 -0
  656. package/docs/components/Element/Countup.md +12 -0
  657. package/docs/components/Element/Cropper.md +46 -0
  658. package/docs/components/Element/Darg.md +30 -0
  659. package/docs/components/Element/Ellipsis.md +12 -0
  660. package/docs/components/Element/Form.md +25 -0
  661. package/docs/components/Element/FormGroup.md +29 -0
  662. package/docs/components/Element/IconFont.md +12 -0
  663. package/docs/components/Element/Image.md +18 -0
  664. package/docs/components/Element/Input.md +65 -0
  665. package/docs/components/Element/InputCaptcha.md +27 -0
  666. package/docs/components/Element/InputNumber.md +51 -0
  667. package/docs/components/Element/InputSearch.md +43 -0
  668. package/docs/components/Element/InputTextarea.md +52 -0
  669. package/docs/components/Element/Link.md +41 -0
  670. package/docs/components/Element/Load.md +20 -0
  671. package/docs/components/Element/LoadScreen.md +19 -0
  672. package/docs/components/Element/Modal.md +51 -0
  673. package/docs/components/Element/Progress.md +28 -0
  674. package/docs/components/Element/Radio.md +41 -0
  675. package/docs/components/Element/Slider.md +33 -0
  676. package/docs/components/Element/Switchery.md +42 -0
  677. package/docs/components/Element/Tags.md +39 -0
  678. package/docs/components/Element/Waterfall.md +36 -0
  679. package/docs/components/Mobile/Cell.md +49 -0
  680. package/docs/components/Mobile/PullToRefresh.md +52 -0
  681. package/docs/components/Web/Breadcrumb.md +26 -0
  682. package/docs/components/Web/Calendar.md +34 -0
  683. package/docs/components/Web/Card.md +22 -0
  684. package/docs/components/Web/CardLegend.md +20 -0
  685. package/docs/components/Web/Collapse.md +26 -0
  686. package/docs/components/Web/Colorpicker.md +41 -0
  687. package/docs/components/Web/CropperPreview.md +43 -0
  688. package/docs/components/Web/Datetime.md +52 -0
  689. package/docs/components/Web/Dropdownmenu.md +33 -0
  690. package/docs/components/Web/Dropdownpopup.md +47 -0
  691. package/docs/components/Web/Echarts.md +43 -0
  692. package/docs/components/Web/Fileupload.md +60 -0
  693. package/docs/components/Web/InputTag.md +56 -0
  694. package/docs/components/Web/Paginate.md +30 -0
  695. package/docs/components/Web/Portlet.md +27 -0
  696. package/docs/components/Web/Preview.md +19 -0
  697. package/docs/components/Web/Previewexample.md +39 -0
  698. package/docs/components/Web/ScrollXFence.md +38 -0
  699. package/docs/components/Web/Select.md +56 -0
  700. package/docs/components/Web/SelectCascade.md +37 -0
  701. package/docs/components/Web/SelectTag.md +43 -0
  702. package/docs/components/Web/SelectTree.md +44 -0
  703. package/docs/components/Web/Selectmove.md +58 -0
  704. package/docs/components/Web/Sidemenu.md +25 -0
  705. package/docs/components/Web/Table.md +78 -0
  706. package/docs/components/Web/Tabs.md +47 -0
  707. package/docs/components/Web/Tree.md +44 -0
  708. package/docs/components/Web/Weekhour.md +29 -0
  709. package/docs/components/Web/Xeditable.md +52 -0
  710. package/docs/tools/CommonAxios.md +17 -0
  711. package/docs/tools/CommonBase.md +79 -0
  712. package/docs/tools/CommonDay.md +18 -0
  713. package/docs/tools/CommonEchart.md +19 -0
  714. package/docs/tools/CommonElement.md +42 -0
  715. package/docs/tools/CommonElementEvent.md +30 -0
  716. package/docs/tools/CommonI18n.md +18 -0
  717. package/docs/tools/CommonPromise.md +16 -0
  718. package/docs/tools/CommonTools.md +43 -0
  719. package/docs/tools/CommonTooltip.md +38 -0
  720. package/package.json +123 -0
@@ -0,0 +1,342 @@
1
+ import { defineComponent as ge, useSlots as he, ref as g, computed as p, watch as U, onMounted as Ne, openBlock as b, createElementBlock as w, normalizeStyle as Ie, normalizeClass as E, createElementVNode as C, renderSlot as $, createCommentVNode as x, withDirectives as be, vModelDynamic as we, withModifiers as Ce, nextTick as M } from "vue";
2
+ import { C as o } from "./base-PQGakkrl.js";
3
+ import { C as O } from "./index-BnerInzC.js";
4
+ const Ve = {
5
+ key: 0,
6
+ class: "input-group-prepend"
7
+ }, Ee = { class: "input-group-text" }, xe = ["type", "name", "placeholder", "disabled", "readonly"], _e = {
8
+ key: 1,
9
+ class: "input-group-append"
10
+ }, Te = { class: "input-group-text" }, Ke = /* @__PURE__ */ ge({
11
+ name: "ClInput",
12
+ __name: "Index",
13
+ props: {
14
+ theme: {
15
+ type: String,
16
+ default: "default",
17
+ validator: (f) => ["default", "icon", "bottomLine"].indexOf(f) !== -1
18
+ },
19
+ value: {
20
+ type: [String, Number],
21
+ default: ""
22
+ },
23
+ inputType: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ className: {
28
+ type: String,
29
+ default: ""
30
+ },
31
+ width: {
32
+ type: String,
33
+ default: ""
34
+ },
35
+ name: {
36
+ type: String,
37
+ default: ""
38
+ },
39
+ placeholder: {
40
+ type: String,
41
+ default: ""
42
+ },
43
+ disabled: {
44
+ type: Boolean,
45
+ default: !1
46
+ },
47
+ isReadonly: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ isClean: {
52
+ type: Boolean,
53
+ default: !0
54
+ },
55
+ isNumber: {
56
+ type: Boolean,
57
+ default: !1
58
+ },
59
+ decimal: {
60
+ type: Number,
61
+ default: 0
62
+ },
63
+ isThousand: {
64
+ type: Boolean,
65
+ default: !0
66
+ },
67
+ isImmediateThousand: {
68
+ type: Boolean,
69
+ default: !0
70
+ },
71
+ isPassword: {
72
+ type: Boolean,
73
+ default: !1
74
+ },
75
+ changDelayTime: {
76
+ type: Number,
77
+ default: 200
78
+ }
79
+ },
80
+ emits: ["update:value", "onChange", "onFocus", "onBlur", "onChangeBlur", "onKeyupEnter", "onClear", "onInit", "onKeydown", "onKeyup", "onChangeDelay"],
81
+ setup(f, { expose: G, emit: j }) {
82
+ const n = f, c = j, S = he(), D = g(null), _ = g(!1), h = g(!1), u = g(n.value), d = g(n.value), T = g(n.value), m = {
83
+ prevDelayValue: n.value,
84
+ valueDelayRun: !1
85
+ }, z = p(() => {
86
+ let e = "text";
87
+ const { inputType: t, isNumber: s, isPassword: l } = n;
88
+ return t ? e = t : s || l && (e = h.value ? "text" : "password"), e;
89
+ }), Z = p(() => {
90
+ let e = n.name;
91
+ return o.isEmpty(e) && (e = `input_${o.getRandom(8)}`), e;
92
+ }), B = p(() => !o.isUndefined(S.prepend)), k = p(() => !o.isUndefined(S.append)), A = p(() => n.isClean && !n.disabled && !o.isEmpty(u.value)), q = p(() => {
93
+ const e = {
94
+ "panel-input": !0,
95
+ "box-width": !0,
96
+ "input-disabled": n.disabled,
97
+ "input-readonly": n.isReadonly
98
+ };
99
+ return n.className && !o.isEmpty(n.className) && n.className.split(" ").forEach((t) => {
100
+ o.isEmpty(t) || (e[t] = !0);
101
+ }), o.isEmpty(n.theme, "default") || (e[`input-${n.theme}`] = !0), e;
102
+ }), H = p(() => {
103
+ const e = {};
104
+ return o.isEmpty(n.width) || (e.width = n.width), e;
105
+ }), J = p(() => ({
106
+ "input-container": !0,
107
+ "input-clean": n.isClean,
108
+ "input-password": n.isPassword
109
+ })), Q = p(() => {
110
+ const e = {};
111
+ return (B.value || k.value) && (e["input-group"] = !0, e["input-group-focus"] = _.value), e["input-valueEntry"] = !o.isEmpty(u.value), e;
112
+ }), W = p(() => ({
113
+ "input-password-icon": !0,
114
+ clIconFont: !0,
115
+ "clIcon-eye-no": !h.value,
116
+ "clIcon-eye": h.value
117
+ }));
118
+ let V;
119
+ const X = (e) => {
120
+ V && (clearTimeout(V), V = null), m.valueDelayRun = !0, V = setTimeout(() => {
121
+ m.valueDelayRun = !1, m.prevDelayValue !== e && (m.prevDelayValue = e, c("onChangeDelay", e));
122
+ }, n.changDelayTime);
123
+ }, F = (e) => {
124
+ if (e !== d.value) {
125
+ d.value = e;
126
+ const t = I(e);
127
+ c("update:value", t), c("onChange", t), X(t);
128
+ }
129
+ }, Y = (e) => {
130
+ _.value = !0, T.value = e, c("onFocus", e);
131
+ }, ee = (e) => {
132
+ _.value = !1, c("onBlur", e), e !== T.value && (T.value = e, c("onChangeBlur", e));
133
+ }, te = (e) => {
134
+ c("onKeyupEnter", e);
135
+ }, ne = (e) => {
136
+ c("onKeydown", e);
137
+ }, se = (e) => {
138
+ c("onKeyup", e);
139
+ }, le = () => {
140
+ c("onClear");
141
+ }, oe = () => {
142
+ M(() => {
143
+ c("onInit");
144
+ });
145
+ }, R = (e) => {
146
+ let t = o.isNumber(e);
147
+ if (!t)
148
+ if ((+e).toString() !== "NaN") {
149
+ const s = e.split(".");
150
+ s.length === 2 && (t = o.isNumber(s[0]) && (o.isEmpty(s[1]) || o.isNumber(s[1])));
151
+ } else e === "-" && (t = !0);
152
+ return t;
153
+ }, N = (e, t, s = !0, l = !0) => {
154
+ let i = e;
155
+ if (n.isNumber) {
156
+ let a = o.removeReplace(e);
157
+ if (a.length > 0)
158
+ if (R(a)) {
159
+ if (l && a !== "-") {
160
+ const { decimal: r } = n;
161
+ s && r !== 0 && (a = r === -1 ? parseFloat(a).toString() : parseFloat(a).toFixed(r));
162
+ const v = a.split(".");
163
+ if (v.length > 0 && (a = n.isThousand ? o.getFormatThousands(v[0]) : v[0]), v.length === 2 && r !== 0) {
164
+ const ve = r === -1 ? v[1] : v[1].substr(0, r);
165
+ a += `.${ve}`;
166
+ }
167
+ }
168
+ } else
169
+ a = t;
170
+ else
171
+ a = "";
172
+ i = a;
173
+ }
174
+ return i;
175
+ }, ae = (e, t) => {
176
+ const s = t.split(""), l = new RegExp(`^${s.join(".*?")}`), i = e.match(l);
177
+ let a;
178
+ return o.isUndefined(i) || (a = i[0].length), a;
179
+ }, ue = (e, t, s) => {
180
+ const l = O.getFocusSelection(e);
181
+ let i = t.substring(0, l.start);
182
+ i = o.removeReplace(i);
183
+ const a = t.substring(l.start);
184
+ let y = R(i);
185
+ i.indexOf(".") > -1 && a.indexOf(".") > -1 && (y = !1);
186
+ let r = l.start;
187
+ y ? r = ae(s, i) : r = s.lastIndexOf(a), (o.isUndefined(r) || r > s.length) && (r = s.length), M(() => {
188
+ O.setFocusSelection(e, r, r);
189
+ });
190
+ }, K = () => {
191
+ const e = u.value;
192
+ if (e && !o.isEmpty(e)) {
193
+ let t = e.toString();
194
+ if (n.isNumber) {
195
+ const { decimal: s } = n;
196
+ t = o.removeReplace(t), s !== 0 && (t = s === -1 ? parseFloat(t).toString() : parseFloat(t).toFixed(s));
197
+ const l = t.split(".");
198
+ l.length > 0 && (l[0] = n.isThousand ? o.getFormatThousands(l[0]) : l[0]), s === 0 ? t = l[0] : l.length === 2 ? (l[1] = s === -1 ? l[1] : o.getFillZero(l[1], s, "r"), t = l.join(".")) : t = l[0];
199
+ }
200
+ return t;
201
+ } else
202
+ return e;
203
+ }, I = (e) => {
204
+ let t = "";
205
+ if (!o.isEmpty(e) && (t = e.toString(), n.isNumber && t !== "-")) {
206
+ const { decimal: s } = n, l = t.split(".");
207
+ let i = "";
208
+ if (l.length > 0 && (i = o.removeReplace(l[0])), l.length === 2 && s !== 0) {
209
+ let a = "";
210
+ s === -1 ? a = l[1] : (a = l.length === 2 ? l[1] : "", a = o.getFillZero(a, s, "r")), i += `.${a}`;
211
+ }
212
+ t = i;
213
+ }
214
+ return t;
215
+ }, P = () => {
216
+ D.value?.focus();
217
+ };
218
+ U(
219
+ () => n.value,
220
+ (e, t) => {
221
+ if (e !== t && e !== u.value) {
222
+ let s = !0;
223
+ if (n.isNumber) {
224
+ const l = o.removeReplace(e), i = o.removeReplace(u.value), a = o.isEmpty(l), y = o.isEmpty(i);
225
+ a && y ? s = !1 : !a && !y && (s = Number(l) !== Number(i));
226
+ }
227
+ if (s) {
228
+ const l = N(e, t);
229
+ u.value = l, d.value = l, m.valueDelayRun || (m.prevDelayValue = e);
230
+ }
231
+ }
232
+ }
233
+ ), U([() => n.isNumber, () => n.decimal, () => n.isThousand], () => {
234
+ const e = N(u.value, "");
235
+ u.value = e, F(e);
236
+ });
237
+ const ie = () => {
238
+ if (!o.isEmpty(n.value)) {
239
+ const e = N(n.value, n.value);
240
+ u.value = e, d.value = e;
241
+ }
242
+ oe();
243
+ };
244
+ Ne(() => {
245
+ ie();
246
+ });
247
+ const re = (e) => {
248
+ const t = e.target.value, s = N(t, d.value, !1, n.isImmediateThousand);
249
+ n.isNumber && (u.value = s, ue(e.target, t, s)), F(s);
250
+ }, ce = (e) => {
251
+ ne(e);
252
+ }, pe = (e) => {
253
+ e.preventDefault(), e.stopPropagation();
254
+ const t = e.keyCode;
255
+ if (!o.isUndefined(t) && t.toString() === "13") {
256
+ const s = I(e.target.value);
257
+ te(s);
258
+ } else
259
+ se(e);
260
+ }, de = () => {
261
+ const e = K();
262
+ u.value = e, d.value = e;
263
+ const t = I(e);
264
+ Y(t);
265
+ }, fe = () => {
266
+ const e = K();
267
+ u.value = e, d.value = e;
268
+ const t = I(e);
269
+ ee(t);
270
+ }, me = () => {
271
+ u.value = "", F(""), le(), P();
272
+ }, ye = () => {
273
+ h.value = !h.value;
274
+ }, L = () => I(u.value);
275
+ return G({
276
+ getValue: L,
277
+ getValueData: () => ({ value: L(), show: u.value }),
278
+ setValue: (e) => {
279
+ const t = o.isEmpty(e) ? "" : N(e, "");
280
+ u.value = t, d.value = t;
281
+ },
282
+ focus: () => {
283
+ P();
284
+ }
285
+ }), (e, t) => (b(), w("div", {
286
+ class: E(q.value),
287
+ style: Ie(H.value)
288
+ }, [
289
+ C("div", {
290
+ class: E(Q.value)
291
+ }, [
292
+ B.value ? (b(), w("div", Ve, [
293
+ C("span", Ee, [
294
+ $(e.$slots, "prepend")
295
+ ])
296
+ ])) : x("", !0),
297
+ C("div", {
298
+ class: E(J.value)
299
+ }, [
300
+ be(C("input", {
301
+ ref_key: "refElInput",
302
+ ref: D,
303
+ type: z.value,
304
+ name: Z.value,
305
+ class: "form-control container-border",
306
+ autocomplete: "off",
307
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => u.value = s),
308
+ placeholder: f.placeholder,
309
+ disabled: f.disabled,
310
+ readonly: f.isReadonly,
311
+ onInput: re,
312
+ onKeydown: ce,
313
+ onKeyup: pe,
314
+ onFocus: de,
315
+ onBlur: fe
316
+ }, null, 40, xe), [
317
+ [we, u.value]
318
+ ]),
319
+ A.value ? (b(), w("i", {
320
+ key: 0,
321
+ class: "input-clear-icon clIconFont clIcon-close-circle-fill",
322
+ onClick: Ce(me, ["stop"])
323
+ })) : x("", !0),
324
+ f.isPassword ? (b(), w("i", {
325
+ key: 1,
326
+ class: E(W.value),
327
+ onClick: ye
328
+ }, null, 2)) : x("", !0)
329
+ ], 2),
330
+ k.value ? (b(), w("div", _e, [
331
+ C("span", Te, [
332
+ $(e.$slots, "append")
333
+ ])
334
+ ])) : x("", !0)
335
+ ], 2)
336
+ ], 6));
337
+ }
338
+ });
339
+ export {
340
+ Ke as _
341
+ };
342
+ //# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js","sources":["../../../src/libs/Element/Input/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\" :style=\"styParent\">\n <div :class=\"clsGroup\">\n <div v-if=\"optIsGroupPrepend\" class=\"input-group-prepend\"><span class=\"input-group-text\">\n <slot name=\"prepend\"></slot>\n </span>\n </div>\n <div :class=\"clsContainer\">\n <input ref=\"refElInput\" :type=\"optInputType\" :name=\"optElName\" class=\"form-control container-border\"\n autocomplete=\"off\" v-model=\"optTextValue\" :placeholder=\"placeholder\" :disabled=\"disabled\"\n :readonly=\"isReadonly\" @input=\"onInputText\" @keydown=\"onKeydown\" @keyup=\"onKeyup\"\n @focus=\"onInputFocus\" @blur=\"onInputBlur\" />\n <i v-if=\"optIsShowClean\" class=\"input-clear-icon clIconFont clIcon-close-circle-fill\"\n @click.stop=\"onClear\"></i>\n <i v-if=\"isPassword\" :class=\"clsPasswordIcon\" @click=\"onShowPasswordValue\"></i>\n </div>\n <div v-if=\"optIsGroupAppend\" class=\"input-group-append\"><span class=\"input-group-text\">\n <slot name=\"append\"></slot>\n </span>\n </div>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport './Index.css'\nimport '../../CommonCss/Input.css'\nimport { watch, nextTick, onMounted, computed, ref, useSlots } from \"vue\";\nimport CommonBase from \"../../Common/base\";\nimport CommonElement from \"../../Common/Element/index\";\n\ndefineOptions({\n name: 'ClInput'\n})\n\nconst props = defineProps({\n theme: {\n type: String,\n default: 'default',\n validator: (value: string) => {\n return ['default', 'icon', 'bottomLine'].indexOf(value) !== -1\n }\n },\n value: {\n type: [String, Number],\n default: ''\n },\n inputType: {\n type: String,\n default: ''\n },\n className: {\n type: String,\n default: ''\n },\n width: {\n type: String,\n default: ''\n },\n name: {\n type: String,\n default: ''\n },\n placeholder: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n isReadonly: {\n type: Boolean,\n default: false\n },\n isClean: {\n type: Boolean,\n default: true\n },\n isNumber: {\n type: Boolean,\n default: false\n },\n decimal: {\n type: Number,\n default: 0\n },\n isThousand: {\n type: Boolean,\n default: true\n },\n isImmediateThousand: {\n type: Boolean,\n default: true\n },\n isPassword: {\n type: Boolean,\n default: false\n },\n changDelayTime: {\n type: Number,\n default: 200\n },\n})\n\nconst emit = defineEmits<{\n (e: 'update:value', value: any): void\n (e: 'onChange', value: any): void\n (e: 'onFocus', value: any): void\n (e: 'onBlur', value: any): void\n (e: 'onChangeBlur', value: any): void\n (e: 'onKeyupEnter', value: any): void\n (e: 'onClear'): void\n (e: 'onInit'): void\n (e: 'onKeydown', event: any): void\n (e: 'onKeyup', event: any): void\n (e: 'onChangeDelay', value: string): void\n}>()\n\nconst slots = useSlots()\n\nconst refElInput = ref<HTMLInputElement | null>(null)\n\nconst optIsFocusIng = ref(false)\nconst optIsShowPassword = ref(false)\nconst optTextValue = ref(props.value)\nconst optLastValueChange = ref(props.value)\nconst optLastValueFocus = ref(props.value)\nconst _pageData = {\n prevDelayValue: props.value,\n valueDelayRun: false,\n}\n\nconst optInputType = computed(() => {\n let temp = \"text\"\n const { inputType, isNumber, isPassword } = props\n if (inputType) {\n temp = inputType\n } else {\n if (isNumber) {\n } else if (isPassword) {\n temp = optIsShowPassword.value ? \"text\" : \"password\"\n }\n }\n return temp\n})\n\nconst optElName = computed(() => {\n let name = props.name\n if (CommonBase.isEmpty(name)) {\n name = `input_${CommonBase.getRandom(8)}`\n }\n return name\n})\n\nconst optIsGroupPrepend = computed(() => {\n return !CommonBase.isUndefined(slots.prepend)\n})\n\nconst optIsGroupAppend = computed(() => {\n return !CommonBase.isUndefined(slots.append)\n})\n\nconst optIsShowClean = computed(() => {\n return props.isClean && !props.disabled && !CommonBase.isEmpty(optTextValue.value)\n})\n\nconst clsParent = computed(() => {\n const clsTemp: any = {\n \"panel-input\": true,\n \"box-width\": true,\n \"input-disabled\": props.disabled,\n \"input-readonly\": props.isReadonly,\n }\n if (props.className&&!CommonBase.isEmpty(props.className)) {\n props.className.split(\" \").forEach((cls: string) => {\n if (!CommonBase.isEmpty(cls)) {\n clsTemp[cls] = true\n }\n })\n }\n\n if (!CommonBase.isEmpty(props.theme, \"default\")) {\n clsTemp[`input-${props.theme}`] = true\n }\n return clsTemp\n})\n\nconst styParent = computed(() => {\n const sty: any = {}\n if (!CommonBase.isEmpty(props.width)) {\n sty.width = props.width\n }\n return sty\n})\n\nconst clsContainer = computed(() => {\n const cls = {\n \"input-container\": true,\n \"input-clean\": props.isClean,\n \"input-password\": props.isPassword,\n }\n return cls\n})\n\nconst clsGroup = computed(() => {\n const cls: any = {}\n if (optIsGroupPrepend.value || optIsGroupAppend.value) {\n cls[\"input-group\"] = true\n cls[\"input-group-focus\"] = optIsFocusIng.value\n }\n cls[\"input-valueEntry\"] = !CommonBase.isEmpty(optTextValue.value)\n return cls\n})\n\nconst clsPasswordIcon = computed(() => {\n return {\n \"input-password-icon\": true,\n clIconFont: true,\n \"clIcon-eye-no\": !optIsShowPassword.value,\n \"clIcon-eye\": optIsShowPassword.value,\n }\n})\n\nlet _valueTimerDelay: any\nconst _emitChangeDelay = (value: string) => {\n if (_valueTimerDelay) {\n clearTimeout(_valueTimerDelay)\n _valueTimerDelay = null\n }\n _pageData.valueDelayRun = true\n _valueTimerDelay = setTimeout(() => {\n _pageData.valueDelayRun = false\n if (_pageData.prevDelayValue !== value) {\n _pageData.prevDelayValue = value\n emit(\"onChangeDelay\", value)\n }\n }, props.changDelayTime)\n}\n\nconst _emitChange = (value: string) => {\n if (value !== optLastValueChange.value) {\n optLastValueChange.value = value\n const useValue = _convertUseValue(value)\n emit(\"update:value\", useValue)\n emit(\"onChange\", useValue)\n _emitChangeDelay(useValue)\n }\n}\n\nconst _emitFocus = (value: any) => {\n optIsFocusIng.value = true\n optLastValueFocus.value = value\n emit(\"onFocus\", value)\n}\n\nconst _emitBlur = (value: any) => {\n optIsFocusIng.value = false\n emit(\"onBlur\", value)\n if (value !== optLastValueFocus.value) {\n optLastValueFocus.value = value\n emit(\"onChangeBlur\", value)\n }\n}\n\nconst _emitKeyupEnter = (value: any) => {\n emit(\"onKeyupEnter\", value)\n}\n\nconst _emitKeydown = (e: any) => {\n emit(\"onKeydown\", e)\n}\n\nconst _emitKeyup = (e: any) => {\n emit(\"onKeyup\", e)\n}\n\nconst _emitClear = () => {\n emit(\"onClear\")\n}\n\nconst _emitInit = () => {\n nextTick(() => {\n emit(\"onInit\")\n })\n}\n\nconst _checkValueNumber = (value: string) => {\n let check = CommonBase.isNumber(value)\n if (!check) {\n if ((+value).toString() !== \"NaN\") {\n const arrNum = value.split(\".\")\n if (arrNum.length === 2) {\n check = CommonBase.isNumber(arrNum[0]) && (CommonBase.isEmpty(arrNum[1]) || CommonBase.isNumber(arrNum[1]))\n }\n } else if (value === \"-\") {\n check = true\n }\n }\n return check\n}\n\nconst _convertValue = (value: any, prevValue: any, isTofixed = true, isThousand = true) => {\n let newValue = value\n if (props.isNumber) {\n let tempValue = CommonBase.removeReplace(value)\n if (tempValue.length > 0) {\n const check = _checkValueNumber(tempValue)\n if (check) {\n if (isThousand) {\n if (tempValue !== \"-\") {\n const { decimal } = props\n if (isTofixed && decimal !== 0) {\n tempValue =\n decimal === -1\n ? parseFloat(tempValue).toString()\n : parseFloat(tempValue).toFixed(decimal)\n }\n const arrNum = tempValue.split(\".\")\n if (arrNum.length > 0) {\n tempValue = props.isThousand ? CommonBase.getFormatThousands(arrNum[0]) : arrNum[0]\n }\n\n if (arrNum.length === 2 && decimal !== 0) {\n const decimalValue = decimal === -1 ? arrNum[1] : arrNum[1].substr(0, decimal)\n tempValue += `.${decimalValue}`\n }\n }\n }\n } else {\n tempValue = prevValue\n }\n } else {\n tempValue = \"\"\n }\n newValue = tempValue\n }\n return newValue\n}\n\nconst _getFocusIndexByLeftValue = (showValue: string, leftValue: string) => {\n const arrLeft = leftValue.split(\"\")\n const regLeft = new RegExp(`^${arrLeft.join(\".*?\")}`)\n const newLeft: any = showValue.match(regLeft)\n let focusIdx\n if (!CommonBase.isUndefined(newLeft)) {\n focusIdx = newLeft[0].length\n }\n return focusIdx\n}\n\nconst _setFocusSelection = (el: any, inputValue: string, showValue: string) => {\n const focusInfo = CommonElement.getFocusSelection(el)\n let inputValueLeft = inputValue.substring(0, focusInfo.start)\n inputValueLeft = CommonBase.removeReplace(inputValueLeft)\n const inputValueRight = inputValue.substring(focusInfo.start)\n let checkLeftNum = _checkValueNumber(inputValueLeft)\n if (inputValueLeft.indexOf(\".\") > -1 && inputValueRight.indexOf(\".\") > -1) {\n checkLeftNum = false\n }\n let focusIdx = focusInfo.start\n if (checkLeftNum) {\n focusIdx = _getFocusIndexByLeftValue(showValue, inputValueLeft)\n } else {\n focusIdx = showValue.lastIndexOf(inputValueRight)\n }\n if (CommonBase.isUndefined(focusIdx) || focusIdx > showValue.length) {\n focusIdx = showValue.length\n }\n nextTick(() => {\n CommonElement.setFocusSelection(el, focusIdx, focusIdx)\n })\n}\n\nconst _getTextValue = () => {\n const textValue = optTextValue.value\n if (textValue && !CommonBase.isEmpty(textValue)) {\n let newTextValue: any = textValue.toString()\n if (props.isNumber) {\n const { decimal } = props\n newTextValue = CommonBase.removeReplace(newTextValue)\n\n if (decimal !== 0) {\n newTextValue =\n decimal === -1\n ? parseFloat(newTextValue).toString()\n : parseFloat(newTextValue).toFixed(decimal)\n }\n const arrNum: string[] = newTextValue.split(\".\")\n if (arrNum.length > 0) {\n arrNum[0] = props.isThousand ? CommonBase.getFormatThousands(arrNum[0]) : arrNum[0]\n }\n if (decimal === 0) {\n newTextValue = arrNum[0]\n } else {\n if (arrNum.length === 2) {\n arrNum[1] = decimal === -1 ? arrNum[1] : CommonBase.getFillZero(arrNum[1], decimal, \"r\")\n newTextValue = arrNum.join(\".\")\n } else {\n newTextValue = arrNum[0]\n }\n }\n }\n return newTextValue\n } else {\n return textValue\n }\n}\n\nconst _convertUseValue = (value: any) => {\n let newUserValue = \"\"\n if (!CommonBase.isEmpty(value)) {\n newUserValue = value.toString()\n if (props.isNumber) {\n if (newUserValue !== \"-\") {\n const { decimal } = props\n const arrNum = newUserValue.split(\".\")\n let tempValue = \"\"\n if (arrNum.length > 0) {\n tempValue = CommonBase.removeReplace(arrNum[0])\n }\n if (arrNum.length === 2 && decimal !== 0) {\n let decimalValue = \"\"\n if (decimal === -1) {\n decimalValue = arrNum[1]\n } else {\n decimalValue = arrNum.length === 2 ? arrNum[1] : \"\"\n decimalValue = CommonBase.getFillZero(decimalValue, decimal, \"r\")\n }\n tempValue += `.${decimalValue}`\n }\n newUserValue = tempValue\n }\n }\n }\n return newUserValue\n}\n\nconst _focus = () => {\n refElInput.value?.focus()\n}\n\nwatch(\n () => props.value,\n (newValue, oldValue) => {\n if (newValue !== oldValue && newValue !== optTextValue.value) {\n let isRun = true\n if (props.isNumber) {\n const tempNewValue = CommonBase.removeReplace(newValue)\n const tempTextValue = CommonBase.removeReplace(optTextValue.value)\n const isEmptyNew = CommonBase.isEmpty(tempNewValue)\n const isEmptyText = CommonBase.isEmpty(tempTextValue)\n if (isEmptyNew && isEmptyText) {\n isRun = false\n } else {\n if (!isEmptyNew && !isEmptyText) {\n isRun = Number(tempNewValue) !== Number(tempTextValue)\n }\n }\n }\n if (isRun) {\n const value = _convertValue(newValue, oldValue)\n optTextValue.value = value\n optLastValueChange.value = value\n if (!_pageData.valueDelayRun) {\n _pageData.prevDelayValue = newValue\n }\n }\n }\n },\n)\n\nwatch([() => props.isNumber, () => props.decimal, () => props.isThousand], () => {\n const newShowText = _convertValue(optTextValue.value, \"\")\n optTextValue.value = newShowText\n _emitChange(newShowText)\n})\n\nconst _initMain = () => {\n if (!CommonBase.isEmpty(props.value)) {\n const v = _convertValue(props.value, props.value)\n optTextValue.value = v\n optLastValueChange.value = v\n }\n _emitInit()\n}\n\nonMounted(() => {\n _initMain()\n})\n\nconst onInputText = (e: any) => {\n const value = e.target.value\n const newValue = _convertValue(value, optLastValueChange.value, false, props.isImmediateThousand)\n if (props.isNumber) {\n optTextValue.value = newValue\n _setFocusSelection(e.target, value, newValue)\n }\n _emitChange(newValue)\n}\n\nconst onKeydown = (e: any) => {\n _emitKeydown(e)\n}\n\nconst onKeyup = (e: any) => {\n e.preventDefault()\n e.stopPropagation()\n const keyCode = e.keyCode\n if (!CommonBase.isUndefined(keyCode) && keyCode.toString() === \"13\") {\n const useValue = _convertUseValue(e.target.value)\n _emitKeyupEnter(useValue)\n } else {\n _emitKeyup(e)\n }\n}\n\nconst onInputFocus = () => {\n const value = _getTextValue()\n optTextValue.value = value\n optLastValueChange.value = value\n const useValue = _convertUseValue(value)\n _emitFocus(useValue)\n}\n\nconst onInputBlur = () => {\n const value = _getTextValue()\n optTextValue.value = value\n optLastValueChange.value = value\n const useValue = _convertUseValue(value)\n _emitBlur(useValue)\n}\n\nconst onClear = () => {\n optTextValue.value = \"\"\n _emitChange(\"\")\n _emitClear()\n _focus()\n}\n\nconst onShowPasswordValue = () => {\n optIsShowPassword.value = !optIsShowPassword.value\n}\n\nconst getValue = () => {\n return _convertUseValue(optTextValue.value)\n}\n\nconst getValueData = () => {\n return { value: getValue(), show: optTextValue.value }\n}\n\nconst setValue = (value: any) => {\n const newValue = CommonBase.isEmpty(value) ? \"\" : _convertValue(value, \"\")\n optTextValue.value = newValue\n optLastValueChange.value = newValue\n}\n\nconst focus = () => {\n _focus()\n}\n\nexport interface ClInputExpose {\n getValue: () => any\n getValueData: () => { value: any; show: any }\n setValue: (value: any) => void\n focus: () => void\n}\n\ndefineExpose({\n getValue,\n getValueData,\n setValue,\n focus,\n})\n</script>\n<style scoped></style>\n"],"names":["props","__props","emit","__emit","slots","useSlots","refElInput","ref","optIsFocusIng","optIsShowPassword","optTextValue","optLastValueChange","optLastValueFocus","_pageData","optInputType","computed","temp","inputType","isNumber","isPassword","optElName","name","CommonBase","optIsGroupPrepend","optIsGroupAppend","optIsShowClean","clsParent","clsTemp","cls","styParent","sty","clsContainer","clsGroup","clsPasswordIcon","_valueTimerDelay","_emitChangeDelay","value","_emitChange","useValue","_convertUseValue","_emitFocus","_emitBlur","_emitKeyupEnter","_emitKeydown","_emitKeyup","_emitClear","_emitInit","nextTick","_checkValueNumber","check","arrNum","_convertValue","prevValue","isTofixed","isThousand","newValue","tempValue","decimal","decimalValue","_getFocusIndexByLeftValue","showValue","leftValue","arrLeft","regLeft","newLeft","focusIdx","_setFocusSelection","el","inputValue","focusInfo","CommonElement","inputValueLeft","inputValueRight","checkLeftNum","_getTextValue","textValue","newTextValue","newUserValue","_focus","watch","oldValue","isRun","tempNewValue","tempTextValue","isEmptyNew","isEmptyText","newShowText","_initMain","v","onMounted","onInputText","onKeydown","onKeyup","keyCode","onInputFocus","onInputBlur","onClear","onShowPasswordValue","getValue","__expose","_createElementBlock","_createElementVNode","_openBlock","_hoisted_1","_hoisted_2","_renderSlot","_ctx","$event","_hoisted_4","_hoisted_5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,UAAMA,IAAQC,GAsERC,IAAOC,GAcPC,IAAQC,GAAA,GAERC,IAAaC,EAA6B,IAAI,GAE9CC,IAAgBD,EAAI,EAAK,GACzBE,IAAoBF,EAAI,EAAK,GAC7BG,IAAeH,EAAIP,EAAM,KAAK,GAC9BW,IAAqBJ,EAAIP,EAAM,KAAK,GACpCY,IAAoBL,EAAIP,EAAM,KAAK,GACnCa,IAAY;AAAA,MACd,gBAAgBb,EAAM;AAAA,MACtB,eAAe;AAAA,IAAA,GAGbc,IAAeC,EAAS,MAAM;AAChC,UAAIC,IAAO;AACX,YAAM,EAAE,WAAAC,GAAW,UAAAC,GAAU,YAAAC,EAAA,IAAenB;AAC5C,aAAIiB,IACAD,IAAOC,IAEHC,KACOC,MACPH,IAAOP,EAAkB,QAAQ,SAAS,aAG3CO;AAAA,IACX,CAAC,GAEKI,IAAYL,EAAS,MAAM;AAC7B,UAAIM,IAAOrB,EAAM;AACjB,aAAIsB,EAAW,QAAQD,CAAI,MACvBA,IAAO,SAASC,EAAW,UAAU,CAAC,CAAC,KAEpCD;AAAA,IACX,CAAC,GAEKE,IAAoBR,EAAS,MACxB,CAACO,EAAW,YAAYlB,EAAM,OAAO,CAC/C,GAEKoB,IAAmBT,EAAS,MACvB,CAACO,EAAW,YAAYlB,EAAM,MAAM,CAC9C,GAEKqB,IAAiBV,EAAS,MACrBf,EAAM,WAAW,CAACA,EAAM,YAAY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A,QAAA;AAAA,UAAA;;;;;;"}
@@ -0,0 +1,166 @@
1
+ import { defineComponent as E, ref as w, reactive as N, openBlock as t, createBlock as r, withCtx as x, createElementBlock as i, createElementVNode as d, toDisplayString as O, createCommentVNode as S, renderSlot as T, Fragment as b, createVNode as y } from "vue";
2
+ import { _ as D } from "./BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js";
3
+ import { C as p } from "./base-PQGakkrl.js";
4
+ import c from "../Element/ClButton.js";
5
+ const F = {
6
+ key: 0,
7
+ class: "modal-header"
8
+ }, I = { class: "modal-title" }, H = { class: "modal-body" }, V = {
9
+ key: 1,
10
+ class: "modal-footer"
11
+ }, $ = {
12
+ key: 2,
13
+ class: "modal-footer-hide"
14
+ }, P = /* @__PURE__ */ E({
15
+ name: "ClModal",
16
+ __name: "Index",
17
+ props: {
18
+ posSubmitClose: {
19
+ type: String,
20
+ default: "CloseSubmit",
21
+ validator: (e) => ["CloseSubmit", "SubmitClose"].indexOf(e) !== -1
22
+ },
23
+ className: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ width: {
28
+ type: String,
29
+ default: "600px"
30
+ },
31
+ titleName: {
32
+ type: String,
33
+ default: ""
34
+ },
35
+ isBackClick: {
36
+ type: Boolean,
37
+ default: !0
38
+ },
39
+ isShowHeader: {
40
+ type: Boolean,
41
+ default: !0
42
+ },
43
+ isShowFooter: {
44
+ type: Boolean,
45
+ default: !0
46
+ },
47
+ isShowSubmit: {
48
+ type: Boolean,
49
+ default: !0
50
+ },
51
+ isShowSubmitLoad: {
52
+ type: Boolean,
53
+ default: !0
54
+ },
55
+ closeLabel: {
56
+ type: String,
57
+ default: ""
58
+ },
59
+ submitLabel: {
60
+ type: String,
61
+ default: ""
62
+ },
63
+ classTransitionEnter: {
64
+ type: String,
65
+ default: "animated fadeInDown"
66
+ }
67
+ },
68
+ emits: ["onSubmit", "onClose"],
69
+ setup(e, { expose: B, emit: L }) {
70
+ const u = e, f = L, a = w(null), l = w(null), o = N({
71
+ isLoadBackClick: !0,
72
+ disabledSubmit: !1
73
+ }), v = () => {
74
+ f("onSubmit");
75
+ }, k = () => {
76
+ f("onClose");
77
+ }, h = () => {
78
+ a.value && a.value.hide();
79
+ }, C = () => {
80
+ u.isShowSubmitLoad && (o.isLoadBackClick = !1), v();
81
+ }, m = () => {
82
+ h(), k();
83
+ }, g = () => {
84
+ k();
85
+ };
86
+ return B({
87
+ show: () => {
88
+ o.disabledSubmit = !1, a.value && a.value.show();
89
+ },
90
+ hide: () => {
91
+ o.isLoadBackClick = !0, u.isShowSubmitLoad && l.value && l.value.loadStop(), h();
92
+ },
93
+ loadStop: () => {
94
+ o.isLoadBackClick = !0, u.isShowSubmitLoad && l.value && l.value.loadStop();
95
+ },
96
+ disabledSubmit: (s) => {
97
+ const n = p.isBoolean(s) ? s : !0;
98
+ o.disabledSubmit = n;
99
+ }
100
+ }), (s, n) => (t(), r(D, {
101
+ className: e.className,
102
+ isBackClick: e.isBackClick && o.isLoadBackClick,
103
+ classTransitionEnter: e.classTransitionEnter,
104
+ width: e.width,
105
+ onOnClickBack: g,
106
+ ref_key: "refElTransition",
107
+ ref: a
108
+ }, {
109
+ default: x(() => [
110
+ e.isShowHeader ? (t(), i("div", F, [
111
+ d("h4", I, O(e.titleName), 1),
112
+ d("button", {
113
+ type: "button",
114
+ class: "close",
115
+ onClick: m
116
+ }, [...n[0] || (n[0] = [
117
+ d("i", { class: "clIconFont clIcon-close" }, null, -1)
118
+ ])])
119
+ ])) : S("", !0),
120
+ d("div", H, [
121
+ T(s.$slots, "default")
122
+ ]),
123
+ e.isShowFooter ? (t(), i("div", V, [
124
+ e.posSubmitClose === "CloseSubmit" ? (t(), i(b, { key: 0 }, [
125
+ y(c, {
126
+ label: e.closeLabel || "取消",
127
+ color: "grayLight",
128
+ onOnClick: m
129
+ }, null, 8, ["label"]),
130
+ e.isShowSubmit ? (t(), r(c, {
131
+ key: 0,
132
+ ref_key: "refElBtnSubmit",
133
+ ref: l,
134
+ disabled: o.disabledSubmit,
135
+ isShowLoad: e.isShowSubmitLoad,
136
+ isShowBackDrop: !0,
137
+ label: e.submitLabel || "提交",
138
+ onOnClick: C
139
+ }, null, 8, ["disabled", "isShowLoad", "label"])) : S("", !0)
140
+ ], 64)) : e.posSubmitClose === "SubmitClose" ? (t(), i(b, { key: 1 }, [
141
+ e.isShowSubmit ? (t(), r(c, {
142
+ key: 0,
143
+ ref_key: "refElBtnSubmit",
144
+ ref: l,
145
+ disabled: o.disabledSubmit,
146
+ isShowLoad: e.isShowSubmitLoad,
147
+ isShowBackDrop: !0,
148
+ label: e.submitLabel || "提交",
149
+ onOnClick: C
150
+ }, null, 8, ["disabled", "isShowLoad", "label"])) : S("", !0),
151
+ y(c, {
152
+ label: e.closeLabel || "取消",
153
+ color: "grayLight",
154
+ onOnClick: m
155
+ }, null, 8, ["label"])
156
+ ], 64)) : (t(), i(b, { key: 2 }, [], 64))
157
+ ])) : (t(), i("div", $))
158
+ ]),
159
+ _: 3
160
+ }, 8, ["className", "isBackClick", "classTransitionEnter", "width"]));
161
+ }
162
+ });
163
+ export {
164
+ P as _
165
+ };
166
+ //# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js","sources":["../../../src/libs/Element/Modal/Index.vue"],"sourcesContent":["<template>\n <cl-modal-transition\n :className=\"className\"\n :isBackClick=\"isBackClick && optBase.isLoadBackClick\"\n :classTransitionEnter=\"classTransitionEnter\"\n :width=\"width\"\n @onClickBack=\"onClickBack\"\n ref=\"refElTransition\"\n >\n <div\n v-if=\"isShowHeader\"\n class=\"modal-header\"\n >\n <h4 class=\"modal-title\">{{titleName}}</h4>\n <button\n type=\"button\"\n class=\"close\"\n @click=\"onClose\"\n ><i class=\"clIconFont clIcon-close\"></i></button>\n </div>\n <div class=\"modal-body\">\n <slot></slot>\n </div>\n <div\n class=\"modal-footer\"\n v-if=\"isShowFooter\"\n >\n <template v-if=\"posSubmitClose==='CloseSubmit'\">\n <cl-button\n :label=\"closeLabel||'取消'\"\n color=\"grayLight\"\n @onClick=\"onClose\"\n ></cl-button>\n <cl-button\n ref=\"refElBtnSubmit\"\n v-if=\"isShowSubmit\"\n :disabled=\"optBase.disabledSubmit\"\n :isShowLoad=\"isShowSubmitLoad\"\n :isShowBackDrop=\"true\"\n :label=\"submitLabel||'提交'\"\n @onClick=\"onSubmit\"\n ></cl-button>\n </template>\n <template v-else-if=\"posSubmitClose==='SubmitClose'\">\n <cl-button\n ref=\"refElBtnSubmit\"\n v-if=\"isShowSubmit\"\n :disabled=\"optBase.disabledSubmit\"\n :isShowLoad=\"isShowSubmitLoad\"\n :isShowBackDrop=\"true\"\n :label=\"submitLabel||'提交'\"\n @onClick=\"onSubmit\"\n ></cl-button>\n <cl-button\n :label=\"closeLabel||'取消'\"\n color=\"grayLight\"\n @onClick=\"onClose\"\n ></cl-button>\n </template>\n <template v-else></template>\n </div>\n <div\n v-else\n class=\"modal-footer-hide\"\n ></div>\n </cl-modal-transition>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport { reactive, ref } from 'vue'\nimport CommonBase from '../../Common/base'\nimport ClModalTransition from './BaseTransition.vue'\nimport ClButton from '../Button/Index.vue'\n\n// defineOptions\ndefineOptions({ name: 'ClModal' })\n\n// props\nconst props = defineProps({\n posSubmitClose: {\n type: String,\n default: 'CloseSubmit',\n validator: (value: string) => {\n return ['CloseSubmit', 'SubmitClose'].indexOf(value) !== -1\n }\n },\n className: {\n type: String,\n default: ''\n },\n width: {\n type: String,\n default: '600px'\n },\n titleName: {\n type: String,\n default: ''\n },\n isBackClick: {\n type: Boolean,\n default: true\n },\n isShowHeader: {\n type: Boolean,\n default: true\n },\n isShowFooter: {\n type: Boolean,\n default: true\n },\n isShowSubmit: {\n type: Boolean,\n default: true\n },\n isShowSubmitLoad: {\n type: Boolean,\n default: true\n },\n closeLabel: {\n type: String,\n default: ''\n },\n submitLabel: {\n type: String,\n default: ''\n },\n classTransitionEnter: {\n type: String,\n default: 'animated fadeInDown'\n },\n})\n\n// emit\nconst emit = defineEmits<{\n (e: 'onSubmit'): void\n (e: 'onClose'): void\n}>()\n\n// refs\nconst refElTransition = ref<HTMLElement | null>(null)\nconst refElBtnSubmit = ref<HTMLElement | null>(null)\n\n// reactive\nconst optBase:any = reactive({\n isLoadBackClick: true,\n disabledSubmit: false,\n})\n\n// emit 外部使用的事件\nconst _emitClickSubmit = () => {\n emit('onSubmit')\n}\n\nconst _emitClickClose = () => {\n emit('onClose')\n}\n\n// 内部方法\nconst _closeHide = () => {\n if (refElTransition.value) {\n // @ts-ignore\n refElTransition.value.hide()\n }\n}\n\n// 内部触发的事件 on\nconst onSubmit = () => {\n if (props.isShowSubmitLoad) {\n optBase.isLoadBackClick = false\n }\n _emitClickSubmit()\n}\n\nconst onClose = () => {\n _closeHide()\n _emitClickClose()\n}\n\nconst onClickBack = () => {\n _emitClickClose()\n}\n\n// 外部调用\nconst show = () => {\n optBase.disabledSubmit = false\n if (refElTransition.value) {\n // @ts-ignore\n refElTransition.value.show()\n }\n}\n\nconst hide = () => {\n optBase.isLoadBackClick = true\n if (props.isShowSubmitLoad && refElBtnSubmit.value) {\n // @ts-ignore\n refElBtnSubmit.value.loadStop()\n }\n _closeHide()\n}\n\nconst loadStop = () => {\n optBase.isLoadBackClick = true\n if (props.isShowSubmitLoad && refElBtnSubmit.value) {\n // @ts-ignore\n refElBtnSubmit.value.loadStop()\n }\n}\n\nconst disabledSubmit = (b?: boolean) => {\n const isDisabled = CommonBase.isBoolean(b) ? b : true\n optBase.disabledSubmit = isDisabled\n}\n\n// 暴露给外部的方法\nexport interface ClModalExpose {\n show: () => void\n hide: () => void\n loadStop: () => void\n disabledSubmit: (b: boolean) => void\n}\n\ndefineExpose({\n show,\n hide,\n loadStop,\n disabledSubmit\n})\n</script>\n"],"names":["props","__props","emit","__emit","refElTransition","ref","refElBtnSubmit","optBase","reactive","_emitClickSubmit","_emitClickClose","_closeHide","onSubmit","onClose","onClickBack","__expose","b","isDisabled","CommonBase","_createBlock","ClModalTransition","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_toDisplayString","_hoisted_3","_renderSlot","_ctx","_hoisted_4","_Fragment","_createVNode","ClButton","_hoisted_5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EA,UAAMA,IAAQC,GAuDRC,IAAOC,GAMPC,IAAkBC,EAAwB,IAAI,GAC9CC,IAAiBD,EAAwB,IAAI,GAG7CE,IAAcC,EAAS;AAAA,MAC3B,iBAAiB;AAAA,MACjB,gBAAgB;AAAA,IAAA,CACjB,GAGKC,IAAmB,MAAM;AAC7B,MAAAP,EAAK,UAAU;AAAA,IACjB,GAEMQ,IAAkB,MAAM;AAC5B,MAAAR,EAAK,SAAS;AAAA,IAChB,GAGMS,IAAa,MAAM;AACvB,MAAIP,EAAgB,SAElBA,EAAgB,MAAM,KAAA;AAAA,IAE1B,GAGMQ,IAAW,MAAM;AACrB,MAAIZ,EAAM,qBACRO,EAAQ,kBAAkB,KAE5BE,EAAA;AAAA,IACF,GAEMI,IAAU,MAAM;AACpB,MAAAF,EAAA,GACAD,EAAA;AAAA,IACF,GAEMI,IAAc,MAAM;AACxB,MAAAJ,EAAA;AAAA,IACF;AAyCA,WAAAK,EAAa;AAAA,MACX,MAvCW,MAAM;AACjB,QAAAR,EAAQ,iBAAiB,IACrBH,EAAgB,SAElBA,EAAgB,MAAM,KAAA;AAAA,MAE1B;AAAA,MAkCE,MAhCW,MAAM;AACjB,QAAAG,EAAQ,kBAAkB,IACtBP,EAAM,oBAAoBM,EAAe,SAE3CA,EAAe,MAAM,SAAA,GAEvBK,EAAA;AAAA,MACF;AAAA,MA0BE,UAxBe,MAAM;AACrB,QAAAJ,EAAQ,kBAAkB,IACtBP,EAAM,oBAAoBM,EAAe,SAE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,mBAAc,sBAAnCqB,EAeWS,GAAA,EAAA,KAAA,KAAA;AAAA,YAZD9B,EAAA,qBAFRkB,EAQac,GAAA;AAAA;uBAPP;AAAA,cAAJ,KAAI3B;AAAA,cAEH,UAAUC,EAAQ;AAAA,cAClB,YAAYN,EAAA;AAAA,cACZ,gBAAgB;AAAA,cAChB,OAAOA,EAAA,eAAW;AAAA,cAClB,WAASW;AAAA,YAAA;YAEZoB,EAIaC,GAAA;AAAA,cAHV,OAAOhC,EAAA,cAAU;AAAA,cAClB,OAAM;AAAA,cACL,WAASY;AAAA,YAAA;0BAGdS,EAA4BS,GAAA,EAAA,KAAA,EAAA,GAAA,CAAA,GAAA,EAAA;AAAA,QAAA,OAE9BV,EAAA,GAAAC,EAGO,OAHPY,CAGO;AAAA,MAAA;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const n=require("vue"),l=require("./base-iCmnU-fv.js"),F=require("./index-Ul6uY51t.js"),ie={key:0,class:"input-group-prepend"},re={class:"input-group-text"},ce=["type","name","placeholder","disabled","readonly"],me={key:1,class:"input-group-append"},pe={class:"input-group-text"},de=n.defineComponent({name:"ClInput",__name:"Index",props:{theme:{type:String,default:"default",validator:d=>["default","icon","bottomLine"].indexOf(d)!==-1},value:{type:[String,Number],default:""},inputType:{type:String,default:""},className:{type:String,default:""},width:{type:String,default:""},name:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isClean:{type:Boolean,default:!0},isNumber:{type:Boolean,default:!1},decimal:{type:Number,default:0},isThousand:{type:Boolean,default:!0},isImmediateThousand:{type:Boolean,default:!0},isPassword:{type:Boolean,default:!1},changDelayTime:{type:Number,default:200}},emits:["update:value","onChange","onFocus","onBlur","onChangeBlur","onKeyupEnter","onClear","onInit","onKeydown","onKeyup","onChangeDelay"],setup(d,{expose:D,emit:R}){const o=d,m=R,b=n.useSlots(),w=n.ref(null),N=n.ref(!1),C=n.ref(!1),i=n.ref(o.value),p=n.ref(o.value),E=n.ref(o.value),f={prevDelayValue:o.value,valueDelayRun:!1},K=n.computed(()=>{let e="text";const{inputType:t,isNumber:s,isPassword:a}=o;return t?e=t:s||a&&(e=C.value?"text":"password"),e}),P=n.computed(()=>{let e=o.name;return l.CommonBase.isEmpty(e)&&(e=`input_${l.CommonBase.getRandom(8)}`),e}),I=n.computed(()=>!l.CommonBase.isUndefined(b.prepend)),x=n.computed(()=>!l.CommonBase.isUndefined(b.append)),L=n.computed(()=>o.isClean&&!o.disabled&&!l.CommonBase.isEmpty(i.value)),U=n.computed(()=>{const e={"panel-input":!0,"box-width":!0,"input-disabled":o.disabled,"input-readonly":o.isReadonly};return o.className&&!l.CommonBase.isEmpty(o.className)&&o.className.split(" ").forEach(t=>{l.CommonBase.isEmpty(t)||(e[t]=!0)}),l.CommonBase.isEmpty(o.theme,"default")||(e[`input-${o.theme}`]=!0),e}),$=n.computed(()=>{const e={};return l.CommonBase.isEmpty(o.width)||(e.width=o.width),e}),z=n.computed(()=>({"input-container":!0,"input-clean":o.isClean,"input-password":o.isPassword})),M=n.computed(()=>{const e={};return(I.value||x.value)&&(e["input-group"]=!0,e["input-group-focus"]=N.value),e["input-valueEntry"]=!l.CommonBase.isEmpty(i.value),e}),O=n.computed(()=>({"input-password-icon":!0,clIconFont:!0,"clIcon-eye-no":!C.value,"clIcon-eye":C.value}));let B;const q=e=>{B&&(clearTimeout(B),B=null),f.valueDelayRun=!0,B=setTimeout(()=>{f.valueDelayRun=!1,f.prevDelayValue!==e&&(f.prevDelayValue=e,m("onChangeDelay",e))},o.changDelayTime)},V=e=>{if(e!==p.value){p.value=e;const t=h(e);m("update:value",t),m("onChange",t),q(t)}},G=e=>{N.value=!0,E.value=e,m("onFocus",e)},j=e=>{N.value=!1,m("onBlur",e),e!==E.value&&(E.value=e,m("onChangeBlur",e))},Z=e=>{m("onKeyupEnter",e)},A=e=>{m("onKeydown",e)},H=e=>{m("onKeyup",e)},J=()=>{m("onClear")},Q=()=>{n.nextTick(()=>{m("onInit")})},_=e=>{let t=l.CommonBase.isNumber(e);if(!t)if((+e).toString()!=="NaN"){const s=e.split(".");s.length===2&&(t=l.CommonBase.isNumber(s[0])&&(l.CommonBase.isEmpty(s[1])||l.CommonBase.isNumber(s[1])))}else e==="-"&&(t=!0);return t},g=(e,t,s=!0,a=!0)=>{let r=e;if(o.isNumber){let u=l.CommonBase.removeReplace(e);if(u.length>0)if(_(u)){if(a&&u!=="-"){const{decimal:c}=o;s&&c!==0&&(u=c===-1?parseFloat(u).toString():parseFloat(u).toFixed(c));const v=u.split(".");if(v.length>0&&(u=o.isThousand?l.CommonBase.getFormatThousands(v[0]):v[0]),v.length===2&&c!==0){const ue=c===-1?v[1]:v[1].substr(0,c);u+=`.${ue}`}}}else u=t;else u="";r=u}return r},W=(e,t)=>{const s=t.split(""),a=new RegExp(`^${s.join(".*?")}`),r=e.match(a);let u;return l.CommonBase.isUndefined(r)||(u=r[0].length),u},X=(e,t,s)=>{const a=F.CommonElement.getFocusSelection(e);let r=t.substring(0,a.start);r=l.CommonBase.removeReplace(r);const u=t.substring(a.start);let y=_(r);r.indexOf(".")>-1&&u.indexOf(".")>-1&&(y=!1);let c=a.start;y?c=W(s,r):c=s.lastIndexOf(u),(l.CommonBase.isUndefined(c)||c>s.length)&&(c=s.length),n.nextTick(()=>{F.CommonElement.setFocusSelection(e,c,c)})},k=()=>{const e=i.value;if(e&&!l.CommonBase.isEmpty(e)){let t=e.toString();if(o.isNumber){const{decimal:s}=o;t=l.CommonBase.removeReplace(t),s!==0&&(t=s===-1?parseFloat(t).toString():parseFloat(t).toFixed(s));const a=t.split(".");a.length>0&&(a[0]=o.isThousand?l.CommonBase.getFormatThousands(a[0]):a[0]),s===0?t=a[0]:a.length===2?(a[1]=s===-1?a[1]:l.CommonBase.getFillZero(a[1],s,"r"),t=a.join(".")):t=a[0]}return t}else return e},h=e=>{let t="";if(!l.CommonBase.isEmpty(e)&&(t=e.toString(),o.isNumber&&t!=="-")){const{decimal:s}=o,a=t.split(".");let r="";if(a.length>0&&(r=l.CommonBase.removeReplace(a[0])),a.length===2&&s!==0){let u="";s===-1?u=a[1]:(u=a.length===2?a[1]:"",u=l.CommonBase.getFillZero(u,s,"r")),r+=`.${u}`}t=r}return t},T=()=>{w.value?.focus()};n.watch(()=>o.value,(e,t)=>{if(e!==t&&e!==i.value){let s=!0;if(o.isNumber){const a=l.CommonBase.removeReplace(e),r=l.CommonBase.removeReplace(i.value),u=l.CommonBase.isEmpty(a),y=l.CommonBase.isEmpty(r);u&&y?s=!1:!u&&!y&&(s=Number(a)!==Number(r))}if(s){const a=g(e,t);i.value=a,p.value=a,f.valueDelayRun||(f.prevDelayValue=e)}}}),n.watch([()=>o.isNumber,()=>o.decimal,()=>o.isThousand],()=>{const e=g(i.value,"");i.value=e,V(e)});const Y=()=>{if(!l.CommonBase.isEmpty(o.value)){const e=g(o.value,o.value);i.value=e,p.value=e}Q()};n.onMounted(()=>{Y()});const ee=e=>{const t=e.target.value,s=g(t,p.value,!1,o.isImmediateThousand);o.isNumber&&(i.value=s,X(e.target,t,s)),V(s)},te=e=>{A(e)},ne=e=>{e.preventDefault(),e.stopPropagation();const t=e.keyCode;if(!l.CommonBase.isUndefined(t)&&t.toString()==="13"){const s=h(e.target.value);Z(s)}else H(e)},oe=()=>{const e=k();i.value=e,p.value=e;const t=h(e);G(t)},se=()=>{const e=k();i.value=e,p.value=e;const t=h(e);j(t)},ae=()=>{i.value="",V(""),J(),T()},le=()=>{C.value=!C.value},S=()=>h(i.value);return D({getValue:S,getValueData:()=>({value:S(),show:i.value}),setValue:e=>{const t=l.CommonBase.isEmpty(e)?"":g(e,"");i.value=t,p.value=t},focus:()=>{T()}}),(e,t)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(U.value),style:n.normalizeStyle($.value)},[n.createElementVNode("div",{class:n.normalizeClass(M.value)},[I.value?(n.openBlock(),n.createElementBlock("div",ie,[n.createElementVNode("span",re,[n.renderSlot(e.$slots,"prepend")])])):n.createCommentVNode("",!0),n.createElementVNode("div",{class:n.normalizeClass(z.value)},[n.withDirectives(n.createElementVNode("input",{ref_key:"refElInput",ref:w,type:K.value,name:P.value,class:"form-control container-border",autocomplete:"off","onUpdate:modelValue":t[0]||(t[0]=s=>i.value=s),placeholder:d.placeholder,disabled:d.disabled,readonly:d.isReadonly,onInput:ee,onKeydown:te,onKeyup:ne,onFocus:oe,onBlur:se},null,40,ce),[[n.vModelDynamic,i.value]]),L.value?(n.openBlock(),n.createElementBlock("i",{key:0,class:"input-clear-icon clIconFont clIcon-close-circle-fill",onClick:n.withModifiers(ae,["stop"])})):n.createCommentVNode("",!0),d.isPassword?(n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(O.value),onClick:le},null,2)):n.createCommentVNode("",!0)],2),x.value?(n.openBlock(),n.createElementBlock("div",me,[n.createElementVNode("span",pe,[n.renderSlot(e.$slots,"append")])])):n.createCommentVNode("",!0)],2)],6))}});exports._sfc_main=de;
2
+ //# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map