@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
|
@@ -12,6 +12,8 @@ var _vue = require('vue');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
|
|
16
|
+
|
|
15
17
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
16
18
|
var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
17
19
|
name: "TigerCodeEditor",
|
|
@@ -49,6 +51,12 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
49
51
|
setup(props, { emit, attrs }) {
|
|
50
52
|
const internalValue = _vue.ref.call(void 0, props.defaultValue || "");
|
|
51
53
|
const textareaRef = _vue.ref.call(void 0, null);
|
|
54
|
+
const activeLine = _vue.ref.call(void 0, 0);
|
|
55
|
+
const updateActiveLine = () => {
|
|
56
|
+
const ta = textareaRef.value;
|
|
57
|
+
if (!ta) return;
|
|
58
|
+
activeLine.value = _tigercatcore.getActiveLineIndex.call(void 0, ta.value, ta.selectionStart);
|
|
59
|
+
};
|
|
52
60
|
const code = _vue.computed.call(void 0, () => props.value !== void 0 ? props.value : internalValue.value);
|
|
53
61
|
_vue.watch.call(void 0,
|
|
54
62
|
() => props.value,
|
|
@@ -77,10 +85,12 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
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 = _tigercatcore.getActiveLineIndex.call(void 0, val, target.selectionStart);
|
|
84
94
|
};
|
|
85
95
|
const onKeyDown = (e) => {
|
|
86
96
|
if (e.key === "Tab") {
|
|
@@ -98,11 +108,18 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
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 = _tigercatcore.classNames.call(void 0,
|
|
114
|
+
"min-h-[1.625rem]",
|
|
115
|
+
isActive && _tigercatcore.getCodeEditorActiveLineClasses.call(void 0, props.theme)
|
|
116
|
+
);
|
|
101
117
|
const engine = props.highlighter;
|
|
102
118
|
if (_optionalChain([engine, 'optionalAccess', _ => _.highlightLine])) {
|
|
103
119
|
return _vue.h.call(void 0, "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 = _vue.defineComponent.call(void 0, {
|
|
|
111
128
|
const cls = _tigercatcore.getTokenClasses.call(void 0, token.type, props.theme);
|
|
112
129
|
return cls ? _vue.h.call(void 0, "span", { class: cls, key: ti }, token.value) : token.value;
|
|
113
130
|
});
|
|
114
|
-
return _vue.h.call(void 0,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
131
|
+
return _vue.h.call(void 0,
|
|
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 = _vue.defineComponent.call(void 0, {
|
|
|
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 @@ import {
|
|
|
3
3
|
} from "./chunk-R2HO74FE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HLPSHCXO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartSeries
|
|
9
9
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartTooltip
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G2LB4QCL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ChartCanvas
|
|
15
15
|
} from "./chunk-W5RZPTFD.mjs";
|
|
@@ -3,10 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-3VFZB5ZK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ImageCropper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4IZUJJUO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
9
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
10
|
+
import {
|
|
11
|
+
useTigerConfig
|
|
12
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
10
13
|
|
|
11
14
|
// src/components/CropUpload.ts
|
|
12
15
|
import { defineComponent, h, ref, computed } from "vue";
|
|
@@ -21,12 +24,18 @@ import {
|
|
|
21
24
|
validateUploadFile,
|
|
22
25
|
readFileAsDataUrl,
|
|
23
26
|
getCropperResult,
|
|
24
|
-
isActivationKey
|
|
27
|
+
isActivationKey,
|
|
28
|
+
getImageEditorLabels,
|
|
29
|
+
mergeTigerLocale
|
|
25
30
|
} from "@expcat/tigercat-core";
|
|
26
31
|
var CropUpload = defineComponent({
|
|
27
32
|
name: "TigerCropUpload",
|
|
28
33
|
inheritAttrs: false,
|
|
29
34
|
props: {
|
|
35
|
+
locale: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: void 0
|
|
38
|
+
},
|
|
30
39
|
accept: { type: String, default: "image/*" },
|
|
31
40
|
disabled: { type: Boolean, default: false },
|
|
32
41
|
maxSize: { type: Number, default: void 0 },
|
|
@@ -34,7 +43,7 @@ var CropUpload = defineComponent({
|
|
|
34
43
|
type: Object,
|
|
35
44
|
default: void 0
|
|
36
45
|
},
|
|
37
|
-
modalTitle: { type: String, default:
|
|
46
|
+
modalTitle: { type: String, default: void 0 },
|
|
38
47
|
modalWidth: { type: Number, default: 520 },
|
|
39
48
|
className: { type: String, default: void 0 },
|
|
40
49
|
style: {
|
|
@@ -44,6 +53,9 @@ var CropUpload = defineComponent({
|
|
|
44
53
|
},
|
|
45
54
|
emits: ["crop-complete", "error"],
|
|
46
55
|
setup(props, { slots, emit, attrs }) {
|
|
56
|
+
const config = useTigerConfig();
|
|
57
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
58
|
+
const labels = computed(() => getImageEditorLabels(mergedLocale.value));
|
|
47
59
|
const fileInputRef = ref(null);
|
|
48
60
|
const modalVisible = ref(false);
|
|
49
61
|
const imageSrc = ref("");
|
|
@@ -120,7 +132,7 @@ var CropUpload = defineComponent({
|
|
|
120
132
|
onClick: handleTriggerClick,
|
|
121
133
|
role: "button",
|
|
122
134
|
tabindex: props.disabled ? -1 : 0,
|
|
123
|
-
"aria-label":
|
|
135
|
+
"aria-label": labels.value.selectImageAriaLabel,
|
|
124
136
|
"aria-disabled": props.disabled ? "true" : void 0,
|
|
125
137
|
onKeydown: (e) => {
|
|
126
138
|
if (isActivationKey(e)) {
|
|
@@ -139,7 +151,7 @@ var CropUpload = defineComponent({
|
|
|
139
151
|
onClick: handleTriggerClick,
|
|
140
152
|
role: "button",
|
|
141
153
|
tabindex: props.disabled ? -1 : 0,
|
|
142
|
-
"aria-label":
|
|
154
|
+
"aria-label": labels.value.selectImageAriaLabel,
|
|
143
155
|
"aria-disabled": props.disabled ? "true" : void 0,
|
|
144
156
|
onKeydown: (e) => {
|
|
145
157
|
if (isActivationKey(e)) {
|
|
@@ -167,7 +179,7 @@ var CropUpload = defineComponent({
|
|
|
167
179
|
})
|
|
168
180
|
]
|
|
169
181
|
),
|
|
170
|
-
h("span", null,
|
|
182
|
+
h("span", null, labels.value.selectImageText)
|
|
171
183
|
]
|
|
172
184
|
);
|
|
173
185
|
const modal = h(
|
|
@@ -175,7 +187,8 @@ var CropUpload = defineComponent({
|
|
|
175
187
|
{
|
|
176
188
|
open: modalVisible.value,
|
|
177
189
|
size: "lg",
|
|
178
|
-
|
|
190
|
+
width: props.modalWidth,
|
|
191
|
+
title: props.modalTitle ?? labels.value.cropModalTitle,
|
|
179
192
|
closable: true,
|
|
180
193
|
maskClosable: false,
|
|
181
194
|
showDefaultFooter: false,
|
|
@@ -188,14 +201,19 @@ var CropUpload = defineComponent({
|
|
|
188
201
|
default: () => imageSrc.value ? h(ImageCropper, {
|
|
189
202
|
ref: cropperRef,
|
|
190
203
|
src: imageSrc.value,
|
|
204
|
+
locale: props.locale,
|
|
191
205
|
...props.cropperProps
|
|
192
206
|
}) : null,
|
|
193
207
|
footer: ({ cancel: _cancel }) => h("div", { class: modalFooterClasses }, [
|
|
194
|
-
h(
|
|
208
|
+
h(
|
|
209
|
+
Button,
|
|
210
|
+
{ variant: "secondary", onClick: handleCancel },
|
|
211
|
+
{ default: () => labels.value.cropCancelText }
|
|
212
|
+
),
|
|
195
213
|
h(
|
|
196
214
|
Button,
|
|
197
215
|
{ onClick: handleConfirm, loading: cropping.value },
|
|
198
|
-
{ default: () =>
|
|
216
|
+
{ default: () => labels.value.cropConfirmText }
|
|
199
217
|
)
|
|
200
218
|
])
|
|
201
219
|
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/components/Segmented.ts
|
|
2
|
+
var _vue = require('vue');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _tigercatcore = require('@expcat/tigercat-core');
|
|
13
|
+
var Segmented = _vue.defineComponent.call(void 0, {
|
|
14
|
+
name: "TigerSegmented",
|
|
15
|
+
inheritAttrs: false,
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: [String, Number],
|
|
19
|
+
default: void 0
|
|
20
|
+
},
|
|
21
|
+
options: {
|
|
22
|
+
type: Array,
|
|
23
|
+
default: () => []
|
|
24
|
+
},
|
|
25
|
+
disabled: { type: Boolean, default: false },
|
|
26
|
+
size: { type: String, default: "md" },
|
|
27
|
+
block: { type: Boolean, default: false },
|
|
28
|
+
className: { type: String, default: void 0 }
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:modelValue", "change"],
|
|
31
|
+
setup(props, { emit, attrs }) {
|
|
32
|
+
function handleSelect(option) {
|
|
33
|
+
if (option.disabled || props.disabled) return;
|
|
34
|
+
if (option.value === props.modelValue) return;
|
|
35
|
+
emit("update:modelValue", option.value);
|
|
36
|
+
emit("change", option.value);
|
|
37
|
+
}
|
|
38
|
+
function focusOption(container, index) {
|
|
39
|
+
const els = _optionalChain([container, 'optionalAccess', _ => _.querySelectorAll, 'call', _2 => _2('[role="radio"]')]);
|
|
40
|
+
_optionalChain([els, 'optionalAccess', _3 => _3[index], 'optionalAccess', _4 => _4.focus, 'call', _5 => _5()]);
|
|
41
|
+
}
|
|
42
|
+
function handleKeydown(e, index) {
|
|
43
|
+
if (props.disabled) return;
|
|
44
|
+
const enabledIdxs = props.options.reduce((acc, opt, i) => {
|
|
45
|
+
if (!opt.disabled) acc.push(i);
|
|
46
|
+
return acc;
|
|
47
|
+
}, []);
|
|
48
|
+
if (enabledIdxs.length === 0) return;
|
|
49
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
50
|
+
e.preventDefault();
|
|
51
|
+
handleSelect(props.options[index]);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const pos = enabledIdxs.indexOf(index);
|
|
55
|
+
let target = null;
|
|
56
|
+
switch (e.key) {
|
|
57
|
+
case "ArrowRight":
|
|
58
|
+
case "ArrowDown":
|
|
59
|
+
target = enabledIdxs[(pos + 1 + enabledIdxs.length) % enabledIdxs.length];
|
|
60
|
+
break;
|
|
61
|
+
case "ArrowLeft":
|
|
62
|
+
case "ArrowUp":
|
|
63
|
+
target = enabledIdxs[(pos - 1 + enabledIdxs.length) % enabledIdxs.length];
|
|
64
|
+
break;
|
|
65
|
+
case "Home":
|
|
66
|
+
target = enabledIdxs[0];
|
|
67
|
+
break;
|
|
68
|
+
case "End":
|
|
69
|
+
target = enabledIdxs[enabledIdxs.length - 1];
|
|
70
|
+
break;
|
|
71
|
+
default:
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
if (target == null) return;
|
|
75
|
+
e.preventDefault();
|
|
76
|
+
const container = e.currentTarget.closest('[role="radiogroup"]');
|
|
77
|
+
focusOption(container, target);
|
|
78
|
+
handleSelect(props.options[target]);
|
|
79
|
+
}
|
|
80
|
+
return () => {
|
|
81
|
+
const selectedIndex = props.options.findIndex((opt) => opt.value === props.modelValue);
|
|
82
|
+
const firstEnabledIndex = props.options.findIndex((opt) => !opt.disabled);
|
|
83
|
+
const rovingIndex = selectedIndex >= 0 ? selectedIndex : firstEnabledIndex;
|
|
84
|
+
return _vue.h.call(void 0,
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
...attrs,
|
|
88
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
89
|
+
_tigercatcore.getSegmentedContainerClasses.call(void 0, props.size, props.block),
|
|
90
|
+
props.className,
|
|
91
|
+
_tigercatcore.coerceClassValue.call(void 0, attrs.class)
|
|
92
|
+
),
|
|
93
|
+
style: _tigercatcore.mergeStyleValues.call(void 0,
|
|
94
|
+
attrs.style,
|
|
95
|
+
_tigercatcore.getSegmentedContainerStyle.call(void 0, props.options.length)
|
|
96
|
+
),
|
|
97
|
+
role: "radiogroup",
|
|
98
|
+
"aria-disabled": props.disabled || void 0
|
|
99
|
+
},
|
|
100
|
+
[
|
|
101
|
+
_vue.h.call(void 0, "div", {
|
|
102
|
+
"data-tiger-segmented-indicator": "true",
|
|
103
|
+
"aria-hidden": "true",
|
|
104
|
+
class: _tigercatcore.getSegmentedIndicatorClasses.call(void 0, props.size),
|
|
105
|
+
style: _tigercatcore.getSegmentedIndicatorStyle.call(void 0,
|
|
106
|
+
props.options.findIndex((opt) => opt.value === props.modelValue),
|
|
107
|
+
props.options.length,
|
|
108
|
+
props.size
|
|
109
|
+
)
|
|
110
|
+
}),
|
|
111
|
+
...props.options.map((opt, index) => {
|
|
112
|
+
const selected = opt.value === props.modelValue;
|
|
113
|
+
const isDisabled = !!opt.disabled || props.disabled;
|
|
114
|
+
return _vue.h.call(void 0,
|
|
115
|
+
"label",
|
|
116
|
+
{
|
|
117
|
+
key: opt.value,
|
|
118
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
119
|
+
_tigercatcore.getSegmentedOptionClasses.call(void 0, props.size, selected, isDisabled),
|
|
120
|
+
props.block ? "flex-1 text-center" : ""
|
|
121
|
+
),
|
|
122
|
+
role: "radio",
|
|
123
|
+
"aria-checked": selected,
|
|
124
|
+
"aria-disabled": isDisabled,
|
|
125
|
+
tabindex: isDisabled ? -1 : index === rovingIndex ? 0 : -1,
|
|
126
|
+
onClick: () => handleSelect(opt),
|
|
127
|
+
onKeydown: (e) => handleKeydown(e, index)
|
|
128
|
+
},
|
|
129
|
+
[_vue.h.call(void 0, "span", null, opt.label)]
|
|
130
|
+
);
|
|
131
|
+
})
|
|
132
|
+
]
|
|
133
|
+
);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
var Segmented_default = Segmented;
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
exports.Segmented = Segmented; exports.Segmented_default = Segmented_default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMPVL53GPjs = require('./chunk-MPVL53GP.js');
|
|
4
4
|
|
|
5
5
|
// src/components/Kanban.ts
|
|
6
6
|
var _vue = require('vue');
|
|
@@ -36,6 +36,14 @@ var Kanban = _vue.defineComponent.call(void 0, {
|
|
|
36
36
|
type: Array,
|
|
37
37
|
default: () => []
|
|
38
38
|
},
|
|
39
|
+
swimlanes: {
|
|
40
|
+
type: Array,
|
|
41
|
+
default: void 0
|
|
42
|
+
},
|
|
43
|
+
swimlaneField: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: void 0
|
|
46
|
+
},
|
|
39
47
|
showCardCount: { type: Boolean, default: true },
|
|
40
48
|
allowAddCard: { type: Boolean, default: true },
|
|
41
49
|
allowAddColumn: { type: Boolean, default: false },
|
|
@@ -56,7 +64,7 @@ var Kanban = _vue.defineComponent.call(void 0, {
|
|
|
56
64
|
emit("card-add", colId);
|
|
57
65
|
};
|
|
58
66
|
return () => _vue.h.call(void 0,
|
|
59
|
-
|
|
67
|
+
_chunkMPVL53GPjs.TaskBoard,
|
|
60
68
|
{
|
|
61
69
|
...attrs,
|
|
62
70
|
columns: props.columns,
|
|
@@ -70,6 +78,8 @@ var Kanban = _vue.defineComponent.call(void 0, {
|
|
|
70
78
|
onCardAdd: props.allowAddCard || props.onCardAdd ? handleCardAdd : void 0,
|
|
71
79
|
filterText: props.filterText,
|
|
72
80
|
hiddenColumns: props.hiddenColumns,
|
|
81
|
+
swimlanes: props.swimlanes,
|
|
82
|
+
swimlaneField: props.swimlaneField,
|
|
73
83
|
showCardCount: props.showCardCount,
|
|
74
84
|
allowAddCard: props.allowAddCard,
|
|
75
85
|
allowAddColumn: props.allowAddColumn,
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PieChart
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S4Z77VIB.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/DonutChart.ts
|
|
6
|
-
import { defineComponent, computed, h } from "vue";
|
|
6
|
+
import { defineComponent, computed, h, onMounted, ref } from "vue";
|
|
7
7
|
import {
|
|
8
8
|
classNames,
|
|
9
9
|
getChartInnerRect,
|
|
10
|
-
normalizeChartPadding
|
|
10
|
+
normalizeChartPadding,
|
|
11
|
+
DONUT_ENTRANCE_KEYFRAMES,
|
|
12
|
+
DONUT_ENTRANCE_CLASS
|
|
11
13
|
} from "@expcat/tigercat-core";
|
|
12
14
|
var DONUT_PALETTE = [
|
|
13
15
|
"var(--tiger-chart-1,#5470c6)",
|
|
@@ -113,6 +115,10 @@ var DonutChart = defineComponent({
|
|
|
113
115
|
type: Number,
|
|
114
116
|
default: 8
|
|
115
117
|
},
|
|
118
|
+
legendFormatter: {
|
|
119
|
+
type: Function,
|
|
120
|
+
default: void 0
|
|
121
|
+
},
|
|
116
122
|
// Tooltip props
|
|
117
123
|
showTooltip: {
|
|
118
124
|
type: Boolean,
|
|
@@ -173,6 +179,10 @@ var DonutChart = defineComponent({
|
|
|
173
179
|
setup(props, { emit }) {
|
|
174
180
|
const innerRect = computed(() => getChartInnerRect(props.width, props.height, props.padding));
|
|
175
181
|
const pad = computed(() => normalizeChartPadding(props.padding));
|
|
182
|
+
const entered = ref(false);
|
|
183
|
+
onMounted(() => {
|
|
184
|
+
if (props.animated) entered.value = true;
|
|
185
|
+
});
|
|
176
186
|
const resolvedOuterRadius = computed(() => {
|
|
177
187
|
if (typeof props.outerRadius === "number") return Math.max(0, props.outerRadius);
|
|
178
188
|
return Math.max(0, Math.min(innerRect.value.width, innerRect.value.height) / 2);
|
|
@@ -245,6 +255,7 @@ var DonutChart = defineComponent({
|
|
|
245
255
|
legendPosition: props.legendPosition,
|
|
246
256
|
legendMarkerSize: props.legendMarkerSize,
|
|
247
257
|
legendGap: props.legendGap,
|
|
258
|
+
legendFormatter: props.legendFormatter,
|
|
248
259
|
showTooltip: props.showTooltip,
|
|
249
260
|
tooltipFormatter: donutTooltipFormatter.value,
|
|
250
261
|
title: props.title,
|
|
@@ -294,7 +305,18 @@ var DonutChart = defineComponent({
|
|
|
294
305
|
) : null
|
|
295
306
|
]
|
|
296
307
|
) : null;
|
|
297
|
-
|
|
308
|
+
const styleNode = props.animated && entered.value ? h("style", null, DONUT_ENTRANCE_KEYFRAMES) : null;
|
|
309
|
+
return h(
|
|
310
|
+
"div",
|
|
311
|
+
{
|
|
312
|
+
class: classNames(
|
|
313
|
+
"inline-block relative",
|
|
314
|
+
props.animated && entered.value && DONUT_ENTRANCE_CLASS
|
|
315
|
+
),
|
|
316
|
+
"data-donut-chart": "true"
|
|
317
|
+
},
|
|
318
|
+
[styleNode, pie, center]
|
|
319
|
+
);
|
|
298
320
|
};
|
|
299
321
|
}
|
|
300
322
|
});
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
computed,
|
|
12
12
|
ref,
|
|
13
13
|
provide,
|
|
14
|
+
reactive,
|
|
14
15
|
h,
|
|
15
16
|
onBeforeUnmount,
|
|
16
17
|
onMounted,
|
|
@@ -296,10 +297,17 @@ var Dropdown = defineComponent({
|
|
|
296
297
|
zIndex: FLOATING_OVERLAY_Z_INDEX,
|
|
297
298
|
transformOrigin: getTransformOrigin(currentPlacement.value)
|
|
298
299
|
}));
|
|
299
|
-
|
|
300
|
+
const dropdownContext = reactive({
|
|
300
301
|
closeOnClick: props.closeOnClick,
|
|
301
302
|
handleItemClick
|
|
302
303
|
});
|
|
304
|
+
watch(
|
|
305
|
+
() => props.closeOnClick,
|
|
306
|
+
(closeOnClick) => {
|
|
307
|
+
dropdownContext.closeOnClick = closeOnClick;
|
|
308
|
+
}
|
|
309
|
+
);
|
|
310
|
+
provide(DropdownContextKey, dropdownContext);
|
|
303
311
|
const _menuItemTabIndex = -1;
|
|
304
312
|
return () => {
|
|
305
313
|
const defaultSlot = slots.default?.();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VirtualList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HS4YQGZQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useTigerConfig
|
|
6
6
|
} from "./chunk-R6WFL6NI.mjs";
|
|
@@ -45,7 +45,10 @@ import {
|
|
|
45
45
|
getSimplePaginationSelectClasses,
|
|
46
46
|
getSimplePaginationButtonClasses,
|
|
47
47
|
getSimplePaginationPageIndicatorClasses,
|
|
48
|
-
getSimplePaginationButtonsWrapperClasses
|
|
48
|
+
getSimplePaginationButtonsWrapperClasses,
|
|
49
|
+
getPaginationLabels,
|
|
50
|
+
formatPaginationTotal,
|
|
51
|
+
formatPaginationPageIndicator
|
|
49
52
|
} from "@expcat/tigercat-core";
|
|
50
53
|
var spinnerSvg = getSpinnerSVG("spinner");
|
|
51
54
|
var LoadingSpinner = () => {
|
|
@@ -435,12 +438,19 @@ var List = defineComponent({
|
|
|
435
438
|
const { totalPages, startIndex, endIndex, hasNext, hasPrev } = paginationInfo.value;
|
|
436
439
|
const total = props.dataSource.length;
|
|
437
440
|
const paginationConfig = props.pagination;
|
|
441
|
+
const paginationLabels = getPaginationLabels(mergedLocale.value);
|
|
442
|
+
const localeCode = mergedLocale.value?.locale;
|
|
438
443
|
return h("div", { class: getSimplePaginationContainerClasses() }, [
|
|
439
444
|
// Total info
|
|
440
445
|
paginationConfig.showTotal !== false && h(
|
|
441
446
|
"div",
|
|
442
447
|
{ class: getSimplePaginationTotalClasses() },
|
|
443
|
-
paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) :
|
|
448
|
+
paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : formatPaginationTotal(
|
|
449
|
+
paginationLabels.totalText,
|
|
450
|
+
total,
|
|
451
|
+
[startIndex, endIndex],
|
|
452
|
+
localeCode
|
|
453
|
+
)
|
|
444
454
|
),
|
|
445
455
|
// Pagination controls
|
|
446
456
|
h("div", { class: getSimplePaginationControlsClasses() }, [
|
|
@@ -453,7 +463,7 @@ var List = defineComponent({
|
|
|
453
463
|
onChange: (e) => handlePageSizeChange(Number(e.target.value))
|
|
454
464
|
},
|
|
455
465
|
(paginationConfig.pageSizeOptions || [10, 20, 50, 100]).map(
|
|
456
|
-
(size) => h("option", { value: size }, `${size}
|
|
466
|
+
(size) => h("option", { value: size }, `${size} ${paginationLabels.itemsPerPageText}`)
|
|
457
467
|
)
|
|
458
468
|
),
|
|
459
469
|
// Page buttons
|
|
@@ -466,13 +476,18 @@ var List = defineComponent({
|
|
|
466
476
|
disabled: !hasPrev,
|
|
467
477
|
onClick: () => handlePageChange(currentPage.value - 1)
|
|
468
478
|
},
|
|
469
|
-
|
|
479
|
+
paginationLabels.prevPageAriaLabel
|
|
470
480
|
),
|
|
471
481
|
// Current page indicator
|
|
472
482
|
h(
|
|
473
483
|
"span",
|
|
474
484
|
{ class: getSimplePaginationPageIndicatorClasses() },
|
|
475
|
-
|
|
485
|
+
formatPaginationPageIndicator(
|
|
486
|
+
paginationLabels.pageIndicatorText,
|
|
487
|
+
currentPage.value,
|
|
488
|
+
totalPages,
|
|
489
|
+
localeCode
|
|
490
|
+
)
|
|
476
491
|
),
|
|
477
492
|
// Next button
|
|
478
493
|
h(
|
|
@@ -482,7 +497,7 @@ var List = defineComponent({
|
|
|
482
497
|
disabled: !hasNext,
|
|
483
498
|
onClick: () => handlePageChange(currentPage.value + 1)
|
|
484
499
|
},
|
|
485
|
-
|
|
500
|
+
paginationLabels.nextPageAriaLabel
|
|
486
501
|
)
|
|
487
502
|
])
|
|
488
503
|
])
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TabPane,
|
|
3
3
|
Tabs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EYR27UIE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
List
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6FV2OMB7.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
10
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
@@ -160,16 +160,6 @@ var NotificationCenter = defineComponent({
|
|
|
160
160
|
},
|
|
161
161
|
{ immediate: true }
|
|
162
162
|
);
|
|
163
|
-
const _currentGroup = computed(() => {
|
|
164
|
-
const groups = resolvedGroups.value;
|
|
165
|
-
if (groups.length === 0) return void 0;
|
|
166
|
-
const activeKey = currentGroupKey.value;
|
|
167
|
-
if (activeKey === void 0) return groups[0];
|
|
168
|
-
const matchedIndex = groups.findIndex(
|
|
169
|
-
(group, index) => getGroupKey(group, index) === activeKey
|
|
170
|
-
);
|
|
171
|
-
return matchedIndex >= 0 ? groups[matchedIndex] : groups[0];
|
|
172
|
-
});
|
|
173
163
|
const readStateOverrides = ref(/* @__PURE__ */ new Map());
|
|
174
164
|
const applyReadOverrides = (items) => {
|
|
175
165
|
if (!props.manageReadState || readStateOverrides.value.size === 0) return items;
|
|
@@ -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 _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
|
+
|
|
5
|
+
// src/components/Badge.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -13,11 +17,17 @@ var _vue = require('vue');
|
|
|
13
17
|
|
|
14
18
|
|
|
15
19
|
|
|
20
|
+
|
|
21
|
+
|
|
16
22
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
17
23
|
var Badge = _vue.defineComponent.call(void 0, {
|
|
18
24
|
name: "TigerBadge",
|
|
19
25
|
inheritAttrs: false,
|
|
20
26
|
props: {
|
|
27
|
+
locale: {
|
|
28
|
+
type: Object,
|
|
29
|
+
default: void 0
|
|
30
|
+
},
|
|
21
31
|
variant: {
|
|
22
32
|
type: String,
|
|
23
33
|
default: "danger"
|
|
@@ -60,6 +70,10 @@ var Badge = _vue.defineComponent.call(void 0, {
|
|
|
60
70
|
}
|
|
61
71
|
},
|
|
62
72
|
setup(props, { slots, attrs }) {
|
|
73
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
74
|
+
const labels = _vue.computed.call(void 0,
|
|
75
|
+
() => _tigercatcore.getStatusLabels.call(void 0, _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale))
|
|
76
|
+
);
|
|
63
77
|
const isDot = _vue.computed.call(void 0, () => props.type === "dot");
|
|
64
78
|
const isHidden = _vue.computed.call(void 0, () => _tigercatcore.shouldHideBadge.call(void 0, props.content, props.type, props.showZero));
|
|
65
79
|
const displayContent = _vue.computed.call(void 0,
|
|
@@ -79,7 +93,7 @@ var Badge = _vue.defineComponent.call(void 0, {
|
|
|
79
93
|
return props.standalone ? null : _nullishCoalesce(_optionalChain([slots, 'access', _ => _.default, 'optionalCall', _2 => _2()]), () => ( null));
|
|
80
94
|
}
|
|
81
95
|
const attrsRecord = attrs;
|
|
82
|
-
const ariaLabel = _nullishCoalesce(attrsRecord["aria-label"], () => ( (isDot.value ?
|
|
96
|
+
const ariaLabel = _nullishCoalesce(attrsRecord["aria-label"], () => ( (isDot.value ? labels.value.badgeLabel : props.type === "number" ? labels.value.badgeCountLabel.replace("{count}", String(displayContent.value)) : `${_nullishCoalesce(displayContent.value, () => ( ""))}`)));
|
|
83
97
|
const badgeElement = _vue.h.call(void 0,
|
|
84
98
|
"span",
|
|
85
99
|
{
|