@cldemo/ui-kit 1.0.17 → 1.1.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 (841) hide show
  1. package/COMPONENT_CATALOG.md +5 -5
  2. package/README.md +15 -69
  3. package/buildLibs/{mobile/BallColor4-DpnfFrBL.js → all/BallColor4-CYDMNYIL.js} +1 -1
  4. package/buildLibs/all/{BallColor4-DkQt6rSf.cjs → BallColor4-CaqTfMcX.cjs} +1 -1
  5. package/buildLibs/all/{ToastRing-B-erJp2o.js → ToastRing-BW0hddZN.js} +1 -1
  6. package/buildLibs/{web/ToastRing-DKVLp5rZ.cjs → all/ToastRing-DqiGLTLN.cjs} +1 -1
  7. package/buildLibs/all/{Video-BwDG93FI.cjs → Video-BV-GRW4X.cjs} +1 -1
  8. package/buildLibs/all/{Video-CMkViuqG.js → Video-Bbk0_YWw.js} +1 -1
  9. package/buildLibs/all/index-Cap0WJgK.cjs +14 -0
  10. package/buildLibs/all/{index-DA_I2NVO.js → index-sPYdePtz.js} +17012 -16694
  11. package/buildLibs/all/index.cjs +1 -1
  12. package/buildLibs/all/index.css +1 -1
  13. package/buildLibs/all/index.js +75 -75
  14. package/buildLibs/common/Common/Element/Event/drag.d.ts +7 -1
  15. package/buildLibs/common/Common/Tools/device.d.ts +2 -2
  16. package/buildLibs/common/Common/base.d.ts +2 -2
  17. package/buildLibs/common/Common/globalConfig.d.ts +18 -3
  18. package/buildLibs/common/Element/Event/drag.cjs +1 -1
  19. package/buildLibs/common/Element/Event/drag.js +26 -14
  20. package/buildLibs/common/Tools/device.cjs +1 -1
  21. package/buildLibs/common/Tools/device.js +27 -27
  22. package/buildLibs/common/axios.cjs +1 -1
  23. package/buildLibs/common/axios.js +20 -14
  24. package/buildLibs/common/base.cjs +1 -1
  25. package/buildLibs/common/base.js +10 -10
  26. package/buildLibs/common/day.js +14 -5
  27. package/buildLibs/{web/BallColor4-BahMtWFj.cjs → mobile/BallColor4-C7lQaABY.cjs} +1 -1
  28. package/buildLibs/{all/BallColor4-UHANgP7D.js → mobile/BallColor4-DogqtiHo.js} +1 -1
  29. package/buildLibs/mobile/{ToastRing-hBf9THbv.cjs → ToastRing-BQAASeWu.cjs} +1 -1
  30. package/buildLibs/mobile/{ToastRing-Dj7ooJtL.js → ToastRing-ZSOlED5s.js} +1 -1
  31. package/buildLibs/mobile/{index-BugOQA6Z.js → index-Bh4jt080.js} +7986 -7774
  32. package/buildLibs/mobile/index-DmdxP8hd.cjs +10 -0
  33. package/buildLibs/mobile/index.cjs +1 -1
  34. package/buildLibs/mobile/index.css +1 -1
  35. package/buildLibs/mobile/index.js +67 -67
  36. package/buildLibs/modules/actionSheet.js +5 -5
  37. package/buildLibs/modules/anchorNav.js +4 -4
  38. package/buildLibs/modules/backTop.js +3 -3
  39. package/buildLibs/modules/badge.js +1 -1
  40. package/buildLibs/modules/banner.js +4 -4
  41. package/buildLibs/modules/breadcrumb.js +3 -3
  42. package/buildLibs/modules/button.js +1 -1
  43. package/buildLibs/modules/calendar.js +32 -32
  44. package/buildLibs/modules/calendarM.js +61 -65
  45. package/buildLibs/modules/callout.js +2 -2
  46. package/buildLibs/modules/card.js +1 -1
  47. package/buildLibs/modules/cardColor.js +2 -2
  48. package/buildLibs/modules/cell.js +3 -3
  49. package/buildLibs/modules/cellSwipe.js +2 -2
  50. package/buildLibs/modules/checkbox.js +1 -1
  51. package/buildLibs/modules/checkboxOne.js +1 -1
  52. package/buildLibs/modules/clipboard.js +1 -1
  53. package/buildLibs/modules/codeLegend.js +3 -3
  54. package/buildLibs/modules/codeLegendM.js +4 -4
  55. package/buildLibs/modules/collapse.js +3 -3
  56. package/buildLibs/modules/colorPicker.js +8 -8
  57. package/buildLibs/modules/countDown.js +2 -2
  58. package/buildLibs/modules/cropper.js +1 -1
  59. package/buildLibs/modules/cropperM.js +6 -6
  60. package/buildLibs/modules/cropperPreview.js +6 -6
  61. package/buildLibs/modules/darg.js +2 -2
  62. package/buildLibs/modules/dateTime.js +1 -1
  63. package/buildLibs/modules/divider.js +2 -80
  64. package/buildLibs/modules/dropdownMenu.js +110 -48
  65. package/buildLibs/modules/dropdownMenuItem.js +44 -27
  66. package/buildLibs/modules/dropdownMenuM.js +2 -2
  67. package/buildLibs/modules/dropdownMenuMItem.js +4 -4
  68. package/buildLibs/modules/dropdownPopup.js +3 -3
  69. package/buildLibs/modules/echarts.js +1 -1
  70. package/buildLibs/modules/echartsLineAxisTag.js +4 -4
  71. package/buildLibs/modules/ellipsis.js +1 -1
  72. package/buildLibs/modules/empty.js +2 -2
  73. package/buildLibs/modules/fileUpload.js +1 -1
  74. package/buildLibs/modules/floatBubble.cjs +5 -0
  75. package/buildLibs/modules/floatBubble.d.ts +1 -0
  76. package/buildLibs/modules/{floatingBubble.js → floatBubble.js} +39 -39
  77. package/buildLibs/modules/floatPanel.cjs +5 -0
  78. package/buildLibs/modules/floatPanel.d.ts +1 -0
  79. package/buildLibs/modules/{floatingPanel.js → floatPanel.js} +96 -96
  80. package/buildLibs/modules/form.js +1 -1
  81. package/buildLibs/modules/formGroupBtns.js +3 -3
  82. package/buildLibs/modules/formGroupHorizontal.js +1 -1
  83. package/buildLibs/modules/formGroupVertical.js +2 -2
  84. package/buildLibs/modules/formValidate.js +1 -1
  85. package/buildLibs/modules/framePhone.js +1 -1
  86. package/buildLibs/modules/grid.js +3 -3
  87. package/buildLibs/modules/iconFont.js +1 -1
  88. package/buildLibs/modules/image.js +1 -1
  89. package/buildLibs/modules/indexBar.js +2 -2
  90. package/buildLibs/modules/input.js +1 -1
  91. package/buildLibs/modules/inputCaptcha.js +3 -3
  92. package/buildLibs/modules/inputNumber.js +1 -1
  93. package/buildLibs/modules/inputNumberStepper.js +1 -1
  94. package/buildLibs/modules/inputPassword.js +4 -4
  95. package/buildLibs/modules/inputPin.cjs +5 -0
  96. package/buildLibs/modules/inputPin.d.ts +1 -0
  97. package/buildLibs/modules/inputPin.js +182 -0
  98. package/buildLibs/modules/inputSearch.js +1 -1
  99. package/buildLibs/modules/inputTag.js +1 -1
  100. package/buildLibs/modules/inputTextarea.js +1 -1
  101. package/buildLibs/modules/link.js +1 -1
  102. package/buildLibs/modules/load.js +1 -1
  103. package/buildLibs/modules/loadFullCenter.js +2 -2
  104. package/buildLibs/modules/loadIng.js +1 -1
  105. package/buildLibs/modules/loadScreen.js +4 -4
  106. package/buildLibs/modules/loadWarp.js +3 -3
  107. package/buildLibs/modules/modal.js +1 -1
  108. package/buildLibs/modules/navBar.js +3 -3
  109. package/buildLibs/modules/noticeBar.js +19 -19
  110. package/buildLibs/modules/notifyM.js +199 -97
  111. package/buildLibs/modules/numberKeyboard.js +36 -36
  112. package/buildLibs/modules/numberRoll.js +2 -2
  113. package/buildLibs/modules/overlay.js +1 -1
  114. package/buildLibs/modules/paginate.js +1 -1
  115. package/buildLibs/modules/picker.js +1 -1
  116. package/buildLibs/modules/pickerArea.cjs +5 -0
  117. package/buildLibs/modules/pickerArea.d.ts +1 -0
  118. package/buildLibs/modules/pickerArea.js +255 -0
  119. package/buildLibs/modules/pickerCascader.js +4 -4
  120. package/buildLibs/modules/pickerDate.js +71 -71
  121. package/buildLibs/modules/pickerTime.js +56 -56
  122. package/buildLibs/modules/popup.js +1 -1
  123. package/buildLibs/modules/portlet.js +2 -2
  124. package/buildLibs/modules/previewExample.js +1 -1
  125. package/buildLibs/modules/progress.js +3 -3
  126. package/buildLibs/modules/pullToRefresh.js +1 -1
  127. package/buildLibs/modules/radio.js +1 -1
  128. package/buildLibs/modules/radioOne.js +1 -1
  129. package/buildLibs/modules/rate.js +3 -3
  130. package/buildLibs/modules/scrollCard.js +220 -200
  131. package/buildLibs/modules/scrollXFence.js +1 -1
  132. package/buildLibs/modules/select.js +1 -1
  133. package/buildLibs/modules/selectCascade.js +1 -1
  134. package/buildLibs/modules/selectMove.js +8 -8
  135. package/buildLibs/modules/selectTag.js +1 -1
  136. package/buildLibs/modules/selectTree.js +6 -6
  137. package/buildLibs/modules/sharePanel.cjs +5 -0
  138. package/buildLibs/modules/sharePanel.d.ts +1 -0
  139. package/buildLibs/modules/{shareSheet.js → sharePanel.js} +52 -52
  140. package/buildLibs/modules/shared/{BallColor4-DLGMFp7g.js → BallColor4-Dw8bQzLW.js} +1 -1
  141. package/buildLibs/{utils/Shared/Base.vue_vue_type_script_setup_true_lang-Z6sD7O6T.js → modules/shared/Base.vue_vue_type_script_setup_true_lang-DaZg8_tt.js} +81 -70
  142. package/buildLibs/modules/shared/Column.vue_vue_type_script_setup_true_lang-rT_ICHhO.js +174 -0
  143. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-B8nfrdHt.js → Index.vue_vue_type_script_setup_true_lang-5TIkYSxG.js} +2 -2
  144. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-Axa69KHA.js +939 -0
  145. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-DZRko_Hq.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-B9M3m9HE.js} +6 -6
  146. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-CG4BhqfV.js → Index.vue_vue_type_script_setup_true_lang-BkR-sQJt.js} +2 -2
  147. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-EjdgvHF5.js → Index.vue_vue_type_script_setup_true_lang-C1bquiI9.js} +2 -2
  148. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvcWTBEv.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-C2EI2VnJ.js} +4 -4
  149. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BH8ejOuv.js → Index.vue_vue_type_script_setup_true_lang-C5i17oB9.js} +5 -5
  150. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-1gL-yfzx.js → Index.vue_vue_type_script_setup_true_lang-CQ-_RRa-.js} +3 -3
  151. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-CkUfNTb6.js → Index.vue_vue_type_script_setup_true_lang-CSV3c0_h.js} +3 -3
  152. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-x28PWOid.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-CVSATrNA.js} +3 -3
  153. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-XWxNmuC2.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-CYRh_OzP.js} +5 -5
  154. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BESTuFHY.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-CoQ8bldZ.js} +2 -2
  155. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DTtbdgoO.js → Index.vue_vue_type_script_setup_true_lang-Cp5rYwnC.js} +28 -25
  156. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-CqIT3zxY.js +82 -0
  157. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-D0LqAmBY.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D0_5BgAN.js} +9 -9
  158. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-e41SaSkr.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D0oA7-eQ.js} +2 -2
  159. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-CMK-TwEo.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D0s2DEcR.js} +13 -13
  160. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-D5akRc9d.js +380 -0
  161. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BgFzdwmp.js → Index.vue_vue_type_script_setup_true_lang-D6gcg5sW.js} +46 -46
  162. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Cukt_Rkd.js → Index.vue_vue_type_script_setup_true_lang-D8H72Fc9.js} +2 -2
  163. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DEi_COkc.js → Index.vue_vue_type_script_setup_true_lang-DB10zsLZ.js} +5 -5
  164. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BZSJp1GF.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DBo8NT25.js} +3 -3
  165. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-bmKRziC6.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DG98f73r.js} +3 -3
  166. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-DKe5rvrv.js +213 -0
  167. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Dt9cW3rp.js → Index.vue_vue_type_script_setup_true_lang-DWJ1bJbw.js} +8 -8
  168. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-iMbGY-sX.js → Index.vue_vue_type_script_setup_true_lang-DX5H6qmm.js} +108 -108
  169. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVBKgYfQ.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DapaVMSO.js} +2 -2
  170. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-B0I5VIPk.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DkCTGpCo.js} +3 -3
  171. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Cy8lSIYw.js → Index.vue_vue_type_script_setup_true_lang-DpEMLNQd.js} +23 -18
  172. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Bn3j7iE7.js → Index.vue_vue_type_script_setup_true_lang-DtsjjKBG.js} +6 -6
  173. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BBVM_RnZ.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-Dy6W7sIl.js} +5 -5
  174. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-B9byrXKx.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-GSyMXu17.js} +22 -22
  175. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BZHTSznV.js → Index.vue_vue_type_script_setup_true_lang-N3rQdrH6.js} +47 -50
  176. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-B0wTFrxX.js → Index.vue_vue_type_script_setup_true_lang-Ohuu4j9n.js} +54 -49
  177. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-3KP-rPyM.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-UCm0Csto.js} +4 -4
  178. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DcAEnje5.js → Index.vue_vue_type_script_setup_true_lang-X9pUZWHF.js} +1 -1
  179. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BBiQbTaJ.js → Index.vue_vue_type_script_setup_true_lang-dwaD7E4N.js} +101 -98
  180. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-B7H-n7gl.js → Index.vue_vue_type_script_setup_true_lang-o-s4A6rG.js} +5 -5
  181. package/buildLibs/{utils/Shared/Ing.vue_vue_type_script_setup_true_lang-DprFXKbk.js → modules/shared/Ing.vue_vue_type_script_setup_true_lang-Bnc9BIaT.js} +3 -3
  182. package/buildLibs/modules/shared/{List.vue_vue_type_script_setup_true_lang-8UJTbHh3.js → List.vue_vue_type_script_setup_true_lang-1SlAzQsU.js} +4 -4
  183. package/buildLibs/modules/shared/{One.vue_vue_type_script_setup_true_lang-BiqtUBqP.js → One.vue_vue_type_script_setup_true_lang-BkfhsInn.js} +4 -4
  184. package/buildLibs/modules/shared/{One.vue_vue_type_script_setup_true_lang-C4lt4POB.js → One.vue_vue_type_script_setup_true_lang-rkbdx8Aq.js} +4 -4
  185. package/buildLibs/modules/shared/{Popup.vue_vue_type_script_setup_true_lang-CeZQDd0z.js → Popup.vue_vue_type_script_setup_true_lang-YVBgERG9.js} +3 -3
  186. package/buildLibs/{utils/Shared/ToastRing-CqDvSDSQ.js → modules/shared/ToastRing-DZoETg0y.js} +1 -1
  187. package/buildLibs/modules/shared/{Validate.vue_vue_type_script_setup_true_lang-Clw81Klm.js → Validate.vue_vue_type_script_setup_true_lang-FZ6qiA6w.js} +6 -6
  188. package/buildLibs/modules/shared/{base-C5l51ld_.js → base-fr2I80sU.js} +10 -10
  189. package/buildLibs/modules/shared/{day-Bfolruvp.js → day-B3hhmAm_.js} +15 -6
  190. package/buildLibs/modules/shared/drag-BBk0X740.js +53 -0
  191. package/buildLibs/modules/shared/focusTrap-BYhFRjSm.js +82 -0
  192. package/buildLibs/modules/shared/{index-wdK75uN2.js → index-B477PjJ3.js} +1 -1
  193. package/buildLibs/modules/shared/{index-Clwouce_.js → index-C91QEnIE.js} +2 -2
  194. package/buildLibs/modules/shared/{language-TSK4pJka.js → language-pMmux6Js.js} +2 -2
  195. package/buildLibs/modules/shared/{resize-5FVpVwWr.js → resize-CyrJxi6F.js} +2 -2
  196. package/buildLibs/modules/shared/{use-Cn_GITQ7.js → use-CRdlCpEV.js} +1 -1
  197. package/buildLibs/modules/sideMenu.js +4 -4
  198. package/buildLibs/modules/sidebar.js +2 -2
  199. package/buildLibs/modules/sidebarSelect.js +3 -3
  200. package/buildLibs/modules/signature.js +34 -34
  201. package/buildLibs/modules/slider.js +1 -1
  202. package/buildLibs/modules/steps.js +45 -41
  203. package/buildLibs/modules/swipe.js +2 -2
  204. package/buildLibs/modules/switchery.js +3 -3
  205. package/buildLibs/modules/tabM.js +2 -2
  206. package/buildLibs/modules/tabbar.js +4 -4
  207. package/buildLibs/modules/table.js +12 -12
  208. package/buildLibs/modules/tableEdit.js +2 -2
  209. package/buildLibs/modules/tableSimple.js +2 -2
  210. package/buildLibs/modules/tabs.js +5 -5
  211. package/buildLibs/modules/tags.js +1 -1
  212. package/buildLibs/modules/textHighlight.js +2 -2
  213. package/buildLibs/modules/toast.js +4 -4
  214. package/buildLibs/modules/tree.js +1 -1
  215. package/buildLibs/modules/ui-kit.css +1 -1
  216. package/buildLibs/modules/waterfall.js +3 -3
  217. package/buildLibs/modules/waterfallImage.js +1 -1
  218. package/buildLibs/modules/watermark.js +2 -2
  219. package/buildLibs/modules/weekHour.js +5 -5
  220. package/buildLibs/modules/xEditable.js +21 -21
  221. package/buildLibs/resolver/index.cjs +1 -1
  222. package/buildLibs/resolver/index.js +5 -5
  223. package/buildLibs/styles/Common/Overlay-base.css +59 -0
  224. package/buildLibs/styles/Common/Token.css +135 -122
  225. package/buildLibs/styles/Common/meta.json +19 -2
  226. package/buildLibs/styles/Element/ClButton.css +0 -31
  227. package/buildLibs/styles/Element/ClDivider.css +53 -7
  228. package/buildLibs/styles/Element/ClFormGroupBtns.css +5 -5
  229. package/buildLibs/styles/Element/ClFormGroupHorizontal.css +5 -5
  230. package/buildLibs/styles/Element/ClLoadFullCenter.css +0 -31
  231. package/buildLibs/styles/Element/ClLoadScreen.css +0 -31
  232. package/buildLibs/styles/Element/ClModal.css +0 -40
  233. package/buildLibs/styles/Element/ClTags.css +123 -28
  234. package/buildLibs/styles/Mobile/ClCodeLegendM.css +5 -5
  235. package/buildLibs/styles/Mobile/ClCropperM.css +2 -0
  236. package/buildLibs/styles/Mobile/ClFloatBubble.css +18 -0
  237. package/buildLibs/styles/Mobile/ClFloatPanel.css +86 -0
  238. package/buildLibs/styles/Mobile/ClInputPin.css +104 -0
  239. package/buildLibs/styles/Mobile/ClNoticeBar.css +5 -5
  240. package/buildLibs/styles/Mobile/ClNotifyM.css +50 -2
  241. package/buildLibs/styles/Mobile/ClNumberKeyboard.css +3 -31
  242. package/buildLibs/styles/Mobile/ClPickerArea.css +286 -0
  243. package/buildLibs/styles/Mobile/ClPickerCascader.css +17 -5
  244. package/buildLibs/styles/Mobile/ClPullToRefresh.css +1 -1
  245. package/buildLibs/styles/Mobile/ClScrollCard.css +159 -11
  246. package/buildLibs/styles/Mobile/ClSharePanel.css +202 -0
  247. package/buildLibs/styles/Mobile/ClSidebarSelect.css +5 -0
  248. package/buildLibs/styles/Mobile/ClSteps.css +24 -14
  249. package/buildLibs/styles/Mobile/ClTextHighlight.css +2 -2
  250. package/buildLibs/styles/Mobile/__provide__/NotifyM.css +50 -2
  251. package/buildLibs/styles/Web/ClColorpicker.css +8 -7
  252. package/buildLibs/styles/Web/ClCropper.css +0 -40
  253. package/buildLibs/styles/Web/ClCropperPreview.css +0 -40
  254. package/buildLibs/styles/Web/ClDatetime.css +8 -38
  255. package/buildLibs/styles/Web/ClDropdownMenu.css +90 -7
  256. package/buildLibs/styles/Web/ClDropdownPopup.css +8 -7
  257. package/buildLibs/styles/Web/ClEchartsLineAxisTag.css +0 -31
  258. package/buildLibs/styles/Web/ClFileUpload.css +0 -31
  259. package/buildLibs/styles/Web/ClInputTag.css +131 -35
  260. package/buildLibs/styles/Web/ClPaginate.css +131 -35
  261. package/buildLibs/styles/Web/ClSelect.css +131 -35
  262. package/buildLibs/styles/Web/ClSelectCascade.css +131 -35
  263. package/buildLibs/styles/Web/ClSelectTree.css +8 -7
  264. package/buildLibs/styles/Web/ClSelectmove.css +8 -7
  265. package/buildLibs/styles/Web/ClTable.css +131 -35
  266. package/buildLibs/styles/Web/ClXeditable.css +131 -66
  267. package/buildLibs/styles/Web/__provide__/Alert.css +0 -40
  268. package/buildLibs/styles/Web/__provide__/Preview.css +0 -31
  269. package/buildLibs/types/Common/Element/Event/drag.d.ts +7 -1
  270. package/buildLibs/types/Common/Tools/device.d.ts +2 -2
  271. package/buildLibs/types/Common/base.d.ts +2 -2
  272. package/buildLibs/types/Common/day.d.ts +2 -2
  273. package/buildLibs/types/Common/globalConfig.d.ts +18 -3
  274. package/buildLibs/types/Element/Overlay/Index.vue.d.ts +1 -1
  275. package/buildLibs/types/Element/Slider/Button.vue.d.ts +31 -0
  276. package/buildLibs/types/Element/Slider/Index.vue.d.ts +2 -0
  277. package/buildLibs/types/Element/Tags/Index.vue.d.ts +33 -3
  278. package/buildLibs/types/Element/core.d.ts +4 -2
  279. package/buildLibs/types/Element/installCommon.d.ts +10 -3
  280. package/buildLibs/types/Mobile/CalendarM/Panel.vue.d.ts +2 -2
  281. package/buildLibs/types/Mobile/DropdownMenuM/Item.vue.d.ts +1 -1
  282. package/buildLibs/types/Mobile/{FloatingBubble → FloatBubble}/Index.vue.d.ts +3 -3
  283. package/buildLibs/types/Mobile/{InputOtp → InputPin}/Index.vue.d.ts +11 -0
  284. package/buildLibs/types/Mobile/NoticeBar/Index.vue.d.ts +3 -3
  285. package/buildLibs/types/Mobile/NotifyM/Index.vue.d.ts +20 -0
  286. package/buildLibs/types/Mobile/NumberKeyboard/Index.vue.d.ts +4 -4
  287. package/buildLibs/types/Mobile/Picker/Column.vue.d.ts +9 -9
  288. package/buildLibs/types/Mobile/Picker/Index.vue.d.ts +18 -18
  289. package/buildLibs/types/Mobile/{AreaM → PickerArea}/Index.vue.d.ts +4 -4
  290. package/buildLibs/types/Mobile/PickerCascader/Index.vue.d.ts +1 -1
  291. package/buildLibs/types/Mobile/PickerDate/Index.vue.d.ts +16 -16
  292. package/buildLibs/types/Mobile/PickerTime/Index.vue.d.ts +16 -16
  293. package/buildLibs/types/Mobile/Popup/Index.vue.d.ts +1 -1
  294. package/buildLibs/types/Mobile/ScrollCard/Index.vue.d.ts +33 -20
  295. package/buildLibs/types/Mobile/{ShareSheet → SharePanel}/Index.vue.d.ts +5 -5
  296. package/buildLibs/types/Mobile/Signature/Index.vue.d.ts +3 -3
  297. package/buildLibs/types/Mobile/components.d.ts +5 -5
  298. package/buildLibs/types/Use/focusTrap.d.ts +13 -0
  299. package/buildLibs/types/Web/DropdownLayer/Base.vue.d.ts +9 -0
  300. package/buildLibs/types/Web/DropdownMenu/Index.vue.d.ts +12 -0
  301. package/buildLibs/utils/Element/ClBadge.cjs +1 -1
  302. package/buildLibs/utils/Element/ClBadge.js +1 -1
  303. package/buildLibs/utils/Element/ClBreadcrumb.cjs +1 -1
  304. package/buildLibs/utils/Element/ClBreadcrumb.js +3 -3
  305. package/buildLibs/utils/Element/ClButton.cjs +1 -1
  306. package/buildLibs/utils/Element/ClButton.js +2 -1
  307. package/buildLibs/utils/Element/ClCallout.cjs +1 -1
  308. package/buildLibs/utils/Element/ClCallout.js +2 -2
  309. package/buildLibs/utils/Element/ClCard.cjs +1 -1
  310. package/buildLibs/utils/Element/ClCard.js +1 -1
  311. package/buildLibs/utils/Element/ClCardColor.cjs +1 -1
  312. package/buildLibs/utils/Element/ClCardColor.js +2 -2
  313. package/buildLibs/utils/Element/ClCheckbox.cjs +1 -1
  314. package/buildLibs/utils/Element/ClCheckbox.js +1 -1
  315. package/buildLibs/utils/Element/ClCheckboxOne.cjs +1 -1
  316. package/buildLibs/utils/Element/ClCheckboxOne.js +1 -1
  317. package/buildLibs/utils/Element/ClClipboard.cjs +1 -1
  318. package/buildLibs/utils/Element/ClClipboard.js +1 -1
  319. package/buildLibs/utils/Element/ClCollapse.cjs +1 -1
  320. package/buildLibs/utils/Element/ClCollapse.js +3 -3
  321. package/buildLibs/utils/Element/ClCountDown.cjs +1 -1
  322. package/buildLibs/utils/Element/ClCountDown.js +2 -2
  323. package/buildLibs/utils/Element/ClDarg.cjs +1 -1
  324. package/buildLibs/utils/Element/ClDarg.js +2 -2
  325. package/buildLibs/utils/Element/ClDivider.cjs +1 -1
  326. package/buildLibs/utils/Element/ClDivider.js +2 -80
  327. package/buildLibs/utils/Element/ClEllipsis.cjs +1 -1
  328. package/buildLibs/utils/Element/ClEllipsis.js +1 -1
  329. package/buildLibs/utils/Element/ClEmpty.cjs +1 -1
  330. package/buildLibs/utils/Element/ClEmpty.js +2 -2
  331. package/buildLibs/utils/Element/ClForm.cjs +1 -1
  332. package/buildLibs/utils/Element/ClForm.js +1 -1
  333. package/buildLibs/utils/Element/ClFormGroupBtns.cjs +1 -1
  334. package/buildLibs/utils/Element/ClFormGroupBtns.js +3 -3
  335. package/buildLibs/utils/Element/ClFormGroupHorizontal.cjs +1 -1
  336. package/buildLibs/utils/Element/ClFormGroupHorizontal.js +1 -1
  337. package/buildLibs/utils/Element/ClFormGroupVertical.cjs +1 -1
  338. package/buildLibs/utils/Element/ClFormGroupVertical.js +2 -2
  339. package/buildLibs/utils/Element/ClFormValidate.cjs +1 -1
  340. package/buildLibs/utils/Element/ClFormValidate.js +1 -1
  341. package/buildLibs/utils/Element/ClIconFont.cjs +1 -1
  342. package/buildLibs/utils/Element/ClIconFont.js +1 -1
  343. package/buildLibs/utils/Element/ClImage.cjs +1 -1
  344. package/buildLibs/utils/Element/ClImage.js +1 -1
  345. package/buildLibs/utils/Element/ClInput.cjs +1 -1
  346. package/buildLibs/utils/Element/ClInput.js +1 -1
  347. package/buildLibs/utils/Element/ClInputCaptcha.cjs +1 -1
  348. package/buildLibs/utils/Element/ClInputCaptcha.js +3 -3
  349. package/buildLibs/utils/Element/ClInputNumber.cjs +1 -1
  350. package/buildLibs/utils/Element/ClInputNumber.js +1 -1
  351. package/buildLibs/utils/Element/ClInputNumberStepper.cjs +1 -1
  352. package/buildLibs/utils/Element/ClInputNumberStepper.js +1 -1
  353. package/buildLibs/utils/Element/ClInputPassword.cjs +1 -1
  354. package/buildLibs/utils/Element/ClInputPassword.js +4 -4
  355. package/buildLibs/utils/Element/ClInputPin.css +1 -0
  356. package/buildLibs/utils/Element/ClInputSearch.cjs +1 -1
  357. package/buildLibs/utils/Element/ClInputSearch.js +1 -1
  358. package/buildLibs/utils/Element/ClInputTextarea.cjs +1 -1
  359. package/buildLibs/utils/Element/ClInputTextarea.js +1 -1
  360. package/buildLibs/utils/Element/ClLink.cjs +1 -1
  361. package/buildLibs/utils/Element/ClLink.js +1 -1
  362. package/buildLibs/utils/Element/ClLoad.cjs +1 -1
  363. package/buildLibs/utils/Element/ClLoad.js +1 -1
  364. package/buildLibs/utils/Element/ClLoadFullCenter.cjs +1 -1
  365. package/buildLibs/utils/Element/ClLoadFullCenter.js +3 -2
  366. package/buildLibs/utils/Element/ClLoadIng.cjs +1 -1
  367. package/buildLibs/utils/Element/ClLoadIng.js +1 -1
  368. package/buildLibs/utils/Element/ClLoadScreen.cjs +1 -1
  369. package/buildLibs/utils/Element/ClLoadScreen.css +1 -0
  370. package/buildLibs/utils/Element/ClLoadScreen.js +73 -2
  371. package/buildLibs/utils/Element/ClLoadWarp.cjs +1 -1
  372. package/buildLibs/utils/Element/ClLoadWarp.js +3 -3
  373. package/buildLibs/utils/Element/ClModal.cjs +1 -1
  374. package/buildLibs/utils/Element/ClModal.js +2 -1
  375. package/buildLibs/utils/Element/ClNumberRoll.cjs +1 -1
  376. package/buildLibs/utils/Element/ClNumberRoll.js +2 -2
  377. package/buildLibs/utils/Element/ClOverlay.cjs +1 -1
  378. package/buildLibs/utils/Element/ClOverlay.js +2 -2
  379. package/buildLibs/utils/Element/ClProgress.cjs +1 -1
  380. package/buildLibs/utils/Element/ClProgress.js +3 -3
  381. package/buildLibs/utils/Element/ClRadio.cjs +1 -1
  382. package/buildLibs/utils/Element/ClRadio.js +1 -1
  383. package/buildLibs/utils/Element/ClRadioOne.cjs +1 -1
  384. package/buildLibs/utils/Element/ClRadioOne.js +1 -1
  385. package/buildLibs/utils/Element/ClSlider.cjs +1 -1
  386. package/buildLibs/utils/Element/ClSlider.js +1 -1
  387. package/buildLibs/utils/Element/ClSwitchery.cjs +1 -1
  388. package/buildLibs/utils/Element/ClSwitchery.js +3 -3
  389. package/buildLibs/utils/Element/ClTags.cjs +1 -1
  390. package/buildLibs/utils/Element/ClTags.js +1 -1
  391. package/buildLibs/utils/Element/ClWaterfall.cjs +1 -1
  392. package/buildLibs/utils/Element/ClWaterfall.js +3 -3
  393. package/buildLibs/utils/Element/ClWaterfallImage.cjs +1 -1
  394. package/buildLibs/utils/Element/ClWaterfallImage.js +1 -1
  395. package/buildLibs/utils/Mobile/ClActionSheet.cjs +1 -1
  396. package/buildLibs/utils/Mobile/ClActionSheet.js +5 -5
  397. package/buildLibs/utils/Mobile/ClBackTop.cjs +1 -1
  398. package/buildLibs/utils/Mobile/ClBackTop.js +3 -3
  399. package/buildLibs/utils/Mobile/ClBanner.cjs +1 -1
  400. package/buildLibs/utils/Mobile/ClBanner.js +4 -4
  401. package/buildLibs/utils/Mobile/ClCalendarM.cjs +1 -1
  402. package/buildLibs/utils/Mobile/ClCalendarM.js +61 -65
  403. package/buildLibs/utils/Mobile/ClCell.cjs +1 -1
  404. package/buildLibs/utils/Mobile/ClCell.js +3 -3
  405. package/buildLibs/utils/Mobile/ClCellSwipe.cjs +1 -1
  406. package/buildLibs/utils/Mobile/ClCellSwipe.js +2 -2
  407. package/buildLibs/utils/Mobile/ClCodeLegendM.cjs +1 -1
  408. package/buildLibs/utils/Mobile/ClCodeLegendM.js +4 -4
  409. package/buildLibs/utils/Mobile/ClCropperM.cjs +1 -1
  410. package/buildLibs/utils/Mobile/ClCropperM.js +6 -6
  411. package/buildLibs/utils/Mobile/ClDropdownMenuM.cjs +1 -1
  412. package/buildLibs/utils/Mobile/ClDropdownMenuM.js +2 -2
  413. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs +1 -1
  414. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js +4 -4
  415. package/buildLibs/utils/Mobile/ClFloatBubble.cjs +1 -0
  416. package/buildLibs/utils/Mobile/ClFloatBubble.css +1 -0
  417. package/buildLibs/utils/Mobile/ClFloatBubble.d.ts +1 -0
  418. package/buildLibs/utils/Mobile/{ClFloatingBubble.js → ClFloatBubble.js} +40 -40
  419. package/buildLibs/utils/Mobile/ClFloatPanel.cjs +1 -0
  420. package/buildLibs/utils/Mobile/ClFloatPanel.css +1 -0
  421. package/buildLibs/utils/Mobile/ClFloatPanel.d.ts +1 -0
  422. package/buildLibs/utils/Mobile/{ClFloatingPanel.js → ClFloatPanel.js} +97 -97
  423. package/buildLibs/utils/Mobile/ClGrid.cjs +1 -1
  424. package/buildLibs/utils/Mobile/ClGrid.js +3 -3
  425. package/buildLibs/utils/Mobile/ClIndexBar.cjs +1 -1
  426. package/buildLibs/utils/Mobile/ClIndexBar.js +2 -2
  427. package/buildLibs/utils/Mobile/ClInputPin.cjs +1 -0
  428. package/buildLibs/utils/Mobile/ClInputPin.d.ts +1 -0
  429. package/buildLibs/utils/Mobile/ClInputPin.js +184 -0
  430. package/buildLibs/utils/Mobile/ClNavBar.cjs +1 -1
  431. package/buildLibs/utils/Mobile/ClNavBar.js +3 -3
  432. package/buildLibs/utils/Mobile/ClNoticeBar.cjs +1 -1
  433. package/buildLibs/utils/Mobile/ClNoticeBar.css +1 -1
  434. package/buildLibs/utils/Mobile/ClNoticeBar.js +19 -19
  435. package/buildLibs/utils/Mobile/ClNotifyM.cjs +1 -1
  436. package/buildLibs/utils/Mobile/ClNotifyM.js +2 -1
  437. package/buildLibs/utils/Mobile/ClNumberKeyboard.cjs +1 -1
  438. package/buildLibs/utils/Mobile/ClNumberKeyboard.js +37 -36
  439. package/buildLibs/utils/Mobile/ClPicker.cjs +1 -1
  440. package/buildLibs/utils/Mobile/ClPicker.js +1 -1
  441. package/buildLibs/utils/Mobile/ClPickerArea.cjs +1 -0
  442. package/buildLibs/utils/Mobile/ClPickerArea.css +1 -0
  443. package/buildLibs/utils/Mobile/ClPickerArea.d.ts +1 -0
  444. package/buildLibs/utils/Mobile/ClPickerArea.js +257 -0
  445. package/buildLibs/utils/Mobile/ClPickerCascader.cjs +1 -1
  446. package/buildLibs/utils/Mobile/ClPickerCascader.css +1 -1
  447. package/buildLibs/utils/Mobile/ClPickerCascader.js +4 -4
  448. package/buildLibs/utils/Mobile/ClPickerDate.cjs +1 -1
  449. package/buildLibs/utils/Mobile/ClPickerDate.js +71 -71
  450. package/buildLibs/utils/Mobile/ClPickerTime.cjs +1 -1
  451. package/buildLibs/utils/Mobile/ClPickerTime.js +56 -56
  452. package/buildLibs/utils/Mobile/ClPopup.cjs +1 -1
  453. package/buildLibs/utils/Mobile/ClPopup.js +1 -1
  454. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +1 -1
  455. package/buildLibs/utils/Mobile/ClPullToRefresh.js +1 -1
  456. package/buildLibs/utils/Mobile/ClRate.cjs +1 -1
  457. package/buildLibs/utils/Mobile/ClRate.js +3 -3
  458. package/buildLibs/utils/Mobile/ClScrollCard.cjs +1 -1
  459. package/buildLibs/utils/Mobile/ClScrollCard.css +1 -1
  460. package/buildLibs/utils/Mobile/ClScrollCard.js +220 -200
  461. package/buildLibs/utils/Mobile/ClSharePanel.cjs +1 -0
  462. package/buildLibs/utils/Mobile/ClSharePanel.css +1 -0
  463. package/buildLibs/utils/Mobile/ClSharePanel.d.ts +1 -0
  464. package/buildLibs/utils/Mobile/{ClShareSheet.js → ClSharePanel.js} +53 -53
  465. package/buildLibs/utils/Mobile/ClSidebar.cjs +1 -1
  466. package/buildLibs/utils/Mobile/ClSidebar.js +2 -2
  467. package/buildLibs/utils/Mobile/ClSidebarSelect.cjs +1 -1
  468. package/buildLibs/utils/Mobile/ClSidebarSelect.css +1 -1
  469. package/buildLibs/utils/Mobile/ClSidebarSelect.js +3 -3
  470. package/buildLibs/utils/Mobile/ClSignature.cjs +1 -1
  471. package/buildLibs/utils/Mobile/ClSignature.js +34 -34
  472. package/buildLibs/utils/Mobile/ClSteps.cjs +1 -1
  473. package/buildLibs/utils/Mobile/ClSteps.css +1 -1
  474. package/buildLibs/utils/Mobile/ClSteps.js +45 -41
  475. package/buildLibs/utils/Mobile/ClSwipe.cjs +1 -1
  476. package/buildLibs/utils/Mobile/ClSwipe.js +2 -2
  477. package/buildLibs/utils/Mobile/ClTabM.cjs +1 -1
  478. package/buildLibs/utils/Mobile/ClTabM.js +2 -2
  479. package/buildLibs/utils/Mobile/ClTabbar.cjs +1 -1
  480. package/buildLibs/utils/Mobile/ClTabbar.js +4 -4
  481. package/buildLibs/utils/Mobile/ClTextHighlight.cjs +1 -1
  482. package/buildLibs/utils/Mobile/ClTextHighlight.css +1 -1
  483. package/buildLibs/utils/Mobile/ClTextHighlight.js +2 -2
  484. package/buildLibs/utils/Mobile/ClToast.cjs +1 -1
  485. package/buildLibs/utils/Mobile/ClToast.js +1 -1
  486. package/buildLibs/utils/Mobile/ClWatermark.cjs +1 -1
  487. package/buildLibs/utils/Mobile/ClWatermark.js +2 -2
  488. package/buildLibs/utils/Mobile/__provide__/NotifyM.cjs +1 -1
  489. package/buildLibs/utils/Mobile/__provide__/NotifyM.js +2 -1
  490. package/buildLibs/utils/Mobile/__provide__/Toast.cjs +1 -1
  491. package/buildLibs/utils/Mobile/__provide__/Toast.js +1 -1
  492. package/buildLibs/utils/Shared/{BallColor4-C2XdKmEn.js → BallColor4-BgsHLeZA.js} +1 -1
  493. package/buildLibs/utils/Shared/{BallColor4-Ds3O9chf.js → BallColor4-qLMVzbAS.js} +1 -1
  494. package/buildLibs/utils/Shared/Base.css +1 -1
  495. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-5_vbZ_4R.js +1 -0
  496. package/buildLibs/{modules/shared/Base.vue_vue_type_script_setup_true_lang-4j7ikB3n.js → utils/Shared/Base.vue_vue_type_script_setup_true_lang-BReU8HHD.js} +81 -70
  497. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-CmETUA__.js +1 -0
  498. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-D4VcdHQo.js +193 -0
  499. package/buildLibs/utils/Shared/Column.css +1 -0
  500. package/buildLibs/utils/Shared/Column.vue_vue_type_script_setup_true_lang-ByGDRcgX.js +1 -0
  501. package/buildLibs/utils/Shared/Column.vue_vue_type_script_setup_true_lang-dm0Ii8XP.js +174 -0
  502. package/buildLibs/utils/Shared/Index.css +1 -1
  503. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BHO4QsuM.js → Index.vue_vue_type_script_setup_true_lang-08Gdtb7o.js} +101 -98
  504. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bexqe3oM.js → Index.vue_vue_type_script_setup_true_lang-0GHFohjQ.js} +2 -2
  505. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DGMzmwmG.js → Index.vue_vue_type_script_setup_true_lang-0xVPFBUW.js} +7 -8
  506. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BY5YgoqV.js → Index.vue_vue_type_script_setup_true_lang-8-8svPDH.js} +1 -1
  507. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-DqUgH7kW.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-K0phQ2.js} +4 -4
  508. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DsWuFFm8.js → Index.vue_vue_type_script_setup_true_lang-B-LBJS_U.js} +1 -1
  509. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dn2mAxQN.js → Index.vue_vue_type_script_setup_true_lang-B0NaQAuE.js} +5 -5
  510. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bh9eiZXZ.js → Index.vue_vue_type_script_setup_true_lang-B2cccX6M.js} +1 -1
  511. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DImXx9OJ.js → Index.vue_vue_type_script_setup_true_lang-B2kyuq50.js} +1 -1
  512. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DXQ2H_E6.js → Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js} +1 -1
  513. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-B-QoYEZX.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-B5MSug5Q.js} +5 -5
  514. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BmA34nLj.js → Index.vue_vue_type_script_setup_true_lang-B9xISM7N.js} +1 -1
  515. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-BDCMqHLL.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-BAUA1fQJ.js} +2 -2
  516. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Dn7loQye.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-BFq7G64T.js} +22 -22
  517. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BwvnxiF-.js → Index.vue_vue_type_script_setup_true_lang-BJuly3Dc.js} +1 -1
  518. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BLoX4k7J.js +213 -0
  519. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-1634m2dj.js → Index.vue_vue_type_script_setup_true_lang-BLr46kTp.js} +8 -8
  520. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-W7-2HMLt.js → Index.vue_vue_type_script_setup_true_lang-BO2XU-fq.js} +4 -4
  521. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BRJ2Ll2r.js +1 -0
  522. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BRyvdWb7.js +1 -0
  523. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-n7xMYytH.js → Index.vue_vue_type_script_setup_true_lang-BTikeo7T.js} +5 -5
  524. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DeQDuJWX.js → Index.vue_vue_type_script_setup_true_lang-BXQl9ZJr.js} +1 -1
  525. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B5STWqf2.js → Index.vue_vue_type_script_setup_true_lang-BahSP_of.js} +22 -17
  526. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BbxnIsLt.js +1 -0
  527. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Co1P4Ez3.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bd56L0m6.js} +5 -5
  528. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Ix_0hpqL.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-BhGGH7ms.js} +13 -13
  529. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bn3f-2m-.js +1 -0
  530. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C8n67_vn.js → Index.vue_vue_type_script_setup_true_lang-BppPP2_o.js} +5 -5
  531. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DkvbBq5f.js → Index.vue_vue_type_script_setup_true_lang-BsE_zUs_.js} +2 -2
  532. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BWhUEMe2.js → Index.vue_vue_type_script_setup_true_lang-BxWYROZH.js} +1 -1
  533. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bp1npEqw.js → Index.vue_vue_type_script_setup_true_lang-C1Z3g7mN.js} +1 -1
  534. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DARNgU78.js → Index.vue_vue_type_script_setup_true_lang-C242QFDV.js} +1 -1
  535. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-ZN6OLOcr.js → Index.vue_vue_type_script_setup_true_lang-CAEbDVL3.js} +1 -1
  536. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DG2gOqUV.js → Index.vue_vue_type_script_setup_true_lang-CDslbo4h.js} +1 -1
  537. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CFNQBTiQ.js +1 -0
  538. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-eYOa2n8R.js → Index.vue_vue_type_script_setup_true_lang-CIky1_fS.js} +28 -25
  539. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DkO0Tw8l.js → Index.vue_vue_type_script_setup_true_lang-COprcd8r.js} +46 -46
  540. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPwtuGiA.js +1 -0
  541. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-BdU06Zy_.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-CQVg87mD.js} +3 -3
  542. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DnB4CiG6.js → Index.vue_vue_type_script_setup_true_lang-CSt6K9AQ.js} +1 -1
  543. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CyRAlV4P.js → Index.vue_vue_type_script_setup_true_lang-Cb49VSDS.js} +1 -1
  544. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DD7Wsxy0.js → Index.vue_vue_type_script_setup_true_lang-CgNMWZqs.js} +53 -48
  545. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-4r0yj-AP.js → Index.vue_vue_type_script_setup_true_lang-Cm8_ZNJ7.js} +1 -1
  546. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CnLyIXBs.js +939 -0
  547. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-BI_FbhEm.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-CtBOIjdU.js} +6 -6
  548. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cw8P2xE-.js → Index.vue_vue_type_script_setup_true_lang-Cx56SGXr.js} +47 -50
  549. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dzw8LxdI.js → Index.vue_vue_type_script_setup_true_lang-CyYCIkzr.js} +1 -1
  550. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-v03zJOqX.js → Index.vue_vue_type_script_setup_true_lang-D15_sdie.js} +1 -1
  551. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CUGhrsCV.js → Index.vue_vue_type_script_setup_true_lang-D3h6Q_pB.js} +2 -2
  552. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DnLaqNB3.js → Index.vue_vue_type_script_setup_true_lang-D4BokTL9.js} +1 -1
  553. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-afm0gWnG.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-D53FO2PF.js} +4 -4
  554. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D8TDafMl.js +1 -0
  555. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DAuZLHen.js +277 -0
  556. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DBEuF9lY.js +1 -0
  557. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-t2B1qQvc.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-DQBXyVuV.js} +2 -2
  558. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DeqkYoiB.js → Index.vue_vue_type_script_setup_true_lang-DTnllTwD.js} +2 -2
  559. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DYj0GzN0.js +1 -0
  560. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DZSulESm.js +1 -0
  561. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Dq5DVoF_.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-DiFMOo2n.js} +9 -9
  562. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BJw-_EOe.js → Index.vue_vue_type_script_setup_true_lang-DjwVdgdl.js} +6 -6
  563. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlFdXr6k.js +82 -0
  564. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlaLkFjd.js +1 -0
  565. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dnw-Opme.js +1 -0
  566. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dk4V2JmM.js → Index.vue_vue_type_script_setup_true_lang-Dq-sCBRz.js} +1 -1
  567. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CBIhuvnz.js → Index.vue_vue_type_script_setup_true_lang-DsTDQ4p-.js} +1 -1
  568. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtTJLC6m.js +1 -0
  569. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D3hrURiG.js → Index.vue_vue_type_script_setup_true_lang-Dyo4Sh1B.js} +1 -1
  570. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Gp7OJJx5.js +1 -0
  571. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-COItePPk.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-K7pBVuwe.js} +3 -3
  572. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-24C15gSt.js → Index.vue_vue_type_script_setup_true_lang-M72THnHz.js} +1 -1
  573. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-PQ1DyzI3.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-PraAnYLk.js} +3 -3
  574. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CcJjZsqO.js → Index.vue_vue_type_script_setup_true_lang-SE1_-Y3D.js} +1 -1
  575. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C0GnaTPr.js → Index.vue_vue_type_script_setup_true_lang-WePMnXeI.js} +1 -1
  576. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-CyKHq3tv.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js} +2 -2
  577. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DaQXxBad.js → Index.vue_vue_type_script_setup_true_lang-b4R4PHf0.js} +108 -108
  578. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CfIJDVo7.js → Index.vue_vue_type_script_setup_true_lang-bKzsLLvg.js} +1 -1
  579. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bat5bJ6h.js → Index.vue_vue_type_script_setup_true_lang-d8FRnWoo.js} +1 -1
  580. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-oFF20mhc.js +152 -0
  581. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-CDFEcM1i.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-qOys54ns.js} +3 -3
  582. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-bG1Y_BJw.js → Index.vue_vue_type_script_setup_true_lang-yQG3rOxU.js} +2 -2
  583. package/buildLibs/utils/Shared/Index10.css +1 -1
  584. package/buildLibs/utils/Shared/Index11.css +1 -1
  585. package/buildLibs/utils/Shared/Index12.css +1 -1
  586. package/buildLibs/utils/Shared/Index13.css +1 -1
  587. package/buildLibs/utils/Shared/Index14.css +1 -1
  588. package/buildLibs/utils/Shared/Index15.css +1 -1
  589. package/buildLibs/utils/Shared/Index16.css +1 -1
  590. package/buildLibs/utils/Shared/Index17.css +1 -1
  591. package/buildLibs/utils/Shared/Index18.css +1 -1
  592. package/buildLibs/utils/Shared/Index21.css +1 -1
  593. package/buildLibs/utils/Shared/Index23.css +1 -1
  594. package/buildLibs/utils/Shared/Index24.css +1 -1
  595. package/buildLibs/utils/Shared/Index25.css +1 -1
  596. package/buildLibs/utils/Shared/Index26.css +1 -1
  597. package/buildLibs/utils/Shared/Index27.css +1 -1
  598. package/buildLibs/utils/Shared/Index28.css +1 -1
  599. package/buildLibs/utils/Shared/Index29.css +1 -1
  600. package/buildLibs/utils/Shared/Index30.css +1 -1
  601. package/buildLibs/utils/Shared/Index31.css +1 -1
  602. package/buildLibs/utils/Shared/Index32.css +1 -1
  603. package/buildLibs/utils/Shared/Index33.css +1 -1
  604. package/buildLibs/utils/Shared/Index34.css +1 -1
  605. package/buildLibs/utils/Shared/Index35.css +1 -1
  606. package/buildLibs/utils/Shared/Index36.css +1 -1
  607. package/buildLibs/utils/Shared/Index37.css +1 -1
  608. package/buildLibs/utils/Shared/Index38.css +1 -1
  609. package/buildLibs/utils/Shared/Index5.css +1 -1
  610. package/buildLibs/utils/Shared/{Ing.vue_vue_type_script_setup_true_lang-D2lxtF5j.js → Ing.vue_vue_type_script_setup_true_lang-DPFunPx2.js} +1 -1
  611. package/buildLibs/{modules/shared/Ing.vue_vue_type_script_setup_true_lang-CbxKiYq1.js → utils/Shared/Ing.vue_vue_type_script_setup_true_lang-Zb0-4POE.js} +3 -3
  612. package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-B5YIPqGh.js → List.vue_vue_type_script_setup_true_lang-BLgui2Zv.js} +4 -4
  613. package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-bFNMd-te.js → List.vue_vue_type_script_setup_true_lang-DJAqJJnH.js} +1 -1
  614. package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-DQ_7aqC8.js → One.vue_vue_type_script_setup_true_lang-BC8yzPg5.js} +1 -1
  615. package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-DcjKaZQ_.js → One.vue_vue_type_script_setup_true_lang-BKTdt1M7.js} +1 -1
  616. package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-CmnkkHBx.js → One.vue_vue_type_script_setup_true_lang-BRIVGray.js} +3 -3
  617. package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-Bz2OX9PQ.js → One.vue_vue_type_script_setup_true_lang-Du9X7x9H.js} +3 -3
  618. package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-gwQgBwlR.js → Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js} +1 -1
  619. package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-ltEkWlAH.js → Popup.vue_vue_type_script_setup_true_lang-hfNlyh_i.js} +3 -3
  620. package/buildLibs/{modules/shared/ToastRing-CLhmoOCN.js → utils/Shared/ToastRing-2rl8qS1H.js} +1 -1
  621. package/buildLibs/utils/Shared/{ToastRing-CUCc2KYf.js → ToastRing-B1qc5Ig_.js} +1 -1
  622. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DidPD12P.js +411 -0
  623. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DyOZ5QGN.js +1 -0
  624. package/buildLibs/utils/Shared/{Video-DlqsnyxL.js → Video-BBXD_6D-.js} +1 -1
  625. package/buildLibs/utils/Shared/{Video-yVSuj26v.js → Video-BillcMo0.js} +1 -1
  626. package/buildLibs/utils/Shared/{base-DmcbRUB5.js → base-DbuX_Y3x.js} +1 -1
  627. package/buildLibs/utils/Shared/{base-C5l51ld_.js → base-fr2I80sU.js} +10 -10
  628. package/buildLibs/utils/Shared/{day-Bfolruvp.js → day-B3hhmAm_.js} +15 -6
  629. package/buildLibs/utils/Shared/{day-C3XuCUKG.js → day-C_LrDb1h.js} +1 -1
  630. package/buildLibs/utils/Shared/drag-BB4KOliP.js +1 -0
  631. package/buildLibs/utils/Shared/drag-BBk0X740.js +53 -0
  632. package/buildLibs/utils/Shared/focusTrap-95OmT9bf.js +1 -0
  633. package/buildLibs/utils/Shared/focusTrap-BYhFRjSm.js +82 -0
  634. package/buildLibs/utils/Shared/{index-wdK75uN2.js → index-B477PjJ3.js} +1 -1
  635. package/buildLibs/utils/Shared/{index-CXRfOfiT.js → index-rFJmbgyH.js} +1 -1
  636. package/buildLibs/utils/Shared/language-Q4AGYtUe.js +1 -0
  637. package/buildLibs/utils/Shared/{index-DX8TWPlf.js → language-pMmux6Js.js} +151 -44
  638. package/buildLibs/utils/Shared/{resize-5FVpVwWr.js → resize-CyrJxi6F.js} +2 -2
  639. package/buildLibs/utils/Shared/{resize-BqfiqIio.js → resize-Ds0ycOGI.js} +1 -1
  640. package/buildLibs/utils/Shared/use-BBpYjALT.js +1 -0
  641. package/buildLibs/utils/Shared/{lazy--M9Mmsjn.js → use-CRdlCpEV.js} +48 -35
  642. package/buildLibs/utils/Web/ClAnchorNav.cjs +1 -1
  643. package/buildLibs/utils/Web/ClAnchorNav.js +3 -3
  644. package/buildLibs/utils/Web/ClCalendar.cjs +1 -1
  645. package/buildLibs/utils/Web/ClCalendar.js +32 -32
  646. package/buildLibs/utils/Web/ClCodeLegend.cjs +1 -1
  647. package/buildLibs/utils/Web/ClCodeLegend.js +3 -3
  648. package/buildLibs/utils/Web/ClCodeLegendM.css +1 -1
  649. package/buildLibs/utils/Web/ClColorPicker.cjs +1 -1
  650. package/buildLibs/utils/Web/ClColorPicker.js +8 -8
  651. package/buildLibs/utils/Web/ClCropper.cjs +1 -1
  652. package/buildLibs/utils/Web/ClCropper.js +2 -1
  653. package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
  654. package/buildLibs/utils/Web/ClCropperPreview.js +7 -6
  655. package/buildLibs/utils/Web/ClDateTime.cjs +1 -1
  656. package/buildLibs/utils/Web/ClDateTime.js +2 -1
  657. package/buildLibs/utils/Web/ClDropdownMenu.cjs +1 -1
  658. package/buildLibs/utils/Web/ClDropdownMenu.css +1 -1
  659. package/buildLibs/utils/Web/ClDropdownMenu.js +110 -48
  660. package/buildLibs/utils/Web/ClDropdownMenuItem.cjs +1 -1
  661. package/buildLibs/utils/Web/ClDropdownMenuItem.js +44 -27
  662. package/buildLibs/utils/Web/ClDropdownPopup.cjs +1 -1
  663. package/buildLibs/utils/Web/ClDropdownPopup.js +3 -3
  664. package/buildLibs/utils/Web/ClEcharts.cjs +1 -1
  665. package/buildLibs/utils/Web/ClEcharts.js +1 -1
  666. package/buildLibs/utils/Web/ClEchartsLineAxisTag.cjs +1 -1
  667. package/buildLibs/utils/Web/ClEchartsLineAxisTag.js +5 -4
  668. package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
  669. package/buildLibs/utils/Web/ClFileUpload.js +2 -1
  670. package/buildLibs/utils/Web/ClFramePhone.cjs +1 -1
  671. package/buildLibs/utils/Web/ClFramePhone.js +1 -1
  672. package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
  673. package/buildLibs/utils/Web/ClInputTag.js +1 -1
  674. package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
  675. package/buildLibs/utils/Web/ClPaginate.js +1 -1
  676. package/buildLibs/utils/Web/ClPortlet.cjs +1 -1
  677. package/buildLibs/utils/Web/ClPortlet.js +2 -2
  678. package/buildLibs/utils/Web/ClPreviewExample.cjs +1 -1
  679. package/buildLibs/utils/Web/ClPreviewExample.js +1 -1
  680. package/buildLibs/utils/Web/ClScrollXFence.cjs +1 -1
  681. package/buildLibs/utils/Web/ClScrollXFence.js +1 -1
  682. package/buildLibs/utils/Web/ClSelect.cjs +1 -1
  683. package/buildLibs/utils/Web/ClSelect.js +1 -1
  684. package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
  685. package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
  686. package/buildLibs/utils/Web/ClSelectMove.cjs +1 -1
  687. package/buildLibs/utils/Web/ClSelectMove.js +8 -8
  688. package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
  689. package/buildLibs/utils/Web/ClSelectTag.js +1 -1
  690. package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
  691. package/buildLibs/utils/Web/ClSelectTree.js +6 -6
  692. package/buildLibs/utils/Web/ClSideMenu.cjs +1 -1
  693. package/buildLibs/utils/Web/ClSideMenu.js +4 -4
  694. package/buildLibs/utils/Web/ClTable.cjs +1 -1
  695. package/buildLibs/utils/Web/ClTable.js +11 -11
  696. package/buildLibs/utils/Web/ClTableEdit.cjs +1 -1
  697. package/buildLibs/utils/Web/ClTableEdit.js +2 -2
  698. package/buildLibs/utils/Web/ClTableSimple.cjs +1 -1
  699. package/buildLibs/utils/Web/ClTableSimple.js +2 -2
  700. package/buildLibs/utils/Web/ClTabs.cjs +1 -1
  701. package/buildLibs/utils/Web/ClTabs.js +5 -5
  702. package/buildLibs/utils/Web/ClTree.cjs +1 -1
  703. package/buildLibs/utils/Web/ClTree.js +1 -1
  704. package/buildLibs/utils/Web/ClWeekHour.cjs +1 -1
  705. package/buildLibs/utils/Web/ClWeekHour.js +5 -5
  706. package/buildLibs/utils/Web/ClXEditable.cjs +1 -1
  707. package/buildLibs/utils/Web/ClXEditable.js +22 -21
  708. package/buildLibs/utils/Web/__directive__/Tooltip.cjs +1 -1
  709. package/buildLibs/utils/Web/__directive__/Tooltip.js +2 -2
  710. package/buildLibs/utils/Web/__directive__/Waves.cjs +1 -1
  711. package/buildLibs/utils/Web/__directive__/Waves.js +1 -1
  712. package/buildLibs/utils/Web/__provide__/Alert.cjs +1 -1
  713. package/buildLibs/utils/Web/__provide__/Alert.js +5 -4
  714. package/buildLibs/utils/Web/__provide__/Notify.cjs +1 -1
  715. package/buildLibs/utils/Web/__provide__/Notify.js +3 -3
  716. package/buildLibs/utils/Web/__provide__/Preview.cjs +1 -1
  717. package/buildLibs/utils/Web/__provide__/Preview.js +7 -6
  718. package/buildLibs/web/BallColor4-Bk0PbmjR.js +36 -0
  719. package/buildLibs/{mobile/BallColor4-9BeLWzwc.cjs → web/BallColor4-CvdyEpUB.cjs} +1 -1
  720. package/buildLibs/web/ToastRing-DxVDUCSx.js +26 -0
  721. package/buildLibs/{all/ToastRing-C0GKGyt2.cjs → web/ToastRing-KEtXZej2.cjs} +1 -1
  722. package/buildLibs/web/{Video-DuP0_H4b.cjs → Video-7bB5a3gv.cjs} +1 -1
  723. package/buildLibs/web/{Video-BDwetEWQ.js → Video-D36W46Pk.js} +1 -1
  724. package/buildLibs/web/{index-DPNEslm1.js → index-ai_LrIsJ.js} +10664 -10473
  725. package/buildLibs/web/index-jOBQ0InH.cjs +12 -0
  726. package/buildLibs/web/index.cjs +1 -1
  727. package/buildLibs/web/index.css +1 -1
  728. package/buildLibs/web/index.js +1 -1
  729. package/docs/components/Element/Divider.md +5 -3
  730. package/docs/components/Element/Slider.md +1 -0
  731. package/docs/components/Element/Tags.md +34 -8
  732. package/docs/components/Mobile/{FloatingBubble.md → FloatBubble.md} +17 -17
  733. package/docs/components/Mobile/{FloatingPanel.md → FloatPanel.md} +30 -30
  734. package/docs/components/Mobile/{InputOtp.md → InputPin.md} +25 -12
  735. package/docs/components/Mobile/NoticeBar.md +4 -4
  736. package/docs/components/Mobile/NotifyM.md +11 -0
  737. package/docs/components/Mobile/NumberKeyboard.md +8 -8
  738. package/docs/components/Mobile/Picker.md +8 -8
  739. package/docs/components/Mobile/{AreaM.md → PickerArea.md} +12 -12
  740. package/docs/components/Mobile/PickerDate.md +5 -5
  741. package/docs/components/Mobile/PickerTime.md +5 -5
  742. package/docs/components/Mobile/ScrollCard.md +43 -10
  743. package/docs/components/Mobile/{ShareSheet.md → SharePanel.md} +11 -11
  744. package/docs/components/Mobile/Signature.md +3 -3
  745. package/docs/tokens/design-token.md +17 -2
  746. package/docs/tools/CommonDay.md +3 -3
  747. package/package.json +2 -1
  748. package/buildLibs/all/index-CS39FBSI.cjs +0 -14
  749. package/buildLibs/mobile/index-0Bk83khG.cjs +0 -10
  750. package/buildLibs/modules/areaM.cjs +0 -5
  751. package/buildLibs/modules/areaM.d.ts +0 -1
  752. package/buildLibs/modules/areaM.js +0 -255
  753. package/buildLibs/modules/floatingBubble.cjs +0 -5
  754. package/buildLibs/modules/floatingBubble.d.ts +0 -1
  755. package/buildLibs/modules/floatingPanel.cjs +0 -5
  756. package/buildLibs/modules/floatingPanel.d.ts +0 -1
  757. package/buildLibs/modules/inputOtp.cjs +0 -5
  758. package/buildLibs/modules/inputOtp.d.ts +0 -1
  759. package/buildLibs/modules/inputOtp.js +0 -175
  760. package/buildLibs/modules/shareSheet.cjs +0 -5
  761. package/buildLibs/modules/shareSheet.d.ts +0 -1
  762. package/buildLibs/modules/shared/Index-aam7IdIy.js +0 -174
  763. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-BBz5WLtl.js +0 -898
  764. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-CM64ExS-.js +0 -201
  765. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-Dt1s66Uw.js +0 -442
  766. package/buildLibs/modules/shared/drag-CBokh_eH.js +0 -41
  767. package/buildLibs/styles/Element/ClOverlay.css +0 -32
  768. package/buildLibs/utils/Element/ClDivider.css +0 -1
  769. package/buildLibs/utils/Element/ClInputOtp.css +0 -1
  770. package/buildLibs/utils/Element/__directive__/LazyImage.cjs +0 -1
  771. package/buildLibs/utils/Element/__directive__/LazyImage.d.ts +0 -1
  772. package/buildLibs/utils/Element/__directive__/LazyImage.js +0 -14
  773. package/buildLibs/utils/Element/__provide__/Clipboard.cjs +0 -1
  774. package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +0 -1
  775. package/buildLibs/utils/Element/__provide__/Clipboard.js +0 -37
  776. package/buildLibs/utils/Element/__provide__/LanguagePack.cjs +0 -1
  777. package/buildLibs/utils/Element/__provide__/LanguagePack.d.ts +0 -1
  778. package/buildLibs/utils/Element/__provide__/LanguagePack.js +0 -28
  779. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +0 -1
  780. package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +0 -1
  781. package/buildLibs/utils/Element/__provide__/LoadScreen.js +0 -22
  782. package/buildLibs/utils/Element/__provide__/Validate.cjs +0 -1
  783. package/buildLibs/utils/Element/__provide__/Validate.d.ts +0 -1
  784. package/buildLibs/utils/Element/__provide__/Validate.js +0 -104
  785. package/buildLibs/utils/Mobile/ClAreaM.cjs +0 -1
  786. package/buildLibs/utils/Mobile/ClAreaM.css +0 -1
  787. package/buildLibs/utils/Mobile/ClAreaM.d.ts +0 -1
  788. package/buildLibs/utils/Mobile/ClAreaM.js +0 -257
  789. package/buildLibs/utils/Mobile/ClFloatingBubble.cjs +0 -1
  790. package/buildLibs/utils/Mobile/ClFloatingBubble.css +0 -1
  791. package/buildLibs/utils/Mobile/ClFloatingBubble.d.ts +0 -1
  792. package/buildLibs/utils/Mobile/ClFloatingPanel.cjs +0 -1
  793. package/buildLibs/utils/Mobile/ClFloatingPanel.css +0 -1
  794. package/buildLibs/utils/Mobile/ClFloatingPanel.d.ts +0 -1
  795. package/buildLibs/utils/Mobile/ClInputOtp.cjs +0 -1
  796. package/buildLibs/utils/Mobile/ClInputOtp.d.ts +0 -1
  797. package/buildLibs/utils/Mobile/ClInputOtp.js +0 -177
  798. package/buildLibs/utils/Mobile/ClShareSheet.cjs +0 -1
  799. package/buildLibs/utils/Mobile/ClShareSheet.css +0 -1
  800. package/buildLibs/utils/Mobile/ClShareSheet.d.ts +0 -1
  801. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-CiIYjt-L.js +0 -1
  802. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-BD35JTIP.js +0 -1
  803. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DHyNMo5z.js +0 -255
  804. package/buildLibs/utils/Shared/Index-BBs91jFy.js +0 -174
  805. package/buildLibs/utils/Shared/Index-qL-h43DD.js +0 -1
  806. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B9PGQ2ms.js +0 -1
  807. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BVFmiu-5.js +0 -1
  808. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BlFq1X5t.js +0 -1
  809. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bo91q9Ij.js +0 -1
  810. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIBERZly.js +0 -1
  811. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CKNVMM02.js +0 -74
  812. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CrNoVcn8.js +0 -120
  813. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CvgyjDiU.js +0 -898
  814. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DGT_No-k.js +0 -1
  815. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DGXwL6RV.js +0 -201
  816. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DIbQI2wQ.js +0 -1
  817. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DIdU8GIV.js +0 -1
  818. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKbCcnPs.js +0 -1
  819. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Db4Zb3Yy.js +0 -1
  820. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DcOTqPR-.js +0 -1
  821. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DgWoxi-r.js +0 -1
  822. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlvzgFMo.js +0 -175
  823. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Drp93I0i.js +0 -1
  824. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-s0crAk8w.js +0 -1
  825. package/buildLibs/utils/Shared/Index39.css +0 -1
  826. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-3Ig7bOGx.js +0 -1
  827. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-57tbyvPI.js +0 -313
  828. package/buildLibs/utils/Shared/drag-CBokh_eH.js +0 -41
  829. package/buildLibs/utils/Shared/drag-CnnSwz5k.js +0 -1
  830. package/buildLibs/utils/Shared/index-C6VS0w0n.js +0 -1
  831. package/buildLibs/utils/Shared/language-BAyxuenq.js +0 -1
  832. package/buildLibs/utils/Shared/language-Br_W-GD8.js +0 -111
  833. package/buildLibs/utils/Shared/lazy-CHlfoPOo.js +0 -1
  834. package/buildLibs/utils/Shared/use-CaPct63w.js +0 -17
  835. package/buildLibs/utils/Shared/use-DpwlHmqI.js +0 -1
  836. package/buildLibs/web/BallColor4-B90sCDaX.js +0 -36
  837. package/buildLibs/web/ToastRing-DGR6ZoRQ.js +0 -26
  838. package/buildLibs/web/index-Bfw6k91_.cjs +0 -12
  839. /package/buildLibs/types/Mobile/{FloatingPanel → FloatPanel}/Index.vue.d.ts +0 -0
  840. /package/buildLibs/types/Mobile/{AreaM → PickerArea}/area-data.d.ts +0 -0
  841. /package/buildLibs/utils/Shared/{index40.css → index39.css} +0 -0
@@ -2,14 +2,14 @@ import '../../styles/Common/Token.css';
2
2
  import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/Table-base.css';
4
4
  import '../../styles/Web/ClCalendar.css';
5
- import { defineComponent as he, reactive as X, useTemplateRef as pe, ref as W, computed as Y, onMounted as ve, nextTick as p, watch as Z, openBlock as f, createElementBlock as m, unref as j, normalizeClass as K, createElementVNode as d, withKeys as L, withModifiers as M, createVNode as ee, toDisplayString as _, Fragment as C, renderList as B, createCommentVNode as te, renderSlot as ge } from "vue";
5
+ import { defineComponent as he, reactive as X, useTemplateRef as pe, ref as W, computed as Y, onMounted as ve, nextTick as p, watch as Z, openBlock as f, createElementBlock as m, unref as j, normalizeClass as K, createElementVNode as u, withKeys as L, withModifiers as M, createVNode as ee, toDisplayString as _, Fragment as C, renderList as B, createCommentVNode as te, renderSlot as ge } from "vue";
6
6
  import { c as H } from "../Shared/log-BbLqiWNM.js";
7
- import { C as u } from "../Shared/base-C5l51ld_.js";
8
- import { C as y } from "../Shared/day-Bfolruvp.js";
9
- import { C as ae } from "../Shared/index-wdK75uN2.js";
7
+ import { C as d } from "../Shared/base-fr2I80sU.js";
8
+ import { C as y } from "../Shared/day-B3hhmAm_.js";
9
+ import { C as ae } from "../Shared/index-B477PjJ3.js";
10
10
  import { g as O } from "../Shared/globalConfig-D1-9RCQO.js";
11
- import { a as we } from "../Shared/language-Br_W-GD8.js";
12
- import { _ as ne } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CVBKgYfQ.js";
11
+ import { a as we } from "../Shared/language-pMmux6Js.js";
12
+ import { _ as ne } from "../Shared/Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js";
13
13
  /* empty css */
14
14
  const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colspan: "7" }, Me = { class: "calendar-head-label" }, Ce = ["title", "onKeydown"], Ie = { class: "calendar-head-label-year" }, be = { class: "calendar-head-label-month" }, Se = { class: "calendar-head-label-next" }, xe = ["title", "onKeydown"], Ee = { class: "calendar-head-Week" }, Ye = ["tabindex", "aria-label", "aria-selected", "onClick", "onMouseover", "onMouseout", "onKeydown"], Le = {
15
15
  key: 0,
@@ -70,7 +70,7 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
70
70
  // desc: 操作发生错误时触发
71
71
  },
72
72
  setup(h, { emit: k }) {
73
- const l = h, v = k, R = `calendar-${u.getRandom(5)}`, se = l.id, { optPageLanguage: A, getPageLanguage: re } = we();
73
+ const l = h, v = k, R = `calendar-${d.getRandom(5)}`, se = l.id, { optPageLanguage: A, getPageLanguage: re } = we();
74
74
  re("dataTime");
75
75
  const s = X({
76
76
  selectId: "",
@@ -93,7 +93,7 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
93
93
  const e = {
94
94
  "panel-calendar": !0
95
95
  };
96
- return u.getJsonMerge(e, ae.getClassNameJson(l.className));
96
+ return d.getJsonMerge(e, ae.getClassNameJson(l.className));
97
97
  }), le = () => {
98
98
  if (!c.viewDate) return;
99
99
  const e = c.viewDate.localeData(), t = c.viewDate.year(), n = e.monthsShort(c.viewDate);
@@ -116,11 +116,11 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
116
116
  if (!V) return "";
117
117
  try {
118
118
  const t = V.fromDate(e.toDate()), n = t.getFestivals();
119
- if (u.isNonEmptyString(n[0])) return n[0];
119
+ if (d.isNonEmptyString(n[0])) return n[0];
120
120
  const o = t.getJieQi();
121
- if (u.isNonEmptyString(o)) return o;
121
+ if (d.isNonEmptyString(o)) return o;
122
122
  const a = t.getDayInChinese();
123
- return u.isNonEmptyString(a) ? a : "";
123
+ return d.isNonEmptyString(a) ? a : "";
124
124
  } catch (t) {
125
125
  return H.warn("ClCalendar", "农历计算异常,该格不显示农历", t), "";
126
126
  }
@@ -159,22 +159,22 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
159
159
  for (let i = 0; i < 42; i += 1) {
160
160
  i > 0 && (n = n.add(1, "days"));
161
161
  const r = ue(n.clone(), e.year(), e.month(), t);
162
- a.push(r), r.isCurrentMonth && !u.isEmpty(s.selectId) && r.dayNum === s.selectId && (s.selectId = r.id), a.length === 7 && (o.push({ days: a }), a = []);
162
+ a.push(r), r.isCurrentMonth && !d.isEmpty(s.selectId) && r.dayNum === s.selectId && (s.selectId = r.id), a.length === 7 && (o.push({ days: a }), a = []);
163
163
  }
164
- if (T.value = o, !u.isEmpty(s.selectId))
164
+ if (T.value = o, !d.isEmpty(s.selectId))
165
165
  s.focusedId = s.selectId;
166
166
  else {
167
167
  const i = o.flatMap((r) => r.days).find((r) => r.isCurrentMonth);
168
168
  s.focusedId = i ? i.id : "";
169
169
  }
170
170
  }, g = (e) => {
171
- c.viewDate = u.isEmpty(e) ? y.initDay() : y.getDayjsObject(e), c.viewDate && typeof c.viewDate.isValid == "function" && c.viewDate.isValid() || (c.viewDate = y.initDay()), le(), ye();
172
- }, D = (e) => !e || !u.isString(e) || u.isEmpty(e) ? (s.selectId = y.getDayjsObject("").date(), y.initFormat({ format: "YYYY-MM" })) : e.split("-").length === 3 ? (s.selectId = y.getDayjsObject(e).date(), y.initFormat({ value: e, format: "YYYY-MM" })) : (s.selectId = "", e), fe = () => {
171
+ c.viewDate = d.isEmpty(e) ? y.initDay() : y.getDayjsObject(e), c.viewDate && typeof c.viewDate.isValid == "function" && c.viewDate.isValid() || (c.viewDate = y.initDay()), le(), ye();
172
+ }, D = (e) => !e || !d.isString(e) || d.isEmpty(e) ? (s.selectId = y.getDayjsObject("").date(), y.initFormat({ format: "YYYY-MM" })) : e.split("-").length === 3 ? (s.selectId = y.getDayjsObject(e).date(), y.initFormat({ value: e, format: "YYYY-MM" })) : (s.selectId = "", e), fe = () => {
173
173
  g(D(l.viewDateTime)), p(() => {
174
- w(s.focusedId), !u.isEmpty(s.selectId) && u.isString(s.selectId) && v("onInit", s.selectId.replace("day-", ""));
174
+ w(s.focusedId), !d.isEmpty(s.selectId) && d.isString(s.selectId) && v("onInit", s.selectId.replace("day-", ""));
175
175
  });
176
176
  }, w = (e) => {
177
- if (u.isEmpty(e) || !N.value) return;
177
+ if (!d.isString(e) || d.isEmpty(e) || !N.value) return;
178
178
  const t = N.value.querySelector(
179
179
  `[aria-label="${e.replace("day-", "")}"]`
180
180
  );
@@ -197,7 +197,7 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
197
197
  ), Z(
198
198
  () => l.viewDateTime,
199
199
  (e) => {
200
- u.isEmpty(e) || (g(D(e)), p(() => w(s.focusedId)));
200
+ d.isEmpty(e) || (g(D(e)), p(() => w(s.focusedId)));
201
201
  }
202
202
  );
203
203
  const z = (e, t) => {
@@ -267,12 +267,12 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
267
267
  ref_key: "calendarRoot",
268
268
  ref: N
269
269
  }, [
270
- d("table", ke, [
271
- d("thead", null, [
272
- d("tr", null, [
273
- d("th", De, [
274
- d("div", Me, [
275
- d("span", {
270
+ u("table", ke, [
271
+ u("thead", null, [
272
+ u("tr", null, [
273
+ u("th", De, [
274
+ u("div", Me, [
275
+ u("span", {
276
276
  class: "calendar-head-label-prev-month",
277
277
  title: j(A).prevMonth,
278
278
  role: "button",
@@ -285,12 +285,12 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
285
285
  }, [
286
286
  ee(ne, { name: "angle-left" })
287
287
  ], 40, Ce),
288
- d("span", null, [
289
- d("span", Ie, _(I.titleYear), 1),
290
- d("span", be, _(I.titleMonth), 1)
288
+ u("span", null, [
289
+ u("span", Ie, _(I.titleYear), 1),
290
+ u("span", be, _(I.titleMonth), 1)
291
291
  ]),
292
- d("span", Se, [
293
- d("span", {
292
+ u("span", Se, [
293
+ u("span", {
294
294
  class: "calendar-head-label-next-month",
295
295
  title: j(A).nextMonth,
296
296
  role: "button",
@@ -307,13 +307,13 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
307
307
  ])
308
308
  ])
309
309
  ]),
310
- d("tr", Ee, [
310
+ u("tr", Ee, [
311
311
  (f(!0), m(C, null, B(P.value, (n, o) => (f(), m("th", {
312
312
  key: `${R}-week-${o}`
313
313
  }, _(n), 1))), 128))
314
314
  ])
315
315
  ]),
316
- d("tbody", null, [
316
+ u("tbody", null, [
317
317
  (f(!0), m(C, null, B(T.value, (n, o) => (f(), m("tr", {
318
318
  key: `${R}-days-${o}`
319
319
  }, [
@@ -334,7 +334,7 @@ const _e = ["id"], ke = { class: "calendar-container table-base" }, De = { colsp
334
334
  onKeydown: (r) => me(r, o, i)
335
335
  }, [
336
336
  a.isToday ? (f(), m("span", Le, "今")) : (f(), m(C, { key: 1 }, [], 64)),
337
- d("div", Re, _(a.dayNum), 1),
337
+ u("div", Re, _(a.dayNum), 1),
338
338
  a.restMark ? (f(), m("div", {
339
339
  key: 2,
340
340
  class: K(["day-rest", a.restMark === "班" ? "day-rest-work" : "day-rest-rest"])
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),h=require("../Shared/base-DmcbRUB5.js"),b=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Bp1npEqw.js"),I=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DXQ2H_E6.js");;/* empty css */const W={class:"code-legend-demo"},q={class:"code-legend-code"},D=["aria-label"],k=25,V=100,z=e.defineComponent({name:"ClCodeLegend",__name:"Index",props:{id:{},className:{},title:{}},setup(_){const i=_,w=i.id,p=e.useTemplateRef("refElCard"),E=e.useTemplateRef("refElFoot"),n=e.ref(!1),a=e.ref(!1),r=e.ref("auto");let c=null,u=null,l=null;const F=e.computed(()=>{const t=["code-legend"];return i.className&&h.CommonBase.isString(i.className)&&!h.CommonBase.isEmpty(i.className)&&i.className.split(" ").forEach(o=>{h.CommonBase.isEmpty(o)||t.push(o)}),t.join(" ")}),x=e.computed(()=>({"code-legend-footer":!0,"card-footer-fixed":a.value})),N=e.computed(()=>({"icon-rotate":!0,"rotate-180":n.value})),m=()=>{c&&(clearTimeout(c),c=null),u&&(clearTimeout(u),u=null)},d=()=>{if(n.value){const t=p.value?.$el;if(!t)return;const o=t.clientWidth,s=E.value;if(!s)return;const $=s.getBoundingClientRect(),y=t.getBoundingClientRect(),C=window.innerHeight;y.top<C&&y.bottom>C?(a.value=!0,r.value=o.toString()+"px",s.style.left=$.left+"px"):(a.value=!1,r.value="auto",s.style.left="")}else a.value=!1,r.value="auto"},g=()=>{l||(l=setTimeout(()=>{l=null,d()},V))};e.watch(()=>n.value,(t,o)=>{t!==o&&(m(),t?f():v())});const T=()=>{n.value=!n.value},S=t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),T())},B=t=>{const o=t;o.style.height="auto";const s=window.getComputedStyle(o,null).height;o.style.height="0",c=setTimeout(function(){o.style.height=s},k)},L=t=>{const o=t;u=setTimeout(function(){o.style.height="0"},k)},R=()=>{e.nextTick(()=>{d()})},A=()=>{e.nextTick(()=>{d()})},f=()=>{window.addEventListener("scroll",g)},v=()=>{window.removeEventListener("scroll",g),l&&(clearTimeout(l),l=null)};return e.onMounted(()=>{n.value&&f()}),e.onActivated(()=>{n.value&&(f(),d())}),e.onDeactivated(()=>{v(),m()}),e.onUnmounted(()=>{v(),m()}),(t,o)=>(e.openBlock(),e.createBlock(b._sfc_main,{ref_key:"refElCard",ref:p,id:e.unref(w),theme:"loopline",className:F.value},{headTitle:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.title),1)]),headExplain:e.withCtx(()=>[t.$slots.remark?e.renderSlot(t.$slots,"remark",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))]),default:e.withCtx(()=>[e.createElementVNode("div",W,[e.renderSlot(t.$slots,"demo")]),e.createVNode(e.Transition,{name:"slide-fade",onEnter:B,onAfterEnter:R,onLeave:L,onAfterLeave:A},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",q,[e.renderSlot(t.$slots,"code")])],512),[[e.vShow,n.value]])]),_:3})]),foot:e.withCtx(()=>[t.$slots.code?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"refElFoot",ref:E,class:e.normalizeClass(x.value),role:"button",tabindex:"0","aria-label":n.value?"收起代码":"展开代码",onClick:T,onKeydown:S,style:e.normalizeStyle({width:r.value})},[e.createVNode(I._sfc_main,{name:"caret-down",class:e.normalizeClass(N.value)},null,8,["class"])],46,D)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))]),_:3},8,["id","className"]))}});module.exports=z;
1
+ "use strict";const e=require("vue"),h=require("../Shared/base-DbuX_Y3x.js"),b=require("../Shared/Index.vue_vue_type_script_setup_true_lang-C1Z3g7mN.js"),I=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js");;/* empty css */const W={class:"code-legend-demo"},q={class:"code-legend-code"},D=["aria-label"],k=25,V=100,z=e.defineComponent({name:"ClCodeLegend",__name:"Index",props:{id:{},className:{},title:{}},setup(_){const i=_,w=i.id,p=e.useTemplateRef("refElCard"),E=e.useTemplateRef("refElFoot"),n=e.ref(!1),a=e.ref(!1),r=e.ref("auto");let c=null,u=null,l=null;const F=e.computed(()=>{const t=["code-legend"];return i.className&&h.CommonBase.isString(i.className)&&!h.CommonBase.isEmpty(i.className)&&i.className.split(" ").forEach(o=>{h.CommonBase.isEmpty(o)||t.push(o)}),t.join(" ")}),x=e.computed(()=>({"code-legend-footer":!0,"card-footer-fixed":a.value})),N=e.computed(()=>({"icon-rotate":!0,"rotate-180":n.value})),m=()=>{c&&(clearTimeout(c),c=null),u&&(clearTimeout(u),u=null)},d=()=>{if(n.value){const t=p.value?.$el;if(!t)return;const o=t.clientWidth,s=E.value;if(!s)return;const $=s.getBoundingClientRect(),y=t.getBoundingClientRect(),C=window.innerHeight;y.top<C&&y.bottom>C?(a.value=!0,r.value=o.toString()+"px",s.style.left=$.left+"px"):(a.value=!1,r.value="auto",s.style.left="")}else a.value=!1,r.value="auto"},g=()=>{l||(l=setTimeout(()=>{l=null,d()},V))};e.watch(()=>n.value,(t,o)=>{t!==o&&(m(),t?f():v())});const T=()=>{n.value=!n.value},S=t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),T())},B=t=>{const o=t;o.style.height="auto";const s=window.getComputedStyle(o,null).height;o.style.height="0",c=setTimeout(function(){o.style.height=s},k)},L=t=>{const o=t;u=setTimeout(function(){o.style.height="0"},k)},R=()=>{e.nextTick(()=>{d()})},A=()=>{e.nextTick(()=>{d()})},f=()=>{window.addEventListener("scroll",g)},v=()=>{window.removeEventListener("scroll",g),l&&(clearTimeout(l),l=null)};return e.onMounted(()=>{n.value&&f()}),e.onActivated(()=>{n.value&&(f(),d())}),e.onDeactivated(()=>{v(),m()}),e.onUnmounted(()=>{v(),m()}),(t,o)=>(e.openBlock(),e.createBlock(b._sfc_main,{ref_key:"refElCard",ref:p,id:e.unref(w),theme:"loopline",className:F.value},{headTitle:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.title),1)]),headExplain:e.withCtx(()=>[t.$slots.remark?e.renderSlot(t.$slots,"remark",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))]),default:e.withCtx(()=>[e.createElementVNode("div",W,[e.renderSlot(t.$slots,"demo")]),e.createVNode(e.Transition,{name:"slide-fade",onEnter:B,onAfterEnter:R,onLeave:L,onAfterLeave:A},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",q,[e.renderSlot(t.$slots,"code")])],512),[[e.vShow,n.value]])]),_:3})]),foot:e.withCtx(()=>[t.$slots.code?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"refElFoot",ref:E,class:e.normalizeClass(x.value),role:"button",tabindex:"0","aria-label":n.value?"收起代码":"展开代码",onClick:T,onKeydown:S,style:e.normalizeStyle({width:r.value})},[e.createVNode(I._sfc_main,{name:"caret-down",class:e.normalizeClass(N.value)},null,8,["class"])],46,D)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))]),_:3},8,["id","className"]))}});module.exports=z;
@@ -3,9 +3,9 @@ import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/IconRotate-base.css';
4
4
  import '../../styles/Web/ClCodeLegend.css';
5
5
  import { defineComponent as P, useTemplateRef as $, ref as p, computed as g, watch as U, onMounted as Y, onActivated as q, onDeactivated as G, onUnmounted as J, openBlock as f, createBlock as Q, unref as X, withCtx as i, createElementBlock as E, normalizeStyle as Z, normalizeClass as x, createVNode as A, Fragment as R, createElementVNode as T, renderSlot as _, Transition as ee, withDirectives as te, vShow as oe, createTextVNode as ne, toDisplayString as le, nextTick as B } from "vue";
6
- import { C as y } from "../Shared/base-C5l51ld_.js";
7
- import { _ as se } from "../Shared/Index.vue_vue_type_script_setup_true_lang-ZN6OLOcr.js";
8
- import { _ as ie } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CVBKgYfQ.js";
6
+ import { C as y } from "../Shared/base-fr2I80sU.js";
7
+ import { _ as se } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CAEbDVL3.js";
8
+ import { _ as ie } from "../Shared/Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js";
9
9
  /* empty css */
10
10
  const ae = { class: "code-legend-demo" }, re = { class: "code-legend-code" }, ce = ["aria-label"], W = 25, de = 100, pe = /* @__PURE__ */ P({
11
11
  name: "ClCodeLegend",
@@ -1 +1 @@
1
- .code-legend-m{background:var(--cl-bg, #ffffff);border-radius:8px;box-shadow:0 1px 3px 0 var(--cl-shadow-color, rgba(0, 0, 0, .06));overflow:hidden}.code-legend-m:active{box-shadow:0 1px 2px 0 var(--cl-shadow-sm, rgba(0, 0, 0, .04))}.code-legend-m__head{padding:14px 16px 10px;border-bottom:1px solid var(--cl-bg-muted, #f5f5f5);background:#fafbfc}.code-legend-m__title{font-size:16px;font-weight:600;color:var(--cl-text-primary, #323233);padding-left:10px;position:relative}.code-legend-m__title:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:2px;background:var(--cl-primary, #1088f0)}.code-legend-m__remark{margin-top:6px;font-size:13px;color:var(--cl-text-secondary, #666666);line-height:1.5}.code-legend-m__body{padding:14px 16px;border-bottom:1px solid var(--cl-bg-muted, #f5f5f5)}.code-legend-m__foot{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 0;font-size:13px;color:var(--cl-primary, #1088f0);border-top:1px solid var(--cl-bg-muted, #f5f5f5);cursor:pointer;-webkit-tap-highlight-color:transparent}.code-legend-m__foot:active{background:#f2f6fc}.code-legend-m__foot-arrow{font-size:12px}.code-legend-m__mask{position:fixed;inset:0;border:none;padding:0;background:var(--cl-overlay, rgba(0, 0, 0, .7));transition:opacity var(--codelgm-duration, .3s) ease}.code-legend-m__drawer{position:fixed;left:0;right:0;bottom:0;height:80vh;display:flex;flex-direction:column;background:var(--cl-bg, #ffffff);border-radius:16px 16px 0 0;overflow:hidden;box-sizing:border-box}.code-legend-m__drawer--safe-bottom{padding-bottom:env(safe-area-inset-bottom)}.code-legend-m__drawer-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--cl-bg-muted, #f5f5f5);flex-shrink:0}.code-legend-m__drawer-title{font-size:15px;font-weight:600;color:var(--cl-text-primary, #323233)}.code-legend-m__drawer-actions{display:flex;align-items:center;gap:16px}.code-legend-m__copy{color:var(--cl-primary, #1088f0);cursor:pointer}.code-legend-m__drawer-close{font-size:16px;color:var(--cl-text-secondary, #666666);cursor:pointer}.code-legend-m__drawer-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#1e1e1e}.code-legend-m__code{margin:0;padding:14px 16px;font-size:12px;line-height:1.6;color:#d4d4d4;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.code-legend-m__code-inner{font-family:inherit;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.code-legend-m__code-slot{padding:14px 16px}.codelgm-fade-enter-active,.codelgm-fade-leave-active{transition:opacity var(--codelgm-duration, .3s) ease}.codelgm-fade-enter-from,.codelgm-fade-leave-to{opacity:0}.codelgm-slide-up-enter-active,.codelgm-slide-up-leave-active{transition:transform var(--codelgm-duration, .3s) cubic-bezier(.32,.72,0,1)}.codelgm-slide-up-enter-from,.codelgm-slide-up-leave-to{transform:translateY(100%)}
1
+ .code-legend-m{background:var(--cl-bg, #ffffff);border-radius:8px;box-shadow:0 1px 3px 0 var(--cl-shadow-color, rgba(0, 0, 0, .06));overflow:hidden}.code-legend-m__head{padding:14px 16px 10px;border-bottom:1px solid var(--cl-bg-muted, #f5f5f5);background:var(--cl-bg-subtle, #fafafa)}.code-legend-m__title{font-size:16px;font-weight:600;color:var(--cl-text-primary, #323233);padding-left:10px;position:relative}.code-legend-m__title:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:2px;background:var(--cl-primary, #1088f0)}.code-legend-m__remark{margin-top:6px;font-size:13px;color:var(--cl-text-secondary, #666666);line-height:1.5}.code-legend-m__body{padding:14px 16px;border-bottom:1px solid var(--cl-bg-muted, #f5f5f5)}.code-legend-m__foot{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 0;font-size:13px;color:var(--cl-primary, #1088f0);border-top:1px solid var(--cl-bg-muted, #f5f5f5);cursor:pointer;-webkit-tap-highlight-color:transparent}.code-legend-m__foot:active{background:#f2f6fc}.code-legend-m__foot-arrow{font-size:12px}.code-legend-m__mask{position:fixed;inset:0;border:none;padding:0;background:var(--cl-overlay, rgba(0, 0, 0, .7));transition:opacity var(--codelgm-duration, .3s) ease}.code-legend-m__drawer{position:fixed;left:0;right:0;bottom:0;height:80vh;display:flex;flex-direction:column;background:var(--cl-bg, #ffffff);border-radius:16px 16px 0 0;overflow:hidden;box-sizing:border-box}.code-legend-m__drawer--safe-bottom{padding-bottom:env(safe-area-inset-bottom)}.code-legend-m__drawer-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--cl-bg-muted, #f5f5f5);flex-shrink:0}.code-legend-m__drawer-title{font-size:15px;font-weight:600;color:var(--cl-text-primary, #323233)}.code-legend-m__drawer-actions{display:flex;align-items:center;gap:16px}.code-legend-m__copy{color:var(--cl-primary, #1088f0);cursor:pointer}.code-legend-m__drawer-close{font-size:16px;color:var(--cl-text-secondary, #666666);cursor:pointer}.code-legend-m__drawer-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#1e1e1e}.code-legend-m__code{margin:0;padding:14px 16px;font-size:12px;line-height:1.6;color:#d4d4d4;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.code-legend-m__code-inner{font-family:inherit;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.code-legend-m__code-slot{padding:14px 16px}.codelgm-fade-enter-active,.codelgm-fade-leave-active{transition:opacity var(--codelgm-duration, .3s) ease}.codelgm-fade-enter-from,.codelgm-fade-leave-to{opacity:0}.codelgm-slide-up-enter-active,.codelgm-slide-up-leave-active{transition:transform var(--codelgm-duration, .3s) cubic-bezier(.32,.72,0,1)}.codelgm-slide-up-enter-from,.codelgm-slide-up-leave-to{transform:translateY(100%)}
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),y=require("../Shared/base-DmcbRUB5.js"),S=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DXQ2H_E6.js"),ee=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-gwQgBwlR.js"),M=require("../Shared/drag-CnnSwz5k.js"),J=require("../Shared/index-CXRfOfiT.js"),E=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Dk4V2JmM.js"),te=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DGT_No-k.js"),le=require("../Shared/language-BAyxuenq.js");;/* empty css */const G=(a,t)=>Object.prototype.hasOwnProperty.call(a,t),oe=(a,t,o)=>{const n=(2-t)*o/2,p=n===0||n===1?0:t*o/(n<.5?n*2:2-n*2);return[a,p,n]},ne=a=>typeof a=="string"&&a.includes(".")&&Number.parseFloat(a)===1,ae=a=>typeof a=="string"&&a.includes("%"),T=(a,t)=>{ne(a)&&(a="100%");const o=ae(a);return a=Math.min(t,Math.max(0,Number.parseFloat(`${a}`))),o&&(a=Number.parseInt(`${a*t}`,10)/100),Math.abs(a-t)<1e-6?1:a%t/Number.parseFloat(t)},j={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},A=a=>{a=Math.min(Math.round(a),255);const t=Math.floor(a/16),o=a%16;return`${j[t]||t}${j[o]||o}`},Y=({r:a,g:t,b:o})=>Number.isNaN(+a)||Number.isNaN(+t)||Number.isNaN(+o)?"":`#${A(a)}${A(t)}${A(o)}`,H={A:10,B:11,C:12,D:13,E:14,F:15},x=a=>a.length===2?(H[a[0].toUpperCase()]||+a[0])*16+(H[a[1].toUpperCase()]||+a[1]):H[a[1].toUpperCase()]||+a[1],re=(a,t,o)=>{t=t/100,o=o/100;let n=t;const p=Math.max(o,.01);o*=2,t*=o<=1?o:2-o,n*=p<=1?p:2-p;const r=(o+t)/2,d=o===0?2*n/(p+n):2*t/(o+t);return{h:a,s:d*100,v:r*100}},Q=(a,t,o)=>{a=T(a,255),t=T(t,255),o=T(o,255);const n=Math.max(a,t,o),p=Math.min(a,t,o);let r=0;const d=n,l=n-p,c=n===0?0:l/n;if(n===p)r=0;else{switch(n){case a:{r=(t-o)/l+(t<o?6:0);break}case t:{r=(o-a)/l+2;break}case o:{r=(a-t)/l+4;break}}r/=6}return{h:r*360,s:c*100,v:d*100}},D=(a,t,o)=>{a=T(a,360)*6,t=T(t,100),o=T(o,100);const n=Math.floor(a),p=a-n,r=o*(1-t),d=o*(1-p*t),l=o*(1-(1-p)*t),c=n%6,s=[o,d,r,r,l,o][c],m=[l,o,o,d,r,r][c],C=[r,r,l,o,o,d][c];return{r:Math.round(s*255),g:Math.round(m*255),b:Math.round(C*255)}};class se{_hue=0;_saturation=100;_value=100;_alpha=100;enableAlpha=!1;format="hex";value="";selected;constructor(t){t=t||{};for(const o in t)G(t,o)&&(this[o]=t[o]);t.value?this.fromString(t.value):this.doOnChange()}set(t,o){if(arguments.length===1&&typeof t=="object"){for(const n in t)G(t,n)&&this.set(n,t[n]);return}this[`_${t}`]=o,this.doOnChange()}get(t){return t==="alpha"?Math.floor(this[`_${t}`]):this[`_${t}`]}toRgb(){return D(this._hue,this._saturation,this._value)}fromString(t){if(!t)return;const o=this._convertValueInfo(t);o&&(this._hue=o.hue,this._saturation=o.saturation,this._value=o.value,this._alpha=o.alpha,this.doOnChange())}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:o,_value:n,_alpha:p,format:r}=this,d={hue:t,saturation:o,value:n,alpha:p};let l=this._convertFormat(r,d);l.length===0&&(l=this._getValueRGB(d)),this.value=l}checkValue(t){let o=!1,n="";if(/^rgb\(/.test(t)?n="^[rR][gG][Bb][\\(]([\\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\\s]*,){2}[\\s]*(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)[\\s]*[\\)]{1}$":/^rgba\(/.test(t)?n="^[rR][gG][Bb][Aa][\\(]([\\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\\s]*,){3}[\\s]*(1|1.0|0|0.[0-9])[\\s]*[\\)]{1}$":/^#/.test(t)?n="^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$":/^hsl\(/.test(t)?n="^[hH][Ss][Ll][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*)[\\)]$":/^hsla\(/.test(t)?n="^[hH][Ss][Ll][Aa][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,){2}([\\s]*(1|1.0|0|0.[0-9])[\\s]*)[\\)]$":/^hsv\(/.test(t)?n="^[hH][Ss][Vv][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*)[\\)]$":/^hsva\(/.test(t)&&(n="^[hH][Ss][Vv][Aa][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,){2}([\\s]*(1|1.0|0|0.[0-9])[\\s]*)[\\)]$"),n.length>0){const p=new RegExp(n);o=t.match(p)!==null}return o}getValueFormat(t,o){const n=this._convertValueInfo(t);return n?this._convertFormat(o,n):t}_convertValueInfo(t){let o=0,n=100,p=100,r=100;if(t){let d;if(t.includes("hsl")){const l=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(c=>c!=="").map((c,s)=>s>2?Number.parseFloat(c):Number.parseInt(c,10));l.length===4?(r=Number.parseFloat(l[3].toString()),r=r>1?1:r,r=r*100):l.length===3&&(r=100),l.length>=3&&(d=re(l[0],l[1],l[2]))}else if(t.includes("hsv")){const l=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(c=>c!=="").map((c,s)=>s>2?Number.parseFloat(c):Number.parseInt(c,10));l.length===4?(r=Number.parseFloat(l[3].toString()),r=r>1?1:r,r=r*100):l.length===3&&(r=100),l.length>=3&&(d={h:l[0],s:l[1],v:l[2]})}else if(t.includes("rgb")){const l=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(c=>c!=="").map((c,s)=>s>2?Number.parseFloat(c):Number.parseInt(c,10));l.length===4?(r=Number.parseFloat(l[3].toString()),r=r>1?1:r,r=r*100):l.length===3&&(r=100),l.length>=3&&(d=Q(l[0],l[1],l[2]))}else if(t.includes("#")){const l=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(l))return;let c=0,s=0,m=0;l.length===3?(c=x(l[0]+l[0]),s=x(l[1]+l[1]),m=x(l[2]+l[2])):(l.length===6||l.length===8)&&(c=x(l.slice(0,2)),s=x(l.slice(2,4)),m=x(l.slice(4,6))),l.length===8?(r=x(l.slice(6))/255,r=r>1?1:r,r=r*100):(l.length===3||l.length===6)&&(r=100),d=Q(c,s,m)}d&&(o=Math.max(0,Math.min(360,d.h)),n=Math.max(0,Math.min(100,d.s)),p=Math.max(0,Math.min(100,d.v)))}return{hue:o,saturation:n,value:p,alpha:r}}_convertFormat(t,o){let n="";switch(t){case"hsl":{n=this._getValueHSL(o);break}case"hsv":{n=this._getValueHSV(o);break}case"rgb":{n=this._getValueRGB(o);break}case"hex":n=this._getValueHEX(o)}return n}_isShowAlpha(t){return t!==100}_getValueHSL(t){const o=Math.floor(t.alpha),n=this._isShowAlpha(t.alpha),p=oe(t.hue,t.saturation/100,t.value/100),r=Math.round(t.hue),d=Math.round(p[1]*100),l=Math.round(p[2]*100);return n?`hsla(${r}, ${d}%, ${l}%, ${o/100})`:`hsl(${r}, ${d}%, ${l}%)`}_getValueHSV(t){const o=Math.floor(t.alpha),n=this._isShowAlpha(o),p=Math.round(t.hue),r=Math.round(t.saturation),d=Math.round(t.value);return n?`hsva(${p}, ${r}%, ${d}%, ${o/100})`:`hsv(${p}, ${r}%, ${d}%)`}_getValueHEX(t){const o=Math.floor(t.alpha);return this._isShowAlpha(o)?`${Y(D(t.hue,t.saturation,t.value))}${A(o*255/100)}`:Y(D(t.hue,t.saturation,t.value))}_getValueRGB(t){const o=Math.floor(t.alpha),n=this._isShowAlpha(o),{r:p,g:r,b:d}=D(t.hue,t.saturation,t.value);return n?`rgba(${p}, ${r}, ${d}, ${this.get("alpha")/100})`:`rgb(${p}, ${r}, ${d})`}}const ce=e.defineComponent({name:"ClColorPickerPalette",__name:"Palette",props:{color:{type:Object,required:!0}},setup(a){const t=a,o=e.useTemplateRef("refElTopParent"),n=e.reactive({background:"hsl(0, 100%, 50%)",btnLeft:0,btnTop:0}),p=e.computed(()=>{const c=t.color.get("hue"),s=t.color.get("value");return{hue:c,value:s}}),r=(c,s)=>{const C=o.value.getBoundingClientRect();let v=s.clientX-C.left,h=s.clientY-C.top;v=Math.max(0,v),v=Math.min(v,C.width),h=Math.max(0,h),h=Math.min(h,C.height),n.btnLeft=v,n.btnTop=h,t.color.set({saturation:v/C.width*100,value:100-h/C.height*100})},d=()=>{const c=o.value,s=t.color.get("saturation"),m=t.color.get("value"),{clientWidth:C,clientHeight:v}=c;n.btnLeft=s*C/100,n.btnTop=(100-m)*v/100,n.background=`hsl(${t.color.get("hue")}, 100%, 50%)`},l=()=>{const c={ing:(s,m)=>{r(s,m)},end:(s,m)=>{r(s,m)}};new M.Drag(o.value,c),d()};return e.onMounted(()=>{e.nextTick(()=>{l()})}),e.watch(()=>p.value,()=>{d()}),(c,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:o,class:"panel-colorpicker-palette",style:e.normalizeStyle({backgroundColor:n.background})},[s[1]||(s[1]=e.createElementVNode("div",{class:"panel-colorpicker-palette-white"},null,-1)),s[2]||(s[2]=e.createElementVNode("div",{class:"panel-colorpicker-palette-black"},null,-1)),e.createElementVNode("div",{class:"panel-colorpicker-palette-btn",style:e.normalizeStyle({top:n.btnTop+"px",left:n.btnLeft+"px"})},[...s[0]||(s[0]=[e.createElementVNode("div",null,null,-1)])],4)],4))}}),ie=e.defineComponent({name:"ClColorPickerHue",__name:"Hue",props:{color:{type:Object,required:!0}},setup(a){const t=a,o=e.useTemplateRef("refElTopParent"),n=e.useTemplateRef("refElContainer"),p=e.useTemplateRef("refElBtn"),r=e.reactive({btnTop:0}),d=e.computed(()=>t.color.get("hue")),l=(v,h)=>{const V=o.value.getBoundingClientRect();let b=h.clientY-V.top;b=Math.max(0,b),b=Math.min(b,V.height);const _=Math.round(b/V.height*360);t.color.set("hue",_)},c=()=>{const v=o.value,h=t.color.get("hue");return Math.round(h*v.offsetHeight/360)},s=()=>{r.btnTop=c()},m=()=>{const v={ing:(h,g)=>{l(h,g)},end:(h,g)=>{l(h,g)}};new M.Drag(n.value,v),new M.Drag(p.value,v),s()};e.onMounted(()=>{e.nextTick(()=>{m()})}),e.watch(()=>d.value,()=>{s()});const C=v=>{if(v.target!==p.value){const g=J.CommonElement.getClientXY(v);l(v,g)}};return(v,h)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:o,class:"panel-colorpicker-hue"},[e.createElementVNode("div",{ref_key:"refElContainer",ref:n,class:"panel-colorpicker-hue-container",onClick:C},null,512),e.createElementVNode("div",{ref_key:"refElBtn",ref:p,class:"panel-colorpicker-hue-btn",style:e.normalizeStyle({top:r.btnTop+"px"})},null,4)],512))}}),ue=e.defineComponent({name:"ClColorPickerAlpha",__name:"Alpha",props:{color:{type:Object,required:!0}},setup(a){const t=a,o=e.useTemplateRef("refElTopParent"),n=e.useTemplateRef("refElContainer"),p=e.useTemplateRef("refElBtn"),r=e.reactive({background:null,btnLeft:0}),d=e.computed(()=>t.color.get("alpha")),l=(h,g)=>{const b=o.value.getBoundingClientRect();let _=g.clientX-b.left;_=Math.max(0,_),_=Math.min(_,b.width);const B=Math.round(_/b.width*100);t.color.set("alpha",B)},c=()=>{const h=o.value,g=t.color.get("alpha");return Math.round(g*h.offsetWidth/100)},s=()=>{if(t.color&&t.color.value){const{r:h,g,b:V}=t.color.toRgb();return`linear-gradient(to right, rgba(${h}, ${g}, ${V}, 0) 0%, rgba(${h}, ${g}, ${V}, 1) 100%)`}return null},m=()=>{r.btnLeft=c(),r.background=s()},C=()=>{const h={ing:(g,V)=>{l(g,V)},end:(g,V)=>{l(g,V)}};new M.Drag(n.value,h),new M.Drag(p.value,h),m()};e.onMounted(()=>{e.nextTick(()=>{C()})}),e.watch(()=>d.value,()=>{m()}),e.watch(()=>t.color.value,()=>{m()});const v=h=>{if(h.target!==p.value){const V=J.CommonElement.getClientXY(h);l(h,V)}};return(h,g)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:o,class:"panel-colorpicker-alpha"},[e.createElementVNode("div",{ref_key:"refElContainer",ref:n,class:"panel-colorpicker-alpha-container",style:e.normalizeStyle({background:r.background}),onClick:v},null,4),e.createElementVNode("div",{ref_key:"refElBtn",ref:p,class:"panel-colorpicker-alpha-btn",style:e.normalizeStyle({left:r.btnLeft+"px"})},null,4)],512))}}),K=e.defineComponent({name:"ClColorPickerItemBlock",__name:"ItemBlock",props:{className:String,color:String},emits:{onClick:a=>!0},setup(a,{emit:t}){const o=a,n=t,p=e.computed(()=>{let d="panel-colorpicker-item-block ";const{className:l}=o;return l&&!y.CommonBase.isEmpty(l)&&(d+=l),d}),r=()=>{n("onClick",o.color||"")};return(d,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(p.value),onClick:r},[l[0]||(l[0]=e.createElementVNode("div",{class:"panel-colorpicker-bg-alpha"},null,-1)),e.createElementVNode("div",{style:e.normalizeStyle({background:a.color})},null,4)],2))}}),pe={class:"panel-colorpicker-preset"},de=e.defineComponent({name:"ClColorPickerPreset",__name:"Preset",emits:{onClick:a=>!0},setup(a,{emit:t}){const o=t,n=e.reactive({keyIndex:`ColorpickerPreset-${y.CommonBase.getRandom(8)}`}),p=e.ref([]),r=()=>{const l=["var(--cl-text-primary, #323233)","var(--cl-bg, #ffffff)","#f44336","#E91E63","#9c27b0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548","#9E9E9E","#607D8B","rgba(255, 69, 0, 0.68)","rgba(31, 147, 255, 0.73)","var(--cl-transparent, rgba(0, 0, 0, 0))"];p.value=l};e.onMounted(()=>{r()});const d=l=>{o("onClick",l)};return(l,c)=>(e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(s,m)=>(e.openBlock(),e.createElementBlock("li",{key:`${n.keyIndex}-${m}`},[e.createVNode(K,{color:s,onOnClick:d},null,8,["color"])]))),128))])]))}}),me={class:"panel-colorpicker-value"},he={key:0,class:"panel-colorpicker-hex"},fe={key:1,class:"panel-colorpicker-rgb"},ve={key:2,class:"panel-colorpicker-hsl"},ge={key:3,class:"panel-colorpicker-hsv"},ke=e.defineComponent({name:"ClColorPickerValue",__name:"Value",props:{color:{type:Object,required:!0}},emits:{onChangeType:a=>!0},setup(a,{expose:t,emit:o}){const n=a,p=o,r=e.reactive({type:"hex",hex:"",rgb:"",hsl:"",hsv:""}),d=e.ref(""),l=e.reactive({r:"",g:"",b:"",a:""}),c=e.reactive({h:"",s:"",l:"",a:""}),s=e.reactive({h:"",s:"",v:"",a:""}),m={typeList:["hex","rgb","hsl","hsv"]},C=e.computed(()=>n.color.value),v=u=>{const f=u.substring(u.indexOf("(")+1,u.indexOf(")")).split(",").map($=>y.CommonBase.trim($));return f.length===3&&f.push("1"),f},h=(u,i)=>{const f=u||C.value,{color:$}=n,U=i==="hex"?f:$.getValueFormat(f,"hex"),q=$.getValueFormat(f,"rgb"),z=$.getValueFormat(f,"hsl"),X=$.getValueFormat(f,"hsv");r.hex=U,r.rgb=q,r.hsl=z,r.hsv=X,e.nextTick(()=>{d.value=U;const O=v(q);l.r=O[0],l.g=O[1],l.b=O[2],l.a=O[3];const R=v(z);c.h=R[0],c.s=R[1],c.l=R[2],c.a=R[3];const P=v(X);s.h=P[0],s.s=P[1],s.v=P[2],s.a=P[3]})},g=u=>{let i=m.typeList.indexOf(r.type);i+=u;const f=m.typeList.length;i<0?i=f-1:i>=f&&(i=0);const $=m.typeList[i];r.type=$,p("onChangeType",$)},V=u=>{let i="";switch(u){case"hex":{d.value.length>0&&(i=d.value);break}case"rgb":{l.r.length>0&&l.g.length>0&&l.b.length>0&&l.a.length>0&&(i=`rgba(${l.r}, ${l.g}, ${l.b},${l.a})`);break}case"hsl":{c.h.length>0&&c.s.length>0&&c.l.length>0&&c.a.length>0&&(i=`hsla(${c.h}, ${c.s}, ${c.l},${c.a})`);break}case"hsv":{s.h.length>0&&s.s.length>0&&s.v.length>0&&s.a.length>0&&(i=`hsva(${s.h}, ${s.s}, ${s.v},${s.a})`);break}}if(i.length>0&&n.color.checkValue(i)){const f=n.color.getValueFormat(i,u);i!==f&&(h(i,u),e.nextTick(()=>{n.color.fromString(i)}),p("onChangeType",u))}},b=()=>{h()};e.onMounted(()=>{e.nextTick(()=>{b()})}),e.watch(()=>C.value,u=>{const i=n.color.getValueFormat(u,"rgb");r.rgb!==i&&h()});const _=()=>{V("hex")},B=()=>{V("rgb")},N=()=>{V("hsl")},w=()=>{V("hsv")},F=()=>{g(-1)},I=()=>{g(1)};return t({setType:u=>{r.type=u},clearInputs:()=>{d.value="",l.r="",l.g="",l.b="",l.a="",c.h="",c.s="",c.l="",c.a="",s.h="",s.s="",s.v="",s.a=""}}),(u,i)=>(e.openBlock(),e.createElementBlock("div",me,[e.createElementVNode("div",null,[r.type==="hex"?(e.openBlock(),e.createElementBlock("div",he,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:d.value,"onUpdate:value":i[0]||(i[0]=f=>d.value=f),isClean:!1,onOnChange:_},null,8,["value"]),i[13]||(i[13]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"十六进制",-1))])])):r.type==="rgb"?(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.r,"onUpdate:value":i[1]||(i[1]=f=>l.r=f),isClean:!1,onOnChange:B},null,8,["value"]),i[14]||(i[14]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"R",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.g,"onUpdate:value":i[2]||(i[2]=f=>l.g=f),isClean:!1,onOnChange:B},null,8,["value"]),i[15]||(i[15]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"G",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.b,"onUpdate:value":i[3]||(i[3]=f=>l.b=f),isClean:!1,onOnChange:B},null,8,["value"]),i[16]||(i[16]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"B",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.a,"onUpdate:value":i[4]||(i[4]=f=>l.a=f),isClean:!1,onOnChange:B},null,8,["value"]),i[17]||(i[17]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"A",-1))])])):r.type==="hsl"?(e.openBlock(),e.createElementBlock("div",ve,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.h,"onUpdate:value":i[5]||(i[5]=f=>c.h=f),isClean:!1,onOnChange:N},null,8,["value"]),i[18]||(i[18]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"H",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.s,"onUpdate:value":i[6]||(i[6]=f=>c.s=f),isClean:!1,onOnChange:N},null,8,["value"]),i[19]||(i[19]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"S",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.l,"onUpdate:value":i[7]||(i[7]=f=>c.l=f),isClean:!1,onOnChange:N},null,8,["value"]),i[20]||(i[20]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"L",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.a,"onUpdate:value":i[8]||(i[8]=f=>c.a=f),isClean:!1,onOnChange:N},null,8,["value"]),i[21]||(i[21]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"A",-1))])])):r.type==="hsv"?(e.openBlock(),e.createElementBlock("div",ge,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.h,"onUpdate:value":i[9]||(i[9]=f=>s.h=f),isClean:!1,onOnChange:w},null,8,["value"]),i[22]||(i[22]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"H",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.s,"onUpdate:value":i[10]||(i[10]=f=>s.s=f),isClean:!1,onOnChange:w},null,8,["value"]),i[23]||(i[23]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"S",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.v,"onUpdate:value":i[11]||(i[11]=f=>s.v=f),isClean:!1,onOnChange:w},null,8,["value"]),i[24]||(i[24]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"V",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.a,"onUpdate:value":i[12]||(i[12]=f=>s.a=f),isClean:!1,onOnChange:w},null,8,["value"]),i[25]||(i[25]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"A",-1))])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[],64))]),e.createElementVNode("div",null,[e.createVNode(S._sfc_main,{name:"caret-up",onClick:F}),e.createVNode(S._sfc_main,{name:"caret-down",onClick:I})])]))}}),Ce={key:0,class:"panel-colorpicker-copy-icon"},W=e.defineComponent({name:"ClColorPickerCopy",__name:"Copy",props:{className:String,color:String,getTxtCallback:Function},setup(a){const t=a,o=e.useSlots(),n=e.reactive({isHover:!1}),p=e.computed(()=>!y.CommonBase.isUndefined(o.default)),r=e.computed(()=>{let s=!1;return p.value?s=n.isHover:s=!0,s}),d=e.computed(()=>{const s={"panel-colorpicker-copy":!0,"panel-colorpicker-copy-hover":n.isHover},{className:m}=t;return m&&!y.CommonBase.isEmpty(m)&&m.split(" ").forEach(C=>{y.CommonBase.isEmpty(C)||(s[C]=!0)}),s}),l=()=>{p.value&&(n.isHover=!0)},c=()=>{p.value&&(n.isHover=!1)};return(s,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(d.value),onMouseenter:l,onMouseleave:c},[e.renderSlot(s.$slots,"default"),r.value?(e.openBlock(),e.createElementBlock("div",Ce,[e.createVNode(te._sfc_main,{textLabel:a.getTxtCallback||a.color||""},null,8,["textLabel"])])):e.createCommentVNode("",!0)],34))}}),Ve={class:"panel-colorpicker-container"},be={key:0},_e={key:0,class:"panel-colorpicker-format"},Ee={class:"panel-colorpicker-format-show"},ye={key:1,class:"panel-colorpicker-operate"},Z=e.defineComponent({name:"ClColorPickerBase",__name:"Color",props:{value:String,disabled:{type:Boolean,default:!1},isAlpha:{type:Boolean,default:!0},isFormat:{type:Boolean,default:!0},isOperate:{type:Boolean,default:!0},isPreset:{type:Boolean,default:!0},isDropdown:{type:Boolean,default:!0}},emits:{onChange:a=>!0,onSubmit:()=>!0,onInit:()=>!0},setup(a,{expose:t,emit:o}){const n=a,p=o,{optPageLanguage:r,getPageLanguage:d}=le.useLanguage();d("common");const l=e.useTemplateRef("refElColorResult"),c=e.useTemplateRef("refElColorValue"),s=e.reactive({isShowColorResult:!1,colorResult:"",formatShow:"hex"}),m=e.reactive(new se({value:n.value,format:"",enableAlpha:!0})),C={isColorChangeResult:!0},v=()=>m.get("alpha").toString()==="100"?"hex":"rgb",h=(u,i=!0)=>{let f="";u&&!y.CommonBase.isEmpty(u)&&s.isShowColorResult&&(f=m.getValueFormat(u,s.formatShow)),s.colorResult=f,i&&p("onChange",f)},g=u=>{u&&!y.CommonBase.isEmpty(u)?(s.isShowColorResult=!0,m.fromString(u),h(m.value,!1)):(s.isShowColorResult=!1,C.isColorChangeResult=!1,h("",!1),m.fromString(""),e.nextTick(()=>{C.isColorChangeResult=!0}))},V=()=>{const{value:u}=n;g(u),p("onInit")};e.onMounted(()=>{e.nextTick(()=>{V()})}),e.watch(()=>n.value,u=>{g(u)}),e.watch(()=>m.value,u=>{y.CommonBase.isEmpty(n.value)&&(s.isShowColorResult=!0),C.isColorChangeResult&&h(u),C.isColorChangeResult=!0});const b=()=>m.getValueFormat(m.value,s.formatShow),_=u=>{m.fromString(u)},B=u=>{s.formatShow=u,h(m.value,!1)},N=()=>{const u=n.value||"";s.isShowColorResult=!y.CommonBase.isEmpty(u),y.CommonBase.isEmpty(u)?m.set({hue:0,saturation:0,value:100,alpha:100}):(C.isColorChangeResult=!1,h(u),m.fromString(u))},w=()=>{m.set({hue:0,saturation:0,value:100,alpha:100})},F=()=>{p("onSubmit")};return t({getValue:()=>{let u=s.colorResult;if(u.length>0){const i=v();u=m.getValueFormat(u,i)}return u},setValue:u=>{g(u)},initValueType:()=>{const u=v();s.formatShow=u,c.value&&c.value.setType(u)}}),(u,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["panel-colorpicker-wrapper",{"panel-colorpicker-wrapper-disabled":a.disabled}])},[e.createElementVNode("div",Ve,[e.createElementVNode("div",null,[e.createVNode(ce,{color:m},null,8,["color"]),e.createVNode(ie,{color:m},null,8,["color"])]),a.isAlpha?(e.openBlock(),e.createElementBlock("div",be,[e.createVNode(ue,{color:m},null,8,["color"]),i[0]||(i[0]=e.createElementVNode("div",null,null,-1))])):e.createCommentVNode("",!0)]),a.isFormat?(e.openBlock(),e.createElementBlock("div",_e,[e.createElementVNode("div",Ee,[e.createVNode(W,{className:"panel-colorpicker-tip-current",getTxtCallback:b},{default:e.withCtx(()=>[e.createVNode(K,{color:m.value},null,8,["color"])]),_:1})]),e.createVNode(ke,{ref_key:"refElColorValue",ref:c,color:m,onOnChangeType:B},null,8,["color"])])):e.createCommentVNode("",!0),a.isOperate?(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",{ref_key:"refElColorResult",ref:l},e.toDisplayString(s.colorResult),513),e.createElementVNode("div",null,[e.createElementVNode("div",{onClick:N},[e.createVNode(S._sfc_main,{name:"restore",title:e.unref(r).restore},null,8,["title"])]),e.createElementVNode("div",{onClick:w},[e.createVNode(S._sfc_main,{name:"clear",title:e.unref(r).clearEmpty},null,8,["title"])]),e.createVNode(W,{color:s.colorResult},null,8,["color"]),a.isDropdown?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:F},[e.createVNode(S._sfc_main,{name:"check",title:e.unref(r).submit},null,8,["title"])])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),a.isPreset?(e.openBlock(),e.createBlock(de,{key:2,onOnClick:_})):e.createCommentVNode("",!0)],2))}}),Be={class:"panel-colorpicker-dropdown-text"},Ne={key:0,class:"panel-colorpicker-dropdown-arrow"},we=e.defineComponent({name:"ClColorPicker",__name:"Index",props:{id:String,value:String,className:String,disabled:{type:Boolean,default:!1},isDropdown:{type:Boolean,default:!0},isAlpha:{type:Boolean,default:!0},isFormat:{type:Boolean,default:!0},isOperate:{type:Boolean,default:!0},isPreset:{type:Boolean,default:!0},isPlaintext:{type:Boolean,default:!1}},emits:{"update:value":a=>!0,"update:modelValue":a=>!0,onChange:a=>!0,onInit:()=>!0},setup(a,{expose:t,emit:o}){const n=a,p=n.id,r=o,d=e.useTemplateRef("refElDropdownLayer"),l=e.useTemplateRef("refElColorpicker"),c=e.reactive({isInitShow:!n.isDropdown,dropdownTextValue:"",currentValue:""}),s={lastValue:""},m=e.computed(()=>{let k="panel-colorpicker ";const{className:u}=n;return u&&!y.CommonBase.isEmpty(u)&&(k+=u),n.isPlaintext&&(k+="cl-plaintext-static "),k}),C=()=>{const k=c.currentValue;let u=!1;n.isDropdown?u=k!==s.lastValue:u=!0,u&&(s.lastValue=k,r("update:value",k),r("update:modelValue",k),r("onChange",k))},v=k=>{let u="transparent";k&&!y.CommonBase.isEmpty(k)&&(u=k),c.dropdownTextValue=u},h=k=>{const u=k||"";s.lastValue=u,n.isDropdown||(c.currentValue=u),v(u)},g=()=>{const k=l.value.getValue();c.dropdownTextValue=k,c.currentValue=k,C()},V=()=>{h(n.value)};e.watch(()=>n.value,k=>{h(k)}),e.onMounted(()=>{e.nextTick(()=>{V()})});const b=()=>{r("onInit")},_=k=>{n.disabled||(k?l.value&&l.value.initValueType():n.isOperate?c.currentValue!==l.value.getValue()&&c.currentValue===s.lastValue&&l.value.setValue(s.lastValue):g())},B=()=>{c.isInitShow=!0,c.currentValue=s.lastValue},N=()=>{n.isDropdown||g()},w=()=>{g(),n.isDropdown&&d.value&&d.value.setOpen(!1)};return t({getValue:()=>c.currentValue,getValueData:()=>({value:c.currentValue}),setValue:k=>{h(k)}}),(k,u)=>a.isDropdown?(e.openBlock(),e.createBlock(ee._sfc_main,{key:0,ref_key:"refElDropdownLayer",ref:d,id:e.unref(p),classParent:m.value,classDropDown:"panel-colorpicker-dropdown",isUseDropdownArrow:!0,isDisabled:a.disabled,onOnChangeOpen:_,onOnOpenComplete:B},{label:e.withCtx(()=>[e.createElementVNode("div",Be,[u[0]||(u[0]=e.createElementVNode("div",{class:"panel-colorpicker-bg-alpha"},null,-1)),e.createElementVNode("div",{style:e.normalizeStyle({"background-color":c.dropdownTextValue})},null,4),a.isPlaintext?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createElementBlock("div",Ne,[e.createVNode(S._sfc_main,{name:"angle-down"})]))])]),dropdown:e.withCtx(()=>[c.isInitShow?(e.openBlock(),e.createBlock(Z,{key:0,ref_key:"refElColorpicker",ref:l,value:c.currentValue,isAlpha:a.isAlpha,isFormat:a.isFormat,isOperate:a.isOperate,isPreset:a.isPreset,isDropdown:a.isDropdown,onOnChange:N,onOnSubmit:w,onOnInit:b},null,8,["value","isAlpha","isFormat","isOperate","isPreset","isDropdown"])):e.createCommentVNode("",!0)]),_:1},8,["id","classParent","isDisabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(m.value)},[c.isInitShow?(e.openBlock(),e.createBlock(Z,{key:0,ref_key:"refElColorpicker",ref:l,value:c.currentValue,disabled:a.disabled,isAlpha:a.isAlpha,isFormat:a.isFormat,isOperate:a.isOperate,isPreset:a.isPreset,isDropdown:a.isDropdown,onOnChange:N,onOnSubmit:w,onOnInit:b},null,8,["value","disabled","isAlpha","isFormat","isOperate","isPreset","isDropdown"])):e.createCommentVNode("",!0)],2))}});module.exports=we;
1
+ "use strict";const e=require("vue"),y=require("../Shared/base-DbuX_Y3x.js"),S=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js"),ee=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js"),M=require("../Shared/drag-BB4KOliP.js"),J=require("../Shared/index-rFJmbgyH.js"),E=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Dq-sCBRz.js"),te=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DYj0GzN0.js"),le=require("../Shared/language-Q4AGYtUe.js");;/* empty css */const G=(a,t)=>Object.prototype.hasOwnProperty.call(a,t),oe=(a,t,o)=>{const n=(2-t)*o/2,p=n===0||n===1?0:t*o/(n<.5?n*2:2-n*2);return[a,p,n]},ne=a=>typeof a=="string"&&a.includes(".")&&Number.parseFloat(a)===1,ae=a=>typeof a=="string"&&a.includes("%"),T=(a,t)=>{ne(a)&&(a="100%");const o=ae(a);return a=Math.min(t,Math.max(0,Number.parseFloat(`${a}`))),o&&(a=Number.parseInt(`${a*t}`,10)/100),Math.abs(a-t)<1e-6?1:a%t/Number.parseFloat(t)},j={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},A=a=>{a=Math.min(Math.round(a),255);const t=Math.floor(a/16),o=a%16;return`${j[t]||t}${j[o]||o}`},Y=({r:a,g:t,b:o})=>Number.isNaN(+a)||Number.isNaN(+t)||Number.isNaN(+o)?"":`#${A(a)}${A(t)}${A(o)}`,H={A:10,B:11,C:12,D:13,E:14,F:15},x=a=>a.length===2?(H[a[0].toUpperCase()]||+a[0])*16+(H[a[1].toUpperCase()]||+a[1]):H[a[1].toUpperCase()]||+a[1],re=(a,t,o)=>{t=t/100,o=o/100;let n=t;const p=Math.max(o,.01);o*=2,t*=o<=1?o:2-o,n*=p<=1?p:2-p;const r=(o+t)/2,d=o===0?2*n/(p+n):2*t/(o+t);return{h:a,s:d*100,v:r*100}},Q=(a,t,o)=>{a=T(a,255),t=T(t,255),o=T(o,255);const n=Math.max(a,t,o),p=Math.min(a,t,o);let r=0;const d=n,l=n-p,c=n===0?0:l/n;if(n===p)r=0;else{switch(n){case a:{r=(t-o)/l+(t<o?6:0);break}case t:{r=(o-a)/l+2;break}case o:{r=(a-t)/l+4;break}}r/=6}return{h:r*360,s:c*100,v:d*100}},D=(a,t,o)=>{a=T(a,360)*6,t=T(t,100),o=T(o,100);const n=Math.floor(a),p=a-n,r=o*(1-t),d=o*(1-p*t),l=o*(1-(1-p)*t),c=n%6,s=[o,d,r,r,l,o][c],m=[l,o,o,d,r,r][c],C=[r,r,l,o,o,d][c];return{r:Math.round(s*255),g:Math.round(m*255),b:Math.round(C*255)}};class se{_hue=0;_saturation=100;_value=100;_alpha=100;enableAlpha=!1;format="hex";value="";selected;constructor(t){t=t||{};for(const o in t)G(t,o)&&(this[o]=t[o]);t.value?this.fromString(t.value):this.doOnChange()}set(t,o){if(arguments.length===1&&typeof t=="object"){for(const n in t)G(t,n)&&this.set(n,t[n]);return}this[`_${t}`]=o,this.doOnChange()}get(t){return t==="alpha"?Math.floor(this[`_${t}`]):this[`_${t}`]}toRgb(){return D(this._hue,this._saturation,this._value)}fromString(t){if(!t)return;const o=this._convertValueInfo(t);o&&(this._hue=o.hue,this._saturation=o.saturation,this._value=o.value,this._alpha=o.alpha,this.doOnChange())}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:o,_value:n,_alpha:p,format:r}=this,d={hue:t,saturation:o,value:n,alpha:p};let l=this._convertFormat(r,d);l.length===0&&(l=this._getValueRGB(d)),this.value=l}checkValue(t){let o=!1,n="";if(/^rgb\(/.test(t)?n="^[rR][gG][Bb][\\(]([\\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\\s]*,){2}[\\s]*(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)[\\s]*[\\)]{1}$":/^rgba\(/.test(t)?n="^[rR][gG][Bb][Aa][\\(]([\\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\\s]*,){3}[\\s]*(1|1.0|0|0.[0-9])[\\s]*[\\)]{1}$":/^#/.test(t)?n="^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$":/^hsl\(/.test(t)?n="^[hH][Ss][Ll][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*)[\\)]$":/^hsla\(/.test(t)?n="^[hH][Ss][Ll][Aa][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,){2}([\\s]*(1|1.0|0|0.[0-9])[\\s]*)[\\)]$":/^hsv\(/.test(t)?n="^[hH][Ss][Vv][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*)[\\)]$":/^hsva\(/.test(t)&&(n="^[hH][Ss][Vv][Aa][\\(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,){2}([\\s]*(1|1.0|0|0.[0-9])[\\s]*)[\\)]$"),n.length>0){const p=new RegExp(n);o=t.match(p)!==null}return o}getValueFormat(t,o){const n=this._convertValueInfo(t);return n?this._convertFormat(o,n):t}_convertValueInfo(t){let o=0,n=100,p=100,r=100;if(t){let d;if(t.includes("hsl")){const l=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(c=>c!=="").map((c,s)=>s>2?Number.parseFloat(c):Number.parseInt(c,10));l.length===4?(r=Number.parseFloat(l[3].toString()),r=r>1?1:r,r=r*100):l.length===3&&(r=100),l.length>=3&&(d=re(l[0],l[1],l[2]))}else if(t.includes("hsv")){const l=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(c=>c!=="").map((c,s)=>s>2?Number.parseFloat(c):Number.parseInt(c,10));l.length===4?(r=Number.parseFloat(l[3].toString()),r=r>1?1:r,r=r*100):l.length===3&&(r=100),l.length>=3&&(d={h:l[0],s:l[1],v:l[2]})}else if(t.includes("rgb")){const l=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(c=>c!=="").map((c,s)=>s>2?Number.parseFloat(c):Number.parseInt(c,10));l.length===4?(r=Number.parseFloat(l[3].toString()),r=r>1?1:r,r=r*100):l.length===3&&(r=100),l.length>=3&&(d=Q(l[0],l[1],l[2]))}else if(t.includes("#")){const l=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(l))return;let c=0,s=0,m=0;l.length===3?(c=x(l[0]+l[0]),s=x(l[1]+l[1]),m=x(l[2]+l[2])):(l.length===6||l.length===8)&&(c=x(l.slice(0,2)),s=x(l.slice(2,4)),m=x(l.slice(4,6))),l.length===8?(r=x(l.slice(6))/255,r=r>1?1:r,r=r*100):(l.length===3||l.length===6)&&(r=100),d=Q(c,s,m)}d&&(o=Math.max(0,Math.min(360,d.h)),n=Math.max(0,Math.min(100,d.s)),p=Math.max(0,Math.min(100,d.v)))}return{hue:o,saturation:n,value:p,alpha:r}}_convertFormat(t,o){let n="";switch(t){case"hsl":{n=this._getValueHSL(o);break}case"hsv":{n=this._getValueHSV(o);break}case"rgb":{n=this._getValueRGB(o);break}case"hex":n=this._getValueHEX(o)}return n}_isShowAlpha(t){return t!==100}_getValueHSL(t){const o=Math.floor(t.alpha),n=this._isShowAlpha(t.alpha),p=oe(t.hue,t.saturation/100,t.value/100),r=Math.round(t.hue),d=Math.round(p[1]*100),l=Math.round(p[2]*100);return n?`hsla(${r}, ${d}%, ${l}%, ${o/100})`:`hsl(${r}, ${d}%, ${l}%)`}_getValueHSV(t){const o=Math.floor(t.alpha),n=this._isShowAlpha(o),p=Math.round(t.hue),r=Math.round(t.saturation),d=Math.round(t.value);return n?`hsva(${p}, ${r}%, ${d}%, ${o/100})`:`hsv(${p}, ${r}%, ${d}%)`}_getValueHEX(t){const o=Math.floor(t.alpha);return this._isShowAlpha(o)?`${Y(D(t.hue,t.saturation,t.value))}${A(o*255/100)}`:Y(D(t.hue,t.saturation,t.value))}_getValueRGB(t){const o=Math.floor(t.alpha),n=this._isShowAlpha(o),{r:p,g:r,b:d}=D(t.hue,t.saturation,t.value);return n?`rgba(${p}, ${r}, ${d}, ${this.get("alpha")/100})`:`rgb(${p}, ${r}, ${d})`}}const ce=e.defineComponent({name:"ClColorPickerPalette",__name:"Palette",props:{color:{type:Object,required:!0}},setup(a){const t=a,o=e.useTemplateRef("refElTopParent"),n=e.reactive({background:"hsl(0, 100%, 50%)",btnLeft:0,btnTop:0}),p=e.computed(()=>{const c=t.color.get("hue"),s=t.color.get("value");return{hue:c,value:s}}),r=(c,s)=>{const C=o.value.getBoundingClientRect();let v=s.clientX-C.left,h=s.clientY-C.top;v=Math.max(0,v),v=Math.min(v,C.width),h=Math.max(0,h),h=Math.min(h,C.height),n.btnLeft=v,n.btnTop=h,t.color.set({saturation:v/C.width*100,value:100-h/C.height*100})},d=()=>{const c=o.value,s=t.color.get("saturation"),m=t.color.get("value"),{clientWidth:C,clientHeight:v}=c;n.btnLeft=s*C/100,n.btnTop=(100-m)*v/100,n.background=`hsl(${t.color.get("hue")}, 100%, 50%)`},l=()=>{const c={ing:(s,m)=>{r(s,m)},end:(s,m)=>{r(s,m)}};new M.Drag(o.value,c),d()};return e.onMounted(()=>{e.nextTick(()=>{l()})}),e.watch(()=>p.value,()=>{d()}),(c,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:o,class:"panel-colorpicker-palette",style:e.normalizeStyle({backgroundColor:n.background})},[s[1]||(s[1]=e.createElementVNode("div",{class:"panel-colorpicker-palette-white"},null,-1)),s[2]||(s[2]=e.createElementVNode("div",{class:"panel-colorpicker-palette-black"},null,-1)),e.createElementVNode("div",{class:"panel-colorpicker-palette-btn",style:e.normalizeStyle({top:n.btnTop+"px",left:n.btnLeft+"px"})},[...s[0]||(s[0]=[e.createElementVNode("div",null,null,-1)])],4)],4))}}),ie=e.defineComponent({name:"ClColorPickerHue",__name:"Hue",props:{color:{type:Object,required:!0}},setup(a){const t=a,o=e.useTemplateRef("refElTopParent"),n=e.useTemplateRef("refElContainer"),p=e.useTemplateRef("refElBtn"),r=e.reactive({btnTop:0}),d=e.computed(()=>t.color.get("hue")),l=(v,h)=>{const V=o.value.getBoundingClientRect();let b=h.clientY-V.top;b=Math.max(0,b),b=Math.min(b,V.height);const _=Math.round(b/V.height*360);t.color.set("hue",_)},c=()=>{const v=o.value,h=t.color.get("hue");return Math.round(h*v.offsetHeight/360)},s=()=>{r.btnTop=c()},m=()=>{const v={ing:(h,g)=>{l(h,g)},end:(h,g)=>{l(h,g)}};new M.Drag(n.value,v),new M.Drag(p.value,v),s()};e.onMounted(()=>{e.nextTick(()=>{m()})}),e.watch(()=>d.value,()=>{s()});const C=v=>{if(v.target!==p.value){const g=J.CommonElement.getClientXY(v);l(v,g)}};return(v,h)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:o,class:"panel-colorpicker-hue"},[e.createElementVNode("div",{ref_key:"refElContainer",ref:n,class:"panel-colorpicker-hue-container",onClick:C},null,512),e.createElementVNode("div",{ref_key:"refElBtn",ref:p,class:"panel-colorpicker-hue-btn",style:e.normalizeStyle({top:r.btnTop+"px"})},null,4)],512))}}),ue=e.defineComponent({name:"ClColorPickerAlpha",__name:"Alpha",props:{color:{type:Object,required:!0}},setup(a){const t=a,o=e.useTemplateRef("refElTopParent"),n=e.useTemplateRef("refElContainer"),p=e.useTemplateRef("refElBtn"),r=e.reactive({background:null,btnLeft:0}),d=e.computed(()=>t.color.get("alpha")),l=(h,g)=>{const b=o.value.getBoundingClientRect();let _=g.clientX-b.left;_=Math.max(0,_),_=Math.min(_,b.width);const B=Math.round(_/b.width*100);t.color.set("alpha",B)},c=()=>{const h=o.value,g=t.color.get("alpha");return Math.round(g*h.offsetWidth/100)},s=()=>{if(t.color&&t.color.value){const{r:h,g,b:V}=t.color.toRgb();return`linear-gradient(to right, rgba(${h}, ${g}, ${V}, 0) 0%, rgba(${h}, ${g}, ${V}, 1) 100%)`}return null},m=()=>{r.btnLeft=c(),r.background=s()},C=()=>{const h={ing:(g,V)=>{l(g,V)},end:(g,V)=>{l(g,V)}};new M.Drag(n.value,h),new M.Drag(p.value,h),m()};e.onMounted(()=>{e.nextTick(()=>{C()})}),e.watch(()=>d.value,()=>{m()}),e.watch(()=>t.color.value,()=>{m()});const v=h=>{if(h.target!==p.value){const V=J.CommonElement.getClientXY(h);l(h,V)}};return(h,g)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:o,class:"panel-colorpicker-alpha"},[e.createElementVNode("div",{ref_key:"refElContainer",ref:n,class:"panel-colorpicker-alpha-container",style:e.normalizeStyle({background:r.background}),onClick:v},null,4),e.createElementVNode("div",{ref_key:"refElBtn",ref:p,class:"panel-colorpicker-alpha-btn",style:e.normalizeStyle({left:r.btnLeft+"px"})},null,4)],512))}}),K=e.defineComponent({name:"ClColorPickerItemBlock",__name:"ItemBlock",props:{className:String,color:String},emits:{onClick:a=>!0},setup(a,{emit:t}){const o=a,n=t,p=e.computed(()=>{let d="panel-colorpicker-item-block ";const{className:l}=o;return l&&!y.CommonBase.isEmpty(l)&&(d+=l),d}),r=()=>{n("onClick",o.color||"")};return(d,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(p.value),onClick:r},[l[0]||(l[0]=e.createElementVNode("div",{class:"panel-colorpicker-bg-alpha"},null,-1)),e.createElementVNode("div",{style:e.normalizeStyle({background:a.color})},null,4)],2))}}),pe={class:"panel-colorpicker-preset"},de=e.defineComponent({name:"ClColorPickerPreset",__name:"Preset",emits:{onClick:a=>!0},setup(a,{emit:t}){const o=t,n=e.reactive({keyIndex:`ColorpickerPreset-${y.CommonBase.getRandom(8)}`}),p=e.ref([]),r=()=>{const l=["var(--cl-text-primary, #323233)","var(--cl-bg, #ffffff)","#f44336","#E91E63","#9c27b0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548","#9E9E9E","#607D8B","rgba(255, 69, 0, 0.68)","rgba(31, 147, 255, 0.73)","var(--cl-transparent, rgba(0, 0, 0, 0))"];p.value=l};e.onMounted(()=>{r()});const d=l=>{o("onClick",l)};return(l,c)=>(e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(s,m)=>(e.openBlock(),e.createElementBlock("li",{key:`${n.keyIndex}-${m}`},[e.createVNode(K,{color:s,onOnClick:d},null,8,["color"])]))),128))])]))}}),me={class:"panel-colorpicker-value"},he={key:0,class:"panel-colorpicker-hex"},fe={key:1,class:"panel-colorpicker-rgb"},ve={key:2,class:"panel-colorpicker-hsl"},ge={key:3,class:"panel-colorpicker-hsv"},ke=e.defineComponent({name:"ClColorPickerValue",__name:"Value",props:{color:{type:Object,required:!0}},emits:{onChangeType:a=>!0},setup(a,{expose:t,emit:o}){const n=a,p=o,r=e.reactive({type:"hex",hex:"",rgb:"",hsl:"",hsv:""}),d=e.ref(""),l=e.reactive({r:"",g:"",b:"",a:""}),c=e.reactive({h:"",s:"",l:"",a:""}),s=e.reactive({h:"",s:"",v:"",a:""}),m={typeList:["hex","rgb","hsl","hsv"]},C=e.computed(()=>n.color.value),v=u=>{const f=u.substring(u.indexOf("(")+1,u.indexOf(")")).split(",").map($=>y.CommonBase.trim($));return f.length===3&&f.push("1"),f},h=(u,i)=>{const f=u||C.value,{color:$}=n,U=i==="hex"?f:$.getValueFormat(f,"hex"),q=$.getValueFormat(f,"rgb"),z=$.getValueFormat(f,"hsl"),X=$.getValueFormat(f,"hsv");r.hex=U,r.rgb=q,r.hsl=z,r.hsv=X,e.nextTick(()=>{d.value=U;const O=v(q);l.r=O[0],l.g=O[1],l.b=O[2],l.a=O[3];const R=v(z);c.h=R[0],c.s=R[1],c.l=R[2],c.a=R[3];const P=v(X);s.h=P[0],s.s=P[1],s.v=P[2],s.a=P[3]})},g=u=>{let i=m.typeList.indexOf(r.type);i+=u;const f=m.typeList.length;i<0?i=f-1:i>=f&&(i=0);const $=m.typeList[i];r.type=$,p("onChangeType",$)},V=u=>{let i="";switch(u){case"hex":{d.value.length>0&&(i=d.value);break}case"rgb":{l.r.length>0&&l.g.length>0&&l.b.length>0&&l.a.length>0&&(i=`rgba(${l.r}, ${l.g}, ${l.b},${l.a})`);break}case"hsl":{c.h.length>0&&c.s.length>0&&c.l.length>0&&c.a.length>0&&(i=`hsla(${c.h}, ${c.s}, ${c.l},${c.a})`);break}case"hsv":{s.h.length>0&&s.s.length>0&&s.v.length>0&&s.a.length>0&&(i=`hsva(${s.h}, ${s.s}, ${s.v},${s.a})`);break}}if(i.length>0&&n.color.checkValue(i)){const f=n.color.getValueFormat(i,u);i!==f&&(h(i,u),e.nextTick(()=>{n.color.fromString(i)}),p("onChangeType",u))}},b=()=>{h()};e.onMounted(()=>{e.nextTick(()=>{b()})}),e.watch(()=>C.value,u=>{const i=n.color.getValueFormat(u,"rgb");r.rgb!==i&&h()});const _=()=>{V("hex")},B=()=>{V("rgb")},N=()=>{V("hsl")},w=()=>{V("hsv")},F=()=>{g(-1)},I=()=>{g(1)};return t({setType:u=>{r.type=u},clearInputs:()=>{d.value="",l.r="",l.g="",l.b="",l.a="",c.h="",c.s="",c.l="",c.a="",s.h="",s.s="",s.v="",s.a=""}}),(u,i)=>(e.openBlock(),e.createElementBlock("div",me,[e.createElementVNode("div",null,[r.type==="hex"?(e.openBlock(),e.createElementBlock("div",he,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:d.value,"onUpdate:value":i[0]||(i[0]=f=>d.value=f),isClean:!1,onOnChange:_},null,8,["value"]),i[13]||(i[13]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"十六进制",-1))])])):r.type==="rgb"?(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.r,"onUpdate:value":i[1]||(i[1]=f=>l.r=f),isClean:!1,onOnChange:B},null,8,["value"]),i[14]||(i[14]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"R",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.g,"onUpdate:value":i[2]||(i[2]=f=>l.g=f),isClean:!1,onOnChange:B},null,8,["value"]),i[15]||(i[15]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"G",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.b,"onUpdate:value":i[3]||(i[3]=f=>l.b=f),isClean:!1,onOnChange:B},null,8,["value"]),i[16]||(i[16]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"B",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:l.a,"onUpdate:value":i[4]||(i[4]=f=>l.a=f),isClean:!1,onOnChange:B},null,8,["value"]),i[17]||(i[17]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"A",-1))])])):r.type==="hsl"?(e.openBlock(),e.createElementBlock("div",ve,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.h,"onUpdate:value":i[5]||(i[5]=f=>c.h=f),isClean:!1,onOnChange:N},null,8,["value"]),i[18]||(i[18]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"H",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.s,"onUpdate:value":i[6]||(i[6]=f=>c.s=f),isClean:!1,onOnChange:N},null,8,["value"]),i[19]||(i[19]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"S",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.l,"onUpdate:value":i[7]||(i[7]=f=>c.l=f),isClean:!1,onOnChange:N},null,8,["value"]),i[20]||(i[20]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"L",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:c.a,"onUpdate:value":i[8]||(i[8]=f=>c.a=f),isClean:!1,onOnChange:N},null,8,["value"]),i[21]||(i[21]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"A",-1))])])):r.type==="hsv"?(e.openBlock(),e.createElementBlock("div",ge,[e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.h,"onUpdate:value":i[9]||(i[9]=f=>s.h=f),isClean:!1,onOnChange:w},null,8,["value"]),i[22]||(i[22]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"H",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.s,"onUpdate:value":i[10]||(i[10]=f=>s.s=f),isClean:!1,onOnChange:w},null,8,["value"]),i[23]||(i[23]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"S",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.v,"onUpdate:value":i[11]||(i[11]=f=>s.v=f),isClean:!1,onOnChange:w},null,8,["value"]),i[24]||(i[24]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"V",-1))]),e.createElementVNode("div",null,[e.createVNode(E._sfc_main,{value:s.a,"onUpdate:value":i[12]||(i[12]=f=>s.a=f),isClean:!1,onOnChange:w},null,8,["value"]),i[25]||(i[25]=e.createElementVNode("div",{class:"panel-colorpicker-value-lable"},"A",-1))])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[],64))]),e.createElementVNode("div",null,[e.createVNode(S._sfc_main,{name:"caret-up",onClick:F}),e.createVNode(S._sfc_main,{name:"caret-down",onClick:I})])]))}}),Ce={key:0,class:"panel-colorpicker-copy-icon"},W=e.defineComponent({name:"ClColorPickerCopy",__name:"Copy",props:{className:String,color:String,getTxtCallback:Function},setup(a){const t=a,o=e.useSlots(),n=e.reactive({isHover:!1}),p=e.computed(()=>!y.CommonBase.isUndefined(o.default)),r=e.computed(()=>{let s=!1;return p.value?s=n.isHover:s=!0,s}),d=e.computed(()=>{const s={"panel-colorpicker-copy":!0,"panel-colorpicker-copy-hover":n.isHover},{className:m}=t;return m&&!y.CommonBase.isEmpty(m)&&m.split(" ").forEach(C=>{y.CommonBase.isEmpty(C)||(s[C]=!0)}),s}),l=()=>{p.value&&(n.isHover=!0)},c=()=>{p.value&&(n.isHover=!1)};return(s,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(d.value),onMouseenter:l,onMouseleave:c},[e.renderSlot(s.$slots,"default"),r.value?(e.openBlock(),e.createElementBlock("div",Ce,[e.createVNode(te._sfc_main,{textLabel:a.getTxtCallback||a.color||""},null,8,["textLabel"])])):e.createCommentVNode("",!0)],34))}}),Ve={class:"panel-colorpicker-container"},be={key:0},_e={key:0,class:"panel-colorpicker-format"},Ee={class:"panel-colorpicker-format-show"},ye={key:1,class:"panel-colorpicker-operate"},Z=e.defineComponent({name:"ClColorPickerBase",__name:"Color",props:{value:String,disabled:{type:Boolean,default:!1},isAlpha:{type:Boolean,default:!0},isFormat:{type:Boolean,default:!0},isOperate:{type:Boolean,default:!0},isPreset:{type:Boolean,default:!0},isDropdown:{type:Boolean,default:!0}},emits:{onChange:a=>!0,onSubmit:()=>!0,onInit:()=>!0},setup(a,{expose:t,emit:o}){const n=a,p=o,{optPageLanguage:r,getPageLanguage:d}=le.useLanguage();d("common");const l=e.useTemplateRef("refElColorResult"),c=e.useTemplateRef("refElColorValue"),s=e.reactive({isShowColorResult:!1,colorResult:"",formatShow:"hex"}),m=e.reactive(new se({value:n.value,format:"",enableAlpha:!0})),C={isColorChangeResult:!0},v=()=>m.get("alpha").toString()==="100"?"hex":"rgb",h=(u,i=!0)=>{let f="";u&&!y.CommonBase.isEmpty(u)&&s.isShowColorResult&&(f=m.getValueFormat(u,s.formatShow)),s.colorResult=f,i&&p("onChange",f)},g=u=>{u&&!y.CommonBase.isEmpty(u)?(s.isShowColorResult=!0,m.fromString(u),h(m.value,!1)):(s.isShowColorResult=!1,C.isColorChangeResult=!1,h("",!1),m.fromString(""),e.nextTick(()=>{C.isColorChangeResult=!0}))},V=()=>{const{value:u}=n;g(u),p("onInit")};e.onMounted(()=>{e.nextTick(()=>{V()})}),e.watch(()=>n.value,u=>{g(u)}),e.watch(()=>m.value,u=>{y.CommonBase.isEmpty(n.value)&&(s.isShowColorResult=!0),C.isColorChangeResult&&h(u),C.isColorChangeResult=!0});const b=()=>m.getValueFormat(m.value,s.formatShow),_=u=>{m.fromString(u)},B=u=>{s.formatShow=u,h(m.value,!1)},N=()=>{const u=n.value||"";s.isShowColorResult=!y.CommonBase.isEmpty(u),y.CommonBase.isEmpty(u)?m.set({hue:0,saturation:0,value:100,alpha:100}):(C.isColorChangeResult=!1,h(u),m.fromString(u))},w=()=>{m.set({hue:0,saturation:0,value:100,alpha:100})},F=()=>{p("onSubmit")};return t({getValue:()=>{let u=s.colorResult;if(u.length>0){const i=v();u=m.getValueFormat(u,i)}return u},setValue:u=>{g(u)},initValueType:()=>{const u=v();s.formatShow=u,c.value&&c.value.setType(u)}}),(u,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["panel-colorpicker-wrapper",{"panel-colorpicker-wrapper-disabled":a.disabled}])},[e.createElementVNode("div",Ve,[e.createElementVNode("div",null,[e.createVNode(ce,{color:m},null,8,["color"]),e.createVNode(ie,{color:m},null,8,["color"])]),a.isAlpha?(e.openBlock(),e.createElementBlock("div",be,[e.createVNode(ue,{color:m},null,8,["color"]),i[0]||(i[0]=e.createElementVNode("div",null,null,-1))])):e.createCommentVNode("",!0)]),a.isFormat?(e.openBlock(),e.createElementBlock("div",_e,[e.createElementVNode("div",Ee,[e.createVNode(W,{className:"panel-colorpicker-tip-current",getTxtCallback:b},{default:e.withCtx(()=>[e.createVNode(K,{color:m.value},null,8,["color"])]),_:1})]),e.createVNode(ke,{ref_key:"refElColorValue",ref:c,color:m,onOnChangeType:B},null,8,["color"])])):e.createCommentVNode("",!0),a.isOperate?(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",{ref_key:"refElColorResult",ref:l},e.toDisplayString(s.colorResult),513),e.createElementVNode("div",null,[e.createElementVNode("div",{onClick:N},[e.createVNode(S._sfc_main,{name:"restore",title:e.unref(r).restore},null,8,["title"])]),e.createElementVNode("div",{onClick:w},[e.createVNode(S._sfc_main,{name:"clear",title:e.unref(r).clearEmpty},null,8,["title"])]),e.createVNode(W,{color:s.colorResult},null,8,["color"]),a.isDropdown?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:F},[e.createVNode(S._sfc_main,{name:"check",title:e.unref(r).submit},null,8,["title"])])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),a.isPreset?(e.openBlock(),e.createBlock(de,{key:2,onOnClick:_})):e.createCommentVNode("",!0)],2))}}),Be={class:"panel-colorpicker-dropdown-text"},Ne={key:0,class:"panel-colorpicker-dropdown-arrow"},we=e.defineComponent({name:"ClColorPicker",__name:"Index",props:{id:String,value:String,className:String,disabled:{type:Boolean,default:!1},isDropdown:{type:Boolean,default:!0},isAlpha:{type:Boolean,default:!0},isFormat:{type:Boolean,default:!0},isOperate:{type:Boolean,default:!0},isPreset:{type:Boolean,default:!0},isPlaintext:{type:Boolean,default:!1}},emits:{"update:value":a=>!0,"update:modelValue":a=>!0,onChange:a=>!0,onInit:()=>!0},setup(a,{expose:t,emit:o}){const n=a,p=n.id,r=o,d=e.useTemplateRef("refElDropdownLayer"),l=e.useTemplateRef("refElColorpicker"),c=e.reactive({isInitShow:!n.isDropdown,dropdownTextValue:"",currentValue:""}),s={lastValue:""},m=e.computed(()=>{let k="panel-colorpicker ";const{className:u}=n;return u&&!y.CommonBase.isEmpty(u)&&(k+=u),n.isPlaintext&&(k+="cl-plaintext-static "),k}),C=()=>{const k=c.currentValue;let u=!1;n.isDropdown?u=k!==s.lastValue:u=!0,u&&(s.lastValue=k,r("update:value",k),r("update:modelValue",k),r("onChange",k))},v=k=>{let u="transparent";k&&!y.CommonBase.isEmpty(k)&&(u=k),c.dropdownTextValue=u},h=k=>{const u=k||"";s.lastValue=u,n.isDropdown||(c.currentValue=u),v(u)},g=()=>{const k=l.value.getValue();c.dropdownTextValue=k,c.currentValue=k,C()},V=()=>{h(n.value)};e.watch(()=>n.value,k=>{h(k)}),e.onMounted(()=>{e.nextTick(()=>{V()})});const b=()=>{r("onInit")},_=k=>{n.disabled||(k?l.value&&l.value.initValueType():n.isOperate?c.currentValue!==l.value.getValue()&&c.currentValue===s.lastValue&&l.value.setValue(s.lastValue):g())},B=()=>{c.isInitShow=!0,c.currentValue=s.lastValue},N=()=>{n.isDropdown||g()},w=()=>{g(),n.isDropdown&&d.value&&d.value.setOpen(!1)};return t({getValue:()=>c.currentValue,getValueData:()=>({value:c.currentValue}),setValue:k=>{h(k)}}),(k,u)=>a.isDropdown?(e.openBlock(),e.createBlock(ee._sfc_main,{key:0,ref_key:"refElDropdownLayer",ref:d,id:e.unref(p),classParent:m.value,classDropDown:"panel-colorpicker-dropdown",isUseDropdownArrow:!0,isDisabled:a.disabled,onOnChangeOpen:_,onOnOpenComplete:B},{label:e.withCtx(()=>[e.createElementVNode("div",Be,[u[0]||(u[0]=e.createElementVNode("div",{class:"panel-colorpicker-bg-alpha"},null,-1)),e.createElementVNode("div",{style:e.normalizeStyle({"background-color":c.dropdownTextValue})},null,4),a.isPlaintext?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createElementBlock("div",Ne,[e.createVNode(S._sfc_main,{name:"angle-down"})]))])]),dropdown:e.withCtx(()=>[c.isInitShow?(e.openBlock(),e.createBlock(Z,{key:0,ref_key:"refElColorpicker",ref:l,value:c.currentValue,isAlpha:a.isAlpha,isFormat:a.isFormat,isOperate:a.isOperate,isPreset:a.isPreset,isDropdown:a.isDropdown,onOnChange:N,onOnSubmit:w,onOnInit:b},null,8,["value","isAlpha","isFormat","isOperate","isPreset","isDropdown"])):e.createCommentVNode("",!0)]),_:1},8,["id","classParent","isDisabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(m.value)},[c.isInitShow?(e.openBlock(),e.createBlock(Z,{key:0,ref_key:"refElColorpicker",ref:l,value:c.currentValue,disabled:a.disabled,isAlpha:a.isAlpha,isFormat:a.isFormat,isOperate:a.isOperate,isPreset:a.isPreset,isDropdown:a.isDropdown,onOnChange:N,onOnSubmit:w,onOnInit:b},null,8,["value","disabled","isAlpha","isFormat","isOperate","isPreset","isDropdown"])):e.createCommentVNode("",!0)],2))}});module.exports=we;
@@ -3,14 +3,14 @@ import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/Input-base.css';
4
4
  import '../../styles/Web/ClColorPicker.css';
5
5
  import { defineComponent as D, useTemplateRef as M, reactive as E, computed as P, onMounted as L, nextTick as A, watch as R, openBlock as y, createElementBlock as w, normalizeStyle as N, createElementVNode as f, normalizeClass as K, ref as ge, Fragment as ne, renderList as Ce, createVNode as k, useSlots as be, renderSlot as ke, createCommentVNode as I, withCtx as le, toDisplayString as ye, unref as W, createBlock as Z } from "vue";
6
- import { C as x } from "../Shared/base-C5l51ld_.js";
7
- import { _ as U } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CVBKgYfQ.js";
8
- import { _ as we } from "../Shared/Popup.vue_vue_type_script_setup_true_lang-ltEkWlAH.js";
9
- import { D as G } from "../Shared/drag-CBokh_eH.js";
10
- import { C as ve } from "../Shared/index-wdK75uN2.js";
11
- import { _ as S } from "../Shared/Index.vue_vue_type_script_setup_true_lang-x28PWOid.js";
12
- import { _ as Ve } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CrNoVcn8.js";
13
- import { a as _e } from "../Shared/language-Br_W-GD8.js";
6
+ import { C as x } from "../Shared/base-fr2I80sU.js";
7
+ import { _ as U } from "../Shared/Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js";
8
+ import { _ as we } from "../Shared/Popup.vue_vue_type_script_setup_true_lang-hfNlyh_i.js";
9
+ import { D as G } from "../Shared/drag-BBk0X740.js";
10
+ import { C as ve } from "../Shared/index-B477PjJ3.js";
11
+ import { _ as S } from "../Shared/Index.vue_vue_type_script_setup_true_lang-qOys54ns.js";
12
+ import { _ as Ve } from "../Shared/Index.vue_vue_type_script_setup_true_lang-oFF20mhc.js";
13
+ import { a as _e } from "../Shared/language-pMmux6Js.js";
14
14
  /* empty css */
15
15
  const ue = (o, e) => Object.prototype.hasOwnProperty.call(o, e), $e = (o, e, l) => {
16
16
  const n = (2 - e) * l / 2, c = n === 0 || n === 1 ? 0 : e * l / (n < 0.5 ? n * 2 : 2 - n * 2);
@@ -1 +1 @@
1
- "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DsWuFFm8.js");module.exports=e._sfc_main;
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B-LBJS_U.js");module.exports=e._sfc_main;
@@ -3,8 +3,9 @@ import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/Load-base.css';
4
4
  import '../../styles/Common/Btn-base.css';
5
5
  import '../../styles/Common/Fade-base.css';
6
+ import '../../styles/Common/Overlay-base.css';
6
7
  import '../../styles/Web/ClCropper.css';
7
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-XWxNmuC2.js";
8
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-B5MSug5Q.js";
8
9
  export {
9
10
  f as default
10
11
  };
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),g=require("../Shared/log-C2ZbqiAV.js"),a=require("../Shared/base-DmcbRUB5.js"),S=require("../Shared/index-CXRfOfiT.js"),x=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DsWuFFm8.js"),C=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DG2gOqUV.js"),b=require("../Shared/Index.vue_vue_type_script_setup_true_lang-BWhUEMe2.js"),F=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Bh9eiZXZ.js"),O=["id"],N={class:"cropperPreview-box-flex"},q=e.defineComponent({name:"ClCropperPreview",__name:"Index",props:{id:String,className:String,previewImageUrl:String,coverImageUrl:String,width:{type:Number,default:200},height:{type:Number,default:200},widthPreview:Number,heightPreview:Number,previewShape:{type:String,default:"square"},isCenterBox:{type:Boolean,default:!1},isShowUploadBtn:{type:Boolean,default:!0},getCropperImageUrl:Function,saveImageBase64:Function},emits:{onInitCoverImage:()=>!0,onError:l=>!0},setup(l,{expose:h,emit:d}){const n=l,p=d,w=n.id,s=e.useTemplateRef("refElCropper"),o=e.reactive({isEmptyPreviewUrl:!1,isEmptyCoverUrl:!1,isAgainCropper:!1,coverImageUrlOriginal:""});let m=!1;const y=e.computed(()=>{const{width:t,widthPreview:r}=n;return a.CommonBase.isFinite(r)?r:t}),U=e.computed(()=>{const{height:t,heightPreview:r}=n;return a.CommonBase.isFinite(r)?r:t}),B=e.computed(()=>({"panel-cropper-preview":!0,...S.CommonElement.getClassNameJson(n.className)})),u=()=>{const{previewImageUrl:t}=n,r=a.CommonBase.isEmpty(t);o.isEmptyPreviewUrl=r,o.isAgainCropper=r},v=()=>{const{coverImageUrl:t}=n,r=a.CommonBase.isEmpty(t);o.isEmptyCoverUrl=r,o.coverImageUrlOriginal=r?"":t},_=()=>{const{width:t,height:r}=n;(t<=0||r<=0)&&g.clLog.warn("ClCropperPreview","裁切区域宽高必须大于 0,当前值 width="+t+" height="+r)},f=()=>{u(),v(),_()};e.onMounted(()=>{e.nextTick(()=>{f()})}),e.watch(()=>n.previewImageUrl,()=>{u()}),e.watch(()=>n.coverImageUrl,()=>{v()});const I=t=>{t===!0&&p("onInitCoverImage")},k=(t,r)=>{if(!m){if(!(t instanceof File)){p("onError","文件读取失败,请重新选择图片");return}m=!0,s.value?.loadingStart(),a.CommonBase.getBase64ByFile([t]).then(i=>{const c=a.CommonBase.isNonEmptyString(i);o.isAgainCropper=!0,c?(o.coverImageUrlOriginal=i,o.isEmptyCoverUrl=!1):(o.isEmptyCoverUrl=a.CommonBase.isEmpty(o.coverImageUrlOriginal),p("onError","文件读取失败,请重新选择图片")),s.value?.loadingStop(),m=!1}).catch(i=>{s.value?.loadingStop(),m=!1,p("onError","文件读取失败,请重新选择图片")})}},E=()=>{o.isAgainCropper=!1},P=()=>{o.isAgainCropper=!0};return h({getValue:async()=>{let t="";try{t=s.value?String(await s.value.getImageBase64()||""):""}catch(r){g.clLog.error("ClCropperPreview","getValue 获取裁切图片失败:",r)}return t},getCropperUrl:async t=>{let r="";try{if(s.value&&a.CommonBase.isFunction(n.getCropperImageUrl))r=await n.getCropperImageUrl(s.value,t);else{const{previewImageUrl:i,coverImageUrl:c}=n;r=a.CommonBase.isNonEmptyString(i)?i:c||""}}catch(i){g.clLog.error("ClCropperPreview","getCropperUrl 调用失败:",i)}return r},getCoverUrlOriginal:async t=>{let r="";try{const{coverImageUrlOriginal:i}=o;if(i.startsWith("data:")&&a.CommonBase.isFunction(n.saveImageBase64)){const c=await n.saveImageBase64(i,t);r=c&&c.success?c.imageUrl:""}else/^(http|https):\/\/[^\s]+$/.test(i)&&(r=i)}catch(i){g.clLog.error("ClCropperPreview","getCoverUrlOriginal 调用失败:",i)}return r}}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(B.value),id:e.unref(w)},[e.createElementVNode("div",N,[o.isEmptyPreviewUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.isAgainCropper?(e.openBlock(),e.createBlock(C._sfc_main,{key:0,iconName:"reply",label:"返回",color:"transparent",onOnClick:E})):(e.openBlock(),e.createBlock(C._sfc_main,{key:1,iconName:"cropper",label:"重新裁切",color:"transparent",onOnClick:P}))],64)),l.isShowUploadBtn&&(o.isAgainCropper||o.isEmptyCoverUrl&&o.isEmptyPreviewUrl)?(e.openBlock(),e.createBlock(b._sfc_main,{key:2,theme:"button",checkFormat:"jpg,png",buttonIcon:"upload-cloud",buttonColor:"white",buttonLabel:"选择图片",isShowUploadResult:!1,isShowUploadIng:!1,onOnChange:k})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),!o.isEmptyPreviewUrl&&!o.isAgainCropper?(e.openBlock(),e.createBlock(F._sfc_main,{key:0,type:"image",list:[{value:l.previewImageUrl||"",imgUrl:"",label:""}],width:y.value,height:U.value},null,8,["list","width","height"])):o.isAgainCropper&&(!o.isEmptyPreviewUrl||!o.isEmptyCoverUrl)?(e.openBlock(),e.createBlock(x._sfc_main,{key:1,ref_key:"refElCropper",ref:s,previewShape:l.previewShape,isCenterBox:l.isCenterBox,src:o.coverImageUrlOriginal,width:l.width,height:l.height,isModal:!1,isShowUpload:!1,onOnImgLoad:I},null,8,["previewShape","isCenterBox","src","width","height"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[],64))],10,O))}});module.exports=q;
1
+ "use strict";const e=require("vue"),g=require("../Shared/log-C2ZbqiAV.js"),a=require("../Shared/base-DbuX_Y3x.js"),S=require("../Shared/index-rFJmbgyH.js"),x=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B-LBJS_U.js"),C=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CDslbo4h.js"),b=require("../Shared/Index.vue_vue_type_script_setup_true_lang-BxWYROZH.js"),F=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B2cccX6M.js"),O=["id"],N={class:"cropperPreview-box-flex"},q=e.defineComponent({name:"ClCropperPreview",__name:"Index",props:{id:String,className:String,previewImageUrl:String,coverImageUrl:String,width:{type:Number,default:200},height:{type:Number,default:200},widthPreview:Number,heightPreview:Number,previewShape:{type:String,default:"square"},isCenterBox:{type:Boolean,default:!1},isShowUploadBtn:{type:Boolean,default:!0},getCropperImageUrl:Function,saveImageBase64:Function},emits:{onInitCoverImage:()=>!0,onError:l=>!0},setup(l,{expose:h,emit:d}){const n=l,p=d,w=n.id,s=e.useTemplateRef("refElCropper"),o=e.reactive({isEmptyPreviewUrl:!1,isEmptyCoverUrl:!1,isAgainCropper:!1,coverImageUrlOriginal:""});let m=!1;const y=e.computed(()=>{const{width:t,widthPreview:r}=n;return a.CommonBase.isFinite(r)?r:t}),U=e.computed(()=>{const{height:t,heightPreview:r}=n;return a.CommonBase.isFinite(r)?r:t}),B=e.computed(()=>({"panel-cropper-preview":!0,...S.CommonElement.getClassNameJson(n.className)})),u=()=>{const{previewImageUrl:t}=n,r=a.CommonBase.isEmpty(t);o.isEmptyPreviewUrl=r,o.isAgainCropper=r},v=()=>{const{coverImageUrl:t}=n,r=a.CommonBase.isEmpty(t);o.isEmptyCoverUrl=r,o.coverImageUrlOriginal=r?"":t},_=()=>{const{width:t,height:r}=n;(t<=0||r<=0)&&g.clLog.warn("ClCropperPreview","裁切区域宽高必须大于 0,当前值 width="+t+" height="+r)},f=()=>{u(),v(),_()};e.onMounted(()=>{e.nextTick(()=>{f()})}),e.watch(()=>n.previewImageUrl,()=>{u()}),e.watch(()=>n.coverImageUrl,()=>{v()});const I=t=>{t===!0&&p("onInitCoverImage")},k=(t,r)=>{if(!m){if(!(t instanceof File)){p("onError","文件读取失败,请重新选择图片");return}m=!0,s.value?.loadingStart(),a.CommonBase.getBase64ByFile([t]).then(i=>{const c=a.CommonBase.isNonEmptyString(i);o.isAgainCropper=!0,c?(o.coverImageUrlOriginal=i,o.isEmptyCoverUrl=!1):(o.isEmptyCoverUrl=a.CommonBase.isEmpty(o.coverImageUrlOriginal),p("onError","文件读取失败,请重新选择图片")),s.value?.loadingStop(),m=!1}).catch(i=>{s.value?.loadingStop(),m=!1,p("onError","文件读取失败,请重新选择图片")})}},E=()=>{o.isAgainCropper=!1},P=()=>{o.isAgainCropper=!0};return h({getValue:async()=>{let t="";try{t=s.value?String(await s.value.getImageBase64()||""):""}catch(r){g.clLog.error("ClCropperPreview","getValue 获取裁切图片失败:",r)}return t},getCropperUrl:async t=>{let r="";try{if(s.value&&a.CommonBase.isFunction(n.getCropperImageUrl))r=await n.getCropperImageUrl(s.value,t);else{const{previewImageUrl:i,coverImageUrl:c}=n;r=a.CommonBase.isNonEmptyString(i)?i:c||""}}catch(i){g.clLog.error("ClCropperPreview","getCropperUrl 调用失败:",i)}return r},getCoverUrlOriginal:async t=>{let r="";try{const{coverImageUrlOriginal:i}=o;if(i.startsWith("data:")&&a.CommonBase.isFunction(n.saveImageBase64)){const c=await n.saveImageBase64(i,t);r=c&&c.success?c.imageUrl:""}else/^(http|https):\/\/[^\s]+$/.test(i)&&(r=i)}catch(i){g.clLog.error("ClCropperPreview","getCoverUrlOriginal 调用失败:",i)}return r}}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(B.value),id:e.unref(w)},[e.createElementVNode("div",N,[o.isEmptyPreviewUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.isAgainCropper?(e.openBlock(),e.createBlock(C._sfc_main,{key:0,iconName:"reply",label:"返回",color:"transparent",onOnClick:E})):(e.openBlock(),e.createBlock(C._sfc_main,{key:1,iconName:"cropper",label:"重新裁切",color:"transparent",onOnClick:P}))],64)),l.isShowUploadBtn&&(o.isAgainCropper||o.isEmptyCoverUrl&&o.isEmptyPreviewUrl)?(e.openBlock(),e.createBlock(b._sfc_main,{key:2,theme:"button",checkFormat:"jpg,png",buttonIcon:"upload-cloud",buttonColor:"white",buttonLabel:"选择图片",isShowUploadResult:!1,isShowUploadIng:!1,onOnChange:k})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))]),!o.isEmptyPreviewUrl&&!o.isAgainCropper?(e.openBlock(),e.createBlock(F._sfc_main,{key:0,type:"image",list:[{value:l.previewImageUrl||"",imgUrl:"",label:""}],width:y.value,height:U.value},null,8,["list","width","height"])):o.isAgainCropper&&(!o.isEmptyPreviewUrl||!o.isEmptyCoverUrl)?(e.openBlock(),e.createBlock(x._sfc_main,{key:1,ref_key:"refElCropper",ref:s,previewShape:l.previewShape,isCenterBox:l.isCenterBox,src:o.coverImageUrlOriginal,width:l.width,height:l.height,isModal:!1,isShowUpload:!1,onOnImgLoad:I},null,8,["previewShape","isCenterBox","src","width","height"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[],64))],10,O))}});module.exports=q;
@@ -4,15 +4,16 @@ import '../../styles/Common/Input-base.css';
4
4
  import '../../styles/Common/Load-base.css';
5
5
  import '../../styles/Common/Btn-base.css';
6
6
  import '../../styles/Common/Fade-base.css';
7
+ import '../../styles/Common/Overlay-base.css';
7
8
  import '../../styles/Web/ClCropperPreview.css';
8
9
  import { defineComponent as F, useTemplateRef as A, reactive as $, computed as C, onMounted as L, nextTick as R, watch as d, openBlock as a, createElementBlock as c, unref as M, normalizeClass as T, createElementVNode as V, Fragment as u, createBlock as m } from "vue";
9
10
  import { c as h } from "../Shared/log-BbLqiWNM.js";
10
- import { C as n } from "../Shared/base-C5l51ld_.js";
11
- import { C as W } from "../Shared/index-wdK75uN2.js";
12
- import { _ as j } from "../Shared/Index.vue_vue_type_script_setup_true_lang-XWxNmuC2.js";
13
- import { _ as U } from "../Shared/Index.vue_vue_type_script_setup_true_lang-n7xMYytH.js";
14
- import { _ as q } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BJw-_EOe.js";
15
- import { _ as z } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BBVM_RnZ.js";
11
+ import { C as n } from "../Shared/base-fr2I80sU.js";
12
+ import { C as W } from "../Shared/index-B477PjJ3.js";
13
+ import { _ as j } from "../Shared/Index.vue_vue_type_script_setup_true_lang-B5MSug5Q.js";
14
+ import { _ as U } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BTikeo7T.js";
15
+ import { _ as q } from "../Shared/Index.vue_vue_type_script_setup_true_lang-DjwVdgdl.js";
16
+ import { _ as z } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Bd56L0m6.js";
16
17
  const H = ["id"], J = { class: "cropperPreview-box-flex" }, oe = /* @__PURE__ */ F({
17
18
  name: "ClCropperPreview",
18
19
  __name: "Index",
@@ -1 +1 @@
1
- "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Bat5bJ6h.js");module.exports=e._sfc_main;
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-d8FRnWoo.js");module.exports=e._sfc_main;
@@ -4,8 +4,9 @@ import '../../styles/Common/Input-base.css';
4
4
  import '../../styles/Common/Load-base.css';
5
5
  import '../../styles/Common/Btn-base.css';
6
6
  import '../../styles/Common/Table-base.css';
7
+ import '../../styles/Common/Overlay-base.css';
7
8
  import '../../styles/Web/ClDateTime.css';
8
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-1634m2dj.js";
9
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BLr46kTp.js";
9
10
  export {
10
11
  f as default
11
12
  };
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),c=require("../Shared/base-DmcbRUB5.js"),p=require("../Shared/index-CXRfOfiT.js"),u=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-gwQgBwlR.js"),w=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DXQ2H_E6.js"),m={key:0,class:"dropdownLayer-text-container"},D={class:"dropdownLayer-text-render"},f={class:"dropdownLayer-text-arrow"},g=e.defineComponent({name:"ClDropdownMenu",__name:"Index",props:{id:String,className:String,classDropDown:String,label:String,direction:{type:String,default:"left",validator:n=>["left","right","center","top","bottom"].includes(n)},dropDownPos:{type:String,default:"down",validator:n=>["down","up","left","right"].includes(n)},isUseLabelArrow:{type:Boolean,default:!1},isUseDropdownArrow:{type:Boolean,default:!1},transitionEnter:String,transitionLeave:String},emits:{onChangeOpen:n=>!0},setup(n,{emit:s}){const t=n,a=s,l=t.id,r=e.useTemplateRef("refElDropdownLayer"),i=e.computed(()=>{let o={"panel-dropdown-menu":!0};return o=c.CommonBase.getJsonMerge(o,p.CommonElement.getClassNameJson(t.className)),Object.keys(o).join(" ")}),d=o=>{a("onChangeOpen",o)};return e.provide("$DropdownmenuTop",e.reactive({hideDropdown:()=>{r.value?.setOpen(!1)}})),(o,v)=>(e.openBlock(),e.createBlock(u._sfc_main,{ref_key:"refElDropdownLayer",ref:r,id:e.unref(l),classParent:i.value,classDropDown:n.classDropDown,dropdownArrowPos:n.direction,dropDownPos:n.dropDownPos,isUseDropdownArrow:n.isUseDropdownArrow,transitionEnter:n.transitionEnter,transitionLeave:n.transitionLeave,onOnChangeOpen:d},{label:e.withCtx(()=>[n.isUseLabelArrow?(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("div",D,[e.renderSlot(o.$slots,"label",{},()=>[e.createTextVNode(e.toDisplayString(n.label),1)])]),e.createElementVNode("div",f,[e.createVNode(w._sfc_main,{name:"angle-down"})])])):e.renderSlot(o.$slots,"label",{key:1},()=>[e.createTextVNode(e.toDisplayString(n.label),1)])]),dropdown:e.withCtx(()=>[e.createElementVNode("ul",null,[e.renderSlot(o.$slots,"default")])]),_:3},8,["id","classParent","classDropDown","dropdownArrowPos","dropDownPos","isUseDropdownArrow","transitionEnter","transitionLeave"]))}});module.exports=g;
1
+ "use strict";const t=require("vue"),D=require("../Shared/base-DbuX_Y3x.js"),C=require("../Shared/index-rFJmbgyH.js"),B=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js"),O=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js"),N=["id"],P={class:"dropdownLayer-text-render"},U={class:"dropdownLayer-text-arrow"},V=["id"],q=["aria-labelledby"],$=t.defineComponent({name:"ClDropdownMenu",__name:"Index",props:{id:String,className:String,classDropDown:String,label:String,direction:{type:String,default:"left",validator:o=>["left","right","center","top","bottom"].includes(o)},dropDownPos:{type:String,default:"down",validator:o=>["down","up","left","right"].includes(o)},isUseLabelArrow:{type:Boolean,default:!1},isUseDropdownArrow:{type:Boolean,default:!1},transitionEnter:String,transitionLeave:String},emits:{onChangeOpen:o=>!0},setup(o,{emit:b}){const v=o,y=b,i=v.id,d=D.CommonBase.isNonEmptyString(i)?`${i}-label`:void 0,c=t.useTemplateRef("refElDropdownLayer"),_=t.computed(()=>{let e={"panel-dropdown-menu":!0};return e=D.CommonBase.getJsonMerge(e,C.CommonElement.getClassNameJson(v.className)),Object.keys(e).join(" ")}),s=t.ref([]),r=t.ref(void 0),f=t.reactive({isOpen:!1}),a=()=>s.value.filter(e=>!e.disabled),w=()=>{a().some(l=>l.id===r.value)||(r.value=void 0)},u=e=>{e&&(r.value=e.id,e.focus())},m=e=>{const n=a();if(n.length===0)return;const l=n.findIndex(A=>A.id===r.value);let p;l<0?p=e>0?0:n.length-1:p=(l+e+n.length)%n.length,u(n[p])},h=e=>{s.value.some(n=>n.id===e.id)||s.value.push(e),w()},E=e=>{s.value=s.value.filter(n=>n.id!==e.id),r.value===e.id&&(r.value=void 0),w()},I=()=>r.value,k=e=>{r.value=e},S=()=>{const e=c.value?.$el;return e?e.querySelector(".dropdownLayer-text"):null},g=e=>{if(f.isOpen)switch(e.key){case"ArrowDown":e.preventDefault(),m(1);break;case"ArrowUp":e.preventDefault(),m(-1);break;case"Home":{e.preventDefault();const n=a();u(n[0]);break}case"End":{e.preventDefault();const n=a();u(n[n.length-1]);break}}},L=()=>{S()?.focus()},x=e=>{y("onChangeOpen",e),f.isOpen=e,e?r.value=void 0:L()};return t.onMounted(()=>{document.addEventListener("keydown",g,!0)}),t.onBeforeUnmount(()=>{document.removeEventListener("keydown",g,!0)}),t.provide("$DropdownmenuTop",t.reactive({hideDropdown:()=>{c.value?.setOpen(!1)},registerItem:h,unregisterItem:E,activeItemId:I,setActiveItemId:k})),(e,n)=>(t.openBlock(),t.createBlock(B._sfc_main,{ref_key:"refElDropdownLayer",ref:c,id:t.unref(i),classParent:_.value,classDropDown:o.classDropDown,dropdownArrowPos:o.direction,dropDownPos:o.dropDownPos,isUseDropdownArrow:o.isUseDropdownArrow,transitionEnter:o.transitionEnter,transitionLeave:o.transitionLeave,onOnChangeOpen:x},{label:t.withCtx(()=>[o.isUseLabelArrow?(t.openBlock(),t.createElementBlock("div",{key:0,id:t.unref(d),class:"dropdownLayer-text-container"},[t.createElementVNode("div",P,[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(o.label),1)])]),t.createElementVNode("div",U,[t.createVNode(O._sfc_main,{name:"angle-down"})])],8,N)):(t.openBlock(),t.createElementBlock("span",{key:1,id:t.unref(d)},[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(o.label),1)])],8,V))]),dropdown:t.withCtx(()=>[t.createElementVNode("ul",{role:"menu","aria-labelledby":t.unref(d)},[t.renderSlot(e.$slots,"default")],8,q)]),_:3},8,["id","classParent","classDropDown","dropdownArrowPos","dropDownPos","isUseDropdownArrow","transitionEnter","transitionLeave"]))}});module.exports=$;
@@ -1 +1 @@
1
- .panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul{margin:2px 0;padding:2px 0;list-style:none;background-color:var(--cl-bg, #ffffff);background-clip:padding-box}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li>a,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li>span{display:block;padding:8px;color:var(--cl-text-primary, #323233);clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled)>a:hover,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled)>span:hover{background:var(--cl-primary-light, #eff8ff);color:var(--cl-text-primary, #323233);font-weight:700}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li.dropdownMenu-item-disabled>a,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li.dropdownMenu-item-disabled>span{color:var(--cl-text-tertiary, #aaaaaa);cursor:not-allowed;background:transparent}.panel-dropdown-menu .dropdownLayer-text-container>.dropdownLayer-text-arrow{padding:0}.panel-dropdown-menu .dropdownLayer-text>.dropdownLayer-text-container{display:flex;flex-direction:row;align-items:center;height:auto;border:none;background-color:transparent!important;box-shadow:none;padding:0;cursor:pointer;transition:all .3s linear}.panel-dropdown-menu .dropdownLayer-text-container>.dropdownLayer-text-render{flex:1}
1
+ .panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul{margin:2px 0;padding:2px 0;list-style:none;background-color:var(--cl-bg, #ffffff);background-clip:padding-box}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li>a,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li>span{display:block;padding:8px;color:var(--cl-text-primary, #323233);clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled)>a:hover,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled)>span:hover{background:var(--cl-primary-light, #eff8ff);color:var(--cl-text-primary, #323233);font-weight:700}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled):focus-visible{outline:none}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled):focus-visible>a,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li:not(.dropdownMenu-item-disabled):focus-visible>span{background:var(--cl-primary-light, #eff8ff);color:var(--cl-text-primary, #323233);font-weight:700}.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li.dropdownMenu-item-disabled>a,.panel-dropdown-menu .dropdownLayer-dropdown-theme-popup.dropdownLayer-dropdown>ul>li.dropdownMenu-item-disabled>span{color:var(--cl-text-tertiary, #aaaaaa);cursor:not-allowed;background:transparent}.panel-dropdown-menu .dropdownLayer-text-container>.dropdownLayer-text-arrow{padding:0}.panel-dropdown-menu .dropdownLayer-text>.dropdownLayer-text-container{display:flex;flex-direction:row;align-items:center;height:auto;border:none;background-color:transparent!important;box-shadow:none;padding:0;cursor:pointer;transition:all .3s linear}.panel-dropdown-menu .dropdownLayer-text-container>.dropdownLayer-text-render{flex:1}.panel-dropdown-menu .dropdownLayer-text:hover .dropdownLayer-text-container>.dropdownLayer-text-render,.panel-dropdown-menu .dropdownLayer-text:focus-visible .dropdownLayer-text-container>.dropdownLayer-text-render,.panel-dropdown-menu .dropdownLayer-text:hover>span,.panel-dropdown-menu .dropdownLayer-text:focus-visible>span{text-shadow:0 0 .6px currentColor,.3px 0 0 currentColor}.panel-dropdown-menu .dropdownLayer-text>span,.panel-dropdown-menu .dropdownLayer-text-container>.dropdownLayer-text-render{transition:text-shadow .2s ease-in-out}.panel-dropdown-menu .dropdownLayer-text:focus-visible{outline:none}