@expcat/tigercat-vue 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (710) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-25EYT2CB.js +139 -0
  3. package/dist/chunk-27T3QDSF.js +61 -48
  4. package/dist/chunk-2BNQGU7E.mjs +22 -4
  5. package/dist/{chunk-VYFJ3LYD.js → chunk-2C5TOAYI.js} +12 -9
  6. package/dist/{chunk-V55ZONWZ.mjs → chunk-2GQE47OY.mjs} +82 -4
  7. package/dist/chunk-2KDSHEZT.js +41 -28
  8. package/dist/chunk-2LNNB55E.js +59 -39
  9. package/dist/{chunk-UYN5WLHQ.mjs → chunk-2PFP44AI.mjs} +34 -11
  10. package/dist/chunk-2R5HISQA.mjs +16 -4
  11. package/dist/chunk-2S5CNU36.js +40 -31
  12. package/dist/chunk-2TNZ4JNT.mjs +14 -4
  13. package/dist/{chunk-SB2SX5EH.js → chunk-2VBUCW5G.js} +96 -76
  14. package/dist/{chunk-GZK6R2E3.js → chunk-2VOZFFW6.js} +33 -28
  15. package/dist/chunk-2WJADO6O.mjs +19 -4
  16. package/dist/chunk-2X3ZPH2H.mjs +31 -4
  17. package/dist/chunk-2YFXJUBT.js +40 -25
  18. package/dist/chunk-2ZUEXCVJ.mjs +9 -4
  19. package/dist/chunk-33YTJPF7.js +81 -54
  20. package/dist/{chunk-I6E3GY64.mjs → chunk-3A7H2CTW.mjs} +180 -12
  21. package/dist/chunk-3G4VPV4D.mjs +20 -4
  22. package/dist/chunk-3MC45EXP.mjs +13 -4
  23. package/dist/chunk-3QV2D54H.js +55 -37
  24. package/dist/{chunk-RRTB7O7Q.mjs → chunk-3W4CM7KO.mjs} +27 -6
  25. package/dist/chunk-43BLH7DE.js +49 -37
  26. package/dist/{chunk-63LJVB2M.js → chunk-44N7LE3Q.js} +141 -64
  27. package/dist/chunk-46DEQQMB.mjs +11 -4
  28. package/dist/chunk-4CWRNKPE.mjs +35 -5
  29. package/dist/{chunk-OKSLWGXR.js → chunk-4DWOTV7J.js} +77 -60
  30. package/dist/chunk-4K2CCBFT.mjs +30 -4
  31. package/dist/{chunk-XMOYCYVK.js → chunk-4OOR4524.js} +280 -138
  32. package/dist/chunk-4YHOD7LT.mjs +13 -4
  33. package/dist/chunk-5436FG3B.js +32 -23
  34. package/dist/chunk-54VVFMYI.js +13 -14
  35. package/dist/chunk-57MJTNDL.js +25 -20
  36. package/dist/chunk-5D2UAWWP.mjs +37 -4
  37. package/dist/{chunk-EHBPMUT2.js → chunk-5F6P5Y4K.js} +29 -27
  38. package/dist/chunk-5JKQPOG2.js +133 -0
  39. package/dist/chunk-5PXTMXXS.js +27 -20
  40. package/dist/chunk-5UOAWXOQ.js +243 -0
  41. package/dist/{chunk-OMVVPNU7.js → chunk-5VSKQLK3.js} +141 -105
  42. package/dist/chunk-5WG4OFXH.mjs +133 -0
  43. package/dist/chunk-5X3GXNGM.mjs +27 -4
  44. package/dist/{chunk-YQRRW4ZR.mjs → chunk-5ZAIW5W3.mjs} +9 -3
  45. package/dist/{chunk-FQHYU76P.mjs → chunk-6DVWLGSZ.mjs} +28 -6
  46. package/dist/chunk-6FXYRDYH.js +30 -25
  47. package/dist/{chunk-EVOXC3CD.js → chunk-6HM77SWE.js} +92 -75
  48. package/dist/chunk-6V7XCCXN.mjs +8 -4
  49. package/dist/chunk-7ADONGSB.js +14 -15
  50. package/dist/chunk-7LUATGJU.mjs +27 -4
  51. package/dist/chunk-7PY6OQVE.mjs +15 -4
  52. package/dist/chunk-7QX4QWWN.js +61 -40
  53. package/dist/chunk-7RIWAO2A.mjs +18 -4
  54. package/dist/chunk-7SFB77JR.mjs +192 -0
  55. package/dist/{chunk-RVU47MU6.mjs → chunk-7W3NALIL.mjs} +15 -6
  56. package/dist/chunk-A5HHG53Z.js +38 -24
  57. package/dist/chunk-A5HRX7EG.js +37 -31
  58. package/dist/chunk-A7FN3S4I.js +33 -23
  59. package/dist/chunk-ACYYQJ6M.js +16 -17
  60. package/dist/chunk-AGVXMB4Q.js +52 -39
  61. package/dist/chunk-AXDBME5A.mjs +15 -4
  62. package/dist/{chunk-VYGI74MJ.js → chunk-B2RH4CMG.js} +156 -37
  63. package/dist/chunk-B67RJSXR.mjs +142 -0
  64. package/dist/chunk-BEIPGX74.mjs +233 -0
  65. package/dist/chunk-BEIZXMHW.js +470 -0
  66. package/dist/{chunk-OZYJ3U4H.js → chunk-BGMAWKWV.js} +208 -83
  67. package/dist/{chunk-GEPFTYKC.js → chunk-BGMQIUPP.js} +108 -77
  68. package/dist/chunk-BMT5PGAQ.mjs +20 -5
  69. package/dist/chunk-BPAN6T7H.mjs +16 -4
  70. package/dist/chunk-BYNMOQBB.js +54 -42
  71. package/dist/chunk-BZBVSB43.js +37 -28
  72. package/dist/chunk-C7VGTRHE.mjs +20 -4
  73. package/dist/chunk-CBECE4ZO.mjs +373 -0
  74. package/dist/chunk-CKXZONMO.js +18 -14
  75. package/dist/{chunk-G2IZAKJY.mjs → chunk-CN7HFUFN.mjs} +38 -4
  76. package/dist/chunk-COCECPMG.mjs +17 -4
  77. package/dist/chunk-CPV7INZ4.mjs +10 -4
  78. package/dist/chunk-CSJQKBDJ.js +73 -44
  79. package/dist/{chunk-UT6T25YJ.js → chunk-CWNEDREV.js} +42 -36
  80. package/dist/chunk-CWQOEU6G.js +373 -0
  81. package/dist/chunk-CZALMJH3.mjs +29 -8
  82. package/dist/chunk-D3U2NJ32.mjs +154 -0
  83. package/dist/{chunk-YYZBVHVC.mjs → chunk-D74XCQCK.mjs} +78 -12
  84. package/dist/chunk-DBTS5QBX.mjs +14 -4
  85. package/dist/{chunk-OSOA7LWH.mjs → chunk-DDNRF5U7.mjs} +91 -6
  86. package/dist/{chunk-46XPSPG4.js → chunk-DE5WMG6P.js} +69 -53
  87. package/dist/{chunk-H2BH6TJN.mjs → chunk-DEJKRMMU.mjs} +26 -4
  88. package/dist/chunk-DIQGHFAT.mjs +6 -4
  89. package/dist/chunk-DMV26JNR.mjs +16 -4
  90. package/dist/{chunk-CERGNVW2.mjs → chunk-DQFTTJJ5.mjs} +37 -4
  91. package/dist/{chunk-EJCHNSVG.mjs → chunk-DTUTHYQY.mjs} +10 -7
  92. package/dist/chunk-DUQ7Q2GO.js +10 -9
  93. package/dist/chunk-DYSLYJ2W.js +29 -25
  94. package/dist/chunk-DZXZ3YEL.js +44 -26
  95. package/dist/chunk-E2GQSWHK.mjs +14 -4
  96. package/dist/chunk-E6RGBYI3.mjs +31 -4
  97. package/dist/chunk-EJNPSYTS.js +44 -0
  98. package/dist/{chunk-NG7TLPQQ.mjs → chunk-EKWJTB5H.mjs} +28 -8
  99. package/dist/chunk-EL2224DN.js +291 -0
  100. package/dist/chunk-EQDCFOWR.mjs +243 -0
  101. package/dist/chunk-ETTYERGO.js +23 -17
  102. package/dist/chunk-EZXW4HIZ.mjs +19 -4
  103. package/dist/chunk-F7G7K3TF.mjs +22 -4
  104. package/dist/{chunk-BQRXHUIC.js → chunk-FAYSOSR7.js} +89 -64
  105. package/dist/chunk-FC7RXQTM.js +30 -20
  106. package/dist/chunk-FE2HR4E5.js +66 -47
  107. package/dist/chunk-FIV4PKWT.js +26 -20
  108. package/dist/chunk-FMH4CLSA.mjs +18 -4
  109. package/dist/{chunk-FC27Q4CL.js → chunk-FP7SBCPO.js} +65 -45
  110. package/dist/chunk-FQWEOBQ4.mjs +231 -0
  111. package/dist/{chunk-2Z2CJEUL.js → chunk-FRI62O2J.js} +97 -59
  112. package/dist/chunk-FUGSQXFR.js +65 -42
  113. package/dist/{chunk-656KMUL3.js → chunk-FUI6WG2F.js} +154 -124
  114. package/dist/chunk-FXS5GHQZ.js +388 -0
  115. package/dist/{chunk-6WACKCWM.mjs → chunk-G36MH6G4.mjs} +49 -8
  116. package/dist/chunk-G3SWTL27.js +45 -29
  117. package/dist/chunk-GDKYQ7U6.js +93 -75
  118. package/dist/{chunk-FMLNJXCX.js → chunk-GIQQOHDA.js} +59 -41
  119. package/dist/{chunk-QV7XYS5P.js → chunk-GL6KRUVO.js} +61 -42
  120. package/dist/chunk-GOBWUEHV.js +60 -45
  121. package/dist/{chunk-WPEFGEAK.mjs → chunk-GQAVLQEZ.mjs} +15 -4
  122. package/dist/chunk-GQPSQJ5I.mjs +6 -4
  123. package/dist/chunk-GVZRR2WP.mjs +22 -5
  124. package/dist/chunk-H4F4G2E4.mjs +14 -4
  125. package/dist/chunk-HBFFINAI.js +13 -11
  126. package/dist/chunk-HKRMZODL.mjs +246 -0
  127. package/dist/chunk-HVVPFQW2.mjs +19 -4
  128. package/dist/chunk-I4LQXUMW.js +13 -14
  129. package/dist/chunk-IGSAOYXD.mjs +11 -4
  130. package/dist/{chunk-IFD7PZDO.mjs → chunk-IKEZDGRO.mjs} +47 -13
  131. package/dist/chunk-IZF4VHJ2.mjs +23 -4
  132. package/dist/chunk-J73M5UTG.mjs +21 -4
  133. package/dist/{chunk-S4DT7LXD.js → chunk-JAAIL4XS.js} +24 -16
  134. package/dist/chunk-JCMGBKS6.js +23 -17
  135. package/dist/chunk-JDCVS4SJ.js +38 -31
  136. package/dist/chunk-JFIVDZFK.js +77 -57
  137. package/dist/{chunk-6PJ3JANP.js → chunk-JKEF7NB3.js} +70 -49
  138. package/dist/chunk-JKZ5ZRDG.js +44 -36
  139. package/dist/{chunk-MDPHUCVS.mjs → chunk-JL526HSV.mjs} +49 -14
  140. package/dist/{chunk-CODQKVQV.js → chunk-K2DJDJZR.js} +25 -22
  141. package/dist/chunk-K3CIXMN4.js +40 -32
  142. package/dist/{chunk-6EI23IND.mjs → chunk-K5ZZZ4TL.mjs} +33 -10
  143. package/dist/{chunk-Q4OPUKWF.js → chunk-KA7DILCI.js} +134 -99
  144. package/dist/chunk-KDA4XDXT.js +67 -0
  145. package/dist/chunk-KOTSKHPQ.mjs +19 -4
  146. package/dist/{chunk-C6ER6OUB.mjs → chunk-KU2Q5V3L.mjs} +31 -4
  147. package/dist/{chunk-TVDLZZNO.mjs → chunk-KVJIJJ4M.mjs} +113 -5
  148. package/dist/{chunk-RKU54YLW.mjs → chunk-KY3O3FWK.mjs} +91 -7
  149. package/dist/{chunk-QDYF23NQ.mjs → chunk-KZP3B3FQ.mjs} +32 -7
  150. package/dist/chunk-LBGTABIU.mjs +20 -4
  151. package/dist/{chunk-MZHQAT4I.mjs → chunk-LDDGBB3V.mjs} +157 -8
  152. package/dist/{chunk-5YFSAKRQ.mjs → chunk-LFKY2QRD.mjs} +138 -15
  153. package/dist/chunk-LG6KGO5D.js +42 -33
  154. package/dist/{chunk-ML2QP5KF.mjs → chunk-LILAZ4UJ.mjs} +136 -26
  155. package/dist/chunk-LL4ASJ4O.mjs +27 -4
  156. package/dist/chunk-LWDA7ABQ.js +36 -28
  157. package/dist/{chunk-O3JPGBAK.js → chunk-M2XA7VU5.js} +107 -75
  158. package/dist/chunk-M3G6LJKZ.mjs +12 -4
  159. package/dist/{chunk-LBIQHIXN.mjs → chunk-M5PGWW25.mjs} +42 -9
  160. package/dist/chunk-M7EBWJZ5.mjs +9 -4
  161. package/dist/{chunk-PBQVYZRB.js → chunk-MFYBHMQL.js} +117 -87
  162. package/dist/chunk-MHNCH2YI.js +231 -0
  163. package/dist/chunk-MI6TL3CQ.mjs +12 -4
  164. package/dist/chunk-MKBIVETW.mjs +12 -4
  165. package/dist/chunk-MNH3KNSN.js +49 -37
  166. package/dist/chunk-MQ23PX3S.js +218 -0
  167. package/dist/chunk-MSKAWM7K.js +30 -19
  168. package/dist/{chunk-ABLH42TR.js → chunk-MUJLT2YG.js} +224 -119
  169. package/dist/chunk-NCFY3VXA.js +13 -14
  170. package/dist/{chunk-XVUATQPD.mjs → chunk-NDS2DLUS.mjs} +40 -10
  171. package/dist/{chunk-WOVUC5FQ.mjs → chunk-NHBN6VAY.mjs} +33 -10
  172. package/dist/{chunk-XWE54AWW.mjs → chunk-NMVKDWMK.mjs} +303 -72
  173. package/dist/chunk-NNNG6NIA.mjs +13 -4
  174. package/dist/chunk-NOZ65AMO.js +32 -22
  175. package/dist/{chunk-E74ERZGQ.mjs → chunk-NWS45JQP.mjs} +52 -13
  176. package/dist/{chunk-IV4HFG36.mjs → chunk-NZUQ2KCW.mjs} +50 -8
  177. package/dist/chunk-OCL22D5E.mjs +29 -4
  178. package/dist/chunk-ODQOYMUQ.js +25 -18
  179. package/dist/chunk-OK4PVFQG.mjs +6 -4
  180. package/dist/{chunk-SPFWZCRX.mjs → chunk-OKR3GRG5.mjs} +51 -13
  181. package/dist/{chunk-WU2KCS6H.js → chunk-OW5D4LU6.js} +423 -195
  182. package/dist/chunk-OXIODAJS.js +192 -0
  183. package/dist/chunk-P7RXZVLT.js +66 -42
  184. package/dist/chunk-PCJHGWTU.js +269 -0
  185. package/dist/chunk-PCUUTKQZ.mjs +27 -4
  186. package/dist/{chunk-GWNXDOIG.mjs → chunk-PENI3H3I.mjs} +15 -10
  187. package/dist/chunk-PQMZ3YN3.js +37 -25
  188. package/dist/chunk-PUSTYAMS.mjs +28 -4
  189. package/dist/chunk-PVPLDEC5.mjs +6 -4
  190. package/dist/chunk-PXRF4IJO.mjs +17 -4
  191. package/dist/chunk-PY6P4N2Q.js +393 -0
  192. package/dist/{chunk-ZWTC2CUB.mjs → chunk-PYT5DTQQ.mjs} +158 -30
  193. package/dist/{chunk-V667FK4C.mjs → chunk-PZH2RTSS.mjs} +47 -4
  194. package/dist/chunk-Q4MH333P.js +18 -16
  195. package/dist/{chunk-56EI2AYV.js → chunk-QO2JYX6Q.js} +104 -65
  196. package/dist/chunk-QRAV345L.js +35 -25
  197. package/dist/{chunk-NJLNZ73T.js → chunk-QUIRQ7OA.js} +93 -66
  198. package/dist/chunk-QY6PYAJA.js +73 -53
  199. package/dist/chunk-QYSFZA5V.js +87 -65
  200. package/dist/chunk-QZ5OPNL4.mjs +17 -4
  201. package/dist/{chunk-N4GS2LSN.mjs → chunk-R2HO74FE.mjs} +12 -5
  202. package/dist/chunk-RDJZOMI6.js +26 -19
  203. package/dist/{chunk-CN2SP53A.mjs → chunk-RFFPMC22.mjs} +26 -7
  204. package/dist/{chunk-FRMMT3K3.mjs → chunk-RHAIJVMW.mjs} +43 -13
  205. package/dist/chunk-RKZN3URO.js +49 -38
  206. package/dist/chunk-RY2I56HB.js +36 -24
  207. package/dist/{chunk-AEU46D6B.js → chunk-S6K6IR3Y.js} +218 -111
  208. package/dist/{chunk-KVJKG4D3.js → chunk-S6Q7TD6H.js} +110 -70
  209. package/dist/chunk-SC3WTLKG.mjs +37 -4
  210. package/dist/{chunk-YIYLO6AG.mjs → chunk-SCRSO3ES.mjs} +32 -12
  211. package/dist/chunk-SCSGLSPY.mjs +393 -0
  212. package/dist/{chunk-WLRLKW2W.mjs → chunk-SEDENBOO.mjs} +34 -5
  213. package/dist/{chunk-UCDB56MB.mjs → chunk-SGRUGYQ6.mjs} +87 -5
  214. package/dist/chunk-SLYUQ67P.js +39 -30
  215. package/dist/{chunk-XXBMPKS7.js → chunk-SVWZOIBI.js} +101 -70
  216. package/dist/chunk-SWOQMMOT.js +18 -14
  217. package/dist/chunk-T4DF24UV.js +26 -20
  218. package/dist/{chunk-JACGMHFI.js → chunk-TAU447CL.js} +30 -23
  219. package/dist/chunk-TGIXSJI3.mjs +35 -4
  220. package/dist/chunk-TLXEFLPA.js +13 -14
  221. package/dist/chunk-TOE2XSEO.js +32 -20
  222. package/dist/{chunk-REF5Q6PG.mjs → chunk-TOOENSVT.mjs} +15 -4
  223. package/dist/{chunk-DBPY5M7Y.mjs → chunk-TSF5O3MA.mjs} +25 -6
  224. package/dist/chunk-U36NBQWP.js +192 -0
  225. package/dist/{chunk-FRFCXRUJ.mjs → chunk-UAD2XROX.mjs} +47 -12
  226. package/dist/chunk-UANF7XE5.mjs +25 -4
  227. package/dist/chunk-UHVUKLHF.js +32 -26
  228. package/dist/chunk-UI7N2ZDU.js +142 -0
  229. package/dist/{chunk-5RA26RRN.js → chunk-ULUH6UNV.js} +68 -48
  230. package/dist/chunk-UM5GGKIX.mjs +16 -4
  231. package/dist/{chunk-LBHKQW3U.mjs → chunk-UMQUWX7U.mjs} +14 -4
  232. package/dist/chunk-UNTTADHL.mjs +17 -4
  233. package/dist/chunk-UQK22ZMC.mjs +19 -4
  234. package/dist/chunk-UUJ7A3CN.js +75 -55
  235. package/dist/chunk-V32X2OEO.js +61 -34
  236. package/dist/{chunk-XOLTA3IE.js → chunk-VAXO5NEM.js} +62 -46
  237. package/dist/{chunk-E3BSOB7P.mjs → chunk-VG6E4NX6.mjs} +68 -18
  238. package/dist/chunk-VIIGYWUY.mjs +13 -4
  239. package/dist/chunk-VJ6YM2EW.mjs +192 -0
  240. package/dist/chunk-VL7GENWD.mjs +6 -4
  241. package/dist/chunk-VPNIZPIF.js +79 -60
  242. package/dist/chunk-VVS2CQS4.mjs +6 -4
  243. package/dist/{chunk-47Z4MGKP.js → chunk-VXULMOIW.js} +90 -64
  244. package/dist/{chunk-4VB6I3CA.js → chunk-W55GCQ2D.js} +65 -44
  245. package/dist/chunk-W5RZPTFD.mjs +13 -4
  246. package/dist/chunk-W6ZFHHD3.mjs +15 -4
  247. package/dist/{chunk-DVFDA2P2.mjs → chunk-WE4DGU2T.mjs} +14 -7
  248. package/dist/chunk-WFISP42H.mjs +17 -4
  249. package/dist/chunk-WGNJHM34.js +46 -34
  250. package/dist/chunk-WM4ESIHG.mjs +13 -4
  251. package/dist/chunk-WPIDP6IG.js +35 -25
  252. package/dist/chunk-WQXZ3234.mjs +19 -4
  253. package/dist/{chunk-GAWIICIB.js → chunk-WUEP3PFN.js} +80 -61
  254. package/dist/chunk-X5CFXNVK.js +246 -0
  255. package/dist/chunk-X6FG4RPF.js +367 -0
  256. package/dist/chunk-XGXGAK27.js +40 -28
  257. package/dist/chunk-XH4ZZ6KJ.js +94 -64
  258. package/dist/chunk-XJXGVNNF.js +41 -30
  259. package/dist/chunk-XSMDZOBF.js +154 -0
  260. package/dist/chunk-XTMGF5YP.js +27 -21
  261. package/dist/chunk-XUOGT4HG.js +22 -17
  262. package/dist/chunk-XY4A73TK.js +23 -18
  263. package/dist/{chunk-RPWBZLHL.js → chunk-XZMU7B54.js} +61 -48
  264. package/dist/{chunk-WOFQV2N7.mjs → chunk-Y3BQSELH.mjs} +34 -10
  265. package/dist/chunk-Y4V7BOVR.mjs +18 -4
  266. package/dist/chunk-YEHKQ3JZ.mjs +13 -4
  267. package/dist/{chunk-I34OWAAY.mjs → chunk-YSUT2GRP.mjs} +21 -5
  268. package/dist/chunk-YZP4K6KI.mjs +25 -4
  269. package/dist/chunk-Z2ZECCGD.mjs +7 -4
  270. package/dist/chunk-Z4SG7REU.mjs +17 -4
  271. package/dist/chunk-Z7ETXBOL.mjs +26 -4
  272. package/dist/chunk-ZED7TU62.js +22 -16
  273. package/dist/chunk-ZIOGRGN5.mjs +18 -4
  274. package/dist/chunk-ZMGNQKXL.js +233 -0
  275. package/dist/chunk-ZMNX4SCS.mjs +12 -4
  276. package/dist/chunk-ZNVQ2OFX.js +13 -11
  277. package/dist/chunk-ZOUJFFG4.js +16 -17
  278. package/dist/chunk-ZSCOAOJJ.js +93 -71
  279. package/dist/chunk-ZSQ5I2KL.mjs +28 -4
  280. package/dist/chunk-ZUPVK5L7.js +838 -0
  281. package/dist/chunk-ZWVA7HT3.mjs +14 -4
  282. package/dist/components/ActivityFeed.js +4 -12
  283. package/dist/components/ActivityFeed.mjs +16 -9
  284. package/dist/components/Affix.js +3 -11
  285. package/dist/components/Affix.mjs +8 -1
  286. package/dist/components/Alert.js +3 -11
  287. package/dist/components/Alert.mjs +9 -2
  288. package/dist/components/Anchor.d.mts +5 -5
  289. package/dist/components/Anchor.d.ts +5 -5
  290. package/dist/components/Anchor.js +12 -24
  291. package/dist/components/Anchor.mjs +12 -1
  292. package/dist/components/AnchorLink.js +6 -10
  293. package/dist/components/AnchorLink.mjs +7 -4
  294. package/dist/components/AreaChart.d.mts +4 -4
  295. package/dist/components/AreaChart.d.ts +4 -4
  296. package/dist/components/AreaChart.js +4 -12
  297. package/dist/components/AreaChart.mjs +15 -8
  298. package/dist/components/AutoComplete.js +3 -11
  299. package/dist/components/AutoComplete.mjs +8 -1
  300. package/dist/components/Avatar.js +3 -11
  301. package/dist/components/Avatar.mjs +8 -1
  302. package/dist/components/AvatarGroup.js +5 -15
  303. package/dist/components/AvatarGroup.mjs +10 -1
  304. package/dist/components/BackTop.js +3 -11
  305. package/dist/components/BackTop.mjs +8 -1
  306. package/dist/components/Badge.js +3 -11
  307. package/dist/components/Badge.mjs +8 -1
  308. package/dist/components/BarChart.d.mts +2 -2
  309. package/dist/components/BarChart.d.ts +2 -2
  310. package/dist/components/BarChart.js +4 -12
  311. package/dist/components/BarChart.mjs +15 -8
  312. package/dist/components/Breadcrumb.js +12 -24
  313. package/dist/components/Breadcrumb.mjs +12 -1
  314. package/dist/components/BreadcrumbItem.js +6 -10
  315. package/dist/components/BreadcrumbItem.mjs +7 -4
  316. package/dist/components/Button.js +3 -11
  317. package/dist/components/Button.mjs +8 -1
  318. package/dist/components/ButtonGroup.js +5 -15
  319. package/dist/components/ButtonGroup.mjs +10 -1
  320. package/dist/components/Calendar.js +3 -11
  321. package/dist/components/Calendar.mjs +8 -1
  322. package/dist/components/Card.d.mts +1 -1
  323. package/dist/components/Card.d.ts +1 -1
  324. package/dist/components/Card.js +3 -11
  325. package/dist/components/Card.mjs +8 -1
  326. package/dist/components/Carousel.js +3 -11
  327. package/dist/components/Carousel.mjs +8 -1
  328. package/dist/components/Cascader.js +3 -11
  329. package/dist/components/Cascader.mjs +8 -1
  330. package/dist/components/ChartAxis.js +3 -11
  331. package/dist/components/ChartAxis.mjs +8 -1
  332. package/dist/components/ChartCanvas.d.mts +1 -1
  333. package/dist/components/ChartCanvas.d.ts +1 -1
  334. package/dist/components/ChartCanvas.js +3 -11
  335. package/dist/components/ChartCanvas.mjs +8 -1
  336. package/dist/components/ChartGrid.js +3 -11
  337. package/dist/components/ChartGrid.mjs +8 -1
  338. package/dist/components/ChartLegend.js +3 -11
  339. package/dist/components/ChartLegend.mjs +8 -1
  340. package/dist/components/ChartSeries.js +3 -11
  341. package/dist/components/ChartSeries.mjs +8 -1
  342. package/dist/components/ChartTooltip.js +3 -11
  343. package/dist/components/ChartTooltip.mjs +8 -1
  344. package/dist/components/ChatWindow.js +4 -12
  345. package/dist/components/ChatWindow.mjs +13 -6
  346. package/dist/components/Checkbox.js +3 -11
  347. package/dist/components/Checkbox.mjs +9 -2
  348. package/dist/components/CheckboxGroup.js +5 -15
  349. package/dist/components/CheckboxGroup.mjs +10 -1
  350. package/dist/components/Code.js +3 -11
  351. package/dist/components/Code.mjs +8 -1
  352. package/dist/components/CodeEditor.js +3 -11
  353. package/dist/components/CodeEditor.mjs +8 -1
  354. package/dist/components/Col.js +3 -7
  355. package/dist/components/Col.mjs +7 -2
  356. package/dist/components/Collapse.js +5 -15
  357. package/dist/components/Collapse.mjs +10 -1
  358. package/dist/components/CollapsePanel.js +4 -12
  359. package/dist/components/CollapsePanel.mjs +9 -2
  360. package/dist/components/ColorPicker.js +3 -11
  361. package/dist/components/ColorPicker.mjs +8 -1
  362. package/dist/components/ColorSwatch.d.mts +79 -0
  363. package/dist/components/ColorSwatch.d.ts +79 -0
  364. package/dist/components/ColorSwatch.js +8 -0
  365. package/dist/components/ColorSwatch.mjs +8 -0
  366. package/dist/components/CommentThread.js +3 -11
  367. package/dist/components/CommentThread.mjs +13 -6
  368. package/dist/components/ConfigProvider.d.mts +34 -5
  369. package/dist/components/ConfigProvider.d.ts +34 -5
  370. package/dist/components/ConfigProvider.js +14 -24
  371. package/dist/components/ConfigProvider.mjs +14 -1
  372. package/dist/components/Container.js +3 -11
  373. package/dist/components/Container.mjs +8 -1
  374. package/dist/components/Content.js +3 -11
  375. package/dist/components/Content.mjs +8 -1
  376. package/dist/components/Countdown.d.mts +107 -0
  377. package/dist/components/Countdown.d.ts +107 -0
  378. package/dist/components/Countdown.js +8 -0
  379. package/dist/components/Countdown.mjs +8 -0
  380. package/dist/components/CronEditor.d.mts +80 -0
  381. package/dist/components/CronEditor.d.ts +80 -0
  382. package/dist/components/CronEditor.js +8 -0
  383. package/dist/components/CronEditor.mjs +8 -0
  384. package/dist/components/CropUpload.js +5 -13
  385. package/dist/components/CropUpload.mjs +12 -5
  386. package/dist/components/DataTableWithToolbar.js +5 -13
  387. package/dist/components/DataTableWithToolbar.mjs +12 -5
  388. package/dist/components/DatePicker.d.mts +1 -1
  389. package/dist/components/DatePicker.d.ts +1 -1
  390. package/dist/components/DatePicker.js +3 -11
  391. package/dist/components/DatePicker.mjs +9 -2
  392. package/dist/components/Descriptions.js +3 -11
  393. package/dist/components/Descriptions.mjs +8 -1
  394. package/dist/components/Divider.js +3 -11
  395. package/dist/components/Divider.mjs +8 -1
  396. package/dist/components/DonutChart.d.mts +3 -3
  397. package/dist/components/DonutChart.d.ts +3 -3
  398. package/dist/components/DonutChart.js +5 -13
  399. package/dist/components/DonutChart.mjs +14 -7
  400. package/dist/components/Drawer.d.mts +1 -1
  401. package/dist/components/Drawer.d.ts +1 -1
  402. package/dist/components/Drawer.js +3 -11
  403. package/dist/components/Drawer.mjs +9 -2
  404. package/dist/components/Dropdown.js +7 -19
  405. package/dist/components/Dropdown.mjs +13 -2
  406. package/dist/components/DropdownItem.js +4 -12
  407. package/dist/components/DropdownItem.mjs +10 -3
  408. package/dist/components/DropdownMenu.js +6 -10
  409. package/dist/components/DropdownMenu.mjs +8 -5
  410. package/dist/components/Empty.js +3 -11
  411. package/dist/components/Empty.mjs +8 -1
  412. package/dist/components/FileManager.js +3 -11
  413. package/dist/components/FileManager.mjs +8 -1
  414. package/dist/components/FloatButton.d.mts +1 -1
  415. package/dist/components/FloatButton.d.ts +1 -1
  416. package/dist/components/FloatButton.js +5 -15
  417. package/dist/components/FloatButton.mjs +10 -1
  418. package/dist/components/Footer.js +3 -11
  419. package/dist/components/Footer.mjs +8 -1
  420. package/dist/components/Form.d.mts +23 -1
  421. package/dist/components/Form.d.ts +23 -1
  422. package/dist/components/Form.js +5 -15
  423. package/dist/components/Form.mjs +10 -1
  424. package/dist/components/FormItem.d.mts +12 -2
  425. package/dist/components/FormItem.d.ts +12 -2
  426. package/dist/components/FormItem.js +4 -12
  427. package/dist/components/FormItem.mjs +9 -2
  428. package/dist/components/FormWizard.d.mts +2 -2
  429. package/dist/components/FormWizard.d.ts +2 -2
  430. package/dist/components/FormWizard.js +4 -12
  431. package/dist/components/FormWizard.mjs +11 -4
  432. package/dist/components/FunnelChart.d.mts +3 -3
  433. package/dist/components/FunnelChart.d.ts +3 -3
  434. package/dist/components/FunnelChart.js +4 -12
  435. package/dist/components/FunnelChart.mjs +13 -6
  436. package/dist/components/Gantt.d.mts +231 -0
  437. package/dist/components/Gantt.d.ts +231 -0
  438. package/dist/components/Gantt.js +9 -0
  439. package/dist/components/Gantt.mjs +9 -0
  440. package/dist/components/GaugeChart.d.mts +2 -2
  441. package/dist/components/GaugeChart.d.ts +2 -2
  442. package/dist/components/GaugeChart.js +3 -11
  443. package/dist/components/GaugeChart.mjs +9 -2
  444. package/dist/components/Header.js +3 -11
  445. package/dist/components/Header.mjs +8 -1
  446. package/dist/components/HeatmapChart.d.mts +1 -1
  447. package/dist/components/HeatmapChart.d.ts +1 -1
  448. package/dist/components/HeatmapChart.js +4 -12
  449. package/dist/components/HeatmapChart.mjs +11 -4
  450. package/dist/components/Icon.js +3 -11
  451. package/dist/components/Icon.mjs +8 -1
  452. package/dist/components/Image.d.mts +1 -2
  453. package/dist/components/Image.d.ts +1 -2
  454. package/dist/components/Image.js +6 -16
  455. package/dist/components/Image.mjs +11 -2
  456. package/dist/components/ImageAnnotation.d.mts +179 -0
  457. package/dist/components/ImageAnnotation.d.ts +179 -0
  458. package/dist/components/ImageAnnotation.js +8 -0
  459. package/dist/components/ImageAnnotation.mjs +8 -0
  460. package/dist/components/ImageCropper.d.mts +1 -1
  461. package/dist/components/ImageCropper.d.ts +1 -1
  462. package/dist/components/ImageCropper.js +3 -11
  463. package/dist/components/ImageCropper.mjs +8 -1
  464. package/dist/components/ImageGroup.js +6 -16
  465. package/dist/components/ImageGroup.mjs +11 -2
  466. package/dist/components/ImagePreview.d.mts +2 -2
  467. package/dist/components/ImagePreview.d.ts +2 -2
  468. package/dist/components/ImagePreview.js +3 -11
  469. package/dist/components/ImagePreview.mjs +8 -1
  470. package/dist/components/ImageViewer.js +3 -11
  471. package/dist/components/ImageViewer.mjs +8 -1
  472. package/dist/components/InfiniteScroll.d.mts +1 -1
  473. package/dist/components/InfiniteScroll.d.ts +1 -1
  474. package/dist/components/InfiniteScroll.js +3 -11
  475. package/dist/components/InfiniteScroll.mjs +8 -1
  476. package/dist/components/Input.d.mts +1 -1
  477. package/dist/components/Input.d.ts +1 -1
  478. package/dist/components/Input.js +3 -11
  479. package/dist/components/Input.mjs +8 -1
  480. package/dist/components/InputGroup.js +12 -24
  481. package/dist/components/InputGroup.mjs +12 -1
  482. package/dist/components/InputNumber.d.mts +2 -2
  483. package/dist/components/InputNumber.d.ts +2 -2
  484. package/dist/components/InputNumber.js +3 -11
  485. package/dist/components/InputNumber.mjs +8 -1
  486. package/dist/components/Kanban.js +5 -13
  487. package/dist/components/Kanban.mjs +10 -3
  488. package/dist/components/Layout.js +3 -11
  489. package/dist/components/Layout.mjs +8 -1
  490. package/dist/components/LineChart.d.mts +2 -2
  491. package/dist/components/LineChart.d.ts +2 -2
  492. package/dist/components/LineChart.js +4 -12
  493. package/dist/components/LineChart.mjs +15 -8
  494. package/dist/components/Link.js +3 -11
  495. package/dist/components/Link.mjs +8 -1
  496. package/dist/components/List.js +4 -12
  497. package/dist/components/List.mjs +9 -2
  498. package/dist/components/Loading.d.mts +1 -1
  499. package/dist/components/Loading.d.ts +1 -1
  500. package/dist/components/Loading.js +3 -11
  501. package/dist/components/Loading.mjs +9 -2
  502. package/dist/components/MarkdownEditor.d.mts +149 -0
  503. package/dist/components/MarkdownEditor.d.ts +149 -0
  504. package/dist/components/MarkdownEditor.js +8 -0
  505. package/dist/components/MarkdownEditor.mjs +8 -0
  506. package/dist/components/Mentions.js +3 -11
  507. package/dist/components/Mentions.mjs +8 -1
  508. package/dist/components/Menu.d.mts +70 -2
  509. package/dist/components/Menu.d.ts +70 -2
  510. package/dist/components/Menu.js +16 -32
  511. package/dist/components/Menu.mjs +16 -1
  512. package/dist/components/MenuItem.js +6 -10
  513. package/dist/components/MenuItem.mjs +7 -4
  514. package/dist/components/MenuItemGroup.js +6 -10
  515. package/dist/components/MenuItemGroup.mjs +7 -4
  516. package/dist/components/Message.d.mts +3 -1
  517. package/dist/components/Message.d.ts +3 -1
  518. package/dist/components/Message.js +5 -15
  519. package/dist/components/Message.mjs +11 -2
  520. package/dist/components/Modal.d.mts +19 -1
  521. package/dist/components/Modal.d.ts +19 -1
  522. package/dist/components/Modal.js +3 -11
  523. package/dist/components/Modal.mjs +10 -3
  524. package/dist/components/Notification.d.mts +3 -1
  525. package/dist/components/Notification.d.ts +3 -1
  526. package/dist/components/Notification.js +5 -15
  527. package/dist/components/Notification.mjs +11 -2
  528. package/dist/components/NotificationCenter.js +6 -14
  529. package/dist/components/NotificationCenter.mjs +16 -9
  530. package/dist/components/NumberKeyboard.d.mts +145 -0
  531. package/dist/components/NumberKeyboard.d.ts +145 -0
  532. package/dist/components/NumberKeyboard.js +8 -0
  533. package/dist/components/NumberKeyboard.mjs +8 -0
  534. package/dist/components/OrgChart.d.mts +195 -0
  535. package/dist/components/OrgChart.d.ts +195 -0
  536. package/dist/components/OrgChart.js +9 -0
  537. package/dist/components/OrgChart.mjs +9 -0
  538. package/dist/components/Pagination.js +3 -11
  539. package/dist/components/Pagination.mjs +8 -1
  540. package/dist/components/PieChart.d.mts +3 -3
  541. package/dist/components/PieChart.d.ts +3 -3
  542. package/dist/components/PieChart.js +4 -12
  543. package/dist/components/PieChart.mjs +13 -6
  544. package/dist/components/Popconfirm.d.mts +2 -2
  545. package/dist/components/Popconfirm.d.ts +2 -2
  546. package/dist/components/Popconfirm.js +3 -11
  547. package/dist/components/Popconfirm.mjs +10 -3
  548. package/dist/components/Popover.d.mts +1 -1
  549. package/dist/components/Popover.d.ts +1 -1
  550. package/dist/components/Popover.js +3 -11
  551. package/dist/components/Popover.mjs +10 -3
  552. package/dist/components/PrintLayout.js +5 -15
  553. package/dist/components/PrintLayout.mjs +10 -1
  554. package/dist/components/Progress.d.mts +2 -2
  555. package/dist/components/Progress.d.ts +2 -2
  556. package/dist/components/Progress.js +3 -11
  557. package/dist/components/Progress.mjs +8 -1
  558. package/dist/components/QRCode.d.mts +1 -1
  559. package/dist/components/QRCode.d.ts +1 -1
  560. package/dist/components/QRCode.js +3 -11
  561. package/dist/components/QRCode.mjs +8 -1
  562. package/dist/components/RadarChart.d.mts +5 -5
  563. package/dist/components/RadarChart.d.ts +5 -5
  564. package/dist/components/RadarChart.js +4 -12
  565. package/dist/components/RadarChart.mjs +13 -6
  566. package/dist/components/Radio.js +3 -11
  567. package/dist/components/Radio.mjs +9 -2
  568. package/dist/components/RadioGroup.js +5 -15
  569. package/dist/components/RadioGroup.mjs +10 -1
  570. package/dist/components/Rate.js +3 -11
  571. package/dist/components/Rate.mjs +8 -1
  572. package/dist/components/Resizable.js +3 -11
  573. package/dist/components/Resizable.mjs +8 -1
  574. package/dist/components/Result.js +3 -11
  575. package/dist/components/Result.mjs +9 -2
  576. package/dist/components/RichTextEditor.d.mts +1 -1
  577. package/dist/components/RichTextEditor.d.ts +1 -1
  578. package/dist/components/RichTextEditor.js +3 -11
  579. package/dist/components/RichTextEditor.mjs +8 -1
  580. package/dist/components/Row.js +4 -10
  581. package/dist/components/Row.mjs +8 -1
  582. package/dist/components/ScatterChart.d.mts +2 -2
  583. package/dist/components/ScatterChart.d.ts +2 -2
  584. package/dist/components/ScatterChart.js +4 -12
  585. package/dist/components/ScatterChart.mjs +15 -8
  586. package/dist/components/ScrollSpy.d.mts +125 -0
  587. package/dist/components/ScrollSpy.d.ts +125 -0
  588. package/dist/components/ScrollSpy.js +8 -0
  589. package/dist/components/ScrollSpy.mjs +8 -0
  590. package/dist/components/Segmented.js +3 -11
  591. package/dist/components/Segmented.mjs +8 -1
  592. package/dist/components/Select.d.mts +58 -1
  593. package/dist/components/Select.d.ts +58 -1
  594. package/dist/components/Select.js +3 -11
  595. package/dist/components/Select.mjs +8 -1
  596. package/dist/components/Sidebar.js +3 -11
  597. package/dist/components/Sidebar.mjs +8 -1
  598. package/dist/components/Signature.d.mts +154 -0
  599. package/dist/components/Signature.d.ts +154 -0
  600. package/dist/components/Signature.js +8 -0
  601. package/dist/components/Signature.mjs +8 -0
  602. package/dist/components/Skeleton.d.mts +1 -1
  603. package/dist/components/Skeleton.d.ts +1 -1
  604. package/dist/components/Skeleton.js +3 -11
  605. package/dist/components/Skeleton.mjs +8 -1
  606. package/dist/components/Slider.js +3 -11
  607. package/dist/components/Slider.mjs +8 -1
  608. package/dist/components/Space.d.mts +1 -1
  609. package/dist/components/Space.d.ts +1 -1
  610. package/dist/components/Space.js +3 -11
  611. package/dist/components/Space.mjs +8 -1
  612. package/dist/components/Splitter.d.mts +1 -1
  613. package/dist/components/Splitter.d.ts +1 -1
  614. package/dist/components/Splitter.js +3 -11
  615. package/dist/components/Splitter.mjs +8 -1
  616. package/dist/components/Spotlight.d.mts +198 -0
  617. package/dist/components/Spotlight.d.ts +198 -0
  618. package/dist/components/Spotlight.js +9 -0
  619. package/dist/components/Spotlight.mjs +9 -0
  620. package/dist/components/Statistic.d.mts +1 -1
  621. package/dist/components/Statistic.d.ts +1 -1
  622. package/dist/components/Statistic.js +3 -11
  623. package/dist/components/Statistic.mjs +8 -1
  624. package/dist/components/Stepper.js +3 -11
  625. package/dist/components/Stepper.mjs +8 -1
  626. package/dist/components/Steps.d.mts +1 -1
  627. package/dist/components/Steps.d.ts +1 -1
  628. package/dist/components/Steps.js +12 -24
  629. package/dist/components/Steps.mjs +12 -1
  630. package/dist/components/StepsItem.js +6 -10
  631. package/dist/components/StepsItem.mjs +7 -4
  632. package/dist/components/SubMenu.js +6 -10
  633. package/dist/components/SubMenu.mjs +7 -4
  634. package/dist/components/SunburstChart.d.mts +3 -3
  635. package/dist/components/SunburstChart.d.ts +3 -3
  636. package/dist/components/SunburstChart.js +4 -12
  637. package/dist/components/SunburstChart.mjs +13 -6
  638. package/dist/components/Switch.js +3 -11
  639. package/dist/components/Switch.mjs +8 -1
  640. package/dist/components/TabPane.js +6 -10
  641. package/dist/components/TabPane.mjs +7 -4
  642. package/dist/components/Table.d.mts +52 -1
  643. package/dist/components/Table.d.ts +52 -1
  644. package/dist/components/Table.js +3 -11
  645. package/dist/components/Table.mjs +8 -1
  646. package/dist/components/Tabs.d.mts +19 -0
  647. package/dist/components/Tabs.d.ts +19 -0
  648. package/dist/components/Tabs.js +12 -24
  649. package/dist/components/Tabs.mjs +12 -1
  650. package/dist/components/Tag.js +3 -11
  651. package/dist/components/Tag.mjs +8 -1
  652. package/dist/components/TaskBoard.js +4 -12
  653. package/dist/components/TaskBoard.mjs +9 -2
  654. package/dist/components/Text.js +3 -11
  655. package/dist/components/Text.mjs +8 -1
  656. package/dist/components/Textarea.d.mts +1 -1
  657. package/dist/components/Textarea.d.ts +1 -1
  658. package/dist/components/Textarea.js +3 -11
  659. package/dist/components/Textarea.mjs +8 -1
  660. package/dist/components/TimePicker.d.mts +1 -1
  661. package/dist/components/TimePicker.d.ts +1 -1
  662. package/dist/components/TimePicker.js +3 -11
  663. package/dist/components/TimePicker.mjs +9 -2
  664. package/dist/components/Timeline.js +3 -11
  665. package/dist/components/Timeline.mjs +8 -1
  666. package/dist/components/Tooltip.js +3 -11
  667. package/dist/components/Tooltip.mjs +10 -3
  668. package/dist/components/Tour.d.mts +12 -2
  669. package/dist/components/Tour.d.ts +12 -2
  670. package/dist/components/Tour.js +3 -11
  671. package/dist/components/Tour.mjs +9 -2
  672. package/dist/components/Transfer.js +3 -11
  673. package/dist/components/Transfer.mjs +8 -1
  674. package/dist/components/Tree.d.mts +2 -2
  675. package/dist/components/Tree.d.ts +2 -2
  676. package/dist/components/Tree.js +4 -12
  677. package/dist/components/Tree.mjs +9 -2
  678. package/dist/components/TreeMapChart.d.mts +3 -3
  679. package/dist/components/TreeMapChart.d.ts +3 -3
  680. package/dist/components/TreeMapChart.js +4 -12
  681. package/dist/components/TreeMapChart.mjs +13 -6
  682. package/dist/components/TreeSelect.js +3 -11
  683. package/dist/components/TreeSelect.mjs +8 -1
  684. package/dist/components/Upload.d.mts +45 -1
  685. package/dist/components/Upload.d.ts +45 -1
  686. package/dist/components/Upload.js +4 -12
  687. package/dist/components/Upload.mjs +9 -2
  688. package/dist/components/VirtualList.js +3 -11
  689. package/dist/components/VirtualList.mjs +8 -1
  690. package/dist/components/VirtualTable.js +3 -11
  691. package/dist/components/VirtualTable.mjs +8 -1
  692. package/dist/components/Watermark.d.mts +1 -1
  693. package/dist/components/Watermark.d.ts +1 -1
  694. package/dist/components/Watermark.js +3 -11
  695. package/dist/components/Watermark.mjs +8 -1
  696. package/dist/index.d.mts +16 -5
  697. package/dist/index.d.ts +16 -5
  698. package/dist/index.js +661 -748
  699. package/dist/index.mjs +638 -156
  700. package/package.json +4 -4
  701. package/dist/chunk-6VG6ARQG.js +0 -206
  702. package/dist/chunk-BZBQUUXF.js +0 -94
  703. package/dist/chunk-CRGGJKV2.js +0 -286
  704. package/dist/chunk-EZZG57TK.js +0 -44
  705. package/dist/chunk-HU2XBA2A.js +0 -673
  706. package/dist/chunk-JTTSX3NM.js +0 -388
  707. package/dist/chunk-KOI6AQ5H.js +0 -60
  708. package/dist/chunk-MRMKZTC6.js +0 -313
  709. package/dist/chunk-P4XGEFV3.js +0 -259
  710. package/dist/chunk-RHCW2WXG.js +0 -194
@@ -1,14 +1,63 @@
1
- 'use strict';
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/components/Menu.ts
2
2
 
3
- var vue = require('vue');
4
- var tigercatCore = require('@expcat/tigercat-core');
5
3
 
6
- // src/components/Menu.ts
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+ var _vue = require('vue');
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+ var _tigercatcore = require('@expcat/tigercat-core');
7
49
  var MenuContextKey = /* @__PURE__ */ Symbol("MenuContext");
8
- var Menu = vue.defineComponent({
50
+ var Menu = _vue.defineComponent.call(void 0, {
9
51
  name: "TigerMenu",
10
52
  inheritAttrs: false,
11
53
  props: {
54
+ /**
55
+ * Data-driven menu items
56
+ */
57
+ items: {
58
+ type: Array,
59
+ default: void 0
60
+ },
12
61
  /**
13
62
  * Menu mode - horizontal, vertical, or inline
14
63
  * @default 'vertical'
@@ -84,21 +133,49 @@ var Menu = vue.defineComponent({
84
133
  style: {
85
134
  type: Object,
86
135
  default: void 0
136
+ },
137
+ searchable: {
138
+ type: Boolean,
139
+ default: false
140
+ },
141
+ searchValue: {
142
+ type: String,
143
+ default: void 0
144
+ },
145
+ defaultSearchValue: {
146
+ type: String,
147
+ default: ""
148
+ },
149
+ searchPlaceholder: {
150
+ type: String,
151
+ default: "Search menu"
152
+ },
153
+ emptyText: {
154
+ type: String,
155
+ default: "No menu items found"
87
156
  }
88
157
  },
89
- emits: ["update:selectedKeys", "update:openKeys", "select", "open-change"],
158
+ emits: [
159
+ "update:selectedKeys",
160
+ "update:openKeys",
161
+ "update:searchValue",
162
+ "select",
163
+ "open-change",
164
+ "search"
165
+ ],
90
166
  setup(props, { slots, emit, attrs }) {
91
- const menuEl = vue.ref(null);
92
- const internalSelectedKeys = vue.ref(props.defaultSelectedKeys);
93
- const internalOpenKeys = vue.ref(props.defaultOpenKeys);
94
- const currentSelectedKeys = vue.computed(() => {
167
+ const menuEl = _vue.ref.call(void 0, null);
168
+ const internalSelectedKeys = _vue.ref.call(void 0, props.defaultSelectedKeys);
169
+ const internalOpenKeys = _vue.ref.call(void 0, props.defaultOpenKeys);
170
+ const internalSearchValue = _vue.ref.call(void 0, props.defaultSearchValue);
171
+ const currentSelectedKeys = _vue.computed.call(void 0, () => {
95
172
  return props.selectedKeys !== void 0 ? props.selectedKeys : internalSelectedKeys.value;
96
173
  });
97
- const currentOpenKeys = vue.computed(() => {
174
+ const currentOpenKeys = _vue.computed.call(void 0, () => {
98
175
  return props.openKeys !== void 0 ? props.openKeys : internalOpenKeys.value;
99
176
  });
100
177
  const handleSelect = (key) => {
101
- const newSelectedKeys = tigercatCore.replaceKeys(key, currentSelectedKeys.value);
178
+ const newSelectedKeys = _tigercatcore.replaceKeys.call(void 0, key, currentSelectedKeys.value);
102
179
  if (props.selectedKeys === void 0) {
103
180
  internalSelectedKeys.value = newSelectedKeys;
104
181
  }
@@ -106,7 +183,7 @@ var Menu = vue.defineComponent({
106
183
  emit("select", key, { selectedKeys: newSelectedKeys });
107
184
  };
108
185
  const handleOpenChange = (key) => {
109
- const toggled = tigercatCore.toggleKey(key, currentOpenKeys.value);
186
+ const toggled = _tigercatcore.toggleKey.call(void 0, key, currentOpenKeys.value);
110
187
  const newOpenKeys = props.multiple ? toggled : toggled.includes(key) ? [key] : [];
111
188
  if (props.openKeys === void 0) {
112
189
  internalOpenKeys.value = newOpenKeys;
@@ -114,23 +191,37 @@ var Menu = vue.defineComponent({
114
191
  emit("update:openKeys", newOpenKeys);
115
192
  emit("open-change", key, { openKeys: newOpenKeys });
116
193
  };
117
- const menuClasses = vue.computed(() => {
118
- return tigercatCore.classNames(
119
- tigercatCore.getMenuClasses(props.mode, props.theme, props.collapsed),
194
+ const handleSearchInput = (event) => {
195
+ const value = event.target.value;
196
+ if (props.searchValue === void 0) {
197
+ internalSearchValue.value = value;
198
+ }
199
+ emit("update:searchValue", value);
200
+ emit("search", value);
201
+ };
202
+ const menuClasses = _vue.computed.call(void 0, () => {
203
+ return _tigercatcore.classNames.call(void 0,
204
+ _tigercatcore.getMenuClasses.call(void 0, props.mode, props.theme, props.collapsed),
120
205
  props.className,
121
- tigercatCore.coerceClassValue(attrs.class)
206
+ _tigercatcore.coerceClassValue.call(void 0, attrs.class)
122
207
  );
123
208
  });
124
- const menuStyle = vue.computed(() => tigercatCore.mergeStyleValues(attrs.style, props.style));
125
- const passthroughAttrs = vue.computed(() => {
209
+ const menuStyle = _vue.computed.call(void 0, () => _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style));
210
+ const currentSearchValue = _vue.computed.call(void 0, () => {
211
+ return props.searchValue !== void 0 ? props.searchValue : internalSearchValue.value;
212
+ });
213
+ const filteredItems = _vue.computed.call(void 0,
214
+ () => _tigercatcore.filterMenuItems.call(void 0, _nullishCoalesce(props.items, () => ( [])), currentSearchValue.value)
215
+ );
216
+ const passthroughAttrs = _vue.computed.call(void 0, () => {
126
217
  const { class: _class, style: _style, ...rest } = attrs;
127
218
  return rest;
128
219
  });
129
- const modeRef = vue.computed(() => props.mode);
130
- const themeRef = vue.computed(() => props.theme);
131
- const collapsedRef = vue.computed(() => props.collapsed);
132
- const inlineIndentRef = vue.computed(() => props.inlineIndent);
133
- vue.provide(MenuContextKey, {
220
+ const modeRef = _vue.computed.call(void 0, () => props.mode);
221
+ const themeRef = _vue.computed.call(void 0, () => props.theme);
222
+ const collapsedRef = _vue.computed.call(void 0, () => props.collapsed);
223
+ const inlineIndentRef = _vue.computed.call(void 0, () => props.inlineIndent);
224
+ _vue.provide.call(void 0, MenuContextKey, {
134
225
  mode: modeRef,
135
226
  theme: themeRef,
136
227
  collapsed: collapsedRef,
@@ -141,21 +232,65 @@ var Menu = vue.defineComponent({
141
232
  handleOpenChange
142
233
  });
143
234
  const runRovingTabIndex = async () => {
144
- await vue.nextTick();
145
- if (menuEl.value) tigercatCore.initRovingTabIndex(menuEl.value);
235
+ await _vue.nextTick.call(void 0, );
236
+ if (menuEl.value) _tigercatcore.initRovingTabIndex.call(void 0, menuEl.value);
146
237
  };
147
- vue.onMounted(() => {
238
+ _vue.onMounted.call(void 0, () => {
148
239
  void runRovingTabIndex();
149
240
  });
150
- vue.watch(
151
- [modeRef, collapsedRef, currentSelectedKeys, currentOpenKeys],
241
+ _vue.watch.call(void 0,
242
+ [modeRef, collapsedRef, currentSelectedKeys, currentOpenKeys, filteredItems],
152
243
  () => {
153
244
  void runRovingTabIndex();
154
245
  },
155
246
  { deep: true }
156
247
  );
157
248
  return () => {
158
- return vue.h(
249
+ const renderDataItem = (item) => {
250
+ if (item.children && item.children.length > 0) {
251
+ return _vue.h.call(void 0,
252
+ SubMenu,
253
+ {
254
+ key: item.key,
255
+ itemKey: item.key,
256
+ title: item.label,
257
+ icon: item.icon,
258
+ disabled: item.disabled
259
+ },
260
+ () => item.children.map(renderDataItem)
261
+ );
262
+ }
263
+ return _vue.h.call(void 0,
264
+ MenuItem,
265
+ {
266
+ key: item.key,
267
+ itemKey: item.key,
268
+ icon: item.icon,
269
+ disabled: item.disabled
270
+ },
271
+ () => item.label
272
+ );
273
+ };
274
+ const dataChildren = filteredItems.value.map(renderDataItem);
275
+ const slotChildren = _nullishCoalesce(_optionalChain([slots, 'access', _ => _.default, 'optionalCall', _2 => _2()]), () => ( []));
276
+ const searchChild = props.searchable ? [
277
+ _vue.h.call(void 0, "li", { role: "none", class: _tigercatcore.menuSearchFieldClasses }, [
278
+ _vue.h.call(void 0, "input", {
279
+ type: "search",
280
+ value: currentSearchValue.value,
281
+ placeholder: props.searchPlaceholder,
282
+ class: _tigercatcore.menuSearchInputClasses,
283
+ "aria-label": props.searchPlaceholder,
284
+ onInput: handleSearchInput
285
+ })
286
+ ])
287
+ ] : [];
288
+ const emptyChild = props.items && props.items.length > 0 && dataChildren.length === 0 && slotChildren.length === 0 ? [
289
+ _vue.h.call(void 0, "li", { role: "none" }, [
290
+ _vue.h.call(void 0, "div", { class: _tigercatcore.menuSearchEmptyClasses }, props.emptyText)
291
+ ])
292
+ ] : [];
293
+ return _vue.h.call(void 0,
159
294
  "ul",
160
295
  {
161
296
  ref: menuEl,
@@ -166,13 +301,13 @@ var Menu = vue.defineComponent({
166
301
  "data-tiger-menu-mode": props.mode,
167
302
  ...passthroughAttrs.value
168
303
  },
169
- slots.default?.()
304
+ [...searchChild, ...dataChildren, ...slotChildren, ...emptyChild]
170
305
  );
171
306
  };
172
307
  }
173
308
  });
174
309
  var Menu_default = Menu;
175
- var MenuItem = vue.defineComponent({
310
+ var MenuItem = _vue.defineComponent.call(void 0, {
176
311
  name: "TigerMenuItem",
177
312
  props: {
178
313
  /**
@@ -214,35 +349,40 @@ var MenuItem = vue.defineComponent({
214
349
  },
215
350
  inheritAttrs: false,
216
351
  setup(props, { slots, attrs }) {
217
- const menuContext = vue.inject(MenuContextKey);
352
+ const menuContext = _vue.inject.call(void 0, MenuContextKey);
218
353
  if (!menuContext) {
219
354
  console.warn("MenuItem must be used within Menu component");
220
355
  }
221
- const isSelected = vue.computed(() => {
356
+ const isSelected = _vue.computed.call(void 0, () => {
222
357
  if (!menuContext) return false;
223
- return tigercatCore.isKeySelected(props.itemKey, menuContext.selectedKeys.value);
358
+ return _tigercatcore.isKeySelected.call(void 0, props.itemKey, menuContext.selectedKeys.value);
224
359
  });
225
- const itemClasses = vue.computed(() => {
360
+ const itemClasses = _vue.computed.call(void 0, () => {
226
361
  if (!menuContext) {
227
- return tigercatCore.classNames(
362
+ return _tigercatcore.classNames.call(void 0,
228
363
  "flex items-center px-4 py-2 cursor-pointer transition-colors duration-200"
229
364
  );
230
365
  }
231
- const effectiveCollapsed = props.collapsed ?? menuContext.collapsed.value;
232
- return tigercatCore.classNames(
233
- tigercatCore.getMenuItemClasses(isSelected.value, props.disabled, menuContext.theme.value, effectiveCollapsed),
366
+ const effectiveCollapsed = _nullishCoalesce(props.collapsed, () => ( menuContext.collapsed.value));
367
+ return _tigercatcore.classNames.call(void 0,
368
+ _tigercatcore.getMenuItemClasses.call(void 0,
369
+ isSelected.value,
370
+ props.disabled,
371
+ menuContext.theme.value,
372
+ effectiveCollapsed
373
+ ),
234
374
  props.className,
235
- tigercatCore.coerceClassValue(attrs.class)
375
+ _tigercatcore.coerceClassValue.call(void 0, attrs.class)
236
376
  );
237
377
  });
238
- const indentStyle = vue.computed(() => {
378
+ const indentStyle = _vue.computed.call(void 0, () => {
239
379
  if (!menuContext || menuContext.mode.value !== "inline" || props.level === 0) {
240
380
  return {};
241
381
  }
242
- return tigercatCore.getMenuItemIndent(props.level, menuContext.inlineIndent.value);
382
+ return _tigercatcore.getMenuItemIndent.call(void 0, props.level, menuContext.inlineIndent.value);
243
383
  });
244
- const itemStyle = vue.computed(() => tigercatCore.mergeStyleValues(attrs.style, props.style, indentStyle.value));
245
- const passthroughAttrs = vue.computed(() => {
384
+ const itemStyle = _vue.computed.call(void 0, () => _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style, indentStyle.value));
385
+ const passthroughAttrs = _vue.computed.call(void 0, () => {
246
386
  const { class: _class, style: _style, ...rest } = attrs;
247
387
  return rest;
248
388
  });
@@ -255,28 +395,28 @@ var MenuItem = vue.defineComponent({
255
395
  if (!menuContext) return;
256
396
  const current = event.currentTarget;
257
397
  const rootMenu = current.closest('ul[role="menu"]');
258
- const isRoot = rootMenu?.dataset.tigerMenuRoot === "true";
398
+ const isRoot = _optionalChain([rootMenu, 'optionalAccess', _3 => _3.dataset, 'access', _4 => _4.tigerMenuRoot]) === "true";
259
399
  const isHorizontalRoot = isRoot && menuContext.mode.value === "horizontal";
260
400
  const nextKey = isHorizontalRoot ? "ArrowRight" : "ArrowDown";
261
401
  const prevKey = isHorizontalRoot ? "ArrowLeft" : "ArrowUp";
262
402
  if (event.key === nextKey) {
263
403
  event.preventDefault();
264
- tigercatCore.moveFocusInMenu(current, 1);
404
+ _tigercatcore.moveFocusInMenu.call(void 0, current, 1);
265
405
  return;
266
406
  }
267
407
  if (event.key === prevKey) {
268
408
  event.preventDefault();
269
- tigercatCore.moveFocusInMenu(current, -1);
409
+ _tigercatcore.moveFocusInMenu.call(void 0, current, -1);
270
410
  return;
271
411
  }
272
412
  if (event.key === "Home") {
273
413
  event.preventDefault();
274
- tigercatCore.focusMenuEdge(current, "start");
414
+ _tigercatcore.focusMenuEdge.call(void 0, current, "start");
275
415
  return;
276
416
  }
277
417
  if (event.key === "End") {
278
418
  event.preventDefault();
279
- tigercatCore.focusMenuEdge(current, "end");
419
+ _tigercatcore.focusMenuEdge.call(void 0, current, "end");
280
420
  return;
281
421
  }
282
422
  if (event.key === "Enter" || event.key === " ") {
@@ -286,35 +426,35 @@ var MenuItem = vue.defineComponent({
286
426
  };
287
427
  return () => {
288
428
  const children = [];
289
- const effectiveCollapsed = props.collapsed ?? (menuContext ? menuContext.collapsed.value : false);
429
+ const effectiveCollapsed = _nullishCoalesce(props.collapsed, () => ( (menuContext ? menuContext.collapsed.value : false)));
290
430
  if (props.icon) {
291
431
  if (typeof props.icon === "string") {
292
432
  children.push(
293
- vue.h("span", {
294
- class: tigercatCore.menuItemIconClasses,
433
+ _vue.h.call(void 0, "span", {
434
+ class: _tigercatcore.menuItemIconClasses,
295
435
  innerHTML: props.icon
296
436
  })
297
437
  );
298
438
  } else {
299
- children.push(vue.h("span", { class: tigercatCore.menuItemIconClasses }, props.icon));
439
+ children.push(_vue.h.call(void 0, "span", { class: _tigercatcore.menuItemIconClasses }, props.icon));
300
440
  }
301
441
  }
302
442
  if (!effectiveCollapsed && slots.default) {
303
- children.push(vue.h("span", { class: "flex-1" }, slots.default()));
443
+ children.push(_vue.h.call(void 0, "span", { class: "flex-1" }, slots.default()));
304
444
  } else if (effectiveCollapsed && !props.icon && slots.default) {
305
445
  const defaultSlot = slots.default();
306
446
  if (defaultSlot && defaultSlot.length > 0) {
307
447
  const text = String(defaultSlot[0].children || "");
308
- children.push(vue.h("span", { class: "flex-1 text-center" }, text.charAt(0).toUpperCase()));
448
+ children.push(_vue.h.call(void 0, "span", { class: "flex-1 text-center" }, text.charAt(0).toUpperCase()));
309
449
  }
310
450
  }
311
- return vue.h(
451
+ return _vue.h.call(void 0,
312
452
  "li",
313
453
  {
314
454
  role: "none"
315
455
  },
316
456
  [
317
- vue.h(
457
+ _vue.h.call(void 0,
318
458
  "button",
319
459
  {
320
460
  type: "button",
@@ -338,7 +478,7 @@ var MenuItem = vue.defineComponent({
338
478
  };
339
479
  }
340
480
  });
341
- var MenuItemGroup = vue.defineComponent({
481
+ var MenuItemGroup = _vue.defineComponent.call(void 0, {
342
482
  name: "TigerMenuItemGroup",
343
483
  inheritAttrs: false,
344
484
  props: {
@@ -363,9 +503,9 @@ var MenuItemGroup = vue.defineComponent({
363
503
  }
364
504
  },
365
505
  setup(props, { slots, attrs }) {
366
- const groupClasses = vue.computed(() => tigercatCore.classNames(props.className, tigercatCore.coerceClassValue(attrs.class)));
367
- const groupStyle = vue.computed(() => tigercatCore.mergeStyleValues(attrs.style, props.style));
368
- const passthroughAttrs = vue.computed(() => {
506
+ const groupClasses = _vue.computed.call(void 0, () => _tigercatcore.classNames.call(void 0, props.className, _tigercatcore.coerceClassValue.call(void 0, attrs.class)));
507
+ const groupStyle = _vue.computed.call(void 0, () => _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style));
508
+ const passthroughAttrs = _vue.computed.call(void 0, () => {
369
509
  const { class: _class, style: _style, ...rest } = attrs;
370
510
  return rest;
371
511
  });
@@ -373,20 +513,20 @@ var MenuItemGroup = vue.defineComponent({
373
513
  if (!nodes || nodes.length === 0) return nodes;
374
514
  const level = props.level;
375
515
  return nodes.map((node) => {
376
- if (!vue.isVNode(node)) return node;
516
+ if (!_vue.isVNode.call(void 0, node)) return node;
377
517
  const type = node.type;
378
518
  const name = typeof type === "object" && type != null && "name" in type ? type.name : void 0;
379
519
  const isTarget = name === "TigerMenuItem" || name === "TigerSubMenu";
380
520
  if (!isTarget) return node;
381
- const existingProps = node.props ?? {};
521
+ const existingProps = _nullishCoalesce(node.props, () => ( {}));
382
522
  if (existingProps.level != null) return node;
383
- return vue.cloneVNode(node, { level });
523
+ return _vue.cloneVNode.call(void 0, node, { level });
384
524
  });
385
525
  };
386
526
  return () => {
387
- return vue.h("li", { class: "list-none" }, [
388
- props.title ? vue.h("div", { class: tigercatCore.menuItemGroupTitleClasses }, props.title) : null,
389
- slots.default ? vue.h(
527
+ return _vue.h.call(void 0, "li", { class: "list-none" }, [
528
+ props.title ? _vue.h.call(void 0, "div", { class: _tigercatcore.menuItemGroupTitleClasses }, props.title) : null,
529
+ slots.default ? _vue.h.call(void 0,
390
530
  "ul",
391
531
  {
392
532
  role: "group",
@@ -394,30 +534,30 @@ var MenuItemGroup = vue.defineComponent({
394
534
  style: groupStyle.value,
395
535
  ...passthroughAttrs.value
396
536
  },
397
- withLevel(slots.default?.())
537
+ withLevel(_optionalChain([slots, 'access', _5 => _5.default, 'optionalCall', _6 => _6()]))
398
538
  ) : null
399
539
  ]);
400
540
  };
401
541
  }
402
542
  });
403
543
  var ExpandIcon = (expanded) => {
404
- return vue.h(
544
+ return _vue.h.call(void 0,
405
545
  "svg",
406
546
  {
407
- class: tigercatCore.getSubMenuExpandIconClasses(expanded),
547
+ class: _tigercatcore.getSubMenuExpandIconClasses.call(void 0, expanded),
408
548
  width: "12",
409
549
  height: "12",
410
550
  viewBox: "0 0 12 12",
411
551
  fill: "currentColor"
412
552
  },
413
553
  [
414
- vue.h("path", {
554
+ _vue.h.call(void 0, "path", {
415
555
  d: "M6 9L1.5 4.5L2.205 3.795L6 7.59L9.795 3.795L10.5 4.5L6 9Z"
416
556
  })
417
557
  ]
418
558
  );
419
559
  };
420
- var SubMenu = vue.defineComponent({
560
+ var SubMenu = _vue.defineComponent.call(void 0, {
421
561
  name: "TigerSubMenu",
422
562
  inheritAttrs: false,
423
563
  props: {
@@ -469,45 +609,45 @@ var SubMenu = vue.defineComponent({
469
609
  }
470
610
  },
471
611
  setup(props, { slots, attrs }) {
472
- const menuContext = vue.inject(MenuContextKey);
612
+ const menuContext = _vue.inject.call(void 0, MenuContextKey);
473
613
  if (!menuContext) {
474
614
  console.warn("SubMenu must be used within Menu component");
475
615
  }
476
- const isOpen = vue.computed(() => {
616
+ const isOpen = _vue.computed.call(void 0, () => {
477
617
  if (!menuContext) return false;
478
- return tigercatCore.isKeyOpen(props.itemKey, menuContext.openKeys.value);
618
+ return _tigercatcore.isKeyOpen.call(void 0, props.itemKey, menuContext.openKeys.value);
479
619
  });
480
- const isHovered = vue.ref(false);
481
- const isOpenByKeyboard = vue.ref(false);
482
- const submenuContentEl = vue.ref(null);
620
+ const isHovered = _vue.ref.call(void 0, false);
621
+ const isOpenByKeyboard = _vue.ref.call(void 0, false);
622
+ const submenuContentEl = _vue.ref.call(void 0, null);
483
623
  let heightTransitionController = null;
484
- const effectiveCollapsed = vue.computed(() => {
485
- return props.collapsed ?? (menuContext ? menuContext.collapsed.value : false);
624
+ const effectiveCollapsed = _vue.computed.call(void 0, () => {
625
+ return _nullishCoalesce(props.collapsed, () => ( (menuContext ? menuContext.collapsed.value : false)));
486
626
  });
487
- const isPopup = vue.computed(() => {
627
+ const isPopup = _vue.computed.call(void 0, () => {
488
628
  if (!menuContext) return false;
489
629
  if (menuContext.mode.value === "horizontal") return true;
490
630
  return menuContext.mode.value === "vertical" && effectiveCollapsed.value;
491
631
  });
492
- const isExpanded = vue.computed(() => {
493
- if (menuContext?.mode.value === "horizontal" || isPopup.value) {
632
+ const isExpanded = _vue.computed.call(void 0, () => {
633
+ if (_optionalChain([menuContext, 'optionalAccess', _7 => _7.mode, 'access', _8 => _8.value]) === "horizontal" || isPopup.value) {
494
634
  return isHovered.value || isOpenByKeyboard.value;
495
635
  }
496
636
  return isOpen.value;
497
637
  });
498
- const hasRenderedInline = vue.ref(!isPopup.value && isExpanded.value);
638
+ const hasRenderedInline = _vue.ref.call(void 0, !isPopup.value && isExpanded.value);
499
639
  const disposeHeightTransition = () => {
500
- heightTransitionController?.dispose();
640
+ _optionalChain([heightTransitionController, 'optionalAccess', _9 => _9.dispose, 'call', _10 => _10()]);
501
641
  heightTransitionController = null;
502
642
  };
503
643
  const syncHeightTransition = async () => {
504
- await vue.nextTick();
644
+ await _vue.nextTick.call(void 0, );
505
645
  if (isPopup.value || !hasRenderedInline.value || !submenuContentEl.value) {
506
646
  disposeHeightTransition();
507
647
  return;
508
648
  }
509
649
  if (!heightTransitionController) {
510
- heightTransitionController = tigercatCore.createSubmenuHeightTransitionController(
650
+ heightTransitionController = _tigercatcore.createSubmenuHeightTransitionController.call(void 0,
511
651
  submenuContentEl.value,
512
652
  { expanded: isExpanded.value }
513
653
  );
@@ -515,7 +655,7 @@ var SubMenu = vue.defineComponent({
515
655
  }
516
656
  heightTransitionController.update(isExpanded.value);
517
657
  };
518
- vue.watch(
658
+ _vue.watch.call(void 0,
519
659
  [isPopup, isExpanded],
520
660
  () => {
521
661
  if (!isPopup.value && isExpanded.value) {
@@ -525,33 +665,33 @@ var SubMenu = vue.defineComponent({
525
665
  },
526
666
  { immediate: true }
527
667
  );
528
- vue.watch(hasRenderedInline, () => {
668
+ _vue.watch.call(void 0, hasRenderedInline, () => {
529
669
  void syncHeightTransition();
530
670
  });
531
- vue.onBeforeUnmount(disposeHeightTransition);
532
- const titleClasses = vue.computed(() => {
671
+ _vue.onBeforeUnmount.call(void 0, disposeHeightTransition);
672
+ const titleClasses = _vue.computed.call(void 0, () => {
533
673
  if (!menuContext) return "";
534
- return tigercatCore.classNames(
535
- tigercatCore.getSubMenuTitleClasses(menuContext.theme.value, props.disabled),
674
+ return _tigercatcore.classNames.call(void 0,
675
+ _tigercatcore.getSubMenuTitleClasses.call(void 0, menuContext.theme.value, props.disabled),
536
676
  props.className,
537
- tigercatCore.coerceClassValue(attrs.class)
677
+ _tigercatcore.coerceClassValue.call(void 0, attrs.class)
538
678
  );
539
679
  });
540
- const titleStyle = vue.computed(() => tigercatCore.mergeStyleValues(attrs.style, props.style, indentStyle.value));
541
- const passthroughAttrs = vue.computed(() => {
680
+ const titleStyle = _vue.computed.call(void 0, () => _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style, indentStyle.value));
681
+ const passthroughAttrs = _vue.computed.call(void 0, () => {
542
682
  const { class: _class, style: _style, ...rest } = attrs;
543
683
  return rest;
544
684
  });
545
- const contentClasses = vue.computed(() => {
685
+ const contentClasses = _vue.computed.call(void 0, () => {
546
686
  if (!menuContext) return "";
547
687
  if (menuContext.mode.value === "horizontal") {
548
- return props.level === 0 ? tigercatCore.submenuContentHorizontalClasses : tigercatCore.submenuContentHorizontalNestedClasses;
688
+ return props.level === 0 ? _tigercatcore.submenuContentHorizontalClasses : _tigercatcore.submenuContentHorizontalNestedClasses;
549
689
  }
550
- if (isPopup.value) return tigercatCore.submenuContentPopupClasses;
551
- if (menuContext.mode.value === "inline") return tigercatCore.submenuContentInlineClasses;
552
- return tigercatCore.submenuContentVerticalClasses;
690
+ if (isPopup.value) return _tigercatcore.submenuContentPopupClasses;
691
+ if (menuContext.mode.value === "inline") return _tigercatcore.submenuContentInlineClasses;
692
+ return _tigercatcore.submenuContentVerticalClasses;
553
693
  });
554
- const popupZIndex = vue.computed(() => isPopup.value ? tigercatCore.getSubmenuPopupZIndex(props.level) : {});
694
+ const popupZIndex = _vue.computed.call(void 0, () => isPopup.value ? _tigercatcore.getSubmenuPopupZIndex.call(void 0, props.level) : {});
555
695
  const handleTitleClick = () => {
556
696
  if (!menuContext || props.disabled) return;
557
697
  if (menuContext.mode.value === "horizontal") return;
@@ -566,36 +706,36 @@ var SubMenu = vue.defineComponent({
566
706
  menuContext.handleOpenChange(props.itemKey);
567
707
  };
568
708
  const focusFirstChild = async () => {
569
- await vue.nextTick();
709
+ await _vue.nextTick.call(void 0, );
570
710
  const titleEl = document.activeElement;
571
- if (titleEl) tigercatCore.focusFirstChildItem(titleEl);
711
+ if (titleEl) _tigercatcore.focusFirstChildItem.call(void 0, titleEl);
572
712
  };
573
713
  const handleTitleKeyDown = async (event) => {
574
714
  if (!menuContext || props.disabled) return;
575
715
  const current = event.currentTarget;
576
716
  const rootMenu = current.closest('ul[role="menu"]');
577
- const isRoot = rootMenu?.dataset.tigerMenuRoot === "true";
717
+ const isRoot = _optionalChain([rootMenu, 'optionalAccess', _11 => _11.dataset, 'access', _12 => _12.tigerMenuRoot]) === "true";
578
718
  const isHorizontalRoot = isRoot && menuContext.mode.value === "horizontal";
579
719
  const nextKey = isHorizontalRoot ? "ArrowRight" : "ArrowDown";
580
720
  const prevKey = isHorizontalRoot ? "ArrowLeft" : "ArrowUp";
581
721
  if (event.key === nextKey) {
582
722
  event.preventDefault();
583
- tigercatCore.moveFocusInMenu(current, 1);
723
+ _tigercatcore.moveFocusInMenu.call(void 0, current, 1);
584
724
  return;
585
725
  }
586
726
  if (event.key === prevKey) {
587
727
  event.preventDefault();
588
- tigercatCore.moveFocusInMenu(current, -1);
728
+ _tigercatcore.moveFocusInMenu.call(void 0, current, -1);
589
729
  return;
590
730
  }
591
731
  if (event.key === "Home") {
592
732
  event.preventDefault();
593
- tigercatCore.focusMenuEdge(current, "start");
733
+ _tigercatcore.focusMenuEdge.call(void 0, current, "start");
594
734
  return;
595
735
  }
596
736
  if (event.key === "End") {
597
737
  event.preventDefault();
598
- tigercatCore.focusMenuEdge(current, "end");
738
+ _tigercatcore.focusMenuEdge.call(void 0, current, "end");
599
739
  return;
600
740
  }
601
741
  if (event.key === "Escape" || event.key === "ArrowLeft") {
@@ -637,36 +777,36 @@ var SubMenu = vue.defineComponent({
637
777
  }
638
778
  };
639
779
  const handleMouseEnter = () => {
640
- if (menuContext?.mode.value === "horizontal" || isPopup.value) {
780
+ if (_optionalChain([menuContext, 'optionalAccess', _13 => _13.mode, 'access', _14 => _14.value]) === "horizontal" || isPopup.value) {
641
781
  isHovered.value = true;
642
782
  }
643
783
  };
644
784
  const handleMouseLeave = () => {
645
- if (menuContext?.mode.value === "horizontal" || isPopup.value) {
785
+ if (_optionalChain([menuContext, 'optionalAccess', _15 => _15.mode, 'access', _16 => _16.value]) === "horizontal" || isPopup.value) {
646
786
  isHovered.value = false;
647
787
  isOpenByKeyboard.value = false;
648
788
  }
649
789
  };
650
- const indentStyle = vue.computed(() => {
790
+ const indentStyle = _vue.computed.call(void 0, () => {
651
791
  if (!menuContext || menuContext.mode.value === "horizontal" || props.level === 0) {
652
792
  return {};
653
793
  }
654
- return tigercatCore.getMenuItemIndent(props.level, menuContext.inlineIndent.value);
794
+ return _tigercatcore.getMenuItemIndent.call(void 0, props.level, menuContext.inlineIndent.value);
655
795
  });
656
796
  const withChildLevel = (nodes) => {
657
797
  if (!nodes || nodes.length === 0) return nodes;
658
798
  const nextLevel = props.level + 1;
659
799
  return nodes.map((node) => {
660
- if (!vue.isVNode(node)) return node;
800
+ if (!_vue.isVNode.call(void 0, node)) return node;
661
801
  const type = node.type;
662
802
  const name = typeof type === "object" && type != null && "name" in type ? type.name : void 0;
663
803
  const isTarget = name === "TigerMenuItem" || name === "TigerSubMenu" || name === "TigerMenuItemGroup";
664
804
  if (!isTarget) return node;
665
- const existingProps = node.props ?? {};
805
+ const existingProps = _nullishCoalesce(node.props, () => ( {}));
666
806
  const nextProps = {
667
- level: existingProps.level ?? nextLevel
807
+ level: _nullishCoalesce(existingProps.level, () => ( nextLevel))
668
808
  };
669
- return vue.cloneVNode(node, nextProps);
809
+ return _vue.cloneVNode.call(void 0, node, nextProps);
670
810
  });
671
811
  };
672
812
  return () => {
@@ -675,26 +815,26 @@ var SubMenu = vue.defineComponent({
675
815
  if (props.icon) {
676
816
  if (typeof props.icon === "string") {
677
817
  titleChildren.push(
678
- vue.h("span", {
679
- class: tigercatCore.menuItemIconClasses,
818
+ _vue.h.call(void 0, "span", {
819
+ class: _tigercatcore.menuItemIconClasses,
680
820
  innerHTML: props.icon
681
821
  })
682
822
  );
683
823
  } else {
684
- titleChildren.push(vue.h("span", { class: tigercatCore.menuItemIconClasses }, props.icon));
824
+ titleChildren.push(_vue.h.call(void 0, "span", { class: _tigercatcore.menuItemIconClasses }, props.icon));
685
825
  }
686
826
  }
687
827
  if (!effectiveCollapsed.value) {
688
- titleChildren.push(vue.h("span", { class: "flex-1" }, props.title));
828
+ titleChildren.push(_vue.h.call(void 0, "span", { class: "flex-1" }, props.title));
689
829
  if (menuContext.mode.value !== "horizontal" && !isPopup.value) {
690
830
  titleChildren.push(ExpandIcon(isExpanded.value));
691
831
  }
692
832
  } else if (!props.icon) {
693
833
  titleChildren.push(
694
- vue.h("span", { class: "flex-1 text-center" }, props.title.charAt(0).toUpperCase())
834
+ _vue.h.call(void 0, "span", { class: "flex-1 text-center" }, props.title.charAt(0).toUpperCase())
695
835
  );
696
836
  }
697
- const titleNode = vue.h(
837
+ const titleNode = _vue.h.call(void 0,
698
838
  "button",
699
839
  {
700
840
  type: "button",
@@ -713,7 +853,7 @@ var SubMenu = vue.defineComponent({
713
853
  },
714
854
  titleChildren
715
855
  );
716
- const contentNode = isPopup.value ? vue.h(
856
+ const contentNode = isPopup.value ? _vue.h.call(void 0,
717
857
  "ul",
718
858
  {
719
859
  class: contentClasses.value,
@@ -724,29 +864,29 @@ var SubMenu = vue.defineComponent({
724
864
  role: "menu",
725
865
  "aria-hidden": isExpanded.value ? void 0 : "true"
726
866
  },
727
- withChildLevel(slots.default?.())
728
- ) : hasRenderedInline.value ? vue.h(
867
+ withChildLevel(_optionalChain([slots, 'access', _17 => _17.default, 'optionalCall', _18 => _18()]))
868
+ ) : hasRenderedInline.value ? _vue.h.call(void 0,
729
869
  "div",
730
870
  {
731
871
  ref: submenuContentEl,
732
- class: tigercatCore.submenuHeightTransitionClasses,
733
- style: heightTransitionController ? void 0 : tigercatCore.getInitialSubmenuHeightTransitionStyle(isExpanded.value),
872
+ class: _tigercatcore.submenuHeightTransitionClasses,
873
+ style: heightTransitionController ? void 0 : _tigercatcore.getInitialSubmenuHeightTransitionStyle.call(void 0, isExpanded.value),
734
874
  "aria-hidden": isExpanded.value ? void 0 : "true",
735
875
  "data-tiger-menu-hidden": isExpanded.value ? void 0 : "true",
736
876
  "data-tiger-submenu-motion": "height"
737
877
  },
738
878
  [
739
- vue.h(
879
+ _vue.h.call(void 0,
740
880
  "ul",
741
881
  {
742
882
  class: contentClasses.value,
743
883
  role: "menu"
744
884
  },
745
- withChildLevel(slots.default?.())
885
+ withChildLevel(_optionalChain([slots, 'access', _19 => _19.default, 'optionalCall', _20 => _20()]))
746
886
  )
747
887
  ]
748
888
  ) : null;
749
- return vue.h(
889
+ return _vue.h.call(void 0,
750
890
  "li",
751
891
  {
752
892
  class: isPopup.value ? "relative" : "",
@@ -760,9 +900,11 @@ var SubMenu = vue.defineComponent({
760
900
  }
761
901
  });
762
902
 
763
- exports.Menu = Menu;
764
- exports.MenuContextKey = MenuContextKey;
765
- exports.MenuItem = MenuItem;
766
- exports.MenuItemGroup = MenuItemGroup;
767
- exports.Menu_default = Menu_default;
768
- exports.SubMenu = SubMenu;
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+ exports.MenuContextKey = MenuContextKey; exports.Menu = Menu; exports.Menu_default = Menu_default; exports.MenuItem = MenuItem; exports.MenuItemGroup = MenuItemGroup; exports.SubMenu = SubMenu;