@lightsparkdev/ui 1.1.10 → 1.1.12
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/CHANGELOG.md +14 -0
- package/dist/{chunk-RTBR3MYS.cjs → chunk-23RQUWY3.cjs} +8 -3
- package/dist/{chunk-FGMYBF3Y.js → chunk-23V2BQIJ.js} +3 -3
- package/dist/chunk-24MJ7UXE.cjs +454 -0
- package/dist/{chunk-GXS5AIAV.cjs → chunk-26LIY2TY.cjs} +18 -18
- package/dist/{chunk-AEJ7VTL4.cjs → chunk-33O5ZKBK.cjs} +34 -18
- package/dist/{chunk-J7HZA7ZF.cjs → chunk-3BHD5JQG.cjs} +7 -7
- package/dist/{chunk-GRE7PVY2.cjs → chunk-3FUZVNYP.cjs} +1 -1
- package/dist/chunk-3GQVSH4J.cjs +26 -0
- package/dist/{chunk-7VZSY4LP.js → chunk-3GYCV4FM.js} +3 -3
- package/dist/{chunk-CKOBIWNV.cjs → chunk-3HTAOJJY.cjs} +2 -2
- package/dist/{chunk-EI7ASDM3.js → chunk-3I7X37GW.js} +3 -3
- package/dist/{chunk-XZD67M3O.js → chunk-3QKAPUNJ.js} +2 -2
- package/dist/{chunk-HCDN3FAX.js → chunk-3QNLVFVF.js} +7 -7
- package/dist/{chunk-FLOVW4OG.cjs → chunk-3S2IXFL5.cjs} +7 -7
- package/dist/{chunk-FE6SDGEQ.cjs → chunk-3W5PSPDI.cjs} +7 -7
- package/dist/chunk-4I3XNIB3.js +23 -0
- package/dist/chunk-4NIZBRSL.cjs +23 -0
- package/dist/{chunk-QDNMORXW.cjs → chunk-4OYQINCG.cjs} +10 -10
- package/dist/{chunk-MC6ME6U5.js → chunk-4S5DWXZM.js} +2 -2
- package/dist/{chunk-X7XHV4IC.cjs → chunk-4VPHZC2D.cjs} +8 -8
- package/dist/{chunk-H2V7AUPD.js → chunk-54JVZN7V.js} +11 -11
- package/dist/chunk-57SWOHLH.cjs +22 -0
- package/dist/{chunk-EDMCWD63.cjs → chunk-5BOF3LWD.cjs} +4 -4
- package/dist/{chunk-T6Q43UMB.js → chunk-5JN74UVP.js} +6 -6
- package/dist/{chunk-UWAU4HGV.js → chunk-5KV7AF7A.js} +3 -3
- package/dist/chunk-5NFHD225.cjs +23 -0
- package/dist/{chunk-QYMXXB6X.cjs → chunk-5S244FP7.cjs} +4 -4
- package/dist/{chunk-4BTJNCI2.cjs → chunk-66T5GGH6.cjs} +15 -15
- package/dist/{chunk-M6OIV4DC.cjs → chunk-6A3GRDWB.cjs} +14 -14
- package/dist/chunk-6FIHWYIA.js +23 -0
- package/dist/chunk-6JUP62YP.cjs +23 -0
- package/dist/{chunk-LAIAW5BT.js → chunk-6P3DRKOM.js} +1 -1
- package/dist/{chunk-DMPXNHDT.js → chunk-6UZRKYFG.js} +3 -3
- package/dist/{chunk-JTN3RTSL.cjs → chunk-6VFNYN36.cjs} +8 -6
- package/dist/chunk-6YG7IA2F.cjs +26 -0
- package/dist/{chunk-MJT4VLKE.js → chunk-72GU2ULU.js} +2 -2
- package/dist/{chunk-XUHJLDRX.cjs → chunk-73EJLMPT.cjs} +2 -2
- package/dist/{chunk-JRZVXLTF.cjs → chunk-73QDKRMT.cjs} +12 -12
- package/dist/{chunk-N6HZEKNT.js → chunk-7D26HUQJ.js} +5 -3
- package/dist/{chunk-J7CGEXDD.cjs → chunk-7GY6MCKE.cjs} +7 -7
- package/dist/{chunk-Q4PPWLDC.cjs → chunk-7RJM7K57.cjs} +2 -2
- package/dist/{chunk-PS7LUKAF.js → chunk-ABXDFBZP.js} +487 -56
- package/dist/{chunk-WMAEVB25.cjs → chunk-AF67FQ4Z.cjs} +22 -22
- package/dist/{chunk-GFAX5WLZ.js → chunk-AJNBTDBR.js} +3 -3
- package/dist/{chunk-L2G3TFTD.cjs → chunk-AMM6SFLZ.cjs} +2 -2
- package/dist/{chunk-FDIQ522F.js → chunk-B6RIC7YP.js} +2 -2
- package/dist/{chunk-PIBQMSQJ.js → chunk-BAR5Z4Z4.js} +3 -3
- package/dist/{chunk-COLUFMG2.js → chunk-BFZHEEYN.js} +3 -3
- package/dist/chunk-BUWZLUUJ.js +23 -0
- package/dist/{chunk-25AAHDUW.js → chunk-BV33EFPE.js} +3 -3
- package/dist/{chunk-FLJVMRYG.cjs → chunk-BVDTGF4C.cjs} +58 -58
- package/dist/{chunk-YNCTWF7N.js → chunk-C2CVRXBV.js} +1 -1
- package/dist/{chunk-YIPBSM46.js → chunk-C33MKWHW.js} +2 -2
- package/dist/{chunk-TQ7X5GEF.cjs → chunk-CCH72VOE.cjs} +15 -15
- package/dist/{chunk-N6HLM4KC.cjs → chunk-CECD7VAL.cjs} +7 -7
- package/dist/{chunk-4MKMPQEP.cjs → chunk-CFKIFONU.cjs} +35 -35
- package/dist/{chunk-7RWYC5ZX.js → chunk-CKHGC2WN.js} +1 -1
- package/dist/{chunk-J26VDYFV.cjs → chunk-CSFRHQZL.cjs} +3 -3
- package/dist/{chunk-OSYLTDKI.js → chunk-CUJ7FRLM.js} +7 -7
- package/dist/{chunk-W7FAWX6T.js → chunk-CWMXXUWU.js} +0 -25
- package/dist/{chunk-WXIJ3B4W.cjs → chunk-D4G7AKPX.cjs} +11 -11
- package/dist/{chunk-HHOQWXGY.js → chunk-D5RHZ7NW.js} +1 -1
- package/dist/{chunk-ONOZU4XX.cjs → chunk-DB6Z636Z.cjs} +49 -46
- package/dist/{chunk-4YJ2NQRP.cjs → chunk-DIRSPH6A.cjs} +11 -11
- package/dist/{chunk-EZI6E6UO.js → chunk-DLXRHZR3.js} +2 -2
- package/dist/{chunk-6SGHAVWG.js → chunk-DN2FKFOA.js} +3 -3
- package/dist/{chunk-5NUOBJXP.js → chunk-DTJWFL32.js} +1 -1
- package/dist/{chunk-3EC5GIFU.js → chunk-E4NORVJR.js} +7 -7
- package/dist/{chunk-HXNX5ZV6.js → chunk-E7BQOZNU.js} +4 -4
- package/dist/{chunk-PRSIGZUJ.cjs → chunk-E7LYNOV5.cjs} +4 -4
- package/dist/{chunk-VAH342U2.js → chunk-EE47JMIS.js} +28 -11
- package/dist/{chunk-CBZWRFNU.cjs → chunk-EFE67RSP.cjs} +14 -14
- package/dist/chunk-EIMKA4T5.cjs +26 -0
- package/dist/{chunk-ZUAUG74V.cjs → chunk-EJR26GKN.cjs} +107 -48
- package/dist/{chunk-L33RQLMZ.js → chunk-ELDDEAMK.js} +4 -4
- package/dist/{chunk-2FUPV2YR.js → chunk-EMESAQ5K.js} +3 -3
- package/dist/{chunk-PHQ6NFOZ.js → chunk-EQHEEJE6.js} +1 -1
- package/dist/{chunk-XO5V3EX5.cjs → chunk-ESB24OWJ.cjs} +10 -10
- package/dist/{chunk-TMHOHUIP.js → chunk-EWH523DU.js} +6 -3
- package/dist/{chunk-JZ3TGO3D.cjs → chunk-EZNRFABO.cjs} +3 -3
- package/dist/{chunk-L2UQFMAI.js → chunk-F2TLPMXI.js} +3 -3
- package/dist/{chunk-FTMB6R72.js → chunk-F5ARMTFS.js} +24 -8
- package/dist/{chunk-HGZGGJQB.js → chunk-F5UEJLZY.js} +2 -2
- package/dist/{chunk-6DKHWJUR.cjs → chunk-F6OUI5FN.cjs} +2 -2
- package/dist/{chunk-5RR6NTWL.js → chunk-FN3RCC5X.js} +10 -10
- package/dist/{chunk-USX5U72M.js → chunk-FSJJKVWF.js} +3 -3
- package/dist/{chunk-MFKERIW4.cjs → chunk-FVBFDZES.cjs} +3 -3
- package/dist/{chunk-LLDZKHRK.js → chunk-FWNPY7RR.js} +2 -2
- package/dist/{chunk-KCUSJWDZ.js → chunk-FXKLW6CU.js} +7 -7
- package/dist/chunk-G5H7DC2F.cjs +26 -0
- package/dist/{chunk-SR2D6GWC.cjs → chunk-GBF3XMMA.cjs} +68 -68
- package/dist/{chunk-L2UOQCGR.cjs → chunk-GCQJPKWF.cjs} +11 -11
- package/dist/chunk-GCWPZCEF.cjs +23 -0
- package/dist/{chunk-UXH4PJZB.js → chunk-GKNA4KJH.js} +3 -3
- package/dist/{chunk-KGQMGW3Y.js → chunk-GLA7VODC.js} +2 -2
- package/dist/{chunk-KKOBB4X5.cjs → chunk-GMDANQAC.cjs} +43 -34
- package/dist/{chunk-PXDYQ6O4.cjs → chunk-GPEJBX7I.cjs} +2 -2
- package/dist/{chunk-5ENSQ45B.js → chunk-GQPSXKNA.js} +6 -3
- package/dist/{chunk-SGG54BO5.cjs → chunk-GWTMSN3Y.cjs} +5 -5
- package/dist/{chunk-VLYEKZJ6.cjs → chunk-GWYU4ZFA.cjs} +8 -8
- package/dist/{chunk-2H6VC357.js → chunk-H3IPOCYH.js} +28 -28
- package/dist/{chunk-7LBAA7GT.cjs → chunk-H6RPWOND.cjs} +28 -28
- package/dist/{chunk-OU6KZFOM.cjs → chunk-HDWV5YVD.cjs} +7 -7
- package/dist/{chunk-PATBY6OZ.cjs → chunk-HEF3DPLJ.cjs} +7 -7
- package/dist/chunk-HES73ORY.cjs +1279 -0
- package/dist/{chunk-M45ZHVBH.cjs → chunk-HFWJFUVZ.cjs} +5 -5
- package/dist/{chunk-Y45PAGZ2.cjs → chunk-HG353CME.cjs} +2 -2
- package/dist/chunk-HHR4QZXY.cjs +23 -0
- package/dist/chunk-HRAYQERH.cjs +23 -0
- package/dist/{chunk-DSFNKYH6.js → chunk-HU5MYH2I.js} +6 -6
- package/dist/{chunk-TH42CNH3.js → chunk-HVI5KOQY.js} +4 -4
- package/dist/{chunk-2C7DZIDY.js → chunk-HXEOFTXC.js} +2 -2
- package/dist/{chunk-M7P5MYNB.js → chunk-I23RZ2XE.js} +5 -5
- package/dist/{chunk-JDED27A4.cjs → chunk-I4TZXJFU.cjs} +15 -12
- package/dist/{chunk-C4X6HNCA.js → chunk-I6KZ6OZC.js} +94 -35
- package/dist/chunk-IIB3Z36Q.cjs +47 -0
- package/dist/chunk-IYVDHOSW.cjs +26 -0
- package/dist/{chunk-CBHJZ4S2.cjs → chunk-J6JCD4WC.cjs} +5 -5
- package/dist/{chunk-OPMC32ZY.cjs → chunk-J7CNU3P7.cjs} +6 -6
- package/dist/chunk-JBH3MFO4.cjs +26 -0
- package/dist/{chunk-QQDRBCBY.cjs → chunk-JFPLNGMQ.cjs} +12 -5
- package/dist/{chunk-SFWWGAGK.js → chunk-JMMQIRWX.js} +5 -5
- package/dist/{chunk-45Z5PIHF.js → chunk-JNNPTENW.js} +3 -3
- package/dist/{chunk-GH54P25B.cjs → chunk-JOIBGT3Q.cjs} +4 -4
- package/dist/chunk-JR3WW6PK.cjs +26 -0
- package/dist/{chunk-SNSG4HBQ.cjs → chunk-JR6JLVEZ.cjs} +2 -2
- package/dist/{chunk-MQIRWNSG.js → chunk-JUCCA6SI.js} +3 -3
- package/dist/{chunk-3VHSE7WI.js → chunk-JVDFBPBW.js} +1 -1
- package/dist/{chunk-6S6CYFEK.js → chunk-JW4F6DBU.js} +3 -3
- package/dist/{chunk-ZNW4LHJE.cjs → chunk-JXB6Y7EV.cjs} +4 -4
- package/dist/{chunk-2W4UASAE.js → chunk-JZ6J2SFP.js} +1 -1
- package/dist/{chunk-EGLQSBC4.cjs → chunk-K2D64XWW.cjs} +7 -7
- package/dist/{chunk-2HQSZODW.js → chunk-K5UHJL5S.js} +17 -17
- package/dist/{chunk-NBYTATDG.js → chunk-KQP42G2Z.js} +2 -2
- package/dist/{chunk-DORBQICL.cjs → chunk-KUCQASJB.cjs} +1 -1
- package/dist/{chunk-SGTENCGP.cjs → chunk-KUMRXHB4.cjs} +32 -32
- package/dist/{chunk-OKXNCD5T.js → chunk-KWB7LI7J.js} +10 -10
- package/dist/chunk-KZOIHPQG.cjs +23 -0
- package/dist/{chunk-IT6Y66F5.js → chunk-L4HEQZN5.js} +3 -3
- package/dist/{chunk-AW6FYBWA.cjs → chunk-L4IL75G5.cjs} +5 -5
- package/dist/chunk-L5XAET3L.cjs +22 -0
- package/dist/chunk-LAE3PN6H.js +22 -0
- package/dist/{chunk-TV3MDDCC.js → chunk-LAHPI6IM.js} +2 -2
- package/dist/{chunk-UFU3BYZO.cjs → chunk-LC2U6HQS.cjs} +4 -4
- package/dist/{chunk-S5AV3X5O.js → chunk-LIVMIDVJ.js} +1 -1
- package/dist/{chunk-RXADLJME.js → chunk-LO33OQNO.js} +5 -5
- package/dist/chunk-LPPWOF52.cjs +22 -0
- package/dist/{chunk-SIPHI6JZ.js → chunk-LTHYR4CT.js} +29 -20
- package/dist/{chunk-TXJQWZCR.js → chunk-LUFTJNU7.js} +8 -8
- package/dist/{chunk-WO4DRP3M.js → chunk-LUUZGLV2.js} +3 -3
- package/dist/{chunk-YHXSJVBN.cjs → chunk-M355VGZ3.cjs} +2 -2
- package/dist/{chunk-EL4BFAUN.cjs → chunk-MA4TAJR3.cjs} +12 -12
- package/dist/{chunk-MQYA7D6F.cjs → chunk-MAZATZKE.cjs} +7 -7
- package/dist/{chunk-UZO5Y7WP.js → chunk-MG6S5CNO.js} +1 -1
- package/dist/{chunk-H5MRGJQP.js → chunk-MJ7G5LAD.js} +39 -19
- package/dist/{chunk-LW7PUO7V.js → chunk-MMLF3WCN.js} +5 -5
- package/dist/{chunk-KAMBSKAE.js → chunk-MNWCPDWF.js} +13 -13
- package/dist/{chunk-SJ67AQ6I.cjs → chunk-MPO5I3PI.cjs} +9 -9
- package/dist/{chunk-DDGSFIWA.cjs → chunk-MVYSTBT3.cjs} +18 -18
- package/dist/{chunk-W3THU56E.cjs → chunk-MYY7ZXGM.cjs} +8 -8
- package/dist/{chunk-ZOIGYYOQ.js → chunk-N4KUQ4VE.js} +8 -8
- package/dist/{chunk-5AB6NTYU.js → chunk-N4RQOGUG.js} +6 -6
- package/dist/{chunk-JYUD6RIG.js → chunk-NB7TSNDO.js} +3 -3
- package/dist/{chunk-QHODHUW2.js → chunk-NFQP7P3D.js} +1 -1
- package/dist/{chunk-VGCIBO3Q.js → chunk-NJQRI33S.js} +1 -1
- package/dist/{chunk-ILBP4CTU.cjs → chunk-NMFG6FLI.cjs} +57 -37
- package/dist/{chunk-WL4ZTZHK.js → chunk-NOT53IQA.js} +1 -1
- package/dist/{chunk-FNBCFFF7.cjs → chunk-NSCQ77IA.cjs} +7 -7
- package/dist/{chunk-JXEBM5BK.js → chunk-NTKDEHMH.js} +3 -3
- package/dist/chunk-NXWPSMD7.js +47 -0
- package/dist/{chunk-JDJJ2Y3Y.cjs → chunk-NYS4EFZQ.cjs} +7 -7
- package/dist/{chunk-EEFPSSQK.cjs → chunk-NYSWJWIF.cjs} +2 -2
- package/dist/{chunk-OA2TKY4K.cjs → chunk-O23SZQEV.cjs} +2 -2
- package/dist/{chunk-HPMPD35V.cjs → chunk-OBZPLH2A.cjs} +7 -7
- package/dist/{chunk-DIPPWB45.cjs → chunk-OC3UMDU6.cjs} +7 -7
- package/dist/{chunk-R4FLAFIG.js → chunk-OGB6P6ZG.js} +6 -6
- package/dist/{chunk-VUI7MCNE.cjs → chunk-OIWD6PGG.cjs} +3 -3
- package/dist/{chunk-E6KUNQIE.js → chunk-OQK3WVD3.js} +3 -3
- package/dist/{chunk-CKO5XQTU.js → chunk-ORZXHK4K.js} +3 -3
- package/dist/{chunk-ZEY7VXX4.cjs → chunk-OVTSKJMB.cjs} +1 -1
- package/dist/{chunk-KU2ZI6TI.cjs → chunk-P3MWWSTD.cjs} +12 -12
- package/dist/{chunk-AJT37TCS.cjs → chunk-P7BNVHNV.cjs} +7 -4
- package/dist/{chunk-6HFFGWQX.cjs → chunk-P7VPGHOU.cjs} +64 -45
- package/dist/chunk-PBQDSQB2.cjs +26 -0
- package/dist/{chunk-7THTVLRT.cjs → chunk-PJRXLV2A.cjs} +7 -7
- package/dist/{chunk-LNABLXSA.cjs → chunk-PKDDIJKC.cjs} +7 -7
- package/dist/{chunk-PXZPOJRA.js → chunk-PNCFKQLV.js} +3 -3
- package/dist/{chunk-C5GHMAVP.cjs → chunk-POB6GOVT.cjs} +1 -1
- package/dist/{chunk-LD2AN4YJ.cjs → chunk-PU3OHLCL.cjs} +13 -13
- package/dist/chunk-PYEBDREL.cjs +23 -0
- package/dist/chunk-QHPWEJ3J.js +22 -0
- package/dist/chunk-QIG7Q2HZ.js +23 -0
- package/dist/{chunk-TXDLUYVG.cjs → chunk-QPWUPYZ4.cjs} +11 -11
- package/dist/{chunk-CSY4CGNN.js → chunk-QU74MMCB.js} +30 -27
- package/dist/{chunk-ISDKKT5U.js → chunk-QWZTWJXX.js} +7 -2
- package/dist/{chunk-UXUWPZZA.cjs → chunk-QYMLQ254.cjs} +7 -7
- package/dist/{chunk-OBHJBBPC.cjs → chunk-R5SHOMBX.cjs} +214 -197
- package/dist/chunk-RF4EYUZC.js +22 -0
- package/dist/{chunk-2JKTPKU6.cjs → chunk-RFO3GG6R.cjs} +5 -5
- package/dist/chunk-RHFE57ED.cjs +26 -0
- package/dist/{chunk-FXVL47OZ.cjs → chunk-RMI7V37W.cjs} +22 -22
- package/dist/{chunk-AFZEU7OM.js → chunk-RUS25WXZ.js} +5 -5
- package/dist/{chunk-SPJXDMZK.cjs → chunk-RV6KAIIF.cjs} +118 -55
- package/dist/{chunk-YPB3YRAG.cjs → chunk-RWXDKRDL.cjs} +8 -8
- package/dist/{chunk-RSHN4K6N.cjs → chunk-RZ24JAMP.cjs} +6 -6
- package/dist/{chunk-RO7YTILY.js → chunk-SBZTKWLK.js} +2 -2
- package/dist/{chunk-UYK4J3ZE.js → chunk-SCMVBUX6.js} +5 -5
- package/dist/{chunk-55IID4UH.js → chunk-SI44EN2T.js} +2 -2
- package/dist/{chunk-VR77KDOM.js → chunk-SNAEIQF4.js} +1 -1
- package/dist/{chunk-3FHPHO5S.js → chunk-SSOCH3V6.js} +3 -3
- package/dist/{chunk-C64WZTHP.cjs → chunk-SYDNHKMJ.cjs} +4 -4
- package/dist/{chunk-MBQLH3KS.js → chunk-SYHO775Q.js} +3 -3
- package/dist/{chunk-CY5SCLQE.js → chunk-T5WJEIMN.js} +1 -1
- package/dist/chunk-TA63SSLO.cjs +26 -0
- package/dist/{chunk-J2EZWKMZ.cjs → chunk-TBJXMYP7.cjs} +4 -4
- package/dist/{chunk-Y3Y43TZD.js → chunk-TC3IMK5Y.js} +1 -1
- package/dist/chunk-TEAMWC6X.cjs +23 -0
- package/dist/{chunk-HYNMVBYS.js → chunk-THEMOGTD.js} +2 -2
- package/dist/chunk-TKF3YQA4.js +23 -0
- package/dist/{chunk-6DYK4XKY.cjs → chunk-TOH24ANV.cjs} +12 -12
- package/dist/chunk-TQ7E3EMI.cjs +26 -0
- package/dist/{chunk-VHHLWRJS.js → chunk-TT7XB7BU.js} +6 -6
- package/dist/{chunk-U3XE4UFD.cjs → chunk-TUJE66PR.cjs} +7 -7
- package/dist/chunk-TURI2URU.js +23 -0
- package/dist/{chunk-DC6PYU2D.js → chunk-TX6C7TDB.js} +47 -28
- package/dist/chunk-TXO6JMSF.cjs +22 -0
- package/dist/{chunk-SEL2XGBO.js → chunk-TY6ADDBU.js} +4 -4
- package/dist/{chunk-SMOHDLOU.cjs → chunk-TYKNSZEF.cjs} +12 -12
- package/dist/{chunk-SFGLEWHW.cjs → chunk-U6XO2EF4.cjs} +2 -2
- package/dist/chunk-UGCZQJT6.cjs +60 -0
- package/dist/{chunk-AOQJBJHI.cjs → chunk-UMMKD3BL.cjs} +22 -22
- package/dist/{chunk-BGUYF4L2.cjs → chunk-UPQXK6TF.cjs} +6 -6
- package/dist/{chunk-6BYZ2DOM.js → chunk-UX3LFQXS.js} +1 -1
- package/dist/{chunk-FAWI3ZGU.js → chunk-V2DVHIHR.js} +1 -1
- package/dist/{chunk-7C7IQOZI.js → chunk-V3D4BPLY.js} +1 -1
- package/dist/{chunk-FOME4RSH.cjs → chunk-V7BEY3OS.cjs} +24 -24
- package/dist/{chunk-QV4YFGGG.cjs → chunk-VSTOGSPI.cjs} +5 -5
- package/dist/{chunk-GFPPR2UY.js → chunk-VZ5B7QSC.js} +83 -83
- package/dist/{chunk-OYIPFTQC.js → chunk-W5YKSN4C.js} +9 -9
- package/dist/{chunk-DKKSEGTF.js → chunk-WCUUWGOC.js} +3 -3
- package/dist/{chunk-QJEZ6WCN.js → chunk-WGU3XHLU.js} +3 -3
- package/dist/{chunk-TJKJYY5O.js → chunk-WIRXH6BA.js} +2 -2
- package/dist/{chunk-3GTTFRUO.js → chunk-WO6S3LT6.js} +6 -6
- package/dist/{chunk-B52J2QN7.cjs → chunk-WQ5AA7F5.cjs} +6 -6
- package/dist/{chunk-2AVXNAAL.js → chunk-WRUYG6BM.js} +11 -11
- package/dist/{chunk-ZVVEPCBU.js → chunk-WUV4EYLL.js} +99 -36
- package/dist/{chunk-XQCQI6PV.js → chunk-X4QADUZD.js} +10 -10
- package/dist/{chunk-SWMGDTQN.js → chunk-X5XLAM3D.js} +2 -2
- package/dist/{chunk-WF7Z2VIT.cjs → chunk-X6AJB6TL.cjs} +12 -12
- package/dist/{chunk-F6UJF3IX.cjs → chunk-XA5R6CTS.cjs} +2 -2
- package/dist/{chunk-XI3DEXNN.cjs → chunk-XHIUWLTC.cjs} +10 -10
- package/dist/{chunk-OTDIKLJR.cjs → chunk-XLKLSO42.cjs} +10 -10
- package/dist/chunk-XMSFS4NQ.js +22 -0
- package/dist/{chunk-L6JCKKLU.js → chunk-XQUKZOE6.js} +7 -7
- package/dist/{chunk-MK67FJ2M.js → chunk-XS3L72FJ.js} +2 -2
- package/dist/{chunk-MIIIUXV6.js → chunk-XT5NXF55.js} +11 -4
- package/dist/{chunk-EQDCU7HD.js → chunk-XUDLONAT.js} +3 -3
- package/dist/{chunk-EIKXY7AD.js → chunk-Y56BO6PQ.js} +7 -7
- package/dist/{chunk-V7TRVV5T.js → chunk-YAELU5OB.js} +14 -14
- package/dist/{chunk-JDVAXDMS.js → chunk-YCIIBX3B.js} +3 -3
- package/dist/{chunk-DBDBXBJ3.js → chunk-YD3VGJOC.js} +6 -6
- package/dist/chunk-YEI6JAWD.js +454 -0
- package/dist/{chunk-JTXWWEZA.cjs → chunk-YFOKZLF7.cjs} +7 -7
- package/dist/{chunk-Z6EUSUAD.cjs → chunk-YM5JDZDQ.cjs} +2 -27
- package/dist/chunk-YQGMQT5P.js +23 -0
- package/dist/{chunk-LEMT5P3Z.js → chunk-YQNDIDC2.js} +1 -1
- package/dist/{chunk-QVFTNYER.js → chunk-YTGM2EVB.js} +3 -3
- package/dist/{chunk-CASNOVG7.cjs → chunk-Z7TDXKQI.cjs} +3 -3
- package/dist/{chunk-XKV4MIWI.cjs → chunk-ZA6M4P4G.cjs} +6 -6
- package/dist/{chunk-BLUUIEGR.cjs → chunk-ZBQA3IVB.cjs} +16 -16
- package/dist/{chunk-5HUKQ4HX.js → chunk-ZBQZIVKN.js} +3 -3
- package/dist/{chunk-PFQPOB4U.js → chunk-ZD3YD2NT.js} +1 -1
- package/dist/{chunk-EPDKLI6N.js → chunk-ZLUDD4FH.js} +1 -1
- package/dist/chunk-ZSFIRYIJ.cjs +16 -0
- package/dist/chunk-ZVDQU76E.js +23 -0
- package/dist/chunk-ZYG3UP4A.js +23 -0
- package/dist/components/Badge.cjs +84 -84
- package/dist/components/Badge.d.cts +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Badge.js +83 -83
- package/dist/components/Banner/Banner.cjs +85 -85
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +84 -84
- package/dist/components/Banner/constants.cjs +1 -1
- package/dist/components/Banner/constants.js +1 -1
- package/dist/components/BirthdayInput.cjs +193 -594
- package/dist/components/BirthdayInput.js +191 -592
- package/dist/components/BlockAlert.cjs +85 -85
- package/dist/components/BlockAlert.js +83 -83
- package/dist/components/Button.cjs +80 -80
- package/dist/components/Button.d.cts +4 -3
- package/dist/components/Button.d.ts +4 -3
- package/dist/components/Button.js +79 -79
- package/dist/components/ButtonRow.cjs +83 -83
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +82 -82
- package/dist/components/CardForm/CardForm.cjs +99 -99
- package/dist/components/CardForm/CardForm.d.cts +1 -1
- package/dist/components/CardForm/CardForm.d.ts +1 -1
- package/dist/components/CardForm/CardForm.js +98 -98
- package/dist/components/CardForm/CardFormCodeInput.cjs +87 -87
- package/dist/components/CardForm/CardFormCodeInput.js +86 -86
- package/dist/components/CardForm/CardFormHeadline.cjs +1 -1
- package/dist/components/CardForm/CardFormHeadline.js +1 -1
- package/dist/components/CardPage.cjs +85 -85
- package/dist/components/CardPage.js +84 -84
- package/dist/components/Checkbox.cjs +84 -84
- package/dist/components/Checkbox.d.cts +1 -1
- package/dist/components/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox.js +83 -83
- package/dist/components/ClipboardTextField.cjs +65 -65
- package/dist/components/ClipboardTextField.d.cts +1 -1
- package/dist/components/ClipboardTextField.d.ts +1 -1
- package/dist/components/ClipboardTextField.js +64 -64
- package/dist/components/CodeBlock.cjs +66 -66
- package/dist/components/CodeBlock.js +65 -65
- package/dist/components/CodeInput/CodeInput.cjs +86 -86
- package/dist/components/CodeInput/CodeInput.js +85 -85
- package/dist/components/CodeInput/SingleCodeInput.cjs +85 -85
- package/dist/components/CodeInput/SingleCodeInput.js +84 -84
- package/dist/components/Collapsible.cjs +63 -63
- package/dist/components/Collapsible.js +62 -62
- package/dist/components/CommandKey.cjs +1 -1
- package/dist/components/CommandKey.js +1 -1
- package/dist/components/ContentTable.cjs +62 -62
- package/dist/components/ContentTable.js +61 -61
- package/dist/components/CopyToClipboardButton.cjs +64 -64
- package/dist/components/CopyToClipboardButton.js +63 -63
- package/dist/components/CurrencyAmount.cjs +76 -76
- package/dist/components/CurrencyAmount.d.cts +1 -1
- package/dist/components/CurrencyAmount.d.ts +1 -1
- package/dist/components/CurrencyAmount.js +75 -75
- package/dist/components/DataManagerTable/BooleanFilter.cjs +88 -88
- package/dist/components/DataManagerTable/BooleanFilter.js +87 -87
- package/dist/components/DataManagerTable/CurrencyFilter.cjs +112 -112
- package/dist/components/DataManagerTable/CurrencyFilter.js +111 -111
- package/dist/components/DataManagerTable/DataManagerTable.cjs +138 -136
- package/dist/components/DataManagerTable/DataManagerTable.d.cts +31 -3
- package/dist/components/DataManagerTable/DataManagerTable.d.ts +31 -3
- package/dist/components/DataManagerTable/DataManagerTable.js +137 -135
- package/dist/components/DataManagerTable/DateFilter.cjs +98 -98
- package/dist/components/DataManagerTable/DateFilter.js +97 -97
- package/dist/components/DataManagerTable/DateWidget.cjs +87 -87
- package/dist/components/DataManagerTable/DateWidget.d.cts +3 -1
- package/dist/components/DataManagerTable/DateWidget.d.ts +3 -1
- package/dist/components/DataManagerTable/DateWidget.js +86 -86
- package/dist/components/DataManagerTable/EnumFilter.cjs +93 -93
- package/dist/components/DataManagerTable/EnumFilter.js +92 -92
- package/dist/components/DataManagerTable/Filter.cjs +85 -85
- package/dist/components/DataManagerTable/Filter.js +84 -84
- package/dist/components/DataManagerTable/IdFilter.cjs +96 -96
- package/dist/components/DataManagerTable/IdFilter.js +95 -95
- package/dist/components/DataManagerTable/PillFilter.cjs +391 -0
- package/dist/components/DataManagerTable/PillFilter.d.cts +355 -0
- package/dist/components/DataManagerTable/PillFilter.d.ts +355 -0
- package/dist/components/DataManagerTable/PillFilter.js +391 -0
- package/dist/components/DataManagerTable/StringFilter.cjs +96 -96
- package/dist/components/DataManagerTable/StringFilter.js +95 -95
- package/dist/components/DataManagerTable/date_utils.cjs +1 -1
- package/dist/components/DataManagerTable/date_utils.js +1 -1
- package/dist/components/DataManagerTable/filters.cjs +1 -1
- package/dist/components/DataManagerTable/filters.js +1 -1
- package/dist/components/DataManagerTable/utils.cjs +394 -0
- package/dist/components/DataManagerTable/utils.d.cts +62 -0
- package/dist/components/DataManagerTable/utils.d.ts +62 -0
- package/dist/components/DataManagerTable/utils.js +394 -0
- package/dist/components/Drawer.cjs +82 -82
- package/dist/components/Drawer.js +81 -81
- package/dist/components/Dropdown.cjs +92 -84
- package/dist/components/Dropdown.d.cts +32 -6
- package/dist/components/Dropdown.d.ts +32 -6
- package/dist/components/Dropdown.js +91 -83
- package/dist/components/FileInput.cjs +88 -88
- package/dist/components/FileInput.js +87 -87
- package/dist/components/Flex.cjs +3 -3
- package/dist/components/Flex.d.cts +3 -1
- package/dist/components/Flex.d.ts +3 -1
- package/dist/components/Flex.js +2 -2
- package/dist/components/GradientCardHeader.cjs +12 -12
- package/dist/components/GradientCardHeader.js +11 -11
- package/dist/components/Icon/Icon.cjs +61 -61
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +60 -60
- package/dist/components/Icon/types.cjs +53 -53
- package/dist/components/Icon/types.js +52 -52
- package/dist/components/IconWithCircleBackground.cjs +78 -78
- package/dist/components/IconWithCircleBackground.d.cts +1 -1
- package/dist/components/IconWithCircleBackground.d.ts +1 -1
- package/dist/components/IconWithCircleBackground.js +77 -77
- package/dist/components/InfoIconTooltip.cjs +85 -85
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +84 -84
- package/dist/components/LightboxImage.cjs +1 -1
- package/dist/components/LightboxImage.js +1 -1
- package/dist/components/LightsparkProvider.cjs +11 -11
- package/dist/components/LightsparkProvider.js +10 -10
- package/dist/components/Loading.cjs +62 -62
- package/dist/components/Loading.d.cts +1 -1
- package/dist/components/Loading.d.ts +1 -1
- package/dist/components/Loading.js +61 -61
- package/dist/components/Modal.cjs +95 -95
- package/dist/components/Modal.d.cts +7 -7
- package/dist/components/Modal.d.ts +7 -7
- package/dist/components/Modal.js +94 -94
- package/dist/components/MultiToggle.cjs +62 -62
- package/dist/components/MultiToggle.d.cts +1 -1
- package/dist/components/MultiToggle.d.ts +1 -1
- package/dist/components/MultiToggle.js +61 -61
- package/dist/components/NumberInput.cjs +106 -106
- package/dist/components/NumberInput.d.cts +1 -1
- package/dist/components/NumberInput.d.ts +1 -1
- package/dist/components/NumberInput.js +105 -105
- package/dist/components/PageSection/PageSection.cjs +99 -98
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +98 -97
- package/dist/components/PageSection/PageSectionNav.cjs +87 -87
- package/dist/components/PageSection/PageSectionNav.js +86 -86
- package/dist/components/PageSection/constants.cjs +1 -1
- package/dist/components/PageSection/constants.js +1 -1
- package/dist/components/PendingValue.cjs +84 -84
- package/dist/components/PendingValue.d.cts +1 -1
- package/dist/components/PendingValue.d.ts +1 -1
- package/dist/components/PendingValue.js +83 -83
- package/dist/components/PhoneInput.cjs +92 -92
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +91 -91
- package/dist/components/Pill.cjs +65 -65
- package/dist/components/Pill.js +64 -64
- package/dist/components/ProgressBar.cjs +10 -10
- package/dist/components/ProgressBar.js +9 -9
- package/dist/components/QRCode.cjs +63 -63
- package/dist/components/QRCode.js +62 -62
- package/dist/components/QRReader/QRReader.cjs +5 -5
- package/dist/components/QRReader/QRReader.js +4 -4
- package/dist/components/QRReader/hooks.cjs +3 -3
- package/dist/components/QRReader/hooks.js +2 -2
- package/dist/components/QRReader/styles.cjs +1 -1
- package/dist/components/QRReader/styles.js +1 -1
- package/dist/components/QRReader/utils.cjs +1 -1
- package/dist/components/QRReader/utils.js +1 -1
- package/dist/components/QRReaderButton.cjs +92 -92
- package/dist/components/QRReaderButton.js +91 -91
- package/dist/components/Radio.cjs +85 -85
- package/dist/components/Radio.js +84 -84
- package/dist/components/ReadClipboardButton.cjs +93 -93
- package/dist/components/ReadClipboardButton.js +92 -92
- package/dist/components/SatoshiInput.cjs +109 -109
- package/dist/components/SatoshiInput.d.cts +1 -1
- package/dist/components/SatoshiInput.d.ts +1 -1
- package/dist/components/SatoshiInput.js +108 -108
- package/dist/components/SatoshiInputLabel.cjs +87 -87
- package/dist/components/SatoshiInputLabel.js +86 -86
- package/dist/components/SecretContainer.cjs +65 -65
- package/dist/components/SecretContainer.js +64 -64
- package/dist/components/SecretInput.cjs +92 -92
- package/dist/components/SecretInput.d.cts +1 -1
- package/dist/components/SecretInput.d.ts +1 -1
- package/dist/components/SecretInput.js +91 -91
- package/dist/components/Select.cjs +85 -85
- package/dist/components/Select.d.cts +5 -1
- package/dist/components/Select.d.ts +5 -1
- package/dist/components/Select.js +84 -84
- package/dist/components/SidePanel.cjs +62 -62
- package/dist/components/SidePanel.js +61 -61
- package/dist/components/StatusIndicator.cjs +11 -11
- package/dist/components/StatusIndicator.js +10 -10
- package/dist/components/Table/Table.cjs +95 -87
- package/dist/components/Table/Table.d.cts +35 -3
- package/dist/components/Table/Table.d.ts +35 -3
- package/dist/components/Table/Table.js +94 -86
- package/dist/components/Table/TableEmptyState.cjs +10 -10
- package/dist/components/Table/TableEmptyState.js +9 -9
- package/dist/components/TextArea.cjs +85 -85
- package/dist/components/TextArea.d.cts +2 -1
- package/dist/components/TextArea.d.ts +2 -1
- package/dist/components/TextArea.js +84 -84
- package/dist/components/TextButton.cjs +86 -86
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +85 -85
- package/dist/components/TextIconAligner.cjs +84 -84
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +83 -83
- package/dist/components/TextInput.cjs +91 -91
- package/dist/components/TextInput.d.cts +11 -2
- package/dist/components/TextInput.d.ts +11 -2
- package/dist/components/TextInput.js +90 -90
- package/dist/components/Toasts.cjs +86 -86
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +85 -85
- package/dist/components/Toggle.cjs +11 -11
- package/dist/components/Toggle.d.cts +1 -1
- package/dist/components/Toggle.d.ts +1 -1
- package/dist/components/Toggle.js +10 -10
- package/dist/components/Tooltip.cjs +10 -10
- package/dist/components/Tooltip.js +9 -9
- package/dist/components/UnstyledButton.cjs +10 -10
- package/dist/components/UnstyledButton.js +9 -9
- package/dist/components/documentation/AnchorLinkHeader.cjs +66 -66
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +65 -65
- package/dist/components/documentation/DocsBodyParagraph.cjs +13 -13
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +10 -10
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +13 -13
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +10 -10
- package/dist/components/documentation/DocsHeadline.cjs +12 -12
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +11 -11
- package/dist/components/documentation/Video.cjs +11 -11
- package/dist/components/documentation/Video.js +8 -8
- package/dist/components/documentation/index.cjs +66 -66
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +65 -65
- package/dist/components/index.cjs +182 -180
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +221 -219
- package/dist/components/typography/Article.cjs +71 -71
- package/dist/components/typography/Article.js +70 -70
- package/dist/components/typography/Body.cjs +83 -83
- package/dist/components/typography/Body.d.cts +1 -1
- package/dist/components/typography/Body.d.ts +1 -1
- package/dist/components/typography/Body.js +82 -82
- package/dist/components/typography/BodyStrong.cjs +83 -83
- package/dist/components/typography/BodyStrong.d.cts +1 -1
- package/dist/components/typography/BodyStrong.d.ts +1 -1
- package/dist/components/typography/BodyStrong.js +82 -82
- package/dist/components/typography/Btn.cjs +83 -83
- package/dist/components/typography/Btn.d.cts +1 -1
- package/dist/components/typography/Btn.d.ts +1 -1
- package/dist/components/typography/Btn.js +82 -82
- package/dist/components/typography/Code.cjs +83 -83
- package/dist/components/typography/Code.d.cts +1 -1
- package/dist/components/typography/Code.d.ts +1 -1
- package/dist/components/typography/Code.js +82 -82
- package/dist/components/typography/Display.cjs +83 -83
- package/dist/components/typography/Display.d.cts +1 -1
- package/dist/components/typography/Display.d.ts +1 -1
- package/dist/components/typography/Display.js +82 -82
- package/dist/components/typography/Headline.cjs +83 -83
- package/dist/components/typography/Headline.d.cts +1 -1
- package/dist/components/typography/Headline.d.ts +1 -1
- package/dist/components/typography/Headline.js +82 -82
- package/dist/components/typography/Label.cjs +83 -83
- package/dist/components/typography/Label.d.cts +1 -1
- package/dist/components/typography/Label.d.ts +1 -1
- package/dist/components/typography/Label.js +82 -82
- package/dist/components/typography/LabelModerate.cjs +83 -83
- package/dist/components/typography/LabelModerate.d.cts +1 -1
- package/dist/components/typography/LabelModerate.d.ts +1 -1
- package/dist/components/typography/LabelModerate.js +82 -82
- package/dist/components/typography/LabelStrong.cjs +83 -83
- package/dist/components/typography/LabelStrong.d.cts +1 -1
- package/dist/components/typography/LabelStrong.d.ts +1 -1
- package/dist/components/typography/LabelStrong.js +82 -82
- package/dist/components/typography/Overline.cjs +83 -83
- package/dist/components/typography/Overline.d.cts +1 -1
- package/dist/components/typography/Overline.d.ts +1 -1
- package/dist/components/typography/Overline.js +82 -82
- package/dist/components/typography/Title.cjs +83 -83
- package/dist/components/typography/Title.d.cts +1 -1
- package/dist/components/typography/Title.d.ts +1 -1
- package/dist/components/typography/Title.js +82 -82
- package/dist/components/typography/base/Body.cjs +11 -11
- package/dist/components/typography/base/Body.d.cts +1 -1
- package/dist/components/typography/base/Body.d.ts +1 -1
- package/dist/components/typography/base/Body.js +10 -10
- package/dist/components/typography/base/BodyStrong.cjs +11 -11
- package/dist/components/typography/base/BodyStrong.d.cts +1 -1
- package/dist/components/typography/base/BodyStrong.d.ts +1 -1
- package/dist/components/typography/base/BodyStrong.js +10 -10
- package/dist/components/typography/base/Btn.cjs +11 -11
- package/dist/components/typography/base/Btn.d.cts +1 -1
- package/dist/components/typography/base/Btn.d.ts +1 -1
- package/dist/components/typography/base/Btn.js +10 -10
- package/dist/components/typography/base/Code.cjs +11 -11
- package/dist/components/typography/base/Code.d.cts +1 -1
- package/dist/components/typography/base/Code.d.ts +1 -1
- package/dist/components/typography/base/Code.js +10 -10
- package/dist/components/typography/base/Display.cjs +11 -11
- package/dist/components/typography/base/Display.d.cts +1 -1
- package/dist/components/typography/base/Display.d.ts +1 -1
- package/dist/components/typography/base/Display.js +10 -10
- package/dist/components/typography/base/Headline.cjs +11 -11
- package/dist/components/typography/base/Headline.d.cts +1 -1
- package/dist/components/typography/base/Headline.d.ts +1 -1
- package/dist/components/typography/base/Headline.js +10 -10
- package/dist/components/typography/base/Label.cjs +11 -11
- package/dist/components/typography/base/Label.d.cts +1 -1
- package/dist/components/typography/base/Label.d.ts +1 -1
- package/dist/components/typography/base/Label.js +10 -10
- package/dist/components/typography/base/LabelModerate.cjs +11 -11
- package/dist/components/typography/base/LabelModerate.d.cts +1 -1
- package/dist/components/typography/base/LabelModerate.d.ts +1 -1
- package/dist/components/typography/base/LabelModerate.js +10 -10
- package/dist/components/typography/base/LabelStrong.cjs +11 -11
- package/dist/components/typography/base/LabelStrong.d.cts +1 -1
- package/dist/components/typography/base/LabelStrong.d.ts +1 -1
- package/dist/components/typography/base/LabelStrong.js +10 -10
- package/dist/components/typography/base/Overline.cjs +11 -11
- package/dist/components/typography/base/Overline.d.cts +1 -1
- package/dist/components/typography/base/Overline.d.ts +1 -1
- package/dist/components/typography/base/Overline.js +10 -10
- package/dist/components/typography/base/Title.cjs +11 -11
- package/dist/components/typography/base/Title.d.cts +1 -1
- package/dist/components/typography/base/Title.d.ts +1 -1
- package/dist/components/typography/base/Title.js +10 -10
- package/dist/components/typography/base/getPropDefaults.cjs +3 -3
- package/dist/components/typography/base/getPropDefaults.d.cts +1 -1
- package/dist/components/typography/base/getPropDefaults.d.ts +1 -1
- package/dist/components/typography/base/getPropDefaults.js +2 -2
- package/dist/components/typography/index.cjs +96 -96
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +105 -105
- package/dist/components/typography/renderTypography.cjs +22 -22
- package/dist/components/typography/renderTypography.d.cts +1 -1
- package/dist/components/typography/renderTypography.d.ts +1 -1
- package/dist/components/typography/renderTypography.js +21 -21
- package/dist/components/typography/types.d.cts +1 -1
- package/dist/components/typography/types.d.ts +1 -1
- package/dist/components/typography/typographyStyles.cjs +1 -1
- package/dist/components/typography/typographyStyles.d.cts +1 -1
- package/dist/components/typography/typographyStyles.d.ts +1 -1
- package/dist/components/typography/typographyStyles.js +1 -1
- package/dist/hooks/index.cjs +23 -23
- package/dist/hooks/index.js +23 -23
- package/dist/hooks/useClipboard.cjs +3 -3
- package/dist/hooks/useClipboard.js +2 -2
- package/dist/hooks/useDebounce.cjs +1 -1
- package/dist/hooks/useDebounce.js +1 -1
- package/dist/hooks/useDocumentTitle.cjs +1 -1
- package/dist/hooks/useDocumentTitle.js +1 -1
- package/dist/hooks/useFields.cjs +3 -3
- package/dist/hooks/useFields.js +2 -2
- package/dist/hooks/useIsomorphicLayoutEffect.cjs +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/dist/hooks/useLiveRef.cjs +1 -1
- package/dist/hooks/useLiveRef.js +1 -1
- package/dist/hooks/useMaxScaleIOS.cjs +1 -1
- package/dist/hooks/useMaxScaleIOS.js +1 -1
- package/dist/hooks/useNumberInput/useNumberInput.cjs +6 -6
- package/dist/hooks/useNumberInput/useNumberInput.js +5 -5
- package/dist/hooks/useNumberInput/utils/addSeparators.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/addSeparators.js +1 -1
- package/dist/hooks/useNumberInput/utils/cleanValue.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/cleanValue.js +1 -1
- package/dist/hooks/useNumberInput/utils/escapeRegExp.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/escapeRegExp.js +1 -1
- package/dist/hooks/useNumberInput/utils/fixedDecimalValue.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/fixedDecimalValue.js +1 -1
- package/dist/hooks/useNumberInput/utils/formatValue.cjs +3 -3
- package/dist/hooks/useNumberInput/utils/formatValue.js +2 -2
- package/dist/hooks/useNumberInput/utils/getLocaleConfig.cjs +3 -3
- package/dist/hooks/useNumberInput/utils/getLocaleConfig.js +2 -2
- package/dist/hooks/useNumberInput/utils/getSuffix.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/getSuffix.js +1 -1
- package/dist/hooks/useNumberInput/utils/index.cjs +7 -7
- package/dist/hooks/useNumberInput/utils/index.js +6 -6
- package/dist/hooks/useNumberInput/utils/isNumber.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/isNumber.js +1 -1
- package/dist/hooks/useNumberInput/utils/padTrimValue.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/padTrimValue.js +1 -1
- package/dist/hooks/useNumberInput/utils/parseAbbrValue.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/parseAbbrValue.js +1 -1
- package/dist/hooks/useNumberInput/utils/removeInvalidChars.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/removeInvalidChars.js +1 -1
- package/dist/hooks/useNumberInput/utils/removeSeparators.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/removeSeparators.js +1 -1
- package/dist/hooks/useNumberInput/utils/repositionCursor.cjs +1 -1
- package/dist/hooks/useNumberInput/utils/repositionCursor.js +1 -1
- package/dist/hooks/useQueryParams.cjs +1 -1
- package/dist/hooks/useQueryParams.js +1 -1
- package/dist/hooks/useResizeObserver.cjs +1 -1
- package/dist/hooks/useResizeObserver.js +1 -1
- package/dist/hooks/useWhatChanged.cjs +1 -1
- package/dist/hooks/useWhatChanged.js +1 -1
- package/dist/icons/AI.cjs +1 -1
- package/dist/icons/AI.js +1 -1
- package/dist/icons/AnchorLink.cjs +1 -1
- package/dist/icons/AnchorLink.js +1 -1
- package/dist/icons/ApiConnection.cjs +1 -1
- package/dist/icons/ApiConnection.js +1 -1
- package/dist/icons/AppIcon.cjs +1 -1
- package/dist/icons/AppIcon.js +1 -1
- package/dist/icons/ArrowCircle.cjs +1 -1
- package/dist/icons/ArrowCircle.js +1 -1
- package/dist/icons/ArrowCircleCutout.cjs +1 -1
- package/dist/icons/ArrowCircleCutout.js +1 -1
- package/dist/icons/ArrowCircleTier1.cjs +1 -1
- package/dist/icons/ArrowCircleTier1.js +1 -1
- package/dist/icons/ArrowCircleTier2.cjs +1 -1
- package/dist/icons/ArrowCircleTier2.js +1 -1
- package/dist/icons/ArrowCircleTier3.cjs +1 -1
- package/dist/icons/ArrowCircleTier3.js +1 -1
- package/dist/icons/ArrowCornerDownRight.cjs +1 -1
- package/dist/icons/ArrowCornerDownRight.js +1 -1
- package/dist/icons/ArrowDown.cjs +1 -1
- package/dist/icons/ArrowDown.js +1 -1
- package/dist/icons/ArrowLeft.cjs +1 -1
- package/dist/icons/ArrowLeft.js +1 -1
- package/dist/icons/ArrowLeftCircleCutout.cjs +1 -1
- package/dist/icons/ArrowLeftCircleCutout.js +1 -1
- package/dist/icons/ArrowRight.cjs +1 -1
- package/dist/icons/ArrowRight.js +1 -1
- package/dist/icons/ArrowUp.cjs +1 -1
- package/dist/icons/ArrowUp.js +1 -1
- package/dist/icons/ArrowUpRight.cjs +1 -1
- package/dist/icons/ArrowUpRight.js +1 -1
- package/dist/icons/ArrowUpRightCircleFill.cjs +1 -1
- package/dist/icons/ArrowUpRightCircleFill.js +1 -1
- package/dist/icons/ArrowsDown.cjs +1 -1
- package/dist/icons/ArrowsDown.js +1 -1
- package/dist/icons/ArrowsHorizontal.cjs +1 -1
- package/dist/icons/ArrowsHorizontal.js +1 -1
- package/dist/icons/ArrowsUp.cjs +1 -1
- package/dist/icons/ArrowsUp.js +1 -1
- package/dist/icons/Bank.cjs +1 -1
- package/dist/icons/Bank.js +1 -1
- package/dist/icons/BitcoinB.cjs +1 -1
- package/dist/icons/BitcoinB.js +1 -1
- package/dist/icons/BitcoinBOnRoundedSquare.cjs +1 -1
- package/dist/icons/BitcoinBOnRoundedSquare.js +1 -1
- package/dist/icons/BrokenChainLink.cjs +1 -1
- package/dist/icons/BrokenChainLink.js +1 -1
- package/dist/icons/Calendar.cjs +1 -1
- package/dist/icons/Calendar.js +1 -1
- package/dist/icons/CalendarClock.cjs +1 -1
- package/dist/icons/CalendarClock.js +1 -1
- package/dist/icons/CameraCapture.cjs +1 -1
- package/dist/icons/CameraCapture.js +1 -1
- package/dist/icons/CaretRight.cjs +1 -1
- package/dist/icons/CaretRight.js +1 -1
- package/dist/icons/CashAppBadge.cjs +1 -1
- package/dist/icons/CashAppBadge.js +1 -1
- package/dist/icons/CentralArrowShareRight.cjs +1 -1
- package/dist/icons/CentralArrowShareRight.js +1 -1
- package/dist/icons/Checkmark.cjs +1 -1
- package/dist/icons/Checkmark.js +1 -1
- package/dist/icons/CheckmarkCircle.cjs +1 -1
- package/dist/icons/CheckmarkCircle.js +1 -1
- package/dist/icons/CheckmarkCircleTier1.cjs +1 -1
- package/dist/icons/CheckmarkCircleTier1.js +1 -1
- package/dist/icons/CheckmarkCircleTier2.cjs +1 -1
- package/dist/icons/CheckmarkCircleTier2.js +1 -1
- package/dist/icons/CheckmarkCircleTier3.cjs +1 -1
- package/dist/icons/CheckmarkCircleTier3.js +1 -1
- package/dist/icons/CheckmarkGreen.cjs +1 -1
- package/dist/icons/CheckmarkGreen.js +1 -1
- package/dist/icons/Chevron.cjs +1 -1
- package/dist/icons/Chevron.js +1 -1
- package/dist/icons/ChevronDown.cjs +1 -1
- package/dist/icons/ChevronDown.js +1 -1
- package/dist/icons/ChevronLeft.cjs +1 -1
- package/dist/icons/ChevronLeft.js +1 -1
- package/dist/icons/ChevronRight.cjs +1 -1
- package/dist/icons/ChevronRight.js +1 -1
- package/dist/icons/ChevronUp.cjs +1 -1
- package/dist/icons/ChevronUp.js +1 -1
- package/dist/icons/CircleCheck.cjs +1 -1
- package/dist/icons/CircleCheck.js +1 -1
- package/dist/icons/CircleCheckOutline.cjs +1 -1
- package/dist/icons/CircleCheckOutline.js +1 -1
- package/dist/icons/CirclePlus.cjs +1 -1
- package/dist/icons/CirclePlus.js +1 -1
- package/dist/icons/Clock.cjs +1 -1
- package/dist/icons/Clock.js +1 -1
- package/dist/icons/Close.cjs +1 -1
- package/dist/icons/Close.js +1 -1
- package/dist/icons/CloudUpload.cjs +1 -1
- package/dist/icons/CloudUpload.js +1 -1
- package/dist/icons/Code.cjs +1 -1
- package/dist/icons/Code.js +1 -1
- package/dist/icons/Contrast.cjs +1 -1
- package/dist/icons/Contrast.js +1 -1
- package/dist/icons/Copy.cjs +1 -1
- package/dist/icons/Copy.js +1 -1
- package/dist/icons/CreditCard.cjs +1 -1
- package/dist/icons/CreditCard.js +1 -1
- package/dist/icons/DeleteIcon.cjs +1 -1
- package/dist/icons/DeleteIcon.js +1 -1
- package/dist/icons/Dollar.cjs +1 -1
- package/dist/icons/Dollar.js +1 -1
- package/dist/icons/DollarManrope.cjs +1 -1
- package/dist/icons/DollarManrope.js +1 -1
- package/dist/icons/DollarManropeSmall.cjs +1 -1
- package/dist/icons/DollarManropeSmall.js +1 -1
- package/dist/icons/DotGrid1x3Horizontal.cjs +1 -1
- package/dist/icons/DotGrid1x3Horizontal.js +1 -1
- package/dist/icons/Download.cjs +1 -1
- package/dist/icons/Download.js +1 -1
- package/dist/icons/EmailPlus.cjs +1 -1
- package/dist/icons/EmailPlus.js +1 -1
- package/dist/icons/Entity.cjs +1 -1
- package/dist/icons/Entity.js +1 -1
- package/dist/icons/Envelope.cjs +1 -1
- package/dist/icons/Envelope.js +1 -1
- package/dist/icons/EnvelopePlus.cjs +1 -1
- package/dist/icons/EnvelopePlus.js +1 -1
- package/dist/icons/ExclamationPoint.cjs +1 -1
- package/dist/icons/ExclamationPoint.js +1 -1
- package/dist/icons/Explorer.cjs +1 -1
- package/dist/icons/Explorer.js +1 -1
- package/dist/icons/Eye.cjs +1 -1
- package/dist/icons/Eye.js +1 -1
- package/dist/icons/EyeDropper.cjs +1 -1
- package/dist/icons/EyeDropper.js +1 -1
- package/dist/icons/Figma.cjs +1 -1
- package/dist/icons/Figma.js +1 -1
- package/dist/icons/FlagUSA.cjs +1 -1
- package/dist/icons/FlagUSA.js +1 -1
- package/dist/icons/FlutterTwoTone.cjs +1 -1
- package/dist/icons/FlutterTwoTone.js +1 -1
- package/dist/icons/FramedLetterI.cjs +1 -1
- package/dist/icons/FramedLetterI.js +1 -1
- package/dist/icons/Gear.cjs +1 -1
- package/dist/icons/Gear.js +1 -1
- package/dist/icons/Github.cjs +1 -1
- package/dist/icons/Github.js +1 -1
- package/dist/icons/Globe.cjs +1 -1
- package/dist/icons/Globe.js +1 -1
- package/dist/icons/Globus.cjs +1 -1
- package/dist/icons/Globus.js +1 -1
- package/dist/icons/GoTwoTone.cjs +1 -1
- package/dist/icons/GoTwoTone.js +1 -1
- package/dist/icons/GraphQLTwoTone.cjs +1 -1
- package/dist/icons/GraphQLTwoTone.js +1 -1
- package/dist/icons/HeartOutline.cjs +1 -1
- package/dist/icons/HeartOutline.js +1 -1
- package/dist/icons/Home.cjs +1 -1
- package/dist/icons/Home.js +1 -1
- package/dist/icons/Info.cjs +1 -1
- package/dist/icons/Info.js +1 -1
- package/dist/icons/JavaScriptTwoTone.cjs +1 -1
- package/dist/icons/JavaScriptTwoTone.js +1 -1
- package/dist/icons/JavaTwoTone.cjs +1 -1
- package/dist/icons/JavaTwoTone.js +1 -1
- package/dist/icons/KotlinTwoTone.cjs +1 -1
- package/dist/icons/KotlinTwoTone.js +1 -1
- package/dist/icons/LightningBoltOutline.cjs +1 -1
- package/dist/icons/LightningBoltOutline.js +1 -1
- package/dist/icons/LightningOnRoundedSquare.cjs +1 -1
- package/dist/icons/LightningOnRoundedSquare.js +1 -1
- package/dist/icons/Limit.cjs +1 -1
- package/dist/icons/Limit.js +1 -1
- package/dist/icons/LinkIcon.cjs +1 -1
- package/dist/icons/LinkIcon.js +1 -1
- package/dist/icons/LoadingCircleLines.cjs +1 -1
- package/dist/icons/LoadingCircleLines.js +1 -1
- package/dist/icons/LoadingSpinner.cjs +1 -1
- package/dist/icons/LoadingSpinner.js +1 -1
- package/dist/icons/Lock.cjs +1 -1
- package/dist/icons/Lock.js +1 -1
- package/dist/icons/Lock2.cjs +1 -1
- package/dist/icons/Lock2.js +1 -1
- package/dist/icons/Logo.cjs +3 -3
- package/dist/icons/Logo.js +2 -2
- package/dist/icons/LogoBolt.cjs +1 -1
- package/dist/icons/LogoBolt.js +1 -1
- package/dist/icons/LogoIssuance.cjs +1 -1
- package/dist/icons/LogoIssuance.js +1 -1
- package/dist/icons/LogoMark.cjs +3 -3
- package/dist/icons/LogoMark.js +2 -2
- package/dist/icons/LogoOnCircle.cjs +1 -1
- package/dist/icons/LogoOnCircle.js +1 -1
- package/dist/icons/Logout.cjs +1 -1
- package/dist/icons/Logout.js +1 -1
- package/dist/icons/MagicWand.cjs +1 -1
- package/dist/icons/MagicWand.js +1 -1
- package/dist/icons/MessageBubble.cjs +1 -1
- package/dist/icons/MessageBubble.js +1 -1
- package/dist/icons/Messages.cjs +1 -1
- package/dist/icons/Messages.js +1 -1
- package/dist/icons/Messenger.cjs +1 -1
- package/dist/icons/Messenger.js +1 -1
- package/dist/icons/Minus.cjs +1 -1
- package/dist/icons/Minus.js +1 -1
- package/dist/icons/Monitor.cjs +1 -1
- package/dist/icons/Monitor.js +1 -1
- package/dist/icons/Moon.cjs +1 -1
- package/dist/icons/Moon.js +1 -1
- package/dist/icons/NodeAdd.cjs +1 -1
- package/dist/icons/NodeAdd.js +1 -1
- package/dist/icons/NonagonCheckmark.cjs +1 -1
- package/dist/icons/NonagonCheckmark.js +1 -1
- package/dist/icons/NotEye.cjs +1 -1
- package/dist/icons/NotEye.js +1 -1
- package/dist/icons/Notebook.cjs +1 -1
- package/dist/icons/Notebook.js +1 -1
- package/dist/icons/NubankLogo.cjs +3 -3
- package/dist/icons/NubankLogo.js +2 -2
- package/dist/icons/Origin.cjs +3 -3
- package/dist/icons/Origin.js +2 -2
- package/dist/icons/PaperPlane.cjs +1 -1
- package/dist/icons/PaperPlane.js +1 -1
- package/dist/icons/PaperPlaneRounder.cjs +1 -1
- package/dist/icons/PaperPlaneRounder.js +1 -1
- package/dist/icons/Pencil.cjs +1 -1
- package/dist/icons/Pencil.js +1 -1
- package/dist/icons/Person.cjs +1 -1
- package/dist/icons/Person.js +1 -1
- package/dist/icons/PersonCircle.cjs +1 -1
- package/dist/icons/PersonCircle.js +1 -1
- package/dist/icons/PersonPlus.cjs +1 -1
- package/dist/icons/PersonPlus.js +1 -1
- package/dist/icons/PiggyBank.cjs +1 -1
- package/dist/icons/PiggyBank.js +1 -1
- package/dist/icons/Plus.cjs +1 -1
- package/dist/icons/Plus.js +1 -1
- package/dist/icons/PythonTwoTone.cjs +1 -1
- package/dist/icons/PythonTwoTone.js +1 -1
- package/dist/icons/QRCodeIcon.cjs +1 -1
- package/dist/icons/QRCodeIcon.js +1 -1
- package/dist/icons/QuestionCircle.cjs +1 -1
- package/dist/icons/QuestionCircle.js +1 -1
- package/dist/icons/QuestionCircleStrong.cjs +1 -1
- package/dist/icons/QuestionCircleStrong.js +1 -1
- package/dist/icons/ReactTwoTone.cjs +1 -1
- package/dist/icons/ReactTwoTone.js +1 -1
- package/dist/icons/ReceiptBill.cjs +1 -1
- package/dist/icons/ReceiptBill.js +1 -1
- package/dist/icons/ReceiptCheck.cjs +1 -1
- package/dist/icons/ReceiptCheck.js +1 -1
- package/dist/icons/Recycling.cjs +1 -1
- package/dist/icons/Recycling.js +1 -1
- package/dist/icons/Remove.cjs +1 -1
- package/dist/icons/Remove.js +1 -1
- package/dist/icons/Restart.cjs +1 -1
- package/dist/icons/Restart.js +1 -1
- package/dist/icons/Roadmap.cjs +1 -1
- package/dist/icons/Roadmap.js +1 -1
- package/dist/icons/RustTwoTone.cjs +1 -1
- package/dist/icons/RustTwoTone.js +1 -1
- package/dist/icons/Satoshi.cjs +1 -1
- package/dist/icons/Satoshi.js +1 -1
- package/dist/icons/SatoshiRounded.cjs +1 -1
- package/dist/icons/SatoshiRounded.js +1 -1
- package/dist/icons/Search.cjs +1 -1
- package/dist/icons/Search.js +1 -1
- package/dist/icons/SecurityKey.cjs +1 -1
- package/dist/icons/SecurityKey.js +1 -1
- package/dist/icons/Selector.cjs +1 -1
- package/dist/icons/Selector.js +1 -1
- package/dist/icons/SemiCircleOverlap.cjs +1 -1
- package/dist/icons/SemiCircleOverlap.js +1 -1
- package/dist/icons/SettingsSlider.cjs +1 -1
- package/dist/icons/SettingsSlider.js +1 -1
- package/dist/icons/Share.cjs +1 -1
- package/dist/icons/Share.js +1 -1
- package/dist/icons/ShieldCheck.cjs +1 -1
- package/dist/icons/ShieldCheck.js +1 -1
- package/dist/icons/ShieldCheckLite.cjs +1 -1
- package/dist/icons/ShieldCheckLite.js +1 -1
- package/dist/icons/Sidebar.cjs +1 -1
- package/dist/icons/Sidebar.js +1 -1
- package/dist/icons/Snowflake.cjs +1 -1
- package/dist/icons/Snowflake.js +1 -1
- package/dist/icons/Sort.cjs +1 -1
- package/dist/icons/Sort.js +1 -1
- package/dist/icons/Spark.cjs +1 -1
- package/dist/icons/Spark.js +1 -1
- package/dist/icons/SparklesSoft.cjs +1 -1
- package/dist/icons/SparklesSoft.js +1 -1
- package/dist/icons/StackedLines.cjs +1 -1
- package/dist/icons/StackedLines.js +1 -1
- package/dist/icons/Sun.cjs +1 -1
- package/dist/icons/Sun.js +1 -1
- package/dist/icons/SwiftTwoTone.cjs +1 -1
- package/dist/icons/SwiftTwoTone.js +1 -1
- package/dist/icons/TapSingle.cjs +1 -1
- package/dist/icons/TapSingle.js +1 -1
- package/dist/icons/Team.cjs +1 -1
- package/dist/icons/Team.js +1 -1
- package/dist/icons/Terminal.cjs +1 -1
- package/dist/icons/Terminal.js +1 -1
- package/dist/icons/Trash.cjs +1 -1
- package/dist/icons/Trash.js +1 -1
- package/dist/icons/Uma.cjs +1 -1
- package/dist/icons/Uma.js +1 -1
- package/dist/icons/UmaBridgeLoading.cjs +1 -1
- package/dist/icons/UmaBridgeLoading.js +1 -1
- package/dist/icons/UmaBridgeLoadingTransparent.cjs +1 -1
- package/dist/icons/UmaBridgeLoadingTransparent.js +1 -1
- package/dist/icons/UmaPaymentLoadingSpinner.cjs +1 -1
- package/dist/icons/UmaPaymentLoadingSpinner.js +1 -1
- package/dist/icons/Upload.cjs +1 -1
- package/dist/icons/Upload.js +1 -1
- package/dist/icons/Wallet.cjs +1 -1
- package/dist/icons/Wallet.js +1 -1
- package/dist/icons/WalletSDKIcon.cjs +1 -1
- package/dist/icons/WalletSDKIcon.js +1 -1
- package/dist/icons/WarningSign.cjs +1 -1
- package/dist/icons/WarningSign.js +1 -1
- package/dist/icons/WhatsApp.cjs +1 -1
- package/dist/icons/WhatsApp.js +1 -1
- package/dist/icons/Zap.cjs +1 -1
- package/dist/icons/Zap.js +1 -1
- package/dist/icons/ZapLite.cjs +1 -1
- package/dist/icons/ZapLite.js +1 -1
- package/dist/icons/central/Arrow.cjs +1 -1
- package/dist/icons/central/Arrow.js +1 -1
- package/dist/icons/central/ArrowBoxRight.cjs +1 -1
- package/dist/icons/central/ArrowBoxRight.js +1 -1
- package/dist/icons/central/ArrowDown.cjs +1 -1
- package/dist/icons/central/ArrowDown.js +1 -1
- package/dist/icons/central/ArrowDownLeft.cjs +1 -1
- package/dist/icons/central/ArrowDownLeft.js +1 -1
- package/dist/icons/central/ArrowDownRight.cjs +1 -1
- package/dist/icons/central/ArrowDownRight.js +1 -1
- package/dist/icons/central/ArrowInbox.cjs +1 -1
- package/dist/icons/central/ArrowInbox.js +1 -1
- package/dist/icons/central/ArrowInboxUp.cjs +1 -1
- package/dist/icons/central/ArrowInboxUp.js +1 -1
- package/dist/icons/central/ArrowLeft.cjs +1 -1
- package/dist/icons/central/ArrowLeft.js +1 -1
- package/dist/icons/central/ArrowRight.cjs +1 -1
- package/dist/icons/central/ArrowRight.js +1 -1
- package/dist/icons/central/ArrowUp.cjs +1 -1
- package/dist/icons/central/ArrowUp.js +1 -1
- package/dist/icons/central/ArrowUpDown.cjs +1 -1
- package/dist/icons/central/ArrowUpDown.js +1 -1
- package/dist/icons/central/ArrowUpLeft.cjs +1 -1
- package/dist/icons/central/ArrowUpLeft.js +1 -1
- package/dist/icons/central/ArrowUpRight.cjs +1 -1
- package/dist/icons/central/ArrowUpRight.js +1 -1
- package/dist/icons/central/ArrowsRepeatCircle.cjs +1 -1
- package/dist/icons/central/ArrowsRepeatCircle.js +1 -1
- package/dist/icons/central/ArrowsRepeatLeftRight.cjs +1 -1
- package/dist/icons/central/ArrowsRepeatLeftRight.js +1 -1
- package/dist/icons/central/At.cjs +1 -1
- package/dist/icons/central/At.js +1 -1
- package/dist/icons/central/Bank.cjs +1 -1
- package/dist/icons/central/Bank.js +1 -1
- package/dist/icons/central/BankBold.cjs +1 -1
- package/dist/icons/central/BankBold.js +1 -1
- package/dist/icons/central/BarsThree.cjs +1 -1
- package/dist/icons/central/BarsThree.js +1 -1
- package/dist/icons/central/Bell.cjs +1 -1
- package/dist/icons/central/Bell.js +1 -1
- package/dist/icons/central/Bell2.cjs +1 -1
- package/dist/icons/central/Bell2.js +1 -1
- package/dist/icons/central/BellOff.cjs +1 -1
- package/dist/icons/central/BellOff.js +1 -1
- package/dist/icons/central/Blackpoint.cjs +1 -1
- package/dist/icons/central/Blackpoint.js +1 -1
- package/dist/icons/central/Brackets1.cjs +1 -1
- package/dist/icons/central/Brackets1.js +1 -1
- package/dist/icons/central/Bubble5.cjs +1 -1
- package/dist/icons/central/Bubble5.js +1 -1
- package/dist/icons/central/BubbleWideNotification.cjs +1 -1
- package/dist/icons/central/BubbleWideNotification.js +1 -1
- package/dist/icons/central/Checkmark2.cjs +1 -1
- package/dist/icons/central/Checkmark2.js +1 -1
- package/dist/icons/central/Checkmark2Small.cjs +1 -1
- package/dist/icons/central/Checkmark2Small.js +1 -1
- package/dist/icons/central/ChevronBottom.cjs +1 -1
- package/dist/icons/central/ChevronBottom.js +1 -1
- package/dist/icons/central/ChevronBottomSm.cjs +1 -1
- package/dist/icons/central/ChevronBottomSm.js +1 -1
- package/dist/icons/central/ChevronBottomXs.cjs +1 -1
- package/dist/icons/central/ChevronBottomXs.js +1 -1
- package/dist/icons/central/ChevronDownSmall.cjs +1 -1
- package/dist/icons/central/ChevronDownSmall.js +1 -1
- package/dist/icons/central/ChevronLeft.cjs +3 -3
- package/dist/icons/central/ChevronLeft.js +2 -2
- package/dist/icons/central/ChevronLeftSm.cjs +3 -3
- package/dist/icons/central/ChevronLeftSm.js +2 -2
- package/dist/icons/central/ChevronLeftSmall.cjs +3 -3
- package/dist/icons/central/ChevronLeftSmall.js +2 -2
- package/dist/icons/central/ChevronLeftXs.cjs +3 -3
- package/dist/icons/central/ChevronLeftXs.js +2 -2
- package/dist/icons/central/ChevronRight.cjs +1 -1
- package/dist/icons/central/ChevronRight.js +1 -1
- package/dist/icons/central/ChevronRightSm.cjs +3 -3
- package/dist/icons/central/ChevronRightSm.js +2 -2
- package/dist/icons/central/ChevronRightSmall.cjs +3 -3
- package/dist/icons/central/ChevronRightSmall.js +2 -2
- package/dist/icons/central/ChevronRightXs.cjs +3 -3
- package/dist/icons/central/ChevronRightXs.js +2 -2
- package/dist/icons/central/ChevronTop.cjs +3 -3
- package/dist/icons/central/ChevronTop.js +2 -2
- package/dist/icons/central/ChevronTopSm.cjs +3 -3
- package/dist/icons/central/ChevronTopSm.js +2 -2
- package/dist/icons/central/ChevronTopSmall.cjs +3 -3
- package/dist/icons/central/ChevronTopSmall.js +2 -2
- package/dist/icons/central/ChevronTopXs.cjs +3 -3
- package/dist/icons/central/ChevronTopXs.js +2 -2
- package/dist/icons/central/CircleCheckFilled.cjs +1 -1
- package/dist/icons/central/CircleCheckFilled.js +1 -1
- package/dist/icons/central/CircleInfo.cjs +1 -1
- package/dist/icons/central/CircleInfo.js +1 -1
- package/dist/icons/central/CircleInfoFilled.cjs +1 -1
- package/dist/icons/central/CircleInfoFilled.js +1 -1
- package/dist/icons/central/CirclePlus.cjs +1 -1
- package/dist/icons/central/CirclePlus.js +1 -1
- package/dist/icons/central/CircleQuestionmark.cjs +1 -1
- package/dist/icons/central/CircleQuestionmark.js +1 -1
- package/dist/icons/central/CircleQuestionmarkFilled.cjs +1 -1
- package/dist/icons/central/CircleQuestionmarkFilled.js +1 -1
- package/dist/icons/central/CircleX.cjs +1 -1
- package/dist/icons/central/CircleX.js +1 -1
- package/dist/icons/central/Clipboard2.cjs +1 -1
- package/dist/icons/central/Clipboard2.js +1 -1
- package/dist/icons/central/Clock.cjs +1 -1
- package/dist/icons/central/Clock.js +1 -1
- package/dist/icons/central/Contacts.cjs +1 -1
- package/dist/icons/central/Contacts.js +1 -1
- package/dist/icons/central/CrossLarge.cjs +1 -1
- package/dist/icons/central/CrossLarge.js +1 -1
- package/dist/icons/central/CrossSmall.cjs +1 -1
- package/dist/icons/central/CrossSmall.js +1 -1
- package/dist/icons/central/CryptoWallet.cjs +1 -1
- package/dist/icons/central/CryptoWallet.js +1 -1
- package/dist/icons/central/DollarSign.cjs +1 -1
- package/dist/icons/central/DollarSign.js +1 -1
- package/dist/icons/central/DotGrid1x3Horizontal.cjs +1 -1
- package/dist/icons/central/DotGrid1x3Horizontal.js +1 -1
- package/dist/icons/central/DotGrid1x3Vertical.cjs +1 -1
- package/dist/icons/central/DotGrid1x3Vertical.js +1 -1
- package/dist/icons/central/DotGrid2x3.cjs +1 -1
- package/dist/icons/central/DotGrid2x3.js +1 -1
- package/dist/icons/central/DotGrid3x3.cjs +1 -1
- package/dist/icons/central/DotGrid3x3.js +1 -1
- package/dist/icons/central/Email3.cjs +1 -1
- package/dist/icons/central/Email3.js +1 -1
- package/dist/icons/central/EmailNotification.cjs +1 -1
- package/dist/icons/central/EmailNotification.js +1 -1
- package/dist/icons/central/EmptyStrength.cjs +1 -1
- package/dist/icons/central/EmptyStrength.js +1 -1
- package/dist/icons/central/EyeOpen.cjs +1 -1
- package/dist/icons/central/EyeOpen.js +1 -1
- package/dist/icons/central/EyeSlash.cjs +1 -1
- package/dist/icons/central/EyeSlash.js +1 -1
- package/dist/icons/central/FileBend.cjs +1 -1
- package/dist/icons/central/FileBend.js +1 -1
- package/dist/icons/central/FingerPrint1.cjs +1 -1
- package/dist/icons/central/FingerPrint1.js +1 -1
- package/dist/icons/central/Gift.cjs +1 -1
- package/dist/icons/central/Gift.js +1 -1
- package/dist/icons/central/Globus.cjs +1 -1
- package/dist/icons/central/Globus.js +1 -1
- package/dist/icons/central/Group3.cjs +1 -1
- package/dist/icons/central/Group3.js +1 -1
- package/dist/icons/central/Heart2.cjs +1 -1
- package/dist/icons/central/Heart2.js +1 -1
- package/dist/icons/central/Home.cjs +1 -1
- package/dist/icons/central/Home.js +1 -1
- package/dist/icons/central/HomeLine.cjs +1 -1
- package/dist/icons/central/HomeLine.js +1 -1
- package/dist/icons/central/Initiatives.cjs +1 -1
- package/dist/icons/central/Initiatives.js +1 -1
- package/dist/icons/central/Invite.cjs +1 -1
- package/dist/icons/central/Invite.js +1 -1
- package/dist/icons/central/Key2.cjs +1 -1
- package/dist/icons/central/Key2.js +1 -1
- package/dist/icons/central/LayoutRight.cjs +1 -1
- package/dist/icons/central/LayoutRight.js +1 -1
- package/dist/icons/central/Leading.cjs +1 -1
- package/dist/icons/central/Leading.js +1 -1
- package/dist/icons/central/Lightning.cjs +1 -1
- package/dist/icons/central/Lightning.js +1 -1
- package/dist/icons/central/Link.cjs +1 -1
- package/dist/icons/central/Link.js +1 -1
- package/dist/icons/central/Loader.cjs +1 -1
- package/dist/icons/central/Loader.js +1 -1
- package/dist/icons/central/LoadingCircle.cjs +3 -3
- package/dist/icons/central/LoadingCircle.js +2 -2
- package/dist/icons/central/Lock.cjs +1 -1
- package/dist/icons/central/Lock.js +1 -1
- package/dist/icons/central/MagnifyingGlass.cjs +3 -3
- package/dist/icons/central/MagnifyingGlass.js +2 -2
- package/dist/icons/central/MagnifyingGlass2.cjs +1 -1
- package/dist/icons/central/MagnifyingGlass2.js +1 -1
- package/dist/icons/central/MapPin.cjs +1 -1
- package/dist/icons/central/MapPin.js +1 -1
- package/dist/icons/central/MediumStrength.cjs +1 -1
- package/dist/icons/central/MediumStrength.js +1 -1
- package/dist/icons/central/Megaphone.cjs +1 -1
- package/dist/icons/central/Megaphone.js +1 -1
- package/dist/icons/central/MinusLarge.cjs +1 -1
- package/dist/icons/central/MinusLarge.js +1 -1
- package/dist/icons/central/MinusSmall.cjs +1 -1
- package/dist/icons/central/MinusSmall.js +1 -1
- package/dist/icons/central/Moon.cjs +1 -1
- package/dist/icons/central/Moon.js +1 -1
- package/dist/icons/central/Mouse.cjs +1 -1
- package/dist/icons/central/Mouse.js +1 -1
- package/dist/icons/central/Offline.cjs +1 -1
- package/dist/icons/central/Offline.js +1 -1
- package/dist/icons/central/Paperclip1.cjs +1 -1
- package/dist/icons/central/Paperclip1.js +1 -1
- package/dist/icons/central/Passkeys.cjs +1 -1
- package/dist/icons/central/Passkeys.js +1 -1
- package/dist/icons/central/Passport.cjs +1 -1
- package/dist/icons/central/Passport.js +1 -1
- package/dist/icons/central/Pencil.cjs +1 -1
- package/dist/icons/central/Pencil.js +1 -1
- package/dist/icons/central/People.cjs +1 -1
- package/dist/icons/central/People.js +1 -1
- package/dist/icons/central/People2.cjs +1 -1
- package/dist/icons/central/People2.js +1 -1
- package/dist/icons/central/PeopleAdd.cjs +1 -1
- package/dist/icons/central/PeopleAdd.js +1 -1
- package/dist/icons/central/PeopleCircle.cjs +1 -1
- package/dist/icons/central/PeopleCircle.js +1 -1
- package/dist/icons/central/PeopleCircleStroke.cjs +1 -1
- package/dist/icons/central/PeopleCircleStroke.js +1 -1
- package/dist/icons/central/Phone.cjs +1 -1
- package/dist/icons/central/Phone.js +1 -1
- package/dist/icons/central/PhoneDynamicIsland.cjs +1 -1
- package/dist/icons/central/PhoneDynamicIsland.js +1 -1
- package/dist/icons/central/PlusLarge.cjs +1 -1
- package/dist/icons/central/PlusLarge.js +1 -1
- package/dist/icons/central/PlusSmall.cjs +1 -1
- package/dist/icons/central/PlusSmall.js +1 -1
- package/dist/icons/central/PointChart.cjs +1 -1
- package/dist/icons/central/PointChart.js +1 -1
- package/dist/icons/central/QrCode.cjs +1 -1
- package/dist/icons/central/QrCode.js +1 -1
- package/dist/icons/central/ReceiptBill.cjs +1 -1
- package/dist/icons/central/ReceiptBill.js +1 -1
- package/dist/icons/central/RunShortcut.cjs +1 -1
- package/dist/icons/central/RunShortcut.js +1 -1
- package/dist/icons/central/SecretPhrase.cjs +1 -1
- package/dist/icons/central/SecretPhrase.js +1 -1
- package/dist/icons/central/SettingsGear2.cjs +1 -1
- package/dist/icons/central/SettingsGear2.js +1 -1
- package/dist/icons/central/ShapesPlusXSquareCircle.cjs +1 -1
- package/dist/icons/central/ShapesPlusXSquareCircle.js +1 -1
- package/dist/icons/central/ShapesPlusXSquareCircleFill.cjs +1 -1
- package/dist/icons/central/ShapesPlusXSquareCircleFill.js +1 -1
- package/dist/icons/central/ShareAndroid.cjs +1 -1
- package/dist/icons/central/ShareAndroid.js +1 -1
- package/dist/icons/central/ShareIOS.cjs +1 -1
- package/dist/icons/central/ShareIOS.js +1 -1
- package/dist/icons/central/Shield.cjs +1 -1
- package/dist/icons/central/Shield.js +1 -1
- package/dist/icons/central/ShieldCheck.cjs +1 -1
- package/dist/icons/central/ShieldCheck.js +1 -1
- package/dist/icons/central/ShieldCheckLite.cjs +1 -1
- package/dist/icons/central/ShieldCheckLite.js +1 -1
- package/dist/icons/central/SparklesSoft.cjs +1 -1
- package/dist/icons/central/SparklesSoft.js +1 -1
- package/dist/icons/central/SquareArrowTopRight2.cjs +1 -1
- package/dist/icons/central/SquareArrowTopRight2.js +1 -1
- package/dist/icons/central/SquareBehindSquare1.cjs +1 -1
- package/dist/icons/central/SquareBehindSquare1.js +1 -1
- package/dist/icons/central/SquareBehindSquare2.cjs +1 -1
- package/dist/icons/central/SquareBehindSquare2.js +1 -1
- package/dist/icons/central/StrongStrength.cjs +1 -1
- package/dist/icons/central/StrongStrength.js +1 -1
- package/dist/icons/central/SubscriptionTick1.cjs +1 -1
- package/dist/icons/central/SubscriptionTick1.js +1 -1
- package/dist/icons/central/TestTube.cjs +1 -1
- package/dist/icons/central/TestTube.js +1 -1
- package/dist/icons/central/Thunder.cjs +1 -1
- package/dist/icons/central/Thunder.js +1 -1
- package/dist/icons/central/TradingViewCandles.cjs +1 -1
- package/dist/icons/central/TradingViewCandles.js +1 -1
- package/dist/icons/central/TrashCan.cjs +1 -1
- package/dist/icons/central/TrashCan.js +1 -1
- package/dist/icons/central/TriangleExclamation.cjs +3 -3
- package/dist/icons/central/TriangleExclamation.js +2 -2
- package/dist/icons/central/TriangleExclamationFilled.cjs +1 -1
- package/dist/icons/central/TriangleExclamationFilled.js +1 -1
- package/dist/icons/central/Vignette.cjs +1 -1
- package/dist/icons/central/Vignette.js +1 -1
- package/dist/icons/central/WeakStrength.cjs +1 -1
- package/dist/icons/central/WeakStrength.js +1 -1
- package/dist/icons/central/Wrench.cjs +1 -1
- package/dist/icons/central/Wrench.js +1 -1
- package/dist/icons/central/index.cjs +55 -55
- package/dist/icons/central/index.js +84 -84
- package/dist/icons/constants.cjs +1 -1
- package/dist/icons/constants.js +1 -1
- package/dist/icons/index.cjs +7 -7
- package/dist/icons/index.js +6 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/router.cjs +23 -23
- package/dist/router.d.cts +1 -1
- package/dist/router.d.ts +1 -1
- package/dist/router.js +22 -22
- package/dist/styles/breakpoints.cjs +1 -1
- package/dist/styles/breakpoints.js +1 -1
- package/dist/styles/colors.cjs +3 -3
- package/dist/styles/colors.d.cts +10 -3
- package/dist/styles/colors.d.ts +10 -3
- package/dist/styles/colors.js +2 -2
- package/dist/styles/common.cjs +9 -9
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +8 -8
- package/dist/styles/constants.cjs +1 -1
- package/dist/styles/constants.js +1 -1
- package/dist/styles/fields.cjs +86 -84
- package/dist/styles/fields.d.cts +9 -3
- package/dist/styles/fields.d.ts +9 -3
- package/dist/styles/fields.js +85 -83
- package/dist/styles/global.cjs +10 -10
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +9 -9
- package/dist/styles/themeDefaults/buttons.cjs +3 -3
- package/dist/styles/themeDefaults/buttons.d.cts +1 -1
- package/dist/styles/themeDefaults/buttons.d.ts +1 -1
- package/dist/styles/themeDefaults/buttons.js +2 -2
- package/dist/styles/themeDefaults/cardForm.cjs +3 -3
- package/dist/styles/themeDefaults/cardForm.d.cts +1 -1
- package/dist/styles/themeDefaults/cardForm.d.ts +1 -1
- package/dist/styles/themeDefaults/cardForm.js +2 -2
- package/dist/styles/themeDefaults/loading.cjs +3 -3
- package/dist/styles/themeDefaults/loading.js +2 -2
- package/dist/styles/themes.cjs +8 -8
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +7 -7
- package/dist/styles/tokens/spacing.cjs +1 -1
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/tokens/typography.cjs +3 -3
- package/dist/styles/tokens/typography.js +2 -2
- package/dist/styles/type.cjs +11 -11
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +10 -10
- package/dist/styles/typography.cjs +9 -9
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +8 -8
- package/dist/styles/utils.cjs +10 -10
- package/dist/styles/utils.js +9 -9
- package/dist/styles/z-index.cjs +1 -1
- package/dist/styles/z-index.js +1 -1
- package/dist/{themes-D4bF196z.d.ts → themes-CmbiZfu8.d.ts} +10 -1
- package/dist/{themes-D7GMQxd1.d.cts → themes-CrrYdiiT.d.cts} +10 -1
- package/dist/types/typeGuard.cjs +1 -1
- package/dist/types/typeGuard.js +1 -1
- package/dist/utils/NextLink.cjs +23 -23
- package/dist/utils/NextLink.d.cts +1 -1
- package/dist/utils/NextLink.d.ts +1 -1
- package/dist/utils/NextLink.js +22 -22
- package/dist/utils/countryCodesToNames.cjs +1 -1
- package/dist/utils/countryCodesToNames.js +1 -1
- package/dist/utils/emotion.cjs +1 -1
- package/dist/utils/emotion.js +1 -1
- package/dist/utils/getGQLOperationName.cjs +1 -1
- package/dist/utils/getGQLOperationName.js +1 -1
- package/dist/utils/index.cjs +83 -83
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +82 -82
- package/dist/utils/isReactNodeWithChildren.cjs +1 -1
- package/dist/utils/isReactNodeWithChildren.js +1 -1
- package/dist/utils/locale.cjs +1 -1
- package/dist/utils/locale.js +1 -1
- package/dist/utils/parseURLFragments.cjs +1 -1
- package/dist/utils/parseURLFragments.js +1 -1
- package/dist/utils/strings.cjs +1 -1
- package/dist/utils/strings.js +1 -1
- package/dist/utils/toReactNodes/nodes.cjs +1 -1
- package/dist/utils/toReactNodes/nodes.d.cts +1 -1
- package/dist/utils/toReactNodes/nodes.d.ts +1 -1
- package/dist/utils/toReactNodes/nodes.js +1 -1
- package/dist/utils/toReactNodes/setReactNodesTypography.cjs +83 -83
- package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +1 -1
- package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +1 -1
- package/dist/utils/toReactNodes/setReactNodesTypography.js +82 -82
- package/dist/utils/toReactNodes/stringToNodes.cjs +1 -1
- package/dist/utils/toReactNodes/stringToNodes.js +1 -1
- package/dist/utils/toReactNodes/toReactNodes.cjs +82 -82
- package/dist/utils/toReactNodes/toReactNodes.d.cts +1 -1
- package/dist/utils/toReactNodes/toReactNodes.d.ts +1 -1
- package/dist/utils/toReactNodes/toReactNodes.js +81 -81
- package/dist/utils/transformGQLName.cjs +1 -1
- package/dist/utils/transformGQLName.js +1 -1
- package/dist/utils/unicode.cjs +1 -1
- package/dist/utils/unicode.js +1 -1
- package/package.json +3 -2
- package/dist/chunk-3S2YUTNP.cjs +0 -26
- package/dist/chunk-3VE2MW6E.cjs +0 -26
- package/dist/chunk-46T6JTHP.cjs +0 -32
- package/dist/chunk-4DNQYKYR.js +0 -32
- package/dist/chunk-4KGDYJKA.cjs +0 -33
- package/dist/chunk-6EBTM3SI.cjs +0 -26
- package/dist/chunk-7CGZRREA.js +0 -33
- package/dist/chunk-7F7TNMEF.cjs +0 -26
- package/dist/chunk-7FKFNC4Q.cjs +0 -32
- package/dist/chunk-BQCPG6LN.js +0 -33
- package/dist/chunk-CDFVRIET.cjs +0 -60
- package/dist/chunk-CP43M6OM.js +0 -33
- package/dist/chunk-DAXG55MZ.cjs +0 -33
- package/dist/chunk-DCPMO2PD.cjs +0 -26
- package/dist/chunk-DJDVATDR.cjs +0 -16
- package/dist/chunk-E4DYTGSO.cjs +0 -32
- package/dist/chunk-ESBJE62E.cjs +0 -33
- package/dist/chunk-GHDKTLUV.js +0 -32
- package/dist/chunk-IDJPIJSN.cjs +0 -26
- package/dist/chunk-IG7N4JVE.js +0 -32
- package/dist/chunk-KMMVA44M.js +0 -33
- package/dist/chunk-L2FEPOWM.js +0 -33
- package/dist/chunk-LRDORQ2Q.js +0 -33
- package/dist/chunk-LXBMHRTM.cjs +0 -33
- package/dist/chunk-LXKPIYTO.js +0 -33
- package/dist/chunk-M5ADA2BD.js +0 -33
- package/dist/chunk-PVZ3NHCP.cjs +0 -26
- package/dist/chunk-R3XORWKQ.cjs +0 -33
- package/dist/chunk-RKH2QFA7.cjs +0 -26
- package/dist/chunk-RUQTA646.cjs +0 -33
- package/dist/chunk-SENJMFUX.js +0 -32
- package/dist/chunk-TPZIFG5S.cjs +0 -26
- package/dist/chunk-UMUGCPLC.cjs +0 -32
- package/dist/chunk-UOWEME6D.cjs +0 -26
- package/dist/chunk-UXQZQ4WU.js +0 -33
- package/dist/chunk-V4E7LUQ7.cjs +0 -848
- package/dist/chunk-WD4OVUQO.cjs +0 -33
- package/dist/chunk-WPNWAVBR.cjs +0 -26
- package/dist/chunk-YBHALQ7F.cjs +0 -33
- package/dist/chunk-YEBNI6T5.cjs +0 -33
|
@@ -0,0 +1,1279 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkRV6KAIIFcjs = require('./chunk-RV6KAIIF.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk24MJ7UXEcjs = require('./chunk-24MJ7UXE.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkTQ7E3EMIcjs = require('./chunk-TQ7E3EMI.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkAF67FQ4Zcjs = require('./chunk-AF67FQ4Z.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _chunkDIRSPH6Acjs = require('./chunk-DIRSPH6A.cjs');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunkMA4TAJR3cjs = require('./chunk-MA4TAJR3.cjs');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunkXHIUWLTCcjs = require('./chunk-XHIUWLTC.cjs');
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
var _chunkUPQXK6TFcjs = require('./chunk-UPQXK6TF.cjs');
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
var _chunkD4G7AKPXcjs = require('./chunk-D4G7AKPX.cjs');
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
var _chunkG5H7DC2Fcjs = require('./chunk-G5H7DC2F.cjs');
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
var _chunk6YG7IA2Fcjs = require('./chunk-6YG7IA2F.cjs');
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var _chunkDB6Z636Zcjs = require('./chunk-DB6Z636Z.cjs');
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var _chunkEJR26GKNcjs = require('./chunk-EJR26GKN.cjs');
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
var _chunkP7BNVHNVcjs = require('./chunk-P7BNVHNV.cjs');
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunkKUMRXHB4cjs = require('./chunk-KUMRXHB4.cjs');
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
var _chunkQPWUPYZ4cjs = require('./chunk-QPWUPYZ4.cjs');
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
var _chunkGMDANQACcjs = require('./chunk-GMDANQAC.cjs');
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
var _chunkZUAO4DW3cjs = require('./chunk-ZUAO4DW3.cjs');
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
var _chunkMPO5I3PIcjs = require('./chunk-MPO5I3PI.cjs');
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
var _chunkX6AJB6TLcjs = require('./chunk-X6AJB6TL.cjs');
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
var _chunkRZ24JAMPcjs = require('./chunk-RZ24JAMP.cjs');
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
var _chunkR5SHOMBXcjs = require('./chunk-R5SHOMBX.cjs');
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
var _chunkJFPLNGMQcjs = require('./chunk-JFPLNGMQ.cjs');
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
95
|
+
|
|
96
|
+
// src/components/DataManagerTable/DataManagerTable.tsx
|
|
97
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
var _react = require('react');
|
|
103
|
+
var _react3 = require('@emotion/react');
|
|
104
|
+
var _core = require('@lightsparkdev/core');
|
|
105
|
+
var _reactrouterdom = require('react-router-dom');
|
|
106
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
107
|
+
function getDefaultFilterState(filter) {
|
|
108
|
+
switch (filter.type) {
|
|
109
|
+
case "date" /* DATE */:
|
|
110
|
+
return _chunkAF67FQ4Zcjs.getDefaultDateFilterState.call(void 0, );
|
|
111
|
+
case "enum" /* ENUM */:
|
|
112
|
+
return _chunkDIRSPH6Acjs.getDefaultEnumFilterState.call(void 0, );
|
|
113
|
+
case "string" /* STRING */:
|
|
114
|
+
return _chunkXHIUWLTCcjs.getDefaultStringFilterState.call(void 0, );
|
|
115
|
+
case "id" /* ID */:
|
|
116
|
+
return _chunkMA4TAJR3cjs.getDefaultIdFilterState.call(void 0, filter.allowedEntities);
|
|
117
|
+
case "boolean" /* BOOLEAN */:
|
|
118
|
+
return _chunkUPQXK6TFcjs.getDefaultBooleanFilterState.call(void 0, );
|
|
119
|
+
case "currency" /* CURRENCY */:
|
|
120
|
+
return _chunkD4G7AKPXcjs.getDefaultCurrencyFilterState.call(void 0, );
|
|
121
|
+
default:
|
|
122
|
+
throw new Error("Invalid filter type");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
function initialFilterState(filters) {
|
|
126
|
+
let state = {};
|
|
127
|
+
filters.forEach((filter) => {
|
|
128
|
+
state = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, state), {
|
|
129
|
+
[filter.accessorKey]: getDefaultFilterState(filter)
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
return state;
|
|
133
|
+
}
|
|
134
|
+
function saveFiltersToURL(searchParams, filters, filterStates, currentPage) {
|
|
135
|
+
const newSearchParams = new URLSearchParams(searchParams);
|
|
136
|
+
filters.forEach((filter) => {
|
|
137
|
+
newSearchParams.delete(String(filter.accessorKey));
|
|
138
|
+
});
|
|
139
|
+
filters.forEach((filter) => {
|
|
140
|
+
var _a, _b;
|
|
141
|
+
const filterState = filterStates[filter.accessorKey];
|
|
142
|
+
if (filterState && filterState.isApplied) {
|
|
143
|
+
if (filter.type === "string" /* STRING */ || filter.type === "enum" /* ENUM */ || filter.type === "id" /* ID */) {
|
|
144
|
+
const appliedValues = filterState.appliedValues;
|
|
145
|
+
if (appliedValues && appliedValues.length > 0) {
|
|
146
|
+
newSearchParams.set(
|
|
147
|
+
String(filter.accessorKey),
|
|
148
|
+
appliedValues.join(",")
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
} else if (filter.type === "boolean" /* BOOLEAN */) {
|
|
152
|
+
const appliedValue = filterState.value;
|
|
153
|
+
if (appliedValue !== void 0) {
|
|
154
|
+
newSearchParams.set(String(filter.accessorKey), String(appliedValue));
|
|
155
|
+
}
|
|
156
|
+
} else if (filter.type === "date" /* DATE */) {
|
|
157
|
+
const dateFilter = filterState;
|
|
158
|
+
if (dateFilter.start || dateFilter.end) {
|
|
159
|
+
const startStr = dateFilter.start ? dateFilter.start.toISOString() : "";
|
|
160
|
+
const endStr = dateFilter.end ? dateFilter.end.toISOString() : "";
|
|
161
|
+
newSearchParams.set(
|
|
162
|
+
String(filter.accessorKey),
|
|
163
|
+
`${startStr},${endStr}`
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
} else if (filter.type === "currency" /* CURRENCY */) {
|
|
167
|
+
const currencyFilter = filterState;
|
|
168
|
+
if (currencyFilter.min_amount || currencyFilter.max_amount) {
|
|
169
|
+
const minValue = (_a = currencyFilter.min_amount) == null ? void 0 : _a.value;
|
|
170
|
+
const maxValue = (_b = currencyFilter.max_amount) == null ? void 0 : _b.value;
|
|
171
|
+
if (minValue !== void 0 || maxValue !== void 0) {
|
|
172
|
+
const currencyValue = minValue !== void 0 && maxValue !== void 0 ? `${minValue}-${maxValue}` : minValue !== void 0 ? `>${minValue}` : `<${maxValue}`;
|
|
173
|
+
newSearchParams.set(String(filter.accessorKey), currencyValue);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
return newSearchParams;
|
|
180
|
+
}
|
|
181
|
+
function loadFiltersFromURL(searchParams, filters, currentFilterStates) {
|
|
182
|
+
const newFilterStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, currentFilterStates);
|
|
183
|
+
filters.forEach((filter) => {
|
|
184
|
+
const paramValue = searchParams.get(String(filter.accessorKey));
|
|
185
|
+
if (paramValue !== null && paramValue !== void 0 && paramValue !== "") {
|
|
186
|
+
if (filter.type === "string" /* STRING */) {
|
|
187
|
+
const stringFilter = newFilterStates[filter.accessorKey];
|
|
188
|
+
const appliedValues = paramValue.includes(",") ? paramValue.split(",").filter((v) => v.trim() !== "") : [paramValue];
|
|
189
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, stringFilter), {
|
|
190
|
+
appliedValues,
|
|
191
|
+
isApplied: true
|
|
192
|
+
});
|
|
193
|
+
} else if (filter.type === "enum" /* ENUM */) {
|
|
194
|
+
const enumFilter = newFilterStates[filter.accessorKey];
|
|
195
|
+
const appliedValues = paramValue.includes(",") ? paramValue.split(",").filter((v) => v.trim() !== "") : [paramValue];
|
|
196
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, enumFilter), {
|
|
197
|
+
appliedValues,
|
|
198
|
+
isApplied: true
|
|
199
|
+
});
|
|
200
|
+
} else if (filter.type === "id" /* ID */) {
|
|
201
|
+
const idFilter = newFilterStates[filter.accessorKey];
|
|
202
|
+
const appliedValues = paramValue.includes(",") ? paramValue.split(",").filter((v) => v.trim() !== "") : [paramValue];
|
|
203
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, idFilter), {
|
|
204
|
+
appliedValues,
|
|
205
|
+
isApplied: true
|
|
206
|
+
});
|
|
207
|
+
} else if (filter.type === "boolean" /* BOOLEAN */) {
|
|
208
|
+
const booleanFilter = newFilterStates[filter.accessorKey];
|
|
209
|
+
const boolValue = paramValue === "true";
|
|
210
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, booleanFilter), {
|
|
211
|
+
value: boolValue,
|
|
212
|
+
isApplied: true
|
|
213
|
+
});
|
|
214
|
+
} else if (filter.type === "date" /* DATE */) {
|
|
215
|
+
const dateFilter = newFilterStates[filter.accessorKey];
|
|
216
|
+
if (paramValue.includes(",")) {
|
|
217
|
+
const [startStr, endStr] = paramValue.split(",");
|
|
218
|
+
const startDate = startStr ? new Date(startStr) : null;
|
|
219
|
+
const endDate = endStr ? new Date(endStr) : null;
|
|
220
|
+
if (startDate && !isNaN(startDate.getTime()) || endDate && !isNaN(endDate.getTime())) {
|
|
221
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, dateFilter), {
|
|
222
|
+
start: startDate,
|
|
223
|
+
end: endDate,
|
|
224
|
+
isApplied: true
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
} else {
|
|
228
|
+
const dateValue = new Date(paramValue);
|
|
229
|
+
if (!isNaN(dateValue.getTime())) {
|
|
230
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, dateFilter), {
|
|
231
|
+
start: dateValue,
|
|
232
|
+
end: null,
|
|
233
|
+
isApplied: true
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
} else if (filter.type === "currency" /* CURRENCY */) {
|
|
238
|
+
const currencyFilter = newFilterStates[filter.accessorKey];
|
|
239
|
+
if (paramValue.includes("-")) {
|
|
240
|
+
const [min, max] = paramValue.split("-").map((v) => parseInt(v));
|
|
241
|
+
if (!isNaN(min) && !isNaN(max)) {
|
|
242
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, currencyFilter), {
|
|
243
|
+
min_amount: { value: min, unit: _core.CurrencyUnit.SATOSHI },
|
|
244
|
+
max_amount: { value: max, unit: _core.CurrencyUnit.SATOSHI },
|
|
245
|
+
isApplied: true
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
} else if (paramValue.startsWith(">")) {
|
|
249
|
+
const min = parseInt(paramValue.substring(1));
|
|
250
|
+
if (!isNaN(min)) {
|
|
251
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, currencyFilter), {
|
|
252
|
+
min_amount: { value: min, unit: _core.CurrencyUnit.SATOSHI },
|
|
253
|
+
max_amount: null,
|
|
254
|
+
isApplied: true
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
} else if (paramValue.startsWith("<")) {
|
|
258
|
+
const max = parseInt(paramValue.substring(1));
|
|
259
|
+
if (!isNaN(max)) {
|
|
260
|
+
newFilterStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, currencyFilter), {
|
|
261
|
+
min_amount: null,
|
|
262
|
+
max_amount: { value: max, unit: _core.CurrencyUnit.SATOSHI },
|
|
263
|
+
isApplied: true
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
} else {
|
|
269
|
+
newFilterStates[filter.accessorKey] = getDefaultFilterState(filter);
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
return newFilterStates;
|
|
273
|
+
}
|
|
274
|
+
function DataManagerTable(props) {
|
|
275
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
276
|
+
const [searchParams, setSearchParams] = _reactrouterdom.useSearchParams.call(void 0, );
|
|
277
|
+
const isCardPageFullWidth = typeof props.cardPageFullWidth === "boolean" ? props.cardPageFullWidth : true;
|
|
278
|
+
const cardPageMt = typeof props.cardPageMt === "undefined" ? 24 : props.cardPageMt;
|
|
279
|
+
const showPaginationPreviousNext = typeof ((_a = props.paginationDisplayOptions) == null ? void 0 : _a.showPaginationPreviousNext) === "boolean" ? props.paginationDisplayOptions.showPaginationPreviousNext : true;
|
|
280
|
+
const pageSizeString = typeof ((_b = props.paginationDisplayOptions) == null ? void 0 : _b.pageSizeStringTemplate) === "string" ? props.paginationDisplayOptions.pageSizeStringTemplate : "Show {pageSize} items";
|
|
281
|
+
const breakPoint = _chunkKW3JYLRIcjs.useBreakpoints.call(void 0, );
|
|
282
|
+
const [pageSize, setPageSize] = _react.useState.call(void 0, ((_c = props.pageSizes) == null ? void 0 : _c[0]) || 20);
|
|
283
|
+
const [pageCursorState, setPageCursorState] = _react.useState.call(void 0, {
|
|
284
|
+
startResult: void 0,
|
|
285
|
+
nextPageCursor: props.nextPageCursor,
|
|
286
|
+
cursorCache: {}
|
|
287
|
+
});
|
|
288
|
+
const [isLoading, setIsLoading] = _react.useState.call(void 0, props.loading || false);
|
|
289
|
+
const [numFiltersApplied, setNumFiltersApplied] = _react.useState.call(void 0, 0);
|
|
290
|
+
const [showFilterEditor, setShowFilterEditor] = _react.useState.call(void 0, false);
|
|
291
|
+
const [filterStates, setFilterStates] = _react.useState.call(void 0,
|
|
292
|
+
props.filterOptions ? initialFilterState(props.filterOptions.filters) : {}
|
|
293
|
+
);
|
|
294
|
+
const [fetchVariables, setFetchVariables] = _react.useState.call(void 0,
|
|
295
|
+
((_d = props.filterOptions) == null ? void 0 : _d.initialQueryVariables) || {}
|
|
296
|
+
);
|
|
297
|
+
const DropdownComponent = ((_e = props.customComponents) == null ? void 0 : _e.dropdownComponent) || _chunkEJR26GKNcjs.Dropdown;
|
|
298
|
+
const isSm = breakPoint.isSm();
|
|
299
|
+
_react.useEffect.call(void 0, () => {
|
|
300
|
+
setIsLoading(Boolean(props.loading));
|
|
301
|
+
}, [props.loading]);
|
|
302
|
+
_react.useEffect.call(void 0, () => {
|
|
303
|
+
if (!props.filterOptions || !props.enableURLFilters) return;
|
|
304
|
+
const { filters: filters2, getFilterQueryVariables } = props.filterOptions;
|
|
305
|
+
const newFilterStates = loadFiltersFromURL(
|
|
306
|
+
searchParams,
|
|
307
|
+
filters2,
|
|
308
|
+
filterStates
|
|
309
|
+
);
|
|
310
|
+
setFilterStates(newFilterStates);
|
|
311
|
+
const newFetchVariables = getFilterQueryVariables(
|
|
312
|
+
filters2,
|
|
313
|
+
newFilterStates,
|
|
314
|
+
pageSize
|
|
315
|
+
);
|
|
316
|
+
setFetchVariables(newFetchVariables);
|
|
317
|
+
const numFiltersApplied2 = Object.values(newFilterStates).reduce(
|
|
318
|
+
(acc, state) => {
|
|
319
|
+
return state.isApplied ? acc + 1 : acc;
|
|
320
|
+
},
|
|
321
|
+
0
|
|
322
|
+
);
|
|
323
|
+
setNumFiltersApplied(numFiltersApplied2);
|
|
324
|
+
if (props.filterOptions && Object.values(newFilterStates).some((state) => state.isApplied)) {
|
|
325
|
+
setIsLoading(true);
|
|
326
|
+
setPageCursorState((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
327
|
+
startResult: void 0
|
|
328
|
+
}));
|
|
329
|
+
props.filterOptions.refetch(newFetchVariables).then(() => {
|
|
330
|
+
setIsLoading(false);
|
|
331
|
+
}).catch((e) => {
|
|
332
|
+
setIsLoading(false);
|
|
333
|
+
throw e;
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
}, [searchParams, props.filterOptions, pageSize]);
|
|
337
|
+
_react.useEffect.call(void 0, () => {
|
|
338
|
+
if (props.refetchOnPropsChange && props.filterOptions) {
|
|
339
|
+
void handleApplyFilters(filterStates, props.filterOptions, pageSize);
|
|
340
|
+
}
|
|
341
|
+
}, [...props.refetchOnPropsChange || []]);
|
|
342
|
+
_react.useEffect.call(void 0, () => {
|
|
343
|
+
if (!props.nextPageCursor) {
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
const cursorCacheResult = Object.entries(
|
|
347
|
+
pageCursorState.cursorCache[pageSize] || {}
|
|
348
|
+
).find(([_, cursor]) => cursor === props.nextPageCursor);
|
|
349
|
+
if (cursorCacheResult) {
|
|
350
|
+
setPageCursorState((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
351
|
+
startResult: parseInt(cursorCacheResult[0]),
|
|
352
|
+
nextPageCursor: cursorCacheResult[1]
|
|
353
|
+
}));
|
|
354
|
+
} else {
|
|
355
|
+
setPageCursorState((prevState) => {
|
|
356
|
+
if (prevState.nextPageCursor === props.nextPageCursor) return prevState;
|
|
357
|
+
const startResult = prevState.startResult === void 0 ? 1 : prevState.startResult + pageSize;
|
|
358
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
359
|
+
startResult,
|
|
360
|
+
nextPageCursor: props.nextPageCursor,
|
|
361
|
+
cursorCache: _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState.cursorCache), {
|
|
362
|
+
[pageSize]: _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState.cursorCache[pageSize]), {
|
|
363
|
+
[startResult]: props.nextPageCursor
|
|
364
|
+
})
|
|
365
|
+
})
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
}, [props.nextPageCursor, pageSize, pageCursorState.cursorCache]);
|
|
370
|
+
function updateFilterState(filter) {
|
|
371
|
+
return (state) => {
|
|
372
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
373
|
+
[filter.accessorKey]: state
|
|
374
|
+
}));
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
const handleApplyFilters = (filterStates2, filterOptions, pageSize2) => _chunkYM5JDZDQcjs.__async.call(void 0, this, null, function* () {
|
|
378
|
+
var _a2;
|
|
379
|
+
const { filters: filters2, refetch, getFilterQueryVariables } = filterOptions;
|
|
380
|
+
const appliedFilterStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, filterStates2);
|
|
381
|
+
const filterStatesArray = Object.values(appliedFilterStates);
|
|
382
|
+
let isValid = true;
|
|
383
|
+
for (let i = 0; i < filterStatesArray.length; i++) {
|
|
384
|
+
const filterState = filterStatesArray[i];
|
|
385
|
+
if (filterState.isApplied && filterState.onValidate) {
|
|
386
|
+
const filter = filters2[i];
|
|
387
|
+
const validResult = filterState.onValidate(
|
|
388
|
+
filterState,
|
|
389
|
+
filter.isMulti
|
|
390
|
+
);
|
|
391
|
+
if (validResult) {
|
|
392
|
+
appliedFilterStates[filter.accessorKey] = validResult;
|
|
393
|
+
if (_chunkMA4TAJR3cjs.isIdFilterState.call(void 0, filterState)) {
|
|
394
|
+
const appliedValues = validResult.appliedValues;
|
|
395
|
+
updateFilterState(filter)(_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, filterStates2[filter.accessorKey]), {
|
|
396
|
+
value: "",
|
|
397
|
+
appliedValues: appliedValues ? [...appliedValues] : []
|
|
398
|
+
}));
|
|
399
|
+
}
|
|
400
|
+
} else {
|
|
401
|
+
filterState.errorMessage = filter.errorMessage || "Error validating input";
|
|
402
|
+
isValid = false;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
if (!isValid) {
|
|
407
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState));
|
|
408
|
+
return;
|
|
409
|
+
}
|
|
410
|
+
for (let i = 0; i < filterStatesArray.length; i++) {
|
|
411
|
+
const filterState = filterStatesArray[i];
|
|
412
|
+
if (!filterState.isApplied) continue;
|
|
413
|
+
const filter = filters2[i];
|
|
414
|
+
if (_chunkXHIUWLTCcjs.isStringFilterState.call(void 0, filterState)) {
|
|
415
|
+
if (filterState.value) {
|
|
416
|
+
const value = filterState.value;
|
|
417
|
+
let updatedAppliedValues = [];
|
|
418
|
+
if (filter.isMulti) {
|
|
419
|
+
updatedAppliedValues = ((_a2 = filterState.appliedValues) == null ? void 0 : _a2.filter(
|
|
420
|
+
(appliedValue) => appliedValue !== value
|
|
421
|
+
)) || [];
|
|
422
|
+
}
|
|
423
|
+
updatedAppliedValues.push(value);
|
|
424
|
+
const newFilterState = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, filterStates2[filter.accessorKey]), {
|
|
425
|
+
value: "",
|
|
426
|
+
appliedValues: updatedAppliedValues
|
|
427
|
+
});
|
|
428
|
+
appliedFilterStates[filter.accessorKey] = newFilterState;
|
|
429
|
+
updateFilterState(filter)(newFilterState);
|
|
430
|
+
}
|
|
431
|
+
} else if (_chunkDIRSPH6Acjs.isEnumFilterState.call(void 0, filterState)) {
|
|
432
|
+
if (filterState.value) {
|
|
433
|
+
const newFilterState = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, filterStates2[filter.accessorKey]), {
|
|
434
|
+
value: "",
|
|
435
|
+
appliedValues: filterState.appliedValues
|
|
436
|
+
});
|
|
437
|
+
appliedFilterStates[filter.accessorKey] = newFilterState;
|
|
438
|
+
updateFilterState(filter)(newFilterState);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
const numFiltersApplied2 = filterStatesArray.reduce((acc, state) => {
|
|
443
|
+
return state.isApplied ? acc + 1 : acc;
|
|
444
|
+
}, 0);
|
|
445
|
+
setNumFiltersApplied(numFiltersApplied2);
|
|
446
|
+
setShowFilterEditor(false);
|
|
447
|
+
setIsLoading(true);
|
|
448
|
+
const newFetchVariables = getFilterQueryVariables(
|
|
449
|
+
filters2,
|
|
450
|
+
appliedFilterStates,
|
|
451
|
+
pageSize2
|
|
452
|
+
);
|
|
453
|
+
setFetchVariables(newFetchVariables);
|
|
454
|
+
if (props.enableURLFilters) {
|
|
455
|
+
const newSearchParams = saveFiltersToURL(
|
|
456
|
+
searchParams,
|
|
457
|
+
filters2,
|
|
458
|
+
appliedFilterStates,
|
|
459
|
+
currentPage
|
|
460
|
+
);
|
|
461
|
+
setSearchParams(newSearchParams);
|
|
462
|
+
}
|
|
463
|
+
setPageCursorState((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
464
|
+
startResult: void 0
|
|
465
|
+
}));
|
|
466
|
+
try {
|
|
467
|
+
yield refetch(newFetchVariables);
|
|
468
|
+
} catch (e) {
|
|
469
|
+
setIsLoading(false);
|
|
470
|
+
throw e;
|
|
471
|
+
}
|
|
472
|
+
setIsLoading(false);
|
|
473
|
+
});
|
|
474
|
+
const handleClearFilters = () => {
|
|
475
|
+
if (props.filterOptions) {
|
|
476
|
+
const { filters: filters2 } = props.filterOptions;
|
|
477
|
+
const newFilterStates = initialFilterState(filters2);
|
|
478
|
+
setFilterStates(newFilterStates);
|
|
479
|
+
void handleApplyFilters(newFilterStates, props.filterOptions, pageSize);
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
const handleNext = () => _chunkYM5JDZDQcjs.__async.call(void 0, this, null, function* () {
|
|
483
|
+
if (!props.filterOptions) {
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
const { refetch } = props.filterOptions;
|
|
487
|
+
setIsLoading(true);
|
|
488
|
+
const newFetchVariables = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, fetchVariables), {
|
|
489
|
+
after: pageCursorState === void 0 ? void 0 : pageCursorState.nextPageCursor
|
|
490
|
+
});
|
|
491
|
+
setFetchVariables(newFetchVariables);
|
|
492
|
+
try {
|
|
493
|
+
yield refetch(newFetchVariables);
|
|
494
|
+
} catch (e) {
|
|
495
|
+
setIsLoading(false);
|
|
496
|
+
throw e;
|
|
497
|
+
}
|
|
498
|
+
setIsLoading(false);
|
|
499
|
+
});
|
|
500
|
+
const handlePrev = () => _chunkYM5JDZDQcjs.__async.call(void 0, this, null, function* () {
|
|
501
|
+
if (!props.filterOptions) {
|
|
502
|
+
return;
|
|
503
|
+
}
|
|
504
|
+
const { refetch } = props.filterOptions;
|
|
505
|
+
setIsLoading(true);
|
|
506
|
+
const newFetchVariables = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, fetchVariables), {
|
|
507
|
+
after: pageCursorState.startResult ? pageCursorState.cursorCache[pageSize][pageCursorState.startResult - pageSize - pageSize] : void 0
|
|
508
|
+
});
|
|
509
|
+
setFetchVariables(newFetchVariables);
|
|
510
|
+
try {
|
|
511
|
+
yield refetch(newFetchVariables);
|
|
512
|
+
} catch (e) {
|
|
513
|
+
setIsLoading(false);
|
|
514
|
+
throw e;
|
|
515
|
+
}
|
|
516
|
+
setIsLoading(false);
|
|
517
|
+
});
|
|
518
|
+
const currentPage = Math.floor((pageCursorState.startResult || 0) / pageSize) + 1;
|
|
519
|
+
const handleChangePage = (page) => _chunkYM5JDZDQcjs.__async.call(void 0, this, null, function* () {
|
|
520
|
+
const pageCursorIndex = (page - 1) * pageSize + 1 - pageSize;
|
|
521
|
+
const cachedCursorState = pageCursorState.cursorCache[pageSize][pageCursorIndex];
|
|
522
|
+
if (!props.filterOptions || pageCursorIndex > 0 && !cachedCursorState || page === currentPage) {
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
const { refetch } = props.filterOptions;
|
|
526
|
+
setIsLoading(true);
|
|
527
|
+
const newFetchVariables = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, fetchVariables), {
|
|
528
|
+
after: cachedCursorState
|
|
529
|
+
});
|
|
530
|
+
setFetchVariables(newFetchVariables);
|
|
531
|
+
try {
|
|
532
|
+
yield refetch(newFetchVariables);
|
|
533
|
+
} catch (e) {
|
|
534
|
+
setIsLoading(false);
|
|
535
|
+
throw e;
|
|
536
|
+
}
|
|
537
|
+
setIsLoading(false);
|
|
538
|
+
});
|
|
539
|
+
const handleChangePageSize = (size) => _chunkYM5JDZDQcjs.__async.call(void 0, this, null, function* () {
|
|
540
|
+
setPageSize(size);
|
|
541
|
+
if (props.showMoreOptions) {
|
|
542
|
+
const { refetch, initialQueryVariables } = props.showMoreOptions;
|
|
543
|
+
setIsLoading(true);
|
|
544
|
+
let pageSizeQueryVariables;
|
|
545
|
+
if (props.showMoreOptions.pageSizeVariables) {
|
|
546
|
+
pageSizeQueryVariables = {};
|
|
547
|
+
for (const variable of props.showMoreOptions.pageSizeVariables) {
|
|
548
|
+
pageSizeQueryVariables[variable] = size;
|
|
549
|
+
}
|
|
550
|
+
} else {
|
|
551
|
+
pageSizeQueryVariables = { first: size };
|
|
552
|
+
}
|
|
553
|
+
const newFetchVariables = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, initialQueryVariables), pageSizeQueryVariables);
|
|
554
|
+
setFetchVariables(newFetchVariables);
|
|
555
|
+
try {
|
|
556
|
+
yield refetch(newFetchVariables);
|
|
557
|
+
} catch (e) {
|
|
558
|
+
setIsLoading(false);
|
|
559
|
+
throw e;
|
|
560
|
+
}
|
|
561
|
+
setIsLoading(false);
|
|
562
|
+
} else if (props.filterOptions) {
|
|
563
|
+
void handleApplyFilters(filterStates, props.filterOptions, size);
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
const filterSections = props.filterOptions ? props.filterOptions.filters.map((filter) => {
|
|
567
|
+
switch (filter.type) {
|
|
568
|
+
case "date" /* DATE */:
|
|
569
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
570
|
+
_chunkAF67FQ4Zcjs.DateFilter,
|
|
571
|
+
{
|
|
572
|
+
updateFilterState: (state) => {
|
|
573
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
574
|
+
[filter.accessorKey]: state
|
|
575
|
+
}));
|
|
576
|
+
},
|
|
577
|
+
state: filterStates[filter.accessorKey]
|
|
578
|
+
}
|
|
579
|
+
) }, filter.label);
|
|
580
|
+
case "enum" /* ENUM */:
|
|
581
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
582
|
+
_chunkDIRSPH6Acjs.EnumFilter,
|
|
583
|
+
{
|
|
584
|
+
updateFilterState: (state) => {
|
|
585
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
586
|
+
[filter.accessorKey]: state
|
|
587
|
+
}));
|
|
588
|
+
},
|
|
589
|
+
options: filter.enumValues,
|
|
590
|
+
label: filter.label,
|
|
591
|
+
placeholder: filter.placeholder,
|
|
592
|
+
state: filterStates[filter.accessorKey],
|
|
593
|
+
isMulti: filter.isMulti
|
|
594
|
+
}
|
|
595
|
+
) }, filter.label);
|
|
596
|
+
case "string" /* STRING */:
|
|
597
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
+
_chunkXHIUWLTCcjs.StringFilter,
|
|
599
|
+
{
|
|
600
|
+
updateFilterState: (state) => {
|
|
601
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
602
|
+
[filter.accessorKey]: state
|
|
603
|
+
}));
|
|
604
|
+
},
|
|
605
|
+
label: filter.label,
|
|
606
|
+
placeholder: filter.placeholder,
|
|
607
|
+
state: filterStates[filter.accessorKey]
|
|
608
|
+
}
|
|
609
|
+
) }, filter.label);
|
|
610
|
+
case "id" /* ID */:
|
|
611
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
612
|
+
_chunkMA4TAJR3cjs.IdFilter,
|
|
613
|
+
{
|
|
614
|
+
updateFilterState: (state) => {
|
|
615
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
616
|
+
[filter.accessorKey]: state
|
|
617
|
+
}));
|
|
618
|
+
},
|
|
619
|
+
label: filter.label,
|
|
620
|
+
placeholder: filter.placeholder,
|
|
621
|
+
state: filterStates[filter.accessorKey]
|
|
622
|
+
}
|
|
623
|
+
) }, filter.label);
|
|
624
|
+
case "boolean" /* BOOLEAN */:
|
|
625
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
+
_chunkUPQXK6TFcjs.BooleanFilter,
|
|
627
|
+
{
|
|
628
|
+
updateFilterState: (state) => {
|
|
629
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
630
|
+
[filter.accessorKey]: state
|
|
631
|
+
}));
|
|
632
|
+
},
|
|
633
|
+
label: filter.label,
|
|
634
|
+
state: filterStates[filter.accessorKey]
|
|
635
|
+
}
|
|
636
|
+
) }, filter.label);
|
|
637
|
+
case "currency" /* CURRENCY */:
|
|
638
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
639
|
+
_chunkD4G7AKPXcjs.CurrencyFilter,
|
|
640
|
+
{
|
|
641
|
+
updateFilterState: (state) => {
|
|
642
|
+
setFilterStates((prevState) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevState), {
|
|
643
|
+
[filter.accessorKey]: state
|
|
644
|
+
}));
|
|
645
|
+
},
|
|
646
|
+
label: filter.label,
|
|
647
|
+
state: filterStates[filter.accessorKey]
|
|
648
|
+
}
|
|
649
|
+
) }, filter.label);
|
|
650
|
+
default:
|
|
651
|
+
return null;
|
|
652
|
+
}
|
|
653
|
+
}) : [];
|
|
654
|
+
let filters;
|
|
655
|
+
const isFilterButtonSmall = isSm && props.header;
|
|
656
|
+
function onApply() {
|
|
657
|
+
void handleApplyFilters(filterStates, props.filterOptions, pageSize);
|
|
658
|
+
}
|
|
659
|
+
const filterContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
660
|
+
FilterContentInner,
|
|
661
|
+
{
|
|
662
|
+
onKeyDownCapture: (e) => {
|
|
663
|
+
if (e.key === "Enter") {
|
|
664
|
+
onApply();
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
isSm,
|
|
668
|
+
children: [
|
|
669
|
+
filterSections,
|
|
670
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, FilterContentFooter, { children: [
|
|
671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMDANQACcjs.Button, { text: "Clear", onClick: handleClearFilters }),
|
|
672
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, FilterContentFooterRight, { children: [
|
|
673
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMDANQACcjs.Button, { text: "Cancel", onClick: () => setShowFilterEditor(false) }),
|
|
674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMDANQACcjs.Button, { text: "Apply", kind: "primary", onClick: onApply })
|
|
675
|
+
] })
|
|
676
|
+
] })
|
|
677
|
+
]
|
|
678
|
+
}
|
|
679
|
+
);
|
|
680
|
+
const commonButtonProps = {
|
|
681
|
+
kind: isFilterButtonSmall ? "roundIcon" : "secondary",
|
|
682
|
+
size: "ExtraSmall",
|
|
683
|
+
typography: { color: "c6Neutral" },
|
|
684
|
+
icon: {
|
|
685
|
+
name: "Sort"
|
|
686
|
+
},
|
|
687
|
+
text: !isFilterButtonSmall ? `Filter${numFiltersApplied > 0 && props.filterEditorStyle !== "pills" ? ` | ${numFiltersApplied}` : ""}` : void 0
|
|
688
|
+
};
|
|
689
|
+
if (props.filterOptions) {
|
|
690
|
+
const FilterContainerComponent = ((_f = props.customComponents) == null ? void 0 : _f.filterContainerComponent) || DataManagerTableFilterContainer;
|
|
691
|
+
const defaultFilterContent = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: isSm ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
692
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
693
|
+
_chunkGMDANQACcjs.Button,
|
|
694
|
+
_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, commonButtonProps), props.filterButtonProps), {
|
|
695
|
+
onClick: () => setShowFilterEditor(!showFilterEditor)
|
|
696
|
+
})
|
|
697
|
+
),
|
|
698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
699
|
+
_chunkDB6Z636Zcjs.Modal,
|
|
700
|
+
{
|
|
701
|
+
visible: showFilterEditor,
|
|
702
|
+
onClose: () => setShowFilterEditor(false),
|
|
703
|
+
smKind: "fullscreen",
|
|
704
|
+
children: filterContent
|
|
705
|
+
}
|
|
706
|
+
)
|
|
707
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
708
|
+
DropdownComponent,
|
|
709
|
+
{
|
|
710
|
+
borderRadius: 12,
|
|
711
|
+
maxDropdownItemsWidth: 400,
|
|
712
|
+
dropdownContent: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FilterDropdownContent, { visible: showFilterEditor, children: filterContent }),
|
|
713
|
+
isOpen: showFilterEditor,
|
|
714
|
+
onOpen: () => {
|
|
715
|
+
setShowFilterEditor(true);
|
|
716
|
+
},
|
|
717
|
+
onClose: () => {
|
|
718
|
+
setShowFilterEditor(false);
|
|
719
|
+
},
|
|
720
|
+
button: _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, commonButtonProps), props.filterButtonProps),
|
|
721
|
+
align: props.filterDropdownAlign || "right"
|
|
722
|
+
}
|
|
723
|
+
) });
|
|
724
|
+
const pillFilters = props.filterOptions ? props.filterOptions.filters.filter((filter) => {
|
|
725
|
+
var _a2;
|
|
726
|
+
return (_a2 = filterStates[filter.accessorKey]) == null ? void 0 : _a2.isApplied;
|
|
727
|
+
}).map((filter) => {
|
|
728
|
+
var _a2, _b2, _c2;
|
|
729
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
730
|
+
_chunk24MJ7UXEcjs.PillFilter,
|
|
731
|
+
{
|
|
732
|
+
filter,
|
|
733
|
+
state: filterStates[filter.accessorKey],
|
|
734
|
+
onDelete: () => {
|
|
735
|
+
setFilterStates((prevStates) => {
|
|
736
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
737
|
+
newStates[filter.accessorKey] = getDefaultFilterState(filter);
|
|
738
|
+
void handleApplyFilters(
|
|
739
|
+
newStates,
|
|
740
|
+
props.filterOptions,
|
|
741
|
+
pageSize
|
|
742
|
+
);
|
|
743
|
+
return newStates;
|
|
744
|
+
});
|
|
745
|
+
},
|
|
746
|
+
customComponents: {
|
|
747
|
+
customDropdown: (_a2 = props.customComponents) == null ? void 0 : _a2.dropdownComponent,
|
|
748
|
+
customTextInput: (_b2 = props.customComponents) == null ? void 0 : _b2.textInputComponent,
|
|
749
|
+
customCalendarCss: (_c2 = props.customComponents) == null ? void 0 : _c2.customCalendarCss
|
|
750
|
+
},
|
|
751
|
+
onUpdateFilter: (newFilterState) => {
|
|
752
|
+
setFilterStates((prevStates) => {
|
|
753
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
754
|
+
newStates[filter.accessorKey] = newFilterState;
|
|
755
|
+
void handleApplyFilters(
|
|
756
|
+
newStates,
|
|
757
|
+
props.filterOptions,
|
|
758
|
+
pageSize
|
|
759
|
+
);
|
|
760
|
+
setShowFilterEditor(false);
|
|
761
|
+
return newStates;
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
filter.label
|
|
766
|
+
);
|
|
767
|
+
}) : [];
|
|
768
|
+
const pillsFilterContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PillFiltersContainer, { children: [
|
|
769
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkP7BNVHNVcjs.Flex, { gap: 4, align: "center", flexWrap: "wrap", children: [
|
|
770
|
+
pillFilters,
|
|
771
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
772
|
+
DropdownComponent,
|
|
773
|
+
{
|
|
774
|
+
borderRadius: 12,
|
|
775
|
+
maxDropdownItemsWidth: 200,
|
|
776
|
+
dropdownItems: getPillDropdownItems({
|
|
777
|
+
filterOptions: props.filterOptions,
|
|
778
|
+
filterStates,
|
|
779
|
+
setFilterStates,
|
|
780
|
+
handleApplyFilters,
|
|
781
|
+
pageSize,
|
|
782
|
+
setShowFilterEditor,
|
|
783
|
+
customDropdownComponent: (_g = props.customComponents) == null ? void 0 : _g.dropdownComponent
|
|
784
|
+
}),
|
|
785
|
+
isOpen: showFilterEditor,
|
|
786
|
+
onOpen: () => {
|
|
787
|
+
setShowFilterEditor(true);
|
|
788
|
+
},
|
|
789
|
+
onClose: () => {
|
|
790
|
+
setShowFilterEditor(false);
|
|
791
|
+
},
|
|
792
|
+
button: _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, commonButtonProps), props.filterButtonProps), {
|
|
793
|
+
iconSide: "left"
|
|
794
|
+
}),
|
|
795
|
+
align: props.filterDropdownAlign || "right"
|
|
796
|
+
}
|
|
797
|
+
)
|
|
798
|
+
] }),
|
|
799
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7BNVHNVcjs.Flex, { children: numFiltersApplied > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
800
|
+
_chunkGMDANQACcjs.Button,
|
|
801
|
+
_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, commonButtonProps), props.filterButtonProps), {
|
|
802
|
+
icon: {
|
|
803
|
+
name: "CentralCrossSmall",
|
|
804
|
+
width: 16,
|
|
805
|
+
color: "text",
|
|
806
|
+
iconProps: {
|
|
807
|
+
strokeWidth: 3
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
text: "Clear",
|
|
811
|
+
typography: {
|
|
812
|
+
color: "secondary"
|
|
813
|
+
},
|
|
814
|
+
onClick: handleClearFilters,
|
|
815
|
+
kind: "transparent"
|
|
816
|
+
})
|
|
817
|
+
) })
|
|
818
|
+
] });
|
|
819
|
+
filters = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, FilterContainerComponent, { children: [
|
|
820
|
+
(!props.filterEditorStyle || props.filterEditorStyle === "default") && defaultFilterContent,
|
|
821
|
+
props.filterEditorStyle === "pills" && pillsFilterContent
|
|
822
|
+
] });
|
|
823
|
+
}
|
|
824
|
+
let showMoreDropdown;
|
|
825
|
+
if (((_h = props.pageSizes) == null ? void 0 : _h.length) > 1) {
|
|
826
|
+
showMoreDropdown = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
827
|
+
_chunkEJR26GKNcjs.Dropdown,
|
|
828
|
+
{
|
|
829
|
+
align: "right",
|
|
830
|
+
verticalPlacement: "top",
|
|
831
|
+
getCSS: ({ isOpen }) => ({
|
|
832
|
+
height: "fit-content",
|
|
833
|
+
alignSelf: "center"
|
|
834
|
+
}),
|
|
835
|
+
button: {
|
|
836
|
+
getCSS: ({ isOpen }) => ({
|
|
837
|
+
display: "flex",
|
|
838
|
+
alignItems: "center",
|
|
839
|
+
height: "100%",
|
|
840
|
+
width: "100%"
|
|
841
|
+
}),
|
|
842
|
+
getContent: ({ isOpen }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
843
|
+
_chunkMPO5I3PIcjs.TextIconAligner,
|
|
844
|
+
{
|
|
845
|
+
content: pageSizeString.replace("{pageSize}", `${pageSize}`),
|
|
846
|
+
typography: { size: "ExtraSmall" },
|
|
847
|
+
rightIcon: {
|
|
848
|
+
name: "Chevron",
|
|
849
|
+
ml: 4,
|
|
850
|
+
width: 14,
|
|
851
|
+
color: isOpen ? "onPrimaryText" : "mcNeutral"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
)
|
|
855
|
+
},
|
|
856
|
+
dropdownItems: props.pageSizes.map((size) => ({
|
|
857
|
+
label: `${size}`,
|
|
858
|
+
onClick: () => {
|
|
859
|
+
void handleChangePageSize(size);
|
|
860
|
+
}
|
|
861
|
+
}))
|
|
862
|
+
}
|
|
863
|
+
);
|
|
864
|
+
}
|
|
865
|
+
let footer;
|
|
866
|
+
if (props.showMoreOptions) {
|
|
867
|
+
footer = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataManagerTableFooter, { children: [
|
|
868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
869
|
+
_chunkGMDANQACcjs.Button,
|
|
870
|
+
{
|
|
871
|
+
text: "Show more",
|
|
872
|
+
paddingY: "short",
|
|
873
|
+
onClick: () => {
|
|
874
|
+
var _a2;
|
|
875
|
+
return void handleChangePageSize(pageSize + (((_a2 = props.pageSizes) == null ? void 0 : _a2[0]) || 20));
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
),
|
|
879
|
+
showMoreDropdown
|
|
880
|
+
] });
|
|
881
|
+
} else if (props.resultCount) {
|
|
882
|
+
const startResult = pageCursorState.startResult || 1;
|
|
883
|
+
const endResult = Math.min(props.resultCount, startResult + pageSize - 1);
|
|
884
|
+
const isFullCount = (_i = props.isFullCount) != null ? _i : true;
|
|
885
|
+
const countString = isFullCount ? props.resultCount : props.resultCount + "+";
|
|
886
|
+
const resultsString = ((_j = props.paginationDisplayOptions) == null ? void 0 : _j.showPageNumberButtons) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YG7IA2Fcjs.Label, { children: "Viewing " }),
|
|
888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG5H7DC2Fcjs.LabelModerate, { children: `${startResult}-${endResult}` }),
|
|
889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YG7IA2Fcjs.Label, { children: " of " }),
|
|
890
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG5H7DC2Fcjs.LabelModerate, { children: `${countString}` }),
|
|
891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YG7IA2Fcjs.Label, { children: " results" })
|
|
892
|
+
] });
|
|
893
|
+
const hasNext = props.resultCount ? startResult + pageSize - 1 < props.resultCount : false;
|
|
894
|
+
const hasPrev = startResult > 1;
|
|
895
|
+
const pageNumbers = Array.from(
|
|
896
|
+
{ length: Math.ceil(props.resultCount / pageSize) },
|
|
897
|
+
(_, i) => i
|
|
898
|
+
);
|
|
899
|
+
const pageNumberButtons = ((_k = props.paginationDisplayOptions) == null ? void 0 : _k.showPageNumberButtons) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PageNumberPaginationButtonsContainer, { children: [
|
|
900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
901
|
+
_chunkGMDANQACcjs.Button,
|
|
902
|
+
{
|
|
903
|
+
icon: {
|
|
904
|
+
name: "CentralChevronLeftSmall",
|
|
905
|
+
width: 24,
|
|
906
|
+
color: "text"
|
|
907
|
+
},
|
|
908
|
+
kind: "ghost",
|
|
909
|
+
paddingY: "short",
|
|
910
|
+
onClick: () => void handlePrev(),
|
|
911
|
+
disabled: !hasPrev
|
|
912
|
+
}
|
|
913
|
+
),
|
|
914
|
+
pageNumbers.slice(0, 2).map((pageNumber) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
915
|
+
PageNumberButton,
|
|
916
|
+
{
|
|
917
|
+
onClick: () => void handleChangePage(pageNumber + 1),
|
|
918
|
+
isCurrentPage: currentPage === pageNumber + 1,
|
|
919
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7E3EMIcjs.Body, { content: `${pageNumber + 1}` })
|
|
920
|
+
},
|
|
921
|
+
pageNumber
|
|
922
|
+
)),
|
|
923
|
+
pageNumbers.length > 4 && currentPage - 2 > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
924
|
+
_chunkX6AJB6TLcjs.Icon,
|
|
925
|
+
{
|
|
926
|
+
name: "CentralDotGrid1x3Horizontal",
|
|
927
|
+
width: 18,
|
|
928
|
+
ml: 7,
|
|
929
|
+
mr: 7,
|
|
930
|
+
color: "text"
|
|
931
|
+
}
|
|
932
|
+
),
|
|
933
|
+
currentPage - 1 > 1 && currentPage < pageNumbers.length && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
+
PageNumberButton,
|
|
935
|
+
{
|
|
936
|
+
isCurrentPage: true,
|
|
937
|
+
onClick: () => void handleChangePage(currentPage),
|
|
938
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7E3EMIcjs.Body, { content: `${currentPage}` })
|
|
939
|
+
},
|
|
940
|
+
currentPage
|
|
941
|
+
),
|
|
942
|
+
pageNumbers.length > 4 && currentPage + 1 < pageNumbers.length && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
943
|
+
_chunkX6AJB6TLcjs.Icon,
|
|
944
|
+
{
|
|
945
|
+
name: "CentralDotGrid1x3Horizontal",
|
|
946
|
+
width: 18,
|
|
947
|
+
ml: 7,
|
|
948
|
+
mr: 7,
|
|
949
|
+
color: "text"
|
|
950
|
+
}
|
|
951
|
+
),
|
|
952
|
+
pageNumbers.length > 4 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
953
|
+
PageNumberButton,
|
|
954
|
+
{
|
|
955
|
+
isCurrentPage: currentPage === pageNumbers.length,
|
|
956
|
+
onClick: () => void handleChangePage(pageNumbers.length),
|
|
957
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7E3EMIcjs.Body, { content: `${pageNumbers.length}` })
|
|
958
|
+
},
|
|
959
|
+
pageNumbers.length
|
|
960
|
+
),
|
|
961
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
+
_chunkGMDANQACcjs.Button,
|
|
963
|
+
{
|
|
964
|
+
icon: {
|
|
965
|
+
name: "CentralChevronRightSmall",
|
|
966
|
+
width: 24,
|
|
967
|
+
color: "text"
|
|
968
|
+
},
|
|
969
|
+
kind: "ghost",
|
|
970
|
+
paddingY: "short",
|
|
971
|
+
onClick: () => void handleNext(),
|
|
972
|
+
disabled: !hasNext
|
|
973
|
+
}
|
|
974
|
+
)
|
|
975
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
976
|
+
footer = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataManagerTableFooter, { children: [
|
|
977
|
+
resultsString,
|
|
978
|
+
pageNumberButtons,
|
|
979
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PaginationContainer, { children: [
|
|
980
|
+
showMoreDropdown,
|
|
981
|
+
showPaginationPreviousNext && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PaginationButtonsContainer, { children: [
|
|
982
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
983
|
+
_chunkGMDANQACcjs.Button,
|
|
984
|
+
{
|
|
985
|
+
text: "Previous",
|
|
986
|
+
paddingY: "short",
|
|
987
|
+
onClick: () => {
|
|
988
|
+
void handlePrev();
|
|
989
|
+
},
|
|
990
|
+
disabled: !hasPrev
|
|
991
|
+
}
|
|
992
|
+
),
|
|
993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
994
|
+
_chunkGMDANQACcjs.Button,
|
|
995
|
+
{
|
|
996
|
+
text: "Next",
|
|
997
|
+
paddingY: "short",
|
|
998
|
+
onClick: () => {
|
|
999
|
+
void handleNext();
|
|
1000
|
+
},
|
|
1001
|
+
disabled: !hasNext
|
|
1002
|
+
}
|
|
1003
|
+
)
|
|
1004
|
+
] })
|
|
1005
|
+
] })
|
|
1006
|
+
] });
|
|
1007
|
+
}
|
|
1008
|
+
const DataManagerTableHeaderComponent = ((_l = props.customComponents) == null ? void 0 : _l.dataManagerTableHeaderComponent) || DataManagerTableHeader;
|
|
1009
|
+
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1010
|
+
props.showHeader && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataManagerTableHeaderComponent, { children: [
|
|
1011
|
+
props.header,
|
|
1012
|
+
filters
|
|
1013
|
+
] }),
|
|
1014
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRV6KAIIFcjs.Table, _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, props), { loading: isLoading })),
|
|
1015
|
+
footer
|
|
1016
|
+
] });
|
|
1017
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledDataManagerTable, { fullHeight: props.fullHeight, children: isCardPageFullWidth ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUMRXHB4cjs.CardPageFullWidth, { css: { marginTop: `${cardPageMt}px` }, children: content }) : content });
|
|
1018
|
+
}
|
|
1019
|
+
function getPillDropdownItems({
|
|
1020
|
+
filterOptions,
|
|
1021
|
+
filterStates,
|
|
1022
|
+
setFilterStates,
|
|
1023
|
+
handleApplyFilters,
|
|
1024
|
+
pageSize,
|
|
1025
|
+
setShowFilterEditor,
|
|
1026
|
+
customDropdownComponent
|
|
1027
|
+
}) {
|
|
1028
|
+
const getDropdownItemForFilter = (filter) => {
|
|
1029
|
+
let filterSubDropdownOptions = [];
|
|
1030
|
+
if (filter.type === "enum" /* ENUM */) {
|
|
1031
|
+
filterSubDropdownOptions = filter.enumValues.map((option) => ({
|
|
1032
|
+
label: option.label,
|
|
1033
|
+
onClick: () => {
|
|
1034
|
+
const optionValues = _core.ensureArray.call(void 0, option.value);
|
|
1035
|
+
const state = filterStates[filter.accessorKey];
|
|
1036
|
+
let updatedAppliedValues = [];
|
|
1037
|
+
if (filter.isMulti) {
|
|
1038
|
+
updatedAppliedValues = state.appliedValues ? [
|
|
1039
|
+
...state.appliedValues.filter(
|
|
1040
|
+
(appliedValue) => appliedValue !== option.value
|
|
1041
|
+
),
|
|
1042
|
+
...optionValues
|
|
1043
|
+
] : [...optionValues];
|
|
1044
|
+
} else {
|
|
1045
|
+
updatedAppliedValues = [...optionValues];
|
|
1046
|
+
}
|
|
1047
|
+
setFilterStates((prevStates) => {
|
|
1048
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
1049
|
+
newStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, getDefaultFilterState(filter)), {
|
|
1050
|
+
value: updatedAppliedValues.join(", "),
|
|
1051
|
+
isApplied: true,
|
|
1052
|
+
appliedValues: updatedAppliedValues
|
|
1053
|
+
});
|
|
1054
|
+
void handleApplyFilters(newStates, filterOptions, pageSize);
|
|
1055
|
+
setShowFilterEditor(false);
|
|
1056
|
+
return newStates;
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
}));
|
|
1060
|
+
}
|
|
1061
|
+
return {
|
|
1062
|
+
label: filter.label,
|
|
1063
|
+
getIcon: ({ dropdownItem, theme }) => ({
|
|
1064
|
+
name: "CentralChevronRightSm",
|
|
1065
|
+
width: 18,
|
|
1066
|
+
color: theme.secondary
|
|
1067
|
+
}),
|
|
1068
|
+
iconSide: "right",
|
|
1069
|
+
onClick: () => {
|
|
1070
|
+
if (filter.type === "string" /* STRING */) {
|
|
1071
|
+
const state = filterStates[filter.accessorKey];
|
|
1072
|
+
let updatedAppliedValues = [];
|
|
1073
|
+
updatedAppliedValues = filter.isMulti && state.appliedValues ? [
|
|
1074
|
+
...state.appliedValues.filter(
|
|
1075
|
+
(appliedValue) => appliedValue !== filter.value
|
|
1076
|
+
)
|
|
1077
|
+
] : state.appliedValues ? [...state.appliedValues] : [];
|
|
1078
|
+
setFilterStates((prevStates) => {
|
|
1079
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
1080
|
+
newStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, getDefaultFilterState(filter)), {
|
|
1081
|
+
value: updatedAppliedValues.join(", "),
|
|
1082
|
+
isApplied: true,
|
|
1083
|
+
appliedValues: updatedAppliedValues
|
|
1084
|
+
});
|
|
1085
|
+
void handleApplyFilters(newStates, filterOptions, pageSize);
|
|
1086
|
+
setShowFilterEditor(false);
|
|
1087
|
+
return newStates;
|
|
1088
|
+
});
|
|
1089
|
+
} else if (filter.type === "boolean" /* BOOLEAN */) {
|
|
1090
|
+
setFilterStates((prevStates) => {
|
|
1091
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
1092
|
+
newStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, getDefaultFilterState(filter)), {
|
|
1093
|
+
value: filter.value,
|
|
1094
|
+
isApplied: true
|
|
1095
|
+
});
|
|
1096
|
+
void handleApplyFilters(newStates, filterOptions, pageSize);
|
|
1097
|
+
setShowFilterEditor(false);
|
|
1098
|
+
return newStates;
|
|
1099
|
+
});
|
|
1100
|
+
} else if (filter.type === "id" /* ID */) {
|
|
1101
|
+
const state = filterStates[filter.accessorKey];
|
|
1102
|
+
let updatedAppliedValues = [];
|
|
1103
|
+
updatedAppliedValues = filter.isMulti && state.appliedValues ? [
|
|
1104
|
+
...state.appliedValues.filter(
|
|
1105
|
+
(appliedValue) => appliedValue !== filter.value
|
|
1106
|
+
)
|
|
1107
|
+
] : state.appliedValues ? [...state.appliedValues] : [];
|
|
1108
|
+
setFilterStates((prevStates) => {
|
|
1109
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
1110
|
+
newStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, getDefaultFilterState(filter)), {
|
|
1111
|
+
value: updatedAppliedValues.join(", "),
|
|
1112
|
+
isApplied: true,
|
|
1113
|
+
appliedValues: updatedAppliedValues
|
|
1114
|
+
});
|
|
1115
|
+
void handleApplyFilters(newStates, filterOptions, pageSize);
|
|
1116
|
+
setShowFilterEditor(false);
|
|
1117
|
+
return newStates;
|
|
1118
|
+
});
|
|
1119
|
+
} else if (filter.type === "currency" /* CURRENCY */) {
|
|
1120
|
+
} else if (filter.type === "date" /* DATE */) {
|
|
1121
|
+
setFilterStates((prevStates) => {
|
|
1122
|
+
const newStates = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, prevStates);
|
|
1123
|
+
newStates[filter.accessorKey] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, getDefaultFilterState(filter)), {
|
|
1124
|
+
preset: "Custom" /* Custom */,
|
|
1125
|
+
start: null,
|
|
1126
|
+
end: null,
|
|
1127
|
+
isApplied: true
|
|
1128
|
+
});
|
|
1129
|
+
void handleApplyFilters(newStates, filterOptions, pageSize);
|
|
1130
|
+
setShowFilterEditor(false);
|
|
1131
|
+
return newStates;
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
subDropdown: filterSubDropdownOptions.length > 0 ? {
|
|
1136
|
+
subItems: filterSubDropdownOptions,
|
|
1137
|
+
customDropdown: customDropdownComponent
|
|
1138
|
+
} : void 0
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
return filterOptions.filters.map(
|
|
1142
|
+
(filter) => getDropdownItemForFilter(filter)
|
|
1143
|
+
);
|
|
1144
|
+
}
|
|
1145
|
+
var StyledDataManagerTable = _styled2.default.div`
|
|
1146
|
+
width: 100%;
|
|
1147
|
+
display: flex;
|
|
1148
|
+
flex-direction: column;
|
|
1149
|
+
${({ fullHeight }) => fullHeight && _react3.css`
|
|
1150
|
+
flex-grow: 1;
|
|
1151
|
+
`}
|
|
1152
|
+
`;
|
|
1153
|
+
var commonPadding = `
|
|
1154
|
+
${_chunkKW3JYLRIcjs.bp.lg(`
|
|
1155
|
+
padding-left: ${_chunkRZ24JAMPcjs.standardContentInset.lgPx}px;
|
|
1156
|
+
padding-right: ${_chunkRZ24JAMPcjs.standardContentInset.lgPx}px;
|
|
1157
|
+
`)}
|
|
1158
|
+
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
1159
|
+
padding-left: ${_chunkRZ24JAMPcjs.standardContentInset.smPx}px;
|
|
1160
|
+
padding-right: ${_chunkRZ24JAMPcjs.standardContentInset.smPx}px;
|
|
1161
|
+
`)}
|
|
1162
|
+
${_chunkKW3JYLRIcjs.bp.minSmMaxLg(`
|
|
1163
|
+
padding-left: ${_chunkRZ24JAMPcjs.standardContentInset.minSmMaxLgPx}px;
|
|
1164
|
+
padding-right: ${_chunkRZ24JAMPcjs.standardContentInset.minSmMaxLgPx}px;
|
|
1165
|
+
`)}
|
|
1166
|
+
`;
|
|
1167
|
+
var DataManagerTableHeader = _styled2.default.div`
|
|
1168
|
+
display: flex;
|
|
1169
|
+
flex-direction: row;
|
|
1170
|
+
align-items: center;
|
|
1171
|
+
padding: ${_chunkZUAO4DW3cjs.Spacing.px.xs} 0;
|
|
1172
|
+
position: relative;
|
|
1173
|
+
`;
|
|
1174
|
+
var DataManagerTableFooter = _styled2.default.div`
|
|
1175
|
+
border-top: 1px solid ${({ theme }) => theme.c1Neutral};
|
|
1176
|
+
width: 100%;
|
|
1177
|
+
display: flex;
|
|
1178
|
+
flex-direction: row;
|
|
1179
|
+
align-items: center;
|
|
1180
|
+
justify-content: space-between;
|
|
1181
|
+
${commonPadding}
|
|
1182
|
+
padding-top: ${_chunkZUAO4DW3cjs.Spacing.px.md};
|
|
1183
|
+
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.md};
|
|
1184
|
+
|
|
1185
|
+
${_chunkGMDANQACcjs.StyledButton} {
|
|
1186
|
+
align-self: end;
|
|
1187
|
+
}
|
|
1188
|
+
`;
|
|
1189
|
+
var PaginationContainer = _styled2.default.div`
|
|
1190
|
+
display: flex;
|
|
1191
|
+
flex-direction: row;
|
|
1192
|
+
`;
|
|
1193
|
+
var PaginationButtonsContainer = _styled2.default.div`
|
|
1194
|
+
display: flex;
|
|
1195
|
+
flex-direction: row;
|
|
1196
|
+
margin-left: ${_chunkZUAO4DW3cjs.Spacing.px.md};
|
|
1197
|
+
gap: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
1198
|
+
`;
|
|
1199
|
+
var PageNumberPaginationButtonsContainer = _styled2.default.div`
|
|
1200
|
+
display: flex;
|
|
1201
|
+
flex-direction: row;
|
|
1202
|
+
align-items: center;
|
|
1203
|
+
`;
|
|
1204
|
+
var PageNumberButton = _styled2.default.button`
|
|
1205
|
+
display: flex;
|
|
1206
|
+
align-items: center;
|
|
1207
|
+
justify-content: center;
|
|
1208
|
+
width: 32px;
|
|
1209
|
+
height: 32px;
|
|
1210
|
+
padding: 0;
|
|
1211
|
+
cursor: pointer;
|
|
1212
|
+
${_chunkRZ24JAMPcjs.standardBorderRadius.call(void 0, 8)}
|
|
1213
|
+
border: none;
|
|
1214
|
+
background-color: transparent;
|
|
1215
|
+
&:hover {
|
|
1216
|
+
background-color: ${_chunkJFPLNGMQcjs.colors["black-04"]};
|
|
1217
|
+
}
|
|
1218
|
+
&:active {
|
|
1219
|
+
background-color: ${_chunkJFPLNGMQcjs.colors["black-10"]};
|
|
1220
|
+
}
|
|
1221
|
+
${({ isCurrentPage }) => isCurrentPage ? `
|
|
1222
|
+
border: 0.5px solid ${_chunkJFPLNGMQcjs.colors["black-10"]};
|
|
1223
|
+
` : ""}
|
|
1224
|
+
`;
|
|
1225
|
+
var DataManagerTableFilterContainer = _styled2.default.div`
|
|
1226
|
+
position: absolute;
|
|
1227
|
+
z-index: 3;
|
|
1228
|
+
right: 0;
|
|
1229
|
+
${_chunkQPWUPYZ4cjs.StyledButtonRow} + & {
|
|
1230
|
+
background: linear-gradient(
|
|
1231
|
+
to right,
|
|
1232
|
+
${({ theme }) => _chunkR5SHOMBXcjs.themeOr.call(void 0, "rgba(0, 0, 0, 0)", "rgba(0, 0, 0, 0)")({ theme })}
|
|
1233
|
+
0%,
|
|
1234
|
+
${({ theme }) => _chunkR5SHOMBXcjs.getColor.call(void 0, theme, "bg")} 15%
|
|
1235
|
+
);
|
|
1236
|
+
}
|
|
1237
|
+
${commonPadding}
|
|
1238
|
+
`;
|
|
1239
|
+
var FilterDropdownContent = _styled2.default.div`
|
|
1240
|
+
width: 400px;
|
|
1241
|
+
background: ${({ theme }) => theme.bg};
|
|
1242
|
+
border: 0.5px solid
|
|
1243
|
+
${({ theme }) => _chunkR5SHOMBXcjs.themeOrWithKey.call(void 0, "c1Neutral", "c4Neutral")({ theme })};
|
|
1244
|
+
${_chunkRZ24JAMPcjs.standardBorderRadius.call(void 0, 12)}
|
|
1245
|
+
box-shadow:
|
|
1246
|
+
0px 1px 4px 0px rgba(0, 0, 0, 0.1),
|
|
1247
|
+
0px 4px 8px 0px rgba(0, 0, 0, 0.08);
|
|
1248
|
+
${({ visible }) => !visible && "display: none;"}
|
|
1249
|
+
`;
|
|
1250
|
+
var FilterContentInner = _styled2.default.div`
|
|
1251
|
+
display: flex;
|
|
1252
|
+
flex-direction: column;
|
|
1253
|
+
gap: ${_chunkZUAO4DW3cjs.Spacing.px.xl};
|
|
1254
|
+
padding: ${({ isSm }) => isSm ? "0px" : _chunkZUAO4DW3cjs.Spacing.px.lg};
|
|
1255
|
+
z-index: ${_chunkZU72XWNEcjs.z.dropdown + 1};
|
|
1256
|
+
position: relative;
|
|
1257
|
+
`;
|
|
1258
|
+
var FilterContentFooter = _styled2.default.div`
|
|
1259
|
+
display: flex;
|
|
1260
|
+
flex-direction: row;
|
|
1261
|
+
justify-content: space-between;
|
|
1262
|
+
align-items: center;
|
|
1263
|
+
`;
|
|
1264
|
+
var FilterContentFooterRight = _styled2.default.div`
|
|
1265
|
+
display: flex;
|
|
1266
|
+
gap: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
1267
|
+
`;
|
|
1268
|
+
var PillFiltersContainer = _styled2.default.div`
|
|
1269
|
+
display: flex;
|
|
1270
|
+
flex-direction: row;
|
|
1271
|
+
align-items: center;
|
|
1272
|
+
justify-content: space-between;
|
|
1273
|
+
width: 100%;
|
|
1274
|
+
gap: ${_chunkZUAO4DW3cjs.Spacing.px["2xs"]};
|
|
1275
|
+
`;
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
exports.DataManagerTable = DataManagerTable;
|