@cldemo/ui-kit 1.0.10 → 1.0.11

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 (201) hide show
  1. package/buildLibs/utils/Element/ClCheckboxOne.cjs +2 -0
  2. package/buildLibs/utils/Element/ClCheckboxOne.cjs.map +1 -0
  3. package/buildLibs/utils/Element/ClCheckboxOne.js +5 -0
  4. package/buildLibs/utils/Element/ClCheckboxOne.js.map +1 -0
  5. package/buildLibs/utils/Element/ClFormValidate.cjs +2 -0
  6. package/buildLibs/utils/Element/ClFormValidate.cjs.map +1 -0
  7. package/buildLibs/utils/Element/ClFormValidate.js +5 -0
  8. package/buildLibs/utils/Element/ClFormValidate.js.map +1 -0
  9. package/buildLibs/utils/Element/ClImage.cjs +1 -1
  10. package/buildLibs/utils/Element/ClImage.js +1 -1
  11. package/buildLibs/utils/Element/ClLoadFullCenter.cjs +2 -0
  12. package/buildLibs/utils/Element/ClLoadFullCenter.cjs.map +1 -0
  13. package/buildLibs/utils/Element/ClLoadFullCenter.css +1 -0
  14. package/buildLibs/utils/Element/ClLoadFullCenter.js +45 -0
  15. package/buildLibs/utils/Element/ClLoadFullCenter.js.map +1 -0
  16. package/buildLibs/utils/Element/ClLoadIng.cjs +2 -0
  17. package/buildLibs/utils/Element/ClLoadIng.cjs.map +1 -0
  18. package/buildLibs/utils/Element/ClLoadIng.js +5 -0
  19. package/buildLibs/utils/Element/ClLoadIng.js.map +1 -0
  20. package/buildLibs/utils/Element/ClLoadWarp.cjs +2 -0
  21. package/buildLibs/utils/Element/ClLoadWarp.cjs.map +1 -0
  22. package/buildLibs/utils/Element/ClLoadWarp.css +1 -0
  23. package/buildLibs/utils/Element/ClLoadWarp.js +53 -0
  24. package/buildLibs/utils/Element/ClLoadWarp.js.map +1 -0
  25. package/buildLibs/utils/Element/ClRadioOne.cjs +2 -0
  26. package/buildLibs/utils/Element/ClRadioOne.cjs.map +1 -0
  27. package/buildLibs/utils/Element/ClRadioOne.js +5 -0
  28. package/buildLibs/utils/Element/ClRadioOne.js.map +1 -0
  29. package/buildLibs/utils/Element/ClTransitionSlideupdown.cjs +2 -0
  30. package/buildLibs/utils/Element/ClTransitionSlideupdown.cjs.map +1 -0
  31. package/buildLibs/utils/Element/ClTransitionSlideupdown.js +5 -0
  32. package/buildLibs/utils/Element/ClTransitionSlideupdown.js.map +1 -0
  33. package/buildLibs/utils/Element/ClWaterfallImage.cjs +2 -0
  34. package/buildLibs/utils/Element/ClWaterfallImage.cjs.map +1 -0
  35. package/buildLibs/utils/Element/ClWaterfallImage.css +1 -0
  36. package/buildLibs/utils/Element/ClWaterfallImage.js +48 -0
  37. package/buildLibs/utils/Element/ClWaterfallImage.js.map +1 -0
  38. package/buildLibs/utils/Mobile/ClBanner.cjs +1 -1
  39. package/buildLibs/utils/Mobile/ClBanner.js +1 -1
  40. package/buildLibs/utils/Mobile/ClDropdownMenuM.cjs +1 -1
  41. package/buildLibs/utils/Mobile/ClDropdownMenuM.cjs.map +1 -1
  42. package/buildLibs/utils/Mobile/ClDropdownMenuM.js +13 -12
  43. package/buildLibs/utils/Mobile/ClDropdownMenuM.js.map +1 -1
  44. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs +2 -0
  45. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs.map +1 -0
  46. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js +160 -0
  47. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js.map +1 -0
  48. package/buildLibs/utils/Mobile/ClPicker.cjs +1 -1
  49. package/buildLibs/utils/Mobile/ClPicker.js +1 -1
  50. package/buildLibs/utils/Mobile/ClPickerDate.cjs +1 -1
  51. package/buildLibs/utils/Mobile/ClPickerDate.js +1 -1
  52. package/buildLibs/utils/Mobile/ClPickerTime.cjs +1 -1
  53. package/buildLibs/utils/Mobile/ClPickerTime.js +1 -1
  54. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +1 -1
  55. package/buildLibs/utils/Mobile/ClPullToRefresh.js +1 -1
  56. package/buildLibs/utils/Mobile/ClScrollCard.cjs +1 -1
  57. package/buildLibs/utils/Mobile/ClScrollCard.js +1 -1
  58. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BPgunUb2.js → Index.vue_vue_type_script_setup_true_lang-6KT1IHDu.js} +1 -1
  59. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BPgunUb2.js.map → Index.vue_vue_type_script_setup_true_lang-6KT1IHDu.js.map} +1 -1
  60. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yZtW91.js +71 -0
  61. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yZtW91.js.map +1 -0
  62. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-gtDsWrhd.js → Index.vue_vue_type_script_setup_true_lang-BDPkmgGP.js} +1 -1
  63. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-gtDsWrhd.js.map → Index.vue_vue_type_script_setup_true_lang-BDPkmgGP.js.map} +1 -1
  64. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D_IwyxiV.js → Index.vue_vue_type_script_setup_true_lang-Bnjm8vi-.js} +1 -1
  65. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D_IwyxiV.js.map → Index.vue_vue_type_script_setup_true_lang-Bnjm8vi-.js.map} +1 -1
  66. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cpb9rd-y.js → Index.vue_vue_type_script_setup_true_lang-Bs8FGIQa.js} +1 -1
  67. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cpb9rd-y.js.map → Index.vue_vue_type_script_setup_true_lang-Bs8FGIQa.js.map} +1 -1
  68. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-hm75HKxP.js → Index.vue_vue_type_script_setup_true_lang-C7FRB7fV.js} +1 -1
  69. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-hm75HKxP.js.map → Index.vue_vue_type_script_setup_true_lang-C7FRB7fV.js.map} +1 -1
  70. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Xe4BacqD.js → Index.vue_vue_type_script_setup_true_lang-CFzimlB_.js} +1 -1
  71. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Xe4BacqD.js.map → Index.vue_vue_type_script_setup_true_lang-CFzimlB_.js.map} +1 -1
  72. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bp39ENoP.js → Index.vue_vue_type_script_setup_true_lang-CGeXNRtY.js} +1 -1
  73. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bp39ENoP.js.map → Index.vue_vue_type_script_setup_true_lang-CGeXNRtY.js.map} +1 -1
  74. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-4NloX3Qk.js → Index.vue_vue_type_script_setup_true_lang-CSV9UWJx.js} +1 -1
  75. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-4NloX3Qk.js.map → Index.vue_vue_type_script_setup_true_lang-CSV9UWJx.js.map} +1 -1
  76. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CRJ3-pTH.js → Index.vue_vue_type_script_setup_true_lang-ChE1tZwr.js} +1 -1
  77. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CRJ3-pTH.js.map → Index.vue_vue_type_script_setup_true_lang-ChE1tZwr.js.map} +1 -1
  78. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CjgtxJ6a.js +2 -0
  79. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CjgtxJ6a.js.map +1 -0
  80. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-N1GhNa1r.js → Index.vue_vue_type_script_setup_true_lang-CpuYxzDD.js} +1 -1
  81. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-N1GhNa1r.js.map → Index.vue_vue_type_script_setup_true_lang-CpuYxzDD.js.map} +1 -1
  82. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CumTbPny.js +2 -0
  83. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CumTbPny.js.map +1 -0
  84. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-NdqbsOrG.js → Index.vue_vue_type_script_setup_true_lang-CvF_iIQS.js} +2 -2
  85. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-NdqbsOrG.js.map → Index.vue_vue_type_script_setup_true_lang-CvF_iIQS.js.map} +1 -1
  86. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CxVAWr6w.js +266 -0
  87. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CxVAWr6w.js.map +1 -0
  88. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DgMvq-RQ.js → Index.vue_vue_type_script_setup_true_lang-DFKjhT_C.js} +1 -1
  89. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DgMvq-RQ.js.map → Index.vue_vue_type_script_setup_true_lang-DFKjhT_C.js.map} +1 -1
  90. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D22m4oiN.js → Index.vue_vue_type_script_setup_true_lang-DdWmaT86.js} +2 -2
  91. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D22m4oiN.js.map → Index.vue_vue_type_script_setup_true_lang-DdWmaT86.js.map} +1 -1
  92. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BtoovAWs.js → Index.vue_vue_type_script_setup_true_lang-DxHfO8TH.js} +1 -1
  93. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BtoovAWs.js.map → Index.vue_vue_type_script_setup_true_lang-DxHfO8TH.js.map} +1 -1
  94. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CW63TdvW.js → Index.vue_vue_type_script_setup_true_lang-HwprdMv4.js} +2 -2
  95. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CW63TdvW.js.map → Index.vue_vue_type_script_setup_true_lang-HwprdMv4.js.map} +1 -1
  96. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLp0owhs.js → Index.vue_vue_type_script_setup_true_lang-IGgTDykL.js} +1 -1
  97. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLp0owhs.js.map → Index.vue_vue_type_script_setup_true_lang-IGgTDykL.js.map} +1 -1
  98. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BKr3_J68.js → Index.vue_vue_type_script_setup_true_lang-Lwl-M8kR.js} +1 -1
  99. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BKr3_J68.js.map → Index.vue_vue_type_script_setup_true_lang-Lwl-M8kR.js.map} +1 -1
  100. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dxb_K2w0.js → Index.vue_vue_type_script_setup_true_lang-gsnpWNek.js} +1 -1
  101. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dxb_K2w0.js.map → Index.vue_vue_type_script_setup_true_lang-gsnpWNek.js.map} +1 -1
  102. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-EGKo8cIw.js → Index.vue_vue_type_script_setup_true_lang-huUkL0wY.js} +1 -1
  103. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-EGKo8cIw.js.map → Index.vue_vue_type_script_setup_true_lang-huUkL0wY.js.map} +1 -1
  104. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BFSRH9yz.js → Index.vue_vue_type_script_setup_true_lang-in1ZSapu.js} +1 -1
  105. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BFSRH9yz.js.map → Index.vue_vue_type_script_setup_true_lang-in1ZSapu.js.map} +1 -1
  106. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C8HQVerr.js → Index.vue_vue_type_script_setup_true_lang-r6RBdV4y.js} +2 -2
  107. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C8HQVerr.js.map → Index.vue_vue_type_script_setup_true_lang-r6RBdV4y.js.map} +1 -1
  108. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DvzXfKhj.js → Index.vue_vue_type_script_setup_true_lang-tTHdssVu.js} +1 -1
  109. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DvzXfKhj.js.map → Index.vue_vue_type_script_setup_true_lang-tTHdssVu.js.map} +1 -1
  110. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BxxIDGfR.js → Index.vue_vue_type_script_setup_true_lang-tjRv0vNR.js} +1 -1
  111. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BxxIDGfR.js.map → Index.vue_vue_type_script_setup_true_lang-tjRv0vNR.js.map} +1 -1
  112. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bk2WD0GS.js → Index.vue_vue_type_script_setup_true_lang-yahz6Ej5.js} +1 -1
  113. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bk2WD0GS.js.map → Index.vue_vue_type_script_setup_true_lang-yahz6Ej5.js.map} +1 -1
  114. package/buildLibs/utils/Shared/Index24.css +1 -1
  115. package/buildLibs/utils/Shared/Index25.css +1 -1
  116. package/buildLibs/utils/Shared/Index26.css +1 -1
  117. package/buildLibs/utils/Shared/Index27.css +1 -1
  118. package/buildLibs/utils/Shared/Index28.css +1 -1
  119. package/buildLibs/utils/Shared/Index29.css +1 -1
  120. package/buildLibs/utils/Shared/Index30.css +1 -1
  121. package/buildLibs/utils/Shared/Index31.css +1 -1
  122. package/buildLibs/utils/Shared/Index32.css +1 -1
  123. package/buildLibs/utils/Shared/Index33.css +1 -1
  124. package/buildLibs/utils/Shared/Index34.css +1 -1
  125. package/buildLibs/utils/Shared/Index35.css +1 -1
  126. package/buildLibs/utils/Shared/Index36.css +1 -1
  127. package/buildLibs/utils/Shared/Index37.css +1 -0
  128. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-CR1t8XZl.js +2 -0
  129. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-CR1t8XZl.js.map +1 -0
  130. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-oBeFlRzi.js +148 -0
  131. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-oBeFlRzi.js.map +1 -0
  132. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-Bquk40ES.js +406 -0
  133. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-Bquk40ES.js.map +1 -0
  134. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-CAmKX5pn.js +2 -0
  135. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-CAmKX5pn.js.map +1 -0
  136. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C9mOHVoE.js → use-CKNkvmW4.js} +78 -141
  137. package/buildLibs/utils/Shared/use-CKNkvmW4.js.map +1 -0
  138. package/buildLibs/utils/Shared/use-D0Yu2Dbn.js +2 -0
  139. package/buildLibs/utils/Shared/use-D0Yu2Dbn.js.map +1 -0
  140. package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
  141. package/buildLibs/utils/Web/ClCropperPreview.js +2 -2
  142. package/buildLibs/utils/Web/ClDatetime.cjs +1 -1
  143. package/buildLibs/utils/Web/ClDatetime.js +1 -1
  144. package/buildLibs/utils/Web/ClDropdownMenuItem.cjs +2 -0
  145. package/buildLibs/utils/Web/ClDropdownMenuItem.cjs.map +1 -0
  146. package/buildLibs/utils/Web/ClDropdownMenuItem.css +1 -0
  147. package/buildLibs/utils/Web/ClDropdownMenuItem.js +72 -0
  148. package/buildLibs/utils/Web/ClDropdownMenuItem.js.map +1 -0
  149. package/buildLibs/utils/Web/ClEcharts.cjs +1 -1
  150. package/buildLibs/utils/Web/ClEcharts.js +1 -1
  151. package/buildLibs/utils/Web/ClEchartsLineAxisTag.cjs +1 -1
  152. package/buildLibs/utils/Web/ClEchartsLineAxisTag.js +1 -1
  153. package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
  154. package/buildLibs/utils/Web/ClFileUpload.js +1 -1
  155. package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
  156. package/buildLibs/utils/Web/ClInputTag.js +1 -1
  157. package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
  158. package/buildLibs/utils/Web/ClPaginate.js +1 -1
  159. package/buildLibs/utils/Web/ClPreviewExample.cjs +1 -1
  160. package/buildLibs/utils/Web/ClPreviewExample.js +1 -1
  161. package/buildLibs/utils/Web/ClScrollXFence.cjs +1 -1
  162. package/buildLibs/utils/Web/ClScrollXFence.js +1 -1
  163. package/buildLibs/utils/Web/ClSelect.cjs +1 -1
  164. package/buildLibs/utils/Web/ClSelect.js +1 -1
  165. package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
  166. package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
  167. package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
  168. package/buildLibs/utils/Web/ClSelectTag.js +1 -1
  169. package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
  170. package/buildLibs/utils/Web/ClSelectTree.js +1 -1
  171. package/buildLibs/utils/Web/ClTable.cjs +1 -1
  172. package/buildLibs/utils/Web/ClTable.cjs.map +1 -1
  173. package/buildLibs/utils/Web/ClTable.js +1081 -1218
  174. package/buildLibs/utils/Web/ClTable.js.map +1 -1
  175. package/buildLibs/utils/Web/ClTabs.cjs +1 -1
  176. package/buildLibs/utils/Web/ClTabs.js +1 -1
  177. package/buildLibs/utils/Web/ClTree.cjs +1 -1
  178. package/buildLibs/utils/Web/ClTree.js +1 -1
  179. package/buildLibs/utils/Web/ClXeditable.cjs +1 -1
  180. package/buildLibs/utils/Web/ClXeditable.cjs.map +1 -1
  181. package/buildLibs/utils/Web/ClXeditable.js +33 -32
  182. package/buildLibs/utils/Web/ClXeditable.js.map +1 -1
  183. package/package.json +21 -8
  184. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yxIx8F.js +0 -663
  185. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yxIx8F.js.map +0 -1
  186. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C9mOHVoE.js.map +0 -1
  187. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CcOk4kyd.js +0 -2
  188. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CcOk4kyd.js.map +0 -1
  189. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtZgYjSl.js +0 -2
  190. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtZgYjSl.js.map +0 -1
  191. package/buildLibs/utils/Shared/Video-BV0YLYT2.js +0 -114
  192. package/buildLibs/utils/Shared/Video-BV0YLYT2.js.map +0 -1
  193. package/buildLibs/utils/Shared/Video-c3jHJSxl.js +0 -2
  194. package/buildLibs/utils/Shared/Video-c3jHJSxl.js.map +0 -1
  195. package/buildLibs/utils/Shared/Video.css +0 -1
  196. package/buildLibs/utils/Web/ClDropdownMenuM.css +0 -1
  197. package/buildLibs/utils/Web/ClPreview.cjs +0 -2
  198. package/buildLibs/utils/Web/ClPreview.cjs.map +0 -1
  199. package/buildLibs/utils/Web/ClPreview.css +0 -1
  200. package/buildLibs/utils/Web/ClPreview.js +0 -353
  201. package/buildLibs/utils/Web/ClPreview.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../Shared/One.vue_vue_type_script_setup_true_lang-BYx3RSJ7.js");module.exports=e._sfc_main;
2
+ //# sourceMappingURL=ClCheckboxOne.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClCheckboxOne.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../Shared/One.vue_vue_type_script_setup_true_lang-L3QP6f8Z.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ClCheckboxOne.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClCheckboxOne.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../Shared/Validate.vue_vue_type_script_setup_true_lang-CAmKX5pn.js");module.exports=e._sfc_main;
2
+ //# sourceMappingURL=ClFormValidate.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClFormValidate.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../Shared/Validate.vue_vue_type_script_setup_true_lang-Bquk40ES.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ClFormValidate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClFormValidate.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DtZgYjSl.js");module.exports=e._sfc_main;
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CumTbPny.js");module.exports=e._sfc_main;
2
2
  //# sourceMappingURL=ClImage.cjs.map
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-C9mOHVoE.js";
1
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-B-yZtW91.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,2 @@
1
+ "use strict";const t=require("vue"),n=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Dvy5B6_y.js"),a=require("../Shared/Index.vue_vue_type_script_setup_true_lang--ScSDme2.js"),c={class:"loading-content"},o=t.defineComponent({name:"ClLoadFullCenter",__name:"FullCenter",props:{id:{},className:{},show:{type:Boolean,default:!0},teleportTarget:{},zIndex:{},background:{},theme:{},size:{},color:{}},setup(e){return(r,l)=>(t.openBlock(),t.createBlock(a._sfc_main,{show:e.show,id:e.id,zIndex:e.zIndex,teleportTarget:e.teleportTarget||"self",background:e.background||"rgba(0, 0, 0, 0.5)",duration:0,className:e.className,isLockScroll:!1},{default:t.withCtx(()=>[t.createElementVNode("div",c,[t.createVNode(n._sfc_main,{theme:e.theme,size:e.size,color:e.color},null,8,["theme","size","color"])])]),_:1},8,["show","id","zIndex","teleportTarget","background","className"]))}});module.exports=o;
2
+ //# sourceMappingURL=ClLoadFullCenter.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClLoadFullCenter.cjs","sources":["../../../src/libs/Element/Load/FullCenter.vue"],"sourcesContent":["<template>\n <cl-overlay\n :show=\"show\"\n :id=\"id\"\n :zIndex=\"zIndex\"\n :teleportTarget=\"teleportTarget || 'self'\"\n :background=\"background || 'rgba(0, 0, 0, 0.5)'\"\n :duration=\"0\"\n :className=\"className\"\n :isLockScroll=\"false\"\n >\n <div class=\"loading-content\">\n <cl-load\n :theme=\"theme\"\n :size=\"size\"\n :color=\"color\"\n />\n </div>\n </cl-overlay>\n</template>\n\n<script setup lang=\"ts\">\nimport ClLoad from './Index.vue';\nimport ClOverlay from '../Overlay/Index.vue';\nimport './css/FullCenter.css';\n\n// defineOptions\ndefineOptions({ name: 'ClLoadFullCenter' });\n\n// props\nwithDefaults(\n defineProps<{\n id?: string; // desc: 组件实例唯一标识\n className?: string; // desc: 自定义CSS类名\n show?: boolean; // desc: 是否显示遮罩,默认常显(需隐藏时显式 :show=\"false\")\n teleportTarget?: string; // desc: 挂载目标 | enum: self(默认,容器内定位)、body\n zIndex?: number; // desc: 遮罩层级\n background?: string; // desc: 遮罩背景色\n theme?: string; // desc: 加载动画主题,透传至 ClLoad\n size?: string; // desc: 加载动画尺寸,透传至 ClLoad\n color?: string; // desc: 加载动画颜色,透传至 ClLoad\n }>(),\n { show: true }, // 默认常显,兼容旧用法(无 show 传参)\n);\n</script>\n"],"names":["_createBlock","ClOverlay","__props","_createElementVNode","_hoisted_1","_createVNode","ClLoad"],"mappings":"8bACEA,EAAAA,YAiBaC,YAAA,CAhBV,KAAMC,EAAA,KACN,GAAIA,EAAA,GACJ,OAAQA,EAAA,OACR,eAAgBA,EAAA,gBAAc,OAC9B,WAAYA,EAAA,YAAU,qBACtB,SAAU,EACV,UAAWA,EAAA,UACX,aAAc,EAAA,qBAEf,IAMM,CANNC,EAAAA,mBAMM,MANNC,EAMM,CALJC,EAAAA,YAIEC,EAAAA,UAAA,CAHC,MAAOJ,EAAA,MACP,KAAMA,EAAA,KACN,MAAOA,EAAA,KAAA"}
@@ -0,0 +1 @@
1
+ .loading-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
@@ -0,0 +1,45 @@
1
+ import { defineComponent as t, openBlock as a, createBlock as o, withCtx as l, createElementVNode as n, createVNode as c } from "vue";
2
+ import { _ as r } from "../Shared/Index.vue_vue_type_script_setup_true_lang-C06bNoBf.js";
3
+ import { _ as s } from "../Shared/Index.vue_vue_type_script_setup_true_lang-C7NQ-ioq.js";
4
+ const d = { class: "loading-content" }, g = /* @__PURE__ */ t({
5
+ name: "ClLoadFullCenter",
6
+ __name: "FullCenter",
7
+ props: {
8
+ id: {},
9
+ className: {},
10
+ show: { type: Boolean, default: !0 },
11
+ teleportTarget: {},
12
+ zIndex: {},
13
+ background: {},
14
+ theme: {},
15
+ size: {},
16
+ color: {}
17
+ },
18
+ setup(e) {
19
+ return (i, m) => (a(), o(s, {
20
+ show: e.show,
21
+ id: e.id,
22
+ zIndex: e.zIndex,
23
+ teleportTarget: e.teleportTarget || "self",
24
+ background: e.background || "rgba(0, 0, 0, 0.5)",
25
+ duration: 0,
26
+ className: e.className,
27
+ isLockScroll: !1
28
+ }, {
29
+ default: l(() => [
30
+ n("div", d, [
31
+ c(r, {
32
+ theme: e.theme,
33
+ size: e.size,
34
+ color: e.color
35
+ }, null, 8, ["theme", "size", "color"])
36
+ ])
37
+ ]),
38
+ _: 1
39
+ }, 8, ["show", "id", "zIndex", "teleportTarget", "background", "className"]));
40
+ }
41
+ });
42
+ export {
43
+ g as default
44
+ };
45
+ //# sourceMappingURL=ClLoadFullCenter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClLoadFullCenter.js","sources":["../../../src/libs/Element/Load/FullCenter.vue"],"sourcesContent":["<template>\n <cl-overlay\n :show=\"show\"\n :id=\"id\"\n :zIndex=\"zIndex\"\n :teleportTarget=\"teleportTarget || 'self'\"\n :background=\"background || 'rgba(0, 0, 0, 0.5)'\"\n :duration=\"0\"\n :className=\"className\"\n :isLockScroll=\"false\"\n >\n <div class=\"loading-content\">\n <cl-load\n :theme=\"theme\"\n :size=\"size\"\n :color=\"color\"\n />\n </div>\n </cl-overlay>\n</template>\n\n<script setup lang=\"ts\">\nimport ClLoad from './Index.vue';\nimport ClOverlay from '../Overlay/Index.vue';\nimport './css/FullCenter.css';\n\n// defineOptions\ndefineOptions({ name: 'ClLoadFullCenter' });\n\n// props\nwithDefaults(\n defineProps<{\n id?: string; // desc: 组件实例唯一标识\n className?: string; // desc: 自定义CSS类名\n show?: boolean; // desc: 是否显示遮罩,默认常显(需隐藏时显式 :show=\"false\")\n teleportTarget?: string; // desc: 挂载目标 | enum: self(默认,容器内定位)、body\n zIndex?: number; // desc: 遮罩层级\n background?: string; // desc: 遮罩背景色\n theme?: string; // desc: 加载动画主题,透传至 ClLoad\n size?: string; // desc: 加载动画尺寸,透传至 ClLoad\n color?: string; // desc: 加载动画颜色,透传至 ClLoad\n }>(),\n { show: true }, // 默认常显,兼容旧用法(无 show 传参)\n);\n</script>\n"],"names":["_createBlock","ClOverlay","__props","_createElementVNode","_hoisted_1","_createVNode","ClLoad"],"mappings":";;;;;;;;;;;;;;;;;;2BACEA,EAiBaC,GAAA;AAAA,MAhBV,MAAMC,EAAA;AAAA,MACN,IAAIA,EAAA;AAAA,MACJ,QAAQA,EAAA;AAAA,MACR,gBAAgBA,EAAA,kBAAc;AAAA,MAC9B,YAAYA,EAAA,cAAU;AAAA,MACtB,UAAU;AAAA,MACV,WAAWA,EAAA;AAAA,MACX,cAAc;AAAA,IAAA;iBAEf,MAMM;AAAA,QANNC,EAMM,OANNC,GAMM;AAAA,UALJC,EAIEC,GAAA;AAAA,YAHC,OAAOJ,EAAA;AAAA,YACP,MAAMA,EAAA;AAAA,YACN,OAAOA,EAAA;AAAA,UAAA;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../Shared/Ing.vue_vue_type_script_setup_true_lang-D-16hxdZ.js");module.exports=e._sfc_main;
2
+ //# sourceMappingURL=ClLoadIng.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClLoadIng.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../Shared/Ing.vue_vue_type_script_setup_true_lang-56-c5EL5.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ClLoadIng.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClLoadIng.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("vue"),a=require("../Shared/base-C2QOJBgB.js"),d=require("../Shared/index-DAgtltwJ.js"),u=require("../Shared/Ing.vue_vue_type_script_setup_true_lang-D-16hxdZ.js"),g=["id"],h=e.defineComponent({name:"ClLoadWarp",__name:"Warp",props:{id:{},className:{},theme:{},size:{},isLoadIng:{type:Boolean},isEmpty:{type:Boolean},height:{},minHeight:{},noDataText:{},color:{}},setup(t){const o=t,r=o.id,m=e.computed(()=>a.CommonBase.getJsonMerge({"panel-load-ward":!0},d.CommonElement.getClassNameJson(o.className))),l=e.computed(()=>{const n={},{height:s,minHeight:i,isLoadIng:c}=o;return c&&(n["min-height"]="100px"),a.CommonBase.isNonEmptyString(s)?n.height=s:a.CommonBase.isNonEmptyString(i)&&(n["min-height"]=i),n});return(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(m.value),style:e.normalizeStyle(l.value),id:e.unref(r)},[e.renderSlot(n.$slots,"default"),e.createVNode(u._sfc_main,{isLoadIng:t.isLoadIng,isEmpty:t.isEmpty,theme:t.theme,size:t.size,color:t.color,noDataText:t.noDataText},{nothingData:e.withCtx(()=>[e.renderSlot(n.$slots,"nothingData")]),_:3},8,["isLoadIng","isEmpty","theme","size","color","noDataText"])],14,g))}});module.exports=h;
2
+ //# sourceMappingURL=ClLoadWarp.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClLoadWarp.cjs","sources":["../../../src/libs/Element/Load/Warp.vue"],"sourcesContent":["<template>\n <div\n :class=\"clsParent\"\n :style=\"styParent\"\n :id=\"elId\"\n >\n <slot></slot>\n <cl-load-ing\n :isLoadIng=\"isLoadIng\"\n :isEmpty=\"isEmpty\"\n :theme=\"theme\"\n :size=\"size\"\n :color=\"color\"\n :noDataText=\"noDataText\"\n >\n <template #nothingData>\n <slot name=\"nothingData\"></slot>\n </template>\n </cl-load-ing>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue';\nimport CommonBase from '../../Common/base';\nimport CommonElement from '../../Common/Element/index';\nimport ClLoadIng from './Ing.vue';\nimport './css/Warp.css';\n\n// defineOptions\ndefineOptions({ name: 'ClLoadWarp' });\n\n// props\nconst props = defineProps<{\n id?: string; // desc: 组件实例唯一标识\n className?: string; // desc: 自定义CSS类名\n theme?: string; // desc: 加载动画主题,透传至 ClLoad\n size?: string; // desc: 加载动画尺寸,透传至 ClLoad\n isLoadIng?: boolean; // desc: 是否加载中\n isEmpty?: boolean; // desc: 是否空数据\n height?: string; // desc: 容器高度\n minHeight?: string; // desc: 容器最小高度\n noDataText?: string; // desc: 空数据提示文本\n color?: string; // desc: 加载动画颜色,透传至 ClLoad\n}>();\n\n// slots: default, nothingData\n\nconst elId = props.id; // || `loadWarp-${CommonBase.getRandom(8)}`\n\n// computed\nconst clsParent = computed(() => {\n return CommonBase.getJsonMerge(\n { 'panel-load-ward': true },\n CommonElement.getClassNameJson(props.className),\n );\n});\n\nconst styParent = computed(() => {\n const sty: any = {};\n const { height, minHeight, isLoadIng } = props;\n if (isLoadIng) {\n sty['min-height'] = '100px';\n }\n if (CommonBase.isNonEmptyString(height)) {\n sty.height = height;\n } else {\n if (CommonBase.isNonEmptyString(minHeight)) {\n sty['min-height'] = minHeight;\n }\n }\n return sty;\n});\n</script>\n"],"names":["props","__props","elId","clsParent","computed","CommonBase","CommonElement","styParent","sty","height","minHeight","isLoadIng","_createElementBlock","_unref","_renderSlot","_ctx","_createVNode","ClLoadIng"],"mappings":"iZAiCA,MAAMA,EAAQC,EAeRC,EAAOF,EAAM,GAGbG,EAAYC,EAAAA,SAAS,IAClBC,EAAAA,WAAW,aAChB,CAAE,kBAAmB,EAAA,EACrBC,gBAAc,iBAAiBN,EAAM,SAAS,CAAA,CAEjD,EAEKO,EAAYH,EAAAA,SAAS,IAAM,CAC/B,MAAMI,EAAW,CAAA,EACX,CAAE,OAAAC,EAAQ,UAAAC,EAAW,UAAAC,CAAA,EAAcX,EACzC,OAAIW,IACFH,EAAI,YAAY,EAAI,SAElBH,EAAAA,WAAW,iBAAiBI,CAAM,EACpCD,EAAI,OAASC,EAETJ,EAAAA,WAAW,iBAAiBK,CAAS,IACvCF,EAAI,YAAY,EAAIE,GAGjBF,CACT,CAAC,8BAvECI,EAAAA,mBAkBM,MAAA,CAjBH,uBAAOT,EAAA,KAAS,EAChB,uBAAOI,EAAA,KAAS,EAChB,GAAIM,EAAAA,MAAAX,CAAA,CAAA,GAELY,aAAaC,EAAA,OAAA,SAAA,EACbC,EAAAA,YAWcC,EAAAA,UAAA,CAVX,UAAWhB,EAAA,UACX,QAASA,EAAA,QACT,MAAOA,EAAA,MACP,KAAMA,EAAA,KACN,MAAOA,EAAA,MACP,WAAYA,EAAA,UAAA,GAEF,sBACT,IAAgC,CAAhCa,aAAgCC,EAAA,OAAA,aAAA,CAAA"}
@@ -0,0 +1 @@
1
+ .panel-load-ward{position:relative;min-height:80px;height:100%}
@@ -0,0 +1,53 @@
1
+ import { defineComponent as h, computed as s, openBlock as g, createElementBlock as f, unref as p, normalizeStyle as u, normalizeClass as y, renderSlot as m, createVNode as C, withCtx as E } from "vue";
2
+ import { C as a } from "../Shared/base-DU7nGSf6.js";
3
+ import { C as x } from "../Shared/index-DvNmQjNH.js";
4
+ import { _ as z } from "../Shared/Ing.vue_vue_type_script_setup_true_lang-56-c5EL5.js";
5
+ const D = ["id"], S = /* @__PURE__ */ h({
6
+ name: "ClLoadWarp",
7
+ __name: "Warp",
8
+ props: {
9
+ id: {},
10
+ className: {},
11
+ theme: {},
12
+ size: {},
13
+ isLoadIng: { type: Boolean },
14
+ isEmpty: { type: Boolean },
15
+ height: {},
16
+ minHeight: {},
17
+ noDataText: {},
18
+ color: {}
19
+ },
20
+ setup(e) {
21
+ const o = e, r = o.id, l = s(() => a.getJsonMerge(
22
+ { "panel-load-ward": !0 },
23
+ x.getClassNameJson(o.className)
24
+ )), c = s(() => {
25
+ const t = {}, { height: n, minHeight: i, isLoadIng: d } = o;
26
+ return d && (t["min-height"] = "100px"), a.isNonEmptyString(n) ? t.height = n : a.isNonEmptyString(i) && (t["min-height"] = i), t;
27
+ });
28
+ return (t, n) => (g(), f("div", {
29
+ class: y(l.value),
30
+ style: u(c.value),
31
+ id: p(r)
32
+ }, [
33
+ m(t.$slots, "default"),
34
+ C(z, {
35
+ isLoadIng: e.isLoadIng,
36
+ isEmpty: e.isEmpty,
37
+ theme: e.theme,
38
+ size: e.size,
39
+ color: e.color,
40
+ noDataText: e.noDataText
41
+ }, {
42
+ nothingData: E(() => [
43
+ m(t.$slots, "nothingData")
44
+ ]),
45
+ _: 3
46
+ }, 8, ["isLoadIng", "isEmpty", "theme", "size", "color", "noDataText"])
47
+ ], 14, D));
48
+ }
49
+ });
50
+ export {
51
+ S as default
52
+ };
53
+ //# sourceMappingURL=ClLoadWarp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClLoadWarp.js","sources":["../../../src/libs/Element/Load/Warp.vue"],"sourcesContent":["<template>\n <div\n :class=\"clsParent\"\n :style=\"styParent\"\n :id=\"elId\"\n >\n <slot></slot>\n <cl-load-ing\n :isLoadIng=\"isLoadIng\"\n :isEmpty=\"isEmpty\"\n :theme=\"theme\"\n :size=\"size\"\n :color=\"color\"\n :noDataText=\"noDataText\"\n >\n <template #nothingData>\n <slot name=\"nothingData\"></slot>\n </template>\n </cl-load-ing>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue';\nimport CommonBase from '../../Common/base';\nimport CommonElement from '../../Common/Element/index';\nimport ClLoadIng from './Ing.vue';\nimport './css/Warp.css';\n\n// defineOptions\ndefineOptions({ name: 'ClLoadWarp' });\n\n// props\nconst props = defineProps<{\n id?: string; // desc: 组件实例唯一标识\n className?: string; // desc: 自定义CSS类名\n theme?: string; // desc: 加载动画主题,透传至 ClLoad\n size?: string; // desc: 加载动画尺寸,透传至 ClLoad\n isLoadIng?: boolean; // desc: 是否加载中\n isEmpty?: boolean; // desc: 是否空数据\n height?: string; // desc: 容器高度\n minHeight?: string; // desc: 容器最小高度\n noDataText?: string; // desc: 空数据提示文本\n color?: string; // desc: 加载动画颜色,透传至 ClLoad\n}>();\n\n// slots: default, nothingData\n\nconst elId = props.id; // || `loadWarp-${CommonBase.getRandom(8)}`\n\n// computed\nconst clsParent = computed(() => {\n return CommonBase.getJsonMerge(\n { 'panel-load-ward': true },\n CommonElement.getClassNameJson(props.className),\n );\n});\n\nconst styParent = computed(() => {\n const sty: any = {};\n const { height, minHeight, isLoadIng } = props;\n if (isLoadIng) {\n sty['min-height'] = '100px';\n }\n if (CommonBase.isNonEmptyString(height)) {\n sty.height = height;\n } else {\n if (CommonBase.isNonEmptyString(minHeight)) {\n sty['min-height'] = minHeight;\n }\n }\n return sty;\n});\n</script>\n"],"names":["props","__props","elId","clsParent","computed","CommonBase","CommonElement","styParent","sty","height","minHeight","isLoadIng","_createElementBlock","_unref","_renderSlot","_ctx","_createVNode","ClLoadIng"],"mappings":";;;;;;;;;;;;;;;;;;;;AAiCA,UAAMA,IAAQC,GAeRC,IAAOF,EAAM,IAGbG,IAAYC,EAAS,MAClBC,EAAW;AAAA,MAChB,EAAE,mBAAmB,GAAA;AAAA,MACrBC,EAAc,iBAAiBN,EAAM,SAAS;AAAA,IAAA,CAEjD,GAEKO,IAAYH,EAAS,MAAM;AAC/B,YAAMI,IAAW,CAAA,GACX,EAAE,QAAAC,GAAQ,WAAAC,GAAW,WAAAC,EAAA,IAAcX;AACzC,aAAIW,MACFH,EAAI,YAAY,IAAI,UAElBH,EAAW,iBAAiBI,CAAM,IACpCD,EAAI,SAASC,IAETJ,EAAW,iBAAiBK,CAAS,MACvCF,EAAI,YAAY,IAAIE,IAGjBF;AAAA,IACT,CAAC;2BAvECI,EAkBM,OAAA;AAAA,MAjBH,SAAOT,EAAA,KAAS;AAAA,MAChB,SAAOI,EAAA,KAAS;AAAA,MAChB,IAAIM,EAAAX,CAAA;AAAA,IAAA;MAELY,EAAaC,EAAA,QAAA,SAAA;AAAA,MACbC,EAWcC,GAAA;AAAA,QAVX,WAAWhB,EAAA;AAAA,QACX,SAASA,EAAA;AAAA,QACT,OAAOA,EAAA;AAAA,QACP,MAAMA,EAAA;AAAA,QACN,OAAOA,EAAA;AAAA,QACP,YAAYA,EAAA;AAAA,MAAA;QAEF,eACT,MAAgC;AAAA,UAAhCa,EAAgCC,EAAA,QAAA,aAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../Shared/One.vue_vue_type_script_setup_true_lang-CR1t8XZl.js");module.exports=e._sfc_main;
2
+ //# sourceMappingURL=ClRadioOne.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClRadioOne.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../Shared/One.vue_vue_type_script_setup_true_lang-oBeFlRzi.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ClRadioOne.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClRadioOne.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../Shared/SlideUpDown.vue_vue_type_script_setup_true_lang-dmJX02R8.js");module.exports=e._sfc_main;
2
+ //# sourceMappingURL=ClTransitionSlideupdown.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClTransitionSlideupdown.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../Shared/SlideUpDown.vue_vue_type_script_setup_true_lang-Bc3ifQDt.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ClTransitionSlideupdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClTransitionSlideupdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("vue"),s=require("../Shared/use-D0Yu2Dbn.js"),u={class:"waterfall-imageBox"},f=["alt"],i=e.defineComponent({name:"ClWaterfallImage",__name:"Image",props:{url:{type:String,default:""},alt:{type:String,default:""}},setup(a){const n=a,t=e.inject("$WaterfallTop"),l=e.ref(null),c=e.computed(()=>n.url),o=r=>{t?.imgCallback?t.imgCallback():console.warn(`[ClWaterfallImage] 未检测到 $WaterfallTop 容器注入,图片${r==="loaded"?"完成":"加载失败"}回调失效`)};return e.onBeforeUnmount(()=>{l.value&&(l.value.onload=null,l.value.onerror=null)}),s.useLazyload(l,c,{callback:{loaded:()=>{o("loaded")},error:()=>{o("error")}}}),(r,m)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("img",{ref_key:"refElImage",ref:l,class:"waterfall-image",alt:a.alt},null,8,f)]))}});module.exports=i;
2
+ //# sourceMappingURL=ClWaterfallImage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClWaterfallImage.cjs","sources":["../../../src/libs/Element/Waterfall/Image.vue"],"sourcesContent":["<template>\n <div class=\"waterfall-imageBox\">\n <img\n ref=\"refElImage\"\n class=\"waterfall-image\"\n :alt=\"alt\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, computed, ref, onBeforeUnmount } from 'vue';\nimport { useLazyload } from '../LazyImage/use';\nimport './css/Image.css';\n\ninterface WaterfallTop {\n imgCallback: () => void;\n}\n\ndefineOptions({ name: 'ClWaterfallImage' });\n\n// 依赖:需在 ClWaterfall 容器插槽内使用(通过 $WaterfallTop 注入容器重排回调);脱离容器仅图片懒加载生效、重排回调失效(console.warn 提示)\nconst props = defineProps({\n url: {\n type: String,\n default: '', // desc: 图片地址\n },\n alt: {\n type: String,\n default: '', // desc: 图片替代文本\n },\n});\n\nconst _selfTop = inject<WaterfallTop>('$WaterfallTop');\nconst refElImage = ref<HTMLElement | null>(null);\n\n// computed\nconst optSrcUrl = computed(() => props.url);\n\nconst _notifyTop = (phase: 'loaded' | 'error') => {\n if (_selfTop?.imgCallback) {\n _selfTop.imgCallback();\n } else {\n console.warn(\n `[ClWaterfallImage] 未检测到 $WaterfallTop 容器注入,图片${phase === 'loaded' ? '完成' : '加载失败'}回调失效`,\n );\n }\n};\n\n// 卸载前置空图片回调:Vue 卸载时序中 ref 先置 null 再触发 unmounted,useLazyload 内 lazy.unmount 判空恒不通过 → 图片加载中卸载时 onload 仍挂着 → 幽灵重排\nonBeforeUnmount(() => {\n if (refElImage.value) {\n refElImage.value.onload = null;\n refElImage.value.onerror = null;\n }\n});\n\nuseLazyload(refElImage, optSrcUrl, {\n callback: {\n loaded: () => {\n _notifyTop('loaded');\n },\n error: () => {\n _notifyTop('error');\n },\n },\n});\n</script>\n"],"names":["props","__props","_selfTop","inject","refElImage","ref","optSrcUrl","computed","_notifyTop","phase","onBeforeUnmount","useLazyload","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode"],"mappings":"2PAsBA,MAAMA,EAAQC,EAWRC,EAAWC,EAAAA,OAAqB,eAAe,EAC/CC,EAAaC,EAAAA,IAAwB,IAAI,EAGzCC,EAAYC,EAAAA,SAAS,IAAMP,EAAM,GAAG,EAEpCQ,EAAcC,GAA8B,CAC5CP,GAAU,YACZA,EAAS,YAAA,EAET,QAAQ,KACN,gDAAgDO,IAAU,SAAW,KAAO,MAAM,MAAA,CAGxF,EAGAC,OAAAA,EAAAA,gBAAgB,IAAM,CAChBN,EAAW,QACbA,EAAW,MAAM,OAAS,KAC1BA,EAAW,MAAM,QAAU,KAE/B,CAAC,EAEDO,EAAAA,YAAYP,EAAYE,EAAW,CACjC,SAAU,CACR,OAAQ,IAAM,CACZE,EAAW,QAAQ,CACrB,EACA,MAAO,IAAM,CACXA,EAAW,OAAO,CACpB,CAAA,CACF,CACD,UAjECI,YAAA,EAAAC,qBAMM,MANNC,EAMM,CALJC,EAAAA,mBAIE,MAAA,SAHI,aAAJ,IAAIX,EACJ,MAAM,kBACL,IAAKH,EAAA,GAAA"}
@@ -0,0 +1 @@
1
+ .waterfall-imageBox{width:100%;display:flex;align-items:center;justify-content:center}.waterfall-imageBox>.waterfall-image{max-width:100%;height:auto;vertical-align:middle}.waterfall-imageBox>.waterfall-image[lazy=loading],.waterfall-imageBox>.waterfall-image[lazy=error]{padding:80px 0}
@@ -0,0 +1,48 @@
1
+ import { defineComponent as c, inject as f, ref as s, computed as m, onBeforeUnmount as u, openBlock as i, createElementBlock as d, createElementVNode as p } from "vue";
2
+ import { u as g } from "../Shared/use-CKNkvmW4.js";
3
+ const _ = { class: "waterfall-imageBox" }, k = ["alt"], v = /* @__PURE__ */ c({
4
+ name: "ClWaterfallImage",
5
+ __name: "Image",
6
+ props: {
7
+ url: {
8
+ type: String,
9
+ default: ""
10
+ // desc: 图片地址
11
+ },
12
+ alt: {
13
+ type: String,
14
+ default: ""
15
+ // desc: 图片替代文本
16
+ }
17
+ },
18
+ setup(l) {
19
+ const r = l, a = f("$WaterfallTop"), e = s(null), n = m(() => r.url), o = (t) => {
20
+ a?.imgCallback ? a.imgCallback() : console.warn(
21
+ `[ClWaterfallImage] 未检测到 $WaterfallTop 容器注入,图片${t === "loaded" ? "完成" : "加载失败"}回调失效`
22
+ );
23
+ };
24
+ return u(() => {
25
+ e.value && (e.value.onload = null, e.value.onerror = null);
26
+ }), g(e, n, {
27
+ callback: {
28
+ loaded: () => {
29
+ o("loaded");
30
+ },
31
+ error: () => {
32
+ o("error");
33
+ }
34
+ }
35
+ }), (t, y) => (i(), d("div", _, [
36
+ p("img", {
37
+ ref_key: "refElImage",
38
+ ref: e,
39
+ class: "waterfall-image",
40
+ alt: l.alt
41
+ }, null, 8, k)
42
+ ]));
43
+ }
44
+ });
45
+ export {
46
+ v as default
47
+ };
48
+ //# sourceMappingURL=ClWaterfallImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClWaterfallImage.js","sources":["../../../src/libs/Element/Waterfall/Image.vue"],"sourcesContent":["<template>\n <div class=\"waterfall-imageBox\">\n <img\n ref=\"refElImage\"\n class=\"waterfall-image\"\n :alt=\"alt\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, computed, ref, onBeforeUnmount } from 'vue';\nimport { useLazyload } from '../LazyImage/use';\nimport './css/Image.css';\n\ninterface WaterfallTop {\n imgCallback: () => void;\n}\n\ndefineOptions({ name: 'ClWaterfallImage' });\n\n// 依赖:需在 ClWaterfall 容器插槽内使用(通过 $WaterfallTop 注入容器重排回调);脱离容器仅图片懒加载生效、重排回调失效(console.warn 提示)\nconst props = defineProps({\n url: {\n type: String,\n default: '', // desc: 图片地址\n },\n alt: {\n type: String,\n default: '', // desc: 图片替代文本\n },\n});\n\nconst _selfTop = inject<WaterfallTop>('$WaterfallTop');\nconst refElImage = ref<HTMLElement | null>(null);\n\n// computed\nconst optSrcUrl = computed(() => props.url);\n\nconst _notifyTop = (phase: 'loaded' | 'error') => {\n if (_selfTop?.imgCallback) {\n _selfTop.imgCallback();\n } else {\n console.warn(\n `[ClWaterfallImage] 未检测到 $WaterfallTop 容器注入,图片${phase === 'loaded' ? '完成' : '加载失败'}回调失效`,\n );\n }\n};\n\n// 卸载前置空图片回调:Vue 卸载时序中 ref 先置 null 再触发 unmounted,useLazyload 内 lazy.unmount 判空恒不通过 → 图片加载中卸载时 onload 仍挂着 → 幽灵重排\nonBeforeUnmount(() => {\n if (refElImage.value) {\n refElImage.value.onload = null;\n refElImage.value.onerror = null;\n }\n});\n\nuseLazyload(refElImage, optSrcUrl, {\n callback: {\n loaded: () => {\n _notifyTop('loaded');\n },\n error: () => {\n _notifyTop('error');\n },\n },\n});\n</script>\n"],"names":["props","__props","_selfTop","inject","refElImage","ref","optSrcUrl","computed","_notifyTop","phase","onBeforeUnmount","useLazyload","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode"],"mappings":";;;;;;;;;;;;;;;;;;AAsBA,UAAMA,IAAQC,GAWRC,IAAWC,EAAqB,eAAe,GAC/CC,IAAaC,EAAwB,IAAI,GAGzCC,IAAYC,EAAS,MAAMP,EAAM,GAAG,GAEpCQ,IAAa,CAACC,MAA8B;AAChD,MAAIP,GAAU,cACZA,EAAS,YAAA,IAET,QAAQ;AAAA,QACN,gDAAgDO,MAAU,WAAW,OAAO,MAAM;AAAA,MAAA;AAAA,IAGxF;AAGA,WAAAC,EAAgB,MAAM;AACpB,MAAIN,EAAW,UACbA,EAAW,MAAM,SAAS,MAC1BA,EAAW,MAAM,UAAU;AAAA,IAE/B,CAAC,GAEDO,EAAYP,GAAYE,GAAW;AAAA,MACjC,UAAU;AAAA,QACR,QAAQ,MAAM;AACZ,UAAAE,EAAW,QAAQ;AAAA,QACrB;AAAA,QACA,OAAO,MAAM;AACX,UAAAA,EAAW,OAAO;AAAA,QACpB;AAAA,MAAA;AAAA,IACF,CACD,cAjECI,EAAA,GAAAC,EAMM,OANNC,GAMM;AAAA,MALJC,EAIE,OAAA;AAAA,iBAHI;AAAA,QAAJ,KAAIX;AAAA,QACJ,OAAM;AAAA,QACL,KAAKH,EAAA;AAAA,MAAA;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../Shared/base-C2QOJBgB.js"),M=require("../Shared/index-DAgtltwJ.js"),y=require("../Shared/Index.vue_vue_type_script_setup_true_lang-g88DiQYZ.js"),B=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DtZgYjSl.js"),q=["id"],O={key:0,class:"banner-body banner-body--row"},j={class:"banner-text"},P={class:"banner-title-inner"},J={class:"banner-desc-inner"},R={key:1,class:"banner-body banner-body--column"},U={class:"banner-text banner-text--column"},W={class:"banner-title-line"},Y={class:"banner-title-inner"},K={class:"banner-desc-inner"},Q=["onClick"],X=["onClick"],Z={class:"banner-text banner-text--column"},ee={class:"banner-title-line"},te={class:"banner-title-inner"},ne={class:"banner-desc-inner"},oe={key:2,class:"banner-body"},le=["onClick"],I=120,S=["leftImage","leftText","textTopImagesBottom","imagesTopTextBottom","textTopImageBottom","imageTopTextBottom","image","images"],ae=e.defineComponent({name:"ClBanner",__name:"Index",props:{id:String,className:String,type:{type:String,default:"leftImage",validator:l=>S.indexOf(l)!==-1},imagesList:{type:Array,default:()=>[]},title:String,description:String,titleLines:{type:Number,default:1,validator:l=>l===1||l===2},descriptionLines:{type:Number,default:2,validator:l=>l===1||l===2||l===3},customText:String,isShowClose:{type:Boolean,default:!1},imageHeight:{type:Number,default:I},isImageGap:{type:Boolean,default:!0}},emits:["onClickImage","onClickTitle","onClickDescription","onClickCustom","onClose"],setup(l,{emit:L}){const n=l,u=L,b=`banner-${s.CommonBase.getRandom(5)}`,w=n.id,F=e.ref(!1),z=e.computed(()=>!F.value),g=e.computed(()=>n.isShowClose),r=e.computed(()=>Array.isArray(n.imagesList)?n.imagesList.filter(t=>!!t&&s.CommonBase.isObject(t)&&s.CommonBase.isNonEmptyString(t.src)):[]),i=e.computed(()=>{const t=r.value;return t.length>0?t[0]:{src:"",alt:""}}),m=e.computed(()=>s.CommonBase.isNonEmptyString(n.title)?n.title:""),k=e.computed(()=>s.CommonBase.isNonEmptyString(n.description)?n.description:""),p=e.computed(()=>s.CommonBase.isNonEmptyString(n.customText)?n.customText:"");S.indexOf(n.type)===-1&&console.warn(`[ClBanner] 非法 type「${String(n.type)}」,已回退渲染为纯图模式。合法值:${S.join("、")}`);const _=e.computed(()=>n.type==="leftImage"||n.type==="leftText"),C=e.computed(()=>n.type==="textTopImagesBottom"||n.type==="imagesTopTextBottom"||n.type==="textTopImageBottom"||n.type==="imageTopTextBottom"),$=e.computed(()=>n.type==="leftImage"),A=e.computed(()=>n.type==="textTopImagesBottom"||n.type==="textTopImageBottom"),H=e.computed(()=>n.type==="textTopImagesBottom"||n.type==="imagesTopTextBottom"||n.type==="images"),G=e.computed(()=>{const t={"panel-banner":!0,"panel-banner--row":_.value,"panel-banner--column":C.value,"panel-banner--image-only":!_.value&&!C.value};return s.CommonBase.getJsonMerge(t,M.CommonElement.getClassNameJson(n.className))}),V=e.computed(()=>({height:`${s.CommonBase.isFinite(n.imageHeight)&&n.imageHeight>0?n.imageHeight:I}px`})),E=e.computed(()=>{const t=n.titleLines;return{"banner-title--1":t===1,"banner-title--2":t===2||!(t===1||t===2)}}),h=e.computed(()=>{const t=n.descriptionLines;return{"banner-desc--1":t===1,"banner-desc--2":t===2,"banner-desc--3":t===3||!(t===1||t===2||t===3)}}),T=e.computed(()=>{const t=!H.value&&r.value.length<=1;return{"banner-images--gap":n.isImageGap&&!t,"banner-images--single":t}}),d=t=>{const a=r.value[t];a&&u("onClickImage",a,t)},f=()=>{u("onClickTitle")},N=()=>{u("onClickDescription")},x=()=>{u("onClickCustom")},v=()=>{F.value=!0,u("onClose")};return(t,a)=>z.value?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(w),class:e.normalizeClass(G.value)},[_.value?(e.openBlock(),e.createElementBlock("div",O,[$.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"banner-image-wrap",style:e.normalizeStyle(V.value),onClick:a[0]||(a[0]=o=>d(0))},[i.value.src?(e.openBlock(),e.createBlock(B._sfc_main,{key:0,src:i.value.src,alt:i.value.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",j,[g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,name:"close",className:"banner-close banner-close--text",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),m.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["banner-title",E.value]),onClick:f},[e.createElementVNode("div",P,e.toDisplayString(m.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64)),k.value?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass(["banner-desc",h.value]),onClick:N},[e.createElementVNode("div",J,e.toDisplayString(k.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[],64)),p.value||t.$slots.customText?(e.openBlock(),e.createElementBlock("div",{key:6,class:"banner-custom",onClick:x},[e.renderSlot(t.$slots,"customText",{},()=>[e.createTextVNode(e.toDisplayString(p.value),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:7},[],64))]),$.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"banner-image-wrap",style:e.normalizeStyle(V.value),onClick:a[1]||(a[1]=o=>d(0))},[i.value.src?(e.openBlock(),e.createBlock(B._sfc_main,{key:0,src:i.value.src,alt:i.value.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],4))])):C.value?(e.openBlock(),e.createElementBlock("div",R,[A.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",U,[e.createElementVNode("div",W,[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-title",E.value]),onClick:f},[e.createElementVNode("div",Y,e.toDisplayString(m.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:2,name:"close",className:"banner-close banner-close--card",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-desc",h.value]),onClick:N},[e.createElementVNode("div",K,e.toDisplayString(k.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),p.value||t.$slots.customText?(e.openBlock(),e.createElementBlock("div",{key:2,class:"banner-custom",onClick:x},[e.renderSlot(t.$slots,"customText",{},()=>[e.createTextVNode(e.toDisplayString(p.value),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),e.createElementVNode("div",{class:e.normalizeClass(["banner-images",T.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(o,c)=>(e.openBlock(),e.createElementBlock("div",{key:`${b}-coltop-${c}`,class:"banner-image-item",onClick:D=>d(c)},[e.createVNode(B._sfc_main,{src:o.src,alt:o.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])],8,Q))),128))],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass(["banner-images",T.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(o,c)=>(e.openBlock(),e.createElementBlock("div",{key:`${b}-colbottom-${c}`,class:"banner-image-item",onClick:D=>d(c)},[e.createVNode(B._sfc_main,{src:o.src,alt:o.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])],8,X))),128))],2),e.createElementVNode("div",Z,[e.createElementVNode("div",ee,[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-title",E.value]),onClick:f},[e.createElementVNode("div",te,e.toDisplayString(m.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:2,name:"close",className:"banner-close banner-close--card",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-desc",h.value]),onClick:N},[e.createElementVNode("div",ne,e.toDisplayString(k.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),p.value||t.$slots.customText?(e.openBlock(),e.createElementBlock("div",{key:2,class:"banner-custom",onClick:x},[e.renderSlot(t.$slots,"customText",{},()=>[e.createTextVNode(e.toDisplayString(p.value),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))])],64))])):(e.openBlock(),e.createElementBlock("div",oe,[g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,name:"close",className:"banner-close banner-close--image",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",{class:e.normalizeClass(["banner-images",T.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(o,c)=>(e.openBlock(),e.createElementBlock("div",{key:`${b}-image-${c}`,class:"banner-image-item",onClick:D=>d(c)},[e.createVNode(B._sfc_main,{src:o.src,alt:o.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])],8,le))),128))],2)]))],10,q)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))}});exports.DEFAULT_IMAGE_HEIGHT=I;exports.default=ae;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../Shared/base-C2QOJBgB.js"),M=require("../Shared/index-DAgtltwJ.js"),y=require("../Shared/Index.vue_vue_type_script_setup_true_lang-g88DiQYZ.js"),B=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CumTbPny.js"),q=["id"],O={key:0,class:"banner-body banner-body--row"},j={class:"banner-text"},P={class:"banner-title-inner"},J={class:"banner-desc-inner"},R={key:1,class:"banner-body banner-body--column"},U={class:"banner-text banner-text--column"},W={class:"banner-title-line"},Y={class:"banner-title-inner"},K={class:"banner-desc-inner"},Q=["onClick"],X=["onClick"],Z={class:"banner-text banner-text--column"},ee={class:"banner-title-line"},te={class:"banner-title-inner"},ne={class:"banner-desc-inner"},oe={key:2,class:"banner-body"},le=["onClick"],I=120,S=["leftImage","leftText","textTopImagesBottom","imagesTopTextBottom","textTopImageBottom","imageTopTextBottom","image","images"],ae=e.defineComponent({name:"ClBanner",__name:"Index",props:{id:String,className:String,type:{type:String,default:"leftImage",validator:l=>S.indexOf(l)!==-1},imagesList:{type:Array,default:()=>[]},title:String,description:String,titleLines:{type:Number,default:1,validator:l=>l===1||l===2},descriptionLines:{type:Number,default:2,validator:l=>l===1||l===2||l===3},customText:String,isShowClose:{type:Boolean,default:!1},imageHeight:{type:Number,default:I},isImageGap:{type:Boolean,default:!0}},emits:["onClickImage","onClickTitle","onClickDescription","onClickCustom","onClose"],setup(l,{emit:L}){const n=l,u=L,b=`banner-${s.CommonBase.getRandom(5)}`,w=n.id,F=e.ref(!1),z=e.computed(()=>!F.value),g=e.computed(()=>n.isShowClose),r=e.computed(()=>Array.isArray(n.imagesList)?n.imagesList.filter(t=>!!t&&s.CommonBase.isObject(t)&&s.CommonBase.isNonEmptyString(t.src)):[]),i=e.computed(()=>{const t=r.value;return t.length>0?t[0]:{src:"",alt:""}}),m=e.computed(()=>s.CommonBase.isNonEmptyString(n.title)?n.title:""),k=e.computed(()=>s.CommonBase.isNonEmptyString(n.description)?n.description:""),p=e.computed(()=>s.CommonBase.isNonEmptyString(n.customText)?n.customText:"");S.indexOf(n.type)===-1&&console.warn(`[ClBanner] 非法 type「${String(n.type)}」,已回退渲染为纯图模式。合法值:${S.join("、")}`);const _=e.computed(()=>n.type==="leftImage"||n.type==="leftText"),C=e.computed(()=>n.type==="textTopImagesBottom"||n.type==="imagesTopTextBottom"||n.type==="textTopImageBottom"||n.type==="imageTopTextBottom"),$=e.computed(()=>n.type==="leftImage"),A=e.computed(()=>n.type==="textTopImagesBottom"||n.type==="textTopImageBottom"),H=e.computed(()=>n.type==="textTopImagesBottom"||n.type==="imagesTopTextBottom"||n.type==="images"),G=e.computed(()=>{const t={"panel-banner":!0,"panel-banner--row":_.value,"panel-banner--column":C.value,"panel-banner--image-only":!_.value&&!C.value};return s.CommonBase.getJsonMerge(t,M.CommonElement.getClassNameJson(n.className))}),V=e.computed(()=>({height:`${s.CommonBase.isFinite(n.imageHeight)&&n.imageHeight>0?n.imageHeight:I}px`})),E=e.computed(()=>{const t=n.titleLines;return{"banner-title--1":t===1,"banner-title--2":t===2||!(t===1||t===2)}}),h=e.computed(()=>{const t=n.descriptionLines;return{"banner-desc--1":t===1,"banner-desc--2":t===2,"banner-desc--3":t===3||!(t===1||t===2||t===3)}}),T=e.computed(()=>{const t=!H.value&&r.value.length<=1;return{"banner-images--gap":n.isImageGap&&!t,"banner-images--single":t}}),d=t=>{const a=r.value[t];a&&u("onClickImage",a,t)},f=()=>{u("onClickTitle")},N=()=>{u("onClickDescription")},x=()=>{u("onClickCustom")},v=()=>{F.value=!0,u("onClose")};return(t,a)=>z.value?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(w),class:e.normalizeClass(G.value)},[_.value?(e.openBlock(),e.createElementBlock("div",O,[$.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"banner-image-wrap",style:e.normalizeStyle(V.value),onClick:a[0]||(a[0]=o=>d(0))},[i.value.src?(e.openBlock(),e.createBlock(B._sfc_main,{key:0,src:i.value.src,alt:i.value.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",j,[g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,name:"close",className:"banner-close banner-close--text",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),m.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["banner-title",E.value]),onClick:f},[e.createElementVNode("div",P,e.toDisplayString(m.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64)),k.value?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass(["banner-desc",h.value]),onClick:N},[e.createElementVNode("div",J,e.toDisplayString(k.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[],64)),p.value||t.$slots.customText?(e.openBlock(),e.createElementBlock("div",{key:6,class:"banner-custom",onClick:x},[e.renderSlot(t.$slots,"customText",{},()=>[e.createTextVNode(e.toDisplayString(p.value),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:7},[],64))]),$.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"banner-image-wrap",style:e.normalizeStyle(V.value),onClick:a[1]||(a[1]=o=>d(0))},[i.value.src?(e.openBlock(),e.createBlock(B._sfc_main,{key:0,src:i.value.src,alt:i.value.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],4))])):C.value?(e.openBlock(),e.createElementBlock("div",R,[A.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",U,[e.createElementVNode("div",W,[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-title",E.value]),onClick:f},[e.createElementVNode("div",Y,e.toDisplayString(m.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:2,name:"close",className:"banner-close banner-close--card",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-desc",h.value]),onClick:N},[e.createElementVNode("div",K,e.toDisplayString(k.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),p.value||t.$slots.customText?(e.openBlock(),e.createElementBlock("div",{key:2,class:"banner-custom",onClick:x},[e.renderSlot(t.$slots,"customText",{},()=>[e.createTextVNode(e.toDisplayString(p.value),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),e.createElementVNode("div",{class:e.normalizeClass(["banner-images",T.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(o,c)=>(e.openBlock(),e.createElementBlock("div",{key:`${b}-coltop-${c}`,class:"banner-image-item",onClick:D=>d(c)},[e.createVNode(B._sfc_main,{src:o.src,alt:o.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])],8,Q))),128))],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass(["banner-images",T.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(o,c)=>(e.openBlock(),e.createElementBlock("div",{key:`${b}-colbottom-${c}`,class:"banner-image-item",onClick:D=>d(c)},[e.createVNode(B._sfc_main,{src:o.src,alt:o.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])],8,X))),128))],2),e.createElementVNode("div",Z,[e.createElementVNode("div",ee,[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-title",E.value]),onClick:f},[e.createElementVNode("div",te,e.toDisplayString(m.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:2,name:"close",className:"banner-close banner-close--card",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["banner-desc",h.value]),onClick:N},[e.createElementVNode("div",ne,e.toDisplayString(k.value),1)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),p.value||t.$slots.customText?(e.openBlock(),e.createElementBlock("div",{key:2,class:"banner-custom",onClick:x},[e.renderSlot(t.$slots,"customText",{},()=>[e.createTextVNode(e.toDisplayString(p.value),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))])],64))])):(e.openBlock(),e.createElementBlock("div",oe,[g.value?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,name:"close",className:"banner-close banner-close--image",onClick:v})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",{class:e.normalizeClass(["banner-images",T.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(o,c)=>(e.openBlock(),e.createElementBlock("div",{key:`${b}-image-${c}`,class:"banner-image-item",onClick:D=>d(c)},[e.createVNode(B._sfc_main,{src:o.src,alt:o.alt,fit:"cover",width:"100%",height:"100%",className:"banner-image"},null,8,["src","alt"])],8,le))),128))],2)]))],10,q)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))}});exports.DEFAULT_IMAGE_HEIGHT=I;exports.default=ae;
2
2
  //# sourceMappingURL=ClBanner.cjs.map
@@ -2,7 +2,7 @@ import { defineComponent as X, ref as Z, computed as o, openBlock as e, createEl
2
2
  import { C as v } from "../Shared/base-DU7nGSf6.js";
3
3
  import { C as te } from "../Shared/index-DvNmQjNH.js";
4
4
  import { _ as I } from "../Shared/Index.vue_vue_type_script_setup_true_lang-D4kAoS8e.js";
5
- import { _ as T } from "../Shared/Index.vue_vue_type_script_setup_true_lang-C9mOHVoE.js";
5
+ import { _ as T } from "../Shared/Index.vue_vue_type_script_setup_true_lang-B-yZtW91.js";
6
6
  const ne = ["id"], se = {
7
7
  key: 0,
8
8
  class: "banner-body banner-body--row"
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("vue"),d=require("../Shared/base-C2QOJBgB.js"),N=require("../Shared/index-DAgtltwJ.js"),S=["id"],z={class:"dropdownmenum-bar"},M=e.defineComponent({name:"ClDropdownMenuM",__name:"Index",props:{id:String,className:String,activeColor:{type:String,default:"var(--cl-primary)"},direction:{type:String,default:"down",validator:c=>["down","up"].includes(c)},zIndex:{type:Number,default:2e3},duration:{type:Number,default:200},isOverlay:{type:Boolean,default:!0},isCloseOnClickOverlay:{type:Boolean,default:!0},isCloseOnClickOutside:{type:Boolean,default:!0}},emits:["onOpen","onClose","onOpened","onClosed","onClickOverlay"],setup(c,{expose:f,emit:y}){const t=c,s=y,O=t.id,l=e.ref(-1);let u=0;const a=e.ref(null),m=e.computed(()=>t.direction==="up"?"up":"down"),k=e.computed(()=>t.activeColor),p=e.computed(()=>d.CommonBase.isFinite(t.duration)&&t.duration>0?t.duration:200),v=e.computed(()=>{const o=Number(t.zIndex);return d.CommonBase.isFinite(o)&&o>0?Math.round(o):2e3}),g=e.computed(()=>t.isOverlay&&l.value!==-1),w=e.computed(()=>{const o={"panel-dropdownmenum":!0,"dropdownmenum--up":m.value==="up"};return d.CommonBase.getJsonMerge(o,N.CommonElement.getClassNameJson(t.className))}),I=e.computed(()=>({zIndex:v.value-1})),r=o=>{const n=l.value!==-1;l.value=o,o!==-1?n||s("onOpen"):n&&s("onClose")},x=()=>{s("onClickOverlay"),t.isCloseOnClickOverlay&&r(-1)},C=o=>{l.value===o?r(-1):r(o)},B=o=>{r(o)},E=()=>{const o=u;return u++,o};e.provide("$DropdownMenuMTop",{activeIndex:l,direction:m,activeColor:k,zIndex:v,duration:p,registerItem:E,toggleItem:C,setActiveIndex:B});const i=o=>{if(!t.isCloseOnClickOutside||l.value===-1)return;const n=o.target??null;a.value&&a.value.contains(n)||r(-1)};return e.onMounted(()=>{document.addEventListener("click",i)}),e.onActivated(()=>{document.addEventListener("click",i)}),e.onDeactivated(()=>{document.removeEventListener("click",i)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",i)}),f({toggle:o=>{C(o)},open:o=>{r(o)},close:()=>{r(-1)}}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rootEl",ref:a,id:e.unref(O),class:e.normalizeClass(w.value)},[e.createElementVNode("div",z,[e.renderSlot(o.$slots,"default")]),e.createVNode(e.Transition,{name:"dropdownmenum-fade",duration:p.value,onAfterEnter:n[0]||(n[0]=_=>s("onOpened")),onAfterLeave:n[1]||(n[1]=_=>s("onClosed"))},{default:e.withCtx(()=>[g.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"dropdownmenum-overlay",style:e.normalizeStyle(I.value),onClick:x},null,4)):e.createCommentVNode("",!0)]),_:1},8,["duration"])],10,S))}});module.exports=M;
1
+ "use strict";const e=require("vue"),u=require("../Shared/base-C2QOJBgB.js"),N=require("../Shared/index-DAgtltwJ.js");;/* empty css */const S=["id"],z={class:"dropdownmenum-bar"},M=e.defineComponent({name:"ClDropdownMenuM",__name:"Index",props:{id:String,className:String,activeColor:{type:String,default:"var(--cl-primary)"},direction:{type:String,default:"down",validator:c=>["down","up"].includes(c)},zIndex:{type:Number,default:2e3},duration:{type:Number,default:200},isOverlay:{type:Boolean,default:!0},isCloseOnClickOverlay:{type:Boolean,default:!0},isCloseOnClickOutside:{type:Boolean,default:!0}},emits:["onOpen","onClose","onOpened","onClosed","onClickOverlay"],setup(c,{expose:f,emit:y}){const t=c,s=y,O=t.id,l=e.ref(-1);let d=0;const a=e.ref(null),m=e.computed(()=>t.direction==="up"?"up":"down"),k=e.computed(()=>t.activeColor),p=e.computed(()=>u.CommonBase.isFinite(t.duration)&&t.duration>0?t.duration:200),v=e.computed(()=>{const o=Number(t.zIndex);return u.CommonBase.isFinite(o)&&o>0?Math.round(o):2e3}),g=e.computed(()=>t.isOverlay&&l.value!==-1),w=e.computed(()=>{const o={"panel-dropdownmenum":!0,"dropdownmenum--up":m.value==="up"};return u.CommonBase.getJsonMerge(o,N.CommonElement.getClassNameJson(t.className))}),I=e.computed(()=>({zIndex:v.value-1})),r=o=>{const n=l.value!==-1;l.value=o,o!==-1?n||s("onOpen"):n&&s("onClose")},x=()=>{s("onClickOverlay"),t.isCloseOnClickOverlay&&r(-1)},C=o=>{l.value===o?r(-1):r(o)},B=o=>{r(o)},E=()=>{const o=d;return d++,o};e.provide("$DropdownMenuMTop",{activeIndex:l,direction:m,activeColor:k,zIndex:v,duration:p,registerItem:E,toggleItem:C,setActiveIndex:B});const i=o=>{if(!t.isCloseOnClickOutside||l.value===-1)return;const n=o.target??null;a.value&&a.value.contains(n)||r(-1)};return e.onMounted(()=>{document.addEventListener("click",i)}),e.onActivated(()=>{document.addEventListener("click",i)}),e.onDeactivated(()=>{document.removeEventListener("click",i)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",i)}),f({toggle:o=>{C(o)},open:o=>{r(o)},close:()=>{r(-1)}}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rootEl",ref:a,id:e.unref(O),class:e.normalizeClass(w.value)},[e.createElementVNode("div",z,[e.renderSlot(o.$slots,"default")]),e.createVNode(e.Transition,{name:"dropdownmenum-fade",duration:p.value,onAfterEnter:n[0]||(n[0]=_=>s("onOpened")),onAfterLeave:n[1]||(n[1]=_=>s("onClosed"))},{default:e.withCtx(()=>[g.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"dropdownmenum-overlay",style:e.normalizeStyle(I.value),onClick:x},null,4)):e.createCommentVNode("",!0)]),_:1},8,["duration"])],10,S))}});module.exports=M;
2
2
  //# sourceMappingURL=ClDropdownMenuM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClDropdownMenuM.cjs","sources":["../../../src/libs/Mobile/DropdownMenuM/Index.vue"],"sourcesContent":["<template>\n <div\n ref=\"rootEl\"\n :id=\"elId\"\n :class=\"clsParent\"\n >\n <div class=\"dropdownmenum-bar\">\n <slot></slot>\n </div>\n <Transition\n name=\"dropdownmenum-fade\"\n :duration=\"optDuration\"\n @after-enter=\"emit('onOpened')\"\n @after-leave=\"emit('onClosed')\"\n >\n <div\n v-if=\"optIsShowOverlay\"\n class=\"dropdownmenum-overlay\"\n :style=\"styOverlay\"\n @click=\"onClickOverlay\"\n ></div>\n </Transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, onActivated, onBeforeUnmount, onDeactivated, onMounted, provide, ref } from 'vue';\nimport CommonBase from '../../Common/base';\nimport CommonElement from '../../Common/Element/index';\nimport './Index.css';\n\n// 容器向下提供的上下文(配置项为 computed,保证响应式:父 props 变更后子项同步)\nexport interface DropdownMenuMTop {\n activeIndex: import('vue').Ref<number>;\n direction: import('vue').ComputedRef<string>;\n activeColor: import('vue').ComputedRef<string>;\n zIndex: import('vue').ComputedRef<number>;\n duration: import('vue').ComputedRef<number>;\n registerItem: () => number;\n toggleItem: (index: number) => void;\n setActiveIndex: (index: number) => void;\n}\n\ndefineOptions({ name: 'ClDropdownMenuM' });\n\nconst props = defineProps({\n id: String, // desc: 组件实例唯一标识,用于多实例场景下 DOM 查询限定\n className: String, // desc: 自定义CSS类名\n activeColor: {\n type: String,\n default: 'var(--cl-primary)', // desc: 菜单标题和选项的选中态颜色\n },\n direction: {\n type: String,\n default: 'down', // desc: 菜单展开方向 | enum: down, up\n validator: (v: string) => ['down', 'up'].includes(v),\n },\n zIndex: {\n type: Number,\n default: 2000, // desc: 菜单栏 z-index 层级\n },\n duration: {\n type: Number,\n default: 200, // desc: 菜单展开/收起动画时长(ms)\n },\n isOverlay: {\n type: Boolean,\n default: true, // desc: 是否显示遮罩层\n },\n isCloseOnClickOverlay: {\n type: Boolean,\n default: true, // desc: 点击遮罩层后是否关闭菜单\n },\n isCloseOnClickOutside: {\n type: Boolean,\n default: true, // desc: 是否在点击外部元素后关闭菜单\n },\n});\n\n// emit\nconst emit = defineEmits<{\n (e: 'onOpen'): void; // desc: 打开菜单时触发\n (e: 'onClose'): void; // desc: 关闭菜单时触发\n (e: 'onOpened'): void; // desc: 打开动画结束后触发\n (e: 'onClosed'): void; // desc: 关闭动画结束后触发\n (e: 'onClickOverlay'): void; // desc: 点击遮罩层时触发\n}>();\n\n// slots: default(菜单项列表)\n\nconst elId = props.id; // || `dropdownmenum-${CommonBase.getRandom(8)}`\n\n// 当前展开的菜单项索引,-1 表示全部收起\nconst activeIndex = ref(-1);\n// 子项注册序号(每个 DropdownMenuItemM 挂载时递增取号)\nlet _itemSeq = 0;\n// 根元素(点击外部关闭判定)\nconst rootEl = ref<HTMLElement | null>(null);\n\n// computed\nconst optDirection = computed(() => (props.direction === 'up' ? 'up' : 'down'));\n\nconst optActiveColor = computed(() => props.activeColor);\n\nconst optDuration = computed(() =>\n CommonBase.isFinite(props.duration) && props.duration > 0 ? props.duration : 200,\n);\n\nconst optZIndex = computed(() => {\n const z = Number(props.zIndex);\n return CommonBase.isFinite(z) && z > 0 ? Math.round(z) : 2000;\n});\n\nconst optIsShowOverlay = computed(() => props.isOverlay && activeIndex.value !== -1);\n\nconst clsParent = computed(() => {\n const clsTemp: Record<string, boolean> = {\n 'panel-dropdownmenum': true,\n 'dropdownmenum--up': optDirection.value === 'up',\n };\n return CommonBase.getJsonMerge(clsTemp, CommonElement.getClassNameJson(props.className));\n});\n\nconst styOverlay = computed(() => ({\n zIndex: optZIndex.value - 1,\n}));\n\n// 内部方法\nconst _setActive = (index: number) => {\n const wasOpen = activeIndex.value !== -1;\n activeIndex.value = index;\n if (index !== -1) {\n if (!wasOpen) {\n emit('onOpen');\n }\n } else {\n if (wasOpen) {\n emit('onClose');\n }\n }\n};\n\n// 事件方法\nconst onClickOverlay = () => {\n emit('onClickOverlay');\n if (props.isCloseOnClickOverlay) {\n _setActive(-1);\n }\n};\n\n// 对外开放:切换/设置当前展开项\nconst toggleItem = (index: number) => {\n if (activeIndex.value === index) {\n _setActive(-1);\n } else {\n _setActive(index);\n }\n};\n\nconst setActiveIndex = (index: number) => {\n _setActive(index);\n};\n\n// 子项注册:返回该子项在容器内的序号(index)\nconst registerItem = (): number => {\n const index = _itemSeq;\n _itemSeq++;\n return index;\n};\n\n// provide(配置项传 computed,父 props 变更子项实时同步)\nprovide<DropdownMenuMTop>('$DropdownMenuMTop', {\n activeIndex,\n direction: optDirection,\n activeColor: optActiveColor,\n zIndex: optZIndex,\n duration: optDuration,\n registerItem,\n toggleItem,\n setActiveIndex,\n});\n\n// 点击外部关闭(isCloseOnClickOutside)\nconst _onDocumentClick = (event: MouseEvent) => {\n if (!props.isCloseOnClickOutside) return;\n if (activeIndex.value === -1) return;\n const el = (event.target as Node | null) ?? null;\n if (rootEl.value && rootEl.value.contains(el)) return;\n _setActive(-1);\n};\n\n// 生命周期(keep-alive 缓存时暂停/恢复监听)\nonMounted(() => {\n document.addEventListener('click', _onDocumentClick);\n});\nonActivated(() => {\n document.addEventListener('click', _onDocumentClick);\n});\nonDeactivated(() => {\n document.removeEventListener('click', _onDocumentClick);\n});\nonBeforeUnmount(() => {\n document.removeEventListener('click', _onDocumentClick);\n});\n\n// 开放给外部使用的方法(Vant DropdownMenu 同款 API)\nconst toggle = (index: number) => {\n toggleItem(index);\n};\n\nconst open = (index: number) => {\n _setActive(index);\n};\n\nconst close = () => {\n _setActive(-1);\n};\n\n// 导出类型定义(在 defineExpose 之前)\nexport interface ClDropdownMenuMExpose {\n toggle: (index: number) => void;\n open: (index: number) => void;\n close: () => void;\n}\n\n// defineExpose(必须放在最后)\ndefineExpose({\n toggle,\n open,\n close,\n});\n</script>\n"],"names":["props","__props","emit","__emit","elId","activeIndex","ref","_itemSeq","rootEl","optDirection","computed","optActiveColor","optDuration","CommonBase","optZIndex","z","optIsShowOverlay","clsParent","clsTemp","CommonElement","styOverlay","_setActive","index","wasOpen","onClickOverlay","toggleItem","setActiveIndex","registerItem","provide","_onDocumentClick","event","el","onMounted","onActivated","onDeactivated","onBeforeUnmount","__expose","_createElementBlock","_unref","_createElementVNode","_hoisted_2","_renderSlot","_ctx","_createVNode","_Transition"],"mappings":"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"}
1
+ {"version":3,"file":"ClDropdownMenuM.cjs","sources":["../../../src/libs/Mobile/DropdownMenuM/Index.vue"],"sourcesContent":["<template>\n <div\n ref=\"rootEl\"\n :id=\"elId\"\n :class=\"clsParent\"\n >\n <div class=\"dropdownmenum-bar\">\n <slot></slot>\n </div>\n <Transition\n name=\"dropdownmenum-fade\"\n :duration=\"optDuration\"\n @after-enter=\"emit('onOpened')\"\n @after-leave=\"emit('onClosed')\"\n >\n <div\n v-if=\"optIsShowOverlay\"\n class=\"dropdownmenum-overlay\"\n :style=\"styOverlay\"\n @click=\"onClickOverlay\"\n ></div>\n </Transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, onActivated, onBeforeUnmount, onDeactivated, onMounted, provide, ref } from 'vue';\nimport CommonBase from '../../Common/base';\nimport CommonElement from '../../Common/Element/index';\nimport './Index.css';\n\n// 容器向下提供的上下文(配置项为 computed,保证响应式:父 props 变更后子项同步)\nexport interface DropdownMenuMTop {\n activeIndex: import('vue').Ref<number>;\n direction: import('vue').ComputedRef<string>;\n activeColor: import('vue').ComputedRef<string>;\n zIndex: import('vue').ComputedRef<number>;\n duration: import('vue').ComputedRef<number>;\n registerItem: () => number;\n toggleItem: (index: number) => void;\n setActiveIndex: (index: number) => void;\n}\n\ndefineOptions({ name: 'ClDropdownMenuM' });\n\nconst props = defineProps({\n id: String, // desc: 组件实例唯一标识,用于多实例场景下 DOM 查询限定\n className: String, // desc: 自定义CSS类名\n activeColor: {\n type: String,\n default: 'var(--cl-primary)', // desc: 菜单标题和选项的选中态颜色\n },\n direction: {\n type: String,\n default: 'down', // desc: 菜单展开方向 | enum: down, up\n validator: (v: string) => ['down', 'up'].includes(v),\n },\n zIndex: {\n type: Number,\n default: 2000, // desc: 菜单栏 z-index 层级\n },\n duration: {\n type: Number,\n default: 200, // desc: 菜单展开/收起动画时长(ms)\n },\n isOverlay: {\n type: Boolean,\n default: true, // desc: 是否显示遮罩层\n },\n isCloseOnClickOverlay: {\n type: Boolean,\n default: true, // desc: 点击遮罩层后是否关闭菜单\n },\n isCloseOnClickOutside: {\n type: Boolean,\n default: true, // desc: 是否在点击外部元素后关闭菜单\n },\n});\n\n// emit\nconst emit = defineEmits<{\n (e: 'onOpen'): void; // desc: 打开菜单时触发\n (e: 'onClose'): void; // desc: 关闭菜单时触发\n (e: 'onOpened'): void; // desc: 打开动画结束后触发\n (e: 'onClosed'): void; // desc: 关闭动画结束后触发\n (e: 'onClickOverlay'): void; // desc: 点击遮罩层时触发\n}>();\n\n// slots: default(菜单项列表)\n\nconst elId = props.id; // || `dropdownmenum-${CommonBase.getRandom(8)}`\n\n// 当前展开的菜单项索引,-1 表示全部收起\nconst activeIndex = ref(-1);\n// 子项注册序号(每个 DropdownMenuItemM 挂载时递增取号)\nlet _itemSeq = 0;\n// 根元素(点击外部关闭判定)\nconst rootEl = ref<HTMLElement | null>(null);\n\n// computed\nconst optDirection = computed(() => (props.direction === 'up' ? 'up' : 'down'));\n\nconst optActiveColor = computed(() => props.activeColor);\n\nconst optDuration = computed(() =>\n CommonBase.isFinite(props.duration) && props.duration > 0 ? props.duration : 200,\n);\n\nconst optZIndex = computed(() => {\n const z = Number(props.zIndex);\n return CommonBase.isFinite(z) && z > 0 ? Math.round(z) : 2000;\n});\n\nconst optIsShowOverlay = computed(() => props.isOverlay && activeIndex.value !== -1);\n\nconst clsParent = computed(() => {\n const clsTemp: Record<string, boolean> = {\n 'panel-dropdownmenum': true,\n 'dropdownmenum--up': optDirection.value === 'up',\n };\n return CommonBase.getJsonMerge(clsTemp, CommonElement.getClassNameJson(props.className));\n});\n\nconst styOverlay = computed(() => ({\n zIndex: optZIndex.value - 1,\n}));\n\n// 内部方法\nconst _setActive = (index: number) => {\n const wasOpen = activeIndex.value !== -1;\n activeIndex.value = index;\n if (index !== -1) {\n if (!wasOpen) {\n emit('onOpen');\n }\n } else {\n if (wasOpen) {\n emit('onClose');\n }\n }\n};\n\n// 事件方法\nconst onClickOverlay = () => {\n emit('onClickOverlay');\n if (props.isCloseOnClickOverlay) {\n _setActive(-1);\n }\n};\n\n// 对外开放:切换/设置当前展开项\nconst toggleItem = (index: number) => {\n if (activeIndex.value === index) {\n _setActive(-1);\n } else {\n _setActive(index);\n }\n};\n\nconst setActiveIndex = (index: number) => {\n _setActive(index);\n};\n\n// 子项注册:返回该子项在容器内的序号(index)\nconst registerItem = (): number => {\n const index = _itemSeq;\n _itemSeq++;\n return index;\n};\n\n// provide(配置项传 computed,父 props 变更子项实时同步)\nprovide<DropdownMenuMTop>('$DropdownMenuMTop', {\n activeIndex,\n direction: optDirection,\n activeColor: optActiveColor,\n zIndex: optZIndex,\n duration: optDuration,\n registerItem,\n toggleItem,\n setActiveIndex,\n});\n\n// 点击外部关闭(isCloseOnClickOutside)\nconst _onDocumentClick = (event: MouseEvent) => {\n if (!props.isCloseOnClickOutside) return;\n if (activeIndex.value === -1) return;\n const el = (event.target as Node | null) ?? null;\n if (rootEl.value && rootEl.value.contains(el)) return;\n _setActive(-1);\n};\n\n// 生命周期(keep-alive 缓存时暂停/恢复监听)\nonMounted(() => {\n document.addEventListener('click', _onDocumentClick);\n});\nonActivated(() => {\n document.addEventListener('click', _onDocumentClick);\n});\nonDeactivated(() => {\n document.removeEventListener('click', _onDocumentClick);\n});\nonBeforeUnmount(() => {\n document.removeEventListener('click', _onDocumentClick);\n});\n\n// 开放给外部使用的方法(Vant DropdownMenu 同款 API)\nconst toggle = (index: number) => {\n toggleItem(index);\n};\n\nconst open = (index: number) => {\n _setActive(index);\n};\n\nconst close = () => {\n _setActive(-1);\n};\n\n// 导出类型定义(在 defineExpose 之前)\nexport interface ClDropdownMenuMExpose {\n toggle: (index: number) => void;\n open: (index: number) => void;\n close: () => void;\n}\n\n// defineExpose(必须放在最后)\ndefineExpose({\n toggle,\n open,\n close,\n});\n</script>\n"],"names":["props","__props","emit","__emit","elId","activeIndex","ref","_itemSeq","rootEl","optDirection","computed","optActiveColor","optDuration","CommonBase","optZIndex","z","optIsShowOverlay","clsParent","clsTemp","CommonElement","styOverlay","_setActive","index","wasOpen","onClickOverlay","toggleItem","setActiveIndex","registerItem","provide","_onDocumentClick","event","el","onMounted","onActivated","onDeactivated","onBeforeUnmount","__expose","_createElementBlock","_unref","_createElementVNode","_hoisted_2","_renderSlot","_ctx","_createVNode","_Transition"],"mappings":"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"}
@@ -1,7 +1,8 @@
1
1
  import { defineComponent as z, ref as C, computed as r, provide as A, onMounted as B, onActivated as M, onDeactivated as D, onBeforeUnmount as L, openBlock as y, createElementBlock as O, normalizeClass as b, unref as $, createElementVNode as T, renderSlot as V, createVNode as h, Transition as F, withCtx as J, normalizeStyle as q, createCommentVNode as P } from "vue";
2
2
  import { C as c } from "../Shared/base-DU7nGSf6.js";
3
3
  import { C as U } from "../Shared/index-DvNmQjNH.js";
4
- const Z = ["id"], j = { class: "dropdownmenum-bar" }, ee = /* @__PURE__ */ z({
4
+ /* empty css */
5
+ const Z = ["id"], j = { class: "dropdownmenum-bar" }, te = /* @__PURE__ */ z({
5
6
  name: "ClDropdownMenuM",
6
7
  __name: "Index",
7
8
  props: {
@@ -48,7 +49,7 @@ const Z = ["id"], j = { class: "dropdownmenum-bar" }, ee = /* @__PURE__ */ z({
48
49
  },
49
50
  emits: ["onOpen", "onClose", "onOpened", "onClosed", "onClickOverlay"],
50
51
  setup(a, { expose: k, emit: g }) {
51
- const t = a, s = g, I = t.id, l = C(-1);
52
+ const t = a, i = g, I = t.id, l = C(-1);
52
53
  let u = 0;
53
54
  const d = C(null), m = r(() => t.direction === "up" ? "up" : "down"), w = r(() => t.activeColor), p = r(
54
55
  () => c.isFinite(t.duration) && t.duration > 0 ? t.duration : 200
@@ -65,9 +66,9 @@ const Z = ["id"], j = { class: "dropdownmenum-bar" }, ee = /* @__PURE__ */ z({
65
66
  zIndex: v.value - 1
66
67
  })), n = (e) => {
67
68
  const o = l.value !== -1;
68
- l.value = e, e !== -1 ? o || s("onOpen") : o && s("onClose");
69
+ l.value = e, e !== -1 ? o || i("onOpen") : o && i("onClose");
69
70
  }, N = () => {
70
- s("onClickOverlay"), t.isCloseOnClickOverlay && n(-1);
71
+ i("onClickOverlay"), t.isCloseOnClickOverlay && n(-1);
71
72
  }, f = (e) => {
72
73
  l.value === e ? n(-1) : n(e);
73
74
  };
@@ -86,19 +87,19 @@ const Z = ["id"], j = { class: "dropdownmenum-bar" }, ee = /* @__PURE__ */ z({
86
87
  n(e);
87
88
  }
88
89
  });
89
- const i = (e) => {
90
+ const s = (e) => {
90
91
  if (!t.isCloseOnClickOutside || l.value === -1) return;
91
92
  const o = e.target ?? null;
92
93
  d.value && d.value.contains(o) || n(-1);
93
94
  };
94
95
  return B(() => {
95
- document.addEventListener("click", i);
96
+ document.addEventListener("click", s);
96
97
  }), M(() => {
97
- document.addEventListener("click", i);
98
+ document.addEventListener("click", s);
98
99
  }), D(() => {
99
- document.removeEventListener("click", i);
100
+ document.removeEventListener("click", s);
100
101
  }), L(() => {
101
- document.removeEventListener("click", i);
102
+ document.removeEventListener("click", s);
102
103
  }), k({
103
104
  toggle: (e) => {
104
105
  f(e);
@@ -121,8 +122,8 @@ const Z = ["id"], j = { class: "dropdownmenum-bar" }, ee = /* @__PURE__ */ z({
121
122
  h(F, {
122
123
  name: "dropdownmenum-fade",
123
124
  duration: p.value,
124
- onAfterEnter: o[0] || (o[0] = (S) => s("onOpened")),
125
- onAfterLeave: o[1] || (o[1] = (S) => s("onClosed"))
125
+ onAfterEnter: o[0] || (o[0] = (S) => i("onOpened")),
126
+ onAfterLeave: o[1] || (o[1] = (S) => i("onClosed"))
126
127
  }, {
127
128
  default: J(() => [
128
129
  x.value ? (y(), O("div", {
@@ -138,6 +139,6 @@ const Z = ["id"], j = { class: "dropdownmenum-bar" }, ee = /* @__PURE__ */ z({
138
139
  }
139
140
  });
140
141
  export {
141
- ee as default
142
+ te as default
142
143
  };
143
144
  //# sourceMappingURL=ClDropdownMenuM.js.map