@expcat/tigercat-vue 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-EIH6ABOR.js → chunk-2FYVPPTD.js} +44 -15
- package/dist/{chunk-KY6AJRGT.mjs → chunk-2HRJGOAV.mjs} +4 -4
- package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-NCT5FXQB.js → chunk-2RCBEBBR.js} +6 -3
- package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
- package/dist/{chunk-NWS45JQP.mjs → chunk-4RK5BDGR.mjs} +58 -10
- package/dist/{chunk-RKZN3URO.js → chunk-55BSMMUN.js} +27 -6
- package/dist/{chunk-NHBN6VAY.mjs → chunk-57VPT3MN.mjs} +2 -2
- package/dist/{chunk-7VSNXYFM.mjs → chunk-5CHHWMES.mjs} +27 -9
- package/dist/chunk-5FTM7R3P.js +142 -0
- package/dist/{chunk-CGZPOI6H.js → chunk-5PVDNJA5.js} +12 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
- package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
- package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
- package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
- package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
- package/dist/{chunk-OTNVA2UT.js → chunk-7J7JIIHX.js} +28 -10
- package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-Z6MMA7ZE.js → chunk-7RMBEWN2.js} +2 -2
- package/dist/{chunk-SYTYUC67.js → chunk-AF7JZUTA.js} +2 -2
- package/dist/{chunk-3UQECWNL.mjs → chunk-ALFEFDVG.mjs} +103 -12
- package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
- package/dist/{chunk-WUEP3PFN.js → chunk-ANQRW442.js} +31 -8
- package/dist/{chunk-X5CFXNVK.js → chunk-APBWQGXW.js} +14 -10
- package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
- package/dist/{chunk-6FXYRDYH.js → chunk-AWXSJNNP.js} +22 -2
- package/dist/{chunk-ZOUJFFG4.js → chunk-AYQER5UD.js} +17 -14
- package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
- package/dist/{chunk-PGOTPYRG.js → chunk-BNUR72YP.js} +1 -0
- package/dist/{chunk-W5DLRGQL.js → chunk-BPJOIFND.js} +28 -19
- package/dist/{chunk-OKR3GRG5.mjs → chunk-BRGQXIKA.mjs} +58 -10
- package/dist/{chunk-QYSFZA5V.js → chunk-BV6XWFRF.js} +14 -7
- package/dist/{chunk-ODQOYMUQ.js → chunk-BYNTPLGC.js} +8 -1
- package/dist/{chunk-SVWZOIBI.js → chunk-BZ56UKUK.js} +4 -4
- package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
- package/dist/{chunk-RLPSCEBP.js → chunk-CFJST2X2.js} +98 -26
- package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
- package/dist/{chunk-DSNPEWYP.mjs → chunk-CIDINFA2.mjs} +31 -3
- package/dist/{chunk-WZRC7PJH.mjs → chunk-CVFXUYH2.mjs} +38 -5
- package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
- package/dist/{chunk-OUBJHKWX.js → chunk-D43IFX7J.js} +1 -4
- package/dist/{chunk-TXQEHRQB.js → chunk-D6Y3KVJF.js} +5 -1
- package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
- package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
- package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
- package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
- package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
- package/dist/{chunk-WGRNO4PB.js → chunk-GBYNY77G.js} +3 -3
- package/dist/{chunk-NTZ7LQTY.js → chunk-GJ5HJOQP.js} +61 -32
- package/dist/{chunk-QZQYKC2N.js → chunk-GV3LRZSR.js} +35 -9
- package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
- package/dist/{chunk-BYNMOQBB.js → chunk-H2XEJHGR.js} +23 -9
- package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
- package/dist/{chunk-FUI6WG2F.js → chunk-H7GAWNOW.js} +35 -5
- package/dist/{chunk-HMYVPBWI.js → chunk-HI45DI7S.js} +2 -2
- package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
- package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
- package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
- package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
- package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
- package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
- package/dist/{chunk-HZBE2RY4.js → chunk-J77GQQEC.js} +31 -3
- package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
- package/dist/{chunk-WYVA3JBH.js → chunk-JICPYKCT.js} +103 -12
- package/dist/{chunk-2MLORMN2.js → chunk-JMRR4KDB.js} +2 -2
- package/dist/{chunk-KDA4XDXT.js → chunk-K2NJI5MW.js} +2 -2
- package/dist/{chunk-ACYYQJ6M.js → chunk-KLOUOXNA.js} +8 -3
- package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
- package/dist/{chunk-PJ66WE62.js → chunk-KTNT2JHB.js} +143 -10
- package/dist/{chunk-KH2CF6JU.mjs → chunk-LGDJDBE3.mjs} +90 -35
- package/dist/{chunk-IKEZDGRO.mjs → chunk-LHZ5MRFQ.mjs} +2 -2
- package/dist/{chunk-5F6P5Y4K.js → chunk-LKRT27JW.js} +45 -11
- package/dist/{chunk-FP7SBCPO.js → chunk-LODEICSN.js} +4 -4
- package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
- package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
- package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
- package/dist/{chunk-M2ECZQ2D.mjs → chunk-MF7BKYGN.mjs} +27 -18
- package/dist/chunk-MNVMGJUF.js +341 -0
- package/dist/{chunk-LYF6AAQ7.js → chunk-MPVL53GP.js} +59 -5
- package/dist/{chunk-BHNBLQ5S.mjs → chunk-N2QGYEOQ.mjs} +17 -19
- package/dist/{chunk-SGXLMKMO.js → chunk-NQYE64IF.js} +15 -8
- package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
- package/dist/{chunk-DUMPRNDR.js → chunk-OQBWITHA.js} +17 -19
- package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
- package/dist/{chunk-RKL4Y7CW.mjs → chunk-OSPHI5TV.mjs} +110 -3
- package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-LG55VN6B.js → chunk-PFZFPN7M.js} +7 -7
- package/dist/{chunk-SJIW7SNA.js → chunk-PH6ERFC7.js} +22 -7
- package/dist/{chunk-Y3BQSELH.mjs → chunk-PJX2DHO5.mjs} +2 -2
- package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
- package/dist/{chunk-RFFPMC22.mjs → chunk-PMN2MQ26.mjs} +1 -1
- package/dist/{chunk-QAMXVTNN.mjs → chunk-QH3YF5B6.mjs} +95 -23
- package/dist/{chunk-FGM7KB2Q.js → chunk-QKJATAJP.js} +113 -6
- package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
- package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
- package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
- package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
- package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
- package/dist/{chunk-GY75BFAV.js → chunk-SOSHYDIX.js} +9 -9
- package/dist/{chunk-KN64NDJS.js → chunk-TCB3WFYM.js} +12 -11
- package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
- package/dist/{chunk-24CBIC75.js → chunk-TNKULOHK.js} +8 -0
- package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
- package/dist/{chunk-RPWKAGN5.mjs → chunk-TRN5PL5D.mjs} +2 -2
- package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
- package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
- package/dist/{chunk-NEVDRG6C.js → chunk-U5TSCS34.js} +5 -15
- package/dist/{chunk-SLYUQ67P.js → chunk-UKR3IJF3.js} +3 -1
- package/dist/{chunk-M5PGWW25.mjs → chunk-UTGFGMZT.mjs} +33 -3
- package/dist/chunk-V5ANPH5R.mjs +341 -0
- package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-RUXIQ5EP.js → chunk-VDKUKZS2.js} +110 -55
- package/dist/{chunk-ZQD2MCNX.mjs → chunk-VJJ7RAC6.mjs} +34 -8
- package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
- package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
- package/dist/{chunk-NHNJUBYZ.js → chunk-VXRFE72I.js} +38 -5
- package/dist/{chunk-OOS3QQFK.mjs → chunk-VYBRLIKF.mjs} +64 -35
- package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
- package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
- package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-J6YCXMVY.mjs → chunk-WSUCJHJX.mjs} +1 -1
- package/dist/{chunk-KY3O3FWK.mjs → chunk-WWB7VKKH.mjs} +24 -11
- package/dist/{chunk-GQAVLQEZ.mjs → chunk-X43QLJ5E.mjs} +1 -1
- package/dist/{chunk-ULUH6UNV.js → chunk-X73BZFBH.js} +4 -4
- package/dist/{chunk-KA7DILCI.js → chunk-X7PQRYUS.js} +61 -13
- package/dist/chunk-XFNHZ7SV.mjs +142 -0
- package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
- package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/{chunk-T5N2UHVP.js → chunk-YI25YL5W.js} +2 -2
- package/dist/{chunk-TAAHD4R7.js → chunk-YLMQZR6F.js} +36 -4
- package/dist/{chunk-WNYWWGNM.js → chunk-YMUYN4IR.js} +51 -11
- package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
- package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
- package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/Anchor.js +2 -2
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AnchorLink.js +3 -3
- package/dist/components/AnchorLink.mjs +1 -1
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +2 -2
- package/dist/components/AutoComplete.d.ts +2 -2
- package/dist/components/AutoComplete.js +2 -2
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Avatar.mjs +2 -2
- package/dist/components/AvatarGroup.js +2 -2
- package/dist/components/AvatarGroup.mjs +1 -1
- package/dist/components/BackTop.d.mts +2 -2
- package/dist/components/BackTop.d.ts +2 -2
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.d.mts +10 -1
- package/dist/components/Badge.d.ts +10 -1
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.js +2 -2
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.js +3 -3
- package/dist/components/BreadcrumbItem.mjs +1 -1
- package/dist/components/Calendar.d.mts +16 -6
- package/dist/components/Calendar.d.ts +16 -6
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +7 -7
- package/dist/components/ChatWindow.d.ts +7 -7
- package/dist/components/ChatWindow.js +10 -8
- package/dist/components/ChatWindow.mjs +9 -7
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ColorSwatch.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +5 -1
- package/dist/components/CommentThread.d.ts +5 -1
- package/dist/components/CommentThread.js +8 -6
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CronEditor.d.mts +1 -1
- package/dist/components/CronEditor.d.ts +1 -1
- package/dist/components/CropUpload.d.mts +13 -3
- package/dist/components/CropUpload.d.ts +13 -3
- package/dist/components/CropUpload.js +3 -3
- package/dist/components/CropUpload.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +223 -1
- package/dist/components/DataTableWithToolbar.d.ts +223 -1
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.d.mts +6 -1
- package/dist/components/DatePicker.d.ts +6 -1
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.d.mts +9 -0
- package/dist/components/DonutChart.d.ts +9 -0
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/DropdownItem.js +3 -3
- package/dist/components/DropdownItem.mjs +2 -2
- package/dist/components/DropdownMenu.js +3 -3
- package/dist/components/DropdownMenu.mjs +1 -1
- package/dist/components/Empty.d.mts +11 -1
- package/dist/components/Empty.d.ts +11 -1
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +19 -19
- package/dist/components/FileManager.d.ts +19 -19
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.d.mts +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.js +2 -2
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.js +3 -3
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.js +3 -3
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/Gantt.d.mts +1 -1
- package/dist/components/Gantt.d.ts +1 -1
- package/dist/components/GaugeChart.d.mts +15 -0
- package/dist/components/GaugeChart.d.ts +15 -0
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.js +3 -3
- package/dist/components/HeatmapChart.mjs +2 -2
- package/dist/components/Icon.d.mts +1 -1
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/Image.js +4 -3
- package/dist/components/Image.mjs +3 -2
- package/dist/components/ImageAnnotation.d.mts +11 -1
- package/dist/components/ImageAnnotation.d.ts +11 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.d.mts +11 -0
- package/dist/components/ImageCropper.d.ts +11 -0
- package/dist/components/ImageCropper.js +3 -2
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.js +4 -3
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.d.mts +11 -0
- package/dist/components/ImagePreview.d.ts +11 -0
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +1 -0
- package/dist/components/ImageViewer.d.ts +1 -0
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.d.mts +21 -1
- package/dist/components/InputNumber.d.ts +21 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +21 -1
- package/dist/components/Kanban.d.ts +21 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Message.d.mts +11 -1
- package/dist/components/Message.d.ts +11 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/NotificationCenter.js +5 -5
- package/dist/components/NotificationCenter.mjs +4 -4
- package/dist/components/NumberKeyboard.d.mts +2 -2
- package/dist/components/NumberKeyboard.d.ts +2 -2
- package/dist/components/OrgChart.d.mts +1 -1
- package/dist/components/OrgChart.d.ts +1 -1
- package/dist/components/PieChart.d.mts +9 -0
- package/dist/components/PieChart.d.ts +9 -0
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Progress.d.mts +1 -1
- package/dist/components/Progress.d.ts +1 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +2 -2
- package/dist/components/QRCode.mjs +1 -1
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.js +2 -2
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Resizable.js +2 -2
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/Result.js +2 -2
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.d.ts +1 -1
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Signature.d.mts +1 -1
- package/dist/components/Signature.d.ts +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +3 -3
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +3 -3
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +2 -0
- package/dist/components/Tabs.d.ts +2 -0
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +13 -3
- package/dist/components/Tag.d.ts +13 -3
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +21 -1
- package/dist/components/TaskBoard.d.ts +21 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.js +2 -2
- package/dist/components/Timeline.mjs +1 -1
- package/dist/components/Tour.d.mts +1 -3
- package/dist/components/Tour.d.ts +1 -3
- package/dist/components/Tour.js +3 -2
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +19 -2
- package/dist/components/Transfer.d.ts +19 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/Upload.d.mts +1 -1
- package/dist/components/Upload.d.ts +1 -1
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.d.mts +11 -0
- package/dist/components/VirtualList.d.ts +11 -0
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +30 -0
- package/dist/components/VirtualTable.d.ts +30 -0
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +134 -134
- package/dist/index.d.ts +134 -134
- package/dist/index.js +80 -80
- package/dist/index.mjs +79 -79
- package/package.json +6 -6
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
|
@@ -1,4 +1,12 @@
|
|
|
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; }// src/components/FloatButton.ts
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
2
10
|
var _vue = require('vue');
|
|
3
11
|
|
|
4
12
|
|
|
@@ -11,13 +19,14 @@ var _vue = require('vue');
|
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
22
|
+
var FloatButtonGroupShapeKey = /* @__PURE__ */ Symbol("FloatButtonGroupShape");
|
|
14
23
|
var FloatButton = _vue.defineComponent.call(void 0, {
|
|
15
24
|
name: "TigerFloatButton",
|
|
16
25
|
inheritAttrs: false,
|
|
17
26
|
props: {
|
|
18
27
|
shape: {
|
|
19
28
|
type: String,
|
|
20
|
-
default:
|
|
29
|
+
default: void 0
|
|
21
30
|
},
|
|
22
31
|
size: {
|
|
23
32
|
type: String,
|
|
@@ -50,10 +59,17 @@ var FloatButton = _vue.defineComponent.call(void 0, {
|
|
|
50
59
|
},
|
|
51
60
|
emits: ["click"],
|
|
52
61
|
setup(props, { slots, emit, attrs }) {
|
|
62
|
+
const groupShape = _vue.inject.call(void 0,
|
|
63
|
+
FloatButtonGroupShapeKey,
|
|
64
|
+
void 0
|
|
65
|
+
);
|
|
66
|
+
const resolvedShape = _vue.computed.call(void 0,
|
|
67
|
+
() => _nullishCoalesce(_nullishCoalesce(props.shape, () => ( _optionalChain([groupShape, 'optionalAccess', _ => _.value]))), () => ( "circle"))
|
|
68
|
+
);
|
|
53
69
|
const classes = _vue.computed.call(void 0,
|
|
54
70
|
() => _tigercatcore.classNames.call(void 0,
|
|
55
71
|
_tigercatcore.floatButtonBaseClasses,
|
|
56
|
-
_tigercatcore.floatButtonShapeClasses[
|
|
72
|
+
_tigercatcore.floatButtonShapeClasses[resolvedShape.value],
|
|
57
73
|
_tigercatcore.floatButtonSizeClasses[props.size],
|
|
58
74
|
_tigercatcore.floatButtonTypeClasses[props.type],
|
|
59
75
|
props.disabled && _tigercatcore.floatButtonDisabledClasses,
|
|
@@ -80,7 +96,7 @@ var FloatButton = _vue.defineComponent.call(void 0, {
|
|
|
80
96
|
title: props.tooltip,
|
|
81
97
|
onClick: handleClick
|
|
82
98
|
},
|
|
83
|
-
_optionalChain([slots, 'access',
|
|
99
|
+
_optionalChain([slots, 'access', _2 => _2.default, 'optionalCall', _3 => _3()])
|
|
84
100
|
);
|
|
85
101
|
return btn;
|
|
86
102
|
};
|
|
@@ -115,6 +131,10 @@ var FloatButtonGroup = _vue.defineComponent.call(void 0, {
|
|
|
115
131
|
setup(props, { slots, emit, attrs }) {
|
|
116
132
|
const internalOpen = _vue.ref.call(void 0, false);
|
|
117
133
|
const isOpen = _vue.computed.call(void 0, () => _nullishCoalesce(props.open, () => ( internalOpen.value)));
|
|
134
|
+
_vue.provide.call(void 0,
|
|
135
|
+
FloatButtonGroupShapeKey,
|
|
136
|
+
_vue.computed.call(void 0, () => props.shape)
|
|
137
|
+
);
|
|
118
138
|
const toggle = () => {
|
|
119
139
|
const next = !isOpen.value;
|
|
120
140
|
internalOpen.value = next;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
|
+
|
|
5
|
+
// src/components/Tag.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -15,6 +19,8 @@ var _vue = require('vue');
|
|
|
15
19
|
|
|
16
20
|
|
|
17
21
|
|
|
22
|
+
|
|
23
|
+
|
|
18
24
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
19
25
|
var CloseIcon = () => _vue.h.call(void 0,
|
|
20
26
|
"svg",
|
|
@@ -40,6 +46,10 @@ var Tag = _vue.defineComponent.call(void 0, {
|
|
|
40
46
|
name: "TigerTag",
|
|
41
47
|
inheritAttrs: false,
|
|
42
48
|
props: {
|
|
49
|
+
locale: {
|
|
50
|
+
type: Object,
|
|
51
|
+
default: void 0
|
|
52
|
+
},
|
|
43
53
|
/**
|
|
44
54
|
* Tag variant style
|
|
45
55
|
* @default 'default'
|
|
@@ -70,7 +80,7 @@ var Tag = _vue.defineComponent.call(void 0, {
|
|
|
70
80
|
*/
|
|
71
81
|
closeAriaLabel: {
|
|
72
82
|
type: String,
|
|
73
|
-
default:
|
|
83
|
+
default: void 0
|
|
74
84
|
},
|
|
75
85
|
/**
|
|
76
86
|
* Additional CSS classes
|
|
@@ -89,6 +99,10 @@ var Tag = _vue.defineComponent.call(void 0, {
|
|
|
89
99
|
},
|
|
90
100
|
emits: ["close"],
|
|
91
101
|
setup(props, { slots, emit, attrs }) {
|
|
102
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
103
|
+
const labels = _vue.computed.call(void 0,
|
|
104
|
+
() => _tigercatcore.getStatusLabels.call(void 0, _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale))
|
|
105
|
+
);
|
|
92
106
|
const isVisible = _vue.ref.call(void 0, true);
|
|
93
107
|
const tagClasses = _vue.computed.call(void 0,
|
|
94
108
|
() => _tigercatcore.classNames.call(void 0,
|
|
@@ -132,7 +146,7 @@ var Tag = _vue.defineComponent.call(void 0, {
|
|
|
132
146
|
{
|
|
133
147
|
class: closeButtonClasses.value,
|
|
134
148
|
onClick: handleClose,
|
|
135
|
-
"aria-label": props.closeAriaLabel,
|
|
149
|
+
"aria-label": _nullishCoalesce(props.closeAriaLabel, () => ( labels.value.tagCloseAriaLabel)),
|
|
136
150
|
type: "button"
|
|
137
151
|
},
|
|
138
152
|
CloseIcon()
|
|
@@ -397,7 +397,13 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
397
397
|
updateTime();
|
|
398
398
|
}
|
|
399
399
|
function updateTime() {
|
|
400
|
-
if (!_tigercatcore.isTimeInRange.call(void 0,
|
|
400
|
+
if (!_tigercatcore.isTimeInRange.call(void 0,
|
|
401
|
+
selectedHours.value,
|
|
402
|
+
selectedMinutes.value,
|
|
403
|
+
props.minTime,
|
|
404
|
+
props.maxTime,
|
|
405
|
+
selectedSeconds.value
|
|
406
|
+
)) {
|
|
401
407
|
return;
|
|
402
408
|
}
|
|
403
409
|
let timeString = _tigercatcore.formatTime.call(void 0,
|
|
@@ -474,10 +480,31 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
474
480
|
}
|
|
475
481
|
function isHourDisabled(hour) {
|
|
476
482
|
const hours24 = props.format === "12" ? _tigercatcore.to24HourFormat.call(void 0, hour, selectedPeriod.value) : hour;
|
|
477
|
-
return !_tigercatcore.isTimeInRange.call(void 0,
|
|
483
|
+
return !_tigercatcore.isTimeInRange.call(void 0,
|
|
484
|
+
hours24,
|
|
485
|
+
selectedMinutes.value,
|
|
486
|
+
props.minTime,
|
|
487
|
+
props.maxTime,
|
|
488
|
+
selectedSeconds.value
|
|
489
|
+
);
|
|
478
490
|
}
|
|
479
491
|
function isMinuteDisabled(minute) {
|
|
480
|
-
return !_tigercatcore.isTimeInRange.call(void 0,
|
|
492
|
+
return !_tigercatcore.isTimeInRange.call(void 0,
|
|
493
|
+
selectedHours.value,
|
|
494
|
+
minute,
|
|
495
|
+
props.minTime,
|
|
496
|
+
props.maxTime,
|
|
497
|
+
selectedSeconds.value
|
|
498
|
+
);
|
|
499
|
+
}
|
|
500
|
+
function isSecondDisabled(second) {
|
|
501
|
+
return !_tigercatcore.isTimeInRange.call(void 0,
|
|
502
|
+
selectedHours.value,
|
|
503
|
+
selectedMinutes.value,
|
|
504
|
+
props.minTime,
|
|
505
|
+
props.maxTime,
|
|
506
|
+
second
|
|
507
|
+
);
|
|
481
508
|
}
|
|
482
509
|
function handleClickOutside(event) {
|
|
483
510
|
if (panelRef.value && inputWrapperRef.value && !panelRef.value.contains(event.target) && !inputWrapperRef.value.contains(event.target)) {
|
|
@@ -643,7 +670,11 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
643
670
|
onChange: (event) => selectSecond(Number(event.target.value))
|
|
644
671
|
},
|
|
645
672
|
secondsList.value.map(
|
|
646
|
-
(second) => _vue.h.call(void 0,
|
|
673
|
+
(second) => _vue.h.call(void 0,
|
|
674
|
+
"option",
|
|
675
|
+
{ value: second, disabled: isSecondDisabled(second) },
|
|
676
|
+
_tigercatcore.padTwo.call(void 0, second)
|
|
677
|
+
)
|
|
647
678
|
)
|
|
648
679
|
),
|
|
649
680
|
props.format === "12" && _vue.h.call(void 0,
|
|
@@ -732,12 +763,14 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
732
763
|
{ class: _tigercatcore.timePickerColumnListClasses },
|
|
733
764
|
secondsList.value.map((second) => {
|
|
734
765
|
const isSelected = selectedSeconds.value === second;
|
|
766
|
+
const isDisabled = isSecondDisabled(second);
|
|
735
767
|
return _vue.h.call(void 0,
|
|
736
768
|
"button",
|
|
737
769
|
{
|
|
738
770
|
key: second,
|
|
739
771
|
type: "button",
|
|
740
|
-
class: _tigercatcore.getTimePickerItemClasses.call(void 0, isSelected,
|
|
772
|
+
class: _tigercatcore.getTimePickerItemClasses.call(void 0, isSelected, isDisabled),
|
|
773
|
+
disabled: isDisabled,
|
|
741
774
|
onClick: () => selectSecond(second),
|
|
742
775
|
"data-tiger-timepicker-unit": "second",
|
|
743
776
|
"aria-label": _tigercatcore.getTimePickerOptionAriaLabel.call(void 0,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFilledIcon
|
|
3
3
|
} from "./chunk-2TNZ4JNT.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useTigerConfig
|
|
6
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
7
|
|
|
5
8
|
// src/components/DatePicker.ts
|
|
6
9
|
import { defineComponent, computed, ref, nextTick, h, watch, onBeforeUnmount } from "vue";
|
|
@@ -13,11 +16,10 @@ import {
|
|
|
13
16
|
formatMonthYear,
|
|
14
17
|
addDays,
|
|
15
18
|
addMonths,
|
|
16
|
-
isSameDay,
|
|
17
19
|
isDateInRange,
|
|
18
20
|
getCalendarDays,
|
|
19
21
|
getShortDayNames,
|
|
20
|
-
|
|
22
|
+
getDatePickerCalendarCellState,
|
|
21
23
|
normalizeDate,
|
|
22
24
|
datePickerBaseClasses,
|
|
23
25
|
datePickerInputWrapperClasses,
|
|
@@ -42,12 +44,26 @@ import {
|
|
|
42
44
|
ChevronRightIconPath,
|
|
43
45
|
getDatePickerLocaleCode,
|
|
44
46
|
getDatePickerLabels,
|
|
45
|
-
getLocaleDirection
|
|
47
|
+
getLocaleDirection,
|
|
48
|
+
mergeTigerLocale
|
|
46
49
|
} from "@expcat/tigercat-core";
|
|
47
50
|
var CalendarIcon = createFilledIcon(CalendarIconPath, "w-5 h-5");
|
|
48
51
|
var CloseIcon = createFilledIcon(CloseIconPath, "w-4 h-4");
|
|
49
52
|
var ChevronLeftIcon = createFilledIcon(ChevronLeftIconPath, "w-5 h-5");
|
|
50
53
|
var ChevronRightIcon = createFilledIcon(ChevronRightIconPath, "w-5 h-5");
|
|
54
|
+
function normalizeDatePickerLocale(locale) {
|
|
55
|
+
if (!locale) return void 0;
|
|
56
|
+
if (typeof locale === "string") return { locale };
|
|
57
|
+
if ("datePicker" in locale) return locale;
|
|
58
|
+
const preset = locale;
|
|
59
|
+
return {
|
|
60
|
+
locale: hasDatePickerLocaleCode(preset) ? preset.locale : void 0,
|
|
61
|
+
datePicker: preset
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function hasDatePickerLocaleCode(locale) {
|
|
65
|
+
return typeof locale.locale === "string";
|
|
66
|
+
}
|
|
51
67
|
var isDateLike = (value) => value === null || value instanceof Date || typeof value === "string";
|
|
52
68
|
var isModelValue = (value) => {
|
|
53
69
|
if (isDateLike(value)) return true;
|
|
@@ -201,7 +217,11 @@ var DatePicker = defineComponent({
|
|
|
201
217
|
return isModelValue(value);
|
|
202
218
|
},
|
|
203
219
|
/**
|
|
204
|
-
*
|
|
220
|
+
* Convenience event emitted alongside `update:modelValue` on every value
|
|
221
|
+
* change. This is an intentional, non-v-model event (the idiomatic Vue
|
|
222
|
+
* pattern); it always carries the same normalized value as
|
|
223
|
+
* `update:modelValue`. Prefer `v-model` for two-way binding and use
|
|
224
|
+
* `@change` only for side effects.
|
|
205
225
|
*/
|
|
206
226
|
change: (value) => {
|
|
207
227
|
return isModelValue(value);
|
|
@@ -212,6 +232,7 @@ var DatePicker = defineComponent({
|
|
|
212
232
|
clear: () => true
|
|
213
233
|
},
|
|
214
234
|
setup(props, { emit, attrs }) {
|
|
235
|
+
const config = useTigerConfig();
|
|
215
236
|
const isOpen = ref(false);
|
|
216
237
|
const calendarRef = ref(null);
|
|
217
238
|
const mobileCalendarRef = ref(null);
|
|
@@ -234,7 +255,10 @@ var DatePicker = defineComponent({
|
|
|
234
255
|
});
|
|
235
256
|
const minDateParsed = computed(() => parseDate(props.minDate));
|
|
236
257
|
const maxDateParsed = computed(() => parseDate(props.maxDate));
|
|
237
|
-
const
|
|
258
|
+
const mergedLocale = computed(
|
|
259
|
+
() => mergeTigerLocale(config.value.locale, normalizeDatePickerLocale(props.locale))
|
|
260
|
+
);
|
|
261
|
+
const localeCode = computed(() => getDatePickerLocaleCode(mergedLocale.value));
|
|
238
262
|
const viewingMonth = ref(
|
|
239
263
|
(selectedDate.value ?? selectedRange.value[0])?.getMonth() ?? (/* @__PURE__ */ new Date()).getMonth()
|
|
240
264
|
);
|
|
@@ -268,7 +292,7 @@ var DatePicker = defineComponent({
|
|
|
268
292
|
const isRtl = computed(() => getLocaleDirection(localeCode.value) === "rtl");
|
|
269
293
|
const previousMonthIcon = computed(() => isRtl.value ? ChevronRightIcon : ChevronLeftIcon);
|
|
270
294
|
const nextMonthIcon = computed(() => isRtl.value ? ChevronLeftIcon : ChevronRightIcon);
|
|
271
|
-
const labels = computed(() => getDatePickerLabels(
|
|
295
|
+
const labels = computed(() => getDatePickerLabels(mergedLocale.value, props.labels));
|
|
272
296
|
const mobileDate = computed(() => {
|
|
273
297
|
if (!isRangeMode.value) return selectedDate.value ?? normalizeDate(/* @__PURE__ */ new Date());
|
|
274
298
|
const [start, end] = selectedRange.value;
|
|
@@ -417,7 +441,18 @@ var DatePicker = defineComponent({
|
|
|
417
441
|
}
|
|
418
442
|
function handleShortcut(shortcut) {
|
|
419
443
|
const val = typeof shortcut.value === "function" ? shortcut.value() : shortcut.value;
|
|
420
|
-
|
|
444
|
+
if (!isRangeMode.value) {
|
|
445
|
+
const date = val instanceof Date ? normalizeDate(val) : val ? normalizeDate(parseDate(val)) : null;
|
|
446
|
+
emitValue(date);
|
|
447
|
+
} else {
|
|
448
|
+
const range = val;
|
|
449
|
+
if (range && Array.isArray(range)) {
|
|
450
|
+
emitValue([
|
|
451
|
+
range[0] ? normalizeDate(range[0] instanceof Date ? range[0] : parseDate(range[0])) : null,
|
|
452
|
+
range[1] ? normalizeDate(range[1] instanceof Date ? range[1] : parseDate(range[1])) : null
|
|
453
|
+
]);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
421
456
|
closeCalendar();
|
|
422
457
|
}
|
|
423
458
|
function selectDate(date) {
|
|
@@ -719,10 +754,6 @@ var DatePicker = defineComponent({
|
|
|
719
754
|
]),
|
|
720
755
|
// Calendar grid
|
|
721
756
|
(() => {
|
|
722
|
-
const [rangeStart, rangeEnd] = selectedRange.value;
|
|
723
|
-
const normStart = rangeStart ? normalizeDate(rangeStart) : null;
|
|
724
|
-
const normEnd = rangeEnd ? normalizeDate(rangeEnd) : null;
|
|
725
|
-
const isSelectingEnd = isRangeMode.value && Boolean(rangeStart) && !rangeEnd;
|
|
726
757
|
return h(
|
|
727
758
|
"div",
|
|
728
759
|
{
|
|
@@ -734,41 +765,39 @@ var DatePicker = defineComponent({
|
|
|
734
765
|
[
|
|
735
766
|
...calendarDays.value.map((date, index) => {
|
|
736
767
|
if (!date) return null;
|
|
737
|
-
const
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
const isDisabled = isDateDisabled(date) || Boolean(isBeforeRangeStart);
|
|
746
|
-
const iso = formatDate(date, "yyyy-MM-dd");
|
|
768
|
+
const cell = getDatePickerCalendarCellState({
|
|
769
|
+
date,
|
|
770
|
+
selectedDate: selectedDate.value,
|
|
771
|
+
selectedRange: selectedRange.value,
|
|
772
|
+
isRangeMode: isRangeMode.value,
|
|
773
|
+
isCurrentMonth,
|
|
774
|
+
isDateDisabled
|
|
775
|
+
});
|
|
747
776
|
return h(
|
|
748
777
|
"button",
|
|
749
778
|
{
|
|
750
779
|
key: index,
|
|
751
780
|
type: "button",
|
|
752
781
|
class: getDatePickerDayCellClasses(
|
|
753
|
-
isCurrentMonthDay,
|
|
754
|
-
isSelected,
|
|
755
|
-
isTodayDay,
|
|
756
|
-
isDisabled,
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
782
|
+
cell.isCurrentMonthDay,
|
|
783
|
+
cell.isSelected,
|
|
784
|
+
cell.isTodayDay,
|
|
785
|
+
cell.isDisabled,
|
|
786
|
+
cell.isInRange,
|
|
787
|
+
cell.isRangeStart,
|
|
788
|
+
cell.isRangeEnd
|
|
760
789
|
),
|
|
761
|
-
disabled: isDisabled,
|
|
790
|
+
disabled: cell.isDisabled,
|
|
762
791
|
onClick: () => selectDate(date),
|
|
763
792
|
role: "gridcell",
|
|
764
|
-
"data-date": iso,
|
|
793
|
+
"data-date": cell.iso,
|
|
765
794
|
onFocus: () => {
|
|
766
|
-
activeDateIso.value = iso;
|
|
795
|
+
activeDateIso.value = cell.iso;
|
|
767
796
|
},
|
|
768
|
-
tabindex: activeDateIso.value === iso && !isDisabled ? 0 : -1,
|
|
769
|
-
"aria-label": iso,
|
|
770
|
-
"aria-selected": isSelected,
|
|
771
|
-
"aria-current": isTodayDay ? "date" : void 0
|
|
797
|
+
tabindex: activeDateIso.value === cell.iso && !cell.isDisabled ? 0 : -1,
|
|
798
|
+
"aria-label": cell.iso,
|
|
799
|
+
"aria-selected": cell.isSelected,
|
|
800
|
+
"aria-current": cell.isTodayDay ? "date" : void 0
|
|
772
801
|
},
|
|
773
802
|
date.getDate()
|
|
774
803
|
);
|
|
@@ -17,6 +17,7 @@ var _chunkEQW6IUHGjs = require('./chunk-EQW6IUHG.js');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
+
|
|
20
21
|
var _vue = require('vue');
|
|
21
22
|
|
|
22
23
|
|
|
@@ -296,10 +297,17 @@ var Dropdown = _vue.defineComponent.call(void 0, {
|
|
|
296
297
|
zIndex: _tigercatcore.FLOATING_OVERLAY_Z_INDEX,
|
|
297
298
|
transformOrigin: _tigercatcore.getTransformOrigin.call(void 0, currentPlacement.value)
|
|
298
299
|
}));
|
|
299
|
-
_vue.
|
|
300
|
+
const dropdownContext = _vue.reactive.call(void 0, {
|
|
300
301
|
closeOnClick: props.closeOnClick,
|
|
301
302
|
handleItemClick
|
|
302
303
|
});
|
|
304
|
+
_vue.watch.call(void 0,
|
|
305
|
+
() => props.closeOnClick,
|
|
306
|
+
(closeOnClick) => {
|
|
307
|
+
dropdownContext.closeOnClick = closeOnClick;
|
|
308
|
+
}
|
|
309
|
+
);
|
|
310
|
+
_vue.provide.call(void 0, DropdownContextKey, dropdownContext);
|
|
303
311
|
const _menuItemTabIndex = -1;
|
|
304
312
|
return () => {
|
|
305
313
|
const defaultSlot = _optionalChain([slots, 'access', _7 => _7.default, 'optionalCall', _8 => _8()]);
|
|
@@ -75,6 +75,7 @@ var RichTextEditor = defineComponent({
|
|
|
75
75
|
engineInstance = engine.create({
|
|
76
76
|
element: editorRef.value,
|
|
77
77
|
initialValue: currentContent.value,
|
|
78
|
+
mode: props.mode,
|
|
78
79
|
readOnly: props.readOnly,
|
|
79
80
|
disabled: props.disabled,
|
|
80
81
|
placeholder: props.placeholder,
|
|
@@ -95,10 +96,6 @@ var RichTextEditor = defineComponent({
|
|
|
95
96
|
});
|
|
96
97
|
function execButtonAction(btn) {
|
|
97
98
|
if (props.readOnly || props.disabled) return;
|
|
98
|
-
if (btn.action && editorRef.value) {
|
|
99
|
-
btn.action(editorRef.value);
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
99
|
engineInstance?.exec(btn.name);
|
|
103
100
|
}
|
|
104
101
|
function handleKeydown(e) {
|
|
@@ -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(); } }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
|
+
|
|
5
|
+
// src/components/ImagePreview.ts
|
|
2
6
|
|
|
3
7
|
|
|
4
8
|
|
|
@@ -33,6 +37,8 @@ var _vue = require('vue');
|
|
|
33
37
|
|
|
34
38
|
|
|
35
39
|
|
|
40
|
+
|
|
41
|
+
|
|
36
42
|
|
|
37
43
|
|
|
38
44
|
|
|
@@ -66,10 +72,17 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
66
72
|
maskClosable: { type: Boolean, default: true },
|
|
67
73
|
scaleStep: { type: Number, default: 0.5 },
|
|
68
74
|
minScale: { type: Number, default: 0.25 },
|
|
69
|
-
maxScale: { type: Number, default: 5 }
|
|
75
|
+
maxScale: { type: Number, default: 5 },
|
|
76
|
+
locale: {
|
|
77
|
+
type: Object,
|
|
78
|
+
default: void 0
|
|
79
|
+
}
|
|
70
80
|
},
|
|
71
81
|
emits: ["update:open", "update:currentIndex", "scale-change"],
|
|
72
82
|
setup(props, { emit }) {
|
|
83
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
84
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
85
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getImageViewerLabels.call(void 0, mergedLocale.value));
|
|
73
86
|
const scale = _vue.ref.call(void 0, 1);
|
|
74
87
|
const rotation = _vue.ref.call(void 0, 0);
|
|
75
88
|
const offsetX = _vue.ref.call(void 0, 0);
|
|
@@ -262,7 +275,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
262
275
|
{
|
|
263
276
|
class: _tigercatcore.imagePreviewCloseBtnClasses,
|
|
264
277
|
onClick: handleClose,
|
|
265
|
-
"aria-label":
|
|
278
|
+
"aria-label": labels.value.closePreviewAriaLabel,
|
|
266
279
|
type: "button"
|
|
267
280
|
},
|
|
268
281
|
[svgIcon(_tigercatcore.previewCloseIconPath)]
|
|
@@ -273,7 +286,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
273
286
|
{
|
|
274
287
|
class: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
275
288
|
onClick: handleZoomOut,
|
|
276
|
-
"aria-label":
|
|
289
|
+
"aria-label": labels.value.zoomOutAriaLabel,
|
|
277
290
|
type: "button"
|
|
278
291
|
},
|
|
279
292
|
[svgIcon(_tigercatcore.zoomOutIconPath)]
|
|
@@ -283,7 +296,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
283
296
|
{
|
|
284
297
|
class: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
285
298
|
onClick: handleReset,
|
|
286
|
-
"aria-label":
|
|
299
|
+
"aria-label": labels.value.resetAriaLabel,
|
|
287
300
|
type: "button"
|
|
288
301
|
},
|
|
289
302
|
[svgIcon(_tigercatcore.resetIconPath)]
|
|
@@ -293,7 +306,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
293
306
|
{
|
|
294
307
|
class: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
295
308
|
onClick: handleZoomIn,
|
|
296
|
-
"aria-label":
|
|
309
|
+
"aria-label": labels.value.zoomInAriaLabel,
|
|
297
310
|
type: "button"
|
|
298
311
|
},
|
|
299
312
|
[svgIcon(_tigercatcore.zoomInIconPath)]
|
|
@@ -303,7 +316,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
303
316
|
{
|
|
304
317
|
class: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
305
318
|
onClick: handleRotateLeft,
|
|
306
|
-
"aria-label":
|
|
319
|
+
"aria-label": labels.value.rotateLeftAriaLabel,
|
|
307
320
|
type: "button"
|
|
308
321
|
},
|
|
309
322
|
[svgIcon(_tigercatcore.imageViewerIcons.rotateLeft)]
|
|
@@ -313,7 +326,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
313
326
|
{
|
|
314
327
|
class: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
315
328
|
onClick: handleRotateRight,
|
|
316
|
-
"aria-label":
|
|
329
|
+
"aria-label": labels.value.rotateRightAriaLabel,
|
|
317
330
|
type: "button"
|
|
318
331
|
},
|
|
319
332
|
[svgIcon(_tigercatcore.imageViewerIcons.rotateRight)]
|
|
@@ -326,7 +339,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
326
339
|
class: _tigercatcore.classNames.call(void 0, _tigercatcore.imagePreviewNavBtnClasses, "left-4"),
|
|
327
340
|
onClick: handlePrev,
|
|
328
341
|
disabled: !navState.value.hasPrev,
|
|
329
|
-
"aria-label":
|
|
342
|
+
"aria-label": labels.value.previousImageAriaLabel,
|
|
330
343
|
type: "button"
|
|
331
344
|
},
|
|
332
345
|
[svgIcon(_tigercatcore.prevIconPath)]
|
|
@@ -337,7 +350,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
337
350
|
class: _tigercatcore.classNames.call(void 0, _tigercatcore.imagePreviewNavBtnClasses, "right-4"),
|
|
338
351
|
onClick: handleNext,
|
|
339
352
|
disabled: !navState.value.hasNext,
|
|
340
|
-
"aria-label":
|
|
353
|
+
"aria-label": labels.value.nextImageAriaLabel,
|
|
341
354
|
type: "button"
|
|
342
355
|
},
|
|
343
356
|
[svgIcon(_tigercatcore.nextIconPath)]
|
|
@@ -349,7 +362,7 @@ var ImagePreview = _vue.defineComponent.call(void 0, {
|
|
|
349
362
|
style: { zIndex: props.zIndex },
|
|
350
363
|
role: "dialog",
|
|
351
364
|
"aria-modal": "true",
|
|
352
|
-
"aria-label":
|
|
365
|
+
"aria-label": labels.value.previewDialogAriaLabel,
|
|
353
366
|
onClick: handleMaskClick,
|
|
354
367
|
onWheel: handleWheel
|
|
355
368
|
},
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Empty.ts
|
|
2
6
|
import { defineComponent, computed, h } from "vue";
|
|
3
7
|
import {
|
|
@@ -10,7 +14,8 @@ import {
|
|
|
10
14
|
emptyActionsClasses,
|
|
11
15
|
emptyIllustrationViewBox,
|
|
12
16
|
emptyIllustrationPaths,
|
|
13
|
-
getEmptyDescription
|
|
17
|
+
getEmptyDescription,
|
|
18
|
+
mergeTigerLocale
|
|
14
19
|
} from "@expcat/tigercat-core";
|
|
15
20
|
var Empty = defineComponent({
|
|
16
21
|
name: "TigerEmpty",
|
|
@@ -35,10 +40,18 @@ var Empty = defineComponent({
|
|
|
35
40
|
style: {
|
|
36
41
|
type: Object,
|
|
37
42
|
default: void 0
|
|
43
|
+
},
|
|
44
|
+
locale: {
|
|
45
|
+
type: Object,
|
|
46
|
+
default: void 0
|
|
38
47
|
}
|
|
39
48
|
},
|
|
40
49
|
setup(props, { slots, attrs }) {
|
|
41
|
-
const
|
|
50
|
+
const config = useTigerConfig();
|
|
51
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
52
|
+
const descText = computed(
|
|
53
|
+
() => props.description ?? getEmptyDescription(props.preset, mergedLocale.value)
|
|
54
|
+
);
|
|
42
55
|
return () => {
|
|
43
56
|
const attrsRecord = attrs;
|
|
44
57
|
const children = [];
|