@expcat/tigercat-vue 1.4.0 → 1.5.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.
- package/dist/{chunk-EIH6ABOR.js → chunk-2FYVPPTD.js} +44 -15
- package/dist/{chunk-KY6AJRGT.mjs → chunk-2HRJGOAV.mjs} +4 -4
- package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-NCT5FXQB.js → chunk-2RCBEBBR.js} +6 -3
- package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
- package/dist/{chunk-NWS45JQP.mjs → chunk-4RK5BDGR.mjs} +58 -10
- package/dist/{chunk-RKZN3URO.js → chunk-55BSMMUN.js} +27 -6
- package/dist/{chunk-NHBN6VAY.mjs → chunk-57VPT3MN.mjs} +2 -2
- package/dist/{chunk-7VSNXYFM.mjs → chunk-5CHHWMES.mjs} +27 -9
- package/dist/chunk-5FTM7R3P.js +142 -0
- package/dist/{chunk-CGZPOI6H.js → chunk-5PVDNJA5.js} +12 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
- package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
- package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
- package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
- package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
- package/dist/{chunk-OTNVA2UT.js → chunk-7J7JIIHX.js} +28 -10
- package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-Z6MMA7ZE.js → chunk-7RMBEWN2.js} +2 -2
- package/dist/{chunk-SYTYUC67.js → chunk-AF7JZUTA.js} +2 -2
- package/dist/{chunk-3UQECWNL.mjs → chunk-ALFEFDVG.mjs} +103 -12
- package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
- package/dist/{chunk-WUEP3PFN.js → chunk-ANQRW442.js} +31 -8
- package/dist/{chunk-X5CFXNVK.js → chunk-APBWQGXW.js} +14 -10
- package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
- package/dist/{chunk-6FXYRDYH.js → chunk-AWXSJNNP.js} +22 -2
- package/dist/{chunk-ZOUJFFG4.js → chunk-AYQER5UD.js} +17 -14
- package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
- package/dist/{chunk-PGOTPYRG.js → chunk-BNUR72YP.js} +1 -0
- package/dist/{chunk-W5DLRGQL.js → chunk-BPJOIFND.js} +28 -19
- package/dist/{chunk-OKR3GRG5.mjs → chunk-BRGQXIKA.mjs} +58 -10
- package/dist/{chunk-QYSFZA5V.js → chunk-BV6XWFRF.js} +14 -7
- package/dist/{chunk-ODQOYMUQ.js → chunk-BYNTPLGC.js} +8 -1
- package/dist/{chunk-SVWZOIBI.js → chunk-BZ56UKUK.js} +4 -4
- package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
- package/dist/{chunk-RLPSCEBP.js → chunk-CFJST2X2.js} +98 -26
- package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
- package/dist/{chunk-DSNPEWYP.mjs → chunk-CIDINFA2.mjs} +31 -3
- package/dist/{chunk-WZRC7PJH.mjs → chunk-CVFXUYH2.mjs} +38 -5
- package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
- package/dist/{chunk-OUBJHKWX.js → chunk-D43IFX7J.js} +1 -4
- package/dist/{chunk-TXQEHRQB.js → chunk-D6Y3KVJF.js} +5 -1
- package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
- package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
- package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
- package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
- package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
- package/dist/{chunk-WGRNO4PB.js → chunk-GBYNY77G.js} +3 -3
- package/dist/{chunk-NTZ7LQTY.js → chunk-GJ5HJOQP.js} +61 -32
- package/dist/{chunk-QZQYKC2N.js → chunk-GV3LRZSR.js} +35 -9
- package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
- package/dist/{chunk-BYNMOQBB.js → chunk-H2XEJHGR.js} +23 -9
- package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
- package/dist/{chunk-FUI6WG2F.js → chunk-H7GAWNOW.js} +35 -5
- package/dist/{chunk-HMYVPBWI.js → chunk-HI45DI7S.js} +2 -2
- package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
- package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
- package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
- package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
- package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
- package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
- package/dist/{chunk-HZBE2RY4.js → chunk-J77GQQEC.js} +31 -3
- package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
- package/dist/{chunk-WYVA3JBH.js → chunk-JICPYKCT.js} +103 -12
- package/dist/{chunk-2MLORMN2.js → chunk-JMRR4KDB.js} +2 -2
- package/dist/{chunk-KDA4XDXT.js → chunk-K2NJI5MW.js} +2 -2
- package/dist/{chunk-ACYYQJ6M.js → chunk-KLOUOXNA.js} +8 -3
- package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
- package/dist/{chunk-PJ66WE62.js → chunk-KTNT2JHB.js} +143 -10
- package/dist/{chunk-KH2CF6JU.mjs → chunk-LGDJDBE3.mjs} +90 -35
- package/dist/{chunk-IKEZDGRO.mjs → chunk-LHZ5MRFQ.mjs} +2 -2
- package/dist/{chunk-5F6P5Y4K.js → chunk-LKRT27JW.js} +45 -11
- package/dist/{chunk-FP7SBCPO.js → chunk-LODEICSN.js} +4 -4
- package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
- package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
- package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
- package/dist/{chunk-M2ECZQ2D.mjs → chunk-MF7BKYGN.mjs} +27 -18
- package/dist/chunk-MNVMGJUF.js +341 -0
- package/dist/{chunk-LYF6AAQ7.js → chunk-MPVL53GP.js} +59 -5
- package/dist/{chunk-BHNBLQ5S.mjs → chunk-N2QGYEOQ.mjs} +17 -19
- package/dist/{chunk-SGXLMKMO.js → chunk-NQYE64IF.js} +15 -8
- package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
- package/dist/{chunk-DUMPRNDR.js → chunk-OQBWITHA.js} +17 -19
- package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
- package/dist/{chunk-RKL4Y7CW.mjs → chunk-OSPHI5TV.mjs} +110 -3
- package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-LG55VN6B.js → chunk-PFZFPN7M.js} +7 -7
- package/dist/{chunk-SJIW7SNA.js → chunk-PH6ERFC7.js} +22 -7
- package/dist/{chunk-Y3BQSELH.mjs → chunk-PJX2DHO5.mjs} +2 -2
- package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
- package/dist/{chunk-RFFPMC22.mjs → chunk-PMN2MQ26.mjs} +1 -1
- package/dist/{chunk-QAMXVTNN.mjs → chunk-QH3YF5B6.mjs} +95 -23
- package/dist/{chunk-FGM7KB2Q.js → chunk-QKJATAJP.js} +113 -6
- package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
- package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
- package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
- package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
- package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
- package/dist/{chunk-GY75BFAV.js → chunk-SOSHYDIX.js} +9 -9
- package/dist/{chunk-KN64NDJS.js → chunk-TCB3WFYM.js} +12 -11
- package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
- package/dist/{chunk-24CBIC75.js → chunk-TNKULOHK.js} +8 -0
- package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
- package/dist/{chunk-RPWKAGN5.mjs → chunk-TRN5PL5D.mjs} +2 -2
- package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
- package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
- package/dist/{chunk-NEVDRG6C.js → chunk-U5TSCS34.js} +5 -15
- package/dist/{chunk-SLYUQ67P.js → chunk-UKR3IJF3.js} +3 -1
- package/dist/{chunk-M5PGWW25.mjs → chunk-UTGFGMZT.mjs} +33 -3
- package/dist/chunk-V5ANPH5R.mjs +341 -0
- package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-RUXIQ5EP.js → chunk-VDKUKZS2.js} +110 -55
- package/dist/{chunk-ZQD2MCNX.mjs → chunk-VJJ7RAC6.mjs} +34 -8
- package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
- package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
- package/dist/{chunk-NHNJUBYZ.js → chunk-VXRFE72I.js} +38 -5
- package/dist/{chunk-OOS3QQFK.mjs → chunk-VYBRLIKF.mjs} +64 -35
- package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
- package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
- package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-J6YCXMVY.mjs → chunk-WSUCJHJX.mjs} +1 -1
- package/dist/{chunk-KY3O3FWK.mjs → chunk-WWB7VKKH.mjs} +24 -11
- package/dist/{chunk-GQAVLQEZ.mjs → chunk-X43QLJ5E.mjs} +1 -1
- package/dist/{chunk-ULUH6UNV.js → chunk-X73BZFBH.js} +4 -4
- package/dist/{chunk-KA7DILCI.js → chunk-X7PQRYUS.js} +61 -13
- package/dist/chunk-XFNHZ7SV.mjs +142 -0
- package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
- package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/{chunk-T5N2UHVP.js → chunk-YI25YL5W.js} +2 -2
- package/dist/{chunk-TAAHD4R7.js → chunk-YLMQZR6F.js} +36 -4
- package/dist/{chunk-WNYWWGNM.js → chunk-YMUYN4IR.js} +51 -11
- package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
- package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
- package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/Anchor.js +2 -2
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AnchorLink.js +3 -3
- package/dist/components/AnchorLink.mjs +1 -1
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +2 -2
- package/dist/components/AutoComplete.d.ts +2 -2
- package/dist/components/AutoComplete.js +2 -2
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Avatar.mjs +2 -2
- package/dist/components/AvatarGroup.js +2 -2
- package/dist/components/AvatarGroup.mjs +1 -1
- package/dist/components/BackTop.d.mts +2 -2
- package/dist/components/BackTop.d.ts +2 -2
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.d.mts +10 -1
- package/dist/components/Badge.d.ts +10 -1
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.js +2 -2
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.js +3 -3
- package/dist/components/BreadcrumbItem.mjs +1 -1
- package/dist/components/Calendar.d.mts +16 -6
- package/dist/components/Calendar.d.ts +16 -6
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +7 -7
- package/dist/components/ChatWindow.d.ts +7 -7
- package/dist/components/ChatWindow.js +10 -8
- package/dist/components/ChatWindow.mjs +9 -7
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ColorSwatch.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +5 -1
- package/dist/components/CommentThread.d.ts +5 -1
- package/dist/components/CommentThread.js +8 -6
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CronEditor.d.mts +1 -1
- package/dist/components/CronEditor.d.ts +1 -1
- package/dist/components/CropUpload.d.mts +13 -3
- package/dist/components/CropUpload.d.ts +13 -3
- package/dist/components/CropUpload.js +3 -3
- package/dist/components/CropUpload.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +223 -1
- package/dist/components/DataTableWithToolbar.d.ts +223 -1
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.d.mts +6 -1
- package/dist/components/DatePicker.d.ts +6 -1
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.d.mts +9 -0
- package/dist/components/DonutChart.d.ts +9 -0
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/DropdownItem.js +3 -3
- package/dist/components/DropdownItem.mjs +2 -2
- package/dist/components/DropdownMenu.js +3 -3
- package/dist/components/DropdownMenu.mjs +1 -1
- package/dist/components/Empty.d.mts +11 -1
- package/dist/components/Empty.d.ts +11 -1
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +19 -19
- package/dist/components/FileManager.d.ts +19 -19
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.d.mts +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.js +2 -2
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.js +3 -3
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.js +3 -3
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/Gantt.d.mts +1 -1
- package/dist/components/Gantt.d.ts +1 -1
- package/dist/components/GaugeChart.d.mts +15 -0
- package/dist/components/GaugeChart.d.ts +15 -0
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.js +3 -3
- package/dist/components/HeatmapChart.mjs +2 -2
- package/dist/components/Icon.d.mts +1 -1
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/Image.js +4 -3
- package/dist/components/Image.mjs +3 -2
- package/dist/components/ImageAnnotation.d.mts +11 -1
- package/dist/components/ImageAnnotation.d.ts +11 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.d.mts +11 -0
- package/dist/components/ImageCropper.d.ts +11 -0
- package/dist/components/ImageCropper.js +3 -2
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.js +4 -3
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.d.mts +11 -0
- package/dist/components/ImagePreview.d.ts +11 -0
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +1 -0
- package/dist/components/ImageViewer.d.ts +1 -0
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.d.mts +21 -1
- package/dist/components/InputNumber.d.ts +21 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +21 -1
- package/dist/components/Kanban.d.ts +21 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Message.d.mts +11 -1
- package/dist/components/Message.d.ts +11 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/NotificationCenter.js +5 -5
- package/dist/components/NotificationCenter.mjs +4 -4
- package/dist/components/NumberKeyboard.d.mts +2 -2
- package/dist/components/NumberKeyboard.d.ts +2 -2
- package/dist/components/OrgChart.d.mts +1 -1
- package/dist/components/OrgChart.d.ts +1 -1
- package/dist/components/PieChart.d.mts +9 -0
- package/dist/components/PieChart.d.ts +9 -0
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Progress.d.mts +1 -1
- package/dist/components/Progress.d.ts +1 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +2 -2
- package/dist/components/QRCode.mjs +1 -1
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.js +2 -2
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Resizable.js +2 -2
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/Result.js +2 -2
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.d.ts +1 -1
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Signature.d.mts +1 -1
- package/dist/components/Signature.d.ts +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +3 -3
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +3 -3
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +2 -0
- package/dist/components/Tabs.d.ts +2 -0
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +13 -3
- package/dist/components/Tag.d.ts +13 -3
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +21 -1
- package/dist/components/TaskBoard.d.ts +21 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.js +2 -2
- package/dist/components/Timeline.mjs +1 -1
- package/dist/components/Tour.d.mts +1 -3
- package/dist/components/Tour.d.ts +1 -3
- package/dist/components/Tour.js +3 -2
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +19 -2
- package/dist/components/Transfer.d.ts +19 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/Upload.d.mts +1 -1
- package/dist/components/Upload.d.ts +1 -1
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.d.mts +11 -0
- package/dist/components/VirtualList.d.ts +11 -0
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +30 -0
- package/dist/components/VirtualTable.d.ts +30 -0
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +134 -134
- package/dist/index.d.ts +134 -134
- package/dist/index.js +80 -80
- package/dist/index.mjs +79 -79
- package/package.json +6 -6
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-R6WFL6NI.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/FileManager.ts
|
|
6
|
-
import { defineComponent, h, ref, computed } from "vue";
|
|
6
|
+
import { defineComponent, h, ref, computed, nextTick } from "vue";
|
|
7
7
|
import {
|
|
8
8
|
classNames,
|
|
9
9
|
coerceClassValue,
|
|
@@ -14,7 +14,9 @@ import {
|
|
|
14
14
|
resolveFileOpen,
|
|
15
15
|
sliceBreadcrumbPath,
|
|
16
16
|
toFileDragItem,
|
|
17
|
+
applyFileDragReorder,
|
|
17
18
|
formatFileSizeLabel,
|
|
19
|
+
getFileManagerLabels,
|
|
18
20
|
fileManagerToolbarClasses,
|
|
19
21
|
fileManagerBreadcrumbClasses,
|
|
20
22
|
fileManagerBreadcrumbItemClasses,
|
|
@@ -43,6 +45,10 @@ var FileManager = defineComponent({
|
|
|
43
45
|
default: () => []
|
|
44
46
|
},
|
|
45
47
|
multiple: { type: Boolean, default: false },
|
|
48
|
+
columns: {
|
|
49
|
+
type: Array,
|
|
50
|
+
default: void 0
|
|
51
|
+
},
|
|
46
52
|
sortField: {
|
|
47
53
|
type: String,
|
|
48
54
|
default: "name"
|
|
@@ -70,12 +76,48 @@ var FileManager = defineComponent({
|
|
|
70
76
|
"navigate",
|
|
71
77
|
"update:currentPath",
|
|
72
78
|
"update:searchText",
|
|
73
|
-
"update:selectedKeys"
|
|
79
|
+
"update:selectedKeys",
|
|
80
|
+
"update:files",
|
|
81
|
+
"reorder"
|
|
74
82
|
],
|
|
75
83
|
setup(props, { emit, attrs }) {
|
|
76
84
|
const config = useTigerConfig();
|
|
77
85
|
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
86
|
+
const labels = computed(() => getFileManagerLabels(mergedLocale.value));
|
|
78
87
|
const localSearch = ref(props.searchText);
|
|
88
|
+
const focusedIndex = ref(0);
|
|
89
|
+
const contentRef = ref(null);
|
|
90
|
+
let dragFromIndex = null;
|
|
91
|
+
function handleDragStart(event, item, index) {
|
|
92
|
+
if (!props.draggable || item.disabled) return;
|
|
93
|
+
dragFromIndex = index;
|
|
94
|
+
if (event.dataTransfer) {
|
|
95
|
+
event.dataTransfer.effectAllowed = "move";
|
|
96
|
+
event.dataTransfer.setData("text/plain", String(toFileDragItem(item, index).id));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function handleDragOver(event) {
|
|
100
|
+
if (!props.draggable || dragFromIndex === null) return;
|
|
101
|
+
event.preventDefault();
|
|
102
|
+
if (event.dataTransfer) event.dataTransfer.dropEffect = "move";
|
|
103
|
+
}
|
|
104
|
+
function handleDrop(event, toIndex) {
|
|
105
|
+
if (!props.draggable) return;
|
|
106
|
+
const fromIndex = dragFromIndex;
|
|
107
|
+
dragFromIndex = null;
|
|
108
|
+
if (fromIndex === null || fromIndex === toIndex) return;
|
|
109
|
+
event.preventDefault();
|
|
110
|
+
const items = model.value.processedItems;
|
|
111
|
+
const reordered = applyFileDragReorder(items, {
|
|
112
|
+
item: toFileDragItem(items[fromIndex], fromIndex),
|
|
113
|
+
fromIndex,
|
|
114
|
+
toIndex,
|
|
115
|
+
fromContainerId: "",
|
|
116
|
+
toContainerId: ""
|
|
117
|
+
});
|
|
118
|
+
emit("reorder", reordered, fromIndex, toIndex);
|
|
119
|
+
emit("update:files", reordered);
|
|
120
|
+
}
|
|
79
121
|
const model = computed(
|
|
80
122
|
() => deriveFileManagerModel({
|
|
81
123
|
files: props.files,
|
|
@@ -111,6 +153,80 @@ var FileManager = defineComponent({
|
|
|
111
153
|
emit("update:currentPath", newPath);
|
|
112
154
|
emit("navigate", newPath);
|
|
113
155
|
}
|
|
156
|
+
function getFirstEnabledIndex() {
|
|
157
|
+
return model.value.processedItems.findIndex((item) => !item.disabled);
|
|
158
|
+
}
|
|
159
|
+
function getLastEnabledIndex() {
|
|
160
|
+
for (let index = model.value.processedItems.length - 1; index >= 0; index -= 1) {
|
|
161
|
+
if (!model.value.processedItems[index]?.disabled) {
|
|
162
|
+
return index;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return -1;
|
|
166
|
+
}
|
|
167
|
+
function getFocusedItemIndex() {
|
|
168
|
+
return focusedIndex.value >= 0 && !model.value.processedItems[focusedIndex.value]?.disabled ? focusedIndex.value : getFirstEnabledIndex();
|
|
169
|
+
}
|
|
170
|
+
function focusItemAt(index) {
|
|
171
|
+
nextTick(() => {
|
|
172
|
+
contentRef.value?.querySelector(`[data-option-index="${index}"]`)?.focus();
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
function moveFocus(current, direction) {
|
|
176
|
+
if (model.value.processedItems.length === 0) return;
|
|
177
|
+
let next = current;
|
|
178
|
+
for (let i = 0; i < model.value.processedItems.length; i += 1) {
|
|
179
|
+
next = (next + direction + model.value.processedItems.length) % model.value.processedItems.length;
|
|
180
|
+
if (!model.value.processedItems[next]?.disabled) {
|
|
181
|
+
focusedIndex.value = next;
|
|
182
|
+
focusItemAt(next);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
function handleItemKeydown(event, item, index) {
|
|
188
|
+
switch (event.key) {
|
|
189
|
+
case "ArrowDown":
|
|
190
|
+
case "ArrowRight":
|
|
191
|
+
event.preventDefault();
|
|
192
|
+
moveFocus(index, 1);
|
|
193
|
+
return;
|
|
194
|
+
case "ArrowUp":
|
|
195
|
+
case "ArrowLeft":
|
|
196
|
+
event.preventDefault();
|
|
197
|
+
moveFocus(index, -1);
|
|
198
|
+
return;
|
|
199
|
+
case "Home": {
|
|
200
|
+
event.preventDefault();
|
|
201
|
+
const first = getFirstEnabledIndex();
|
|
202
|
+
if (first >= 0) {
|
|
203
|
+
focusedIndex.value = first;
|
|
204
|
+
focusItemAt(first);
|
|
205
|
+
}
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
case "End": {
|
|
209
|
+
event.preventDefault();
|
|
210
|
+
const last = getLastEnabledIndex();
|
|
211
|
+
if (last >= 0) {
|
|
212
|
+
focusedIndex.value = last;
|
|
213
|
+
focusItemAt(last);
|
|
214
|
+
}
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
case " ":
|
|
218
|
+
event.preventDefault();
|
|
219
|
+
handleSelect(item);
|
|
220
|
+
return;
|
|
221
|
+
case "Enter":
|
|
222
|
+
event.preventDefault();
|
|
223
|
+
handleSelect(item);
|
|
224
|
+
handleOpen(item);
|
|
225
|
+
return;
|
|
226
|
+
default:
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
114
230
|
return () => {
|
|
115
231
|
const breadcrumbItems = [
|
|
116
232
|
h(
|
|
@@ -119,7 +235,7 @@ var FileManager = defineComponent({
|
|
|
119
235
|
class: fileManagerBreadcrumbItemClasses,
|
|
120
236
|
onClick: () => navigateToBreadcrumb(0)
|
|
121
237
|
},
|
|
122
|
-
|
|
238
|
+
labels.value.rootText
|
|
123
239
|
),
|
|
124
240
|
...props.currentPath.flatMap((seg, i) => [
|
|
125
241
|
h("span", { class: fileManagerBreadcrumbSeparatorClasses }, "/"),
|
|
@@ -165,10 +281,13 @@ var FileManager = defineComponent({
|
|
|
165
281
|
const renderItem = (item, index) => {
|
|
166
282
|
const isSelected = model.value.selectedSet.has(item.key);
|
|
167
283
|
const itemClass = getFileItemClasses(props.viewMode, isSelected);
|
|
284
|
+
const focusedItem = getFocusedItemIndex();
|
|
168
285
|
const nameEl = h("span", { class: fileManagerItemNameClasses }, item.name);
|
|
286
|
+
const metaColumns = props.columns ?? ["size", "modified"];
|
|
169
287
|
const metaEls = props.viewMode === "list" ? [
|
|
170
|
-
|
|
171
|
-
item.
|
|
288
|
+
metaColumns.includes("type") ? h("span", { class: fileManagerItemMetaClasses }, item.extension ?? item.type) : null,
|
|
289
|
+
metaColumns.includes("size") && item.size !== void 0 ? h("span", { class: fileManagerItemMetaClasses }, formatFileSizeLabel(item.size)) : null,
|
|
290
|
+
metaColumns.includes("modified") && item.modified ? h("span", { class: fileManagerItemMetaClasses }, item.modified) : null
|
|
172
291
|
] : [];
|
|
173
292
|
const dragItem = props.draggable && !item.disabled ? toFileDragItem(item, index) : void 0;
|
|
174
293
|
return h(
|
|
@@ -178,11 +297,20 @@ var FileManager = defineComponent({
|
|
|
178
297
|
class: itemClass,
|
|
179
298
|
role: "option",
|
|
180
299
|
"aria-selected": isSelected,
|
|
300
|
+
tabindex: !item.disabled && index === focusedItem ? 0 : -1,
|
|
301
|
+
"data-option-index": index,
|
|
181
302
|
"data-disabled": item.disabled || void 0,
|
|
303
|
+
onFocus: () => {
|
|
304
|
+
if (!item.disabled) focusedIndex.value = index;
|
|
305
|
+
},
|
|
306
|
+
onKeydown: (event) => handleItemKeydown(event, item, index),
|
|
182
307
|
onClick: () => handleSelect(item),
|
|
183
308
|
onDblclick: () => handleOpen(item),
|
|
184
309
|
draggable: props.draggable && !item.disabled,
|
|
185
|
-
"data-drag-id": dragItem?.id
|
|
310
|
+
"data-drag-id": dragItem?.id,
|
|
311
|
+
onDragstart: (event) => handleDragStart(event, item, index),
|
|
312
|
+
onDragover: handleDragOver,
|
|
313
|
+
onDrop: (event) => handleDrop(event, index)
|
|
186
314
|
},
|
|
187
315
|
[fileIcon(item), nameEl, ...metaEls]
|
|
188
316
|
);
|
|
@@ -190,7 +318,12 @@ var FileManager = defineComponent({
|
|
|
190
318
|
const contentClass = props.viewMode === "grid" ? `${fileManagerContentClasses} grid grid-cols-4 gap-2` : fileManagerContentClasses;
|
|
191
319
|
const content = model.value.processedItems.length > 0 ? h(
|
|
192
320
|
"div",
|
|
193
|
-
{
|
|
321
|
+
{
|
|
322
|
+
ref: contentRef,
|
|
323
|
+
class: contentClass,
|
|
324
|
+
role: "listbox",
|
|
325
|
+
"aria-multiselectable": props.multiple
|
|
326
|
+
},
|
|
194
327
|
model.value.processedItems.map(renderItem)
|
|
195
328
|
) : h(
|
|
196
329
|
"div",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkW34IV4ECjs = require('./chunk-W34IV4EC.js');
|
|
4
4
|
|
|
5
5
|
// src/components/DropdownItem.ts
|
|
6
6
|
var _vue = require('vue');
|
|
@@ -47,7 +47,7 @@ var DropdownItem = _vue.defineComponent.call(void 0, {
|
|
|
47
47
|
const attrsRecord = attrs;
|
|
48
48
|
const attrsClass = attrsRecord.class;
|
|
49
49
|
const attrsStyle = attrsRecord.style;
|
|
50
|
-
const context = _vue.inject.call(void 0,
|
|
50
|
+
const context = _vue.inject.call(void 0, _chunkW34IV4ECjs.DropdownContextKey, null);
|
|
51
51
|
const handleClick = (event) => {
|
|
52
52
|
if (props.disabled) {
|
|
53
53
|
event.preventDefault();
|
|
@@ -49,6 +49,17 @@ var QRCode = defineComponent({
|
|
|
49
49
|
);
|
|
50
50
|
const mSize = moduleSize.value;
|
|
51
51
|
const modules = matrix.value;
|
|
52
|
+
const ariaLabel = resolveLocaleText("QR Code", mergedLocale.value?.qrcode?.ariaLabel);
|
|
53
|
+
const expiredText = resolveLocaleText(
|
|
54
|
+
"QR code expired",
|
|
55
|
+
mergedLocale.value?.qrcode?.expiredText
|
|
56
|
+
);
|
|
57
|
+
const refreshText = resolveLocaleText("Refresh", mergedLocale.value?.qrcode?.refreshText);
|
|
58
|
+
const loadingText = resolveLocaleText(
|
|
59
|
+
"Loading...",
|
|
60
|
+
mergedLocale.value?.qrcode?.loadingText,
|
|
61
|
+
mergedLocale.value?.common?.loadingText
|
|
62
|
+
);
|
|
52
63
|
const rects = modules.flatMap(
|
|
53
64
|
(row, r) => row.map(
|
|
54
65
|
(cell, c) => cell ? h("rect", {
|
|
@@ -69,7 +80,7 @@ var QRCode = defineComponent({
|
|
|
69
80
|
viewBox: `0 0 ${props.size} ${props.size}`,
|
|
70
81
|
xmlns: "http://www.w3.org/2000/svg",
|
|
71
82
|
role: "img",
|
|
72
|
-
"aria-label":
|
|
83
|
+
"aria-label": ariaLabel
|
|
73
84
|
},
|
|
74
85
|
[h("rect", { width: props.size, height: props.size, fill: props.bgColor }), ...rects]
|
|
75
86
|
);
|
|
@@ -77,14 +88,14 @@ var QRCode = defineComponent({
|
|
|
77
88
|
if (props.status === "expired") {
|
|
78
89
|
children.push(
|
|
79
90
|
h("div", { class: qrcodeOverlayClasses }, [
|
|
80
|
-
h("span", { class: qrcodeExpiredTextClasses },
|
|
91
|
+
h("span", { class: qrcodeExpiredTextClasses }, expiredText),
|
|
81
92
|
h(
|
|
82
93
|
"span",
|
|
83
94
|
{
|
|
84
95
|
class: qrcodeRefreshClasses,
|
|
85
96
|
onClick: () => emit("refresh")
|
|
86
97
|
},
|
|
87
|
-
|
|
98
|
+
refreshText
|
|
88
99
|
)
|
|
89
100
|
])
|
|
90
101
|
);
|
|
@@ -92,11 +103,7 @@ var QRCode = defineComponent({
|
|
|
92
103
|
if (props.status === "loading") {
|
|
93
104
|
children.push(
|
|
94
105
|
h("div", { class: qrcodeOverlayClasses }, [
|
|
95
|
-
h(
|
|
96
|
-
"span",
|
|
97
|
-
{ class: "text-sm text-gray-500" },
|
|
98
|
-
resolveLocaleText("Loading...", mergedLocale.value?.common?.loadingText)
|
|
99
|
-
)
|
|
106
|
+
h("span", { class: "text-sm text-gray-500" }, loadingText)
|
|
100
107
|
])
|
|
101
108
|
);
|
|
102
109
|
}
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
getGestureTouchPoint,
|
|
26
26
|
resolveSwipeGesture,
|
|
27
27
|
isKeyActive,
|
|
28
|
+
getNextActiveKey,
|
|
28
29
|
tabAddButtonClasses,
|
|
29
30
|
tabCloseButtonClasses,
|
|
30
31
|
tabContentBaseClasses
|
|
@@ -132,6 +133,7 @@ var TabPane = defineComponent({
|
|
|
132
133
|
}
|
|
133
134
|
};
|
|
134
135
|
const handleClose = (event) => {
|
|
136
|
+
event.stopPropagation();
|
|
135
137
|
if (!props.disabled) {
|
|
136
138
|
tabsContext.handleTabClose(props.tabKey, event);
|
|
137
139
|
}
|
|
@@ -157,10 +159,8 @@ var TabPane = defineComponent({
|
|
|
157
159
|
return;
|
|
158
160
|
}
|
|
159
161
|
const tabList = event.currentTarget?.closest('[role="tablist"]');
|
|
160
|
-
const tabButtons = Array.from(
|
|
161
|
-
|
|
162
|
-
);
|
|
163
|
-
const enabled = tabButtons.filter((button) => !button.disabled);
|
|
162
|
+
const tabButtons = Array.from(tabList?.querySelectorAll('[role="tab"]') ?? []);
|
|
163
|
+
const enabled = tabButtons.filter((button) => button.getAttribute("aria-disabled") !== "true");
|
|
164
164
|
const currentIndex = enabled.findIndex((button) => button.id === props.tabId);
|
|
165
165
|
if (currentIndex === -1) {
|
|
166
166
|
return;
|
|
@@ -194,17 +194,15 @@ var TabPane = defineComponent({
|
|
|
194
194
|
return () => {
|
|
195
195
|
if (props.renderMode === "tab") {
|
|
196
196
|
return h(
|
|
197
|
-
"
|
|
197
|
+
"div",
|
|
198
198
|
{
|
|
199
|
-
type: "button",
|
|
200
199
|
class: tabItemClasses.value,
|
|
201
200
|
role: "tab",
|
|
202
201
|
id: props.tabId,
|
|
203
202
|
"aria-controls": props.panelId,
|
|
204
203
|
"aria-selected": isActive.value,
|
|
205
204
|
"aria-disabled": props.disabled,
|
|
206
|
-
disabled: props.
|
|
207
|
-
tabindex: typeof props.tabIndex === "number" ? props.tabIndex : isActive.value ? 0 : -1,
|
|
205
|
+
tabindex: props.disabled ? -1 : typeof props.tabIndex === "number" ? props.tabIndex : isActive.value ? 0 : -1,
|
|
208
206
|
"data-tiger-tabs-id": tabsContext.idBase,
|
|
209
207
|
"data-tiger-tab-key": typeof props.tabKey === "number" ? `n:${props.tabKey}` : `s:${props.tabKey}`,
|
|
210
208
|
onClick: handleClick,
|
|
@@ -214,9 +212,9 @@ var TabPane = defineComponent({
|
|
|
214
212
|
props.icon && h("span", { class: "flex items-center" }, props.icon),
|
|
215
213
|
h("span", props.label),
|
|
216
214
|
isClosable.value && h(
|
|
217
|
-
"
|
|
215
|
+
"button",
|
|
218
216
|
{
|
|
219
|
-
|
|
217
|
+
type: "button",
|
|
220
218
|
class: tabCloseButtonClasses,
|
|
221
219
|
"aria-label": `Close ${String(props.label)}`,
|
|
222
220
|
tabindex: -1,
|
|
@@ -363,6 +361,7 @@ var Tabs = defineComponent({
|
|
|
363
361
|
const idBase = `tiger-tabs-${instance?.uid ?? "0"}`;
|
|
364
362
|
const internalActiveKey = ref(props.defaultActiveKey);
|
|
365
363
|
const swipeStart = ref(null);
|
|
364
|
+
let lastTabKeys = [];
|
|
366
365
|
const currentActiveKey = computed(() => {
|
|
367
366
|
return props.activeKey !== void 0 ? props.activeKey : internalActiveKey.value;
|
|
368
367
|
});
|
|
@@ -377,6 +376,9 @@ var Tabs = defineComponent({
|
|
|
377
376
|
};
|
|
378
377
|
const handleTabClose = (key, event) => {
|
|
379
378
|
event.stopPropagation();
|
|
379
|
+
if (props.activeKey === void 0 && key === currentActiveKey.value) {
|
|
380
|
+
internalActiveKey.value = getNextActiveKey(key, currentActiveKey.value, lastTabKeys);
|
|
381
|
+
}
|
|
380
382
|
emit("edit", { targetKey: key, action: "remove" });
|
|
381
383
|
};
|
|
382
384
|
const activateAdjacentTab = (direction, enabledTabKeys) => {
|
|
@@ -480,6 +482,7 @@ var Tabs = defineComponent({
|
|
|
480
482
|
if (props.activeKey === void 0 && internalActiveKey.value === void 0 && firstTabKey !== void 0) {
|
|
481
483
|
internalActiveKey.value = firstTabKey;
|
|
482
484
|
}
|
|
485
|
+
lastTabKeys = tabKeys;
|
|
483
486
|
const resolvedActiveKey = currentActiveKey.value ?? firstTabKey;
|
|
484
487
|
const activeTabIndex = tabKeys.indexOf(resolvedActiveKey ?? "");
|
|
485
488
|
for (const { type, props: childProps, children: childChildren } of validChildren) {
|
|
@@ -154,6 +154,7 @@ var Form = defineComponent({
|
|
|
154
154
|
validate: (fieldName, isValid, _errorMessage) => typeof fieldName === "string" && typeof isValid === "boolean"
|
|
155
155
|
},
|
|
156
156
|
setup(props, { slots, emit, expose }) {
|
|
157
|
+
const initialValues = { ...props.model ?? {} };
|
|
157
158
|
const errors = reactive([]);
|
|
158
159
|
const fieldRules = reactive({});
|
|
159
160
|
const fieldConditions = reactive({});
|
|
@@ -350,6 +351,13 @@ var Form = defineComponent({
|
|
|
350
351
|
const resetFields = () => {
|
|
351
352
|
validationDebouncer.cancel();
|
|
352
353
|
clearValidate();
|
|
354
|
+
if (props.model) {
|
|
355
|
+
Object.keys(props.model).forEach((key) => delete props.model[key]);
|
|
356
|
+
Object.assign(props.model, { ...initialValues });
|
|
357
|
+
}
|
|
358
|
+
if (props.undoable) {
|
|
359
|
+
history.value = createFormHistory({ ...initialValues }, props.maxHistorySize);
|
|
360
|
+
}
|
|
353
361
|
};
|
|
354
362
|
const addField = (fieldName, defaultValue) => {
|
|
355
363
|
if (props.model && fieldName) {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
// src/components/ChartTooltip.ts
|
|
2
2
|
import { defineComponent, h, computed, ref, watch, Teleport } from "vue";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
classNames,
|
|
5
|
+
getChartTooltipTransform,
|
|
6
|
+
resolveChartTooltipPosition
|
|
7
|
+
} from "@expcat/tigercat-core";
|
|
4
8
|
var ChartTooltip = defineComponent({
|
|
5
9
|
name: "TigerChartTooltip",
|
|
6
10
|
props: {
|
|
@@ -31,25 +35,24 @@ var ChartTooltip = defineComponent({
|
|
|
31
35
|
() => [props.x, props.y, props.visible],
|
|
32
36
|
(_value, _oldValue, onCleanup) => {
|
|
33
37
|
if (!props.visible) return;
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
const initialPosition = resolveChartTooltipPosition({
|
|
39
|
+
x: props.x,
|
|
40
|
+
y: props.y,
|
|
41
|
+
rect: { width: 0, height: 0 },
|
|
42
|
+
viewport: { width: window.innerWidth, height: window.innerHeight }
|
|
43
|
+
});
|
|
36
44
|
const frameHandle = requestAnimationFrame(() => {
|
|
37
45
|
if (!tooltipRef.value) return;
|
|
38
46
|
const rect = tooltipRef.value.getBoundingClientRect();
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
y = props.y - rect.height - 8;
|
|
46
|
-
}
|
|
47
|
-
x = Math.max(8, x);
|
|
48
|
-
y = Math.max(8, y);
|
|
49
|
-
adjustedPosition.value = { x, y };
|
|
47
|
+
adjustedPosition.value = resolveChartTooltipPosition({
|
|
48
|
+
x: props.x,
|
|
49
|
+
y: props.y,
|
|
50
|
+
rect,
|
|
51
|
+
viewport: { width: window.innerWidth, height: window.innerHeight }
|
|
52
|
+
});
|
|
50
53
|
});
|
|
51
54
|
onCleanup(() => cancelAnimationFrame(frameHandle));
|
|
52
|
-
adjustedPosition.value =
|
|
55
|
+
adjustedPosition.value = initialPosition;
|
|
53
56
|
},
|
|
54
57
|
{ immediate: true }
|
|
55
58
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2RCBEBBRjs = require('./chunk-2RCBEBBR.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
@@ -251,7 +251,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
|
|
|
251
251
|
};
|
|
252
252
|
return () => {
|
|
253
253
|
const stepsNodes = props.steps.map(
|
|
254
|
-
(step, index) => _vue.h.call(void 0,
|
|
254
|
+
(step, index) => _vue.h.call(void 0, _chunk2RCBEBBRjs.StepsItem, {
|
|
255
255
|
key: _nullishCoalesce(step.key, () => ( index)),
|
|
256
256
|
title: step.title,
|
|
257
257
|
description: step.description,
|
|
@@ -281,7 +281,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
|
|
|
281
281
|
[
|
|
282
282
|
props.showSteps && props.steps.length > 0 ? _vue.h.call(void 0, "div", { class: stepsHeaderClass }, [
|
|
283
283
|
_vue.h.call(void 0,
|
|
284
|
-
|
|
284
|
+
_chunk2RCBEBBRjs.Steps,
|
|
285
285
|
{
|
|
286
286
|
current: currentIndex.value,
|
|
287
287
|
direction: props.direction,
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var _chunkJCMGBKS6js = require('./chunk-JCMGBKS6.js');
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
7
|
+
|
|
5
8
|
// src/components/DatePicker.ts
|
|
6
9
|
var _vue = require('vue');
|
|
7
10
|
|
|
@@ -48,6 +51,19 @@ var CalendarIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.
|
|
|
48
51
|
var CloseIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.CloseIconPath, "w-4 h-4");
|
|
49
52
|
var ChevronLeftIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.ChevronLeftIconPath, "w-5 h-5");
|
|
50
53
|
var ChevronRightIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.ChevronRightIconPath, "w-5 h-5");
|
|
54
|
+
function normalizeDatePickerLocale(locale) {
|
|
55
|
+
if (!locale) return void 0;
|
|
56
|
+
if (typeof locale === "string") return { locale };
|
|
57
|
+
if ("datePicker" in locale) return locale;
|
|
58
|
+
const preset = locale;
|
|
59
|
+
return {
|
|
60
|
+
locale: hasDatePickerLocaleCode(preset) ? preset.locale : void 0,
|
|
61
|
+
datePicker: preset
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function hasDatePickerLocaleCode(locale) {
|
|
65
|
+
return typeof locale.locale === "string";
|
|
66
|
+
}
|
|
51
67
|
var isDateLike = (value) => value === null || value instanceof Date || typeof value === "string";
|
|
52
68
|
var isModelValue = (value) => {
|
|
53
69
|
if (isDateLike(value)) return true;
|
|
@@ -201,7 +217,11 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
201
217
|
return isModelValue(value);
|
|
202
218
|
},
|
|
203
219
|
/**
|
|
204
|
-
*
|
|
220
|
+
* Convenience event emitted alongside `update:modelValue` on every value
|
|
221
|
+
* change. This is an intentional, non-v-model event (the idiomatic Vue
|
|
222
|
+
* pattern); it always carries the same normalized value as
|
|
223
|
+
* `update:modelValue`. Prefer `v-model` for two-way binding and use
|
|
224
|
+
* `@change` only for side effects.
|
|
205
225
|
*/
|
|
206
226
|
change: (value) => {
|
|
207
227
|
return isModelValue(value);
|
|
@@ -212,6 +232,7 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
212
232
|
clear: () => true
|
|
213
233
|
},
|
|
214
234
|
setup(props, { emit, attrs }) {
|
|
235
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
215
236
|
const isOpen = _vue.ref.call(void 0, false);
|
|
216
237
|
const calendarRef = _vue.ref.call(void 0, null);
|
|
217
238
|
const mobileCalendarRef = _vue.ref.call(void 0, null);
|
|
@@ -234,7 +255,10 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
234
255
|
});
|
|
235
256
|
const minDateParsed = _vue.computed.call(void 0, () => _tigercatcore.parseDate.call(void 0, props.minDate));
|
|
236
257
|
const maxDateParsed = _vue.computed.call(void 0, () => _tigercatcore.parseDate.call(void 0, props.maxDate));
|
|
237
|
-
const
|
|
258
|
+
const mergedLocale = _vue.computed.call(void 0,
|
|
259
|
+
() => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, normalizeDatePickerLocale(props.locale))
|
|
260
|
+
);
|
|
261
|
+
const localeCode = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLocaleCode.call(void 0, mergedLocale.value));
|
|
238
262
|
const viewingMonth = _vue.ref.call(void 0,
|
|
239
263
|
_nullishCoalesce(_optionalChain([(_nullishCoalesce(selectedDate.value, () => ( selectedRange.value[0]))), 'optionalAccess', _2 => _2.getMonth, 'call', _3 => _3()]), () => ( (/* @__PURE__ */ new Date()).getMonth()))
|
|
240
264
|
);
|
|
@@ -268,7 +292,7 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
268
292
|
const isRtl = _vue.computed.call(void 0, () => _tigercatcore.getLocaleDirection.call(void 0, localeCode.value) === "rtl");
|
|
269
293
|
const previousMonthIcon = _vue.computed.call(void 0, () => isRtl.value ? ChevronRightIcon : ChevronLeftIcon);
|
|
270
294
|
const nextMonthIcon = _vue.computed.call(void 0, () => isRtl.value ? ChevronLeftIcon : ChevronRightIcon);
|
|
271
|
-
const labels = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLabels.call(void 0,
|
|
295
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLabels.call(void 0, mergedLocale.value, props.labels));
|
|
272
296
|
const mobileDate = _vue.computed.call(void 0, () => {
|
|
273
297
|
if (!isRangeMode.value) return _nullishCoalesce(selectedDate.value, () => ( _tigercatcore.normalizeDate.call(void 0, /* @__PURE__ */ new Date())));
|
|
274
298
|
const [start, end] = selectedRange.value;
|
|
@@ -417,7 +441,18 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
417
441
|
}
|
|
418
442
|
function handleShortcut(shortcut) {
|
|
419
443
|
const val = typeof shortcut.value === "function" ? shortcut.value() : shortcut.value;
|
|
420
|
-
|
|
444
|
+
if (!isRangeMode.value) {
|
|
445
|
+
const date = val instanceof Date ? _tigercatcore.normalizeDate.call(void 0, val) : val ? _tigercatcore.normalizeDate.call(void 0, _tigercatcore.parseDate.call(void 0, val)) : null;
|
|
446
|
+
emitValue(date);
|
|
447
|
+
} else {
|
|
448
|
+
const range = val;
|
|
449
|
+
if (range && Array.isArray(range)) {
|
|
450
|
+
emitValue([
|
|
451
|
+
range[0] ? _tigercatcore.normalizeDate.call(void 0, range[0] instanceof Date ? range[0] : _tigercatcore.parseDate.call(void 0, range[0])) : null,
|
|
452
|
+
range[1] ? _tigercatcore.normalizeDate.call(void 0, range[1] instanceof Date ? range[1] : _tigercatcore.parseDate.call(void 0, range[1])) : null
|
|
453
|
+
]);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
421
456
|
closeCalendar();
|
|
422
457
|
}
|
|
423
458
|
function selectDate(date) {
|
|
@@ -719,10 +754,6 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
719
754
|
]),
|
|
720
755
|
// Calendar grid
|
|
721
756
|
(() => {
|
|
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
757
|
return _vue.h.call(void 0,
|
|
727
758
|
"div",
|
|
728
759
|
{
|
|
@@ -734,41 +765,39 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
734
765
|
[
|
|
735
766
|
...calendarDays.value.map((date, index) => {
|
|
736
767
|
if (!date) return null;
|
|
737
|
-
const
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
const isDisabled = isDateDisabled(date) || Boolean(isBeforeRangeStart);
|
|
746
|
-
const iso = _tigercatcore.formatDate.call(void 0, date, "yyyy-MM-dd");
|
|
768
|
+
const cell = _tigercatcore.getDatePickerCalendarCellState.call(void 0, {
|
|
769
|
+
date,
|
|
770
|
+
selectedDate: selectedDate.value,
|
|
771
|
+
selectedRange: selectedRange.value,
|
|
772
|
+
isRangeMode: isRangeMode.value,
|
|
773
|
+
isCurrentMonth,
|
|
774
|
+
isDateDisabled
|
|
775
|
+
});
|
|
747
776
|
return _vue.h.call(void 0,
|
|
748
777
|
"button",
|
|
749
778
|
{
|
|
750
779
|
key: index,
|
|
751
780
|
type: "button",
|
|
752
781
|
class: _tigercatcore.getDatePickerDayCellClasses.call(void 0,
|
|
753
|
-
isCurrentMonthDay,
|
|
754
|
-
isSelected,
|
|
755
|
-
isTodayDay,
|
|
756
|
-
isDisabled,
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
782
|
+
cell.isCurrentMonthDay,
|
|
783
|
+
cell.isSelected,
|
|
784
|
+
cell.isTodayDay,
|
|
785
|
+
cell.isDisabled,
|
|
786
|
+
cell.isInRange,
|
|
787
|
+
cell.isRangeStart,
|
|
788
|
+
cell.isRangeEnd
|
|
760
789
|
),
|
|
761
|
-
disabled: isDisabled,
|
|
790
|
+
disabled: cell.isDisabled,
|
|
762
791
|
onClick: () => selectDate(date),
|
|
763
792
|
role: "gridcell",
|
|
764
|
-
"data-date": iso,
|
|
793
|
+
"data-date": cell.iso,
|
|
765
794
|
onFocus: () => {
|
|
766
|
-
activeDateIso.value = iso;
|
|
795
|
+
activeDateIso.value = cell.iso;
|
|
767
796
|
},
|
|
768
|
-
tabindex: activeDateIso.value === iso && !isDisabled ? 0 : -1,
|
|
769
|
-
"aria-label": iso,
|
|
770
|
-
"aria-selected": isSelected,
|
|
771
|
-
"aria-current": isTodayDay ? "date" : void 0
|
|
797
|
+
tabindex: activeDateIso.value === cell.iso && !cell.isDisabled ? 0 : -1,
|
|
798
|
+
"aria-label": cell.iso,
|
|
799
|
+
"aria-selected": cell.isSelected,
|
|
800
|
+
"aria-current": cell.isTodayDay ? "date" : void 0
|
|
772
801
|
},
|
|
773
802
|
date.getDate()
|
|
774
803
|
);
|