@expcat/tigercat-vue 1.3.4 → 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-PCJHGWTU.js → chunk-2FYVPPTD.js} +53 -7
- package/dist/{chunk-MJP2SNLK.mjs → chunk-2HRJGOAV.mjs} +62 -27
- package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-DS7RQFEG.js → chunk-2RCBEBBR.js} +20 -13
- package/dist/{chunk-25VVIM45.mjs → chunk-2YPPXZ4I.mjs} +60 -6
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
- package/dist/{chunk-RNQOMMLM.mjs → chunk-3VFZB5ZK.mjs} +3 -3
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-IPZVGA6Y.mjs → chunk-4QCJUILG.mjs} +66 -97
- 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-BWIHL7LK.mjs → chunk-5CHHWMES.mjs} +28 -10
- package/dist/chunk-5FTM7R3P.js +142 -0
- package/dist/{chunk-LZHCKW2Z.js → chunk-5PVDNJA5.js} +12 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
- package/dist/{chunk-Q3IZQUW7.js → chunk-67RSRWWY.js} +3 -3
- package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
- package/dist/{chunk-PZH2RTSS.mjs → chunk-6FV2OMB7.mjs} +38 -9
- package/dist/{chunk-6BFGY5W7.mjs → chunk-6G5FEZLT.mjs} +13 -15
- package/dist/{chunk-XQRKFOXS.mjs → chunk-6WF3336O.mjs} +13 -2
- package/dist/{chunk-5D2UAWWP.mjs → chunk-6WFFP4K2.mjs} +2 -4
- package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
- package/dist/{chunk-FQWEOBQ4.mjs → chunk-7BU4TW5A.mjs} +13 -3
- package/dist/{chunk-A5HRX7EG.js → chunk-7CR6MLD5.js} +5 -4
- package/dist/{chunk-LAWBHGPK.js → chunk-7FWZIAFP.js} +2 -2
- package/dist/{chunk-CSJQKBDJ.js → chunk-7GYYIDMA.js} +2 -4
- package/dist/{chunk-3XCQRM3L.js → chunk-7J7JIIHX.js} +30 -12
- package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-JJXYM6QR.js → chunk-7RMBEWN2.js} +2 -2
- package/dist/{chunk-L5E3L6ID.js → chunk-AF7JZUTA.js} +66 -97
- package/dist/{chunk-PIF4M4TR.mjs → chunk-ALFEFDVG.mjs} +125 -17
- 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-K4VUUEFQ.mjs → chunk-BJV62I73.mjs} +111 -70
- package/dist/{chunk-XJXGVNNF.js → chunk-BNUR72YP.js} +27 -5
- package/dist/{chunk-FE2HR4E5.js → chunk-BPJOIFND.js} +59 -22
- 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-5X3GXNGM.mjs → chunk-CF4GX6BD.mjs} +43 -12
- package/dist/{chunk-AEOREYSJ.js → chunk-CFJST2X2.js} +126 -28
- package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
- package/dist/{chunk-2X3ZPH2H.mjs → chunk-CIDINFA2.mjs} +44 -4
- package/dist/{chunk-KVJIJJ4M.mjs → chunk-CVFXUYH2.mjs} +58 -32
- package/dist/{chunk-LILAZ4UJ.mjs → chunk-CW5TEG7N.mjs} +3 -3
- package/dist/{chunk-GOBWUEHV.js → chunk-D43IFX7J.js} +4 -5
- package/dist/{chunk-RBHF7NOQ.js → chunk-D6Y3KVJF.js} +22 -2
- package/dist/{chunk-ZDKGABPQ.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-NNNG6NIA.mjs → chunk-DWPZRG7A.mjs} +6 -5
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-JFIVDZFK.js → chunk-E36I27WK.js} +30 -4
- package/dist/chunk-E7NE5HEC.mjs +351 -0
- package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
- package/dist/{chunk-WNKF2OD5.mjs → chunk-EVIZXEB2.mjs} +31 -7
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-5JKQPOG2.js → chunk-F5TZIFMW.js} +15 -3
- package/dist/{chunk-7WQN5BYE.mjs → chunk-FAQL7HFW.mjs} +36 -3
- package/dist/{chunk-4K2CCBFT.mjs → chunk-FISKCPTN.mjs} +3 -2
- package/dist/{chunk-IORFQMZH.mjs → chunk-FT2HWF7P.mjs} +4 -4
- package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
- package/dist/{chunk-HFRPZA5S.js → chunk-GBYNY77G.js} +6 -6
- package/dist/{chunk-OGDZTDZ6.mjs → chunk-GHG2MCLM.mjs} +28 -7
- package/dist/{chunk-ZUPVK5L7.js → chunk-GJ5HJOQP.js} +72 -51
- package/dist/{chunk-F7WZCYYD.mjs → chunk-GL63FRI4.mjs} +1 -1
- package/dist/{chunk-JZJEZKGN.js → chunk-GV3LRZSR.js} +37 -13
- 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-ZSCOAOJJ.js → chunk-HI45DI7S.js} +35 -7
- 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-RE7K3KNW.mjs → chunk-HWL36OCD.mjs} +21 -14
- package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
- package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
- package/dist/{chunk-25EYT2CB.js → chunk-IXTYS3EK.js} +3 -2
- package/dist/{chunk-P7RXZVLT.js → chunk-J77GQQEC.js} +45 -5
- package/dist/{chunk-ZIOGRGN5.mjs → chunk-JCGWN7WV.mjs} +26 -4
- package/dist/{chunk-Q4MH333P.js → chunk-JCPTFBLY.js} +1 -1
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
- package/dist/chunk-JICPYKCT.js +297 -0
- package/dist/{chunk-S6K6IR3Y.js → chunk-JMRR4KDB.js} +4 -4
- 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-KTNT2JHB.js +351 -0
- package/dist/{chunk-C4HYZH7H.mjs → chunk-LGDJDBE3.mjs} +103 -47
- package/dist/{chunk-LA5YKXPH.mjs → chunk-LHOSPU6V.mjs} +3 -3
- 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-35NT2WJR.mjs → chunk-LOX2KCML.mjs} +8 -9
- package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
- package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
- package/dist/{chunk-Z7ETXBOL.mjs → chunk-MF7BKYGN.mjs} +59 -22
- package/dist/chunk-MNVMGJUF.js +341 -0
- package/dist/{chunk-OKLDFVDJ.js → chunk-MPVL53GP.js} +61 -7
- package/dist/{chunk-SEDENBOO.mjs → chunk-N2QGYEOQ.mjs} +30 -17
- package/dist/{chunk-3NRRNQYJ.js → chunk-NQYE64IF.js} +31 -7
- package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
- package/dist/{chunk-VXULMOIW.js → chunk-OQBWITHA.js} +29 -16
- package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
- package/dist/{chunk-TAA6DDJ2.mjs → chunk-OSPHI5TV.mjs} +116 -9
- package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
- package/dist/{chunk-CPV7INZ4.mjs → chunk-P3VAY2IQ.mjs} +1 -1
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-2YFXJUBT.js → chunk-PFWRFHSB.js} +2 -2
- package/dist/{chunk-NYR6OQO4.js → chunk-PFZFPN7M.js} +65 -30
- package/dist/{chunk-S6Q7TD6H.js → chunk-PH6ERFC7.js} +38 -9
- 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-IZQ7BRHC.mjs → chunk-QH3YF5B6.mjs} +126 -28
- package/dist/{chunk-WZBOHL2F.js → chunk-QKJATAJP.js} +120 -13
- package/dist/{chunk-VG6E4NX6.mjs → chunk-R6WFL6NI.mjs} +3 -2
- package/dist/{chunk-6XI4VDU4.js → chunk-RBWJSHKR.js} +13 -2
- package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
- package/dist/{chunk-WUHW7AIM.mjs → chunk-RHV6DWY6.mjs} +5 -7
- package/dist/{chunk-VCBBWDOV.mjs → chunk-RTZUIWCN.mjs} +22 -2
- package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
- package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
- package/dist/{chunk-7VHDBN6U.js → chunk-SJSZHQWX.js} +4 -4
- package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
- package/dist/{chunk-TZDNF5SK.js → chunk-SOSHYDIX.js} +115 -74
- package/dist/{chunk-Q47OK3FR.js → chunk-TCB3WFYM.js} +12 -13
- package/dist/{chunk-SCSGLSPY.mjs → chunk-TM73IWEY.mjs} +53 -12
- package/dist/{chunk-NKVEXKM5.js → chunk-TNKULOHK.js} +36 -3
- package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
- package/dist/{chunk-OCL22D5E.mjs → chunk-TRN5PL5D.mjs} +34 -6
- package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
- package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
- package/dist/{chunk-EW2IW2JW.js → chunk-U5TSCS34.js} +16 -18
- package/dist/{chunk-6NFACBDB.js → chunk-UFY654LD.js} +5 -7
- package/dist/{chunk-2BNQGU7E.mjs → chunk-UKMOWUYH.mjs} +1 -1
- 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-D74XCQCK.mjs → chunk-V5ZEPAWV.mjs} +56 -10
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-2VVXW53X.js → chunk-VDKUKZS2.js} +124 -68
- package/dist/{chunk-MHNCH2YI.js → chunk-VJ72Y54M.js} +14 -4
- package/dist/{chunk-LS4VI4RG.mjs → chunk-VJJ7RAC6.mjs} +36 -12
- package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
- package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
- package/dist/{chunk-MUJLT2YG.js → chunk-VXRFE72I.js} +61 -35
- package/dist/{chunk-3A7H2CTW.mjs → chunk-VYBRLIKF.mjs} +73 -52
- package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
- package/dist/{chunk-F7G7K3TF.mjs → chunk-WBT3WSRE.mjs} +4 -5
- package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-W6VKVYWZ.mjs → chunk-WSUCJHJX.mjs} +2 -2
- 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-LL4ASJ4O.mjs → chunk-XJ5VGC5V.mjs} +30 -4
- package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
- package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
- package/dist/{chunk-JNIKT6AL.js → chunk-XVNN6D55.js} +29 -8
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/{chunk-H6V26X2R.js → chunk-YI25YL5W.js} +4 -4
- package/dist/{chunk-UUJ7A3CN.js → chunk-YLMQZR6F.js} +43 -12
- package/dist/{chunk-PY6P4N2Q.js → chunk-YMUYN4IR.js} +53 -12
- package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
- package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
- package/dist/{chunk-BH4AJQTL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/{chunk-5WG4OFXH.mjs → chunk-Z7QUWBFR.mjs} +15 -3
- package/dist/{chunk-FUGSQXFR.js → chunk-ZHSXICH7.js} +3 -2
- package/dist/components/ActivityFeed.d.mts +6 -6
- package/dist/components/ActivityFeed.d.ts +6 -6
- package/dist/components/ActivityFeed.js +8 -7
- package/dist/components/ActivityFeed.mjs +7 -6
- package/dist/components/Alert.d.mts +3 -3
- package/dist/components/Alert.d.ts +3 -3
- package/dist/components/Alert.js +2 -2
- package/dist/components/Alert.mjs +1 -1
- package/dist/components/Anchor.d.mts +1 -1
- package/dist/components/Anchor.d.ts +1 -1
- 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.d.mts +3 -3
- package/dist/components/AreaChart.d.ts +3 -3
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +14 -5
- package/dist/components/AutoComplete.d.ts +14 -5
- package/dist/components/AutoComplete.js +3 -2
- package/dist/components/AutoComplete.mjs +2 -1
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.d.ts +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 +13 -4
- package/dist/components/Badge.d.ts +13 -4
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.d.ts +2 -2
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.d.mts +3 -3
- package/dist/components/Breadcrumb.d.ts +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/Button.d.mts +3 -3
- package/dist/components/Button.d.ts +3 -3
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -1
- package/dist/components/Calendar.d.mts +17 -7
- package/dist/components/Calendar.d.ts +17 -7
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Card.d.mts +2 -2
- package/dist/components/Card.d.ts +2 -2
- package/dist/components/Cascader.d.mts +19 -3
- package/dist/components/Cascader.d.ts +19 -3
- package/dist/components/Cascader.js +3 -2
- package/dist/components/Cascader.mjs +2 -1
- package/dist/components/ChartCanvas.d.mts +1 -1
- package/dist/components/ChartCanvas.d.ts +1 -1
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartGrid.d.ts +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 +9 -9
- package/dist/components/ChatWindow.d.ts +9 -9
- package/dist/components/ChatWindow.js +10 -8
- package/dist/components/ChatWindow.mjs +9 -7
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/Checkbox.mjs +2 -2
- package/dist/components/CheckboxGroup.js +2 -2
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CodeEditor.d.mts +2 -2
- package/dist/components/CodeEditor.d.ts +2 -2
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/CollapsePanel.d.ts +1 -1
- package/dist/components/ColorSwatch.d.mts +2 -2
- package/dist/components/ColorSwatch.d.ts +2 -2
- package/dist/components/CommentThread.d.mts +9 -5
- package/dist/components/CommentThread.d.ts +9 -5
- package/dist/components/CommentThread.js +8 -6
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/ConfigProvider.d.mts +1 -1
- package/dist/components/ConfigProvider.d.ts +1 -1
- package/dist/components/ConfigProvider.js +2 -2
- package/dist/components/ConfigProvider.mjs +1 -1
- package/dist/components/Container.d.mts +1 -1
- package/dist/components/Container.d.ts +1 -1
- package/dist/components/Countdown.d.mts +2 -2
- package/dist/components/Countdown.d.ts +2 -2
- 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 +5 -5
- package/dist/components/CropUpload.mjs +4 -4
- package/dist/components/DataTableWithToolbar.d.mts +235 -13
- package/dist/components/DataTableWithToolbar.d.ts +235 -13
- package/dist/components/DataTableWithToolbar.js +10 -9
- package/dist/components/DataTableWithToolbar.mjs +9 -8
- package/dist/components/DatePicker.d.mts +8 -3
- package/dist/components/DatePicker.d.ts +8 -3
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/Descriptions.d.ts +2 -2
- package/dist/components/DonutChart.d.mts +12 -3
- package/dist/components/DonutChart.d.ts +12 -3
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Drawer.d.mts +5 -5
- package/dist/components/Drawer.d.ts +5 -5
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Drawer.mjs +2 -2
- 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 +31 -21
- package/dist/components/FileManager.d.ts +31 -21
- package/dist/components/FileManager.js +3 -2
- package/dist/components/FileManager.mjs +2 -1
- package/dist/components/FloatButton.d.mts +6 -6
- package/dist/components/FloatButton.d.ts +6 -6
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.d.mts +19 -2
- package/dist/components/Form.d.ts +19 -2
- package/dist/components/Form.js +3 -2
- package/dist/components/Form.mjs +2 -1
- package/dist/components/FormItem.js +4 -3
- package/dist/components/FormItem.mjs +3 -2
- package/dist/components/FormWizard.d.mts +5 -5
- package/dist/components/FormWizard.d.ts +5 -5
- package/dist/components/FormWizard.js +4 -4
- package/dist/components/FormWizard.mjs +3 -3
- package/dist/components/FunnelChart.d.mts +2 -2
- package/dist/components/FunnelChart.d.ts +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/Gantt.d.mts +3 -3
- package/dist/components/Gantt.d.ts +3 -3
- package/dist/components/GaugeChart.d.mts +17 -2
- package/dist/components/GaugeChart.d.ts +17 -2
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.d.mts +3 -3
- package/dist/components/HeatmapChart.d.ts +3 -3
- 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.d.mts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Image.js +4 -3
- package/dist/components/Image.mjs +3 -2
- package/dist/components/ImageAnnotation.d.mts +15 -5
- package/dist/components/ImageAnnotation.d.ts +15 -5
- 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 +11 -0
- package/dist/components/ImageViewer.d.ts +11 -0
- package/dist/components/ImageViewer.js +3 -2
- package/dist/components/ImageViewer.mjs +2 -1
- package/dist/components/InfiniteScroll.d.mts +17 -6
- package/dist/components/InfiniteScroll.d.ts +17 -6
- package/dist/components/InfiniteScroll.js +3 -2
- package/dist/components/InfiniteScroll.mjs +2 -1
- package/dist/components/Input.d.mts +4 -4
- package/dist/components/Input.d.ts +4 -4
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputGroup.d.ts +1 -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 +22 -2
- package/dist/components/Kanban.d.ts +22 -2
- package/dist/components/Kanban.js +4 -4
- package/dist/components/Kanban.mjs +3 -3
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.d.ts +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/Link.d.mts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/List.d.mts +24 -9
- package/dist/components/List.d.ts +24 -9
- package/dist/components/List.js +4 -3
- package/dist/components/List.mjs +3 -2
- package/dist/components/Loading.d.mts +16 -6
- package/dist/components/Loading.d.ts +16 -6
- package/dist/components/Loading.js +3 -2
- package/dist/components/Loading.mjs +2 -1
- package/dist/components/MarkdownEditor.d.mts +2 -2
- package/dist/components/MarkdownEditor.d.ts +2 -2
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Mentions.d.ts +2 -2
- package/dist/components/Mentions.js +2 -2
- package/dist/components/Mentions.mjs +1 -1
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Menu.d.ts +5 -5
- package/dist/components/Menu.js +2 -2
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItemGroup.js +3 -3
- package/dist/components/MenuItemGroup.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/Modal.d.mts +8 -8
- package/dist/components/Modal.d.ts +8 -8
- package/dist/components/Modal.js +3 -3
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/NotificationCenter.d.mts +5 -5
- package/dist/components/NotificationCenter.d.ts +5 -5
- package/dist/components/NotificationCenter.js +7 -6
- package/dist/components/NotificationCenter.mjs +6 -5
- package/dist/components/NumberKeyboard.d.mts +17 -8
- package/dist/components/NumberKeyboard.d.ts +17 -8
- package/dist/components/NumberKeyboard.js +3 -2
- package/dist/components/NumberKeyboard.mjs +2 -1
- package/dist/components/OrgChart.d.mts +3 -3
- package/dist/components/OrgChart.d.ts +3 -3
- package/dist/components/Pagination.d.mts +4 -4
- package/dist/components/Pagination.d.ts +4 -4
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +2 -2
- package/dist/components/PieChart.d.mts +12 -3
- package/dist/components/PieChart.d.ts +12 -3
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Popconfirm.d.mts +2 -2
- package/dist/components/Popconfirm.d.ts +2 -2
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/Progress.d.ts +3 -3
- package/dist/components/QRCode.d.mts +13 -3
- package/dist/components/QRCode.d.ts +13 -3
- package/dist/components/QRCode.js +3 -2
- package/dist/components/QRCode.mjs +2 -1
- package/dist/components/RadarChart.d.mts +3 -3
- package/dist/components/RadarChart.d.ts +3 -3
- 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.d.mts +1 -1
- package/dist/components/RichTextEditor.d.ts +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/Row.d.ts +1 -1
- package/dist/components/ScatterChart.d.mts +2 -2
- package/dist/components/ScatterChart.d.ts +2 -2
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/ScrollSpy.d.mts +3 -3
- package/dist/components/ScrollSpy.d.ts +3 -3
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.d.mts +22 -6
- package/dist/components/Select.d.ts +22 -6
- package/dist/components/Select.js +3 -2
- package/dist/components/Select.mjs +2 -1
- package/dist/components/Signature.d.mts +16 -7
- package/dist/components/Signature.d.ts +16 -7
- package/dist/components/Signature.js +3 -2
- package/dist/components/Signature.mjs +2 -1
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Space.d.mts +2 -2
- package/dist/components/Space.d.ts +2 -2
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Splitter.d.ts +1 -1
- package/dist/components/Spotlight.d.mts +17 -9
- package/dist/components/Spotlight.d.ts +17 -9
- package/dist/components/Spotlight.js +3 -2
- package/dist/components/Spotlight.mjs +2 -1
- package/dist/components/Steps.d.mts +3 -3
- package/dist/components/Steps.d.ts +3 -3
- 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/SubMenu.js +3 -3
- package/dist/components/SubMenu.mjs +1 -1
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.d.ts +2 -2
- 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.d.mts +8 -8
- package/dist/components/Table.d.ts +8 -8
- package/dist/components/Table.js +7 -7
- package/dist/components/Table.mjs +6 -6
- package/dist/components/Tabs.d.mts +4 -2
- package/dist/components/Tabs.d.ts +4 -2
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +14 -4
- package/dist/components/Tag.d.ts +14 -4
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +23 -3
- package/dist/components/TaskBoard.d.ts +23 -3
- package/dist/components/TaskBoard.js +3 -3
- package/dist/components/TaskBoard.mjs +2 -2
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Text.d.ts +3 -3
- package/dist/components/Textarea.d.mts +2 -2
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.d.mts +7 -7
- package/dist/components/TimePicker.d.ts +7 -7
- package/dist/components/TimePicker.js +3 -2
- package/dist/components/TimePicker.mjs +2 -1
- package/dist/components/Timeline.d.mts +14 -4
- package/dist/components/Timeline.d.ts +14 -4
- package/dist/components/Timeline.js +3 -2
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tour.d.mts +20 -12
- package/dist/components/Tour.d.ts +20 -12
- package/dist/components/Tour.js +4 -2
- package/dist/components/Tour.mjs +3 -1
- package/dist/components/Transfer.d.mts +37 -5
- package/dist/components/Transfer.d.ts +37 -5
- package/dist/components/Transfer.js +3 -2
- package/dist/components/Transfer.mjs +2 -1
- package/dist/components/Tree.d.mts +23 -7
- package/dist/components/Tree.d.ts +23 -7
- package/dist/components/Tree.js +4 -3
- package/dist/components/Tree.mjs +3 -2
- package/dist/components/TreeMapChart.d.mts +2 -2
- package/dist/components/TreeMapChart.d.ts +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/TreeSelect.d.mts +18 -3
- package/dist/components/TreeSelect.d.ts +18 -3
- package/dist/components/TreeSelect.js +3 -2
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.d.ts +4 -4
- package/dist/components/Upload.js +3 -3
- package/dist/components/Upload.mjs +2 -2
- 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 +44 -5
- package/dist/components/VirtualTable.d.ts +44 -5
- package/dist/components/VirtualTable.js +3 -2
- package/dist/components/VirtualTable.mjs +2 -1
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +1 -1
- package/dist/index.d.mts +134 -134
- package/dist/index.d.ts +134 -134
- package/dist/index.js +96 -96
- package/dist/index.mjs +97 -97
- package/package.json +6 -6
- package/dist/chunk-7QX4QWWN.js +0 -194
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-XGO5Q6KK.js +0 -189
- package/dist/chunk-ZSQ5I2KL.mjs +0 -194
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/Calendar.ts
|
|
6
|
+
import { defineComponent, h, ref, computed, nextTick } from "vue";
|
|
7
|
+
import { classNames, coerceClassValue } from "@expcat/tigercat-core";
|
|
8
|
+
import {
|
|
9
|
+
getCalendarContainerClasses,
|
|
10
|
+
calendarHeaderClasses,
|
|
11
|
+
calendarNavButtonClasses,
|
|
12
|
+
calendarTitleClasses,
|
|
13
|
+
calendarWeekdayClasses,
|
|
14
|
+
getCalendarDayClasses,
|
|
15
|
+
getCalendarMonthClasses,
|
|
16
|
+
isSameDay,
|
|
17
|
+
getMonthDays,
|
|
18
|
+
getShortDayNames,
|
|
19
|
+
getShortMonthNames,
|
|
20
|
+
formatMonthYear,
|
|
21
|
+
formatDate,
|
|
22
|
+
parseDate,
|
|
23
|
+
addDays,
|
|
24
|
+
getCalendarLabels,
|
|
25
|
+
mergeTigerLocale
|
|
26
|
+
} from "@expcat/tigercat-core";
|
|
27
|
+
var Calendar = defineComponent({
|
|
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 = useTigerConfig();
|
|
41
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
42
|
+
const localeCode = computed(() => mergedLocale.value?.locale);
|
|
43
|
+
const labels = computed(() => getCalendarLabels(mergedLocale.value));
|
|
44
|
+
const weekdayNames = computed(() => getShortDayNames(localeCode.value));
|
|
45
|
+
const monthNames = computed(() => getShortMonthNames(localeCode.value));
|
|
46
|
+
const today = /* @__PURE__ */ new Date();
|
|
47
|
+
const viewYear = ref(props.modelValue?.getFullYear() ?? today.getFullYear());
|
|
48
|
+
const viewMonth = ref(props.modelValue?.getMonth() ?? today.getMonth());
|
|
49
|
+
const days = computed(() => getMonthDays(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 (props.disabledDate?.(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 = ref(null);
|
|
86
|
+
const monthGridEl = ref(null);
|
|
87
|
+
const activeIso = ref(null);
|
|
88
|
+
const activeMonthIdx = ref(null);
|
|
89
|
+
const toIso = (d) => formatDate(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 = dayGridEl.value?.querySelector(`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 = activeEl?.getAttribute("data-date") ?? activeIso.value ?? getDefaultDayIso();
|
|
115
|
+
const base = parseDate(currentIso);
|
|
116
|
+
if (!base) return;
|
|
117
|
+
let candidate = addDays(base, deltaDays);
|
|
118
|
+
for (let attempts = 0; attempts < 42; attempts++) {
|
|
119
|
+
const iso = toIso(candidate);
|
|
120
|
+
const el = dayGridEl.value?.querySelector(`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
|
+
nextTick(() => {
|
|
130
|
+
dayGridEl.value?.querySelector(`button[data-date="${iso}"]`)?.focus();
|
|
131
|
+
});
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
candidate = addDays(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 = activeEl?.getAttribute("data-date");
|
|
167
|
+
if (iso) {
|
|
168
|
+
e.preventDefault();
|
|
169
|
+
const d = parseDate(iso);
|
|
170
|
+
if (d) selectDay(d);
|
|
171
|
+
}
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
default:
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function focusMonthIdx(idx) {
|
|
179
|
+
const els = monthGridEl.value?.querySelectorAll('button[role="gridcell"]');
|
|
180
|
+
els?.[idx]?.focus();
|
|
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 = classNames(
|
|
217
|
+
getCalendarContainerClasses(!!props.fullscreen),
|
|
218
|
+
props.className,
|
|
219
|
+
coerceClassValue(attrs.class)
|
|
220
|
+
);
|
|
221
|
+
const header = h("div", { class: calendarHeaderClasses }, [
|
|
222
|
+
h(
|
|
223
|
+
"button",
|
|
224
|
+
{
|
|
225
|
+
type: "button",
|
|
226
|
+
class: 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
|
+
h(
|
|
233
|
+
"span",
|
|
234
|
+
{ class: calendarTitleClasses },
|
|
235
|
+
props.mode === "month" ? formatMonthYear(viewYear.value, viewMonth.value, localeCode.value) : `${viewYear.value}`
|
|
236
|
+
),
|
|
237
|
+
h(
|
|
238
|
+
"button",
|
|
239
|
+
{
|
|
240
|
+
type: "button",
|
|
241
|
+
class: 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 = activeIso.value ?? getDefaultDayIso();
|
|
249
|
+
const rovingMonthIdx = 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 = h(
|
|
256
|
+
"div",
|
|
257
|
+
{ class: "grid grid-cols-1 gap-2", role: "grid", ref: monthGridEl },
|
|
258
|
+
monthRows.map(
|
|
259
|
+
(row, ri) => h(
|
|
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 h(
|
|
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: getCalendarMonthClasses(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 = h(
|
|
285
|
+
"div",
|
|
286
|
+
{ class: "grid grid-cols-7", role: "row" },
|
|
287
|
+
weekdayNames.value.map(
|
|
288
|
+
(wd) => h("div", { key: wd, class: 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) => h(
|
|
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 ? isSameDay(date, props.modelValue) : false;
|
|
300
|
+
const isTodayDate = isSameDay(date, today);
|
|
301
|
+
const isDisabled = !!props.disabledDate?.(date);
|
|
302
|
+
const iso = toIso(date);
|
|
303
|
+
return h(
|
|
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: classNames(
|
|
316
|
+
getCalendarDayClasses(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 = h("div", { role: "grid", "aria-rowcount": 7, "aria-colcount": 7, ref: dayGridEl }, [
|
|
328
|
+
weekdayRow,
|
|
329
|
+
...weekRows
|
|
330
|
+
]);
|
|
331
|
+
}
|
|
332
|
+
return h("div", { ...attrs, class: containerClass, role: "group" }, [header, body]);
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
var Calendar_default = Calendar;
|
|
337
|
+
|
|
338
|
+
export {
|
|
339
|
+
Calendar,
|
|
340
|
+
Calendar_default
|
|
341
|
+
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderVueBodyTeleport,
|
|
3
|
+
useVueBodyScrollLock,
|
|
4
|
+
useVueEscapeKey,
|
|
5
|
+
useVueFocusTrap
|
|
6
|
+
} from "./chunk-BDTPFPSB.mjs";
|
|
1
7
|
import {
|
|
2
8
|
createStatusIcon
|
|
3
9
|
} from "./chunk-2TNZ4JNT.mjs";
|
|
10
|
+
import {
|
|
11
|
+
useTigerConfig
|
|
12
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
13
|
|
|
5
14
|
// src/components/Tour.ts
|
|
6
15
|
import {
|
|
@@ -9,9 +18,9 @@ import {
|
|
|
9
18
|
h,
|
|
10
19
|
ref,
|
|
11
20
|
watch,
|
|
21
|
+
nextTick,
|
|
12
22
|
onMounted,
|
|
13
|
-
onBeforeUnmount
|
|
14
|
-
Teleport
|
|
23
|
+
onBeforeUnmount
|
|
15
24
|
} from "vue";
|
|
16
25
|
import {
|
|
17
26
|
classNames,
|
|
@@ -27,7 +36,12 @@ import {
|
|
|
27
36
|
getActiveTourSteps,
|
|
28
37
|
getCurrentActiveTourStep,
|
|
29
38
|
getActiveTourStepPosition,
|
|
30
|
-
|
|
39
|
+
getTourLabels,
|
|
40
|
+
closeIconPathD,
|
|
41
|
+
mergeTigerLocale,
|
|
42
|
+
captureActiveElement,
|
|
43
|
+
focusFirst,
|
|
44
|
+
restoreFocus
|
|
31
45
|
} from "@expcat/tigercat-core";
|
|
32
46
|
var Tour = defineComponent({
|
|
33
47
|
name: "TigerTour",
|
|
@@ -49,15 +63,25 @@ var Tour = defineComponent({
|
|
|
49
63
|
type: Number,
|
|
50
64
|
default: void 0
|
|
51
65
|
},
|
|
52
|
-
nextText: { type: String, default:
|
|
53
|
-
prevText: { type: String, default:
|
|
54
|
-
finishText: { type: String, default:
|
|
66
|
+
nextText: { type: String, default: void 0 },
|
|
67
|
+
prevText: { type: String, default: void 0 },
|
|
68
|
+
finishText: { type: String, default: void 0 },
|
|
55
69
|
closable: { type: Boolean, default: true },
|
|
56
70
|
showIndicators: { type: Boolean, default: true },
|
|
71
|
+
locale: { type: Object, default: void 0 },
|
|
57
72
|
className: { type: String, default: void 0 }
|
|
58
73
|
},
|
|
59
74
|
emits: ["update:open", "update:current", "close", "finish", "change"],
|
|
60
75
|
setup(props, { emit }) {
|
|
76
|
+
const config = useTigerConfig();
|
|
77
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
78
|
+
const labels = computed(
|
|
79
|
+
() => getTourLabels(mergedLocale.value, {
|
|
80
|
+
nextText: props.nextText,
|
|
81
|
+
prevText: props.prevText,
|
|
82
|
+
finishText: props.finishText
|
|
83
|
+
})
|
|
84
|
+
);
|
|
61
85
|
const internalStep = ref(0);
|
|
62
86
|
const resolvedSteps = ref(props.steps);
|
|
63
87
|
const currentStep = computed(() => props.current ?? internalStep.value);
|
|
@@ -71,6 +95,9 @@ var Tour = defineComponent({
|
|
|
71
95
|
const step = computed(() => activeStepInfo.value?.step);
|
|
72
96
|
const targetRect = ref();
|
|
73
97
|
const popoverRef = ref(null);
|
|
98
|
+
const closeButtonRef = ref(null);
|
|
99
|
+
const openRef = computed(() => props.open);
|
|
100
|
+
let previousActiveElement = null;
|
|
74
101
|
const updateRect = () => {
|
|
75
102
|
if (step.value?.target) {
|
|
76
103
|
targetRect.value = getTourTargetRect(step.value.target);
|
|
@@ -147,6 +174,24 @@ var Tour = defineComponent({
|
|
|
147
174
|
emit("close");
|
|
148
175
|
emit("update:open", false);
|
|
149
176
|
};
|
|
177
|
+
const detachEscape = useVueEscapeKey({ enabled: openRef, onEscape: close });
|
|
178
|
+
onBeforeUnmount(detachEscape);
|
|
179
|
+
useVueBodyScrollLock(openRef);
|
|
180
|
+
useVueFocusTrap({ enabled: openRef, containerRef: popoverRef });
|
|
181
|
+
watch(
|
|
182
|
+
openRef,
|
|
183
|
+
(open) => {
|
|
184
|
+
if (open) {
|
|
185
|
+
previousActiveElement = captureActiveElement();
|
|
186
|
+
nextTick(() => {
|
|
187
|
+
focusFirst([closeButtonRef.value, popoverRef.value]);
|
|
188
|
+
});
|
|
189
|
+
} else {
|
|
190
|
+
restoreFocus(previousActiveElement);
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{ immediate: true }
|
|
194
|
+
);
|
|
150
195
|
return () => {
|
|
151
196
|
if (!props.open || !step.value) return null;
|
|
152
197
|
const placement = step.value.placement ?? "bottom";
|
|
@@ -192,9 +237,10 @@ var Tour = defineComponent({
|
|
|
192
237
|
h(
|
|
193
238
|
"button",
|
|
194
239
|
{
|
|
240
|
+
ref: closeButtonRef,
|
|
195
241
|
class: tourCloseButtonClasses,
|
|
196
242
|
type: "button",
|
|
197
|
-
"aria-label":
|
|
243
|
+
"aria-label": labels.value.closeAriaLabel,
|
|
198
244
|
onClick: close
|
|
199
245
|
},
|
|
200
246
|
createStatusIcon(closeIconPathD, "h-4 w-4")
|
|
@@ -227,7 +273,7 @@ var Tour = defineComponent({
|
|
|
227
273
|
class: "px-3 py-1.5 text-sm rounded-md border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors mr-2",
|
|
228
274
|
onClick: prev
|
|
229
275
|
},
|
|
230
|
-
|
|
276
|
+
labels.value.prevText
|
|
231
277
|
)
|
|
232
278
|
);
|
|
233
279
|
}
|
|
@@ -239,7 +285,7 @@ var Tour = defineComponent({
|
|
|
239
285
|
class: "px-3 py-1.5 text-sm rounded-md bg-[var(--tiger-primary,#2563eb)] text-white hover:bg-[var(--tiger-primary-hover,#1d4ed8)] transition-colors",
|
|
240
286
|
onClick: next
|
|
241
287
|
},
|
|
242
|
-
isLast ?
|
|
288
|
+
isLast ? labels.value.finishText : labels.value.nextText
|
|
243
289
|
)
|
|
244
290
|
);
|
|
245
291
|
footerChildren.push(h("div", { class: "flex items-center" }, buttons));
|
|
@@ -257,7 +303,7 @@ var Tour = defineComponent({
|
|
|
257
303
|
popoverChildren
|
|
258
304
|
)
|
|
259
305
|
);
|
|
260
|
-
return
|
|
306
|
+
return renderVueBodyTeleport(children);
|
|
261
307
|
};
|
|
262
308
|
}
|
|
263
309
|
});
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
getSliderTooltipClasses,
|
|
10
10
|
sliderGetPercentage,
|
|
11
11
|
sliderGetValueFromPosition,
|
|
12
|
-
sliderGetKeyboardValue
|
|
12
|
+
sliderGetKeyboardValue,
|
|
13
|
+
sliderResolveMarks
|
|
13
14
|
} from "@expcat/tigercat-core";
|
|
14
15
|
var Slider = defineComponent({
|
|
15
16
|
name: "TigerSlider",
|
|
@@ -290,7 +291,8 @@ var Slider = defineComponent({
|
|
|
290
291
|
};
|
|
291
292
|
const createMarks = () => {
|
|
292
293
|
if (!props.marks) return null;
|
|
293
|
-
const marks =
|
|
294
|
+
const marks = sliderResolveMarks(props.marks, props.min, props.max);
|
|
295
|
+
if (Object.keys(marks).length === 0) return null;
|
|
294
296
|
return h(
|
|
295
297
|
"div",
|
|
296
298
|
{ class: "absolute w-full top-full mt-2" },
|