@expcat/tigercat-vue 1.4.0 → 2.0.0-preview.1

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 (723) hide show
  1. package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
  2. package/dist/{chunk-M2ECZQ2D.mjs → chunk-2QWGVJW6.mjs} +56 -33
  3. package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
  4. package/dist/{chunk-KY3O3FWK.mjs → chunk-36WSYHJU.mjs} +77 -18
  5. package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
  6. package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
  7. package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
  8. package/dist/chunk-4RKBXGHQ.mjs +52 -0
  9. package/dist/chunk-4ZKSTL5P.mjs +323 -0
  10. package/dist/{chunk-YZP4K6KI.mjs → chunk-6BDDX2R4.mjs} +9 -9
  11. package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
  12. package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
  13. package/dist/{chunk-Y4V7BOVR.mjs → chunk-6TTICJR4.mjs} +9 -7
  14. package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
  15. package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
  16. package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
  17. package/dist/{chunk-NDS2DLUS.mjs → chunk-AZXS4QWC.mjs} +14 -10
  18. package/dist/{chunk-KY6AJRGT.mjs → chunk-B47QLHVW.mjs} +7 -7
  19. package/dist/{chunk-UAD2XROX.mjs → chunk-BGO2ILHM.mjs} +9 -9
  20. package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
  21. package/dist/{chunk-FSGD24HV.mjs → chunk-BNNTDSLJ.mjs} +92 -1
  22. package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
  23. package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
  24. package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
  25. package/dist/{chunk-7VSNXYFM.mjs → chunk-DOVBKVTB.mjs} +28 -10
  26. package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
  27. package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
  28. package/dist/chunk-ESBUNMIG.mjs +49 -0
  29. package/dist/{chunk-KJ6VISRW.mjs → chunk-EUSODI5E.mjs} +1 -1
  30. package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
  31. package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
  32. package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
  33. package/dist/{chunk-LHOSPU6V.mjs → chunk-FDKJOVXG.mjs} +9 -18
  34. package/dist/{chunk-IKEZDGRO.mjs → chunk-FHJ3R57L.mjs} +9 -9
  35. package/dist/{chunk-RFFPMC22.mjs → chunk-FIVVKBBF.mjs} +3 -3
  36. package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
  37. package/dist/{chunk-K5ZZZ4TL.mjs → chunk-G7MOTNJO.mjs} +9 -9
  38. package/dist/{chunk-J6YCXMVY.mjs → chunk-GAEO66NY.mjs} +2 -2
  39. package/dist/chunk-GMIKUE67.mjs +201 -0
  40. package/dist/chunk-GTFAC625.mjs +120 -0
  41. package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
  42. package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
  43. package/dist/{chunk-PXRF4IJO.mjs → chunk-HGXD57QM.mjs} +46 -5
  44. package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
  45. package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
  46. package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
  47. package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
  48. package/dist/{chunk-GQAVLQEZ.mjs → chunk-IGT4QB7O.mjs} +4 -4
  49. package/dist/{chunk-3VFZB5ZK.mjs → chunk-IQNZ4UEA.mjs} +10 -13
  50. package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
  51. package/dist/{chunk-QAMXVTNN.mjs → chunk-JMVALNIO.mjs} +147 -48
  52. package/dist/{chunk-M5PGWW25.mjs → chunk-JPCMI3A4.mjs} +40 -10
  53. package/dist/{chunk-YSUT2GRP.mjs → chunk-KBJANUZZ.mjs} +50 -1
  54. package/dist/{chunk-M4EP4OVR.mjs → chunk-KE6RGD4Y.mjs} +2 -1
  55. package/dist/chunk-KIPTVKU2.mjs +104 -0
  56. package/dist/{chunk-KH2CF6JU.mjs → chunk-KR3D2JOA.mjs} +93 -41
  57. package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
  58. package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
  59. package/dist/{chunk-OOS3QQFK.mjs → chunk-MJRFB6ZA.mjs} +72 -43
  60. package/dist/{chunk-UKMOWUYH.mjs → chunk-MYKKKVGK.mjs} +2 -2
  61. package/dist/{chunk-3AF4VRCD.mjs → chunk-N3C6YI7I.mjs} +8 -8
  62. package/dist/{chunk-NHBN6VAY.mjs → chunk-NYWIBDO6.mjs} +9 -9
  63. package/dist/{chunk-Y3BQSELH.mjs → chunk-O4F75KHL.mjs} +9 -9
  64. package/dist/{chunk-DSNPEWYP.mjs → chunk-ODDPVS27.mjs} +64 -11
  65. package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
  66. package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
  67. package/dist/{chunk-UMQUWX7U.mjs → chunk-QD5ZCKPR.mjs} +26 -4
  68. package/dist/{chunk-NWS45JQP.mjs → chunk-RAO7ZJWR.mjs} +65 -17
  69. package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
  70. package/dist/{chunk-OK4PVFQG.mjs → chunk-SPFL55TF.mjs} +22 -19
  71. package/dist/{chunk-6OQLZCQK.mjs → chunk-SYRRMZT2.mjs} +1 -1
  72. package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
  73. package/dist/{chunk-UANF7XE5.mjs → chunk-TQDN67YN.mjs} +34 -6
  74. package/dist/{chunk-SC3WTLKG.mjs → chunk-UD4FNMJN.mjs} +22 -5
  75. package/dist/chunk-V5ANPH5R.mjs +341 -0
  76. package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
  77. package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
  78. package/dist/{chunk-WZRC7PJH.mjs → chunk-VFUBOKGT.mjs} +42 -9
  79. package/dist/{chunk-XMGNMKWW.mjs → chunk-VMYV5EWI.mjs} +4 -3
  80. package/dist/{chunk-RKL4Y7CW.mjs → chunk-W7X5ZHJ3.mjs} +107 -5
  81. package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
  82. package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
  83. package/dist/{chunk-RPWKAGN5.mjs → chunk-WYJ5WOT2.mjs} +29 -13
  84. package/dist/chunk-XFNHZ7SV.mjs +142 -0
  85. package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
  86. package/dist/chunk-Y2HO4IBQ.mjs +150 -0
  87. package/dist/{chunk-XJ5VGC5V.mjs → chunk-YJSWHGAR.mjs} +24 -10
  88. package/dist/{chunk-BHNBLQ5S.mjs → chunk-YSKG5FSX.mjs} +18 -20
  89. package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
  90. package/dist/{chunk-OKR3GRG5.mjs → chunk-Z4NJJ7NI.mjs} +65 -17
  91. package/dist/components/ActivityFeed.mjs +6 -6
  92. package/dist/components/Anchor.mjs +1 -1
  93. package/dist/components/AreaChart.d.mts +6 -6
  94. package/dist/components/AreaChart.mjs +5 -5
  95. package/dist/components/AutoComplete.d.mts +30 -11
  96. package/dist/components/AutoComplete.mjs +1 -1
  97. package/dist/components/Avatar.mjs +2 -2
  98. package/dist/components/AvatarGroup.mjs +1 -1
  99. package/dist/components/BackTop.d.mts +30 -3
  100. package/dist/components/BackTop.mjs +1 -1
  101. package/dist/components/Badge.d.mts +10 -1
  102. package/dist/components/Badge.mjs +2 -1
  103. package/dist/components/BarChart.mjs +5 -5
  104. package/dist/components/Breadcrumb.d.mts +1 -1
  105. package/dist/components/Breadcrumb.mjs +1 -1
  106. package/dist/components/Calendar.d.mts +16 -6
  107. package/dist/components/Calendar.mjs +2 -1
  108. package/dist/components/Card.d.mts +7 -7
  109. package/dist/components/Carousel.d.mts +24 -7
  110. package/dist/components/Carousel.mjs +1 -1
  111. package/dist/components/Cascader.d.mts +38 -16
  112. package/dist/components/Cascader.mjs +1 -1
  113. package/dist/components/ChartLegend.mjs +1 -1
  114. package/dist/components/ChartTooltip.d.mts +4 -4
  115. package/dist/components/ChartTooltip.mjs +1 -1
  116. package/dist/components/ChatWindow.d.mts +7 -7
  117. package/dist/components/ChatWindow.mjs +9 -7
  118. package/dist/components/Checkbox.d.mts +8 -8
  119. package/dist/components/Checkbox.mjs +1 -1
  120. package/dist/components/CheckboxGroup.d.mts +8 -8
  121. package/dist/components/CodeEditor.mjs +1 -1
  122. package/dist/components/ColorPicker.d.mts +4 -4
  123. package/dist/components/ColorSwatch.d.mts +5 -5
  124. package/dist/components/CommentThread.d.mts +5 -1
  125. package/dist/components/CommentThread.mjs +7 -5
  126. package/dist/components/Countdown.d.mts +1 -1
  127. package/dist/components/CronEditor.d.mts +1 -1
  128. package/dist/components/CropUpload.d.mts +13 -3
  129. package/dist/components/CropUpload.mjs +3 -3
  130. package/dist/components/DataTableWithToolbar.d.mts +214 -2
  131. package/dist/components/DataTableWithToolbar.mjs +11 -10
  132. package/dist/components/DatePicker.d.mts +13 -8
  133. package/dist/components/DatePicker.mjs +2 -1
  134. package/dist/components/Descriptions.d.mts +7 -7
  135. package/dist/components/DonutChart.d.mts +17 -8
  136. package/dist/components/DonutChart.mjs +6 -6
  137. package/dist/components/Drawer.d.mts +8 -27
  138. package/dist/components/Drawer.mjs +1 -1
  139. package/dist/components/Dropdown.d.mts +69 -2
  140. package/dist/components/Dropdown.mjs +3 -1
  141. package/dist/components/Empty.d.mts +11 -1
  142. package/dist/components/Empty.mjs +2 -1
  143. package/dist/components/FileManager.d.mts +19 -19
  144. package/dist/components/FileManager.mjs +1 -1
  145. package/dist/components/FloatButton.d.mts +34 -4
  146. package/dist/components/FloatButton.mjs +1 -1
  147. package/dist/components/Form.d.mts +8 -8
  148. package/dist/components/Form.mjs +1 -1
  149. package/dist/components/FormItem.d.mts +4 -4
  150. package/dist/components/FormItem.mjs +2 -2
  151. package/dist/components/FormWizard.mjs +2 -2
  152. package/dist/components/FunnelChart.mjs +5 -5
  153. package/dist/components/Gantt.d.mts +1 -1
  154. package/dist/components/GaugeChart.d.mts +15 -0
  155. package/dist/components/GaugeChart.mjs +2 -1
  156. package/dist/components/HeatmapChart.mjs +3 -3
  157. package/dist/components/Icon.d.mts +1 -1
  158. package/dist/components/Image.mjs +4 -3
  159. package/dist/components/ImageAnnotation.d.mts +11 -1
  160. package/dist/components/ImageAnnotation.mjs +2 -1
  161. package/dist/components/ImageCropper.d.mts +11 -0
  162. package/dist/components/ImageCropper.mjs +2 -1
  163. package/dist/components/ImageGroup.d.mts +2 -2
  164. package/dist/components/ImageGroup.mjs +3 -2
  165. package/dist/components/ImagePreview.d.mts +31 -10
  166. package/dist/components/ImagePreview.mjs +2 -1
  167. package/dist/components/ImageViewer.d.mts +6 -15
  168. package/dist/components/ImageViewer.mjs +1 -1
  169. package/dist/components/InfiniteScroll.mjs +1 -1
  170. package/dist/components/Input.d.mts +6 -6
  171. package/dist/components/Input.mjs +2 -1
  172. package/dist/components/InputGroup.d.mts +6 -6
  173. package/dist/components/InputNumber.d.mts +26 -6
  174. package/dist/components/InputNumber.mjs +2 -1
  175. package/dist/components/Kanban.d.mts +21 -1
  176. package/dist/components/Kanban.mjs +2 -2
  177. package/dist/components/LineChart.mjs +5 -5
  178. package/dist/components/List.d.mts +7 -7
  179. package/dist/components/List.mjs +2 -2
  180. package/dist/components/MarkdownEditor.mjs +1 -1
  181. package/dist/components/Menu.d.mts +5 -5
  182. package/dist/components/Message.d.mts +4 -29
  183. package/dist/components/Message.mjs +139 -4
  184. package/dist/components/{Message.d.ts → MessageContainer.d.mts} +15 -18
  185. package/dist/components/MessageContainer.mjs +9 -0
  186. package/dist/components/MessageRoot.d.mts +9 -0
  187. package/dist/components/MessageRoot.mjs +6 -0
  188. package/dist/components/Modal.d.mts +2 -20
  189. package/dist/components/Modal.mjs +1 -1
  190. package/dist/components/Notification.d.mts +4 -29
  191. package/dist/components/Notification.mjs +189 -4
  192. package/dist/components/NotificationCenter.mjs +4 -4
  193. package/dist/components/{Notification.d.ts → NotificationContainer.d.mts} +15 -17
  194. package/dist/components/NotificationContainer.mjs +9 -0
  195. package/dist/components/NotificationRoot.d.mts +9 -0
  196. package/dist/components/NotificationRoot.mjs +6 -0
  197. package/dist/components/NumberKeyboard.d.mts +2 -2
  198. package/dist/components/OrgChart.d.mts +1 -1
  199. package/dist/components/PieChart.d.mts +9 -0
  200. package/dist/components/PieChart.mjs +5 -5
  201. package/dist/components/Popconfirm.mjs +2 -2
  202. package/dist/components/Popover.mjs +2 -2
  203. package/dist/components/Progress.d.mts +1 -1
  204. package/dist/components/QRCode.d.mts +1 -1
  205. package/dist/components/QRCode.mjs +1 -1
  206. package/dist/components/RadarChart.mjs +5 -5
  207. package/dist/components/Radio.d.mts +15 -15
  208. package/dist/components/Radio.mjs +2 -2
  209. package/dist/components/RadioGroup.d.mts +16 -16
  210. package/dist/components/RadioGroup.mjs +1 -1
  211. package/dist/components/Rate.mjs +1 -1
  212. package/dist/components/Resizable.mjs +1 -1
  213. package/dist/components/Result.d.mts +1 -1
  214. package/dist/components/Result.mjs +1 -1
  215. package/dist/components/RichTextEditor.mjs +1 -1
  216. package/dist/components/ScatterChart.mjs +5 -5
  217. package/dist/components/ScrollSpy.d.mts +1 -1
  218. package/dist/components/Segmented.d.mts +4 -4
  219. package/dist/components/Segmented.mjs +1 -1
  220. package/dist/components/Select.d.mts +37 -36
  221. package/dist/components/Select.mjs +1 -1
  222. package/dist/components/Signature.d.mts +1 -1
  223. package/dist/components/Slider.d.mts +7 -7
  224. package/dist/components/Slider.mjs +1 -1
  225. package/dist/components/Space.d.mts +11 -11
  226. package/dist/components/Statistic.d.mts +4 -4
  227. package/dist/components/Stepper.d.mts +4 -4
  228. package/dist/components/Steps.d.mts +2 -2
  229. package/dist/components/Steps.mjs +1 -1
  230. package/dist/components/SunburstChart.mjs +5 -5
  231. package/dist/components/Switch.d.mts +14 -14
  232. package/dist/components/Switch.mjs +1 -1
  233. package/dist/components/Table.d.mts +0 -10
  234. package/dist/components/Table.mjs +6 -6
  235. package/dist/components/Tabs.d.mts +2 -0
  236. package/dist/components/Tabs.mjs +1 -1
  237. package/dist/components/Tag.d.mts +13 -3
  238. package/dist/components/Tag.mjs +2 -1
  239. package/dist/components/TaskBoard.d.mts +21 -1
  240. package/dist/components/TaskBoard.mjs +1 -1
  241. package/dist/components/Textarea.d.mts +7 -7
  242. package/dist/components/Textarea.mjs +2 -1
  243. package/dist/components/TimePicker.d.mts +9 -9
  244. package/dist/components/TimePicker.mjs +1 -1
  245. package/dist/components/Timeline.mjs +1 -1
  246. package/dist/components/Tooltip.mjs +2 -2
  247. package/dist/components/Tour.d.mts +1 -3
  248. package/dist/components/Tour.mjs +2 -1
  249. package/dist/components/Transfer.d.mts +50 -13
  250. package/dist/components/Transfer.mjs +1 -1
  251. package/dist/components/Tree.d.mts +2 -2
  252. package/dist/components/Tree.mjs +2 -2
  253. package/dist/components/TreeMapChart.mjs +5 -5
  254. package/dist/components/TreeSelect.d.mts +32 -12
  255. package/dist/components/TreeSelect.mjs +1 -1
  256. package/dist/components/Upload.d.mts +1 -1
  257. package/dist/components/Upload.mjs +1 -1
  258. package/dist/components/VirtualList.d.mts +11 -0
  259. package/dist/components/VirtualList.mjs +1 -1
  260. package/dist/components/VirtualTable.d.mts +54 -33
  261. package/dist/components/VirtualTable.mjs +1 -1
  262. package/dist/composables/useChartInteraction.d.mts +84 -0
  263. package/dist/composables/useChartInteraction.mjs +6 -0
  264. package/dist/composables/useDrag.d.mts +40 -0
  265. package/dist/composables/useDrag.mjs +6 -0
  266. package/dist/composables/useFormController.d.mts +23 -0
  267. package/dist/composables/useFormController.mjs +6 -0
  268. package/dist/index.d.mts +141 -274
  269. package/dist/index.mjs +2155 -826
  270. package/package.json +747 -17
  271. package/dist/chunk-24CBIC75.js +0 -468
  272. package/dist/chunk-2DC3BMED.js +0 -92
  273. package/dist/chunk-2MLORMN2.js +0 -736
  274. package/dist/chunk-2S5CNU36.js +0 -172
  275. package/dist/chunk-2VOZFFW6.js +0 -138
  276. package/dist/chunk-3QV2D54H.js +0 -207
  277. package/dist/chunk-3UQECWNL.mjs +0 -206
  278. package/dist/chunk-43BLH7DE.js +0 -166
  279. package/dist/chunk-44N7LE3Q.js +0 -568
  280. package/dist/chunk-54VVFMYI.js +0 -69
  281. package/dist/chunk-57MJTNDL.js +0 -128
  282. package/dist/chunk-5F6P5Y4K.js +0 -115
  283. package/dist/chunk-5PXTMXXS.js +0 -159
  284. package/dist/chunk-5UOAWXOQ.js +0 -243
  285. package/dist/chunk-5VSKQLK3.js +0 -693
  286. package/dist/chunk-67RSRWWY.js +0 -451
  287. package/dist/chunk-6FXYRDYH.js +0 -247
  288. package/dist/chunk-6WFFP4K2.mjs +0 -325
  289. package/dist/chunk-72DDCIVL.js +0 -68
  290. package/dist/chunk-7ADONGSB.js +0 -49
  291. package/dist/chunk-7CR6MLD5.js +0 -141
  292. package/dist/chunk-7FWZIAFP.js +0 -482
  293. package/dist/chunk-7GYYIDMA.js +0 -325
  294. package/dist/chunk-A7FN3S4I.js +0 -150
  295. package/dist/chunk-ACYYQJ6M.js +0 -106
  296. package/dist/chunk-AP42636I.js +0 -98
  297. package/dist/chunk-BPAZBRCR.js +0 -150
  298. package/dist/chunk-BYNMOQBB.js +0 -313
  299. package/dist/chunk-BZBVSB43.js +0 -147
  300. package/dist/chunk-CGZPOI6H.js +0 -93
  301. package/dist/chunk-CTAQ5WEN.js +0 -95
  302. package/dist/chunk-CWNEDREV.js +0 -165
  303. package/dist/chunk-DE5WMG6P.js +0 -291
  304. package/dist/chunk-DJCTERZH.js +0 -92
  305. package/dist/chunk-DUMPRNDR.js +0 -389
  306. package/dist/chunk-DYSLYJ2W.js +0 -92
  307. package/dist/chunk-DZXZ3YEL.js +0 -137
  308. package/dist/chunk-E36I27WK.js +0 -362
  309. package/dist/chunk-EIH6ABOR.js +0 -286
  310. package/dist/chunk-EJZBG5RT.js +0 -298
  311. package/dist/chunk-EQW6IUHG.js +0 -163
  312. package/dist/chunk-ETTYERGO.js +0 -83
  313. package/dist/chunk-F5TZIFMW.js +0 -145
  314. package/dist/chunk-FC7RXQTM.js +0 -153
  315. package/dist/chunk-FGM7KB2Q.js +0 -681
  316. package/dist/chunk-FP7SBCPO.js +0 -253
  317. package/dist/chunk-FUI6WG2F.js +0 -757
  318. package/dist/chunk-G3SWTL27.js +0 -119
  319. package/dist/chunk-GY75BFAV.js +0 -547
  320. package/dist/chunk-HA5QZ76M.js +0 -143
  321. package/dist/chunk-HBFFINAI.js +0 -58
  322. package/dist/chunk-HMYVPBWI.js +0 -404
  323. package/dist/chunk-HZBE2RY4.js +0 -290
  324. package/dist/chunk-IXTYS3EK.js +0 -140
  325. package/dist/chunk-JCMGBKS6.js +0 -59
  326. package/dist/chunk-JCPTFBLY.js +0 -112
  327. package/dist/chunk-JKEF7NB3.js +0 -243
  328. package/dist/chunk-JKZ5ZRDG.js +0 -136
  329. package/dist/chunk-JTVFVAM3.js +0 -47
  330. package/dist/chunk-K2DJDJZR.js +0 -139
  331. package/dist/chunk-K3CIXMN4.js +0 -212
  332. package/dist/chunk-K6DYTMBE.js +0 -111
  333. package/dist/chunk-KA7DILCI.js +0 -649
  334. package/dist/chunk-KDA4XDXT.js +0 -67
  335. package/dist/chunk-KGDRA475.js +0 -119
  336. package/dist/chunk-KN64NDJS.js +0 -373
  337. package/dist/chunk-LD7ZJCTO.mjs +0 -167
  338. package/dist/chunk-LG55VN6B.js +0 -383
  339. package/dist/chunk-LG6KGO5D.js +0 -161
  340. package/dist/chunk-LUBUJUSH.js +0 -45
  341. package/dist/chunk-LYF6AAQ7.js +0 -418
  342. package/dist/chunk-M2XA7VU5.js +0 -364
  343. package/dist/chunk-MQ23PX3S.js +0 -218
  344. package/dist/chunk-MSKAWM7K.js +0 -73
  345. package/dist/chunk-NCLUMDZB.js +0 -100
  346. package/dist/chunk-NCT5FXQB.js +0 -373
  347. package/dist/chunk-NEVDRG6C.js +0 -537
  348. package/dist/chunk-NHNJUBYZ.js +0 -819
  349. package/dist/chunk-NOZ65AMO.js +0 -106
  350. package/dist/chunk-NTZ7LQTY.js +0 -830
  351. package/dist/chunk-NUABW6IB.mjs +0 -98
  352. package/dist/chunk-ODQOYMUQ.js +0 -72
  353. package/dist/chunk-OTNVA2UT.js +0 -212
  354. package/dist/chunk-OUBJHKWX.js +0 -199
  355. package/dist/chunk-OXIODAJS.js +0 -192
  356. package/dist/chunk-PFWRFHSB.js +0 -164
  357. package/dist/chunk-PGOTPYRG.js +0 -141
  358. package/dist/chunk-PJ66WE62.js +0 -218
  359. package/dist/chunk-PQMZ3YN3.js +0 -110
  360. package/dist/chunk-QOMWROWE.js +0 -136
  361. package/dist/chunk-QUIRQ7OA.js +0 -422
  362. package/dist/chunk-QY6PYAJA.js +0 -194
  363. package/dist/chunk-QYSFZA5V.js +0 -353
  364. package/dist/chunk-QZQYKC2N.js +0 -231
  365. package/dist/chunk-RAUERIPS.js +0 -100
  366. package/dist/chunk-RBWJSHKR.js +0 -233
  367. package/dist/chunk-RKZN3URO.js +0 -181
  368. package/dist/chunk-RLPSCEBP.js +0 -736
  369. package/dist/chunk-RUXIQ5EP.js +0 -1811
  370. package/dist/chunk-SGXLMKMO.js +0 -123
  371. package/dist/chunk-SJIW7SNA.js +0 -530
  372. package/dist/chunk-SJSZHQWX.js +0 -486
  373. package/dist/chunk-SLYUQ67P.js +0 -372
  374. package/dist/chunk-SVWZOIBI.js +0 -483
  375. package/dist/chunk-SWOQMMOT.js +0 -60
  376. package/dist/chunk-SYTYUC67.js +0 -755
  377. package/dist/chunk-T4DF24UV.js +0 -114
  378. package/dist/chunk-T5N2UHVP.js +0 -283
  379. package/dist/chunk-TAAHD4R7.js +0 -398
  380. package/dist/chunk-TAU447CL.js +0 -306
  381. package/dist/chunk-TGHB5XST.js +0 -91
  382. package/dist/chunk-TLXEFLPA.js +0 -39
  383. package/dist/chunk-TXQEHRQB.js +0 -207
  384. package/dist/chunk-U36NBQWP.js +0 -192
  385. package/dist/chunk-UFY654LD.js +0 -1005
  386. package/dist/chunk-UG6O4F2A.js +0 -150
  387. package/dist/chunk-UHVUKLHF.js +0 -112
  388. package/dist/chunk-UI7N2ZDU.js +0 -142
  389. package/dist/chunk-ULUH6UNV.js +0 -238
  390. package/dist/chunk-UWZSTI3E.js +0 -393
  391. package/dist/chunk-VAXO5NEM.js +0 -320
  392. package/dist/chunk-VH2GDZBH.js +0 -284
  393. package/dist/chunk-VJ72Y54M.js +0 -241
  394. package/dist/chunk-W5DLRGQL.js +0 -296
  395. package/dist/chunk-WGRNO4PB.js +0 -342
  396. package/dist/chunk-WNYWWGNM.js +0 -394
  397. package/dist/chunk-WUEP3PFN.js +0 -445
  398. package/dist/chunk-WYVA3JBH.js +0 -206
  399. package/dist/chunk-X5CFXNVK.js +0 -246
  400. package/dist/chunk-X6FG4RPF.js +0 -367
  401. package/dist/chunk-XAQID5IO.js +0 -167
  402. package/dist/chunk-XH4ZZ6KJ.js +0 -427
  403. package/dist/chunk-XSMDZOBF.js +0 -154
  404. package/dist/chunk-XTMGF5YP.js +0 -103
  405. package/dist/chunk-XUOGT4HG.js +0 -76
  406. package/dist/chunk-XV6IYXAP.js +0 -140
  407. package/dist/chunk-XVNN6D55.js +0 -394
  408. package/dist/chunk-XZMU7B54.js +0 -230
  409. package/dist/chunk-Z6HBM73W.js +0 -158
  410. package/dist/chunk-Z6MMA7ZE.js +0 -360
  411. package/dist/chunk-ZHSXICH7.js +0 -264
  412. package/dist/chunk-ZMGNQKXL.js +0 -233
  413. package/dist/chunk-ZNVQ2OFX.js +0 -46
  414. package/dist/chunk-ZOUJFFG4.js +0 -93
  415. package/dist/chunk-ZQD2MCNX.mjs +0 -231
  416. package/dist/chunk-ZYCOHZCM.mjs +0 -92
  417. package/dist/components/ActivityFeed.d.ts +0 -124
  418. package/dist/components/ActivityFeed.js +0 -18
  419. package/dist/components/Affix.d.ts +0 -75
  420. package/dist/components/Affix.js +0 -8
  421. package/dist/components/Alert.d.ts +0 -221
  422. package/dist/components/Alert.js +0 -9
  423. package/dist/components/Anchor.d.ts +0 -251
  424. package/dist/components/Anchor.js +0 -12
  425. package/dist/components/AnchorLink.d.mts +0 -8
  426. package/dist/components/AnchorLink.d.ts +0 -8
  427. package/dist/components/AnchorLink.js +0 -10
  428. package/dist/components/AnchorLink.mjs +0 -10
  429. package/dist/components/AreaChart.d.ts +0 -443
  430. package/dist/components/AreaChart.js +0 -15
  431. package/dist/components/AutoComplete.d.ts +0 -117
  432. package/dist/components/AutoComplete.js +0 -9
  433. package/dist/components/Avatar.d.ts +0 -162
  434. package/dist/components/Avatar.js +0 -9
  435. package/dist/components/AvatarGroup.d.ts +0 -49
  436. package/dist/components/AvatarGroup.js +0 -10
  437. package/dist/components/BackTop.d.ts +0 -88
  438. package/dist/components/BackTop.js +0 -8
  439. package/dist/components/Badge.d.ts +0 -107
  440. package/dist/components/Badge.js +0 -8
  441. package/dist/components/BarChart.d.ts +0 -400
  442. package/dist/components/BarChart.js +0 -15
  443. package/dist/components/Breadcrumb.d.ts +0 -235
  444. package/dist/components/Breadcrumb.js +0 -12
  445. package/dist/components/BreadcrumbItem.d.mts +0 -8
  446. package/dist/components/BreadcrumbItem.d.ts +0 -8
  447. package/dist/components/BreadcrumbItem.js +0 -10
  448. package/dist/components/BreadcrumbItem.mjs +0 -10
  449. package/dist/components/Button.d.ts +0 -146
  450. package/dist/components/Button.js +0 -9
  451. package/dist/components/ButtonGroup.d.ts +0 -42
  452. package/dist/components/ButtonGroup.js +0 -10
  453. package/dist/components/Calendar.d.ts +0 -68
  454. package/dist/components/Calendar.js +0 -8
  455. package/dist/components/Card.d.ts +0 -170
  456. package/dist/components/Card.js +0 -8
  457. package/dist/components/Carousel.d.ts +0 -247
  458. package/dist/components/Carousel.js +0 -8
  459. package/dist/components/Cascader.d.ts +0 -143
  460. package/dist/components/Cascader.js +0 -9
  461. package/dist/components/ChartAxis.d.ts +0 -110
  462. package/dist/components/ChartAxis.js +0 -8
  463. package/dist/components/ChartCanvas.d.ts +0 -69
  464. package/dist/components/ChartCanvas.js +0 -8
  465. package/dist/components/ChartGrid.d.ts +0 -109
  466. package/dist/components/ChartGrid.js +0 -8
  467. package/dist/components/ChartLegend.d.ts +0 -74
  468. package/dist/components/ChartLegend.js +0 -8
  469. package/dist/components/ChartSeries.d.ts +0 -52
  470. package/dist/components/ChartSeries.js +0 -8
  471. package/dist/components/ChartTooltip.d.ts +0 -58
  472. package/dist/components/ChartTooltip.js +0 -8
  473. package/dist/components/ChatWindow.d.ts +0 -255
  474. package/dist/components/ChatWindow.js +0 -16
  475. package/dist/components/Checkbox.d.ts +0 -144
  476. package/dist/components/Checkbox.js +0 -9
  477. package/dist/components/CheckboxGroup.d.ts +0 -126
  478. package/dist/components/CheckboxGroup.js +0 -10
  479. package/dist/components/Code.d.ts +0 -71
  480. package/dist/components/Code.js +0 -8
  481. package/dist/components/CodeEditor.d.ts +0 -183
  482. package/dist/components/CodeEditor.js +0 -8
  483. package/dist/components/Col.d.ts +0 -52
  484. package/dist/components/Col.js +0 -7
  485. package/dist/components/Collapse.d.ts +0 -162
  486. package/dist/components/Collapse.js +0 -10
  487. package/dist/components/CollapsePanel.d.ts +0 -112
  488. package/dist/components/CollapsePanel.js +0 -9
  489. package/dist/components/ColorPicker.d.ts +0 -70
  490. package/dist/components/ColorPicker.js +0 -8
  491. package/dist/components/ColorSwatch.d.ts +0 -79
  492. package/dist/components/ColorSwatch.js +0 -8
  493. package/dist/components/CommentThread.d.ts +0 -221
  494. package/dist/components/CommentThread.js +0 -15
  495. package/dist/components/ConfigProvider.d.ts +0 -76
  496. package/dist/components/ConfigProvider.js +0 -14
  497. package/dist/components/Container.d.ts +0 -86
  498. package/dist/components/Container.js +0 -8
  499. package/dist/components/Content.d.ts +0 -63
  500. package/dist/components/Content.js +0 -8
  501. package/dist/components/Countdown.d.ts +0 -107
  502. package/dist/components/Countdown.js +0 -8
  503. package/dist/components/CronEditor.d.ts +0 -80
  504. package/dist/components/CronEditor.js +0 -8
  505. package/dist/components/CropUpload.d.ts +0 -97
  506. package/dist/components/CropUpload.js +0 -14
  507. package/dist/components/DataTableWithToolbar.d.ts +0 -366
  508. package/dist/components/DataTableWithToolbar.js +0 -22
  509. package/dist/components/DatePicker.d.ts +0 -328
  510. package/dist/components/DatePicker.js +0 -9
  511. package/dist/components/Descriptions.d.ts +0 -204
  512. package/dist/components/Descriptions.js +0 -8
  513. package/dist/components/Divider.d.ts +0 -50
  514. package/dist/components/Divider.js +0 -8
  515. package/dist/components/DonutChart.d.ts +0 -323
  516. package/dist/components/DonutChart.js +0 -14
  517. package/dist/components/Drawer.d.ts +0 -396
  518. package/dist/components/Drawer.js +0 -10
  519. package/dist/components/Dropdown.d.ts +0 -241
  520. package/dist/components/Dropdown.js +0 -13
  521. package/dist/components/DropdownItem.d.mts +0 -73
  522. package/dist/components/DropdownItem.d.ts +0 -73
  523. package/dist/components/DropdownItem.js +0 -10
  524. package/dist/components/DropdownItem.mjs +0 -10
  525. package/dist/components/DropdownMenu.d.mts +0 -8
  526. package/dist/components/DropdownMenu.d.ts +0 -8
  527. package/dist/components/DropdownMenu.js +0 -11
  528. package/dist/components/DropdownMenu.mjs +0 -11
  529. package/dist/components/Empty.d.ts +0 -64
  530. package/dist/components/Empty.js +0 -8
  531. package/dist/components/FileManager.d.ts +0 -171
  532. package/dist/components/FileManager.js +0 -9
  533. package/dist/components/FloatButton.d.ts +0 -156
  534. package/dist/components/FloatButton.js +0 -10
  535. package/dist/components/Footer.d.ts +0 -63
  536. package/dist/components/Footer.js +0 -8
  537. package/dist/components/Form.d.ts +0 -291
  538. package/dist/components/Form.js +0 -11
  539. package/dist/components/FormItem.d.ts +0 -152
  540. package/dist/components/FormItem.js +0 -10
  541. package/dist/components/FormWizard.d.ts +0 -206
  542. package/dist/components/FormWizard.js +0 -12
  543. package/dist/components/FunnelChart.d.ts +0 -221
  544. package/dist/components/FunnelChart.js +0 -13
  545. package/dist/components/Gantt.d.ts +0 -231
  546. package/dist/components/Gantt.js +0 -9
  547. package/dist/components/GaugeChart.d.ts +0 -182
  548. package/dist/components/GaugeChart.js +0 -9
  549. package/dist/components/Header.d.ts +0 -82
  550. package/dist/components/Header.js +0 -8
  551. package/dist/components/HeatmapChart.d.ts +0 -233
  552. package/dist/components/HeatmapChart.js +0 -11
  553. package/dist/components/Icon.d.ts +0 -68
  554. package/dist/components/Icon.js +0 -8
  555. package/dist/components/Image.d.ts +0 -129
  556. package/dist/components/Image.js +0 -13
  557. package/dist/components/ImageAnnotation.d.ts +0 -179
  558. package/dist/components/ImageAnnotation.js +0 -8
  559. package/dist/components/ImageCropper.d.ts +0 -105
  560. package/dist/components/ImageCropper.js +0 -8
  561. package/dist/components/ImageGroup.d.ts +0 -30
  562. package/dist/components/ImageGroup.js +0 -11
  563. package/dist/components/ImagePreview.d.ts +0 -97
  564. package/dist/components/ImagePreview.js +0 -8
  565. package/dist/components/ImageViewer.d.ts +0 -136
  566. package/dist/components/ImageViewer.js +0 -9
  567. package/dist/components/InfiniteScroll.d.ts +0 -116
  568. package/dist/components/InfiniteScroll.js +0 -9
  569. package/dist/components/Input.d.ts +0 -268
  570. package/dist/components/Input.js +0 -8
  571. package/dist/components/InputGroup.d.ts +0 -77
  572. package/dist/components/InputGroup.js +0 -12
  573. package/dist/components/InputNumber.d.ts +0 -170
  574. package/dist/components/InputNumber.js +0 -8
  575. package/dist/components/Kanban.d.ts +0 -180
  576. package/dist/components/Kanban.js +0 -10
  577. package/dist/components/Layout.d.ts +0 -45
  578. package/dist/components/Layout.js +0 -8
  579. package/dist/components/LineChart.d.ts +0 -434
  580. package/dist/components/LineChart.js +0 -15
  581. package/dist/components/Link.d.ts +0 -89
  582. package/dist/components/Link.js +0 -8
  583. package/dist/components/List.d.ts +0 -342
  584. package/dist/components/List.js +0 -10
  585. package/dist/components/Loading.d.ts +0 -133
  586. package/dist/components/Loading.js +0 -10
  587. package/dist/components/MarkdownEditor.d.ts +0 -149
  588. package/dist/components/MarkdownEditor.js +0 -8
  589. package/dist/components/Mentions.d.ts +0 -88
  590. package/dist/components/Mentions.js +0 -8
  591. package/dist/components/Menu.d.ts +0 -554
  592. package/dist/components/Menu.js +0 -17
  593. package/dist/components/MenuItem.d.mts +0 -8
  594. package/dist/components/MenuItem.d.ts +0 -8
  595. package/dist/components/MenuItem.js +0 -11
  596. package/dist/components/MenuItem.mjs +0 -11
  597. package/dist/components/MenuItemGroup.d.mts +0 -8
  598. package/dist/components/MenuItemGroup.d.ts +0 -8
  599. package/dist/components/MenuItemGroup.js +0 -11
  600. package/dist/components/MenuItemGroup.mjs +0 -11
  601. package/dist/components/Message.js +0 -11
  602. package/dist/components/Modal.d.ts +0 -381
  603. package/dist/components/Modal.js +0 -12
  604. package/dist/components/Notification.js +0 -11
  605. package/dist/components/NotificationCenter.d.ts +0 -213
  606. package/dist/components/NotificationCenter.js +0 -18
  607. package/dist/components/NumberKeyboard.d.ts +0 -154
  608. package/dist/components/NumberKeyboard.js +0 -9
  609. package/dist/components/OrgChart.d.ts +0 -195
  610. package/dist/components/OrgChart.js +0 -9
  611. package/dist/components/Pagination.d.ts +0 -392
  612. package/dist/components/Pagination.js +0 -9
  613. package/dist/components/PieChart.d.ts +0 -296
  614. package/dist/components/PieChart.js +0 -13
  615. package/dist/components/Popconfirm.d.ts +0 -173
  616. package/dist/components/Popconfirm.js +0 -10
  617. package/dist/components/Popover.d.ts +0 -138
  618. package/dist/components/Popover.js +0 -10
  619. package/dist/components/PrintLayout.d.ts +0 -97
  620. package/dist/components/PrintLayout.js +0 -10
  621. package/dist/components/Progress.d.ts +0 -150
  622. package/dist/components/Progress.js +0 -8
  623. package/dist/components/QRCode.d.ts +0 -95
  624. package/dist/components/QRCode.js +0 -9
  625. package/dist/components/RadarChart.d.ts +0 -454
  626. package/dist/components/RadarChart.js +0 -13
  627. package/dist/components/Radio.d.ts +0 -143
  628. package/dist/components/Radio.js +0 -9
  629. package/dist/components/RadioGroup.d.ts +0 -135
  630. package/dist/components/RadioGroup.js +0 -10
  631. package/dist/components/Rate.d.ts +0 -80
  632. package/dist/components/Rate.js +0 -8
  633. package/dist/components/Resizable.d.ts +0 -138
  634. package/dist/components/Resizable.js +0 -8
  635. package/dist/components/Result.d.ts +0 -64
  636. package/dist/components/Result.js +0 -9
  637. package/dist/components/RichTextEditor.d.ts +0 -123
  638. package/dist/components/RichTextEditor.js +0 -8
  639. package/dist/components/Row.d.ts +0 -90
  640. package/dist/components/Row.js +0 -8
  641. package/dist/components/ScatterChart.d.ts +0 -391
  642. package/dist/components/ScatterChart.js +0 -15
  643. package/dist/components/ScrollSpy.d.ts +0 -125
  644. package/dist/components/ScrollSpy.js +0 -8
  645. package/dist/components/Segmented.d.ts +0 -70
  646. package/dist/components/Segmented.js +0 -8
  647. package/dist/components/Select.d.ts +0 -292
  648. package/dist/components/Select.js +0 -9
  649. package/dist/components/Sidebar.d.ts +0 -101
  650. package/dist/components/Sidebar.js +0 -8
  651. package/dist/components/Signature.d.ts +0 -163
  652. package/dist/components/Signature.js +0 -9
  653. package/dist/components/Skeleton.d.ts +0 -96
  654. package/dist/components/Skeleton.js +0 -8
  655. package/dist/components/Slider.d.ts +0 -228
  656. package/dist/components/Slider.js +0 -8
  657. package/dist/components/Space.d.ts +0 -49
  658. package/dist/components/Space.js +0 -8
  659. package/dist/components/Splitter.d.ts +0 -99
  660. package/dist/components/Splitter.js +0 -8
  661. package/dist/components/Spotlight.d.ts +0 -206
  662. package/dist/components/Spotlight.js +0 -10
  663. package/dist/components/Statistic.d.ts +0 -103
  664. package/dist/components/Statistic.js +0 -8
  665. package/dist/components/Stepper.d.ts +0 -79
  666. package/dist/components/Stepper.js +0 -8
  667. package/dist/components/Steps.d.ts +0 -298
  668. package/dist/components/Steps.js +0 -12
  669. package/dist/components/StepsItem.d.mts +0 -8
  670. package/dist/components/StepsItem.d.ts +0 -8
  671. package/dist/components/StepsItem.js +0 -10
  672. package/dist/components/StepsItem.mjs +0 -10
  673. package/dist/components/SubMenu.d.mts +0 -8
  674. package/dist/components/SubMenu.d.ts +0 -8
  675. package/dist/components/SubMenu.js +0 -11
  676. package/dist/components/SubMenu.mjs +0 -11
  677. package/dist/components/SunburstChart.d.ts +0 -212
  678. package/dist/components/SunburstChart.js +0 -13
  679. package/dist/components/Switch.d.ts +0 -94
  680. package/dist/components/Switch.js +0 -8
  681. package/dist/components/TabPane.d.mts +0 -8
  682. package/dist/components/TabPane.d.ts +0 -8
  683. package/dist/components/TabPane.js +0 -10
  684. package/dist/components/TabPane.mjs +0 -10
  685. package/dist/components/Table.d.ts +0 -509
  686. package/dist/components/Table.js +0 -15
  687. package/dist/components/Tabs.d.ts +0 -408
  688. package/dist/components/Tabs.js +0 -12
  689. package/dist/components/Tag.d.ts +0 -120
  690. package/dist/components/Tag.js +0 -8
  691. package/dist/components/TaskBoard.d.ts +0 -190
  692. package/dist/components/TaskBoard.js +0 -9
  693. package/dist/components/Text.d.ts +0 -161
  694. package/dist/components/Text.js +0 -8
  695. package/dist/components/Textarea.d.ts +0 -308
  696. package/dist/components/Textarea.js +0 -8
  697. package/dist/components/TimePicker.d.ts +0 -372
  698. package/dist/components/TimePicker.js +0 -10
  699. package/dist/components/Timeline.d.ts +0 -124
  700. package/dist/components/Timeline.js +0 -9
  701. package/dist/components/Tooltip.d.ts +0 -116
  702. package/dist/components/Tooltip.js +0 -10
  703. package/dist/components/Tour.d.ts +0 -129
  704. package/dist/components/Tour.js +0 -10
  705. package/dist/components/Transfer.d.ts +0 -112
  706. package/dist/components/Transfer.js +0 -9
  707. package/dist/components/Tree.d.ts +0 -485
  708. package/dist/components/Tree.js +0 -10
  709. package/dist/components/TreeMapChart.d.ts +0 -221
  710. package/dist/components/TreeMapChart.js +0 -13
  711. package/dist/components/TreeSelect.d.ts +0 -121
  712. package/dist/components/TreeSelect.js +0 -9
  713. package/dist/components/Upload.d.ts +0 -355
  714. package/dist/components/Upload.js +0 -9
  715. package/dist/components/VirtualList.d.ts +0 -78
  716. package/dist/components/VirtualList.js +0 -8
  717. package/dist/components/VirtualTable.d.ts +0 -166
  718. package/dist/components/VirtualTable.js +0 -9
  719. package/dist/components/Watermark.d.ts +0 -144
  720. package/dist/components/Watermark.js +0 -8
  721. package/dist/index.d.ts +0 -286
  722. package/dist/index.js +0 -838
  723. /package/dist/{chunk-R2HO74FE.mjs → chunk-PE5OA4YG.mjs} +0 -0
@@ -1,830 +0,0 @@
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; }
2
-
3
- var _chunkJCMGBKS6js = require('./chunk-JCMGBKS6.js');
4
-
5
- // src/components/DatePicker.ts
6
- var _vue = require('vue');
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
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
- var _tigercatcore = require('@expcat/tigercat-core');
47
- var CalendarIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.CalendarIconPath, "w-5 h-5");
48
- var CloseIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.CloseIconPath, "w-4 h-4");
49
- var ChevronLeftIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.ChevronLeftIconPath, "w-5 h-5");
50
- var ChevronRightIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.ChevronRightIconPath, "w-5 h-5");
51
- var isDateLike = (value) => value === null || value instanceof Date || typeof value === "string";
52
- var isModelValue = (value) => {
53
- if (isDateLike(value)) return true;
54
- if (Array.isArray(value) && value.length === 2) {
55
- return isDateLike(value[0]) && isDateLike(value[1]);
56
- }
57
- return false;
58
- };
59
- var DatePicker = _vue.defineComponent.call(void 0, {
60
- name: "TigerDatePicker",
61
- inheritAttrs: false,
62
- props: {
63
- /**
64
- * Enable range selection (start/end).
65
- * When true, v-model uses a tuple: [start, end].
66
- * @default false
67
- */
68
- range: {
69
- type: Boolean,
70
- default: false
71
- },
72
- /**
73
- * Locale used for month/day names in the calendar UI.
74
- * Example: 'zh-CN', 'en-US'
75
- */
76
- locale: {
77
- type: [String, Object]
78
- },
79
- /**
80
- * UI labels for i18n.
81
- */
82
- labels: {
83
- type: Object,
84
- default: void 0
85
- },
86
- /**
87
- * Selected date value (for v-model)
88
- */
89
- modelValue: {
90
- type: [Date, String, Array, null],
91
- default: null
92
- },
93
- /**
94
- * Date picker size
95
- * @default 'md'
96
- */
97
- size: {
98
- type: String,
99
- default: "md"
100
- },
101
- /**
102
- * Date format string
103
- * @default 'yyyy-MM-dd'
104
- */
105
- format: {
106
- type: String,
107
- default: "yyyy-MM-dd"
108
- },
109
- /**
110
- * Placeholder text
111
- */
112
- placeholder: {
113
- type: String,
114
- default: void 0
115
- },
116
- /**
117
- * Whether the date picker is disabled
118
- * @default false
119
- */
120
- disabled: {
121
- type: Boolean,
122
- default: false
123
- },
124
- /**
125
- * Whether the date picker is readonly
126
- * @default false
127
- */
128
- readonly: {
129
- type: Boolean,
130
- default: false
131
- },
132
- /**
133
- * Whether the date picker is required
134
- * @default false
135
- */
136
- required: {
137
- type: Boolean,
138
- default: false
139
- },
140
- /**
141
- * Minimum selectable date
142
- */
143
- minDate: {
144
- type: [Date, String, null],
145
- default: null
146
- },
147
- /**
148
- * Maximum selectable date
149
- */
150
- maxDate: {
151
- type: [Date, String, null],
152
- default: null
153
- },
154
- /**
155
- * Show clear button
156
- * @default true
157
- */
158
- clearable: {
159
- type: Boolean,
160
- default: true
161
- },
162
- /**
163
- * Input name attribute
164
- */
165
- name: {
166
- type: String
167
- },
168
- /**
169
- * Input id attribute
170
- */
171
- id: {
172
- type: String
173
- },
174
- /**
175
- * Additional CSS classes
176
- */
177
- className: {
178
- type: String,
179
- default: ""
180
- },
181
- /**
182
- * Custom styles
183
- */
184
- style: {
185
- type: Object,
186
- default: void 0
187
- },
188
- /**
189
- * Shortcut presets for quick date selection
190
- */
191
- shortcuts: {
192
- type: Array,
193
- default: void 0
194
- }
195
- },
196
- emits: {
197
- /**
198
- * Emitted when date changes (for v-model)
199
- */
200
- "update:modelValue": (value) => {
201
- return isModelValue(value);
202
- },
203
- /**
204
- * Emitted when date changes
205
- */
206
- change: (value) => {
207
- return isModelValue(value);
208
- },
209
- /**
210
- * Emitted when clear button is clicked
211
- */
212
- clear: () => true
213
- },
214
- setup(props, { emit, attrs }) {
215
- const isOpen = _vue.ref.call(void 0, false);
216
- const calendarRef = _vue.ref.call(void 0, null);
217
- const mobileCalendarRef = _vue.ref.call(void 0, null);
218
- const inputWrapperRef = _vue.ref.call(void 0, null);
219
- const inputRef = _vue.ref.call(void 0, null);
220
- const activeDateIso = _vue.ref.call(void 0, null);
221
- const activeRangePart = _vue.ref.call(void 0, "start");
222
- const pendingFocusIso = _vue.ref.call(void 0, null);
223
- const restoreFocusEl = _vue.ref.call(void 0, null);
224
- const isRangeMode = _vue.computed.call(void 0, () => props.range);
225
- const selectedDate = _vue.computed.call(void 0, () => {
226
- if (isRangeMode.value) return null;
227
- return _tigercatcore.parseDate.call(void 0, props.modelValue);
228
- });
229
- const selectedRange = _vue.computed.call(void 0, () => {
230
- if (!isRangeMode.value) return [null, null];
231
- const raw = props.modelValue;
232
- if (!raw || !Array.isArray(raw)) return [null, null];
233
- return [_tigercatcore.parseDate.call(void 0, raw[0]), _tigercatcore.parseDate.call(void 0, raw[1])];
234
- });
235
- const minDateParsed = _vue.computed.call(void 0, () => _tigercatcore.parseDate.call(void 0, props.minDate));
236
- const maxDateParsed = _vue.computed.call(void 0, () => _tigercatcore.parseDate.call(void 0, props.maxDate));
237
- const localeCode = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLocaleCode.call(void 0, props.locale));
238
- const viewingMonth = _vue.ref.call(void 0,
239
- _nullishCoalesce(_optionalChain([(_nullishCoalesce(selectedDate.value, () => ( selectedRange.value[0]))), 'optionalAccess', _2 => _2.getMonth, 'call', _3 => _3()]), () => ( (/* @__PURE__ */ new Date()).getMonth()))
240
- );
241
- const viewingYear = _vue.ref.call(void 0,
242
- _nullishCoalesce(_optionalChain([(_nullishCoalesce(selectedDate.value, () => ( selectedRange.value[0]))), 'optionalAccess', _4 => _4.getFullYear, 'call', _5 => _5()]), () => ( (/* @__PURE__ */ new Date()).getFullYear()))
243
- );
244
- const displayValue = _vue.computed.call(void 0, () => {
245
- if (!isRangeMode.value) {
246
- return selectedDate.value ? _tigercatcore.formatDate.call(void 0, selectedDate.value, props.format, localeCode.value) : "";
247
- }
248
- const [start, end] = selectedRange.value;
249
- const startText = start ? _tigercatcore.formatDate.call(void 0, start, props.format, localeCode.value) : "";
250
- const endText = end ? _tigercatcore.formatDate.call(void 0, end, props.format, localeCode.value) : "";
251
- if (!startText && !endText) return "";
252
- if (startText && endText) return `${startText} - ${endText}`;
253
- return startText ? `${startText} - ` : ` - ${endText}`;
254
- });
255
- const placeholderText = _vue.computed.call(void 0,
256
- () => _nullishCoalesce(props.placeholder, () => ( (props.range ? "Select date range" : "Select date")))
257
- );
258
- const showClearButton = _vue.computed.call(void 0, () => {
259
- if (!props.clearable || props.disabled || props.readonly) return false;
260
- if (!isRangeMode.value) return selectedDate.value !== null;
261
- const [start, end] = selectedRange.value;
262
- return start !== null || end !== null;
263
- });
264
- const calendarDays = _vue.computed.call(void 0, () => {
265
- return _tigercatcore.getCalendarDays.call(void 0, viewingYear.value, viewingMonth.value);
266
- });
267
- const dayNames = _vue.computed.call(void 0, () => _tigercatcore.getShortDayNames.call(void 0, localeCode.value));
268
- const isRtl = _vue.computed.call(void 0, () => _tigercatcore.getLocaleDirection.call(void 0, localeCode.value) === "rtl");
269
- const previousMonthIcon = _vue.computed.call(void 0, () => isRtl.value ? ChevronRightIcon : ChevronLeftIcon);
270
- const nextMonthIcon = _vue.computed.call(void 0, () => isRtl.value ? ChevronLeftIcon : ChevronRightIcon);
271
- const labels = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLabels.call(void 0, props.locale, props.labels));
272
- const mobileDate = _vue.computed.call(void 0, () => {
273
- if (!isRangeMode.value) return _nullishCoalesce(selectedDate.value, () => ( _tigercatcore.normalizeDate.call(void 0, /* @__PURE__ */ new Date())));
274
- const [start, end] = selectedRange.value;
275
- return _nullishCoalesce(_nullishCoalesce(_nullishCoalesce((activeRangePart.value === "start" ? start : end), () => ( start)), () => ( end)), () => ( _tigercatcore.normalizeDate.call(void 0, /* @__PURE__ */ new Date())));
276
- });
277
- const mobileYears = _vue.computed.call(void 0, () => {
278
- const baseYear = mobileDate.value.getFullYear();
279
- return Array.from({ length: 101 }, (_, index) => baseYear - 50 + index);
280
- });
281
- const mobileDays = _vue.computed.call(void 0, () => {
282
- const date = mobileDate.value;
283
- const daysInMonth = new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
284
- return Array.from({ length: daysInMonth }, (_, index) => index + 1);
285
- });
286
- const emitValue = (value) => {
287
- emit("update:modelValue", value);
288
- emit("change", value);
289
- };
290
- const focusDateButtonByIso = (iso) => {
291
- const button = _optionalChain([calendarRef, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.querySelector, 'call', _8 => _8(
292
- `button[data-date="${iso}"]`
293
- )]);
294
- if (!button || button.disabled) return false;
295
- button.focus();
296
- activeDateIso.value = iso;
297
- return true;
298
- };
299
- const getFirstEnabledIsoInView = () => {
300
- for (const date of calendarDays.value) {
301
- if (!date) continue;
302
- const iso = _tigercatcore.formatDate.call(void 0, date, "yyyy-MM-dd");
303
- if (!isDateDisabled(date)) return iso;
304
- }
305
- return null;
306
- };
307
- const getPreferredFocusIso = () => {
308
- const focusDate = isRangeMode.value ? _nullishCoalesce(selectedRange.value[0], () => ( selectedRange.value[1])) : selectedDate.value;
309
- if (focusDate) return _tigercatcore.formatDate.call(void 0, focusDate, "yyyy-MM-dd");
310
- const today = _tigercatcore.normalizeDate.call(void 0, /* @__PURE__ */ new Date());
311
- if (_tigercatcore.isDateInRange.call(void 0, today, minDateParsed.value, maxDateParsed.value)) {
312
- return _tigercatcore.formatDate.call(void 0, today, "yyyy-MM-dd");
313
- }
314
- return getFirstEnabledIsoInView();
315
- };
316
- const restoreFocus = () => {
317
- const target = _nullishCoalesce(restoreFocusEl.value, () => ( inputRef.value));
318
- if (!target) return;
319
- if (typeof target.focus === "function") {
320
- ;
321
- target.focus();
322
- }
323
- };
324
- const moveFocus = async (deltaDays) => {
325
- const activeEl = document.activeElement;
326
- const currentIso = _nullishCoalesce(_nullishCoalesce(_optionalChain([activeEl, 'optionalAccess', _9 => _9.getAttribute, 'call', _10 => _10("data-date")]), () => ( activeDateIso.value)), () => ( null));
327
- const baseIso = _nullishCoalesce(currentIso, () => ( getPreferredFocusIso()));
328
- if (!baseIso) return;
329
- const baseDate = _tigercatcore.parseDate.call(void 0, baseIso);
330
- if (!baseDate) return;
331
- let candidate = _tigercatcore.addDays.call(void 0, baseDate, deltaDays);
332
- for (let attempts = 0; attempts < 42; attempts++) {
333
- const iso = _tigercatcore.formatDate.call(void 0, candidate, "yyyy-MM-dd");
334
- const el = _optionalChain([calendarRef, 'access', _11 => _11.value, 'optionalAccess', _12 => _12.querySelector, 'call', _13 => _13(
335
- `button[data-date="${iso}"]`
336
- )]);
337
- if (el && !el.disabled) {
338
- el.focus();
339
- activeDateIso.value = iso;
340
- return;
341
- }
342
- if (!el) {
343
- pendingFocusIso.value = iso;
344
- viewingYear.value = candidate.getFullYear();
345
- viewingMonth.value = candidate.getMonth();
346
- activeDateIso.value = iso;
347
- await _vue.nextTick.call(void 0, );
348
- if (pendingFocusIso.value) {
349
- const nextIso = pendingFocusIso.value;
350
- pendingFocusIso.value = null;
351
- if (focusDateButtonByIso(nextIso)) return;
352
- }
353
- const fallback = getFirstEnabledIsoInView();
354
- if (fallback) focusDateButtonByIso(fallback);
355
- return;
356
- }
357
- candidate = _tigercatcore.addDays.call(void 0, candidate, deltaDays);
358
- }
359
- };
360
- const handleCalendarKeyDown = async (event) => {
361
- if (!isOpen.value) return;
362
- switch (event.key) {
363
- case "Escape": {
364
- event.preventDefault();
365
- closeCalendar();
366
- return;
367
- }
368
- case "ArrowRight": {
369
- event.preventDefault();
370
- await moveFocus(1);
371
- return;
372
- }
373
- case "ArrowLeft": {
374
- event.preventDefault();
375
- await moveFocus(-1);
376
- return;
377
- }
378
- case "ArrowDown": {
379
- event.preventDefault();
380
- await moveFocus(7);
381
- return;
382
- }
383
- case "ArrowUp": {
384
- event.preventDefault();
385
- await moveFocus(-7);
386
- return;
387
- }
388
- case "Enter":
389
- case " ": {
390
- const activeEl = document.activeElement;
391
- if (_optionalChain([activeEl, 'optionalAccess', _14 => _14.tagName]) === "BUTTON" && activeEl.dataset.date) {
392
- event.preventDefault();
393
- if (!activeEl.disabled) activeEl.click();
394
- }
395
- return;
396
- }
397
- }
398
- };
399
- function toggleCalendar() {
400
- if (!props.disabled && !props.readonly) {
401
- isOpen.value = !isOpen.value;
402
- if (isOpen.value) {
403
- restoreFocusEl.value = _nullishCoalesce(inputRef.value, () => ( null));
404
- const baseDate = _nullishCoalesce(selectedDate.value, () => ( selectedRange.value[0]));
405
- if (baseDate) {
406
- viewingMonth.value = baseDate.getMonth();
407
- viewingYear.value = baseDate.getFullYear();
408
- }
409
- }
410
- }
411
- }
412
- function closeCalendar() {
413
- isOpen.value = false;
414
- }
415
- function setToday() {
416
- selectDate(/* @__PURE__ */ new Date());
417
- }
418
- function handleShortcut(shortcut) {
419
- const val = typeof shortcut.value === "function" ? shortcut.value() : shortcut.value;
420
- emitValue(val);
421
- closeCalendar();
422
- }
423
- function selectDate(date) {
424
- if (!date) return;
425
- const normalizedDate = _tigercatcore.normalizeDate.call(void 0, date);
426
- if (!_tigercatcore.isDateInRange.call(void 0, normalizedDate, minDateParsed.value, maxDateParsed.value)) {
427
- return;
428
- }
429
- if (!isRangeMode.value) {
430
- emitValue(normalizedDate);
431
- closeCalendar();
432
- return;
433
- }
434
- const [start, end] = selectedRange.value;
435
- if (!start || start && end) {
436
- emitValue([normalizedDate, null]);
437
- return;
438
- }
439
- emitValue([start, normalizedDate < start ? start : normalizedDate]);
440
- }
441
- function commitMobileDate(date) {
442
- const normalized = _tigercatcore.normalizeDate.call(void 0, date);
443
- if (!_tigercatcore.isDateInRange.call(void 0, normalized, minDateParsed.value, maxDateParsed.value)) return;
444
- viewingYear.value = normalized.getFullYear();
445
- viewingMonth.value = normalized.getMonth();
446
- if (!isRangeMode.value) {
447
- emitValue(normalized);
448
- return;
449
- }
450
- const [start, end] = selectedRange.value;
451
- if (activeRangePart.value === "start") {
452
- emitValue([normalized, end && end < normalized ? normalized : end]);
453
- activeRangePart.value = "end";
454
- return;
455
- }
456
- emitValue([_nullishCoalesce(start, () => ( normalized)), start && normalized < start ? start : normalized]);
457
- }
458
- function updateMobileDate(part, value) {
459
- const base = mobileDate.value;
460
- const nextYear = part === "year" ? value : base.getFullYear();
461
- const nextMonth2 = part === "month" ? value : base.getMonth();
462
- const maxDay = new Date(nextYear, nextMonth2 + 1, 0).getDate();
463
- const nextDay = Math.min(part === "day" ? value : base.getDate(), maxDay);
464
- commitMobileDate(new Date(nextYear, nextMonth2, nextDay));
465
- }
466
- function clearDate(event) {
467
- event.stopPropagation();
468
- emitValue(!isRangeMode.value ? null : [null, null]);
469
- emit("clear");
470
- }
471
- function stepViewingMonth(delta) {
472
- const next = _tigercatcore.addMonths.call(void 0, new Date(viewingYear.value, viewingMonth.value, 1), delta);
473
- viewingYear.value = next.getFullYear();
474
- viewingMonth.value = next.getMonth();
475
- }
476
- function previousMonth() {
477
- stepViewingMonth(-1);
478
- }
479
- function nextMonth() {
480
- stepViewingMonth(1);
481
- }
482
- function isDateDisabled(date) {
483
- if (!date) return true;
484
- return !_tigercatcore.isDateInRange.call(void 0, date, minDateParsed.value, maxDateParsed.value);
485
- }
486
- function isCurrentMonth(date) {
487
- if (!date) return false;
488
- return date.getMonth() === viewingMonth.value;
489
- }
490
- function handleClickOutside(event) {
491
- if (inputWrapperRef.value && !_optionalChain([calendarRef, 'access', _15 => _15.value, 'optionalAccess', _16 => _16.contains, 'call', _17 => _17(event.target)]) && !_optionalChain([mobileCalendarRef, 'access', _18 => _18.value, 'optionalAccess', _19 => _19.contains, 'call', _20 => _20(event.target)]) && !inputWrapperRef.value.contains(event.target)) {
492
- closeCalendar();
493
- }
494
- }
495
- function handleInputClick() {
496
- toggleCalendar();
497
- }
498
- _vue.watch.call(void 0, isOpen, (newValue) => {
499
- if (newValue) {
500
- document.addEventListener("click", handleClickOutside);
501
- const preferred = _nullishCoalesce(pendingFocusIso.value, () => ( getPreferredFocusIso()));
502
- pendingFocusIso.value = null;
503
- _vue.nextTick.call(void 0, ).then(() => {
504
- if (preferred && focusDateButtonByIso(preferred)) return;
505
- const fallback = getFirstEnabledIsoInView();
506
- if (fallback) focusDateButtonByIso(fallback);
507
- });
508
- } else {
509
- document.removeEventListener("click", handleClickOutside);
510
- _vue.nextTick.call(void 0, ).then(() => {
511
- restoreFocus();
512
- });
513
- }
514
- });
515
- _vue.onBeforeUnmount.call(void 0, () => {
516
- document.removeEventListener("click", handleClickOutside);
517
- });
518
- const rootClass = _vue.computed.call(void 0,
519
- () => _tigercatcore.classNames.call(void 0, _tigercatcore.datePickerBaseClasses, props.className, _tigercatcore.coerceClassValue.call(void 0, attrs.class))
520
- );
521
- const rootStyle = _vue.computed.call(void 0, () => _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style));
522
- const forwardedAttrs = _vue.computed.call(void 0, () => {
523
- const { class: _class, style: _style, ...rest } = _nullishCoalesce(attrs, () => ( {}));
524
- return rest;
525
- });
526
- return () => {
527
- const inputClasses = _tigercatcore.getDatePickerInputClasses.call(void 0, props.size, props.disabled || props.readonly);
528
- const iconButtonClasses = _tigercatcore.getDatePickerIconButtonClasses.call(void 0, props.size);
529
- return _vue.h.call(void 0,
530
- "div",
531
- {
532
- ...forwardedAttrs.value,
533
- class: rootClass.value,
534
- style: rootStyle.value
535
- },
536
- [
537
- // Input wrapper
538
- _vue.h.call(void 0,
539
- "div",
540
- {
541
- ref: inputWrapperRef,
542
- class: _tigercatcore.datePickerInputWrapperClasses
543
- },
544
- [
545
- // Input field for date display
546
- _vue.h.call(void 0, "input", {
547
- ref: inputRef,
548
- type: "text",
549
- class: inputClasses,
550
- value: displayValue.value,
551
- placeholder: placeholderText.value,
552
- disabled: props.disabled,
553
- readonly: true,
554
- // Always readonly to prevent manual text input and ensure date selection via calendar only
555
- required: props.required,
556
- name: props.name,
557
- id: props.id,
558
- onClick: handleInputClick,
559
- "aria-label": placeholderText.value
560
- }),
561
- // Clear button
562
- showClearButton.value && _vue.h.call(void 0,
563
- "button",
564
- {
565
- type: "button",
566
- class: _tigercatcore.datePickerClearButtonClasses,
567
- onClick: clearDate,
568
- "aria-label": labels.value.clearDate
569
- },
570
- CloseIcon
571
- ),
572
- // Calendar icon button
573
- _vue.h.call(void 0,
574
- "button",
575
- {
576
- type: "button",
577
- class: iconButtonClasses,
578
- disabled: props.disabled || props.readonly,
579
- onClick: toggleCalendar,
580
- "aria-label": labels.value.toggleCalendar
581
- },
582
- CalendarIcon
583
- )
584
- ]
585
- ),
586
- // Calendar dropdown
587
- isOpen.value && _vue.h.call(void 0,
588
- "div",
589
- {
590
- ref: mobileCalendarRef,
591
- class: _tigercatcore.datePickerMobileWheelClasses,
592
- role: "group",
593
- "aria-label": labels.value.calendar
594
- },
595
- [
596
- isRangeMode.value ? _vue.h.call(void 0, "div", { class: "mb-3 flex items-center gap-2" }, [
597
- _vue.h.call(void 0,
598
- "button",
599
- {
600
- type: "button",
601
- class: _tigercatcore.datePickerFooterButtonClasses,
602
- "aria-selected": activeRangePart.value === "start",
603
- onClick: () => activeRangePart.value = "start"
604
- },
605
- "Start"
606
- ),
607
- _vue.h.call(void 0,
608
- "button",
609
- {
610
- type: "button",
611
- class: _tigercatcore.datePickerFooterButtonClasses,
612
- "aria-selected": activeRangePart.value === "end",
613
- onClick: () => activeRangePart.value = "end"
614
- },
615
- "End"
616
- )
617
- ]) : null,
618
- _vue.h.call(void 0, "div", { class: _tigercatcore.datePickerMobileWheelGridClasses }, [
619
- _vue.h.call(void 0,
620
- "select",
621
- {
622
- class: _tigercatcore.datePickerMobileWheelSelectClasses,
623
- value: mobileDate.value.getFullYear(),
624
- "aria-label": "Year",
625
- onChange: (event) => updateMobileDate("year", Number(event.target.value))
626
- },
627
- mobileYears.value.map((year) => _vue.h.call(void 0, "option", { value: year }, year))
628
- ),
629
- _vue.h.call(void 0,
630
- "select",
631
- {
632
- class: _tigercatcore.datePickerMobileWheelSelectClasses,
633
- value: mobileDate.value.getMonth(),
634
- "aria-label": "Month",
635
- onChange: (event) => updateMobileDate("month", Number(event.target.value))
636
- },
637
- Array.from(
638
- { length: 12 },
639
- (_, month) => _vue.h.call(void 0, "option", { value: month }, month + 1)
640
- )
641
- ),
642
- _vue.h.call(void 0,
643
- "select",
644
- {
645
- class: _tigercatcore.datePickerMobileWheelSelectClasses,
646
- value: mobileDate.value.getDate(),
647
- "aria-label": "Day",
648
- onChange: (event) => updateMobileDate("day", Number(event.target.value))
649
- },
650
- mobileDays.value.map((day) => _vue.h.call(void 0, "option", { value: day }, day))
651
- )
652
- ]),
653
- _vue.h.call(void 0, "div", { class: "mt-4 flex justify-end gap-2" }, [
654
- _vue.h.call(void 0,
655
- "button",
656
- {
657
- type: "button",
658
- class: _tigercatcore.datePickerFooterButtonClasses,
659
- "aria-label": `Mobile ${labels.value.ok}`,
660
- onClick: closeCalendar
661
- },
662
- labels.value.ok
663
- )
664
- ])
665
- ]
666
- ),
667
- isOpen.value && _vue.h.call(void 0,
668
- "div",
669
- {
670
- ref: calendarRef,
671
- class: _tigercatcore.datePickerCalendarClasses,
672
- role: "dialog",
673
- "aria-modal": "true",
674
- "aria-label": labels.value.calendar,
675
- onKeydown: handleCalendarKeyDown
676
- },
677
- [
678
- // Calendar header
679
- _vue.h.call(void 0, "div", { class: _tigercatcore.datePickerCalendarHeaderClasses }, [
680
- _vue.h.call(void 0,
681
- "button",
682
- {
683
- type: "button",
684
- class: _tigercatcore.datePickerNavButtonClasses,
685
- onClick: previousMonth,
686
- "aria-label": labels.value.previousMonth
687
- },
688
- previousMonthIcon.value
689
- ),
690
- _vue.h.call(void 0,
691
- "div",
692
- { class: _tigercatcore.datePickerMonthYearClasses },
693
- _tigercatcore.formatMonthYear.call(void 0, viewingYear.value, viewingMonth.value, localeCode.value)
694
- ),
695
- _vue.h.call(void 0,
696
- "button",
697
- {
698
- type: "button",
699
- class: _tigercatcore.datePickerNavButtonClasses,
700
- onClick: nextMonth,
701
- "aria-label": labels.value.nextMonth
702
- },
703
- nextMonthIcon.value
704
- )
705
- ]),
706
- // Day names header
707
- _vue.h.call(void 0, "div", { class: _tigercatcore.datePickerCalendarGridClasses, role: "row" }, [
708
- ...dayNames.value.map(
709
- (day) => _vue.h.call(void 0,
710
- "div",
711
- {
712
- class: _tigercatcore.datePickerDayNameClasses,
713
- key: day,
714
- role: "columnheader"
715
- },
716
- day
717
- )
718
- )
719
- ]),
720
- // Calendar grid
721
- (() => {
722
- const [rangeStart, rangeEnd] = selectedRange.value;
723
- const normStart = rangeStart ? _tigercatcore.normalizeDate.call(void 0, rangeStart) : null;
724
- const normEnd = rangeEnd ? _tigercatcore.normalizeDate.call(void 0, rangeEnd) : null;
725
- const isSelectingEnd = isRangeMode.value && Boolean(rangeStart) && !rangeEnd;
726
- return _vue.h.call(void 0,
727
- "div",
728
- {
729
- class: _tigercatcore.datePickerCalendarGridClasses,
730
- role: "grid",
731
- "aria-rowcount": 6,
732
- "aria-colcount": 7
733
- },
734
- [
735
- ...calendarDays.value.map((date, index) => {
736
- if (!date) return null;
737
- const normDate = _tigercatcore.normalizeDate.call(void 0, date);
738
- const isRangeStart = isRangeMode.value && rangeStart ? _tigercatcore.isSameDay.call(void 0, date, rangeStart) : false;
739
- const isRangeEnd = isRangeMode.value && rangeEnd ? _tigercatcore.isSameDay.call(void 0, date, rangeEnd) : false;
740
- const isInRange = isRangeMode.value && normStart && normEnd && normDate >= normStart && normDate <= normEnd;
741
- const isSelected = !isRangeMode.value ? selectedDate.value ? _tigercatcore.isSameDay.call(void 0, date, selectedDate.value) : false : isRangeStart || isRangeEnd;
742
- const isCurrentMonthDay = isCurrentMonth(date);
743
- const isTodayDay = _tigercatcore.isToday.call(void 0, date);
744
- const isBeforeRangeStart = isSelectingEnd && normStart && normDate < normStart;
745
- const isDisabled = isDateDisabled(date) || Boolean(isBeforeRangeStart);
746
- const iso = _tigercatcore.formatDate.call(void 0, date, "yyyy-MM-dd");
747
- return _vue.h.call(void 0,
748
- "button",
749
- {
750
- key: index,
751
- type: "button",
752
- class: _tigercatcore.getDatePickerDayCellClasses.call(void 0,
753
- isCurrentMonthDay,
754
- isSelected,
755
- isTodayDay,
756
- isDisabled,
757
- Boolean(isInRange),
758
- Boolean(isRangeStart),
759
- Boolean(isRangeEnd)
760
- ),
761
- disabled: isDisabled,
762
- onClick: () => selectDate(date),
763
- role: "gridcell",
764
- "data-date": iso,
765
- onFocus: () => {
766
- activeDateIso.value = iso;
767
- },
768
- tabindex: activeDateIso.value === iso && !isDisabled ? 0 : -1,
769
- "aria-label": iso,
770
- "aria-selected": isSelected,
771
- "aria-current": isTodayDay ? "date" : void 0
772
- },
773
- date.getDate()
774
- );
775
- })
776
- ]
777
- );
778
- })(),
779
- // Shortcuts panel
780
- _optionalChain([props, 'access', _21 => _21.shortcuts, 'optionalAccess', _22 => _22.length]) ? _vue.h.call(void 0,
781
- "div",
782
- {
783
- class: "flex flex-wrap gap-1 px-3 py-2 border-t border-[var(--tiger-border,#e5e7eb)]"
784
- },
785
- props.shortcuts.map(
786
- (sc) => _vue.h.call(void 0,
787
- "button",
788
- {
789
- type: "button",
790
- class: _tigercatcore.datePickerFooterButtonClasses,
791
- onClick: () => handleShortcut(sc)
792
- },
793
- sc.label
794
- )
795
- )
796
- ) : null,
797
- // Footer (range mode only)
798
- isRangeMode.value ? _vue.h.call(void 0, "div", { class: _tigercatcore.datePickerFooterClasses }, [
799
- _vue.h.call(void 0,
800
- "button",
801
- {
802
- type: "button",
803
- class: _tigercatcore.datePickerFooterButtonClasses,
804
- onClick: setToday
805
- },
806
- labels.value.today
807
- ),
808
- _vue.h.call(void 0,
809
- "button",
810
- {
811
- type: "button",
812
- class: _tigercatcore.datePickerFooterButtonClasses,
813
- onClick: closeCalendar
814
- },
815
- labels.value.ok
816
- )
817
- ]) : null
818
- ]
819
- )
820
- ]
821
- );
822
- };
823
- }
824
- });
825
- var DatePicker_default = DatePicker;
826
-
827
-
828
-
829
-
830
- exports.DatePicker = DatePicker; exports.DatePicker_default = DatePicker_default;