@kdcloudjs/shoelace 1.0.48 → 1.0.50
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/cdn/chunks/chunk.2CDSRQY3.js +1081 -0
- package/cdn/chunks/chunk.2JJ2Y7FW.js +28 -0
- package/cdn/chunks/chunk.2JW2OESP.js +58 -0
- package/cdn/chunks/chunk.2MARMGY6.js +11 -0
- package/cdn/chunks/chunk.2MTDU3ZO.js +11 -0
- package/cdn/chunks/chunk.2O74COIF.js +286 -0
- package/cdn/chunks/chunk.2SJYPE6U.js +25 -0
- package/cdn/chunks/chunk.2T5J6WBF.js +40 -0
- package/cdn/chunks/chunk.2VS73BHS.js +11 -0
- package/cdn/chunks/chunk.2WBZBVR2.js +26 -0
- package/cdn/chunks/chunk.33GOOEK4.js +162 -0
- package/cdn/chunks/chunk.3B7QVZ5V.js +11 -0
- package/cdn/chunks/chunk.3C5NLNWY.js +11 -0
- package/cdn/chunks/chunk.3DIEYDEA.js +77 -0
- package/cdn/chunks/chunk.3DNIQPBI.js +346 -0
- package/cdn/chunks/chunk.3FLRC57Y.js +454 -0
- package/cdn/chunks/chunk.3H22QFUP.js +291 -0
- package/cdn/chunks/chunk.3I57PBOP.js +49 -0
- package/cdn/chunks/chunk.3JHXVHMD.js +152 -0
- package/cdn/chunks/chunk.3JIU2B26.js +11 -0
- package/cdn/chunks/chunk.3KHZNKIH.js +11 -0
- package/cdn/chunks/chunk.3L2Y4OJH.js +70 -0
- package/cdn/chunks/chunk.3PN4XOCW.js +182 -0
- package/cdn/chunks/chunk.3QWG7B7P.js +27 -0
- package/cdn/chunks/chunk.3TA4RQQA.js +50 -0
- package/cdn/chunks/chunk.3UKZOZWD.js +21 -0
- package/cdn/chunks/chunk.3ZG6RGJQ.js +51 -0
- package/cdn/chunks/chunk.43LPNBO7.js +21 -0
- package/cdn/chunks/chunk.464LOHO4.js +11 -0
- package/cdn/chunks/chunk.47MON6OX.js +692 -0
- package/cdn/chunks/chunk.47MRZZMU.js +521 -0
- package/cdn/chunks/chunk.47WGABKG.js +93 -0
- package/cdn/chunks/chunk.4G55GYSU.js +75 -0
- package/cdn/chunks/chunk.4IVZP2YP.js +11 -0
- package/cdn/chunks/chunk.4OFVIPGF.js +118 -0
- package/cdn/chunks/chunk.4PBSBG3D.js +1951 -0
- package/cdn/chunks/chunk.4RT47JLA.js +279 -0
- package/cdn/chunks/chunk.4X7K7YCL.js +123 -0
- package/cdn/chunks/chunk.4YMCRERT.js +81 -0
- package/cdn/chunks/chunk.4YYNSSSJ.js +11 -0
- package/cdn/chunks/chunk.53JC7YU3.js +11 -0
- package/cdn/chunks/chunk.5C7TJXQY.js +21 -0
- package/cdn/chunks/chunk.5EEUK7PT.js +27 -0
- package/cdn/chunks/chunk.5FDIIIDC.js +11 -0
- package/cdn/chunks/chunk.5GV5POES.js +985 -0
- package/cdn/chunks/chunk.5HPQHOHG.js +43 -0
- package/cdn/chunks/chunk.5HSAOZ2F.js +27 -0
- package/cdn/chunks/chunk.5IG5KIWD.js +605 -0
- package/cdn/chunks/chunk.5KGS3U3S.js +129 -0
- package/cdn/chunks/chunk.5P57PSSW.js +29 -0
- package/cdn/chunks/chunk.5RE3MXMP.js +371 -0
- package/cdn/chunks/chunk.67T6IULI.js +24 -0
- package/cdn/chunks/chunk.6ALPGBIP.js +11 -0
- package/cdn/chunks/chunk.6AQIUVLE.js +320 -0
- package/cdn/chunks/chunk.6BFH3NAY.js +11 -0
- package/cdn/chunks/chunk.6CCEHGM7.js +21 -0
- package/cdn/chunks/chunk.6DNNWGGY.js +11 -0
- package/cdn/chunks/chunk.6FZT4RFD.js +835 -0
- package/cdn/chunks/chunk.6GX7LAZ6.js +61 -0
- package/cdn/chunks/chunk.6J6SD2E5.js +24 -0
- package/cdn/chunks/chunk.6JU5QFFI.js +11 -0
- package/cdn/chunks/chunk.73SCTRS6.js +26 -0
- package/cdn/chunks/chunk.776VWUEO.js +109 -0
- package/cdn/chunks/chunk.7ILV4SMU.js +29 -0
- package/cdn/chunks/chunk.7NFMRITF.js +1932 -0
- package/cdn/chunks/chunk.7P2TASQR.js +238 -0
- package/cdn/chunks/chunk.7SJRFIU5.js +14 -0
- package/cdn/chunks/chunk.7UTYZUOT.js +28 -0
- package/cdn/chunks/chunk.7WMMYOFL.js +216 -0
- package/cdn/chunks/chunk.7Z2GKZ7U.js +284 -0
- package/cdn/chunks/chunk.A3L3P5VG.js +1271 -0
- package/cdn/chunks/chunk.A4XNFUP3.js +11 -0
- package/cdn/chunks/chunk.A66NZ5SV.js +21 -0
- package/cdn/chunks/chunk.A6PU3AYG.js +126 -0
- package/cdn/chunks/chunk.A7YXFSAI.js +244 -0
- package/cdn/chunks/chunk.AANMUD5C.js +481 -0
- package/cdn/chunks/chunk.AFV3SHKJ.js +129 -0
- package/cdn/chunks/chunk.AHD7WECJ.js +27 -0
- package/cdn/chunks/chunk.AHGSNHP3.js +11 -0
- package/cdn/chunks/chunk.AJLRJKEQ.js +233 -0
- package/cdn/chunks/chunk.AKNHCM7W.js +11 -0
- package/cdn/chunks/chunk.ALFGTHX7.js +359 -0
- package/cdn/chunks/chunk.ALJPVUR2.js +391 -0
- package/cdn/chunks/chunk.AOGS3JXL.js +11 -0
- package/cdn/chunks/chunk.AOV23MP5.js +186 -0
- package/cdn/chunks/chunk.B2XYLDIM.js +11 -0
- package/cdn/chunks/chunk.B5CMYWDC.js +24 -0
- package/cdn/chunks/chunk.BHWP23ZX.js +331 -0
- package/cdn/chunks/chunk.BISCLG7K.js +24 -0
- package/cdn/chunks/chunk.BL4LNXNP.js +23 -0
- package/cdn/chunks/chunk.BOPHY5NA.js +11 -0
- package/cdn/chunks/chunk.BQMHU7YE.js +11 -0
- package/cdn/chunks/chunk.BQZILAYN.js +25 -0
- package/cdn/chunks/chunk.BRSYXGIF.js +31 -0
- package/cdn/chunks/chunk.BTHYGHG3.js +375 -0
- package/cdn/chunks/chunk.BXUANFMJ.js +86 -0
- package/cdn/chunks/chunk.BZT6GXXB.js +74 -0
- package/cdn/chunks/chunk.C2MQWAIQ.js +49 -0
- package/cdn/chunks/chunk.C3ERAERA.js +239 -0
- package/cdn/chunks/chunk.C3FE6HRL.js +11 -0
- package/cdn/chunks/chunk.C3NDYXTJ.js +186 -0
- package/cdn/chunks/chunk.C4ALKM77.js +11 -0
- package/cdn/chunks/chunk.CJEFTJ2D.js +433 -0
- package/cdn/chunks/chunk.CJKBCI72.js +368 -0
- package/cdn/chunks/chunk.CJMGCYCV.js +21 -0
- package/cdn/chunks/chunk.CMXTVHS7.js +11 -0
- package/cdn/chunks/chunk.CNDO3E7G.js +1990 -0
- package/cdn/chunks/chunk.CNH6XRJA.js +11 -0
- package/cdn/chunks/chunk.CNOATE66.js +421 -0
- package/cdn/chunks/chunk.CONCVRCO.js +28 -0
- package/cdn/chunks/chunk.CPZ5Z27Z.js +54 -0
- package/cdn/chunks/chunk.CRCQAAMC.js +92 -0
- package/cdn/chunks/chunk.CSR56J6P.js +63 -0
- package/cdn/chunks/chunk.CTNCSWRU.js +27 -0
- package/cdn/chunks/chunk.CW7TSYZS.js +67 -0
- package/cdn/chunks/chunk.CYYOZSPH.js +11 -0
- package/cdn/chunks/chunk.CZMUG2KN.js +474 -0
- package/cdn/chunks/chunk.D4AYCIQA.js +336 -0
- package/cdn/chunks/chunk.DCVVRKTF.js +383 -0
- package/cdn/chunks/chunk.DHIZKALI.js +11 -0
- package/cdn/chunks/chunk.DHSWQNCQ.js +73 -0
- package/cdn/chunks/chunk.DIRYPYKZ.js +28 -0
- package/cdn/chunks/chunk.DOCROG7A.js +11 -0
- package/cdn/chunks/chunk.DPGOOXD7.js +267 -0
- package/cdn/chunks/chunk.DTWUD5TC.js +388 -0
- package/cdn/chunks/chunk.DVCN27CA.js +29 -0
- package/cdn/chunks/chunk.E2OQIFWY.js +21 -0
- package/cdn/chunks/chunk.E6XSGGFK.js +11 -0
- package/cdn/chunks/chunk.ECDY5TAF.js +11 -0
- package/cdn/chunks/chunk.EDIOHH4V.js +21 -0
- package/cdn/chunks/chunk.EFAFDY35.js +11 -0
- package/cdn/chunks/chunk.EFDDDPDX.js +29 -0
- package/cdn/chunks/chunk.EMRLMWRC.js +247 -0
- package/cdn/chunks/chunk.EPTIPCYK.js +14 -0
- package/cdn/chunks/chunk.EQSNU4LN.js +103 -0
- package/cdn/chunks/chunk.ESGZWUNL.js +24 -0
- package/cdn/chunks/chunk.ESR2ZAPQ.js +21 -0
- package/cdn/chunks/chunk.EXWUHZ75.js +48 -0
- package/cdn/chunks/chunk.F7GYKDSY.js +179 -0
- package/cdn/chunks/chunk.F7MJWUC3.js +28 -0
- package/cdn/chunks/chunk.FFLHNES4.js +21 -0
- package/cdn/chunks/chunk.FFYNRSOO.js +32 -0
- package/cdn/chunks/chunk.FGIDAS3Q.js +11 -0
- package/cdn/chunks/chunk.FILXBXKY.js +11 -0
- package/cdn/chunks/chunk.FJ3Y424C.js +11 -0
- package/cdn/chunks/chunk.FNTGQNEY.js +71 -0
- package/cdn/chunks/chunk.FSOFAFL2.js +255 -0
- package/cdn/chunks/chunk.FVSLST5R.js +21 -0
- package/cdn/chunks/chunk.FVZL5ZLE.js +92 -0
- package/cdn/chunks/chunk.FW2R4W7A.js +23 -0
- package/cdn/chunks/chunk.FX5BEDJO.js +24 -0
- package/cdn/chunks/chunk.FXYNQXOM.js +236 -0
- package/cdn/chunks/chunk.FY5YJA4D.js +125 -0
- package/cdn/chunks/chunk.G46DZIB2.js +11 -0
- package/cdn/chunks/chunk.GBSEWAX5.js +1514 -0
- package/cdn/chunks/chunk.GCKWD3FE.js +114 -0
- package/cdn/chunks/chunk.GJLLXFLB.js +11 -0
- package/cdn/chunks/chunk.GPMAKNNJ.js +358 -0
- package/cdn/chunks/chunk.GRBIG474.js +155 -0
- package/cdn/chunks/chunk.GRGYWQPR.js +21 -0
- package/cdn/chunks/chunk.GRNBQQOZ.js +1291 -0
- package/cdn/chunks/chunk.GWLL7VWY.js +161 -0
- package/cdn/chunks/chunk.H2B2GYRU.js +154 -0
- package/cdn/chunks/chunk.H4XPUOYQ.js +27 -0
- package/cdn/chunks/chunk.H52WALPP.js +110 -0
- package/cdn/chunks/chunk.H5SQ6U6L.js +79 -0
- package/cdn/chunks/chunk.H657JPBM.js +246 -0
- package/cdn/chunks/chunk.H66AJVNO.js +11 -0
- package/cdn/chunks/chunk.H6YUTVEH.js +455 -0
- package/cdn/chunks/chunk.HAQD5VH2.js +186 -0
- package/cdn/chunks/chunk.HGMUYLHT.js +95 -0
- package/cdn/chunks/chunk.HKXJFZT6.js +85 -0
- package/cdn/chunks/chunk.HTRDGAK4.js +11 -0
- package/cdn/chunks/chunk.HUS7KSDI.js +120 -0
- package/cdn/chunks/chunk.HVK3NIVD.js +132 -0
- package/cdn/chunks/chunk.HVSBBNU2.js +76 -0
- package/cdn/chunks/chunk.HYNGJ5KK.js +82 -0
- package/cdn/chunks/chunk.I3RNL37D.js +11 -0
- package/cdn/chunks/chunk.I4CGVBP6.js +128 -0
- package/cdn/chunks/chunk.I4URQRPW.js +543 -0
- package/cdn/chunks/chunk.I5DHLU5W.js +127 -0
- package/cdn/chunks/chunk.IKGG7KM6.js +11 -0
- package/cdn/chunks/chunk.IPCTPYUI.js +16 -0
- package/cdn/chunks/chunk.IV3RBHZF.js +472 -0
- package/cdn/chunks/chunk.IWQDWGP3.js +24 -0
- package/cdn/chunks/chunk.J55ZULBO.js +750 -0
- package/cdn/chunks/chunk.J65T2RDH.js +97 -0
- package/cdn/chunks/chunk.JBDHZMVW.js +53 -0
- package/cdn/chunks/chunk.JDCUTQNC.js +173 -0
- package/cdn/chunks/chunk.JIBVQPMA.js +586 -0
- package/cdn/chunks/chunk.JIGVKTDD.js +26 -0
- package/cdn/chunks/chunk.JJFKKJGQ.js +21 -0
- package/cdn/chunks/chunk.JJH7VJ33.js +11 -0
- package/cdn/chunks/chunk.JRBS3ASB.js +98 -0
- package/cdn/chunks/chunk.JRWBHO2Z.js +110 -0
- package/cdn/chunks/chunk.JRXUQ2RT.js +27 -0
- package/cdn/chunks/chunk.JU74KPOM.js +24 -0
- package/cdn/chunks/chunk.JUQYB3HO.js +67 -0
- package/cdn/chunks/chunk.K6K4CAJF.js +14 -0
- package/cdn/chunks/chunk.KDJRXNHZ.js +329 -0
- package/cdn/chunks/chunk.KI2F37QQ.js +25 -0
- package/cdn/chunks/chunk.KLJZ43ZJ.js +79 -0
- package/cdn/chunks/chunk.KMIAAKX5.js +11 -0
- package/cdn/chunks/chunk.KODIWATL.js +619 -0
- package/cdn/chunks/chunk.KRZVYYMQ.js +21 -0
- package/cdn/chunks/chunk.KZPHPOTS.js +159 -0
- package/cdn/chunks/chunk.KZSBF23W.js +11 -0
- package/cdn/chunks/chunk.L3XTHW4P.js +11 -0
- package/cdn/chunks/chunk.LBDLTCL6.js +21 -0
- package/cdn/chunks/chunk.LDOWFQPY.js +268 -0
- package/cdn/chunks/chunk.LEQ2MXMN.js +77 -0
- package/cdn/chunks/chunk.LIG4F42T.js +248 -0
- package/cdn/chunks/chunk.LJ53AVDO.js +16 -0
- package/cdn/chunks/chunk.LLFSMUOP.js +60 -0
- package/cdn/chunks/chunk.LOTJKEBL.js +167 -0
- package/cdn/chunks/chunk.LR4RQETC.js +11 -0
- package/cdn/chunks/chunk.LS6KOANX.js +215 -0
- package/cdn/chunks/chunk.LTE22HHW.js +58 -0
- package/cdn/chunks/chunk.LTIDHA5E.js +11 -0
- package/cdn/chunks/chunk.LVONDDEO.js +2632 -0
- package/cdn/chunks/chunk.LWCF42NJ.js +101 -0
- package/cdn/chunks/chunk.LXDBJRVM.js +21 -0
- package/cdn/chunks/chunk.LYBZAAWI.js +11 -0
- package/cdn/chunks/chunk.LYWN4ZWE.js +25 -0
- package/cdn/chunks/chunk.M4OBVOKU.js +11 -0
- package/cdn/chunks/chunk.MBG6QE66.js +123 -0
- package/cdn/chunks/chunk.MEWV72MR.js +87 -0
- package/cdn/chunks/chunk.MN6S6WSL.js +24 -0
- package/cdn/chunks/chunk.MRK5RK4P.js +29 -0
- package/cdn/chunks/chunk.MSDYQJYV.js +215 -0
- package/cdn/chunks/chunk.MTUIIZSK.js +11 -0
- package/cdn/chunks/chunk.MV3GXPPX.js +68 -0
- package/cdn/chunks/chunk.MVDI25Q7.js +35 -0
- package/cdn/chunks/chunk.MVLX4UMO.js +135 -0
- package/cdn/chunks/chunk.MXYKI7GQ.js +5944 -0
- package/cdn/chunks/chunk.N7HWSVA7.js +24 -0
- package/cdn/chunks/chunk.NBWMMBCI.js +218 -0
- package/cdn/chunks/chunk.NERABMFI.js +11 -0
- package/cdn/chunks/chunk.NMA47TKA.js +11 -0
- package/cdn/chunks/chunk.NPSFTFVN.js +24 -0
- package/cdn/chunks/chunk.NVAIJYJC.js +21 -0
- package/cdn/chunks/chunk.O6NJB3VO.js +31 -0
- package/cdn/chunks/chunk.O7B3CCSN.js +402 -0
- package/cdn/chunks/chunk.OEWWZG3L.js +11 -0
- package/cdn/chunks/chunk.OJVEGSQB.js +130 -0
- package/cdn/chunks/chunk.OJXBTTLD.js +19 -0
- package/cdn/chunks/chunk.OKTJZBCQ.js +24 -0
- package/cdn/chunks/chunk.OOBXN2HS.js +77 -0
- package/cdn/chunks/chunk.ORQZYIDH.js +243 -0
- package/cdn/chunks/chunk.OSBXL2HT.js +11 -0
- package/cdn/chunks/chunk.OU4R5VG2.js +11 -0
- package/cdn/chunks/chunk.OV3PHBTP.js +25 -0
- package/cdn/chunks/chunk.OVDUAJ5S.js +11 -0
- package/cdn/chunks/chunk.OVP4HPNM.js +246 -0
- package/cdn/chunks/chunk.OX2IMCGB.js +11 -0
- package/cdn/chunks/chunk.OXNL4254.js +927 -0
- package/cdn/chunks/chunk.P3D7VNQD.js +197 -0
- package/cdn/chunks/chunk.P5FFLO55.js +25 -0
- package/cdn/chunks/chunk.PG24DHBG.js +21 -0
- package/cdn/chunks/chunk.PIGZ3XFF.js +11 -0
- package/cdn/chunks/chunk.PJ5DVQ3R.js +11 -0
- package/cdn/chunks/chunk.PNUIZLCW.js +201 -0
- package/cdn/chunks/chunk.POTBKNXQ.js +197 -0
- package/cdn/chunks/chunk.PRY5EVVB.js +7432 -0
- package/cdn/chunks/chunk.PS34EHJJ.js +42 -0
- package/cdn/chunks/chunk.PSZR7RYX.js +177 -0
- package/cdn/chunks/chunk.PYAAWKTU.js +19 -0
- package/cdn/chunks/chunk.PZ27563L.js +192 -0
- package/cdn/chunks/chunk.Q3SMFLHM.js +790 -0
- package/cdn/chunks/chunk.QAJ3C2HI.js +11 -0
- package/cdn/chunks/chunk.QLAFK3BN.js +70 -0
- package/cdn/chunks/chunk.QMFXDQ26.js +24 -0
- package/cdn/chunks/chunk.QPEVZMQL.js +26 -0
- package/cdn/chunks/chunk.QPY5RYOO.js +11 -0
- package/cdn/chunks/chunk.QUP4QVT3.js +11 -0
- package/cdn/chunks/chunk.QX5FULYB.js +66 -0
- package/cdn/chunks/chunk.R3EXFGHZ.js +567 -0
- package/cdn/chunks/chunk.R46HI3JT.js +29 -0
- package/cdn/chunks/chunk.R4TA333A.js +21 -0
- package/cdn/chunks/chunk.R5IAUO4U.js +14 -0
- package/cdn/chunks/chunk.R7I4SVYN.js +24 -0
- package/cdn/chunks/chunk.RA64MOUD.js +57 -0
- package/cdn/chunks/chunk.RGR3SHLO.js +305 -0
- package/cdn/chunks/chunk.RHM2GI42.js +25 -0
- package/cdn/chunks/chunk.RI5T42QP.js +11 -0
- package/cdn/chunks/chunk.RLK3EHVZ.js +24 -0
- package/cdn/chunks/chunk.RMKSOCX3.js +21 -0
- package/cdn/chunks/chunk.RNFWKQUR.js +691 -0
- package/cdn/chunks/chunk.ROI4ZSYU.js +78 -0
- package/cdn/chunks/chunk.RRPNTYM7.js +21 -0
- package/cdn/chunks/chunk.RWUJQXN5.js +24 -0
- package/cdn/chunks/chunk.RZKLOFNT.js +11 -0
- package/cdn/chunks/chunk.SAALSAWU.js +11 -0
- package/cdn/chunks/chunk.SAPHYWZ4.js +292 -0
- package/cdn/chunks/chunk.SBJYRRNX.js +302 -0
- package/cdn/chunks/chunk.SGODNB77.js +11 -0
- package/cdn/chunks/chunk.SGRAVA4R.js +11 -0
- package/cdn/chunks/chunk.SXZ2W2NP.js +142 -0
- package/cdn/chunks/chunk.SY4NOIYQ.js +153 -0
- package/cdn/chunks/chunk.T426XIV6.js +21 -0
- package/cdn/chunks/chunk.TAAPPBFK.js +78 -0
- package/cdn/chunks/chunk.TBKAABSS.js +11 -0
- package/cdn/chunks/chunk.TBPUQUNO.js +364 -0
- package/cdn/chunks/chunk.TDEXDIPB.js +111 -0
- package/cdn/chunks/chunk.TE3HNEZR.js +42 -0
- package/cdn/chunks/chunk.TE4OGYS3.js +33 -0
- package/cdn/chunks/chunk.TFOUJL6L.js +163 -0
- package/cdn/chunks/chunk.THU7JRBR.js +21 -0
- package/cdn/chunks/chunk.TJFXTUQI.js +27 -0
- package/cdn/chunks/chunk.TMUXI2AV.js +11 -0
- package/cdn/chunks/chunk.TMYEHUWW.js +21 -0
- package/cdn/chunks/chunk.TNQRIWXJ.js +51 -0
- package/cdn/chunks/chunk.TSAJQ6CC.js +11 -0
- package/cdn/chunks/chunk.TSUDWCBV.js +193 -0
- package/cdn/chunks/chunk.TU6B6KC2.js +28 -0
- package/cdn/chunks/chunk.U3ODZ23S.js +25 -0
- package/cdn/chunks/chunk.U4OWZ6YL.js +29 -0
- package/cdn/chunks/chunk.U6OE3FF5.js +21 -0
- package/cdn/chunks/chunk.U774XYON.js +25 -0
- package/cdn/chunks/chunk.UASMIJUW.js +572 -0
- package/cdn/chunks/chunk.UBINZ4B5.js +177 -0
- package/cdn/chunks/chunk.UBJK7W77.js +63 -0
- package/cdn/chunks/chunk.UDE6ESUR.js +98 -0
- package/cdn/chunks/chunk.UDGFLVQ3.js +724 -0
- package/cdn/chunks/chunk.UEUKVL7U.js +50 -0
- package/cdn/chunks/chunk.UHFFDH7V.js +11 -0
- package/cdn/chunks/chunk.UHJAVC3Y.js +11 -0
- package/cdn/chunks/chunk.ULD7Q25W.js +113 -0
- package/cdn/chunks/chunk.UNSV3BJH.js +182 -0
- package/cdn/chunks/chunk.UO66C4WQ.js +34 -0
- package/cdn/chunks/chunk.UP75L23G.js +34 -0
- package/cdn/chunks/chunk.UUNZD3YL.js +122 -0
- package/cdn/chunks/chunk.UURKOIJP.js +91 -0
- package/cdn/chunks/chunk.UURZJR5T.js +271 -0
- package/cdn/chunks/chunk.UUSL52C6.js +26 -0
- package/cdn/chunks/chunk.V3E3KHCZ.js +24 -0
- package/cdn/chunks/chunk.V5CXHUYP.js +11 -0
- package/cdn/chunks/chunk.V6BRSYAW.js +50 -0
- package/cdn/chunks/chunk.VASGIW4T.js +22 -0
- package/cdn/chunks/chunk.VI3S5YSU.js +36 -0
- package/cdn/chunks/chunk.VK7KEYIH.js +2982 -0
- package/cdn/chunks/chunk.VKO6US6U.js +371 -0
- package/cdn/chunks/chunk.VLXTMNNC.js +11 -0
- package/cdn/chunks/chunk.VNK4U3IO.js +634 -0
- package/cdn/chunks/chunk.VNU43Y5M.js +11 -0
- package/cdn/chunks/chunk.VOQLGX6E.js +30 -0
- package/cdn/chunks/chunk.VQ4WG2FG.js +21 -0
- package/cdn/chunks/chunk.VT5GU4PO.js +59 -0
- package/cdn/chunks/chunk.VVC2DEVI.js +11 -0
- package/cdn/chunks/chunk.W34CWXOO.js +299 -0
- package/cdn/chunks/chunk.W7L76D57.js +196 -0
- package/cdn/chunks/chunk.WCI6A5ZG.js +398 -0
- package/cdn/chunks/chunk.WFBANKTB.js +199 -0
- package/cdn/chunks/chunk.WIGJG54I.js +30 -0
- package/cdn/chunks/chunk.WKE6AUKK.js +24 -0
- package/cdn/chunks/chunk.WNX72Q2Y.js +26 -0
- package/cdn/chunks/chunk.WOJYYTFM.js +27 -0
- package/cdn/chunks/chunk.WT5BNBAS.js +24 -0
- package/cdn/chunks/chunk.WYHWEJVK.js +27 -0
- package/cdn/chunks/chunk.X3CXI3VV.js +21 -0
- package/cdn/chunks/chunk.X43CJLAD.js +24 -0
- package/cdn/chunks/chunk.X7LDDQPG.js +330 -0
- package/cdn/chunks/chunk.XB6JEHTC.js +16 -0
- package/cdn/chunks/chunk.XD6YWW4M.js +21 -0
- package/cdn/chunks/chunk.XH2TR6UF.js +23 -0
- package/cdn/chunks/chunk.XHVEBHFG.js +158 -0
- package/cdn/chunks/chunk.XJRKWUJR.js +25 -0
- package/cdn/chunks/chunk.XLHXPJ6K.js +11 -0
- package/cdn/chunks/chunk.XOTBXUW3.js +25 -0
- package/cdn/chunks/chunk.XRFBHQ6B.js +21 -0
- package/cdn/chunks/chunk.XXJHBRYP.js +21 -0
- package/cdn/chunks/chunk.XYPOICQT.js +14 -0
- package/cdn/chunks/chunk.XYTW4R4B.js +11 -0
- package/cdn/chunks/chunk.Y2BAJMKW.js +11 -0
- package/cdn/chunks/chunk.Y2JX7VPH.js +11 -0
- package/cdn/chunks/chunk.Y2YYVFMA.js +500 -0
- package/cdn/chunks/chunk.Y5EIEWPO.js +24 -0
- package/cdn/chunks/chunk.Y66TIMUL.js +333 -0
- package/cdn/chunks/chunk.Y6YGVIBX.js +346 -0
- package/cdn/chunks/chunk.YA6XZYWF.js +75 -0
- package/cdn/chunks/chunk.YDSTEEB7.js +21 -0
- package/cdn/chunks/chunk.YE6RVL2R.js +236 -0
- package/cdn/chunks/chunk.YF3JZPXA.js +28 -0
- package/cdn/chunks/chunk.YHCD3DEM.js +979 -0
- package/cdn/chunks/chunk.YIM2BUEB.js +269 -0
- package/cdn/chunks/chunk.YJU47ZCL.js +25 -0
- package/cdn/chunks/chunk.YMLHY5TC.js +118 -0
- package/cdn/chunks/chunk.YOVO5FAJ.js +93 -0
- package/cdn/chunks/chunk.YQ4AVZGP.js +26 -0
- package/cdn/chunks/chunk.YSFYDBKZ.js +1213 -0
- package/cdn/chunks/chunk.YSS5JBGS.js +92 -0
- package/cdn/chunks/chunk.YW7PERS4.js +21 -0
- package/cdn/chunks/chunk.YWZGNSI7.js +25 -0
- package/cdn/chunks/chunk.YXIYU4CA.js +137 -0
- package/cdn/chunks/chunk.Z47AQQBQ.js +37 -0
- package/cdn/chunks/chunk.Z7H54NZU.js +11 -0
- package/cdn/chunks/chunk.ZAOUS2ME.js +93 -0
- package/cdn/chunks/chunk.ZLKEMKLZ.js +47 -0
- package/cdn/chunks/chunk.ZOO2GGJW.js +21 -0
- package/cdn/chunks/chunk.ZQTDYEZ4.js +11 -0
- package/cdn/chunks/chunk.ZSOVHANC.js +11 -0
- package/cdn/chunks/chunk.ZZSUAJNS.js +29 -0
- package/cdn/components/alert/alert.component.js +18 -18
- package/cdn/components/alert/alert.js +19 -19
- package/cdn/components/alert/alert.styles.js +3 -3
- package/cdn/components/animated-image/animated-image.component.js +9 -9
- package/cdn/components/animated-image/animated-image.js +10 -10
- package/cdn/components/animated-image/animated-image.styles.js +3 -3
- package/cdn/components/animation/animation.component.js +7 -7
- package/cdn/components/animation/animation.js +8 -8
- package/cdn/components/animation/animation.styles.js +3 -3
- package/cdn/components/animation/animations.js +1 -1
- package/cdn/components/avatar/avatar.component.js +11 -11
- package/cdn/components/avatar/avatar.js +12 -12
- package/cdn/components/avatar/avatar.styles.js +3 -3
- package/cdn/components/badge/badge.component.js +8 -8
- package/cdn/components/badge/badge.js +9 -9
- package/cdn/components/badge/badge.styles.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +12 -12
- package/cdn/components/breadcrumb/breadcrumb.js +13 -13
- package/cdn/components/breadcrumb/breadcrumb.styles.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +9 -9
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +10 -10
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +3 -3
- package/cdn/components/button/button.component.js +18 -18
- package/cdn/components/button/button.js +19 -19
- package/cdn/components/button/button.styles.js +3 -3
- package/cdn/components/button-group/button-group.component.js +6 -6
- package/cdn/components/button-group/button-group.js +7 -7
- package/cdn/components/button-group/button-group.styles.js +3 -3
- package/cdn/components/calendar/calendar.component.js +32 -32
- package/cdn/components/calendar/calendar.js +33 -33
- package/cdn/components/calendar/calendar.styles.js +3 -3
- package/cdn/components/calendar-picker/calendar-picker.component.js +22 -22
- package/cdn/components/calendar-picker/calendar-picker.js +22 -22
- package/cdn/components/calendar-picker/calendar-picker.styles.js +3 -3
- package/cdn/components/card/card.component.js +8 -8
- package/cdn/components/card/card.js +9 -9
- package/cdn/components/card/card.styles.js +3 -3
- package/cdn/components/carousel/carousel.component.js +14 -14
- package/cdn/components/carousel/carousel.js +15 -15
- package/cdn/components/carousel/carousel.styles.js +3 -3
- package/cdn/components/carousel-item/carousel-item.component.js +6 -6
- package/cdn/components/carousel-item/carousel-item.js +7 -7
- package/cdn/components/carousel-item/carousel-item.styles.js +3 -3
- package/cdn/components/cascader/cascader.component.js +23 -23
- package/cdn/components/cascader/cascader.js +24 -24
- package/cdn/components/cascader/cascader.styles.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +14 -14
- package/cdn/components/checkbox/checkbox.js +15 -15
- package/cdn/components/checkbox/checkbox.styles.js +3 -3
- package/cdn/components/col/col.component.js +6 -6
- package/cdn/components/col/col.js +7 -7
- package/cdn/components/col/col.styles.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +33 -33
- package/cdn/components/color-picker/color-picker.js +34 -34
- package/cdn/components/color-picker/color-picker.styles.js +3 -3
- package/cdn/components/copy-button/copy-button.component.js +18 -18
- package/cdn/components/copy-button/copy-button.js +19 -19
- package/cdn/components/copy-button/copy-button.styles.js +3 -3
- package/cdn/components/date-panel/date-panel.component.js +28 -28
- package/cdn/components/date-panel/date-panel.js +28 -28
- package/cdn/components/date-panel/date-panel.styles.js +3 -3
- package/cdn/components/datepicker/datepicker.component.js +36 -36
- package/cdn/components/datepicker/datepicker.js +36 -36
- package/cdn/components/daterangepicker/daterangepicker.component.js +32 -32
- package/cdn/components/daterangepicker/daterangepicker.js +33 -33
- package/cdn/components/daterangepicker/daterangepicker.styles.js +3 -3
- package/cdn/components/details/details.component.js +14 -14
- package/cdn/components/details/details.js +15 -15
- package/cdn/components/details/details.styles.js +3 -3
- package/cdn/components/dialog/dialog.component.js +18 -18
- package/cdn/components/dialog/dialog.js +19 -19
- package/cdn/components/dialog/dialog.styles.js +3 -3
- package/cdn/components/divider/divider.component.js +6 -6
- package/cdn/components/divider/divider.js +7 -7
- package/cdn/components/divider/divider.styles.js +3 -3
- package/cdn/components/drawer/drawer.component.js +18 -18
- package/cdn/components/drawer/drawer.js +19 -19
- package/cdn/components/drawer/drawer.styles.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +14 -14
- package/cdn/components/dropdown/dropdown.js +15 -15
- package/cdn/components/dropdown/dropdown.styles.js +3 -3
- package/cdn/components/float-button/float-button.component.js +19 -19
- package/cdn/components/float-button/float-button.js +20 -20
- package/cdn/components/float-button/float-button.styles.js +3 -3
- package/cdn/components/float-button-group/float-button-group.component.js +11 -11
- package/cdn/components/float-button-group/float-button-group.js +12 -12
- package/cdn/components/float-button-group/float-button-group.styles.js +3 -3
- package/cdn/components/format-bytes/format-bytes.component.js +7 -7
- package/cdn/components/format-bytes/format-bytes.js +8 -8
- package/cdn/components/format-date/format-date.component.js +7 -7
- package/cdn/components/format-date/format-date.js +8 -8
- package/cdn/components/format-number/format-number.component.js +7 -7
- package/cdn/components/format-number/format-number.js +8 -8
- package/cdn/components/icon/icon.component.js +7 -7
- package/cdn/components/icon/icon.js +8 -8
- package/cdn/components/icon/icon.styles.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +13 -13
- package/cdn/components/icon-button/icon-button.js +14 -14
- package/cdn/components/icon-button/icon-button.styles.js +3 -3
- package/cdn/components/image/icons.js +3 -3
- package/cdn/components/image/image-preview.styles.js +3 -3
- package/cdn/components/image/image.component.js +12 -12
- package/cdn/components/image/image.js +12 -12
- package/cdn/components/image/image.styles.js +3 -3
- package/cdn/components/image-comparer/image-comparer.component.js +15 -15
- package/cdn/components/image-comparer/image-comparer.js +16 -16
- package/cdn/components/image-comparer/image-comparer.styles.js +3 -3
- package/cdn/components/image-preview-group/image-preview-group.component.js +12 -12
- package/cdn/components/image-preview-group/image-preview-group.js +12 -12
- package/cdn/components/image-preview-group/image-preview-group.styles.js +3 -3
- package/cdn/components/include/include.component.js +6 -6
- package/cdn/components/include/include.js +7 -7
- package/cdn/components/include/include.styles.js +3 -3
- package/cdn/components/input/input.component.js +17 -17
- package/cdn/components/input/input.js +18 -18
- package/cdn/components/input/input.styles.js +3 -3
- package/cdn/components/menu/menu.component.js +6 -6
- package/cdn/components/menu/menu.js +7 -7
- package/cdn/components/menu/menu.styles.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +20 -20
- package/cdn/components/menu-item/menu-item.js +21 -21
- package/cdn/components/menu-item/menu-item.styles.js +3 -3
- package/cdn/components/menu-item/submenu-controller.js +6 -6
- package/cdn/components/menu-label/menu-label.component.js +6 -6
- package/cdn/components/menu-label/menu-label.js +7 -7
- package/cdn/components/menu-label/menu-label.styles.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +6 -6
- package/cdn/components/mutation-observer/mutation-observer.js +7 -7
- package/cdn/components/mutation-observer/mutation-observer.styles.js +3 -3
- package/cdn/components/nav/nav.component.js +24 -24
- package/cdn/components/nav/nav.js +25 -25
- package/cdn/components/nav/nav.styles.js +4 -4
- package/cdn/components/nav-group/nav-group.component.js +6 -6
- package/cdn/components/nav-group/nav-group.js +7 -7
- package/cdn/components/nav-group/nav-group.styles.js +4 -4
- package/cdn/components/nav-item/nav-item.component.js +8 -8
- package/cdn/components/nav-item/nav-item.js +9 -9
- package/cdn/components/nav-item/nav-item.styles.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.component.js +16 -16
- package/cdn/components/nav-submenu/nav-submenu.js +17 -17
- package/cdn/components/nav-submenu/nav-submenu.styles.js +4 -4
- package/cdn/components/notification/notification.component.js +18 -18
- package/cdn/components/notification/notification.js +19 -19
- package/cdn/components/notification/notification.styles.js +3 -3
- package/cdn/components/option/option.component.js +14 -14
- package/cdn/components/option/option.js +15 -15
- package/cdn/components/option/option.styles.js +3 -3
- package/cdn/components/pagination/custom-select.js +26 -26
- package/cdn/components/pagination/pagination.component.js +28 -28
- package/cdn/components/pagination/pagination.js +28 -28
- package/cdn/components/pagination/pagination.styles.js +3 -3
- package/cdn/components/popconfirm/popconfirm.component.js +30 -4
- package/cdn/components/popconfirm/popconfirm.js +30 -4
- package/cdn/components/popconfirm/popconfirm.styles.js +9 -0
- package/cdn/components/popup/popup.component.js +11 -11
- package/cdn/components/popup/popup.js +12 -12
- package/cdn/components/popup/popup.styles.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +13 -13
- package/cdn/components/progress-bar/progress-bar.js +14 -14
- package/cdn/components/progress-bar/progress-bar.styles.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +9 -9
- package/cdn/components/progress-ring/progress-ring.js +10 -10
- package/cdn/components/progress-ring/progress-ring.styles.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +8 -8
- package/cdn/components/qr-code/qr-code.js +9 -9
- package/cdn/components/qr-code/qr-code.styles.js +3 -3
- package/cdn/components/radio/radio.component.js +11 -11
- package/cdn/components/radio/radio.js +12 -12
- package/cdn/components/radio/radio.styles.js +3 -3
- package/cdn/components/radio-button/radio-button.component.js +11 -11
- package/cdn/components/radio-button/radio-button.js +12 -12
- package/cdn/components/radio-button/radio-button.styles.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +11 -11
- package/cdn/components/radio-group/radio-group.js +12 -12
- package/cdn/components/radio-group/radio-group.styles.js +3 -3
- package/cdn/components/range/range.component.js +15 -15
- package/cdn/components/range/range.js +16 -16
- package/cdn/components/range/range.styles.js +3 -3
- package/cdn/components/rating/rating.component.js +16 -16
- package/cdn/components/rating/rating.js +17 -17
- package/cdn/components/rating/rating.styles.js +3 -3
- package/cdn/components/relative-time/relative-time.component.js +7 -7
- package/cdn/components/relative-time/relative-time.js +8 -8
- package/cdn/components/resize-observer/resize-observer.component.js +6 -6
- package/cdn/components/resize-observer/resize-observer.js +7 -7
- package/cdn/components/resize-observer/resize-observer.styles.js +3 -3
- package/cdn/components/row/row.component.js +9 -9
- package/cdn/components/row/row.js +10 -10
- package/cdn/components/row/row.styles.js +3 -3
- package/cdn/components/screen/gridstack.styles.js +3 -3
- package/cdn/components/screen/screen.component.js +7 -7
- package/cdn/components/screen/screen.js +8 -8
- package/cdn/components/screen/screen.styles.js +3 -3
- package/cdn/components/segmented/segmented.component.js +18 -18
- package/cdn/components/segmented/segmented.js +19 -19
- package/cdn/components/segmented/segmented.styles.js +3 -3
- package/cdn/components/select/select.component.js +24 -24
- package/cdn/components/select/select.js +25 -25
- package/cdn/components/select/select.styles.js +3 -3
- package/cdn/components/sender/sender.component.js +37 -37
- package/cdn/components/sender/sender.js +38 -38
- package/cdn/components/sender/sender.styles.js +3 -3
- package/cdn/components/sender-header/sender-header.component.js +20 -20
- package/cdn/components/sender-header/sender-header.js +21 -21
- package/cdn/components/sender-header/sender-header.styles.js +3 -3
- package/cdn/components/sender-switch/sender-switch.component.js +20 -20
- package/cdn/components/sender-switch/sender-switch.js +21 -21
- package/cdn/components/sender-switch/sender-switch.styles.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +8 -8
- package/cdn/components/skeleton/skeleton.js +9 -9
- package/cdn/components/skeleton/skeleton.styles.js +3 -3
- package/cdn/components/space/space.component.js +9 -9
- package/cdn/components/space/space.js +10 -10
- package/cdn/components/space/space.styles.js +3 -3
- package/cdn/components/spinner/spinner.component.js +9 -9
- package/cdn/components/spinner/spinner.js +10 -10
- package/cdn/components/spinner/spinner.styles.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +10 -10
- package/cdn/components/split-panel/split-panel.js +11 -11
- package/cdn/components/split-panel/split-panel.styles.js +3 -3
- package/cdn/components/steps/steps.component.js +9 -9
- package/cdn/components/steps/steps.js +10 -10
- package/cdn/components/steps/steps.styles.js +3 -3
- package/cdn/components/switch/switch.component.js +12 -12
- package/cdn/components/switch/switch.js +13 -13
- package/cdn/components/switch/switch.styles.js +3 -3
- package/cdn/components/tab/tab.component.js +18 -18
- package/cdn/components/tab/tab.js +19 -19
- package/cdn/components/tab/tab.styles.js +3 -3
- package/cdn/components/tab-group/tab-group.component.js +20 -20
- package/cdn/components/tab-group/tab-group.js +21 -21
- package/cdn/components/tab-group/tab-group.styles.js +3 -3
- package/cdn/components/tab-panel/tab-panel.component.js +8 -8
- package/cdn/components/tab-panel/tab-panel.js +9 -9
- package/cdn/components/tab-panel/tab-panel.styles.js +3 -3
- package/cdn/components/table/body-table.js +14 -14
- package/cdn/components/table/col-group.js +5 -5
- package/cdn/components/table/features/index.js +8 -8
- package/cdn/components/table/features/row-drag-controller.js +6 -6
- package/cdn/components/table/features/row-drag.js +4 -4
- package/cdn/components/table/features/row-expend.js +4 -4
- package/cdn/components/table/features/row-selection.js +4 -4
- package/cdn/components/table/footer-table.js +11 -11
- package/cdn/components/table/head-table.js +46 -46
- package/cdn/components/table/spinner-container.js +4 -4
- package/cdn/components/table/table.component.js +63 -63
- package/cdn/components/table/table.context.js +1 -1
- package/cdn/components/table/table.js +65 -65
- package/cdn/components/tag/tag.component.js +18 -18
- package/cdn/components/tag/tag.js +19 -19
- package/cdn/components/tag/tag.styles.js +3 -3
- package/cdn/components/textarea/textarea.component.js +12 -12
- package/cdn/components/textarea/textarea.js +13 -13
- package/cdn/components/textarea/textarea.styles.js +3 -3
- package/cdn/components/think/think.component.js +16 -16
- package/cdn/components/think/think.js +17 -17
- package/cdn/components/think/think.styles.js +3 -3
- package/cdn/components/thought-chain/thought-chain.component.js +6 -6
- package/cdn/components/thought-chain/thought-chain.js +7 -7
- package/cdn/components/thought-chain/thought-chain.styles.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +16 -16
- package/cdn/components/thought-chain-item/thought-chain-item.js +17 -17
- package/cdn/components/thought-chain-item/thought-chain-item.styles.js +3 -3
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +16 -16
- package/cdn/components/thought-chain-node/thought-chain-node.js +17 -17
- package/cdn/components/thought-chain-node/thought-chain-node.styles.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +20 -20
- package/cdn/components/time-panel/time-panel.js +20 -20
- package/cdn/components/time-panel/time-panel.styles.js +3 -3
- package/cdn/components/timepicker/timepicker.component.js +37 -37
- package/cdn/components/timepicker/timepicker.js +37 -37
- package/cdn/components/timepicker/timepicker.styles.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +13 -13
- package/cdn/components/tooltip/tooltip.js +14 -14
- package/cdn/components/tooltip/tooltip.styles.js +3 -3
- package/cdn/components/transfer/transfer.component.js +39 -39
- package/cdn/components/transfer/transfer.js +39 -39
- package/cdn/components/transfer/transfer.styles.js +3 -3
- package/cdn/components/tree/tree.component.js +23 -23
- package/cdn/components/tree/tree.js +24 -24
- package/cdn/components/tree/tree.styles.js +3 -3
- package/cdn/components/tree-item/tree-item.component.js +21 -21
- package/cdn/components/tree-item/tree-item.js +22 -22
- package/cdn/components/tree-item/tree-item.styles.js +3 -3
- package/cdn/components/tree-select/tree-select.component.js +33 -33
- package/cdn/components/tree-select/tree-select.js +34 -34
- package/cdn/components/tree-select/tree-select.styles.js +3 -3
- package/cdn/components/upload/upload.component.js +29 -29
- package/cdn/components/upload/upload.js +29 -29
- package/cdn/components/upload/upload.styles.js +3 -3
- package/cdn/components/visually-hidden/visually-hidden.component.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.js +7 -7
- package/cdn/components/visually-hidden/visually-hidden.styles.js +3 -3
- package/cdn/components/x-markdown/markdown/components.js +6 -6
- package/cdn/components/x-markdown/markdown/highlight.js +1 -1
- package/cdn/components/x-markdown/markdown/parser.js +1 -1
- package/cdn/components/x-markdown/markdown/render.js +11 -11
- package/cdn/components/x-markdown/x-markdown.component.js +16 -16
- package/cdn/components/x-markdown/x-markdown.js +17 -17
- package/cdn/components/x-markdown/x-markdown.styles.js +3 -3
- package/cdn/custom-elements.json +14976 -14519
- package/cdn/react/alert/index.js +19 -19
- package/cdn/react/animated-image/index.js +10 -10
- package/cdn/react/animation/index.js +8 -8
- package/cdn/react/avatar/index.js +12 -12
- package/cdn/react/badge/index.js +9 -9
- package/cdn/react/breadcrumb/index.js +13 -13
- package/cdn/react/breadcrumb-item/index.js +10 -10
- package/cdn/react/button/index.js +19 -19
- package/cdn/react/button-group/index.js +7 -7
- package/cdn/react/calendar/index.js +33 -33
- package/cdn/react/card/index.js +9 -9
- package/cdn/react/carousel/index.js +15 -15
- package/cdn/react/carousel-item/index.js +7 -7
- package/cdn/react/cascader/index.js +24 -24
- package/cdn/react/checkbox/index.js +15 -15
- package/cdn/react/col/index.js +7 -7
- package/cdn/react/color-picker/index.js +34 -34
- package/cdn/react/copy-button/index.js +19 -19
- package/cdn/react/date-panel/index.js +29 -29
- package/cdn/react/datepicker/index.js +37 -37
- package/cdn/react/daterangepicker/index.js +33 -33
- package/cdn/react/details/index.js +15 -15
- package/cdn/react/dialog/index.js +19 -19
- package/cdn/react/divider/index.js +7 -7
- package/cdn/react/drawer/index.js +19 -19
- package/cdn/react/dropdown/index.js +15 -15
- package/cdn/react/float-button/index.js +20 -20
- package/cdn/react/float-button-group/index.js +12 -12
- package/cdn/react/format-bytes/index.js +8 -8
- package/cdn/react/format-date/index.js +8 -8
- package/cdn/react/format-number/index.js +8 -8
- package/cdn/react/icon/index.js +8 -8
- package/cdn/react/icon-button/index.js +14 -14
- package/cdn/react/image/index.js +13 -13
- package/cdn/react/image-comparer/index.js +16 -16
- package/cdn/react/image-preview-group/index.js +13 -13
- package/cdn/react/include/index.js +7 -7
- package/cdn/react/index.js +379 -378
- package/cdn/react/input/index.js +18 -18
- package/cdn/react/menu/index.js +7 -7
- package/cdn/react/menu-item/index.js +21 -21
- package/cdn/react/menu-label/index.js +7 -7
- package/cdn/react/mutation-observer/index.js +7 -7
- package/cdn/react/nav/index.js +25 -25
- package/cdn/react/nav-group/index.js +7 -7
- package/cdn/react/nav-item/index.js +9 -9
- package/cdn/react/nav-submenu/index.js +17 -17
- package/cdn/react/notification/index.js +19 -19
- package/cdn/react/option/index.js +15 -15
- package/cdn/react/pagination/index.js +29 -29
- package/cdn/react/popconfirm/index.js +31 -5
- package/cdn/react/popup/index.js +12 -12
- package/cdn/react/progress-bar/index.js +14 -14
- package/cdn/react/progress-ring/index.js +10 -10
- package/cdn/react/qr-code/index.js +9 -9
- package/cdn/react/radio/index.js +12 -12
- package/cdn/react/radio-button/index.js +12 -12
- package/cdn/react/radio-group/index.js +12 -12
- package/cdn/react/range/index.js +16 -16
- package/cdn/react/rating/index.js +17 -17
- package/cdn/react/relative-time/index.js +8 -8
- package/cdn/react/resize-observer/index.js +7 -7
- package/cdn/react/row/index.js +10 -10
- package/cdn/react/screen/index.js +8 -8
- package/cdn/react/segmented/index.js +19 -19
- package/cdn/react/select/index.js +25 -25
- package/cdn/react/sender/index.js +38 -38
- package/cdn/react/sender-header/index.js +21 -21
- package/cdn/react/sender-switch/index.js +21 -21
- package/cdn/react/skeleton/index.js +9 -9
- package/cdn/react/space/index.js +10 -10
- package/cdn/react/spinner/index.js +10 -10
- package/cdn/react/split-panel/index.js +11 -11
- package/cdn/react/steps/index.js +10 -10
- package/cdn/react/switch/index.js +13 -13
- package/cdn/react/tab/index.js +19 -19
- package/cdn/react/tab-group/index.js +21 -21
- package/cdn/react/tab-panel/index.js +9 -9
- package/cdn/react/table/index.js +64 -64
- package/cdn/react/tag/index.js +19 -19
- package/cdn/react/textarea/index.js +13 -13
- package/cdn/react/think/index.js +17 -17
- package/cdn/react/thought-chain/index.js +7 -7
- package/cdn/react/thought-chain-item/index.js +17 -17
- package/cdn/react/thought-chain-node/index.js +17 -17
- package/cdn/react/timepicker/index.js +38 -38
- package/cdn/react/tooltip/index.js +14 -14
- package/cdn/react/transfer/index.js +40 -40
- package/cdn/react/tree/index.js +24 -24
- package/cdn/react/tree-item/index.js +22 -22
- package/cdn/react/tree-select/index.js +34 -34
- package/cdn/react/upload/index.js +30 -30
- package/cdn/react/visually-hidden/index.js +7 -7
- package/cdn/react/x-markdown/index.js +17 -17
- package/cdn/shoelace.js +347 -347
- package/cdn/translations/ar.js +10 -2
- package/cdn/translations/cs.js +10 -2
- package/cdn/translations/da.js +12 -4
- package/cdn/translations/de-ch.js +4 -4
- package/cdn/translations/de.js +4 -4
- package/cdn/translations/en-gb.js +3 -3
- package/cdn/translations/en.js +2 -2
- package/cdn/translations/es.js +12 -4
- package/cdn/translations/fa.js +12 -4
- package/cdn/translations/fi.js +10 -2
- package/cdn/translations/fr.js +12 -4
- package/cdn/translations/he.js +12 -4
- package/cdn/translations/hr.js +10 -2
- package/cdn/translations/hu.js +12 -4
- package/cdn/translations/id.js +10 -2
- package/cdn/translations/it.js +10 -2
- package/cdn/translations/ja.js +13 -5
- package/cdn/translations/nb.js +12 -4
- package/cdn/translations/nl.js +12 -4
- package/cdn/translations/nn.js +12 -4
- package/cdn/translations/pl.js +12 -4
- package/cdn/translations/pt.js +12 -4
- package/cdn/translations/ru.js +12 -4
- package/cdn/translations/sl.js +10 -2
- package/cdn/translations/sv.js +12 -4
- package/cdn/translations/tr.js +12 -4
- package/cdn/translations/uk.js +12 -4
- package/cdn/translations/zh-cn.js +12 -4
- package/cdn/translations/zh-tw.js +12 -4
- package/cdn/types/vue/index.d.ts +1675 -1640
- package/cdn/utilities/animation.js +1 -1
- package/cdn/utilities/localize.js +3 -3
- package/cdn/utilities/spread.js +2 -2
- package/cdn/vscode.html-custom-data.json +1382 -1348
- package/cdn/web-types.json +3947 -3810
- package/dist/chunks/chunk.24OWFR7H.js +11 -0
- package/dist/chunks/chunk.25ZJGDB7.js +280 -0
- package/dist/chunks/chunk.2GF5TJCG.js +29 -0
- package/dist/chunks/chunk.2JVHQTLQ.js +21 -0
- package/dist/chunks/chunk.2NWWVSKU.js +21 -0
- package/dist/chunks/chunk.2WEOEKI6.js +171 -0
- package/dist/chunks/chunk.3EVLANFA.js +80 -0
- package/dist/chunks/chunk.3FP4T5LY.js +745 -0
- package/dist/chunks/chunk.3N6MH3TO.js +466 -0
- package/dist/chunks/chunk.3STSK25G.js +11 -0
- package/dist/chunks/chunk.4DO4664D.js +11 -0
- package/dist/chunks/chunk.4EHP3TVL.js +315 -0
- package/dist/chunks/chunk.4FRNETJ4.js +227 -0
- package/dist/chunks/chunk.4G53DFS7.js +234 -0
- package/dist/chunks/chunk.4J6P7T62.js +22 -0
- package/dist/chunks/chunk.4L7IVMU5.js +11 -0
- package/dist/chunks/chunk.4RIJZUST.js +21 -0
- package/dist/chunks/chunk.4VNWS6EP.js +24 -0
- package/dist/chunks/chunk.53PWV6OX.js +21 -0
- package/dist/chunks/chunk.57VB4U7K.js +392 -0
- package/dist/chunks/chunk.5D7A6ABR.js +11 -0
- package/dist/chunks/chunk.5DIPM3AI.js +27 -0
- package/dist/chunks/chunk.5LWQQ2P6.js +25 -0
- package/dist/chunks/chunk.5NMZPYHY.js +21 -0
- package/dist/chunks/chunk.5PXHZTW5.js +11 -0
- package/dist/chunks/chunk.5QNVSX6H.js +32 -0
- package/dist/chunks/chunk.5SARMXGP.js +29 -0
- package/dist/chunks/chunk.5UPHKVK6.js +11 -0
- package/dist/chunks/chunk.5YZVM2QU.js +478 -0
- package/dist/chunks/chunk.64O3HKQJ.js +293 -0
- package/dist/chunks/chunk.66I3QQ3S.js +11 -0
- package/dist/chunks/chunk.66Q72XJE.js +11 -0
- package/dist/chunks/chunk.6AD5VTLS.js +11 -0
- package/dist/chunks/chunk.6ANCRPA2.js +25 -0
- package/dist/chunks/chunk.6BLW4YE5.js +521 -0
- package/dist/chunks/chunk.6CNDLA3D.js +11 -0
- package/dist/chunks/chunk.6F6PNQLP.js +26 -0
- package/dist/chunks/chunk.6GC5VJFE.js +194 -0
- package/dist/chunks/chunk.6GOODRQG.js +24 -0
- package/dist/chunks/chunk.6LSM36Q2.js +96 -0
- package/dist/chunks/chunk.6OLJS2KC.js +11 -0
- package/dist/chunks/chunk.6WRQLFXA.js +1207 -0
- package/dist/chunks/chunk.6XVT2ZLS.js +28 -0
- package/dist/chunks/chunk.6ZA2K3FF.js +11 -0
- package/dist/chunks/chunk.72VMMAMG.js +28 -0
- package/dist/chunks/chunk.74AJR5TX.js +11 -0
- package/dist/chunks/chunk.7EKQ3Z3N.js +21 -0
- package/dist/chunks/chunk.7J7MITGG.js +21 -0
- package/dist/chunks/chunk.7JLOJDPX.js +11 -0
- package/dist/chunks/chunk.7LUVZRV6.js +93 -0
- package/dist/chunks/chunk.7NUIMVMZ.js +11 -0
- package/dist/chunks/chunk.7TESWUFG.js +21 -0
- package/dist/chunks/chunk.7XFQNE2Y.js +21 -0
- package/dist/chunks/chunk.7XQF3Q5A.js +21 -0
- package/dist/chunks/chunk.7Z6NSFO3.js +322 -0
- package/dist/chunks/chunk.7ZJOD7QY.js +21 -0
- package/dist/chunks/chunk.A5B7EIXE.js +11 -0
- package/dist/chunks/chunk.AAWGTIHC.js +943 -0
- package/dist/chunks/chunk.AJTL466E.js +11 -0
- package/dist/chunks/chunk.AKKN25LN.js +11 -0
- package/dist/chunks/chunk.APU7JYLN.js +27 -0
- package/dist/chunks/chunk.ATJCVZLA.js +167 -0
- package/dist/chunks/chunk.AXZWGOGW.js +87 -0
- package/dist/chunks/chunk.B2EGX7I4.js +11 -0
- package/dist/chunks/chunk.B6RQ7X3U.js +63 -0
- package/dist/chunks/chunk.B7R4OMK5.js +11 -0
- package/dist/chunks/chunk.BACFRF65.js +11 -0
- package/dist/chunks/chunk.BBWRQQCZ.js +11 -0
- package/dist/chunks/chunk.BHVN5JRS.js +11 -0
- package/dist/chunks/chunk.BIBSB3TQ.js +24 -0
- package/dist/chunks/chunk.BIZW6IEK.js +11 -0
- package/dist/chunks/chunk.BKMCGMA4.js +11 -0
- package/dist/chunks/chunk.BMJNOJA2.js +424 -0
- package/dist/chunks/chunk.BPEYF252.js +613 -0
- package/dist/chunks/chunk.BPOWDQSD.js +24 -0
- package/dist/chunks/chunk.BQCMC6ZQ.js +21 -0
- package/dist/chunks/chunk.BRZYFJGQ.js +174 -0
- package/dist/chunks/chunk.BTSHPWO5.js +21 -0
- package/dist/chunks/chunk.BU7TUIJ3.js +11 -0
- package/dist/chunks/chunk.BWQQOP3J.js +11 -0
- package/dist/chunks/chunk.BZFRK7FN.js +286 -0
- package/dist/chunks/chunk.C6K2MW5F.js +24 -0
- package/dist/chunks/chunk.C75UOJNF.js +21 -0
- package/dist/chunks/chunk.CCVBASPA.js +11 -0
- package/dist/chunks/chunk.CIKFYDCN.js +324 -0
- package/dist/chunks/chunk.CKJHDSHQ.js +11 -0
- package/dist/chunks/chunk.CNXYHGYO.js +21 -0
- package/dist/chunks/chunk.CSLSO363.js +241 -0
- package/dist/chunks/chunk.CZ4RRD3W.js +11 -0
- package/dist/chunks/chunk.D4YIODX5.js +25 -0
- package/dist/chunks/chunk.DA36U3VT.js +25 -0
- package/dist/chunks/chunk.DGODSEA3.js +25 -0
- package/dist/chunks/chunk.DID52HC4.js +1072 -0
- package/dist/chunks/chunk.DSLG4NXL.js +11 -0
- package/dist/chunks/chunk.DUXSWIDG.js +11 -0
- package/dist/chunks/chunk.E5BAXQRV.js +11 -0
- package/dist/chunks/chunk.E6RB3K2B.js +11 -0
- package/dist/chunks/chunk.EASJODFU.js +1942 -0
- package/dist/chunks/chunk.ECPTT6OU.js +11 -0
- package/dist/chunks/chunk.EN4NPFQ2.js +31 -0
- package/dist/chunks/chunk.EPZE4UAU.js +212 -0
- package/dist/chunks/chunk.EX2EAQ7S.js +779 -0
- package/dist/chunks/chunk.F342NQNG.js +57 -0
- package/dist/chunks/chunk.F76XAZEL.js +949 -0
- package/dist/chunks/chunk.FAPVCUSU.js +11 -0
- package/dist/chunks/chunk.FH6LWYSY.js +11 -0
- package/dist/chunks/chunk.FJ632UA2.js +365 -0
- package/dist/chunks/chunk.FSD2SS7D.js +28 -0
- package/dist/chunks/chunk.FU6FCXMK.js +42 -0
- package/dist/chunks/chunk.FV7WTJDS.js +397 -0
- package/dist/chunks/chunk.FWYNIOPV.js +116 -0
- package/dist/chunks/chunk.FYM6NRU2.js +26 -0
- package/dist/chunks/chunk.G4FFB4RA.js +24 -0
- package/dist/chunks/chunk.G7TB2HNR.js +35 -0
- package/dist/chunks/chunk.GBYAHBJX.js +11 -0
- package/dist/chunks/chunk.GC2JZQYC.js +148 -0
- package/dist/chunks/chunk.GE35OWLI.js +11 -0
- package/dist/chunks/chunk.GIZO4XSP.js +11 -0
- package/dist/chunks/chunk.GYYNQ7EM.js +11 -0
- package/dist/chunks/chunk.GZJ7FOCM.js +100 -0
- package/dist/chunks/chunk.GZUHJXX6.js +111 -0
- package/dist/chunks/chunk.H2JL2TGH.js +21 -0
- package/dist/chunks/chunk.H3GGNIXA.js +375 -0
- package/dist/chunks/chunk.H3JB24HR.js +24 -0
- package/dist/chunks/chunk.H4BNM7IO.js +21 -0
- package/dist/chunks/chunk.H6JPTG2I.js +25 -0
- package/dist/chunks/chunk.HBDTJHOG.js +24 -0
- package/dist/chunks/chunk.HEFPZWNJ.js +154 -0
- package/dist/chunks/chunk.HL4JB3KY.js +24 -0
- package/dist/chunks/chunk.HNAEUPT3.js +11 -0
- package/dist/chunks/chunk.HNBZKHP4.js +564 -0
- package/dist/chunks/chunk.HPMIOBNG.js +24 -0
- package/dist/chunks/chunk.HRHCQYKE.js +26 -0
- package/dist/chunks/chunk.HS7LVTDC.js +11 -0
- package/dist/chunks/chunk.HUZDMCHI.js +11 -0
- package/dist/chunks/chunk.IHCRUXL6.js +11 -0
- package/dist/chunks/chunk.IHNTUHDL.js +21 -0
- package/dist/chunks/chunk.IKXWIDK6.js +67 -0
- package/dist/chunks/chunk.IQGJVPW7.js +11 -0
- package/dist/chunks/chunk.IURZDJOX.js +21 -0
- package/dist/chunks/chunk.IYN5B7R4.js +21 -0
- package/dist/chunks/chunk.J7X6LUOA.js +681 -0
- package/dist/chunks/chunk.JNEBYDAU.js +134 -0
- package/dist/chunks/chunk.JNMQ4DW2.js +337 -0
- package/dist/chunks/chunk.JPUT2QWK.js +25 -0
- package/dist/chunks/chunk.JRT6S3K4.js +274 -0
- package/dist/chunks/chunk.JUK7HNZI.js +21 -0
- package/dist/chunks/chunk.JW2DQY45.js +129 -0
- package/dist/chunks/chunk.JWZVG6SY.js +263 -0
- package/dist/chunks/chunk.JY7HKEHT.js +11 -0
- package/dist/chunks/chunk.KB5C6A4M.js +135 -0
- package/dist/chunks/chunk.KDAO66JT.js +21 -0
- package/dist/chunks/chunk.KDV5GHFX.js +113 -0
- package/dist/chunks/chunk.KFUHQJIO.js +365 -0
- package/dist/chunks/chunk.KHHG6NLV.js +11 -0
- package/dist/chunks/chunk.KHWREDDJ.js +25 -0
- package/dist/chunks/chunk.KN7T44QP.js +349 -0
- package/dist/chunks/chunk.KNTITQJE.js +86 -0
- package/dist/chunks/chunk.KPDMETXN.js +75 -0
- package/dist/chunks/chunk.KPZGB2MD.js +27 -0
- package/dist/chunks/chunk.KSSK56LY.js +29 -0
- package/dist/chunks/chunk.KSZ5KN3W.js +126 -0
- package/dist/chunks/chunk.KXANW6TC.js +151 -0
- package/dist/chunks/chunk.KXTY3M5K.js +193 -0
- package/dist/chunks/chunk.KYAOTQQI.js +29 -0
- package/dist/chunks/chunk.L3OYAQAB.js +24 -0
- package/dist/chunks/chunk.LFWN55MD.js +27 -0
- package/dist/chunks/chunk.LH4LU3YG.js +63 -0
- package/dist/chunks/chunk.LM2OBZXY.js +11 -0
- package/dist/chunks/chunk.LOXMQ2XT.js +85 -0
- package/dist/chunks/chunk.LXM6AYIJ.js +75 -0
- package/dist/chunks/chunk.M2WK2GME.js +147 -0
- package/dist/chunks/chunk.M6YB32YZ.js +11 -0
- package/dist/chunks/chunk.M7ZKDDEN.js +117 -0
- package/dist/chunks/chunk.MAD7F2GR.js +11 -0
- package/dist/chunks/chunk.MDQ3FDB4.js +22 -0
- package/dist/chunks/chunk.MDV4HWIX.js +192 -0
- package/dist/chunks/chunk.MEMRPEBO.js +11 -0
- package/dist/chunks/chunk.MGVXDFKP.js +24 -0
- package/dist/chunks/chunk.MIPWYNDQ.js +320 -0
- package/dist/chunks/chunk.MK4ZF35D.js +11 -0
- package/dist/chunks/chunk.MRNFJSND.js +448 -0
- package/dist/chunks/chunk.N3YR7YYG.js +27 -0
- package/dist/chunks/chunk.N4X6ZP5D.js +21 -0
- package/dist/chunks/chunk.NCWQQPBF.js +21 -0
- package/dist/chunks/chunk.NN4DKIAS.js +448 -0
- package/dist/chunks/chunk.NSMMS5YJ.js +95 -0
- package/dist/chunks/chunk.O34QPYJ6.js +26 -0
- package/dist/chunks/chunk.O3KYDUIE.js +11 -0
- package/dist/chunks/chunk.OBHG2BUJ.js +21 -0
- package/dist/chunks/chunk.OCCJ754Z.js +11 -0
- package/dist/chunks/chunk.OFAKKSYR.js +11 -0
- package/dist/chunks/chunk.OGGG6FNR.js +28 -0
- package/dist/chunks/chunk.OJ3PCWZD.js +28 -0
- package/dist/chunks/chunk.OM7P4UGU.js +158 -0
- package/dist/chunks/chunk.OS7TW76Z.js +11 -0
- package/dist/chunks/chunk.P3LRCV4H.js +827 -0
- package/dist/chunks/chunk.PC53RNTW.js +27 -0
- package/dist/chunks/chunk.PCHGALD2.js +24 -0
- package/dist/chunks/chunk.PGGYKKTP.js +550 -0
- package/dist/chunks/chunk.PHMYUFHG.js +26 -0
- package/dist/chunks/chunk.PN3QQN53.js +11 -0
- package/dist/chunks/chunk.PPVXZINW.js +21 -0
- package/dist/chunks/chunk.Q6CMDVKG.js +27 -0
- package/dist/chunks/chunk.QD676MO2.js +52 -0
- package/dist/chunks/chunk.QEEZTKBN.js +29 -0
- package/dist/chunks/chunk.QFSGP5E5.js +45 -0
- package/dist/chunks/chunk.QNOQ7TYN.js +317 -0
- package/dist/chunks/chunk.QTMWFETR.js +26 -0
- package/dist/chunks/chunk.QYC33FWC.js +191 -0
- package/dist/chunks/chunk.R424HV3W.js +25 -0
- package/dist/chunks/chunk.R4LBOMOT.js +11 -0
- package/dist/chunks/chunk.R6F7WGRI.js +109 -0
- package/dist/chunks/chunk.RC4B25HB.js +358 -0
- package/dist/chunks/chunk.RD5HGMXZ.js +24 -0
- package/dist/chunks/chunk.REETE6WC.js +90 -0
- package/dist/chunks/chunk.RG4KKRWR.js +29 -0
- package/dist/chunks/chunk.RJ2YTLQ6.js +384 -0
- package/dist/chunks/chunk.RQJQQKUH.js +11 -0
- package/dist/chunks/chunk.RQMGYWAD.js +21 -0
- package/dist/chunks/chunk.RYPUFWTD.js +513 -0
- package/dist/chunks/chunk.SCIJIQ7N.js +29 -0
- package/dist/chunks/chunk.SCVZDU2I.js +125 -0
- package/dist/chunks/chunk.SF5NTRZC.js +11 -0
- package/dist/chunks/chunk.SHEVL3JZ.js +21 -0
- package/dist/chunks/chunk.SI4USR5D.js +28 -0
- package/dist/chunks/chunk.SI7UAEOG.js +25 -0
- package/dist/chunks/chunk.SIRYIB3B.js +11 -0
- package/dist/chunks/chunk.SLYWWSB6.js +29 -0
- package/dist/chunks/chunk.SMAC6DBG.js +11 -0
- package/dist/chunks/chunk.TCH44UAM.js +24 -0
- package/dist/chunks/chunk.TE3T3PJU.js +21 -0
- package/dist/chunks/chunk.TKXOXVLO.js +11 -0
- package/dist/chunks/chunk.TO7IF5XD.js +45 -0
- package/dist/chunks/chunk.TPIVDCBG.js +27 -0
- package/dist/chunks/chunk.TTZUHZOS.js +627 -0
- package/dist/chunks/chunk.TVT5SI52.js +25 -0
- package/dist/chunks/chunk.TVY2E3A3.js +598 -0
- package/dist/chunks/chunk.TYS6SOG7.js +11 -0
- package/dist/chunks/chunk.U4R7AXAW.js +11 -0
- package/dist/chunks/chunk.UC75IE62.js +73 -0
- package/dist/chunks/chunk.UIOX7MXI.js +11 -0
- package/dist/chunks/chunk.URWOU5BY.js +11 -0
- package/dist/chunks/chunk.UTNQS3HE.js +33 -0
- package/dist/chunks/chunk.VFM5EV2T.js +209 -0
- package/dist/chunks/chunk.VGSXDNCU.js +21 -0
- package/dist/chunks/chunk.VJARJ7EV.js +11 -0
- package/dist/chunks/chunk.VKCCENJP.js +11 -0
- package/dist/chunks/chunk.VKWN4ASR.js +91 -0
- package/dist/chunks/chunk.VLHWYXLT.js +11 -0
- package/dist/chunks/chunk.VRL7XS2L.js +50 -0
- package/dist/chunks/chunk.VWKOV4IJ.js +11 -0
- package/dist/chunks/chunk.VZS5ZKY7.js +86 -0
- package/dist/chunks/chunk.W2RNS3QG.js +11 -0
- package/dist/chunks/chunk.WMYOPDIA.js +11 -0
- package/dist/chunks/chunk.WOBZORVC.js +11 -0
- package/dist/chunks/chunk.WQFCINZP.js +180 -0
- package/dist/chunks/chunk.WRA2N5YD.js +181 -0
- package/dist/chunks/chunk.WVIALGD4.js +294 -0
- package/dist/chunks/chunk.WYR76H5S.js +231 -0
- package/dist/chunks/chunk.X23YWMDX.js +11 -0
- package/dist/chunks/chunk.XBY4YE2S.js +21 -0
- package/dist/chunks/chunk.XKZ5ZR62.js +34 -0
- package/dist/chunks/chunk.XMHJORH6.js +878 -0
- package/dist/chunks/chunk.XOVJELN4.js +27 -0
- package/dist/chunks/chunk.XQP655AH.js +21 -0
- package/dist/chunks/chunk.XVVDM22M.js +11 -0
- package/dist/chunks/chunk.XVZ3WD6S.js +24 -0
- package/dist/chunks/chunk.YLAHTSB2.js +25 -0
- package/dist/chunks/chunk.YMCMC6YO.js +47 -0
- package/dist/chunks/chunk.YNECAEEK.js +119 -0
- package/dist/chunks/chunk.YO2LOYG6.js +15 -0
- package/dist/chunks/chunk.YON6PUOT.js +213 -0
- package/dist/chunks/chunk.YQYXPT2D.js +24 -0
- package/dist/chunks/chunk.YUQF5MHU.js +11 -0
- package/dist/chunks/chunk.YUSFFWY2.js +11 -0
- package/dist/chunks/chunk.YVUIKHBA.js +123 -0
- package/dist/chunks/chunk.Z2P4XVAB.js +247 -0
- package/dist/chunks/chunk.Z4WCPI3K.js +50 -0
- package/dist/chunks/chunk.ZDKCSOZC.js +11 -0
- package/dist/chunks/chunk.ZESGEDA3.js +24 -0
- package/dist/chunks/chunk.ZGEUDDGL.js +11 -0
- package/dist/chunks/chunk.ZLFT3YMC.js +11 -0
- package/dist/chunks/chunk.ZLU7T27V.js +918 -0
- package/dist/chunks/chunk.ZMML5BZ6.js +494 -0
- package/dist/chunks/chunk.ZQPK2LQV.js +59 -0
- package/dist/chunks/chunk.ZRU4YHSK.js +100 -0
- package/dist/chunks/chunk.ZUNIUKQ6.js +11 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +7 -7
- package/dist/components/button/button.js +8 -8
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +16 -16
- package/dist/components/calendar/calendar.js +17 -17
- package/dist/components/calendar-picker/calendar-picker.component.js +10 -10
- package/dist/components/calendar-picker/calendar-picker.js +10 -10
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/cascader/cascader.component.js +9 -9
- package/dist/components/cascader/cascader.js +10 -10
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/col/col.component.js +2 -2
- package/dist/components/col/col.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/date-panel/date-panel.component.js +15 -15
- package/dist/components/date-panel/date-panel.js +15 -15
- package/dist/components/datepicker/datepicker.component.js +22 -22
- package/dist/components/datepicker/datepicker.js +22 -22
- package/dist/components/daterangepicker/daterangepicker.component.js +18 -18
- package/dist/components/daterangepicker/daterangepicker.js +19 -19
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +3 -3
- package/dist/components/divider/divider.js +4 -4
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/float-button/float-button.component.js +7 -7
- package/dist/components/float-button/float-button.js +8 -8
- package/dist/components/float-button-group/float-button-group.component.js +3 -3
- package/dist/components/float-button-group/float-button-group.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image/image.component.js +4 -4
- package/dist/components/image/image.js +4 -4
- package/dist/components/image/image.styles.js +1 -1
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/image-preview-group/image-preview-group.component.js +3 -3
- package/dist/components/image-preview-group/image-preview-group.js +3 -3
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +12 -12
- package/dist/components/nav/nav.js +13 -13
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +6 -6
- package/dist/components/nav-submenu/nav-submenu.js +7 -7
- package/dist/components/notification/notification.component.js +6 -6
- package/dist/components/notification/notification.js +7 -7
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/custom-select.js +13 -13
- package/dist/components/pagination/pagination.component.js +14 -14
- package/dist/components/pagination/pagination.js +14 -14
- package/dist/components/popconfirm/popconfirm.component.js +21 -2
- package/dist/components/popconfirm/popconfirm.js +21 -2
- package/dist/components/popconfirm/popconfirm.styles.js +7 -0
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +5 -5
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/radio-group/radio-group.styles.js +1 -1
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +5 -5
- package/dist/components/rating/rating.js +6 -6
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/row/row.component.js +2 -2
- package/dist/components/row/row.js +3 -3
- package/dist/components/screen/screen.component.js +3 -3
- package/dist/components/screen/screen.js +4 -4
- package/dist/components/segmented/segmented.component.js +7 -7
- package/dist/components/segmented/segmented.js +8 -8
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/sender/sender.component.js +17 -17
- package/dist/components/sender/sender.js +18 -18
- package/dist/components/sender-header/sender-header.component.js +8 -8
- package/dist/components/sender-header/sender-header.js +9 -9
- package/dist/components/sender-switch/sender-switch.component.js +8 -8
- package/dist/components/sender-switch/sender-switch.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +2 -2
- package/dist/components/space/space.js +3 -3
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/steps/steps.component.js +3 -3
- package/dist/components/steps/steps.js +4 -4
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +26 -26
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +36 -36
- package/dist/components/table/table.js +38 -38
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +6 -6
- package/dist/components/think/think.js +7 -7
- package/dist/components/thought-chain/thought-chain.component.js +2 -2
- package/dist/components/thought-chain/thought-chain.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.component.js +6 -6
- package/dist/components/thought-chain-item/thought-chain-item.js +7 -7
- package/dist/components/thought-chain-node/thought-chain-node.component.js +6 -6
- package/dist/components/thought-chain-node/thought-chain-node.js +7 -7
- package/dist/components/time-panel/time-panel.component.js +8 -8
- package/dist/components/time-panel/time-panel.js +8 -8
- package/dist/components/timepicker/timepicker.component.js +22 -22
- package/dist/components/timepicker/timepicker.js +22 -22
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/transfer/transfer.component.js +21 -21
- package/dist/components/transfer/transfer.js +21 -21
- package/dist/components/tree/tree.component.js +11 -11
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.component.js +9 -9
- package/dist/components/tree-item/tree-item.js +10 -10
- package/dist/components/tree-select/tree-select.component.js +17 -17
- package/dist/components/tree-select/tree-select.js +18 -18
- package/dist/components/tree-select/tree-select.styles.js +1 -1
- package/dist/components/upload/upload.component.js +14 -14
- package/dist/components/upload/upload.js +14 -14
- package/dist/components/upload/upload.styles.js +1 -1
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/components/x-markdown/x-markdown.component.js +2 -2
- package/dist/components/x-markdown/x-markdown.js +3 -3
- package/dist/custom-elements.json +14976 -14519
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +8 -8
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +17 -17
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/cascader/index.js +10 -10
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +17 -17
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/date-panel/index.js +16 -16
- package/dist/react/datepicker/index.js +23 -23
- package/dist/react/daterangepicker/index.js +19 -19
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +4 -4
- package/dist/react/drawer/index.js +8 -8
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/float-button/index.js +8 -8
- package/dist/react/float-button-group/index.js +4 -4
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image/index.js +5 -5
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/image-preview-group/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +304 -303
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +10 -10
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +13 -13
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +7 -7
- package/dist/react/notification/index.js +7 -7
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +15 -15
- package/dist/react/popconfirm/index.js +22 -3
- package/dist/react/popup/index.js +5 -5
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +6 -6
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +6 -6
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +4 -4
- package/dist/react/segmented/index.js +8 -8
- package/dist/react/select/index.js +10 -10
- package/dist/react/sender/index.js +18 -18
- package/dist/react/sender-header/index.js +9 -9
- package/dist/react/sender-switch/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +3 -3
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/steps/index.js +4 -4
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +37 -37
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +7 -7
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +7 -7
- package/dist/react/thought-chain-node/index.js +7 -7
- package/dist/react/timepicker/index.js +23 -23
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/transfer/index.js +22 -22
- package/dist/react/tree/index.js +12 -12
- package/dist/react/tree-item/index.js +10 -10
- package/dist/react/tree-select/index.js +18 -18
- package/dist/react/upload/index.js +15 -15
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +3 -3
- package/dist/shoelace.js +291 -291
- package/dist/translations/ar.js +9 -1
- package/dist/translations/cs.js +9 -1
- package/dist/translations/da.js +11 -3
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +11 -3
- package/dist/translations/fa.js +11 -3
- package/dist/translations/fi.js +9 -1
- package/dist/translations/fr.js +11 -3
- package/dist/translations/he.js +11 -3
- package/dist/translations/hr.js +9 -1
- package/dist/translations/hu.js +11 -3
- package/dist/translations/id.js +9 -1
- package/dist/translations/it.js +9 -1
- package/dist/translations/ja.js +12 -4
- package/dist/translations/nb.js +11 -3
- package/dist/translations/nl.js +11 -3
- package/dist/translations/nn.js +11 -3
- package/dist/translations/pl.js +11 -3
- package/dist/translations/pt.js +11 -3
- package/dist/translations/ru.js +11 -3
- package/dist/translations/sl.js +9 -1
- package/dist/translations/sv.js +11 -3
- package/dist/translations/tr.js +11 -3
- package/dist/translations/uk.js +11 -3
- package/dist/translations/zh-cn.js +11 -3
- package/dist/translations/zh-tw.js +11 -3
- package/dist/types/vue/index.d.ts +1675 -1640
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +1382 -1348
- package/dist/web-types.json +3947 -3810
- package/package.json +1 -1
- package/cdn/chunks/chunk.255J3OVY.js +0 -1514
- package/cdn/chunks/chunk.262S7CWP.js +0 -51
- package/cdn/chunks/chunk.26NXY7B5.js +0 -268
- package/cdn/chunks/chunk.2CEUOQ3S.js +0 -454
- package/cdn/chunks/chunk.2DKOZFH5.js +0 -73
- package/cdn/chunks/chunk.2EE4DY5L.js +0 -173
- package/cdn/chunks/chunk.2FB7J42X.js +0 -985
- package/cdn/chunks/chunk.2HDAREFX.js +0 -543
- package/cdn/chunks/chunk.2QDPYAHS.js +0 -47
- package/cdn/chunks/chunk.2SJW2UVP.js +0 -691
- package/cdn/chunks/chunk.2V4TFYXE.js +0 -33
- package/cdn/chunks/chunk.2V7BCBRO.js +0 -724
- package/cdn/chunks/chunk.2XIIDQCM.js +0 -22
- package/cdn/chunks/chunk.2XVRIK5C.js +0 -11
- package/cdn/chunks/chunk.36FIVL52.js +0 -14
- package/cdn/chunks/chunk.36MALYB2.js +0 -28
- package/cdn/chunks/chunk.37TETGS6.js +0 -11
- package/cdn/chunks/chunk.37U2BRTN.js +0 -27
- package/cdn/chunks/chunk.3BXPGWJW.js +0 -11
- package/cdn/chunks/chunk.3BYVFHCQ.js +0 -329
- package/cdn/chunks/chunk.3HLYQVSZ.js +0 -25
- package/cdn/chunks/chunk.3JW233YN.js +0 -359
- package/cdn/chunks/chunk.3MK22VUR.js +0 -201
- package/cdn/chunks/chunk.3PGJFCSJ.js +0 -21
- package/cdn/chunks/chunk.3U222RO7.js +0 -11
- package/cdn/chunks/chunk.3WFSKTQM.js +0 -27
- package/cdn/chunks/chunk.3XVRKP72.js +0 -11
- package/cdn/chunks/chunk.3YDKBIKP.js +0 -572
- package/cdn/chunks/chunk.3YKPR233.js +0 -11
- package/cdn/chunks/chunk.3ZXBL6P6.js +0 -302
- package/cdn/chunks/chunk.44ELCIJN.js +0 -24
- package/cdn/chunks/chunk.44LAWITI.js +0 -61
- package/cdn/chunks/chunk.46P6P5RK.js +0 -77
- package/cdn/chunks/chunk.4OEVLXYZ.js +0 -28
- package/cdn/chunks/chunk.4QROD532.js +0 -153
- package/cdn/chunks/chunk.4STBBCJN.js +0 -11
- package/cdn/chunks/chunk.4TCG2ZG2.js +0 -216
- package/cdn/chunks/chunk.52FLJASN.js +0 -28
- package/cdn/chunks/chunk.5CPAUOQB.js +0 -11
- package/cdn/chunks/chunk.5DDGLLB6.js +0 -11
- package/cdn/chunks/chunk.5DOHTU2N.js +0 -24
- package/cdn/chunks/chunk.5JEWRNY3.js +0 -67
- package/cdn/chunks/chunk.5KUF6FM2.js +0 -58
- package/cdn/chunks/chunk.5MO3A3SO.js +0 -123
- package/cdn/chunks/chunk.5NA4ZGUL.js +0 -26
- package/cdn/chunks/chunk.5NOGOVG4.js +0 -320
- package/cdn/chunks/chunk.5R6QVLYP.js +0 -11
- package/cdn/chunks/chunk.5RU2WFAF.js +0 -114
- package/cdn/chunks/chunk.5SJVD26D.js +0 -1271
- package/cdn/chunks/chunk.5Z4JUUO2.js +0 -11
- package/cdn/chunks/chunk.623CLPGE.js +0 -29
- package/cdn/chunks/chunk.63OUBWJM.js +0 -182
- package/cdn/chunks/chunk.63RNN5L6.js +0 -246
- package/cdn/chunks/chunk.65AWWXS3.js +0 -215
- package/cdn/chunks/chunk.65TCXRIP.js +0 -26
- package/cdn/chunks/chunk.674HBGPC.js +0 -271
- package/cdn/chunks/chunk.67NLMZZI.js +0 -24
- package/cdn/chunks/chunk.6ALC6ANH.js +0 -269
- package/cdn/chunks/chunk.6FXLSSDR.js +0 -11
- package/cdn/chunks/chunk.6IODIG44.js +0 -25
- package/cdn/chunks/chunk.6K5O3LP3.js +0 -101
- package/cdn/chunks/chunk.6KHYEPW2.js +0 -368
- package/cdn/chunks/chunk.6NOC6GTR.js +0 -433
- package/cdn/chunks/chunk.6NRURRXZ.js +0 -21
- package/cdn/chunks/chunk.6QOFTNGZ.js +0 -125
- package/cdn/chunks/chunk.6RCU72WR.js +0 -26
- package/cdn/chunks/chunk.6UNNDGWW.js +0 -37
- package/cdn/chunks/chunk.6VT67VRM.js +0 -58
- package/cdn/chunks/chunk.6WDY26SR.js +0 -26
- package/cdn/chunks/chunk.6XKNW7YV.js +0 -197
- package/cdn/chunks/chunk.74345OWA.js +0 -123
- package/cdn/chunks/chunk.7EIZHAGJ.js +0 -81
- package/cdn/chunks/chunk.7EYBCOYB.js +0 -21
- package/cdn/chunks/chunk.7FO52MYL.js +0 -11
- package/cdn/chunks/chunk.7JEHQWNB.js +0 -177
- package/cdn/chunks/chunk.7KKDEQ32.js +0 -286
- package/cdn/chunks/chunk.7MJ2NIDT.js +0 -95
- package/cdn/chunks/chunk.7QI4LZGJ.js +0 -692
- package/cdn/chunks/chunk.7TX7G6DT.js +0 -27
- package/cdn/chunks/chunk.7WYFCWJU.js +0 -31
- package/cdn/chunks/chunk.A2XLAO5Q.js +0 -21
- package/cdn/chunks/chunk.A3Y5CVAR.js +0 -27
- package/cdn/chunks/chunk.A4DYBT7G.js +0 -27
- package/cdn/chunks/chunk.A6M2XBBK.js +0 -2632
- package/cdn/chunks/chunk.A7PW7IFK.js +0 -605
- package/cdn/chunks/chunk.A7UV4WWJ.js +0 -402
- package/cdn/chunks/chunk.ABXAWC4B.js +0 -25
- package/cdn/chunks/chunk.ACTM2VNT.js +0 -11
- package/cdn/chunks/chunk.AEFSDRTW.js +0 -26
- package/cdn/chunks/chunk.AEU2UW3C.js +0 -49
- package/cdn/chunks/chunk.AOZXQPMO.js +0 -1257
- package/cdn/chunks/chunk.APIXBGIX.js +0 -267
- package/cdn/chunks/chunk.ARJTHTFL.js +0 -158
- package/cdn/chunks/chunk.ATGXFLQZ.js +0 -42
- package/cdn/chunks/chunk.AU42MGVT.js +0 -11
- package/cdn/chunks/chunk.AWECYNQT.js +0 -113
- package/cdn/chunks/chunk.B4X62RLT.js +0 -11
- package/cdn/chunks/chunk.B6WB6MZT.js +0 -128
- package/cdn/chunks/chunk.BDJRLPG2.js +0 -255
- package/cdn/chunks/chunk.BE5K2ODK.js +0 -24
- package/cdn/chunks/chunk.BFEYXVLM.js +0 -979
- package/cdn/chunks/chunk.BGG3Z534.js +0 -29
- package/cdn/chunks/chunk.BIDUVWTZ.js +0 -26
- package/cdn/chunks/chunk.BIGQ5PON.js +0 -21
- package/cdn/chunks/chunk.BPUFN4BA.js +0 -97
- package/cdn/chunks/chunk.BPZYOFMW.js +0 -186
- package/cdn/chunks/chunk.BS3WHCBR.js +0 -161
- package/cdn/chunks/chunk.BTOKZX7X.js +0 -21
- package/cdn/chunks/chunk.BWPDPQDX.js +0 -11
- package/cdn/chunks/chunk.BYDBGR3V.js +0 -16
- package/cdn/chunks/chunk.C3FUK5UG.js +0 -11
- package/cdn/chunks/chunk.CA257RX5.js +0 -79
- package/cdn/chunks/chunk.CCQ5RFNF.js +0 -391
- package/cdn/chunks/chunk.CDXA2MPQ.js +0 -21
- package/cdn/chunks/chunk.CFB6KCPG.js +0 -155
- package/cdn/chunks/chunk.CFJZOAZC.js +0 -29
- package/cdn/chunks/chunk.CQNDD6SL.js +0 -82
- package/cdn/chunks/chunk.CTBOUNRW.js +0 -21
- package/cdn/chunks/chunk.CUD2IPPM.js +0 -371
- package/cdn/chunks/chunk.CVLY2BZE.js +0 -11
- package/cdn/chunks/chunk.CZ3O4LCY.js +0 -42
- package/cdn/chunks/chunk.D3IJM5QW.js +0 -331
- package/cdn/chunks/chunk.D3WHNWAU.js +0 -110
- package/cdn/chunks/chunk.DBDC2UEG.js +0 -11
- package/cdn/chunks/chunk.DCA3DMGX.js +0 -11
- package/cdn/chunks/chunk.DCGCFYBW.js +0 -11
- package/cdn/chunks/chunk.DD7BEDHN.js +0 -27
- package/cdn/chunks/chunk.DE5NOO7W.js +0 -2982
- package/cdn/chunks/chunk.DE7EY4ZR.js +0 -23
- package/cdn/chunks/chunk.DFG35T25.js +0 -21
- package/cdn/chunks/chunk.DN4FVGLI.js +0 -21
- package/cdn/chunks/chunk.DPVEBIUQ.js +0 -11
- package/cdn/chunks/chunk.DQ6SLBV5.js +0 -11
- package/cdn/chunks/chunk.DW6EG2ZC.js +0 -305
- package/cdn/chunks/chunk.DZXYVROZ.js +0 -59
- package/cdn/chunks/chunk.E366JFMN.js +0 -455
- package/cdn/chunks/chunk.E6TNDQMM.js +0 -77
- package/cdn/chunks/chunk.ECWMRSJA.js +0 -27
- package/cdn/chunks/chunk.ELQFQFQB.js +0 -1932
- package/cdn/chunks/chunk.EOERNNYB.js +0 -11
- package/cdn/chunks/chunk.EQHFJGXH.js +0 -34
- package/cdn/chunks/chunk.ER6BZOCC.js +0 -472
- package/cdn/chunks/chunk.ETLK4JML.js +0 -87
- package/cdn/chunks/chunk.EWHYALRN.js +0 -21
- package/cdn/chunks/chunk.EX76NFO7.js +0 -11
- package/cdn/chunks/chunk.EXUIBMUM.js +0 -11
- package/cdn/chunks/chunk.EZZZZK4U.js +0 -24
- package/cdn/chunks/chunk.F3HNWDB5.js +0 -120
- package/cdn/chunks/chunk.F3LCTXRH.js +0 -11
- package/cdn/chunks/chunk.F5ONAZIP.js +0 -28
- package/cdn/chunks/chunk.F65PR5SX.js +0 -25
- package/cdn/chunks/chunk.FCAPOX55.js +0 -11
- package/cdn/chunks/chunk.FKJFUT4Y.js +0 -11
- package/cdn/chunks/chunk.FNBSZO42.js +0 -70
- package/cdn/chunks/chunk.FOG5DRDI.js +0 -92
- package/cdn/chunks/chunk.FTNO3VOY.js +0 -11
- package/cdn/chunks/chunk.FZHTHHBV.js +0 -421
- package/cdn/chunks/chunk.G5ATZJP3.js +0 -11
- package/cdn/chunks/chunk.GBSUNA7I.js +0 -11
- package/cdn/chunks/chunk.GCGEFS3L.js +0 -132
- package/cdn/chunks/chunk.GCPFEWSX.js +0 -11
- package/cdn/chunks/chunk.GEW6PG6T.js +0 -48
- package/cdn/chunks/chunk.GHZJCWCN.js +0 -246
- package/cdn/chunks/chunk.GJ445CJG.js +0 -11
- package/cdn/chunks/chunk.GJC44XK7.js +0 -21
- package/cdn/chunks/chunk.GPWBWI7T.js +0 -24
- package/cdn/chunks/chunk.GRIZDVEQ.js +0 -91
- package/cdn/chunks/chunk.GV4ZCOWV.js +0 -923
- package/cdn/chunks/chunk.GYHG7L6Q.js +0 -19
- package/cdn/chunks/chunk.H2MM3N5K.js +0 -1081
- package/cdn/chunks/chunk.H6KNHJB5.js +0 -11
- package/cdn/chunks/chunk.H7LNKP3Q.js +0 -27
- package/cdn/chunks/chunk.HAE4XGZL.js +0 -77
- package/cdn/chunks/chunk.HEZLOH3D.js +0 -76
- package/cdn/chunks/chunk.HG5KCGRG.js +0 -109
- package/cdn/chunks/chunk.HGIEN6NU.js +0 -78
- package/cdn/chunks/chunk.HIIJGB5W.js +0 -199
- package/cdn/chunks/chunk.HIYVCGBQ.js +0 -60
- package/cdn/chunks/chunk.HJWFYYT7.js +0 -25
- package/cdn/chunks/chunk.HKADTHBQ.js +0 -383
- package/cdn/chunks/chunk.HKTICTF6.js +0 -236
- package/cdn/chunks/chunk.HLCRCIJY.js +0 -53
- package/cdn/chunks/chunk.HP2HAGPK.js +0 -25
- package/cdn/chunks/chunk.HP5AZ2CD.js +0 -68
- package/cdn/chunks/chunk.HPDITH2T.js +0 -21
- package/cdn/chunks/chunk.HQAU2AWS.js +0 -92
- package/cdn/chunks/chunk.HR4EG4CJ.js +0 -333
- package/cdn/chunks/chunk.HSW6FMSP.js +0 -25
- package/cdn/chunks/chunk.HTI4ODEH.js +0 -167
- package/cdn/chunks/chunk.HUO6WIFW.js +0 -21
- package/cdn/chunks/chunk.HWWAOR37.js +0 -11
- package/cdn/chunks/chunk.I3627BXU.js +0 -25
- package/cdn/chunks/chunk.I63GAWI2.js +0 -14
- package/cdn/chunks/chunk.ID4LBMPV.js +0 -14
- package/cdn/chunks/chunk.IFP47S77.js +0 -11
- package/cdn/chunks/chunk.IGDUXB5L.js +0 -11
- package/cdn/chunks/chunk.IGPPBUPS.js +0 -110
- package/cdn/chunks/chunk.IGZMJ3MC.js +0 -291
- package/cdn/chunks/chunk.IJMA7XIS.js +0 -11
- package/cdn/chunks/chunk.ILSJDIJ2.js +0 -35
- package/cdn/chunks/chunk.IOT3AZY6.js +0 -24
- package/cdn/chunks/chunk.IQUWQFYT.js +0 -21
- package/cdn/chunks/chunk.IWZIXRPB.js +0 -19
- package/cdn/chunks/chunk.IZEUWDEO.js +0 -21
- package/cdn/chunks/chunk.J5L42EWA.js +0 -500
- package/cdn/chunks/chunk.J6WB4AAD.js +0 -521
- package/cdn/chunks/chunk.JBXQRNTG.js +0 -21
- package/cdn/chunks/chunk.JH4YZA5Q.js +0 -36
- package/cdn/chunks/chunk.JHY446UE.js +0 -11
- package/cdn/chunks/chunk.JO24GCGF.js +0 -11
- package/cdn/chunks/chunk.JO2B25ON.js +0 -28
- package/cdn/chunks/chunk.JQBH763L.js +0 -586
- package/cdn/chunks/chunk.JRD7SR6K.js +0 -11
- package/cdn/chunks/chunk.JTDZIQ26.js +0 -63
- package/cdn/chunks/chunk.JV6GOZGY.js +0 -129
- package/cdn/chunks/chunk.K2Z626SS.js +0 -21
- package/cdn/chunks/chunk.KGXOYWL2.js +0 -413
- package/cdn/chunks/chunk.KHPSZSRK.js +0 -11
- package/cdn/chunks/chunk.KP2Z44IB.js +0 -21
- package/cdn/chunks/chunk.KVEA3BEF.js +0 -11
- package/cdn/chunks/chunk.L2OIKRNG.js +0 -11
- package/cdn/chunks/chunk.LIOHKTKZ.js +0 -24
- package/cdn/chunks/chunk.LIYCRSPI.js +0 -11
- package/cdn/chunks/chunk.LL3WIMTN.js +0 -11
- package/cdn/chunks/chunk.LNHEQ5RN.js +0 -750
- package/cdn/chunks/chunk.LQYMBR3W.js +0 -21
- package/cdn/chunks/chunk.LSRZP33K.js +0 -28
- package/cdn/chunks/chunk.LU4K7SP3.js +0 -11
- package/cdn/chunks/chunk.LWS4R3D5.js +0 -388
- package/cdn/chunks/chunk.LWWNWCWK.js +0 -11
- package/cdn/chunks/chunk.LXXLDXU7.js +0 -371
- package/cdn/chunks/chunk.LZR7FPSZ.js +0 -11
- package/cdn/chunks/chunk.M3XS777L.js +0 -142
- package/cdn/chunks/chunk.M7P7NEKL.js +0 -5896
- package/cdn/chunks/chunk.M7XZYZS5.js +0 -11
- package/cdn/chunks/chunk.MAE3ZS6G.js +0 -11
- package/cdn/chunks/chunk.MAMG5GRN.js +0 -11
- package/cdn/chunks/chunk.MBB4NUVP.js +0 -243
- package/cdn/chunks/chunk.MC5NYDXE.js +0 -30
- package/cdn/chunks/chunk.MFBSXC3V.js +0 -21
- package/cdn/chunks/chunk.MHSFBVV4.js +0 -336
- package/cdn/chunks/chunk.MIYRMCBT.js +0 -24
- package/cdn/chunks/chunk.MK3VOKCG.js +0 -186
- package/cdn/chunks/chunk.MLNRRQAC.js +0 -32
- package/cdn/chunks/chunk.MORACBWI.js +0 -182
- package/cdn/chunks/chunk.MT5HTBKT.js +0 -27
- package/cdn/chunks/chunk.MYOCVZHN.js +0 -57
- package/cdn/chunks/chunk.MYSA6OEO.js +0 -25
- package/cdn/chunks/chunk.N2IHPW2K.js +0 -25
- package/cdn/chunks/chunk.N5JNU5JB.js +0 -238
- package/cdn/chunks/chunk.N5K3V3SZ.js +0 -21
- package/cdn/chunks/chunk.N65W6XTI.js +0 -14
- package/cdn/chunks/chunk.N6N54SAA.js +0 -24
- package/cdn/chunks/chunk.N6QQYOOO.js +0 -24
- package/cdn/chunks/chunk.NF2BHXXP.js +0 -1990
- package/cdn/chunks/chunk.NMMA757F.js +0 -790
- package/cdn/chunks/chunk.NUYWOAWG.js +0 -11
- package/cdn/chunks/chunk.O2QQ6S26.js +0 -152
- package/cdn/chunks/chunk.O6XYEODU.js +0 -21
- package/cdn/chunks/chunk.OAMZ7XBN.js +0 -54
- package/cdn/chunks/chunk.OGCY4VMF.js +0 -11
- package/cdn/chunks/chunk.OLDMKEVQ.js +0 -197
- package/cdn/chunks/chunk.OLIQR3OU.js +0 -284
- package/cdn/chunks/chunk.OO6RKMCB.js +0 -70
- package/cdn/chunks/chunk.OOKUQ7XD.js +0 -74
- package/cdn/chunks/chunk.OPDVFVBN.js +0 -196
- package/cdn/chunks/chunk.OPV2AIGP.js +0 -11
- package/cdn/chunks/chunk.ORM3WVO6.js +0 -137
- package/cdn/chunks/chunk.OW4P3A3J.js +0 -67
- package/cdn/chunks/chunk.P7RVRPDN.js +0 -21
- package/cdn/chunks/chunk.PB54FV6I.js +0 -11
- package/cdn/chunks/chunk.PBIZD45Y.js +0 -49
- package/cdn/chunks/chunk.PBN7P7GA.js +0 -299
- package/cdn/chunks/chunk.PCNTIN4U.js +0 -1998
- package/cdn/chunks/chunk.PF6RYS5J.js +0 -14
- package/cdn/chunks/chunk.PHNNNLBV.js +0 -11
- package/cdn/chunks/chunk.PKHGPK6F.js +0 -21
- package/cdn/chunks/chunk.PPDUXEQN.js +0 -244
- package/cdn/chunks/chunk.PUQ2TPYD.js +0 -154
- package/cdn/chunks/chunk.PUQMRQKN.js +0 -11
- package/cdn/chunks/chunk.PVK2JPRC.js +0 -11
- package/cdn/chunks/chunk.PWMOE6FS.js +0 -193
- package/cdn/chunks/chunk.PWTZNQBF.js +0 -16
- package/cdn/chunks/chunk.PZOYWVW6.js +0 -103
- package/cdn/chunks/chunk.QF2UJBW7.js +0 -50
- package/cdn/chunks/chunk.QKJHKWZ6.js +0 -375
- package/cdn/chunks/chunk.QKQKC2LO.js +0 -835
- package/cdn/chunks/chunk.QNACI2VQ.js +0 -126
- package/cdn/chunks/chunk.QV33TEJ4.js +0 -330
- package/cdn/chunks/chunk.R333VTLF.js +0 -24
- package/cdn/chunks/chunk.R5JW7MEK.js +0 -11
- package/cdn/chunks/chunk.RATBP6QZ.js +0 -29
- package/cdn/chunks/chunk.RBTOZ5FI.js +0 -11
- package/cdn/chunks/chunk.RIYR6LDM.js +0 -21
- package/cdn/chunks/chunk.RSEU55F2.js +0 -25
- package/cdn/chunks/chunk.RTPKPBC7.js +0 -29
- package/cdn/chunks/chunk.RY75QZIG.js +0 -11
- package/cdn/chunks/chunk.RZS3UXT6.js +0 -122
- package/cdn/chunks/chunk.S56MCLKK.js +0 -539
- package/cdn/chunks/chunk.S5MSM5HK.js +0 -11
- package/cdn/chunks/chunk.S7CV5CLW.js +0 -11
- package/cdn/chunks/chunk.SADXE364.js +0 -24
- package/cdn/chunks/chunk.SB7SJIN7.js +0 -111
- package/cdn/chunks/chunk.SBOGKCXL.js +0 -11
- package/cdn/chunks/chunk.SEK7WKMK.js +0 -75
- package/cdn/chunks/chunk.SFJQFNKK.js +0 -619
- package/cdn/chunks/chunk.SGNA2ZMB.js +0 -279
- package/cdn/chunks/chunk.SH2Z2RKZ.js +0 -25
- package/cdn/chunks/chunk.SHEHLDBH.js +0 -129
- package/cdn/chunks/chunk.SMCN5PUA.js +0 -127
- package/cdn/chunks/chunk.SMZZCB6D.js +0 -11
- package/cdn/chunks/chunk.SUNE4B5J.js +0 -25
- package/cdn/chunks/chunk.SV6EVRTL.js +0 -11
- package/cdn/chunks/chunk.SWDUNFQX.js +0 -192
- package/cdn/chunks/chunk.SWRA22YJ.js +0 -179
- package/cdn/chunks/chunk.SXK4YFJF.js +0 -118
- package/cdn/chunks/chunk.T3UZNMRQ.js +0 -163
- package/cdn/chunks/chunk.T52QIYDC.js +0 -233
- package/cdn/chunks/chunk.T7ATKVMN.js +0 -29
- package/cdn/chunks/chunk.TCCQMV4I.js +0 -24
- package/cdn/chunks/chunk.TCQKBXMU.js +0 -31
- package/cdn/chunks/chunk.TERV2MKT.js +0 -21
- package/cdn/chunks/chunk.TF6YNFS3.js +0 -75
- package/cdn/chunks/chunk.TGUPSYIJ.js +0 -92
- package/cdn/chunks/chunk.TJNR2U6H.js +0 -13
- package/cdn/chunks/chunk.TKV7YLDS.js +0 -79
- package/cdn/chunks/chunk.TKZ2X3ZF.js +0 -439
- package/cdn/chunks/chunk.TMS3NPJ7.js +0 -21
- package/cdn/chunks/chunk.TQNP3Q52.js +0 -292
- package/cdn/chunks/chunk.TS6R4FXD.js +0 -71
- package/cdn/chunks/chunk.TU4LCU26.js +0 -42
- package/cdn/chunks/chunk.TUHMGFQH.js +0 -11
- package/cdn/chunks/chunk.TXQX4CHN.js +0 -93
- package/cdn/chunks/chunk.TZUPBH46.js +0 -24
- package/cdn/chunks/chunk.U2ZIANZF.js +0 -11
- package/cdn/chunks/chunk.U5YC4257.js +0 -34
- package/cdn/chunks/chunk.UB4EKSAO.js +0 -85
- package/cdn/chunks/chunk.UBXYJLWL.js +0 -11
- package/cdn/chunks/chunk.UFNJJXYV.js +0 -11
- package/cdn/chunks/chunk.UIFYNZK6.js +0 -346
- package/cdn/chunks/chunk.UJVN3EES.js +0 -118
- package/cdn/chunks/chunk.UNEXLPZH.js +0 -218
- package/cdn/chunks/chunk.UNVZOKMN.js +0 -78
- package/cdn/chunks/chunk.UOYH6WFK.js +0 -186
- package/cdn/chunks/chunk.UPNOMV7S.js +0 -98
- package/cdn/chunks/chunk.UQT4YIVQ.js +0 -21
- package/cdn/chunks/chunk.UQXYUU2U.js +0 -11
- package/cdn/chunks/chunk.URJPME4A.js +0 -21
- package/cdn/chunks/chunk.USP25WG5.js +0 -26
- package/cdn/chunks/chunk.V5TICT2O.js +0 -63
- package/cdn/chunks/chunk.VBONVBBW.js +0 -16
- package/cdn/chunks/chunk.VCQUFVFO.js +0 -1213
- package/cdn/chunks/chunk.VLFQO2GV.js +0 -29
- package/cdn/chunks/chunk.VPW6I6CU.js +0 -40
- package/cdn/chunks/chunk.VQR4T3JS.js +0 -11
- package/cdn/chunks/chunk.VUOOKDBC.js +0 -11
- package/cdn/chunks/chunk.VVMDIMJZ.js +0 -42
- package/cdn/chunks/chunk.VWZPGCW5.js +0 -23
- package/cdn/chunks/chunk.VYJCNC56.js +0 -93
- package/cdn/chunks/chunk.W44O6N7N.js +0 -11
- package/cdn/chunks/chunk.W7YK3EJP.js +0 -11
- package/cdn/chunks/chunk.WBW4RU36.js +0 -239
- package/cdn/chunks/chunk.WC5OU4Z6.js +0 -29
- package/cdn/chunks/chunk.WGICCVVP.js +0 -86
- package/cdn/chunks/chunk.WGMCD6CT.js +0 -177
- package/cdn/chunks/chunk.WITHWUPI.js +0 -93
- package/cdn/chunks/chunk.WW2DOHHG.js +0 -29
- package/cdn/chunks/chunk.WWL2SGC3.js +0 -364
- package/cdn/chunks/chunk.WX2XUWPC.js +0 -28
- package/cdn/chunks/chunk.WZHRSCD7.js +0 -27
- package/cdn/chunks/chunk.XAB5OXFP.js +0 -135
- package/cdn/chunks/chunk.XDUA4P2E.js +0 -247
- package/cdn/chunks/chunk.XHVRTSGM.js +0 -11
- package/cdn/chunks/chunk.XK6AOIAK.js +0 -159
- package/cdn/chunks/chunk.XLVCTU2K.js +0 -43
- package/cdn/chunks/chunk.XVCBCAQD.js +0 -21
- package/cdn/chunks/chunk.XWZLIQKA.js +0 -474
- package/cdn/chunks/chunk.XY6AWVY5.js +0 -21
- package/cdn/chunks/chunk.Y2CANIMZ.js +0 -162
- package/cdn/chunks/chunk.Y3OOL7JV.js +0 -23
- package/cdn/chunks/chunk.Y7EKGBM7.js +0 -634
- package/cdn/chunks/chunk.Y7Z2ZYRE.js +0 -248
- package/cdn/chunks/chunk.YFJPNUBD.js +0 -21
- package/cdn/chunks/chunk.YHNVW5KD.js +0 -24
- package/cdn/chunks/chunk.YI4BH5GI.js +0 -67
- package/cdn/chunks/chunk.YK32G7WZ.js +0 -24
- package/cdn/chunks/chunk.YLF2YEGG.js +0 -236
- package/cdn/chunks/chunk.YN2RVKOP.js +0 -215
- package/cdn/chunks/chunk.YPVTUKSE.js +0 -24
- package/cdn/chunks/chunk.YRFEDKB5.js +0 -7432
- package/cdn/chunks/chunk.YT6FFIWN.js +0 -346
- package/cdn/chunks/chunk.YUTZF6YW.js +0 -11
- package/cdn/chunks/chunk.YWGYT4Y3.js +0 -51
- package/cdn/chunks/chunk.Z2XR4RLO.js +0 -11
- package/cdn/chunks/chunk.Z36OX3OI.js +0 -11
- package/cdn/chunks/chunk.Z6DRYT4V.js +0 -24
- package/cdn/chunks/chunk.Z6MPNSCM.js +0 -24
- package/cdn/chunks/chunk.ZBJM7XN6.js +0 -24
- package/cdn/chunks/chunk.ZMN3OZJR.js +0 -130
- package/cdn/chunks/chunk.ZVY4A6CT.js +0 -11
- package/cdn/chunks/chunk.ZXBEGRJ4.js +0 -11
- package/dist/chunks/chunk.2GBH27ZI.js +0 -180
- package/dist/chunks/chunk.2HL3Z4ZS.js +0 -448
- package/dist/chunks/chunk.2IKH4YPG.js +0 -21
- package/dist/chunks/chunk.2W74J5YR.js +0 -24
- package/dist/chunks/chunk.2ZINF3LH.js +0 -11
- package/dist/chunks/chunk.34IBP4NQ.js +0 -21
- package/dist/chunks/chunk.36ZRNKIS.js +0 -11
- package/dist/chunks/chunk.3GA5GUNV.js +0 -42
- package/dist/chunks/chunk.3KU3O77K.js +0 -24
- package/dist/chunks/chunk.3LEJA3HU.js +0 -11
- package/dist/chunks/chunk.3LMCPKIB.js +0 -148
- package/dist/chunks/chunk.3NFNYANG.js +0 -21
- package/dist/chunks/chunk.3ROJUKRG.js +0 -598
- package/dist/chunks/chunk.3VEO3DSZ.js +0 -96
- package/dist/chunks/chunk.3YBERZQS.js +0 -13
- package/dist/chunks/chunk.43W7I2TG.js +0 -11
- package/dist/chunks/chunk.46SRW3CM.js +0 -154
- package/dist/chunks/chunk.4752GXEF.js +0 -536
- package/dist/chunks/chunk.4DMYR3FU.js +0 -21
- package/dist/chunks/chunk.4HI5P3HL.js +0 -11
- package/dist/chunks/chunk.4J3JJFWT.js +0 -513
- package/dist/chunks/chunk.4MH6OAAT.js +0 -11
- package/dist/chunks/chunk.4V42ZZYZ.js +0 -11
- package/dist/chunks/chunk.4XB2FY5N.js +0 -171
- package/dist/chunks/chunk.556OYDPY.js +0 -11
- package/dist/chunks/chunk.55AMLU2V.js +0 -11
- package/dist/chunks/chunk.5AKLFI7O.js +0 -397
- package/dist/chunks/chunk.5GEPJKN4.js +0 -11
- package/dist/chunks/chunk.5HAE6BF5.js +0 -844
- package/dist/chunks/chunk.5JYDYILR.js +0 -28
- package/dist/chunks/chunk.5QM5J5XD.js +0 -337
- package/dist/chunks/chunk.5SWMSNAQ.js +0 -21
- package/dist/chunks/chunk.5VP3HW3N.js +0 -365
- package/dist/chunks/chunk.5YDE7WA7.js +0 -11
- package/dist/chunks/chunk.5YIAA6R4.js +0 -11
- package/dist/chunks/chunk.5YKRZNC5.js +0 -209
- package/dist/chunks/chunk.5YVXJAPC.js +0 -109
- package/dist/chunks/chunk.65BRMA6T.js +0 -27
- package/dist/chunks/chunk.67KWXGCB.js +0 -100
- package/dist/chunks/chunk.6CTB5ZDJ.js +0 -15
- package/dist/chunks/chunk.6E2QZJ3E.js +0 -24
- package/dist/chunks/chunk.6EZ5XEZU.js +0 -294
- package/dist/chunks/chunk.6HXAKZWA.js +0 -320
- package/dist/chunks/chunk.6LPWQBJQ.js +0 -407
- package/dist/chunks/chunk.6MUGUIFS.js +0 -29
- package/dist/chunks/chunk.6OLUDDUZ.js +0 -11
- package/dist/chunks/chunk.6QE77KTS.js +0 -117
- package/dist/chunks/chunk.77JIOU5R.js +0 -123
- package/dist/chunks/chunk.7BTDLTNI.js +0 -39
- package/dist/chunks/chunk.7KFASDOY.js +0 -50
- package/dist/chunks/chunk.7RCYM7AK.js +0 -21
- package/dist/chunks/chunk.7V6WDDF3.js +0 -24
- package/dist/chunks/chunk.7V6WOAHZ.js +0 -21
- package/dist/chunks/chunk.7VXOC56I.js +0 -11
- package/dist/chunks/chunk.ACP6OD52.js +0 -25
- package/dist/chunks/chunk.AFILWHIC.js +0 -25
- package/dist/chunks/chunk.AGISFW6Q.js +0 -24
- package/dist/chunks/chunk.AICUBU3M.js +0 -21
- package/dist/chunks/chunk.AJIRZN6Y.js +0 -135
- package/dist/chunks/chunk.AKJVRWNQ.js +0 -21
- package/dist/chunks/chunk.ALI6QZEM.js +0 -11
- package/dist/chunks/chunk.AO3TE6OO.js +0 -28
- package/dist/chunks/chunk.APYA5O42.js +0 -75
- package/dist/chunks/chunk.AYHK5X2Q.js +0 -11
- package/dist/chunks/chunk.AYTIGBHG.js +0 -27
- package/dist/chunks/chunk.BBPG5KUK.js +0 -11
- package/dist/chunks/chunk.BDIIMI44.js +0 -57
- package/dist/chunks/chunk.BHOG56PC.js +0 -11
- package/dist/chunks/chunk.BKOQBBHP.js +0 -11
- package/dist/chunks/chunk.C4EDDDZP.js +0 -436
- package/dist/chunks/chunk.C4N6S4CU.js +0 -779
- package/dist/chunks/chunk.C77OBES4.js +0 -1989
- package/dist/chunks/chunk.CARGLPIF.js +0 -365
- package/dist/chunks/chunk.CMJ5NHLO.js +0 -21
- package/dist/chunks/chunk.CMS726TE.js +0 -274
- package/dist/chunks/chunk.CPTGLP4H.js +0 -280
- package/dist/chunks/chunk.CQBCWRZ5.js +0 -11
- package/dist/chunks/chunk.CSLPEJQA.js +0 -67
- package/dist/chunks/chunk.CVWASNH7.js +0 -45
- package/dist/chunks/chunk.CW4K4ES7.js +0 -193
- package/dist/chunks/chunk.CZPKTWYW.js +0 -375
- package/dist/chunks/chunk.D3CWBQIU.js +0 -11
- package/dist/chunks/chunk.DBDHQHJF.js +0 -125
- package/dist/chunks/chunk.DCYMCTGJ.js +0 -11
- package/dist/chunks/chunk.DGNAHT5O.js +0 -126
- package/dist/chunks/chunk.DHOXWZLC.js +0 -24
- package/dist/chunks/chunk.DLJWHKDG.js +0 -27
- package/dist/chunks/chunk.DLNBO75L.js +0 -11
- package/dist/chunks/chunk.DUPI7OBI.js +0 -11
- package/dist/chunks/chunk.DX7B6P3L.js +0 -11
- package/dist/chunks/chunk.DXQDWC2V.js +0 -21
- package/dist/chunks/chunk.DYHJJ6CM.js +0 -21
- package/dist/chunks/chunk.DZMEAAZY.js +0 -11
- package/dist/chunks/chunk.E3QITMHV.js +0 -24
- package/dist/chunks/chunk.E7N2M5PB.js +0 -129
- package/dist/chunks/chunk.EFFSBDET.js +0 -11
- package/dist/chunks/chunk.EGETGKHB.js +0 -11
- package/dist/chunks/chunk.EI4MGYA6.js +0 -11
- package/dist/chunks/chunk.EMP36IRH.js +0 -231
- package/dist/chunks/chunk.EMTFOBWV.js +0 -227
- package/dist/chunks/chunk.EWVC7CRK.js +0 -11
- package/dist/chunks/chunk.EXDBFSCJ.js +0 -181
- package/dist/chunks/chunk.EZI37T6Z.js +0 -21
- package/dist/chunks/chunk.EZKEOQIT.js +0 -24
- package/dist/chunks/chunk.F3PGJPOO.js +0 -324
- package/dist/chunks/chunk.F7ATYMTK.js +0 -613
- package/dist/chunks/chunk.FBKI5Q5L.js +0 -21
- package/dist/chunks/chunk.FBUZA3LK.js +0 -1072
- package/dist/chunks/chunk.FCVKKB56.js +0 -11
- package/dist/chunks/chunk.FDJ2ONTM.js +0 -914
- package/dist/chunks/chunk.FIJ33HII.js +0 -11
- package/dist/chunks/chunk.FLGCPVYG.js +0 -29
- package/dist/chunks/chunk.FTNIUIGH.js +0 -11
- package/dist/chunks/chunk.FYTUQKLG.js +0 -448
- package/dist/chunks/chunk.FYZEFG6V.js +0 -11
- package/dist/chunks/chunk.FZA7GX63.js +0 -113
- package/dist/chunks/chunk.GAZLDGUU.js +0 -21
- package/dist/chunks/chunk.GCT4R7BO.js +0 -45
- package/dist/chunks/chunk.GFGGR7KF.js +0 -25
- package/dist/chunks/chunk.GKHFPL4L.js +0 -11
- package/dist/chunks/chunk.GLLURLYJ.js +0 -11
- package/dist/chunks/chunk.GU6TQBL7.js +0 -194
- package/dist/chunks/chunk.H7NCOC2B.js +0 -32
- package/dist/chunks/chunk.HEPT7ZDM.js +0 -11
- package/dist/chunks/chunk.HGLOTIBD.js +0 -943
- package/dist/chunks/chunk.HLIMA4GP.js +0 -745
- package/dist/chunks/chunk.HLS2XSYE.js +0 -63
- package/dist/chunks/chunk.HNKODWWU.js +0 -11
- package/dist/chunks/chunk.HWIKFEEJ.js +0 -64
- package/dist/chunks/chunk.HWISUOXS.js +0 -21
- package/dist/chunks/chunk.HXZZL45A.js +0 -52
- package/dist/chunks/chunk.ICRRR6TX.js +0 -29
- package/dist/chunks/chunk.IEEZPS3Q.js +0 -28
- package/dist/chunks/chunk.IGNQYR5D.js +0 -26
- package/dist/chunks/chunk.IOHKZQTM.js +0 -21
- package/dist/chunks/chunk.IP4SUDHR.js +0 -24
- package/dist/chunks/chunk.ITLQDY2M.js +0 -11
- package/dist/chunks/chunk.IXLNXJZR.js +0 -24
- package/dist/chunks/chunk.J6Y3GCLS.js +0 -90
- package/dist/chunks/chunk.JEVEALPR.js +0 -11
- package/dist/chunks/chunk.JIMT6QTL.js +0 -28
- package/dist/chunks/chunk.JMSDTYZJ.js +0 -11
- package/dist/chunks/chunk.JPAV5WKI.js +0 -11
- package/dist/chunks/chunk.JPOH47C7.js +0 -11
- package/dist/chunks/chunk.JRAKINUZ.js +0 -11
- package/dist/chunks/chunk.JZQG2AJ6.js +0 -21
- package/dist/chunks/chunk.K6ASXMF6.js +0 -31
- package/dist/chunks/chunk.K7UXKHRZ.js +0 -11
- package/dist/chunks/chunk.KB4PEQBR.js +0 -35
- package/dist/chunks/chunk.KF463LGT.js +0 -315
- package/dist/chunks/chunk.KF4M4Y2Y.js +0 -80
- package/dist/chunks/chunk.KFLGNRWS.js +0 -26
- package/dist/chunks/chunk.KWJKM2PO.js +0 -25
- package/dist/chunks/chunk.KX2DT32J.js +0 -11
- package/dist/chunks/chunk.KZVFAWNV.js +0 -241
- package/dist/chunks/chunk.L56SJ4TA.js +0 -11
- package/dist/chunks/chunk.L6E5HO3Z.js +0 -21
- package/dist/chunks/chunk.LBUGZWDV.js +0 -21
- package/dist/chunks/chunk.LKKLSMJO.js +0 -466
- package/dist/chunks/chunk.LLVNEYTU.js +0 -11
- package/dist/chunks/chunk.LN4XTIRI.js +0 -11
- package/dist/chunks/chunk.LOH5DDI5.js +0 -11
- package/dist/chunks/chunk.LU3IIOFG.js +0 -11
- package/dist/chunks/chunk.LV3ZJSGB.js +0 -627
- package/dist/chunks/chunk.LWS3KEL4.js +0 -358
- package/dist/chunks/chunk.LXPNMUZL.js +0 -100
- package/dist/chunks/chunk.MANWCUXD.js +0 -21
- package/dist/chunks/chunk.MCQB6PTH.js +0 -11
- package/dist/chunks/chunk.ME4JC37O.js +0 -27
- package/dist/chunks/chunk.MHGQ3F62.js +0 -86
- package/dist/chunks/chunk.MJ57NF7X.js +0 -11
- package/dist/chunks/chunk.MO7PEFZD.js +0 -11
- package/dist/chunks/chunk.MP3LN2WH.js +0 -11
- package/dist/chunks/chunk.MV6MBNLW.js +0 -11
- package/dist/chunks/chunk.MZSO4VVZ.js +0 -25
- package/dist/chunks/chunk.N73YH2MO.js +0 -212
- package/dist/chunks/chunk.NAOZZZET.js +0 -21
- package/dist/chunks/chunk.NCWAZHGF.js +0 -147
- package/dist/chunks/chunk.NE4I73ST.js +0 -26
- package/dist/chunks/chunk.NFVG6MDK.js +0 -34
- package/dist/chunks/chunk.NLVQARY3.js +0 -24
- package/dist/chunks/chunk.NO3UVFG5.js +0 -11
- package/dist/chunks/chunk.NV6QELLB.js +0 -286
- package/dist/chunks/chunk.NWWFENYX.js +0 -21
- package/dist/chunks/chunk.NXUWGOA7.js +0 -11
- package/dist/chunks/chunk.NYUX6K5S.js +0 -29
- package/dist/chunks/chunk.NZGJHDJZ.js +0 -29
- package/dist/chunks/chunk.O77IVQTJ.js +0 -521
- package/dist/chunks/chunk.O7AT5CKW.js +0 -424
- package/dist/chunks/chunk.OJUYYQ3O.js +0 -21
- package/dist/chunks/chunk.OMJL4YJK.js +0 -134
- package/dist/chunks/chunk.OMPRW6K7.js +0 -11
- package/dist/chunks/chunk.OMPXBH6X.js +0 -29
- package/dist/chunks/chunk.ONWRG5FW.js +0 -116
- package/dist/chunks/chunk.OOYA6KTE.js +0 -26
- package/dist/chunks/chunk.OQ2A63ZK.js +0 -21
- package/dist/chunks/chunk.PCDA6AMS.js +0 -11
- package/dist/chunks/chunk.PGMP6YI2.js +0 -11
- package/dist/chunks/chunk.PJAGSBU3.js +0 -75
- package/dist/chunks/chunk.PPSV4Q5G.js +0 -11
- package/dist/chunks/chunk.PW4LYIPV.js +0 -11
- package/dist/chunks/chunk.PY2CWMTR.js +0 -24
- package/dist/chunks/chunk.PYTHSOJF.js +0 -167
- package/dist/chunks/chunk.QEJ5VJHW.js +0 -29
- package/dist/chunks/chunk.QIFEUHLZ.js +0 -11
- package/dist/chunks/chunk.QTGFAMLE.js +0 -263
- package/dist/chunks/chunk.QVH3CWMT.js +0 -25
- package/dist/chunks/chunk.QX654CU2.js +0 -91
- package/dist/chunks/chunk.R4SPJMYF.js +0 -21
- package/dist/chunks/chunk.RADMLWU7.js +0 -550
- package/dist/chunks/chunk.RI5U27UI.js +0 -24
- package/dist/chunks/chunk.RQBZXLSA.js +0 -27
- package/dist/chunks/chunk.RXWGLDXO.js +0 -11
- package/dist/chunks/chunk.RZCAKQIK.js +0 -11
- package/dist/chunks/chunk.RZP5EY6V.js +0 -213
- package/dist/chunks/chunk.S2INCU7H.js +0 -11
- package/dist/chunks/chunk.SFDFUADS.js +0 -11
- package/dist/chunks/chunk.SIEDDFCW.js +0 -86
- package/dist/chunks/chunk.SQHR3WP2.js +0 -11
- package/dist/chunks/chunk.ST2GH7NG.js +0 -11
- package/dist/chunks/chunk.STBXW3EH.js +0 -247
- package/dist/chunks/chunk.SU3HOX5Y.js +0 -151
- package/dist/chunks/chunk.TAKFSDJQ.js +0 -22
- package/dist/chunks/chunk.TDKHRKA4.js +0 -11
- package/dist/chunks/chunk.TIAHU26M.js +0 -25
- package/dist/chunks/chunk.TP6F2V7I.js +0 -827
- package/dist/chunks/chunk.TPKX653Q.js +0 -29
- package/dist/chunks/chunk.TWJFOM4Q.js +0 -27
- package/dist/chunks/chunk.TYYKBLRR.js +0 -24
- package/dist/chunks/chunk.U36CIGF4.js +0 -119
- package/dist/chunks/chunk.U753CLBG.js +0 -21
- package/dist/chunks/chunk.UA3HNRFH.js +0 -33
- package/dist/chunks/chunk.UBSXYSRE.js +0 -174
- package/dist/chunks/chunk.UCV5XS4S.js +0 -494
- package/dist/chunks/chunk.UD64XP2A.js +0 -158
- package/dist/chunks/chunk.UGTM5JLP.js +0 -11
- package/dist/chunks/chunk.URFUMEGA.js +0 -11
- package/dist/chunks/chunk.UUH6SUAP.js +0 -317
- package/dist/chunks/chunk.UUUZ3RF7.js +0 -26
- package/dist/chunks/chunk.VAGF7HHH.js +0 -27
- package/dist/chunks/chunk.VAW2QNAO.js +0 -59
- package/dist/chunks/chunk.VB63APDT.js +0 -11
- package/dist/chunks/chunk.VCAS3G7Y.js +0 -28
- package/dist/chunks/chunk.VGDQFK72.js +0 -191
- package/dist/chunks/chunk.VGRRYEQK.js +0 -25
- package/dist/chunks/chunk.VHU5DTJX.js +0 -24
- package/dist/chunks/chunk.VJRDXBNJ.js +0 -11
- package/dist/chunks/chunk.VLNNKH36.js +0 -1207
- package/dist/chunks/chunk.VMDP5JY5.js +0 -26
- package/dist/chunks/chunk.VPRAE4VO.js +0 -11
- package/dist/chunks/chunk.VU32UTJO.js +0 -28
- package/dist/chunks/chunk.WFQEZIPO.js +0 -384
- package/dist/chunks/chunk.WHUSC7KI.js +0 -24
- package/dist/chunks/chunk.WKS5FVNQ.js +0 -11
- package/dist/chunks/chunk.WLCPDTAB.js +0 -949
- package/dist/chunks/chunk.WMKMSUPK.js +0 -21
- package/dist/chunks/chunk.WWIR2RL5.js +0 -21
- package/dist/chunks/chunk.WXLU4CG2.js +0 -24
- package/dist/chunks/chunk.X3FNW36A.js +0 -25
- package/dist/chunks/chunk.X3G2XJFM.js +0 -25
- package/dist/chunks/chunk.XKM6L5EF.js +0 -24
- package/dist/chunks/chunk.XVIZTC4N.js +0 -85
- package/dist/chunks/chunk.XXXT67WA.js +0 -87
- package/dist/chunks/chunk.Y2FA3ZA3.js +0 -22
- package/dist/chunks/chunk.Y3QHRHOE.js +0 -681
- package/dist/chunks/chunk.Y4A3VBMO.js +0 -322
- package/dist/chunks/chunk.YCY6XHOU.js +0 -11
- package/dist/chunks/chunk.YGV7UH2O.js +0 -234
- package/dist/chunks/chunk.YLHXDPDI.js +0 -73
- package/dist/chunks/chunk.YR5IVBWZ.js +0 -27
- package/dist/chunks/chunk.YVCP2DSL.js +0 -21
- package/dist/chunks/chunk.YWVQ6KC7.js +0 -11
- package/dist/chunks/chunk.YXQ46RGL.js +0 -11
- package/dist/chunks/chunk.ZA36T6MA.js +0 -25
- package/dist/chunks/chunk.ZCQ5CKJE.js +0 -21
- package/dist/chunks/chunk.ZCQI25E5.js +0 -42
- package/dist/chunks/chunk.ZDYZB65A.js +0 -93
- package/dist/chunks/chunk.ZEO5ZBYK.js +0 -25
- package/dist/chunks/chunk.ZIOSY2WX.js +0 -111
- package/dist/chunks/chunk.ZKCDLDOJ.js +0 -11
- package/dist/chunks/chunk.ZKETRJJ5.js +0 -11
- package/dist/chunks/chunk.ZOPQFLPQ.js +0 -11
- package/dist/chunks/chunk.ZP7XEUBR.js +0 -192
- package/dist/chunks/chunk.ZPCYARIA.js +0 -293
- package/dist/chunks/chunk.ZSZWCPY3.js +0 -21
- package/dist/chunks/chunk.ZUBT3DKB.js +0 -26
- package/dist/chunks/chunk.ZY4BQDOB.js +0 -11
|
@@ -0,0 +1,2982 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__publicField,
|
|
4
|
+
__restKey,
|
|
5
|
+
__spreadProps,
|
|
6
|
+
__spreadValues
|
|
7
|
+
} from "./chunk.CZCSAYQZ.js";
|
|
8
|
+
|
|
9
|
+
// node_modules/@tanstack/table-core/build/lib/index.mjs
|
|
10
|
+
function createColumnHelper() {
|
|
11
|
+
return {
|
|
12
|
+
accessor: (accessor, column) => {
|
|
13
|
+
return typeof accessor === "function" ? __spreadProps(__spreadValues({}, column), {
|
|
14
|
+
accessorFn: accessor
|
|
15
|
+
}) : __spreadProps(__spreadValues({}, column), {
|
|
16
|
+
accessorKey: accessor
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
display: (column) => column,
|
|
20
|
+
group: (column) => column
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function functionalUpdate(updater, input) {
|
|
24
|
+
return typeof updater === "function" ? updater(input) : updater;
|
|
25
|
+
}
|
|
26
|
+
function makeStateUpdater(key, instance) {
|
|
27
|
+
return (updater) => {
|
|
28
|
+
instance.setState((old) => {
|
|
29
|
+
return __spreadProps(__spreadValues({}, old), {
|
|
30
|
+
[key]: functionalUpdate(updater, old[key])
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function isFunction(d) {
|
|
36
|
+
return d instanceof Function;
|
|
37
|
+
}
|
|
38
|
+
function isNumberArray(d) {
|
|
39
|
+
return Array.isArray(d) && d.every((val) => typeof val === "number");
|
|
40
|
+
}
|
|
41
|
+
function flattenBy(arr, getChildren) {
|
|
42
|
+
const flat = [];
|
|
43
|
+
const recurse = (subArr) => {
|
|
44
|
+
subArr.forEach((item) => {
|
|
45
|
+
flat.push(item);
|
|
46
|
+
const children = getChildren(item);
|
|
47
|
+
if (children != null && children.length) {
|
|
48
|
+
recurse(children);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
recurse(arr);
|
|
53
|
+
return flat;
|
|
54
|
+
}
|
|
55
|
+
function memo(getDeps, fn, opts) {
|
|
56
|
+
let deps = [];
|
|
57
|
+
let result;
|
|
58
|
+
return (depArgs) => {
|
|
59
|
+
let depTime;
|
|
60
|
+
if (opts.key && opts.debug) depTime = Date.now();
|
|
61
|
+
const newDeps = getDeps(depArgs);
|
|
62
|
+
const depsChanged = newDeps.length !== deps.length || newDeps.some((dep, index) => deps[index] !== dep);
|
|
63
|
+
if (!depsChanged) {
|
|
64
|
+
return result;
|
|
65
|
+
}
|
|
66
|
+
deps = newDeps;
|
|
67
|
+
let resultTime;
|
|
68
|
+
if (opts.key && opts.debug) resultTime = Date.now();
|
|
69
|
+
result = fn(...newDeps);
|
|
70
|
+
opts == null || opts.onChange == null || opts.onChange(result);
|
|
71
|
+
if (opts.key && opts.debug) {
|
|
72
|
+
if (opts != null && opts.debug()) {
|
|
73
|
+
const depEndTime = Math.round((Date.now() - depTime) * 100) / 100;
|
|
74
|
+
const resultEndTime = Math.round((Date.now() - resultTime) * 100) / 100;
|
|
75
|
+
const resultFpsPercentage = resultEndTime / 16;
|
|
76
|
+
const pad = (str, num) => {
|
|
77
|
+
str = String(str);
|
|
78
|
+
while (str.length < num) {
|
|
79
|
+
str = " " + str;
|
|
80
|
+
}
|
|
81
|
+
return str;
|
|
82
|
+
};
|
|
83
|
+
console.info(`%c\u23F1 ${pad(resultEndTime, 5)} /${pad(depEndTime, 5)} ms`, `
|
|
84
|
+
font-size: .6rem;
|
|
85
|
+
font-weight: bold;
|
|
86
|
+
color: hsl(${Math.max(0, Math.min(120 - 120 * resultFpsPercentage, 120))}deg 100% 31%);`, opts == null ? void 0 : opts.key);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return result;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function getMemoOptions(tableOptions, debugLevel, key, onChange) {
|
|
93
|
+
return {
|
|
94
|
+
debug: () => {
|
|
95
|
+
var _tableOptions$debugAl;
|
|
96
|
+
return (_tableOptions$debugAl = tableOptions == null ? void 0 : tableOptions.debugAll) != null ? _tableOptions$debugAl : tableOptions[debugLevel];
|
|
97
|
+
},
|
|
98
|
+
key: false,
|
|
99
|
+
onChange
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function createCell(table, row, column, columnId) {
|
|
103
|
+
const getRenderValue = () => {
|
|
104
|
+
var _cell$getValue;
|
|
105
|
+
return (_cell$getValue = cell.getValue()) != null ? _cell$getValue : table.options.renderFallbackValue;
|
|
106
|
+
};
|
|
107
|
+
const cell = {
|
|
108
|
+
id: `${row.id}_${column.id}`,
|
|
109
|
+
row,
|
|
110
|
+
column,
|
|
111
|
+
getValue: () => row.getValue(columnId),
|
|
112
|
+
renderValue: getRenderValue,
|
|
113
|
+
getContext: memo(() => [table, column, row, cell], (table2, column2, row2, cell2) => ({
|
|
114
|
+
table: table2,
|
|
115
|
+
column: column2,
|
|
116
|
+
row: row2,
|
|
117
|
+
cell: cell2,
|
|
118
|
+
getValue: cell2.getValue,
|
|
119
|
+
renderValue: cell2.renderValue
|
|
120
|
+
}), getMemoOptions(table.options, "debugCells", "cell.getContext"))
|
|
121
|
+
};
|
|
122
|
+
table._features.forEach((feature) => {
|
|
123
|
+
feature.createCell == null || feature.createCell(cell, column, row, table);
|
|
124
|
+
}, {});
|
|
125
|
+
return cell;
|
|
126
|
+
}
|
|
127
|
+
function createColumn(table, columnDef, depth, parent) {
|
|
128
|
+
var _ref, _resolvedColumnDef$id;
|
|
129
|
+
const defaultColumn = table._getDefaultColumnDef();
|
|
130
|
+
const resolvedColumnDef = __spreadValues(__spreadValues({}, defaultColumn), columnDef);
|
|
131
|
+
const accessorKey = resolvedColumnDef.accessorKey;
|
|
132
|
+
let id = (_ref = (_resolvedColumnDef$id = resolvedColumnDef.id) != null ? _resolvedColumnDef$id : accessorKey ? typeof String.prototype.replaceAll === "function" ? accessorKey.replaceAll(".", "_") : accessorKey.replace(/\./g, "_") : void 0) != null ? _ref : typeof resolvedColumnDef.header === "string" ? resolvedColumnDef.header : void 0;
|
|
133
|
+
let accessorFn;
|
|
134
|
+
if (resolvedColumnDef.accessorFn) {
|
|
135
|
+
accessorFn = resolvedColumnDef.accessorFn;
|
|
136
|
+
} else if (accessorKey) {
|
|
137
|
+
if (accessorKey.includes(".")) {
|
|
138
|
+
accessorFn = (originalRow) => {
|
|
139
|
+
let result = originalRow;
|
|
140
|
+
for (const key of accessorKey.split(".")) {
|
|
141
|
+
var _result;
|
|
142
|
+
result = (_result = result) == null ? void 0 : _result[key];
|
|
143
|
+
if (false) {
|
|
144
|
+
console.warn(`"${key}" in deeply nested key "${accessorKey}" returned undefined.`);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return result;
|
|
148
|
+
};
|
|
149
|
+
} else {
|
|
150
|
+
accessorFn = (originalRow) => originalRow[resolvedColumnDef.accessorKey];
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
if (!id) {
|
|
154
|
+
if (false) {
|
|
155
|
+
throw new Error(resolvedColumnDef.accessorFn ? `Columns require an id when using an accessorFn` : `Columns require an id when using a non-string header`);
|
|
156
|
+
}
|
|
157
|
+
throw new Error();
|
|
158
|
+
}
|
|
159
|
+
let column = {
|
|
160
|
+
id: `${String(id)}`,
|
|
161
|
+
accessorFn,
|
|
162
|
+
parent,
|
|
163
|
+
depth,
|
|
164
|
+
columnDef: resolvedColumnDef,
|
|
165
|
+
columns: [],
|
|
166
|
+
getFlatColumns: memo(() => [true], () => {
|
|
167
|
+
var _column$columns;
|
|
168
|
+
return [column, ...(_column$columns = column.columns) == null ? void 0 : _column$columns.flatMap((d) => d.getFlatColumns())];
|
|
169
|
+
}, getMemoOptions(table.options, "debugColumns", "column.getFlatColumns")),
|
|
170
|
+
getLeafColumns: memo(() => [table._getOrderColumnsFn()], (orderColumns2) => {
|
|
171
|
+
var _column$columns2;
|
|
172
|
+
if ((_column$columns2 = column.columns) != null && _column$columns2.length) {
|
|
173
|
+
let leafColumns = column.columns.flatMap((column2) => column2.getLeafColumns());
|
|
174
|
+
return orderColumns2(leafColumns);
|
|
175
|
+
}
|
|
176
|
+
return [column];
|
|
177
|
+
}, getMemoOptions(table.options, "debugColumns", "column.getLeafColumns"))
|
|
178
|
+
};
|
|
179
|
+
for (const feature of table._features) {
|
|
180
|
+
feature.createColumn == null || feature.createColumn(column, table);
|
|
181
|
+
}
|
|
182
|
+
return column;
|
|
183
|
+
}
|
|
184
|
+
var debug = "debugHeaders";
|
|
185
|
+
function createHeader(table, column, options) {
|
|
186
|
+
var _options$id;
|
|
187
|
+
const id = (_options$id = options.id) != null ? _options$id : column.id;
|
|
188
|
+
let header = {
|
|
189
|
+
id,
|
|
190
|
+
column,
|
|
191
|
+
index: options.index,
|
|
192
|
+
isPlaceholder: !!options.isPlaceholder,
|
|
193
|
+
placeholderId: options.placeholderId,
|
|
194
|
+
depth: options.depth,
|
|
195
|
+
subHeaders: [],
|
|
196
|
+
colSpan: 0,
|
|
197
|
+
rowSpan: 0,
|
|
198
|
+
headerGroup: null,
|
|
199
|
+
getLeafHeaders: () => {
|
|
200
|
+
const leafHeaders = [];
|
|
201
|
+
const recurseHeader = (h) => {
|
|
202
|
+
if (h.subHeaders && h.subHeaders.length) {
|
|
203
|
+
h.subHeaders.map(recurseHeader);
|
|
204
|
+
}
|
|
205
|
+
leafHeaders.push(h);
|
|
206
|
+
};
|
|
207
|
+
recurseHeader(header);
|
|
208
|
+
return leafHeaders;
|
|
209
|
+
},
|
|
210
|
+
getContext: () => ({
|
|
211
|
+
table,
|
|
212
|
+
header,
|
|
213
|
+
column
|
|
214
|
+
})
|
|
215
|
+
};
|
|
216
|
+
table._features.forEach((feature) => {
|
|
217
|
+
feature.createHeader == null || feature.createHeader(header, table);
|
|
218
|
+
});
|
|
219
|
+
return header;
|
|
220
|
+
}
|
|
221
|
+
var Headers = {
|
|
222
|
+
createTable: (table) => {
|
|
223
|
+
table.getHeaderGroups = memo(() => [table.getAllColumns(), table.getVisibleLeafColumns(), table.getState().columnPinning.left, table.getState().columnPinning.right], (allColumns, leafColumns, left, right) => {
|
|
224
|
+
var _left$map$filter, _right$map$filter;
|
|
225
|
+
const leftColumns = (_left$map$filter = left == null ? void 0 : left.map((columnId) => leafColumns.find((d) => d.id === columnId)).filter(Boolean)) != null ? _left$map$filter : [];
|
|
226
|
+
const rightColumns = (_right$map$filter = right == null ? void 0 : right.map((columnId) => leafColumns.find((d) => d.id === columnId)).filter(Boolean)) != null ? _right$map$filter : [];
|
|
227
|
+
const centerColumns = leafColumns.filter((column) => !(left != null && left.includes(column.id)) && !(right != null && right.includes(column.id)));
|
|
228
|
+
const headerGroups = buildHeaderGroups(allColumns, [...leftColumns, ...centerColumns, ...rightColumns], table);
|
|
229
|
+
return headerGroups;
|
|
230
|
+
}, getMemoOptions(table.options, debug, "getHeaderGroups"));
|
|
231
|
+
table.getCenterHeaderGroups = memo(() => [table.getAllColumns(), table.getVisibleLeafColumns(), table.getState().columnPinning.left, table.getState().columnPinning.right], (allColumns, leafColumns, left, right) => {
|
|
232
|
+
leafColumns = leafColumns.filter((column) => !(left != null && left.includes(column.id)) && !(right != null && right.includes(column.id)));
|
|
233
|
+
return buildHeaderGroups(allColumns, leafColumns, table, "center");
|
|
234
|
+
}, getMemoOptions(table.options, debug, "getCenterHeaderGroups"));
|
|
235
|
+
table.getLeftHeaderGroups = memo(() => [table.getAllColumns(), table.getVisibleLeafColumns(), table.getState().columnPinning.left], (allColumns, leafColumns, left) => {
|
|
236
|
+
var _left$map$filter2;
|
|
237
|
+
const orderedLeafColumns = (_left$map$filter2 = left == null ? void 0 : left.map((columnId) => leafColumns.find((d) => d.id === columnId)).filter(Boolean)) != null ? _left$map$filter2 : [];
|
|
238
|
+
return buildHeaderGroups(allColumns, orderedLeafColumns, table, "left");
|
|
239
|
+
}, getMemoOptions(table.options, debug, "getLeftHeaderGroups"));
|
|
240
|
+
table.getRightHeaderGroups = memo(() => [table.getAllColumns(), table.getVisibleLeafColumns(), table.getState().columnPinning.right], (allColumns, leafColumns, right) => {
|
|
241
|
+
var _right$map$filter2;
|
|
242
|
+
const orderedLeafColumns = (_right$map$filter2 = right == null ? void 0 : right.map((columnId) => leafColumns.find((d) => d.id === columnId)).filter(Boolean)) != null ? _right$map$filter2 : [];
|
|
243
|
+
return buildHeaderGroups(allColumns, orderedLeafColumns, table, "right");
|
|
244
|
+
}, getMemoOptions(table.options, debug, "getRightHeaderGroups"));
|
|
245
|
+
table.getFooterGroups = memo(() => [table.getHeaderGroups()], (headerGroups) => {
|
|
246
|
+
return [...headerGroups].reverse();
|
|
247
|
+
}, getMemoOptions(table.options, debug, "getFooterGroups"));
|
|
248
|
+
table.getLeftFooterGroups = memo(() => [table.getLeftHeaderGroups()], (headerGroups) => {
|
|
249
|
+
return [...headerGroups].reverse();
|
|
250
|
+
}, getMemoOptions(table.options, debug, "getLeftFooterGroups"));
|
|
251
|
+
table.getCenterFooterGroups = memo(() => [table.getCenterHeaderGroups()], (headerGroups) => {
|
|
252
|
+
return [...headerGroups].reverse();
|
|
253
|
+
}, getMemoOptions(table.options, debug, "getCenterFooterGroups"));
|
|
254
|
+
table.getRightFooterGroups = memo(() => [table.getRightHeaderGroups()], (headerGroups) => {
|
|
255
|
+
return [...headerGroups].reverse();
|
|
256
|
+
}, getMemoOptions(table.options, debug, "getRightFooterGroups"));
|
|
257
|
+
table.getFlatHeaders = memo(() => [table.getHeaderGroups()], (headerGroups) => {
|
|
258
|
+
return headerGroups.map((headerGroup) => {
|
|
259
|
+
return headerGroup.headers;
|
|
260
|
+
}).flat();
|
|
261
|
+
}, getMemoOptions(table.options, debug, "getFlatHeaders"));
|
|
262
|
+
table.getLeftFlatHeaders = memo(() => [table.getLeftHeaderGroups()], (left) => {
|
|
263
|
+
return left.map((headerGroup) => {
|
|
264
|
+
return headerGroup.headers;
|
|
265
|
+
}).flat();
|
|
266
|
+
}, getMemoOptions(table.options, debug, "getLeftFlatHeaders"));
|
|
267
|
+
table.getCenterFlatHeaders = memo(() => [table.getCenterHeaderGroups()], (left) => {
|
|
268
|
+
return left.map((headerGroup) => {
|
|
269
|
+
return headerGroup.headers;
|
|
270
|
+
}).flat();
|
|
271
|
+
}, getMemoOptions(table.options, debug, "getCenterFlatHeaders"));
|
|
272
|
+
table.getRightFlatHeaders = memo(() => [table.getRightHeaderGroups()], (left) => {
|
|
273
|
+
return left.map((headerGroup) => {
|
|
274
|
+
return headerGroup.headers;
|
|
275
|
+
}).flat();
|
|
276
|
+
}, getMemoOptions(table.options, debug, "getRightFlatHeaders"));
|
|
277
|
+
table.getCenterLeafHeaders = memo(() => [table.getCenterFlatHeaders()], (flatHeaders) => {
|
|
278
|
+
return flatHeaders.filter((header) => {
|
|
279
|
+
var _header$subHeaders;
|
|
280
|
+
return !((_header$subHeaders = header.subHeaders) != null && _header$subHeaders.length);
|
|
281
|
+
});
|
|
282
|
+
}, getMemoOptions(table.options, debug, "getCenterLeafHeaders"));
|
|
283
|
+
table.getLeftLeafHeaders = memo(() => [table.getLeftFlatHeaders()], (flatHeaders) => {
|
|
284
|
+
return flatHeaders.filter((header) => {
|
|
285
|
+
var _header$subHeaders2;
|
|
286
|
+
return !((_header$subHeaders2 = header.subHeaders) != null && _header$subHeaders2.length);
|
|
287
|
+
});
|
|
288
|
+
}, getMemoOptions(table.options, debug, "getLeftLeafHeaders"));
|
|
289
|
+
table.getRightLeafHeaders = memo(() => [table.getRightFlatHeaders()], (flatHeaders) => {
|
|
290
|
+
return flatHeaders.filter((header) => {
|
|
291
|
+
var _header$subHeaders3;
|
|
292
|
+
return !((_header$subHeaders3 = header.subHeaders) != null && _header$subHeaders3.length);
|
|
293
|
+
});
|
|
294
|
+
}, getMemoOptions(table.options, debug, "getRightLeafHeaders"));
|
|
295
|
+
table.getLeafHeaders = memo(() => [table.getLeftHeaderGroups(), table.getCenterHeaderGroups(), table.getRightHeaderGroups()], (left, center, right) => {
|
|
296
|
+
var _left$0$headers, _left$, _center$0$headers, _center$, _right$0$headers, _right$;
|
|
297
|
+
return [...(_left$0$headers = (_left$ = left[0]) == null ? void 0 : _left$.headers) != null ? _left$0$headers : [], ...(_center$0$headers = (_center$ = center[0]) == null ? void 0 : _center$.headers) != null ? _center$0$headers : [], ...(_right$0$headers = (_right$ = right[0]) == null ? void 0 : _right$.headers) != null ? _right$0$headers : []].map((header) => {
|
|
298
|
+
return header.getLeafHeaders();
|
|
299
|
+
}).flat();
|
|
300
|
+
}, getMemoOptions(table.options, debug, "getLeafHeaders"));
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
function buildHeaderGroups(allColumns, columnsToGroup, table, headerFamily) {
|
|
304
|
+
var _headerGroups$0$heade, _headerGroups$;
|
|
305
|
+
let maxDepth = 0;
|
|
306
|
+
const findMaxDepth = function(columns, depth) {
|
|
307
|
+
if (depth === void 0) {
|
|
308
|
+
depth = 1;
|
|
309
|
+
}
|
|
310
|
+
maxDepth = Math.max(maxDepth, depth);
|
|
311
|
+
columns.filter((column) => column.getIsVisible()).forEach((column) => {
|
|
312
|
+
var _column$columns;
|
|
313
|
+
if ((_column$columns = column.columns) != null && _column$columns.length) {
|
|
314
|
+
findMaxDepth(column.columns, depth + 1);
|
|
315
|
+
}
|
|
316
|
+
}, 0);
|
|
317
|
+
};
|
|
318
|
+
findMaxDepth(allColumns);
|
|
319
|
+
let headerGroups = [];
|
|
320
|
+
const createHeaderGroup = (headersToGroup, depth) => {
|
|
321
|
+
const headerGroup = {
|
|
322
|
+
depth,
|
|
323
|
+
id: [headerFamily, `${depth}`].filter(Boolean).join("_"),
|
|
324
|
+
headers: []
|
|
325
|
+
};
|
|
326
|
+
const pendingParentHeaders = [];
|
|
327
|
+
headersToGroup.forEach((headerToGroup) => {
|
|
328
|
+
const latestPendingParentHeader = [...pendingParentHeaders].reverse()[0];
|
|
329
|
+
const isLeafHeader = headerToGroup.column.depth === headerGroup.depth;
|
|
330
|
+
let column;
|
|
331
|
+
let isPlaceholder = false;
|
|
332
|
+
if (isLeafHeader && headerToGroup.column.parent) {
|
|
333
|
+
column = headerToGroup.column.parent;
|
|
334
|
+
} else {
|
|
335
|
+
column = headerToGroup.column;
|
|
336
|
+
isPlaceholder = true;
|
|
337
|
+
}
|
|
338
|
+
if (latestPendingParentHeader && (latestPendingParentHeader == null ? void 0 : latestPendingParentHeader.column) === column) {
|
|
339
|
+
latestPendingParentHeader.subHeaders.push(headerToGroup);
|
|
340
|
+
} else {
|
|
341
|
+
const header = createHeader(table, column, {
|
|
342
|
+
id: [headerFamily, depth, column.id, headerToGroup == null ? void 0 : headerToGroup.id].filter(Boolean).join("_"),
|
|
343
|
+
isPlaceholder,
|
|
344
|
+
placeholderId: isPlaceholder ? `${pendingParentHeaders.filter((d) => d.column === column).length}` : void 0,
|
|
345
|
+
depth,
|
|
346
|
+
index: pendingParentHeaders.length
|
|
347
|
+
});
|
|
348
|
+
header.subHeaders.push(headerToGroup);
|
|
349
|
+
pendingParentHeaders.push(header);
|
|
350
|
+
}
|
|
351
|
+
headerGroup.headers.push(headerToGroup);
|
|
352
|
+
headerToGroup.headerGroup = headerGroup;
|
|
353
|
+
});
|
|
354
|
+
headerGroups.push(headerGroup);
|
|
355
|
+
if (depth > 0) {
|
|
356
|
+
createHeaderGroup(pendingParentHeaders, depth - 1);
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
const bottomHeaders = columnsToGroup.map((column, index) => createHeader(table, column, {
|
|
360
|
+
depth: maxDepth,
|
|
361
|
+
index
|
|
362
|
+
}));
|
|
363
|
+
createHeaderGroup(bottomHeaders, maxDepth - 1);
|
|
364
|
+
headerGroups.reverse();
|
|
365
|
+
const recurseHeadersForSpans = (headers) => {
|
|
366
|
+
const filteredHeaders = headers.filter((header) => header.column.getIsVisible());
|
|
367
|
+
return filteredHeaders.map((header) => {
|
|
368
|
+
let colSpan = 0;
|
|
369
|
+
let rowSpan = 0;
|
|
370
|
+
let childRowSpans = [0];
|
|
371
|
+
if (header.subHeaders && header.subHeaders.length) {
|
|
372
|
+
childRowSpans = [];
|
|
373
|
+
recurseHeadersForSpans(header.subHeaders).forEach((_ref) => {
|
|
374
|
+
let {
|
|
375
|
+
colSpan: childColSpan,
|
|
376
|
+
rowSpan: childRowSpan
|
|
377
|
+
} = _ref;
|
|
378
|
+
colSpan += childColSpan;
|
|
379
|
+
childRowSpans.push(childRowSpan);
|
|
380
|
+
});
|
|
381
|
+
} else {
|
|
382
|
+
colSpan = 1;
|
|
383
|
+
}
|
|
384
|
+
const minChildRowSpan = Math.min(...childRowSpans);
|
|
385
|
+
rowSpan = rowSpan + minChildRowSpan;
|
|
386
|
+
header.colSpan = colSpan;
|
|
387
|
+
header.rowSpan = rowSpan;
|
|
388
|
+
return {
|
|
389
|
+
colSpan,
|
|
390
|
+
rowSpan
|
|
391
|
+
};
|
|
392
|
+
});
|
|
393
|
+
};
|
|
394
|
+
recurseHeadersForSpans((_headerGroups$0$heade = (_headerGroups$ = headerGroups[0]) == null ? void 0 : _headerGroups$.headers) != null ? _headerGroups$0$heade : []);
|
|
395
|
+
return headerGroups;
|
|
396
|
+
}
|
|
397
|
+
var createRow = (table, id, original, rowIndex, depth, subRows, parentId) => {
|
|
398
|
+
let row = {
|
|
399
|
+
id,
|
|
400
|
+
index: rowIndex,
|
|
401
|
+
original,
|
|
402
|
+
depth,
|
|
403
|
+
parentId,
|
|
404
|
+
_valuesCache: {},
|
|
405
|
+
_uniqueValuesCache: {},
|
|
406
|
+
getValue: (columnId) => {
|
|
407
|
+
if (row._valuesCache.hasOwnProperty(columnId)) {
|
|
408
|
+
return row._valuesCache[columnId];
|
|
409
|
+
}
|
|
410
|
+
const column = table.getColumn(columnId);
|
|
411
|
+
if (!(column != null && column.accessorFn)) {
|
|
412
|
+
return void 0;
|
|
413
|
+
}
|
|
414
|
+
row._valuesCache[columnId] = column.accessorFn(row.original, rowIndex);
|
|
415
|
+
return row._valuesCache[columnId];
|
|
416
|
+
},
|
|
417
|
+
getUniqueValues: (columnId) => {
|
|
418
|
+
if (row._uniqueValuesCache.hasOwnProperty(columnId)) {
|
|
419
|
+
return row._uniqueValuesCache[columnId];
|
|
420
|
+
}
|
|
421
|
+
const column = table.getColumn(columnId);
|
|
422
|
+
if (!(column != null && column.accessorFn)) {
|
|
423
|
+
return void 0;
|
|
424
|
+
}
|
|
425
|
+
if (!column.columnDef.getUniqueValues) {
|
|
426
|
+
row._uniqueValuesCache[columnId] = [row.getValue(columnId)];
|
|
427
|
+
return row._uniqueValuesCache[columnId];
|
|
428
|
+
}
|
|
429
|
+
row._uniqueValuesCache[columnId] = column.columnDef.getUniqueValues(row.original, rowIndex);
|
|
430
|
+
return row._uniqueValuesCache[columnId];
|
|
431
|
+
},
|
|
432
|
+
renderValue: (columnId) => {
|
|
433
|
+
var _row$getValue;
|
|
434
|
+
return (_row$getValue = row.getValue(columnId)) != null ? _row$getValue : table.options.renderFallbackValue;
|
|
435
|
+
},
|
|
436
|
+
subRows: subRows != null ? subRows : [],
|
|
437
|
+
getLeafRows: () => flattenBy(row.subRows, (d) => d.subRows),
|
|
438
|
+
getParentRow: () => row.parentId ? table.getRow(row.parentId, true) : void 0,
|
|
439
|
+
getParentRows: () => {
|
|
440
|
+
let parentRows = [];
|
|
441
|
+
let currentRow = row;
|
|
442
|
+
while (true) {
|
|
443
|
+
const parentRow = currentRow.getParentRow();
|
|
444
|
+
if (!parentRow) break;
|
|
445
|
+
parentRows.push(parentRow);
|
|
446
|
+
currentRow = parentRow;
|
|
447
|
+
}
|
|
448
|
+
return parentRows.reverse();
|
|
449
|
+
},
|
|
450
|
+
getAllCells: memo(() => [table.getAllLeafColumns()], (leafColumns) => {
|
|
451
|
+
return leafColumns.map((column) => {
|
|
452
|
+
return createCell(table, row, column, column.id);
|
|
453
|
+
});
|
|
454
|
+
}, getMemoOptions(table.options, "debugRows", "getAllCells")),
|
|
455
|
+
_getAllCellsByColumnId: memo(() => [row.getAllCells()], (allCells) => {
|
|
456
|
+
return allCells.reduce((acc, cell) => {
|
|
457
|
+
acc[cell.column.id] = cell;
|
|
458
|
+
return acc;
|
|
459
|
+
}, {});
|
|
460
|
+
}, getMemoOptions(table.options, "debugRows", "getAllCellsByColumnId"))
|
|
461
|
+
};
|
|
462
|
+
for (let i = 0; i < table._features.length; i++) {
|
|
463
|
+
const feature = table._features[i];
|
|
464
|
+
feature == null || feature.createRow == null || feature.createRow(row, table);
|
|
465
|
+
}
|
|
466
|
+
return row;
|
|
467
|
+
};
|
|
468
|
+
var ColumnFaceting = {
|
|
469
|
+
createColumn: (column, table) => {
|
|
470
|
+
column._getFacetedRowModel = table.options.getFacetedRowModel && table.options.getFacetedRowModel(table, column.id);
|
|
471
|
+
column.getFacetedRowModel = () => {
|
|
472
|
+
if (!column._getFacetedRowModel) {
|
|
473
|
+
return table.getPreFilteredRowModel();
|
|
474
|
+
}
|
|
475
|
+
return column._getFacetedRowModel();
|
|
476
|
+
};
|
|
477
|
+
column._getFacetedUniqueValues = table.options.getFacetedUniqueValues && table.options.getFacetedUniqueValues(table, column.id);
|
|
478
|
+
column.getFacetedUniqueValues = () => {
|
|
479
|
+
if (!column._getFacetedUniqueValues) {
|
|
480
|
+
return /* @__PURE__ */ new Map();
|
|
481
|
+
}
|
|
482
|
+
return column._getFacetedUniqueValues();
|
|
483
|
+
};
|
|
484
|
+
column._getFacetedMinMaxValues = table.options.getFacetedMinMaxValues && table.options.getFacetedMinMaxValues(table, column.id);
|
|
485
|
+
column.getFacetedMinMaxValues = () => {
|
|
486
|
+
if (!column._getFacetedMinMaxValues) {
|
|
487
|
+
return void 0;
|
|
488
|
+
}
|
|
489
|
+
return column._getFacetedMinMaxValues();
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
};
|
|
493
|
+
var includesString = (row, columnId, filterValue) => {
|
|
494
|
+
var _filterValue$toString, _row$getValue;
|
|
495
|
+
const search = filterValue == null || (_filterValue$toString = filterValue.toString()) == null ? void 0 : _filterValue$toString.toLowerCase();
|
|
496
|
+
return Boolean((_row$getValue = row.getValue(columnId)) == null || (_row$getValue = _row$getValue.toString()) == null || (_row$getValue = _row$getValue.toLowerCase()) == null ? void 0 : _row$getValue.includes(search));
|
|
497
|
+
};
|
|
498
|
+
includesString.autoRemove = (val) => testFalsey(val);
|
|
499
|
+
var includesStringSensitive = (row, columnId, filterValue) => {
|
|
500
|
+
var _row$getValue2;
|
|
501
|
+
return Boolean((_row$getValue2 = row.getValue(columnId)) == null || (_row$getValue2 = _row$getValue2.toString()) == null ? void 0 : _row$getValue2.includes(filterValue));
|
|
502
|
+
};
|
|
503
|
+
includesStringSensitive.autoRemove = (val) => testFalsey(val);
|
|
504
|
+
var equalsString = (row, columnId, filterValue) => {
|
|
505
|
+
var _row$getValue3;
|
|
506
|
+
return ((_row$getValue3 = row.getValue(columnId)) == null || (_row$getValue3 = _row$getValue3.toString()) == null ? void 0 : _row$getValue3.toLowerCase()) === (filterValue == null ? void 0 : filterValue.toLowerCase());
|
|
507
|
+
};
|
|
508
|
+
equalsString.autoRemove = (val) => testFalsey(val);
|
|
509
|
+
var arrIncludes = (row, columnId, filterValue) => {
|
|
510
|
+
var _row$getValue4;
|
|
511
|
+
return (_row$getValue4 = row.getValue(columnId)) == null ? void 0 : _row$getValue4.includes(filterValue);
|
|
512
|
+
};
|
|
513
|
+
arrIncludes.autoRemove = (val) => testFalsey(val);
|
|
514
|
+
var arrIncludesAll = (row, columnId, filterValue) => {
|
|
515
|
+
return !filterValue.some((val) => {
|
|
516
|
+
var _row$getValue5;
|
|
517
|
+
return !((_row$getValue5 = row.getValue(columnId)) != null && _row$getValue5.includes(val));
|
|
518
|
+
});
|
|
519
|
+
};
|
|
520
|
+
arrIncludesAll.autoRemove = (val) => testFalsey(val) || !(val != null && val.length);
|
|
521
|
+
var arrIncludesSome = (row, columnId, filterValue) => {
|
|
522
|
+
return filterValue.some((val) => {
|
|
523
|
+
var _row$getValue6;
|
|
524
|
+
return (_row$getValue6 = row.getValue(columnId)) == null ? void 0 : _row$getValue6.includes(val);
|
|
525
|
+
});
|
|
526
|
+
};
|
|
527
|
+
arrIncludesSome.autoRemove = (val) => testFalsey(val) || !(val != null && val.length);
|
|
528
|
+
var equals = (row, columnId, filterValue) => {
|
|
529
|
+
return row.getValue(columnId) === filterValue;
|
|
530
|
+
};
|
|
531
|
+
equals.autoRemove = (val) => testFalsey(val);
|
|
532
|
+
var weakEquals = (row, columnId, filterValue) => {
|
|
533
|
+
return row.getValue(columnId) == filterValue;
|
|
534
|
+
};
|
|
535
|
+
weakEquals.autoRemove = (val) => testFalsey(val);
|
|
536
|
+
var inNumberRange = (row, columnId, filterValue) => {
|
|
537
|
+
let [min2, max2] = filterValue;
|
|
538
|
+
const rowValue = row.getValue(columnId);
|
|
539
|
+
return rowValue >= min2 && rowValue <= max2;
|
|
540
|
+
};
|
|
541
|
+
inNumberRange.resolveFilterValue = (val) => {
|
|
542
|
+
let [unsafeMin, unsafeMax] = val;
|
|
543
|
+
let parsedMin = typeof unsafeMin !== "number" ? parseFloat(unsafeMin) : unsafeMin;
|
|
544
|
+
let parsedMax = typeof unsafeMax !== "number" ? parseFloat(unsafeMax) : unsafeMax;
|
|
545
|
+
let min2 = unsafeMin === null || Number.isNaN(parsedMin) ? -Infinity : parsedMin;
|
|
546
|
+
let max2 = unsafeMax === null || Number.isNaN(parsedMax) ? Infinity : parsedMax;
|
|
547
|
+
if (min2 > max2) {
|
|
548
|
+
const temp = min2;
|
|
549
|
+
min2 = max2;
|
|
550
|
+
max2 = temp;
|
|
551
|
+
}
|
|
552
|
+
return [min2, max2];
|
|
553
|
+
};
|
|
554
|
+
inNumberRange.autoRemove = (val) => testFalsey(val) || testFalsey(val[0]) && testFalsey(val[1]);
|
|
555
|
+
var filterFns = {
|
|
556
|
+
includesString,
|
|
557
|
+
includesStringSensitive,
|
|
558
|
+
equalsString,
|
|
559
|
+
arrIncludes,
|
|
560
|
+
arrIncludesAll,
|
|
561
|
+
arrIncludesSome,
|
|
562
|
+
equals,
|
|
563
|
+
weakEquals,
|
|
564
|
+
inNumberRange
|
|
565
|
+
};
|
|
566
|
+
function testFalsey(val) {
|
|
567
|
+
return val === void 0 || val === null || val === "";
|
|
568
|
+
}
|
|
569
|
+
var ColumnFiltering = {
|
|
570
|
+
getDefaultColumnDef: () => {
|
|
571
|
+
return {
|
|
572
|
+
filterFn: "auto"
|
|
573
|
+
};
|
|
574
|
+
},
|
|
575
|
+
getInitialState: (state) => {
|
|
576
|
+
return __spreadValues({
|
|
577
|
+
columnFilters: []
|
|
578
|
+
}, state);
|
|
579
|
+
},
|
|
580
|
+
getDefaultOptions: (table) => {
|
|
581
|
+
return {
|
|
582
|
+
onColumnFiltersChange: makeStateUpdater("columnFilters", table),
|
|
583
|
+
filterFromLeafRows: false,
|
|
584
|
+
maxLeafRowFilterDepth: 100
|
|
585
|
+
};
|
|
586
|
+
},
|
|
587
|
+
createColumn: (column, table) => {
|
|
588
|
+
column.getAutoFilterFn = () => {
|
|
589
|
+
const firstRow = table.getCoreRowModel().flatRows[0];
|
|
590
|
+
const value = firstRow == null ? void 0 : firstRow.getValue(column.id);
|
|
591
|
+
if (typeof value === "string") {
|
|
592
|
+
return filterFns.includesString;
|
|
593
|
+
}
|
|
594
|
+
if (typeof value === "number") {
|
|
595
|
+
return filterFns.inNumberRange;
|
|
596
|
+
}
|
|
597
|
+
if (typeof value === "boolean") {
|
|
598
|
+
return filterFns.equals;
|
|
599
|
+
}
|
|
600
|
+
if (value !== null && typeof value === "object") {
|
|
601
|
+
return filterFns.equals;
|
|
602
|
+
}
|
|
603
|
+
if (Array.isArray(value)) {
|
|
604
|
+
return filterFns.arrIncludes;
|
|
605
|
+
}
|
|
606
|
+
return filterFns.weakEquals;
|
|
607
|
+
};
|
|
608
|
+
column.getFilterFn = () => {
|
|
609
|
+
var _table$options$filter, _table$options$filter2;
|
|
610
|
+
return isFunction(column.columnDef.filterFn) ? column.columnDef.filterFn : column.columnDef.filterFn === "auto" ? column.getAutoFilterFn() : (
|
|
611
|
+
// @ts-ignore
|
|
612
|
+
(_table$options$filter = (_table$options$filter2 = table.options.filterFns) == null ? void 0 : _table$options$filter2[column.columnDef.filterFn]) != null ? _table$options$filter : filterFns[column.columnDef.filterFn]
|
|
613
|
+
);
|
|
614
|
+
};
|
|
615
|
+
column.getCanFilter = () => {
|
|
616
|
+
var _column$columnDef$ena, _table$options$enable, _table$options$enable2;
|
|
617
|
+
return ((_column$columnDef$ena = column.columnDef.enableColumnFilter) != null ? _column$columnDef$ena : true) && ((_table$options$enable = table.options.enableColumnFilters) != null ? _table$options$enable : true) && ((_table$options$enable2 = table.options.enableFilters) != null ? _table$options$enable2 : true) && !!column.accessorFn;
|
|
618
|
+
};
|
|
619
|
+
column.getIsFiltered = () => column.getFilterIndex() > -1;
|
|
620
|
+
column.getFilterValue = () => {
|
|
621
|
+
var _table$getState$colum;
|
|
622
|
+
return (_table$getState$colum = table.getState().columnFilters) == null || (_table$getState$colum = _table$getState$colum.find((d) => d.id === column.id)) == null ? void 0 : _table$getState$colum.value;
|
|
623
|
+
};
|
|
624
|
+
column.getFilterIndex = () => {
|
|
625
|
+
var _table$getState$colum2, _table$getState$colum3;
|
|
626
|
+
return (_table$getState$colum2 = (_table$getState$colum3 = table.getState().columnFilters) == null ? void 0 : _table$getState$colum3.findIndex((d) => d.id === column.id)) != null ? _table$getState$colum2 : -1;
|
|
627
|
+
};
|
|
628
|
+
column.setFilterValue = (value) => {
|
|
629
|
+
table.setColumnFilters((old) => {
|
|
630
|
+
const filterFn = column.getFilterFn();
|
|
631
|
+
const previousFilter = old == null ? void 0 : old.find((d) => d.id === column.id);
|
|
632
|
+
const newFilter = functionalUpdate(value, previousFilter ? previousFilter.value : void 0);
|
|
633
|
+
if (shouldAutoRemoveFilter(filterFn, newFilter, column)) {
|
|
634
|
+
var _old$filter;
|
|
635
|
+
return (_old$filter = old == null ? void 0 : old.filter((d) => d.id !== column.id)) != null ? _old$filter : [];
|
|
636
|
+
}
|
|
637
|
+
const newFilterObj = {
|
|
638
|
+
id: column.id,
|
|
639
|
+
value: newFilter
|
|
640
|
+
};
|
|
641
|
+
if (previousFilter) {
|
|
642
|
+
var _old$map;
|
|
643
|
+
return (_old$map = old == null ? void 0 : old.map((d) => {
|
|
644
|
+
if (d.id === column.id) {
|
|
645
|
+
return newFilterObj;
|
|
646
|
+
}
|
|
647
|
+
return d;
|
|
648
|
+
})) != null ? _old$map : [];
|
|
649
|
+
}
|
|
650
|
+
if (old != null && old.length) {
|
|
651
|
+
return [...old, newFilterObj];
|
|
652
|
+
}
|
|
653
|
+
return [newFilterObj];
|
|
654
|
+
});
|
|
655
|
+
};
|
|
656
|
+
},
|
|
657
|
+
createRow: (row, _table) => {
|
|
658
|
+
row.columnFilters = {};
|
|
659
|
+
row.columnFiltersMeta = {};
|
|
660
|
+
},
|
|
661
|
+
createTable: (table) => {
|
|
662
|
+
table.setColumnFilters = (updater) => {
|
|
663
|
+
const leafColumns = table.getAllLeafColumns();
|
|
664
|
+
const updateFn = (old) => {
|
|
665
|
+
var _functionalUpdate;
|
|
666
|
+
return (_functionalUpdate = functionalUpdate(updater, old)) == null ? void 0 : _functionalUpdate.filter((filter) => {
|
|
667
|
+
const column = leafColumns.find((d) => d.id === filter.id);
|
|
668
|
+
if (column) {
|
|
669
|
+
const filterFn = column.getFilterFn();
|
|
670
|
+
if (shouldAutoRemoveFilter(filterFn, filter.value, column)) {
|
|
671
|
+
return false;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
return true;
|
|
675
|
+
});
|
|
676
|
+
};
|
|
677
|
+
table.options.onColumnFiltersChange == null || table.options.onColumnFiltersChange(updateFn);
|
|
678
|
+
};
|
|
679
|
+
table.resetColumnFilters = (defaultState) => {
|
|
680
|
+
var _table$initialState$c, _table$initialState;
|
|
681
|
+
table.setColumnFilters(defaultState ? [] : (_table$initialState$c = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.columnFilters) != null ? _table$initialState$c : []);
|
|
682
|
+
};
|
|
683
|
+
table.getPreFilteredRowModel = () => table.getCoreRowModel();
|
|
684
|
+
table.getFilteredRowModel = () => {
|
|
685
|
+
if (!table._getFilteredRowModel && table.options.getFilteredRowModel) {
|
|
686
|
+
table._getFilteredRowModel = table.options.getFilteredRowModel(table);
|
|
687
|
+
}
|
|
688
|
+
if (table.options.manualFiltering || !table._getFilteredRowModel) {
|
|
689
|
+
return table.getPreFilteredRowModel();
|
|
690
|
+
}
|
|
691
|
+
return table._getFilteredRowModel();
|
|
692
|
+
};
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
function shouldAutoRemoveFilter(filterFn, value, column) {
|
|
696
|
+
return (filterFn && filterFn.autoRemove ? filterFn.autoRemove(value, column) : false) || typeof value === "undefined" || typeof value === "string" && !value;
|
|
697
|
+
}
|
|
698
|
+
var sum = (columnId, _leafRows, childRows) => {
|
|
699
|
+
return childRows.reduce((sum2, next) => {
|
|
700
|
+
const nextValue = next.getValue(columnId);
|
|
701
|
+
return sum2 + (typeof nextValue === "number" ? nextValue : 0);
|
|
702
|
+
}, 0);
|
|
703
|
+
};
|
|
704
|
+
var min = (columnId, _leafRows, childRows) => {
|
|
705
|
+
let min2;
|
|
706
|
+
childRows.forEach((row) => {
|
|
707
|
+
const value = row.getValue(columnId);
|
|
708
|
+
if (value != null && (min2 > value || min2 === void 0 && value >= value)) {
|
|
709
|
+
min2 = value;
|
|
710
|
+
}
|
|
711
|
+
});
|
|
712
|
+
return min2;
|
|
713
|
+
};
|
|
714
|
+
var max = (columnId, _leafRows, childRows) => {
|
|
715
|
+
let max2;
|
|
716
|
+
childRows.forEach((row) => {
|
|
717
|
+
const value = row.getValue(columnId);
|
|
718
|
+
if (value != null && (max2 < value || max2 === void 0 && value >= value)) {
|
|
719
|
+
max2 = value;
|
|
720
|
+
}
|
|
721
|
+
});
|
|
722
|
+
return max2;
|
|
723
|
+
};
|
|
724
|
+
var extent = (columnId, _leafRows, childRows) => {
|
|
725
|
+
let min2;
|
|
726
|
+
let max2;
|
|
727
|
+
childRows.forEach((row) => {
|
|
728
|
+
const value = row.getValue(columnId);
|
|
729
|
+
if (value != null) {
|
|
730
|
+
if (min2 === void 0) {
|
|
731
|
+
if (value >= value) min2 = max2 = value;
|
|
732
|
+
} else {
|
|
733
|
+
if (min2 > value) min2 = value;
|
|
734
|
+
if (max2 < value) max2 = value;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
});
|
|
738
|
+
return [min2, max2];
|
|
739
|
+
};
|
|
740
|
+
var mean = (columnId, leafRows) => {
|
|
741
|
+
let count2 = 0;
|
|
742
|
+
let sum2 = 0;
|
|
743
|
+
leafRows.forEach((row) => {
|
|
744
|
+
let value = row.getValue(columnId);
|
|
745
|
+
if (value != null && (value = +value) >= value) {
|
|
746
|
+
++count2, sum2 += value;
|
|
747
|
+
}
|
|
748
|
+
});
|
|
749
|
+
if (count2) return sum2 / count2;
|
|
750
|
+
return;
|
|
751
|
+
};
|
|
752
|
+
var median = (columnId, leafRows) => {
|
|
753
|
+
if (!leafRows.length) {
|
|
754
|
+
return;
|
|
755
|
+
}
|
|
756
|
+
const values = leafRows.map((row) => row.getValue(columnId));
|
|
757
|
+
if (!isNumberArray(values)) {
|
|
758
|
+
return;
|
|
759
|
+
}
|
|
760
|
+
if (values.length === 1) {
|
|
761
|
+
return values[0];
|
|
762
|
+
}
|
|
763
|
+
const mid = Math.floor(values.length / 2);
|
|
764
|
+
const nums = values.sort((a, b) => a - b);
|
|
765
|
+
return values.length % 2 !== 0 ? nums[mid] : (nums[mid - 1] + nums[mid]) / 2;
|
|
766
|
+
};
|
|
767
|
+
var unique = (columnId, leafRows) => {
|
|
768
|
+
return Array.from(new Set(leafRows.map((d) => d.getValue(columnId))).values());
|
|
769
|
+
};
|
|
770
|
+
var uniqueCount = (columnId, leafRows) => {
|
|
771
|
+
return new Set(leafRows.map((d) => d.getValue(columnId))).size;
|
|
772
|
+
};
|
|
773
|
+
var count = (_columnId, leafRows) => {
|
|
774
|
+
return leafRows.length;
|
|
775
|
+
};
|
|
776
|
+
var aggregationFns = {
|
|
777
|
+
sum,
|
|
778
|
+
min,
|
|
779
|
+
max,
|
|
780
|
+
extent,
|
|
781
|
+
mean,
|
|
782
|
+
median,
|
|
783
|
+
unique,
|
|
784
|
+
uniqueCount,
|
|
785
|
+
count
|
|
786
|
+
};
|
|
787
|
+
var ColumnGrouping = {
|
|
788
|
+
getDefaultColumnDef: () => {
|
|
789
|
+
return {
|
|
790
|
+
aggregatedCell: (props) => {
|
|
791
|
+
var _toString, _props$getValue;
|
|
792
|
+
return (_toString = (_props$getValue = props.getValue()) == null || _props$getValue.toString == null ? void 0 : _props$getValue.toString()) != null ? _toString : null;
|
|
793
|
+
},
|
|
794
|
+
aggregationFn: "auto"
|
|
795
|
+
};
|
|
796
|
+
},
|
|
797
|
+
getInitialState: (state) => {
|
|
798
|
+
return __spreadValues({
|
|
799
|
+
grouping: []
|
|
800
|
+
}, state);
|
|
801
|
+
},
|
|
802
|
+
getDefaultOptions: (table) => {
|
|
803
|
+
return {
|
|
804
|
+
onGroupingChange: makeStateUpdater("grouping", table),
|
|
805
|
+
groupedColumnMode: "reorder"
|
|
806
|
+
};
|
|
807
|
+
},
|
|
808
|
+
createColumn: (column, table) => {
|
|
809
|
+
column.toggleGrouping = () => {
|
|
810
|
+
table.setGrouping((old) => {
|
|
811
|
+
if (old != null && old.includes(column.id)) {
|
|
812
|
+
return old.filter((d) => d !== column.id);
|
|
813
|
+
}
|
|
814
|
+
return [...old != null ? old : [], column.id];
|
|
815
|
+
});
|
|
816
|
+
};
|
|
817
|
+
column.getCanGroup = () => {
|
|
818
|
+
var _column$columnDef$ena, _table$options$enable;
|
|
819
|
+
return ((_column$columnDef$ena = column.columnDef.enableGrouping) != null ? _column$columnDef$ena : true) && ((_table$options$enable = table.options.enableGrouping) != null ? _table$options$enable : true) && (!!column.accessorFn || !!column.columnDef.getGroupingValue);
|
|
820
|
+
};
|
|
821
|
+
column.getIsGrouped = () => {
|
|
822
|
+
var _table$getState$group;
|
|
823
|
+
return (_table$getState$group = table.getState().grouping) == null ? void 0 : _table$getState$group.includes(column.id);
|
|
824
|
+
};
|
|
825
|
+
column.getGroupedIndex = () => {
|
|
826
|
+
var _table$getState$group2;
|
|
827
|
+
return (_table$getState$group2 = table.getState().grouping) == null ? void 0 : _table$getState$group2.indexOf(column.id);
|
|
828
|
+
};
|
|
829
|
+
column.getToggleGroupingHandler = () => {
|
|
830
|
+
const canGroup = column.getCanGroup();
|
|
831
|
+
return () => {
|
|
832
|
+
if (!canGroup) return;
|
|
833
|
+
column.toggleGrouping();
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
column.getAutoAggregationFn = () => {
|
|
837
|
+
const firstRow = table.getCoreRowModel().flatRows[0];
|
|
838
|
+
const value = firstRow == null ? void 0 : firstRow.getValue(column.id);
|
|
839
|
+
if (typeof value === "number") {
|
|
840
|
+
return aggregationFns.sum;
|
|
841
|
+
}
|
|
842
|
+
if (Object.prototype.toString.call(value) === "[object Date]") {
|
|
843
|
+
return aggregationFns.extent;
|
|
844
|
+
}
|
|
845
|
+
};
|
|
846
|
+
column.getAggregationFn = () => {
|
|
847
|
+
var _table$options$aggreg, _table$options$aggreg2;
|
|
848
|
+
if (!column) {
|
|
849
|
+
throw new Error();
|
|
850
|
+
}
|
|
851
|
+
return isFunction(column.columnDef.aggregationFn) ? column.columnDef.aggregationFn : column.columnDef.aggregationFn === "auto" ? column.getAutoAggregationFn() : (_table$options$aggreg = (_table$options$aggreg2 = table.options.aggregationFns) == null ? void 0 : _table$options$aggreg2[column.columnDef.aggregationFn]) != null ? _table$options$aggreg : aggregationFns[column.columnDef.aggregationFn];
|
|
852
|
+
};
|
|
853
|
+
},
|
|
854
|
+
createTable: (table) => {
|
|
855
|
+
table.setGrouping = (updater) => table.options.onGroupingChange == null ? void 0 : table.options.onGroupingChange(updater);
|
|
856
|
+
table.resetGrouping = (defaultState) => {
|
|
857
|
+
var _table$initialState$g, _table$initialState;
|
|
858
|
+
table.setGrouping(defaultState ? [] : (_table$initialState$g = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.grouping) != null ? _table$initialState$g : []);
|
|
859
|
+
};
|
|
860
|
+
table.getPreGroupedRowModel = () => table.getFilteredRowModel();
|
|
861
|
+
table.getGroupedRowModel = () => {
|
|
862
|
+
if (!table._getGroupedRowModel && table.options.getGroupedRowModel) {
|
|
863
|
+
table._getGroupedRowModel = table.options.getGroupedRowModel(table);
|
|
864
|
+
}
|
|
865
|
+
if (table.options.manualGrouping || !table._getGroupedRowModel) {
|
|
866
|
+
return table.getPreGroupedRowModel();
|
|
867
|
+
}
|
|
868
|
+
return table._getGroupedRowModel();
|
|
869
|
+
};
|
|
870
|
+
},
|
|
871
|
+
createRow: (row, table) => {
|
|
872
|
+
row.getIsGrouped = () => !!row.groupingColumnId;
|
|
873
|
+
row.getGroupingValue = (columnId) => {
|
|
874
|
+
if (row._groupingValuesCache.hasOwnProperty(columnId)) {
|
|
875
|
+
return row._groupingValuesCache[columnId];
|
|
876
|
+
}
|
|
877
|
+
const column = table.getColumn(columnId);
|
|
878
|
+
if (!(column != null && column.columnDef.getGroupingValue)) {
|
|
879
|
+
return row.getValue(columnId);
|
|
880
|
+
}
|
|
881
|
+
row._groupingValuesCache[columnId] = column.columnDef.getGroupingValue(row.original);
|
|
882
|
+
return row._groupingValuesCache[columnId];
|
|
883
|
+
};
|
|
884
|
+
row._groupingValuesCache = {};
|
|
885
|
+
},
|
|
886
|
+
createCell: (cell, column, row, table) => {
|
|
887
|
+
cell.getIsGrouped = () => column.getIsGrouped() && column.id === row.groupingColumnId;
|
|
888
|
+
cell.getIsPlaceholder = () => !cell.getIsGrouped() && column.getIsGrouped();
|
|
889
|
+
cell.getIsAggregated = () => {
|
|
890
|
+
var _row$subRows;
|
|
891
|
+
return !cell.getIsGrouped() && !cell.getIsPlaceholder() && !!((_row$subRows = row.subRows) != null && _row$subRows.length);
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
};
|
|
895
|
+
function orderColumns(leafColumns, grouping, groupedColumnMode) {
|
|
896
|
+
if (!(grouping != null && grouping.length) || !groupedColumnMode) {
|
|
897
|
+
return leafColumns;
|
|
898
|
+
}
|
|
899
|
+
const nonGroupingColumns = leafColumns.filter((col) => !grouping.includes(col.id));
|
|
900
|
+
if (groupedColumnMode === "remove") {
|
|
901
|
+
return nonGroupingColumns;
|
|
902
|
+
}
|
|
903
|
+
const groupingColumns = grouping.map((g) => leafColumns.find((col) => col.id === g)).filter(Boolean);
|
|
904
|
+
return [...groupingColumns, ...nonGroupingColumns];
|
|
905
|
+
}
|
|
906
|
+
var ColumnOrdering = {
|
|
907
|
+
getInitialState: (state) => {
|
|
908
|
+
return __spreadValues({
|
|
909
|
+
columnOrder: []
|
|
910
|
+
}, state);
|
|
911
|
+
},
|
|
912
|
+
getDefaultOptions: (table) => {
|
|
913
|
+
return {
|
|
914
|
+
onColumnOrderChange: makeStateUpdater("columnOrder", table)
|
|
915
|
+
};
|
|
916
|
+
},
|
|
917
|
+
createColumn: (column, table) => {
|
|
918
|
+
column.getIndex = memo((position) => [_getVisibleLeafColumns(table, position)], (columns) => columns.findIndex((d) => d.id === column.id), getMemoOptions(table.options, "debugColumns", "getIndex"));
|
|
919
|
+
column.getIsFirstColumn = (position) => {
|
|
920
|
+
var _columns$;
|
|
921
|
+
const columns = _getVisibleLeafColumns(table, position);
|
|
922
|
+
return ((_columns$ = columns[0]) == null ? void 0 : _columns$.id) === column.id;
|
|
923
|
+
};
|
|
924
|
+
column.getIsLastColumn = (position) => {
|
|
925
|
+
var _columns;
|
|
926
|
+
const columns = _getVisibleLeafColumns(table, position);
|
|
927
|
+
return ((_columns = columns[columns.length - 1]) == null ? void 0 : _columns.id) === column.id;
|
|
928
|
+
};
|
|
929
|
+
},
|
|
930
|
+
createTable: (table) => {
|
|
931
|
+
table.setColumnOrder = (updater) => table.options.onColumnOrderChange == null ? void 0 : table.options.onColumnOrderChange(updater);
|
|
932
|
+
table.resetColumnOrder = (defaultState) => {
|
|
933
|
+
var _table$initialState$c;
|
|
934
|
+
table.setColumnOrder(defaultState ? [] : (_table$initialState$c = table.initialState.columnOrder) != null ? _table$initialState$c : []);
|
|
935
|
+
};
|
|
936
|
+
table._getOrderColumnsFn = memo(() => [table.getState().columnOrder, table.getState().grouping, table.options.groupedColumnMode], (columnOrder, grouping, groupedColumnMode) => (columns) => {
|
|
937
|
+
let orderedColumns = [];
|
|
938
|
+
if (!(columnOrder != null && columnOrder.length)) {
|
|
939
|
+
orderedColumns = columns;
|
|
940
|
+
} else {
|
|
941
|
+
const columnOrderCopy = [...columnOrder];
|
|
942
|
+
const columnsCopy = [...columns];
|
|
943
|
+
while (columnsCopy.length && columnOrderCopy.length) {
|
|
944
|
+
const targetColumnId = columnOrderCopy.shift();
|
|
945
|
+
const foundIndex = columnsCopy.findIndex((d) => d.id === targetColumnId);
|
|
946
|
+
if (foundIndex > -1) {
|
|
947
|
+
orderedColumns.push(columnsCopy.splice(foundIndex, 1)[0]);
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
orderedColumns = [...orderedColumns, ...columnsCopy];
|
|
951
|
+
}
|
|
952
|
+
return orderColumns(orderedColumns, grouping, groupedColumnMode);
|
|
953
|
+
}, getMemoOptions(table.options, "debugTable", "_getOrderColumnsFn"));
|
|
954
|
+
}
|
|
955
|
+
};
|
|
956
|
+
var getDefaultColumnPinningState = () => ({
|
|
957
|
+
left: [],
|
|
958
|
+
right: []
|
|
959
|
+
});
|
|
960
|
+
var ColumnPinning = {
|
|
961
|
+
getInitialState: (state) => {
|
|
962
|
+
return __spreadValues({
|
|
963
|
+
columnPinning: getDefaultColumnPinningState()
|
|
964
|
+
}, state);
|
|
965
|
+
},
|
|
966
|
+
getDefaultOptions: (table) => {
|
|
967
|
+
return {
|
|
968
|
+
onColumnPinningChange: makeStateUpdater("columnPinning", table)
|
|
969
|
+
};
|
|
970
|
+
},
|
|
971
|
+
createColumn: (column, table) => {
|
|
972
|
+
column.pin = (position) => {
|
|
973
|
+
const columnIds = column.getLeafColumns().map((d) => d.id).filter(Boolean);
|
|
974
|
+
table.setColumnPinning((old) => {
|
|
975
|
+
var _old$left3, _old$right3;
|
|
976
|
+
if (position === "right") {
|
|
977
|
+
var _old$left, _old$right;
|
|
978
|
+
return {
|
|
979
|
+
left: ((_old$left = old == null ? void 0 : old.left) != null ? _old$left : []).filter((d) => !(columnIds != null && columnIds.includes(d))),
|
|
980
|
+
right: [...((_old$right = old == null ? void 0 : old.right) != null ? _old$right : []).filter((d) => !(columnIds != null && columnIds.includes(d))), ...columnIds]
|
|
981
|
+
};
|
|
982
|
+
}
|
|
983
|
+
if (position === "left") {
|
|
984
|
+
var _old$left2, _old$right2;
|
|
985
|
+
return {
|
|
986
|
+
left: [...((_old$left2 = old == null ? void 0 : old.left) != null ? _old$left2 : []).filter((d) => !(columnIds != null && columnIds.includes(d))), ...columnIds],
|
|
987
|
+
right: ((_old$right2 = old == null ? void 0 : old.right) != null ? _old$right2 : []).filter((d) => !(columnIds != null && columnIds.includes(d)))
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
return {
|
|
991
|
+
left: ((_old$left3 = old == null ? void 0 : old.left) != null ? _old$left3 : []).filter((d) => !(columnIds != null && columnIds.includes(d))),
|
|
992
|
+
right: ((_old$right3 = old == null ? void 0 : old.right) != null ? _old$right3 : []).filter((d) => !(columnIds != null && columnIds.includes(d)))
|
|
993
|
+
};
|
|
994
|
+
});
|
|
995
|
+
};
|
|
996
|
+
column.getCanPin = () => {
|
|
997
|
+
const leafColumns = column.getLeafColumns();
|
|
998
|
+
return leafColumns.some((d) => {
|
|
999
|
+
var _d$columnDef$enablePi, _ref, _table$options$enable;
|
|
1000
|
+
return ((_d$columnDef$enablePi = d.columnDef.enablePinning) != null ? _d$columnDef$enablePi : true) && ((_ref = (_table$options$enable = table.options.enableColumnPinning) != null ? _table$options$enable : table.options.enablePinning) != null ? _ref : true);
|
|
1001
|
+
});
|
|
1002
|
+
};
|
|
1003
|
+
column.getIsPinned = () => {
|
|
1004
|
+
const leafColumnIds = column.getLeafColumns().map((d) => d.id);
|
|
1005
|
+
const {
|
|
1006
|
+
left,
|
|
1007
|
+
right
|
|
1008
|
+
} = table.getState().columnPinning;
|
|
1009
|
+
const isLeft = leafColumnIds.some((d) => left == null ? void 0 : left.includes(d));
|
|
1010
|
+
const isRight = leafColumnIds.some((d) => right == null ? void 0 : right.includes(d));
|
|
1011
|
+
return isLeft ? "left" : isRight ? "right" : false;
|
|
1012
|
+
};
|
|
1013
|
+
column.getPinnedIndex = () => {
|
|
1014
|
+
var _table$getState$colum, _table$getState$colum2;
|
|
1015
|
+
const position = column.getIsPinned();
|
|
1016
|
+
return position ? (_table$getState$colum = (_table$getState$colum2 = table.getState().columnPinning) == null || (_table$getState$colum2 = _table$getState$colum2[position]) == null ? void 0 : _table$getState$colum2.indexOf(column.id)) != null ? _table$getState$colum : -1 : 0;
|
|
1017
|
+
};
|
|
1018
|
+
},
|
|
1019
|
+
createRow: (row, table) => {
|
|
1020
|
+
row.getCenterVisibleCells = memo(() => [row._getAllVisibleCells(), table.getState().columnPinning.left, table.getState().columnPinning.right], (allCells, left, right) => {
|
|
1021
|
+
const leftAndRight = [...left != null ? left : [], ...right != null ? right : []];
|
|
1022
|
+
return allCells.filter((d) => !leftAndRight.includes(d.column.id));
|
|
1023
|
+
}, getMemoOptions(table.options, "debugRows", "getCenterVisibleCells"));
|
|
1024
|
+
row.getLeftVisibleCells = memo(() => [row._getAllVisibleCells(), table.getState().columnPinning.left], (allCells, left) => {
|
|
1025
|
+
const cells = (left != null ? left : []).map((columnId) => allCells.find((cell) => cell.column.id === columnId)).filter(Boolean).map((d) => __spreadProps(__spreadValues({}, d), {
|
|
1026
|
+
position: "left"
|
|
1027
|
+
}));
|
|
1028
|
+
return cells;
|
|
1029
|
+
}, getMemoOptions(table.options, "debugRows", "getLeftVisibleCells"));
|
|
1030
|
+
row.getRightVisibleCells = memo(() => [row._getAllVisibleCells(), table.getState().columnPinning.right], (allCells, right) => {
|
|
1031
|
+
const cells = (right != null ? right : []).map((columnId) => allCells.find((cell) => cell.column.id === columnId)).filter(Boolean).map((d) => __spreadProps(__spreadValues({}, d), {
|
|
1032
|
+
position: "right"
|
|
1033
|
+
}));
|
|
1034
|
+
return cells;
|
|
1035
|
+
}, getMemoOptions(table.options, "debugRows", "getRightVisibleCells"));
|
|
1036
|
+
},
|
|
1037
|
+
createTable: (table) => {
|
|
1038
|
+
table.setColumnPinning = (updater) => table.options.onColumnPinningChange == null ? void 0 : table.options.onColumnPinningChange(updater);
|
|
1039
|
+
table.resetColumnPinning = (defaultState) => {
|
|
1040
|
+
var _table$initialState$c, _table$initialState;
|
|
1041
|
+
return table.setColumnPinning(defaultState ? getDefaultColumnPinningState() : (_table$initialState$c = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.columnPinning) != null ? _table$initialState$c : getDefaultColumnPinningState());
|
|
1042
|
+
};
|
|
1043
|
+
table.getIsSomeColumnsPinned = (position) => {
|
|
1044
|
+
var _pinningState$positio;
|
|
1045
|
+
const pinningState = table.getState().columnPinning;
|
|
1046
|
+
if (!position) {
|
|
1047
|
+
var _pinningState$left, _pinningState$right;
|
|
1048
|
+
return Boolean(((_pinningState$left = pinningState.left) == null ? void 0 : _pinningState$left.length) || ((_pinningState$right = pinningState.right) == null ? void 0 : _pinningState$right.length));
|
|
1049
|
+
}
|
|
1050
|
+
return Boolean((_pinningState$positio = pinningState[position]) == null ? void 0 : _pinningState$positio.length);
|
|
1051
|
+
};
|
|
1052
|
+
table.getLeftLeafColumns = memo(() => [table.getAllLeafColumns(), table.getState().columnPinning.left], (allColumns, left) => {
|
|
1053
|
+
return (left != null ? left : []).map((columnId) => allColumns.find((column) => column.id === columnId)).filter(Boolean);
|
|
1054
|
+
}, getMemoOptions(table.options, "debugColumns", "getLeftLeafColumns"));
|
|
1055
|
+
table.getRightLeafColumns = memo(() => [table.getAllLeafColumns(), table.getState().columnPinning.right], (allColumns, right) => {
|
|
1056
|
+
return (right != null ? right : []).map((columnId) => allColumns.find((column) => column.id === columnId)).filter(Boolean);
|
|
1057
|
+
}, getMemoOptions(table.options, "debugColumns", "getRightLeafColumns"));
|
|
1058
|
+
table.getCenterLeafColumns = memo(() => [table.getAllLeafColumns(), table.getState().columnPinning.left, table.getState().columnPinning.right], (allColumns, left, right) => {
|
|
1059
|
+
const leftAndRight = [...left != null ? left : [], ...right != null ? right : []];
|
|
1060
|
+
return allColumns.filter((d) => !leftAndRight.includes(d.id));
|
|
1061
|
+
}, getMemoOptions(table.options, "debugColumns", "getCenterLeafColumns"));
|
|
1062
|
+
}
|
|
1063
|
+
};
|
|
1064
|
+
function safelyAccessDocument(_document) {
|
|
1065
|
+
return _document || (typeof document !== "undefined" ? document : null);
|
|
1066
|
+
}
|
|
1067
|
+
var defaultColumnSizing = {
|
|
1068
|
+
size: 150,
|
|
1069
|
+
minSize: 20,
|
|
1070
|
+
maxSize: Number.MAX_SAFE_INTEGER
|
|
1071
|
+
};
|
|
1072
|
+
var getDefaultColumnSizingInfoState = () => ({
|
|
1073
|
+
startOffset: null,
|
|
1074
|
+
startSize: null,
|
|
1075
|
+
deltaOffset: null,
|
|
1076
|
+
deltaPercentage: null,
|
|
1077
|
+
isResizingColumn: false,
|
|
1078
|
+
columnSizingStart: []
|
|
1079
|
+
});
|
|
1080
|
+
var ColumnSizing = {
|
|
1081
|
+
getDefaultColumnDef: () => {
|
|
1082
|
+
return defaultColumnSizing;
|
|
1083
|
+
},
|
|
1084
|
+
getInitialState: (state) => {
|
|
1085
|
+
return __spreadValues({
|
|
1086
|
+
columnSizing: {},
|
|
1087
|
+
columnSizingInfo: getDefaultColumnSizingInfoState()
|
|
1088
|
+
}, state);
|
|
1089
|
+
},
|
|
1090
|
+
getDefaultOptions: (table) => {
|
|
1091
|
+
return {
|
|
1092
|
+
columnResizeMode: "onEnd",
|
|
1093
|
+
columnResizeDirection: "ltr",
|
|
1094
|
+
onColumnSizingChange: makeStateUpdater("columnSizing", table),
|
|
1095
|
+
onColumnSizingInfoChange: makeStateUpdater("columnSizingInfo", table)
|
|
1096
|
+
};
|
|
1097
|
+
},
|
|
1098
|
+
createColumn: (column, table) => {
|
|
1099
|
+
column.getSize = () => {
|
|
1100
|
+
var _column$columnDef$min, _ref, _column$columnDef$max;
|
|
1101
|
+
const columnSize = table.getState().columnSizing[column.id];
|
|
1102
|
+
return Math.min(Math.max((_column$columnDef$min = column.columnDef.minSize) != null ? _column$columnDef$min : defaultColumnSizing.minSize, (_ref = columnSize != null ? columnSize : column.columnDef.size) != null ? _ref : defaultColumnSizing.size), (_column$columnDef$max = column.columnDef.maxSize) != null ? _column$columnDef$max : defaultColumnSizing.maxSize);
|
|
1103
|
+
};
|
|
1104
|
+
column.getStart = memo((position) => [position, _getVisibleLeafColumns(table, position), table.getState().columnSizing], (position, columns) => columns.slice(0, column.getIndex(position)).reduce((sum2, column2) => sum2 + column2.getSize(), 0), getMemoOptions(table.options, "debugColumns", "getStart"));
|
|
1105
|
+
column.getAfter = memo((position) => [position, _getVisibleLeafColumns(table, position), table.getState().columnSizing], (position, columns) => columns.slice(column.getIndex(position) + 1).reduce((sum2, column2) => sum2 + column2.getSize(), 0), getMemoOptions(table.options, "debugColumns", "getAfter"));
|
|
1106
|
+
column.resetSize = () => {
|
|
1107
|
+
table.setColumnSizing((_ref2) => {
|
|
1108
|
+
var _a;
|
|
1109
|
+
let _b = _ref2, {
|
|
1110
|
+
[_a = column.id]: _
|
|
1111
|
+
} = _b, rest = __objRest(_b, [
|
|
1112
|
+
__restKey(_a)
|
|
1113
|
+
]);
|
|
1114
|
+
return rest;
|
|
1115
|
+
});
|
|
1116
|
+
};
|
|
1117
|
+
column.getCanResize = () => {
|
|
1118
|
+
var _column$columnDef$ena, _table$options$enable;
|
|
1119
|
+
return ((_column$columnDef$ena = column.columnDef.enableResizing) != null ? _column$columnDef$ena : true) && ((_table$options$enable = table.options.enableColumnResizing) != null ? _table$options$enable : true);
|
|
1120
|
+
};
|
|
1121
|
+
column.getIsResizing = () => {
|
|
1122
|
+
return table.getState().columnSizingInfo.isResizingColumn === column.id;
|
|
1123
|
+
};
|
|
1124
|
+
},
|
|
1125
|
+
createHeader: (header, table) => {
|
|
1126
|
+
header.getSize = () => {
|
|
1127
|
+
let sum2 = 0;
|
|
1128
|
+
const recurse = (header2) => {
|
|
1129
|
+
if (header2.subHeaders.length) {
|
|
1130
|
+
header2.subHeaders.forEach(recurse);
|
|
1131
|
+
} else {
|
|
1132
|
+
var _header$column$getSiz;
|
|
1133
|
+
sum2 += (_header$column$getSiz = header2.column.getSize()) != null ? _header$column$getSiz : 0;
|
|
1134
|
+
}
|
|
1135
|
+
};
|
|
1136
|
+
recurse(header);
|
|
1137
|
+
return sum2;
|
|
1138
|
+
};
|
|
1139
|
+
header.getStart = () => {
|
|
1140
|
+
if (header.index > 0) {
|
|
1141
|
+
const prevSiblingHeader = header.headerGroup.headers[header.index - 1];
|
|
1142
|
+
return prevSiblingHeader.getStart() + prevSiblingHeader.getSize();
|
|
1143
|
+
}
|
|
1144
|
+
return 0;
|
|
1145
|
+
};
|
|
1146
|
+
header.getResizeHandler = (_contextDocument) => {
|
|
1147
|
+
const column = table.getColumn(header.column.id);
|
|
1148
|
+
const canResize = column == null ? void 0 : column.getCanResize();
|
|
1149
|
+
return (e) => {
|
|
1150
|
+
if (!column || !canResize) {
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
e.persist == null || e.persist();
|
|
1154
|
+
if (isTouchStartEvent(e)) {
|
|
1155
|
+
if (e.touches && e.touches.length > 1) {
|
|
1156
|
+
return;
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
const startSize = header.getSize();
|
|
1160
|
+
const columnSizingStart = header ? header.getLeafHeaders().map((d) => [d.column.id, d.column.getSize()]) : [[column.id, column.getSize()]];
|
|
1161
|
+
const clientX = isTouchStartEvent(e) ? Math.round(e.touches[0].clientX) : e.clientX;
|
|
1162
|
+
const newColumnSizing = {};
|
|
1163
|
+
const updateOffset = (eventType, clientXPos) => {
|
|
1164
|
+
if (typeof clientXPos !== "number") {
|
|
1165
|
+
return;
|
|
1166
|
+
}
|
|
1167
|
+
table.setColumnSizingInfo((old) => {
|
|
1168
|
+
var _old$startOffset, _old$startSize;
|
|
1169
|
+
const deltaDirection = table.options.columnResizeDirection === "rtl" ? -1 : 1;
|
|
1170
|
+
const deltaOffset = (clientXPos - ((_old$startOffset = old == null ? void 0 : old.startOffset) != null ? _old$startOffset : 0)) * deltaDirection;
|
|
1171
|
+
const deltaPercentage = Math.max(deltaOffset / ((_old$startSize = old == null ? void 0 : old.startSize) != null ? _old$startSize : 0), -0.999999);
|
|
1172
|
+
old.columnSizingStart.forEach((_ref3) => {
|
|
1173
|
+
let [columnId, headerSize] = _ref3;
|
|
1174
|
+
newColumnSizing[columnId] = Math.round(Math.max(headerSize + headerSize * deltaPercentage, 0) * 100) / 100;
|
|
1175
|
+
});
|
|
1176
|
+
return __spreadProps(__spreadValues({}, old), {
|
|
1177
|
+
deltaOffset,
|
|
1178
|
+
deltaPercentage
|
|
1179
|
+
});
|
|
1180
|
+
});
|
|
1181
|
+
if (table.options.columnResizeMode === "onChange" || eventType === "end") {
|
|
1182
|
+
table.setColumnSizing((old) => __spreadValues(__spreadValues({}, old), newColumnSizing));
|
|
1183
|
+
}
|
|
1184
|
+
};
|
|
1185
|
+
const onMove = (clientXPos) => updateOffset("move", clientXPos);
|
|
1186
|
+
const onEnd = (clientXPos) => {
|
|
1187
|
+
updateOffset("end", clientXPos);
|
|
1188
|
+
table.setColumnSizingInfo((old) => __spreadProps(__spreadValues({}, old), {
|
|
1189
|
+
isResizingColumn: false,
|
|
1190
|
+
startOffset: null,
|
|
1191
|
+
startSize: null,
|
|
1192
|
+
deltaOffset: null,
|
|
1193
|
+
deltaPercentage: null,
|
|
1194
|
+
columnSizingStart: []
|
|
1195
|
+
}));
|
|
1196
|
+
};
|
|
1197
|
+
const contextDocument = safelyAccessDocument(_contextDocument);
|
|
1198
|
+
const mouseEvents = {
|
|
1199
|
+
moveHandler: (e2) => onMove(e2.clientX),
|
|
1200
|
+
upHandler: (e2) => {
|
|
1201
|
+
contextDocument == null || contextDocument.removeEventListener("mousemove", mouseEvents.moveHandler);
|
|
1202
|
+
contextDocument == null || contextDocument.removeEventListener("mouseup", mouseEvents.upHandler);
|
|
1203
|
+
onEnd(e2.clientX);
|
|
1204
|
+
}
|
|
1205
|
+
};
|
|
1206
|
+
const touchEvents = {
|
|
1207
|
+
moveHandler: (e2) => {
|
|
1208
|
+
if (e2.cancelable) {
|
|
1209
|
+
e2.preventDefault();
|
|
1210
|
+
e2.stopPropagation();
|
|
1211
|
+
}
|
|
1212
|
+
onMove(e2.touches[0].clientX);
|
|
1213
|
+
return false;
|
|
1214
|
+
},
|
|
1215
|
+
upHandler: (e2) => {
|
|
1216
|
+
var _e$touches$;
|
|
1217
|
+
contextDocument == null || contextDocument.removeEventListener("touchmove", touchEvents.moveHandler);
|
|
1218
|
+
contextDocument == null || contextDocument.removeEventListener("touchend", touchEvents.upHandler);
|
|
1219
|
+
if (e2.cancelable) {
|
|
1220
|
+
e2.preventDefault();
|
|
1221
|
+
e2.stopPropagation();
|
|
1222
|
+
}
|
|
1223
|
+
onEnd((_e$touches$ = e2.touches[0]) == null ? void 0 : _e$touches$.clientX);
|
|
1224
|
+
}
|
|
1225
|
+
};
|
|
1226
|
+
const passiveIfSupported = passiveEventSupported() ? {
|
|
1227
|
+
passive: false
|
|
1228
|
+
} : false;
|
|
1229
|
+
if (isTouchStartEvent(e)) {
|
|
1230
|
+
contextDocument == null || contextDocument.addEventListener("touchmove", touchEvents.moveHandler, passiveIfSupported);
|
|
1231
|
+
contextDocument == null || contextDocument.addEventListener("touchend", touchEvents.upHandler, passiveIfSupported);
|
|
1232
|
+
} else {
|
|
1233
|
+
contextDocument == null || contextDocument.addEventListener("mousemove", mouseEvents.moveHandler, passiveIfSupported);
|
|
1234
|
+
contextDocument == null || contextDocument.addEventListener("mouseup", mouseEvents.upHandler, passiveIfSupported);
|
|
1235
|
+
}
|
|
1236
|
+
table.setColumnSizingInfo((old) => __spreadProps(__spreadValues({}, old), {
|
|
1237
|
+
startOffset: clientX,
|
|
1238
|
+
startSize,
|
|
1239
|
+
deltaOffset: 0,
|
|
1240
|
+
deltaPercentage: 0,
|
|
1241
|
+
columnSizingStart,
|
|
1242
|
+
isResizingColumn: column.id
|
|
1243
|
+
}));
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
},
|
|
1247
|
+
createTable: (table) => {
|
|
1248
|
+
table.setColumnSizing = (updater) => table.options.onColumnSizingChange == null ? void 0 : table.options.onColumnSizingChange(updater);
|
|
1249
|
+
table.setColumnSizingInfo = (updater) => table.options.onColumnSizingInfoChange == null ? void 0 : table.options.onColumnSizingInfoChange(updater);
|
|
1250
|
+
table.resetColumnSizing = (defaultState) => {
|
|
1251
|
+
var _table$initialState$c;
|
|
1252
|
+
table.setColumnSizing(defaultState ? {} : (_table$initialState$c = table.initialState.columnSizing) != null ? _table$initialState$c : {});
|
|
1253
|
+
};
|
|
1254
|
+
table.resetHeaderSizeInfo = (defaultState) => {
|
|
1255
|
+
var _table$initialState$c2;
|
|
1256
|
+
table.setColumnSizingInfo(defaultState ? getDefaultColumnSizingInfoState() : (_table$initialState$c2 = table.initialState.columnSizingInfo) != null ? _table$initialState$c2 : getDefaultColumnSizingInfoState());
|
|
1257
|
+
};
|
|
1258
|
+
table.getTotalSize = () => {
|
|
1259
|
+
var _table$getHeaderGroup, _table$getHeaderGroup2;
|
|
1260
|
+
return (_table$getHeaderGroup = (_table$getHeaderGroup2 = table.getHeaderGroups()[0]) == null ? void 0 : _table$getHeaderGroup2.headers.reduce((sum2, header) => {
|
|
1261
|
+
return sum2 + header.getSize();
|
|
1262
|
+
}, 0)) != null ? _table$getHeaderGroup : 0;
|
|
1263
|
+
};
|
|
1264
|
+
table.getLeftTotalSize = () => {
|
|
1265
|
+
var _table$getLeftHeaderG, _table$getLeftHeaderG2;
|
|
1266
|
+
return (_table$getLeftHeaderG = (_table$getLeftHeaderG2 = table.getLeftHeaderGroups()[0]) == null ? void 0 : _table$getLeftHeaderG2.headers.reduce((sum2, header) => {
|
|
1267
|
+
return sum2 + header.getSize();
|
|
1268
|
+
}, 0)) != null ? _table$getLeftHeaderG : 0;
|
|
1269
|
+
};
|
|
1270
|
+
table.getCenterTotalSize = () => {
|
|
1271
|
+
var _table$getCenterHeade, _table$getCenterHeade2;
|
|
1272
|
+
return (_table$getCenterHeade = (_table$getCenterHeade2 = table.getCenterHeaderGroups()[0]) == null ? void 0 : _table$getCenterHeade2.headers.reduce((sum2, header) => {
|
|
1273
|
+
return sum2 + header.getSize();
|
|
1274
|
+
}, 0)) != null ? _table$getCenterHeade : 0;
|
|
1275
|
+
};
|
|
1276
|
+
table.getRightTotalSize = () => {
|
|
1277
|
+
var _table$getRightHeader, _table$getRightHeader2;
|
|
1278
|
+
return (_table$getRightHeader = (_table$getRightHeader2 = table.getRightHeaderGroups()[0]) == null ? void 0 : _table$getRightHeader2.headers.reduce((sum2, header) => {
|
|
1279
|
+
return sum2 + header.getSize();
|
|
1280
|
+
}, 0)) != null ? _table$getRightHeader : 0;
|
|
1281
|
+
};
|
|
1282
|
+
}
|
|
1283
|
+
};
|
|
1284
|
+
var passiveSupported = null;
|
|
1285
|
+
function passiveEventSupported() {
|
|
1286
|
+
if (typeof passiveSupported === "boolean") return passiveSupported;
|
|
1287
|
+
let supported = false;
|
|
1288
|
+
try {
|
|
1289
|
+
const options = {
|
|
1290
|
+
get passive() {
|
|
1291
|
+
supported = true;
|
|
1292
|
+
return false;
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
const noop = () => {
|
|
1296
|
+
};
|
|
1297
|
+
window.addEventListener("test", noop, options);
|
|
1298
|
+
window.removeEventListener("test", noop);
|
|
1299
|
+
} catch (err) {
|
|
1300
|
+
supported = false;
|
|
1301
|
+
}
|
|
1302
|
+
passiveSupported = supported;
|
|
1303
|
+
return passiveSupported;
|
|
1304
|
+
}
|
|
1305
|
+
function isTouchStartEvent(e) {
|
|
1306
|
+
return e.type === "touchstart";
|
|
1307
|
+
}
|
|
1308
|
+
var ColumnVisibility = {
|
|
1309
|
+
getInitialState: (state) => {
|
|
1310
|
+
return __spreadValues({
|
|
1311
|
+
columnVisibility: {}
|
|
1312
|
+
}, state);
|
|
1313
|
+
},
|
|
1314
|
+
getDefaultOptions: (table) => {
|
|
1315
|
+
return {
|
|
1316
|
+
onColumnVisibilityChange: makeStateUpdater("columnVisibility", table)
|
|
1317
|
+
};
|
|
1318
|
+
},
|
|
1319
|
+
createColumn: (column, table) => {
|
|
1320
|
+
column.toggleVisibility = (value) => {
|
|
1321
|
+
if (column.getCanHide()) {
|
|
1322
|
+
table.setColumnVisibility((old) => __spreadProps(__spreadValues({}, old), {
|
|
1323
|
+
[column.id]: value != null ? value : !column.getIsVisible()
|
|
1324
|
+
}));
|
|
1325
|
+
}
|
|
1326
|
+
};
|
|
1327
|
+
column.getIsVisible = () => {
|
|
1328
|
+
var _ref, _table$getState$colum;
|
|
1329
|
+
const childColumns = column.columns;
|
|
1330
|
+
return (_ref = childColumns.length ? childColumns.some((c) => c.getIsVisible()) : (_table$getState$colum = table.getState().columnVisibility) == null ? void 0 : _table$getState$colum[column.id]) != null ? _ref : true;
|
|
1331
|
+
};
|
|
1332
|
+
column.getCanHide = () => {
|
|
1333
|
+
var _column$columnDef$ena, _table$options$enable;
|
|
1334
|
+
return ((_column$columnDef$ena = column.columnDef.enableHiding) != null ? _column$columnDef$ena : true) && ((_table$options$enable = table.options.enableHiding) != null ? _table$options$enable : true);
|
|
1335
|
+
};
|
|
1336
|
+
column.getToggleVisibilityHandler = () => {
|
|
1337
|
+
return (e) => {
|
|
1338
|
+
column.toggleVisibility == null || column.toggleVisibility(e.target.checked);
|
|
1339
|
+
};
|
|
1340
|
+
};
|
|
1341
|
+
},
|
|
1342
|
+
createRow: (row, table) => {
|
|
1343
|
+
row._getAllVisibleCells = memo(() => [row.getAllCells(), table.getState().columnVisibility], (cells) => {
|
|
1344
|
+
return cells.filter((cell) => cell.column.getIsVisible());
|
|
1345
|
+
}, getMemoOptions(table.options, "debugRows", "_getAllVisibleCells"));
|
|
1346
|
+
row.getVisibleCells = memo(() => [row.getLeftVisibleCells(), row.getCenterVisibleCells(), row.getRightVisibleCells()], (left, center, right) => [...left, ...center, ...right], getMemoOptions(table.options, "debugRows", "getVisibleCells"));
|
|
1347
|
+
},
|
|
1348
|
+
createTable: (table) => {
|
|
1349
|
+
const makeVisibleColumnsMethod = (key, getColumns) => {
|
|
1350
|
+
return memo(() => [getColumns(), getColumns().filter((d) => d.getIsVisible()).map((d) => d.id).join("_")], (columns) => {
|
|
1351
|
+
return columns.filter((d) => d.getIsVisible == null ? void 0 : d.getIsVisible());
|
|
1352
|
+
}, getMemoOptions(table.options, "debugColumns", key));
|
|
1353
|
+
};
|
|
1354
|
+
table.getVisibleFlatColumns = makeVisibleColumnsMethod("getVisibleFlatColumns", () => table.getAllFlatColumns());
|
|
1355
|
+
table.getVisibleLeafColumns = makeVisibleColumnsMethod("getVisibleLeafColumns", () => table.getAllLeafColumns());
|
|
1356
|
+
table.getLeftVisibleLeafColumns = makeVisibleColumnsMethod("getLeftVisibleLeafColumns", () => table.getLeftLeafColumns());
|
|
1357
|
+
table.getRightVisibleLeafColumns = makeVisibleColumnsMethod("getRightVisibleLeafColumns", () => table.getRightLeafColumns());
|
|
1358
|
+
table.getCenterVisibleLeafColumns = makeVisibleColumnsMethod("getCenterVisibleLeafColumns", () => table.getCenterLeafColumns());
|
|
1359
|
+
table.setColumnVisibility = (updater) => table.options.onColumnVisibilityChange == null ? void 0 : table.options.onColumnVisibilityChange(updater);
|
|
1360
|
+
table.resetColumnVisibility = (defaultState) => {
|
|
1361
|
+
var _table$initialState$c;
|
|
1362
|
+
table.setColumnVisibility(defaultState ? {} : (_table$initialState$c = table.initialState.columnVisibility) != null ? _table$initialState$c : {});
|
|
1363
|
+
};
|
|
1364
|
+
table.toggleAllColumnsVisible = (value) => {
|
|
1365
|
+
var _value;
|
|
1366
|
+
value = (_value = value) != null ? _value : !table.getIsAllColumnsVisible();
|
|
1367
|
+
table.setColumnVisibility(table.getAllLeafColumns().reduce((obj, column) => __spreadProps(__spreadValues({}, obj), {
|
|
1368
|
+
[column.id]: !value ? !(column.getCanHide != null && column.getCanHide()) : value
|
|
1369
|
+
}), {}));
|
|
1370
|
+
};
|
|
1371
|
+
table.getIsAllColumnsVisible = () => !table.getAllLeafColumns().some((column) => !(column.getIsVisible != null && column.getIsVisible()));
|
|
1372
|
+
table.getIsSomeColumnsVisible = () => table.getAllLeafColumns().some((column) => column.getIsVisible == null ? void 0 : column.getIsVisible());
|
|
1373
|
+
table.getToggleAllColumnsVisibilityHandler = () => {
|
|
1374
|
+
return (e) => {
|
|
1375
|
+
var _target;
|
|
1376
|
+
table.toggleAllColumnsVisible((_target = e.target) == null ? void 0 : _target.checked);
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
};
|
|
1381
|
+
function _getVisibleLeafColumns(table, position) {
|
|
1382
|
+
return !position ? table.getVisibleLeafColumns() : position === "center" ? table.getCenterVisibleLeafColumns() : position === "left" ? table.getLeftVisibleLeafColumns() : table.getRightVisibleLeafColumns();
|
|
1383
|
+
}
|
|
1384
|
+
var GlobalFaceting = {
|
|
1385
|
+
createTable: (table) => {
|
|
1386
|
+
table._getGlobalFacetedRowModel = table.options.getFacetedRowModel && table.options.getFacetedRowModel(table, "__global__");
|
|
1387
|
+
table.getGlobalFacetedRowModel = () => {
|
|
1388
|
+
if (table.options.manualFiltering || !table._getGlobalFacetedRowModel) {
|
|
1389
|
+
return table.getPreFilteredRowModel();
|
|
1390
|
+
}
|
|
1391
|
+
return table._getGlobalFacetedRowModel();
|
|
1392
|
+
};
|
|
1393
|
+
table._getGlobalFacetedUniqueValues = table.options.getFacetedUniqueValues && table.options.getFacetedUniqueValues(table, "__global__");
|
|
1394
|
+
table.getGlobalFacetedUniqueValues = () => {
|
|
1395
|
+
if (!table._getGlobalFacetedUniqueValues) {
|
|
1396
|
+
return /* @__PURE__ */ new Map();
|
|
1397
|
+
}
|
|
1398
|
+
return table._getGlobalFacetedUniqueValues();
|
|
1399
|
+
};
|
|
1400
|
+
table._getGlobalFacetedMinMaxValues = table.options.getFacetedMinMaxValues && table.options.getFacetedMinMaxValues(table, "__global__");
|
|
1401
|
+
table.getGlobalFacetedMinMaxValues = () => {
|
|
1402
|
+
if (!table._getGlobalFacetedMinMaxValues) {
|
|
1403
|
+
return;
|
|
1404
|
+
}
|
|
1405
|
+
return table._getGlobalFacetedMinMaxValues();
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1409
|
+
var GlobalFiltering = {
|
|
1410
|
+
getInitialState: (state) => {
|
|
1411
|
+
return __spreadValues({
|
|
1412
|
+
globalFilter: void 0
|
|
1413
|
+
}, state);
|
|
1414
|
+
},
|
|
1415
|
+
getDefaultOptions: (table) => {
|
|
1416
|
+
return {
|
|
1417
|
+
onGlobalFilterChange: makeStateUpdater("globalFilter", table),
|
|
1418
|
+
globalFilterFn: "auto",
|
|
1419
|
+
getColumnCanGlobalFilter: (column) => {
|
|
1420
|
+
var _table$getCoreRowMode;
|
|
1421
|
+
const value = (_table$getCoreRowMode = table.getCoreRowModel().flatRows[0]) == null || (_table$getCoreRowMode = _table$getCoreRowMode._getAllCellsByColumnId()[column.id]) == null ? void 0 : _table$getCoreRowMode.getValue();
|
|
1422
|
+
return typeof value === "string" || typeof value === "number";
|
|
1423
|
+
}
|
|
1424
|
+
};
|
|
1425
|
+
},
|
|
1426
|
+
createColumn: (column, table) => {
|
|
1427
|
+
column.getCanGlobalFilter = () => {
|
|
1428
|
+
var _column$columnDef$ena, _table$options$enable, _table$options$enable2, _table$options$getCol;
|
|
1429
|
+
return ((_column$columnDef$ena = column.columnDef.enableGlobalFilter) != null ? _column$columnDef$ena : true) && ((_table$options$enable = table.options.enableGlobalFilter) != null ? _table$options$enable : true) && ((_table$options$enable2 = table.options.enableFilters) != null ? _table$options$enable2 : true) && ((_table$options$getCol = table.options.getColumnCanGlobalFilter == null ? void 0 : table.options.getColumnCanGlobalFilter(column)) != null ? _table$options$getCol : true) && !!column.accessorFn;
|
|
1430
|
+
};
|
|
1431
|
+
},
|
|
1432
|
+
createTable: (table) => {
|
|
1433
|
+
table.getGlobalAutoFilterFn = () => {
|
|
1434
|
+
return filterFns.includesString;
|
|
1435
|
+
};
|
|
1436
|
+
table.getGlobalFilterFn = () => {
|
|
1437
|
+
var _table$options$filter, _table$options$filter2;
|
|
1438
|
+
const {
|
|
1439
|
+
globalFilterFn
|
|
1440
|
+
} = table.options;
|
|
1441
|
+
return isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === "auto" ? table.getGlobalAutoFilterFn() : (_table$options$filter = (_table$options$filter2 = table.options.filterFns) == null ? void 0 : _table$options$filter2[globalFilterFn]) != null ? _table$options$filter : filterFns[globalFilterFn];
|
|
1442
|
+
};
|
|
1443
|
+
table.setGlobalFilter = (updater) => {
|
|
1444
|
+
table.options.onGlobalFilterChange == null || table.options.onGlobalFilterChange(updater);
|
|
1445
|
+
};
|
|
1446
|
+
table.resetGlobalFilter = (defaultState) => {
|
|
1447
|
+
table.setGlobalFilter(defaultState ? void 0 : table.initialState.globalFilter);
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
};
|
|
1451
|
+
var RowExpanding = {
|
|
1452
|
+
getInitialState: (state) => {
|
|
1453
|
+
return __spreadValues({
|
|
1454
|
+
expanded: {}
|
|
1455
|
+
}, state);
|
|
1456
|
+
},
|
|
1457
|
+
getDefaultOptions: (table) => {
|
|
1458
|
+
return {
|
|
1459
|
+
onExpandedChange: makeStateUpdater("expanded", table),
|
|
1460
|
+
paginateExpandedRows: true
|
|
1461
|
+
};
|
|
1462
|
+
},
|
|
1463
|
+
createTable: (table) => {
|
|
1464
|
+
let registered = false;
|
|
1465
|
+
let queued = false;
|
|
1466
|
+
table._autoResetExpanded = () => {
|
|
1467
|
+
var _ref, _table$options$autoRe;
|
|
1468
|
+
if (!registered) {
|
|
1469
|
+
table._queue(() => {
|
|
1470
|
+
registered = true;
|
|
1471
|
+
});
|
|
1472
|
+
return;
|
|
1473
|
+
}
|
|
1474
|
+
if ((_ref = (_table$options$autoRe = table.options.autoResetAll) != null ? _table$options$autoRe : table.options.autoResetExpanded) != null ? _ref : !table.options.manualExpanding) {
|
|
1475
|
+
if (queued) return;
|
|
1476
|
+
queued = true;
|
|
1477
|
+
table._queue(() => {
|
|
1478
|
+
table.resetExpanded();
|
|
1479
|
+
queued = false;
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
};
|
|
1483
|
+
table.setExpanded = (updater) => table.options.onExpandedChange == null ? void 0 : table.options.onExpandedChange(updater);
|
|
1484
|
+
table.toggleAllRowsExpanded = (expanded) => {
|
|
1485
|
+
if (expanded != null ? expanded : !table.getIsAllRowsExpanded()) {
|
|
1486
|
+
table.setExpanded(true);
|
|
1487
|
+
} else {
|
|
1488
|
+
table.setExpanded({});
|
|
1489
|
+
}
|
|
1490
|
+
};
|
|
1491
|
+
table.resetExpanded = (defaultState) => {
|
|
1492
|
+
var _table$initialState$e, _table$initialState;
|
|
1493
|
+
table.setExpanded(defaultState ? {} : (_table$initialState$e = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.expanded) != null ? _table$initialState$e : {});
|
|
1494
|
+
};
|
|
1495
|
+
table.getCanSomeRowsExpand = () => {
|
|
1496
|
+
return table.getPrePaginationRowModel().flatRows.some((row) => row.getCanExpand());
|
|
1497
|
+
};
|
|
1498
|
+
table.getToggleAllRowsExpandedHandler = () => {
|
|
1499
|
+
return (e) => {
|
|
1500
|
+
e.persist == null || e.persist();
|
|
1501
|
+
table.toggleAllRowsExpanded();
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
table.getIsSomeRowsExpanded = () => {
|
|
1505
|
+
const expanded = table.getState().expanded;
|
|
1506
|
+
return expanded === true || Object.values(expanded).some(Boolean);
|
|
1507
|
+
};
|
|
1508
|
+
table.getIsAllRowsExpanded = () => {
|
|
1509
|
+
const expanded = table.getState().expanded;
|
|
1510
|
+
if (typeof expanded === "boolean") {
|
|
1511
|
+
return expanded === true;
|
|
1512
|
+
}
|
|
1513
|
+
if (!Object.keys(expanded).length) {
|
|
1514
|
+
return false;
|
|
1515
|
+
}
|
|
1516
|
+
if (table.getRowModel().flatRows.some((row) => !row.getIsExpanded())) {
|
|
1517
|
+
return false;
|
|
1518
|
+
}
|
|
1519
|
+
return true;
|
|
1520
|
+
};
|
|
1521
|
+
table.getExpandedDepth = () => {
|
|
1522
|
+
let maxDepth = 0;
|
|
1523
|
+
const rowIds = table.getState().expanded === true ? Object.keys(table.getRowModel().rowsById) : Object.keys(table.getState().expanded);
|
|
1524
|
+
rowIds.forEach((id) => {
|
|
1525
|
+
const splitId = id.split(".");
|
|
1526
|
+
maxDepth = Math.max(maxDepth, splitId.length);
|
|
1527
|
+
});
|
|
1528
|
+
return maxDepth;
|
|
1529
|
+
};
|
|
1530
|
+
table.getPreExpandedRowModel = () => table.getSortedRowModel();
|
|
1531
|
+
table.getExpandedRowModel = () => {
|
|
1532
|
+
if (!table._getExpandedRowModel && table.options.getExpandedRowModel) {
|
|
1533
|
+
table._getExpandedRowModel = table.options.getExpandedRowModel(table);
|
|
1534
|
+
}
|
|
1535
|
+
if (table.options.manualExpanding || !table._getExpandedRowModel) {
|
|
1536
|
+
return table.getPreExpandedRowModel();
|
|
1537
|
+
}
|
|
1538
|
+
return table._getExpandedRowModel();
|
|
1539
|
+
};
|
|
1540
|
+
},
|
|
1541
|
+
createRow: (row, table) => {
|
|
1542
|
+
row.toggleExpanded = (expanded) => {
|
|
1543
|
+
table.setExpanded((old) => {
|
|
1544
|
+
var _a;
|
|
1545
|
+
var _expanded;
|
|
1546
|
+
const exists = old === true ? true : !!(old != null && old[row.id]);
|
|
1547
|
+
let oldExpanded = {};
|
|
1548
|
+
if (old === true) {
|
|
1549
|
+
Object.keys(table.getRowModel().rowsById).forEach((rowId) => {
|
|
1550
|
+
oldExpanded[rowId] = true;
|
|
1551
|
+
});
|
|
1552
|
+
} else {
|
|
1553
|
+
oldExpanded = old;
|
|
1554
|
+
}
|
|
1555
|
+
expanded = (_expanded = expanded) != null ? _expanded : !exists;
|
|
1556
|
+
if (!exists && expanded) {
|
|
1557
|
+
return __spreadProps(__spreadValues({}, oldExpanded), {
|
|
1558
|
+
[row.id]: true
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
if (exists && !expanded) {
|
|
1562
|
+
const _b = oldExpanded, {
|
|
1563
|
+
[_a = row.id]: _
|
|
1564
|
+
} = _b, rest = __objRest(_b, [
|
|
1565
|
+
__restKey(_a)
|
|
1566
|
+
]);
|
|
1567
|
+
return rest;
|
|
1568
|
+
}
|
|
1569
|
+
return old;
|
|
1570
|
+
});
|
|
1571
|
+
};
|
|
1572
|
+
row.getIsExpanded = () => {
|
|
1573
|
+
var _table$options$getIsR;
|
|
1574
|
+
const expanded = table.getState().expanded;
|
|
1575
|
+
return !!((_table$options$getIsR = table.options.getIsRowExpanded == null ? void 0 : table.options.getIsRowExpanded(row)) != null ? _table$options$getIsR : expanded === true || (expanded == null ? void 0 : expanded[row.id]));
|
|
1576
|
+
};
|
|
1577
|
+
row.getCanExpand = () => {
|
|
1578
|
+
var _table$options$getRow, _table$options$enable, _row$subRows;
|
|
1579
|
+
return (_table$options$getRow = table.options.getRowCanExpand == null ? void 0 : table.options.getRowCanExpand(row)) != null ? _table$options$getRow : ((_table$options$enable = table.options.enableExpanding) != null ? _table$options$enable : true) && !!((_row$subRows = row.subRows) != null && _row$subRows.length);
|
|
1580
|
+
};
|
|
1581
|
+
row.getIsAllParentsExpanded = () => {
|
|
1582
|
+
let isFullyExpanded = true;
|
|
1583
|
+
let currentRow = row;
|
|
1584
|
+
while (isFullyExpanded && currentRow.parentId) {
|
|
1585
|
+
currentRow = table.getRow(currentRow.parentId, true);
|
|
1586
|
+
isFullyExpanded = currentRow.getIsExpanded();
|
|
1587
|
+
}
|
|
1588
|
+
return isFullyExpanded;
|
|
1589
|
+
};
|
|
1590
|
+
row.getToggleExpandedHandler = () => {
|
|
1591
|
+
const canExpand = row.getCanExpand();
|
|
1592
|
+
return () => {
|
|
1593
|
+
if (!canExpand) return;
|
|
1594
|
+
row.toggleExpanded();
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
}
|
|
1598
|
+
};
|
|
1599
|
+
var defaultPageIndex = 0;
|
|
1600
|
+
var defaultPageSize = 10;
|
|
1601
|
+
var getDefaultPaginationState = () => ({
|
|
1602
|
+
pageIndex: defaultPageIndex,
|
|
1603
|
+
pageSize: defaultPageSize
|
|
1604
|
+
});
|
|
1605
|
+
var RowPagination = {
|
|
1606
|
+
getInitialState: (state) => {
|
|
1607
|
+
return __spreadProps(__spreadValues({}, state), {
|
|
1608
|
+
pagination: __spreadValues(__spreadValues({}, getDefaultPaginationState()), state == null ? void 0 : state.pagination)
|
|
1609
|
+
});
|
|
1610
|
+
},
|
|
1611
|
+
getDefaultOptions: (table) => {
|
|
1612
|
+
return {
|
|
1613
|
+
onPaginationChange: makeStateUpdater("pagination", table)
|
|
1614
|
+
};
|
|
1615
|
+
},
|
|
1616
|
+
createTable: (table) => {
|
|
1617
|
+
let registered = false;
|
|
1618
|
+
let queued = false;
|
|
1619
|
+
table._autoResetPageIndex = () => {
|
|
1620
|
+
var _ref, _table$options$autoRe;
|
|
1621
|
+
if (!registered) {
|
|
1622
|
+
table._queue(() => {
|
|
1623
|
+
registered = true;
|
|
1624
|
+
});
|
|
1625
|
+
return;
|
|
1626
|
+
}
|
|
1627
|
+
if ((_ref = (_table$options$autoRe = table.options.autoResetAll) != null ? _table$options$autoRe : table.options.autoResetPageIndex) != null ? _ref : !table.options.manualPagination) {
|
|
1628
|
+
if (queued) return;
|
|
1629
|
+
queued = true;
|
|
1630
|
+
table._queue(() => {
|
|
1631
|
+
table.resetPageIndex();
|
|
1632
|
+
queued = false;
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
};
|
|
1636
|
+
table.setPagination = (updater) => {
|
|
1637
|
+
const safeUpdater = (old) => {
|
|
1638
|
+
let newState = functionalUpdate(updater, old);
|
|
1639
|
+
return newState;
|
|
1640
|
+
};
|
|
1641
|
+
return table.options.onPaginationChange == null ? void 0 : table.options.onPaginationChange(safeUpdater);
|
|
1642
|
+
};
|
|
1643
|
+
table.resetPagination = (defaultState) => {
|
|
1644
|
+
var _table$initialState$p;
|
|
1645
|
+
table.setPagination(defaultState ? getDefaultPaginationState() : (_table$initialState$p = table.initialState.pagination) != null ? _table$initialState$p : getDefaultPaginationState());
|
|
1646
|
+
};
|
|
1647
|
+
table.setPageIndex = (updater) => {
|
|
1648
|
+
table.setPagination((old) => {
|
|
1649
|
+
let pageIndex = functionalUpdate(updater, old.pageIndex);
|
|
1650
|
+
const maxPageIndex = typeof table.options.pageCount === "undefined" || table.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : table.options.pageCount - 1;
|
|
1651
|
+
pageIndex = Math.max(0, Math.min(pageIndex, maxPageIndex));
|
|
1652
|
+
return __spreadProps(__spreadValues({}, old), {
|
|
1653
|
+
pageIndex
|
|
1654
|
+
});
|
|
1655
|
+
});
|
|
1656
|
+
};
|
|
1657
|
+
table.resetPageIndex = (defaultState) => {
|
|
1658
|
+
var _table$initialState$p2, _table$initialState;
|
|
1659
|
+
table.setPageIndex(defaultState ? defaultPageIndex : (_table$initialState$p2 = (_table$initialState = table.initialState) == null || (_table$initialState = _table$initialState.pagination) == null ? void 0 : _table$initialState.pageIndex) != null ? _table$initialState$p2 : defaultPageIndex);
|
|
1660
|
+
};
|
|
1661
|
+
table.resetPageSize = (defaultState) => {
|
|
1662
|
+
var _table$initialState$p3, _table$initialState2;
|
|
1663
|
+
table.setPageSize(defaultState ? defaultPageSize : (_table$initialState$p3 = (_table$initialState2 = table.initialState) == null || (_table$initialState2 = _table$initialState2.pagination) == null ? void 0 : _table$initialState2.pageSize) != null ? _table$initialState$p3 : defaultPageSize);
|
|
1664
|
+
};
|
|
1665
|
+
table.setPageSize = (updater) => {
|
|
1666
|
+
table.setPagination((old) => {
|
|
1667
|
+
const pageSize = Math.max(1, functionalUpdate(updater, old.pageSize));
|
|
1668
|
+
const topRowIndex = old.pageSize * old.pageIndex;
|
|
1669
|
+
const pageIndex = Math.floor(topRowIndex / pageSize);
|
|
1670
|
+
return __spreadProps(__spreadValues({}, old), {
|
|
1671
|
+
pageIndex,
|
|
1672
|
+
pageSize
|
|
1673
|
+
});
|
|
1674
|
+
});
|
|
1675
|
+
};
|
|
1676
|
+
table.setPageCount = (updater) => table.setPagination((old) => {
|
|
1677
|
+
var _table$options$pageCo;
|
|
1678
|
+
let newPageCount = functionalUpdate(updater, (_table$options$pageCo = table.options.pageCount) != null ? _table$options$pageCo : -1);
|
|
1679
|
+
if (typeof newPageCount === "number") {
|
|
1680
|
+
newPageCount = Math.max(-1, newPageCount);
|
|
1681
|
+
}
|
|
1682
|
+
return __spreadProps(__spreadValues({}, old), {
|
|
1683
|
+
pageCount: newPageCount
|
|
1684
|
+
});
|
|
1685
|
+
});
|
|
1686
|
+
table.getPageOptions = memo(() => [table.getPageCount()], (pageCount) => {
|
|
1687
|
+
let pageOptions = [];
|
|
1688
|
+
if (pageCount && pageCount > 0) {
|
|
1689
|
+
pageOptions = [...new Array(pageCount)].fill(null).map((_, i) => i);
|
|
1690
|
+
}
|
|
1691
|
+
return pageOptions;
|
|
1692
|
+
}, getMemoOptions(table.options, "debugTable", "getPageOptions"));
|
|
1693
|
+
table.getCanPreviousPage = () => table.getState().pagination.pageIndex > 0;
|
|
1694
|
+
table.getCanNextPage = () => {
|
|
1695
|
+
const {
|
|
1696
|
+
pageIndex
|
|
1697
|
+
} = table.getState().pagination;
|
|
1698
|
+
const pageCount = table.getPageCount();
|
|
1699
|
+
if (pageCount === -1) {
|
|
1700
|
+
return true;
|
|
1701
|
+
}
|
|
1702
|
+
if (pageCount === 0) {
|
|
1703
|
+
return false;
|
|
1704
|
+
}
|
|
1705
|
+
return pageIndex < pageCount - 1;
|
|
1706
|
+
};
|
|
1707
|
+
table.previousPage = () => {
|
|
1708
|
+
return table.setPageIndex((old) => old - 1);
|
|
1709
|
+
};
|
|
1710
|
+
table.nextPage = () => {
|
|
1711
|
+
return table.setPageIndex((old) => {
|
|
1712
|
+
return old + 1;
|
|
1713
|
+
});
|
|
1714
|
+
};
|
|
1715
|
+
table.firstPage = () => {
|
|
1716
|
+
return table.setPageIndex(0);
|
|
1717
|
+
};
|
|
1718
|
+
table.lastPage = () => {
|
|
1719
|
+
return table.setPageIndex(table.getPageCount() - 1);
|
|
1720
|
+
};
|
|
1721
|
+
table.getPrePaginationRowModel = () => table.getExpandedRowModel();
|
|
1722
|
+
table.getPaginationRowModel = () => {
|
|
1723
|
+
if (!table._getPaginationRowModel && table.options.getPaginationRowModel) {
|
|
1724
|
+
table._getPaginationRowModel = table.options.getPaginationRowModel(table);
|
|
1725
|
+
}
|
|
1726
|
+
if (table.options.manualPagination || !table._getPaginationRowModel) {
|
|
1727
|
+
return table.getPrePaginationRowModel();
|
|
1728
|
+
}
|
|
1729
|
+
return table._getPaginationRowModel();
|
|
1730
|
+
};
|
|
1731
|
+
table.getPageCount = () => {
|
|
1732
|
+
var _table$options$pageCo2;
|
|
1733
|
+
return (_table$options$pageCo2 = table.options.pageCount) != null ? _table$options$pageCo2 : Math.ceil(table.getRowCount() / table.getState().pagination.pageSize);
|
|
1734
|
+
};
|
|
1735
|
+
table.getRowCount = () => {
|
|
1736
|
+
var _table$options$rowCou;
|
|
1737
|
+
return (_table$options$rowCou = table.options.rowCount) != null ? _table$options$rowCou : table.getPrePaginationRowModel().rows.length;
|
|
1738
|
+
};
|
|
1739
|
+
}
|
|
1740
|
+
};
|
|
1741
|
+
var getDefaultRowPinningState = () => ({
|
|
1742
|
+
top: [],
|
|
1743
|
+
bottom: []
|
|
1744
|
+
});
|
|
1745
|
+
var RowPinning = {
|
|
1746
|
+
getInitialState: (state) => {
|
|
1747
|
+
return __spreadValues({
|
|
1748
|
+
rowPinning: getDefaultRowPinningState()
|
|
1749
|
+
}, state);
|
|
1750
|
+
},
|
|
1751
|
+
getDefaultOptions: (table) => {
|
|
1752
|
+
return {
|
|
1753
|
+
onRowPinningChange: makeStateUpdater("rowPinning", table)
|
|
1754
|
+
};
|
|
1755
|
+
},
|
|
1756
|
+
createRow: (row, table) => {
|
|
1757
|
+
row.pin = (position, includeLeafRows, includeParentRows) => {
|
|
1758
|
+
const leafRowIds = includeLeafRows ? row.getLeafRows().map((_ref) => {
|
|
1759
|
+
let {
|
|
1760
|
+
id
|
|
1761
|
+
} = _ref;
|
|
1762
|
+
return id;
|
|
1763
|
+
}) : [];
|
|
1764
|
+
const parentRowIds = includeParentRows ? row.getParentRows().map((_ref2) => {
|
|
1765
|
+
let {
|
|
1766
|
+
id
|
|
1767
|
+
} = _ref2;
|
|
1768
|
+
return id;
|
|
1769
|
+
}) : [];
|
|
1770
|
+
const rowIds = /* @__PURE__ */ new Set([...parentRowIds, row.id, ...leafRowIds]);
|
|
1771
|
+
table.setRowPinning((old) => {
|
|
1772
|
+
var _old$top3, _old$bottom3;
|
|
1773
|
+
if (position === "bottom") {
|
|
1774
|
+
var _old$top, _old$bottom;
|
|
1775
|
+
return {
|
|
1776
|
+
top: ((_old$top = old == null ? void 0 : old.top) != null ? _old$top : []).filter((d) => !(rowIds != null && rowIds.has(d))),
|
|
1777
|
+
bottom: [...((_old$bottom = old == null ? void 0 : old.bottom) != null ? _old$bottom : []).filter((d) => !(rowIds != null && rowIds.has(d))), ...Array.from(rowIds)]
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1780
|
+
if (position === "top") {
|
|
1781
|
+
var _old$top2, _old$bottom2;
|
|
1782
|
+
return {
|
|
1783
|
+
top: [...((_old$top2 = old == null ? void 0 : old.top) != null ? _old$top2 : []).filter((d) => !(rowIds != null && rowIds.has(d))), ...Array.from(rowIds)],
|
|
1784
|
+
bottom: ((_old$bottom2 = old == null ? void 0 : old.bottom) != null ? _old$bottom2 : []).filter((d) => !(rowIds != null && rowIds.has(d)))
|
|
1785
|
+
};
|
|
1786
|
+
}
|
|
1787
|
+
return {
|
|
1788
|
+
top: ((_old$top3 = old == null ? void 0 : old.top) != null ? _old$top3 : []).filter((d) => !(rowIds != null && rowIds.has(d))),
|
|
1789
|
+
bottom: ((_old$bottom3 = old == null ? void 0 : old.bottom) != null ? _old$bottom3 : []).filter((d) => !(rowIds != null && rowIds.has(d)))
|
|
1790
|
+
};
|
|
1791
|
+
});
|
|
1792
|
+
};
|
|
1793
|
+
row.getCanPin = () => {
|
|
1794
|
+
var _ref3;
|
|
1795
|
+
const {
|
|
1796
|
+
enableRowPinning,
|
|
1797
|
+
enablePinning
|
|
1798
|
+
} = table.options;
|
|
1799
|
+
if (typeof enableRowPinning === "function") {
|
|
1800
|
+
return enableRowPinning(row);
|
|
1801
|
+
}
|
|
1802
|
+
return (_ref3 = enableRowPinning != null ? enableRowPinning : enablePinning) != null ? _ref3 : true;
|
|
1803
|
+
};
|
|
1804
|
+
row.getIsPinned = () => {
|
|
1805
|
+
const rowIds = [row.id];
|
|
1806
|
+
const {
|
|
1807
|
+
top,
|
|
1808
|
+
bottom
|
|
1809
|
+
} = table.getState().rowPinning;
|
|
1810
|
+
const isTop = rowIds.some((d) => top == null ? void 0 : top.includes(d));
|
|
1811
|
+
const isBottom = rowIds.some((d) => bottom == null ? void 0 : bottom.includes(d));
|
|
1812
|
+
return isTop ? "top" : isBottom ? "bottom" : false;
|
|
1813
|
+
};
|
|
1814
|
+
row.getPinnedIndex = () => {
|
|
1815
|
+
var _ref4, _visiblePinnedRowIds$;
|
|
1816
|
+
const position = row.getIsPinned();
|
|
1817
|
+
if (!position) return -1;
|
|
1818
|
+
const visiblePinnedRowIds = (_ref4 = position === "top" ? table.getTopRows() : table.getBottomRows()) == null ? void 0 : _ref4.map((_ref5) => {
|
|
1819
|
+
let {
|
|
1820
|
+
id
|
|
1821
|
+
} = _ref5;
|
|
1822
|
+
return id;
|
|
1823
|
+
});
|
|
1824
|
+
return (_visiblePinnedRowIds$ = visiblePinnedRowIds == null ? void 0 : visiblePinnedRowIds.indexOf(row.id)) != null ? _visiblePinnedRowIds$ : -1;
|
|
1825
|
+
};
|
|
1826
|
+
},
|
|
1827
|
+
createTable: (table) => {
|
|
1828
|
+
table.setRowPinning = (updater) => table.options.onRowPinningChange == null ? void 0 : table.options.onRowPinningChange(updater);
|
|
1829
|
+
table.resetRowPinning = (defaultState) => {
|
|
1830
|
+
var _table$initialState$r, _table$initialState;
|
|
1831
|
+
return table.setRowPinning(defaultState ? getDefaultRowPinningState() : (_table$initialState$r = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.rowPinning) != null ? _table$initialState$r : getDefaultRowPinningState());
|
|
1832
|
+
};
|
|
1833
|
+
table.getIsSomeRowsPinned = (position) => {
|
|
1834
|
+
var _pinningState$positio;
|
|
1835
|
+
const pinningState = table.getState().rowPinning;
|
|
1836
|
+
if (!position) {
|
|
1837
|
+
var _pinningState$top, _pinningState$bottom;
|
|
1838
|
+
return Boolean(((_pinningState$top = pinningState.top) == null ? void 0 : _pinningState$top.length) || ((_pinningState$bottom = pinningState.bottom) == null ? void 0 : _pinningState$bottom.length));
|
|
1839
|
+
}
|
|
1840
|
+
return Boolean((_pinningState$positio = pinningState[position]) == null ? void 0 : _pinningState$positio.length);
|
|
1841
|
+
};
|
|
1842
|
+
table._getPinnedRows = (visibleRows, pinnedRowIds, position) => {
|
|
1843
|
+
var _table$options$keepPi;
|
|
1844
|
+
const rows = ((_table$options$keepPi = table.options.keepPinnedRows) != null ? _table$options$keepPi : true) ? (
|
|
1845
|
+
//get all rows that are pinned even if they would not be otherwise visible
|
|
1846
|
+
//account for expanded parent rows, but not pagination or filtering
|
|
1847
|
+
(pinnedRowIds != null ? pinnedRowIds : []).map((rowId) => {
|
|
1848
|
+
const row = table.getRow(rowId, true);
|
|
1849
|
+
return row.getIsAllParentsExpanded() ? row : null;
|
|
1850
|
+
})
|
|
1851
|
+
) : (
|
|
1852
|
+
//else get only visible rows that are pinned
|
|
1853
|
+
(pinnedRowIds != null ? pinnedRowIds : []).map((rowId) => visibleRows.find((row) => row.id === rowId))
|
|
1854
|
+
);
|
|
1855
|
+
return rows.filter(Boolean).map((d) => __spreadProps(__spreadValues({}, d), {
|
|
1856
|
+
position
|
|
1857
|
+
}));
|
|
1858
|
+
};
|
|
1859
|
+
table.getTopRows = memo(() => [table.getRowModel().rows, table.getState().rowPinning.top], (allRows, topPinnedRowIds) => table._getPinnedRows(allRows, topPinnedRowIds, "top"), getMemoOptions(table.options, "debugRows", "getTopRows"));
|
|
1860
|
+
table.getBottomRows = memo(() => [table.getRowModel().rows, table.getState().rowPinning.bottom], (allRows, bottomPinnedRowIds) => table._getPinnedRows(allRows, bottomPinnedRowIds, "bottom"), getMemoOptions(table.options, "debugRows", "getBottomRows"));
|
|
1861
|
+
table.getCenterRows = memo(() => [table.getRowModel().rows, table.getState().rowPinning.top, table.getState().rowPinning.bottom], (allRows, top, bottom) => {
|
|
1862
|
+
const topAndBottom = /* @__PURE__ */ new Set([...top != null ? top : [], ...bottom != null ? bottom : []]);
|
|
1863
|
+
return allRows.filter((d) => !topAndBottom.has(d.id));
|
|
1864
|
+
}, getMemoOptions(table.options, "debugRows", "getCenterRows"));
|
|
1865
|
+
}
|
|
1866
|
+
};
|
|
1867
|
+
var RowSelection = {
|
|
1868
|
+
getInitialState: (state) => {
|
|
1869
|
+
return __spreadValues({
|
|
1870
|
+
rowSelection: {}
|
|
1871
|
+
}, state);
|
|
1872
|
+
},
|
|
1873
|
+
getDefaultOptions: (table) => {
|
|
1874
|
+
return {
|
|
1875
|
+
onRowSelectionChange: makeStateUpdater("rowSelection", table),
|
|
1876
|
+
enableRowSelection: true,
|
|
1877
|
+
enableMultiRowSelection: true,
|
|
1878
|
+
enableSubRowSelection: true
|
|
1879
|
+
// enableGroupingRowSelection: false,
|
|
1880
|
+
// isAdditiveSelectEvent: (e: unknown) => !!e.metaKey,
|
|
1881
|
+
// isInclusiveSelectEvent: (e: unknown) => !!e.shiftKey,
|
|
1882
|
+
};
|
|
1883
|
+
},
|
|
1884
|
+
createTable: (table) => {
|
|
1885
|
+
table.setRowSelection = (updater) => table.options.onRowSelectionChange == null ? void 0 : table.options.onRowSelectionChange(updater);
|
|
1886
|
+
table.resetRowSelection = (defaultState) => {
|
|
1887
|
+
var _table$initialState$r;
|
|
1888
|
+
return table.setRowSelection(defaultState ? {} : (_table$initialState$r = table.initialState.rowSelection) != null ? _table$initialState$r : {});
|
|
1889
|
+
};
|
|
1890
|
+
table.toggleAllRowsSelected = (value) => {
|
|
1891
|
+
table.setRowSelection((old) => {
|
|
1892
|
+
value = typeof value !== "undefined" ? value : !table.getIsAllRowsSelected();
|
|
1893
|
+
const rowSelection = __spreadValues({}, old);
|
|
1894
|
+
const preGroupedFlatRows = table.getPreGroupedRowModel().flatRows;
|
|
1895
|
+
if (value) {
|
|
1896
|
+
preGroupedFlatRows.forEach((row) => {
|
|
1897
|
+
if (!row.getCanSelect()) {
|
|
1898
|
+
return;
|
|
1899
|
+
}
|
|
1900
|
+
rowSelection[row.id] = true;
|
|
1901
|
+
});
|
|
1902
|
+
} else {
|
|
1903
|
+
preGroupedFlatRows.forEach((row) => {
|
|
1904
|
+
delete rowSelection[row.id];
|
|
1905
|
+
});
|
|
1906
|
+
}
|
|
1907
|
+
return rowSelection;
|
|
1908
|
+
});
|
|
1909
|
+
};
|
|
1910
|
+
table.toggleAllPageRowsSelected = (value) => table.setRowSelection((old) => {
|
|
1911
|
+
const resolvedValue = typeof value !== "undefined" ? value : !table.getIsAllPageRowsSelected();
|
|
1912
|
+
const rowSelection = __spreadValues({}, old);
|
|
1913
|
+
table.getRowModel().rows.forEach((row) => {
|
|
1914
|
+
mutateRowIsSelected(rowSelection, row.id, resolvedValue, true, table);
|
|
1915
|
+
});
|
|
1916
|
+
return rowSelection;
|
|
1917
|
+
});
|
|
1918
|
+
table.getPreSelectedRowModel = () => table.getCoreRowModel();
|
|
1919
|
+
table.getSelectedRowModel = memo(() => [table.getState().rowSelection, table.getCoreRowModel()], (rowSelection, rowModel) => {
|
|
1920
|
+
if (!Object.keys(rowSelection).length) {
|
|
1921
|
+
return {
|
|
1922
|
+
rows: [],
|
|
1923
|
+
flatRows: [],
|
|
1924
|
+
rowsById: {}
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
return selectRowsFn(table, rowModel);
|
|
1928
|
+
}, getMemoOptions(table.options, "debugTable", "getSelectedRowModel"));
|
|
1929
|
+
table.getFilteredSelectedRowModel = memo(() => [table.getState().rowSelection, table.getFilteredRowModel()], (rowSelection, rowModel) => {
|
|
1930
|
+
if (!Object.keys(rowSelection).length) {
|
|
1931
|
+
return {
|
|
1932
|
+
rows: [],
|
|
1933
|
+
flatRows: [],
|
|
1934
|
+
rowsById: {}
|
|
1935
|
+
};
|
|
1936
|
+
}
|
|
1937
|
+
return selectRowsFn(table, rowModel);
|
|
1938
|
+
}, getMemoOptions(table.options, "debugTable", "getFilteredSelectedRowModel"));
|
|
1939
|
+
table.getGroupedSelectedRowModel = memo(() => [table.getState().rowSelection, table.getSortedRowModel()], (rowSelection, rowModel) => {
|
|
1940
|
+
if (!Object.keys(rowSelection).length) {
|
|
1941
|
+
return {
|
|
1942
|
+
rows: [],
|
|
1943
|
+
flatRows: [],
|
|
1944
|
+
rowsById: {}
|
|
1945
|
+
};
|
|
1946
|
+
}
|
|
1947
|
+
return selectRowsFn(table, rowModel);
|
|
1948
|
+
}, getMemoOptions(table.options, "debugTable", "getGroupedSelectedRowModel"));
|
|
1949
|
+
table.getIsAllRowsSelected = () => {
|
|
1950
|
+
const preGroupedFlatRows = table.getFilteredRowModel().flatRows;
|
|
1951
|
+
const {
|
|
1952
|
+
rowSelection
|
|
1953
|
+
} = table.getState();
|
|
1954
|
+
let isAllRowsSelected = Boolean(preGroupedFlatRows.length && Object.keys(rowSelection).length);
|
|
1955
|
+
if (isAllRowsSelected) {
|
|
1956
|
+
if (preGroupedFlatRows.some((row) => row.getCanSelect() && !rowSelection[row.id])) {
|
|
1957
|
+
isAllRowsSelected = false;
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
return isAllRowsSelected;
|
|
1961
|
+
};
|
|
1962
|
+
table.getIsAllPageRowsSelected = () => {
|
|
1963
|
+
const paginationFlatRows = table.getPaginationRowModel().flatRows.filter((row) => row.getCanSelect());
|
|
1964
|
+
const {
|
|
1965
|
+
rowSelection
|
|
1966
|
+
} = table.getState();
|
|
1967
|
+
let isAllPageRowsSelected = !!paginationFlatRows.length;
|
|
1968
|
+
if (isAllPageRowsSelected && paginationFlatRows.some((row) => !rowSelection[row.id])) {
|
|
1969
|
+
isAllPageRowsSelected = false;
|
|
1970
|
+
}
|
|
1971
|
+
return isAllPageRowsSelected;
|
|
1972
|
+
};
|
|
1973
|
+
table.getIsSomeRowsSelected = () => {
|
|
1974
|
+
var _table$getState$rowSe;
|
|
1975
|
+
const totalSelected = Object.keys((_table$getState$rowSe = table.getState().rowSelection) != null ? _table$getState$rowSe : {}).length;
|
|
1976
|
+
return totalSelected > 0 && totalSelected < table.getFilteredRowModel().flatRows.length;
|
|
1977
|
+
};
|
|
1978
|
+
table.getIsSomePageRowsSelected = () => {
|
|
1979
|
+
const paginationFlatRows = table.getPaginationRowModel().flatRows;
|
|
1980
|
+
return table.getIsAllPageRowsSelected() ? false : paginationFlatRows.filter((row) => row.getCanSelect()).some((d) => d.getIsSelected() || d.getIsSomeSelected());
|
|
1981
|
+
};
|
|
1982
|
+
table.getToggleAllRowsSelectedHandler = () => {
|
|
1983
|
+
return (e) => {
|
|
1984
|
+
table.toggleAllRowsSelected(e.target.checked);
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
table.getToggleAllPageRowsSelectedHandler = () => {
|
|
1988
|
+
return (e) => {
|
|
1989
|
+
table.toggleAllPageRowsSelected(e.target.checked);
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
},
|
|
1993
|
+
createRow: (row, table) => {
|
|
1994
|
+
row.toggleSelected = (value, opts) => {
|
|
1995
|
+
const isSelected = row.getIsSelected();
|
|
1996
|
+
table.setRowSelection((old) => {
|
|
1997
|
+
var _opts$selectChildren;
|
|
1998
|
+
value = typeof value !== "undefined" ? value : !isSelected;
|
|
1999
|
+
if (row.getCanSelect() && isSelected === value) {
|
|
2000
|
+
return old;
|
|
2001
|
+
}
|
|
2002
|
+
const selectedRowIds = __spreadValues({}, old);
|
|
2003
|
+
mutateRowIsSelected(selectedRowIds, row.id, value, (_opts$selectChildren = opts == null ? void 0 : opts.selectChildren) != null ? _opts$selectChildren : true, table);
|
|
2004
|
+
return selectedRowIds;
|
|
2005
|
+
});
|
|
2006
|
+
};
|
|
2007
|
+
row.getIsSelected = () => {
|
|
2008
|
+
const {
|
|
2009
|
+
rowSelection
|
|
2010
|
+
} = table.getState();
|
|
2011
|
+
return isRowSelected(row, rowSelection);
|
|
2012
|
+
};
|
|
2013
|
+
row.getIsSomeSelected = () => {
|
|
2014
|
+
const {
|
|
2015
|
+
rowSelection
|
|
2016
|
+
} = table.getState();
|
|
2017
|
+
return isSubRowSelected(row, rowSelection) === "some";
|
|
2018
|
+
};
|
|
2019
|
+
row.getIsAllSubRowsSelected = () => {
|
|
2020
|
+
const {
|
|
2021
|
+
rowSelection
|
|
2022
|
+
} = table.getState();
|
|
2023
|
+
return isSubRowSelected(row, rowSelection) === "all";
|
|
2024
|
+
};
|
|
2025
|
+
row.getCanSelect = () => {
|
|
2026
|
+
var _table$options$enable;
|
|
2027
|
+
if (typeof table.options.enableRowSelection === "function") {
|
|
2028
|
+
return table.options.enableRowSelection(row);
|
|
2029
|
+
}
|
|
2030
|
+
return (_table$options$enable = table.options.enableRowSelection) != null ? _table$options$enable : true;
|
|
2031
|
+
};
|
|
2032
|
+
row.getCanSelectSubRows = () => {
|
|
2033
|
+
var _table$options$enable2;
|
|
2034
|
+
if (typeof table.options.enableSubRowSelection === "function") {
|
|
2035
|
+
return table.options.enableSubRowSelection(row);
|
|
2036
|
+
}
|
|
2037
|
+
return (_table$options$enable2 = table.options.enableSubRowSelection) != null ? _table$options$enable2 : true;
|
|
2038
|
+
};
|
|
2039
|
+
row.getCanMultiSelect = () => {
|
|
2040
|
+
var _table$options$enable3;
|
|
2041
|
+
if (typeof table.options.enableMultiRowSelection === "function") {
|
|
2042
|
+
return table.options.enableMultiRowSelection(row);
|
|
2043
|
+
}
|
|
2044
|
+
return (_table$options$enable3 = table.options.enableMultiRowSelection) != null ? _table$options$enable3 : true;
|
|
2045
|
+
};
|
|
2046
|
+
row.getToggleSelectedHandler = () => {
|
|
2047
|
+
const canSelect = row.getCanSelect();
|
|
2048
|
+
return (e) => {
|
|
2049
|
+
var _target;
|
|
2050
|
+
if (!canSelect) return;
|
|
2051
|
+
row.toggleSelected((_target = e.target) == null ? void 0 : _target.checked);
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
}
|
|
2055
|
+
};
|
|
2056
|
+
var mutateRowIsSelected = (selectedRowIds, id, value, includeChildren, table) => {
|
|
2057
|
+
var _row$subRows;
|
|
2058
|
+
const row = table.getRow(id, true);
|
|
2059
|
+
if (value) {
|
|
2060
|
+
if (!row.getCanMultiSelect()) {
|
|
2061
|
+
Object.keys(selectedRowIds).forEach((key) => delete selectedRowIds[key]);
|
|
2062
|
+
}
|
|
2063
|
+
if (row.getCanSelect()) {
|
|
2064
|
+
selectedRowIds[id] = true;
|
|
2065
|
+
}
|
|
2066
|
+
} else {
|
|
2067
|
+
delete selectedRowIds[id];
|
|
2068
|
+
}
|
|
2069
|
+
if (includeChildren && (_row$subRows = row.subRows) != null && _row$subRows.length && row.getCanSelectSubRows()) {
|
|
2070
|
+
row.subRows.forEach((row2) => mutateRowIsSelected(selectedRowIds, row2.id, value, includeChildren, table));
|
|
2071
|
+
}
|
|
2072
|
+
};
|
|
2073
|
+
function selectRowsFn(table, rowModel) {
|
|
2074
|
+
const rowSelection = table.getState().rowSelection;
|
|
2075
|
+
const newSelectedFlatRows = [];
|
|
2076
|
+
const newSelectedRowsById = {};
|
|
2077
|
+
const recurseRows = function(rows, depth) {
|
|
2078
|
+
return rows.map((row) => {
|
|
2079
|
+
var _row$subRows2;
|
|
2080
|
+
const isSelected = isRowSelected(row, rowSelection);
|
|
2081
|
+
if (isSelected) {
|
|
2082
|
+
newSelectedFlatRows.push(row);
|
|
2083
|
+
newSelectedRowsById[row.id] = row;
|
|
2084
|
+
}
|
|
2085
|
+
if ((_row$subRows2 = row.subRows) != null && _row$subRows2.length) {
|
|
2086
|
+
row = __spreadProps(__spreadValues({}, row), {
|
|
2087
|
+
subRows: recurseRows(row.subRows)
|
|
2088
|
+
});
|
|
2089
|
+
}
|
|
2090
|
+
if (isSelected) {
|
|
2091
|
+
return row;
|
|
2092
|
+
}
|
|
2093
|
+
}).filter(Boolean);
|
|
2094
|
+
};
|
|
2095
|
+
return {
|
|
2096
|
+
rows: recurseRows(rowModel.rows),
|
|
2097
|
+
flatRows: newSelectedFlatRows,
|
|
2098
|
+
rowsById: newSelectedRowsById
|
|
2099
|
+
};
|
|
2100
|
+
}
|
|
2101
|
+
function isRowSelected(row, selection) {
|
|
2102
|
+
var _selection$row$id;
|
|
2103
|
+
return (_selection$row$id = selection[row.id]) != null ? _selection$row$id : false;
|
|
2104
|
+
}
|
|
2105
|
+
function isSubRowSelected(row, selection, table) {
|
|
2106
|
+
var _row$subRows3;
|
|
2107
|
+
if (!((_row$subRows3 = row.subRows) != null && _row$subRows3.length)) return false;
|
|
2108
|
+
let allChildrenSelected = true;
|
|
2109
|
+
let someSelected = false;
|
|
2110
|
+
row.subRows.forEach((subRow) => {
|
|
2111
|
+
if (someSelected && !allChildrenSelected) {
|
|
2112
|
+
return;
|
|
2113
|
+
}
|
|
2114
|
+
if (subRow.getCanSelect()) {
|
|
2115
|
+
if (isRowSelected(subRow, selection)) {
|
|
2116
|
+
someSelected = true;
|
|
2117
|
+
} else {
|
|
2118
|
+
allChildrenSelected = false;
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
if (subRow.subRows && subRow.subRows.length) {
|
|
2122
|
+
const subRowChildrenSelected = isSubRowSelected(subRow, selection);
|
|
2123
|
+
if (subRowChildrenSelected === "all") {
|
|
2124
|
+
someSelected = true;
|
|
2125
|
+
} else if (subRowChildrenSelected === "some") {
|
|
2126
|
+
someSelected = true;
|
|
2127
|
+
allChildrenSelected = false;
|
|
2128
|
+
} else {
|
|
2129
|
+
allChildrenSelected = false;
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
});
|
|
2133
|
+
return allChildrenSelected ? "all" : someSelected ? "some" : false;
|
|
2134
|
+
}
|
|
2135
|
+
var reSplitAlphaNumeric = /([0-9]+)/gm;
|
|
2136
|
+
var alphanumeric = (rowA, rowB, columnId) => {
|
|
2137
|
+
return compareAlphanumeric(toString(rowA.getValue(columnId)).toLowerCase(), toString(rowB.getValue(columnId)).toLowerCase());
|
|
2138
|
+
};
|
|
2139
|
+
var alphanumericCaseSensitive = (rowA, rowB, columnId) => {
|
|
2140
|
+
return compareAlphanumeric(toString(rowA.getValue(columnId)), toString(rowB.getValue(columnId)));
|
|
2141
|
+
};
|
|
2142
|
+
var text = (rowA, rowB, columnId) => {
|
|
2143
|
+
return compareBasic(toString(rowA.getValue(columnId)).toLowerCase(), toString(rowB.getValue(columnId)).toLowerCase());
|
|
2144
|
+
};
|
|
2145
|
+
var textCaseSensitive = (rowA, rowB, columnId) => {
|
|
2146
|
+
return compareBasic(toString(rowA.getValue(columnId)), toString(rowB.getValue(columnId)));
|
|
2147
|
+
};
|
|
2148
|
+
var datetime = (rowA, rowB, columnId) => {
|
|
2149
|
+
const a = rowA.getValue(columnId);
|
|
2150
|
+
const b = rowB.getValue(columnId);
|
|
2151
|
+
return a > b ? 1 : a < b ? -1 : 0;
|
|
2152
|
+
};
|
|
2153
|
+
var basic = (rowA, rowB, columnId) => {
|
|
2154
|
+
return compareBasic(rowA.getValue(columnId), rowB.getValue(columnId));
|
|
2155
|
+
};
|
|
2156
|
+
function compareBasic(a, b) {
|
|
2157
|
+
return a === b ? 0 : a > b ? 1 : -1;
|
|
2158
|
+
}
|
|
2159
|
+
function toString(a) {
|
|
2160
|
+
if (typeof a === "number") {
|
|
2161
|
+
if (isNaN(a) || a === Infinity || a === -Infinity) {
|
|
2162
|
+
return "";
|
|
2163
|
+
}
|
|
2164
|
+
return String(a);
|
|
2165
|
+
}
|
|
2166
|
+
if (typeof a === "string") {
|
|
2167
|
+
return a;
|
|
2168
|
+
}
|
|
2169
|
+
return "";
|
|
2170
|
+
}
|
|
2171
|
+
function compareAlphanumeric(aStr, bStr) {
|
|
2172
|
+
const a = aStr.split(reSplitAlphaNumeric).filter(Boolean);
|
|
2173
|
+
const b = bStr.split(reSplitAlphaNumeric).filter(Boolean);
|
|
2174
|
+
while (a.length && b.length) {
|
|
2175
|
+
const aa = a.shift();
|
|
2176
|
+
const bb = b.shift();
|
|
2177
|
+
const an = parseInt(aa, 10);
|
|
2178
|
+
const bn = parseInt(bb, 10);
|
|
2179
|
+
const combo = [an, bn].sort();
|
|
2180
|
+
if (isNaN(combo[0])) {
|
|
2181
|
+
if (aa > bb) {
|
|
2182
|
+
return 1;
|
|
2183
|
+
}
|
|
2184
|
+
if (bb > aa) {
|
|
2185
|
+
return -1;
|
|
2186
|
+
}
|
|
2187
|
+
continue;
|
|
2188
|
+
}
|
|
2189
|
+
if (isNaN(combo[1])) {
|
|
2190
|
+
return isNaN(an) ? -1 : 1;
|
|
2191
|
+
}
|
|
2192
|
+
if (an > bn) {
|
|
2193
|
+
return 1;
|
|
2194
|
+
}
|
|
2195
|
+
if (bn > an) {
|
|
2196
|
+
return -1;
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
return a.length - b.length;
|
|
2200
|
+
}
|
|
2201
|
+
var sortingFns = {
|
|
2202
|
+
alphanumeric,
|
|
2203
|
+
alphanumericCaseSensitive,
|
|
2204
|
+
text,
|
|
2205
|
+
textCaseSensitive,
|
|
2206
|
+
datetime,
|
|
2207
|
+
basic
|
|
2208
|
+
};
|
|
2209
|
+
var RowSorting = {
|
|
2210
|
+
getInitialState: (state) => {
|
|
2211
|
+
return __spreadValues({
|
|
2212
|
+
sorting: []
|
|
2213
|
+
}, state);
|
|
2214
|
+
},
|
|
2215
|
+
getDefaultColumnDef: () => {
|
|
2216
|
+
return {
|
|
2217
|
+
sortingFn: "auto",
|
|
2218
|
+
sortUndefined: 1
|
|
2219
|
+
};
|
|
2220
|
+
},
|
|
2221
|
+
getDefaultOptions: (table) => {
|
|
2222
|
+
return {
|
|
2223
|
+
onSortingChange: makeStateUpdater("sorting", table),
|
|
2224
|
+
isMultiSortEvent: (e) => {
|
|
2225
|
+
return e.shiftKey;
|
|
2226
|
+
}
|
|
2227
|
+
};
|
|
2228
|
+
},
|
|
2229
|
+
createColumn: (column, table) => {
|
|
2230
|
+
column.getAutoSortingFn = () => {
|
|
2231
|
+
const firstRows = table.getFilteredRowModel().flatRows.slice(10);
|
|
2232
|
+
let isString = false;
|
|
2233
|
+
for (const row of firstRows) {
|
|
2234
|
+
const value = row == null ? void 0 : row.getValue(column.id);
|
|
2235
|
+
if (Object.prototype.toString.call(value) === "[object Date]") {
|
|
2236
|
+
return sortingFns.datetime;
|
|
2237
|
+
}
|
|
2238
|
+
if (typeof value === "string") {
|
|
2239
|
+
isString = true;
|
|
2240
|
+
if (value.split(reSplitAlphaNumeric).length > 1) {
|
|
2241
|
+
return sortingFns.alphanumeric;
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
if (isString) {
|
|
2246
|
+
return sortingFns.text;
|
|
2247
|
+
}
|
|
2248
|
+
return sortingFns.basic;
|
|
2249
|
+
};
|
|
2250
|
+
column.getAutoSortDir = () => {
|
|
2251
|
+
const firstRow = table.getFilteredRowModel().flatRows[0];
|
|
2252
|
+
const value = firstRow == null ? void 0 : firstRow.getValue(column.id);
|
|
2253
|
+
if (typeof value === "string") {
|
|
2254
|
+
return "asc";
|
|
2255
|
+
}
|
|
2256
|
+
return "desc";
|
|
2257
|
+
};
|
|
2258
|
+
column.getSortingFn = () => {
|
|
2259
|
+
var _table$options$sortin, _table$options$sortin2;
|
|
2260
|
+
if (!column) {
|
|
2261
|
+
throw new Error();
|
|
2262
|
+
}
|
|
2263
|
+
return isFunction(column.columnDef.sortingFn) ? column.columnDef.sortingFn : column.columnDef.sortingFn === "auto" ? column.getAutoSortingFn() : (_table$options$sortin = (_table$options$sortin2 = table.options.sortingFns) == null ? void 0 : _table$options$sortin2[column.columnDef.sortingFn]) != null ? _table$options$sortin : sortingFns[column.columnDef.sortingFn];
|
|
2264
|
+
};
|
|
2265
|
+
column.toggleSorting = (desc, multi) => {
|
|
2266
|
+
const nextSortingOrder = column.getNextSortingOrder();
|
|
2267
|
+
const hasManualValue = typeof desc !== "undefined" && desc !== null;
|
|
2268
|
+
table.setSorting((old) => {
|
|
2269
|
+
const existingSorting = old == null ? void 0 : old.find((d) => d.id === column.id);
|
|
2270
|
+
const existingIndex = old == null ? void 0 : old.findIndex((d) => d.id === column.id);
|
|
2271
|
+
let newSorting = [];
|
|
2272
|
+
let sortAction;
|
|
2273
|
+
let nextDesc = hasManualValue ? desc : nextSortingOrder === "desc";
|
|
2274
|
+
if (old != null && old.length && column.getCanMultiSort() && multi) {
|
|
2275
|
+
if (existingSorting) {
|
|
2276
|
+
sortAction = "toggle";
|
|
2277
|
+
} else {
|
|
2278
|
+
sortAction = "add";
|
|
2279
|
+
}
|
|
2280
|
+
} else {
|
|
2281
|
+
if (old != null && old.length && existingIndex !== old.length - 1) {
|
|
2282
|
+
sortAction = "replace";
|
|
2283
|
+
} else if (existingSorting) {
|
|
2284
|
+
sortAction = "toggle";
|
|
2285
|
+
} else {
|
|
2286
|
+
sortAction = "replace";
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
if (sortAction === "toggle") {
|
|
2290
|
+
if (!hasManualValue) {
|
|
2291
|
+
if (!nextSortingOrder) {
|
|
2292
|
+
sortAction = "remove";
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
if (sortAction === "add") {
|
|
2297
|
+
var _table$options$maxMul;
|
|
2298
|
+
newSorting = [...old, {
|
|
2299
|
+
id: column.id,
|
|
2300
|
+
desc: nextDesc
|
|
2301
|
+
}];
|
|
2302
|
+
newSorting.splice(0, newSorting.length - ((_table$options$maxMul = table.options.maxMultiSortColCount) != null ? _table$options$maxMul : Number.MAX_SAFE_INTEGER));
|
|
2303
|
+
} else if (sortAction === "toggle") {
|
|
2304
|
+
newSorting = old.map((d) => {
|
|
2305
|
+
if (d.id === column.id) {
|
|
2306
|
+
return __spreadProps(__spreadValues({}, d), {
|
|
2307
|
+
desc: nextDesc
|
|
2308
|
+
});
|
|
2309
|
+
}
|
|
2310
|
+
return d;
|
|
2311
|
+
});
|
|
2312
|
+
} else if (sortAction === "remove") {
|
|
2313
|
+
newSorting = old.filter((d) => d.id !== column.id);
|
|
2314
|
+
} else {
|
|
2315
|
+
newSorting = [{
|
|
2316
|
+
id: column.id,
|
|
2317
|
+
desc: nextDesc
|
|
2318
|
+
}];
|
|
2319
|
+
}
|
|
2320
|
+
return newSorting;
|
|
2321
|
+
});
|
|
2322
|
+
};
|
|
2323
|
+
column.getFirstSortDir = () => {
|
|
2324
|
+
var _ref, _column$columnDef$sor;
|
|
2325
|
+
const sortDescFirst = (_ref = (_column$columnDef$sor = column.columnDef.sortDescFirst) != null ? _column$columnDef$sor : table.options.sortDescFirst) != null ? _ref : column.getAutoSortDir() === "desc";
|
|
2326
|
+
return sortDescFirst ? "desc" : "asc";
|
|
2327
|
+
};
|
|
2328
|
+
column.getNextSortingOrder = (multi) => {
|
|
2329
|
+
var _table$options$enable, _table$options$enable2;
|
|
2330
|
+
const firstSortDirection = column.getFirstSortDir();
|
|
2331
|
+
const isSorted = column.getIsSorted();
|
|
2332
|
+
if (!isSorted) {
|
|
2333
|
+
return firstSortDirection;
|
|
2334
|
+
}
|
|
2335
|
+
if (isSorted !== firstSortDirection && ((_table$options$enable = table.options.enableSortingRemoval) != null ? _table$options$enable : true) && // If enableSortRemove, enable in general
|
|
2336
|
+
(multi ? (_table$options$enable2 = table.options.enableMultiRemove) != null ? _table$options$enable2 : true : true)) {
|
|
2337
|
+
return false;
|
|
2338
|
+
}
|
|
2339
|
+
return isSorted === "desc" ? "asc" : "desc";
|
|
2340
|
+
};
|
|
2341
|
+
column.getCanSort = () => {
|
|
2342
|
+
var _column$columnDef$ena, _table$options$enable3;
|
|
2343
|
+
return ((_column$columnDef$ena = column.columnDef.enableSorting) != null ? _column$columnDef$ena : true) && ((_table$options$enable3 = table.options.enableSorting) != null ? _table$options$enable3 : true) && !!column.accessorFn;
|
|
2344
|
+
};
|
|
2345
|
+
column.getCanMultiSort = () => {
|
|
2346
|
+
var _ref2, _column$columnDef$ena2;
|
|
2347
|
+
return (_ref2 = (_column$columnDef$ena2 = column.columnDef.enableMultiSort) != null ? _column$columnDef$ena2 : table.options.enableMultiSort) != null ? _ref2 : !!column.accessorFn;
|
|
2348
|
+
};
|
|
2349
|
+
column.getIsSorted = () => {
|
|
2350
|
+
var _table$getState$sorti;
|
|
2351
|
+
const columnSort = (_table$getState$sorti = table.getState().sorting) == null ? void 0 : _table$getState$sorti.find((d) => d.id === column.id);
|
|
2352
|
+
return !columnSort ? false : columnSort.desc ? "desc" : "asc";
|
|
2353
|
+
};
|
|
2354
|
+
column.getSortIndex = () => {
|
|
2355
|
+
var _table$getState$sorti2, _table$getState$sorti3;
|
|
2356
|
+
return (_table$getState$sorti2 = (_table$getState$sorti3 = table.getState().sorting) == null ? void 0 : _table$getState$sorti3.findIndex((d) => d.id === column.id)) != null ? _table$getState$sorti2 : -1;
|
|
2357
|
+
};
|
|
2358
|
+
column.clearSorting = () => {
|
|
2359
|
+
table.setSorting((old) => old != null && old.length ? old.filter((d) => d.id !== column.id) : []);
|
|
2360
|
+
};
|
|
2361
|
+
column.getToggleSortingHandler = () => {
|
|
2362
|
+
const canSort = column.getCanSort();
|
|
2363
|
+
return (e) => {
|
|
2364
|
+
if (!canSort) return;
|
|
2365
|
+
e.persist == null || e.persist();
|
|
2366
|
+
column.toggleSorting == null || column.toggleSorting(void 0, column.getCanMultiSort() ? table.options.isMultiSortEvent == null ? void 0 : table.options.isMultiSortEvent(e) : false);
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
},
|
|
2370
|
+
createTable: (table) => {
|
|
2371
|
+
table.setSorting = (updater) => table.options.onSortingChange == null ? void 0 : table.options.onSortingChange(updater);
|
|
2372
|
+
table.resetSorting = (defaultState) => {
|
|
2373
|
+
var _table$initialState$s, _table$initialState;
|
|
2374
|
+
table.setSorting(defaultState ? [] : (_table$initialState$s = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.sorting) != null ? _table$initialState$s : []);
|
|
2375
|
+
};
|
|
2376
|
+
table.getPreSortedRowModel = () => table.getGroupedRowModel();
|
|
2377
|
+
table.getSortedRowModel = () => {
|
|
2378
|
+
if (!table._getSortedRowModel && table.options.getSortedRowModel) {
|
|
2379
|
+
table._getSortedRowModel = table.options.getSortedRowModel(table);
|
|
2380
|
+
}
|
|
2381
|
+
if (table.options.manualSorting || !table._getSortedRowModel) {
|
|
2382
|
+
return table.getPreSortedRowModel();
|
|
2383
|
+
}
|
|
2384
|
+
return table._getSortedRowModel();
|
|
2385
|
+
};
|
|
2386
|
+
}
|
|
2387
|
+
};
|
|
2388
|
+
var builtInFeatures = [
|
|
2389
|
+
Headers,
|
|
2390
|
+
ColumnVisibility,
|
|
2391
|
+
ColumnOrdering,
|
|
2392
|
+
ColumnPinning,
|
|
2393
|
+
ColumnFaceting,
|
|
2394
|
+
ColumnFiltering,
|
|
2395
|
+
GlobalFaceting,
|
|
2396
|
+
//depends on ColumnFaceting
|
|
2397
|
+
GlobalFiltering,
|
|
2398
|
+
//depends on ColumnFiltering
|
|
2399
|
+
RowSorting,
|
|
2400
|
+
ColumnGrouping,
|
|
2401
|
+
//depends on RowSorting
|
|
2402
|
+
RowExpanding,
|
|
2403
|
+
RowPagination,
|
|
2404
|
+
RowPinning,
|
|
2405
|
+
RowSelection,
|
|
2406
|
+
ColumnSizing
|
|
2407
|
+
];
|
|
2408
|
+
function createTable(options) {
|
|
2409
|
+
var _options$_features, _options$initialState;
|
|
2410
|
+
if (false) {
|
|
2411
|
+
console.info("Creating Table Instance...");
|
|
2412
|
+
}
|
|
2413
|
+
const _features = [...builtInFeatures, ...(_options$_features = options._features) != null ? _options$_features : []];
|
|
2414
|
+
let table = {
|
|
2415
|
+
_features
|
|
2416
|
+
};
|
|
2417
|
+
const defaultOptions = table._features.reduce((obj, feature) => {
|
|
2418
|
+
return Object.assign(obj, feature.getDefaultOptions == null ? void 0 : feature.getDefaultOptions(table));
|
|
2419
|
+
}, {});
|
|
2420
|
+
const mergeOptions = (options2) => {
|
|
2421
|
+
if (table.options.mergeOptions) {
|
|
2422
|
+
return table.options.mergeOptions(defaultOptions, options2);
|
|
2423
|
+
}
|
|
2424
|
+
return __spreadValues(__spreadValues({}, defaultOptions), options2);
|
|
2425
|
+
};
|
|
2426
|
+
const coreInitialState = {};
|
|
2427
|
+
let initialState = __spreadValues(__spreadValues({}, coreInitialState), (_options$initialState = options.initialState) != null ? _options$initialState : {});
|
|
2428
|
+
table._features.forEach((feature) => {
|
|
2429
|
+
var _feature$getInitialSt;
|
|
2430
|
+
initialState = (_feature$getInitialSt = feature.getInitialState == null ? void 0 : feature.getInitialState(initialState)) != null ? _feature$getInitialSt : initialState;
|
|
2431
|
+
});
|
|
2432
|
+
const queued = [];
|
|
2433
|
+
let queuedTimeout = false;
|
|
2434
|
+
const coreInstance = {
|
|
2435
|
+
_features,
|
|
2436
|
+
options: __spreadValues(__spreadValues({}, defaultOptions), options),
|
|
2437
|
+
initialState,
|
|
2438
|
+
_queue: (cb) => {
|
|
2439
|
+
queued.push(cb);
|
|
2440
|
+
if (!queuedTimeout) {
|
|
2441
|
+
queuedTimeout = true;
|
|
2442
|
+
Promise.resolve().then(() => {
|
|
2443
|
+
while (queued.length) {
|
|
2444
|
+
queued.shift()();
|
|
2445
|
+
}
|
|
2446
|
+
queuedTimeout = false;
|
|
2447
|
+
}).catch((error) => setTimeout(() => {
|
|
2448
|
+
throw error;
|
|
2449
|
+
}));
|
|
2450
|
+
}
|
|
2451
|
+
},
|
|
2452
|
+
reset: () => {
|
|
2453
|
+
table.setState(table.initialState);
|
|
2454
|
+
},
|
|
2455
|
+
setOptions: (updater) => {
|
|
2456
|
+
const newOptions = functionalUpdate(updater, table.options);
|
|
2457
|
+
table.options = mergeOptions(newOptions);
|
|
2458
|
+
},
|
|
2459
|
+
getState: () => {
|
|
2460
|
+
return table.options.state;
|
|
2461
|
+
},
|
|
2462
|
+
setState: (updater) => {
|
|
2463
|
+
table.options.onStateChange == null || table.options.onStateChange(updater);
|
|
2464
|
+
},
|
|
2465
|
+
_getRowId: (row, index, parent) => {
|
|
2466
|
+
var _table$options$getRow;
|
|
2467
|
+
return (_table$options$getRow = table.options.getRowId == null ? void 0 : table.options.getRowId(row, index, parent)) != null ? _table$options$getRow : `${parent ? [parent.id, index].join(".") : index}`;
|
|
2468
|
+
},
|
|
2469
|
+
getCoreRowModel: () => {
|
|
2470
|
+
if (!table._getCoreRowModel) {
|
|
2471
|
+
table._getCoreRowModel = table.options.getCoreRowModel(table);
|
|
2472
|
+
}
|
|
2473
|
+
return table._getCoreRowModel();
|
|
2474
|
+
},
|
|
2475
|
+
// The final calls start at the bottom of the model,
|
|
2476
|
+
// expanded rows, which then work their way up
|
|
2477
|
+
getRowModel: () => {
|
|
2478
|
+
return table.getPaginationRowModel();
|
|
2479
|
+
},
|
|
2480
|
+
//in next version, we should just pass in the row model as the optional 2nd arg
|
|
2481
|
+
getRow: (id, searchAll) => {
|
|
2482
|
+
let row = (searchAll ? table.getPrePaginationRowModel() : table.getRowModel()).rowsById[id];
|
|
2483
|
+
if (!row) {
|
|
2484
|
+
row = table.getCoreRowModel().rowsById[id];
|
|
2485
|
+
if (!row) {
|
|
2486
|
+
if (false) {
|
|
2487
|
+
throw new Error(`getRow could not find row with ID: ${id}`);
|
|
2488
|
+
}
|
|
2489
|
+
throw new Error();
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
return row;
|
|
2493
|
+
},
|
|
2494
|
+
_getDefaultColumnDef: memo(() => [table.options.defaultColumn], (defaultColumn) => {
|
|
2495
|
+
var _defaultColumn;
|
|
2496
|
+
defaultColumn = (_defaultColumn = defaultColumn) != null ? _defaultColumn : {};
|
|
2497
|
+
return __spreadValues(__spreadValues({
|
|
2498
|
+
header: (props) => {
|
|
2499
|
+
const resolvedColumnDef = props.header.column.columnDef;
|
|
2500
|
+
if (resolvedColumnDef.accessorKey) {
|
|
2501
|
+
return resolvedColumnDef.accessorKey;
|
|
2502
|
+
}
|
|
2503
|
+
if (resolvedColumnDef.accessorFn) {
|
|
2504
|
+
return resolvedColumnDef.id;
|
|
2505
|
+
}
|
|
2506
|
+
return null;
|
|
2507
|
+
},
|
|
2508
|
+
// footer: props => props.header.column.id,
|
|
2509
|
+
cell: (props) => {
|
|
2510
|
+
var _props$renderValue$to, _props$renderValue;
|
|
2511
|
+
return (_props$renderValue$to = (_props$renderValue = props.renderValue()) == null || _props$renderValue.toString == null ? void 0 : _props$renderValue.toString()) != null ? _props$renderValue$to : null;
|
|
2512
|
+
}
|
|
2513
|
+
}, table._features.reduce((obj, feature) => {
|
|
2514
|
+
return Object.assign(obj, feature.getDefaultColumnDef == null ? void 0 : feature.getDefaultColumnDef());
|
|
2515
|
+
}, {})), defaultColumn);
|
|
2516
|
+
}, getMemoOptions(options, "debugColumns", "_getDefaultColumnDef")),
|
|
2517
|
+
_getColumnDefs: () => table.options.columns,
|
|
2518
|
+
getAllColumns: memo(() => [table._getColumnDefs()], (columnDefs) => {
|
|
2519
|
+
const recurseColumns = function(columnDefs2, parent, depth) {
|
|
2520
|
+
if (depth === void 0) {
|
|
2521
|
+
depth = 0;
|
|
2522
|
+
}
|
|
2523
|
+
return columnDefs2.map((columnDef) => {
|
|
2524
|
+
const column = createColumn(table, columnDef, depth, parent);
|
|
2525
|
+
const groupingColumnDef = columnDef;
|
|
2526
|
+
column.columns = groupingColumnDef.columns ? recurseColumns(groupingColumnDef.columns, column, depth + 1) : [];
|
|
2527
|
+
return column;
|
|
2528
|
+
});
|
|
2529
|
+
};
|
|
2530
|
+
return recurseColumns(columnDefs);
|
|
2531
|
+
}, getMemoOptions(options, "debugColumns", "getAllColumns")),
|
|
2532
|
+
getAllFlatColumns: memo(() => [table.getAllColumns()], (allColumns) => {
|
|
2533
|
+
return allColumns.flatMap((column) => {
|
|
2534
|
+
return column.getFlatColumns();
|
|
2535
|
+
});
|
|
2536
|
+
}, getMemoOptions(options, "debugColumns", "getAllFlatColumns")),
|
|
2537
|
+
_getAllFlatColumnsById: memo(() => [table.getAllFlatColumns()], (flatColumns) => {
|
|
2538
|
+
return flatColumns.reduce((acc, column) => {
|
|
2539
|
+
acc[column.id] = column;
|
|
2540
|
+
return acc;
|
|
2541
|
+
}, {});
|
|
2542
|
+
}, getMemoOptions(options, "debugColumns", "getAllFlatColumnsById")),
|
|
2543
|
+
getAllLeafColumns: memo(() => [table.getAllColumns(), table._getOrderColumnsFn()], (allColumns, orderColumns2) => {
|
|
2544
|
+
let leafColumns = allColumns.flatMap((column) => column.getLeafColumns());
|
|
2545
|
+
return orderColumns2(leafColumns);
|
|
2546
|
+
}, getMemoOptions(options, "debugColumns", "getAllLeafColumns")),
|
|
2547
|
+
getColumn: (columnId) => {
|
|
2548
|
+
const column = table._getAllFlatColumnsById()[columnId];
|
|
2549
|
+
if (false) {
|
|
2550
|
+
console.error(`[Table] Column with id '${columnId}' does not exist.`);
|
|
2551
|
+
}
|
|
2552
|
+
return column;
|
|
2553
|
+
}
|
|
2554
|
+
};
|
|
2555
|
+
Object.assign(table, coreInstance);
|
|
2556
|
+
for (let index = 0; index < table._features.length; index++) {
|
|
2557
|
+
const feature = table._features[index];
|
|
2558
|
+
feature == null || feature.createTable == null || feature.createTable(table);
|
|
2559
|
+
}
|
|
2560
|
+
return table;
|
|
2561
|
+
}
|
|
2562
|
+
function getCoreRowModel() {
|
|
2563
|
+
return (table) => memo(() => [table.options.data], (data) => {
|
|
2564
|
+
const rowModel = {
|
|
2565
|
+
rows: [],
|
|
2566
|
+
flatRows: [],
|
|
2567
|
+
rowsById: {}
|
|
2568
|
+
};
|
|
2569
|
+
const accessRows = function(originalRows, depth, parentRow) {
|
|
2570
|
+
if (depth === void 0) {
|
|
2571
|
+
depth = 0;
|
|
2572
|
+
}
|
|
2573
|
+
const rows = [];
|
|
2574
|
+
for (let i = 0; i < originalRows.length; i++) {
|
|
2575
|
+
const row = createRow(table, table._getRowId(originalRows[i], i, parentRow), originalRows[i], i, depth, void 0, parentRow == null ? void 0 : parentRow.id);
|
|
2576
|
+
rowModel.flatRows.push(row);
|
|
2577
|
+
rowModel.rowsById[row.id] = row;
|
|
2578
|
+
rows.push(row);
|
|
2579
|
+
if (table.options.getSubRows) {
|
|
2580
|
+
var _row$originalSubRows;
|
|
2581
|
+
row.originalSubRows = table.options.getSubRows(originalRows[i], i);
|
|
2582
|
+
if ((_row$originalSubRows = row.originalSubRows) != null && _row$originalSubRows.length) {
|
|
2583
|
+
row.subRows = accessRows(row.originalSubRows, depth + 1, row);
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
return rows;
|
|
2588
|
+
};
|
|
2589
|
+
rowModel.rows = accessRows(data);
|
|
2590
|
+
return rowModel;
|
|
2591
|
+
}, getMemoOptions(table.options, "debugTable", "getRowModel", () => table._autoResetPageIndex()));
|
|
2592
|
+
}
|
|
2593
|
+
function getExpandedRowModel() {
|
|
2594
|
+
return (table) => memo(() => [table.getState().expanded, table.getPreExpandedRowModel(), table.options.paginateExpandedRows], (expanded, rowModel, paginateExpandedRows) => {
|
|
2595
|
+
if (!rowModel.rows.length || expanded !== true && !Object.keys(expanded != null ? expanded : {}).length) {
|
|
2596
|
+
return rowModel;
|
|
2597
|
+
}
|
|
2598
|
+
if (!paginateExpandedRows) {
|
|
2599
|
+
return rowModel;
|
|
2600
|
+
}
|
|
2601
|
+
return expandRows(rowModel);
|
|
2602
|
+
}, getMemoOptions(table.options, "debugTable", "getExpandedRowModel"));
|
|
2603
|
+
}
|
|
2604
|
+
function expandRows(rowModel) {
|
|
2605
|
+
const expandedRows = [];
|
|
2606
|
+
const handleRow = (row) => {
|
|
2607
|
+
var _row$subRows;
|
|
2608
|
+
expandedRows.push(row);
|
|
2609
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
|
|
2610
|
+
row.subRows.forEach(handleRow);
|
|
2611
|
+
}
|
|
2612
|
+
};
|
|
2613
|
+
rowModel.rows.forEach(handleRow);
|
|
2614
|
+
return {
|
|
2615
|
+
rows: expandedRows,
|
|
2616
|
+
flatRows: rowModel.flatRows,
|
|
2617
|
+
rowsById: rowModel.rowsById
|
|
2618
|
+
};
|
|
2619
|
+
}
|
|
2620
|
+
function filterRows(rows, filterRowImpl, table) {
|
|
2621
|
+
if (table.options.filterFromLeafRows) {
|
|
2622
|
+
return filterRowModelFromLeafs(rows, filterRowImpl, table);
|
|
2623
|
+
}
|
|
2624
|
+
return filterRowModelFromRoot(rows, filterRowImpl, table);
|
|
2625
|
+
}
|
|
2626
|
+
function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
2627
|
+
var _table$options$maxLea;
|
|
2628
|
+
const newFilteredFlatRows = [];
|
|
2629
|
+
const newFilteredRowsById = {};
|
|
2630
|
+
const maxDepth = (_table$options$maxLea = table.options.maxLeafRowFilterDepth) != null ? _table$options$maxLea : 100;
|
|
2631
|
+
const recurseFilterRows = function(rowsToFilter2, depth) {
|
|
2632
|
+
if (depth === void 0) {
|
|
2633
|
+
depth = 0;
|
|
2634
|
+
}
|
|
2635
|
+
const rows = [];
|
|
2636
|
+
for (let i = 0; i < rowsToFilter2.length; i++) {
|
|
2637
|
+
var _row$subRows;
|
|
2638
|
+
let row = rowsToFilter2[i];
|
|
2639
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth, void 0, row.parentId);
|
|
2640
|
+
newRow.columnFilters = row.columnFilters;
|
|
2641
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length && depth < maxDepth) {
|
|
2642
|
+
newRow.subRows = recurseFilterRows(row.subRows, depth + 1);
|
|
2643
|
+
row = newRow;
|
|
2644
|
+
if (filterRow(row) && !newRow.subRows.length) {
|
|
2645
|
+
rows.push(row);
|
|
2646
|
+
newFilteredRowsById[row.id] = row;
|
|
2647
|
+
newFilteredFlatRows.push(row);
|
|
2648
|
+
continue;
|
|
2649
|
+
}
|
|
2650
|
+
if (filterRow(row) || newRow.subRows.length) {
|
|
2651
|
+
rows.push(row);
|
|
2652
|
+
newFilteredRowsById[row.id] = row;
|
|
2653
|
+
newFilteredFlatRows.push(row);
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
} else {
|
|
2657
|
+
row = newRow;
|
|
2658
|
+
if (filterRow(row)) {
|
|
2659
|
+
rows.push(row);
|
|
2660
|
+
newFilteredRowsById[row.id] = row;
|
|
2661
|
+
newFilteredFlatRows.push(row);
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
return rows;
|
|
2666
|
+
};
|
|
2667
|
+
return {
|
|
2668
|
+
rows: recurseFilterRows(rowsToFilter),
|
|
2669
|
+
flatRows: newFilteredFlatRows,
|
|
2670
|
+
rowsById: newFilteredRowsById
|
|
2671
|
+
};
|
|
2672
|
+
}
|
|
2673
|
+
function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
2674
|
+
var _table$options$maxLea2;
|
|
2675
|
+
const newFilteredFlatRows = [];
|
|
2676
|
+
const newFilteredRowsById = {};
|
|
2677
|
+
const maxDepth = (_table$options$maxLea2 = table.options.maxLeafRowFilterDepth) != null ? _table$options$maxLea2 : 100;
|
|
2678
|
+
const recurseFilterRows = function(rowsToFilter2, depth) {
|
|
2679
|
+
if (depth === void 0) {
|
|
2680
|
+
depth = 0;
|
|
2681
|
+
}
|
|
2682
|
+
const rows = [];
|
|
2683
|
+
for (let i = 0; i < rowsToFilter2.length; i++) {
|
|
2684
|
+
let row = rowsToFilter2[i];
|
|
2685
|
+
const pass = filterRow(row);
|
|
2686
|
+
if (pass) {
|
|
2687
|
+
var _row$subRows2;
|
|
2688
|
+
if ((_row$subRows2 = row.subRows) != null && _row$subRows2.length && depth < maxDepth) {
|
|
2689
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth, void 0, row.parentId);
|
|
2690
|
+
newRow.subRows = recurseFilterRows(row.subRows, depth + 1);
|
|
2691
|
+
row = newRow;
|
|
2692
|
+
}
|
|
2693
|
+
rows.push(row);
|
|
2694
|
+
newFilteredFlatRows.push(row);
|
|
2695
|
+
newFilteredRowsById[row.id] = row;
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
return rows;
|
|
2699
|
+
};
|
|
2700
|
+
return {
|
|
2701
|
+
rows: recurseFilterRows(rowsToFilter),
|
|
2702
|
+
flatRows: newFilteredFlatRows,
|
|
2703
|
+
rowsById: newFilteredRowsById
|
|
2704
|
+
};
|
|
2705
|
+
}
|
|
2706
|
+
function getFilteredRowModel() {
|
|
2707
|
+
return (table) => memo(() => [table.getPreFilteredRowModel(), table.getState().columnFilters, table.getState().globalFilter], (rowModel, columnFilters, globalFilter) => {
|
|
2708
|
+
if (!rowModel.rows.length || !(columnFilters != null && columnFilters.length) && !globalFilter) {
|
|
2709
|
+
for (let i = 0; i < rowModel.flatRows.length; i++) {
|
|
2710
|
+
rowModel.flatRows[i].columnFilters = {};
|
|
2711
|
+
rowModel.flatRows[i].columnFiltersMeta = {};
|
|
2712
|
+
}
|
|
2713
|
+
return rowModel;
|
|
2714
|
+
}
|
|
2715
|
+
const resolvedColumnFilters = [];
|
|
2716
|
+
const resolvedGlobalFilters = [];
|
|
2717
|
+
(columnFilters != null ? columnFilters : []).forEach((d) => {
|
|
2718
|
+
var _filterFn$resolveFilt;
|
|
2719
|
+
const column = table.getColumn(d.id);
|
|
2720
|
+
if (!column) {
|
|
2721
|
+
return;
|
|
2722
|
+
}
|
|
2723
|
+
const filterFn = column.getFilterFn();
|
|
2724
|
+
if (!filterFn) {
|
|
2725
|
+
if (false) {
|
|
2726
|
+
console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${column.id}.`);
|
|
2727
|
+
}
|
|
2728
|
+
return;
|
|
2729
|
+
}
|
|
2730
|
+
resolvedColumnFilters.push({
|
|
2731
|
+
id: d.id,
|
|
2732
|
+
filterFn,
|
|
2733
|
+
resolvedValue: (_filterFn$resolveFilt = filterFn.resolveFilterValue == null ? void 0 : filterFn.resolveFilterValue(d.value)) != null ? _filterFn$resolveFilt : d.value
|
|
2734
|
+
});
|
|
2735
|
+
});
|
|
2736
|
+
const filterableIds = (columnFilters != null ? columnFilters : []).map((d) => d.id);
|
|
2737
|
+
const globalFilterFn = table.getGlobalFilterFn();
|
|
2738
|
+
const globallyFilterableColumns = table.getAllLeafColumns().filter((column) => column.getCanGlobalFilter());
|
|
2739
|
+
if (globalFilter && globalFilterFn && globallyFilterableColumns.length) {
|
|
2740
|
+
filterableIds.push("__global__");
|
|
2741
|
+
globallyFilterableColumns.forEach((column) => {
|
|
2742
|
+
var _globalFilterFn$resol;
|
|
2743
|
+
resolvedGlobalFilters.push({
|
|
2744
|
+
id: column.id,
|
|
2745
|
+
filterFn: globalFilterFn,
|
|
2746
|
+
resolvedValue: (_globalFilterFn$resol = globalFilterFn.resolveFilterValue == null ? void 0 : globalFilterFn.resolveFilterValue(globalFilter)) != null ? _globalFilterFn$resol : globalFilter
|
|
2747
|
+
});
|
|
2748
|
+
});
|
|
2749
|
+
}
|
|
2750
|
+
let currentColumnFilter;
|
|
2751
|
+
let currentGlobalFilter;
|
|
2752
|
+
for (let j = 0; j < rowModel.flatRows.length; j++) {
|
|
2753
|
+
const row = rowModel.flatRows[j];
|
|
2754
|
+
row.columnFilters = {};
|
|
2755
|
+
if (resolvedColumnFilters.length) {
|
|
2756
|
+
for (let i = 0; i < resolvedColumnFilters.length; i++) {
|
|
2757
|
+
currentColumnFilter = resolvedColumnFilters[i];
|
|
2758
|
+
const id = currentColumnFilter.id;
|
|
2759
|
+
row.columnFilters[id] = currentColumnFilter.filterFn(row, id, currentColumnFilter.resolvedValue, (filterMeta) => {
|
|
2760
|
+
row.columnFiltersMeta[id] = filterMeta;
|
|
2761
|
+
});
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
if (resolvedGlobalFilters.length) {
|
|
2765
|
+
for (let i = 0; i < resolvedGlobalFilters.length; i++) {
|
|
2766
|
+
currentGlobalFilter = resolvedGlobalFilters[i];
|
|
2767
|
+
const id = currentGlobalFilter.id;
|
|
2768
|
+
if (currentGlobalFilter.filterFn(row, id, currentGlobalFilter.resolvedValue, (filterMeta) => {
|
|
2769
|
+
row.columnFiltersMeta[id] = filterMeta;
|
|
2770
|
+
})) {
|
|
2771
|
+
row.columnFilters.__global__ = true;
|
|
2772
|
+
break;
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
if (row.columnFilters.__global__ !== true) {
|
|
2776
|
+
row.columnFilters.__global__ = false;
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
const filterRowsImpl = (row) => {
|
|
2781
|
+
for (let i = 0; i < filterableIds.length; i++) {
|
|
2782
|
+
if (row.columnFilters[filterableIds[i]] === false) {
|
|
2783
|
+
return false;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
return true;
|
|
2787
|
+
};
|
|
2788
|
+
return filterRows(rowModel.rows, filterRowsImpl, table);
|
|
2789
|
+
}, getMemoOptions(table.options, "debugTable", "getFilteredRowModel", () => table._autoResetPageIndex()));
|
|
2790
|
+
}
|
|
2791
|
+
function getPaginationRowModel(opts) {
|
|
2792
|
+
return (table) => memo(() => [table.getState().pagination, table.getPrePaginationRowModel(), table.options.paginateExpandedRows ? void 0 : table.getState().expanded], (pagination, rowModel) => {
|
|
2793
|
+
if (!rowModel.rows.length) {
|
|
2794
|
+
return rowModel;
|
|
2795
|
+
}
|
|
2796
|
+
const {
|
|
2797
|
+
pageSize,
|
|
2798
|
+
pageIndex
|
|
2799
|
+
} = pagination;
|
|
2800
|
+
let {
|
|
2801
|
+
rows,
|
|
2802
|
+
flatRows,
|
|
2803
|
+
rowsById
|
|
2804
|
+
} = rowModel;
|
|
2805
|
+
const pageStart = pageSize * pageIndex;
|
|
2806
|
+
const pageEnd = pageStart + pageSize;
|
|
2807
|
+
rows = rows.slice(pageStart, pageEnd);
|
|
2808
|
+
let paginatedRowModel;
|
|
2809
|
+
if (!table.options.paginateExpandedRows) {
|
|
2810
|
+
paginatedRowModel = expandRows({
|
|
2811
|
+
rows,
|
|
2812
|
+
flatRows,
|
|
2813
|
+
rowsById
|
|
2814
|
+
});
|
|
2815
|
+
} else {
|
|
2816
|
+
paginatedRowModel = {
|
|
2817
|
+
rows,
|
|
2818
|
+
flatRows,
|
|
2819
|
+
rowsById
|
|
2820
|
+
};
|
|
2821
|
+
}
|
|
2822
|
+
paginatedRowModel.flatRows = [];
|
|
2823
|
+
const handleRow = (row) => {
|
|
2824
|
+
paginatedRowModel.flatRows.push(row);
|
|
2825
|
+
if (row.subRows.length) {
|
|
2826
|
+
row.subRows.forEach(handleRow);
|
|
2827
|
+
}
|
|
2828
|
+
};
|
|
2829
|
+
paginatedRowModel.rows.forEach(handleRow);
|
|
2830
|
+
return paginatedRowModel;
|
|
2831
|
+
}, getMemoOptions(table.options, "debugTable", "getPaginationRowModel"));
|
|
2832
|
+
}
|
|
2833
|
+
function getSortedRowModel() {
|
|
2834
|
+
return (table) => memo(() => [table.getState().sorting, table.getPreSortedRowModel()], (sorting, rowModel) => {
|
|
2835
|
+
if (!rowModel.rows.length || !(sorting != null && sorting.length)) {
|
|
2836
|
+
return rowModel;
|
|
2837
|
+
}
|
|
2838
|
+
const sortingState = table.getState().sorting;
|
|
2839
|
+
const sortedFlatRows = [];
|
|
2840
|
+
const availableSorting = sortingState.filter((sort) => {
|
|
2841
|
+
var _table$getColumn;
|
|
2842
|
+
return (_table$getColumn = table.getColumn(sort.id)) == null ? void 0 : _table$getColumn.getCanSort();
|
|
2843
|
+
});
|
|
2844
|
+
const columnInfoById = {};
|
|
2845
|
+
availableSorting.forEach((sortEntry) => {
|
|
2846
|
+
const column = table.getColumn(sortEntry.id);
|
|
2847
|
+
if (!column) return;
|
|
2848
|
+
columnInfoById[sortEntry.id] = {
|
|
2849
|
+
sortUndefined: column.columnDef.sortUndefined,
|
|
2850
|
+
invertSorting: column.columnDef.invertSorting,
|
|
2851
|
+
sortingFn: column.getSortingFn()
|
|
2852
|
+
};
|
|
2853
|
+
});
|
|
2854
|
+
const sortData = (rows) => {
|
|
2855
|
+
const sortedData = rows.map((row) => __spreadValues({}, row));
|
|
2856
|
+
sortedData.sort((rowA, rowB) => {
|
|
2857
|
+
for (let i = 0; i < availableSorting.length; i += 1) {
|
|
2858
|
+
var _sortEntry$desc;
|
|
2859
|
+
const sortEntry = availableSorting[i];
|
|
2860
|
+
const columnInfo = columnInfoById[sortEntry.id];
|
|
2861
|
+
const sortUndefined = columnInfo.sortUndefined;
|
|
2862
|
+
const isDesc = (_sortEntry$desc = sortEntry == null ? void 0 : sortEntry.desc) != null ? _sortEntry$desc : false;
|
|
2863
|
+
let sortInt = 0;
|
|
2864
|
+
if (sortUndefined) {
|
|
2865
|
+
const aValue = rowA.getValue(sortEntry.id);
|
|
2866
|
+
const bValue = rowB.getValue(sortEntry.id);
|
|
2867
|
+
const aUndefined = aValue === void 0;
|
|
2868
|
+
const bUndefined = bValue === void 0;
|
|
2869
|
+
if (aUndefined || bUndefined) {
|
|
2870
|
+
if (sortUndefined === "first") return aUndefined ? -1 : 1;
|
|
2871
|
+
if (sortUndefined === "last") return aUndefined ? 1 : -1;
|
|
2872
|
+
sortInt = aUndefined && bUndefined ? 0 : aUndefined ? sortUndefined : -sortUndefined;
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
if (sortInt === 0) {
|
|
2876
|
+
sortInt = columnInfo.sortingFn(rowA, rowB, sortEntry.id);
|
|
2877
|
+
}
|
|
2878
|
+
if (sortInt !== 0) {
|
|
2879
|
+
if (isDesc) {
|
|
2880
|
+
sortInt *= -1;
|
|
2881
|
+
}
|
|
2882
|
+
if (columnInfo.invertSorting) {
|
|
2883
|
+
sortInt *= -1;
|
|
2884
|
+
}
|
|
2885
|
+
return sortInt;
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
return rowA.index - rowB.index;
|
|
2889
|
+
});
|
|
2890
|
+
sortedData.forEach((row) => {
|
|
2891
|
+
var _row$subRows;
|
|
2892
|
+
sortedFlatRows.push(row);
|
|
2893
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length) {
|
|
2894
|
+
row.subRows = sortData(row.subRows);
|
|
2895
|
+
}
|
|
2896
|
+
});
|
|
2897
|
+
return sortedData;
|
|
2898
|
+
};
|
|
2899
|
+
return {
|
|
2900
|
+
rows: sortData(rowModel.rows),
|
|
2901
|
+
flatRows: sortedFlatRows,
|
|
2902
|
+
rowsById: rowModel.rowsById
|
|
2903
|
+
};
|
|
2904
|
+
}, getMemoOptions(table.options, "debugTable", "getSortedRowModel", () => table._autoResetPageIndex()));
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
// node_modules/@tanstack/lit-table/build/lib/index.mjs
|
|
2908
|
+
function flexRender(Comp, props) {
|
|
2909
|
+
if (!Comp) return null;
|
|
2910
|
+
if (typeof Comp === "function") {
|
|
2911
|
+
return Comp(props);
|
|
2912
|
+
}
|
|
2913
|
+
return Comp;
|
|
2914
|
+
}
|
|
2915
|
+
var TableController = class {
|
|
2916
|
+
constructor(host) {
|
|
2917
|
+
__publicField(this, "tableInstance", null);
|
|
2918
|
+
__publicField(this, "_tableState", null);
|
|
2919
|
+
(this.host = host).addController(this);
|
|
2920
|
+
}
|
|
2921
|
+
table(options) {
|
|
2922
|
+
if (!this.tableInstance) {
|
|
2923
|
+
const resolvedOptions = __spreadValues({
|
|
2924
|
+
state: {},
|
|
2925
|
+
onStateChange: () => {
|
|
2926
|
+
},
|
|
2927
|
+
// noop
|
|
2928
|
+
renderFallbackValue: null
|
|
2929
|
+
}, options);
|
|
2930
|
+
this.tableInstance = createTable(resolvedOptions);
|
|
2931
|
+
this._tableState = __spreadValues(__spreadValues({}, this.tableInstance.initialState), options.state);
|
|
2932
|
+
}
|
|
2933
|
+
this.tableInstance.setOptions((prev) => __spreadProps(__spreadValues(__spreadValues({}, prev), options), {
|
|
2934
|
+
state: __spreadValues(__spreadValues({}, this._tableState), options.state),
|
|
2935
|
+
onStateChange: (updater) => {
|
|
2936
|
+
this._tableState = updater(this._tableState);
|
|
2937
|
+
this.host.requestUpdate();
|
|
2938
|
+
options.onStateChange == null || options.onStateChange(updater);
|
|
2939
|
+
}
|
|
2940
|
+
}));
|
|
2941
|
+
return this.tableInstance;
|
|
2942
|
+
}
|
|
2943
|
+
hostDisconnected() {
|
|
2944
|
+
}
|
|
2945
|
+
};
|
|
2946
|
+
|
|
2947
|
+
export {
|
|
2948
|
+
createColumnHelper,
|
|
2949
|
+
getCoreRowModel,
|
|
2950
|
+
getExpandedRowModel,
|
|
2951
|
+
getFilteredRowModel,
|
|
2952
|
+
getPaginationRowModel,
|
|
2953
|
+
getSortedRowModel,
|
|
2954
|
+
flexRender,
|
|
2955
|
+
TableController
|
|
2956
|
+
};
|
|
2957
|
+
/*! Bundled license information:
|
|
2958
|
+
|
|
2959
|
+
@tanstack/table-core/build/lib/index.mjs:
|
|
2960
|
+
(**
|
|
2961
|
+
* table-core
|
|
2962
|
+
*
|
|
2963
|
+
* Copyright (c) TanStack
|
|
2964
|
+
*
|
|
2965
|
+
* This source code is licensed under the MIT license found in the
|
|
2966
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
2967
|
+
*
|
|
2968
|
+
* @license MIT
|
|
2969
|
+
*)
|
|
2970
|
+
|
|
2971
|
+
@tanstack/lit-table/build/lib/index.mjs:
|
|
2972
|
+
(**
|
|
2973
|
+
* lit-table
|
|
2974
|
+
*
|
|
2975
|
+
* Copyright (c) TanStack
|
|
2976
|
+
*
|
|
2977
|
+
* This source code is licensed under the MIT license found in the
|
|
2978
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
2979
|
+
*
|
|
2980
|
+
* @license MIT
|
|
2981
|
+
*)
|
|
2982
|
+
*/
|