ranui 0.3.1-alpha.1 → 0.4.2-alpha.2

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 (462) hide show
  1. package/README.md +4 -4
  2. package/README.zh-CN.md +3 -3
  3. package/dist/Temml-3BKyDWY9.js +4 -0
  4. package/dist/Temml-B3J22Yln.cjs +1 -0
  5. package/dist/{abnfDiagram-VRR7QNED-CTsqwzwi.js → abnfDiagram-VRR7QNED-C21Pc9Db.js} +4 -4
  6. package/dist/abnfDiagram-VRR7QNED-Do5oGbAb.cjs +1 -0
  7. package/dist/add-user-Dk1LIZtp.cjs +6 -0
  8. package/dist/add-user-WnpaBGEK.js +15 -0
  9. package/dist/arc-BTq35m9x.js +9 -0
  10. package/dist/arc-BjIU7MOi.cjs +1 -0
  11. package/dist/{arc-DRPGof21.js → arc-DJJx8BhF.js} +1 -1
  12. package/dist/architecture-TIHT7OUA-BJNZJd9x.cjs +1 -0
  13. package/dist/{architectureDiagram-ZJ3FMSHR-8mjyXr-w.js → architectureDiagram-ZJ3FMSHR-Dt0W9V1f.js} +7 -7
  14. package/dist/{architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs → architectureDiagram-ZJ3FMSHR-WH22GUwo.cjs} +2 -2
  15. package/dist/{arrow-down-Bi5kqUrX.js → arrow-down-DrjnnTe1.js} +4 -2
  16. package/dist/arrow-down-Dt-KyDFE.cjs +5 -0
  17. package/dist/{blockDiagram-677ZJIJ3-3F79MOSt.js → blockDiagram-677ZJIJ3-Cb0N9R3M.js} +8 -8
  18. package/dist/book-8PpGdTqf.cjs +1 -0
  19. package/dist/book-CkgJlJ4n.js +10 -0
  20. package/dist/build/config.d.ts +11 -2
  21. package/dist/builder-2HD21I6K.cjs +1 -0
  22. package/dist/builder.js +40 -40
  23. package/dist/{button-Dw6YKyNd.js → button-BgWXCj7-.js} +14 -12
  24. package/dist/button.js +1 -1
  25. package/dist/{c4Diagram-LMCZKHZV-Cxn_gqu_.js → c4Diagram-LMCZKHZV-CFLtikIe.js} +5 -5
  26. package/dist/{card-BHN9Xp4S.js → card-DzVv3ADA.js} +13 -13
  27. package/dist/card.js +1 -1
  28. package/dist/{channel-k5-UxdcV.js → channel-B9hm3LKF.js} +1 -1
  29. package/dist/check-63MT_RxH.cjs +1 -0
  30. package/dist/check-circle-Cbsw_Ffd.cjs +1 -0
  31. package/dist/check-circle-Dpkv0_9Z.js +10 -0
  32. package/dist/check-circle-fill-DVVjVyV6.cjs +1 -0
  33. package/dist/check-circle-fill-eBwMoYEo.js +10 -0
  34. package/dist/{checkbox-O_J_n1_W.js → checkbox-KOXDiwRr.js} +15 -14
  35. package/dist/checkbox.js +1 -1
  36. package/dist/{chunk-32BRIVSS-jAuAwMVV.js → chunk-32BRIVSS-DhXCFCbM.js} +3 -3
  37. package/dist/{chunk-52WLFC77-wpL7en7e.js → chunk-52WLFC77-CLS2Long.js} +8 -8
  38. package/dist/chunk-5FCAYU7R-M2ohMDGf.cjs +1 -0
  39. package/dist/chunk-5HE753X5-DkUtBcPF.cjs +1 -0
  40. package/dist/chunk-5JV3BV7I-BAn3GEjF.cjs +1 -0
  41. package/dist/chunk-5TONJI2A-Bk0HPVuY.cjs +2 -0
  42. package/dist/chunk-BIQX33UG-CaI4JSOY.cjs +1 -0
  43. package/dist/{chunk-C7G6YPKG-CA-DNpvI.js → chunk-C7G6YPKG-CuJexLt7.js} +1 -1
  44. package/dist/chunk-CQNSW5MT-DHm86rAm.cjs +1 -0
  45. package/dist/chunk-CYSBUYHQ-8HNynFK-.cjs +1 -0
  46. package/dist/chunk-EMLP6XTP-DESFjGc5.cjs +1 -0
  47. package/dist/{chunk-EX3LRPZG-BCmf0iDq.js → chunk-EX3LRPZG-C-g2gFWb.js} +7 -7
  48. package/dist/{chunk-FWX5IMBZ-DZ5VYvm5.js → chunk-FWX5IMBZ-Cpx1Lg-4.js} +8 -8
  49. package/dist/{chunk-HOUHSVGY-DRQcQeMT.js → chunk-HOUHSVGY-DpvP0Kt0.js} +2 -2
  50. package/dist/{chunk-ICXQ74PX-DR8rL-xF.js → chunk-ICXQ74PX-DPZfA3a8.js} +3 -3
  51. package/dist/chunk-JG7HCLWE-DJPVQhqh.cjs +2 -0
  52. package/dist/{chunk-MOJQB5TN-BC46HDyu.js → chunk-MOJQB5TN-BWgg4qSh.js} +3 -3
  53. package/dist/chunk-MOZMSUNE-BiirTonv.cjs +1 -0
  54. package/dist/{chunk-OGEWGWER-BV51ll2w.js → chunk-OGEWGWER-CYsD5SNd.js} +2 -2
  55. package/dist/chunk-OSBZ3O6U-BDLnzsCC.cjs +1 -0
  56. package/dist/{chunk-PUDLZKDR-NdMR0Ft5.js → chunk-PUDLZKDR-Dw2BOPG-.js} +9 -9
  57. package/dist/{chunk-Q4XR5HBZ-3BHjjc9u.js → chunk-Q4XR5HBZ-D_n2NzvL.js} +4 -4
  58. package/dist/chunk-QBLGF6JB-DgQIhta2.cjs +1 -0
  59. package/dist/chunk-R7FJI6CG-BjmGc1OU.cjs +1 -0
  60. package/dist/{chunk-RYQCIY6F-BER2T9t0.js → chunk-RYQCIY6F-CIHQ94xS.js} +1 -1
  61. package/dist/chunk-U6XO7XAA-Cxdku9z7.cjs +2 -0
  62. package/dist/{chunk-V7JOEXUC-Cr_hr02u.js → chunk-V7JOEXUC-DNMlt0_E.js} +7 -7
  63. package/dist/{chunk-VAUOI2AC-izt0o4id.js → chunk-VAUOI2AC-CrgGIUR-.js} +2 -2
  64. package/dist/{chunk-VR4S4FIN-CJi5okl4.js → chunk-VR4S4FIN-DQsfbArk.js} +2 -2
  65. package/dist/{chunk-WYO6CB5R-DDHkKowO.js → chunk-WYO6CB5R-DyGmS3I6.js} +1 -1
  66. package/dist/{chunk-XXDRQBXY-BB1i_53q.js → chunk-XXDRQBXY-BeVLa_G2.js} +1 -1
  67. package/dist/chunk-YOTPTUD7-BCQ2zMB7.cjs +1 -0
  68. package/dist/{chunk-ZGVPDNZ5-6uMbTJXy.js → chunk-ZGVPDNZ5-DlEsNy2g.js} +7 -7
  69. package/dist/circle-By7YwAJj.cjs +1 -0
  70. package/dist/circle-fold-BJWGLDa6.cjs +1 -0
  71. package/dist/circle-fold-DrwUHB-m.js +9 -0
  72. package/dist/circle-line-BsXpw2HA.cjs +1 -0
  73. package/dist/circle-line-DCUX3o9u.js +9 -0
  74. package/dist/circle-rotate-BK1tW3Jv.cjs +1 -0
  75. package/dist/circle-rotate-DeBqoVVp.js +9 -0
  76. package/dist/circle-spin-Crycoffl.js +9 -0
  77. package/dist/circle-spin-Ctoq0Wil.cjs +1 -0
  78. package/dist/circle-turn-DytKZEgU.js +9 -0
  79. package/dist/circle-turn-J9aToB75.cjs +1 -0
  80. package/dist/classDiagram-OUVF2IWQ-CkQt8O2B.js +30 -0
  81. package/dist/classDiagram-v2-EOCWNBFH-CkQt8O2B.js +30 -0
  82. package/dist/close-CDF9aHTU.js +10 -0
  83. package/dist/close-Ck_jxN7T.cjs +1 -0
  84. package/dist/close-circle-B3lBlRHE.cjs +1 -0
  85. package/dist/close-circle-DZZJhaf-.js +10 -0
  86. package/dist/close-circle-fill-Ds9W-XNo.cjs +1 -0
  87. package/dist/close-circle-fill-OiY9CVOv.js +10 -0
  88. package/dist/colorpicker-7adjGSuz.js +250 -0
  89. package/dist/colorpicker.js +1 -1
  90. package/dist/components/icon/index.d.ts +7 -0
  91. package/dist/components/loading/index.d.ts +6 -29
  92. package/dist/components/loading/types.d.ts +11 -0
  93. package/dist/components/loading/variants/arc/index.d.ts +6 -0
  94. package/dist/components/loading/variants/circle/index.d.ts +6 -0
  95. package/dist/components/loading/variants/circle-fold/index.d.ts +6 -0
  96. package/dist/components/loading/variants/circle-line/index.d.ts +6 -0
  97. package/dist/components/loading/variants/circle-rotate/index.d.ts +6 -0
  98. package/dist/components/loading/variants/circle-spin/index.d.ts +6 -0
  99. package/dist/components/loading/variants/circle-turn/index.d.ts +6 -0
  100. package/dist/components/loading/variants/cube/index.d.ts +6 -0
  101. package/dist/components/loading/variants/cube-dim/index.d.ts +6 -0
  102. package/dist/components/loading/variants/cube-fold/index.d.ts +6 -0
  103. package/dist/components/loading/variants/cube-grid/index.d.ts +6 -0
  104. package/dist/components/loading/variants/dot/index.d.ts +6 -0
  105. package/dist/components/loading/variants/dot-bar/index.d.ts +6 -0
  106. package/dist/components/loading/variants/dot-circle/index.d.ts +6 -0
  107. package/dist/components/loading/variants/dot-line/index.d.ts +6 -0
  108. package/dist/components/loading/variants/dot-pulse/index.d.ts +6 -0
  109. package/dist/components/loading/variants/double-bounce/index.d.ts +6 -0
  110. package/dist/components/loading/variants/drop/index.d.ts +6 -0
  111. package/dist/components/loading/variants/line/index.d.ts +6 -0
  112. package/dist/components/loading/variants/line-scale/index.d.ts +6 -0
  113. package/dist/components/loading/variants/pacman/index.d.ts +6 -0
  114. package/dist/components/loading/variants/pulse/index.d.ts +6 -0
  115. package/dist/components/loading/variants/rotate/index.d.ts +6 -0
  116. package/dist/components/loading/variants/scale-out/index.d.ts +6 -0
  117. package/dist/components/loading/variants/solar/index.d.ts +6 -0
  118. package/dist/components/loading/variants/square/index.d.ts +6 -0
  119. package/dist/components/loading/variants/stretch/index.d.ts +6 -0
  120. package/dist/components/loading/variants/text/index.d.ts +6 -0
  121. package/dist/components/loading/variants/triple-bounce/index.d.ts +6 -0
  122. package/dist/components/math/index.d.ts +37 -1
  123. package/dist/components/player/index.d.ts +0 -1
  124. package/dist/components/popover/index.d.ts +5 -5
  125. package/dist/components/select/index.d.ts +23 -0
  126. package/dist/{content-YOKzMoc7.js → content-BmwgR8WP.js} +7 -7
  127. package/dist/content.js +1 -1
  128. package/dist/copy-CMAYGCsm.cjs +1 -0
  129. package/dist/{cose-bilkent-JH36ORCC-DTwvJlGw.js → cose-bilkent-JH36ORCC-DCMxiO2H.js} +2 -2
  130. package/dist/cube-BB32JJuI.cjs +1 -0
  131. package/dist/cube-dim-DTcZAlcE.cjs +1 -0
  132. package/dist/cube-dim-DgfzlG3p.js +9 -0
  133. package/dist/cube-fold-CKVQ1IDZ.cjs +1 -0
  134. package/dist/cube-fold-Dp4-pf7P.js +9 -0
  135. package/dist/cube-grid-BrxyqSNh.cjs +1 -0
  136. package/dist/cube-grid-DprxkSoT.js +9 -0
  137. package/dist/cube-iOzgFQbc.js +9 -0
  138. package/dist/cynefin-VYW2F7L2-Yeua0tAa.cjs +1 -0
  139. package/dist/{cynefinDiagram-TSTJHNR4-Bjt4QTVh.js → cynefinDiagram-TSTJHNR4-B6dEjVBJ.js} +4 -4
  140. package/dist/{cynefinDiagram-TSTJHNR4-ISDORSxO.cjs → cynefinDiagram-TSTJHNR4-CAx-94I7.cjs} +1 -1
  141. package/dist/{dagre-VKFMJZFB-Dfku86Az.js → dagre-VKFMJZFB-CkNsP9vI.js} +10 -10
  142. package/dist/{diagram-FQU43EPY-BvQ5jmVn.js → diagram-FQU43EPY-Cefzg0En.js} +3 -3
  143. package/dist/{diagram-FQU43EPY-BAiRt5eL.cjs → diagram-FQU43EPY-Cn7-Jxoj.cjs} +2 -2
  144. package/dist/{diagram-G47NLZAW-DT2BBA0T.js → diagram-G47NLZAW-BsDJqCJu.js} +6 -6
  145. package/dist/{diagram-G47NLZAW-DGnmEa8u.cjs → diagram-G47NLZAW-Clm1JIiF.cjs} +1 -1
  146. package/dist/{diagram-NH7WQ7WH-DxgkStA3.cjs → diagram-NH7WQ7WH-BQWzEBKY.cjs} +1 -1
  147. package/dist/{diagram-NH7WQ7WH-W7jg4Vh8.js → diagram-NH7WQ7WH-DEGzjxf4.js} +4 -4
  148. package/dist/{diagram-OA4YK3LP-DkvFII73.cjs → diagram-OA4YK3LP-B90IV5Q-.cjs} +3 -3
  149. package/dist/{diagram-OA4YK3LP-jU--aqQl.js → diagram-OA4YK3LP-BZUB0lzT.js} +5 -5
  150. package/dist/{diagram-WEI45ONY-XvzRFmmY.cjs → diagram-WEI45ONY-B-8IP8vK.cjs} +1 -1
  151. package/dist/{diagram-WEI45ONY-C_Qhf4ny.js → diagram-WEI45ONY-BURO1A6S.js} +4 -4
  152. package/dist/{dist-C0Fwsvsq.js → dist-9Ly83Lo6.js} +1 -1
  153. package/dist/dot-bar-C2PcL7wc.cjs +1 -0
  154. package/dist/dot-bar-vHWpqnhw.js +9 -0
  155. package/dist/dot-circle-DQqpkRr_.js +9 -0
  156. package/dist/dot-circle-EInrpGOw.cjs +1 -0
  157. package/dist/dot-do6V9GYP.cjs +1 -0
  158. package/dist/dot-line-BEFriL91.cjs +1 -0
  159. package/dist/dot-line-CorWP6p2.js +9 -0
  160. package/dist/dot-pulse-BGidqqxA.cjs +1 -0
  161. package/dist/dot-pulse-OtjDlpwG.js +9 -0
  162. package/dist/double-bounce-CWAE4F5S.js +9 -0
  163. package/dist/double-bounce-DOehLE4X.cjs +1 -0
  164. package/dist/download-DiDwbZL3.cjs +1 -0
  165. package/dist/drop-BkBi0TEt.cjs +1 -0
  166. package/dist/drop-CTSvqyOb.js +9 -0
  167. package/dist/drop-DU-RgWR1.js +16 -0
  168. package/dist/drop-_Iz47Fmh.cjs +7 -0
  169. package/dist/{dropdown-CzGAVWYC.js → dropdown-DQy4YvVn.js} +22 -21
  170. package/dist/dropdown.js +1 -1
  171. package/dist/ebnfDiagram-CCIWWBDH-B5ZJxr_W.cjs +1 -0
  172. package/dist/{ebnfDiagram-CCIWWBDH-Gnr20Oc1.js → ebnfDiagram-CCIWWBDH-B6Gh-zq6.js} +4 -4
  173. package/dist/{erDiagram-Q63AITRT-D0Hh9b-W.js → erDiagram-Q63AITRT-B1iQoGRH.js} +13 -13
  174. package/dist/eventmodeling-45OFAUF4-_fgxNekW.cjs +1 -0
  175. package/dist/eye-BoGpexya.cjs +4 -0
  176. package/dist/eye-close-DdWDFgn0.cjs +4 -0
  177. package/dist/eye-close-pVr4NTjX.js +13 -0
  178. package/dist/eye-j7jzy-2Y.js +13 -0
  179. package/dist/factory-Bbul5tOL.js +653 -0
  180. package/dist/flowDiagram-23GEKE2U-BxyRR3qT.js +19 -0
  181. package/dist/{form-B8afuJlF.js → form-DwjKUNz4.js} +9 -9
  182. package/dist/form.js +1 -1
  183. package/dist/fullscreen-0HIdaZda.cjs +1 -0
  184. package/dist/{ganttDiagram-NO4QXBWP-B40Eabk0.js → ganttDiagram-NO4QXBWP-BE1v5yrp.js} +6 -6
  185. package/dist/gitGraph-TEB2WS4Q-BlIs9PSc.cjs +1 -0
  186. package/dist/{gitGraphDiagram-IHSO6WYX-BUJNSssA.js → gitGraphDiagram-IHSO6WYX-BVRc2mkM.js} +3 -3
  187. package/dist/{gitGraphDiagram-IHSO6WYX-DW06165m.cjs → gitGraphDiagram-IHSO6WYX-DODKoP1i.cjs} +1 -1
  188. package/dist/github-BjP57_Xw.js +11 -0
  189. package/dist/github-_spzUZUJ.cjs +2 -0
  190. package/dist/{glass-BniIptBE.js → glass-DKQAEAmc.js} +6 -6
  191. package/dist/glass.js +1 -1
  192. package/dist/globe-0D8896Sf.js +15 -0
  193. package/dist/globe-DOwlStJB.cjs +6 -0
  194. package/dist/home-C2_ARWjR.cjs +1 -0
  195. package/dist/home-COHVdQmi.js +10 -0
  196. package/dist/i18n-B3HBw6rL.js +1 -0
  197. package/dist/i18n-Cf5TtRb4-BeflTU82.js +175 -0
  198. package/dist/i18n.js +3 -2
  199. package/dist/icon-DSIyi1nQ.js +318 -0
  200. package/dist/icon.js +1 -1
  201. package/dist/icons.js +91 -3
  202. package/dist/iife/button.iife.js +1 -1
  203. package/dist/iife/card.iife.js +1 -1
  204. package/dist/iife/checkbox.iife.js +1 -1
  205. package/dist/iife/colorpicker.iife.js +235 -2
  206. package/dist/iife/content.iife.js +1 -1
  207. package/dist/iife/dropdown.iife.js +1 -1
  208. package/dist/iife/form.iife.js +1 -1
  209. package/dist/iife/glass.iife.js +1 -1
  210. package/dist/iife/icon.iife.js +238 -1
  211. package/dist/iife/image.iife.js +1 -1
  212. package/dist/iife/input.iife.js +238 -1
  213. package/dist/iife/link.iife.js +1 -1
  214. package/dist/iife/loading.iife.js +1 -1
  215. package/dist/iife/math.iife.js +332 -260
  216. package/dist/iife/mermaid.iife.js +489 -252
  217. package/dist/iife/message.iife.js +238 -1
  218. package/dist/iife/modal.iife.js +1 -1
  219. package/dist/iife/player.iife.js +243 -10
  220. package/dist/iife/popover.iife.js +1 -1
  221. package/dist/iife/progress.iife.js +1 -1
  222. package/dist/iife/radar.iife.js +1 -1
  223. package/dist/iife/route.iife.js +1 -1
  224. package/dist/iife/router.iife.js +1 -1
  225. package/dist/iife/scratch.iife.js +1 -1
  226. package/dist/iife/section.iife.js +1 -1
  227. package/dist/iife/select.iife.js +235 -2
  228. package/dist/iife/skeleton.iife.js +1 -1
  229. package/dist/iife/tab.iife.js +1 -1
  230. package/dist/iife/tabpane.iife.js +1 -1
  231. package/dist/iife/theme-switch.iife.js +1 -1
  232. package/dist/{image-CqoQfJoV.js → image-Bn0VuwO0.js} +8 -8
  233. package/dist/image.js +1 -1
  234. package/dist/index.cjs +26 -263
  235. package/dist/index.d.ts +9 -0
  236. package/dist/index.iife.js +617 -781
  237. package/dist/index.js +88 -87
  238. package/dist/info-DKCQHKI2-Chhdpnw0.cjs +1 -0
  239. package/dist/info-circle-Ciy6yKz-.js +14 -0
  240. package/dist/info-circle-fill-ChhhmoCU.cjs +1 -0
  241. package/dist/info-circle-fill-D5WjbRhd.js +10 -0
  242. package/dist/info-circle-xp0NNK4i.cjs +5 -0
  243. package/dist/infoDiagram-FWYZ7A6U-D_0rNuCQ.cjs +2 -0
  244. package/dist/{infoDiagram-FWYZ7A6U-Dc0m9qAx.js → infoDiagram-FWYZ7A6U-Z_GyAL7u.js} +3 -3
  245. package/dist/input-2Zz1gLzy.js +195 -0
  246. package/dist/input.js +1 -1
  247. package/dist/{ishikawaDiagram-FXEZZL3T-DuFtHOmf.js → ishikawaDiagram-FXEZZL3T-l087wv0C.js} +4 -4
  248. package/dist/issue-DF89eLmN.js +11 -0
  249. package/dist/issue-jx2d2kOG.cjs +2 -0
  250. package/dist/{journeyDiagram-5HDEW3XC-Bshelnhq.js → journeyDiagram-5HDEW3XC-DmNilMKR.js} +4 -4
  251. package/dist/{kanban-definition-HUTT4EX6-Dogv2paU.js → kanban-definition-HUTT4EX6-CmUdDowM.js} +9 -9
  252. package/dist/latinmodernmath-BNPh95x3.cjs +1 -0
  253. package/dist/latinmodernmath-BnpcbCAh.js +4 -0
  254. package/dist/line-BFm46PmI.cjs +1 -0
  255. package/dist/{line-BIPmUVxO.js → line-CteEpfCu.js} +1 -1
  256. package/dist/line-Dt7YMxyn.js +9 -0
  257. package/dist/line-scale-BNCCcLKl.js +9 -0
  258. package/dist/line-scale-Mzdq1fTx.cjs +1 -0
  259. package/dist/{linear-B2AM4ZBe.js → linear-C8AjwHWi.js} +1 -1
  260. package/dist/{link-BCrmHvXP.js → link-DcRMinJ9.js} +9 -9
  261. package/dist/link.js +1 -1
  262. package/dist/loading-BXZBOAbH.js +116 -0
  263. package/dist/loading-_bxcEaz0.js +10 -0
  264. package/dist/loading-fDM8Celd.cjs +1 -0
  265. package/dist/loading-scene-DTIgBHY7.cjs +53 -0
  266. package/dist/loading-scene-nEgp25AV.js +62 -0
  267. package/dist/loading.js +1 -1
  268. package/dist/lock-DSKjvWfl.cjs +4 -0
  269. package/dist/lock-Dw1hWtdP.js +13 -0
  270. package/dist/math-C6oaCrk-.js +223 -0
  271. package/dist/math.js +1 -1
  272. package/dist/menu-DQpdpBLB.js +11 -0
  273. package/dist/menu-DdHtbEk4.cjs +2 -0
  274. package/dist/{mermaid-C1oQyPE3.js → mermaid-Cmxzclzv.js} +11 -11
  275. package/dist/mermaid-parser.core-BgDzuhyE.cjs +3 -0
  276. package/dist/{mermaid.core-B2d5lQW2.js → mermaid.core-do05yX9X.js} +49 -49
  277. package/dist/{mermaid.core-a1hgpWfs.cjs → mermaid.core-r_D7CSaj.cjs} +2 -2
  278. package/dist/mermaid.js +1 -1
  279. package/dist/message-BFv9-X-4.js +10 -0
  280. package/dist/message-DHzOpb1d.cjs +1 -0
  281. package/dist/{message-CNdmbeLf.js → message-E92Vu7SO.js} +24 -21
  282. package/dist/message.js +1 -1
  283. package/dist/{mindmap-definition-LN4V7U3C-f7s5ZePP.js → mindmap-definition-LN4V7U3C-Mj5HCDww.js} +12 -12
  284. package/dist/modal-BQUM-5G3.cjs +2 -0
  285. package/dist/{modal-gRagDkTb.js → modal-TayIRDMV.js} +12 -12
  286. package/dist/modal.js +1 -1
  287. package/dist/more-l0-w-c99.js +11 -0
  288. package/dist/more-tqkE9a7G.cjs +2 -0
  289. package/dist/packet-7NZHBO7P-BIgRfmDy.cjs +1 -0
  290. package/dist/pacman-DqDqKzL4.js +9 -0
  291. package/dist/pacman-hB0Vx_ut.cjs +1 -0
  292. package/dist/pegDiagram-2B236MQR-CTcfU4SV.cjs +1 -0
  293. package/dist/{pegDiagram-2B236MQR-B-Xeh55J.js → pegDiagram-2B236MQR-Crdw8nmA.js} +4 -4
  294. package/dist/pie-RZYD4A2V-BJEu4CoQ.cjs +1 -0
  295. package/dist/{pieDiagram-ENE6RG2P-CVSE95zc.js → pieDiagram-ENE6RG2P-9GNsaY-6.js} +6 -6
  296. package/dist/{pieDiagram-ENE6RG2P-BkSiP4iu.cjs → pieDiagram-ENE6RG2P-D1QD_sOE.cjs} +2 -2
  297. package/dist/{player-BkkmkqR4.js → player-BZVIOmdS.js} +112 -113
  298. package/dist/player.js +1 -1
  299. package/dist/plugins/load-svg.d.ts +16 -3
  300. package/dist/plus-C91b38f6.js +11 -0
  301. package/dist/plus-DjDn222b.cjs +2 -0
  302. package/dist/{popover-BZKSLe3D.js → popover-Bimxdeql.js} +17 -15
  303. package/dist/popover.js +1 -1
  304. package/dist/power-off-CM1fKRrr.js +10 -0
  305. package/dist/power-off-C_Akq2D-.cjs +1 -0
  306. package/dist/preview-ByPt3tw_.cjs +1 -0
  307. package/dist/preview-CAEhg4Xl.js +10 -0
  308. package/dist/{progress-vk40tuhm.js → progress-CNUdc_VD.js} +13 -12
  309. package/dist/progress.js +1 -1
  310. package/dist/pulse-CPV8p0Lr.cjs +1 -0
  311. package/dist/pulse-IOuRzRUm.js +9 -0
  312. package/dist/{quadrantDiagram-ABIIQ3AL-TJ8FmqES.js → quadrantDiagram-ABIIQ3AL-rDltxRrQ.js} +3 -3
  313. package/dist/{radar-Bg0cexzU.js → radar-Dse0Dgma.js} +12 -10
  314. package/dist/radar-I7S5WNFK-DYV5_m9_.cjs +1 -0
  315. package/dist/radar.js +1 -1
  316. package/dist/railroad-3IZDKUUU-6oFUgWYG.cjs +1 -0
  317. package/dist/railroad-abnf-AHOZXSZD-DY3xJn9p.cjs +1 -0
  318. package/dist/railroad-ebnf-EBAXGLYW-DljDdad3.cjs +1 -0
  319. package/dist/railroad-peg-LSFZ7HO6-DNRdpVaC.cjs +1 -0
  320. package/dist/{railroadDiagram-RFXS5EU6-0lS5wYI7.js → railroadDiagram-RFXS5EU6-B6b0YncQ.js} +4 -4
  321. package/dist/railroadDiagram-RFXS5EU6-DCqD-VXV.cjs +1 -0
  322. package/dist/refresh-CjGodz5_.cjs +1 -0
  323. package/dist/{requirementDiagram-TGXJPOKE-viCQLyJd.js → requirementDiagram-TGXJPOKE-BVEkrDX1.js} +12 -12
  324. package/dist/rolldown-runtime-DkpYurw3.js +25 -0
  325. package/dist/rotate-O1KJozW0.cjs +1 -0
  326. package/dist/rotate-uZhtaw8R.js +9 -0
  327. package/dist/{route-CGwS0cd_.js → route-Dh5S2dSW.js} +10 -11
  328. package/dist/route.js +1 -1
  329. package/dist/{router-BK6DEkcN.js → router-DUxBSvIi.js} +11 -11
  330. package/dist/router.js +1 -1
  331. package/dist/{sankeyDiagram-HTMAVEWB-CV6_AuMF.js → sankeyDiagram-HTMAVEWB-C_G-oWGd.js} +2 -2
  332. package/dist/scale-out-CEERARri.cjs +1 -0
  333. package/dist/scale-out-mSsKNtie.js +9 -0
  334. package/dist/{scratch-ClF1awGi.js → scratch-4TCqNbat.js} +8 -8
  335. package/dist/scratch.js +1 -1
  336. package/dist/search-Bci4TKOK.js +11 -0
  337. package/dist/search-DewMt8lt.cjs +2 -0
  338. package/dist/{section-BL0V7Kjf.js → section-CMN7tQ-S.js} +10 -10
  339. package/dist/section.js +1 -1
  340. package/dist/{select-DRKYa3W2.js → select-D48kcwEy.js} +53 -47
  341. package/dist/select.js +1 -1
  342. package/dist/{sequenceDiagram-DBY2YBRQ-B9WNesh2.js → sequenceDiagram-DBY2YBRQ-B8lP53eo.js} +5 -5
  343. package/dist/setting-BlJhorAQ.cjs +1 -0
  344. package/dist/setting-RhW6oH2c.js +10 -0
  345. package/dist/{skeleton-D7JIbROq.js → skeleton-DbgMcQQ0.js} +9 -9
  346. package/dist/skeleton.js +1 -1
  347. package/dist/solar-CdvkRr5X.cjs +1 -0
  348. package/dist/solar-Ck7RIK09.js +9 -0
  349. package/dist/sort-CZTjWeHC.cjs +7 -0
  350. package/dist/sort-tAqAKb3x.js +16 -0
  351. package/dist/sprite-DHG11_c7.cjs +138 -0
  352. package/dist/sprite-ICuni2rO.js +147 -0
  353. package/dist/square-exSvykCu.cjs +1 -0
  354. package/dist/square-xGODzCyr.js +9 -0
  355. package/dist/{src-DtRLxcYO.js → src-CM-0IT-N.js} +1 -1
  356. package/dist/ssg.js +1 -1
  357. package/dist/{ssr-DSGwPtEd.js → ssr-BzHZ2bCe.js} +5 -5
  358. package/dist/ssr-stream.js +1 -1
  359. package/dist/ssr.js +1 -1
  360. package/dist/{stateDiagram-2N3HPSRC-DxH4BMSh.js → stateDiagram-2N3HPSRC-DzG4g-Br.js} +15 -15
  361. package/dist/stateDiagram-v2-6OUMAXLB-tbh4Ib6Z.js +30 -0
  362. package/dist/stretch-Bv60MZD_.js +9 -0
  363. package/dist/stretch-CTFwefaK.cjs +1 -0
  364. package/dist/{swimlanes-5IMT3BWC-DcADNGpg.js → swimlanes-5IMT3BWC-CQpI-vXu.js} +10 -10
  365. package/dist/swimlanesDiagram-G3AALYLV-C_mEClzT.js +31 -0
  366. package/dist/{tab-DFVtDJb2.js → tab-ADuziXeq.js} +12 -12
  367. package/dist/tab.js +1 -1
  368. package/dist/{tabpane-C3qZGN-D.js → tabpane-Bisq-qpc.js} +11 -11
  369. package/dist/tabpane.js +1 -1
  370. package/dist/team-DshvOQrF.cjs +1 -0
  371. package/dist/team-oJOYGlHy.js +10 -0
  372. package/dist/temml-DKTWcsY9.js +9934 -0
  373. package/dist/temml-qMLYhcAb.cjs +96 -0
  374. package/dist/test/e2e/helpers.d.ts +32 -0
  375. package/dist/test/unit/select-ssr-upgrade.test.d.ts +1 -0
  376. package/dist/text-BniFEEB5.cjs +1 -0
  377. package/dist/text-CX8UkbzB.js +17 -0
  378. package/dist/theme-DL6q_FZu.js +52 -0
  379. package/dist/{theme-switch-BXNH5uPD.js → theme-switch-GbuiPclm.js} +16 -17
  380. package/dist/theme-switch.js +1 -1
  381. package/dist/theme.js +1 -1
  382. package/dist/{timeline-definition-FHXFAJF6-C80VjPLh.js → timeline-definition-FHXFAJF6-JZu2t9NH.js} +5 -5
  383. package/dist/treeView-QDETBFTQ-JVYSN7d-.cjs +1 -0
  384. package/dist/treemap-6X3UGDF4-ChqvozdN.cjs +1 -0
  385. package/dist/triple-bounce-BwxTDpKz.js +9 -0
  386. package/dist/triple-bounce-BzAtF-TA.cjs +1 -0
  387. package/dist/typings.d.ts +9 -0
  388. package/dist/unlock-B6Kz8QUC.cjs +4 -0
  389. package/dist/unlock-DMG2IKZP.js +13 -0
  390. package/dist/user-BvjpVTOP.js +10 -0
  391. package/dist/user-CNTRFuXZ.cjs +1 -0
  392. package/dist/utils/builder/escape.d.ts +6 -1
  393. package/dist/utils/dom.d.ts +2 -15
  394. package/dist/utils/i18n/index.d.ts +2 -69
  395. package/dist/utils/i18n.js +5 -87
  396. package/dist/utils/index.d.ts +2 -1
  397. package/dist/utils/style.d.ts +7 -5
  398. package/dist/utils-X5_TIQTQ.js +48 -0
  399. package/dist/utils-xccQZnoa.js +650 -0
  400. package/dist/{vennDiagram-L72KCM5P-BYHB7OW8.js → vennDiagram-L72KCM5P-DM6fQj7p.js} +4 -4
  401. package/dist/wardley-OPB4EBWU-BI6su3co.cjs +1 -0
  402. package/dist/{wardleyDiagram-EHGQE667--ubmCaWM.js → wardleyDiagram-EHGQE667-CzH0l2vj.js} +4 -4
  403. package/dist/{wardleyDiagram-EHGQE667-K6ckkRZS.cjs → wardleyDiagram-EHGQE667-ZMxVQw17.cjs} +2 -2
  404. package/dist/warning-circle-2Ni7fSPp.js +10 -0
  405. package/dist/warning-circle-CxDUN_Pg.cjs +1 -0
  406. package/dist/warning-circle-fill-CNmn_n74.js +10 -0
  407. package/dist/warning-circle-fill-CRKQ8eDt.cjs +1 -0
  408. package/dist/without-content-BCQsfG1Q.cjs +1 -0
  409. package/dist/without-content-C7ATBu1N.js +10 -0
  410. package/dist/{xychartDiagram-FW5EYKEG-DLqWcTPt.js → xychartDiagram-FW5EYKEG-GL1uK3EN.js} +8 -8
  411. package/dist/zoom-in-BLTVwnRI.cjs +1 -0
  412. package/dist/zoom-out-BIXvVAC9.cjs +1 -0
  413. package/docs/COMPONENTS.md +5 -5
  414. package/package.json +119 -35
  415. package/typings.d.ts +9 -0
  416. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +0 -1
  417. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +0 -1
  418. package/dist/builtin-1lUEp_ro.js +0 -416
  419. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +0 -30
  420. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +0 -30
  421. package/dist/colorpicker-CKA4xN-g.js +0 -314
  422. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +0 -1
  423. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +0 -1
  424. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +0 -1
  425. package/dist/factory-ZNhcQ4tf.js +0 -482
  426. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +0 -19
  427. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +0 -1
  428. package/dist/icon-GZrfSeon.js +0 -256
  429. package/dist/info-DKCQHKI2-DNOtUIin.cjs +0 -1
  430. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +0 -2
  431. package/dist/input-ZY2Wumze.js +0 -195
  432. package/dist/katex-es-BTpuCxxV.cjs +0 -261
  433. package/dist/katex-es-CKRwcaiU.js +0 -23682
  434. package/dist/loading-M6gWxLbm.js +0 -206
  435. package/dist/math-8E-45Y8e.js +0 -52
  436. package/dist/mermaid-parser.core-DYumW1vq.cjs +0 -6
  437. package/dist/mocks-CMGoftIc.js +0 -179
  438. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +0 -1
  439. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +0 -1
  440. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +0 -1
  441. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +0 -1
  442. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +0 -1
  443. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +0 -1
  444. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +0 -1
  445. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +0 -1
  446. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +0 -1
  447. package/dist/rolldown-runtime-9ZSF5uba.js +0 -16
  448. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +0 -30
  449. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +0 -31
  450. package/dist/test/unit/colorpicker.color.utils.test.d.ts +0 -1
  451. package/dist/test/unit/utils.math.test.d.ts +0 -1
  452. package/dist/test/unit/utils.tween.test.d.ts +0 -1
  453. package/dist/theme-kOWZbKCq.js +0 -70
  454. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +0 -1
  455. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +0 -1
  456. package/dist/utils/color.d.ts +0 -52
  457. package/dist/utils/image.d.ts +0 -39
  458. package/dist/utils/math.d.ts +0 -26
  459. package/dist/utils/tween.d.ts +0 -21
  460. package/dist/utils-D1iZnChu.js +0 -614
  461. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +0 -1
  462. package/dist/warning-circle-fill-Cz0qu7AH.js +0 -23
@@ -1,7 +1,7 @@
1
- import { n as r, t as h } from "./utils-D1iZnChu.js";
2
- import { _ as o, i as e } from "./factory-ZNhcQ4tf.js";
3
- import { a as n, n as d } from "./ssr-DSGwPtEd.js";
4
- var l = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{position:relative;display:block}.ran-scratch-ticket{position:relative;display:block;width:100%;height:100%}.ran-scratch-ticket-award{position:absolute;top:0;left:0;display:block;width:100%;height:100%;background:#000;z-index:1}.ran-scratch-ticket-canvas{position:absolute;top:0;left:0;display:block;width:100%;height:100%;z-index:2}", u = class extends d {
1
+ import { _ as r, i as e } from "./factory-Bbul5tOL.js";
2
+ import { a as h, n as o } from "./ssr-BzHZ2bCe.js";
3
+ import { n, t as d } from "./utils-X5_TIQTQ.js";
4
+ var l = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{position:relative;display:block}.ran-scratch-ticket{position:relative;display:block;width:100%;height:100%}.ran-scratch-ticket-award{position:absolute;top:0;left:0;display:block;width:100%;height:100%;background:#000;z-index:1}.ran-scratch-ticket-canvas{position:absolute;top:0;left:0;display:block;width:100%;height:100%;z-index:2}", u = class extends o {
5
5
  scratchTicketContainer;
6
6
  scratchTicket;
7
7
  state;
@@ -17,9 +17,9 @@ var l = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
17
17
  ];
18
18
  }
19
19
  constructor() {
20
- super(), this._shadowDom = r(this, l);
21
- const t = h(this._shadowDom, ".ran-scratch-ticket", () => {
22
- const s = o("canvas").class("ran-scratch-ticket-canvas").style("width", "100%").style("height", "100%").build(), i = e().class("ran-scratch-ticket-award").build();
20
+ super(), this._shadowDom = n(this, l);
21
+ const t = d(this._shadowDom, ".ran-scratch-ticket", () => {
22
+ const s = r("canvas").class("ran-scratch-ticket-canvas").style("width", "100%").style("height", "100%").build(), i = e().class("ran-scratch-ticket-award").build();
23
23
  return e().class("ran-scratch-ticket").children(s, i).build();
24
24
  }), c = t.querySelector(".ran-scratch-ticket-award"), a = t.querySelector(".ran-scratch-ticket-canvas");
25
25
  this.scratchTicketContainer = t, this.scratchAward = c, this.scratchTicket = a, this.state = {
@@ -54,7 +54,7 @@ var l = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
54
54
  this._shadowDom.contains(this.scratchTicketContainer) || this._shadowDom.appendChild(this.scratchTicketContainer), this.drawScratchTicket();
55
55
  }
56
56
  };
57
- n("r-scratch", u);
57
+ h("r-scratch", u);
58
58
  export {
59
59
  u as t
60
60
  };
package/dist/scratch.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as a } from "./scratch-ClF1awGi.js";
1
+ import { t as a } from "./scratch-4TCqNbat.js";
2
2
  export {
3
3
  a as default
4
4
  };
@@ -0,0 +1,11 @@
1
+ import { n as t } from "./rolldown-runtime-DkpYurw3.js";
2
+ var a = /* @__PURE__ */ t({ default: () => s }), s = {
3
+ success: !0,
4
+ _identification: !0,
5
+ data: `<svg t="1738502968548" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1473" width="200" height="200"><path d="M685.649 623.604l263.828 267.132c17.076 17.29 16.903 45.149-0.387 62.225-17.29 17.075-45.148 16.902-62.224-0.388L623.4 685.81C558.442 737.27 476.31 768 387 768 176.58 768 6 597.42 6 387S176.58 6 387 6s381 170.58 381 381c0 89.403-30.793 171.613-82.351 236.604zM387 680c161.82 0 293-131.18 293-293S548.82 94 387 94 94 225.18 94 387s131.18 293 293 293z" fill="currentColor" p-id="1474"></path></svg>
6
+ `
7
+ };
8
+ export {
9
+ a as n,
10
+ s as t
11
+ };
@@ -0,0 +1,2 @@
1
+ const r=require("./rolldown-runtime-CAnuVJ4g.cjs");var t=r.__exportAll({default:()=>e}),e={success:!0,_identification:!0,data:`<svg t="1738502968548" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1473" width="200" height="200"><path d="M685.649 623.604l263.828 267.132c17.076 17.29 16.903 45.149-0.387 62.225-17.29 17.075-45.148 16.902-62.224-0.388L623.4 685.81C558.442 737.27 476.31 768 387 768 176.58 768 6 597.42 6 387S176.58 6 387 6s381 170.58 381 381c0 89.403-30.793 171.613-82.351 236.604zM387 680c161.82 0 293-131.18 293-293S548.82 94 387 94 94 225.18 94 387s131.18 293 293 293z" fill="currentColor" p-id="1474"></path></svg>
2
+ `};Object.defineProperty(exports,"search_default",{enumerable:!0,get:function(){return e}});Object.defineProperty(exports,"search_exports",{enumerable:!0,get:function(){return t}});
@@ -1,13 +1,13 @@
1
- import { a as s, n as o, o as r, r as n, t as h } from "./utils-D1iZnChu.js";
2
- import { t as d } from "./events-C59wGdni.js";
3
- import { i as a, p as l } from "./factory-ZNhcQ4tf.js";
4
- import { a as c, n as b } from "./ssr-DSGwPtEd.js";
5
- var g = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{display:block;scroll-margin-top:96px;border-width:var(--ran-skin-border-width, 1px);border-style:var(--ran-skin-border-style, solid);border-color:var(--ran-section-border-color, var(--ran-color-border, #eaeaea));border-radius:var(--ran-section-radius, var(--ran-radius-md, 8px));background:var(--ran-section-background, var(--ran-color-bg-elevated, #ffffff));box-shadow:var(--ran-section-shadow, var(--ran-shadow-elevated, none));padding:var(--ran-section-padding, 28px);box-sizing:border-box}.ran-section-header{display:grid;gap:8px;max-width:760px;margin-bottom:22px}.ran-section-heading{margin:0;color:var(--ran-section-heading-color, var(--ran-color-text, #0f172a));font-size:var(--ran-section-heading-font-size, 24px);font-weight:var(--ran-section-heading-font-weight, 700);line-height:1.25;letter-spacing:0}.ran-section-heading:empty{display:none}.ran-section-subtitle{max-width:620px;margin:0;color:var(--ran-section-subtitle-color, var(--ran-color-text-secondary, #607086))}.ran-section-subtitle:empty{display:none}.ran-section-body{min-width:0}", u = class extends b {
1
+ import { i as a, p as o } from "./factory-Bbul5tOL.js";
2
+ import { t as h } from "./events-C59wGdni.js";
3
+ import { a as d, n as l } from "./ssr-BzHZ2bCe.js";
4
+ import { a as s, n as c, o as r, r as n, t as b } from "./utils-X5_TIQTQ.js";
5
+ var g = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{display:block;scroll-margin-top:96px;border-width:var(--ran-skin-border-width, 1px);border-style:var(--ran-skin-border-style, solid);border-color:var(--ran-section-border-color, var(--ran-color-border, #eaeaea));border-radius:var(--ran-section-radius, var(--ran-radius-md, 8px));background:var(--ran-section-background, var(--ran-color-bg-elevated, #ffffff));box-shadow:var(--ran-section-shadow, var(--ran-shadow-elevated, none));padding:var(--ran-section-padding, 28px);box-sizing:border-box}.ran-section-header{display:grid;gap:8px;max-width:760px;margin-bottom:22px}.ran-section-heading{margin:0;color:var(--ran-section-heading-color, var(--ran-color-text, #0f172a));font-size:var(--ran-section-heading-font-size, 24px);font-weight:var(--ran-section-heading-font-weight, 700);line-height:1.25;letter-spacing:0}.ran-section-heading:empty{display:none}.ran-section-subtitle{max-width:620px;margin:0;color:var(--ran-section-subtitle-color, var(--ran-color-text-secondary, #607086))}.ran-section-subtitle:empty{display:none}.ran-section-body{min-width:0}", u = class extends l {
6
6
  _shadowDom;
7
7
  _headerEl;
8
8
  _headingEl;
9
9
  _subtitleEl;
10
- _events = new d();
10
+ _events = new h();
11
11
  static get observedAttributes() {
12
12
  return [
13
13
  "heading",
@@ -16,9 +16,9 @@ var g = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
16
16
  ];
17
17
  }
18
18
  constructor() {
19
- super(), this._shadowDom = o(this, g);
20
- const t = h(this._shadowDom, ".ran-section-header", () => {
21
- const e = a().class("ran-section-header").attr("part", "header").children(a().class("ran-section-heading").attr("part", "heading").attr("role", "heading").attr("aria-level", "2"), a().class("ran-section-subtitle").attr("part", "subtitle")).build(), i = a().class("ran-section-body").attr("part", "body").children(l()).build();
19
+ super(), this._shadowDom = c(this, g);
20
+ const t = b(this._shadowDom, ".ran-section-header", () => {
21
+ const e = a().class("ran-section-header").attr("part", "header").children(a().class("ran-section-heading").attr("part", "heading").attr("role", "heading").attr("aria-level", "2"), a().class("ran-section-subtitle").attr("part", "subtitle")).build(), i = a().class("ran-section-body").attr("part", "body").children(o()).build();
22
22
  return this._shadowDom.appendChild(e), this._shadowDom.appendChild(i), e;
23
23
  });
24
24
  this._headerEl = t, this._headingEl = t.querySelector(".ran-section-heading"), this._subtitleEl = t.querySelector(".ran-section-subtitle");
@@ -57,7 +57,7 @@ var g = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
57
57
  e !== i && (t === "heading" && this._syncHeading(), t === "subtitle" && this._syncSubtitle(), t === "sheet" && r(this, this._shadowDom, t, e, i));
58
58
  }
59
59
  };
60
- c("r-section", u);
60
+ d("r-section", u);
61
61
  export {
62
62
  u as t
63
63
  };
package/dist/section.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as o } from "./section-BL0V7Kjf.js";
1
+ import { t as o } from "./section-CMN7tQ-S.js";
2
2
  export {
3
3
  o as Section,
4
4
  o as default
@@ -1,12 +1,14 @@
1
- import { _ as S, a as h, c as a, d as u, l as D, n as b, o as w, p as k, r as c, t as m } from "./utils-D1iZnChu.js";
1
+ import { r as S, s as k, t as D } from "./utils-xccQZnoa.js";
2
+ import { u } from "./i18n-Cf5TtRb4-BeflTU82.js";
3
+ import { _ as v, i as l, m as C, p as b, s as O } from "./factory-Bbul5tOL.js";
2
4
  import { t as x } from "./events-C59wGdni.js";
3
- import { _ as v, i as l, m as C, p as g, s as O } from "./factory-ZNhcQ4tf.js";
4
- import { a as f, n as _ } from "./ssr-DSGwPtEd.js";
5
- import { r as E } from "./icon-GZrfSeon.js";
6
- import "./input-ZY2Wumze.js";
7
- import { t as T } from "./arrow-down-Bi5kqUrX.js";
8
- import "./dropdown-CzGAVWYC.js";
9
- var L = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{position:var(--ran-select-host-position, relative);display:var(--ran-select-host-display, inline-block);cursor:var(--ran-select-host-cursor, pointer);height:var(--ran-select-host-height, 32px);outline:var(--ran-select-host-outline, 0);-webkit-tap-highlight-color:var(--ran-select-host-tap-highlight-color, transparent)}:host,:host(:focus),:host(:active){outline:var(--ran-select-host-focus-outline, 0);-webkit-tap-highlight-color:transparent}:host ::slotted(r-option){display:var(--ran-select-option-display, none)}:host([disabled]){cursor:var(--ran-select-host-disabled-cursor, not-allowed);pointer-events:var(--ran-select-host-disabled-pointer-events, all);opacity:var(--ran-select-host-disabled-opacity, .6)}:host(:not([disabled]):hover) .ran-select{cursor:var(--ran-select-host-hover-cursor, pointer)}:host(:not([disabled],[type="text"]):hover) .selection{border:var(--ran-select-selection-hover-border, 1px solid var(--ran-color-primary, #006bff))}:host(:not([disabled],[type="text"]):hover) .selection-search{cursor:var(--ran-select-selection-hover-search-cursor, pointer)}:host(:not([disabled],[type="text"]):hover) .selection-item{cursor:var(--ran-select-selection-hover-item-cursor, pointer);color:var(--ran-select-selection-hover-item-color, var(--ran-color-text-disabled, #bfbfbf))}:host([type="text"]) .selection{border:var(--ran-select-selection-text-border, none);background:var(--ran-select-selection-text-background, transparent)}:host([type="text"]) .icon{display:var(--ran-select-icon-text-display, none)}:host(:not([disabled],[type="text"]):focus) .selection{border:var(--ran-select-selection-focus-border, 1px solid var(--ran-color-primary, #006bff))}:host(:not([disabled],[type="text"]):focus) .selection-search{cursor:var(--ran-select-selection-focus-search-cursor, pointer)}:host(:not([disabled],[type="text"]):focus) .selection-item{cursor:var(--ran-select-selection-focus-item-cursor, pointer);color:var(--ran-select-selection-focus-item-color, var(--ran-color-text-disabled, #bfbfbf))}:host .selection-search{display:var(--ran-select-selection-search-display, none)}:host([showSearch]:not([disabled])) .selection-search{cursor:var(--ran-select-selection-search-visible-cursor, text);display:var(--ran-select-selection-search-visible-display, block)}:host([showSearch]:not([disabled])) .selection-item{cursor:var(--ran-select-selection-search-visible-item-cursor, pointer)}:host([showSearch]:not([disabled]):focus) .selection-search{display:var(--ran-select-selection-search-visible-display, block);cursor:var(--ran-select-selection-search-visible-cursor, text);opacity:var(--ran-select-selection-search-visible-opacity, 1)}.ran-select{width:var(--ran-select-root-width, 100%);height:var(--ran-select-root-height, 100%);font-size:var(--ran-select-root-font-size, 14px);box-sizing:var(--ran-select-root-box-sizing, border-box);margin:var(--ran-select-root-margin, 0);padding:var(--ran-select-root-padding, 0);color:var(--ran-select-root-color, var(--ran-color-text, rgba(0, 0, 0, .88)));line-height:var(--ran-select-root-line-height, 1.57142857);list-style:var(--ran-select-root-list-style, none);font-family:var(--ran-select-root-font-family, var(--ran-skin-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"));position:var(--ran-select-root-position, relative);display:var(--ran-select-root-display, inline-block)}.ran-select .selection{position:var(--ran-select-selection-position, relative);background-color:var(--ran-select-selection-background-color, var(--ran-color-bg-elevated, #ffffff));background-image:var(--ran-select-selection-background-image, none);border:var(--ran-select-selection-border, 1px solid var(--ran-color-border, #eaeaea));transition:var(--ran-select-selection-transition, none);width:var(--ran-select-selection-width, 100%);height:var(--ran-select-selection-height, 100%);padding:var(--ran-select-selection-padding, 0 11px);box-sizing:var(--ran-select-selection-box-sizing, border-box);margin:var(--ran-select-selection-margin, 0);color:var(--ran-select-selection-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-size:var(--ran-select-selection-font-size, 14px);line-height:var(--ran-select-selection-line-height, 1.57142857);list-style:var(--ran-select-selection-list-style, none);font-family:var(--ran-select-selection-font-family, inherit);display:var(--ran-select-selection-display, flex);border-radius:var(--ran-select-selection-border-radius, var(--ran-radius-sm, 6px))}.ran-select .selection-search{position:var(--ran-select-selection-search-position, absolute);opacity:var(--ran-select-selection-search-opacity, 0);top:var(--ran-select-selection-search-top, 0);left:var(--ran-select-selection-search-left, 0);height:var(--ran-select-selection-search-height, 100%);inset-inline-start:var(--ran-select-selection-search-inset-inline-start, 11px);inset-inline-end:var(--ran-select-selection-search-inset-inline-end, 11px);margin:var(--ran-select-selection-search-margin, 0);padding:var(--ran-select-selection-search-padding, 0);background:var(--ran-select-selection-search-background, transparent);border:var(--ran-select-selection-search-border, none);outline:var(--ran-select-selection-search-outline, none);appearance:var(--ran-select-selection-search-appearance, none);font-family:var(--ran-select-selection-search-font-family, inherit);cursor:var(--ran-select-selection-search-cursor, not-allowed)}.ran-select .selection-search::-webkit-search-cancel-button{display:var(--ran-select-selection-search-cancel-display, none);-webkit-appearance:var(--ran-select-selection-search-cancel-appearance, none)}.ran-select .selection-search::part(input){border:var(--ran-select-selection-search-input-border, none);padding:var(--ran-select-selection-search-input-padding, 0);height:100%;min-height:100%;box-sizing:border-box;outline:var(--ran-select-selection-search-input-outline, none)}.ran-select .selection-search::part(input):active{border:var(--ran-select-selection-search-input-active-border, none);padding:var(--ran-select-selection-search-input-active-padding, 0);height:var(--ran-select-selection-search-input-active-height, 100%);outline:var(--ran-select-selection-search-input-active-outline, none);border-color:var(--ran-select-selection-search-input-active-border-color, transparent);box-shadow:var(--ran-select-selection-search-input-active-box-shadow, none);border-right-width:var(--ran-select-selection-search-input-active-border-right-width, 0px)}.ran-select .selection-search::part(content){min-height:var(--ran-select-selection-search-input-content-min-height, 0)}.ran-select .selection-item{position:var(--ran-select-selection-item-position, absolute);top:var(--ran-select-selection-item-top, 0);left:var(--ran-select-selection-item-left, 12px);right:var(--ran-select-selection-item-right, 28px);margin:var(--ran-select-selection-item-margin, 0);padding:var(--ran-select-selection-item-padding, 0);background:var(--ran-select-selection-item-background, transparent);border:var(--ran-select-selection-item-border, none);outline:var(--ran-select-selection-item-outline, none);appearance:var(--ran-select-selection-item-appearance, none);font-family:var(--ran-select-selection-item-font-family, inherit);height:var(--ran-select-selection-item-height, 100%);display:var(--ran-select-selection-item-display, flex);align-items:var(--ran-select-selection-item-align-items, center);-webkit-user-select:var(--ran-select-selection-item-user-select, none);user-select:var(--ran-select-selection-item-user-select, none);overflow:var(--ran-select-selection-item-overflow, hidden);white-space:var(--ran-select-selection-item-white-space, nowrap);text-overflow:var(--ran-select-selection-item-text-overflow, ellipsis);cursor:var(--ran-select-selection-item-cursor, pointer)}.ran-select .selection-select{color:var(--ran-select-selection-select-color, var(--ran-color-text-disabled, rgba(0, 0, 0, .25)))}.ran-select .selection .icon{display:var(--ran-select-selection-icon-display, flex);align-items:var(--ran-select-selection-icon-align-items, center);color:var(--ran-select-selection-icon-color, var(--ran-color-text-disabled, rgba(0, 0, 0, .25)));font-style:var(--ran-select-selection-icon-font-style, normal);text-align:var(--ran-select-selection-icon-text-align, center);text-transform:var(--ran-select-selection-icon-text-transform, none);text-rendering:var(--ran-select-selection-icon-text-rendering, optimizeLegibility);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:var(--ran-select-selection-icon-position, absolute);top:var(--ran-select-selection-icon-top, 50%);inset-inline-start:var(--ran-select-selection-icon-inset-inline-start, auto);inset-inline-end:var(--ran-select-selection-icon-inset-inline-end, 8px);height:var(--ran-select-selection-icon-height, 16px);transform:var(--ran-select-selection-icon-transform, translateY(-50%));margin-top:var(--ran-select-selection-icon-margin-top, 0);font-size:var(--ran-select-selection-icon-font-size, 12px);pointer-events:var(--ran-select-selection-icon-pointer-events, none)}', P = class extends _ {
5
+ import { a as m, n as w } from "./ssr-BzHZ2bCe.js";
6
+ import { a as d, l as a, n as g, o as f, r as c, t as _ } from "./utils-X5_TIQTQ.js";
7
+ import { r as E } from "./icon-DSIyi1nQ.js";
8
+ import "./input-2Zz1gLzy.js";
9
+ import { t as L } from "./arrow-down-DrjnnTe1.js";
10
+ import "./dropdown-DQy4YvVn.js";
11
+ var T = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{position:var(--ran-select-host-position, relative);display:var(--ran-select-host-display, inline-block);cursor:var(--ran-select-host-cursor, pointer);height:var(--ran-select-host-height, 32px);outline:var(--ran-select-host-outline, 0);-webkit-tap-highlight-color:var(--ran-select-host-tap-highlight-color, transparent)}:host,:host(:focus),:host(:active){outline:var(--ran-select-host-focus-outline, 0);-webkit-tap-highlight-color:transparent}:host ::slotted(r-option){display:var(--ran-select-option-display, none)}:host([disabled]){cursor:var(--ran-select-host-disabled-cursor, not-allowed);pointer-events:var(--ran-select-host-disabled-pointer-events, all);opacity:var(--ran-select-host-disabled-opacity, .6)}:host(:not([disabled]):hover) .ran-select{cursor:var(--ran-select-host-hover-cursor, pointer)}:host(:not([disabled],[type="text"]):hover) .selection{border:var(--ran-select-selection-hover-border, 1px solid var(--ran-color-primary, #006bff))}:host(:not([disabled],[type="text"]):hover) .selection-search{cursor:var(--ran-select-selection-hover-search-cursor, pointer)}:host(:not([disabled],[type="text"]):hover) .selection-item{cursor:var(--ran-select-selection-hover-item-cursor, pointer);color:var(--ran-select-selection-hover-item-color, var(--ran-color-text-disabled, #bfbfbf))}:host([type="text"]) .selection{border:var(--ran-select-selection-text-border, none);background:var(--ran-select-selection-text-background, transparent)}:host([type="text"]) .icon{display:var(--ran-select-icon-text-display, none)}:host(:not([disabled],[type="text"]):focus) .selection{border:var(--ran-select-selection-focus-border, 1px solid var(--ran-color-primary, #006bff))}:host(:not([disabled],[type="text"]):focus) .selection-search{cursor:var(--ran-select-selection-focus-search-cursor, pointer)}:host(:not([disabled],[type="text"]):focus) .selection-item{cursor:var(--ran-select-selection-focus-item-cursor, pointer);color:var(--ran-select-selection-focus-item-color, var(--ran-color-text-disabled, #bfbfbf))}:host .selection-search{display:var(--ran-select-selection-search-display, none)}:host([showSearch]:not([disabled])) .selection-search{cursor:var(--ran-select-selection-search-visible-cursor, text);display:var(--ran-select-selection-search-visible-display, block)}:host([showSearch]:not([disabled])) .selection-item{cursor:var(--ran-select-selection-search-visible-item-cursor, pointer)}:host([showSearch]:not([disabled]):focus) .selection-search{display:var(--ran-select-selection-search-visible-display, block);cursor:var(--ran-select-selection-search-visible-cursor, text);opacity:var(--ran-select-selection-search-visible-opacity, 1)}.ran-select{width:var(--ran-select-root-width, 100%);height:var(--ran-select-root-height, 100%);font-size:var(--ran-select-root-font-size, 14px);box-sizing:var(--ran-select-root-box-sizing, border-box);margin:var(--ran-select-root-margin, 0);padding:var(--ran-select-root-padding, 0);color:var(--ran-select-root-color, var(--ran-color-text, rgba(0, 0, 0, .88)));line-height:var(--ran-select-root-line-height, 1.57142857);list-style:var(--ran-select-root-list-style, none);font-family:var(--ran-select-root-font-family, var(--ran-skin-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"));position:var(--ran-select-root-position, relative);display:var(--ran-select-root-display, inline-block)}.ran-select .selection{position:var(--ran-select-selection-position, relative);background-color:var(--ran-select-selection-background-color, var(--ran-color-bg-elevated, #ffffff));background-image:var(--ran-select-selection-background-image, none);border:var(--ran-select-selection-border, 1px solid var(--ran-color-border, #eaeaea));transition:var(--ran-select-selection-transition, none);width:var(--ran-select-selection-width, 100%);height:var(--ran-select-selection-height, 100%);padding:var(--ran-select-selection-padding, 0 11px);box-sizing:var(--ran-select-selection-box-sizing, border-box);margin:var(--ran-select-selection-margin, 0);color:var(--ran-select-selection-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-size:var(--ran-select-selection-font-size, 14px);line-height:var(--ran-select-selection-line-height, 1.57142857);list-style:var(--ran-select-selection-list-style, none);font-family:var(--ran-select-selection-font-family, inherit);display:var(--ran-select-selection-display, flex);border-radius:var(--ran-select-selection-border-radius, var(--ran-radius-sm, 6px))}.ran-select .selection-search{position:var(--ran-select-selection-search-position, absolute);opacity:var(--ran-select-selection-search-opacity, 0);top:var(--ran-select-selection-search-top, 0);left:var(--ran-select-selection-search-left, 0);height:var(--ran-select-selection-search-height, 100%);inset-inline-start:var(--ran-select-selection-search-inset-inline-start, 11px);inset-inline-end:var(--ran-select-selection-search-inset-inline-end, 11px);margin:var(--ran-select-selection-search-margin, 0);padding:var(--ran-select-selection-search-padding, 0);background:var(--ran-select-selection-search-background, transparent);border:var(--ran-select-selection-search-border, none);outline:var(--ran-select-selection-search-outline, none);appearance:var(--ran-select-selection-search-appearance, none);font-family:var(--ran-select-selection-search-font-family, inherit);cursor:var(--ran-select-selection-search-cursor, not-allowed)}.ran-select .selection-search::-webkit-search-cancel-button{display:var(--ran-select-selection-search-cancel-display, none);-webkit-appearance:var(--ran-select-selection-search-cancel-appearance, none)}.ran-select .selection-search::part(input){border:var(--ran-select-selection-search-input-border, none);padding:var(--ran-select-selection-search-input-padding, 0);height:100%;min-height:100%;box-sizing:border-box;outline:var(--ran-select-selection-search-input-outline, none)}.ran-select .selection-search::part(input):active{border:var(--ran-select-selection-search-input-active-border, none);padding:var(--ran-select-selection-search-input-active-padding, 0);height:var(--ran-select-selection-search-input-active-height, 100%);outline:var(--ran-select-selection-search-input-active-outline, none);border-color:var(--ran-select-selection-search-input-active-border-color, transparent);box-shadow:var(--ran-select-selection-search-input-active-box-shadow, none);border-right-width:var(--ran-select-selection-search-input-active-border-right-width, 0px)}.ran-select .selection-search::part(content){min-height:var(--ran-select-selection-search-input-content-min-height, 0)}.ran-select .selection-item{position:var(--ran-select-selection-item-position, absolute);top:var(--ran-select-selection-item-top, 0);left:var(--ran-select-selection-item-left, 12px);right:var(--ran-select-selection-item-right, 28px);margin:var(--ran-select-selection-item-margin, 0);padding:var(--ran-select-selection-item-padding, 0);background:var(--ran-select-selection-item-background, transparent);border:var(--ran-select-selection-item-border, none);outline:var(--ran-select-selection-item-outline, none);appearance:var(--ran-select-selection-item-appearance, none);font-family:var(--ran-select-selection-item-font-family, inherit);height:var(--ran-select-selection-item-height, 100%);display:var(--ran-select-selection-item-display, flex);align-items:var(--ran-select-selection-item-align-items, center);-webkit-user-select:var(--ran-select-selection-item-user-select, none);user-select:var(--ran-select-selection-item-user-select, none);overflow:var(--ran-select-selection-item-overflow, hidden);white-space:var(--ran-select-selection-item-white-space, nowrap);text-overflow:var(--ran-select-selection-item-text-overflow, ellipsis);cursor:var(--ran-select-selection-item-cursor, pointer)}.ran-select .selection-select{color:var(--ran-select-selection-select-color, var(--ran-color-text-disabled, rgba(0, 0, 0, .25)))}.ran-select .selection .icon{display:var(--ran-select-selection-icon-display, flex);align-items:var(--ran-select-selection-icon-align-items, center);color:var(--ran-select-selection-icon-color, var(--ran-color-text-disabled, rgba(0, 0, 0, .25)));font-style:var(--ran-select-selection-icon-font-style, normal);text-align:var(--ran-select-selection-icon-text-align, center);text-transform:var(--ran-select-selection-icon-text-transform, none);text-rendering:var(--ran-select-selection-icon-text-rendering, optimizeLegibility);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:var(--ran-select-selection-icon-position, absolute);top:var(--ran-select-selection-icon-top, 50%);inset-inline-start:var(--ran-select-selection-icon-inset-inline-start, auto);inset-inline-end:var(--ran-select-selection-icon-inset-inline-end, 8px);height:var(--ran-select-selection-icon-height, 16px);transform:var(--ran-select-selection-icon-transform, translateY(-50%));margin-top:var(--ran-select-selection-icon-margin-top, 0);font-size:var(--ran-select-selection-icon-font-size, 12px);pointer-events:var(--ran-select-selection-icon-pointer-events, none)}', P = class extends w {
10
12
  _option;
11
13
  _optionContent;
12
14
  _shadowDom;
@@ -19,9 +21,9 @@ var L = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
19
21
  ];
20
22
  }
21
23
  constructor() {
22
- super(), this._shadowDom = b(this);
23
- const e = m(this._shadowDom, ".ran-select-dropdown-option", () => {
24
- const i = g().build(), s = l().class("ran-select-dropdown-option-content").children(i).build();
24
+ super(), this._shadowDom = g(this);
25
+ const e = _(this._shadowDom, ".ran-select-dropdown-option", () => {
26
+ const i = b().build(), s = l().class("ran-select-dropdown-option-content").children(i).build();
25
27
  return l().class("ran-select-dropdown-option").children(s).build();
26
28
  }), t = e.querySelector(".ran-select-dropdown-option-content"), o = e.querySelector("slot");
27
29
  this._slot = o, this._optionContent = t, this._option = e;
@@ -30,13 +32,13 @@ var L = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
30
32
  return this.getAttribute("value");
31
33
  }
32
34
  set value(e) {
33
- h(this, "value", e);
35
+ d(this, "value", e);
34
36
  }
35
37
  get sheet() {
36
38
  return this.getAttribute("sheet");
37
39
  }
38
40
  set sheet(e) {
39
- h(this, "sheet", e);
41
+ d(this, "sheet", e);
40
42
  }
41
43
  get disabled() {
42
44
  return a(this);
@@ -45,7 +47,7 @@ var L = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
45
47
  !e || e === "false" ? this.removeAttribute("disabled") : this.setAttribute("disabled", "");
46
48
  }
47
49
  handlerExternalCss() {
48
- w(this, this._shadowDom, "sheet", null, this.sheet);
50
+ f(this, this._shadowDom, "sheet", null, this.sheet);
49
51
  }
50
52
  connectedCallback() {
51
53
  this.classList.contains("ran-option") || this.classList.add("ran-option");
@@ -54,8 +56,8 @@ var L = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
54
56
  t !== o && (e === "disabled" && this._option && (!o || o === "false" ? this._option.setAttribute("disabled", "") : this._option.removeAttribute("disabled")), e === "sheet" && this._shadowDom && this.handlerExternalCss());
55
57
  }
56
58
  };
57
- f("r-option", P);
58
- var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}.ranui-dropdown-option-item{position:var(--ran-dropdown-option-item-position, relative);display:var(--ran-dropdown-option-item-display, block);padding:var(--ran-dropdown-option-item-padding, 5px 12px);color:var(--ran-dropdown-option-item-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-weight:var(--ran-dropdown-option-item-font-weight, normal);font-size:var(--ran-dropdown-option-item-font-size, 14px);transition:var(--ran-dropdown-option-item-transition, none);border-radius:var(--ran-dropdown-option-item-border-radius, var(--ran-radius-sm, 6px));cursor:var(--ran-dropdown-option-item-cursor, pointer)}.ranui-dropdown-option-item:hover{background-color:var(--ran-dropdown-option-item-hover-background-color, var(--ran-gray-alpha-100, rgba(0, 0, 0, .04)))}.ranui-dropdown-option-item-content{text-align:var(--ran-dropdown-option-item-content-text-align, left);overflow:var(--ran-dropdown-option-item-content-overflow, hidden);white-space:var(--ran-dropdown-option-item-content-white-space, nowrap);text-overflow:var(--ran-dropdown-option-item-content-text-overflow, ellipsis);color:var(--ran-dropdown-option-item-content-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-size:var(--ran-dropdown-option-item-content-font-size, 14px);line-height:var(--ran-dropdown-option-item-content-line-height, 1.57142857);box-sizing:var(--ran-dropdown-option-item-content-box-sizing, border-box);list-style:var(--ran-dropdown-option-item-content-list-style, none);font-family:var(--ran-dropdown-option-item-content-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-variant:var(--ran-dropdown-option-item-content-font-variant, initial)}.ranui-dropdown-option-active{background-color:var(--ran-dropdown-option-active-background-color, var(--ran-blue-100, #e6f7ff));font-weight:var(--ran-dropdown-option-active-font-weight, bold)}.ranui-dropdown-option-active:hover{background-color:var(--ran-dropdown-option-active-hover-background-color, var(--ran-blue-100, #e6f7ff))}', B = class extends _ {
59
+ m("r-option", P);
60
+ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}.ranui-dropdown-option-item{position:var(--ran-dropdown-option-item-position, relative);display:var(--ran-dropdown-option-item-display, block);padding:var(--ran-dropdown-option-item-padding, 5px 12px);color:var(--ran-dropdown-option-item-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-weight:var(--ran-dropdown-option-item-font-weight, normal);font-size:var(--ran-dropdown-option-item-font-size, 14px);transition:var(--ran-dropdown-option-item-transition, none);border-radius:var(--ran-dropdown-option-item-border-radius, var(--ran-radius-sm, 6px));cursor:var(--ran-dropdown-option-item-cursor, pointer)}.ranui-dropdown-option-item:hover{background-color:var(--ran-dropdown-option-item-hover-background-color, var(--ran-gray-alpha-100, rgba(0, 0, 0, .04)))}.ranui-dropdown-option-item-content{text-align:var(--ran-dropdown-option-item-content-text-align, left);overflow:var(--ran-dropdown-option-item-content-overflow, hidden);white-space:var(--ran-dropdown-option-item-content-white-space, nowrap);text-overflow:var(--ran-dropdown-option-item-content-text-overflow, ellipsis);color:var(--ran-dropdown-option-item-content-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-size:var(--ran-dropdown-option-item-content-font-size, 14px);line-height:var(--ran-dropdown-option-item-content-line-height, 1.57142857);box-sizing:var(--ran-dropdown-option-item-content-box-sizing, border-box);list-style:var(--ran-dropdown-option-item-content-list-style, none);font-family:var(--ran-dropdown-option-item-content-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-variant:var(--ran-dropdown-option-item-content-font-variant, initial)}.ranui-dropdown-option-active{background-color:var(--ran-dropdown-option-active-background-color, var(--ran-blue-100, #e6f7ff));font-weight:var(--ran-dropdown-option-active-font-weight, bold)}.ranui-dropdown-option-active:hover{background-color:var(--ran-dropdown-option-active-hover-background-color, var(--ran-blue-100, #e6f7ff))}', V = class extends w {
59
61
  ionDropdownItem;
60
62
  _slot;
61
63
  _shadowDom;
@@ -69,9 +71,9 @@ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
69
71
  ];
70
72
  }
71
73
  constructor() {
72
- super(), this._shadowDom = b(this, M);
73
- const e = m(this._shadowDom, ".ranui-dropdown-option-item", () => {
74
- const i = g().class("slot").build(), s = l().class("ranui-dropdown-option-item-content").part("content").children(i).build();
74
+ super(), this._shadowDom = g(this, M);
75
+ const e = _(this._shadowDom, ".ranui-dropdown-option-item", () => {
76
+ const i = b().class("slot").build(), s = l().class("ranui-dropdown-option-item-content").part("content").children(i).build();
75
77
  return l().class("ranui-dropdown-option-item").part("item").children(s).build();
76
78
  }), t = e.querySelector(".ranui-dropdown-option-item-content"), o = e.querySelector("slot");
77
79
  this._slot = o, this.ionDropdownItemContent = t, this.ionDropdownItem = e;
@@ -98,10 +100,10 @@ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
98
100
  return c(this, "sheet");
99
101
  }
100
102
  set sheet(e) {
101
- h(this, "sheet", e);
103
+ d(this, "sheet", e);
102
104
  }
103
105
  handlerExternalCss = () => {
104
- w(this, this._shadowDom, "sheet", null, this.sheet);
106
+ f(this, this._shadowDom, "sheet", null, this.sheet);
105
107
  };
106
108
  connectedCallback() {
107
109
  this.handlerExternalCss(), this.active && D(this.ionDropdownItem, "ranui-dropdown-option-active");
@@ -111,10 +113,10 @@ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
111
113
  this.handlerExternalCss();
112
114
  return;
113
115
  }
114
- e === "active" && o ? D(this.ionDropdownItem, "ranui-dropdown-option-active") : k(this.ionDropdownItem, "ranui-dropdown-option-active");
116
+ e === "active" && o ? D(this.ionDropdownItem, "ranui-dropdown-option-active") : S(this.ionDropdownItem, "ranui-dropdown-option-active");
115
117
  }
116
118
  };
117
- f("r-dropdown-item", B);
119
+ m("r-dropdown-item", V);
118
120
  var A = {
119
121
  bottom: {
120
122
  add: "ran-dropdown-down-in",
@@ -125,8 +127,8 @@ var A = {
125
127
  remove: "ran-dropdown-up-out"
126
128
  }
127
129
  };
128
- E("arrow-down", T);
129
- var V = S(), I = 300, z = class extends _ {
130
+ E("arrow-down", L);
131
+ var I = 300, B = class extends w {
130
132
  static formAssociated = !0;
131
133
  _internals;
132
134
  _events = new x();
@@ -172,8 +174,8 @@ var V = S(), I = 300, z = class extends _ {
172
174
  } catch {
173
175
  this._internals = void 0;
174
176
  }
175
- this._listboxId = `ran-select-listbox-${Math.random().toString(36).slice(2, 9)}`, this._activeIndex = -1, this._optionList = [], this._optionLabelMapValue = /* @__PURE__ */ new Map(), this._optionValueMapLabel = /* @__PURE__ */ new Map(), this._shadowDom = b(this, L);
176
- const e = m(this._shadowDom, ".ran-select", () => l().class("ran-select").part("select").children(l().class("selection").part("selection").children(v("r-icon").class("icon").part("icon").attr("name", "arrow-down").attr("color", "var(--ran-color-text-secondary)").attr("size", "16"), l().children(C().class("selection-item").part("selection-item"), O().class("selection-search").part("search").attr("type", "search").attr("autocomplete", "off"))), g().class("slot")).build());
177
+ this._listboxId = `ran-select-listbox-${Math.random().toString(36).slice(2, 9)}`, this._activeIndex = -1, this._optionList = [], this._optionLabelMapValue = /* @__PURE__ */ new Map(), this._optionValueMapLabel = /* @__PURE__ */ new Map(), this._shadowDom = g(this, T);
178
+ const e = _(this._shadowDom, ".ran-select", () => l().class("ran-select").part("select").children(l().class("selection").part("selection").children(v("r-icon").class("icon").part("icon").attr("name", "arrow-down").attr("color", "var(--ran-color-text-secondary)").attr("size", "16"), l().children(C().class("selection-item").part("selection-item"), O().class("selection-search").part("search").attr("type", "search").attr("autocomplete", "off"))), b().class("slot")).build());
177
179
  this._select = e, this._selection = e.querySelector(".selection"), this._selector = this._selection.querySelector("div"), this._icon = e.querySelector(".icon"), this._text = e.querySelector(".selection-item"), this._search = e.querySelector(".selection-search"), this._slot = e.querySelector("slot");
178
180
  }
179
181
  get value() {
@@ -213,7 +215,7 @@ var V = S(), I = 300, z = class extends _ {
213
215
  return c(this, "sheet");
214
216
  }
215
217
  set sheet(e) {
216
- h(this, "sheet", e);
218
+ d(this, "sheet", e);
217
219
  }
218
220
  get getPopupContainerId() {
219
221
  return this.getAttribute("getPopupContainerId") || "";
@@ -260,16 +262,18 @@ var V = S(), I = 300, z = class extends _ {
260
262
  const s = i.getAttribute("value") || "";
261
263
  i.setAttribute("active", s), i.setAttribute("aria-selected", "true"), i.scrollIntoView({ block: "nearest" }), this.syncActiveState();
262
264
  };
265
+ applyLabelLineHeight = () => {
266
+ if (!this._text) return;
267
+ const { height: e } = this.getBoundingClientRect();
268
+ e > 0 ? this._text.style.setProperty("line-height", `${e}px`) : this._text.style.removeProperty("line-height");
269
+ };
263
270
  selectOptionElement = (e, t = !0) => {
264
271
  if (!e) return;
265
272
  const o = e.getAttribute("title") || e.textContent?.trim() || "", i = e.getAttribute("value") || this._optionLabelMapValue.get(o) || "";
266
- if (!i) return;
267
- this.setAttribute("value", i), this.syncFormValue(), this._text.textContent = o, this._text.setAttribute("title", o), this._search.setAttribute("placeholder", o);
268
- const { height: s } = this.getBoundingClientRect();
269
- this._text.style.setProperty("line-height", `${s}px`), this._activeOption && this._activeOption !== e && (this._activeOption.removeAttribute("active"), this._activeOption.setAttribute("aria-selected", "false")), this._activeOption = e, this._activeIndex = this.getDropdownOptions().findIndex((n) => n === e), e.setAttribute("active", i), e.setAttribute("aria-selected", "true"), this.syncActiveState(), this.setSelectDropdownDisplayNone(), t && this.dispatchEvent(new CustomEvent("change", { detail: {
273
+ i && (this.setAttribute("value", i), this.syncFormValue(), this._text.textContent = o, this._text.setAttribute("title", o), this._search.setAttribute("placeholder", o), this.applyLabelLineHeight(), this._activeOption && this._activeOption !== e && (this._activeOption.removeAttribute("active"), this._activeOption.setAttribute("aria-selected", "false")), this._activeOption = e, this._activeIndex = this.getDropdownOptions().findIndex((s) => s === e), e.setAttribute("active", i), e.setAttribute("aria-selected", "true"), this.syncActiveState(), this.setSelectDropdownDisplayNone(), t && this.dispatchEvent(new CustomEvent("change", { detail: {
270
274
  value: i,
271
275
  label: o
272
- } }));
276
+ } })));
273
277
  };
274
278
  isDropdownOpen = () => this._selectionDropdown ? this._selectionDropdown.style.display === "block" : !1;
275
279
  _nextEnabledIndex = (e, t) => {
@@ -304,7 +308,7 @@ var V = S(), I = 300, z = class extends _ {
304
308
  }
305
309
  };
306
310
  handlerExternalCss() {
307
- w(this, this._shadowDom, "sheet", null, this.sheet);
311
+ f(this, this._shadowDom, "sheet", null, this.sheet);
308
312
  }
309
313
  setSelectDropdownDisplayNone = () => {
310
314
  this._selectDropDownOutTimeId || (this.updateAriaExpanded(!1), this._selectionDropdown && this._selectionDropdown.style.display !== "none" && (this._detachReposition(), this._selectionDropdown.setAttribute("transit", A[this.placement].remove), this._selectDropDownOutTimeId = setTimeout(() => {
@@ -322,12 +326,12 @@ var V = S(), I = 300, z = class extends _ {
322
326
  const { top: e, left: t, bottom: o, width: i } = this.getBoundingClientRect(), s = this.getRootNode(), n = (s.getElementById ? s.getElementById(this.getPopupContainerId) : null) || document.getElementById(this.getPopupContainerId);
323
327
  this._selectionDropdown.style.setProperty("position", "absolute"), this._selectionDropdown.style.setProperty("--ran-x", `${e + window.scrollX}`), this._selectionDropdown.style.setProperty("--ran-y", `${t + window.scrollY}`);
324
328
  const r = 4;
325
- let d = o + window.scrollY + r, y = t + window.scrollX;
326
- if (this._selectionDropdown.style.setProperty("width", `${i}px`), this.placement === "top" && (d = e + window.scrollY - this._selectionDropdown.clientHeight - r), this.getPopupContainerId && n) {
329
+ let h = o + window.scrollY + r, y = t + window.scrollX;
330
+ if (this._selectionDropdown.style.setProperty("width", `${i}px`), this.placement === "top" && (h = e + window.scrollY - this._selectionDropdown.clientHeight - r), this.getPopupContainerId && n) {
327
331
  const p = n.getBoundingClientRect();
328
- y = t - p.left, this.placement === "top" ? d = e - p.top - this._selectionDropdown.clientHeight - r : d = o - p.top + r;
332
+ y = t - p.left, this.placement === "top" ? h = e - p.top - this._selectionDropdown.clientHeight - r : h = o - p.top + r;
329
333
  }
330
- this._selectionDropdown.style.setProperty("inset", `${d}px auto auto ${y}px`);
334
+ this._selectionDropdown.style.setProperty("inset", `${h}px auto auto ${y}px`);
331
335
  });
332
336
  };
333
337
  _repositionBound = !1;
@@ -400,11 +404,9 @@ var V = S(), I = 300, z = class extends _ {
400
404
  if (!e) return;
401
405
  const t = this._optionValueMapLabel.get(e);
402
406
  if (!t) return;
403
- this.setAttribute("value", e);
404
- const { height: o } = this.getBoundingClientRect();
405
- this._text.style.setProperty("line-height", `${o}px`), this._text.textContent = t, this._text.setAttribute("title", t);
406
- const i = this.getDropdownOptions().find((s) => s.getAttribute("value") === e) || null;
407
- i && this.selectOptionElement(i, !1);
407
+ this.setAttribute("value", e), this._text.textContent = t, this._text.setAttribute("title", t), this.applyLabelLineHeight();
408
+ const o = this.getDropdownOptions().find((i) => i.getAttribute("value") === e) || null;
409
+ o && this.selectOptionElement(o, !1);
408
410
  };
409
411
  changeSearch = (e) => {
410
412
  const t = e.detail.value || "";
@@ -424,10 +426,14 @@ var V = S(), I = 300, z = class extends _ {
424
426
  e.stopPropagation(), this.setSelectDropdownDisplayNone();
425
427
  };
426
428
  connectedCallback() {
427
- this.handlerExternalCss(), this.createOption(), this.initAria(), this.syncFormValue(), this._events.on(this._slot, "slotchange", this.addOptionToSlot).on(this, "keydown", this.keydownSelect).on(document, "click", this.clickRemoveSelect), this.trigger.includes("hover") && !u() && this._events.on(this, "mouseenter", this.selectMouseDown).on(this, "mouseleave", this.selectBlur), this.trigger.includes("click") && this._events.on(this, "click", this.selectMouseDown).on(this, "blur", this.selectBlur), this._applyShowSearch();
429
+ this.handlerExternalCss(), this.createOption(), this.initAria(), this.syncFormValue(), this._events.on(this._slot, "slotchange", this.addOptionToSlot).on(this, "keydown", this.keydownSelect).on(document, "click", this.clickRemoveSelect), this.trigger.includes("hover") && !u() && this._events.on(this, "mouseenter", this.selectMouseDown).on(this, "mouseleave", this.selectBlur), this.trigger.includes("click") && this._events.on(this, "click", this.selectMouseDown).on(this, "blur", this.selectBlur), this._applyShowSearch(), this.reapplyValueAfterConnect();
428
430
  }
431
+ reapplyValueAfterConnect = () => {
432
+ const e = this.getAttribute("value");
433
+ e && (this._activeOption = void 0, this.syncSelectedFromValue(e), this.applyLabelLineHeight());
434
+ };
429
435
  _applyShowSearch = () => {
430
- this._searchEvents.abort(), this.showSearch && (this.onSearch = V(this.changeSearch), this.onSearch && this._searchEvents.on(this._search, "change", this.onSearch).on(this._search, "click", this.onSearch));
436
+ this._searchEvents.abort(), this.showSearch && (this.onSearch = k(this.changeSearch), this.onSearch && this._searchEvents.on(this._search, "change", this.onSearch).on(this._search, "click", this.onSearch));
431
437
  };
432
438
  disconnectedCallback() {
433
439
  this._events.abort(), this._searchEvents.abort(), this._detachReposition(), this.removeSelectDropdown();
@@ -441,7 +447,7 @@ var V = S(), I = 300, z = class extends _ {
441
447
  t && this.selectOptionElement(t, !1);
442
448
  };
443
449
  };
444
- f("r-select", z);
450
+ m("r-select", B);
445
451
  export {
446
- z as t
452
+ B as t
447
453
  };
package/dist/select.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./select-DRKYa3W2.js";
1
+ import { t as e } from "./select-D48kcwEy.js";
2
2
  export {
3
3
  e as Select,
4
4
  e as default
@@ -1,9 +1,9 @@
1
1
  import { n as g } from "./chunk-Y2CYZVJY-0JxdZxki.js";
2
- import { m as st, p as Vt } from "./src-DtRLxcYO.js";
3
- import { A as $, F as Be, G as er, H as rr, K as ar, O as sr, U as Ce, a as ir, b as Kt, c as nr, i as Pt, r as or, s as N, v as cr, w as lr, x as tt, y as hr, z as Yt } from "./chunk-WYO6CB5R-DDHkKowO.js";
4
- import { t as dr } from "./dist-C0Fwsvsq.js";
5
- import { g as Z, p as Ve } from "./chunk-ICXQ74PX-DR8rL-xF.js";
6
- import { a as Tr, c as se, i as ie, n as pr, r as ne, s as Tt } from "./chunk-32BRIVSS-jAuAwMVV.js";
2
+ import { m as st, p as Vt } from "./src-CM-0IT-N.js";
3
+ import { A as $, F as Be, G as er, H as rr, K as ar, O as sr, U as Ce, a as ir, b as Kt, c as nr, i as Pt, r as or, s as N, v as cr, w as lr, x as tt, y as hr, z as Yt } from "./chunk-WYO6CB5R-DyGmS3I6.js";
4
+ import { t as dr } from "./dist-9Ly83Lo6.js";
5
+ import { g as Z, p as Ve } from "./chunk-ICXQ74PX-DPZfA3a8.js";
6
+ import { a as Tr, c as se, i as ie, n as pr, r as ne, s as Tt } from "./chunk-32BRIVSS-DhXCFCbM.js";
7
7
  import { t as Er } from "./chunk-2Q5K7J3B-DlFVJRAn.js";
8
8
  import { n as ur, t as fr } from "./chunk-ZIRB5QZD-C7OH2FI2.js";
9
9
  var Ye = dr(), ee = (function() {
@@ -0,0 +1 @@
1
+ const l=require("./rolldown-runtime-CAnuVJ4g.cjs");var e=l.__exportAll({default:()=>c}),c={success:!0,_identification:!0,data:'<svg t="1667110849445" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8603" width="200" height="200"><path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56c10.1-8.6 13.8-22.6 9.3-35.2l-0.9-2.6c-18.1-50.5-44.9-96.9-79.7-137.9l-1.8-2.1c-8.6-10.1-22.5-13.9-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85c-2.4-13.1-12.7-23.3-25.8-25.7l-2.7-0.5c-52.1-9.4-106.9-9.4-159 0l-2.7 0.5c-13.1 2.4-23.4 12.6-25.8 25.7l-15.8 85.4c-35.9 13.6-69.2 32.9-99 57.4l-81.9-29.1c-12.5-4.4-26.5-0.7-35.1 9.5l-1.8 2.1c-34.8 41.1-61.6 87.5-79.7 137.9l-0.9 2.6c-4.5 12.5-0.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5c-10.1 8.6-13.8 22.6-9.3 35.2l0.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c8.6 10.1 22.5 13.9 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4c2.4 13.1 12.7 23.3 25.8 25.7l2.7 0.5c26.1 4.7 52.8 7.1 79.5 7.1 26.7 0 53.5-2.4 79.5-7.1l2.7-0.5c13.1-2.4 23.4-12.6 25.8-25.7l15.7-85c36.2-13.6 69.7-32.9 99.7-57.6l81.3 28.9c12.5 4.4 26.5 0.7 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l0.9-2.6c4.5-12.3 0.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9c-11.3 26.1-25.6 50.7-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97c-28.1 3.2-56.8 3.2-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9z" p-id="8604"></path><path d="M512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176z m79.2 255.2C570 602.3 541.9 614 512 614c-29.9 0-58-11.7-79.2-32.8C411.7 560 400 531.9 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8C612.3 444 624 472.1 624 502c0 29.9-11.7 58-32.8 79.2z" p-id="8605"></path></svg>'};Object.defineProperty(exports,"setting_default",{enumerable:!0,get:function(){return c}});Object.defineProperty(exports,"setting_exports",{enumerable:!0,get:function(){return e}});
@@ -0,0 +1,10 @@
1
+ import { n as c } from "./rolldown-runtime-DkpYurw3.js";
2
+ var s = /* @__PURE__ */ c({ default: () => l }), l = {
3
+ success: !0,
4
+ _identification: !0,
5
+ data: '<svg t="1667110849445" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8603" width="200" height="200"><path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56c10.1-8.6 13.8-22.6 9.3-35.2l-0.9-2.6c-18.1-50.5-44.9-96.9-79.7-137.9l-1.8-2.1c-8.6-10.1-22.5-13.9-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85c-2.4-13.1-12.7-23.3-25.8-25.7l-2.7-0.5c-52.1-9.4-106.9-9.4-159 0l-2.7 0.5c-13.1 2.4-23.4 12.6-25.8 25.7l-15.8 85.4c-35.9 13.6-69.2 32.9-99 57.4l-81.9-29.1c-12.5-4.4-26.5-0.7-35.1 9.5l-1.8 2.1c-34.8 41.1-61.6 87.5-79.7 137.9l-0.9 2.6c-4.5 12.5-0.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5c-10.1 8.6-13.8 22.6-9.3 35.2l0.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c8.6 10.1 22.5 13.9 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4c2.4 13.1 12.7 23.3 25.8 25.7l2.7 0.5c26.1 4.7 52.8 7.1 79.5 7.1 26.7 0 53.5-2.4 79.5-7.1l2.7-0.5c13.1-2.4 23.4-12.6 25.8-25.7l15.7-85c36.2-13.6 69.7-32.9 99.7-57.6l81.3 28.9c12.5 4.4 26.5 0.7 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l0.9-2.6c4.5-12.3 0.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9c-11.3 26.1-25.6 50.7-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97c-28.1 3.2-56.8 3.2-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9z" p-id="8604"></path><path d="M512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176z m79.2 255.2C570 602.3 541.9 614 512 614c-29.9 0-58-11.7-79.2-32.8C411.7 560 400 531.9 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8C612.3 444 624 472.1 624 502c0 29.9-11.7 58-32.8 79.2z" p-id="8605"></path></svg>'
6
+ };
7
+ export {
8
+ s as n,
9
+ l as t
10
+ };
@@ -1,23 +1,23 @@
1
- import { a as r, n, o as s, r as i, t as o } from "./utils-D1iZnChu.js";
2
- import { i as l } from "./factory-ZNhcQ4tf.js";
3
- import { a as h, n as d } from "./ssr-DSGwPtEd.js";
4
- var u = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}@keyframes skeleton{0%{transform:translate(-37.5%)}to{transform:translate(37.5%)}}.ran-skeleton{position:relative;z-index:0;overflow:hidden;background:0 0;width:100%;height:var(--ran-skeleton-height, 16px);background:var(--ran-skeleton-background, var(--ran-gray-alpha-200, rgba(0, 0, 0, .06)));border-radius:var(--ran-skeleton-border-radius, var(--ran-radius-sm, 6px))}.ran-skeleton:after{position:absolute;top:0;inset-inline-end:-150%;bottom:0;inset-inline-start:-150%;background:var(--ran-skeleton-shimmer, linear-gradient(90deg, var(--ran-gray-alpha-200, rgba(0, 0, 0, .06)) 25%, var(--ran-gray-alpha-500, rgba(0, 0, 0, .15)) 37%, var(--ran-gray-alpha-200, rgba(0, 0, 0, .06)) 63%));animation-name:skeleton;animation-duration:var(--ran-skeleton-animation-duration, 1.4s);animation-timing-function:ease;animation-iteration-count:infinite;content:""}', m = class extends d {
1
+ import { i as r } from "./factory-Bbul5tOL.js";
2
+ import { a as n, n as s } from "./ssr-BzHZ2bCe.js";
3
+ import { a as i, n as o, o as l, r as h, t as d } from "./utils-X5_TIQTQ.js";
4
+ var u = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}@keyframes skeleton{0%{transform:translate(-37.5%)}to{transform:translate(37.5%)}}.ran-skeleton{position:relative;z-index:0;overflow:hidden;background:0 0;width:100%;height:var(--ran-skeleton-height, 16px);background:var(--ran-skeleton-background, var(--ran-gray-alpha-200, rgba(0, 0, 0, .06)));border-radius:var(--ran-skeleton-border-radius, var(--ran-radius-sm, 6px))}.ran-skeleton:after{position:absolute;top:0;inset-inline-end:-150%;bottom:0;inset-inline-start:-150%;background:var(--ran-skeleton-shimmer, linear-gradient(90deg, var(--ran-gray-alpha-200, rgba(0, 0, 0, .06)) 25%, var(--ran-gray-alpha-500, rgba(0, 0, 0, .15)) 37%, var(--ran-gray-alpha-200, rgba(0, 0, 0, .06)) 63%));animation-name:skeleton;animation-duration:var(--ran-skeleton-animation-duration, 1.4s);animation-timing-function:ease;animation-iteration-count:infinite;content:""}', m = class extends s {
5
5
  _div;
6
6
  _shadowDom;
7
7
  static get observedAttributes() {
8
8
  return ["sheet"];
9
9
  }
10
10
  constructor() {
11
- super(), this._shadowDom = n(this, u), this._div = o(this._shadowDom, ".ran-skeleton", () => l().class("ran-skeleton").build());
11
+ super(), this._shadowDom = o(this, u), this._div = d(this._shadowDom, ".ran-skeleton", () => r().class("ran-skeleton").build());
12
12
  }
13
13
  get sheet() {
14
- return i(this, "sheet");
14
+ return h(this, "sheet");
15
15
  }
16
16
  set sheet(t) {
17
- r(this, "sheet", t);
17
+ i(this, "sheet", t);
18
18
  }
19
19
  handlerExternalCss = () => {
20
- s(this, this._shadowDom, "sheet", null, this.sheet);
20
+ l(this, this._shadowDom, "sheet", null, this.sheet);
21
21
  };
22
22
  connectedCallback() {
23
23
  this.handlerExternalCss();
@@ -26,7 +26,7 @@ var u = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
26
26
  e !== a && t === "sheet" && this.handlerExternalCss();
27
27
  }
28
28
  };
29
- h("r-skeleton", m);
29
+ n("r-skeleton", m);
30
30
  export {
31
31
  m as t
32
32
  };
package/dist/skeleton.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./skeleton-D7JIbROq.js";
1
+ import { t as e } from "./skeleton-DbgMcQQ0.js";
2
2
  export {
3
3
  e as Skeleton,
4
4
  e as default
@@ -0,0 +1 @@
1
+ const a=require("./builder-2HD21I6K.cjs");var r=".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}.ran-loading .solar{width:var(--loading-solar-width, 250px);height:var(--loading-solar-height, 250px);display:var(--loading-solar-display, flex);justify-content:var(--loading-solar-justify-content, center);align-items:var(--loading-solar-align-items, center)}@keyframes solar{0%{transform:var(--loading-solar-keyframes-from, rotate(0))}to{transform:var(--loading-solar-keyframes-to, rotate(359deg))}}.ran-loading .solar .orbit{position:var(--loading-solar-orbit-position, relative);display:var(--loading-solar-orbit-display, flex);justify-content:var(--loading-solar-orbit-justify-content, center);align-items:var(--loading-solar-orbit-align-items, center);border:var(--loading-solar-orbit-border, 1px solid #77777d);border-radius:var(--loading-solar-orbit-border-radius, 50%)}.ran-loading .solar .earth-orbit{width:var(--loading-solar-earth-orbit-width, 165px);height:var(--loading-solar-earth-orbit-height, 165px);animation:var(--loading-solar-earth-orbit-animation, solar 12s linear 0s infinite);animation-play-state:var(--loading-solar-earth-orbit-animation-play-state, running)}.ran-loading .solar .venus-orbit{width:var(--loading-solar-venus-orbit-width, 120px);height:var(--loading-solar-venus-orbit-height, 120px);animation:var(--loading-solar-venus-orbit-width, solar 7.4s linear 0s infinite);animation-play-state:var(--loading-solar-venus-orbit-animation-play-state, running)}.ran-loading .solar .mercury-orbit{width:var(--loading-solar-mercury-orbit-width, 90px);height:var(--loading-solar-mercury-orbit-height, 90px);animation:var(--loading-solar-mercury-orbit-animation, solar 3s linear 0s infinite);animation-play-state:var(--loading-solar-mercury-orbit-animation-play-state, running)}.ran-loading .solar .planet{position:var(--loading-solar-planet-position, absolute);top:var(--loading-solar-planet-top, -5px);width:var(--loading-solar-planet-width, 10px);height:var(--loading-solar-planet-height, 10px);border-radius:var(--loading-solar-planet-border-radius, 50%);background:var(--loading-solar-planet-background, #3ff9dc)}.ran-loading .solar .sun{width:var(--loading-solar-sun-width, 35px);height:var(--loading-solar-sun-height, 35px);border-radius:var(--loading-solar-sun-border-radius, 50%);background:var(--loading-solar-sun-background, #ffab91)}",i=()=>a.Div().class("solar").part("solar").children(a.Div().class("earth-orbit orbit").children(a.Div().class("planet earth"),a.Div().class("venus-orbit orbit").children(a.Div().class("planet venus"),a.Div().class("mercury-orbit orbit").children(a.Div().class("planet mercury"),a.Div().class("sun").part("sun"))))).build(),o={css:r,render:i};exports.default=o;
@@ -0,0 +1,9 @@
1
+ import { i as a } from "./factory-Bbul5tOL.js";
2
+ import "./ssr-BzHZ2bCe.js";
3
+ var r = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}.ran-loading .solar{width:var(--loading-solar-width, 250px);height:var(--loading-solar-height, 250px);display:var(--loading-solar-display, flex);justify-content:var(--loading-solar-justify-content, center);align-items:var(--loading-solar-align-items, center)}@keyframes solar{0%{transform:var(--loading-solar-keyframes-from, rotate(0))}to{transform:var(--loading-solar-keyframes-to, rotate(359deg))}}.ran-loading .solar .orbit{position:var(--loading-solar-orbit-position, relative);display:var(--loading-solar-orbit-display, flex);justify-content:var(--loading-solar-orbit-justify-content, center);align-items:var(--loading-solar-orbit-align-items, center);border:var(--loading-solar-orbit-border, 1px solid #77777d);border-radius:var(--loading-solar-orbit-border-radius, 50%)}.ran-loading .solar .earth-orbit{width:var(--loading-solar-earth-orbit-width, 165px);height:var(--loading-solar-earth-orbit-height, 165px);animation:var(--loading-solar-earth-orbit-animation, solar 12s linear 0s infinite);animation-play-state:var(--loading-solar-earth-orbit-animation-play-state, running)}.ran-loading .solar .venus-orbit{width:var(--loading-solar-venus-orbit-width, 120px);height:var(--loading-solar-venus-orbit-height, 120px);animation:var(--loading-solar-venus-orbit-width, solar 7.4s linear 0s infinite);animation-play-state:var(--loading-solar-venus-orbit-animation-play-state, running)}.ran-loading .solar .mercury-orbit{width:var(--loading-solar-mercury-orbit-width, 90px);height:var(--loading-solar-mercury-orbit-height, 90px);animation:var(--loading-solar-mercury-orbit-animation, solar 3s linear 0s infinite);animation-play-state:var(--loading-solar-mercury-orbit-animation-play-state, running)}.ran-loading .solar .planet{position:var(--loading-solar-planet-position, absolute);top:var(--loading-solar-planet-top, -5px);width:var(--loading-solar-planet-width, 10px);height:var(--loading-solar-planet-height, 10px);border-radius:var(--loading-solar-planet-border-radius, 50%);background:var(--loading-solar-planet-background, #3ff9dc)}.ran-loading .solar .sun{width:var(--loading-solar-sun-width, 35px);height:var(--loading-solar-sun-height, 35px);border-radius:var(--loading-solar-sun-border-radius, 50%);background:var(--loading-solar-sun-background, #ffab91)}", i = () => a().class("solar").part("solar").children(a().class("earth-orbit orbit").children(a().class("planet earth"), a().class("venus-orbit orbit").children(a().class("planet venus"), a().class("mercury-orbit orbit").children(a().class("planet mercury"), a().class("sun").part("sun"))))).build(), n = {
4
+ css: r,
5
+ render: i
6
+ };
7
+ export {
8
+ n as default
9
+ };
@@ -0,0 +1,7 @@
1
+ const t=require("./rolldown-runtime-CAnuVJ4g.cjs");var r=t.__exportAll({default:()=>e}),e={success:!0,_identification:!0,data:`<svg t="1740920555586" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4915"
2
+ width="200" height="200">
3
+ <path
4
+ d="M800.256 741.888l47.616-47.616a31.744 31.744 0 0 1 45.056 45.056l-102.4 102.4a31.744 31.744 0 0 1-54.272-22.528V204.8a32.256 32.256 0 0 1 64 0zM153.6 237.056a32.256 32.256 0 0 1 0-64h460.8a32.256 32.256 0 0 1 0 64z m0 307.2a32.256 32.256 0 0 1 0-64h460.8a32.256 32.256 0 0 1 0 64z m0 307.2a32.256 32.256 0 0 1 0-64h460.8a32.256 32.256 0 0 1 0 64z"
5
+ fill="currentColor" p-id="4916"></path>
6
+ </svg>
7
+ `};Object.defineProperty(exports,"sort_default",{enumerable:!0,get:function(){return e}});Object.defineProperty(exports,"sort_exports",{enumerable:!0,get:function(){return r}});
@@ -0,0 +1,16 @@
1
+ import { n as a } from "./rolldown-runtime-DkpYurw3.js";
2
+ var s = /* @__PURE__ */ a({ default: () => t }), t = {
3
+ success: !0,
4
+ _identification: !0,
5
+ data: `<svg t="1740920555586" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4915"
6
+ width="200" height="200">
7
+ <path
8
+ d="M800.256 741.888l47.616-47.616a31.744 31.744 0 0 1 45.056 45.056l-102.4 102.4a31.744 31.744 0 0 1-54.272-22.528V204.8a32.256 32.256 0 0 1 64 0zM153.6 237.056a32.256 32.256 0 0 1 0-64h460.8a32.256 32.256 0 0 1 0 64z m0 307.2a32.256 32.256 0 0 1 0-64h460.8a32.256 32.256 0 0 1 0 64z m0 307.2a32.256 32.256 0 0 1 0-64h460.8a32.256 32.256 0 0 1 0 64z"
9
+ fill="currentColor" p-id="4916"></path>
10
+ </svg>
11
+ `
12
+ };
13
+ export {
14
+ s as n,
15
+ t
16
+ };