@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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QH3YF5B6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Radio
|
|
6
6
|
} from "./chunk-YZP4K6KI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Empty
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WLHOWOAY.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Checkbox
|
|
12
12
|
} from "./chunk-UKMOWUYH.mjs";
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
computed as computed2,
|
|
20
20
|
defineComponent,
|
|
21
|
+
getCurrentInstance,
|
|
21
22
|
h as h6,
|
|
22
23
|
onBeforeUnmount,
|
|
23
24
|
onMounted,
|
|
@@ -39,6 +40,7 @@ import {
|
|
|
39
40
|
getTableResponsiveCardListClasses,
|
|
40
41
|
getTableResponsiveTableClasses,
|
|
41
42
|
getTableVirtualRecommendation,
|
|
43
|
+
getTableVirtualWindow,
|
|
42
44
|
isLazyTigerLocale,
|
|
43
45
|
mergeTigerLocale,
|
|
44
46
|
resolveTigerLocale,
|
|
@@ -224,7 +226,7 @@ var tableEmits = [
|
|
|
224
226
|
import { computed, ref, watch } from "vue";
|
|
225
227
|
import {
|
|
226
228
|
sortData,
|
|
227
|
-
|
|
229
|
+
filterTableData,
|
|
228
230
|
paginateData,
|
|
229
231
|
calculatePagination,
|
|
230
232
|
createTableRowKeyCache,
|
|
@@ -233,7 +235,10 @@ import {
|
|
|
233
235
|
getFixedColumnOffsets,
|
|
234
236
|
filterHiddenColumns,
|
|
235
237
|
freezeTableColumnWidths,
|
|
236
|
-
orderTableFixedColumns
|
|
238
|
+
orderTableFixedColumns,
|
|
239
|
+
getNextTableSelectAllKeys,
|
|
240
|
+
getTableSelectionState,
|
|
241
|
+
hasTableSelectionColumn
|
|
237
242
|
} from "@expcat/tigercat-core";
|
|
238
243
|
import { exportTableData, downloadTableExport } from "@expcat/tigercat-core";
|
|
239
244
|
function useTableState(props, emit, measuredColumnWidths) {
|
|
@@ -387,7 +392,7 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
387
392
|
if (props.filterMode === "advanced" && (props.advancedFilterRules?.length ?? 0) > 0) {
|
|
388
393
|
data = filterDataAdvanced(data, props.advancedFilterRules ?? []);
|
|
389
394
|
} else {
|
|
390
|
-
data =
|
|
395
|
+
data = filterTableData(data, props.columns, filterState.value);
|
|
391
396
|
}
|
|
392
397
|
if (sortState.value.key && sortState.value.direction) {
|
|
393
398
|
const column = columnByKey.value[sortState.value.key];
|
|
@@ -414,7 +419,7 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
414
419
|
});
|
|
415
420
|
const totalColumnCount = computed(() => {
|
|
416
421
|
let count = displayColumns.value.length;
|
|
417
|
-
if (props.rowSelection) count += 1;
|
|
422
|
+
if (hasTableSelectionColumn(props.rowSelection)) count += 1;
|
|
418
423
|
if (props.expandable) count += 1;
|
|
419
424
|
return count;
|
|
420
425
|
});
|
|
@@ -534,29 +539,27 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
534
539
|
}
|
|
535
540
|
emit("selection-change", newKeys);
|
|
536
541
|
}
|
|
542
|
+
const selectionState = computed(
|
|
543
|
+
() => getTableSelectionState({
|
|
544
|
+
records: paginatedData.value,
|
|
545
|
+
rowKeys: paginatedRowKeys.value,
|
|
546
|
+
selectedRowKeys: selectedRowKeys.value,
|
|
547
|
+
getCheckboxProps: props.rowSelection?.getCheckboxProps
|
|
548
|
+
})
|
|
549
|
+
);
|
|
537
550
|
function handleSelectAll(checked) {
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
if (!isSelectionControlled.value) {
|
|
546
|
-
uncontrolledSelectedRowKeys.value = [];
|
|
547
|
-
}
|
|
548
|
-
emit("selection-change", []);
|
|
551
|
+
const nextKeys = getNextTableSelectAllKeys(
|
|
552
|
+
selectedRowKeys.value,
|
|
553
|
+
selectionState.value.selectableRowKeys,
|
|
554
|
+
checked
|
|
555
|
+
);
|
|
556
|
+
if (!isSelectionControlled.value) {
|
|
557
|
+
uncontrolledSelectedRowKeys.value = nextKeys;
|
|
549
558
|
}
|
|
559
|
+
emit("selection-change", nextKeys);
|
|
550
560
|
}
|
|
551
|
-
const allSelected = computed(() =>
|
|
552
|
-
|
|
553
|
-
return false;
|
|
554
|
-
}
|
|
555
|
-
return paginatedRowKeys.value.every((key) => selectedRowKeySet.value.has(key));
|
|
556
|
-
});
|
|
557
|
-
const someSelected = computed(() => {
|
|
558
|
-
return selectedRowKeys.value.length > 0 && !allSelected.value;
|
|
559
|
-
});
|
|
561
|
+
const allSelected = computed(() => selectionState.value.allSelected);
|
|
562
|
+
const someSelected = computed(() => selectionState.value.someSelected);
|
|
560
563
|
const editingCell = ref(null);
|
|
561
564
|
const editingValue = ref("");
|
|
562
565
|
function isCellEditable(columnKey, rowIndex) {
|
|
@@ -764,7 +767,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
764
767
|
const expandAtEnd = props.expandable && props.expandable.expandIconPosition === "end";
|
|
765
768
|
const expandHeaderTh = props.expandable ? h2("th", {
|
|
766
769
|
class: getExpandIconCellClasses(props.size),
|
|
767
|
-
"aria-label":
|
|
770
|
+
"aria-label": labels.expandText
|
|
768
771
|
}) : null;
|
|
769
772
|
if (expandAtStart && expandHeaderTh) {
|
|
770
773
|
headerCells.push(expandHeaderTh);
|
|
@@ -872,7 +875,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
872
875
|
onClick: (e) => e.stopPropagation()
|
|
873
876
|
},
|
|
874
877
|
[
|
|
875
|
-
h2("option", { value: "" },
|
|
878
|
+
h2("option", { value: "" }, labels.allText),
|
|
876
879
|
...column.filter.options.map(
|
|
877
880
|
(opt) => h2("option", { value: opt.value }, opt.label)
|
|
878
881
|
)
|
|
@@ -880,7 +883,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
880
883
|
) : h2("input", {
|
|
881
884
|
type: "text",
|
|
882
885
|
class: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
|
|
883
|
-
placeholder: column.filter.placeholder ||
|
|
886
|
+
placeholder: column.filter.placeholder || labels.filterPlaceholder,
|
|
884
887
|
onInput: (e) => ctx.handleFilter(column.key, e.target.value),
|
|
885
888
|
onClick: (e) => e.stopPropagation()
|
|
886
889
|
})
|
|
@@ -900,6 +903,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
900
903
|
import { h as h3 } from "vue";
|
|
901
904
|
import {
|
|
902
905
|
classNames as classNames2,
|
|
906
|
+
isActivationKey,
|
|
903
907
|
getTableRowClasses,
|
|
904
908
|
getTableCellClasses,
|
|
905
909
|
getTableFixedCellClasses,
|
|
@@ -914,7 +918,7 @@ import {
|
|
|
914
918
|
tableGroupHeaderClasses,
|
|
915
919
|
getGroupHeaderCellClasses
|
|
916
920
|
} from "@expcat/tigercat-core";
|
|
917
|
-
function renderTableBody(ctx, props, slots) {
|
|
921
|
+
function renderTableBody(ctx, props, slots, labels) {
|
|
918
922
|
if (props.loading) {
|
|
919
923
|
return null;
|
|
920
924
|
}
|
|
@@ -999,7 +1003,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
999
1003
|
{
|
|
1000
1004
|
type: "button",
|
|
1001
1005
|
class: "inline-flex items-center justify-center",
|
|
1002
|
-
"aria-label": isExpanded ?
|
|
1006
|
+
"aria-label": isExpanded ? labels.collapseRowAriaLabel : labels.expandRowAriaLabel,
|
|
1003
1007
|
"aria-expanded": isExpanded,
|
|
1004
1008
|
onClick: (e) => {
|
|
1005
1009
|
e.stopPropagation();
|
|
@@ -1098,6 +1102,16 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1098
1102
|
getTableRowClasses(props.hoverable, props.striped, index % 2 === 0, rowClass),
|
|
1099
1103
|
ctx.fixedColumnsInfo.value.hasFixedColumns && "group"
|
|
1100
1104
|
),
|
|
1105
|
+
"aria-selected": props.rowSelection ? isSelected : void 0,
|
|
1106
|
+
tabindex: props.interactiveRows ? 0 : void 0,
|
|
1107
|
+
// Delegated mouse click stays on tbody; add per-row keyboard activation.
|
|
1108
|
+
onKeydown: props.interactiveRows ? (e) => {
|
|
1109
|
+
if (e.target !== e.currentTarget) return;
|
|
1110
|
+
if (isActivationKey(e)) {
|
|
1111
|
+
e.preventDefault();
|
|
1112
|
+
ctx.handleRowClick(record, index, key);
|
|
1113
|
+
}
|
|
1114
|
+
} : void 0,
|
|
1101
1115
|
draggable: props.rowDraggable ? "true" : void 0
|
|
1102
1116
|
},
|
|
1103
1117
|
cells
|
|
@@ -1152,6 +1166,36 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1152
1166
|
}
|
|
1153
1167
|
return h3("tbody", delegatedBodyHandlers, groupRows);
|
|
1154
1168
|
}
|
|
1169
|
+
const vw = props.virtualWindow;
|
|
1170
|
+
if (vw && vw.endIndex >= vw.startIndex) {
|
|
1171
|
+
const windowed = [];
|
|
1172
|
+
if (vw.topPad > 0) {
|
|
1173
|
+
windowed.push(
|
|
1174
|
+
h3("tr", { key: "virtual-top", "aria-hidden": "true" }, [
|
|
1175
|
+
h3("td", {
|
|
1176
|
+
colspan: ctx.totalColumnCount.value,
|
|
1177
|
+
style: { height: `${vw.topPad}px`, padding: 0 }
|
|
1178
|
+
})
|
|
1179
|
+
])
|
|
1180
|
+
);
|
|
1181
|
+
}
|
|
1182
|
+
for (let index = vw.startIndex; index <= vw.endIndex; index++) {
|
|
1183
|
+
const result = renderDataRow(ctx.paginatedData.value[index], index);
|
|
1184
|
+
if (Array.isArray(result)) windowed.push(...result);
|
|
1185
|
+
else windowed.push(result);
|
|
1186
|
+
}
|
|
1187
|
+
if (vw.bottomPad > 0) {
|
|
1188
|
+
windowed.push(
|
|
1189
|
+
h3("tr", { key: "virtual-bottom", "aria-hidden": "true" }, [
|
|
1190
|
+
h3("td", {
|
|
1191
|
+
colspan: ctx.totalColumnCount.value,
|
|
1192
|
+
style: { height: `${vw.bottomPad}px`, padding: 0 }
|
|
1193
|
+
})
|
|
1194
|
+
])
|
|
1195
|
+
);
|
|
1196
|
+
}
|
|
1197
|
+
return h3("tbody", delegatedBodyHandlers, windowed);
|
|
1198
|
+
}
|
|
1155
1199
|
const rows = ctx.paginatedData.value.flatMap((record, index) => renderDataRow(record, index));
|
|
1156
1200
|
return h3("tbody", delegatedBodyHandlers, rows);
|
|
1157
1201
|
}
|
|
@@ -1287,6 +1331,7 @@ var Table = defineComponent({
|
|
|
1287
1331
|
emits: tableEmits,
|
|
1288
1332
|
setup(props, { emit, slots }) {
|
|
1289
1333
|
const config = useTigerConfig();
|
|
1334
|
+
const instance = getCurrentInstance();
|
|
1290
1335
|
const wrapperRef = ref2(null);
|
|
1291
1336
|
const tableRef = ref2(null);
|
|
1292
1337
|
const measuredColumnWidths = ref2({});
|
|
@@ -1398,9 +1443,19 @@ var Table = defineComponent({
|
|
|
1398
1443
|
const wrapperStyle = resolvedProps.maxHeight ? {
|
|
1399
1444
|
maxHeight: typeof resolvedProps.maxHeight === "number" ? `${resolvedProps.maxHeight}px` : resolvedProps.maxHeight
|
|
1400
1445
|
} : void 0;
|
|
1446
|
+
const virtualWindow = effectiveVirtual ? getTableVirtualWindow(
|
|
1447
|
+
ctx.virtualScrollTop.value,
|
|
1448
|
+
typeof resolvedProps.virtualHeight === "number" ? resolvedProps.virtualHeight : 400,
|
|
1449
|
+
resolvedProps.virtualItemHeight,
|
|
1450
|
+
ctx.paginatedData.value.length
|
|
1451
|
+
) : void 0;
|
|
1401
1452
|
const renderProps = {
|
|
1402
1453
|
...resolvedProps,
|
|
1403
|
-
emptyText: tableLabels.value.emptyText
|
|
1454
|
+
emptyText: tableLabels.value.emptyText,
|
|
1455
|
+
// Rows become keyboard-activable when a row-click listener is bound or
|
|
1456
|
+
// row selection is enabled (mirrors React's onRowClick/rowSelection).
|
|
1457
|
+
interactiveRows: !!resolvedProps.rowSelection || typeof instance?.vnode.props?.onRowClick === "function",
|
|
1458
|
+
virtualWindow
|
|
1404
1459
|
};
|
|
1405
1460
|
const shouldPinColumns = resolvedProps.columnLockable || ctx.fixedColumnsInfo.value.hasFixedColumns;
|
|
1406
1461
|
const colgroup = shouldPinColumns ? h6(
|
|
@@ -1421,7 +1476,7 @@ var Table = defineComponent({
|
|
|
1421
1476
|
const tableChildren = [
|
|
1422
1477
|
colgroup,
|
|
1423
1478
|
renderTableHeader(ctx, renderProps, slots, tableLabels.value),
|
|
1424
|
-
renderTableBody(ctx, renderProps, slots),
|
|
1479
|
+
renderTableBody(ctx, renderProps, slots, tableLabels.value),
|
|
1425
1480
|
renderSummaryRow(ctx, renderProps)
|
|
1426
1481
|
];
|
|
1427
1482
|
const tableInner = h6(
|
|
@@ -1769,9 +1824,9 @@ var Table = defineComponent({
|
|
|
1769
1824
|
type: "button",
|
|
1770
1825
|
class: tableExportButtonClasses,
|
|
1771
1826
|
onClick: ctx.handleExport,
|
|
1772
|
-
"aria-label": resolvedProps.exportFormat === "excel" ?
|
|
1827
|
+
"aria-label": resolvedProps.exportFormat === "excel" ? tableLabels.value.exportExcelAriaLabel : tableLabels.value.exportCsvAriaLabel
|
|
1773
1828
|
},
|
|
1774
|
-
resolvedProps.exportFormat === "excel" ?
|
|
1829
|
+
resolvedProps.exportFormat === "excel" ? tableLabels.value.exportExcelText : tableLabels.value.exportCsvText
|
|
1775
1830
|
)
|
|
1776
1831
|
]),
|
|
1777
1832
|
tableContent,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-R2HO74FE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HLPSHCXO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartSeries
|
|
9
9
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartTooltip
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G2LB4QCL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ChartAxis
|
|
15
15
|
} from "./chunk-ZWVA7HT3.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
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; }// src/components/VirtualList.ts
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/components/VirtualList.ts
|
|
2
2
|
var _vue = require('vue');
|
|
3
3
|
|
|
4
4
|
|
|
@@ -24,12 +24,19 @@ var VirtualList = _vue.defineComponent.call(void 0, {
|
|
|
24
24
|
default: void 0
|
|
25
25
|
},
|
|
26
26
|
height: { type: Number, default: 400 },
|
|
27
|
-
overscan: { type: Number, default: 5 }
|
|
27
|
+
overscan: { type: Number, default: 5 },
|
|
28
|
+
/** Custom class name (merged with the `class` attribute) */
|
|
29
|
+
className: { type: String, default: void 0 }
|
|
28
30
|
},
|
|
29
31
|
emits: ["scroll"],
|
|
30
32
|
setup(props, { emit, attrs, slots }) {
|
|
31
33
|
const scrollTop = _vue.ref.call(void 0, 0);
|
|
34
|
+
const measureVersion = _vue.ref.call(void 0, 0);
|
|
32
35
|
const containerRef = _vue.ref.call(void 0, null);
|
|
36
|
+
const itemEls = /* @__PURE__ */ new Map();
|
|
37
|
+
const isDynamic = _vue.computed.call(void 0,
|
|
38
|
+
() => !props.sizeStrategy && !props.getItemHeight && props.estimatedItemHeight !== void 0
|
|
39
|
+
);
|
|
33
40
|
const strategy = _vue.computed.call(void 0, () => {
|
|
34
41
|
if (props.sizeStrategy) return props.sizeStrategy;
|
|
35
42
|
if (props.getItemHeight) {
|
|
@@ -40,9 +47,26 @@ var VirtualList = _vue.defineComponent.call(void 0, {
|
|
|
40
47
|
}
|
|
41
48
|
return _tigercatcore.fixedSizeStrategy.call(void 0, props.itemHeight);
|
|
42
49
|
});
|
|
43
|
-
const range = _vue.computed.call(void 0,
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
const range = _vue.computed.call(void 0, () => {
|
|
51
|
+
void measureVersion.value;
|
|
52
|
+
return strategy.value.getRange(scrollTop.value, props.height, props.itemCount, props.overscan);
|
|
53
|
+
});
|
|
54
|
+
function measureDynamic() {
|
|
55
|
+
if (!isDynamic.value) return;
|
|
56
|
+
const strat = strategy.value;
|
|
57
|
+
if (!strat.updateItemHeight) return;
|
|
58
|
+
let changed = false;
|
|
59
|
+
itemEls.forEach((el, i) => {
|
|
60
|
+
const measured = el.offsetHeight;
|
|
61
|
+
if (measured > 0 && measured !== strat.getItemHeight(i)) {
|
|
62
|
+
strat.updateItemHeight(i, measured);
|
|
63
|
+
changed = true;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
if (changed) measureVersion.value += 1;
|
|
67
|
+
}
|
|
68
|
+
_vue.onMounted.call(void 0, measureDynamic);
|
|
69
|
+
_vue.onUpdated.call(void 0, measureDynamic);
|
|
46
70
|
function handleScroll() {
|
|
47
71
|
if (containerRef.value) {
|
|
48
72
|
scrollTop.value = containerRef.value.scrollTop;
|
|
@@ -53,18 +77,24 @@ var VirtualList = _vue.defineComponent.call(void 0, {
|
|
|
53
77
|
const { startIndex, endIndex, totalHeight } = range.value;
|
|
54
78
|
const currentStrategy = strategy.value;
|
|
55
79
|
const items = [];
|
|
80
|
+
const dynamic = isDynamic.value;
|
|
81
|
+
if (dynamic) itemEls.clear();
|
|
56
82
|
for (let i = startIndex; i <= endIndex; i++) {
|
|
57
83
|
const itemH = currentStrategy.getItemHeight(i);
|
|
58
84
|
const slotContent = _optionalChain([slots, 'access', _ => _.default, 'optionalCall', _2 => _2({ index: i })]);
|
|
85
|
+
const index = i;
|
|
59
86
|
items.push(
|
|
60
87
|
_vue.h.call(void 0,
|
|
61
88
|
"div",
|
|
62
89
|
{
|
|
63
|
-
key:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
90
|
+
key: index,
|
|
91
|
+
// Auto height in dynamic mode so real content height is measurable.
|
|
92
|
+
style: dynamic ? { width: "100%" } : { height: `${itemH}px`, width: "100%" },
|
|
93
|
+
ref: dynamic ? (el) => {
|
|
94
|
+
if (el)
|
|
95
|
+
itemEls.set(index, _nullishCoalesce(el.$el, () => ( el)));
|
|
96
|
+
else itemEls.delete(index);
|
|
97
|
+
} : void 0
|
|
68
98
|
},
|
|
69
99
|
slotContent
|
|
70
100
|
)
|
|
@@ -75,7 +105,11 @@ var VirtualList = _vue.defineComponent.call(void 0, {
|
|
|
75
105
|
"div",
|
|
76
106
|
{
|
|
77
107
|
ref: containerRef,
|
|
78
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
108
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
109
|
+
_tigercatcore.virtualListContainerClasses,
|
|
110
|
+
props.className,
|
|
111
|
+
_tigercatcore.coerceClassValue.call(void 0, attrs.class)
|
|
112
|
+
),
|
|
79
113
|
style: { height: `${props.height}px` },
|
|
80
114
|
onScroll: handleScroll
|
|
81
115
|
},
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunk2VOZFFW6js = require('./chunk-2VOZFFW6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkKLOUOXNAjs = require('./chunk-KLOUOXNA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkHBFFINAIjs = require('./chunk-HBFFINAI.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
|
|
@@ -219,7 +219,7 @@ var TreeMapChart = _vue.defineComponent.call(void 0, {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
);
|
|
222
|
-
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0,
|
|
222
|
+
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
223
223
|
content: tooltipContent.value,
|
|
224
224
|
visible: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
|
|
225
225
|
x: tooltipPosition.value.x,
|
|
@@ -230,7 +230,7 @@ var TreeMapChart = _vue.defineComponent.call(void 0, {
|
|
|
230
230
|
}
|
|
231
231
|
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
232
232
|
chart,
|
|
233
|
-
_vue.h.call(void 0,
|
|
233
|
+
_vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
|
|
234
234
|
items: legendItems.value,
|
|
235
235
|
position: props.legendPosition,
|
|
236
236
|
markerSize: props.legendMarkerSize,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VirtualList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HS4YQGZQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Input
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DZFM7H3M.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Empty
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WLHOWOAY.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Textarea
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2OI6GWOT.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Button
|
|
15
15
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Avatar
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XZYFVOOS.mjs";
|
|
19
19
|
|
|
20
20
|
// src/components/ChatWindow.ts
|
|
21
21
|
import { defineComponent, h, computed, ref, watch, onMounted, onUpdated } from "vue";
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
classNames,
|
|
24
24
|
coerceClassValue,
|
|
25
25
|
getChatMessageStatusInfo,
|
|
26
|
+
getChatStatusBarClasses,
|
|
26
27
|
formatChatTime,
|
|
27
28
|
mergeStyleValues
|
|
28
29
|
} from "@expcat/tigercat-core";
|
|
@@ -339,7 +340,7 @@ var ChatWindow = defineComponent({
|
|
|
339
340
|
props.statusText ? h(
|
|
340
341
|
"div",
|
|
341
342
|
{
|
|
342
|
-
class:
|
|
343
|
+
class: getChatStatusBarClasses(props.statusVariant)
|
|
343
344
|
},
|
|
344
345
|
props.statusText
|
|
345
346
|
) : null,
|
|
@@ -1,5 +1,8 @@
|
|
|
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
|
+
var _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
|
|
4
7
|
|
|
5
8
|
// src/components/GaugeChart.ts
|
|
@@ -30,6 +33,8 @@ var GaugeChart = _vue.defineComponent.call(void 0, {
|
|
|
30
33
|
showTicks: { type: Boolean, default: true },
|
|
31
34
|
tickCount: { type: Number, default: 5 },
|
|
32
35
|
valueFormatter: { type: Function },
|
|
36
|
+
tooltipFormatter: { type: Function },
|
|
37
|
+
showTooltip: { type: Boolean, default: true },
|
|
33
38
|
label: { type: String },
|
|
34
39
|
segments: {
|
|
35
40
|
type: Array
|
|
@@ -67,6 +72,26 @@ var GaugeChart = _vue.defineComponent.call(void 0, {
|
|
|
67
72
|
_vue.onBeforeUnmount.call(void 0, () => {
|
|
68
73
|
_optionalChain([animCtrl, 'optionalAccess', _3 => _3.stop, 'call', _4 => _4()]);
|
|
69
74
|
});
|
|
75
|
+
const wrapperRef = _vue.ref.call(void 0, null);
|
|
76
|
+
const tooltipState = _vue.ref.call(void 0, { visible: false, x: 0, y: 0 });
|
|
77
|
+
const handleTooltipMove = (e) => {
|
|
78
|
+
if (!props.showTooltip) return;
|
|
79
|
+
tooltipState.value = { visible: true, x: e.clientX, y: e.clientY };
|
|
80
|
+
};
|
|
81
|
+
const handleTooltipLeave = () => {
|
|
82
|
+
tooltipState.value = { ...tooltipState.value, visible: false };
|
|
83
|
+
};
|
|
84
|
+
const handleTooltipFocus = () => {
|
|
85
|
+
if (!props.showTooltip) return;
|
|
86
|
+
const rect = _optionalChain([wrapperRef, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.getBoundingClientRect, 'call', _7 => _7()]);
|
|
87
|
+
if (rect) {
|
|
88
|
+
tooltipState.value = {
|
|
89
|
+
visible: true,
|
|
90
|
+
x: rect.left + rect.width / 2,
|
|
91
|
+
y: rect.top + rect.height / 2
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
};
|
|
70
95
|
const ticks = _vue.computed.call(void 0,
|
|
71
96
|
() => props.showTicks ? _tigercatcore.computeGaugeTicks.call(void 0,
|
|
72
97
|
cx.value,
|
|
@@ -86,7 +111,7 @@ var GaugeChart = _vue.defineComponent.call(void 0, {
|
|
|
86
111
|
const aw = props.arcWidth;
|
|
87
112
|
const trackPath = _tigercatcore.createGaugeArcPath.call(void 0, c, cY, r, props.startAngle, props.endAngle, aw);
|
|
88
113
|
const valuePath = animatedAngle.value > props.startAngle ? _tigercatcore.createGaugeArcPath.call(void 0, c, cY, r, props.startAngle, animatedAngle.value, aw) : null;
|
|
89
|
-
const segmentArcs = _nullishCoalesce(_optionalChain([props, 'access',
|
|
114
|
+
const segmentArcs = _nullishCoalesce(_optionalChain([props, 'access', _8 => _8.segments, 'optionalAccess', _9 => _9.map, 'call', _10 => _10((seg, i) => {
|
|
90
115
|
const sStart = _tigercatcore.valueToGaugeAngle.call(void 0,
|
|
91
116
|
seg.range[0],
|
|
92
117
|
props.min,
|
|
@@ -110,7 +135,8 @@ var GaugeChart = _vue.defineComponent.call(void 0, {
|
|
|
110
135
|
})]), () => ( []));
|
|
111
136
|
const needlePath = _tigercatcore.createGaugeNeedlePath.call(void 0, c, cY, r - aw - 6, animatedAngle.value);
|
|
112
137
|
const formattedValue = props.valueFormatter ? props.valueFormatter(props.value) : `${props.value}`;
|
|
113
|
-
|
|
138
|
+
const tooltipContent = props.tooltipFormatter ? props.tooltipFormatter(props.value) : props.label ? `${props.label}: ${formattedValue}` : formattedValue;
|
|
139
|
+
const canvas = _vue.h.call(void 0,
|
|
114
140
|
_chunkUHVUKLHFjs.ChartCanvas,
|
|
115
141
|
{
|
|
116
142
|
width: props.width,
|
|
@@ -219,6 +245,29 @@ var GaugeChart = _vue.defineComponent.call(void 0, {
|
|
|
219
245
|
]
|
|
220
246
|
}
|
|
221
247
|
);
|
|
248
|
+
return _vue.h.call(void 0,
|
|
249
|
+
"div",
|
|
250
|
+
{
|
|
251
|
+
ref: wrapperRef,
|
|
252
|
+
class: "inline-block relative",
|
|
253
|
+
tabindex: props.showTooltip ? 0 : void 0,
|
|
254
|
+
role: "img",
|
|
255
|
+
"aria-label": props.label ? `${props.label}: ${formattedValue}` : formattedValue,
|
|
256
|
+
onMousemove: handleTooltipMove,
|
|
257
|
+
onMouseleave: handleTooltipLeave,
|
|
258
|
+
onFocus: handleTooltipFocus,
|
|
259
|
+
onBlur: handleTooltipLeave
|
|
260
|
+
},
|
|
261
|
+
[
|
|
262
|
+
canvas,
|
|
263
|
+
props.showTooltip ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
264
|
+
content: tooltipContent,
|
|
265
|
+
visible: tooltipState.value.visible && tooltipContent !== "",
|
|
266
|
+
x: tooltipState.value.x,
|
|
267
|
+
y: tooltipState.value.y
|
|
268
|
+
}) : null
|
|
269
|
+
]
|
|
270
|
+
);
|
|
222
271
|
};
|
|
223
272
|
}
|
|
224
273
|
});
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// src/components/FloatButton.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
defineComponent,
|
|
4
|
+
computed,
|
|
5
|
+
h,
|
|
6
|
+
ref,
|
|
7
|
+
provide,
|
|
8
|
+
inject,
|
|
9
|
+
Teleport
|
|
10
|
+
} from "vue";
|
|
3
11
|
import {
|
|
4
12
|
classNames,
|
|
5
13
|
coerceClassValue,
|
|
@@ -11,13 +19,14 @@ import {
|
|
|
11
19
|
floatButtonDisabledClasses,
|
|
12
20
|
floatButtonGroupClasses
|
|
13
21
|
} from "@expcat/tigercat-core";
|
|
22
|
+
var FloatButtonGroupShapeKey = /* @__PURE__ */ Symbol("FloatButtonGroupShape");
|
|
14
23
|
var FloatButton = defineComponent({
|
|
15
24
|
name: "TigerFloatButton",
|
|
16
25
|
inheritAttrs: false,
|
|
17
26
|
props: {
|
|
18
27
|
shape: {
|
|
19
28
|
type: String,
|
|
20
|
-
default:
|
|
29
|
+
default: void 0
|
|
21
30
|
},
|
|
22
31
|
size: {
|
|
23
32
|
type: String,
|
|
@@ -50,10 +59,17 @@ var FloatButton = defineComponent({
|
|
|
50
59
|
},
|
|
51
60
|
emits: ["click"],
|
|
52
61
|
setup(props, { slots, emit, attrs }) {
|
|
62
|
+
const groupShape = inject(
|
|
63
|
+
FloatButtonGroupShapeKey,
|
|
64
|
+
void 0
|
|
65
|
+
);
|
|
66
|
+
const resolvedShape = computed(
|
|
67
|
+
() => props.shape ?? groupShape?.value ?? "circle"
|
|
68
|
+
);
|
|
53
69
|
const classes = computed(
|
|
54
70
|
() => classNames(
|
|
55
71
|
floatButtonBaseClasses,
|
|
56
|
-
floatButtonShapeClasses[
|
|
72
|
+
floatButtonShapeClasses[resolvedShape.value],
|
|
57
73
|
floatButtonSizeClasses[props.size],
|
|
58
74
|
floatButtonTypeClasses[props.type],
|
|
59
75
|
props.disabled && floatButtonDisabledClasses,
|
|
@@ -115,6 +131,10 @@ var FloatButtonGroup = defineComponent({
|
|
|
115
131
|
setup(props, { slots, emit, attrs }) {
|
|
116
132
|
const internalOpen = ref(false);
|
|
117
133
|
const isOpen = computed(() => props.open ?? internalOpen.value);
|
|
134
|
+
provide(
|
|
135
|
+
FloatButtonGroupShapeKey,
|
|
136
|
+
computed(() => props.shape)
|
|
137
|
+
);
|
|
118
138
|
const toggle = () => {
|
|
119
139
|
const next = !isOpen.value;
|
|
120
140
|
internalOpen.value = next;
|