@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,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; }
|
|
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
4
|
var _chunkJCMGBKS6js = require('./chunk-JCMGBKS6.js');
|
|
@@ -33,6 +33,14 @@ var _tigercatcore = require('@expcat/tigercat-core');
|
|
|
33
33
|
var MESSAGE_CONTAINER_ID = "tiger-message-container";
|
|
34
34
|
var MESSAGE_CLOSE_ARIA_LABEL = "Close message";
|
|
35
35
|
var MESSAGE_CONTAINER_ROOT_ID = `${MESSAGE_CONTAINER_ID}-root`;
|
|
36
|
+
var MESSAGE_POSITIONS = [
|
|
37
|
+
"top",
|
|
38
|
+
"top-left",
|
|
39
|
+
"top-right",
|
|
40
|
+
"bottom",
|
|
41
|
+
"bottom-left",
|
|
42
|
+
"bottom-right"
|
|
43
|
+
];
|
|
36
44
|
var messageInstances = _vue.ref.call(void 0, []);
|
|
37
45
|
var IS_TEST_ENV = (() => {
|
|
38
46
|
const proc = globalThis.process;
|
|
@@ -46,6 +54,10 @@ var MessageContainer = _vue.defineComponent.call(void 0, {
|
|
|
46
54
|
position: {
|
|
47
55
|
type: String,
|
|
48
56
|
default: "top"
|
|
57
|
+
},
|
|
58
|
+
messages: {
|
|
59
|
+
type: Array,
|
|
60
|
+
default: () => []
|
|
49
61
|
}
|
|
50
62
|
},
|
|
51
63
|
setup(props) {
|
|
@@ -111,20 +123,33 @@ var MessageContainer = _vue.defineComponent.call(void 0, {
|
|
|
111
123
|
"div",
|
|
112
124
|
{
|
|
113
125
|
class: containerClasses.value,
|
|
114
|
-
id: MESSAGE_CONTAINER_ID
|
|
126
|
+
id: props.position === "top" ? MESSAGE_CONTAINER_ID : `${MESSAGE_CONTAINER_ID}-${props.position}`,
|
|
115
127
|
"aria-live": "polite",
|
|
116
128
|
"aria-relevant": "additions",
|
|
129
|
+
"data-tiger-message-position": props.position,
|
|
117
130
|
"data-tiger-message-container": ""
|
|
118
131
|
},
|
|
119
|
-
IS_TEST_ENV ?
|
|
120
|
-
_vue.TransitionGroup,
|
|
121
|
-
{ name: "message" },
|
|
122
|
-
() => messageInstances.value.map(renderMessageItem)
|
|
123
|
-
)
|
|
132
|
+
IS_TEST_ENV ? props.messages.map(renderMessageItem) : _vue.h.call(void 0, _vue.TransitionGroup, { name: "message" }, () => props.messages.map(renderMessageItem))
|
|
124
133
|
)
|
|
125
134
|
);
|
|
126
135
|
}
|
|
127
136
|
});
|
|
137
|
+
var MessageHost = _vue.defineComponent.call(void 0, {
|
|
138
|
+
name: "TigerMessageHost",
|
|
139
|
+
setup() {
|
|
140
|
+
return () => MESSAGE_POSITIONS.map((position) => {
|
|
141
|
+
const positionedMessages = messageInstances.value.filter(
|
|
142
|
+
(message) => message.position === position
|
|
143
|
+
);
|
|
144
|
+
if (positionedMessages.length === 0) return null;
|
|
145
|
+
return _vue.h.call(void 0, MessageContainer, {
|
|
146
|
+
key: position,
|
|
147
|
+
position,
|
|
148
|
+
messages: positionedMessages
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
});
|
|
128
153
|
function ensureContainer() {
|
|
129
154
|
if (!_tigercatcore.isBrowser.call(void 0, )) {
|
|
130
155
|
return;
|
|
@@ -142,7 +167,7 @@ function ensureContainer() {
|
|
|
142
167
|
rootEl.id = MESSAGE_CONTAINER_ROOT_ID;
|
|
143
168
|
document.body.appendChild(rootEl);
|
|
144
169
|
}
|
|
145
|
-
containerApp = _vue.createApp.call(void 0,
|
|
170
|
+
containerApp = _vue.createApp.call(void 0, MessageHost);
|
|
146
171
|
containerApp.mount(rootEl);
|
|
147
172
|
}
|
|
148
173
|
function addMessage(config) {
|
|
@@ -155,7 +180,8 @@ function addMessage(config) {
|
|
|
155
180
|
closable: config.closable || false,
|
|
156
181
|
onClose: config.onClose,
|
|
157
182
|
icon: config.icon,
|
|
158
|
-
className: config.className
|
|
183
|
+
className: config.className,
|
|
184
|
+
position: _nullishCoalesce(config.position, () => ( "top"))
|
|
159
185
|
};
|
|
160
186
|
messageInstances.value.push(instance);
|
|
161
187
|
ensureContainer();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/components/AvatarGroup.ts
|
|
2
|
-
import { defineComponent, h, provide } from "vue";
|
|
2
|
+
import { defineComponent, h, provide, reactive, watch } from "vue";
|
|
3
3
|
import {
|
|
4
4
|
coerceClassValue,
|
|
5
5
|
getAvatarGroupClasses,
|
|
@@ -28,10 +28,17 @@ var AvatarGroup = defineComponent({
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(props, { slots, attrs }) {
|
|
31
|
-
|
|
31
|
+
const groupContext = reactive({
|
|
32
32
|
size: props.size,
|
|
33
33
|
itemClass: getAvatarGroupItemClasses()
|
|
34
34
|
});
|
|
35
|
+
watch(
|
|
36
|
+
() => props.size,
|
|
37
|
+
(size) => {
|
|
38
|
+
groupContext.size = size;
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
provide(AVATAR_GROUP_INJECTION_KEY, groupContext);
|
|
35
42
|
return () => {
|
|
36
43
|
const children = slots.default?.() ?? [];
|
|
37
44
|
const flatChildren = children.flatMap(
|
|
@@ -1,4 +1,8 @@
|
|
|
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; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkDYSLYJ2Wjs = require('./chunk-DYSLYJ2W.js');
|
|
4
|
+
|
|
5
|
+
// src/components/Input.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -133,6 +137,12 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
133
137
|
},
|
|
134
138
|
setup(props, { emit, attrs, slots }) {
|
|
135
139
|
_tigercatcore.injectShakeStyle.call(void 0, );
|
|
140
|
+
const instance = _vue.getCurrentInstance.call(void 0, );
|
|
141
|
+
const inputGroup = _vue.inject.call(void 0, _chunkDYSLYJ2Wjs.INPUT_GROUP_INJECTION_KEY, null);
|
|
142
|
+
const effectiveSize = _vue.computed.call(void 0, () => {
|
|
143
|
+
const hasOwnSize = Object.prototype.hasOwnProperty.call(_nullishCoalesce(_optionalChain([instance, 'optionalAccess', _ => _.vnode, 'access', _2 => _2.props]), () => ( {})), "size");
|
|
144
|
+
return hasOwnSize ? props.size : _nullishCoalesce(_optionalChain([inputGroup, 'optionalAccess', _3 => _3.size]), () => ( props.size));
|
|
145
|
+
});
|
|
136
146
|
const inputRef = _vue.ref.call(void 0, null);
|
|
137
147
|
const wrapperRef = _vue.ref.call(void 0, null);
|
|
138
148
|
const localValue = _vue.ref.call(void 0, _nullishCoalesce(props.modelValue, () => ( "")));
|
|
@@ -157,7 +167,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
157
167
|
}
|
|
158
168
|
});
|
|
159
169
|
const handleAnimationEnd = () => {
|
|
160
|
-
_optionalChain([wrapperRef, 'access',
|
|
170
|
+
_optionalChain([wrapperRef, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.classList, 'access', _6 => _6.remove, 'call', _7 => _7(_tigercatcore.SHAKE_CLASS)]);
|
|
161
171
|
};
|
|
162
172
|
const hasPrefix = _vue.computed.call(void 0, () => !!slots.prefix || !!props.prefix);
|
|
163
173
|
const hasSuffix = _vue.computed.call(void 0,
|
|
@@ -166,7 +176,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
166
176
|
const activeError = _vue.computed.call(void 0, () => props.status === "error" && !!props.errorMessage);
|
|
167
177
|
const inputClasses = _vue.computed.call(void 0,
|
|
168
178
|
() => _tigercatcore.getInputClasses.call(void 0, {
|
|
169
|
-
size:
|
|
179
|
+
size: effectiveSize.value,
|
|
170
180
|
status: props.status,
|
|
171
181
|
hasPrefix: hasPrefix.value,
|
|
172
182
|
hasSuffix: hasSuffix.value
|
|
@@ -192,7 +202,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
192
202
|
localValue.value = "";
|
|
193
203
|
emit("update:modelValue", "");
|
|
194
204
|
emit("clear");
|
|
195
|
-
_optionalChain([inputRef, 'access',
|
|
205
|
+
_optionalChain([inputRef, 'access', _8 => _8.value, 'optionalAccess', _9 => _9.focus, 'call', _10 => _10()]);
|
|
196
206
|
};
|
|
197
207
|
const togglePasswordVisibility = () => {
|
|
198
208
|
passwordVisible.value = !passwordVisible.value;
|
|
@@ -205,7 +215,11 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
205
215
|
const suffixNodes = [];
|
|
206
216
|
if (activeError.value) {
|
|
207
217
|
suffixNodes.push(
|
|
208
|
-
_vue.h.call(void 0,
|
|
218
|
+
_vue.h.call(void 0,
|
|
219
|
+
"div",
|
|
220
|
+
{ id: errorMsgId, class: _tigercatcore.getInputErrorClasses.call(void 0, effectiveSize.value) },
|
|
221
|
+
props.errorMessage
|
|
222
|
+
)
|
|
209
223
|
);
|
|
210
224
|
} else {
|
|
211
225
|
if (showClear) {
|
|
@@ -214,7 +228,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
214
228
|
"button",
|
|
215
229
|
{
|
|
216
230
|
type: "button",
|
|
217
|
-
class: _tigercatcore.getInputClearButtonClasses.call(void 0,
|
|
231
|
+
class: _tigercatcore.getInputClearButtonClasses.call(void 0, effectiveSize.value),
|
|
218
232
|
onClick: handleClear,
|
|
219
233
|
"aria-label": "Clear input",
|
|
220
234
|
tabindex: -1
|
|
@@ -229,7 +243,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
229
243
|
"button",
|
|
230
244
|
{
|
|
231
245
|
type: "button",
|
|
232
|
-
class: _tigercatcore.getInputPasswordToggleClasses.call(void 0,
|
|
246
|
+
class: _tigercatcore.getInputPasswordToggleClasses.call(void 0, effectiveSize.value),
|
|
233
247
|
onClick: togglePasswordVisibility,
|
|
234
248
|
"aria-label": passwordVisible.value ? "Hide password" : "Show password",
|
|
235
249
|
tabindex: -1
|
|
@@ -242,7 +256,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
242
256
|
suffixNodes.push(
|
|
243
257
|
_vue.h.call(void 0,
|
|
244
258
|
"div",
|
|
245
|
-
{ class: _tigercatcore.getInputAffixClasses.call(void 0, "suffix",
|
|
259
|
+
{ class: _tigercatcore.getInputAffixClasses.call(void 0, "suffix", effectiveSize.value) },
|
|
246
260
|
slots.suffix ? slots.suffix() : props.suffix
|
|
247
261
|
)
|
|
248
262
|
);
|
|
@@ -251,7 +265,7 @@ var Input = _vue.defineComponent.call(void 0, {
|
|
|
251
265
|
const wrapperChildren = [
|
|
252
266
|
hasPrefix.value && _vue.h.call(void 0,
|
|
253
267
|
"div",
|
|
254
|
-
{ class: _tigercatcore.getInputAffixClasses.call(void 0, "prefix",
|
|
268
|
+
{ class: _tigercatcore.getInputAffixClasses.call(void 0, "prefix", effectiveSize.value) },
|
|
255
269
|
slots.prefix ? slots.prefix() : props.prefix
|
|
256
270
|
),
|
|
257
271
|
_vue.h.call(void 0, "input", {
|
|
@@ -10,6 +10,8 @@ import {
|
|
|
10
10
|
countLines,
|
|
11
11
|
generateLineNumbers,
|
|
12
12
|
handleTabKey,
|
|
13
|
+
getActiveLineIndex,
|
|
14
|
+
getCodeEditorActiveLineClasses,
|
|
13
15
|
codeEditorTextareaClasses,
|
|
14
16
|
codeEditorHighlightClasses
|
|
15
17
|
} from "@expcat/tigercat-core";
|
|
@@ -49,6 +51,12 @@ var CodeEditor = defineComponent({
|
|
|
49
51
|
setup(props, { emit, attrs }) {
|
|
50
52
|
const internalValue = ref(props.defaultValue || "");
|
|
51
53
|
const textareaRef = ref(null);
|
|
54
|
+
const activeLine = ref(0);
|
|
55
|
+
const updateActiveLine = () => {
|
|
56
|
+
const ta = textareaRef.value;
|
|
57
|
+
if (!ta) return;
|
|
58
|
+
activeLine.value = getActiveLineIndex(ta.value, ta.selectionStart);
|
|
59
|
+
};
|
|
52
60
|
const code = computed(() => props.value !== void 0 ? props.value : internalValue.value);
|
|
53
61
|
watch(
|
|
54
62
|
() => props.value,
|
|
@@ -77,10 +85,12 @@ var CodeEditor = defineComponent({
|
|
|
77
85
|
return s;
|
|
78
86
|
});
|
|
79
87
|
const onInput = (e) => {
|
|
80
|
-
const
|
|
88
|
+
const target = e.target;
|
|
89
|
+
const val = target.value;
|
|
81
90
|
internalValue.value = val;
|
|
82
91
|
emit("update:value", val);
|
|
83
92
|
emit("change", val);
|
|
93
|
+
activeLine.value = getActiveLineIndex(val, target.selectionStart);
|
|
84
94
|
};
|
|
85
95
|
const onKeyDown = (e) => {
|
|
86
96
|
if (e.key === "Tab") {
|
|
@@ -98,11 +108,18 @@ var CodeEditor = defineComponent({
|
|
|
98
108
|
}
|
|
99
109
|
};
|
|
100
110
|
const renderHighlightedLine = (line, lineIndex) => {
|
|
111
|
+
const showActiveLine = props.highlightActiveLine && !props.disabled;
|
|
112
|
+
const isActive = showActiveLine && lineIndex === activeLine.value;
|
|
113
|
+
const lineClass = classNames(
|
|
114
|
+
"min-h-[1.625rem]",
|
|
115
|
+
isActive && getCodeEditorActiveLineClasses(props.theme)
|
|
116
|
+
);
|
|
101
117
|
const engine = props.highlighter;
|
|
102
118
|
if (engine?.highlightLine) {
|
|
103
119
|
return h("div", {
|
|
104
120
|
key: lineIndex,
|
|
105
|
-
class:
|
|
121
|
+
class: lineClass,
|
|
122
|
+
"data-active-line": isActive ? "" : void 0,
|
|
106
123
|
innerHTML: engine.highlightLine(line, props.language, props.theme) || (line === "" ? "\n" : "")
|
|
107
124
|
});
|
|
108
125
|
}
|
|
@@ -111,10 +128,11 @@ var CodeEditor = defineComponent({
|
|
|
111
128
|
const cls = getTokenClasses(token.type, props.theme);
|
|
112
129
|
return cls ? h("span", { class: cls, key: ti }, token.value) : token.value;
|
|
113
130
|
});
|
|
114
|
-
return h(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
131
|
+
return h(
|
|
132
|
+
"div",
|
|
133
|
+
{ key: lineIndex, class: lineClass, "data-active-line": isActive ? "" : void 0 },
|
|
134
|
+
[...spans, line === "" ? "\n" : null]
|
|
135
|
+
);
|
|
118
136
|
};
|
|
119
137
|
return () => {
|
|
120
138
|
const wrapClass = props.wordWrap ? "whitespace-pre-wrap break-all" : "";
|
|
@@ -143,6 +161,9 @@ var CodeEditor = defineComponent({
|
|
|
143
161
|
value: code.value,
|
|
144
162
|
onInput,
|
|
145
163
|
onKeydown: onKeyDown,
|
|
164
|
+
onSelect: updateActiveLine,
|
|
165
|
+
onClick: updateActiveLine,
|
|
166
|
+
onKeyup: updateActiveLine,
|
|
146
167
|
readonly: props.readOnly || props.disabled,
|
|
147
168
|
disabled: props.disabled,
|
|
148
169
|
placeholder: props.placeholder,
|
|
@@ -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');
|
|
@@ -295,6 +295,15 @@ var RadarChart = _vue.defineComponent.call(void 0, {
|
|
|
295
295
|
hoveredPoint.value = null;
|
|
296
296
|
handleHoverLeave();
|
|
297
297
|
};
|
|
298
|
+
const showPointTooltipFromElement = (el, seriesIndex, pointIndex) => {
|
|
299
|
+
if (!props.hoverable) return;
|
|
300
|
+
const rect = el.getBoundingClientRect();
|
|
301
|
+
hoveredPoint.value = { seriesIndex, pointIndex };
|
|
302
|
+
handleHoverEnter(seriesIndex, {
|
|
303
|
+
clientX: rect.left + rect.width / 2,
|
|
304
|
+
clientY: rect.top + rect.height / 2
|
|
305
|
+
});
|
|
306
|
+
};
|
|
298
307
|
const axisData = _vue.computed.call(void 0, () => {
|
|
299
308
|
if (props.series && props.series.length > 0) return _nullishCoalesce(_optionalChain([props, 'access', _2 => _2.series, 'access', _3 => _3[0], 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
300
309
|
return _nullishCoalesce(props.data, () => ( []));
|
|
@@ -678,13 +687,34 @@ var RadarChart = _vue.defineComponent.call(void 0, {
|
|
|
678
687
|
props.showTooltip && props.hoverable ? "cursor-pointer" : null,
|
|
679
688
|
"transition-[r] duration-150 ease-out"
|
|
680
689
|
),
|
|
690
|
+
role: props.showTooltip && props.hoverable ? "button" : "img",
|
|
691
|
+
"aria-label": _nullishCoalesce(point.data.label, () => ( String(point.data.value))),
|
|
692
|
+
tabindex: props.showTooltip && props.hoverable ? 0 : void 0,
|
|
681
693
|
"data-radar-point": "true",
|
|
682
694
|
"data-series-index": seriesIndex,
|
|
683
695
|
"data-series-key": item.seriesKey,
|
|
684
696
|
"data-point-index": point.index,
|
|
685
697
|
onMouseenter: props.showTooltip && props.hoverable ? (e) => handlePointEnter(seriesIndex, point.index, e) : void 0,
|
|
686
698
|
onMousemove: props.showTooltip && props.hoverable ? handlePointMove : void 0,
|
|
687
|
-
onMouseleave: props.showTooltip && props.hoverable ? handlePointLeave : void 0
|
|
699
|
+
onMouseleave: props.showTooltip && props.hoverable ? handlePointLeave : void 0,
|
|
700
|
+
onFocus: props.showTooltip && props.hoverable ? (e) => showPointTooltipFromElement(
|
|
701
|
+
e.currentTarget,
|
|
702
|
+
seriesIndex,
|
|
703
|
+
point.index
|
|
704
|
+
) : void 0,
|
|
705
|
+
onBlur: props.showTooltip && props.hoverable ? handlePointLeave : void 0,
|
|
706
|
+
onKeydown: props.showTooltip && props.hoverable ? (e) => {
|
|
707
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
708
|
+
e.preventDefault();
|
|
709
|
+
showPointTooltipFromElement(
|
|
710
|
+
e.currentTarget,
|
|
711
|
+
seriesIndex,
|
|
712
|
+
point.index
|
|
713
|
+
);
|
|
714
|
+
} else if (e.key === "Escape") {
|
|
715
|
+
handlePointLeave();
|
|
716
|
+
}
|
|
717
|
+
} : void 0
|
|
688
718
|
});
|
|
689
719
|
}) : null
|
|
690
720
|
]
|
|
@@ -723,7 +753,7 @@ var RadarChart = _vue.defineComponent.call(void 0, {
|
|
|
723
753
|
].filter(Boolean)
|
|
724
754
|
}
|
|
725
755
|
);
|
|
726
|
-
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0,
|
|
756
|
+
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
727
757
|
content: tooltipContent.value,
|
|
728
758
|
visible: hoveredPoint.value !== null && tooltipContent.value !== "",
|
|
729
759
|
x: tooltipPosition.value.x,
|
|
@@ -734,7 +764,7 @@ var RadarChart = _vue.defineComponent.call(void 0, {
|
|
|
734
764
|
}
|
|
735
765
|
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
736
766
|
chart,
|
|
737
|
-
_vue.h.call(void 0,
|
|
767
|
+
_vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
|
|
738
768
|
items: legendItems.value,
|
|
739
769
|
position: props.legendPosition,
|
|
740
770
|
markerSize: props.legendMarkerSize,
|
|
@@ -125,7 +125,7 @@ var Cascader = _vue.defineComponent.call(void 0, {
|
|
|
125
125
|
});
|
|
126
126
|
const flattenedOptions = _vue.computed.call(void 0, () => {
|
|
127
127
|
if (!props.showSearch) return [];
|
|
128
|
-
return _tigercatcore.flattenCascaderOptions.call(void 0, props.options);
|
|
128
|
+
return _tigercatcore.flattenCascaderOptions.call(void 0, props.options, [], [], props.changeOnSelect);
|
|
129
129
|
});
|
|
130
130
|
const searchResults = _vue.computed.call(void 0, () => {
|
|
131
131
|
if (!isSearchMode.value) return [];
|
|
@@ -338,7 +338,7 @@ var Cascader = _vue.defineComponent.call(void 0, {
|
|
|
338
338
|
}),
|
|
339
339
|
onClick: () => handleSearchResultClick(item.valuePath, item.disabled)
|
|
340
340
|
},
|
|
341
|
-
item.label
|
|
341
|
+
typeof props.showSearch === "object" && props.showSearch.render ? props.showSearch.render(searchQuery.value, item.path) : item.label
|
|
342
342
|
)
|
|
343
343
|
)
|
|
344
344
|
);
|
|
@@ -210,16 +210,20 @@ var MarkdownEditor = defineComponent({
|
|
|
210
210
|
"aria-label": "Markdown editor",
|
|
211
211
|
"aria-multiline": true
|
|
212
212
|
}) : null;
|
|
213
|
-
const previewNode = showPreview.value ? h(
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
213
|
+
const previewNode = showPreview.value ? h(
|
|
214
|
+
"div",
|
|
215
|
+
{
|
|
216
|
+
class: classNames(
|
|
217
|
+
markdownEditorPreviewClasses,
|
|
218
|
+
currentMode.value === "split" ? markdownEditorSplitDividerClasses : void 0,
|
|
219
|
+
!currentValue.value ? markdownEditorEmptyPreviewClasses : void 0
|
|
220
|
+
),
|
|
221
|
+
role: "region",
|
|
222
|
+
"aria-label": "Markdown preview",
|
|
223
|
+
...currentValue.value ? { innerHTML: previewHtml.value } : {}
|
|
224
|
+
},
|
|
225
|
+
currentValue.value ? void 0 : props.placeholder
|
|
226
|
+
) : null;
|
|
223
227
|
return h(
|
|
224
228
|
"div",
|
|
225
229
|
{
|
|
@@ -57,7 +57,9 @@ var ChartLegend = defineComponent({
|
|
|
57
57
|
{
|
|
58
58
|
class: containerClasses.value,
|
|
59
59
|
style: containerStyle.value,
|
|
60
|
-
|
|
60
|
+
// A group of toggle buttons is not a "list"; only use list semantics
|
|
61
|
+
// for the static (non-interactive) legend.
|
|
62
|
+
role: props.interactive ? "group" : "list",
|
|
61
63
|
"aria-label": "Chart legend",
|
|
62
64
|
"data-chart-legend": "true"
|
|
63
65
|
},
|
|
@@ -73,7 +75,10 @@ var ChartLegend = defineComponent({
|
|
|
73
75
|
props.interactive ? "cursor-pointer hover:text-[color:var(--tiger-text,#374151)] hover:bg-[var(--tiger-chart-legend-row-hover-bg,transparent)] transition-colors" : "cursor-default",
|
|
74
76
|
item.active === false ? "opacity-50" : void 0
|
|
75
77
|
),
|
|
76
|
-
role
|
|
78
|
+
// Interactive items are real buttons; `role="listitem"` would
|
|
79
|
+
// override the button role, so it is only set for the static legend.
|
|
80
|
+
role: props.interactive ? void 0 : "listitem",
|
|
81
|
+
"aria-pressed": props.interactive ? item.active !== false : void 0,
|
|
77
82
|
"data-legend-item": "true",
|
|
78
83
|
onClick: props.interactive ? () => handleClick(item) : void 0,
|
|
79
84
|
onMouseenter: props.interactive ? () => handleHover(item) : void 0,
|
|
@@ -91,7 +96,7 @@ var ChartLegend = defineComponent({
|
|
|
91
96
|
"aria-hidden": "true",
|
|
92
97
|
"data-legend-marker": "true"
|
|
93
98
|
}),
|
|
94
|
-
h("span",
|
|
99
|
+
h("span", null, item.label)
|
|
95
100
|
]
|
|
96
101
|
)
|
|
97
102
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/components/VirtualList.ts
|
|
2
|
-
import { defineComponent, h, ref, computed } from "vue";
|
|
2
|
+
import { defineComponent, h, ref, computed, onMounted, onUpdated } from "vue";
|
|
3
3
|
import {
|
|
4
4
|
virtualListContainerClasses,
|
|
5
5
|
virtualListInnerClasses,
|
|
@@ -24,12 +24,19 @@ var VirtualList = defineComponent({
|
|
|
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 = ref(0);
|
|
34
|
+
const measureVersion = ref(0);
|
|
32
35
|
const containerRef = ref(null);
|
|
36
|
+
const itemEls = /* @__PURE__ */ new Map();
|
|
37
|
+
const isDynamic = computed(
|
|
38
|
+
() => !props.sizeStrategy && !props.getItemHeight && props.estimatedItemHeight !== void 0
|
|
39
|
+
);
|
|
33
40
|
const strategy = computed(() => {
|
|
34
41
|
if (props.sizeStrategy) return props.sizeStrategy;
|
|
35
42
|
if (props.getItemHeight) {
|
|
@@ -40,9 +47,26 @@ var VirtualList = defineComponent({
|
|
|
40
47
|
}
|
|
41
48
|
return fixedSizeStrategy(props.itemHeight);
|
|
42
49
|
});
|
|
43
|
-
const range = computed(
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
const range = computed(() => {
|
|
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
|
+
onMounted(measureDynamic);
|
|
69
|
+
onUpdated(measureDynamic);
|
|
46
70
|
function handleScroll() {
|
|
47
71
|
if (containerRef.value) {
|
|
48
72
|
scrollTop.value = containerRef.value.scrollTop;
|
|
@@ -53,18 +77,24 @@ var VirtualList = defineComponent({
|
|
|
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 = slots.default?.({ index: i });
|
|
85
|
+
const index = i;
|
|
59
86
|
items.push(
|
|
60
87
|
h(
|
|
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, el.$el ?? el);
|
|
96
|
+
else itemEls.delete(index);
|
|
97
|
+
} : void 0
|
|
68
98
|
},
|
|
69
99
|
slotContent
|
|
70
100
|
)
|
|
@@ -75,7 +105,11 @@ var VirtualList = defineComponent({
|
|
|
75
105
|
"div",
|
|
76
106
|
{
|
|
77
107
|
ref: containerRef,
|
|
78
|
-
class: classNames(
|
|
108
|
+
class: classNames(
|
|
109
|
+
virtualListContainerClasses,
|
|
110
|
+
props.className,
|
|
111
|
+
coerceClassValue(attrs.class)
|
|
112
|
+
),
|
|
79
113
|
style: { height: `${props.height}px` },
|
|
80
114
|
onScroll: handleScroll
|
|
81
115
|
},
|
|
@@ -18,7 +18,10 @@ import {
|
|
|
18
18
|
getStepTitleClasses,
|
|
19
19
|
getStepDescriptionClasses,
|
|
20
20
|
getStepsContainerClasses,
|
|
21
|
-
calculateStepStatus
|
|
21
|
+
calculateStepStatus,
|
|
22
|
+
stepFinishIconViewBox,
|
|
23
|
+
stepFinishIconStrokeWidth,
|
|
24
|
+
stepFinishIconPathD
|
|
22
25
|
} from "@expcat/tigercat-core";
|
|
23
26
|
var StepsContextKey = /* @__PURE__ */ Symbol("StepsContext");
|
|
24
27
|
var StepsItem = defineComponent({
|
|
@@ -159,14 +162,14 @@ var StepsItem = defineComponent({
|
|
|
159
162
|
class: "w-4 h-4 shrink-0 transition-transform duration-300 animate-fade-in",
|
|
160
163
|
fill: "none",
|
|
161
164
|
stroke: "currentColor",
|
|
162
|
-
"stroke-width":
|
|
163
|
-
viewBox:
|
|
165
|
+
"stroke-width": stepFinishIconStrokeWidth,
|
|
166
|
+
viewBox: stepFinishIconViewBox
|
|
164
167
|
},
|
|
165
168
|
[
|
|
166
169
|
h("path", {
|
|
167
170
|
"stroke-linecap": "round",
|
|
168
171
|
"stroke-linejoin": "round",
|
|
169
|
-
d:
|
|
172
|
+
d: stepFinishIconPathD
|
|
170
173
|
})
|
|
171
174
|
]
|
|
172
175
|
)
|
|
@@ -18,7 +18,8 @@ import {
|
|
|
18
18
|
backTopContainerClasses,
|
|
19
19
|
backTopHiddenClasses,
|
|
20
20
|
backTopVisibleClasses,
|
|
21
|
-
backTopIconPath
|
|
21
|
+
backTopIconPath,
|
|
22
|
+
isBrowser
|
|
22
23
|
} from "@expcat/tigercat-core";
|
|
23
24
|
var DefaultIcon = h(
|
|
24
25
|
"svg",
|
|
@@ -51,7 +52,7 @@ var BackTop = defineComponent({
|
|
|
51
52
|
*/
|
|
52
53
|
target: {
|
|
53
54
|
type: Function,
|
|
54
|
-
default: () => window
|
|
55
|
+
default: () => isBrowser() ? window : null
|
|
55
56
|
},
|
|
56
57
|
/**
|
|
57
58
|
* Use immediate scroll when set to 0; positive values use native smooth scrolling
|
|
@@ -81,7 +82,8 @@ var BackTop = defineComponent({
|
|
|
81
82
|
emit("click", event);
|
|
82
83
|
};
|
|
83
84
|
onMounted(() => {
|
|
84
|
-
targetElement.value = props.target() ?? window;
|
|
85
|
+
targetElement.value = props.target() ?? (isBrowser() ? window : null);
|
|
86
|
+
if (!targetElement.value) return;
|
|
85
87
|
visibilityController = createBackTopVisibilityController({
|
|
86
88
|
target: targetElement.value,
|
|
87
89
|
getVisibilityHeight: () => props.visibilityHeight,
|
|
@@ -101,7 +103,7 @@ var BackTop = defineComponent({
|
|
|
101
103
|
visibilityController?.cancel();
|
|
102
104
|
});
|
|
103
105
|
const buttonClasses = computed(() => {
|
|
104
|
-
const target = targetElement.value ?? props.target();
|
|
106
|
+
const target = targetElement.value ?? (isBrowser() ? props.target() : null);
|
|
105
107
|
const isWindowTarget = !target || target === window;
|
|
106
108
|
const positionClasses = isWindowTarget ? backTopButtonClasses : backTopContainerClasses;
|
|
107
109
|
return classNames(
|
|
@@ -46,7 +46,7 @@ var Result = _vue.defineComponent.call(void 0, {
|
|
|
46
46
|
setup(props, { slots, attrs }) {
|
|
47
47
|
const colors = _vue.computed.call(void 0, () => _tigercatcore.getResultColorScheme.call(void 0, props.status));
|
|
48
48
|
const iconPath = _vue.computed.call(void 0, () => _tigercatcore.getResultIconPath.call(void 0, props.status));
|
|
49
|
-
const httpLabel = _vue.computed.call(void 0, () => _tigercatcore.
|
|
49
|
+
const httpLabel = _vue.computed.call(void 0, () => _tigercatcore.isHttpResultStatus.call(void 0, props.status) ? props.status : void 0);
|
|
50
50
|
const iconContainerClasses = _vue.computed.call(void 0,
|
|
51
51
|
() => _tigercatcore.classNames.call(void 0, _tigercatcore.resultIconContainerBaseClasses, colors.value.iconBg)
|
|
52
52
|
);
|