@expcat/tigercat-vue 1.0.7 → 1.2.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/README.md +1 -1
- package/dist/chunk-25EYT2CB.js +139 -0
- package/dist/chunk-27T3QDSF.js +61 -48
- package/dist/chunk-2BNQGU7E.mjs +22 -4
- package/dist/{chunk-WBY2ILFK.js → chunk-2C5TOAYI.js} +12 -9
- package/dist/{chunk-YFD6RD7P.mjs → chunk-2GQE47OY.mjs} +86 -19
- package/dist/chunk-2KDSHEZT.js +41 -28
- package/dist/chunk-2LNNB55E.js +222 -0
- package/dist/{chunk-EZ6GXQMP.mjs → chunk-2PFP44AI.mjs} +61 -30
- package/dist/chunk-2R5HISQA.mjs +16 -4
- package/dist/chunk-2S5CNU36.js +40 -31
- package/dist/chunk-2TNZ4JNT.mjs +14 -4
- package/dist/{chunk-5G5Q3TTH.js → chunk-2VBUCW5G.js} +116 -88
- package/dist/chunk-2VOZFFW6.js +138 -0
- package/dist/chunk-2WJADO6O.mjs +19 -4
- package/dist/{chunk-RB7KVVWE.mjs → chunk-2X3ZPH2H.mjs} +50 -31
- package/dist/chunk-2YFXJUBT.js +40 -25
- package/dist/chunk-2ZUEXCVJ.mjs +9 -4
- package/dist/{chunk-TDL4BUUB.js → chunk-33YTJPF7.js} +81 -53
- package/dist/{chunk-HXLCWM2J.mjs → chunk-3A7H2CTW.mjs} +183 -14
- package/dist/chunk-3G4VPV4D.mjs +20 -4
- package/dist/chunk-3MC45EXP.mjs +13 -4
- package/dist/chunk-3QV2D54H.js +55 -37
- package/dist/{chunk-QDNTISP7.mjs → chunk-3W4CM7KO.mjs} +31 -32
- package/dist/chunk-43BLH7DE.js +49 -37
- package/dist/chunk-44N7LE3Q.js +568 -0
- package/dist/chunk-46DEQQMB.mjs +11 -4
- package/dist/{chunk-243JSTYQ.mjs → chunk-4CWRNKPE.mjs} +36 -5
- package/dist/chunk-4DWOTV7J.js +369 -0
- package/dist/chunk-4K2CCBFT.mjs +30 -4
- package/dist/chunk-4OOR4524.js +910 -0
- package/dist/chunk-4YHOD7LT.mjs +13 -4
- package/dist/chunk-5436FG3B.js +136 -0
- package/dist/chunk-54VVFMYI.js +13 -14
- package/dist/chunk-57MJTNDL.js +25 -20
- package/dist/{chunk-JGUXQMYL.mjs → chunk-5D2UAWWP.mjs} +57 -8
- package/dist/chunk-5F6P5Y4K.js +115 -0
- package/dist/chunk-5JKQPOG2.js +133 -0
- package/dist/chunk-5PXTMXXS.js +27 -20
- package/dist/chunk-5UOAWXOQ.js +243 -0
- package/dist/{chunk-W5A4E4C7.js → chunk-5VSKQLK3.js} +216 -105
- package/dist/chunk-5WG4OFXH.mjs +133 -0
- package/dist/{chunk-LW3LFCRZ.mjs → chunk-5X3GXNGM.mjs} +83 -15
- package/dist/{chunk-PLGYRHPX.mjs → chunk-5ZAIW5W3.mjs} +9 -3
- package/dist/{chunk-3PQ2I5IQ.mjs → chunk-6DVWLGSZ.mjs} +43 -18
- package/dist/chunk-6FXYRDYH.js +30 -25
- package/dist/chunk-6HM77SWE.js +392 -0
- package/dist/chunk-6V7XCCXN.mjs +8 -4
- package/dist/chunk-7ADONGSB.js +49 -0
- package/dist/chunk-7LUATGJU.mjs +27 -4
- package/dist/{chunk-MADOTDW7.mjs → chunk-7PY6OQVE.mjs} +37 -30
- package/dist/chunk-7QX4QWWN.js +194 -0
- package/dist/{chunk-CU4M5ABS.mjs → chunk-7RIWAO2A.mjs} +55 -7
- package/dist/chunk-7SFB77JR.mjs +192 -0
- package/dist/chunk-7W3NALIL.mjs +165 -0
- package/dist/chunk-A5HHG53Z.js +135 -0
- package/dist/{chunk-Q57TYGO4.js → chunk-A5HRX7EG.js} +44 -27
- package/dist/chunk-A7FN3S4I.js +150 -0
- package/dist/{chunk-BKTQ6RWR.js → chunk-ACYYQJ6M.js} +20 -20
- package/dist/chunk-AGVXMB4Q.js +164 -0
- package/dist/{chunk-T52TU2RW.mjs → chunk-AXDBME5A.mjs} +43 -21
- package/dist/{chunk-D6AWPRGV.js → chunk-B2RH4CMG.js} +157 -36
- package/dist/chunk-B67RJSXR.mjs +142 -0
- package/dist/chunk-BEIPGX74.mjs +233 -0
- package/dist/chunk-BEIZXMHW.js +470 -0
- package/dist/{chunk-PBWSBNDS.js → chunk-BGMAWKWV.js} +208 -101
- package/dist/chunk-BGMQIUPP.js +409 -0
- package/dist/{chunk-564LMZQL.mjs → chunk-BMT5PGAQ.mjs} +40 -22
- package/dist/chunk-BPAN6T7H.mjs +16 -4
- package/dist/chunk-BYNMOQBB.js +54 -42
- package/dist/chunk-BZBVSB43.js +37 -28
- package/dist/{chunk-GMYSHJCU.mjs → chunk-C7VGTRHE.mjs} +31 -10
- package/dist/chunk-CBECE4ZO.mjs +373 -0
- package/dist/chunk-CKXZONMO.js +18 -14
- package/dist/{chunk-J7VTGSHX.mjs → chunk-CN7HFUFN.mjs} +97 -189
- package/dist/chunk-COCECPMG.mjs +17 -4
- package/dist/chunk-CPV7INZ4.mjs +10 -4
- package/dist/{chunk-2SK6T4WB.js → chunk-CSJQKBDJ.js} +90 -45
- package/dist/chunk-CWNEDREV.js +165 -0
- package/dist/chunk-CWQOEU6G.js +373 -0
- package/dist/{chunk-Z2NMFYF4.mjs → chunk-CZALMJH3.mjs} +31 -9
- package/dist/chunk-D3U2NJ32.mjs +154 -0
- package/dist/{chunk-YYZBVHVC.mjs → chunk-D74XCQCK.mjs} +78 -12
- package/dist/{chunk-6A57RY3H.mjs → chunk-DBTS5QBX.mjs} +15 -5
- package/dist/{chunk-M6PEW6V5.mjs → chunk-DDNRF5U7.mjs} +96 -20
- package/dist/{chunk-46XPSPG4.js → chunk-DE5WMG6P.js} +69 -53
- package/dist/{chunk-T77L326M.mjs → chunk-DEJKRMMU.mjs} +81 -6
- package/dist/{chunk-XYYZAQ6Z.mjs → chunk-DIQGHFAT.mjs} +8 -6
- package/dist/{chunk-S276SM7L.mjs → chunk-DMV26JNR.mjs} +44 -29
- package/dist/{chunk-7DGAOCPX.mjs → chunk-DQFTTJJ5.mjs} +209 -134
- package/dist/{chunk-EJCHNSVG.mjs → chunk-DTUTHYQY.mjs} +10 -7
- package/dist/chunk-DUQ7Q2GO.js +10 -9
- package/dist/chunk-DYSLYJ2W.js +29 -25
- package/dist/chunk-DZXZ3YEL.js +137 -0
- package/dist/chunk-E2GQSWHK.mjs +14 -4
- package/dist/{chunk-LRHJZP2C.mjs → chunk-E6RGBYI3.mjs} +138 -32
- package/dist/chunk-EJNPSYTS.js +44 -0
- package/dist/{chunk-TW64ZNZY.mjs → chunk-EKWJTB5H.mjs} +92 -10
- package/dist/chunk-EL2224DN.js +291 -0
- package/dist/chunk-EQDCFOWR.mjs +243 -0
- package/dist/chunk-ETTYERGO.js +23 -17
- package/dist/chunk-EZXW4HIZ.mjs +19 -4
- package/dist/{chunk-4BMFV4CH.mjs → chunk-F7G7K3TF.mjs} +79 -86
- package/dist/{chunk-S2PMAXBQ.js → chunk-FAYSOSR7.js} +127 -59
- package/dist/chunk-FC7RXQTM.js +30 -20
- package/dist/{chunk-WB6JGQWN.js → chunk-FE2HR4E5.js} +68 -48
- package/dist/chunk-FIV4PKWT.js +26 -20
- package/dist/{chunk-I5K3R4FN.mjs → chunk-FMH4CLSA.mjs} +37 -5
- package/dist/chunk-FP7SBCPO.js +253 -0
- package/dist/chunk-FQWEOBQ4.mjs +231 -0
- package/dist/{chunk-SEKYX56R.js → chunk-FRI62O2J.js} +104 -69
- package/dist/chunk-FUGSQXFR.js +65 -42
- package/dist/{chunk-VITTXNTD.js → chunk-FUI6WG2F.js} +248 -110
- package/dist/chunk-FXS5GHQZ.js +388 -0
- package/dist/{chunk-MKLJ2LJW.mjs → chunk-G36MH6G4.mjs} +57 -19
- package/dist/chunk-G3SWTL27.js +45 -29
- package/dist/{chunk-LFV3KYO2.js → chunk-GDKYQ7U6.js} +94 -75
- package/dist/{chunk-U2K7CF67.js → chunk-GIQQOHDA.js} +60 -64
- package/dist/{chunk-D2I2NNYI.js → chunk-GL6KRUVO.js} +71 -49
- package/dist/chunk-GOBWUEHV.js +197 -0
- package/dist/{chunk-665NGSV3.mjs → chunk-GQAVLQEZ.mjs} +19 -12
- package/dist/chunk-GQPSQJ5I.mjs +6 -4
- package/dist/{chunk-IOBJYUUO.mjs → chunk-GVZRR2WP.mjs} +49 -29
- package/dist/chunk-H4F4G2E4.mjs +84 -0
- package/dist/chunk-HBFFINAI.js +13 -11
- package/dist/chunk-HKRMZODL.mjs +246 -0
- package/dist/chunk-HVVPFQW2.mjs +19 -4
- package/dist/chunk-I4LQXUMW.js +13 -14
- package/dist/chunk-IGSAOYXD.mjs +11 -4
- package/dist/{chunk-MYFQ3B2D.mjs → chunk-IKEZDGRO.mjs} +48 -14
- package/dist/chunk-IZF4VHJ2.mjs +23 -4
- package/dist/{chunk-TG4PXQKX.mjs → chunk-J73M5UTG.mjs} +101 -8
- package/dist/{chunk-4DJ2HAYO.js → chunk-JAAIL4XS.js} +24 -16
- package/dist/chunk-JCMGBKS6.js +23 -17
- package/dist/chunk-JDCVS4SJ.js +162 -0
- package/dist/{chunk-BFS7XO3E.js → chunk-JFIVDZFK.js} +85 -67
- package/dist/{chunk-6XU5PSC2.js → chunk-JKEF7NB3.js} +94 -46
- package/dist/chunk-JKZ5ZRDG.js +136 -0
- package/dist/{chunk-P4X7GS2X.mjs → chunk-JL526HSV.mjs} +66 -17
- package/dist/{chunk-CODQKVQV.js → chunk-K2DJDJZR.js} +25 -22
- package/dist/{chunk-MX2KCWM2.js → chunk-K3CIXMN4.js} +65 -46
- package/dist/{chunk-5XF5IAUD.mjs → chunk-K5ZZZ4TL.mjs} +112 -52
- package/dist/{chunk-2J54DRDA.js → chunk-KA7DILCI.js} +208 -99
- package/dist/chunk-KDA4XDXT.js +67 -0
- package/dist/chunk-KOTSKHPQ.mjs +19 -4
- package/dist/{chunk-4L5UYIV6.mjs → chunk-KU2Q5V3L.mjs} +54 -8
- package/dist/{chunk-UWL2XUAH.mjs → chunk-KVJIJJ4M.mjs} +116 -8
- package/dist/chunk-KY3O3FWK.mjs +367 -0
- package/dist/{chunk-YH7N5GZF.mjs → chunk-KZP3B3FQ.mjs} +41 -20
- package/dist/chunk-LBGTABIU.mjs +20 -4
- package/dist/chunk-LDDGBB3V.mjs +910 -0
- package/dist/{chunk-WNF7XUX4.mjs → chunk-LFKY2QRD.mjs} +140 -15
- package/dist/chunk-LG6KGO5D.js +161 -0
- package/dist/{chunk-LV3BMS4U.mjs → chunk-LILAZ4UJ.mjs} +146 -37
- package/dist/{chunk-EXQSRZJX.mjs → chunk-LL4ASJ4O.mjs} +39 -18
- package/dist/chunk-LWDA7ABQ.js +121 -0
- package/dist/{chunk-5NOZXKMU.js → chunk-M2XA7VU5.js} +107 -75
- package/dist/{chunk-2SCIJ2RW.mjs → chunk-M3G6LJKZ.mjs} +14 -5
- package/dist/{chunk-FK2XBMC3.mjs → chunk-M5PGWW25.mjs} +158 -17
- package/dist/chunk-M7EBWJZ5.mjs +9 -4
- package/dist/{chunk-ECUROLZ7.js → chunk-MFYBHMQL.js} +277 -205
- package/dist/chunk-MHNCH2YI.js +231 -0
- package/dist/chunk-MI6TL3CQ.mjs +12 -4
- package/dist/chunk-MKBIVETW.mjs +12 -4
- package/dist/chunk-MNH3KNSN.js +49 -37
- package/dist/chunk-MQ23PX3S.js +218 -0
- package/dist/chunk-MSKAWM7K.js +73 -0
- package/dist/{chunk-JN63Z5E5.js → chunk-MUJLT2YG.js} +224 -119
- package/dist/{chunk-LAAPLTP3.js → chunk-NCFY3VXA.js} +14 -15
- package/dist/{chunk-NVJRZYES.mjs → chunk-NDS2DLUS.mjs} +79 -14
- package/dist/{chunk-W2WGLETE.mjs → chunk-NHBN6VAY.mjs} +98 -37
- package/dist/chunk-NMVKDWMK.mjs +1324 -0
- package/dist/{chunk-WLKOJFOC.mjs → chunk-NNNG6NIA.mjs} +25 -5
- package/dist/chunk-NOZ65AMO.js +32 -22
- package/dist/{chunk-TYFUO6PE.mjs → chunk-NWS45JQP.mjs} +139 -25
- package/dist/{chunk-NHCCPMLC.mjs → chunk-NZUQ2KCW.mjs} +103 -20
- package/dist/{chunk-LGVPLGK3.mjs → chunk-OCL22D5E.mjs} +49 -34
- package/dist/chunk-ODQOYMUQ.js +72 -0
- package/dist/{chunk-FXGIIFGN.mjs → chunk-OK4PVFQG.mjs} +12 -10
- package/dist/{chunk-UNR5RUET.mjs → chunk-OKR3GRG5.mjs} +137 -25
- package/dist/chunk-OW5D4LU6.js +1324 -0
- package/dist/chunk-OXIODAJS.js +192 -0
- package/dist/{chunk-4Y2SJZB5.js → chunk-P7RXZVLT.js} +78 -62
- package/dist/chunk-PCJHGWTU.js +269 -0
- package/dist/{chunk-Q6OYCTQO.mjs → chunk-PCUUTKQZ.mjs} +43 -4
- package/dist/{chunk-RSBAFDUA.mjs → chunk-PENI3H3I.mjs} +39 -13
- package/dist/chunk-PQMZ3YN3.js +37 -25
- package/dist/{chunk-BQEVLY2O.mjs → chunk-PUSTYAMS.mjs} +166 -22
- package/dist/chunk-PVPLDEC5.mjs +6 -4
- package/dist/chunk-PXRF4IJO.mjs +17 -4
- package/dist/chunk-PY6P4N2Q.js +393 -0
- package/dist/{chunk-QNODDATK.mjs → chunk-PYT5DTQQ.mjs} +149 -39
- package/dist/{chunk-XNORTTVQ.mjs → chunk-PZH2RTSS.mjs} +92 -3
- package/dist/chunk-Q4MH333P.js +18 -16
- package/dist/{chunk-AGAJJYP2.js → chunk-QO2JYX6Q.js} +142 -62
- package/dist/chunk-QRAV345L.js +88 -0
- package/dist/{chunk-THEYWGOT.js → chunk-QUIRQ7OA.js} +127 -65
- package/dist/chunk-QY6PYAJA.js +73 -53
- package/dist/chunk-QYSFZA5V.js +353 -0
- package/dist/chunk-QZ5OPNL4.mjs +88 -0
- package/dist/{chunk-DU2NXX75.mjs → chunk-R2HO74FE.mjs} +19 -5
- package/dist/chunk-RDJZOMI6.js +84 -0
- package/dist/{chunk-GTSS7RAT.mjs → chunk-RFFPMC22.mjs} +149 -10
- package/dist/{chunk-3ICMBQPM.mjs → chunk-RHAIJVMW.mjs} +86 -14
- package/dist/chunk-RKZN3URO.js +181 -0
- package/dist/chunk-RY2I56HB.js +36 -24
- package/dist/{chunk-GA5S2KNZ.js → chunk-S6K6IR3Y.js} +225 -119
- package/dist/{chunk-AAO2B46J.js → chunk-S6Q7TD6H.js} +153 -67
- package/dist/{chunk-FDYZ7NTQ.mjs → chunk-SC3WTLKG.mjs} +94 -24
- package/dist/{chunk-YYRJA6VQ.mjs → chunk-SCRSO3ES.mjs} +61 -22
- package/dist/chunk-SCSGLSPY.mjs +393 -0
- package/dist/{chunk-HSXB2ASL.mjs → chunk-SEDENBOO.mjs} +125 -16
- package/dist/chunk-SGRUGYQ6.mjs +568 -0
- package/dist/chunk-SLYUQ67P.js +39 -30
- package/dist/{chunk-35VYCSVH.js → chunk-SVWZOIBI.js} +101 -70
- package/dist/chunk-SWOQMMOT.js +18 -14
- package/dist/chunk-T4DF24UV.js +26 -20
- package/dist/{chunk-RQREJGY3.js → chunk-TAU447CL.js} +53 -34
- package/dist/{chunk-OXOCGMPN.mjs → chunk-TGIXSJI3.mjs} +39 -5
- package/dist/chunk-TLXEFLPA.js +13 -14
- package/dist/chunk-TOE2XSEO.js +119 -0
- package/dist/{chunk-SAMKKXAW.mjs → chunk-TOOENSVT.mjs} +15 -4
- package/dist/{chunk-DBPY5M7Y.mjs → chunk-TSF5O3MA.mjs} +25 -6
- package/dist/chunk-U36NBQWP.js +192 -0
- package/dist/{chunk-HFCVHAQ6.mjs → chunk-UAD2XROX.mjs} +47 -12
- package/dist/{chunk-URYEEQD7.mjs → chunk-UANF7XE5.mjs} +41 -14
- package/dist/chunk-UHVUKLHF.js +112 -0
- package/dist/chunk-UI7N2ZDU.js +142 -0
- package/dist/chunk-ULUH6UNV.js +238 -0
- package/dist/{chunk-M7JUNLA7.mjs → chunk-UM5GGKIX.mjs} +34 -20
- package/dist/{chunk-ABPOLQLE.mjs → chunk-UMQUWX7U.mjs} +37 -15
- package/dist/{chunk-ZA2PLF7O.mjs → chunk-UNTTADHL.mjs} +19 -6
- package/dist/chunk-UQK22ZMC.mjs +19 -4
- package/dist/{chunk-HK2TAPQX.js → chunk-UUJ7A3CN.js} +126 -61
- package/dist/{chunk-KFE7T7CN.js → chunk-V32X2OEO.js} +64 -34
- package/dist/chunk-VAXO5NEM.js +320 -0
- package/dist/chunk-VG6E4NX6.mjs +139 -0
- package/dist/chunk-VIIGYWUY.mjs +13 -4
- package/dist/chunk-VJ6YM2EW.mjs +192 -0
- package/dist/chunk-VL7GENWD.mjs +6 -4
- package/dist/chunk-VPNIZPIF.js +356 -0
- package/dist/{chunk-F5HOHSFH.mjs → chunk-VVS2CQS4.mjs} +10 -7
- package/dist/chunk-VXULMOIW.js +374 -0
- package/dist/{chunk-BUTNEKFD.js → chunk-W55GCQ2D.js} +73 -56
- package/dist/chunk-W5RZPTFD.mjs +112 -0
- package/dist/{chunk-NAHD6ZRR.mjs → chunk-W6ZFHHD3.mjs} +23 -16
- package/dist/{chunk-DVFDA2P2.mjs → chunk-WE4DGU2T.mjs} +14 -7
- package/dist/chunk-WFISP42H.mjs +17 -4
- package/dist/chunk-WGNJHM34.js +230 -0
- package/dist/chunk-WM4ESIHG.mjs +13 -4
- package/dist/chunk-WPIDP6IG.js +35 -25
- package/dist/chunk-WQXZ3234.mjs +19 -4
- package/dist/{chunk-K2U3FEL7.js → chunk-WUEP3PFN.js} +133 -61
- package/dist/chunk-X5CFXNVK.js +246 -0
- package/dist/chunk-X6FG4RPF.js +367 -0
- package/dist/chunk-XGXGAK27.js +40 -28
- package/dist/chunk-XH4ZZ6KJ.js +427 -0
- package/dist/chunk-XJXGVNNF.js +120 -0
- package/dist/chunk-XSMDZOBF.js +154 -0
- package/dist/chunk-XTMGF5YP.js +27 -21
- package/dist/chunk-XUOGT4HG.js +76 -0
- package/dist/{chunk-QK3KKTYV.js → chunk-XY4A73TK.js} +23 -25
- package/dist/chunk-XZMU7B54.js +230 -0
- package/dist/{chunk-KYQAAQKV.mjs → chunk-Y3BQSELH.mjs} +62 -11
- package/dist/chunk-Y4V7BOVR.mjs +18 -4
- package/dist/chunk-YEHKQ3JZ.mjs +13 -4
- package/dist/{chunk-JM3ZZYTE.mjs → chunk-YSUT2GRP.mjs} +62 -13
- package/dist/chunk-YZP4K6KI.mjs +25 -4
- package/dist/{chunk-W3Y22PMU.mjs → chunk-Z2ZECCGD.mjs} +9 -8
- package/dist/{chunk-AGQNHT65.mjs → chunk-Z4SG7REU.mjs} +64 -6
- package/dist/{chunk-NMGH5YTV.mjs → chunk-Z7ETXBOL.mjs} +31 -8
- package/dist/chunk-ZED7TU62.js +22 -16
- package/dist/chunk-ZIOGRGN5.mjs +120 -0
- package/dist/chunk-ZMGNQKXL.js +233 -0
- package/dist/{chunk-I2B4CO22.mjs → chunk-ZMNX4SCS.mjs} +14 -13
- package/dist/chunk-ZNVQ2OFX.js +13 -11
- package/dist/{chunk-EPE6OOV7.js → chunk-ZOUJFFG4.js} +21 -22
- package/dist/{chunk-U5ABMOOV.js → chunk-ZSCOAOJJ.js} +106 -94
- package/dist/{chunk-OMYSFPX6.mjs → chunk-ZSQ5I2KL.mjs} +54 -33
- package/dist/chunk-ZUPVK5L7.js +838 -0
- package/dist/chunk-ZWVA7HT3.mjs +14 -4
- package/dist/components/ActivityFeed.d.mts +3 -3
- package/dist/components/ActivityFeed.d.ts +3 -3
- package/dist/components/ActivityFeed.js +5 -13
- package/dist/components/ActivityFeed.mjs +16 -9
- package/dist/components/Affix.d.mts +1 -1
- package/dist/components/Affix.d.ts +1 -1
- package/dist/components/Affix.js +3 -12
- package/dist/components/Affix.mjs +8 -2
- package/dist/components/Alert.d.mts +3 -3
- package/dist/components/Alert.d.ts +3 -3
- package/dist/components/Alert.js +3 -12
- package/dist/components/Alert.mjs +9 -3
- package/dist/components/Anchor.d.mts +74 -9
- package/dist/components/Anchor.d.ts +74 -9
- package/dist/components/Anchor.js +7 -16
- package/dist/components/Anchor.mjs +12 -2
- package/dist/components/AnchorLink.d.mts +6 -67
- package/dist/components/AnchorLink.d.ts +6 -67
- package/dist/components/AnchorLink.js +5 -13
- package/dist/components/AnchorLink.mjs +10 -3
- package/dist/components/AreaChart.d.mts +21 -3
- package/dist/components/AreaChart.d.ts +21 -3
- package/dist/components/AreaChart.js +7 -16
- package/dist/components/AreaChart.mjs +15 -9
- package/dist/components/AutoComplete.d.mts +1 -1
- package/dist/components/AutoComplete.d.ts +1 -1
- package/dist/components/AutoComplete.js +3 -12
- package/dist/components/AutoComplete.mjs +8 -2
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Avatar.js +3 -12
- package/dist/components/Avatar.mjs +8 -2
- package/dist/components/AvatarGroup.js +5 -16
- package/dist/components/AvatarGroup.mjs +10 -2
- package/dist/components/BackTop.d.mts +3 -3
- package/dist/components/BackTop.d.ts +3 -3
- package/dist/components/BackTop.js +3 -12
- package/dist/components/BackTop.mjs +8 -2
- package/dist/components/Badge.d.mts +2 -2
- package/dist/components/Badge.d.ts +2 -2
- package/dist/components/Badge.js +3 -12
- package/dist/components/Badge.mjs +8 -2
- package/dist/components/BarChart.d.mts +1 -1
- package/dist/components/BarChart.d.ts +1 -1
- package/dist/components/BarChart.js +7 -16
- package/dist/components/BarChart.mjs +15 -9
- package/dist/components/Breadcrumb.d.mts +135 -4
- package/dist/components/Breadcrumb.d.ts +135 -4
- package/dist/components/Breadcrumb.js +7 -16
- package/dist/components/Breadcrumb.mjs +12 -2
- package/dist/components/BreadcrumbItem.d.mts +6 -135
- package/dist/components/BreadcrumbItem.d.ts +6 -135
- package/dist/components/BreadcrumbItem.js +5 -13
- package/dist/components/BreadcrumbItem.mjs +10 -3
- package/dist/components/Button.d.mts +2 -2
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/Button.js +3 -12
- package/dist/components/Button.mjs +8 -2
- package/dist/components/ButtonGroup.js +5 -16
- package/dist/components/ButtonGroup.mjs +10 -2
- package/dist/components/Calendar.js +3 -12
- package/dist/components/Calendar.mjs +8 -2
- package/dist/components/Card.d.mts +3 -3
- package/dist/components/Card.d.ts +3 -3
- package/dist/components/Card.js +3 -12
- package/dist/components/Card.mjs +8 -2
- package/dist/components/Carousel.d.mts +2 -2
- package/dist/components/Carousel.d.ts +2 -2
- package/dist/components/Carousel.js +3 -12
- package/dist/components/Carousel.mjs +8 -2
- package/dist/components/Cascader.d.mts +1 -1
- package/dist/components/Cascader.d.ts +1 -1
- package/dist/components/Cascader.js +3 -12
- package/dist/components/Cascader.mjs +8 -2
- package/dist/components/ChartAxis.js +3 -12
- package/dist/components/ChartAxis.mjs +8 -2
- package/dist/components/ChartCanvas.d.mts +9 -0
- package/dist/components/ChartCanvas.d.ts +9 -0
- package/dist/components/ChartCanvas.js +3 -12
- package/dist/components/ChartCanvas.mjs +8 -2
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartGrid.d.ts +1 -1
- package/dist/components/ChartGrid.js +3 -12
- package/dist/components/ChartGrid.mjs +8 -2
- package/dist/components/ChartLegend.js +3 -12
- package/dist/components/ChartLegend.mjs +8 -2
- package/dist/components/ChartSeries.js +3 -12
- package/dist/components/ChartSeries.mjs +8 -2
- package/dist/components/ChartTooltip.js +3 -12
- package/dist/components/ChartTooltip.mjs +8 -2
- package/dist/components/ChatWindow.d.mts +37 -1
- package/dist/components/ChatWindow.d.ts +37 -1
- package/dist/components/ChatWindow.js +5 -13
- package/dist/components/ChatWindow.mjs +13 -6
- package/dist/components/Checkbox.js +3 -12
- package/dist/components/Checkbox.mjs +9 -3
- package/dist/components/CheckboxGroup.d.mts +1 -1
- package/dist/components/CheckboxGroup.d.ts +1 -1
- package/dist/components/CheckboxGroup.js +5 -16
- package/dist/components/CheckboxGroup.mjs +10 -2
- package/dist/components/Code.d.mts +1 -1
- package/dist/components/Code.d.ts +1 -1
- package/dist/components/Code.js +3 -12
- package/dist/components/Code.mjs +8 -2
- package/dist/components/CodeEditor.d.mts +18 -2
- package/dist/components/CodeEditor.d.ts +18 -2
- package/dist/components/CodeEditor.js +3 -12
- package/dist/components/CodeEditor.mjs +8 -2
- package/dist/components/Col.js +4 -9
- package/dist/components/Col.mjs +7 -3
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/Collapse.js +5 -16
- package/dist/components/Collapse.mjs +10 -2
- package/dist/components/CollapsePanel.d.mts +2 -2
- package/dist/components/CollapsePanel.d.ts +2 -2
- package/dist/components/CollapsePanel.js +4 -13
- package/dist/components/CollapsePanel.mjs +9 -3
- package/dist/components/ColorPicker.d.mts +1 -1
- package/dist/components/ColorPicker.d.ts +1 -1
- package/dist/components/ColorPicker.js +3 -12
- package/dist/components/ColorPicker.mjs +8 -2
- package/dist/components/ColorSwatch.d.mts +79 -0
- package/dist/components/ColorSwatch.d.ts +79 -0
- package/dist/components/ColorSwatch.js +8 -0
- package/dist/components/ColorSwatch.mjs +8 -0
- package/dist/components/CommentThread.d.mts +2 -2
- package/dist/components/CommentThread.d.ts +2 -2
- package/dist/components/CommentThread.js +4 -13
- package/dist/components/CommentThread.mjs +13 -7
- package/dist/components/ConfigProvider.d.mts +38 -8
- package/dist/components/ConfigProvider.d.ts +38 -8
- package/dist/components/ConfigProvider.js +14 -25
- package/dist/components/ConfigProvider.mjs +14 -2
- package/dist/components/Container.d.mts +8 -2
- package/dist/components/Container.d.ts +8 -2
- package/dist/components/Container.js +3 -12
- package/dist/components/Container.mjs +8 -2
- package/dist/components/Content.d.mts +1 -1
- package/dist/components/Content.d.ts +1 -1
- package/dist/components/Content.js +3 -12
- package/dist/components/Content.mjs +8 -2
- package/dist/components/Countdown.d.mts +107 -0
- package/dist/components/Countdown.d.ts +107 -0
- package/dist/components/Countdown.js +8 -0
- package/dist/components/Countdown.mjs +8 -0
- package/dist/components/CronEditor.d.mts +80 -0
- package/dist/components/CronEditor.d.ts +80 -0
- package/dist/components/CronEditor.js +8 -0
- package/dist/components/CronEditor.mjs +8 -0
- package/dist/components/CropUpload.d.mts +1 -1
- package/dist/components/CropUpload.d.ts +1 -1
- package/dist/components/CropUpload.js +7 -15
- package/dist/components/CropUpload.mjs +12 -5
- package/dist/components/DataTableWithToolbar.d.mts +9 -9
- package/dist/components/DataTableWithToolbar.d.ts +9 -9
- package/dist/components/DataTableWithToolbar.js +6 -16
- package/dist/components/DataTableWithToolbar.mjs +12 -7
- package/dist/components/DatePicker.d.mts +8 -8
- package/dist/components/DatePicker.d.ts +8 -8
- package/dist/components/DatePicker.js +3 -12
- package/dist/components/DatePicker.mjs +9 -3
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/Descriptions.d.ts +2 -2
- package/dist/components/Descriptions.js +3 -12
- package/dist/components/Descriptions.mjs +8 -2
- package/dist/components/Divider.d.mts +8 -1
- package/dist/components/Divider.d.ts +8 -1
- package/dist/components/Divider.js +3 -12
- package/dist/components/Divider.mjs +8 -2
- package/dist/components/DonutChart.d.mts +11 -2
- package/dist/components/DonutChart.d.ts +11 -2
- package/dist/components/DonutChart.js +8 -17
- package/dist/components/DonutChart.mjs +14 -8
- package/dist/components/Drawer.d.mts +6 -8
- package/dist/components/Drawer.d.ts +6 -8
- package/dist/components/Drawer.js +4 -13
- package/dist/components/Drawer.mjs +9 -3
- package/dist/components/Dropdown.d.mts +36 -4
- package/dist/components/Dropdown.d.ts +36 -4
- package/dist/components/Dropdown.js +8 -18
- package/dist/components/Dropdown.mjs +13 -4
- package/dist/components/DropdownItem.d.mts +1 -1
- package/dist/components/DropdownItem.d.ts +1 -1
- package/dist/components/DropdownItem.js +5 -15
- package/dist/components/DropdownItem.mjs +10 -5
- package/dist/components/DropdownMenu.d.mts +6 -36
- package/dist/components/DropdownMenu.d.ts +6 -36
- package/dist/components/DropdownMenu.js +6 -12
- package/dist/components/DropdownMenu.mjs +11 -2
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/Empty.d.ts +1 -1
- package/dist/components/Empty.js +3 -12
- package/dist/components/Empty.mjs +8 -2
- package/dist/components/FileManager.d.mts +1 -1
- package/dist/components/FileManager.d.ts +1 -1
- package/dist/components/FileManager.js +3 -12
- package/dist/components/FileManager.mjs +8 -2
- package/dist/components/FloatButton.d.mts +4 -4
- package/dist/components/FloatButton.d.ts +4 -4
- package/dist/components/FloatButton.js +5 -16
- package/dist/components/FloatButton.mjs +10 -2
- package/dist/components/Footer.d.mts +1 -1
- package/dist/components/Footer.d.ts +1 -1
- package/dist/components/Footer.js +3 -12
- package/dist/components/Footer.mjs +8 -2
- package/dist/components/Form.d.mts +41 -3
- package/dist/components/Form.d.ts +41 -3
- package/dist/components/Form.js +5 -16
- package/dist/components/Form.mjs +10 -2
- package/dist/components/FormItem.d.mts +24 -3
- package/dist/components/FormItem.d.ts +24 -3
- package/dist/components/FormItem.js +4 -13
- package/dist/components/FormItem.mjs +9 -3
- package/dist/components/FormWizard.d.mts +6 -6
- package/dist/components/FormWizard.d.ts +6 -6
- package/dist/components/FormWizard.js +6 -16
- package/dist/components/FormWizard.mjs +11 -6
- package/dist/components/FunnelChart.d.mts +10 -1
- package/dist/components/FunnelChart.d.ts +10 -1
- package/dist/components/FunnelChart.js +7 -16
- package/dist/components/FunnelChart.mjs +13 -7
- package/dist/components/Gantt.d.mts +231 -0
- package/dist/components/Gantt.d.ts +231 -0
- package/dist/components/Gantt.js +9 -0
- package/dist/components/Gantt.mjs +9 -0
- package/dist/components/GaugeChart.d.mts +10 -1
- package/dist/components/GaugeChart.d.ts +10 -1
- package/dist/components/GaugeChart.js +4 -13
- package/dist/components/GaugeChart.mjs +9 -3
- package/dist/components/Header.d.mts +1 -1
- package/dist/components/Header.d.ts +1 -1
- package/dist/components/Header.js +3 -12
- package/dist/components/Header.mjs +8 -2
- package/dist/components/HeatmapChart.d.mts +24 -0
- package/dist/components/HeatmapChart.d.ts +24 -0
- package/dist/components/HeatmapChart.js +6 -15
- package/dist/components/HeatmapChart.mjs +11 -5
- package/dist/components/Icon.js +3 -12
- package/dist/components/Icon.mjs +8 -2
- package/dist/components/Image.d.mts +2 -3
- package/dist/components/Image.d.ts +2 -3
- package/dist/components/Image.js +6 -17
- package/dist/components/Image.mjs +11 -3
- package/dist/components/ImageAnnotation.d.mts +179 -0
- package/dist/components/ImageAnnotation.d.ts +179 -0
- package/dist/components/ImageAnnotation.js +8 -0
- package/dist/components/ImageAnnotation.mjs +8 -0
- package/dist/components/ImageCropper.d.mts +2 -2
- package/dist/components/ImageCropper.d.ts +2 -2
- package/dist/components/ImageCropper.js +3 -12
- package/dist/components/ImageCropper.mjs +8 -2
- package/dist/components/ImageGroup.js +6 -17
- package/dist/components/ImageGroup.mjs +11 -3
- package/dist/components/ImagePreview.d.mts +2 -2
- package/dist/components/ImagePreview.d.ts +2 -2
- package/dist/components/ImagePreview.js +4 -13
- package/dist/components/ImagePreview.mjs +8 -5
- package/dist/components/ImageViewer.js +3 -12
- package/dist/components/ImageViewer.mjs +8 -2
- package/dist/components/InfiniteScroll.d.mts +2 -2
- package/dist/components/InfiniteScroll.d.ts +2 -2
- package/dist/components/InfiniteScroll.js +3 -12
- package/dist/components/InfiniteScroll.mjs +8 -2
- package/dist/components/Input.d.mts +2 -2
- package/dist/components/Input.d.ts +2 -2
- package/dist/components/Input.js +3 -12
- package/dist/components/Input.mjs +8 -2
- package/dist/components/InputGroup.js +12 -25
- package/dist/components/InputGroup.mjs +12 -2
- package/dist/components/InputNumber.d.mts +3 -3
- package/dist/components/InputNumber.d.ts +3 -3
- package/dist/components/InputNumber.js +3 -12
- package/dist/components/InputNumber.mjs +8 -2
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.d.ts +1 -1
- package/dist/components/Kanban.js +5 -14
- package/dist/components/Kanban.mjs +10 -4
- package/dist/components/Layout.d.mts +1 -1
- package/dist/components/Layout.d.ts +1 -1
- package/dist/components/Layout.js +3 -12
- package/dist/components/Layout.mjs +8 -2
- package/dist/components/LineChart.d.mts +19 -1
- package/dist/components/LineChart.d.ts +19 -1
- package/dist/components/LineChart.js +7 -16
- package/dist/components/LineChart.mjs +15 -9
- package/dist/components/Link.d.mts +11 -2
- package/dist/components/Link.d.ts +11 -2
- package/dist/components/Link.js +3 -12
- package/dist/components/Link.mjs +8 -2
- package/dist/components/List.d.mts +65 -3
- package/dist/components/List.d.ts +65 -3
- package/dist/components/List.js +4 -12
- package/dist/components/List.mjs +9 -2
- package/dist/components/Loading.d.mts +23 -5
- package/dist/components/Loading.d.ts +23 -5
- package/dist/components/Loading.js +4 -12
- package/dist/components/Loading.mjs +9 -2
- package/dist/components/MarkdownEditor.d.mts +149 -0
- package/dist/components/MarkdownEditor.d.ts +149 -0
- package/dist/components/MarkdownEditor.js +8 -0
- package/dist/components/MarkdownEditor.mjs +8 -0
- package/dist/components/Mentions.d.mts +1 -1
- package/dist/components/Mentions.d.ts +1 -1
- package/dist/components/Mentions.js +3 -12
- package/dist/components/Mentions.mjs +8 -2
- package/dist/components/Menu.d.mts +335 -6
- package/dist/components/Menu.d.ts +335 -6
- package/dist/components/Menu.js +11 -16
- package/dist/components/Menu.mjs +16 -2
- package/dist/components/MenuItem.d.mts +6 -95
- package/dist/components/MenuItem.d.ts +6 -95
- package/dist/components/MenuItem.js +5 -13
- package/dist/components/MenuItem.mjs +10 -3
- package/dist/components/MenuItemGroup.d.mts +6 -57
- package/dist/components/MenuItemGroup.d.ts +6 -57
- package/dist/components/MenuItemGroup.js +5 -12
- package/dist/components/MenuItemGroup.mjs +10 -2
- package/dist/components/Message.d.mts +6 -1
- package/dist/components/Message.d.ts +6 -1
- package/dist/components/Message.js +5 -16
- package/dist/components/Message.mjs +11 -3
- package/dist/components/Modal.d.mts +26 -10
- package/dist/components/Modal.d.ts +26 -10
- package/dist/components/Modal.js +5 -13
- package/dist/components/Modal.mjs +10 -3
- package/dist/components/Notification.d.mts +6 -1
- package/dist/components/Notification.d.ts +6 -1
- package/dist/components/Notification.js +5 -16
- package/dist/components/Notification.mjs +11 -3
- package/dist/components/NotificationCenter.d.mts +4 -4
- package/dist/components/NotificationCenter.d.ts +4 -4
- package/dist/components/NotificationCenter.js +9 -17
- package/dist/components/NotificationCenter.mjs +16 -9
- package/dist/components/NumberKeyboard.d.mts +145 -0
- package/dist/components/NumberKeyboard.d.ts +145 -0
- package/dist/components/NumberKeyboard.js +8 -0
- package/dist/components/NumberKeyboard.mjs +8 -0
- package/dist/components/OrgChart.d.mts +195 -0
- package/dist/components/OrgChart.d.ts +195 -0
- package/dist/components/OrgChart.js +9 -0
- package/dist/components/OrgChart.mjs +9 -0
- package/dist/components/Pagination.d.mts +31 -9
- package/dist/components/Pagination.d.ts +31 -9
- package/dist/components/Pagination.js +3 -12
- package/dist/components/Pagination.mjs +8 -2
- package/dist/components/PieChart.d.mts +11 -2
- package/dist/components/PieChart.d.ts +11 -2
- package/dist/components/PieChart.js +7 -16
- package/dist/components/PieChart.mjs +13 -7
- package/dist/components/Popconfirm.d.mts +7 -7
- package/dist/components/Popconfirm.d.ts +7 -7
- package/dist/components/Popconfirm.js +5 -14
- package/dist/components/Popconfirm.mjs +10 -4
- package/dist/components/Popover.d.mts +4 -4
- package/dist/components/Popover.d.ts +4 -4
- package/dist/components/Popover.js +5 -14
- package/dist/components/Popover.mjs +10 -4
- package/dist/components/PrintLayout.js +5 -16
- package/dist/components/PrintLayout.mjs +10 -2
- package/dist/components/Progress.d.mts +4 -4
- package/dist/components/Progress.d.ts +4 -4
- package/dist/components/Progress.js +3 -12
- package/dist/components/Progress.mjs +8 -2
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +3 -12
- package/dist/components/QRCode.mjs +8 -2
- package/dist/components/RadarChart.d.mts +31 -4
- package/dist/components/RadarChart.d.ts +31 -4
- package/dist/components/RadarChart.js +7 -16
- package/dist/components/RadarChart.mjs +13 -7
- package/dist/components/Radio.js +3 -12
- package/dist/components/Radio.mjs +9 -3
- package/dist/components/RadioGroup.d.mts +1 -1
- package/dist/components/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup.js +5 -16
- package/dist/components/RadioGroup.mjs +10 -2
- package/dist/components/Rate.d.mts +1 -1
- package/dist/components/Rate.d.ts +1 -1
- package/dist/components/Rate.js +3 -12
- package/dist/components/Rate.mjs +8 -2
- package/dist/components/Resizable.d.mts +1 -1
- package/dist/components/Resizable.d.ts +1 -1
- package/dist/components/Resizable.js +3 -12
- package/dist/components/Resizable.mjs +8 -2
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/Result.js +3 -12
- package/dist/components/Result.mjs +9 -3
- package/dist/components/RichTextEditor.d.mts +21 -5
- package/dist/components/RichTextEditor.d.ts +21 -5
- package/dist/components/RichTextEditor.js +3 -12
- package/dist/components/RichTextEditor.mjs +8 -2
- package/dist/components/Row.d.mts +2 -2
- package/dist/components/Row.d.ts +2 -2
- package/dist/components/Row.js +4 -11
- package/dist/components/Row.mjs +8 -2
- package/dist/components/ScatterChart.d.mts +1 -1
- package/dist/components/ScatterChart.d.ts +1 -1
- package/dist/components/ScatterChart.js +7 -16
- package/dist/components/ScatterChart.mjs +15 -9
- package/dist/components/ScrollSpy.d.mts +125 -0
- package/dist/components/ScrollSpy.d.ts +125 -0
- package/dist/components/ScrollSpy.js +8 -0
- package/dist/components/ScrollSpy.mjs +8 -0
- package/dist/components/Segmented.d.mts +1 -1
- package/dist/components/Segmented.d.ts +1 -1
- package/dist/components/Segmented.js +3 -12
- package/dist/components/Segmented.mjs +8 -2
- package/dist/components/Select.d.mts +75 -3
- package/dist/components/Select.d.ts +75 -3
- package/dist/components/Select.js +3 -12
- package/dist/components/Select.mjs +8 -2
- package/dist/components/Sidebar.d.mts +1 -1
- package/dist/components/Sidebar.d.ts +1 -1
- package/dist/components/Sidebar.js +3 -12
- package/dist/components/Sidebar.mjs +8 -2
- package/dist/components/Signature.d.mts +154 -0
- package/dist/components/Signature.d.ts +154 -0
- package/dist/components/Signature.js +8 -0
- package/dist/components/Signature.mjs +8 -0
- package/dist/components/Skeleton.d.mts +2 -2
- package/dist/components/Skeleton.d.ts +2 -2
- package/dist/components/Skeleton.js +3 -12
- package/dist/components/Skeleton.mjs +8 -2
- package/dist/components/Slider.d.mts +2 -2
- package/dist/components/Slider.d.ts +2 -2
- package/dist/components/Slider.js +3 -12
- package/dist/components/Slider.mjs +8 -2
- package/dist/components/Space.d.mts +2 -2
- package/dist/components/Space.d.ts +2 -2
- package/dist/components/Space.js +3 -12
- package/dist/components/Space.mjs +8 -2
- package/dist/components/Splitter.d.mts +2 -2
- package/dist/components/Splitter.d.ts +2 -2
- package/dist/components/Splitter.js +3 -12
- package/dist/components/Splitter.mjs +8 -2
- package/dist/components/Spotlight.d.mts +198 -0
- package/dist/components/Spotlight.d.ts +198 -0
- package/dist/components/Spotlight.js +9 -0
- package/dist/components/Spotlight.mjs +9 -0
- package/dist/components/Statistic.d.mts +20 -2
- package/dist/components/Statistic.d.ts +20 -2
- package/dist/components/Statistic.js +3 -12
- package/dist/components/Statistic.mjs +8 -2
- package/dist/components/Stepper.d.mts +1 -1
- package/dist/components/Stepper.d.ts +1 -1
- package/dist/components/Stepper.js +3 -12
- package/dist/components/Stepper.mjs +8 -2
- package/dist/components/Steps.d.mts +140 -3
- package/dist/components/Steps.d.ts +140 -3
- package/dist/components/Steps.js +7 -16
- package/dist/components/Steps.mjs +12 -2
- package/dist/components/StepsItem.d.mts +6 -141
- package/dist/components/StepsItem.d.ts +6 -141
- package/dist/components/StepsItem.js +5 -13
- package/dist/components/StepsItem.mjs +10 -3
- package/dist/components/SubMenu.d.mts +6 -117
- package/dist/components/SubMenu.d.ts +6 -117
- package/dist/components/SubMenu.js +5 -13
- package/dist/components/SubMenu.mjs +10 -3
- package/dist/components/SunburstChart.d.mts +10 -1
- package/dist/components/SunburstChart.d.ts +10 -1
- package/dist/components/SunburstChart.js +7 -16
- package/dist/components/SunburstChart.mjs +13 -7
- package/dist/components/Switch.d.mts +1 -1
- package/dist/components/Switch.d.ts +1 -1
- package/dist/components/Switch.js +3 -12
- package/dist/components/Switch.mjs +8 -2
- package/dist/components/TabPane.d.mts +6 -169
- package/dist/components/TabPane.d.ts +6 -169
- package/dist/components/TabPane.js +5 -13
- package/dist/components/TabPane.mjs +10 -3
- package/dist/components/Table.d.mts +326 -396
- package/dist/components/Table.d.ts +326 -396
- package/dist/components/Table.js +3 -12
- package/dist/components/Table.mjs +8 -2
- package/dist/components/Tabs.d.mts +187 -2
- package/dist/components/Tabs.d.ts +187 -2
- package/dist/components/Tabs.js +7 -16
- package/dist/components/Tabs.mjs +12 -2
- package/dist/components/Tag.d.mts +3 -3
- package/dist/components/Tag.d.ts +3 -3
- package/dist/components/Tag.js +3 -12
- package/dist/components/Tag.mjs +8 -2
- package/dist/components/TaskBoard.d.mts +1 -1
- package/dist/components/TaskBoard.d.ts +1 -1
- package/dist/components/TaskBoard.js +4 -13
- package/dist/components/TaskBoard.mjs +9 -3
- package/dist/components/Text.d.mts +2 -2
- package/dist/components/Text.d.ts +2 -2
- package/dist/components/Text.js +3 -12
- package/dist/components/Text.mjs +8 -2
- package/dist/components/Textarea.d.mts +2 -2
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/Textarea.js +3 -12
- package/dist/components/Textarea.mjs +8 -2
- package/dist/components/TimePicker.d.mts +4 -4
- package/dist/components/TimePicker.d.ts +4 -4
- package/dist/components/TimePicker.js +3 -12
- package/dist/components/TimePicker.mjs +9 -3
- package/dist/components/Timeline.d.mts +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Timeline.js +3 -12
- package/dist/components/Timeline.mjs +8 -2
- package/dist/components/Tooltip.d.mts +3 -3
- package/dist/components/Tooltip.d.ts +3 -3
- package/dist/components/Tooltip.js +5 -14
- package/dist/components/Tooltip.mjs +10 -4
- package/dist/components/Tour.d.mts +15 -5
- package/dist/components/Tour.d.ts +15 -5
- package/dist/components/Tour.js +3 -12
- package/dist/components/Tour.mjs +9 -3
- package/dist/components/Transfer.d.mts +1 -1
- package/dist/components/Transfer.d.ts +1 -1
- package/dist/components/Transfer.js +3 -12
- package/dist/components/Transfer.mjs +8 -2
- package/dist/components/Tree.d.mts +51 -2
- package/dist/components/Tree.d.ts +51 -2
- package/dist/components/Tree.js +4 -12
- package/dist/components/Tree.mjs +9 -2
- package/dist/components/TreeMapChart.d.mts +10 -1
- package/dist/components/TreeMapChart.d.ts +10 -1
- package/dist/components/TreeMapChart.js +7 -16
- package/dist/components/TreeMapChart.mjs +13 -7
- package/dist/components/TreeSelect.d.mts +1 -1
- package/dist/components/TreeSelect.d.ts +1 -1
- package/dist/components/TreeSelect.js +3 -12
- package/dist/components/TreeSelect.mjs +8 -2
- package/dist/components/Upload.d.mts +48 -4
- package/dist/components/Upload.d.ts +48 -4
- package/dist/components/Upload.js +4 -13
- package/dist/components/Upload.mjs +9 -3
- package/dist/components/VirtualList.d.mts +29 -0
- package/dist/components/VirtualList.d.ts +29 -0
- package/dist/components/VirtualList.js +3 -12
- package/dist/components/VirtualList.mjs +8 -2
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/VirtualTable.d.ts +3 -3
- package/dist/components/VirtualTable.js +3 -12
- package/dist/components/VirtualTable.mjs +8 -2
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +1 -1
- package/dist/components/Watermark.js +3 -12
- package/dist/components/Watermark.mjs +8 -2
- package/dist/index.d.mts +50 -27
- package/dist/index.d.ts +50 -27
- package/dist/index.js +766 -729
- package/dist/index.mjs +755 -151
- package/package.json +15 -10
- package/dist/chunk-2WZGK7XJ.js +0 -113
- package/dist/chunk-34ZZLKQ4.js +0 -184
- package/dist/chunk-3AM6WEUE.mjs +0 -174
- package/dist/chunk-3FVWZYBQ.js +0 -196
- package/dist/chunk-3G7QYQYL.js +0 -95
- package/dist/chunk-53M2BTB5.mjs +0 -22
- package/dist/chunk-5AXCKK6Z.js +0 -290
- package/dist/chunk-5JSU44MQ.js +0 -242
- package/dist/chunk-5WHLXWWT.mjs +0 -68
- package/dist/chunk-5Y3HYEQD.js +0 -64
- package/dist/chunk-6DP7XE77.js +0 -267
- package/dist/chunk-6VG6ARQG.js +0 -206
- package/dist/chunk-7UU4PULK.mjs +0 -138
- package/dist/chunk-7VSD3NPI.js +0 -397
- package/dist/chunk-AFKNO6SF.js +0 -76
- package/dist/chunk-AN3HKOCS.mjs +0 -50
- package/dist/chunk-BMW2Z3G3.mjs +0 -94
- package/dist/chunk-BNIUWON3.js +0 -243
- package/dist/chunk-CG3AMK5U.mjs +0 -38
- package/dist/chunk-CQPHZU3H.mjs +0 -73
- package/dist/chunk-DN5GU5PC.js +0 -186
- package/dist/chunk-EBQ4WSQS.js +0 -97
- package/dist/chunk-ELEAQEMV.mjs +0 -61
- package/dist/chunk-ESALMEHU.js +0 -343
- package/dist/chunk-EZZG57TK.js +0 -44
- package/dist/chunk-FCV4ML6I.js +0 -71
- package/dist/chunk-FLAJKB2O.js +0 -126
- package/dist/chunk-FOF7UBMU.js +0 -180
- package/dist/chunk-G4ZD6COW.js +0 -324
- package/dist/chunk-GHPSCR6M.js +0 -69
- package/dist/chunk-GJFT5IQR.js +0 -118
- package/dist/chunk-GLW3P75K.js +0 -72
- package/dist/chunk-HKYYO326.mjs +0 -238
- package/dist/chunk-HRIKUP6R.js +0 -106
- package/dist/chunk-HTG6ISVH.mjs +0 -1094
- package/dist/chunk-I2BZURVP.js +0 -70
- package/dist/chunk-I6RGE7XQ.js +0 -152
- package/dist/chunk-IVTBNUKQ.js +0 -118
- package/dist/chunk-JHY57P4P.mjs +0 -69
- package/dist/chunk-JIMDJWZZ.js +0 -52
- package/dist/chunk-JSIQIWYP.js +0 -41
- package/dist/chunk-KI35GUL5.js +0 -184
- package/dist/chunk-LHPBK4MG.js +0 -92
- package/dist/chunk-LLU76X6I.js +0 -245
- package/dist/chunk-MVIHUPCX.js +0 -62
- package/dist/chunk-N5I5Y5JG.js +0 -53
- package/dist/chunk-NOTJRUAK.js +0 -142
- package/dist/chunk-NXGCLBVG.js +0 -268
- package/dist/chunk-O2Q4UYDA.js +0 -504
- package/dist/chunk-O2SABM5H.js +0 -178
- package/dist/chunk-PCGHIFIJ.js +0 -140
- package/dist/chunk-PICYE2CM.js +0 -176
- package/dist/chunk-PNKVD2UK.js +0 -26
- package/dist/chunk-Q6CGPWQF.js +0 -104
- package/dist/chunk-QDFUM2QT.js +0 -672
- package/dist/chunk-R77ZKZ5F.js +0 -251
- package/dist/chunk-RDV4BMTK.js +0 -64
- package/dist/chunk-TT5LWQIZ.js +0 -1097
- package/dist/chunk-TTDBR2B4.mjs +0 -340
- package/dist/chunk-U6WHPSWN.mjs +0 -83
- package/dist/chunk-U7CCKZAG.js +0 -125
- package/dist/chunk-UHGRUTGW.js +0 -175
- package/dist/chunk-UPPRQ3ZS.js +0 -132
- package/dist/chunk-UUGAOKYR.js +0 -113
- package/dist/chunk-V4PBWEAU.js +0 -62
- package/dist/chunk-VDNAGLQJ.js +0 -176
- package/dist/chunk-VTLTKTCK.js +0 -87
- package/dist/chunk-W6TMZ7ZT.js +0 -207
- package/dist/chunk-WCZGYU7M.js +0 -215
- package/dist/chunk-XCJONKFL.mjs +0 -173
- package/dist/chunk-XFZZWZ6Q.js +0 -149
- package/dist/chunk-XGJWUZWS.js +0 -356
- package/dist/chunk-XP5M2GK7.mjs +0 -57
- package/dist/chunk-XQKIMRRF.js +0 -146
- package/dist/chunk-XV5DEK27.js +0 -360
- package/dist/chunk-YUEBMBOH.mjs +0 -103
- package/dist/chunk-ZUVR5UZL.mjs +0 -264
- package/dist/chunk-ZXR4DAAO.mjs +0 -240
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
// src/components/Signature.ts
|
|
2
|
+
import { computed, defineComponent, h, onMounted, ref, watch } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
classNames,
|
|
5
|
+
clampSignatureLineWidth,
|
|
6
|
+
cloneSignatureStrokes,
|
|
7
|
+
coerceClassValue,
|
|
8
|
+
drawSignatureStrokes,
|
|
9
|
+
getSignatureCanvasDataUrl,
|
|
10
|
+
getSignatureCanvasWrapClasses,
|
|
11
|
+
getSignaturePoint,
|
|
12
|
+
isSignatureEmpty,
|
|
13
|
+
mergeStyleValues,
|
|
14
|
+
signatureCanvasClasses,
|
|
15
|
+
signatureClearButtonClasses,
|
|
16
|
+
signatureRootClasses,
|
|
17
|
+
signatureStrokesToSvg,
|
|
18
|
+
signatureSvgToDataUrl,
|
|
19
|
+
signatureToolbarClasses
|
|
20
|
+
} from "@expcat/tigercat-core";
|
|
21
|
+
var DEFAULT_WIDTH = 480;
|
|
22
|
+
var DEFAULT_HEIGHT = 180;
|
|
23
|
+
var Signature = defineComponent({
|
|
24
|
+
name: "TigerSignature",
|
|
25
|
+
inheritAttrs: false,
|
|
26
|
+
props: {
|
|
27
|
+
modelValue: { type: String, default: void 0 },
|
|
28
|
+
width: { type: Number, default: DEFAULT_WIDTH },
|
|
29
|
+
height: { type: Number, default: DEFAULT_HEIGHT },
|
|
30
|
+
penColor: { type: String, default: "#111827" },
|
|
31
|
+
backgroundColor: { type: String, default: void 0 },
|
|
32
|
+
lineWidth: { type: Number, default: 2 },
|
|
33
|
+
disabled: { type: Boolean, default: false },
|
|
34
|
+
readonly: { type: Boolean, default: false },
|
|
35
|
+
clearable: { type: Boolean, default: true },
|
|
36
|
+
exportType: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "image/png"
|
|
39
|
+
},
|
|
40
|
+
quality: { type: Number, default: 0.92 },
|
|
41
|
+
ariaLabel: { type: String, default: "Signature pad" },
|
|
42
|
+
clearText: { type: String, default: "Clear" },
|
|
43
|
+
className: { type: String, default: void 0 },
|
|
44
|
+
style: {
|
|
45
|
+
type: Object,
|
|
46
|
+
default: void 0
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
emits: ["update:modelValue", "change", "begin", "end", "clear"],
|
|
50
|
+
setup(props, { attrs, emit, expose }) {
|
|
51
|
+
const canvasRef = ref(null);
|
|
52
|
+
const strokes = ref([]);
|
|
53
|
+
const activeStroke = ref(null);
|
|
54
|
+
const isDisabled = computed(() => props.disabled || props.readonly);
|
|
55
|
+
const normalizedLineWidth = computed(() => clampSignatureLineWidth(props.lineWidth));
|
|
56
|
+
const draw = (nextStrokes) => {
|
|
57
|
+
const canvas = canvasRef.value;
|
|
58
|
+
const context = canvas?.getContext("2d");
|
|
59
|
+
if (!canvas || !context) return;
|
|
60
|
+
const ratio = typeof window === "undefined" ? 1 : window.devicePixelRatio || 1;
|
|
61
|
+
canvas.width = props.width * ratio;
|
|
62
|
+
canvas.height = props.height * ratio;
|
|
63
|
+
canvas.style.width = `${props.width}px`;
|
|
64
|
+
canvas.style.height = `${props.height}px`;
|
|
65
|
+
context.setTransform(ratio, 0, 0, ratio, 0, 0);
|
|
66
|
+
drawSignatureStrokes(context, nextStrokes, {
|
|
67
|
+
width: props.width,
|
|
68
|
+
height: props.height,
|
|
69
|
+
backgroundColor: props.backgroundColor
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
watch(
|
|
73
|
+
[strokes, () => props.width, () => props.height, () => props.backgroundColor],
|
|
74
|
+
() => draw(strokes.value),
|
|
75
|
+
{ deep: true, flush: "post" }
|
|
76
|
+
);
|
|
77
|
+
watch(
|
|
78
|
+
() => props.modelValue,
|
|
79
|
+
(value) => {
|
|
80
|
+
if (value === "" && !isSignatureEmpty(strokes.value)) {
|
|
81
|
+
strokes.value = [];
|
|
82
|
+
activeStroke.value = null;
|
|
83
|
+
draw([]);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
onMounted(() => {
|
|
88
|
+
draw(strokes.value);
|
|
89
|
+
});
|
|
90
|
+
const toSVG = () => signatureStrokesToSvg(strokes.value, {
|
|
91
|
+
width: props.width,
|
|
92
|
+
height: props.height,
|
|
93
|
+
backgroundColor: props.backgroundColor
|
|
94
|
+
});
|
|
95
|
+
const toDataURL = (type = props.exportType, quality = props.quality) => {
|
|
96
|
+
if (type === "image/svg+xml") return signatureSvgToDataUrl(toSVG());
|
|
97
|
+
return getSignatureCanvasDataUrl(canvasRef.value, type, quality);
|
|
98
|
+
};
|
|
99
|
+
const createPayload = (nextStrokes) => {
|
|
100
|
+
const value = props.exportType === "image/svg+xml" ? signatureSvgToDataUrl(
|
|
101
|
+
signatureStrokesToSvg(nextStrokes, {
|
|
102
|
+
width: props.width,
|
|
103
|
+
height: props.height,
|
|
104
|
+
backgroundColor: props.backgroundColor
|
|
105
|
+
})
|
|
106
|
+
) : getSignatureCanvasDataUrl(canvasRef.value, props.exportType, props.quality);
|
|
107
|
+
return {
|
|
108
|
+
value,
|
|
109
|
+
empty: isSignatureEmpty(nextStrokes),
|
|
110
|
+
strokes: cloneSignatureStrokes(nextStrokes),
|
|
111
|
+
exportType: props.exportType
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
const emitChange = (nextStrokes) => {
|
|
115
|
+
const payload = createPayload(nextStrokes);
|
|
116
|
+
emit("update:modelValue", payload.value);
|
|
117
|
+
emit("change", payload);
|
|
118
|
+
return payload;
|
|
119
|
+
};
|
|
120
|
+
const clear = () => {
|
|
121
|
+
strokes.value = [];
|
|
122
|
+
activeStroke.value = null;
|
|
123
|
+
draw([]);
|
|
124
|
+
emitChange([]);
|
|
125
|
+
emit("clear");
|
|
126
|
+
};
|
|
127
|
+
const getPointFromEvent = (event) => {
|
|
128
|
+
const canvas = canvasRef.value;
|
|
129
|
+
const rect = canvas?.getBoundingClientRect() ?? {
|
|
130
|
+
left: 0,
|
|
131
|
+
top: 0,
|
|
132
|
+
width: props.width,
|
|
133
|
+
height: props.height
|
|
134
|
+
};
|
|
135
|
+
return getSignaturePoint(event.clientX, event.clientY, rect, props.width, props.height);
|
|
136
|
+
};
|
|
137
|
+
const handlePointerDown = (event) => {
|
|
138
|
+
if (isDisabled.value) return;
|
|
139
|
+
event.preventDefault();
|
|
140
|
+
canvasRef.value?.focus();
|
|
141
|
+
const stroke = {
|
|
142
|
+
color: props.penColor,
|
|
143
|
+
lineWidth: normalizedLineWidth.value,
|
|
144
|
+
points: [getPointFromEvent(event)]
|
|
145
|
+
};
|
|
146
|
+
activeStroke.value = stroke;
|
|
147
|
+
strokes.value = [...strokes.value, stroke];
|
|
148
|
+
emit("begin");
|
|
149
|
+
};
|
|
150
|
+
const handlePointerMove = (event) => {
|
|
151
|
+
if (!activeStroke.value || isDisabled.value) return;
|
|
152
|
+
event.preventDefault();
|
|
153
|
+
activeStroke.value.points.push(getPointFromEvent(event));
|
|
154
|
+
strokes.value = [...strokes.value];
|
|
155
|
+
};
|
|
156
|
+
const finishStroke = () => {
|
|
157
|
+
if (!activeStroke.value) return;
|
|
158
|
+
activeStroke.value = null;
|
|
159
|
+
const payload = emitChange(strokes.value);
|
|
160
|
+
emit("end", payload);
|
|
161
|
+
};
|
|
162
|
+
const handleKeyDown = (event) => {
|
|
163
|
+
if (!props.clearable || isDisabled.value) return;
|
|
164
|
+
if (event.key !== "Delete" && event.key !== "Backspace") return;
|
|
165
|
+
event.preventDefault();
|
|
166
|
+
clear();
|
|
167
|
+
};
|
|
168
|
+
expose({
|
|
169
|
+
clear,
|
|
170
|
+
isEmpty: () => isSignatureEmpty(strokes.value),
|
|
171
|
+
toDataURL,
|
|
172
|
+
toSVG
|
|
173
|
+
});
|
|
174
|
+
const rootClasses = computed(
|
|
175
|
+
() => classNames(signatureRootClasses, props.className, coerceClassValue(attrs.class))
|
|
176
|
+
);
|
|
177
|
+
const rootStyle = computed(
|
|
178
|
+
() => mergeStyleValues(props.style, attrs.style)
|
|
179
|
+
);
|
|
180
|
+
return () => {
|
|
181
|
+
const forwardedAttrs = Object.fromEntries(
|
|
182
|
+
Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")
|
|
183
|
+
);
|
|
184
|
+
return h(
|
|
185
|
+
"div",
|
|
186
|
+
{
|
|
187
|
+
...forwardedAttrs,
|
|
188
|
+
class: rootClasses.value,
|
|
189
|
+
style: rootStyle.value
|
|
190
|
+
},
|
|
191
|
+
[
|
|
192
|
+
h("div", { class: getSignatureCanvasWrapClasses(props.disabled, props.readonly) }, [
|
|
193
|
+
h("canvas", {
|
|
194
|
+
ref: canvasRef,
|
|
195
|
+
class: signatureCanvasClasses,
|
|
196
|
+
width: props.width,
|
|
197
|
+
height: props.height,
|
|
198
|
+
tabindex: isDisabled.value ? -1 : 0,
|
|
199
|
+
role: "img",
|
|
200
|
+
"aria-label": props.ariaLabel,
|
|
201
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
202
|
+
onPointerdown: handlePointerDown,
|
|
203
|
+
onPointermove: handlePointerMove,
|
|
204
|
+
onPointerup: finishStroke,
|
|
205
|
+
onPointercancel: finishStroke,
|
|
206
|
+
onKeydown: handleKeyDown
|
|
207
|
+
})
|
|
208
|
+
]),
|
|
209
|
+
props.clearable ? h("div", { class: signatureToolbarClasses }, [
|
|
210
|
+
h(
|
|
211
|
+
"button",
|
|
212
|
+
{
|
|
213
|
+
type: "button",
|
|
214
|
+
class: signatureClearButtonClasses,
|
|
215
|
+
disabled: isDisabled.value || isSignatureEmpty(strokes.value),
|
|
216
|
+
onClick: clear
|
|
217
|
+
},
|
|
218
|
+
props.clearText
|
|
219
|
+
)
|
|
220
|
+
]) : null
|
|
221
|
+
]
|
|
222
|
+
);
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
var Signature_default = Signature;
|
|
227
|
+
|
|
228
|
+
export {
|
|
229
|
+
Signature,
|
|
230
|
+
Signature_default
|
|
231
|
+
};
|
|
@@ -1,9 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var vue = require('vue');
|
|
5
|
-
var tigercatCore = require('@expcat/tigercat-core');
|
|
3
|
+
var _chunkB2RH4CMGjs = require('./chunk-B2RH4CMG.js');
|
|
6
4
|
|
|
5
|
+
// src/components/FormItem.ts
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _vue = require('vue');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var _tigercatcore = require('@expcat/tigercat-core');
|
|
7
26
|
function mergeAriaDescribedBy(existing, next) {
|
|
8
27
|
if (!existing) return next;
|
|
9
28
|
if (!next) return existing;
|
|
@@ -13,7 +32,7 @@ function mergeAriaDescribedBy(existing, next) {
|
|
|
13
32
|
return Array.from(parts).join(" ");
|
|
14
33
|
}
|
|
15
34
|
var formItemIdCounter = 0;
|
|
16
|
-
var FormItem =
|
|
35
|
+
var FormItem = _vue.defineComponent.call(void 0, {
|
|
17
36
|
name: "TigerFormItem",
|
|
18
37
|
props: {
|
|
19
38
|
/**
|
|
@@ -73,34 +92,38 @@ var FormItem = vue.defineComponent({
|
|
|
73
92
|
errorDisplayMode: {
|
|
74
93
|
type: String,
|
|
75
94
|
default: "inline"
|
|
95
|
+
},
|
|
96
|
+
condition: {
|
|
97
|
+
type: Object,
|
|
98
|
+
default: void 0
|
|
76
99
|
}
|
|
77
100
|
},
|
|
78
101
|
setup(props, { slots }) {
|
|
79
|
-
const formContextRef =
|
|
80
|
-
const formContext =
|
|
81
|
-
const errorMessage =
|
|
82
|
-
const shakeTrigger =
|
|
83
|
-
const prevFormError =
|
|
102
|
+
const formContextRef = _vue.inject.call(void 0, _chunkB2RH4CMGjs.FormContextKey, null);
|
|
103
|
+
const formContext = _vue.computed.call(void 0, () => _nullishCoalesce(_optionalChain([formContextRef, 'optionalAccess', _ => _.value]), () => ( null)));
|
|
104
|
+
const errorMessage = _vue.ref.call(void 0, "");
|
|
105
|
+
const shakeTrigger = _vue.ref.call(void 0, 0);
|
|
106
|
+
const prevFormError = _vue.ref.call(void 0, "");
|
|
84
107
|
const instanceId = ++formItemIdCounter;
|
|
85
108
|
const baseId = `tiger-form-item-${instanceId}`;
|
|
86
109
|
const labelId = `${baseId}-label`;
|
|
87
110
|
const fieldId = `${baseId}-field`;
|
|
88
111
|
const errorId = `${baseId}-error`;
|
|
89
|
-
const actualSize =
|
|
90
|
-
return props.size || formContext.value
|
|
112
|
+
const actualSize = _vue.computed.call(void 0, () => {
|
|
113
|
+
return props.size || _optionalChain([formContext, 'access', _2 => _2.value, 'optionalAccess', _3 => _3.size]) || "md";
|
|
91
114
|
});
|
|
92
|
-
const actualLabelWidth =
|
|
93
|
-
const width = props.labelWidth || formContext.value
|
|
115
|
+
const actualLabelWidth = _vue.computed.call(void 0, () => {
|
|
116
|
+
const width = props.labelWidth || _optionalChain([formContext, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.labelWidth]);
|
|
94
117
|
if (typeof width === "number") {
|
|
95
118
|
return `${width}px`;
|
|
96
119
|
}
|
|
97
120
|
return width;
|
|
98
121
|
});
|
|
99
|
-
const labelPosition =
|
|
100
|
-
return formContext.value
|
|
122
|
+
const labelPosition = _vue.computed.call(void 0, () => {
|
|
123
|
+
return _optionalChain([formContext, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.labelPosition]) || "right";
|
|
101
124
|
});
|
|
102
|
-
const labelAlign =
|
|
103
|
-
return formContext.value
|
|
125
|
+
const labelAlign = _vue.computed.call(void 0, () => {
|
|
126
|
+
return _optionalChain([formContext, 'access', _8 => _8.value, 'optionalAccess', _9 => _9.labelAlign]) || "right";
|
|
104
127
|
});
|
|
105
128
|
const hasRequiredRule = (maybeRules) => {
|
|
106
129
|
if (!maybeRules) {
|
|
@@ -114,14 +137,14 @@ var FormItem = vue.defineComponent({
|
|
|
114
137
|
return !!rule.required;
|
|
115
138
|
});
|
|
116
139
|
};
|
|
117
|
-
const showRequiredAsterisk =
|
|
140
|
+
const showRequiredAsterisk = _vue.computed.call(void 0, () => {
|
|
118
141
|
if (props.required !== void 0) {
|
|
119
142
|
return props.required;
|
|
120
143
|
}
|
|
121
144
|
if (props.rules) {
|
|
122
145
|
return hasRequiredRule(props.rules);
|
|
123
146
|
}
|
|
124
|
-
if (props.name && formContext.value
|
|
147
|
+
if (props.name && _optionalChain([formContext, 'access', _10 => _10.value, 'optionalAccess', _11 => _11.rules])) {
|
|
125
148
|
const fieldRules = formContext.value.rules[props.name];
|
|
126
149
|
if (fieldRules) {
|
|
127
150
|
return hasRequiredRule(fieldRules);
|
|
@@ -129,24 +152,29 @@ var FormItem = vue.defineComponent({
|
|
|
129
152
|
}
|
|
130
153
|
return false;
|
|
131
154
|
});
|
|
132
|
-
const
|
|
133
|
-
|
|
155
|
+
const conditionState = _vue.computed.call(void 0, () => {
|
|
156
|
+
const ctx = formContext.value;
|
|
157
|
+
if (!props.name || !ctx) {
|
|
158
|
+
return { shown: true, disabled: false, required: false };
|
|
159
|
+
}
|
|
160
|
+
return ctx.getFieldConditionState(props.name, props.condition);
|
|
134
161
|
});
|
|
135
|
-
|
|
136
|
-
() =>
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
162
|
+
const isRequired = _vue.computed.call(void 0, () => {
|
|
163
|
+
return (showRequiredAsterisk.value || conditionState.value.required) && (_nullishCoalesce(_optionalChain([formContext, 'access', _12 => _12.value, 'optionalAccess', _13 => _13.showRequiredAsterisk]), () => ( true)));
|
|
164
|
+
});
|
|
165
|
+
_vue.watch.call(void 0,
|
|
166
|
+
() => props.name ? _optionalChain([formContext, 'access', _14 => _14.value, 'optionalAccess', _15 => _15.errorsByField, 'access', _16 => _16[props.name]]) : void 0,
|
|
167
|
+
(error) => {
|
|
168
|
+
const nextError = error || "";
|
|
169
|
+
errorMessage.value = nextError;
|
|
170
|
+
if (nextError && nextError !== prevFormError.value) {
|
|
171
|
+
shakeTrigger.value++;
|
|
145
172
|
}
|
|
173
|
+
prevFormError.value = nextError;
|
|
146
174
|
},
|
|
147
|
-
{
|
|
175
|
+
{ immediate: true }
|
|
148
176
|
);
|
|
149
|
-
|
|
177
|
+
_vue.watch.call(void 0,
|
|
150
178
|
() => props.error,
|
|
151
179
|
(error) => {
|
|
152
180
|
if (error !== void 0) {
|
|
@@ -159,11 +187,12 @@ var FormItem = vue.defineComponent({
|
|
|
159
187
|
const ctx = formContext.value;
|
|
160
188
|
if (props.name && ctx) {
|
|
161
189
|
ctx.registerFieldRules(props.name, void 0);
|
|
190
|
+
ctx.registerFieldCondition(props.name, void 0);
|
|
162
191
|
}
|
|
163
192
|
};
|
|
164
|
-
|
|
165
|
-
() => [props.name, props.rules],
|
|
166
|
-
([name, rules]) => {
|
|
193
|
+
_vue.watch.call(void 0,
|
|
194
|
+
() => [props.name, props.rules, props.condition],
|
|
195
|
+
([name, rules, condition]) => {
|
|
167
196
|
const ctx = formContext.value;
|
|
168
197
|
if (!name || !ctx) {
|
|
169
198
|
return;
|
|
@@ -173,10 +202,11 @@ var FormItem = vue.defineComponent({
|
|
|
173
202
|
} else {
|
|
174
203
|
ctx.registerFieldRules(name, void 0);
|
|
175
204
|
}
|
|
205
|
+
ctx.registerFieldCondition(name, condition);
|
|
176
206
|
},
|
|
177
207
|
{ immediate: true }
|
|
178
208
|
);
|
|
179
|
-
|
|
209
|
+
_vue.onUnmounted.call(void 0, unregisterFieldRules);
|
|
180
210
|
const handleBlur = () => {
|
|
181
211
|
const ctx = formContext.value;
|
|
182
212
|
if (props.name && ctx) {
|
|
@@ -189,59 +219,62 @@ var FormItem = vue.defineComponent({
|
|
|
189
219
|
ctx.validateField(props.name, props.rules, "change");
|
|
190
220
|
}
|
|
191
221
|
};
|
|
192
|
-
const hasError =
|
|
222
|
+
const hasError = _vue.computed.call(void 0, () => {
|
|
193
223
|
return !!errorMessage.value;
|
|
194
224
|
});
|
|
195
|
-
const describedById =
|
|
225
|
+
const describedById = _vue.computed.call(void 0, () => {
|
|
196
226
|
return props.showMessage && hasError.value ? errorId : void 0;
|
|
197
227
|
});
|
|
198
|
-
const formItemClasses =
|
|
199
|
-
return
|
|
228
|
+
const formItemClasses = _vue.computed.call(void 0, () => {
|
|
229
|
+
return _tigercatcore.getFormItemClasses.call(void 0, {
|
|
200
230
|
size: actualSize.value,
|
|
201
231
|
labelPosition: labelPosition.value,
|
|
202
232
|
hasError: hasError.value,
|
|
203
|
-
disabled: formContext.value
|
|
233
|
+
disabled: _optionalChain([formContext, 'access', _17 => _17.value, 'optionalAccess', _18 => _18.disabled]) || conditionState.value.disabled
|
|
204
234
|
});
|
|
205
235
|
});
|
|
206
|
-
const labelClasses =
|
|
207
|
-
return
|
|
236
|
+
const labelClasses = _vue.computed.call(void 0, () => {
|
|
237
|
+
return _tigercatcore.getFormItemLabelClasses.call(void 0, {
|
|
208
238
|
size: actualSize.value,
|
|
209
239
|
labelAlign: labelAlign.value,
|
|
210
240
|
labelPosition: labelPosition.value,
|
|
211
241
|
isRequired: isRequired.value
|
|
212
242
|
});
|
|
213
243
|
});
|
|
214
|
-
const labelStyles =
|
|
244
|
+
const labelStyles = _vue.computed.call(void 0, () => {
|
|
215
245
|
if (labelPosition.value === "top") {
|
|
216
246
|
return {};
|
|
217
247
|
}
|
|
218
248
|
return actualLabelWidth.value ? { width: actualLabelWidth.value } : {};
|
|
219
249
|
});
|
|
220
|
-
const contentClasses =
|
|
221
|
-
const errorClasses =
|
|
222
|
-
return
|
|
250
|
+
const contentClasses = _vue.computed.call(void 0, () => _tigercatcore.getFormItemContentClasses.call(void 0, labelPosition.value));
|
|
251
|
+
const errorClasses = _vue.computed.call(void 0, () => {
|
|
252
|
+
return _tigercatcore.classNames.call(void 0, _tigercatcore.getFormItemErrorClasses.call(void 0, actualSize.value), hasError.value && "opacity-100");
|
|
223
253
|
});
|
|
224
|
-
const fieldClasses =
|
|
225
|
-
const asteriskClasses =
|
|
254
|
+
const fieldClasses = _tigercatcore.getFormItemFieldClasses.call(void 0, );
|
|
255
|
+
const asteriskClasses = _tigercatcore.getFormItemAsteriskClasses.call(void 0, );
|
|
226
256
|
return () => {
|
|
227
|
-
|
|
257
|
+
if (!conditionState.value.shown) {
|
|
258
|
+
return null;
|
|
259
|
+
}
|
|
260
|
+
const defaultSlot = _nullishCoalesce(_optionalChain([slots, 'access', _19 => _19.default, 'optionalCall', _20 => _20()]), () => ( []));
|
|
228
261
|
const only = defaultSlot.length === 1 ? defaultSlot[0] : void 0;
|
|
229
|
-
const isSingleVNode = only != null &&
|
|
262
|
+
const isSingleVNode = only != null && _vue.isVNode.call(void 0, only);
|
|
230
263
|
const effectiveFieldId = (() => {
|
|
231
264
|
if (!isSingleVNode) {
|
|
232
265
|
return void 0;
|
|
233
266
|
}
|
|
234
|
-
const p = only.props
|
|
235
|
-
return p.id
|
|
267
|
+
const p = _nullishCoalesce(only.props, () => ( {}));
|
|
268
|
+
return _nullishCoalesce(p.id, () => ( fieldId));
|
|
236
269
|
})();
|
|
237
270
|
const fieldChildren = (() => {
|
|
238
271
|
if (!isSingleVNode) {
|
|
239
272
|
return defaultSlot;
|
|
240
273
|
}
|
|
241
274
|
const vnode = only;
|
|
242
|
-
const existingProps = vnode.props
|
|
275
|
+
const existingProps = _nullishCoalesce(vnode.props, () => ( {}));
|
|
243
276
|
const isNativeElement = typeof vnode.type === "string";
|
|
244
|
-
const merged =
|
|
277
|
+
const merged = _vue.cloneVNode.call(void 0,
|
|
245
278
|
vnode,
|
|
246
279
|
{
|
|
247
280
|
id: effectiveFieldId,
|
|
@@ -250,6 +283,7 @@ var FormItem = vue.defineComponent({
|
|
|
250
283
|
_shakeTrigger: !isNativeElement && hasError.value ? shakeTrigger.value : void 0,
|
|
251
284
|
"aria-invalid": hasError.value ? "true" : existingProps["aria-invalid"],
|
|
252
285
|
"aria-required": isRequired.value ? "true" : existingProps["aria-required"],
|
|
286
|
+
disabled: conditionState.value.disabled || _optionalChain([formContext, 'access', _21 => _21.value, 'optionalAccess', _22 => _22.disabled]) ? true : existingProps.disabled,
|
|
253
287
|
"aria-describedby": mergeAriaDescribedBy(
|
|
254
288
|
existingProps["aria-describedby"],
|
|
255
289
|
describedById.value
|
|
@@ -261,7 +295,7 @@ var FormItem = vue.defineComponent({
|
|
|
261
295
|
);
|
|
262
296
|
return [merged];
|
|
263
297
|
})();
|
|
264
|
-
const labelElement = props.label ?
|
|
298
|
+
const labelElement = props.label ? _vue.h.call(void 0,
|
|
265
299
|
"label",
|
|
266
300
|
{
|
|
267
301
|
class: labelClasses.value,
|
|
@@ -269,15 +303,15 @@ var FormItem = vue.defineComponent({
|
|
|
269
303
|
id: labelId,
|
|
270
304
|
for: effectiveFieldId
|
|
271
305
|
},
|
|
272
|
-
[isRequired.value &&
|
|
306
|
+
[isRequired.value && _vue.h.call(void 0, "span", { class: asteriskClasses }, "*"), props.label]
|
|
273
307
|
) : null;
|
|
274
|
-
const contentElement =
|
|
308
|
+
const contentElement = _vue.h.call(void 0,
|
|
275
309
|
"div",
|
|
276
310
|
{
|
|
277
|
-
class:
|
|
311
|
+
class: _tigercatcore.classNames.call(void 0, contentClasses.value, props.errorDisplayMode === "popup" && "relative")
|
|
278
312
|
},
|
|
279
313
|
[
|
|
280
|
-
|
|
314
|
+
_vue.h.call(void 0,
|
|
281
315
|
"div",
|
|
282
316
|
{
|
|
283
317
|
class: fieldClasses,
|
|
@@ -285,21 +319,20 @@ var FormItem = vue.defineComponent({
|
|
|
285
319
|
"aria-labelledby": props.label ? labelId : void 0,
|
|
286
320
|
"aria-describedby": describedById.value,
|
|
287
321
|
"aria-invalid": hasError.value ? "true" : void 0,
|
|
288
|
-
"aria-required": isRequired.value ? "true" : void 0,
|
|
289
322
|
onFocusout: isSingleVNode ? void 0 : handleBlur,
|
|
290
323
|
onInput: isSingleVNode ? void 0 : handleChange
|
|
291
324
|
},
|
|
292
325
|
fieldChildren
|
|
293
326
|
),
|
|
294
|
-
props.showMessage &&
|
|
327
|
+
props.showMessage && _vue.h.call(void 0,
|
|
295
328
|
"div",
|
|
296
329
|
{
|
|
297
330
|
id: hasError.value ? errorId : void 0,
|
|
298
331
|
role: hasError.value ? "alert" : void 0,
|
|
299
|
-
class: props.errorDisplayMode === "block" ?
|
|
332
|
+
class: props.errorDisplayMode === "block" ? _tigercatcore.classNames.call(void 0,
|
|
300
333
|
"mt-1 p-2 rounded bg-red-50 border border-red-200 text-red-600 text-sm",
|
|
301
334
|
!hasError.value && "hidden"
|
|
302
|
-
) : props.errorDisplayMode === "popup" ?
|
|
335
|
+
) : props.errorDisplayMode === "popup" ? _tigercatcore.classNames.call(void 0,
|
|
303
336
|
"absolute z-10 mt-1 px-2 py-1 rounded bg-red-600 text-white text-xs shadow-lg",
|
|
304
337
|
!hasError.value && "hidden"
|
|
305
338
|
) : errorClasses.value,
|
|
@@ -309,7 +342,7 @@ var FormItem = vue.defineComponent({
|
|
|
309
342
|
)
|
|
310
343
|
]
|
|
311
344
|
);
|
|
312
|
-
return
|
|
345
|
+
return _vue.h.call(void 0,
|
|
313
346
|
"div",
|
|
314
347
|
{
|
|
315
348
|
class: formItemClasses.value
|
|
@@ -321,5 +354,7 @@ var FormItem = vue.defineComponent({
|
|
|
321
354
|
});
|
|
322
355
|
var FormItem_default = FormItem;
|
|
323
356
|
|
|
324
|
-
|
|
325
|
-
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
exports.FormItem = FormItem; exports.FormItem_default = FormItem_default;
|