@expcat/tigercat-vue 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-EIH6ABOR.js → chunk-2FYVPPTD.js} +44 -15
- package/dist/{chunk-KY6AJRGT.mjs → chunk-2HRJGOAV.mjs} +4 -4
- package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-NCT5FXQB.js → chunk-2RCBEBBR.js} +6 -3
- package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
- package/dist/{chunk-NWS45JQP.mjs → chunk-4RK5BDGR.mjs} +58 -10
- package/dist/{chunk-RKZN3URO.js → chunk-55BSMMUN.js} +27 -6
- package/dist/{chunk-NHBN6VAY.mjs → chunk-57VPT3MN.mjs} +2 -2
- package/dist/{chunk-7VSNXYFM.mjs → chunk-5CHHWMES.mjs} +27 -9
- package/dist/chunk-5FTM7R3P.js +142 -0
- package/dist/{chunk-CGZPOI6H.js → chunk-5PVDNJA5.js} +12 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
- package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
- package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
- package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
- package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
- package/dist/{chunk-OTNVA2UT.js → chunk-7J7JIIHX.js} +28 -10
- package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-Z6MMA7ZE.js → chunk-7RMBEWN2.js} +2 -2
- package/dist/{chunk-SYTYUC67.js → chunk-AF7JZUTA.js} +2 -2
- package/dist/{chunk-3UQECWNL.mjs → chunk-ALFEFDVG.mjs} +103 -12
- package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
- package/dist/{chunk-WUEP3PFN.js → chunk-ANQRW442.js} +31 -8
- package/dist/{chunk-X5CFXNVK.js → chunk-APBWQGXW.js} +14 -10
- package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
- package/dist/{chunk-6FXYRDYH.js → chunk-AWXSJNNP.js} +22 -2
- package/dist/{chunk-ZOUJFFG4.js → chunk-AYQER5UD.js} +17 -14
- package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
- package/dist/{chunk-PGOTPYRG.js → chunk-BNUR72YP.js} +1 -0
- package/dist/{chunk-W5DLRGQL.js → chunk-BPJOIFND.js} +28 -19
- package/dist/{chunk-OKR3GRG5.mjs → chunk-BRGQXIKA.mjs} +58 -10
- package/dist/{chunk-QYSFZA5V.js → chunk-BV6XWFRF.js} +14 -7
- package/dist/{chunk-ODQOYMUQ.js → chunk-BYNTPLGC.js} +8 -1
- package/dist/{chunk-SVWZOIBI.js → chunk-BZ56UKUK.js} +4 -4
- package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
- package/dist/{chunk-RLPSCEBP.js → chunk-CFJST2X2.js} +98 -26
- package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
- package/dist/{chunk-DSNPEWYP.mjs → chunk-CIDINFA2.mjs} +31 -3
- package/dist/{chunk-WZRC7PJH.mjs → chunk-CVFXUYH2.mjs} +38 -5
- package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
- package/dist/{chunk-OUBJHKWX.js → chunk-D43IFX7J.js} +1 -4
- package/dist/{chunk-TXQEHRQB.js → chunk-D6Y3KVJF.js} +5 -1
- package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
- package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
- package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
- package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
- package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
- package/dist/{chunk-WGRNO4PB.js → chunk-GBYNY77G.js} +3 -3
- package/dist/{chunk-NTZ7LQTY.js → chunk-GJ5HJOQP.js} +61 -32
- package/dist/{chunk-QZQYKC2N.js → chunk-GV3LRZSR.js} +35 -9
- package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
- package/dist/{chunk-BYNMOQBB.js → chunk-H2XEJHGR.js} +23 -9
- package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
- package/dist/{chunk-FUI6WG2F.js → chunk-H7GAWNOW.js} +35 -5
- package/dist/{chunk-HMYVPBWI.js → chunk-HI45DI7S.js} +2 -2
- package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
- package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
- package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
- package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
- package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
- package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
- package/dist/{chunk-HZBE2RY4.js → chunk-J77GQQEC.js} +31 -3
- package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
- package/dist/{chunk-WYVA3JBH.js → chunk-JICPYKCT.js} +103 -12
- package/dist/{chunk-2MLORMN2.js → chunk-JMRR4KDB.js} +2 -2
- package/dist/{chunk-KDA4XDXT.js → chunk-K2NJI5MW.js} +2 -2
- package/dist/{chunk-ACYYQJ6M.js → chunk-KLOUOXNA.js} +8 -3
- package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
- package/dist/{chunk-PJ66WE62.js → chunk-KTNT2JHB.js} +143 -10
- package/dist/{chunk-KH2CF6JU.mjs → chunk-LGDJDBE3.mjs} +90 -35
- package/dist/{chunk-IKEZDGRO.mjs → chunk-LHZ5MRFQ.mjs} +2 -2
- package/dist/{chunk-5F6P5Y4K.js → chunk-LKRT27JW.js} +45 -11
- package/dist/{chunk-FP7SBCPO.js → chunk-LODEICSN.js} +4 -4
- package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
- package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
- package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
- package/dist/{chunk-M2ECZQ2D.mjs → chunk-MF7BKYGN.mjs} +27 -18
- package/dist/chunk-MNVMGJUF.js +341 -0
- package/dist/{chunk-LYF6AAQ7.js → chunk-MPVL53GP.js} +59 -5
- package/dist/{chunk-BHNBLQ5S.mjs → chunk-N2QGYEOQ.mjs} +17 -19
- package/dist/{chunk-SGXLMKMO.js → chunk-NQYE64IF.js} +15 -8
- package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
- package/dist/{chunk-DUMPRNDR.js → chunk-OQBWITHA.js} +17 -19
- package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
- package/dist/{chunk-RKL4Y7CW.mjs → chunk-OSPHI5TV.mjs} +110 -3
- package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-LG55VN6B.js → chunk-PFZFPN7M.js} +7 -7
- package/dist/{chunk-SJIW7SNA.js → chunk-PH6ERFC7.js} +22 -7
- package/dist/{chunk-Y3BQSELH.mjs → chunk-PJX2DHO5.mjs} +2 -2
- package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
- package/dist/{chunk-RFFPMC22.mjs → chunk-PMN2MQ26.mjs} +1 -1
- package/dist/{chunk-QAMXVTNN.mjs → chunk-QH3YF5B6.mjs} +95 -23
- package/dist/{chunk-FGM7KB2Q.js → chunk-QKJATAJP.js} +113 -6
- package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
- package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
- package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
- package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
- package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
- package/dist/{chunk-GY75BFAV.js → chunk-SOSHYDIX.js} +9 -9
- package/dist/{chunk-KN64NDJS.js → chunk-TCB3WFYM.js} +12 -11
- package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
- package/dist/{chunk-24CBIC75.js → chunk-TNKULOHK.js} +8 -0
- package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
- package/dist/{chunk-RPWKAGN5.mjs → chunk-TRN5PL5D.mjs} +2 -2
- package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
- package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
- package/dist/{chunk-NEVDRG6C.js → chunk-U5TSCS34.js} +5 -15
- package/dist/{chunk-SLYUQ67P.js → chunk-UKR3IJF3.js} +3 -1
- package/dist/{chunk-M5PGWW25.mjs → chunk-UTGFGMZT.mjs} +33 -3
- package/dist/chunk-V5ANPH5R.mjs +341 -0
- package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-RUXIQ5EP.js → chunk-VDKUKZS2.js} +110 -55
- package/dist/{chunk-ZQD2MCNX.mjs → chunk-VJJ7RAC6.mjs} +34 -8
- package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
- package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
- package/dist/{chunk-NHNJUBYZ.js → chunk-VXRFE72I.js} +38 -5
- package/dist/{chunk-OOS3QQFK.mjs → chunk-VYBRLIKF.mjs} +64 -35
- package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
- package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
- package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-J6YCXMVY.mjs → chunk-WSUCJHJX.mjs} +1 -1
- package/dist/{chunk-KY3O3FWK.mjs → chunk-WWB7VKKH.mjs} +24 -11
- package/dist/{chunk-GQAVLQEZ.mjs → chunk-X43QLJ5E.mjs} +1 -1
- package/dist/{chunk-ULUH6UNV.js → chunk-X73BZFBH.js} +4 -4
- package/dist/{chunk-KA7DILCI.js → chunk-X7PQRYUS.js} +61 -13
- package/dist/chunk-XFNHZ7SV.mjs +142 -0
- package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
- package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/{chunk-T5N2UHVP.js → chunk-YI25YL5W.js} +2 -2
- package/dist/{chunk-TAAHD4R7.js → chunk-YLMQZR6F.js} +36 -4
- package/dist/{chunk-WNYWWGNM.js → chunk-YMUYN4IR.js} +51 -11
- package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
- package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
- package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/Anchor.js +2 -2
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AnchorLink.js +3 -3
- package/dist/components/AnchorLink.mjs +1 -1
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +2 -2
- package/dist/components/AutoComplete.d.ts +2 -2
- package/dist/components/AutoComplete.js +2 -2
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Avatar.mjs +2 -2
- package/dist/components/AvatarGroup.js +2 -2
- package/dist/components/AvatarGroup.mjs +1 -1
- package/dist/components/BackTop.d.mts +2 -2
- package/dist/components/BackTop.d.ts +2 -2
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.d.mts +10 -1
- package/dist/components/Badge.d.ts +10 -1
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.js +2 -2
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.js +3 -3
- package/dist/components/BreadcrumbItem.mjs +1 -1
- package/dist/components/Calendar.d.mts +16 -6
- package/dist/components/Calendar.d.ts +16 -6
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +7 -7
- package/dist/components/ChatWindow.d.ts +7 -7
- package/dist/components/ChatWindow.js +10 -8
- package/dist/components/ChatWindow.mjs +9 -7
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ColorSwatch.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +5 -1
- package/dist/components/CommentThread.d.ts +5 -1
- package/dist/components/CommentThread.js +8 -6
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CronEditor.d.mts +1 -1
- package/dist/components/CronEditor.d.ts +1 -1
- package/dist/components/CropUpload.d.mts +13 -3
- package/dist/components/CropUpload.d.ts +13 -3
- package/dist/components/CropUpload.js +3 -3
- package/dist/components/CropUpload.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +223 -1
- package/dist/components/DataTableWithToolbar.d.ts +223 -1
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.d.mts +6 -1
- package/dist/components/DatePicker.d.ts +6 -1
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.d.mts +9 -0
- package/dist/components/DonutChart.d.ts +9 -0
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/DropdownItem.js +3 -3
- package/dist/components/DropdownItem.mjs +2 -2
- package/dist/components/DropdownMenu.js +3 -3
- package/dist/components/DropdownMenu.mjs +1 -1
- package/dist/components/Empty.d.mts +11 -1
- package/dist/components/Empty.d.ts +11 -1
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +19 -19
- package/dist/components/FileManager.d.ts +19 -19
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.d.mts +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.js +2 -2
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.js +3 -3
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.js +3 -3
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/Gantt.d.mts +1 -1
- package/dist/components/Gantt.d.ts +1 -1
- package/dist/components/GaugeChart.d.mts +15 -0
- package/dist/components/GaugeChart.d.ts +15 -0
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.js +3 -3
- package/dist/components/HeatmapChart.mjs +2 -2
- package/dist/components/Icon.d.mts +1 -1
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/Image.js +4 -3
- package/dist/components/Image.mjs +3 -2
- package/dist/components/ImageAnnotation.d.mts +11 -1
- package/dist/components/ImageAnnotation.d.ts +11 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.d.mts +11 -0
- package/dist/components/ImageCropper.d.ts +11 -0
- package/dist/components/ImageCropper.js +3 -2
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.js +4 -3
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.d.mts +11 -0
- package/dist/components/ImagePreview.d.ts +11 -0
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +1 -0
- package/dist/components/ImageViewer.d.ts +1 -0
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.d.mts +21 -1
- package/dist/components/InputNumber.d.ts +21 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +21 -1
- package/dist/components/Kanban.d.ts +21 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Message.d.mts +11 -1
- package/dist/components/Message.d.ts +11 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/NotificationCenter.js +5 -5
- package/dist/components/NotificationCenter.mjs +4 -4
- package/dist/components/NumberKeyboard.d.mts +2 -2
- package/dist/components/NumberKeyboard.d.ts +2 -2
- package/dist/components/OrgChart.d.mts +1 -1
- package/dist/components/OrgChart.d.ts +1 -1
- package/dist/components/PieChart.d.mts +9 -0
- package/dist/components/PieChart.d.ts +9 -0
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Progress.d.mts +1 -1
- package/dist/components/Progress.d.ts +1 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +2 -2
- package/dist/components/QRCode.mjs +1 -1
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.js +2 -2
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Resizable.js +2 -2
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/Result.js +2 -2
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.d.ts +1 -1
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Signature.d.mts +1 -1
- package/dist/components/Signature.d.ts +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +3 -3
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +3 -3
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +2 -0
- package/dist/components/Tabs.d.ts +2 -0
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +13 -3
- package/dist/components/Tag.d.ts +13 -3
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +21 -1
- package/dist/components/TaskBoard.d.ts +21 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.js +2 -2
- package/dist/components/Timeline.mjs +1 -1
- package/dist/components/Tour.d.mts +1 -3
- package/dist/components/Tour.d.ts +1 -3
- package/dist/components/Tour.js +3 -2
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +19 -2
- package/dist/components/Transfer.d.ts +19 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/Upload.d.mts +1 -1
- package/dist/components/Upload.d.ts +1 -1
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.d.mts +11 -0
- package/dist/components/VirtualList.d.ts +11 -0
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +30 -0
- package/dist/components/VirtualTable.d.ts +30 -0
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +134 -134
- package/dist/index.d.ts +134 -134
- package/dist/index.js +80 -80
- package/dist/index.mjs +79 -79
- package/package.json +6 -6
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
|
@@ -3,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 _chunk5PXTMXXSjs = require('./chunk-5PXTMXXS.js');
|
|
@@ -249,12 +249,16 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
249
249
|
"point-hover"
|
|
250
250
|
],
|
|
251
251
|
setup(props, { emit }) {
|
|
252
|
+
const instance = _vue.getCurrentInstance.call(void 0, );
|
|
252
253
|
const hoveredPointInfo = _vue.ref.call(void 0, null);
|
|
253
254
|
const tooltipPosition = _vue.ref.call(void 0, { x: 0, y: 0 });
|
|
254
255
|
const gradientPrefix = _tigercatcore.getStableChartGradientPrefix.call(void 0, "area", _vue.useId.call(void 0, ));
|
|
255
256
|
const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
|
|
256
257
|
const resolvedSeries = _vue.computed.call(void 0,
|
|
257
|
-
() => _tigercatcore.resolveSeriesData.call(void 0, props.series, props.data
|
|
258
|
+
() => _tigercatcore.resolveSeriesData.call(void 0, props.series, props.data, {
|
|
259
|
+
color: props.areaColor,
|
|
260
|
+
pointColor: props.pointColor
|
|
261
|
+
})
|
|
258
262
|
);
|
|
259
263
|
const {
|
|
260
264
|
resolvedHoveredIndex: _resolvedHoveredIndex,
|
|
@@ -409,12 +413,24 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
409
413
|
hoveredPointInfo.value = null;
|
|
410
414
|
emit("point-hover", null, null, null);
|
|
411
415
|
};
|
|
416
|
+
const showPointTooltipFromElement = (el, seriesIndex, pointIndex) => {
|
|
417
|
+
if (!props.hoverable) return;
|
|
418
|
+
const rect = el.getBoundingClientRect();
|
|
419
|
+
hoveredPointInfo.value = { seriesIndex, pointIndex };
|
|
420
|
+
tooltipPosition.value = { x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 };
|
|
421
|
+
emit(
|
|
422
|
+
"point-hover",
|
|
423
|
+
seriesIndex,
|
|
424
|
+
pointIndex,
|
|
425
|
+
_optionalChain([resolvedSeries, 'access', _5 => _5.value, 'access', _6 => _6[seriesIndex], 'optionalAccess', _7 => _7.data, 'access', _8 => _8[pointIndex]])
|
|
426
|
+
);
|
|
427
|
+
};
|
|
412
428
|
const handlePointClick = (seriesIndex, pointIndex) => {
|
|
413
429
|
emit(
|
|
414
430
|
"point-click",
|
|
415
431
|
seriesIndex,
|
|
416
432
|
pointIndex,
|
|
417
|
-
_optionalChain([resolvedSeries, 'access',
|
|
433
|
+
_optionalChain([resolvedSeries, 'access', _9 => _9.value, 'access', _10 => _10[seriesIndex], 'optionalAccess', _11 => _11.data, 'access', _12 => _12[pointIndex]])
|
|
418
434
|
);
|
|
419
435
|
handleSeriesSelect(seriesIndex);
|
|
420
436
|
};
|
|
@@ -425,6 +441,7 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
425
441
|
handleSeriesSelect(seriesIndex);
|
|
426
442
|
};
|
|
427
443
|
return () => {
|
|
444
|
+
const pointClickable = props.selectable || typeof _optionalChain([instance, 'optionalAccess', _13 => _13.vnode, 'access', _14 => _14.props, 'optionalAccess', _15 => _15.onPointClick]) === "function";
|
|
428
445
|
const reversedSeriesData = [...seriesData.value].reverse();
|
|
429
446
|
const chart = _vue.h.call(void 0,
|
|
430
447
|
_chunkUHVUKLHFjs.ChartCanvas,
|
|
@@ -631,8 +648,10 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
631
648
|
"data-series-key": sd.seriesKey
|
|
632
649
|
},
|
|
633
650
|
sd.points.map((point) => {
|
|
634
|
-
const isHovered = _optionalChain([hoveredPointInfo, 'access',
|
|
651
|
+
const isHovered = _optionalChain([hoveredPointInfo, 'access', _16 => _16.value, 'optionalAccess', _17 => _17.seriesIndex]) === sd.seriesIndex && _optionalChain([hoveredPointInfo, 'access', _18 => _18.value, 'optionalAccess', _19 => _19.pointIndex]) === point.pointIndex;
|
|
635
652
|
const hoverSize = sd.pointSize + 2;
|
|
653
|
+
const datum = _optionalChain([resolvedSeries, 'access', _20 => _20.value, 'access', _21 => _21[sd.seriesIndex], 'optionalAccess', _22 => _22.data, 'optionalAccess', _23 => _23[point.pointIndex]]);
|
|
654
|
+
const pointInteractive = props.hoverable || pointClickable;
|
|
636
655
|
return _vue.h.call(void 0, "circle", {
|
|
637
656
|
key: `point-${sd.seriesKey}-${point.pointIndex}`,
|
|
638
657
|
cx: point.x,
|
|
@@ -641,17 +660,46 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
641
660
|
fill: sd.pointHollow ? "white" : props.pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
|
|
642
661
|
stroke: sd.pointHollow ? sd.pointColor : "none",
|
|
643
662
|
"stroke-width": sd.pointHollow ? 2 : 0,
|
|
644
|
-
class: _tigercatcore.
|
|
663
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
664
|
+
_tigercatcore.linePointTransitionClasses,
|
|
665
|
+
pointInteractive && "cursor-pointer"
|
|
666
|
+
),
|
|
645
667
|
style: isHovered ? `filter: drop-shadow(0 0 4px ${sd.color})` : void 0,
|
|
668
|
+
role: pointInteractive ? "button" : "img",
|
|
669
|
+
"aria-label": _nullishCoalesce(_optionalChain([datum, 'optionalAccess', _24 => _24.label]), () => ( String(_nullishCoalesce(_optionalChain([datum, 'optionalAccess', _25 => _25.y]), () => ( ""))))),
|
|
670
|
+
tabindex: pointInteractive ? 0 : void 0,
|
|
646
671
|
"data-point-index": point.pointIndex,
|
|
647
672
|
"data-series-key": sd.seriesKey,
|
|
648
|
-
onMouseenter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
|
|
649
|
-
onMousemove: handlePointMouseMove,
|
|
650
|
-
onMouseleave: handlePointMouseLeave,
|
|
651
|
-
onClick: (e) => {
|
|
673
|
+
onMouseenter: props.hoverable ? (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e) : void 0,
|
|
674
|
+
onMousemove: props.hoverable ? handlePointMouseMove : void 0,
|
|
675
|
+
onMouseleave: props.hoverable ? handlePointMouseLeave : void 0,
|
|
676
|
+
onClick: pointClickable ? (e) => {
|
|
652
677
|
e.stopPropagation();
|
|
653
678
|
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
654
|
-
}
|
|
679
|
+
} : void 0,
|
|
680
|
+
onFocus: props.hoverable ? (e) => showPointTooltipFromElement(
|
|
681
|
+
e.currentTarget,
|
|
682
|
+
sd.seriesIndex,
|
|
683
|
+
point.pointIndex
|
|
684
|
+
) : void 0,
|
|
685
|
+
onBlur: props.hoverable ? handlePointMouseLeave : void 0,
|
|
686
|
+
onKeydown: pointInteractive ? (e) => {
|
|
687
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
688
|
+
e.preventDefault();
|
|
689
|
+
e.stopPropagation();
|
|
690
|
+
if (pointClickable) {
|
|
691
|
+
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
692
|
+
} else {
|
|
693
|
+
showPointTooltipFromElement(
|
|
694
|
+
e.currentTarget,
|
|
695
|
+
sd.seriesIndex,
|
|
696
|
+
point.pointIndex
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
} else if (e.key === "Escape" && props.hoverable) {
|
|
700
|
+
handlePointMouseLeave();
|
|
701
|
+
}
|
|
702
|
+
} : void 0
|
|
655
703
|
});
|
|
656
704
|
})
|
|
657
705
|
)
|
|
@@ -659,7 +707,7 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
659
707
|
].filter(Boolean)
|
|
660
708
|
}
|
|
661
709
|
);
|
|
662
|
-
const tooltip = props.showTooltip ? _vue.h.call(void 0,
|
|
710
|
+
const tooltip = props.showTooltip ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
663
711
|
content: tooltipContent.value,
|
|
664
712
|
visible: hoveredPointInfo.value !== null && tooltipContent.value !== "",
|
|
665
713
|
x: tooltipPosition.value.x,
|
|
@@ -670,7 +718,7 @@ var AreaChart = _vue.defineComponent.call(void 0, {
|
|
|
670
718
|
}
|
|
671
719
|
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
672
720
|
chart,
|
|
673
|
-
_vue.h.call(void 0,
|
|
721
|
+
_vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
|
|
674
722
|
items: legendItems.value,
|
|
675
723
|
position: props.legendPosition,
|
|
676
724
|
markerSize: props.legendMarkerSize,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChartTooltip
|
|
3
|
+
} from "./chunk-G2LB4QCL.mjs";
|
|
1
4
|
import {
|
|
2
5
|
ChartCanvas
|
|
3
6
|
} from "./chunk-W5RZPTFD.mjs";
|
|
@@ -30,6 +33,8 @@ var GaugeChart = defineComponent({
|
|
|
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 = defineComponent({
|
|
|
67
72
|
onBeforeUnmount(() => {
|
|
68
73
|
animCtrl?.stop();
|
|
69
74
|
});
|
|
75
|
+
const wrapperRef = ref(null);
|
|
76
|
+
const tooltipState = ref({ 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 = wrapperRef.value?.getBoundingClientRect();
|
|
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 = computed(
|
|
71
96
|
() => props.showTicks ? computeGaugeTicks(
|
|
72
97
|
cx.value,
|
|
@@ -110,7 +135,8 @@ var GaugeChart = defineComponent({
|
|
|
110
135
|
}) ?? [];
|
|
111
136
|
const needlePath = createGaugeNeedlePath(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 = h(
|
|
114
140
|
ChartCanvas,
|
|
115
141
|
{
|
|
116
142
|
width: props.width,
|
|
@@ -219,6 +245,29 @@ var GaugeChart = defineComponent({
|
|
|
219
245
|
]
|
|
220
246
|
}
|
|
221
247
|
);
|
|
248
|
+
return h(
|
|
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 ? h(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,18 +1,18 @@
|
|
|
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
|
|
3
|
+
var _chunkAWXSJNNPjs = require('./chunk-AWXSJNNP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkVUGFSHU2js = require('./chunk-VUGFSHU2.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkTGHB5XSTjs = require('./chunk-TGHB5XST.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkOQOJI5Q7js = require('./chunk-OQOJI5Q7.js');
|
|
16
16
|
|
|
17
17
|
// src/components/CommentThread.ts
|
|
18
18
|
var _vue = require('vue');
|
|
@@ -334,7 +334,7 @@ var CommentThread = _vue.defineComponent.call(void 0, {
|
|
|
334
334
|
},
|
|
335
335
|
[
|
|
336
336
|
_vue.h.call(void 0, "div", { class: "flex gap-3" }, [
|
|
337
|
-
props.showAvatar && node.user ? _vue.h.call(void 0,
|
|
337
|
+
props.showAvatar && node.user ? _vue.h.call(void 0, _chunkOQOJI5Q7js.Avatar, {
|
|
338
338
|
size: depth === 1 ? "md" : "sm",
|
|
339
339
|
src: node.user.avatar,
|
|
340
340
|
text: node.user.name,
|
|
@@ -363,22 +363,22 @@ var CommentThread = _vue.defineComponent.call(void 0, {
|
|
|
363
363
|
{ default: () => _optionalChain([node, 'access', _9 => _9.user, 'optionalAccess', _10 => _10.title]) }
|
|
364
364
|
) : null,
|
|
365
365
|
node.tag ? _vue.h.call(void 0,
|
|
366
|
-
|
|
366
|
+
_chunkVUGFSHU2js.Tag,
|
|
367
367
|
{
|
|
368
368
|
size: "sm",
|
|
369
369
|
variant: _nullishCoalesce(node.tag.variant, () => ( "default")),
|
|
370
|
-
className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-
|
|
370
|
+
className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-current/10"
|
|
371
371
|
},
|
|
372
372
|
{ default: () => _optionalChain([node, 'access', _11 => _11.tag, 'optionalAccess', _12 => _12.label]) }
|
|
373
373
|
) : null,
|
|
374
374
|
...(_nullishCoalesce(node.tags, () => ( []))).map(
|
|
375
375
|
(tag, index) => _vue.h.call(void 0,
|
|
376
|
-
|
|
376
|
+
_chunkVUGFSHU2js.Tag,
|
|
377
377
|
{
|
|
378
378
|
key: `${node.id}-tag-${index}`,
|
|
379
379
|
size: "sm",
|
|
380
380
|
variant: _nullishCoalesce(tag.variant, () => ( "default")),
|
|
381
|
-
className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-
|
|
381
|
+
className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-current/10"
|
|
382
382
|
},
|
|
383
383
|
{ default: () => tag.label }
|
|
384
384
|
)
|
|
@@ -408,7 +408,7 @@ var CommentThread = _vue.defineComponent.call(void 0, {
|
|
|
408
408
|
class: "mt-3 space-y-3 bg-gray-50/50 dark:bg-gray-900/30 border border-gray-100 dark:border-gray-800/80 p-4 rounded-xl shadow-sm backdrop-blur-sm transition-all duration-300"
|
|
409
409
|
},
|
|
410
410
|
[
|
|
411
|
-
_vue.h.call(void 0,
|
|
411
|
+
_vue.h.call(void 0, _chunkAWXSJNNPjs.Textarea, {
|
|
412
412
|
rows: 3,
|
|
413
413
|
modelValue: replyValue.value,
|
|
414
414
|
placeholder: props.replyPlaceholder,
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
|
3
|
+
var _chunkLKRT27JWjs = require('./chunk-LKRT27JW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkH2XEJHGRjs = require('./chunk-H2XEJHGR.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTYYJPEWGjs = require('./chunk-TYYJPEWG.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkAWXSJNNPjs = require('./chunk-AWXSJNNP.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkOQOJI5Q7js = require('./chunk-OQOJI5Q7.js');
|
|
19
19
|
|
|
20
20
|
// src/components/ChatWindow.ts
|
|
21
21
|
var _vue = require('vue');
|
|
@@ -25,6 +25,7 @@ var _vue = require('vue');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
29
30
|
var ChatWindow = _vue.defineComponent.call(void 0, {
|
|
30
31
|
name: "TigerChatWindow",
|
|
@@ -230,7 +231,7 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
|
|
|
230
231
|
key: _nullishCoalesce(message.id, () => ( index))
|
|
231
232
|
},
|
|
232
233
|
[
|
|
233
|
-
props.showAvatar && message.user ? _vue.h.call(void 0,
|
|
234
|
+
props.showAvatar && message.user ? _vue.h.call(void 0, _chunkOQOJI5Q7js.Avatar, {
|
|
234
235
|
size: "sm",
|
|
235
236
|
src: message.user.avatar,
|
|
236
237
|
text: message.user.name,
|
|
@@ -280,9 +281,9 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
|
|
|
280
281
|
"aria-label": resolvedInputLabel
|
|
281
282
|
};
|
|
282
283
|
if (props.inputType === "input") {
|
|
283
|
-
return _vue.h.call(void 0,
|
|
284
|
+
return _vue.h.call(void 0, _chunkH2XEJHGRjs.Input, commonProps);
|
|
284
285
|
}
|
|
285
|
-
return _vue.h.call(void 0,
|
|
286
|
+
return _vue.h.call(void 0, _chunkAWXSJNNPjs.Textarea, { ...commonProps, rows: props.inputRows });
|
|
286
287
|
};
|
|
287
288
|
return () => _vue.h.call(void 0,
|
|
288
289
|
"div",
|
|
@@ -305,7 +306,7 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
|
|
|
305
306
|
},
|
|
306
307
|
[
|
|
307
308
|
_vue.h.call(void 0,
|
|
308
|
-
|
|
309
|
+
_chunkLKRT27JWjs.VirtualList,
|
|
309
310
|
{
|
|
310
311
|
itemCount: props.messages.length,
|
|
311
312
|
itemHeight: props.virtualItemHeight,
|
|
@@ -332,14 +333,14 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
|
|
|
332
333
|
{
|
|
333
334
|
class: "h-full flex items-center justify-center py-8"
|
|
334
335
|
},
|
|
335
|
-
[_vue.h.call(void 0,
|
|
336
|
+
[_vue.h.call(void 0, _chunkTYYJPEWGjs.Empty, { description: props.emptyText })]
|
|
336
337
|
)
|
|
337
338
|
] : props.messages.map((message, index) => renderMessageItem(message, index))
|
|
338
339
|
),
|
|
339
340
|
props.statusText ? _vue.h.call(void 0,
|
|
340
341
|
"div",
|
|
341
342
|
{
|
|
342
|
-
class:
|
|
343
|
+
class: _tigercatcore.getChatStatusBarClasses.call(void 0, props.statusVariant)
|
|
343
344
|
},
|
|
344
345
|
props.statusText
|
|
345
346
|
) : null,
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/ImageAnnotation.ts
|
|
2
6
|
import { computed, defineComponent, h, onMounted, ref, watch } from "vue";
|
|
3
7
|
import {
|
|
4
8
|
classNames,
|
|
9
|
+
isActivationKey,
|
|
5
10
|
coerceClassValue,
|
|
6
11
|
createImageAnnotationBox,
|
|
7
12
|
createImageAnnotationPath,
|
|
@@ -12,7 +17,7 @@ import {
|
|
|
12
17
|
getImageAnnotationShapeAriaLabel,
|
|
13
18
|
getImageAnnotationStrokeColor,
|
|
14
19
|
getImageAnnotationToolButtonClasses,
|
|
15
|
-
|
|
20
|
+
getImageEditorLabels,
|
|
16
21
|
imageAnnotationContainerClasses,
|
|
17
22
|
imageAnnotationDeleteButtonClasses,
|
|
18
23
|
imageAnnotationImageClasses,
|
|
@@ -22,6 +27,7 @@ import {
|
|
|
22
27
|
imageAnnotationStageClasses,
|
|
23
28
|
imageAnnotationToolbarClasses,
|
|
24
29
|
isBrowser,
|
|
30
|
+
mergeTigerLocale,
|
|
25
31
|
mergeStyleValues,
|
|
26
32
|
shouldCommitImageAnnotationBox
|
|
27
33
|
} from "@expcat/tigercat-core";
|
|
@@ -29,6 +35,10 @@ var ImageAnnotation = defineComponent({
|
|
|
29
35
|
name: "TigerImageAnnotation",
|
|
30
36
|
inheritAttrs: false,
|
|
31
37
|
props: {
|
|
38
|
+
locale: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default: void 0
|
|
41
|
+
},
|
|
32
42
|
src: { type: String, required: true },
|
|
33
43
|
alt: { type: String, default: "Image to annotate" },
|
|
34
44
|
modelValue: { type: Array, default: void 0 },
|
|
@@ -57,6 +67,16 @@ var ImageAnnotation = defineComponent({
|
|
|
57
67
|
},
|
|
58
68
|
emits: ["update:modelValue", "change", "select", "tool-change", "ready"],
|
|
59
69
|
setup(props, { attrs, emit }) {
|
|
70
|
+
const config = useTigerConfig();
|
|
71
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
72
|
+
const labels = computed(() => getImageEditorLabels(mergedLocale.value));
|
|
73
|
+
const toolLabels = computed(() => ({
|
|
74
|
+
select: labels.value.selectToolText,
|
|
75
|
+
rectangle: labels.value.rectangleToolText,
|
|
76
|
+
ellipse: labels.value.ellipseToolText,
|
|
77
|
+
polygon: labels.value.polygonToolText,
|
|
78
|
+
freehand: labels.value.freehandToolText
|
|
79
|
+
}));
|
|
60
80
|
const containerRef = ref(null);
|
|
61
81
|
const overlayRef = ref(null);
|
|
62
82
|
const idSeed = ref(0);
|
|
@@ -188,16 +208,18 @@ var ImageAnnotation = defineComponent({
|
|
|
188
208
|
drawing.value = { tool: "polygon", start: points[0], points };
|
|
189
209
|
draft.value = createImageAnnotationPath("polygon", "draft", points);
|
|
190
210
|
};
|
|
211
|
+
const removeAnnotation = (annotation) => {
|
|
212
|
+
if (!canEdit.value) return;
|
|
213
|
+
const next = annotations.value.filter((item) => item.id !== annotation.id);
|
|
214
|
+
commitAnnotations(next, { type: "remove", annotation });
|
|
215
|
+
selectAnnotation(null);
|
|
216
|
+
};
|
|
191
217
|
const removeSelectedAnnotation = () => {
|
|
192
218
|
if (!canEdit.value || !activeSelectedId.value) return;
|
|
193
219
|
const removed = annotations.value.find(
|
|
194
220
|
(annotation) => annotation.id === activeSelectedId.value
|
|
195
221
|
);
|
|
196
|
-
|
|
197
|
-
(annotation) => annotation.id !== activeSelectedId.value
|
|
198
|
-
);
|
|
199
|
-
commitAnnotations(next, { type: "remove", annotation: removed });
|
|
200
|
-
selectAnnotation(null);
|
|
222
|
+
if (removed) removeAnnotation(removed);
|
|
201
223
|
};
|
|
202
224
|
const handleKeyDown = (event) => {
|
|
203
225
|
if (event.key === "Escape") {
|
|
@@ -231,6 +253,21 @@ var ImageAnnotation = defineComponent({
|
|
|
231
253
|
if (isDraft) return;
|
|
232
254
|
event.stopPropagation();
|
|
233
255
|
selectAnnotation(annotation);
|
|
256
|
+
},
|
|
257
|
+
// SVG `role="button"` does not fire click on Enter/Space natively, so
|
|
258
|
+
// wire keyboard activation (select) and Delete/Backspace (remove) here.
|
|
259
|
+
onKeydown: isDraft ? void 0 : (event) => {
|
|
260
|
+
if (isActivationKey(event)) {
|
|
261
|
+
event.preventDefault();
|
|
262
|
+
event.stopPropagation();
|
|
263
|
+
selectAnnotation(annotation);
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
if (event.key === "Delete" || event.key === "Backspace") {
|
|
267
|
+
event.preventDefault();
|
|
268
|
+
event.stopPropagation();
|
|
269
|
+
removeAnnotation(annotation);
|
|
270
|
+
}
|
|
234
271
|
}
|
|
235
272
|
};
|
|
236
273
|
if (annotation.type === "rectangle") {
|
|
@@ -277,7 +314,10 @@ var ImageAnnotation = defineComponent({
|
|
|
277
314
|
);
|
|
278
315
|
const toolbar = h(
|
|
279
316
|
"div",
|
|
280
|
-
{
|
|
317
|
+
{
|
|
318
|
+
class: imageAnnotationToolbarClasses,
|
|
319
|
+
"aria-label": labels.value.annotationToolbarAriaLabel
|
|
320
|
+
},
|
|
281
321
|
[
|
|
282
322
|
...props.tools.map(
|
|
283
323
|
(item) => h(
|
|
@@ -290,7 +330,7 @@ var ImageAnnotation = defineComponent({
|
|
|
290
330
|
"aria-pressed": activeTool.value === item,
|
|
291
331
|
onClick: () => setActiveTool(item)
|
|
292
332
|
},
|
|
293
|
-
|
|
333
|
+
toolLabels.value[item]
|
|
294
334
|
)
|
|
295
335
|
),
|
|
296
336
|
h(
|
|
@@ -301,7 +341,7 @@ var ImageAnnotation = defineComponent({
|
|
|
301
341
|
disabled: !canEdit.value || !activeSelectedId.value,
|
|
302
342
|
onClick: removeSelectedAnnotation
|
|
303
343
|
},
|
|
304
|
-
|
|
344
|
+
labels.value.deleteText
|
|
305
345
|
)
|
|
306
346
|
]
|
|
307
347
|
);
|
|
@@ -330,7 +370,7 @@ var ImageAnnotation = defineComponent({
|
|
|
330
370
|
width: displayWidth.value,
|
|
331
371
|
height: displayHeight.value,
|
|
332
372
|
viewBox: `0 0 ${displayWidth.value} ${displayHeight.value}`,
|
|
333
|
-
"aria-label":
|
|
373
|
+
"aria-label": labels.value.annotationCanvasAriaLabel,
|
|
334
374
|
onMousedown: handleStageMouseDown,
|
|
335
375
|
onClick: handleStageClick,
|
|
336
376
|
onDblclick: commitPolygon
|
|
@@ -377,7 +417,7 @@ var ImageAnnotation = defineComponent({
|
|
|
377
417
|
class: imageAnnotationStageClasses,
|
|
378
418
|
style: imageLoaded.value ? { width: `${displayWidth.value}px` } : void 0,
|
|
379
419
|
role: imageLoaded.value ? "application" : "img",
|
|
380
|
-
"aria-label": imageLoaded.value ?
|
|
420
|
+
"aria-label": imageLoaded.value ? labels.value.annotationEditorAriaLabel : labels.value.loadingAnnotationImageAriaLabel
|
|
381
421
|
},
|
|
382
422
|
stageChildren
|
|
383
423
|
)
|
|
@@ -154,6 +154,7 @@ var Form = _vue.defineComponent.call(void 0, {
|
|
|
154
154
|
validate: (fieldName, isValid, _errorMessage) => typeof fieldName === "string" && typeof isValid === "boolean"
|
|
155
155
|
},
|
|
156
156
|
setup(props, { slots, emit, expose }) {
|
|
157
|
+
const initialValues = { ..._nullishCoalesce(props.model, () => ( {})) };
|
|
157
158
|
const errors = _vue.reactive.call(void 0, []);
|
|
158
159
|
const fieldRules = _vue.reactive.call(void 0, {});
|
|
159
160
|
const fieldConditions = _vue.reactive.call(void 0, {});
|
|
@@ -350,6 +351,13 @@ var Form = _vue.defineComponent.call(void 0, {
|
|
|
350
351
|
const resetFields = () => {
|
|
351
352
|
validationDebouncer.cancel();
|
|
352
353
|
clearValidate();
|
|
354
|
+
if (props.model) {
|
|
355
|
+
Object.keys(props.model).forEach((key) => delete props.model[key]);
|
|
356
|
+
Object.assign(props.model, { ...initialValues });
|
|
357
|
+
}
|
|
358
|
+
if (props.undoable) {
|
|
359
|
+
history.value = _tigercatcore.createFormHistory.call(void 0, { ...initialValues }, props.maxHistorySize);
|
|
360
|
+
}
|
|
353
361
|
};
|
|
354
362
|
const addField = (fieldName, defaultValue) => {
|
|
355
363
|
if (props.model && fieldName) {
|
|
@@ -57,6 +57,34 @@ var Rate = _vue.defineComponent.call(void 0, {
|
|
|
57
57
|
hoverValue.value = 0;
|
|
58
58
|
emit("hover-change", 0);
|
|
59
59
|
}
|
|
60
|
+
function handleKeydown(e) {
|
|
61
|
+
if (props.disabled) return;
|
|
62
|
+
const step = props.allowHalf ? 0.5 : 1;
|
|
63
|
+
let next = props.modelValue;
|
|
64
|
+
switch (e.key) {
|
|
65
|
+
case "ArrowRight":
|
|
66
|
+
case "ArrowUp":
|
|
67
|
+
next = Math.min(props.count, props.modelValue + step);
|
|
68
|
+
break;
|
|
69
|
+
case "ArrowLeft":
|
|
70
|
+
case "ArrowDown":
|
|
71
|
+
next = Math.max(0, props.modelValue - step);
|
|
72
|
+
break;
|
|
73
|
+
case "Home":
|
|
74
|
+
next = 0;
|
|
75
|
+
break;
|
|
76
|
+
case "End":
|
|
77
|
+
next = props.count;
|
|
78
|
+
break;
|
|
79
|
+
default:
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
e.preventDefault();
|
|
83
|
+
if (next !== props.modelValue) {
|
|
84
|
+
emit("update:modelValue", next);
|
|
85
|
+
emit("change", next);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
60
88
|
return () => {
|
|
61
89
|
const isChar = !!props.character;
|
|
62
90
|
const stars = [];
|
|
@@ -116,9 +144,7 @@ var Rate = _vue.defineComponent.call(void 0, {
|
|
|
116
144
|
{
|
|
117
145
|
key: i,
|
|
118
146
|
class: _tigercatcore.getRateStarClasses.call(void 0, props.size, isChar, props.disabled),
|
|
119
|
-
|
|
120
|
-
"aria-checked": full || half,
|
|
121
|
-
"aria-label": `${i + 1} star${i + 1 > 1 ? "s" : ""}`,
|
|
147
|
+
"aria-hidden": "true",
|
|
122
148
|
onClick: (e) => handleClick(i, e),
|
|
123
149
|
onMousemove: (e) => handleMouseMove(i, e),
|
|
124
150
|
onMouseleave: handleMouseLeave
|
|
@@ -127,12 +153,21 @@ var Rate = _vue.defineComponent.call(void 0, {
|
|
|
127
153
|
)
|
|
128
154
|
);
|
|
129
155
|
}
|
|
156
|
+
const valueText = `${props.modelValue} star${props.modelValue === 1 ? "" : "s"}`;
|
|
130
157
|
return _vue.h.call(void 0,
|
|
131
158
|
"div",
|
|
132
159
|
{
|
|
133
160
|
class: _tigercatcore.classNames.call(void 0, _tigercatcore.rateBaseClasses, _tigercatcore.coerceClassValue.call(void 0, attrs.class)),
|
|
134
|
-
role: "
|
|
135
|
-
"aria-label": "Rating"
|
|
161
|
+
role: "slider",
|
|
162
|
+
"aria-label": "Rating",
|
|
163
|
+
"aria-valuemin": 0,
|
|
164
|
+
"aria-valuemax": props.count,
|
|
165
|
+
"aria-valuenow": props.modelValue,
|
|
166
|
+
"aria-valuetext": valueText,
|
|
167
|
+
"aria-disabled": props.disabled || void 0,
|
|
168
|
+
"aria-orientation": "horizontal",
|
|
169
|
+
tabindex: props.disabled ? -1 : 0,
|
|
170
|
+
onKeydown: handleKeydown
|
|
136
171
|
},
|
|
137
172
|
stars
|
|
138
173
|
);
|
|
@@ -125,7 +125,7 @@ var Cascader = defineComponent({
|
|
|
125
125
|
});
|
|
126
126
|
const flattenedOptions = computed(() => {
|
|
127
127
|
if (!props.showSearch) return [];
|
|
128
|
-
return flattenCascaderOptions(props.options);
|
|
128
|
+
return flattenCascaderOptions(props.options, [], [], props.changeOnSelect);
|
|
129
129
|
});
|
|
130
130
|
const searchResults = computed(() => {
|
|
131
131
|
if (!isSearchMode.value) return [];
|
|
@@ -338,7 +338,7 @@ var Cascader = defineComponent({
|
|
|
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
|
);
|