@expcat/tigercat-vue 1.1.0 → 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-VYFJ3LYD.js → chunk-2C5TOAYI.js} +12 -9
- package/dist/{chunk-V55ZONWZ.mjs → chunk-2GQE47OY.mjs} +82 -4
- package/dist/chunk-2KDSHEZT.js +41 -28
- package/dist/chunk-2LNNB55E.js +59 -39
- package/dist/{chunk-UYN5WLHQ.mjs → chunk-2PFP44AI.mjs} +34 -11
- package/dist/chunk-2R5HISQA.mjs +16 -4
- package/dist/chunk-2S5CNU36.js +40 -31
- package/dist/chunk-2TNZ4JNT.mjs +14 -4
- package/dist/{chunk-SB2SX5EH.js → chunk-2VBUCW5G.js} +96 -76
- package/dist/{chunk-GZK6R2E3.js → chunk-2VOZFFW6.js} +33 -28
- package/dist/chunk-2WJADO6O.mjs +19 -4
- package/dist/chunk-2X3ZPH2H.mjs +31 -4
- package/dist/chunk-2YFXJUBT.js +40 -25
- package/dist/chunk-2ZUEXCVJ.mjs +9 -4
- package/dist/chunk-33YTJPF7.js +81 -54
- package/dist/{chunk-I6E3GY64.mjs → chunk-3A7H2CTW.mjs} +180 -12
- package/dist/chunk-3G4VPV4D.mjs +20 -4
- package/dist/chunk-3MC45EXP.mjs +13 -4
- package/dist/chunk-3QV2D54H.js +55 -37
- package/dist/{chunk-RRTB7O7Q.mjs → chunk-3W4CM7KO.mjs} +27 -6
- package/dist/chunk-43BLH7DE.js +49 -37
- package/dist/{chunk-63LJVB2M.js → chunk-44N7LE3Q.js} +141 -64
- package/dist/chunk-46DEQQMB.mjs +11 -4
- package/dist/chunk-4CWRNKPE.mjs +35 -5
- package/dist/{chunk-OKSLWGXR.js → chunk-4DWOTV7J.js} +77 -60
- package/dist/chunk-4K2CCBFT.mjs +30 -4
- package/dist/{chunk-XMOYCYVK.js → chunk-4OOR4524.js} +280 -138
- package/dist/chunk-4YHOD7LT.mjs +13 -4
- package/dist/chunk-5436FG3B.js +32 -23
- package/dist/chunk-54VVFMYI.js +13 -14
- package/dist/chunk-57MJTNDL.js +25 -20
- package/dist/chunk-5D2UAWWP.mjs +37 -4
- package/dist/{chunk-EHBPMUT2.js → chunk-5F6P5Y4K.js} +29 -27
- package/dist/chunk-5JKQPOG2.js +133 -0
- package/dist/chunk-5PXTMXXS.js +27 -20
- package/dist/chunk-5UOAWXOQ.js +243 -0
- package/dist/{chunk-OMVVPNU7.js → chunk-5VSKQLK3.js} +141 -105
- package/dist/chunk-5WG4OFXH.mjs +133 -0
- package/dist/chunk-5X3GXNGM.mjs +27 -4
- package/dist/{chunk-YQRRW4ZR.mjs → chunk-5ZAIW5W3.mjs} +9 -3
- package/dist/{chunk-FQHYU76P.mjs → chunk-6DVWLGSZ.mjs} +28 -6
- package/dist/chunk-6FXYRDYH.js +30 -25
- package/dist/{chunk-EVOXC3CD.js → chunk-6HM77SWE.js} +92 -75
- package/dist/chunk-6V7XCCXN.mjs +8 -4
- package/dist/chunk-7ADONGSB.js +14 -15
- package/dist/chunk-7LUATGJU.mjs +27 -4
- package/dist/chunk-7PY6OQVE.mjs +15 -4
- package/dist/chunk-7QX4QWWN.js +61 -40
- package/dist/chunk-7RIWAO2A.mjs +18 -4
- package/dist/chunk-7SFB77JR.mjs +192 -0
- package/dist/{chunk-RVU47MU6.mjs → chunk-7W3NALIL.mjs} +15 -6
- package/dist/chunk-A5HHG53Z.js +38 -24
- package/dist/chunk-A5HRX7EG.js +37 -31
- package/dist/chunk-A7FN3S4I.js +33 -23
- package/dist/chunk-ACYYQJ6M.js +16 -17
- package/dist/chunk-AGVXMB4Q.js +52 -39
- package/dist/chunk-AXDBME5A.mjs +15 -4
- package/dist/{chunk-VYGI74MJ.js → chunk-B2RH4CMG.js} +156 -37
- package/dist/chunk-B67RJSXR.mjs +142 -0
- package/dist/chunk-BEIPGX74.mjs +233 -0
- package/dist/chunk-BEIZXMHW.js +470 -0
- package/dist/{chunk-OZYJ3U4H.js → chunk-BGMAWKWV.js} +208 -83
- package/dist/{chunk-GEPFTYKC.js → chunk-BGMQIUPP.js} +108 -77
- package/dist/chunk-BMT5PGAQ.mjs +20 -5
- package/dist/chunk-BPAN6T7H.mjs +16 -4
- package/dist/chunk-BYNMOQBB.js +54 -42
- package/dist/chunk-BZBVSB43.js +37 -28
- package/dist/chunk-C7VGTRHE.mjs +20 -4
- package/dist/chunk-CBECE4ZO.mjs +373 -0
- package/dist/chunk-CKXZONMO.js +18 -14
- package/dist/{chunk-G2IZAKJY.mjs → chunk-CN7HFUFN.mjs} +38 -4
- package/dist/chunk-COCECPMG.mjs +17 -4
- package/dist/chunk-CPV7INZ4.mjs +10 -4
- package/dist/chunk-CSJQKBDJ.js +73 -44
- package/dist/{chunk-UT6T25YJ.js → chunk-CWNEDREV.js} +42 -36
- package/dist/chunk-CWQOEU6G.js +373 -0
- package/dist/chunk-CZALMJH3.mjs +29 -8
- package/dist/chunk-D3U2NJ32.mjs +154 -0
- package/dist/{chunk-YYZBVHVC.mjs → chunk-D74XCQCK.mjs} +78 -12
- package/dist/chunk-DBTS5QBX.mjs +14 -4
- package/dist/{chunk-OSOA7LWH.mjs → chunk-DDNRF5U7.mjs} +91 -6
- package/dist/{chunk-46XPSPG4.js → chunk-DE5WMG6P.js} +69 -53
- package/dist/{chunk-H2BH6TJN.mjs → chunk-DEJKRMMU.mjs} +26 -4
- package/dist/chunk-DIQGHFAT.mjs +6 -4
- package/dist/chunk-DMV26JNR.mjs +16 -4
- package/dist/{chunk-CERGNVW2.mjs → chunk-DQFTTJJ5.mjs} +37 -4
- 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 +44 -26
- package/dist/chunk-E2GQSWHK.mjs +14 -4
- package/dist/chunk-E6RGBYI3.mjs +31 -4
- package/dist/chunk-EJNPSYTS.js +44 -0
- package/dist/{chunk-NG7TLPQQ.mjs → chunk-EKWJTB5H.mjs} +28 -8
- 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-F7G7K3TF.mjs +22 -4
- package/dist/{chunk-BQRXHUIC.js → chunk-FAYSOSR7.js} +89 -64
- package/dist/chunk-FC7RXQTM.js +30 -20
- package/dist/chunk-FE2HR4E5.js +66 -47
- package/dist/chunk-FIV4PKWT.js +26 -20
- package/dist/chunk-FMH4CLSA.mjs +18 -4
- package/dist/{chunk-FC27Q4CL.js → chunk-FP7SBCPO.js} +65 -45
- package/dist/chunk-FQWEOBQ4.mjs +231 -0
- package/dist/{chunk-2Z2CJEUL.js → chunk-FRI62O2J.js} +97 -59
- package/dist/chunk-FUGSQXFR.js +65 -42
- package/dist/{chunk-656KMUL3.js → chunk-FUI6WG2F.js} +154 -124
- package/dist/chunk-FXS5GHQZ.js +388 -0
- package/dist/{chunk-6WACKCWM.mjs → chunk-G36MH6G4.mjs} +49 -8
- package/dist/chunk-G3SWTL27.js +45 -29
- package/dist/chunk-GDKYQ7U6.js +93 -75
- package/dist/{chunk-FMLNJXCX.js → chunk-GIQQOHDA.js} +59 -41
- package/dist/{chunk-QV7XYS5P.js → chunk-GL6KRUVO.js} +61 -42
- package/dist/chunk-GOBWUEHV.js +60 -45
- package/dist/{chunk-WPEFGEAK.mjs → chunk-GQAVLQEZ.mjs} +15 -4
- package/dist/chunk-GQPSQJ5I.mjs +6 -4
- package/dist/chunk-GVZRR2WP.mjs +22 -5
- package/dist/chunk-H4F4G2E4.mjs +14 -4
- 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-IFD7PZDO.mjs → chunk-IKEZDGRO.mjs} +47 -13
- package/dist/chunk-IZF4VHJ2.mjs +23 -4
- package/dist/chunk-J73M5UTG.mjs +21 -4
- package/dist/{chunk-S4DT7LXD.js → chunk-JAAIL4XS.js} +24 -16
- package/dist/chunk-JCMGBKS6.js +23 -17
- package/dist/chunk-JDCVS4SJ.js +38 -31
- package/dist/chunk-JFIVDZFK.js +77 -57
- package/dist/{chunk-6PJ3JANP.js → chunk-JKEF7NB3.js} +70 -49
- package/dist/chunk-JKZ5ZRDG.js +44 -36
- package/dist/{chunk-MDPHUCVS.mjs → chunk-JL526HSV.mjs} +49 -14
- package/dist/{chunk-CODQKVQV.js → chunk-K2DJDJZR.js} +25 -22
- package/dist/chunk-K3CIXMN4.js +40 -32
- package/dist/{chunk-6EI23IND.mjs → chunk-K5ZZZ4TL.mjs} +33 -10
- package/dist/{chunk-Q4OPUKWF.js → chunk-KA7DILCI.js} +134 -99
- package/dist/chunk-KDA4XDXT.js +67 -0
- package/dist/chunk-KOTSKHPQ.mjs +19 -4
- package/dist/{chunk-C6ER6OUB.mjs → chunk-KU2Q5V3L.mjs} +31 -4
- package/dist/{chunk-TVDLZZNO.mjs → chunk-KVJIJJ4M.mjs} +113 -5
- package/dist/{chunk-RKU54YLW.mjs → chunk-KY3O3FWK.mjs} +91 -7
- package/dist/{chunk-QDYF23NQ.mjs → chunk-KZP3B3FQ.mjs} +32 -7
- package/dist/chunk-LBGTABIU.mjs +20 -4
- package/dist/{chunk-MZHQAT4I.mjs → chunk-LDDGBB3V.mjs} +157 -8
- package/dist/{chunk-5YFSAKRQ.mjs → chunk-LFKY2QRD.mjs} +138 -15
- package/dist/chunk-LG6KGO5D.js +42 -33
- package/dist/{chunk-ML2QP5KF.mjs → chunk-LILAZ4UJ.mjs} +136 -26
- package/dist/chunk-LL4ASJ4O.mjs +27 -4
- package/dist/chunk-LWDA7ABQ.js +36 -28
- package/dist/{chunk-O3JPGBAK.js → chunk-M2XA7VU5.js} +107 -75
- package/dist/chunk-M3G6LJKZ.mjs +12 -4
- package/dist/{chunk-LBIQHIXN.mjs → chunk-M5PGWW25.mjs} +42 -9
- package/dist/chunk-M7EBWJZ5.mjs +9 -4
- package/dist/{chunk-PBQVYZRB.js → chunk-MFYBHMQL.js} +117 -87
- 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 +30 -19
- package/dist/{chunk-ABLH42TR.js → chunk-MUJLT2YG.js} +224 -119
- package/dist/chunk-NCFY3VXA.js +13 -14
- package/dist/{chunk-XVUATQPD.mjs → chunk-NDS2DLUS.mjs} +40 -10
- package/dist/{chunk-WOVUC5FQ.mjs → chunk-NHBN6VAY.mjs} +33 -10
- package/dist/{chunk-XWE54AWW.mjs → chunk-NMVKDWMK.mjs} +303 -72
- package/dist/chunk-NNNG6NIA.mjs +13 -4
- package/dist/chunk-NOZ65AMO.js +32 -22
- package/dist/{chunk-E74ERZGQ.mjs → chunk-NWS45JQP.mjs} +52 -13
- package/dist/{chunk-IV4HFG36.mjs → chunk-NZUQ2KCW.mjs} +50 -8
- package/dist/chunk-OCL22D5E.mjs +29 -4
- package/dist/chunk-ODQOYMUQ.js +25 -18
- package/dist/chunk-OK4PVFQG.mjs +6 -4
- package/dist/{chunk-SPFWZCRX.mjs → chunk-OKR3GRG5.mjs} +51 -13
- package/dist/{chunk-WU2KCS6H.js → chunk-OW5D4LU6.js} +423 -195
- package/dist/chunk-OXIODAJS.js +192 -0
- package/dist/chunk-P7RXZVLT.js +66 -42
- package/dist/chunk-PCJHGWTU.js +269 -0
- package/dist/chunk-PCUUTKQZ.mjs +27 -4
- package/dist/{chunk-GWNXDOIG.mjs → chunk-PENI3H3I.mjs} +15 -10
- package/dist/chunk-PQMZ3YN3.js +37 -25
- package/dist/chunk-PUSTYAMS.mjs +28 -4
- package/dist/chunk-PVPLDEC5.mjs +6 -4
- package/dist/chunk-PXRF4IJO.mjs +17 -4
- package/dist/chunk-PY6P4N2Q.js +393 -0
- package/dist/{chunk-ZWTC2CUB.mjs → chunk-PYT5DTQQ.mjs} +158 -30
- package/dist/{chunk-V667FK4C.mjs → chunk-PZH2RTSS.mjs} +47 -4
- package/dist/chunk-Q4MH333P.js +18 -16
- package/dist/{chunk-56EI2AYV.js → chunk-QO2JYX6Q.js} +104 -65
- package/dist/chunk-QRAV345L.js +35 -25
- package/dist/{chunk-NJLNZ73T.js → chunk-QUIRQ7OA.js} +93 -66
- package/dist/chunk-QY6PYAJA.js +73 -53
- package/dist/chunk-QYSFZA5V.js +87 -65
- package/dist/chunk-QZ5OPNL4.mjs +17 -4
- package/dist/{chunk-N4GS2LSN.mjs → chunk-R2HO74FE.mjs} +12 -5
- package/dist/chunk-RDJZOMI6.js +26 -19
- package/dist/{chunk-CN2SP53A.mjs → chunk-RFFPMC22.mjs} +26 -7
- package/dist/{chunk-FRMMT3K3.mjs → chunk-RHAIJVMW.mjs} +43 -13
- package/dist/chunk-RKZN3URO.js +49 -38
- package/dist/chunk-RY2I56HB.js +36 -24
- package/dist/{chunk-AEU46D6B.js → chunk-S6K6IR3Y.js} +218 -111
- package/dist/{chunk-KVJKG4D3.js → chunk-S6Q7TD6H.js} +110 -70
- package/dist/chunk-SC3WTLKG.mjs +37 -4
- package/dist/{chunk-YIYLO6AG.mjs → chunk-SCRSO3ES.mjs} +32 -12
- package/dist/chunk-SCSGLSPY.mjs +393 -0
- package/dist/{chunk-WLRLKW2W.mjs → chunk-SEDENBOO.mjs} +34 -5
- package/dist/{chunk-UCDB56MB.mjs → chunk-SGRUGYQ6.mjs} +87 -5
- package/dist/chunk-SLYUQ67P.js +39 -30
- package/dist/{chunk-XXBMPKS7.js → chunk-SVWZOIBI.js} +101 -70
- package/dist/chunk-SWOQMMOT.js +18 -14
- package/dist/chunk-T4DF24UV.js +26 -20
- package/dist/{chunk-JACGMHFI.js → chunk-TAU447CL.js} +30 -23
- package/dist/chunk-TGIXSJI3.mjs +35 -4
- package/dist/chunk-TLXEFLPA.js +13 -14
- package/dist/chunk-TOE2XSEO.js +32 -20
- package/dist/{chunk-REF5Q6PG.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-FRFCXRUJ.mjs → chunk-UAD2XROX.mjs} +47 -12
- package/dist/chunk-UANF7XE5.mjs +25 -4
- package/dist/chunk-UHVUKLHF.js +32 -26
- package/dist/chunk-UI7N2ZDU.js +142 -0
- package/dist/{chunk-5RA26RRN.js → chunk-ULUH6UNV.js} +68 -48
- package/dist/chunk-UM5GGKIX.mjs +16 -4
- package/dist/{chunk-LBHKQW3U.mjs → chunk-UMQUWX7U.mjs} +14 -4
- package/dist/chunk-UNTTADHL.mjs +17 -4
- package/dist/chunk-UQK22ZMC.mjs +19 -4
- package/dist/chunk-UUJ7A3CN.js +75 -55
- package/dist/chunk-V32X2OEO.js +61 -34
- package/dist/{chunk-XOLTA3IE.js → chunk-VAXO5NEM.js} +62 -46
- package/dist/{chunk-E3BSOB7P.mjs → chunk-VG6E4NX6.mjs} +68 -18
- 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 +79 -60
- package/dist/chunk-VVS2CQS4.mjs +6 -4
- package/dist/{chunk-47Z4MGKP.js → chunk-VXULMOIW.js} +90 -64
- package/dist/{chunk-4VB6I3CA.js → chunk-W55GCQ2D.js} +65 -44
- package/dist/chunk-W5RZPTFD.mjs +13 -4
- package/dist/chunk-W6ZFHHD3.mjs +15 -4
- package/dist/{chunk-DVFDA2P2.mjs → chunk-WE4DGU2T.mjs} +14 -7
- package/dist/chunk-WFISP42H.mjs +17 -4
- package/dist/chunk-WGNJHM34.js +46 -34
- package/dist/chunk-WM4ESIHG.mjs +13 -4
- package/dist/chunk-WPIDP6IG.js +35 -25
- package/dist/chunk-WQXZ3234.mjs +19 -4
- package/dist/{chunk-GAWIICIB.js → chunk-WUEP3PFN.js} +80 -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 +94 -64
- package/dist/chunk-XJXGVNNF.js +41 -30
- package/dist/chunk-XSMDZOBF.js +154 -0
- package/dist/chunk-XTMGF5YP.js +27 -21
- package/dist/chunk-XUOGT4HG.js +22 -17
- package/dist/chunk-XY4A73TK.js +23 -18
- package/dist/{chunk-RPWBZLHL.js → chunk-XZMU7B54.js} +61 -48
- package/dist/{chunk-WOFQV2N7.mjs → chunk-Y3BQSELH.mjs} +34 -10
- package/dist/chunk-Y4V7BOVR.mjs +18 -4
- package/dist/chunk-YEHKQ3JZ.mjs +13 -4
- package/dist/{chunk-I34OWAAY.mjs → chunk-YSUT2GRP.mjs} +21 -5
- package/dist/chunk-YZP4K6KI.mjs +25 -4
- package/dist/chunk-Z2ZECCGD.mjs +7 -4
- package/dist/chunk-Z4SG7REU.mjs +17 -4
- package/dist/chunk-Z7ETXBOL.mjs +26 -4
- package/dist/chunk-ZED7TU62.js +22 -16
- package/dist/chunk-ZIOGRGN5.mjs +18 -4
- package/dist/chunk-ZMGNQKXL.js +233 -0
- package/dist/chunk-ZMNX4SCS.mjs +12 -4
- package/dist/chunk-ZNVQ2OFX.js +13 -11
- package/dist/chunk-ZOUJFFG4.js +16 -17
- package/dist/chunk-ZSCOAOJJ.js +93 -71
- package/dist/chunk-ZSQ5I2KL.mjs +28 -4
- package/dist/chunk-ZUPVK5L7.js +838 -0
- package/dist/chunk-ZWVA7HT3.mjs +14 -4
- package/dist/components/ActivityFeed.js +4 -12
- package/dist/components/ActivityFeed.mjs +16 -9
- package/dist/components/Affix.js +3 -11
- package/dist/components/Affix.mjs +8 -1
- package/dist/components/Alert.js +3 -11
- package/dist/components/Alert.mjs +9 -2
- package/dist/components/Anchor.d.mts +5 -5
- package/dist/components/Anchor.d.ts +5 -5
- package/dist/components/Anchor.js +12 -24
- package/dist/components/Anchor.mjs +12 -1
- package/dist/components/AnchorLink.js +6 -10
- package/dist/components/AnchorLink.mjs +7 -4
- package/dist/components/AreaChart.d.mts +4 -4
- package/dist/components/AreaChart.d.ts +4 -4
- package/dist/components/AreaChart.js +4 -12
- package/dist/components/AreaChart.mjs +15 -8
- package/dist/components/AutoComplete.js +3 -11
- package/dist/components/AutoComplete.mjs +8 -1
- package/dist/components/Avatar.js +3 -11
- package/dist/components/Avatar.mjs +8 -1
- package/dist/components/AvatarGroup.js +5 -15
- package/dist/components/AvatarGroup.mjs +10 -1
- package/dist/components/BackTop.js +3 -11
- package/dist/components/BackTop.mjs +8 -1
- package/dist/components/Badge.js +3 -11
- package/dist/components/Badge.mjs +8 -1
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.d.ts +2 -2
- package/dist/components/BarChart.js +4 -12
- package/dist/components/BarChart.mjs +15 -8
- package/dist/components/Breadcrumb.js +12 -24
- package/dist/components/Breadcrumb.mjs +12 -1
- package/dist/components/BreadcrumbItem.js +6 -10
- package/dist/components/BreadcrumbItem.mjs +7 -4
- package/dist/components/Button.js +3 -11
- package/dist/components/Button.mjs +8 -1
- package/dist/components/ButtonGroup.js +5 -15
- package/dist/components/ButtonGroup.mjs +10 -1
- package/dist/components/Calendar.js +3 -11
- package/dist/components/Calendar.mjs +8 -1
- package/dist/components/Card.d.mts +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/Card.js +3 -11
- package/dist/components/Card.mjs +8 -1
- package/dist/components/Carousel.js +3 -11
- package/dist/components/Carousel.mjs +8 -1
- package/dist/components/Cascader.js +3 -11
- package/dist/components/Cascader.mjs +8 -1
- package/dist/components/ChartAxis.js +3 -11
- package/dist/components/ChartAxis.mjs +8 -1
- package/dist/components/ChartCanvas.d.mts +1 -1
- package/dist/components/ChartCanvas.d.ts +1 -1
- package/dist/components/ChartCanvas.js +3 -11
- package/dist/components/ChartCanvas.mjs +8 -1
- package/dist/components/ChartGrid.js +3 -11
- package/dist/components/ChartGrid.mjs +8 -1
- package/dist/components/ChartLegend.js +3 -11
- package/dist/components/ChartLegend.mjs +8 -1
- package/dist/components/ChartSeries.js +3 -11
- package/dist/components/ChartSeries.mjs +8 -1
- package/dist/components/ChartTooltip.js +3 -11
- package/dist/components/ChartTooltip.mjs +8 -1
- package/dist/components/ChatWindow.js +4 -12
- package/dist/components/ChatWindow.mjs +13 -6
- package/dist/components/Checkbox.js +3 -11
- package/dist/components/Checkbox.mjs +9 -2
- package/dist/components/CheckboxGroup.js +5 -15
- package/dist/components/CheckboxGroup.mjs +10 -1
- package/dist/components/Code.js +3 -11
- package/dist/components/Code.mjs +8 -1
- package/dist/components/CodeEditor.js +3 -11
- package/dist/components/CodeEditor.mjs +8 -1
- package/dist/components/Col.js +3 -7
- package/dist/components/Col.mjs +7 -2
- package/dist/components/Collapse.js +5 -15
- package/dist/components/Collapse.mjs +10 -1
- package/dist/components/CollapsePanel.js +4 -12
- package/dist/components/CollapsePanel.mjs +9 -2
- package/dist/components/ColorPicker.js +3 -11
- package/dist/components/ColorPicker.mjs +8 -1
- 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.js +3 -11
- package/dist/components/CommentThread.mjs +13 -6
- package/dist/components/ConfigProvider.d.mts +34 -5
- package/dist/components/ConfigProvider.d.ts +34 -5
- package/dist/components/ConfigProvider.js +14 -24
- package/dist/components/ConfigProvider.mjs +14 -1
- package/dist/components/Container.js +3 -11
- package/dist/components/Container.mjs +8 -1
- package/dist/components/Content.js +3 -11
- package/dist/components/Content.mjs +8 -1
- 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.js +5 -13
- package/dist/components/CropUpload.mjs +12 -5
- package/dist/components/DataTableWithToolbar.js +5 -13
- package/dist/components/DataTableWithToolbar.mjs +12 -5
- package/dist/components/DatePicker.d.mts +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.js +3 -11
- package/dist/components/DatePicker.mjs +9 -2
- package/dist/components/Descriptions.js +3 -11
- package/dist/components/Descriptions.mjs +8 -1
- package/dist/components/Divider.js +3 -11
- package/dist/components/Divider.mjs +8 -1
- package/dist/components/DonutChart.d.mts +3 -3
- package/dist/components/DonutChart.d.ts +3 -3
- package/dist/components/DonutChart.js +5 -13
- package/dist/components/DonutChart.mjs +14 -7
- package/dist/components/Drawer.d.mts +1 -1
- package/dist/components/Drawer.d.ts +1 -1
- package/dist/components/Drawer.js +3 -11
- package/dist/components/Drawer.mjs +9 -2
- package/dist/components/Dropdown.js +7 -19
- package/dist/components/Dropdown.mjs +13 -2
- package/dist/components/DropdownItem.js +4 -12
- package/dist/components/DropdownItem.mjs +10 -3
- package/dist/components/DropdownMenu.js +6 -10
- package/dist/components/DropdownMenu.mjs +8 -5
- package/dist/components/Empty.js +3 -11
- package/dist/components/Empty.mjs +8 -1
- package/dist/components/FileManager.js +3 -11
- package/dist/components/FileManager.mjs +8 -1
- package/dist/components/FloatButton.d.mts +1 -1
- package/dist/components/FloatButton.d.ts +1 -1
- package/dist/components/FloatButton.js +5 -15
- package/dist/components/FloatButton.mjs +10 -1
- package/dist/components/Footer.js +3 -11
- package/dist/components/Footer.mjs +8 -1
- package/dist/components/Form.d.mts +23 -1
- package/dist/components/Form.d.ts +23 -1
- package/dist/components/Form.js +5 -15
- package/dist/components/Form.mjs +10 -1
- package/dist/components/FormItem.d.mts +12 -2
- package/dist/components/FormItem.d.ts +12 -2
- package/dist/components/FormItem.js +4 -12
- package/dist/components/FormItem.mjs +9 -2
- package/dist/components/FormWizard.d.mts +2 -2
- package/dist/components/FormWizard.d.ts +2 -2
- package/dist/components/FormWizard.js +4 -12
- package/dist/components/FormWizard.mjs +11 -4
- package/dist/components/FunnelChart.d.mts +3 -3
- package/dist/components/FunnelChart.d.ts +3 -3
- package/dist/components/FunnelChart.js +4 -12
- package/dist/components/FunnelChart.mjs +13 -6
- 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 +2 -2
- package/dist/components/GaugeChart.d.ts +2 -2
- package/dist/components/GaugeChart.js +3 -11
- package/dist/components/GaugeChart.mjs +9 -2
- package/dist/components/Header.js +3 -11
- package/dist/components/Header.mjs +8 -1
- package/dist/components/HeatmapChart.d.mts +1 -1
- package/dist/components/HeatmapChart.d.ts +1 -1
- package/dist/components/HeatmapChart.js +4 -12
- package/dist/components/HeatmapChart.mjs +11 -4
- package/dist/components/Icon.js +3 -11
- package/dist/components/Icon.mjs +8 -1
- package/dist/components/Image.d.mts +1 -2
- package/dist/components/Image.d.ts +1 -2
- package/dist/components/Image.js +6 -16
- package/dist/components/Image.mjs +11 -2
- 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 +1 -1
- package/dist/components/ImageCropper.d.ts +1 -1
- package/dist/components/ImageCropper.js +3 -11
- package/dist/components/ImageCropper.mjs +8 -1
- package/dist/components/ImageGroup.js +6 -16
- package/dist/components/ImageGroup.mjs +11 -2
- package/dist/components/ImagePreview.d.mts +2 -2
- package/dist/components/ImagePreview.d.ts +2 -2
- package/dist/components/ImagePreview.js +3 -11
- package/dist/components/ImagePreview.mjs +8 -1
- package/dist/components/ImageViewer.js +3 -11
- package/dist/components/ImageViewer.mjs +8 -1
- package/dist/components/InfiniteScroll.d.mts +1 -1
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/InfiniteScroll.js +3 -11
- package/dist/components/InfiniteScroll.mjs +8 -1
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +3 -11
- package/dist/components/Input.mjs +8 -1
- package/dist/components/InputGroup.js +12 -24
- package/dist/components/InputGroup.mjs +12 -1
- package/dist/components/InputNumber.d.mts +2 -2
- package/dist/components/InputNumber.d.ts +2 -2
- package/dist/components/InputNumber.js +3 -11
- package/dist/components/InputNumber.mjs +8 -1
- package/dist/components/Kanban.js +5 -13
- package/dist/components/Kanban.mjs +10 -3
- package/dist/components/Layout.js +3 -11
- package/dist/components/Layout.mjs +8 -1
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.d.ts +2 -2
- package/dist/components/LineChart.js +4 -12
- package/dist/components/LineChart.mjs +15 -8
- package/dist/components/Link.js +3 -11
- package/dist/components/Link.mjs +8 -1
- package/dist/components/List.js +4 -12
- package/dist/components/List.mjs +9 -2
- package/dist/components/Loading.d.mts +1 -1
- package/dist/components/Loading.d.ts +1 -1
- package/dist/components/Loading.js +3 -11
- 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.js +3 -11
- package/dist/components/Mentions.mjs +8 -1
- package/dist/components/Menu.d.mts +70 -2
- package/dist/components/Menu.d.ts +70 -2
- package/dist/components/Menu.js +16 -32
- package/dist/components/Menu.mjs +16 -1
- package/dist/components/MenuItem.js +6 -10
- package/dist/components/MenuItem.mjs +7 -4
- package/dist/components/MenuItemGroup.js +6 -10
- package/dist/components/MenuItemGroup.mjs +7 -4
- package/dist/components/Message.d.mts +3 -1
- package/dist/components/Message.d.ts +3 -1
- package/dist/components/Message.js +5 -15
- package/dist/components/Message.mjs +11 -2
- package/dist/components/Modal.d.mts +19 -1
- package/dist/components/Modal.d.ts +19 -1
- package/dist/components/Modal.js +3 -11
- package/dist/components/Modal.mjs +10 -3
- package/dist/components/Notification.d.mts +3 -1
- package/dist/components/Notification.d.ts +3 -1
- package/dist/components/Notification.js +5 -15
- package/dist/components/Notification.mjs +11 -2
- package/dist/components/NotificationCenter.js +6 -14
- 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.js +3 -11
- package/dist/components/Pagination.mjs +8 -1
- package/dist/components/PieChart.d.mts +3 -3
- package/dist/components/PieChart.d.ts +3 -3
- package/dist/components/PieChart.js +4 -12
- package/dist/components/PieChart.mjs +13 -6
- package/dist/components/Popconfirm.d.mts +2 -2
- package/dist/components/Popconfirm.d.ts +2 -2
- package/dist/components/Popconfirm.js +3 -11
- package/dist/components/Popconfirm.mjs +10 -3
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Popover.js +3 -11
- package/dist/components/Popover.mjs +10 -3
- package/dist/components/PrintLayout.js +5 -15
- package/dist/components/PrintLayout.mjs +10 -1
- package/dist/components/Progress.d.mts +2 -2
- package/dist/components/Progress.d.ts +2 -2
- package/dist/components/Progress.js +3 -11
- package/dist/components/Progress.mjs +8 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +3 -11
- package/dist/components/QRCode.mjs +8 -1
- package/dist/components/RadarChart.d.mts +5 -5
- package/dist/components/RadarChart.d.ts +5 -5
- package/dist/components/RadarChart.js +4 -12
- package/dist/components/RadarChart.mjs +13 -6
- package/dist/components/Radio.js +3 -11
- package/dist/components/Radio.mjs +9 -2
- package/dist/components/RadioGroup.js +5 -15
- package/dist/components/RadioGroup.mjs +10 -1
- package/dist/components/Rate.js +3 -11
- package/dist/components/Rate.mjs +8 -1
- package/dist/components/Resizable.js +3 -11
- package/dist/components/Resizable.mjs +8 -1
- package/dist/components/Result.js +3 -11
- package/dist/components/Result.mjs +9 -2
- package/dist/components/RichTextEditor.d.mts +1 -1
- package/dist/components/RichTextEditor.d.ts +1 -1
- package/dist/components/RichTextEditor.js +3 -11
- package/dist/components/RichTextEditor.mjs +8 -1
- package/dist/components/Row.js +4 -10
- package/dist/components/Row.mjs +8 -1
- package/dist/components/ScatterChart.d.mts +2 -2
- package/dist/components/ScatterChart.d.ts +2 -2
- package/dist/components/ScatterChart.js +4 -12
- package/dist/components/ScatterChart.mjs +15 -8
- 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.js +3 -11
- package/dist/components/Segmented.mjs +8 -1
- package/dist/components/Select.d.mts +58 -1
- package/dist/components/Select.d.ts +58 -1
- package/dist/components/Select.js +3 -11
- package/dist/components/Select.mjs +8 -1
- package/dist/components/Sidebar.js +3 -11
- package/dist/components/Sidebar.mjs +8 -1
- 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 +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton.js +3 -11
- package/dist/components/Skeleton.mjs +8 -1
- package/dist/components/Slider.js +3 -11
- package/dist/components/Slider.mjs +8 -1
- package/dist/components/Space.d.mts +1 -1
- package/dist/components/Space.d.ts +1 -1
- package/dist/components/Space.js +3 -11
- package/dist/components/Space.mjs +8 -1
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Splitter.d.ts +1 -1
- package/dist/components/Splitter.js +3 -11
- package/dist/components/Splitter.mjs +8 -1
- 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 +1 -1
- package/dist/components/Statistic.d.ts +1 -1
- package/dist/components/Statistic.js +3 -11
- package/dist/components/Statistic.mjs +8 -1
- package/dist/components/Stepper.js +3 -11
- package/dist/components/Stepper.mjs +8 -1
- package/dist/components/Steps.d.mts +1 -1
- package/dist/components/Steps.d.ts +1 -1
- package/dist/components/Steps.js +12 -24
- package/dist/components/Steps.mjs +12 -1
- package/dist/components/StepsItem.js +6 -10
- package/dist/components/StepsItem.mjs +7 -4
- package/dist/components/SubMenu.js +6 -10
- package/dist/components/SubMenu.mjs +7 -4
- package/dist/components/SunburstChart.d.mts +3 -3
- package/dist/components/SunburstChart.d.ts +3 -3
- package/dist/components/SunburstChart.js +4 -12
- package/dist/components/SunburstChart.mjs +13 -6
- package/dist/components/Switch.js +3 -11
- package/dist/components/Switch.mjs +8 -1
- package/dist/components/TabPane.js +6 -10
- package/dist/components/TabPane.mjs +7 -4
- package/dist/components/Table.d.mts +52 -1
- package/dist/components/Table.d.ts +52 -1
- package/dist/components/Table.js +3 -11
- package/dist/components/Table.mjs +8 -1
- package/dist/components/Tabs.d.mts +19 -0
- package/dist/components/Tabs.d.ts +19 -0
- package/dist/components/Tabs.js +12 -24
- package/dist/components/Tabs.mjs +12 -1
- package/dist/components/Tag.js +3 -11
- package/dist/components/Tag.mjs +8 -1
- package/dist/components/TaskBoard.js +4 -12
- package/dist/components/TaskBoard.mjs +9 -2
- package/dist/components/Text.js +3 -11
- package/dist/components/Text.mjs +8 -1
- package/dist/components/Textarea.d.mts +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/Textarea.js +3 -11
- package/dist/components/Textarea.mjs +8 -1
- package/dist/components/TimePicker.d.mts +1 -1
- package/dist/components/TimePicker.d.ts +1 -1
- package/dist/components/TimePicker.js +3 -11
- package/dist/components/TimePicker.mjs +9 -2
- package/dist/components/Timeline.js +3 -11
- package/dist/components/Timeline.mjs +8 -1
- package/dist/components/Tooltip.js +3 -11
- package/dist/components/Tooltip.mjs +10 -3
- package/dist/components/Tour.d.mts +12 -2
- package/dist/components/Tour.d.ts +12 -2
- package/dist/components/Tour.js +3 -11
- package/dist/components/Tour.mjs +9 -2
- package/dist/components/Transfer.js +3 -11
- package/dist/components/Transfer.mjs +8 -1
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- package/dist/components/Tree.js +4 -12
- package/dist/components/Tree.mjs +9 -2
- package/dist/components/TreeMapChart.d.mts +3 -3
- package/dist/components/TreeMapChart.d.ts +3 -3
- package/dist/components/TreeMapChart.js +4 -12
- package/dist/components/TreeMapChart.mjs +13 -6
- package/dist/components/TreeSelect.js +3 -11
- package/dist/components/TreeSelect.mjs +8 -1
- package/dist/components/Upload.d.mts +45 -1
- package/dist/components/Upload.d.ts +45 -1
- package/dist/components/Upload.js +4 -12
- package/dist/components/Upload.mjs +9 -2
- package/dist/components/VirtualList.js +3 -11
- package/dist/components/VirtualList.mjs +8 -1
- package/dist/components/VirtualTable.js +3 -11
- package/dist/components/VirtualTable.mjs +8 -1
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +1 -1
- package/dist/components/Watermark.js +3 -11
- package/dist/components/Watermark.mjs +8 -1
- package/dist/index.d.mts +16 -5
- package/dist/index.d.ts +16 -5
- package/dist/index.js +661 -748
- package/dist/index.mjs +638 -156
- package/package.json +4 -4
- package/dist/chunk-6VG6ARQG.js +0 -206
- package/dist/chunk-BZBQUUXF.js +0 -94
- package/dist/chunk-CRGGJKV2.js +0 -286
- package/dist/chunk-EZZG57TK.js +0 -44
- package/dist/chunk-HU2XBA2A.js +0 -673
- package/dist/chunk-JTTSX3NM.js +0 -388
- package/dist/chunk-KOI6AQ5H.js +0 -60
- package/dist/chunk-MRMKZTC6.js +0 -313
- package/dist/chunk-P4XGEFV3.js +0 -259
- package/dist/chunk-RHCW2WXG.js +0 -194
|
@@ -1,10 +1,39 @@
|
|
|
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 _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
// src/components/TaskBoard.ts
|
|
6
|
+
var _vue = require('vue');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
var _tigercatcore = require('@expcat/tigercat-core');
|
|
36
|
+
var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
8
37
|
name: "TigerTaskBoard",
|
|
9
38
|
inheritAttrs: false,
|
|
10
39
|
props: {
|
|
@@ -63,17 +92,17 @@ var TaskBoard = vue.defineComponent({
|
|
|
63
92
|
},
|
|
64
93
|
emits: ["card-move", "column-move", "card-add", "column-add", "update:columns"],
|
|
65
94
|
setup(props, { slots, attrs, emit }) {
|
|
66
|
-
const config =
|
|
67
|
-
const mergedLocale =
|
|
68
|
-
const labels =
|
|
69
|
-
const innerColumns =
|
|
70
|
-
|
|
95
|
+
const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
|
|
96
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
97
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getTaskBoardLabels.call(void 0, mergedLocale.value));
|
|
98
|
+
const innerColumns = _vue.ref.call(void 0, _nullishCoalesce(_nullishCoalesce(props.columns, () => ( props.defaultColumns)), () => ( [])));
|
|
99
|
+
_vue.watch.call(void 0,
|
|
71
100
|
() => props.columns,
|
|
72
101
|
(value) => {
|
|
73
102
|
if (value !== void 0) innerColumns.value = value;
|
|
74
103
|
}
|
|
75
104
|
);
|
|
76
|
-
|
|
105
|
+
_vue.watch.call(void 0,
|
|
77
106
|
() => props.defaultColumns,
|
|
78
107
|
(value) => {
|
|
79
108
|
if (props.columns === void 0 && value !== void 0) {
|
|
@@ -81,22 +110,22 @@ var TaskBoard = vue.defineComponent({
|
|
|
81
110
|
}
|
|
82
111
|
}
|
|
83
112
|
);
|
|
84
|
-
const currentColumns =
|
|
85
|
-
const visibleColumns =
|
|
113
|
+
const currentColumns = _vue.computed.call(void 0, () => _nullishCoalesce(props.columns, () => ( innerColumns.value)));
|
|
114
|
+
const visibleColumns = _vue.computed.call(void 0, () => {
|
|
86
115
|
const cols = currentColumns.value;
|
|
87
116
|
if (!props.filterText && (!props.hiddenColumns || props.hiddenColumns.length === 0)) {
|
|
88
117
|
return cols;
|
|
89
118
|
}
|
|
90
|
-
return
|
|
119
|
+
return _tigercatcore.filterColumns.call(void 0, cols, props.filterText || "", props.hiddenColumns);
|
|
91
120
|
});
|
|
92
121
|
const updateColumns = (next) => {
|
|
93
122
|
innerColumns.value = next;
|
|
94
123
|
emit("update:columns", next);
|
|
95
124
|
};
|
|
96
|
-
const dragSnap =
|
|
97
|
-
const boardRef =
|
|
125
|
+
const dragSnap = _vue.ref.call(void 0, _tigercatcore.createDefaultDragSnapshot.call(void 0, ));
|
|
126
|
+
const boardRef = _vue.ref.call(void 0, null);
|
|
98
127
|
const applyCardMove = async (cardId, fromColumnId, toColumnId, toIdx) => {
|
|
99
|
-
const result =
|
|
128
|
+
const result = _tigercatcore.moveCard.call(void 0, currentColumns.value, cardId, fromColumnId, toColumnId, toIdx, {
|
|
100
129
|
enforceWipLimit: props.enforceWipLimit
|
|
101
130
|
});
|
|
102
131
|
if (!result) return;
|
|
@@ -108,7 +137,7 @@ var TaskBoard = vue.defineComponent({
|
|
|
108
137
|
emit("card-move", result.event);
|
|
109
138
|
};
|
|
110
139
|
const applyColumnMove = async (fromIdx, toIdx) => {
|
|
111
|
-
const result =
|
|
140
|
+
const result = _tigercatcore.reorderColumns.call(void 0,
|
|
112
141
|
currentColumns.value,
|
|
113
142
|
fromIdx,
|
|
114
143
|
Math.min(toIdx, currentColumns.value.length - 1)
|
|
@@ -121,7 +150,7 @@ var TaskBoard = vue.defineComponent({
|
|
|
121
150
|
updateColumns(result.columns);
|
|
122
151
|
emit("column-move", result.event);
|
|
123
152
|
};
|
|
124
|
-
const dragCtrl =
|
|
153
|
+
const dragCtrl = _tigercatcore.createTaskBoardDragController.call(void 0,
|
|
125
154
|
{
|
|
126
155
|
onStateChange: (s) => {
|
|
127
156
|
dragSnap.value = s;
|
|
@@ -133,32 +162,32 @@ var TaskBoard = vue.defineComponent({
|
|
|
133
162
|
},
|
|
134
163
|
{ draggable: props.draggable, columnDraggable: props.columnDraggable }
|
|
135
164
|
);
|
|
136
|
-
|
|
165
|
+
_vue.watch.call(void 0,
|
|
137
166
|
() => [props.draggable, props.columnDraggable],
|
|
138
167
|
() => dragCtrl.setOptions({ draggable: props.draggable, columnDraggable: props.columnDraggable })
|
|
139
168
|
);
|
|
140
|
-
|
|
169
|
+
_vue.onMounted.call(void 0, () => {
|
|
141
170
|
dragCtrl.init();
|
|
142
171
|
});
|
|
143
|
-
|
|
172
|
+
_vue.onBeforeUnmount.call(void 0, () => {
|
|
144
173
|
dragCtrl.dispose();
|
|
145
174
|
});
|
|
146
|
-
const wrapperClasses =
|
|
147
|
-
() =>
|
|
148
|
-
|
|
175
|
+
const wrapperClasses = _vue.computed.call(void 0,
|
|
176
|
+
() => _tigercatcore.classNames.call(void 0,
|
|
177
|
+
_tigercatcore.taskBoardBaseClasses,
|
|
149
178
|
props.className,
|
|
150
|
-
|
|
179
|
+
_tigercatcore.coerceClassValue.call(void 0, attrs.class)
|
|
151
180
|
)
|
|
152
181
|
);
|
|
153
|
-
const wrapperStyle =
|
|
154
|
-
() =>
|
|
182
|
+
const wrapperStyle = _vue.computed.call(void 0,
|
|
183
|
+
() => _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style)
|
|
155
184
|
);
|
|
156
185
|
const renderCard = (card, column) => {
|
|
157
|
-
const isDragging = dragSnap.value.drag
|
|
158
|
-
const isKbGrabbed = dragSnap.value.kbDrag
|
|
159
|
-
const cardClasses =
|
|
160
|
-
|
|
161
|
-
isDragging &&
|
|
186
|
+
const isDragging = _optionalChain([dragSnap, 'access', _ => _.value, 'access', _2 => _2.drag, 'optionalAccess', _3 => _3.type]) === "card" && dragSnap.value.drag.id === card.id;
|
|
187
|
+
const isKbGrabbed = _optionalChain([dragSnap, 'access', _4 => _4.value, 'access', _5 => _5.kbDrag, 'optionalAccess', _6 => _6.id]) === card.id;
|
|
188
|
+
const cardClasses = _tigercatcore.classNames.call(void 0,
|
|
189
|
+
_tigercatcore.taskBoardCardClasses,
|
|
190
|
+
isDragging && _tigercatcore.taskBoardCardDraggingClasses,
|
|
162
191
|
isKbGrabbed && "ring-2 ring-[var(--tiger-primary,#2563eb)]"
|
|
163
192
|
);
|
|
164
193
|
const cardAttrs = {
|
|
@@ -183,11 +212,11 @@ var TaskBoard = vue.defineComponent({
|
|
|
183
212
|
}
|
|
184
213
|
};
|
|
185
214
|
if (slots.card) {
|
|
186
|
-
return
|
|
215
|
+
return _vue.h.call(void 0, "div", cardAttrs, slots.card({ card, column, isDragging }));
|
|
187
216
|
}
|
|
188
|
-
return
|
|
189
|
-
|
|
190
|
-
card.description ?
|
|
217
|
+
return _vue.h.call(void 0, "div", cardAttrs, [
|
|
218
|
+
_vue.h.call(void 0, "div", { class: "font-medium text-sm text-[var(--tiger-text,#1f2937)]" }, card.title),
|
|
219
|
+
card.description ? _vue.h.call(void 0,
|
|
191
220
|
"div",
|
|
192
221
|
{ class: "mt-1 text-xs text-[var(--tiger-text-muted,#6b7280)] line-clamp-2" },
|
|
193
222
|
card.description
|
|
@@ -195,46 +224,46 @@ var TaskBoard = vue.defineComponent({
|
|
|
195
224
|
]);
|
|
196
225
|
};
|
|
197
226
|
const renderColumnNode = (column, colIndex) => {
|
|
198
|
-
const isDropTarget = dragSnap.value.drag
|
|
199
|
-
const isColDragging = dragSnap.value.drag
|
|
200
|
-
const wipOver =
|
|
201
|
-
const cardCount = props.showCardCount ?
|
|
202
|
-
const colClasses =
|
|
203
|
-
|
|
204
|
-
isDropTarget &&
|
|
205
|
-
isColDragging &&
|
|
227
|
+
const isDropTarget = _optionalChain([dragSnap, 'access', _7 => _7.value, 'access', _8 => _8.drag, 'optionalAccess', _9 => _9.type]) === "card" && dragSnap.value.dropTargetColumnId === column.id;
|
|
228
|
+
const isColDragging = _optionalChain([dragSnap, 'access', _10 => _10.value, 'access', _11 => _11.drag, 'optionalAccess', _12 => _12.type]) === "column" && dragSnap.value.drag.id === column.id;
|
|
229
|
+
const wipOver = _tigercatcore.isWipExceeded.call(void 0, column);
|
|
230
|
+
const cardCount = props.showCardCount ? _tigercatcore.getColumnCardCount.call(void 0, column) : null;
|
|
231
|
+
const colClasses = _tigercatcore.classNames.call(void 0,
|
|
232
|
+
_tigercatcore.taskBoardColumnClasses,
|
|
233
|
+
isDropTarget && _tigercatcore.taskBoardColumnDropTargetClasses,
|
|
234
|
+
isColDragging && _tigercatcore.taskBoardColumnDraggingClasses
|
|
206
235
|
);
|
|
207
236
|
const headerContent = slots["column-header"] ? slots["column-header"]({ column }) : [
|
|
208
|
-
|
|
237
|
+
_vue.h.call(void 0, "span", { class: wipOver ? _tigercatcore.taskBoardWipExceededClasses : void 0 }, [
|
|
209
238
|
column.title,
|
|
210
239
|
// When showCardCount is enabled, use the compact badge style
|
|
211
|
-
props.showCardCount && cardCount ? null : column.wipLimit != null ?
|
|
240
|
+
props.showCardCount && cardCount ? null : column.wipLimit != null ? _vue.h.call(void 0,
|
|
212
241
|
"span",
|
|
213
242
|
{
|
|
214
243
|
class: "ml-2 text-xs font-normal opacity-70",
|
|
215
|
-
title:
|
|
244
|
+
title: _tigercatcore.resolveLocaleText.call(void 0,
|
|
216
245
|
labels.value.wipLimitText.replace("{limit}", String(column.wipLimit))
|
|
217
246
|
)
|
|
218
247
|
},
|
|
219
248
|
`(${column.cards.length}/${column.wipLimit})`
|
|
220
|
-
) :
|
|
249
|
+
) : _vue.h.call(void 0,
|
|
221
250
|
"span",
|
|
222
251
|
{ class: "ml-2 text-xs font-normal opacity-50" },
|
|
223
252
|
String(column.cards.length)
|
|
224
253
|
)
|
|
225
254
|
]),
|
|
226
255
|
// Card count badge (Kanban-style)
|
|
227
|
-
props.showCardCount && cardCount ?
|
|
256
|
+
props.showCardCount && cardCount ? _vue.h.call(void 0,
|
|
228
257
|
"span",
|
|
229
258
|
{
|
|
230
|
-
class:
|
|
231
|
-
|
|
232
|
-
wipOver &&
|
|
259
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
260
|
+
_tigercatcore.kanbanCardCountClasses,
|
|
261
|
+
wipOver && _tigercatcore.taskBoardWipExceededClasses
|
|
233
262
|
)
|
|
234
263
|
},
|
|
235
264
|
cardCount.limit ? `${cardCount.count}/${cardCount.limit}` : `${cardCount.count}`
|
|
236
265
|
) : null,
|
|
237
|
-
column.description ?
|
|
266
|
+
column.description ? _vue.h.call(void 0,
|
|
238
267
|
"span",
|
|
239
268
|
{
|
|
240
269
|
class: "text-xs font-normal text-[var(--tiger-text-muted,#6b7280)] truncate max-w-[120px]"
|
|
@@ -242,10 +271,10 @@ var TaskBoard = vue.defineComponent({
|
|
|
242
271
|
column.description
|
|
243
272
|
) : null
|
|
244
273
|
];
|
|
245
|
-
const header =
|
|
274
|
+
const header = _vue.h.call(void 0,
|
|
246
275
|
"div",
|
|
247
276
|
{
|
|
248
|
-
class:
|
|
277
|
+
class: _tigercatcore.taskBoardColumnHeaderClasses,
|
|
249
278
|
draggable: props.columnDraggable,
|
|
250
279
|
onDragstart: (e) => {
|
|
251
280
|
if (e.dataTransfer) dragCtrl.columnDragStart(e.dataTransfer, column, colIndex);
|
|
@@ -261,23 +290,23 @@ var TaskBoard = vue.defineComponent({
|
|
|
261
290
|
const cards = column.cards.length > 0 ? column.cards.flatMap((card, i) => {
|
|
262
291
|
const nodes = [];
|
|
263
292
|
if (isDropTarget && dragSnap.value.dropIndex === i) {
|
|
264
|
-
nodes.push(
|
|
293
|
+
nodes.push(_vue.h.call(void 0, "div", { key: `drop-${i}`, class: _tigercatcore.taskBoardDropIndicatorClasses }));
|
|
265
294
|
}
|
|
266
295
|
nodes.push(renderCard(card, column));
|
|
267
296
|
return nodes;
|
|
268
297
|
}).concat(
|
|
269
|
-
isDropTarget && dragSnap.value.dropIndex >= column.cards.length ? [
|
|
298
|
+
isDropTarget && dragSnap.value.dropIndex >= column.cards.length ? [_vue.h.call(void 0, "div", { key: "drop-end", class: _tigercatcore.taskBoardDropIndicatorClasses })] : []
|
|
270
299
|
) : [
|
|
271
|
-
isDropTarget ?
|
|
300
|
+
isDropTarget ? _vue.h.call(void 0, "div", { key: "drop-empty", class: _tigercatcore.taskBoardDropIndicatorClasses }) : slots["empty-column"] ? slots["empty-column"]({ column }) : _vue.h.call(void 0,
|
|
272
301
|
"div",
|
|
273
|
-
{ class:
|
|
274
|
-
|
|
302
|
+
{ class: _tigercatcore.taskBoardEmptyClasses },
|
|
303
|
+
_tigercatcore.resolveLocaleText.call(void 0, labels.value.emptyColumnText)
|
|
275
304
|
)
|
|
276
305
|
];
|
|
277
|
-
const body =
|
|
306
|
+
const body = _vue.h.call(void 0,
|
|
278
307
|
"div",
|
|
279
308
|
{
|
|
280
|
-
class:
|
|
309
|
+
class: _tigercatcore.taskBoardColumnBodyClasses,
|
|
281
310
|
role: "list",
|
|
282
311
|
"aria-label": column.title,
|
|
283
312
|
onDragover: (e) => {
|
|
@@ -293,12 +322,12 @@ var TaskBoard = vue.defineComponent({
|
|
|
293
322
|
cards
|
|
294
323
|
);
|
|
295
324
|
const showAddCard = props.allowAddCard || props.onCardAdd;
|
|
296
|
-
const footer = slots["column-footer"] ? slots["column-footer"]({ column }) : showAddCard ?
|
|
325
|
+
const footer = slots["column-footer"] ? slots["column-footer"]({ column }) : showAddCard ? _vue.h.call(void 0,
|
|
297
326
|
"div",
|
|
298
327
|
{
|
|
299
|
-
class:
|
|
328
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
300
329
|
"border-t border-[var(--tiger-border,#e5e7eb)]",
|
|
301
|
-
|
|
330
|
+
_tigercatcore.taskBoardAddCardClasses
|
|
302
331
|
),
|
|
303
332
|
role: "button",
|
|
304
333
|
tabindex: 0,
|
|
@@ -312,20 +341,20 @@ var TaskBoard = vue.defineComponent({
|
|
|
312
341
|
}
|
|
313
342
|
}
|
|
314
343
|
},
|
|
315
|
-
[
|
|
344
|
+
[_vue.h.call(void 0, "span", null, "+"), _vue.h.call(void 0, "span", null, _tigercatcore.resolveLocaleText.call(void 0, labels.value.addCardText))]
|
|
316
345
|
) : null;
|
|
317
|
-
return
|
|
346
|
+
return _vue.h.call(void 0,
|
|
318
347
|
"div",
|
|
319
348
|
{
|
|
320
349
|
key: String(column.id),
|
|
321
350
|
class: colClasses,
|
|
322
351
|
"data-tiger-taskboard-column": "",
|
|
323
352
|
"data-tiger-taskboard-column-id": String(column.id),
|
|
324
|
-
onDragover: dragSnap.value.drag
|
|
353
|
+
onDragover: _optionalChain([dragSnap, 'access', _13 => _13.value, 'access', _14 => _14.drag, 'optionalAccess', _15 => _15.type]) === "column" ? (e) => {
|
|
325
354
|
e.preventDefault();
|
|
326
355
|
dragCtrl.columnDragOver();
|
|
327
356
|
} : void 0,
|
|
328
|
-
onDrop: dragSnap.value.drag
|
|
357
|
+
onDrop: _optionalChain([dragSnap, 'access', _16 => _16.value, 'access', _17 => _17.drag, 'optionalAccess', _18 => _18.type]) === "column" ? (e) => {
|
|
329
358
|
e.preventDefault();
|
|
330
359
|
if (e.dataTransfer) dragCtrl.columnDrop(e.dataTransfer, e.clientX);
|
|
331
360
|
} : void 0
|
|
@@ -337,11 +366,11 @@ var TaskBoard = vue.defineComponent({
|
|
|
337
366
|
const children = visibleColumns.value.map((col, i) => renderColumnNode(col, i));
|
|
338
367
|
if (props.allowAddColumn) {
|
|
339
368
|
children.push(
|
|
340
|
-
|
|
369
|
+
_vue.h.call(void 0,
|
|
341
370
|
"div",
|
|
342
371
|
{
|
|
343
372
|
key: "__add-column",
|
|
344
|
-
class:
|
|
373
|
+
class: _tigercatcore.kanbanAddColumnClasses,
|
|
345
374
|
role: "button",
|
|
346
375
|
tabindex: 0,
|
|
347
376
|
onClick: () => emit("column-add"),
|
|
@@ -352,11 +381,11 @@ var TaskBoard = vue.defineComponent({
|
|
|
352
381
|
}
|
|
353
382
|
}
|
|
354
383
|
},
|
|
355
|
-
"+ " +
|
|
384
|
+
"+ " + _tigercatcore.resolveLocaleText.call(void 0, labels.value.addCardText)
|
|
356
385
|
)
|
|
357
386
|
);
|
|
358
387
|
}
|
|
359
|
-
return
|
|
388
|
+
return _vue.h.call(void 0,
|
|
360
389
|
"div",
|
|
361
390
|
{
|
|
362
391
|
...attrs,
|
|
@@ -364,7 +393,7 @@ var TaskBoard = vue.defineComponent({
|
|
|
364
393
|
class: wrapperClasses.value,
|
|
365
394
|
style: wrapperStyle.value,
|
|
366
395
|
role: "region",
|
|
367
|
-
"aria-label":
|
|
396
|
+
"aria-label": _tigercatcore.resolveLocaleText.call(void 0, labels.value.boardAriaLabel),
|
|
368
397
|
"data-tiger-task-board": ""
|
|
369
398
|
},
|
|
370
399
|
children
|
|
@@ -374,5 +403,7 @@ var TaskBoard = vue.defineComponent({
|
|
|
374
403
|
});
|
|
375
404
|
var TaskBoard_default = TaskBoard;
|
|
376
405
|
|
|
377
|
-
|
|
378
|
-
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
exports.TaskBoard = TaskBoard; exports.TaskBoard_default = TaskBoard_default;
|
package/dist/chunk-BMT5PGAQ.mjs
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
useFloatingPopup
|
|
3
|
+
} from "./chunk-DBTS5QBX.mjs";
|
|
4
|
+
import {
|
|
5
|
+
renderVueBodyTeleport
|
|
6
|
+
} from "./chunk-7RIWAO2A.mjs";
|
|
5
7
|
|
|
8
|
+
// src/components/Tooltip.ts
|
|
9
|
+
import { defineComponent, computed, h } from "vue";
|
|
10
|
+
import {
|
|
11
|
+
classNames,
|
|
12
|
+
coerceClassValue,
|
|
13
|
+
createFloatingIdFactory,
|
|
14
|
+
getTooltipContainerClasses,
|
|
15
|
+
getTooltipTriggerClasses,
|
|
16
|
+
getTooltipContentClasses
|
|
17
|
+
} from "@expcat/tigercat-core";
|
|
6
18
|
var createTooltipId = createFloatingIdFactory("tooltip");
|
|
7
19
|
var Tooltip = defineComponent({
|
|
8
20
|
name: "TigerTooltip",
|
|
@@ -101,4 +113,7 @@ var Tooltip = defineComponent({
|
|
|
101
113
|
});
|
|
102
114
|
var Tooltip_default = Tooltip;
|
|
103
115
|
|
|
104
|
-
export {
|
|
116
|
+
export {
|
|
117
|
+
Tooltip,
|
|
118
|
+
Tooltip_default
|
|
119
|
+
};
|
package/dist/chunk-BPAN6T7H.mjs
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, h } from 'vue';
|
|
2
|
-
import { starViewBox, starPathD, classNames, rateInactiveColor, rateHoverColor, rateActiveColor, getRateStarClasses, rateBaseClasses, coerceClassValue } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
1
|
// src/components/Rate.ts
|
|
2
|
+
import { defineComponent, h, ref, computed } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
rateBaseClasses,
|
|
5
|
+
getRateStarClasses,
|
|
6
|
+
rateActiveColor,
|
|
7
|
+
rateInactiveColor,
|
|
8
|
+
rateHoverColor,
|
|
9
|
+
starPathD,
|
|
10
|
+
starViewBox,
|
|
11
|
+
classNames,
|
|
12
|
+
coerceClassValue
|
|
13
|
+
} from "@expcat/tigercat-core";
|
|
5
14
|
var Rate = defineComponent({
|
|
6
15
|
name: "TigerRate",
|
|
7
16
|
props: {
|
|
@@ -132,4 +141,7 @@ var Rate = defineComponent({
|
|
|
132
141
|
});
|
|
133
142
|
var Rate_default = Rate;
|
|
134
143
|
|
|
135
|
-
export {
|
|
144
|
+
export {
|
|
145
|
+
Rate,
|
|
146
|
+
Rate_default
|
|
147
|
+
};
|
package/dist/chunk-BYNMOQBB.js
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/components/Input.ts
|
|
2
|
+
var _vue = require('vue');
|
|
2
3
|
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var tigercatCore = require('@expcat/tigercat-core');
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _tigercatcore = require('@expcat/tigercat-core');
|
|
7
17
|
var inputIdCounter = 0;
|
|
8
|
-
var Input =
|
|
18
|
+
var Input = _vue.defineComponent.call(void 0, {
|
|
9
19
|
name: "TigerInput",
|
|
10
20
|
inheritAttrs: false,
|
|
11
21
|
props: {
|
|
@@ -122,47 +132,47 @@ var Input = vue.defineComponent({
|
|
|
122
132
|
clear: null
|
|
123
133
|
},
|
|
124
134
|
setup(props, { emit, attrs, slots }) {
|
|
125
|
-
|
|
126
|
-
const inputRef =
|
|
127
|
-
const wrapperRef =
|
|
128
|
-
const localValue =
|
|
129
|
-
const passwordVisible =
|
|
135
|
+
_tigercatcore.injectShakeStyle.call(void 0, );
|
|
136
|
+
const inputRef = _vue.ref.call(void 0, null);
|
|
137
|
+
const wrapperRef = _vue.ref.call(void 0, null);
|
|
138
|
+
const localValue = _vue.ref.call(void 0, _nullishCoalesce(props.modelValue, () => ( "")));
|
|
139
|
+
const passwordVisible = _vue.ref.call(void 0, false);
|
|
130
140
|
const instanceId = ++inputIdCounter;
|
|
131
141
|
const errorMsgId = `tiger-input-error-${instanceId}`;
|
|
132
|
-
|
|
142
|
+
_vue.watch.call(void 0,
|
|
133
143
|
() => props.modelValue,
|
|
134
144
|
(newValue) => {
|
|
135
|
-
const next = newValue
|
|
145
|
+
const next = _nullishCoalesce(newValue, () => ( ""));
|
|
136
146
|
if (next !== localValue.value) {
|
|
137
147
|
localValue.value = next;
|
|
138
148
|
}
|
|
139
149
|
}
|
|
140
150
|
);
|
|
141
|
-
|
|
151
|
+
_vue.watch.call(void 0, [() => props.status, () => props._shakeTrigger], ([newStatus]) => {
|
|
142
152
|
if (newStatus === "error" && wrapperRef.value) {
|
|
143
153
|
const el = wrapperRef.value;
|
|
144
|
-
el.classList.remove(
|
|
154
|
+
el.classList.remove(_tigercatcore.SHAKE_CLASS);
|
|
145
155
|
void el.offsetWidth;
|
|
146
|
-
el.classList.add(
|
|
156
|
+
el.classList.add(_tigercatcore.SHAKE_CLASS);
|
|
147
157
|
}
|
|
148
158
|
});
|
|
149
159
|
const handleAnimationEnd = () => {
|
|
150
|
-
wrapperRef.value
|
|
160
|
+
_optionalChain([wrapperRef, 'access', _ => _.value, 'optionalAccess', _2 => _2.classList, 'access', _3 => _3.remove, 'call', _4 => _4(_tigercatcore.SHAKE_CLASS)]);
|
|
151
161
|
};
|
|
152
|
-
const hasPrefix =
|
|
153
|
-
const hasSuffix =
|
|
162
|
+
const hasPrefix = _vue.computed.call(void 0, () => !!slots.prefix || !!props.prefix);
|
|
163
|
+
const hasSuffix = _vue.computed.call(void 0,
|
|
154
164
|
() => !!slots.suffix || !!props.suffix || props.clearable || props.showPassword
|
|
155
165
|
);
|
|
156
|
-
const activeError =
|
|
157
|
-
const inputClasses =
|
|
158
|
-
() =>
|
|
166
|
+
const activeError = _vue.computed.call(void 0, () => props.status === "error" && !!props.errorMessage);
|
|
167
|
+
const inputClasses = _vue.computed.call(void 0,
|
|
168
|
+
() => _tigercatcore.getInputClasses.call(void 0, {
|
|
159
169
|
size: props.size,
|
|
160
170
|
status: props.status,
|
|
161
171
|
hasPrefix: hasPrefix.value,
|
|
162
172
|
hasSuffix: hasSuffix.value
|
|
163
173
|
})
|
|
164
174
|
);
|
|
165
|
-
const effectiveType =
|
|
175
|
+
const effectiveType = _vue.computed.call(void 0, () => {
|
|
166
176
|
if (props.showPassword && props.type === "password") {
|
|
167
177
|
return passwordVisible.value ? "text" : "password";
|
|
168
178
|
}
|
|
@@ -170,7 +180,7 @@ var Input = vue.defineComponent({
|
|
|
170
180
|
});
|
|
171
181
|
const handleInput = (event) => {
|
|
172
182
|
const target = event.target;
|
|
173
|
-
const value =
|
|
183
|
+
const value = _tigercatcore.parseInputValue.call(void 0, target, props.type);
|
|
174
184
|
localValue.value = value;
|
|
175
185
|
emit("update:modelValue", value);
|
|
176
186
|
emit("input", event);
|
|
@@ -182,7 +192,7 @@ var Input = vue.defineComponent({
|
|
|
182
192
|
localValue.value = "";
|
|
183
193
|
emit("update:modelValue", "");
|
|
184
194
|
emit("clear");
|
|
185
|
-
inputRef.value
|
|
195
|
+
_optionalChain([inputRef, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.focus, 'call', _7 => _7()]);
|
|
186
196
|
};
|
|
187
197
|
const togglePasswordVisibility = () => {
|
|
188
198
|
passwordVisible.value = !passwordVisible.value;
|
|
@@ -195,16 +205,16 @@ var Input = vue.defineComponent({
|
|
|
195
205
|
const suffixNodes = [];
|
|
196
206
|
if (activeError.value) {
|
|
197
207
|
suffixNodes.push(
|
|
198
|
-
|
|
208
|
+
_vue.h.call(void 0, "div", { id: errorMsgId, class: _tigercatcore.getInputErrorClasses.call(void 0, props.size) }, props.errorMessage)
|
|
199
209
|
);
|
|
200
210
|
} else {
|
|
201
211
|
if (showClear) {
|
|
202
212
|
suffixNodes.push(
|
|
203
|
-
|
|
213
|
+
_vue.h.call(void 0,
|
|
204
214
|
"button",
|
|
205
215
|
{
|
|
206
216
|
type: "button",
|
|
207
|
-
class:
|
|
217
|
+
class: _tigercatcore.getInputClearButtonClasses.call(void 0, props.size),
|
|
208
218
|
onClick: handleClear,
|
|
209
219
|
"aria-label": "Clear input",
|
|
210
220
|
tabindex: -1
|
|
@@ -215,11 +225,11 @@ var Input = vue.defineComponent({
|
|
|
215
225
|
}
|
|
216
226
|
if (showPasswordToggle) {
|
|
217
227
|
suffixNodes.push(
|
|
218
|
-
|
|
228
|
+
_vue.h.call(void 0,
|
|
219
229
|
"button",
|
|
220
230
|
{
|
|
221
231
|
type: "button",
|
|
222
|
-
class:
|
|
232
|
+
class: _tigercatcore.getInputPasswordToggleClasses.call(void 0, props.size),
|
|
223
233
|
onClick: togglePasswordVisibility,
|
|
224
234
|
"aria-label": passwordVisible.value ? "Hide password" : "Show password",
|
|
225
235
|
tabindex: -1
|
|
@@ -230,21 +240,21 @@ var Input = vue.defineComponent({
|
|
|
230
240
|
}
|
|
231
241
|
if (!showClear && !showPasswordToggle && hasSuffix.value) {
|
|
232
242
|
suffixNodes.push(
|
|
233
|
-
|
|
243
|
+
_vue.h.call(void 0,
|
|
234
244
|
"div",
|
|
235
|
-
{ class:
|
|
245
|
+
{ class: _tigercatcore.getInputAffixClasses.call(void 0, "suffix", props.size) },
|
|
236
246
|
slots.suffix ? slots.suffix() : props.suffix
|
|
237
247
|
)
|
|
238
248
|
);
|
|
239
249
|
}
|
|
240
250
|
}
|
|
241
251
|
const wrapperChildren = [
|
|
242
|
-
hasPrefix.value &&
|
|
252
|
+
hasPrefix.value && _vue.h.call(void 0,
|
|
243
253
|
"div",
|
|
244
|
-
{ class:
|
|
254
|
+
{ class: _tigercatcore.getInputAffixClasses.call(void 0, "prefix", props.size) },
|
|
245
255
|
slots.prefix ? slots.prefix() : props.prefix
|
|
246
256
|
),
|
|
247
|
-
|
|
257
|
+
_vue.h.call(void 0, "input", {
|
|
248
258
|
...restAttrs,
|
|
249
259
|
ref: inputRef,
|
|
250
260
|
class: inputClasses.value,
|
|
@@ -270,14 +280,14 @@ var Input = vue.defineComponent({
|
|
|
270
280
|
...suffixNodes
|
|
271
281
|
];
|
|
272
282
|
const nodes = [
|
|
273
|
-
|
|
283
|
+
_vue.h.call(void 0,
|
|
274
284
|
"div",
|
|
275
285
|
{
|
|
276
286
|
ref: wrapperRef,
|
|
277
|
-
class:
|
|
278
|
-
|
|
287
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
288
|
+
_tigercatcore.getInputWrapperClasses.call(void 0, ),
|
|
279
289
|
props.className,
|
|
280
|
-
|
|
290
|
+
_tigercatcore.coerceClassValue.call(void 0, attrClass)
|
|
281
291
|
),
|
|
282
292
|
style: [attrStyle, props.style],
|
|
283
293
|
onAnimationend: handleAnimationEnd
|
|
@@ -289,13 +299,15 @@ var Input = vue.defineComponent({
|
|
|
289
299
|
const count = currentValStr.length;
|
|
290
300
|
const isOver = props.maxLength !== void 0 && count > props.maxLength;
|
|
291
301
|
const countText = props.maxLength !== void 0 ? `${count} / ${props.maxLength}` : `${count}`;
|
|
292
|
-
nodes.push(
|
|
302
|
+
nodes.push(_vue.h.call(void 0, "div", { class: _tigercatcore.getInputCountClasses.call(void 0, isOver) }, countText));
|
|
293
303
|
}
|
|
294
|
-
return nodes.length === 1 ? nodes[0] :
|
|
304
|
+
return nodes.length === 1 ? nodes[0] : _vue.h.call(void 0, "div", null, nodes);
|
|
295
305
|
};
|
|
296
306
|
}
|
|
297
307
|
});
|
|
298
308
|
var Input_default = Input;
|
|
299
309
|
|
|
300
|
-
|
|
301
|
-
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
exports.Input = Input; exports.Input_default = Input_default;
|