@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
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/ImageCropper.ts
|
|
2
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
defineComponent,
|
|
8
|
+
h,
|
|
9
|
+
ref,
|
|
10
|
+
computed,
|
|
11
|
+
watch,
|
|
12
|
+
onMounted,
|
|
13
|
+
getCurrentInstance
|
|
14
|
+
} from "vue";
|
|
3
15
|
import {
|
|
4
16
|
classNames,
|
|
5
17
|
coerceClassValue,
|
|
@@ -15,12 +27,18 @@ import {
|
|
|
15
27
|
getInitialCropRect,
|
|
16
28
|
resizeCropRect,
|
|
17
29
|
moveCropRect,
|
|
18
|
-
cropCanvas
|
|
30
|
+
cropCanvas,
|
|
31
|
+
getImageEditorLabels,
|
|
32
|
+
mergeTigerLocale
|
|
19
33
|
} from "@expcat/tigercat-core";
|
|
20
34
|
var ImageCropper = defineComponent({
|
|
21
35
|
name: "TigerImageCropper",
|
|
22
36
|
inheritAttrs: false,
|
|
23
37
|
props: {
|
|
38
|
+
locale: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default: void 0
|
|
41
|
+
},
|
|
24
42
|
src: { type: String, required: true },
|
|
25
43
|
aspectRatio: { type: Number, default: void 0 },
|
|
26
44
|
minWidth: { type: Number, default: 20 },
|
|
@@ -39,6 +57,11 @@ var ImageCropper = defineComponent({
|
|
|
39
57
|
},
|
|
40
58
|
emits: ["crop-change", "ready"],
|
|
41
59
|
setup(props, { emit, attrs, expose }) {
|
|
60
|
+
const instance = getCurrentInstance();
|
|
61
|
+
const maskId = `tiger-crop-mask-${instance?.uid ?? "0"}`;
|
|
62
|
+
const config = useTigerConfig();
|
|
63
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
64
|
+
const labels = computed(() => getImageEditorLabels(mergedLocale.value));
|
|
42
65
|
const containerRef = ref(null);
|
|
43
66
|
const imageRef = ref(null);
|
|
44
67
|
const imageLoaded = ref(false);
|
|
@@ -270,7 +293,7 @@ var ImageCropper = defineComponent({
|
|
|
270
293
|
minHeight: "200px"
|
|
271
294
|
}),
|
|
272
295
|
role: "img",
|
|
273
|
-
"aria-label":
|
|
296
|
+
"aria-label": labels.value.loadingCropImageAriaLabel
|
|
274
297
|
},
|
|
275
298
|
[
|
|
276
299
|
h("div", {
|
|
@@ -288,7 +311,7 @@ var ImageCropper = defineComponent({
|
|
|
288
311
|
height: `${displayHeight.value}px`
|
|
289
312
|
},
|
|
290
313
|
draggable: false,
|
|
291
|
-
alt:
|
|
314
|
+
alt: labels.value.imageToCropAriaLabel
|
|
292
315
|
});
|
|
293
316
|
const mask = h(
|
|
294
317
|
"svg",
|
|
@@ -300,7 +323,7 @@ var ImageCropper = defineComponent({
|
|
|
300
323
|
},
|
|
301
324
|
[
|
|
302
325
|
h("defs", null, [
|
|
303
|
-
h("mask", { id:
|
|
326
|
+
h("mask", { id: maskId }, [
|
|
304
327
|
h("rect", {
|
|
305
328
|
width: displayWidth.value,
|
|
306
329
|
height: displayHeight.value,
|
|
@@ -319,7 +342,7 @@ var ImageCropper = defineComponent({
|
|
|
319
342
|
width: displayWidth.value,
|
|
320
343
|
height: displayHeight.value,
|
|
321
344
|
fill: "var(--tiger-image-cropper-mask, rgba(0,0,0,0.55))",
|
|
322
|
-
mask:
|
|
345
|
+
mask: `url(#${maskId})`
|
|
323
346
|
})
|
|
324
347
|
]
|
|
325
348
|
);
|
|
@@ -342,7 +365,7 @@ var ImageCropper = defineComponent({
|
|
|
342
365
|
},
|
|
343
366
|
role: "button",
|
|
344
367
|
tabindex: 0,
|
|
345
|
-
"aria-label":
|
|
368
|
+
"aria-label": labels.value.moveCropAreaAriaLabel,
|
|
346
369
|
onMousedown: (e) => handleMouseDown(e, "move"),
|
|
347
370
|
onTouchstart: (e) => handleTouchStart(e, "move"),
|
|
348
371
|
onKeydown: handleMoveKeyDown
|
|
@@ -412,7 +435,7 @@ var ImageCropper = defineComponent({
|
|
|
412
435
|
style: pos,
|
|
413
436
|
role: "button",
|
|
414
437
|
tabindex: 0,
|
|
415
|
-
"aria-label":
|
|
438
|
+
"aria-label": labels.value.resizeCropAreaAriaLabel.replace("{handle}", handle),
|
|
416
439
|
onMousedown: (e) => handleMouseDown(e, "resize", handle),
|
|
417
440
|
onTouchstart: (e) => handleTouchStart(e, "resize", handle),
|
|
418
441
|
onKeydown: (e) => handleResizeKeyDown(e, handle)
|
|
@@ -429,7 +452,7 @@ var ImageCropper = defineComponent({
|
|
|
429
452
|
height: `${displayHeight.value}px`
|
|
430
453
|
}),
|
|
431
454
|
role: "application",
|
|
432
|
-
"aria-label":
|
|
455
|
+
"aria-label": labels.value.cropperDialogAriaLabel,
|
|
433
456
|
"aria-roledescription": "image cropper"
|
|
434
457
|
},
|
|
435
458
|
[img, mask, selection, dragArea, ...guideLines, ...handles]
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VirtualList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HS4YQGZQ.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useTigerConfig
|
|
6
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
7
|
|
|
5
8
|
// src/components/Tree.ts
|
|
6
9
|
import { defineComponent, computed, ref, h, watch, nextTick } from "vue";
|
|
@@ -22,6 +25,8 @@ import {
|
|
|
22
25
|
getSpinnerSVG,
|
|
23
26
|
normalizeSvgAttrs,
|
|
24
27
|
getVisibleTreeItems,
|
|
28
|
+
getFirstVisibleChildKey,
|
|
29
|
+
getTreeKeyboardAction,
|
|
25
30
|
getParentKeys,
|
|
26
31
|
getAllKeys,
|
|
27
32
|
findNode,
|
|
@@ -30,7 +35,9 @@ import {
|
|
|
30
35
|
getCheckedKeysByStrategy,
|
|
31
36
|
filterTreeNodes,
|
|
32
37
|
getAutoExpandKeys,
|
|
33
|
-
checkedSetsFromState
|
|
38
|
+
checkedSetsFromState,
|
|
39
|
+
resolveLocaleText,
|
|
40
|
+
mergeTigerLocale
|
|
34
41
|
} from "@expcat/tigercat-core";
|
|
35
42
|
var spinnerSvg = getSpinnerSVG("spinner");
|
|
36
43
|
var ExpandIcon = (expanded, hasChildren) => {
|
|
@@ -218,7 +225,7 @@ var Tree = defineComponent({
|
|
|
218
225
|
*/
|
|
219
226
|
emptyText: {
|
|
220
227
|
type: String,
|
|
221
|
-
default:
|
|
228
|
+
default: void 0
|
|
222
229
|
},
|
|
223
230
|
/**
|
|
224
231
|
* Accessible label for the tree container
|
|
@@ -263,6 +270,13 @@ var Tree = defineComponent({
|
|
|
263
270
|
className: {
|
|
264
271
|
type: String,
|
|
265
272
|
default: void 0
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* Locale overrides merged on top of ConfigProvider locale
|
|
276
|
+
*/
|
|
277
|
+
locale: {
|
|
278
|
+
type: Object,
|
|
279
|
+
default: void 0
|
|
266
280
|
}
|
|
267
281
|
},
|
|
268
282
|
emits: [
|
|
@@ -279,6 +293,8 @@ var Tree = defineComponent({
|
|
|
279
293
|
],
|
|
280
294
|
setup(props, { emit, attrs }) {
|
|
281
295
|
const rootEl = ref(null);
|
|
296
|
+
const config = useTigerConfig();
|
|
297
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
282
298
|
const effectiveSelectable = computed(() => {
|
|
283
299
|
if (props.selectionMode !== void 0) {
|
|
284
300
|
return props.selectionMode !== "none";
|
|
@@ -496,21 +512,6 @@ var Tree = defineComponent({
|
|
|
496
512
|
function getCurrentKey(fallbackKey) {
|
|
497
513
|
return activeKey.value ?? defaultActiveKey.value ?? fallbackKey;
|
|
498
514
|
}
|
|
499
|
-
function getNavigationIndex(key) {
|
|
500
|
-
return focusableKeys.value.findIndex((k) => k === key);
|
|
501
|
-
}
|
|
502
|
-
function getFirstChildKey(key) {
|
|
503
|
-
const list = visibleItems.value;
|
|
504
|
-
const index = list.findIndex((i) => i.key === key);
|
|
505
|
-
if (index < 0) return void 0;
|
|
506
|
-
const base = list[index];
|
|
507
|
-
for (let i = index + 1; i < list.length; i++) {
|
|
508
|
-
const item = list[i];
|
|
509
|
-
if (item.level <= base.level) break;
|
|
510
|
-
if (item.parentKey === key && !item.node.disabled) return item.key;
|
|
511
|
-
}
|
|
512
|
-
return void 0;
|
|
513
|
-
}
|
|
514
515
|
function renderTreeRow(node, level) {
|
|
515
516
|
const hasChildren = !!(node.children && node.children.length > 0);
|
|
516
517
|
const isExpanded = computedExpandedKeys.value.has(node.key);
|
|
@@ -602,83 +603,41 @@ var Tree = defineComponent({
|
|
|
602
603
|
onKeydown: (e) => {
|
|
603
604
|
if (node.disabled) return;
|
|
604
605
|
const currentKey = getCurrentKey(node.key);
|
|
605
|
-
const currentIndex = getNavigationIndex(currentKey);
|
|
606
606
|
const parents = getParentKeys(props.treeData, node.key);
|
|
607
607
|
const parentKey = parents[parents.length - 1];
|
|
608
|
-
|
|
609
|
-
e.
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
if (isExpandable && isExpanded) {
|
|
642
|
-
handleExpand(node.key);
|
|
643
|
-
return;
|
|
644
|
-
}
|
|
645
|
-
focusKey(parentKey ?? currentKey);
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
|
-
if (e.key === "Escape") {
|
|
649
|
-
e.preventDefault();
|
|
650
|
-
if (isExpandable && isExpanded) {
|
|
651
|
-
handleExpand(node.key);
|
|
652
|
-
return;
|
|
653
|
-
}
|
|
654
|
-
if (parentKey !== void 0) {
|
|
655
|
-
if (computedExpandedKeys.value.has(parentKey)) {
|
|
656
|
-
handleExpand(parentKey);
|
|
657
|
-
}
|
|
658
|
-
focusKey(parentKey);
|
|
659
|
-
}
|
|
660
|
-
return;
|
|
661
|
-
}
|
|
662
|
-
if (e.key === "Enter") {
|
|
663
|
-
e.preventDefault();
|
|
664
|
-
if (effectiveSelectable.value) {
|
|
665
|
-
handleSelect(node.key, e);
|
|
666
|
-
return;
|
|
667
|
-
}
|
|
668
|
-
if (isExpandable) {
|
|
669
|
-
handleExpand(node.key);
|
|
670
|
-
}
|
|
671
|
-
return;
|
|
672
|
-
}
|
|
673
|
-
if (e.key === " ") {
|
|
674
|
-
e.preventDefault();
|
|
675
|
-
if (props.checkable) {
|
|
676
|
-
handleCheck(node.key, !isChecked);
|
|
677
|
-
return;
|
|
678
|
-
}
|
|
679
|
-
if (isExpandable) {
|
|
680
|
-
handleExpand(node.key);
|
|
681
|
-
}
|
|
608
|
+
const action = getTreeKeyboardAction({
|
|
609
|
+
key: e.key,
|
|
610
|
+
nodeKey: node.key,
|
|
611
|
+
currentKey,
|
|
612
|
+
focusableKeys: focusableKeys.value,
|
|
613
|
+
parentKey,
|
|
614
|
+
firstChildKey: getFirstVisibleChildKey(visibleItems.value, node.key),
|
|
615
|
+
isExpandable,
|
|
616
|
+
isExpanded,
|
|
617
|
+
isParentExpanded: parentKey !== void 0 && computedExpandedKeys.value.has(parentKey),
|
|
618
|
+
isChecked,
|
|
619
|
+
selectable: effectiveSelectable.value,
|
|
620
|
+
checkable: !!props.checkable
|
|
621
|
+
});
|
|
622
|
+
if (!action) return;
|
|
623
|
+
e.preventDefault();
|
|
624
|
+
switch (action.type) {
|
|
625
|
+
case "focus":
|
|
626
|
+
focusKey(action.key);
|
|
627
|
+
break;
|
|
628
|
+
case "toggleExpand":
|
|
629
|
+
handleExpand(action.key);
|
|
630
|
+
break;
|
|
631
|
+
case "select":
|
|
632
|
+
handleSelect(action.key, e);
|
|
633
|
+
break;
|
|
634
|
+
case "check":
|
|
635
|
+
handleCheck(action.key, action.checked);
|
|
636
|
+
break;
|
|
637
|
+
case "collapseAndFocus":
|
|
638
|
+
if (action.collapseKey !== void 0) handleExpand(action.collapseKey);
|
|
639
|
+
focusKey(action.focusKey);
|
|
640
|
+
break;
|
|
682
641
|
}
|
|
683
642
|
},
|
|
684
643
|
onClick: (e) => {
|
|
@@ -693,7 +652,8 @@ var Tree = defineComponent({
|
|
|
693
652
|
);
|
|
694
653
|
}
|
|
695
654
|
function renderTreeNode(node, level) {
|
|
696
|
-
const
|
|
655
|
+
const children = node.children ?? [];
|
|
656
|
+
const hasChildren = children.length > 0;
|
|
697
657
|
const isExpanded = computedExpandedKeys.value.has(node.key);
|
|
698
658
|
const isFiltered = filteredNodeKeys.value.size > 0;
|
|
699
659
|
const isMatched = filteredNodeKeys.value.has(node.key);
|
|
@@ -714,7 +674,7 @@ var Tree = defineComponent({
|
|
|
714
674
|
{
|
|
715
675
|
class: classNames(treeNodeChildrenClasses, props.showLine && treeLineClasses)
|
|
716
676
|
},
|
|
717
|
-
|
|
677
|
+
children.map((child) => renderTreeNode(child, level + 1))
|
|
718
678
|
)
|
|
719
679
|
]
|
|
720
680
|
);
|
|
@@ -734,13 +694,22 @@ var Tree = defineComponent({
|
|
|
734
694
|
role: "tree",
|
|
735
695
|
"aria-label": props.ariaLabel
|
|
736
696
|
},
|
|
737
|
-
[
|
|
697
|
+
[
|
|
698
|
+
h(
|
|
699
|
+
"div",
|
|
700
|
+
{ class: treeEmptyStateClasses },
|
|
701
|
+
resolveLocaleText("No data", props.emptyText, mergedLocale.value?.common?.emptyText)
|
|
702
|
+
)
|
|
703
|
+
]
|
|
738
704
|
);
|
|
739
705
|
}
|
|
740
706
|
const searchInput = props.searchable ? h("input", {
|
|
741
707
|
type: "text",
|
|
742
708
|
class: "w-full mb-2 px-2 py-1 text-sm border border-[var(--tiger-border,#e5e7eb)] rounded bg-[var(--tiger-surface,#ffffff)] focus:outline-none focus:ring-1 focus:ring-[var(--tiger-primary,#2563eb)]",
|
|
743
|
-
placeholder:
|
|
709
|
+
placeholder: resolveLocaleText(
|
|
710
|
+
"Search...",
|
|
711
|
+
mergedLocale.value?.common?.searchPlaceholder
|
|
712
|
+
),
|
|
744
713
|
value: internalSearchValue.value,
|
|
745
714
|
onInput: (e) => {
|
|
746
715
|
internalSearchValue.value = e.target.value;
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-R2HO74FE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HLPSHCXO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartSeries
|
|
9
9
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartTooltip
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G2LB4QCL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ChartAxis
|
|
15
15
|
} from "./chunk-ZWVA7HT3.mjs";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-MI6TL3CQ.mjs";
|
|
22
22
|
|
|
23
23
|
// src/components/AreaChart.ts
|
|
24
|
-
import { defineComponent, computed, h, ref, useId } from "vue";
|
|
24
|
+
import { defineComponent, computed, getCurrentInstance, h, ref, useId } from "vue";
|
|
25
25
|
import {
|
|
26
26
|
classNames,
|
|
27
27
|
createAreaPath,
|
|
@@ -249,12 +249,16 @@ var AreaChart = defineComponent({
|
|
|
249
249
|
"point-hover"
|
|
250
250
|
],
|
|
251
251
|
setup(props, { emit }) {
|
|
252
|
+
const instance = getCurrentInstance();
|
|
252
253
|
const hoveredPointInfo = ref(null);
|
|
253
254
|
const tooltipPosition = ref({ x: 0, y: 0 });
|
|
254
255
|
const gradientPrefix = getStableChartGradientPrefix("area", useId());
|
|
255
256
|
const innerRect = computed(() => getChartInnerRect(props.width, props.height, props.padding));
|
|
256
257
|
const resolvedSeries = computed(
|
|
257
|
-
() => resolveSeriesData(props.series, props.data
|
|
258
|
+
() => resolveSeriesData(props.series, props.data, {
|
|
259
|
+
color: props.areaColor,
|
|
260
|
+
pointColor: props.pointColor
|
|
261
|
+
})
|
|
258
262
|
);
|
|
259
263
|
const {
|
|
260
264
|
resolvedHoveredIndex: _resolvedHoveredIndex,
|
|
@@ -409,6 +413,18 @@ var AreaChart = defineComponent({
|
|
|
409
413
|
hoveredPointInfo.value = null;
|
|
410
414
|
emit("point-hover", null, null, null);
|
|
411
415
|
};
|
|
416
|
+
const showPointTooltipFromElement = (el, seriesIndex, pointIndex) => {
|
|
417
|
+
if (!props.hoverable) return;
|
|
418
|
+
const rect = el.getBoundingClientRect();
|
|
419
|
+
hoveredPointInfo.value = { seriesIndex, pointIndex };
|
|
420
|
+
tooltipPosition.value = { x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 };
|
|
421
|
+
emit(
|
|
422
|
+
"point-hover",
|
|
423
|
+
seriesIndex,
|
|
424
|
+
pointIndex,
|
|
425
|
+
resolvedSeries.value[seriesIndex]?.data[pointIndex]
|
|
426
|
+
);
|
|
427
|
+
};
|
|
412
428
|
const handlePointClick = (seriesIndex, pointIndex) => {
|
|
413
429
|
emit(
|
|
414
430
|
"point-click",
|
|
@@ -425,6 +441,7 @@ var AreaChart = defineComponent({
|
|
|
425
441
|
handleSeriesSelect(seriesIndex);
|
|
426
442
|
};
|
|
427
443
|
return () => {
|
|
444
|
+
const pointClickable = props.selectable || typeof instance?.vnode.props?.onPointClick === "function";
|
|
428
445
|
const reversedSeriesData = [...seriesData.value].reverse();
|
|
429
446
|
const chart = h(
|
|
430
447
|
ChartCanvas,
|
|
@@ -633,6 +650,8 @@ var AreaChart = defineComponent({
|
|
|
633
650
|
sd.points.map((point) => {
|
|
634
651
|
const isHovered = hoveredPointInfo.value?.seriesIndex === sd.seriesIndex && hoveredPointInfo.value?.pointIndex === point.pointIndex;
|
|
635
652
|
const hoverSize = sd.pointSize + 2;
|
|
653
|
+
const datum = resolvedSeries.value[sd.seriesIndex]?.data?.[point.pointIndex];
|
|
654
|
+
const pointInteractive = props.hoverable || pointClickable;
|
|
636
655
|
return h("circle", {
|
|
637
656
|
key: `point-${sd.seriesKey}-${point.pointIndex}`,
|
|
638
657
|
cx: point.x,
|
|
@@ -641,17 +660,46 @@ var AreaChart = defineComponent({
|
|
|
641
660
|
fill: sd.pointHollow ? "white" : props.pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
|
|
642
661
|
stroke: sd.pointHollow ? sd.pointColor : "none",
|
|
643
662
|
"stroke-width": sd.pointHollow ? 2 : 0,
|
|
644
|
-
class:
|
|
663
|
+
class: classNames(
|
|
664
|
+
linePointTransitionClasses,
|
|
665
|
+
pointInteractive && "cursor-pointer"
|
|
666
|
+
),
|
|
645
667
|
style: isHovered ? `filter: drop-shadow(0 0 4px ${sd.color})` : void 0,
|
|
668
|
+
role: pointInteractive ? "button" : "img",
|
|
669
|
+
"aria-label": datum?.label ?? String(datum?.y ?? ""),
|
|
670
|
+
tabindex: pointInteractive ? 0 : void 0,
|
|
646
671
|
"data-point-index": point.pointIndex,
|
|
647
672
|
"data-series-key": sd.seriesKey,
|
|
648
|
-
onMouseenter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
|
|
649
|
-
onMousemove: handlePointMouseMove,
|
|
650
|
-
onMouseleave: handlePointMouseLeave,
|
|
651
|
-
onClick: (e) => {
|
|
673
|
+
onMouseenter: props.hoverable ? (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e) : void 0,
|
|
674
|
+
onMousemove: props.hoverable ? handlePointMouseMove : void 0,
|
|
675
|
+
onMouseleave: props.hoverable ? handlePointMouseLeave : void 0,
|
|
676
|
+
onClick: pointClickable ? (e) => {
|
|
652
677
|
e.stopPropagation();
|
|
653
678
|
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
654
|
-
}
|
|
679
|
+
} : void 0,
|
|
680
|
+
onFocus: props.hoverable ? (e) => showPointTooltipFromElement(
|
|
681
|
+
e.currentTarget,
|
|
682
|
+
sd.seriesIndex,
|
|
683
|
+
point.pointIndex
|
|
684
|
+
) : void 0,
|
|
685
|
+
onBlur: props.hoverable ? handlePointMouseLeave : void 0,
|
|
686
|
+
onKeydown: pointInteractive ? (e) => {
|
|
687
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
688
|
+
e.preventDefault();
|
|
689
|
+
e.stopPropagation();
|
|
690
|
+
if (pointClickable) {
|
|
691
|
+
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
692
|
+
} else {
|
|
693
|
+
showPointTooltipFromElement(
|
|
694
|
+
e.currentTarget,
|
|
695
|
+
sd.seriesIndex,
|
|
696
|
+
point.pointIndex
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
} else if (e.key === "Escape" && props.hoverable) {
|
|
700
|
+
handlePointMouseLeave();
|
|
701
|
+
}
|
|
702
|
+
} : void 0
|
|
655
703
|
});
|
|
656
704
|
})
|
|
657
705
|
)
|
|
@@ -12,6 +12,8 @@ var _vue = require('vue');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
|
|
16
|
+
|
|
15
17
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
16
18
|
var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
17
19
|
name: "TigerCodeEditor",
|
|
@@ -49,6 +51,12 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
49
51
|
setup(props, { emit, attrs }) {
|
|
50
52
|
const internalValue = _vue.ref.call(void 0, props.defaultValue || "");
|
|
51
53
|
const textareaRef = _vue.ref.call(void 0, null);
|
|
54
|
+
const activeLine = _vue.ref.call(void 0, 0);
|
|
55
|
+
const updateActiveLine = () => {
|
|
56
|
+
const ta = textareaRef.value;
|
|
57
|
+
if (!ta) return;
|
|
58
|
+
activeLine.value = _tigercatcore.getActiveLineIndex.call(void 0, ta.value, ta.selectionStart);
|
|
59
|
+
};
|
|
52
60
|
const code = _vue.computed.call(void 0, () => props.value !== void 0 ? props.value : internalValue.value);
|
|
53
61
|
_vue.watch.call(void 0,
|
|
54
62
|
() => props.value,
|
|
@@ -77,10 +85,12 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
77
85
|
return s;
|
|
78
86
|
});
|
|
79
87
|
const onInput = (e) => {
|
|
80
|
-
const
|
|
88
|
+
const target = e.target;
|
|
89
|
+
const val = target.value;
|
|
81
90
|
internalValue.value = val;
|
|
82
91
|
emit("update:value", val);
|
|
83
92
|
emit("change", val);
|
|
93
|
+
activeLine.value = _tigercatcore.getActiveLineIndex.call(void 0, val, target.selectionStart);
|
|
84
94
|
};
|
|
85
95
|
const onKeyDown = (e) => {
|
|
86
96
|
if (e.key === "Tab") {
|
|
@@ -98,11 +108,18 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
98
108
|
}
|
|
99
109
|
};
|
|
100
110
|
const renderHighlightedLine = (line, lineIndex) => {
|
|
111
|
+
const showActiveLine = props.highlightActiveLine && !props.disabled;
|
|
112
|
+
const isActive = showActiveLine && lineIndex === activeLine.value;
|
|
113
|
+
const lineClass = _tigercatcore.classNames.call(void 0,
|
|
114
|
+
"min-h-[1.625rem]",
|
|
115
|
+
isActive && _tigercatcore.getCodeEditorActiveLineClasses.call(void 0, props.theme)
|
|
116
|
+
);
|
|
101
117
|
const engine = props.highlighter;
|
|
102
118
|
if (_optionalChain([engine, 'optionalAccess', _ => _.highlightLine])) {
|
|
103
119
|
return _vue.h.call(void 0, "div", {
|
|
104
120
|
key: lineIndex,
|
|
105
|
-
class:
|
|
121
|
+
class: lineClass,
|
|
122
|
+
"data-active-line": isActive ? "" : void 0,
|
|
106
123
|
innerHTML: engine.highlightLine(line, props.language, props.theme) || (line === "" ? "\n" : "")
|
|
107
124
|
});
|
|
108
125
|
}
|
|
@@ -111,10 +128,11 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
111
128
|
const cls = _tigercatcore.getTokenClasses.call(void 0, token.type, props.theme);
|
|
112
129
|
return cls ? _vue.h.call(void 0, "span", { class: cls, key: ti }, token.value) : token.value;
|
|
113
130
|
});
|
|
114
|
-
return _vue.h.call(void 0,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
131
|
+
return _vue.h.call(void 0,
|
|
132
|
+
"div",
|
|
133
|
+
{ key: lineIndex, class: lineClass, "data-active-line": isActive ? "" : void 0 },
|
|
134
|
+
[...spans, line === "" ? "\n" : null]
|
|
135
|
+
);
|
|
118
136
|
};
|
|
119
137
|
return () => {
|
|
120
138
|
const wrapClass = props.wordWrap ? "whitespace-pre-wrap break-all" : "";
|
|
@@ -143,6 +161,9 @@ var CodeEditor = _vue.defineComponent.call(void 0, {
|
|
|
143
161
|
value: code.value,
|
|
144
162
|
onInput,
|
|
145
163
|
onKeydown: onKeyDown,
|
|
164
|
+
onSelect: updateActiveLine,
|
|
165
|
+
onClick: updateActiveLine,
|
|
166
|
+
onKeyup: updateActiveLine,
|
|
146
167
|
readonly: props.readOnly || props.disabled,
|
|
147
168
|
disabled: props.disabled,
|
|
148
169
|
placeholder: props.placeholder,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-R2HO74FE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HLPSHCXO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartSeries
|
|
9
9
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartTooltip
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G2LB4QCL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ChartCanvas
|
|
15
15
|
} from "./chunk-W5RZPTFD.mjs";
|