@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,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={ClAnchorNav:"@cldemo/library/utils/Element/ClAnchorNav",ClBadge:"@cldemo/library/utils/Element/ClBadge",ClButton:"@cldemo/library/utils/Element/ClButton",ClCheckbox:"@cldemo/library/utils/Element/ClCheckbox",ClCheckboxOne:"@cldemo/library/utils/Element/ClCheckboxOne",ClClipboard:"@cldemo/library/utils/Element/ClClipboard",ClCountup:"@cldemo/library/utils/Element/ClCountup",ClCropper:"@cldemo/library/utils/Element/ClCropper",ClDarg:"@cldemo/library/utils/Element/ClDarg",ClEllipsis:"@cldemo/library/utils/Element/ClEllipsis",ClForm:"@cldemo/library/utils/Element/ClForm",ClFormGroup:"@cldemo/library/utils/Element/ClFormGroup",ClFormValidate:"@cldemo/library/utils/Element/ClFormValidate",ClIconFont:"@cldemo/library/utils/Element/ClIconFont",ClImage:"@cldemo/library/utils/Element/ClImage",ClInput:"@cldemo/library/utils/Element/ClInput",ClInputCaptcha:"@cldemo/library/utils/Element/ClInputCaptcha",ClInputNumber:"@cldemo/library/utils/Element/ClInputNumber",ClInputSearch:"@cldemo/library/utils/Element/ClInputSearch",ClInputTextarea:"@cldemo/library/utils/Element/ClInputTextarea",ClInputnumberButton:"@cldemo/library/utils/Element/ClInputnumberButton",ClLink:"@cldemo/library/utils/Element/ClLink",ClLoad:"@cldemo/library/utils/Element/ClLoad",ClLoadFullCenter:"@cldemo/library/utils/Element/ClLoadFullCenter",ClLoadIng:"@cldemo/library/utils/Element/ClLoadIng",ClLoadScreen:"@cldemo/library/utils/Element/ClLoadScreen",ClLoadWarp:"@cldemo/library/utils/Element/ClLoadWarp",ClModal:"@cldemo/library/utils/Element/ClModal",ClProgress:"@cldemo/library/utils/Element/ClProgress",ClRadio:"@cldemo/library/utils/Element/ClRadio",ClRadioOne:"@cldemo/library/utils/Element/ClRadioOne",ClSlider:"@cldemo/library/utils/Element/ClSlider",ClSwitchery:"@cldemo/library/utils/Element/ClSwitchery",ClTags:"@cldemo/library/utils/Element/ClTags",ClTransitionSlideupdown:"@cldemo/library/utils/Element/ClTransitionSlideupdown",ClWaterfall:"@cldemo/library/utils/Element/ClWaterfall",ClWaterfallImage:"@cldemo/library/utils/Element/ClWaterfallImage",ClBreadcrumb:"@cldemo/library/utils/Web/ClBreadcrumb",ClCalendar:"@cldemo/library/utils/Web/ClCalendar",ClCard:"@cldemo/library/utils/Web/ClCard",ClCardLegend:"@cldemo/library/utils/Web/ClCardLegend",ClCollapse:"@cldemo/library/utils/Web/ClCollapse",ClColorpicker:"@cldemo/library/utils/Web/ClColorpicker",ClCropperPreview:"@cldemo/library/utils/Web/ClCropperPreview",ClDatetime:"@cldemo/library/utils/Web/ClDatetime",ClDropdownmenu:"@cldemo/library/utils/Web/ClDropdownmenu",ClDropdownmenuItem:"@cldemo/library/utils/Web/ClDropdownmenuItem",ClDropdownpopup:"@cldemo/library/utils/Web/ClDropdownpopup",ClEcharts:"@cldemo/library/utils/Web/ClEcharts",ClFileupload:"@cldemo/library/utils/Web/ClFileupload",ClInputTag:"@cldemo/library/utils/Web/ClInputTag",ClPaginate:"@cldemo/library/utils/Web/ClPaginate",ClPortlet:"@cldemo/library/utils/Web/ClPortlet",ClPreviewexample:"@cldemo/library/utils/Web/ClPreviewexample",ClScrollXFence:"@cldemo/library/utils/Web/ClScrollXFence",ClSelect:"@cldemo/library/utils/Web/ClSelect",ClSelectCascade:"@cldemo/library/utils/Web/ClSelectCascade",ClSelectTag:"@cldemo/library/utils/Web/ClSelectTag",ClSelectTree:"@cldemo/library/utils/Web/ClSelectTree",ClSelectmove:"@cldemo/library/utils/Web/ClSelectmove",ClSidemenu:"@cldemo/library/utils/Web/ClSidemenu",ClTable:"@cldemo/library/utils/Web/ClTable",ClTabs:"@cldemo/library/utils/Web/ClTabs",ClTree:"@cldemo/library/utils/Web/ClTree",ClWeekhour:"@cldemo/library/utils/Web/ClWeekhour",ClXeditable:"@cldemo/library/utils/Web/ClXeditable",ClCell:"@cldemo/library/utils/Mobile/ClCell",ClPullToRefresh:"@cldemo/library/utils/Mobile/ClPullToRefresh"};function t(l){const e=r[l];if(e)return{name:l,from:e,importName:"default"}}exports.clComponentMap=r;exports.clResolver=t;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../src/libs/resolver.ts"],"sourcesContent":["// Auto-generated by scripts/generate-resolver.cjs\n// DO NOT EDIT — run lib:build to regenerate\n\nexport const clComponentMap: Record<string, string> = {\n\n // ===== Element =====\n ClAnchorNav: '@cldemo/library/utils/Element/ClAnchorNav',\n ClBadge: '@cldemo/library/utils/Element/ClBadge',\n ClButton: '@cldemo/library/utils/Element/ClButton',\n ClCheckbox: '@cldemo/library/utils/Element/ClCheckbox',\n ClCheckboxOne: '@cldemo/library/utils/Element/ClCheckboxOne',\n ClClipboard: '@cldemo/library/utils/Element/ClClipboard',\n ClCountup: '@cldemo/library/utils/Element/ClCountup',\n ClCropper: '@cldemo/library/utils/Element/ClCropper',\n ClDarg: '@cldemo/library/utils/Element/ClDarg',\n ClEllipsis: '@cldemo/library/utils/Element/ClEllipsis',\n ClForm: '@cldemo/library/utils/Element/ClForm',\n ClFormGroup: '@cldemo/library/utils/Element/ClFormGroup',\n ClFormValidate: '@cldemo/library/utils/Element/ClFormValidate',\n ClIconFont: '@cldemo/library/utils/Element/ClIconFont',\n ClImage: '@cldemo/library/utils/Element/ClImage',\n ClInput: '@cldemo/library/utils/Element/ClInput',\n ClInputCaptcha: '@cldemo/library/utils/Element/ClInputCaptcha',\n ClInputNumber: '@cldemo/library/utils/Element/ClInputNumber',\n ClInputSearch: '@cldemo/library/utils/Element/ClInputSearch',\n ClInputTextarea: '@cldemo/library/utils/Element/ClInputTextarea',\n ClInputnumberButton: '@cldemo/library/utils/Element/ClInputnumberButton',\n ClLink: '@cldemo/library/utils/Element/ClLink',\n ClLoad: '@cldemo/library/utils/Element/ClLoad',\n ClLoadFullCenter: '@cldemo/library/utils/Element/ClLoadFullCenter',\n ClLoadIng: '@cldemo/library/utils/Element/ClLoadIng',\n ClLoadScreen: '@cldemo/library/utils/Element/ClLoadScreen',\n ClLoadWarp: '@cldemo/library/utils/Element/ClLoadWarp',\n ClModal: '@cldemo/library/utils/Element/ClModal',\n ClProgress: '@cldemo/library/utils/Element/ClProgress',\n ClRadio: '@cldemo/library/utils/Element/ClRadio',\n ClRadioOne: '@cldemo/library/utils/Element/ClRadioOne',\n ClSlider: '@cldemo/library/utils/Element/ClSlider',\n ClSwitchery: '@cldemo/library/utils/Element/ClSwitchery',\n ClTags: '@cldemo/library/utils/Element/ClTags',\n ClTransitionSlideupdown: '@cldemo/library/utils/Element/ClTransitionSlideupdown',\n ClWaterfall: '@cldemo/library/utils/Element/ClWaterfall',\n ClWaterfallImage: '@cldemo/library/utils/Element/ClWaterfallImage',\n\n // ===== Web =====\n ClBreadcrumb: '@cldemo/library/utils/Web/ClBreadcrumb',\n ClCalendar: '@cldemo/library/utils/Web/ClCalendar',\n ClCard: '@cldemo/library/utils/Web/ClCard',\n ClCardLegend: '@cldemo/library/utils/Web/ClCardLegend',\n ClCollapse: '@cldemo/library/utils/Web/ClCollapse',\n ClColorpicker: '@cldemo/library/utils/Web/ClColorpicker',\n ClCropperPreview: '@cldemo/library/utils/Web/ClCropperPreview',\n ClDatetime: '@cldemo/library/utils/Web/ClDatetime',\n ClDropdownmenu: '@cldemo/library/utils/Web/ClDropdownmenu',\n ClDropdownmenuItem: '@cldemo/library/utils/Web/ClDropdownmenuItem',\n ClDropdownpopup: '@cldemo/library/utils/Web/ClDropdownpopup',\n ClEcharts: '@cldemo/library/utils/Web/ClEcharts',\n ClFileupload: '@cldemo/library/utils/Web/ClFileupload',\n ClInputTag: '@cldemo/library/utils/Web/ClInputTag',\n ClPaginate: '@cldemo/library/utils/Web/ClPaginate',\n ClPortlet: '@cldemo/library/utils/Web/ClPortlet',\n ClPreviewexample: '@cldemo/library/utils/Web/ClPreviewexample',\n ClScrollXFence: '@cldemo/library/utils/Web/ClScrollXFence',\n ClSelect: '@cldemo/library/utils/Web/ClSelect',\n ClSelectCascade: '@cldemo/library/utils/Web/ClSelectCascade',\n ClSelectTag: '@cldemo/library/utils/Web/ClSelectTag',\n ClSelectTree: '@cldemo/library/utils/Web/ClSelectTree',\n ClSelectmove: '@cldemo/library/utils/Web/ClSelectmove',\n ClSidemenu: '@cldemo/library/utils/Web/ClSidemenu',\n ClTable: '@cldemo/library/utils/Web/ClTable',\n ClTabs: '@cldemo/library/utils/Web/ClTabs',\n ClTree: '@cldemo/library/utils/Web/ClTree',\n ClWeekhour: '@cldemo/library/utils/Web/ClWeekhour',\n ClXeditable: '@cldemo/library/utils/Web/ClXeditable',\n\n // ===== Mobile =====\n ClCell: '@cldemo/library/utils/Mobile/ClCell',\n ClPullToRefresh: '@cldemo/library/utils/Mobile/ClPullToRefresh',\n}\n\n/** unplugin-vue-components resolver */\nexport function clResolver(name: string) {\n const from = clComponentMap[name]\n if (from) return { name, from, importName: 'default' }\n}\n"],"names":["clComponentMap","clResolver","name","from"],"mappings":"gFAGO,MAAMA,EAAyC,CAGpD,YAAa,4CACb,QAAS,wCACT,SAAU,yCACV,WAAY,2CACZ,cAAe,8CACf,YAAa,4CACb,UAAW,0CACX,UAAW,0CACX,OAAQ,uCACR,WAAY,2CACZ,OAAQ,uCACR,YAAa,4CACb,eAAgB,+CAChB,WAAY,2CACZ,QAAS,wCACT,QAAS,wCACT,eAAgB,+CAChB,cAAe,8CACf,cAAe,8CACf,gBAAiB,gDACjB,oBAAqB,oDACrB,OAAQ,uCACR,OAAQ,uCACR,iBAAkB,iDAClB,UAAW,0CACX,aAAc,6CACd,WAAY,2CACZ,QAAS,wCACT,WAAY,2CACZ,QAAS,wCACT,WAAY,2CACZ,SAAU,yCACV,YAAa,4CACb,OAAQ,uCACR,wBAAyB,wDACzB,YAAa,4CACb,iBAAkB,iDAGlB,aAAc,yCACd,WAAY,uCACZ,OAAQ,mCACR,aAAc,yCACd,WAAY,uCACZ,cAAe,0CACf,iBAAkB,6CAClB,WAAY,uCACZ,eAAgB,2CAChB,mBAAoB,+CACpB,gBAAiB,4CACjB,UAAW,sCACX,aAAc,yCACd,WAAY,uCACZ,WAAY,uCACZ,UAAW,sCACX,iBAAkB,6CAClB,eAAgB,2CAChB,SAAU,qCACV,gBAAiB,4CACjB,YAAa,wCACb,aAAc,yCACd,aAAc,yCACd,WAAY,uCACZ,QAAS,oCACT,OAAQ,mCACR,OAAQ,mCACR,WAAY,uCACZ,YAAa,wCAGb,OAAQ,sCACR,gBAAiB,8CACnB,EAGO,SAASC,EAAWC,EAAc,CACvC,MAAMC,EAAOH,EAAeE,CAAI,EAChC,GAAIC,EAAM,MAAO,CAAE,KAAAD,EAAM,KAAAC,EAAM,WAAY,SAAA,CAC7C"}
@@ -0,0 +1,82 @@
1
+ const r = {
2
+ // ===== Element =====
3
+ ClAnchorNav: "@cldemo/library/utils/Element/ClAnchorNav",
4
+ ClBadge: "@cldemo/library/utils/Element/ClBadge",
5
+ ClButton: "@cldemo/library/utils/Element/ClButton",
6
+ ClCheckbox: "@cldemo/library/utils/Element/ClCheckbox",
7
+ ClCheckboxOne: "@cldemo/library/utils/Element/ClCheckboxOne",
8
+ ClClipboard: "@cldemo/library/utils/Element/ClClipboard",
9
+ ClCountup: "@cldemo/library/utils/Element/ClCountup",
10
+ ClCropper: "@cldemo/library/utils/Element/ClCropper",
11
+ ClDarg: "@cldemo/library/utils/Element/ClDarg",
12
+ ClEllipsis: "@cldemo/library/utils/Element/ClEllipsis",
13
+ ClForm: "@cldemo/library/utils/Element/ClForm",
14
+ ClFormGroup: "@cldemo/library/utils/Element/ClFormGroup",
15
+ ClFormValidate: "@cldemo/library/utils/Element/ClFormValidate",
16
+ ClIconFont: "@cldemo/library/utils/Element/ClIconFont",
17
+ ClImage: "@cldemo/library/utils/Element/ClImage",
18
+ ClInput: "@cldemo/library/utils/Element/ClInput",
19
+ ClInputCaptcha: "@cldemo/library/utils/Element/ClInputCaptcha",
20
+ ClInputNumber: "@cldemo/library/utils/Element/ClInputNumber",
21
+ ClInputSearch: "@cldemo/library/utils/Element/ClInputSearch",
22
+ ClInputTextarea: "@cldemo/library/utils/Element/ClInputTextarea",
23
+ ClInputnumberButton: "@cldemo/library/utils/Element/ClInputnumberButton",
24
+ ClLink: "@cldemo/library/utils/Element/ClLink",
25
+ ClLoad: "@cldemo/library/utils/Element/ClLoad",
26
+ ClLoadFullCenter: "@cldemo/library/utils/Element/ClLoadFullCenter",
27
+ ClLoadIng: "@cldemo/library/utils/Element/ClLoadIng",
28
+ ClLoadScreen: "@cldemo/library/utils/Element/ClLoadScreen",
29
+ ClLoadWarp: "@cldemo/library/utils/Element/ClLoadWarp",
30
+ ClModal: "@cldemo/library/utils/Element/ClModal",
31
+ ClProgress: "@cldemo/library/utils/Element/ClProgress",
32
+ ClRadio: "@cldemo/library/utils/Element/ClRadio",
33
+ ClRadioOne: "@cldemo/library/utils/Element/ClRadioOne",
34
+ ClSlider: "@cldemo/library/utils/Element/ClSlider",
35
+ ClSwitchery: "@cldemo/library/utils/Element/ClSwitchery",
36
+ ClTags: "@cldemo/library/utils/Element/ClTags",
37
+ ClTransitionSlideupdown: "@cldemo/library/utils/Element/ClTransitionSlideupdown",
38
+ ClWaterfall: "@cldemo/library/utils/Element/ClWaterfall",
39
+ ClWaterfallImage: "@cldemo/library/utils/Element/ClWaterfallImage",
40
+ // ===== Web =====
41
+ ClBreadcrumb: "@cldemo/library/utils/Web/ClBreadcrumb",
42
+ ClCalendar: "@cldemo/library/utils/Web/ClCalendar",
43
+ ClCard: "@cldemo/library/utils/Web/ClCard",
44
+ ClCardLegend: "@cldemo/library/utils/Web/ClCardLegend",
45
+ ClCollapse: "@cldemo/library/utils/Web/ClCollapse",
46
+ ClColorpicker: "@cldemo/library/utils/Web/ClColorpicker",
47
+ ClCropperPreview: "@cldemo/library/utils/Web/ClCropperPreview",
48
+ ClDatetime: "@cldemo/library/utils/Web/ClDatetime",
49
+ ClDropdownmenu: "@cldemo/library/utils/Web/ClDropdownmenu",
50
+ ClDropdownmenuItem: "@cldemo/library/utils/Web/ClDropdownmenuItem",
51
+ ClDropdownpopup: "@cldemo/library/utils/Web/ClDropdownpopup",
52
+ ClEcharts: "@cldemo/library/utils/Web/ClEcharts",
53
+ ClFileupload: "@cldemo/library/utils/Web/ClFileupload",
54
+ ClInputTag: "@cldemo/library/utils/Web/ClInputTag",
55
+ ClPaginate: "@cldemo/library/utils/Web/ClPaginate",
56
+ ClPortlet: "@cldemo/library/utils/Web/ClPortlet",
57
+ ClPreviewexample: "@cldemo/library/utils/Web/ClPreviewexample",
58
+ ClScrollXFence: "@cldemo/library/utils/Web/ClScrollXFence",
59
+ ClSelect: "@cldemo/library/utils/Web/ClSelect",
60
+ ClSelectCascade: "@cldemo/library/utils/Web/ClSelectCascade",
61
+ ClSelectTag: "@cldemo/library/utils/Web/ClSelectTag",
62
+ ClSelectTree: "@cldemo/library/utils/Web/ClSelectTree",
63
+ ClSelectmove: "@cldemo/library/utils/Web/ClSelectmove",
64
+ ClSidemenu: "@cldemo/library/utils/Web/ClSidemenu",
65
+ ClTable: "@cldemo/library/utils/Web/ClTable",
66
+ ClTabs: "@cldemo/library/utils/Web/ClTabs",
67
+ ClTree: "@cldemo/library/utils/Web/ClTree",
68
+ ClWeekhour: "@cldemo/library/utils/Web/ClWeekhour",
69
+ ClXeditable: "@cldemo/library/utils/Web/ClXeditable",
70
+ // ===== Mobile =====
71
+ ClCell: "@cldemo/library/utils/Mobile/ClCell",
72
+ ClPullToRefresh: "@cldemo/library/utils/Mobile/ClPullToRefresh"
73
+ };
74
+ function i(l) {
75
+ const e = r[l];
76
+ if (e) return { name: l, from: e, importName: "default" };
77
+ }
78
+ export {
79
+ r as clComponentMap,
80
+ i as clResolver
81
+ };
82
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/libs/resolver.ts"],"sourcesContent":["// Auto-generated by scripts/generate-resolver.cjs\n// DO NOT EDIT — run lib:build to regenerate\n\nexport const clComponentMap: Record<string, string> = {\n\n // ===== Element =====\n ClAnchorNav: '@cldemo/library/utils/Element/ClAnchorNav',\n ClBadge: '@cldemo/library/utils/Element/ClBadge',\n ClButton: '@cldemo/library/utils/Element/ClButton',\n ClCheckbox: '@cldemo/library/utils/Element/ClCheckbox',\n ClCheckboxOne: '@cldemo/library/utils/Element/ClCheckboxOne',\n ClClipboard: '@cldemo/library/utils/Element/ClClipboard',\n ClCountup: '@cldemo/library/utils/Element/ClCountup',\n ClCropper: '@cldemo/library/utils/Element/ClCropper',\n ClDarg: '@cldemo/library/utils/Element/ClDarg',\n ClEllipsis: '@cldemo/library/utils/Element/ClEllipsis',\n ClForm: '@cldemo/library/utils/Element/ClForm',\n ClFormGroup: '@cldemo/library/utils/Element/ClFormGroup',\n ClFormValidate: '@cldemo/library/utils/Element/ClFormValidate',\n ClIconFont: '@cldemo/library/utils/Element/ClIconFont',\n ClImage: '@cldemo/library/utils/Element/ClImage',\n ClInput: '@cldemo/library/utils/Element/ClInput',\n ClInputCaptcha: '@cldemo/library/utils/Element/ClInputCaptcha',\n ClInputNumber: '@cldemo/library/utils/Element/ClInputNumber',\n ClInputSearch: '@cldemo/library/utils/Element/ClInputSearch',\n ClInputTextarea: '@cldemo/library/utils/Element/ClInputTextarea',\n ClInputnumberButton: '@cldemo/library/utils/Element/ClInputnumberButton',\n ClLink: '@cldemo/library/utils/Element/ClLink',\n ClLoad: '@cldemo/library/utils/Element/ClLoad',\n ClLoadFullCenter: '@cldemo/library/utils/Element/ClLoadFullCenter',\n ClLoadIng: '@cldemo/library/utils/Element/ClLoadIng',\n ClLoadScreen: '@cldemo/library/utils/Element/ClLoadScreen',\n ClLoadWarp: '@cldemo/library/utils/Element/ClLoadWarp',\n ClModal: '@cldemo/library/utils/Element/ClModal',\n ClProgress: '@cldemo/library/utils/Element/ClProgress',\n ClRadio: '@cldemo/library/utils/Element/ClRadio',\n ClRadioOne: '@cldemo/library/utils/Element/ClRadioOne',\n ClSlider: '@cldemo/library/utils/Element/ClSlider',\n ClSwitchery: '@cldemo/library/utils/Element/ClSwitchery',\n ClTags: '@cldemo/library/utils/Element/ClTags',\n ClTransitionSlideupdown: '@cldemo/library/utils/Element/ClTransitionSlideupdown',\n ClWaterfall: '@cldemo/library/utils/Element/ClWaterfall',\n ClWaterfallImage: '@cldemo/library/utils/Element/ClWaterfallImage',\n\n // ===== Web =====\n ClBreadcrumb: '@cldemo/library/utils/Web/ClBreadcrumb',\n ClCalendar: '@cldemo/library/utils/Web/ClCalendar',\n ClCard: '@cldemo/library/utils/Web/ClCard',\n ClCardLegend: '@cldemo/library/utils/Web/ClCardLegend',\n ClCollapse: '@cldemo/library/utils/Web/ClCollapse',\n ClColorpicker: '@cldemo/library/utils/Web/ClColorpicker',\n ClCropperPreview: '@cldemo/library/utils/Web/ClCropperPreview',\n ClDatetime: '@cldemo/library/utils/Web/ClDatetime',\n ClDropdownmenu: '@cldemo/library/utils/Web/ClDropdownmenu',\n ClDropdownmenuItem: '@cldemo/library/utils/Web/ClDropdownmenuItem',\n ClDropdownpopup: '@cldemo/library/utils/Web/ClDropdownpopup',\n ClEcharts: '@cldemo/library/utils/Web/ClEcharts',\n ClFileupload: '@cldemo/library/utils/Web/ClFileupload',\n ClInputTag: '@cldemo/library/utils/Web/ClInputTag',\n ClPaginate: '@cldemo/library/utils/Web/ClPaginate',\n ClPortlet: '@cldemo/library/utils/Web/ClPortlet',\n ClPreviewexample: '@cldemo/library/utils/Web/ClPreviewexample',\n ClScrollXFence: '@cldemo/library/utils/Web/ClScrollXFence',\n ClSelect: '@cldemo/library/utils/Web/ClSelect',\n ClSelectCascade: '@cldemo/library/utils/Web/ClSelectCascade',\n ClSelectTag: '@cldemo/library/utils/Web/ClSelectTag',\n ClSelectTree: '@cldemo/library/utils/Web/ClSelectTree',\n ClSelectmove: '@cldemo/library/utils/Web/ClSelectmove',\n ClSidemenu: '@cldemo/library/utils/Web/ClSidemenu',\n ClTable: '@cldemo/library/utils/Web/ClTable',\n ClTabs: '@cldemo/library/utils/Web/ClTabs',\n ClTree: '@cldemo/library/utils/Web/ClTree',\n ClWeekhour: '@cldemo/library/utils/Web/ClWeekhour',\n ClXeditable: '@cldemo/library/utils/Web/ClXeditable',\n\n // ===== Mobile =====\n ClCell: '@cldemo/library/utils/Mobile/ClCell',\n ClPullToRefresh: '@cldemo/library/utils/Mobile/ClPullToRefresh',\n}\n\n/** unplugin-vue-components resolver */\nexport function clResolver(name: string) {\n const from = clComponentMap[name]\n if (from) return { name, from, importName: 'default' }\n}\n"],"names":["clComponentMap","clResolver","name","from"],"mappings":"AAGO,MAAMA,IAAyC;AAAA;AAAA,EAGpD,aAAa;AAAA,EACb,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,WAAW;AAAA,EACX,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,yBAAyB;AAAA,EACzB,aAAa;AAAA,EACb,kBAAkB;AAAA;AAAA,EAGlB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,iBAAiB;AAAA,EACjB,WAAW;AAAA,EACX,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,cAAc;AAAA,EACd,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,aAAa;AAAA;AAAA,EAGb,QAAQ;AAAA,EACR,iBAAiB;AACnB;AAGO,SAASC,EAAWC,GAAc;AACvC,QAAMC,IAAOH,EAAeE,CAAI;AAChC,MAAIC,EAAM,QAAO,EAAE,MAAAD,GAAM,MAAAC,GAAM,YAAY,UAAA;AAC7C;"}
@@ -0,0 +1,7 @@
1
+ export declare const clComponentMap: Record<string, string>;
2
+ /** unplugin-vue-components resolver */
3
+ export declare function clResolver(name: string): {
4
+ name: string;
5
+ from: string;
6
+ importName: string;
7
+ } | undefined;
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("vue"),m=["onClick"],u={class:"anchor-label"},p=e.defineComponent({name:"ClAnchorNav",__name:"Index",props:{className:{type:String,default:""},list:{type:Array,required:!0}},setup(s){const a=s,c=e.ref(""),i=e.ref(!1),d=l=>{const o=document.getElementById(l);o&&o.scrollIntoView({behavior:"smooth",block:"start"})},r=()=>{const l=window.scrollY,o=window.innerHeight;i.value=l>100;const t=a.list.map(n=>({id:n.id,element:document.getElementById(n.id)})).filter(n=>n.element!==null);for(let n=t.length-1;n>=0;n--)if(t[n].element.getBoundingClientRect().top<=o/2){c.value=t[n].id;break}};return e.onMounted(()=>{window.addEventListener("scroll",r),r()}),e.onUnmounted(()=>{window.removeEventListener("scroll",r)}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["anchor-nav",{"is-fixed":i.value}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id,class:e.normalizeClass(["anchor-item",{active:c.value===t.id}]),onClick:n=>d(t.id)},[o[0]||(o[0]=e.createElementVNode("span",{class:"anchor-dot"},null,-1)),e.createElementVNode("span",u,e.toDisplayString(t.label),1)],10,m))),128))],2))}});module.exports=p;
2
+ //# sourceMappingURL=ClAnchorNav.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClAnchorNav.cjs","sources":["../../../src/libs/Element/AnchorNav/Index.vue"],"sourcesContent":["<template>\n <div class=\"anchor-nav\" :class=\"{ 'is-fixed': isFixed }\">\n <div v-for=\"item in list\" :key=\"item.id\" class=\"anchor-item\" :class=\"{ active: currentAnchor === item.id }\"\n @click=\"scrollToAnchor(item.id)\">\n <span class=\"anchor-dot\"></span>\n <span class=\"anchor-label\">{{ item.label }}</span>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, onMounted, onUnmounted } from 'vue'\nimport './Index.css'\nimport type { AnchorItem } from './AnchorItem'\n\ndefineOptions({ name: 'ClAnchorNav' })\n\nconst props = defineProps({\n className: {\n type: String,\n default: '', // desc: 自定义CSS类名\n },\n list: {\n type: Array as () => AnchorItem[],\n required: true, // desc: 锚点列表配置,每个锚点包含id和label属性\n },\n})\n\nconst currentAnchor = ref('')\nconst isFixed = ref(false)\n\nconst scrollToAnchor = (anchorId: string) => {\n const element = document.getElementById(anchorId)\n if (element) {\n element.scrollIntoView({ behavior: 'smooth', block: 'start' })\n }\n}\n\nconst handleScroll = () => {\n const scrollTop = window.scrollY\n const windowHeight = window.innerHeight\n\n isFixed.value = scrollTop > 100\n\n const anchorElements = props.list\n .map((item) => ({\n id: item.id,\n element: document.getElementById(item.id),\n }))\n .filter((a): a is { id: string; element: HTMLElement } => a.element !== null)\n\n for (let i = anchorElements.length - 1; i >= 0; i--) {\n const element = anchorElements[i].element\n const rect = element.getBoundingClientRect()\n if (rect.top <= windowHeight / 2) {\n currentAnchor.value = anchorElements[i].id\n break\n }\n }\n}\n\nonMounted(() => {\n window.addEventListener('scroll', handleScroll)\n handleScroll()\n})\n\nonUnmounted(() => {\n window.removeEventListener('scroll', handleScroll)\n})\n</script>\n"],"names":["props","__props","currentAnchor","ref","isFixed","scrollToAnchor","anchorId","element","handleScroll","scrollTop","windowHeight","anchorElements","item","a","i","onMounted","onUnmounted","_createElementBlock","_normalizeClass","_Fragment","_renderList","$event","_createElementVNode","_hoisted_2","_toDisplayString"],"mappings":"oNAiBA,MAAMA,EAAQC,EAWRC,EAAgBC,EAAAA,IAAI,EAAE,EACtBC,EAAUD,EAAAA,IAAI,EAAK,EAEnBE,EAAkBC,GAAqB,CAC3C,MAAMC,EAAU,SAAS,eAAeD,CAAQ,EAC5CC,GACFA,EAAQ,eAAe,CAAE,SAAU,SAAU,MAAO,QAAS,CAEjE,EAEMC,EAAe,IAAM,CACzB,MAAMC,EAAY,OAAO,QACnBC,EAAe,OAAO,YAE5BN,EAAQ,MAAQK,EAAY,IAE5B,MAAME,EAAiBX,EAAM,KAC1B,IAAKY,IAAU,CACd,GAAIA,EAAK,GACT,QAAS,SAAS,eAAeA,EAAK,EAAE,CAAA,EACxC,EACD,OAAQC,GAAiDA,EAAE,UAAY,IAAI,EAE9E,QAASC,EAAIH,EAAe,OAAS,EAAGG,GAAK,EAAGA,IAG9C,GAFgBH,EAAeG,CAAC,EAAE,QACb,sBAAA,EACZ,KAAOJ,EAAe,EAAG,CAChCR,EAAc,MAAQS,EAAeG,CAAC,EAAE,GACxC,KACF,CAEJ,EAEAC,OAAAA,EAAAA,UAAU,IAAM,CACd,OAAO,iBAAiB,SAAUP,CAAY,EAC9CA,EAAA,CACF,CAAC,EAEDQ,EAAAA,YAAY,IAAM,CAChB,OAAO,oBAAoB,SAAUR,CAAY,CACnD,CAAC,wBAnECS,EAAAA,mBAMM,MAAA,CAND,MAAKC,EAAAA,eAAA,CAAC,aAAY,CAAA,WAAuBd,EAAA,MAAO,CAAA,CAAA,oBACnDa,EAAAA,mBAIME,EAAAA,SAAA,KAAAC,EAAAA,WAJcnB,EAAA,KAARW,kBAAZK,EAAAA,mBAIM,MAAA,CAJqB,IAAKL,EAAK,GAAI,wBAAM,cAAa,CAAA,OAAmBV,UAAkBU,EAAK,EAAA,CAAE,CAAA,EACrG,QAAKS,GAAEhB,EAAeO,EAAK,EAAE,CAAA,eAC9BU,EAAAA,mBAAgC,OAAA,CAA1B,MAAM,YAAA,EAAY,KAAA,EAAA,GACxBA,EAAAA,mBAAkD,OAAlDC,EAAkDC,EAAAA,gBAApBZ,EAAK,KAAK,EAAA,CAAA,CAAA"}
@@ -0,0 +1 @@
1
+ .anchor-nav{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:100;background:#fffffff2;border-radius:20px;box-shadow:0 2px 12px #0000001a;padding:10px 0;opacity:0;visibility:hidden;transition:all .3s ease}.anchor-nav.is-fixed{opacity:1;visibility:visible}.anchor-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.anchor-item:hover{background:#0000000d}.anchor-item.active{background:#409eff1a}.anchor-item.active .anchor-dot{background:#409eff;transform:scale(1.2)}.anchor-item.active .anchor-label{color:#409eff}.anchor-dot{width:8px;height:8px;border-radius:50%;background:#ccc;margin-right:8px;transition:all .2s ease;flex-shrink:0}.anchor-label{font-size:12px;color:#666;opacity:1;max-width:80px;overflow:hidden;transition:all .2s ease;flex-shrink:0}@media(max-width:1200px){.anchor-nav{right:10px}}
@@ -0,0 +1,3 @@
1
+ import type { DefineComponent } from 'vue'
2
+ declare const _default: DefineComponent<object, object, any>
3
+ export default _default
@@ -0,0 +1,55 @@
1
+ import { defineComponent as v, ref as d, onMounted as f, onUnmounted as w, openBlock as r, createElementBlock as s, normalizeClass as m, Fragment as g, renderList as k, createElementVNode as u, toDisplayString as y } from "vue";
2
+ const E = ["onClick"], C = { class: "anchor-label" }, B = /* @__PURE__ */ v({
3
+ name: "ClAnchorNav",
4
+ __name: "Index",
5
+ props: {
6
+ className: {
7
+ type: String,
8
+ default: ""
9
+ // desc: 自定义CSS类名
10
+ },
11
+ list: {
12
+ type: Array,
13
+ required: !0
14
+ // desc: 锚点列表配置,每个锚点包含id和label属性
15
+ }
16
+ },
17
+ setup(c) {
18
+ const h = c, i = d(""), a = d(!1), p = (o) => {
19
+ const t = document.getElementById(o);
20
+ t && t.scrollIntoView({ behavior: "smooth", block: "start" });
21
+ }, l = () => {
22
+ const o = window.scrollY, t = window.innerHeight;
23
+ a.value = o > 100;
24
+ const n = h.list.map((e) => ({
25
+ id: e.id,
26
+ element: document.getElementById(e.id)
27
+ })).filter((e) => e.element !== null);
28
+ for (let e = n.length - 1; e >= 0; e--)
29
+ if (n[e].element.getBoundingClientRect().top <= t / 2) {
30
+ i.value = n[e].id;
31
+ break;
32
+ }
33
+ };
34
+ return f(() => {
35
+ window.addEventListener("scroll", l), l();
36
+ }), w(() => {
37
+ window.removeEventListener("scroll", l);
38
+ }), (o, t) => (r(), s("div", {
39
+ class: m(["anchor-nav", { "is-fixed": a.value }])
40
+ }, [
41
+ (r(!0), s(g, null, k(c.list, (n) => (r(), s("div", {
42
+ key: n.id,
43
+ class: m(["anchor-item", { active: i.value === n.id }]),
44
+ onClick: (e) => p(n.id)
45
+ }, [
46
+ t[0] || (t[0] = u("span", { class: "anchor-dot" }, null, -1)),
47
+ u("span", C, y(n.label), 1)
48
+ ], 10, E))), 128))
49
+ ], 2));
50
+ }
51
+ });
52
+ export {
53
+ B as default
54
+ };
55
+ //# sourceMappingURL=ClAnchorNav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClAnchorNav.js","sources":["../../../src/libs/Element/AnchorNav/Index.vue"],"sourcesContent":["<template>\n <div class=\"anchor-nav\" :class=\"{ 'is-fixed': isFixed }\">\n <div v-for=\"item in list\" :key=\"item.id\" class=\"anchor-item\" :class=\"{ active: currentAnchor === item.id }\"\n @click=\"scrollToAnchor(item.id)\">\n <span class=\"anchor-dot\"></span>\n <span class=\"anchor-label\">{{ item.label }}</span>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, onMounted, onUnmounted } from 'vue'\nimport './Index.css'\nimport type { AnchorItem } from './AnchorItem'\n\ndefineOptions({ name: 'ClAnchorNav' })\n\nconst props = defineProps({\n className: {\n type: String,\n default: '', // desc: 自定义CSS类名\n },\n list: {\n type: Array as () => AnchorItem[],\n required: true, // desc: 锚点列表配置,每个锚点包含id和label属性\n },\n})\n\nconst currentAnchor = ref('')\nconst isFixed = ref(false)\n\nconst scrollToAnchor = (anchorId: string) => {\n const element = document.getElementById(anchorId)\n if (element) {\n element.scrollIntoView({ behavior: 'smooth', block: 'start' })\n }\n}\n\nconst handleScroll = () => {\n const scrollTop = window.scrollY\n const windowHeight = window.innerHeight\n\n isFixed.value = scrollTop > 100\n\n const anchorElements = props.list\n .map((item) => ({\n id: item.id,\n element: document.getElementById(item.id),\n }))\n .filter((a): a is { id: string; element: HTMLElement } => a.element !== null)\n\n for (let i = anchorElements.length - 1; i >= 0; i--) {\n const element = anchorElements[i].element\n const rect = element.getBoundingClientRect()\n if (rect.top <= windowHeight / 2) {\n currentAnchor.value = anchorElements[i].id\n break\n }\n }\n}\n\nonMounted(() => {\n window.addEventListener('scroll', handleScroll)\n handleScroll()\n})\n\nonUnmounted(() => {\n window.removeEventListener('scroll', handleScroll)\n})\n</script>\n"],"names":["props","__props","currentAnchor","ref","isFixed","scrollToAnchor","anchorId","element","handleScroll","scrollTop","windowHeight","anchorElements","item","a","i","onMounted","onUnmounted","_createElementBlock","_normalizeClass","_Fragment","_renderList","$event","_createElementVNode","_hoisted_2","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,UAAMA,IAAQC,GAWRC,IAAgBC,EAAI,EAAE,GACtBC,IAAUD,EAAI,EAAK,GAEnBE,IAAiB,CAACC,MAAqB;AAC3C,YAAMC,IAAU,SAAS,eAAeD,CAAQ;AAChD,MAAIC,KACFA,EAAQ,eAAe,EAAE,UAAU,UAAU,OAAO,SAAS;AAAA,IAEjE,GAEMC,IAAe,MAAM;AACzB,YAAMC,IAAY,OAAO,SACnBC,IAAe,OAAO;AAE5B,MAAAN,EAAQ,QAAQK,IAAY;AAE5B,YAAME,IAAiBX,EAAM,KAC1B,IAAI,CAACY,OAAU;AAAA,QACd,IAAIA,EAAK;AAAA,QACT,SAAS,SAAS,eAAeA,EAAK,EAAE;AAAA,MAAA,EACxC,EACD,OAAO,CAACC,MAAiDA,EAAE,YAAY,IAAI;AAE9E,eAASC,IAAIH,EAAe,SAAS,GAAGG,KAAK,GAAGA;AAG9C,YAFgBH,EAAeG,CAAC,EAAE,QACb,sBAAA,EACZ,OAAOJ,IAAe,GAAG;AAChC,UAAAR,EAAc,QAAQS,EAAeG,CAAC,EAAE;AACxC;AAAA,QACF;AAAA,IAEJ;AAEA,WAAAC,EAAU,MAAM;AACd,aAAO,iBAAiB,UAAUP,CAAY,GAC9CA,EAAA;AAAA,IACF,CAAC,GAEDQ,EAAY,MAAM;AAChB,aAAO,oBAAoB,UAAUR,CAAY;AAAA,IACnD,CAAC,mBAnECS,EAMM,OAAA;AAAA,MAND,OAAKC,EAAA,CAAC,cAAY,EAAA,YAAuBd,EAAA,OAAO,CAAA;AAAA,IAAA;cACnDa,EAIME,GAAA,MAAAC,EAJcnB,EAAA,MAAI,CAAZW,YAAZK,EAIM,OAAA;AAAA,QAJqB,KAAKL,EAAK;AAAA,QAAI,UAAM,eAAa,EAAA,QAAmBV,YAAkBU,EAAK,GAAA,CAAE,CAAA;AAAA,QACrG,SAAK,CAAAS,MAAEhB,EAAeO,EAAK,EAAE;AAAA,MAAA;wBAC9BU,EAAgC,QAAA,EAA1B,OAAM,aAAA,GAAY,MAAA,EAAA;AAAA,QACxBA,EAAkD,QAAlDC,GAAkDC,EAApBZ,EAAK,KAAK,GAAA,CAAA;AAAA,MAAA;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js");module.exports=e._sfc_main;
2
+ //# sourceMappingURL=ClBadge.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClBadge.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { DefineComponent } from 'vue'
2
+ declare const _default: DefineComponent<object, object, any>
3
+ export default _default
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ClBadge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClBadge.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("vue"),a=require("../Shared/base-iCmnU-fv.js"),b=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js"),I=require("../Web/__directive__/Waves.cjs"),V=require("../Shared/_plugin-vue_export-helper-BHFhmbuH.js"),D={class:"panel-btn-parent"},L=["disabled"],T={key:1,class:"btn-label"},P={key:0,class:"btn-loading"},q={class:"btn-body-backdrop-container"},W={class:"btn-body-backdrop-text"},$=e.defineComponent({name:"ClButton",directives:{clwaves:I.wavesBind},__name:"Index",props:{className:{type:String,default:""},label:{type:String,default:""},icon:{type:String,default:""},color:{type:String,default:"default"},size:{type:String,default:""},disabled:{type:Boolean,default:!1},isShowLoad:{type:Boolean,default:!1},loadPos:{type:String,default:"right",validator:n=>["right","zoom-out","fixedCenter"].indexOf(n)!==-1},loadTheme:{type:String,default:"rotaryLine"},loadDrift:{type:Boolean,default:!0},loadText:{type:String,default:""},isShowBackDrop:{type:Boolean,default:!1},isShowWaves:{type:Boolean,default:!0},wavesColor:{type:String,default:"white"},loadStatusIsIng:{type:[Boolean,null],default:null}},emits:["onClick"],setup(n,{expose:y,emit:h}){const o=n;a.CommonBase.isEmpty(o.label)&&a.CommonBase.isEmpty(o.icon)&&console.warn('[ClButton] Warning: Either "label" or "icon" prop is required.');const k=h,i=e.ref(null),s=e.ref(!1),c=e.ref(!1),u=e.ref(!1),p=e.computed(()=>!a.CommonBase.isEmpty(o.label)),d=e.computed(()=>!a.CommonBase.isEmpty(o.icon)),C=e.computed(()=>o.disabled?!0:s.value),r=e.computed(()=>o.loadPos==="fixedCenter"),_=e.computed(()=>{let t=o.wavesColor||"white";return(a.CommonBase.isExistValue(o.color,"white")||a.CommonBase.isExistValue(o.color,"grayLight"))&&(t="black"),t}),f=e.computed(()=>{let t=o.loadPos||"right";return a.CommonBase.isExistValue(o.className,"btn-circle")&&a.CommonBase.isExistValue(t,"right")&&(t="zoom-out"),t}),v=e.computed(()=>{let t="large";switch(o.loadTheme){case"rotaryLine":t=o.size==="small"?"small":"large",a.CommonBase.isExistValue(o.className,"btn-circle")&&(t="small");break;case"circleNotch":t="large";break;case"circleBubble":t="small";break}return t}),E=e.computed(()=>{const t={"btn-parent":!0,btn:!0};return a.CommonBase.isEmpty(o.color)||(t[`btn-${o.color}`]=!0),a.CommonBase.isEmpty(o.className)||o.className?.split(" ").forEach(l=>{a.CommonBase.isEmpty(l)||(t[l]=!0)}),a.CommonBase.isEmpty(o.size)||(t[`btn-${o.size}`]=!0),t["btn-load-ing"]=s.value,s.value&&(t[`btn-load-${f.value}`]=!0,t[`btn-load-${o.loadTheme}`]=!0,t["btn-load-nodrift"]=!o.loadDrift),i.value&&i.value.className&&i.value.className.split(" ").forEach(l=>{a.CommonBase.isEmpty(l)||a.CommonBase.isExistJsonKey(t,l)||(t[l]=!0)}),t}),g=e.computed(()=>{const t={"btn-icon":!0};return d.value&&o.icon?.split(" ").forEach(l=>{a.CommonBase.isEmpty(l)||(t[l]=!0)}),t}),S=e.computed(()=>{const t=s.value&&r.value;return{"btn-body-backdrop-main":!0,animated:!0,zoomIn:t,zoomOut:!t}}),w=e.computed(()=>{const t={};return(p.value||d.value)&&f.value==="zoom-out"&&s.value&&!r.value&&(t.opacity=0),t}),m=()=>{s.value||(o.isShowBackDrop&&(c.value=!0,u.value=!0),s.value=!0)},B=()=>{o.isShowBackDrop&&(r.value?e.nextTick(()=>{setTimeout(()=>{c.value=!1,u.value=!1},200)}):c.value=!1),s.value=!1};e.watch(()=>o.loadStatusIsIng,t=>{a.CommonBase.isBoolean(t)&&(t?m():B())});const x=()=>{k("onClick")},z=()=>{o.disabled||(o.isShowLoad&&m(),x())};return y({loadStart:()=>{m()},loadStop:()=>{B()}}),(t,l)=>{const N=e.resolveDirective("clwaves");return e.openBlock(),e.createElementBlock("span",D,[e.withDirectives((e.openBlock(),e.createElementBlock("button",{ref_key:"refElTopParent",ref:i,type:"button",class:e.normalizeClass(E.value),disabled:C.value,onClick:z},[e.createElementVNode("span",{style:e.normalizeStyle(w.value)},[d.value?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(g.value)},null,2)):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("span",T,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)],4),s.value&&!r.value?(e.openBlock(),e.createElementBlock("span",P,[e.createVNode(b._sfc_main,{theme:n.loadTheme,size:v.value},null,8,["theme","size"])])):e.createCommentVNode("",!0)],10,L)),[[N,{color:_.value}]]),c.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l[0]||(l[0]=e.createElementVNode("div",{class:"btn-body-backdrop"},null,-1)),r.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(S.value)},[e.createElementVNode("div",q,[e.createVNode(b._sfc_main,{theme:n.loadTheme,size:v.value},null,8,["theme","size"]),e.createElementVNode("div",W,e.toDisplayString(n.loadText||"加载中"),1)])],2)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}}}),R=V._export_sfc($,[["__scopeId","data-v-3215c07e"]]);module.exports=R;
2
+ //# sourceMappingURL=ClButton.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClButton.cjs","sources":["../../../src/libs/Element/Button/Index.vue"],"sourcesContent":["<template>\n <span class=\"panel-btn-parent\">\n <button\n ref=\"refElTopParent\"\n type=\"button\"\n :class=\"clsParent\"\n :disabled=\"optIsDisabled\"\n @click=\"onClick\"\n v-clwaves=\"{ color: optWavesColor }\"\n >\n <span :style=\"styBtnChild\">\n <i\n :class=\"clsIcon\"\n v-if=\"optIsShowIcon\"\n ></i>\n <span\n class=\"btn-label\"\n v-if=\"optIsShowLabel\"\n >{{ label }}</span>\n </span>\n <span\n class=\"btn-loading\"\n v-if=\"optIsRunLoading && !optIsShowBackDropLoad\"\n >\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n </span>\n </button>\n <template v-if=\"optIsShowBackDrop\">\n <div class=\"btn-body-backdrop\"></div>\n <div\n :class=\"clsBodyBackdropMain\"\n v-if=\"optIsShowBackDropLoad && optIsBackDropRunLoading\"\n >\n <div class=\"btn-body-backdrop-container\">\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n <div class=\"btn-body-backdrop-text\">{{ loadText || '加载中' }}</div>\n </div>\n </div>\n </template>\n </span>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport { ref, computed, watch, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport ClLoad from '../Load/Index.vue'\nimport { wavesBind } from '../../Web/Waves'\n\n// defineOptions\ndefineOptions({\n name: 'ClButton',\n directives: {\n clwaves: wavesBind\n }\n})\n\n// props\nconst props = defineProps({\n className: {\n type: String,\n default: '' // desc: 自定义CSS类名\n },\n label: {\n type: String,\n default: '' // desc: 按钮文本标签\n },\n icon: {\n type: String,\n default: '' // desc: 按钮图标类名\n },\n color: {\n type: String,\n default: 'default' // desc: 按钮颜色主题 | enum: default, green, red, yellow, white, grayLight, transparent\n },\n size: {\n type: String,\n default: '' // desc: 按钮尺寸 | enum: large, small, xl\n },\n disabled: {\n type: Boolean,\n default: false // desc: 是否禁用按钮\n },\n isShowLoad: {\n type: Boolean,\n default: false // desc: 是否显示加载动画\n },\n loadPos: {\n type: String,\n default: 'right', // desc: 加载动画位置 | enum: right, zoom-out, fixedCenter\n validator: (value: string) => {\n return ['right', 'zoom-out', 'fixedCenter'].indexOf(value) !== -1\n }\n },\n loadTheme: {\n type: String,\n default: 'rotaryLine' // desc: 加载动画主题 | enum: rotaryLine, circleNotch, circleBubble\n },\n loadDrift: {\n type: Boolean,\n default: true // desc: 加载时是否漂移\n },\n loadText: {\n type: String,\n default: '' // desc: 加载提示文本\n },\n isShowBackDrop: {\n type: Boolean,\n default: false // desc: 是否显示遮罩层\n },\n isShowWaves: {\n type: Boolean,\n default: true // desc: 是否显示点击波纹效果\n },\n wavesColor: {\n type: String,\n default: 'white' // desc: 波纹颜色 | enum: white, black\n },\n loadStatusIsIng: {\n type: [Boolean, null],\n default: null // desc: 加载状态控制(true开始,false结束,null忽略)\n }\n})\n\nif (CommonBase.isEmpty(props.label) && CommonBase.isEmpty(props.icon)) {\n console.warn('[ClButton] Warning: Either \"label\" or \"icon\" prop is required.')\n}\n\n// emit\nconst emit = defineEmits<{\n (e: 'onClick'): void\n}>()\n\n// refs\nconst refElTopParent = ref<HTMLElement | null>(null)\n\n// reactive\nconst optIsRunLoading = ref(false)\nconst optIsShowBackDrop = ref(false)\nconst optIsBackDropRunLoading = ref(false)\n\n// computed\nconst optIsShowLabel = computed(() => {\n return !CommonBase.isEmpty(props.label)\n})\n\nconst optIsShowIcon = computed(() => {\n return !CommonBase.isEmpty(props.icon)\n})\n\nconst optIsDisabled = computed(() => {\n return props.disabled ? true : optIsRunLoading.value\n})\n\nconst optIsShowBackDropLoad = computed(() => {\n return props.loadPos === 'fixedCenter'\n})\n\nconst optWavesColor = computed(() => {\n let color = props.wavesColor || 'white'\n if (CommonBase.isExistValue(props.color, 'white') || CommonBase.isExistValue(props.color, 'grayLight')) {\n color = 'black'\n }\n return color\n})\n\nconst optLoadPos = computed(() => {\n let pos = props.loadPos || 'right'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n if (CommonBase.isExistValue(pos, 'right')) {\n pos = 'zoom-out'\n }\n }\n return pos\n})\n\nconst optLoadSize = computed(() => {\n let size = 'large'\n switch (props.loadTheme) {\n case 'rotaryLine':\n size = props.size === 'small' ? 'small' : 'large'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n size = 'small'\n }\n break\n case 'circleNotch':\n size = 'large'\n break\n case 'circleBubble':\n size = 'small'\n break\n }\n return size\n})\n\nconst clsParent = computed(() => {\n const cls: any = {\n 'btn-parent': true,\n btn: true,\n }\n if (!CommonBase.isEmpty(props.color)) {\n cls[`btn-${props.color}`] = true\n }\n if (!CommonBase.isEmpty(props.className)) {\n props.className?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n if (!CommonBase.isEmpty(props.size)) {\n cls[`btn-${props.size}`] = true\n }\n\n cls['btn-load-ing'] = optIsRunLoading.value\n if (optIsRunLoading.value) {\n cls[`btn-load-${optLoadPos.value}`] = true\n cls[`btn-load-${props.loadTheme}`] = true\n cls['btn-load-nodrift'] = !props.loadDrift\n }\n\n if (refElTopParent.value && refElTopParent.value.className) {\n refElTopParent.value.className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n if (!CommonBase.isExistJsonKey(cls, c)) {\n cls[c] = true\n }\n }\n })\n }\n return cls\n})\n\nconst clsIcon = computed(() => {\n const cls: any = {\n 'btn-icon': true,\n }\n if (optIsShowIcon.value) {\n props.icon?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsBodyBackdropMain = computed(() => {\n const isRun = optIsRunLoading.value && optIsShowBackDropLoad.value\n const cls = {\n 'btn-body-backdrop-main': true,\n animated: true,\n zoomIn: isRun,\n zoomOut: !isRun,\n }\n return cls\n})\n\nconst styBtnChild = computed(() => {\n const sty: any = {}\n if (optIsShowLabel.value || optIsShowIcon.value) {\n if (optLoadPos.value === 'zoom-out' && optIsRunLoading.value && !optIsShowBackDropLoad.value) {\n sty.opacity = 0\n }\n }\n return sty\n})\n\n// 内部方法\nconst _runLoading = () => {\n if (!optIsRunLoading.value) {\n if (props.isShowBackDrop) {\n optIsShowBackDrop.value = true\n optIsBackDropRunLoading.value = true\n }\n optIsRunLoading.value = true\n }\n}\n\nconst _runLoadEnd = () => {\n if (props.isShowBackDrop) {\n if (optIsShowBackDropLoad.value) {\n nextTick(() => {\n setTimeout(() => {\n optIsShowBackDrop.value = false\n optIsBackDropRunLoading.value = false\n }, 200)\n })\n } else {\n optIsShowBackDrop.value = false\n }\n }\n optIsRunLoading.value = false\n}\n\n// watch\nwatch(\n () => props.loadStatusIsIng,\n (newValue) => {\n if (CommonBase.isBoolean(newValue)) {\n newValue ? _runLoading() : _runLoadEnd()\n }\n }\n)\n\n// emit 外部使用的事件\nconst _emitClick = () => {\n emit('onClick')\n}\n\n// 内部触发的事件 on\nconst onClick = () => {\n if (!props.disabled) {\n if (props.isShowLoad) {\n _runLoading()\n }\n _emitClick()\n }\n}\n\n// 外部调用\nconst loadStart = () => {\n _runLoading()\n}\n\nconst loadStop = () => {\n _runLoadEnd()\n}\n\n// 暴露给外部的方法\nexport interface ClButtonExpose {\n loadStart: () => void\n loadStop: () => void\n}\n\ndefineExpose({\n loadStart,\n loadStop\n})\n</script>\n\n<style scoped>\n.panel-btn-parent {\n display: inline-block;\n}\n</style>\n"],"names":["props","__props","CommonBase","emit","__emit","refElTopParent","ref","optIsRunLoading","optIsShowBackDrop","optIsBackDropRunLoading","optIsShowLabel","computed","optIsShowIcon","optIsDisabled","optIsShowBackDropLoad","optWavesColor","color","optLoadPos","pos","optLoadSize","size","clsParent","cls","c","clsIcon","clsBodyBackdropMain","isRun","styBtnChild","sty","_runLoading","_runLoadEnd","nextTick","watch","newValue","_emitClick","onClick","__expose","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_3","_toDisplayString","_hoisted_4","_createVNode","ClLoad","_Fragment","_hoisted_5","_hoisted_6"],"mappings":"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"}
@@ -0,0 +1 @@
1
+ .btn{border:1px solid transparent;font-size:.875rem}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn:focus{box-shadow:none}.btn[disabled]{cursor:no-drop!important}.btn-small{padding:3px 10px}.btn-large{padding:8px 24px;font-size:14px}.btn-xl{padding:10px 30px;font-size:20px}.btn-default{background-color:#1088f0;border-color:#1088f0;color:#fff!important}.btn-default:hover,.btn-default:focus{background-color:#0f71f5!important;border:1px solid #0f71f5!important;box-shadow:none}.btn-green{background-color:#4bb748;border-color:#4bb748;color:#fff!important}.btn-green:hover,.btn-green:focus{background-color:#1a8b44!important;border:1px solid #1a8b44!important}.btn-red{background-color:#ee3c24;border-color:#ee3c24;color:#fff!important}.btn-red:hover,.btn-red:focus{background-color:#ce2928!important;border:1px solid #ce2928!important}.btn-yellow{background-color:#fbe300;border-color:#fbe300;color:#fff!important}.btn-yellow:hover,.btn-yellow:focus{background-color:#cdb72e!important;border:1px solid #cdb72e!important}.btn-white{border:1px solid #D2D9E2!important;background-color:#fff;color:#4c5667}.btn-white:hover,.btn-white:focus{background-color:#f5f5f5}.btn[disabled].btn-white,.btn[disabled].btn-white:focus{background-color:#fff}.btn-grayLight{background-color:#f5f5f5;border-color:#dcdcdc;color:inherit}.btn-grayLight:hover,.btn-grayLight:focus{background-color:#e8e8e8!important;border:1px solid #dcdcdc!important}.btn-transparent{background-color:transparent;border:1px solid #1088F0!important;color:#1088f0}.btn-transparent:hover,.btn-transparent:focus{border:1px solid #004CA3!important;color:#004ca3}.btn[disabled].btn-transparent,.btn[disabled].btn-transparent:focus{border-color:#1088f0!important;color:#1088f0}.btn-link{cursor:pointer;color:#909090;text-decoration:none;border-bottom:1px dashed transparent}.btn-link:hover,.btn-link:focus{border-bottom-color:#1088f0;color:#1088f0;text-decoration:none}.btn-link.always-light{color:#1088f0}.btn-link.always-light:hover,.btn-link.always-light:focus{color:#035da5;border-bottom-color:#035da5}.btn-link.underline-none:hover,.btn-link.underline-none:focus{border-bottom-color:transparent}.btn.btn-link:hover,.btn.btn-link:focus{color:#909090}.btn-link-red.always-light{color:#ee3c24}.btn-link-red:hover,.btn-link-red:focus,.btn-link-red.always-light:hover,.btn-link-red.always-light:focus{border-bottom-color:#ee3c24;color:#ee3c24!important}.btn-link-yellow.always-light{color:#fbe300}.btn-link-yellow:hover,.btn-link-yellow:focus{color:#fbe300;border-bottom-color:#fbe300}.btn-link.btn-link-disabled{cursor:no-drop!important;opacity:.5}.btn-link.btn-link-disabled:hover,.btn-link.btn-link-disabled:focus{border-bottom-color:transparent}button.btn-link.btn-default{color:#007bff!important;background-color:transparent;border-color:transparent}button.btn-link.btn-default:hover{color:#0056b3!important;background-color:transparent!important;border-color:transparent!important}.panel-group-link{display:flex;flex-direction:row;align-items:center}.panel-group-link>.btn-link{margin-right:5px}.panel-group-link>.btn-link:last-child{margin-right:0}.panel-group-link>.panel-fileUpload{display:inline-block;height:21px;margin-right:5px;margin-top:-3px}.panel-group-link>.panel-fileUpload button.btn-link.btn-default{padding:0;border-width:0!important;color:#1088f0!important}.panel-group-link>.panel-fileUpload button.btn-link.btn-default:hover{color:#035da5!important}.btn-circle{border-radius:50%;width:35px;height:35px;padding:0}.btn-ellipse{border-radius:20px}.btn-parent{position:relative}.btn-parent>span:first-child{display:flex;flex-direction:row;align-items:center;justify-content:center}.btn-parent .btn-label{position:relative;z-index:3}.btn-parent .btn-icon+.btn-label{margin-left:5px}.btn-parent>.btn-loading{position:absolute;z-index:2;display:inline-block;top:50%;left:auto;opacity:1;pointer-events:none}.btn-parent,.btn-parent>.btn-loading{transition:.3s cubic-bezier(.175,.885,.32,1.275) all!important}.btn-load-rotaryLine .btn-loading{width:30px;height:30px}.btn-load-rotaryLine.btn-load-right.btn-load-ing{padding-right:45px}.btn-load-rotaryLine.btn-load-right.btn-load-ing.btn-load-nodrift{padding-right:12px}.btn-load-rotaryLine.btn-load-right>.btn-loading{right:5px;margin-top:-15px}.btn-load-circleNotch .btn-loading{width:24px;height:24px}.btn-load-circleNotch.btn-load-right.btn-load-ing{padding-right:35px}.btn-load-circleNotch.btn-load-right.btn-load-ing.btn-load-nodrift{padding-right:12px}.btn-load-circleNotch.btn-load-right>.btn-loading{right:5px;margin-top:-12px}.btn-load-circleBubble .btn-loading{width:30px;height:30px}.btn-load-circleBubble .circleBubble-item{background-color:#fff}.btn-load-circleBubble.btn-load-right.btn-load-ing{padding-right:40px}.btn-load-circleBubble.btn-load-right.btn-load-ing.btn-load-nodrift{padding-right:12px}.btn-load-circleBubble.btn-load-right>.btn-loading{right:5px;margin-top:-15px}.btn-load-zoom-out,.btn-load-zoom-out>.btn-label{transition:.4s ease all!important}.btn-load-zoom-out{overflow:hidden}.btn-load-zoom-out>.btn-label{position:relative;display:inline-block}.btn-load-zoom-out.btn-load-ing>.btn-icon,.btn-load-zoom-out.btn-load-ing>.btn-label{opacity:0;transform:scale(.5)}.btn-load-zoom-out>.btn-loading{opacity:0;transform:scale(.25);left:50%}.btn-load-zoom-out.btn-load-ing>.btn-loading{opacity:1;transform:scale(1)}.btn-load-zoom-out.btn-load-rotaryLine>.btn-loading{margin-left:-15px;margin-top:-15px}.btn-load-zoom-out.btn-load-circleNotch>.btn-loading{margin-left:-12px;margin-top:-12px}.btn-load-zoom-out.btn-load-circleBubble>.btn-loading{margin-left:-15px;margin-top:-15px}.btn-small.btn-load-rotaryLine.btn-load-right.btn-load-ing{padding-right:35px}.btn-small.btn-load-rotaryLine>.btn-loading{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.btn-circle.btn-load-zoom-out.btn-load-rotaryLine>.btn-loading{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.btn-body-backdrop{position:fixed;inset:0;z-index:999999;background-color:#000;opacity:.02;cursor:default}.btn-body-backdrop-main{position:fixed;top:50%;left:50%;z-index:999999;width:100px;height:100px;margin-left:-50px;margin-top:-50px;background-color:#9e9e9e;border-radius:5px;animation-duration:.4s}.btn-body-backdrop-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:inherit}.btn-body-backdrop-container .btn-body-backdrop-text{color:#fff;font-size:12px;margin-top:5px;cursor:default}.btn-body-backdrop-container .load-rotaryLine .rotary-line>div{background:#fff}.panel-btn-parent[data-v-3215c07e]{display:inline-block}
@@ -0,0 +1,3 @@
1
+ import type { DefineComponent } from 'vue'
2
+ declare const _default: DefineComponent<object, object, any>
3
+ export default _default
@@ -0,0 +1,226 @@
1
+ import { defineComponent as W, ref as f, computed as l, watch as O, resolveDirective as q, openBlock as n, createElementBlock as r, withDirectives as F, normalizeClass as h, createElementVNode as m, normalizeStyle as J, createCommentVNode as u, toDisplayString as B, createVNode as w, Fragment as K, nextTick as M } from "vue";
2
+ import { C as a } from "../Shared/base-PQGakkrl.js";
3
+ import { _ } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js";
4
+ import { wavesBind as j } from "../Web/__directive__/Waves.js";
5
+ import { _ as A } from "../Shared/_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const G = { class: "panel-btn-parent" }, H = ["disabled"], Q = {
7
+ key: 1,
8
+ class: "btn-label"
9
+ }, U = {
10
+ key: 0,
11
+ class: "btn-loading"
12
+ }, X = { class: "btn-body-backdrop-container" }, Y = { class: "btn-body-backdrop-text" }, Z = /* @__PURE__ */ W({
13
+ name: "ClButton",
14
+ directives: {
15
+ clwaves: j
16
+ },
17
+ __name: "Index",
18
+ props: {
19
+ className: {
20
+ type: String,
21
+ default: ""
22
+ // desc: 自定义CSS类名
23
+ },
24
+ label: {
25
+ type: String,
26
+ default: ""
27
+ // desc: 按钮文本标签
28
+ },
29
+ icon: {
30
+ type: String,
31
+ default: ""
32
+ // desc: 按钮图标类名
33
+ },
34
+ color: {
35
+ type: String,
36
+ default: "default"
37
+ // desc: 按钮颜色主题 | enum: default, green, red, yellow, white, grayLight, transparent
38
+ },
39
+ size: {
40
+ type: String,
41
+ default: ""
42
+ // desc: 按钮尺寸 | enum: large, small, xl
43
+ },
44
+ disabled: {
45
+ type: Boolean,
46
+ default: !1
47
+ // desc: 是否禁用按钮
48
+ },
49
+ isShowLoad: {
50
+ type: Boolean,
51
+ default: !1
52
+ // desc: 是否显示加载动画
53
+ },
54
+ loadPos: {
55
+ type: String,
56
+ default: "right",
57
+ // desc: 加载动画位置 | enum: right, zoom-out, fixedCenter
58
+ validator: (i) => ["right", "zoom-out", "fixedCenter"].indexOf(i) !== -1
59
+ },
60
+ loadTheme: {
61
+ type: String,
62
+ default: "rotaryLine"
63
+ // desc: 加载动画主题 | enum: rotaryLine, circleNotch, circleBubble
64
+ },
65
+ loadDrift: {
66
+ type: Boolean,
67
+ default: !0
68
+ // desc: 加载时是否漂移
69
+ },
70
+ loadText: {
71
+ type: String,
72
+ default: ""
73
+ // desc: 加载提示文本
74
+ },
75
+ isShowBackDrop: {
76
+ type: Boolean,
77
+ default: !1
78
+ // desc: 是否显示遮罩层
79
+ },
80
+ isShowWaves: {
81
+ type: Boolean,
82
+ default: !0
83
+ // desc: 是否显示点击波纹效果
84
+ },
85
+ wavesColor: {
86
+ type: String,
87
+ default: "white"
88
+ // desc: 波纹颜色 | enum: white, black
89
+ },
90
+ loadStatusIsIng: {
91
+ type: [Boolean, null],
92
+ default: null
93
+ // desc: 加载状态控制(true开始,false结束,null忽略)
94
+ }
95
+ },
96
+ emits: ["onClick"],
97
+ setup(i, { expose: x, emit: C }) {
98
+ const t = i;
99
+ a.isEmpty(t.label) && a.isEmpty(t.icon) && console.warn('[ClButton] Warning: Either "label" or "icon" prop is required.');
100
+ const z = C, d = f(null), s = f(!1), p = f(!1), v = f(!1), g = l(() => !a.isEmpty(t.label)), b = l(() => !a.isEmpty(t.icon)), I = l(() => t.disabled ? !0 : s.value), c = l(() => t.loadPos === "fixedCenter"), L = l(() => {
101
+ let e = t.wavesColor || "white";
102
+ return (a.isExistValue(t.color, "white") || a.isExistValue(t.color, "grayLight")) && (e = "black"), e;
103
+ }), k = l(() => {
104
+ let e = t.loadPos || "right";
105
+ return a.isExistValue(t.className, "btn-circle") && a.isExistValue(e, "right") && (e = "zoom-out"), e;
106
+ }), S = l(() => {
107
+ let e = "large";
108
+ switch (t.loadTheme) {
109
+ case "rotaryLine":
110
+ e = t.size === "small" ? "small" : "large", a.isExistValue(t.className, "btn-circle") && (e = "small");
111
+ break;
112
+ case "circleNotch":
113
+ e = "large";
114
+ break;
115
+ case "circleBubble":
116
+ e = "small";
117
+ break;
118
+ }
119
+ return e;
120
+ }), D = l(() => {
121
+ const e = {
122
+ "btn-parent": !0,
123
+ btn: !0
124
+ };
125
+ return a.isEmpty(t.color) || (e[`btn-${t.color}`] = !0), a.isEmpty(t.className) || t.className?.split(" ").forEach((o) => {
126
+ a.isEmpty(o) || (e[o] = !0);
127
+ }), a.isEmpty(t.size) || (e[`btn-${t.size}`] = !0), e["btn-load-ing"] = s.value, s.value && (e[`btn-load-${k.value}`] = !0, e[`btn-load-${t.loadTheme}`] = !0, e["btn-load-nodrift"] = !t.loadDrift), d.value && d.value.className && d.value.className.split(" ").forEach((o) => {
128
+ a.isEmpty(o) || a.isExistJsonKey(e, o) || (e[o] = !0);
129
+ }), e;
130
+ }), N = l(() => {
131
+ const e = {
132
+ "btn-icon": !0
133
+ };
134
+ return b.value && t.icon?.split(" ").forEach((o) => {
135
+ a.isEmpty(o) || (e[o] = !0);
136
+ }), e;
137
+ }), T = l(() => {
138
+ const e = s.value && c.value;
139
+ return {
140
+ "btn-body-backdrop-main": !0,
141
+ animated: !0,
142
+ zoomIn: e,
143
+ zoomOut: !e
144
+ };
145
+ }), P = l(() => {
146
+ const e = {};
147
+ return (g.value || b.value) && k.value === "zoom-out" && s.value && !c.value && (e.opacity = 0), e;
148
+ }), y = () => {
149
+ s.value || (t.isShowBackDrop && (p.value = !0, v.value = !0), s.value = !0);
150
+ }, E = () => {
151
+ t.isShowBackDrop && (c.value ? M(() => {
152
+ setTimeout(() => {
153
+ p.value = !1, v.value = !1;
154
+ }, 200);
155
+ }) : p.value = !1), s.value = !1;
156
+ };
157
+ O(
158
+ () => t.loadStatusIsIng,
159
+ (e) => {
160
+ a.isBoolean(e) && (e ? y() : E());
161
+ }
162
+ );
163
+ const V = () => {
164
+ z("onClick");
165
+ }, $ = () => {
166
+ t.disabled || (t.isShowLoad && y(), V());
167
+ };
168
+ return x({
169
+ loadStart: () => {
170
+ y();
171
+ },
172
+ loadStop: () => {
173
+ E();
174
+ }
175
+ }), (e, o) => {
176
+ const R = q("clwaves");
177
+ return n(), r("span", G, [
178
+ F((n(), r("button", {
179
+ ref_key: "refElTopParent",
180
+ ref: d,
181
+ type: "button",
182
+ class: h(D.value),
183
+ disabled: I.value,
184
+ onClick: $
185
+ }, [
186
+ m("span", {
187
+ style: J(P.value)
188
+ }, [
189
+ b.value ? (n(), r("i", {
190
+ key: 0,
191
+ class: h(N.value)
192
+ }, null, 2)) : u("", !0),
193
+ g.value ? (n(), r("span", Q, B(i.label), 1)) : u("", !0)
194
+ ], 4),
195
+ s.value && !c.value ? (n(), r("span", U, [
196
+ w(_, {
197
+ theme: i.loadTheme,
198
+ size: S.value
199
+ }, null, 8, ["theme", "size"])
200
+ ])) : u("", !0)
201
+ ], 10, H)), [
202
+ [R, { color: L.value }]
203
+ ]),
204
+ p.value ? (n(), r(K, { key: 0 }, [
205
+ o[0] || (o[0] = m("div", { class: "btn-body-backdrop" }, null, -1)),
206
+ c.value && v.value ? (n(), r("div", {
207
+ key: 0,
208
+ class: h(T.value)
209
+ }, [
210
+ m("div", X, [
211
+ w(_, {
212
+ theme: i.loadTheme,
213
+ size: S.value
214
+ }, null, 8, ["theme", "size"]),
215
+ m("div", Y, B(i.loadText || "加载中"), 1)
216
+ ])
217
+ ], 2)) : u("", !0)
218
+ ], 64)) : u("", !0)
219
+ ]);
220
+ };
221
+ }
222
+ }), ne = /* @__PURE__ */ A(Z, [["__scopeId", "data-v-3215c07e"]]);
223
+ export {
224
+ ne as default
225
+ };
226
+ //# sourceMappingURL=ClButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClButton.js","sources":["../../../src/libs/Element/Button/Index.vue"],"sourcesContent":["<template>\n <span class=\"panel-btn-parent\">\n <button\n ref=\"refElTopParent\"\n type=\"button\"\n :class=\"clsParent\"\n :disabled=\"optIsDisabled\"\n @click=\"onClick\"\n v-clwaves=\"{ color: optWavesColor }\"\n >\n <span :style=\"styBtnChild\">\n <i\n :class=\"clsIcon\"\n v-if=\"optIsShowIcon\"\n ></i>\n <span\n class=\"btn-label\"\n v-if=\"optIsShowLabel\"\n >{{ label }}</span>\n </span>\n <span\n class=\"btn-loading\"\n v-if=\"optIsRunLoading && !optIsShowBackDropLoad\"\n >\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n </span>\n </button>\n <template v-if=\"optIsShowBackDrop\">\n <div class=\"btn-body-backdrop\"></div>\n <div\n :class=\"clsBodyBackdropMain\"\n v-if=\"optIsShowBackDropLoad && optIsBackDropRunLoading\"\n >\n <div class=\"btn-body-backdrop-container\">\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n <div class=\"btn-body-backdrop-text\">{{ loadText || '加载中' }}</div>\n </div>\n </div>\n </template>\n </span>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport { ref, computed, watch, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport ClLoad from '../Load/Index.vue'\nimport { wavesBind } from '../../Web/Waves'\n\n// defineOptions\ndefineOptions({\n name: 'ClButton',\n directives: {\n clwaves: wavesBind\n }\n})\n\n// props\nconst props = defineProps({\n className: {\n type: String,\n default: '' // desc: 自定义CSS类名\n },\n label: {\n type: String,\n default: '' // desc: 按钮文本标签\n },\n icon: {\n type: String,\n default: '' // desc: 按钮图标类名\n },\n color: {\n type: String,\n default: 'default' // desc: 按钮颜色主题 | enum: default, green, red, yellow, white, grayLight, transparent\n },\n size: {\n type: String,\n default: '' // desc: 按钮尺寸 | enum: large, small, xl\n },\n disabled: {\n type: Boolean,\n default: false // desc: 是否禁用按钮\n },\n isShowLoad: {\n type: Boolean,\n default: false // desc: 是否显示加载动画\n },\n loadPos: {\n type: String,\n default: 'right', // desc: 加载动画位置 | enum: right, zoom-out, fixedCenter\n validator: (value: string) => {\n return ['right', 'zoom-out', 'fixedCenter'].indexOf(value) !== -1\n }\n },\n loadTheme: {\n type: String,\n default: 'rotaryLine' // desc: 加载动画主题 | enum: rotaryLine, circleNotch, circleBubble\n },\n loadDrift: {\n type: Boolean,\n default: true // desc: 加载时是否漂移\n },\n loadText: {\n type: String,\n default: '' // desc: 加载提示文本\n },\n isShowBackDrop: {\n type: Boolean,\n default: false // desc: 是否显示遮罩层\n },\n isShowWaves: {\n type: Boolean,\n default: true // desc: 是否显示点击波纹效果\n },\n wavesColor: {\n type: String,\n default: 'white' // desc: 波纹颜色 | enum: white, black\n },\n loadStatusIsIng: {\n type: [Boolean, null],\n default: null // desc: 加载状态控制(true开始,false结束,null忽略)\n }\n})\n\nif (CommonBase.isEmpty(props.label) && CommonBase.isEmpty(props.icon)) {\n console.warn('[ClButton] Warning: Either \"label\" or \"icon\" prop is required.')\n}\n\n// emit\nconst emit = defineEmits<{\n (e: 'onClick'): void\n}>()\n\n// refs\nconst refElTopParent = ref<HTMLElement | null>(null)\n\n// reactive\nconst optIsRunLoading = ref(false)\nconst optIsShowBackDrop = ref(false)\nconst optIsBackDropRunLoading = ref(false)\n\n// computed\nconst optIsShowLabel = computed(() => {\n return !CommonBase.isEmpty(props.label)\n})\n\nconst optIsShowIcon = computed(() => {\n return !CommonBase.isEmpty(props.icon)\n})\n\nconst optIsDisabled = computed(() => {\n return props.disabled ? true : optIsRunLoading.value\n})\n\nconst optIsShowBackDropLoad = computed(() => {\n return props.loadPos === 'fixedCenter'\n})\n\nconst optWavesColor = computed(() => {\n let color = props.wavesColor || 'white'\n if (CommonBase.isExistValue(props.color, 'white') || CommonBase.isExistValue(props.color, 'grayLight')) {\n color = 'black'\n }\n return color\n})\n\nconst optLoadPos = computed(() => {\n let pos = props.loadPos || 'right'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n if (CommonBase.isExistValue(pos, 'right')) {\n pos = 'zoom-out'\n }\n }\n return pos\n})\n\nconst optLoadSize = computed(() => {\n let size = 'large'\n switch (props.loadTheme) {\n case 'rotaryLine':\n size = props.size === 'small' ? 'small' : 'large'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n size = 'small'\n }\n break\n case 'circleNotch':\n size = 'large'\n break\n case 'circleBubble':\n size = 'small'\n break\n }\n return size\n})\n\nconst clsParent = computed(() => {\n const cls: any = {\n 'btn-parent': true,\n btn: true,\n }\n if (!CommonBase.isEmpty(props.color)) {\n cls[`btn-${props.color}`] = true\n }\n if (!CommonBase.isEmpty(props.className)) {\n props.className?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n if (!CommonBase.isEmpty(props.size)) {\n cls[`btn-${props.size}`] = true\n }\n\n cls['btn-load-ing'] = optIsRunLoading.value\n if (optIsRunLoading.value) {\n cls[`btn-load-${optLoadPos.value}`] = true\n cls[`btn-load-${props.loadTheme}`] = true\n cls['btn-load-nodrift'] = !props.loadDrift\n }\n\n if (refElTopParent.value && refElTopParent.value.className) {\n refElTopParent.value.className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n if (!CommonBase.isExistJsonKey(cls, c)) {\n cls[c] = true\n }\n }\n })\n }\n return cls\n})\n\nconst clsIcon = computed(() => {\n const cls: any = {\n 'btn-icon': true,\n }\n if (optIsShowIcon.value) {\n props.icon?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsBodyBackdropMain = computed(() => {\n const isRun = optIsRunLoading.value && optIsShowBackDropLoad.value\n const cls = {\n 'btn-body-backdrop-main': true,\n animated: true,\n zoomIn: isRun,\n zoomOut: !isRun,\n }\n return cls\n})\n\nconst styBtnChild = computed(() => {\n const sty: any = {}\n if (optIsShowLabel.value || optIsShowIcon.value) {\n if (optLoadPos.value === 'zoom-out' && optIsRunLoading.value && !optIsShowBackDropLoad.value) {\n sty.opacity = 0\n }\n }\n return sty\n})\n\n// 内部方法\nconst _runLoading = () => {\n if (!optIsRunLoading.value) {\n if (props.isShowBackDrop) {\n optIsShowBackDrop.value = true\n optIsBackDropRunLoading.value = true\n }\n optIsRunLoading.value = true\n }\n}\n\nconst _runLoadEnd = () => {\n if (props.isShowBackDrop) {\n if (optIsShowBackDropLoad.value) {\n nextTick(() => {\n setTimeout(() => {\n optIsShowBackDrop.value = false\n optIsBackDropRunLoading.value = false\n }, 200)\n })\n } else {\n optIsShowBackDrop.value = false\n }\n }\n optIsRunLoading.value = false\n}\n\n// watch\nwatch(\n () => props.loadStatusIsIng,\n (newValue) => {\n if (CommonBase.isBoolean(newValue)) {\n newValue ? _runLoading() : _runLoadEnd()\n }\n }\n)\n\n// emit 外部使用的事件\nconst _emitClick = () => {\n emit('onClick')\n}\n\n// 内部触发的事件 on\nconst onClick = () => {\n if (!props.disabled) {\n if (props.isShowLoad) {\n _runLoading()\n }\n _emitClick()\n }\n}\n\n// 外部调用\nconst loadStart = () => {\n _runLoading()\n}\n\nconst loadStop = () => {\n _runLoadEnd()\n}\n\n// 暴露给外部的方法\nexport interface ClButtonExpose {\n loadStart: () => void\n loadStop: () => void\n}\n\ndefineExpose({\n loadStart,\n loadStop\n})\n</script>\n\n<style scoped>\n.panel-btn-parent {\n display: inline-block;\n}\n</style>\n"],"names":["props","__props","CommonBase","emit","__emit","refElTopParent","ref","optIsRunLoading","optIsShowBackDrop","optIsBackDropRunLoading","optIsShowLabel","computed","optIsShowIcon","optIsDisabled","optIsShowBackDropLoad","optWavesColor","color","optLoadPos","pos","optLoadSize","size","clsParent","cls","c","clsIcon","clsBodyBackdropMain","isRun","styBtnChild","sty","_runLoading","_runLoadEnd","nextTick","watch","newValue","_emitClick","onClick","__expose","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_3","_toDisplayString","_hoisted_4","_createVNode","ClLoad","_Fragment","_hoisted_5","_hoisted_6"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ "use strict";const t=require("vue");;/* empty css */const n=require("../Shared/base-iCmnU-fv.js"),N=require("../Web/__directive__/Tooltip.cjs"),S=["id","name","value","disabled","checked","onClick"],$=["for"],T=t.defineComponent({name:"ClCheckbox",directives:{cltooltip:N.tooltipDirectives},__name:"Index",props:{value:{type:String,required:!0},className:{type:String,default:""},name:{type:String,required:!0},list:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},width:{type:String,default:""},isInline:{type:Boolean,default:!0},checkChangeBefore:{type:Function,default:void 0}},emits:["update:value","onChange","onInit"],setup(u,{expose:f,emit:E}){const a=u,h=E,v=`cb-${n.CommonBase.getRandom(8)}`,i=t.ref(n.CommonBase.isEmpty(a.value)?[]:a.value.split(",")),c=t.ref(!1);let m={};const C={lastValue:[]},V=t.computed(()=>{const e=a.className,l={"panel-checkbox":!0};return e&&!n.CommonBase.isEmpty(e)&&e.split(" ").forEach(o=>{n.CommonBase.isEmpty(o)||(l[o]=!0)}),l}),x=t.computed(()=>{const e={checkbox:!0,"checkbox-default":!0};return e["checkbox-inline"]=a.isInline??!0,e}),_=e=>{const l={"checkbox-icon-tip":!0};return n.CommonBase.isEmpty(e.tipIcon)?l["clIconFont clIcon-question-circle"]=!0:l[e.tipIcon]=!0,l},b=e=>{const l={},{width:o}=a;return e&&!n.CommonBase.isEmpty(e.width)?l.width=e.width:n.CommonBase.isEmpty(o)||(l.width=a.width),l},k=e=>{h("update:value",e)},I=e=>{const l=[];n.CommonBase.isEmpty(e)||e.split(",").forEach(s=>{n.CommonBase.isExistJsonKey(m,s)&&l.push(n.CommonBase.getJsonClone(m[s]))});const o=l.length>0&&l.length===a.list.length;k(e),h("onChange",e,l,o)},p=()=>{t.nextTick(()=>{h("onInit")})},y=()=>{const e=[];return i.value.forEach(l=>{n.CommonBase.isExistJsonKey(m,l)&&e.push(l)}),e},B=e=>{m=n.CommonBase.isEmpty(e)?{}:n.CommonBase.getJsonByList(e)},d=()=>{if(c.value&&!n.CommonBase.isEmpty(i.value)){const e=y();n.CommonBase.isEqualArr(i.value,e)||(i.value=e,k(e.join(",")))}},g=e=>{const l=e.split(",");let o=n.CommonBase.isEqualArr(i.value,l);o&&(o=e===i.value.join(",")),o||(i.value=l)},w=()=>{c.value=a.list.length!==0,B(a.list),d(),C.lastValue=n.CommonBase.getArrClone(i.value)};t.watch(c,e=>{e&&p()}),t.watch(()=>a.list,e=>{c.value||(c.value=!0,e.length===0&&d(),p())}),t.watch([()=>a.value,()=>a.list],([e,l])=>{const o=l;!c.value&&o.length>0&&(c.value=!0,p()),B(o),e!==a.value&&g(e),d()}),t.onMounted(()=>{t.nextTick(()=>{w()})});const D=async e=>{if(!e.isDisabled&&!a.disabled){const l=e.id.toString();let o=n.CommonBase.getArrClone(i.value);n.CommonBase.isExistValue(i.value,l)?o=n.CommonBase.getArrRemoveById(o,l):o.push(l);const s=o.join(",");let r=!0;a.checkChangeBefore&&(r=await a.checkChangeBefore(s),r=n.CommonBase.isBoolean(r)?r:!0),r?(i.value=o,C.lastValue=o,I(s)):t.nextTick(()=>{i.value=o,t.nextTick(()=>{i.value=C.lastValue})})}};return f({getValue:()=>y().join(","),getValueData:()=>{const e=[];return i.value.forEach(l=>{n.CommonBase.isExistJsonKey(m,l)&&e.push(n.CommonBase.getJsonClone(m[l]))}),e},setValue:e=>{g(e),d()},runInitComplete:()=>{c.value||(c.value=!0,B(a.list),g(a.value),d(),p())}}),(e,l)=>{const o=t.resolveDirective("cltooltip");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(V.value)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.list,(s,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${v}-${r}`},[s.isShow||s.isShow===void 0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(x.value),style:t.normalizeStyle(b(s))},[t.createElementVNode("span",null,[t.createElementVNode("span",null,[t.createElementVNode("input",{type:"checkbox",id:`${v}_${u.name}_${s.id}`,name:u.name,value:s.id,disabled:s.isDisabled||u.disabled,checked:i.value.includes(s.id.toString()),onClick:M=>D(s)},null,8,S),t.createElementVNode("label",{for:`${v}_${u.name}_${s.id}`},[t.renderSlot(e.$slots,"default",{data:s},()=>[s.icon&&s.icon.length>0?t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(s.icon)},null,2)),[[o,{html:s.name,className:"tooltip-modal"}]]):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(s.name),1)],64))])],8,$)]),s.tipMsg&&s.tipMsg.length>0?t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(_(s))},null,2)),[[o,{html:s.tipMsg,className:"tooltip-modal"}]]):t.createCommentVNode("",!0)])],6)):t.createCommentVNode("",!0)],64))),128))],2)}}});module.exports=T;
2
+ //# sourceMappingURL=ClCheckbox.cjs.map