@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
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
getTransferButtonClasses,
|
|
18
18
|
splitTransferData,
|
|
19
19
|
filterTransferItems,
|
|
20
|
+
moveTransferItems,
|
|
20
21
|
getPickerListboxAria,
|
|
21
22
|
getPickerOptionAria,
|
|
22
23
|
coerceClassValue,
|
|
@@ -50,7 +51,15 @@ var Transfer = defineComponent({
|
|
|
50
51
|
props: {
|
|
51
52
|
modelValue: {
|
|
52
53
|
type: Array,
|
|
53
|
-
default:
|
|
54
|
+
default: void 0
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
* Target keys alias (core/shared name). Used when `modelValue` /
|
|
58
|
+
* `v-model` is not bound; `modelValue` takes priority.
|
|
59
|
+
*/
|
|
60
|
+
targetKeys: {
|
|
61
|
+
type: Array,
|
|
62
|
+
default: void 0
|
|
54
63
|
},
|
|
55
64
|
dataSource: {
|
|
56
65
|
type: Array,
|
|
@@ -100,10 +109,10 @@ var Transfer = defineComponent({
|
|
|
100
109
|
const targetSelectedKeys = ref(/* @__PURE__ */ new Set());
|
|
101
110
|
const sourceSearch = ref("");
|
|
102
111
|
const targetSearch = ref("");
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
112
|
+
const resolvedTargetKeys = computed(() => props.modelValue ?? props.targetKeys ?? []);
|
|
113
|
+
const computedData = computed(
|
|
114
|
+
() => splitTransferData(props.dataSource, resolvedTargetKeys.value)
|
|
115
|
+
);
|
|
107
116
|
const filteredSourceItems = computed(
|
|
108
117
|
() => filterTransferItems(computedData.value.sourceItems, sourceSearch.value, props.filterOption)
|
|
109
118
|
);
|
|
@@ -146,27 +155,27 @@ var Transfer = defineComponent({
|
|
|
146
155
|
}
|
|
147
156
|
function moveRight() {
|
|
148
157
|
if (!canMoveRight.value) return;
|
|
149
|
-
const
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
158
|
+
const { targetKeys: newTargetKeys, movedKeys } = moveTransferItems(
|
|
159
|
+
"right",
|
|
160
|
+
resolvedTargetKeys.value,
|
|
161
|
+
sourceSelectedKeys.value,
|
|
162
|
+
props.dataSource
|
|
163
|
+
);
|
|
154
164
|
sourceSelectedKeys.value = /* @__PURE__ */ new Set();
|
|
155
165
|
emit("update:modelValue", newTargetKeys);
|
|
156
|
-
emit("change", newTargetKeys, "right",
|
|
166
|
+
emit("change", newTargetKeys, "right", movedKeys);
|
|
157
167
|
}
|
|
158
168
|
function moveLeft() {
|
|
159
169
|
if (!canMoveLeft.value) return;
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
170
|
+
const { targetKeys: newTargetKeys, movedKeys } = moveTransferItems(
|
|
171
|
+
"left",
|
|
172
|
+
resolvedTargetKeys.value,
|
|
173
|
+
targetSelectedKeys.value,
|
|
174
|
+
props.dataSource
|
|
165
175
|
);
|
|
166
|
-
const newTargetKeys = props.modelValue.filter((k) => !keysToRemove.has(k));
|
|
167
176
|
targetSelectedKeys.value = /* @__PURE__ */ new Set();
|
|
168
177
|
emit("update:modelValue", newTargetKeys);
|
|
169
|
-
emit("change", newTargetKeys, "left",
|
|
178
|
+
emit("change", newTargetKeys, "left", movedKeys);
|
|
170
179
|
}
|
|
171
180
|
function renderPanel(title, items, selectedKeys, toggleFn, searchValue, onSearch) {
|
|
172
181
|
return h("div", { class: transferPanelClasses, role: "group", "aria-label": title }, [
|
|
@@ -0,0 +1,341 @@
|
|
|
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/Calendar.ts
|
|
6
|
+
var _vue = require('vue');
|
|
7
|
+
var _tigercatcore = require('@expcat/tigercat-core');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
var Calendar = _vue.defineComponent.call(void 0, {
|
|
28
|
+
name: "TigerCalendar",
|
|
29
|
+
inheritAttrs: false,
|
|
30
|
+
props: {
|
|
31
|
+
modelValue: { type: Date, default: void 0 },
|
|
32
|
+
mode: { type: String, default: "month" },
|
|
33
|
+
fullscreen: { type: Boolean, default: false },
|
|
34
|
+
disabledDate: { type: Function, default: void 0 },
|
|
35
|
+
locale: { type: Object, default: void 0 },
|
|
36
|
+
className: { type: String, default: void 0 }
|
|
37
|
+
},
|
|
38
|
+
emits: ["update:modelValue", "change", "panel-change"],
|
|
39
|
+
setup(props, { emit, attrs }) {
|
|
40
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
41
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
42
|
+
const localeCode = _vue.computed.call(void 0, () => _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.locale]));
|
|
43
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getCalendarLabels.call(void 0, mergedLocale.value));
|
|
44
|
+
const weekdayNames = _vue.computed.call(void 0, () => _tigercatcore.getShortDayNames.call(void 0, localeCode.value));
|
|
45
|
+
const monthNames = _vue.computed.call(void 0, () => _tigercatcore.getShortMonthNames.call(void 0, localeCode.value));
|
|
46
|
+
const today = /* @__PURE__ */ new Date();
|
|
47
|
+
const viewYear = _vue.ref.call(void 0, _nullishCoalesce(_optionalChain([props, 'access', _3 => _3.modelValue, 'optionalAccess', _4 => _4.getFullYear, 'call', _5 => _5()]), () => ( today.getFullYear())));
|
|
48
|
+
const viewMonth = _vue.ref.call(void 0, _nullishCoalesce(_optionalChain([props, 'access', _6 => _6.modelValue, 'optionalAccess', _7 => _7.getMonth, 'call', _8 => _8()]), () => ( today.getMonth())));
|
|
49
|
+
const days = _vue.computed.call(void 0, () => _tigercatcore.getMonthDays.call(void 0, viewYear.value, viewMonth.value));
|
|
50
|
+
function prevMonth() {
|
|
51
|
+
if (viewMonth.value === 0) {
|
|
52
|
+
viewMonth.value = 11;
|
|
53
|
+
viewYear.value--;
|
|
54
|
+
} else {
|
|
55
|
+
viewMonth.value--;
|
|
56
|
+
}
|
|
57
|
+
emit("panel-change", new Date(viewYear.value, viewMonth.value, 1), props.mode);
|
|
58
|
+
}
|
|
59
|
+
function nextMonth() {
|
|
60
|
+
if (viewMonth.value === 11) {
|
|
61
|
+
viewMonth.value = 0;
|
|
62
|
+
viewYear.value++;
|
|
63
|
+
} else {
|
|
64
|
+
viewMonth.value++;
|
|
65
|
+
}
|
|
66
|
+
emit("panel-change", new Date(viewYear.value, viewMonth.value, 1), props.mode);
|
|
67
|
+
}
|
|
68
|
+
function prevYear() {
|
|
69
|
+
viewYear.value--;
|
|
70
|
+
emit("panel-change", new Date(viewYear.value, viewMonth.value, 1), props.mode);
|
|
71
|
+
}
|
|
72
|
+
function nextYear() {
|
|
73
|
+
viewYear.value++;
|
|
74
|
+
emit("panel-change", new Date(viewYear.value, viewMonth.value, 1), props.mode);
|
|
75
|
+
}
|
|
76
|
+
function selectDay(date) {
|
|
77
|
+
if (_optionalChain([props, 'access', _9 => _9.disabledDate, 'optionalCall', _10 => _10(date)])) return;
|
|
78
|
+
emit("update:modelValue", date);
|
|
79
|
+
emit("change", date);
|
|
80
|
+
}
|
|
81
|
+
function selectMonth(monthIdx) {
|
|
82
|
+
viewMonth.value = monthIdx;
|
|
83
|
+
emit("panel-change", new Date(viewYear.value, monthIdx, 1), props.mode);
|
|
84
|
+
}
|
|
85
|
+
const dayGridEl = _vue.ref.call(void 0, null);
|
|
86
|
+
const monthGridEl = _vue.ref.call(void 0, null);
|
|
87
|
+
const activeIso = _vue.ref.call(void 0, null);
|
|
88
|
+
const activeMonthIdx = _vue.ref.call(void 0, null);
|
|
89
|
+
const toIso = (d) => _tigercatcore.formatDate.call(void 0, d, "yyyy-MM-dd");
|
|
90
|
+
function getDefaultDayIso() {
|
|
91
|
+
const v = props.modelValue;
|
|
92
|
+
if (v && v.getFullYear() === viewYear.value && v.getMonth() === viewMonth.value)
|
|
93
|
+
return toIso(v);
|
|
94
|
+
if (today.getFullYear() === viewYear.value && today.getMonth() === viewMonth.value)
|
|
95
|
+
return toIso(today);
|
|
96
|
+
return toIso(new Date(viewYear.value, viewMonth.value, 1));
|
|
97
|
+
}
|
|
98
|
+
function navigate(y, m) {
|
|
99
|
+
viewYear.value = y;
|
|
100
|
+
viewMonth.value = m;
|
|
101
|
+
emit("panel-change", new Date(y, m, 1), props.mode);
|
|
102
|
+
}
|
|
103
|
+
function focusDayIso(iso) {
|
|
104
|
+
const el = _optionalChain([dayGridEl, 'access', _11 => _11.value, 'optionalAccess', _12 => _12.querySelector, 'call', _13 => _13(`button[data-date="${iso}"]`)]);
|
|
105
|
+
if (el && !el.disabled) {
|
|
106
|
+
el.focus();
|
|
107
|
+
activeIso.value = iso;
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
function moveDayFocus(deltaDays) {
|
|
113
|
+
const activeEl = document.activeElement;
|
|
114
|
+
const currentIso = _nullishCoalesce(_nullishCoalesce(_optionalChain([activeEl, 'optionalAccess', _14 => _14.getAttribute, 'call', _15 => _15("data-date")]), () => ( activeIso.value)), () => ( getDefaultDayIso()));
|
|
115
|
+
const base = _tigercatcore.parseDate.call(void 0, currentIso);
|
|
116
|
+
if (!base) return;
|
|
117
|
+
let candidate = _tigercatcore.addDays.call(void 0, base, deltaDays);
|
|
118
|
+
for (let attempts = 0; attempts < 42; attempts++) {
|
|
119
|
+
const iso = toIso(candidate);
|
|
120
|
+
const el = _optionalChain([dayGridEl, 'access', _16 => _16.value, 'optionalAccess', _17 => _17.querySelector, 'call', _18 => _18(`button[data-date="${iso}"]`)]);
|
|
121
|
+
if (el && !el.disabled) {
|
|
122
|
+
el.focus();
|
|
123
|
+
activeIso.value = iso;
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
if (!el) {
|
|
127
|
+
activeIso.value = iso;
|
|
128
|
+
navigate(candidate.getFullYear(), candidate.getMonth());
|
|
129
|
+
_vue.nextTick.call(void 0, () => {
|
|
130
|
+
_optionalChain([dayGridEl, 'access', _19 => _19.value, 'optionalAccess', _20 => _20.querySelector, 'call', _21 => _21(`button[data-date="${iso}"]`), 'optionalAccess', _22 => _22.focus, 'call', _23 => _23()]);
|
|
131
|
+
});
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
candidate = _tigercatcore.addDays.call(void 0, candidate, deltaDays);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function handleDayGridKeyDown(e) {
|
|
138
|
+
switch (e.key) {
|
|
139
|
+
case "ArrowLeft":
|
|
140
|
+
e.preventDefault();
|
|
141
|
+
moveDayFocus(-1);
|
|
142
|
+
break;
|
|
143
|
+
case "ArrowRight":
|
|
144
|
+
e.preventDefault();
|
|
145
|
+
moveDayFocus(1);
|
|
146
|
+
break;
|
|
147
|
+
case "ArrowUp":
|
|
148
|
+
e.preventDefault();
|
|
149
|
+
moveDayFocus(-7);
|
|
150
|
+
break;
|
|
151
|
+
case "ArrowDown":
|
|
152
|
+
e.preventDefault();
|
|
153
|
+
moveDayFocus(7);
|
|
154
|
+
break;
|
|
155
|
+
case "Home":
|
|
156
|
+
e.preventDefault();
|
|
157
|
+
focusDayIso(toIso(new Date(viewYear.value, viewMonth.value, 1)));
|
|
158
|
+
break;
|
|
159
|
+
case "End":
|
|
160
|
+
e.preventDefault();
|
|
161
|
+
focusDayIso(toIso(new Date(viewYear.value, viewMonth.value + 1, 0)));
|
|
162
|
+
break;
|
|
163
|
+
case "Enter":
|
|
164
|
+
case " ": {
|
|
165
|
+
const activeEl = document.activeElement;
|
|
166
|
+
const iso = _optionalChain([activeEl, 'optionalAccess', _24 => _24.getAttribute, 'call', _25 => _25("data-date")]);
|
|
167
|
+
if (iso) {
|
|
168
|
+
e.preventDefault();
|
|
169
|
+
const d = _tigercatcore.parseDate.call(void 0, iso);
|
|
170
|
+
if (d) selectDay(d);
|
|
171
|
+
}
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
default:
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function focusMonthIdx(idx) {
|
|
179
|
+
const els = _optionalChain([monthGridEl, 'access', _26 => _26.value, 'optionalAccess', _27 => _27.querySelectorAll, 'call', _28 => _28('button[role="gridcell"]')]);
|
|
180
|
+
_optionalChain([els, 'optionalAccess', _29 => _29[idx], 'optionalAccess', _30 => _30.focus, 'call', _31 => _31()]);
|
|
181
|
+
activeMonthIdx.value = idx;
|
|
182
|
+
}
|
|
183
|
+
function handleMonthKeyDown(e, idx) {
|
|
184
|
+
let target = idx;
|
|
185
|
+
switch (e.key) {
|
|
186
|
+
case "ArrowRight":
|
|
187
|
+
target = Math.min(11, idx + 1);
|
|
188
|
+
break;
|
|
189
|
+
case "ArrowLeft":
|
|
190
|
+
target = Math.max(0, idx - 1);
|
|
191
|
+
break;
|
|
192
|
+
case "ArrowDown":
|
|
193
|
+
target = Math.min(11, idx + 3);
|
|
194
|
+
break;
|
|
195
|
+
case "ArrowUp":
|
|
196
|
+
target = Math.max(0, idx - 3);
|
|
197
|
+
break;
|
|
198
|
+
case "Home":
|
|
199
|
+
target = 0;
|
|
200
|
+
break;
|
|
201
|
+
case "End":
|
|
202
|
+
target = 11;
|
|
203
|
+
break;
|
|
204
|
+
case "Enter":
|
|
205
|
+
case " ":
|
|
206
|
+
e.preventDefault();
|
|
207
|
+
selectMonth(idx);
|
|
208
|
+
return;
|
|
209
|
+
default:
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
e.preventDefault();
|
|
213
|
+
focusMonthIdx(target);
|
|
214
|
+
}
|
|
215
|
+
return () => {
|
|
216
|
+
const containerClass = _tigercatcore.classNames.call(void 0,
|
|
217
|
+
_tigercatcore.getCalendarContainerClasses.call(void 0, !!props.fullscreen),
|
|
218
|
+
props.className,
|
|
219
|
+
_tigercatcore.coerceClassValue.call(void 0, attrs.class)
|
|
220
|
+
);
|
|
221
|
+
const header = _vue.h.call(void 0, "div", { class: _tigercatcore.calendarHeaderClasses }, [
|
|
222
|
+
_vue.h.call(void 0,
|
|
223
|
+
"button",
|
|
224
|
+
{
|
|
225
|
+
type: "button",
|
|
226
|
+
class: _tigercatcore.calendarNavButtonClasses,
|
|
227
|
+
"aria-label": props.mode === "month" ? labels.value.previousMonth : labels.value.previousYear,
|
|
228
|
+
onClick: props.mode === "month" ? prevMonth : prevYear
|
|
229
|
+
},
|
|
230
|
+
"\u2039"
|
|
231
|
+
),
|
|
232
|
+
_vue.h.call(void 0,
|
|
233
|
+
"span",
|
|
234
|
+
{ class: _tigercatcore.calendarTitleClasses },
|
|
235
|
+
props.mode === "month" ? _tigercatcore.formatMonthYear.call(void 0, viewYear.value, viewMonth.value, localeCode.value) : `${viewYear.value}`
|
|
236
|
+
),
|
|
237
|
+
_vue.h.call(void 0,
|
|
238
|
+
"button",
|
|
239
|
+
{
|
|
240
|
+
type: "button",
|
|
241
|
+
class: _tigercatcore.calendarNavButtonClasses,
|
|
242
|
+
"aria-label": props.mode === "month" ? labels.value.nextMonth : labels.value.nextYear,
|
|
243
|
+
onClick: props.mode === "month" ? nextMonth : nextYear
|
|
244
|
+
},
|
|
245
|
+
"\u203A"
|
|
246
|
+
)
|
|
247
|
+
]);
|
|
248
|
+
const rovingDayIso = _nullishCoalesce(activeIso.value, () => ( getDefaultDayIso()));
|
|
249
|
+
const rovingMonthIdx = _nullishCoalesce(activeMonthIdx.value, () => ( viewMonth.value));
|
|
250
|
+
let body;
|
|
251
|
+
if (props.mode === "year") {
|
|
252
|
+
const monthRows = [];
|
|
253
|
+
for (let i = 0; i < monthNames.value.length; i += 3)
|
|
254
|
+
monthRows.push(monthNames.value.slice(i, i + 3));
|
|
255
|
+
body = _vue.h.call(void 0,
|
|
256
|
+
"div",
|
|
257
|
+
{ class: "grid grid-cols-1 gap-2", role: "grid", ref: monthGridEl },
|
|
258
|
+
monthRows.map(
|
|
259
|
+
(row, ri) => _vue.h.call(void 0,
|
|
260
|
+
"div",
|
|
261
|
+
{ key: ri, class: "grid grid-cols-3 gap-2", role: "row" },
|
|
262
|
+
row.map((m, ci) => {
|
|
263
|
+
const i = ri * 3 + ci;
|
|
264
|
+
return _vue.h.call(void 0,
|
|
265
|
+
"button",
|
|
266
|
+
{
|
|
267
|
+
key: i,
|
|
268
|
+
type: "button",
|
|
269
|
+
role: "gridcell",
|
|
270
|
+
"aria-selected": viewMonth.value === i,
|
|
271
|
+
tabindex: rovingMonthIdx === i ? 0 : -1,
|
|
272
|
+
class: _tigercatcore.getCalendarMonthClasses.call(void 0, viewMonth.value === i),
|
|
273
|
+
onClick: () => selectMonth(i),
|
|
274
|
+
onFocus: () => activeMonthIdx.value = i,
|
|
275
|
+
onKeydown: (e) => handleMonthKeyDown(e, i)
|
|
276
|
+
},
|
|
277
|
+
m
|
|
278
|
+
);
|
|
279
|
+
})
|
|
280
|
+
)
|
|
281
|
+
)
|
|
282
|
+
);
|
|
283
|
+
} else {
|
|
284
|
+
const weekdayRow = _vue.h.call(void 0,
|
|
285
|
+
"div",
|
|
286
|
+
{ class: "grid grid-cols-7", role: "row" },
|
|
287
|
+
weekdayNames.value.map(
|
|
288
|
+
(wd) => _vue.h.call(void 0, "div", { key: wd, class: _tigercatcore.calendarWeekdayClasses, role: "columnheader" }, wd)
|
|
289
|
+
)
|
|
290
|
+
);
|
|
291
|
+
const weeks = [];
|
|
292
|
+
for (let i = 0; i < days.value.length; i += 7) weeks.push(days.value.slice(i, i + 7));
|
|
293
|
+
const weekRows = weeks.map(
|
|
294
|
+
(week, wi) => _vue.h.call(void 0,
|
|
295
|
+
"div",
|
|
296
|
+
{ key: wi, class: "grid grid-cols-7", role: "row", onKeydown: handleDayGridKeyDown },
|
|
297
|
+
week.map((date) => {
|
|
298
|
+
const isCurrentMonth = date.getMonth() === viewMonth.value;
|
|
299
|
+
const isSelected = props.modelValue ? _tigercatcore.isSameDay.call(void 0, date, props.modelValue) : false;
|
|
300
|
+
const isTodayDate = _tigercatcore.isSameDay.call(void 0, date, today);
|
|
301
|
+
const isDisabled = !!_optionalChain([props, 'access', _32 => _32.disabledDate, 'optionalCall', _33 => _33(date)]);
|
|
302
|
+
const iso = toIso(date);
|
|
303
|
+
return _vue.h.call(void 0,
|
|
304
|
+
"button",
|
|
305
|
+
{
|
|
306
|
+
key: iso,
|
|
307
|
+
type: "button",
|
|
308
|
+
role: "gridcell",
|
|
309
|
+
"data-date": iso,
|
|
310
|
+
"aria-label": iso,
|
|
311
|
+
"aria-selected": isSelected,
|
|
312
|
+
"aria-current": isTodayDate ? "date" : void 0,
|
|
313
|
+
disabled: isDisabled,
|
|
314
|
+
tabindex: rovingDayIso === iso && !isDisabled ? 0 : -1,
|
|
315
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
316
|
+
_tigercatcore.getCalendarDayClasses.call(void 0, isSelected, isTodayDate, isCurrentMonth, isDisabled),
|
|
317
|
+
"justify-self-center my-0.5"
|
|
318
|
+
),
|
|
319
|
+
onClick: () => selectDay(date),
|
|
320
|
+
onFocus: () => activeIso.value = iso
|
|
321
|
+
},
|
|
322
|
+
date.getDate()
|
|
323
|
+
);
|
|
324
|
+
})
|
|
325
|
+
)
|
|
326
|
+
);
|
|
327
|
+
body = _vue.h.call(void 0, "div", { role: "grid", "aria-rowcount": 7, "aria-colcount": 7, ref: dayGridEl }, [
|
|
328
|
+
weekdayRow,
|
|
329
|
+
...weekRows
|
|
330
|
+
]);
|
|
331
|
+
}
|
|
332
|
+
return _vue.h.call(void 0, "div", { ...attrs, class: containerClass, role: "group" }, [header, body]);
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
var Calendar_default = Calendar;
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
exports.Calendar = Calendar; exports.Calendar_default = Calendar_default;
|
|
@@ -26,6 +26,11 @@ var _vue = require('vue');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
29
34
|
|
|
30
35
|
|
|
31
36
|
|
|
@@ -77,6 +82,14 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
77
82
|
showCardCount: { type: Boolean, default: false },
|
|
78
83
|
allowAddCard: { type: Boolean, default: false },
|
|
79
84
|
allowAddColumn: { type: Boolean, default: false },
|
|
85
|
+
swimlanes: {
|
|
86
|
+
type: Array,
|
|
87
|
+
default: void 0
|
|
88
|
+
},
|
|
89
|
+
swimlaneField: {
|
|
90
|
+
type: String,
|
|
91
|
+
default: void 0
|
|
92
|
+
},
|
|
80
93
|
locale: {
|
|
81
94
|
type: Object,
|
|
82
95
|
default: void 0
|
|
@@ -296,14 +309,55 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
296
309
|
},
|
|
297
310
|
headerContent
|
|
298
311
|
);
|
|
299
|
-
const
|
|
312
|
+
const renderCardNode = (card, originalIndex) => {
|
|
300
313
|
const nodes = [];
|
|
301
|
-
if (isDropTarget && dragSnap.value.dropIndex ===
|
|
302
|
-
nodes.push(
|
|
314
|
+
if (isDropTarget && dragSnap.value.dropIndex === originalIndex) {
|
|
315
|
+
nodes.push(
|
|
316
|
+
_vue.h.call(void 0, "div", { key: `drop-${originalIndex}`, class: _tigercatcore.taskBoardDropIndicatorClasses })
|
|
317
|
+
);
|
|
303
318
|
}
|
|
304
319
|
nodes.push(renderCard(card, column));
|
|
305
320
|
return nodes;
|
|
306
|
-
}
|
|
321
|
+
};
|
|
322
|
+
const cards = column.cards.length > 0 ? (props.swimlanes && props.swimlaneField ? _tigercatcore.groupBySwimlane.call(void 0, column.cards, props.swimlanes, props.swimlaneField).map(
|
|
323
|
+
(group) => _vue.h.call(void 0,
|
|
324
|
+
"div",
|
|
325
|
+
{
|
|
326
|
+
key: String(group.swimlane.id),
|
|
327
|
+
class: _tigercatcore.kanbanSwimlaneClasses,
|
|
328
|
+
"data-tiger-kanban-swimlane": "",
|
|
329
|
+
"data-tiger-kanban-swimlane-id": String(group.swimlane.id)
|
|
330
|
+
},
|
|
331
|
+
[
|
|
332
|
+
_vue.h.call(void 0, "div", { class: _tigercatcore.kanbanSwimlaneHeaderClasses }, [
|
|
333
|
+
group.swimlane.color ? _vue.h.call(void 0, "span", {
|
|
334
|
+
class: _tigercatcore.kanbanSwimlaneDotClasses,
|
|
335
|
+
style: { backgroundColor: group.swimlane.color }
|
|
336
|
+
}) : null,
|
|
337
|
+
_vue.h.call(void 0, "span", null, group.swimlane.label),
|
|
338
|
+
_vue.h.call(void 0,
|
|
339
|
+
"span",
|
|
340
|
+
{
|
|
341
|
+
class: "ml-auto text-xs text-[var(--tiger-text-muted,#6b7280)]"
|
|
342
|
+
},
|
|
343
|
+
String(group.cards.length)
|
|
344
|
+
)
|
|
345
|
+
]),
|
|
346
|
+
_vue.h.call(void 0,
|
|
347
|
+
"div",
|
|
348
|
+
{
|
|
349
|
+
class: group.swimlane.collapsed ? _tigercatcore.kanbanSwimlaneCollapsedClasses : ""
|
|
350
|
+
},
|
|
351
|
+
group.cards.flatMap(
|
|
352
|
+
(card) => renderCardNode(
|
|
353
|
+
card,
|
|
354
|
+
column.cards.findIndex((item) => item.id === card.id)
|
|
355
|
+
)
|
|
356
|
+
)
|
|
357
|
+
)
|
|
358
|
+
]
|
|
359
|
+
)
|
|
360
|
+
) : column.cards.flatMap((card, i) => renderCardNode(card, i))).concat(
|
|
307
361
|
isDropTarget && dragSnap.value.dropIndex >= column.cards.length ? [_vue.h.call(void 0, "div", { key: "drop-end", class: _tigercatcore.taskBoardDropIndicatorClasses })] : []
|
|
308
362
|
) : [
|
|
309
363
|
isDropTarget ? _vue.h.call(void 0, "div", { key: "drop-empty", class: _tigercatcore.taskBoardDropIndicatorClasses }) : slots["empty-column"] ? slots["empty-column"]({ column }) : _vue.h.call(void 0,
|
|
@@ -390,7 +444,7 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
390
444
|
}
|
|
391
445
|
}
|
|
392
446
|
},
|
|
393
|
-
"+ " + _tigercatcore.resolveLocaleText.call(void 0, labels.value.
|
|
447
|
+
"+ " + _tigercatcore.resolveLocaleText.call(void 0, labels.value.addColumnText)
|
|
394
448
|
)
|
|
395
449
|
);
|
|
396
450
|
}
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
createPinchState,
|
|
27
27
|
startPinch,
|
|
28
28
|
movePinch,
|
|
29
|
-
|
|
29
|
+
getImageViewerLabels,
|
|
30
30
|
mergeTigerLocale
|
|
31
31
|
} from "@expcat/tigercat-core";
|
|
32
32
|
function createSvgIcon(pathD, label) {
|
|
@@ -102,9 +102,7 @@ var ImageViewer = defineComponent({
|
|
|
102
102
|
setup(props, { emit, attrs }) {
|
|
103
103
|
const config = useTigerConfig();
|
|
104
104
|
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
105
|
-
const
|
|
106
|
-
() => resolveLocaleText("Close", mergedLocale.value?.common?.closeText)
|
|
107
|
-
);
|
|
105
|
+
const labels = computed(() => getImageViewerLabels(mergedLocale.value));
|
|
108
106
|
const index = ref(props.currentIndex);
|
|
109
107
|
const transform = ref(createDefaultTransform());
|
|
110
108
|
let panState = createPanState();
|
|
@@ -256,10 +254,10 @@ var ImageViewer = defineComponent({
|
|
|
256
254
|
{
|
|
257
255
|
class: imageViewerCloseBtnClasses,
|
|
258
256
|
onClick: handleClose,
|
|
259
|
-
"aria-label":
|
|
257
|
+
"aria-label": labels.value.closeAriaLabel,
|
|
260
258
|
type: "button"
|
|
261
259
|
},
|
|
262
|
-
createSvgIcon(imageViewerIcons.close,
|
|
260
|
+
createSvgIcon(imageViewerIcons.close, labels.value.closeAriaLabel)
|
|
263
261
|
)
|
|
264
262
|
);
|
|
265
263
|
if (props.showNav && props.images.length > 1) {
|
|
@@ -269,20 +267,20 @@ var ImageViewer = defineComponent({
|
|
|
269
267
|
{
|
|
270
268
|
class: classNames(imageViewerNavBtnClasses, "left-4"),
|
|
271
269
|
onClick: handlePrev,
|
|
272
|
-
"aria-label":
|
|
270
|
+
"aria-label": labels.value.previousImageAriaLabel,
|
|
273
271
|
type: "button"
|
|
274
272
|
},
|
|
275
|
-
createSvgIcon(imageViewerIcons.prev,
|
|
273
|
+
createSvgIcon(imageViewerIcons.prev, labels.value.previousImageAriaLabel)
|
|
276
274
|
),
|
|
277
275
|
h(
|
|
278
276
|
"button",
|
|
279
277
|
{
|
|
280
278
|
class: classNames(imageViewerNavBtnClasses, "right-4"),
|
|
281
279
|
onClick: handleNext,
|
|
282
|
-
"aria-label":
|
|
280
|
+
"aria-label": labels.value.nextImageAriaLabel,
|
|
283
281
|
type: "button"
|
|
284
282
|
},
|
|
285
|
-
createSvgIcon(imageViewerIcons.next,
|
|
283
|
+
createSvgIcon(imageViewerIcons.next, labels.value.nextImageAriaLabel)
|
|
286
284
|
)
|
|
287
285
|
);
|
|
288
286
|
}
|
|
@@ -314,20 +312,20 @@ var ImageViewer = defineComponent({
|
|
|
314
312
|
{
|
|
315
313
|
class: imageViewerToolbarBtnClasses,
|
|
316
314
|
onClick: handleZoomOut,
|
|
317
|
-
"aria-label":
|
|
315
|
+
"aria-label": labels.value.zoomOutAriaLabel,
|
|
318
316
|
type: "button"
|
|
319
317
|
},
|
|
320
|
-
createSvgIcon(imageViewerIcons.zoomOut,
|
|
318
|
+
createSvgIcon(imageViewerIcons.zoomOut, labels.value.zoomOutAriaLabel)
|
|
321
319
|
),
|
|
322
320
|
h(
|
|
323
321
|
"button",
|
|
324
322
|
{
|
|
325
323
|
class: imageViewerToolbarBtnClasses,
|
|
326
324
|
onClick: handleZoomIn,
|
|
327
|
-
"aria-label":
|
|
325
|
+
"aria-label": labels.value.zoomInAriaLabel,
|
|
328
326
|
type: "button"
|
|
329
327
|
},
|
|
330
|
-
createSvgIcon(imageViewerIcons.zoomIn,
|
|
328
|
+
createSvgIcon(imageViewerIcons.zoomIn, labels.value.zoomInAriaLabel)
|
|
331
329
|
)
|
|
332
330
|
);
|
|
333
331
|
}
|
|
@@ -338,20 +336,20 @@ var ImageViewer = defineComponent({
|
|
|
338
336
|
{
|
|
339
337
|
class: imageViewerToolbarBtnClasses,
|
|
340
338
|
onClick: handleRotateLeft,
|
|
341
|
-
"aria-label":
|
|
339
|
+
"aria-label": labels.value.rotateLeftAriaLabel,
|
|
342
340
|
type: "button"
|
|
343
341
|
},
|
|
344
|
-
createSvgIcon(imageViewerIcons.rotateLeft,
|
|
342
|
+
createSvgIcon(imageViewerIcons.rotateLeft, labels.value.rotateLeftAriaLabel)
|
|
345
343
|
),
|
|
346
344
|
h(
|
|
347
345
|
"button",
|
|
348
346
|
{
|
|
349
347
|
class: imageViewerToolbarBtnClasses,
|
|
350
348
|
onClick: handleRotateRight,
|
|
351
|
-
"aria-label":
|
|
349
|
+
"aria-label": labels.value.rotateRightAriaLabel,
|
|
352
350
|
type: "button"
|
|
353
351
|
},
|
|
354
|
-
createSvgIcon(imageViewerIcons.rotateRight,
|
|
352
|
+
createSvgIcon(imageViewerIcons.rotateRight, labels.value.rotateRightAriaLabel)
|
|
355
353
|
)
|
|
356
354
|
);
|
|
357
355
|
}
|
|
@@ -369,7 +367,7 @@ var ImageViewer = defineComponent({
|
|
|
369
367
|
),
|
|
370
368
|
role: "dialog",
|
|
371
369
|
"aria-modal": "true",
|
|
372
|
-
"aria-label":
|
|
370
|
+
"aria-label": labels.value.dialogAriaLabel,
|
|
373
371
|
onClick: (e) => {
|
|
374
372
|
if (props.maskClosable && e.target === e.currentTarget) {
|
|
375
373
|
handleClose();
|