ids-enterprise-wc 1.0.0-beta.19 → 1.0.0-beta.20
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/chunks/ids-chunk-227I6XDA.js +289 -0
- package/chunks/{ids-chunk-O6XRMT5G.js → ids-chunk-23MBA7JQ.js} +3 -3
- package/chunks/{ids-chunk-J634KUNC.js → ids-chunk-25MJTW5J.js} +1 -1
- package/chunks/{ids-chunk-FG5PX5YZ.js → ids-chunk-26QFYKFF.js} +2 -2
- package/chunks/{ids-chunk-TSFV7IYH.js → ids-chunk-2H6TOG2E.js} +1 -1
- package/chunks/{ids-chunk-EVM7ATIY.js → ids-chunk-2OPT3HA2.js} +1 -1
- package/chunks/{ids-chunk-IX2NF5H4.js → ids-chunk-2PR2BXBA.js} +1 -1
- package/chunks/{ids-chunk-DT4YUS3Z.js → ids-chunk-2WSTRMW3.js} +1 -1
- package/chunks/{ids-chunk-LOJHWVD7.js → ids-chunk-37EEXKDC.js} +1 -1
- package/chunks/{ids-chunk-5EILFGOX.js → ids-chunk-3AHRZNWC.js} +1 -1
- package/chunks/{ids-chunk-Y52UEPTK.js → ids-chunk-3FACLBHV.js} +9 -5
- package/chunks/{ids-chunk-ZEJDO2VE.js → ids-chunk-3KETWUOK.js} +1 -1
- package/chunks/{ids-chunk-LEH3P333.js → ids-chunk-3NZO3XFN.js} +1 -1
- package/chunks/{ids-chunk-HIZWG5KM.js → ids-chunk-3OS34JVR.js} +1 -1
- package/chunks/{ids-chunk-456UEIJ2.js → ids-chunk-3TFMQD2P.js} +1 -1
- package/chunks/{ids-chunk-DI2AYCTD.js → ids-chunk-42OG2LLC.js} +1 -1
- package/chunks/{ids-chunk-QQ7I6HRQ.js → ids-chunk-46HZL7JD.js} +1 -1
- package/chunks/{ids-chunk-GI3TFUDV.js → ids-chunk-4CKAHSGW.js} +1 -1
- package/chunks/{ids-chunk-WXV5X6OF.js → ids-chunk-4GJ5ACBR.js} +1 -1
- package/chunks/{ids-chunk-OLRCPLHW.js → ids-chunk-4HKFAT62.js} +1 -1
- package/chunks/{ids-chunk-F44V3NWU.js → ids-chunk-4JIB2ATY.js} +1 -1
- package/chunks/{ids-chunk-QB2VGOQP.js → ids-chunk-4S2JX5DE.js} +1 -1
- package/chunks/ids-chunk-4YHTWO4A.js +1 -0
- package/chunks/{ids-chunk-DQKJU23J.js → ids-chunk-4ZM6SDNZ.js} +1 -1
- package/chunks/{ids-chunk-ITGBA47Q.js → ids-chunk-55OT46JK.js} +1 -1
- package/chunks/{ids-chunk-HJF6EMI3.js → ids-chunk-5HCQOHBY.js} +1 -1
- package/chunks/{ids-chunk-QIHZ36OE.js → ids-chunk-5VRTICOF.js} +1 -1
- package/chunks/{ids-chunk-BFX5CSON.js → ids-chunk-6A6ABSRU.js} +1 -1
- package/chunks/{ids-chunk-2YUAHIBZ.js → ids-chunk-6DPCF77P.js} +2 -2
- package/chunks/{ids-chunk-RQGC7ULC.js → ids-chunk-6ILEGJAK.js} +1 -1
- package/chunks/{ids-chunk-3EBNXFN5.js → ids-chunk-6JOLYUSR.js} +1 -1
- package/chunks/{ids-chunk-KMWPUSUJ.js → ids-chunk-6NI3RCBZ.js} +1 -1
- package/chunks/{ids-chunk-W4TUDJVX.js → ids-chunk-6OKI27UI.js} +1 -1
- package/chunks/{ids-chunk-GNKW2OEO.js → ids-chunk-73GS52KQ.js} +1 -1
- package/chunks/ids-chunk-7ANXCSK2.js +430 -0
- package/chunks/{ids-chunk-SW2QF5BS.js → ids-chunk-7GLAQOWS.js} +1 -1
- package/chunks/{ids-chunk-JAGHXURE.js → ids-chunk-7S7FTO65.js} +1 -1
- package/chunks/{ids-chunk-EMBVMLIZ.js → ids-chunk-7VNT5V5C.js} +1 -1
- package/chunks/{ids-chunk-YCAA4JOQ.js → ids-chunk-ACCJW3HQ.js} +1 -1
- package/chunks/{ids-chunk-4M6B32ER.js → ids-chunk-AD3PE5DU.js} +1 -1
- package/chunks/{ids-chunk-AJ3HV5IZ.js → ids-chunk-AGB2HUGZ.js} +1 -1
- package/chunks/{ids-chunk-VUFTEMEV.js → ids-chunk-AJBHUPJ2.js} +1 -1
- package/chunks/{ids-chunk-36S3VMTL.js → ids-chunk-ANNJ7M2X.js} +1 -1
- package/chunks/{ids-chunk-ZLBSGA5T.js → ids-chunk-AVSXDSYX.js} +1 -1
- package/chunks/{ids-chunk-N3I6ZKVI.js → ids-chunk-BRFCMQAU.js} +1 -1
- package/chunks/{ids-chunk-FPISYDGK.js → ids-chunk-BYRX2OPL.js} +1 -1
- package/chunks/{ids-chunk-M522TQKD.js → ids-chunk-CJCUFTPC.js} +1 -1
- package/chunks/{ids-chunk-WSICDGCD.js → ids-chunk-CSRKXNBD.js} +6 -2
- package/chunks/{ids-chunk-KNC7E3YE.js → ids-chunk-CU577SP5.js} +1 -1
- package/chunks/{ids-chunk-YUFCGHJB.js → ids-chunk-CVJ3REFB.js} +1 -1
- package/chunks/{ids-chunk-IIVOZOAH.js → ids-chunk-CW6NAGRN.js} +1 -1
- package/chunks/{ids-chunk-X5IWOZFS.js → ids-chunk-CZ7DELJ3.js} +1 -1
- package/chunks/{ids-chunk-W5VWIQN2.js → ids-chunk-D54W24PP.js} +1 -1
- package/chunks/{ids-chunk-TG3UDW3C.js → ids-chunk-DAD3MOZA.js} +5 -2
- package/chunks/{ids-chunk-CWGSJKDY.js → ids-chunk-DB2WLRTX.js} +1 -1
- package/chunks/{ids-chunk-44OMKEGA.js → ids-chunk-DGVJTR2W.js} +1 -1
- package/chunks/{ids-chunk-TEOAVMNJ.js → ids-chunk-E4DZ7QSP.js} +1 -1
- package/chunks/{ids-chunk-5TSBDXZR.js → ids-chunk-E5D2WDLT.js} +1 -1
- package/chunks/{ids-chunk-MSPA3RGS.js → ids-chunk-EG6IGW4O.js} +1 -1
- package/chunks/{ids-chunk-G4I6Z4Y7.js → ids-chunk-EGK7VSHV.js} +1 -1
- package/chunks/{ids-chunk-G2GWVR6P.js → ids-chunk-EPQL3SBL.js} +1 -1
- package/chunks/{ids-chunk-EJAWITCI.js → ids-chunk-ERZN6CNA.js} +1 -1
- package/chunks/{ids-chunk-S5ITPLRY.js → ids-chunk-EUZTBZQ6.js} +1 -1
- package/chunks/{ids-chunk-DRLAQ4VJ.js → ids-chunk-EYFRATOL.js} +1 -1
- package/chunks/{ids-chunk-OZY3W543.js → ids-chunk-EZXTANPE.js} +1 -1
- package/chunks/{ids-chunk-PBWMSP2R.js → ids-chunk-F2Y4VB7Q.js} +1 -1
- package/chunks/{ids-chunk-3BWPY45P.js → ids-chunk-F6A62FNF.js} +1 -1
- package/chunks/{ids-chunk-Z5VBMAGV.js → ids-chunk-FE2CJJTJ.js} +1 -1
- package/chunks/{ids-chunk-CJJZAAI7.js → ids-chunk-FGZF5IKP.js} +1 -1
- package/chunks/{ids-chunk-RFMGCCDZ.js → ids-chunk-FRRN4IOJ.js} +1 -1
- package/chunks/{ids-chunk-HR22PMZJ.js → ids-chunk-G5ZKJ5I5.js} +21 -1
- package/chunks/{ids-chunk-NJU624TC.js → ids-chunk-GBYYWX3C.js} +1 -1
- package/chunks/{ids-chunk-AHT3EGSV.js → ids-chunk-GEMCKB3N.js} +1 -1
- package/chunks/{ids-chunk-NN64MNKP.js → ids-chunk-GGNUQLO4.js} +1 -1
- package/chunks/{ids-chunk-2B5CKMB3.js → ids-chunk-HAKGMMF7.js} +2 -1
- package/chunks/{ids-chunk-RYQG4PKF.js → ids-chunk-HESNVQDJ.js} +1 -1
- package/chunks/{ids-chunk-U5Y3JESF.js → ids-chunk-HHPBYC7Z.js} +1 -1
- package/chunks/{ids-chunk-S526A6OD.js → ids-chunk-HLUXXWCE.js} +22 -2
- package/chunks/{ids-chunk-VNQ3PMBV.js → ids-chunk-HVBMSK5O.js} +1 -1
- package/chunks/{ids-chunk-QARE5DEF.js → ids-chunk-HWYABOA6.js} +1 -1
- package/chunks/{ids-chunk-LCINCB3V.js → ids-chunk-I4PWQAOD.js} +1 -1
- package/chunks/{ids-chunk-5DMZXGXL.js → ids-chunk-I64AK72Z.js} +1 -1
- package/chunks/{ids-chunk-R2LGZWYT.js → ids-chunk-IAJDGKIJ.js} +1 -1
- package/chunks/{ids-chunk-AMQU7JSV.js → ids-chunk-IAWUDYTM.js} +1 -1
- package/chunks/{ids-chunk-J3CMGMKL.js → ids-chunk-IBVEEXT3.js} +1 -1
- package/chunks/{ids-chunk-AQQMYB7E.js → ids-chunk-INPVTLP2.js} +1 -1
- package/chunks/{ids-chunk-X7FXKGKB.js → ids-chunk-IW2LPLVW.js} +1 -1
- package/chunks/ids-chunk-J2ZO2C5D.js +120 -0
- package/chunks/{ids-chunk-D742AJLT.js → ids-chunk-J3ORU6PU.js} +1 -1
- package/chunks/{ids-chunk-ZOUTZQVZ.js → ids-chunk-J3XVGU65.js} +1 -1
- package/chunks/{ids-chunk-CK4KIRUK.js → ids-chunk-J4PM7TNX.js} +1 -1
- package/chunks/ids-chunk-J763DNOL.js +1 -0
- package/chunks/{ids-chunk-K6YARMJI.js → ids-chunk-JA45MNIW.js} +1 -1
- package/chunks/{ids-chunk-S4IYQMPV.js → ids-chunk-JBLOGF5L.js} +2 -2
- package/chunks/{ids-chunk-GHEGWBQ5.js → ids-chunk-JJUEIUHR.js} +1 -1
- package/chunks/{ids-chunk-TAWX7YPP.js → ids-chunk-JRGGZ64V.js} +1 -1
- package/chunks/ids-chunk-JTLM24AT.js +1 -0
- package/chunks/{ids-chunk-2SCCH53E.js → ids-chunk-JUPPPODU.js} +1 -1
- package/chunks/{ids-chunk-CO5C4FPO.js → ids-chunk-K2EUHQUI.js} +1 -1
- package/chunks/{ids-chunk-QCMSIFKW.js → ids-chunk-K4WRRA3D.js} +1 -1
- package/chunks/{ids-chunk-LPGMYXT4.js → ids-chunk-K6TSSE7F.js} +1 -1
- package/chunks/{ids-chunk-BFY3DUSI.js → ids-chunk-KCQBN3DD.js} +1 -1
- package/chunks/{ids-chunk-QKKWFZ2K.js → ids-chunk-KFYF7I6D.js} +1 -1
- package/chunks/{ids-chunk-ZXJGINVY.js → ids-chunk-KND2YVPO.js} +3 -3
- package/chunks/{ids-chunk-VG43W2RX.js → ids-chunk-KQIJGLM3.js} +1 -1
- package/chunks/{ids-chunk-P5GE3IK7.js → ids-chunk-KWHOZ7IO.js} +1 -1
- package/chunks/{ids-chunk-7E3Z5CED.js → ids-chunk-KXZERHTW.js} +1 -1
- package/chunks/{ids-chunk-GZ43FOUS.js → ids-chunk-LMCIHPB5.js} +1 -1
- package/chunks/{ids-chunk-E4H4WQRA.js → ids-chunk-LYU5TYI5.js} +1 -1
- package/chunks/{ids-chunk-YU2NMYIB.js → ids-chunk-MBTINBC7.js} +1 -1
- package/chunks/{ids-chunk-KR7BCKLJ.js → ids-chunk-MLGQY3LM.js} +1 -1
- package/chunks/{ids-chunk-QI2PLCMT.js → ids-chunk-MURTNHD4.js} +1 -1
- package/chunks/{ids-chunk-SQGIZKAZ.js → ids-chunk-N4TS7RQH.js} +1 -1
- package/chunks/{ids-chunk-A5LSAPJV.js → ids-chunk-N7FGATH6.js} +4 -4
- package/chunks/{ids-chunk-ICWJOBB6.js → ids-chunk-NABL22WV.js} +1 -1
- package/chunks/{ids-chunk-HQET7SLV.js → ids-chunk-NFUBCYAR.js} +1 -1
- package/chunks/{ids-chunk-QFEVYMMF.js → ids-chunk-NJOLCZEW.js} +1 -1
- package/chunks/{ids-chunk-KKAH5G3N.js → ids-chunk-NLTFPJKD.js} +1 -1
- package/chunks/{ids-chunk-VPQTNXIL.js → ids-chunk-NQCP57JS.js} +1 -1
- package/chunks/ids-chunk-NTRC5RR6.js +85 -0
- package/chunks/{ids-chunk-3JLZ42VT.js → ids-chunk-NVXP46D3.js} +1 -1
- package/chunks/{ids-chunk-W72QU4RN.js → ids-chunk-NWZE7L7Y.js} +1 -1
- package/chunks/{ids-chunk-IMOHGYZL.js → ids-chunk-O6BR3HVF.js} +1 -1
- package/chunks/{ids-chunk-E3HN4FQ2.js → ids-chunk-O75MVPSG.js} +1 -1
- package/chunks/{ids-chunk-7DM3KWVH.js → ids-chunk-ODMIFEL6.js} +1 -1
- package/chunks/{ids-chunk-26UECSRT.js → ids-chunk-OOGHKPVO.js} +1 -1
- package/chunks/{ids-chunk-63KQK74Z.js → ids-chunk-OWDTWMZN.js} +8 -2
- package/chunks/{ids-chunk-5UNFJU77.js → ids-chunk-P22IEN7K.js} +1 -1
- package/chunks/{ids-chunk-2B2U637V.js → ids-chunk-PCBCCUJD.js} +1 -1
- package/chunks/{ids-chunk-RFPLWT7R.js → ids-chunk-PGDPTSK5.js} +1 -1
- package/chunks/{ids-chunk-H4I6I3PF.js → ids-chunk-PIP3QH5W.js} +1 -1
- package/chunks/{ids-chunk-VQFXQ4FZ.js → ids-chunk-PQ37WF5W.js} +1 -1
- package/chunks/{ids-chunk-NERCIVOZ.js → ids-chunk-Q34RMGF3.js} +1 -1
- package/chunks/{ids-chunk-LMWBBGQP.js → ids-chunk-Q4RDDUJ4.js} +1 -1
- package/chunks/{ids-chunk-MIOU7HNZ.js → ids-chunk-Q53SQSUT.js} +1 -1
- package/chunks/{ids-chunk-NH5E64CD.js → ids-chunk-QE3JJ6H6.js} +1 -1
- package/chunks/{ids-chunk-HUZ4CWZF.js → ids-chunk-QJ3XCEUY.js} +1 -1
- package/chunks/{ids-chunk-E3MFRI5A.js → ids-chunk-QOF4IG2V.js} +1 -1
- package/chunks/{ids-chunk-5YE7TGE3.js → ids-chunk-QXW6GYDU.js} +1 -1
- package/chunks/{ids-chunk-MWY4NPUR.js → ids-chunk-QY6K6TJT.js} +1 -1
- package/chunks/{ids-chunk-CVMV3LPJ.js → ids-chunk-R5YYVUTR.js} +1 -1
- package/chunks/{ids-chunk-V4OMRNZI.js → ids-chunk-REF36N7X.js} +12 -5
- package/chunks/{ids-chunk-WLS5V4SM.js → ids-chunk-RFGV7VF5.js} +1 -1
- package/chunks/{ids-chunk-DX3F6CNY.js → ids-chunk-RFRKYRBB.js} +1 -1
- package/chunks/{ids-chunk-XJIJ2YWM.js → ids-chunk-RKNZYDPX.js} +1 -1
- package/chunks/{ids-chunk-T2L645EV.js → ids-chunk-RM6KDFPQ.js} +1 -1
- package/chunks/{ids-chunk-WXSG3TJJ.js → ids-chunk-RMLFHQTY.js} +1 -1
- package/chunks/{ids-chunk-77UP5M5O.js → ids-chunk-RMRJQPNJ.js} +1 -1
- package/chunks/{ids-chunk-LCMU6UJE.js → ids-chunk-RO64SEVE.js} +1 -1
- package/chunks/{ids-chunk-WUKNLO3P.js → ids-chunk-RS6PZPXH.js} +1 -1
- package/chunks/{ids-chunk-5DTGDIAX.js → ids-chunk-RSK24V2M.js} +1 -1
- package/chunks/{ids-chunk-JO6ZOPOI.js → ids-chunk-RT4DG27E.js} +23 -3
- package/chunks/{ids-chunk-2GQ5TB6S.js → ids-chunk-RYENC4X3.js} +1 -1
- package/chunks/{ids-chunk-YOYGPS5X.js → ids-chunk-RYRCVF7S.js} +1 -1
- package/chunks/{ids-chunk-BGDUXM3H.js → ids-chunk-S2W3UJWN.js} +1 -1
- package/chunks/{ids-chunk-LQILPSIY.js → ids-chunk-S4OJMECR.js} +1 -1
- package/chunks/{ids-chunk-OX6S34AD.js → ids-chunk-SILCRK62.js} +2 -2
- package/chunks/{ids-chunk-UP67B7CA.js → ids-chunk-SM65BQFC.js} +1 -1
- package/chunks/{ids-chunk-XCNLA7ZY.js → ids-chunk-SMQQXLDE.js} +1 -1
- package/chunks/{ids-chunk-47RHTNPN.js → ids-chunk-SY5GFA62.js} +1 -1
- package/chunks/{ids-chunk-VIKCCSUU.js → ids-chunk-TMJCOYRW.js} +6 -6
- package/chunks/{ids-chunk-SW6YK4EF.js → ids-chunk-TNWXRPV5.js} +1 -1
- package/chunks/{ids-chunk-JTCN2GZM.js → ids-chunk-TRG5DZFN.js} +1 -1
- package/chunks/{ids-chunk-ZDL2DB6F.js → ids-chunk-TSR3CW57.js} +1 -1
- package/chunks/{ids-chunk-JHRH44UT.js → ids-chunk-TSY43HGA.js} +1 -1
- package/chunks/ids-chunk-U2VMF7FZ.js +86 -0
- package/chunks/{ids-chunk-C56OVDEZ.js → ids-chunk-U3IWSQKD.js} +1 -1
- package/chunks/{ids-chunk-LRUNBWS2.js → ids-chunk-U3ROCH27.js} +1 -1
- package/chunks/{ids-chunk-TM6DJ6HD.js → ids-chunk-U46TRVPP.js} +1 -1
- package/chunks/{ids-chunk-3I34BQL3.js → ids-chunk-U4EUF5NU.js} +1 -1
- package/chunks/{ids-chunk-KKVVGV74.js → ids-chunk-U62IQOQ4.js} +3 -3
- package/chunks/{ids-chunk-H7NLFFFD.js → ids-chunk-UJL24CZK.js} +1 -1
- package/chunks/{ids-chunk-VF6KBECA.js → ids-chunk-UJPTBGNT.js} +1 -1
- package/chunks/{ids-chunk-GH67EPZ6.js → ids-chunk-UNNANDUX.js} +1 -1
- package/chunks/{ids-chunk-UMXQZAXE.js → ids-chunk-UWNBHHKI.js} +3 -3
- package/chunks/{ids-chunk-C2T4KAAT.js → ids-chunk-VEDW73WX.js} +1 -1
- package/chunks/{ids-chunk-H37CPFMH.js → ids-chunk-VUUWV56H.js} +1 -1
- package/chunks/{ids-chunk-QT23ICRC.js → ids-chunk-VZW7LUTM.js} +1 -1
- package/chunks/{ids-chunk-NZBMLQCF.js → ids-chunk-W5EHA4T6.js} +1 -1
- package/chunks/{ids-chunk-JZ7YSKLI.js → ids-chunk-W5KQJOXH.js} +1 -1
- package/chunks/{ids-chunk-ZVJREVVB.js → ids-chunk-WBSPHSIV.js} +1 -1
- package/chunks/ids-chunk-WEDRKSLP.js +1 -0
- package/chunks/{ids-chunk-2MVDGLUA.js → ids-chunk-WIIHPZA7.js} +1 -1
- package/chunks/{ids-chunk-UFLI2ZRQ.js → ids-chunk-WKDYE7KU.js} +4 -4
- package/chunks/ids-chunk-XIGBOIQT.js +1 -0
- package/chunks/ids-chunk-XITIMDBF.js +191 -0
- package/chunks/{ids-chunk-2SYJ3LTC.js → ids-chunk-XIX4MQUK.js} +2 -2
- package/chunks/{ids-chunk-545U37PH.js → ids-chunk-XNY2UBZR.js} +1 -1
- package/chunks/{ids-chunk-BWCBEOIO.js → ids-chunk-XNZH7X4Y.js} +1 -1
- package/chunks/{ids-chunk-PEE4ITX4.js → ids-chunk-XQVPQDVL.js} +15 -5
- package/chunks/{ids-chunk-VGE7AYLM.js → ids-chunk-XVOYHEDO.js} +1 -1
- package/chunks/{ids-chunk-IZYJGKJ6.js → ids-chunk-YALTG2E2.js} +10 -10
- package/chunks/ids-chunk-YDB2XN3D.js +1 -0
- package/chunks/ids-chunk-YDZGLU4Q.js +3 -0
- package/chunks/{ids-chunk-43ETSZZY.js → ids-chunk-YGCQ46XT.js} +1 -1
- package/chunks/{ids-chunk-24CRXUL6.js → ids-chunk-YIDYMCGC.js} +1 -1
- package/chunks/{ids-chunk-TVH4DO5A.js → ids-chunk-YKHT43UA.js} +1 -1
- package/chunks/{ids-chunk-OT2ONYHV.js → ids-chunk-YPFDBUWL.js} +27 -1
- package/chunks/ids-chunk-YPZECHWA.js +1 -0
- package/chunks/{ids-chunk-4XPAUVKO.js → ids-chunk-YSNCZSZO.js} +1 -1
- package/chunks/{ids-chunk-JZHDXYIY.js → ids-chunk-YUDDOMRL.js} +1 -1
- package/chunks/{ids-chunk-3Y72Q5H6.js → ids-chunk-ZECIQMDG.js} +1 -1
- package/chunks/{ids-chunk-GHLO2V34.js → ids-chunk-ZJEU76CN.js} +1 -1
- package/chunks/{ids-chunk-MPJCTXAS.js → ids-chunk-ZN33MX2E.js} +1 -1
- package/chunks/{ids-chunk-SAJY5WFW.js → ids-chunk-ZSMC4C3B.js} +1 -1
- package/components/ids-about/ids-about.js +1 -1
- package/components/ids-accordion/ids-accordion-header.js +1 -1
- package/components/ids-accordion/ids-accordion-panel.js +1 -1
- package/components/ids-accordion/ids-accordion-section.js +1 -1
- package/components/ids-accordion/ids-accordion.css +145 -8
- package/components/ids-accordion/ids-accordion.js +1 -1
- package/components/ids-action-panel/ids-action-panel.js +1 -1
- package/components/ids-action-sheet/ids-action-sheet.js +1 -1
- package/components/ids-alert/ids-alert.js +1 -1
- package/components/ids-app-menu/ids-app-menu.css +12 -2
- package/components/ids-app-menu/ids-app-menu.js +1 -1
- package/components/ids-area-chart/ids-area-chart.js +1 -1
- package/components/ids-axis-chart/ids-axis-chart.js +1 -1
- package/components/ids-badge/ids-badge.js +1 -1
- package/components/ids-bar-chart/ids-bar-chart.js +1 -1
- package/components/ids-block-grid/ids-block-grid-item.js +1 -1
- package/components/ids-block-grid/ids-block-grid.js +1 -1
- package/components/ids-box/ids-box.js +1 -1
- package/components/ids-breadcrumb/ids-breadcrumb.js +1 -1
- package/components/ids-button/ids-button-common.js +1 -1
- package/components/ids-button/ids-button.css +20 -0
- package/components/ids-button/ids-button.d.ts +8 -8
- package/components/ids-button/ids-button.js +1 -1
- package/components/ids-calendar/ids-calendar-event.js +1 -1
- package/components/ids-calendar/ids-calendar.js +1 -1
- package/components/ids-card/ids-card-action.js +1 -1
- package/components/ids-card/ids-card.d.ts +8 -8
- package/components/ids-card/ids-card.js +1 -1
- package/components/ids-checkbox/ids-checkbox.css +1 -1
- package/components/ids-checkbox/ids-checkbox.js +1 -1
- package/components/ids-checkbox-group/ids-checkbox-group.js +1 -1
- package/components/ids-color/ids-color.js +1 -1
- package/components/ids-color-picker/ids-color-picker.d.ts +71 -429
- package/components/ids-color-picker/ids-color-picker.js +1 -1
- package/components/ids-container/ids-container.js +1 -1
- package/components/ids-counts/ids-counts.js +1 -1
- package/components/ids-data-grid/ids-data-grid-cell.js +1 -1
- package/components/ids-data-grid/ids-data-grid-editors.js +1 -1
- package/components/ids-data-grid/ids-data-grid-empty-message.js +1 -1
- package/components/ids-data-grid/ids-data-grid-filters.js +1 -1
- package/components/ids-data-grid/ids-data-grid-formatters.js +1 -1
- package/components/ids-data-grid/ids-data-grid-header.d.ts +1 -5
- package/components/ids-data-grid/ids-data-grid-header.js +1 -1
- package/components/ids-data-grid/ids-data-grid-row.js +1 -1
- package/components/ids-data-grid/ids-data-grid-save-settings-mixin.d.ts +15 -15
- package/components/ids-data-grid/ids-data-grid-save-settings-mixin.js +1 -1
- package/components/ids-data-grid/ids-data-grid-tooltip-mixin.d.ts +14 -14
- package/components/ids-data-grid/ids-data-grid-tooltip-mixin.js +1 -1
- package/components/ids-data-grid/ids-data-grid.css +10 -3
- package/components/ids-data-grid/ids-data-grid.d.ts +29 -29
- package/components/ids-data-grid/ids-data-grid.js +1 -1
- package/components/ids-data-label/ids-data-label.js +1 -1
- package/components/ids-date-picker/ids-date-picker-common.js +1 -1
- package/components/ids-date-picker/ids-date-picker-popup.d.ts +1 -2
- package/components/ids-date-picker/ids-date-picker-popup.js +1 -1
- package/components/ids-date-picker/ids-date-picker.css +71 -184
- package/components/ids-date-picker/ids-date-picker.d.ts +1 -0
- package/components/ids-date-picker/ids-date-picker.js +1 -1
- package/components/ids-date-picker/ids-month-year-picklist.js +1 -1
- package/components/ids-draggable/ids-draggable.js +1 -1
- package/components/ids-drawer/ids-drawer.d.ts +1 -1
- package/components/ids-drawer/ids-drawer.js +1 -1
- package/components/ids-dropdown/ids-dropdown-attributes-mixin.js +1 -1
- package/components/ids-dropdown/ids-dropdown-common.js +1 -1
- package/components/ids-dropdown/ids-dropdown-list.d.ts +8 -1
- package/components/ids-dropdown/ids-dropdown-list.js +1 -1
- package/components/ids-dropdown/ids-dropdown.css +9 -158
- package/components/ids-dropdown/ids-dropdown.d.ts +58 -62
- package/components/ids-dropdown/ids-dropdown.js +1 -1
- package/components/ids-editor/ids-editor-clean-utils.js +1 -1
- package/components/ids-editor/ids-editor-handle-paste.js +1 -1
- package/components/ids-editor/ids-editor-selection-utils.js +1 -1
- package/components/ids-editor/ids-editor-shared.js +1 -1
- package/components/ids-editor/ids-editor.js +1 -1
- package/components/ids-empty-message/ids-empty-message.js +1 -1
- package/components/ids-error-page/ids-error-page.js +1 -1
- package/components/ids-expandable-area/ids-expandable-area.js +1 -1
- package/components/ids-fieldset/ids-fieldset.js +1 -1
- package/components/ids-form/ids-form.js +1 -1
- package/components/ids-global/ids-global.js +1 -1
- package/components/ids-header/ids-header.js +1 -1
- package/components/ids-hidden/ids-hidden.js +1 -1
- package/components/ids-hierarchy/ids-hierarchy-item.js +1 -1
- package/components/ids-hierarchy/ids-hierarchy-legend-item.js +1 -1
- package/components/ids-hierarchy/ids-hierarchy-legend.js +1 -1
- package/components/ids-hierarchy/ids-hierarchy.css +18 -5
- package/components/ids-hierarchy/ids-hierarchy.js +1 -1
- package/components/ids-home-page/ids-home-page.js +1 -1
- package/components/ids-hyperlink/ids-hyperlink.js +1 -1
- package/components/ids-hyperlink/ids-link-list.js +1 -1
- package/components/ids-icon/ids-icon.js +1 -1
- package/components/ids-image/ids-image.js +1 -1
- package/components/ids-input/ids-autocomplete.js +1 -1
- package/components/ids-input/ids-input.d.ts +1 -4
- package/components/ids-input/ids-input.js +1 -1
- package/components/ids-input-group/ids-input-group.js +1 -1
- package/components/ids-layout-flex/ids-layout-flex-item.js +1 -1
- package/components/ids-layout-flex/ids-layout-flex.js +1 -1
- package/components/ids-layout-grid/ids-layout-grid-cell.js +1 -1
- package/components/ids-layout-grid/ids-layout-grid-common.js +1 -1
- package/components/ids-layout-grid/ids-layout-grid.js +1 -1
- package/components/ids-line-chart/ids-line-chart.js +1 -1
- package/components/ids-list-box/ids-list-box-option.js +1 -1
- package/components/ids-list-box/ids-list-box.js +1 -1
- package/components/ids-list-builder/ids-list-builder.js +1 -1
- package/components/ids-list-view/ids-list-view-item.js +1 -1
- package/components/ids-list-view/ids-list-view-search-mixin.d.ts +6 -6
- package/components/ids-list-view/ids-list-view-search-mixin.js +1 -1
- package/components/ids-list-view/ids-list-view.d.ts +6 -6
- package/components/ids-list-view/ids-list-view.js +1 -1
- package/components/ids-loading-indicator/ids-loading-indicator-attributes.js +1 -1
- package/components/ids-loading-indicator/ids-loading-indicator.js +1 -1
- package/components/ids-lookup/ids-lookup.js +1 -1
- package/components/ids-mask/ids-masks.js +1 -1
- package/components/ids-masthead/ids-masthead.js +1 -1
- package/components/ids-menu/ids-menu-group.js +1 -1
- package/components/ids-menu/ids-menu-header.js +1 -1
- package/components/ids-menu/ids-menu-item.js +1 -1
- package/components/ids-menu/ids-menu.css +12 -3
- package/components/ids-menu/ids-menu.js +1 -1
- package/components/ids-menu-button/ids-menu-button-attributes.js +1 -1
- package/components/ids-menu-button/ids-menu-button.js +1 -1
- package/components/ids-message/ids-message.js +1 -1
- package/components/ids-modal/ids-modal.css +84 -16
- package/components/ids-modal/ids-modal.d.ts +25 -381
- package/components/ids-modal/ids-modal.js +1 -1
- package/components/ids-modal/ids-overlay.js +1 -1
- package/components/ids-modal-button/ids-modal-button.js +1 -1
- package/components/ids-module-nav/ids-module-nav-bar.d.ts +2 -2
- package/components/ids-module-nav/ids-module-nav-bar.js +1 -1
- package/components/ids-module-nav/ids-module-nav-button.d.ts +2 -2
- package/components/ids-module-nav/ids-module-nav-button.js +1 -1
- package/components/ids-module-nav/ids-module-nav-content.d.ts +1 -1
- package/components/ids-module-nav/ids-module-nav-content.js +1 -1
- package/components/ids-module-nav/ids-module-nav-display-mode-mixin.d.ts +1 -1
- package/components/ids-module-nav/ids-module-nav-display-mode-mixin.js +1 -1
- package/components/ids-module-nav/ids-module-nav-item.d.ts +10 -10
- package/components/ids-module-nav/ids-module-nav-item.js +1 -1
- package/components/ids-module-nav/ids-module-nav-settings.d.ts +2 -2
- package/components/ids-module-nav/ids-module-nav-settings.js +1 -1
- package/components/ids-module-nav/ids-module-nav-switcher.d.ts +2 -2
- package/components/ids-module-nav/ids-module-nav-switcher.js +1 -1
- package/components/ids-module-nav/ids-module-nav-text-display-mixin.d.ts +1 -1
- package/components/ids-module-nav/ids-module-nav-text-display-mixin.js +1 -1
- package/components/ids-module-nav/ids-module-nav-user.d.ts +2 -2
- package/components/ids-module-nav/ids-module-nav-user.js +1 -1
- package/components/ids-module-nav/ids-module-nav.css +20 -180
- package/components/ids-module-nav/ids-module-nav.d.ts +9 -9
- package/components/ids-module-nav/ids-module-nav.js +1 -1
- package/components/ids-month-view/ids-month-view-attribute-mixin.js +1 -1
- package/components/ids-month-view/ids-month-view.js +1 -1
- package/components/ids-multiselect/ids-multiselect.css +5 -1
- package/components/ids-multiselect/ids-multiselect.js +1 -1
- package/components/ids-notification-banner/ids-notification-banner.js +1 -1
- package/components/ids-pager/ids-pager-button.js +1 -1
- package/components/ids-pager/ids-pager-dropdown.js +1 -1
- package/components/ids-pager/ids-pager-input.js +1 -1
- package/components/ids-pager/ids-pager-number-list.js +1 -1
- package/components/ids-pager/ids-pager.css +33 -33
- package/components/ids-pager/ids-pager.js +1 -1
- package/components/ids-pie-chart/ids-pie-chart.js +1 -1
- package/components/{ids-picker-popup → ids-popup}/ids-picker-popup-common.d.ts +1 -1
- package/components/{ids-picker-popup → ids-popup}/ids-picker-popup-common.js +1 -1
- package/components/{ids-picker-popup → ids-popup}/ids-picker-popup.d.ts +44 -413
- package/components/ids-popup/ids-picker-popup.js +1 -0
- package/components/ids-popup/ids-popup-attributes.js +1 -1
- package/components/ids-popup/ids-popup.css +4 -1
- package/components/ids-popup/ids-popup.d.ts +388 -19
- package/components/ids-popup/ids-popup.js +1 -1
- package/components/ids-popup-menu/ids-popup-menu.d.ts +33 -395
- package/components/ids-popup-menu/ids-popup-menu.js +1 -1
- package/components/ids-process-indicator/ids-process-indicator-step.js +1 -1
- package/components/ids-process-indicator/ids-process-indicator.css +81 -12
- package/components/ids-process-indicator/ids-process-indicator.js +1 -1
- package/components/ids-progress-bar/ids-progress-bar.js +1 -1
- package/components/ids-progress-chart/ids-progress-chart.js +1 -1
- package/components/ids-radio/ids-radio-group.js +1 -1
- package/components/ids-radio/ids-radio.css +73 -86
- package/components/ids-radio/ids-radio.d.ts +8 -8
- package/components/ids-radio/ids-radio.js +1 -1
- package/components/ids-rating/ids-rating.js +1 -1
- package/components/ids-scroll-view/ids-scroll-view.js +1 -1
- package/components/ids-search-field/ids-search-field.js +1 -1
- package/components/ids-separator/ids-separator.js +1 -1
- package/components/ids-skip-link/ids-skip-link.js +1 -1
- package/components/ids-slider/ids-slider.js +1 -1
- package/components/ids-spinbox/ids-spinbox.js +1 -1
- package/components/ids-splitter/ids-splitter-local-storage.js +1 -1
- package/components/ids-splitter/ids-splitter-pane.js +1 -1
- package/components/ids-splitter/ids-splitter.js +1 -1
- package/components/ids-stats/ids-stats.js +1 -1
- package/components/ids-step-chart/ids-step-chart.js +1 -1
- package/components/ids-swaplist/ids-swaplist.js +1 -1
- package/components/ids-swappable/ids-swappable-item.js +1 -1
- package/components/ids-swappable/ids-swappable.css +5 -69
- package/components/ids-swappable/ids-swappable.js +1 -1
- package/components/ids-swipe-action/ids-swipe-action.js +1 -1
- package/components/ids-switch/ids-switch.js +1 -1
- package/components/ids-tabs/ids-tab-content.js +1 -1
- package/components/ids-tabs/ids-tab-divider.js +1 -1
- package/components/ids-tabs/ids-tab-more.js +1 -1
- package/components/ids-tabs/ids-tab.d.ts +8 -8
- package/components/ids-tabs/ids-tab.js +1 -1
- package/components/ids-tabs/ids-tabs-context.js +1 -1
- package/components/ids-tabs/ids-tabs.js +1 -1
- package/components/ids-tag/ids-tag.js +1 -1
- package/components/ids-text/ids-text.d.ts +4 -0
- package/components/ids-text/ids-text.js +1 -1
- package/components/ids-textarea/ids-textarea.d.ts +1 -10
- package/components/ids-textarea/ids-textarea.js +1 -1
- package/components/ids-theme-switcher/ids-theme-switcher.js +1 -1
- package/components/ids-time-picker/ids-time-picker-common.js +1 -1
- package/components/ids-time-picker/ids-time-picker-popup.d.ts +1 -1
- package/components/ids-time-picker/ids-time-picker-popup.js +1 -1
- package/components/ids-time-picker/ids-time-picker.css +49 -40
- package/components/ids-time-picker/ids-time-picker.d.ts +0 -4
- package/components/ids-time-picker/ids-time-picker.js +1 -1
- package/components/ids-toast/ids-toast-message.js +1 -1
- package/components/ids-toast/ids-toast.css +33 -96
- package/components/ids-toast/ids-toast.js +1 -1
- package/components/ids-toggle-button/ids-toggle-button.js +1 -1
- package/components/ids-toolbar/ids-toolbar-more-actions.js +1 -1
- package/components/ids-toolbar/ids-toolbar-section.js +1 -1
- package/components/ids-toolbar/ids-toolbar.js +1 -1
- package/components/ids-tooltip/ids-tooltip.js +1 -1
- package/components/ids-tree/ids-tree-node.js +1 -1
- package/components/ids-tree/ids-tree.js +1 -1
- package/components/ids-treemap/ids-treemap.js +1 -1
- package/components/ids-trigger-field/ids-trigger-button.js +1 -1
- package/components/ids-trigger-field/ids-trigger-field.css +1001 -786
- package/components/ids-trigger-field/ids-trigger-field.js +1 -1
- package/components/ids-upload/ids-upload.js +1 -1
- package/components/ids-upload-advanced/ids-upload-advanced-file.js +1 -1
- package/components/ids-upload-advanced/ids-upload-advanced.css +105 -130
- package/components/ids-upload-advanced/ids-upload-advanced.js +1 -1
- package/components/ids-virtual-scroll/ids-virtual-scroll.js +1 -1
- package/components/ids-week-view/ids-week-view.js +1 -1
- package/components/ids-widget/ids-widget.js +1 -1
- package/components/ids-wizard/ids-wizard-step.js +1 -1
- package/components/ids-wizard/ids-wizard.js +1 -1
- package/core/ids-attributes.d.ts +5 -1
- package/core/ids-attributes.js +1 -1
- package/core/ids-element.js +1 -1
- package/custom-elements.json +8527 -8456
- package/enterprise-wc.d.ts +1 -1
- package/enterprise-wc.js +1 -1
- package/mixins/ids-attachment-mixin/ids-attachment-mixin.d.ts +1 -1
- package/mixins/ids-attachment-mixin/ids-attachment-mixin.js +1 -1
- package/mixins/ids-breakpoint-mixin/ids-breakpoint-mixin.d.ts +8 -8
- package/mixins/ids-breakpoint-mixin/ids-breakpoint-mixin.js +1 -1
- package/mixins/ids-calendar-events-mixin/ids-calendar-events-mixin.js +1 -1
- package/mixins/ids-chart-legend-mixin/ids-chart-legend-mixin.js +1 -1
- package/mixins/ids-chart-selection-mixin/ids-chart-selection-mixin.js +1 -1
- package/mixins/ids-clearable-mixin/ids-clearable-mixin.js +1 -1
- package/mixins/ids-color-variant-mixin/ids-color-variant-mixin.js +1 -1
- package/mixins/ids-date-attribute-mixin/ids-date-attribute-mixin.js +1 -1
- package/mixins/ids-dirty-tracker-mixin/ids-dirty-tracker-mixin.js +1 -1
- package/mixins/ids-field-height-mixin/ids-field-height-mixin.js +1 -1
- package/mixins/ids-focus-capture-mixin/ids-focus-capture-mixin.d.ts +10 -0
- package/mixins/ids-focus-capture-mixin/ids-focus-capture-mixin.js +1 -1
- package/mixins/ids-form-input-mixin/ids-form-input-mixin.js +1 -1
- package/mixins/ids-hide-focus-mixin/ids-hide-focus-mixin.d.ts +8 -8
- package/mixins/ids-hide-focus-mixin/ids-hide-focus-mixin.js +1 -1
- package/mixins/ids-hitbox-mixin/ids-hitbox-mixin.js +1 -1
- package/mixins/ids-label-state-mixin/ids-label-state-common.js +1 -1
- package/mixins/ids-label-state-mixin/ids-label-state-mixin.js +1 -1
- package/mixins/ids-label-state-mixin/ids-label-state-parent-mixin.js +1 -1
- package/mixins/ids-loading-indicator-mixin/ids-loading-indicator-mixin.js +1 -1
- package/mixins/ids-locale-mixin/ids-locale-mixin.js +1 -1
- package/mixins/ids-mask-mixin/ids-mask-mixin.js +1 -1
- package/mixins/ids-orientation-mixin/ids-orientation-mixin.js +1 -1
- package/mixins/ids-pager-mixin/ids-pager-mixin.js +1 -1
- package/mixins/ids-popup-interactions-mixin/ids-popup-interactions-mixin.js +1 -1
- package/mixins/ids-popup-open-events-mixin/ids-popup-open-events-mixin.d.ts +1 -1
- package/mixins/ids-popup-open-events-mixin/ids-popup-open-events-mixin.js +1 -1
- package/mixins/ids-ripple-mixin/ids-ripple-mixin.js +1 -1
- package/mixins/ids-selection-mixin/ids-selection-mixin.js +1 -1
- package/mixins/ids-tooltip-mixin/ids-tooltip-mixin.js +1 -1
- package/mixins/ids-validation-mixin/ids-validation-mixin.js +1 -1
- package/mixins/ids-xss-mixin/ids-xss-mixin.js +1 -1
- package/package.json +1 -1
- package/utils/ids-device-env-specs-utils/ids-device-env-specs-utils.js +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/chunks/ids-chunk-53T43YKS.js +0 -1
- package/chunks/ids-chunk-C2V3P7CU.js +0 -1
- package/chunks/ids-chunk-EQXBSRVZ.js +0 -427
- package/chunks/ids-chunk-H52JAL42.js +0 -1
- package/chunks/ids-chunk-J6DDVFGW.js +0 -1
- package/chunks/ids-chunk-JTUSLGKA.js +0 -1
- package/chunks/ids-chunk-KUY4SDMQ.js +0 -191
- package/chunks/ids-chunk-LJYAPM33.js +0 -85
- package/chunks/ids-chunk-NKMDGAEP.js +0 -1
- package/chunks/ids-chunk-OFD3ZHTR.js +0 -120
- package/chunks/ids-chunk-SADRME55.js +0 -1
- package/chunks/ids-chunk-WSWYP77N.js +0 -86
- package/chunks/ids-chunk-XT6TZ23K.js +0 -3
- package/chunks/ids-chunk-ZFLK2TI3.js +0 -289
- package/components/ids-modal/ids-modal-z-counter.d.ts +0 -11
- package/components/ids-picker-popup/ids-picker-popup.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as lt,b as ot}from"./ids-chunk-LVUIKMAB.js";import{a as rt}from"./ids-chunk-7IIIGYPF.js";import{a as Di}from"./ids-chunk-
|
|
1
|
+
import{a as lt,b as ot}from"./ids-chunk-LVUIKMAB.js";import{a as rt}from"./ids-chunk-7IIIGYPF.js";import{a as Di}from"./ids-chunk-TMJCOYRW.js";import{a as I}from"./ids-chunk-CJCUFTPC.js";import{a as st}from"./ids-chunk-PIP3QH5W.js";import{a as nt}from"./ids-chunk-WIIHPZA7.js";import{a as ki,b as ei}from"./ids-chunk-6356DAOY.js";import{a as Zi,d as Ji}from"./ids-chunk-BWVNBSJM.js";import{a as ji,b as Qi}from"./ids-chunk-KWUI36H2.js";import{h as it}from"./ids-chunk-6DPCF77P.js";import{a as tt,c as et,e as Ci,f as at,g as F}from"./ids-chunk-3S4IXJBT.js";import{a as dt}from"./ids-chunk-YALTG2E2.js";import{a as Ki}from"./ids-chunk-3NZO3XFN.js";import{a as $i}from"./ids-chunk-EYFRATOL.js";import{b as Ai}from"./ids-chunk-LEAYO2RU.js";import{a as Vi}from"./ids-chunk-YSNCZSZO.js";import{a as qi}from"./ids-chunk-T6ZV4PDM.js";import{a as Xi}from"./ids-chunk-CATQTJOO.js";import{a as Yi}from"./ids-chunk-F2Y4VB7Q.js";import{a as Bi,b as Fi}from"./ids-chunk-XE4WFW5M.js";import{a as Ui}from"./ids-chunk-I64AK72Z.js";import{e as h}from"./ids-chunk-5Q3WPKMB.js";import{a}from"./ids-chunk-WEDRKSLP.js";import{a as Wi,b as m,c as v,d as c,e as R,g as n}from"./ids-chunk-Y32WUP63.js";var gt=`/* Ids Data Grid Component - Filter */
|
|
2
2
|
.ids-data-grid {
|
|
3
3
|
--ids-button-formatter-color-text-default: var(--ids-data-grid-filter-icon-color);
|
|
4
4
|
--ids-button-formatter-color-background-hover: var(--ids-data-grid-filter-icon-color-background-hover);
|
|
@@ -223,7 +223,7 @@ import{a as lt,b as ot}from"./ids-chunk-LVUIKMAB.js";import{a as rt}from"./ids-c
|
|
|
223
223
|
}
|
|
224
224
|
.is-sortable .sort-indicator ids-icon:last-child {
|
|
225
225
|
position: relative;
|
|
226
|
-
top: -
|
|
226
|
+
top: -10px;
|
|
227
227
|
}
|
|
228
228
|
.is-sortable:hover {
|
|
229
229
|
cursor: pointer;
|
|
@@ -382,6 +382,9 @@ th.ids-data-grid-header-cell {
|
|
|
382
382
|
.ids-data-grid[data-row-height=xxs] .sort-indicator > ids-icon:first-child {
|
|
383
383
|
top: 3px;
|
|
384
384
|
}
|
|
385
|
+
.ids-data-grid[data-row-height=xxs] .sort-indicator ids-icon:last-child {
|
|
386
|
+
top: -11px;
|
|
387
|
+
}
|
|
385
388
|
.ids-data-grid[data-row-height=xxs] .align-right .sort-indicator {
|
|
386
389
|
margin-inline-start: 0;
|
|
387
390
|
}
|
|
@@ -639,7 +642,7 @@ tr.ids-data-grid-row {
|
|
|
639
642
|
padding-inline-end: 0;
|
|
640
643
|
}
|
|
641
644
|
.ids-data-grid-cell.is-editable .editor-cell-icon {
|
|
642
|
-
margin-inline-end:
|
|
645
|
+
margin-inline-end: 11px;
|
|
643
646
|
margin-block-start: 2px;
|
|
644
647
|
display: none;
|
|
645
648
|
}
|
|
@@ -806,6 +809,9 @@ tr.ids-data-grid-row {
|
|
|
806
809
|
[data-row-height=xxs] .ids-data-grid-cell .ids-data-grid-checkbox-container:not(.is-selection-checkbox) {
|
|
807
810
|
padding-inline: var(--ids-data-grid-padding-xxs);
|
|
808
811
|
}
|
|
812
|
+
[data-row-height=xxs] .ids-data-grid-cell.is-editable.is-editable.is-invalid ids-alert {
|
|
813
|
+
margin-inline-end: var(--ids-space-10);
|
|
814
|
+
}
|
|
809
815
|
|
|
810
816
|
[data-row-height=xs] .ids-data-grid-cell.is-dirty::before {
|
|
811
817
|
border-width: 4px;
|
|
@@ -1019,6 +1025,7 @@ td.ids-data-grid-cell {
|
|
|
1019
1025
|
:host {
|
|
1020
1026
|
--ids-data-grid-column-widths: repeat(1, minmax(110px, 1fr));
|
|
1021
1027
|
contain: content;
|
|
1028
|
+
position: relative;
|
|
1022
1029
|
}
|
|
1023
1030
|
|
|
1024
1031
|
.ids-data-grid {
|
|
@@ -1057,7 +1064,7 @@ td.ids-data-grid-cell {
|
|
|
1057
1064
|
height: 14px;
|
|
1058
1065
|
width: 14px;
|
|
1059
1066
|
left: 0;
|
|
1060
|
-
top:
|
|
1067
|
+
top: 3px;
|
|
1061
1068
|
border-color: var(--ids-data-grid-cell-checkbox-color-border);
|
|
1062
1069
|
position: relative;
|
|
1063
1070
|
left: 0;
|
|
@@ -1965,4 +1972,4 @@ table.ids-data-grid {
|
|
|
1965
1972
|
<slot name="tooltip">
|
|
1966
1973
|
<ids-tooltip id="tooltip" exportparts="tooltip-popup, tooltip-arrow"></ids-tooltip>
|
|
1967
1974
|
</slot>
|
|
1968
|
-
</div>`}collapseAll(){this.data.forEach((t,e)=>{this.updateDataset(e,{rowExpanded:!1,rowHidden:!!t.parentElement})}),this.header?.closeExpanderIcons();let i=[];this.rows.forEach(t=>{let e=t.rowIndex;i.push({row:e,data:this.data[e]}),t.doCollapse()}),this.triggerEvent("rowcollapsed",this,{bubbles:!0,detail:{elem:this,rows:i,allRows:!0}})}expandAll(){this.data.forEach((t,e)=>{this.updateDataset(e,{rowExpanded:!0,rowHidden:!1})}),this.header?.openExpanderIcons();let i=[];this.rows.forEach(t=>{let e=t.rowIndex;i.push({row:e,data:this.data[e]}),t.doExpand()}),this.triggerEvent("rowexpanded",this,{bubbles:!0,detail:{elem:this,rows:i,allRows:!0}})}toggleEmptyMessage(i){at.apply(this,[i])}applyFilter(i){this.filters?.applyFilter(i)}redrawBody(){n(this,oi,ct).call(this),this.pager?.sync?.apply(this),this.virtualScroll&&(n(this,ui,bt).call(this),this.body?.style.setProperty("transform","translateY(0px)"),n(this,D,V).call(this,this.virtualScrollSettings.ROW_HEIGHT),requestAnimationFrame(()=>n(this,O,ai).call(this)))}redraw(){if(this.columns.length===0||!this.initialized)return;n(this,Si,It).call(this);let i=Di.template(this),t=this.bodyTemplate();if(this.container&&(this.container.innerHTML=i+t),n(this,j,Li).call(this),n(this,Ei,Rt).call(this),this.header?.setHeaderCheckbox(),n(this,$,Ti).call(this),n(this,K,Mi).call(this),n(this,O,ai).call(this),this.setupTooltip(),ei.apply(this),this.virtualScroll){let e=this.virtualScrollSettings,d=this.treeGrid?this.virtualRows.length:this.data.length;n(this,_,X).call(this,0,d,e)}this.filters.attachFilterSettings(),n(this,T,q).call(this),this.toggleEmptyMessage(),this.afterRedraw()}async afterRedraw(){let i=this.rowStart||0,t=()=>{this.header?.setIsHeaderExpanderCollapsed?.(),this.container?.classList.remove("waiting-load"),this.triggerEvent("afterrendered",this,{bubbles:!0,detail:{elem:this}})};i?(await Ui.onThemeLoaded().promise,this.scrollRowIntoView(i),t()):requestAnimationFrame(()=>{this.setActiveCell(0,0,!0),t()})}bodyTemplate(){return`<div class="ids-data-grid-body" part="contents" role="rowgroup">${this.bodyInnerTemplate()}</div>`}resetCache(i){(i===0||i&&i>=1)&&delete I.rowCache[i],I.rowCache={},Ki.cellCache={}}bodyInnerTemplate(){this.resetCache();let i="",t=this.data,e=this.virtualScrollSettings;if(this.treeGrid&&this.virtualScroll){let d=this.virtualRows.slice(0,e.MAX_ROWS_IN_DOM);for(let s=0;s<d.length;s++){let r=d[s].vsRefId;i+=I.template(t[r],r,r+1,this)}return i}this.virtualScroll&&!this.treeGrid&&(t=t.slice(0,e.MAX_ROWS_IN_DOM));for(let d=0;d<t.length;d++)i+=I.template(t[d],d,d+1,this);return i}rowIsSelected(i){if(this.pagination==="server-side"){let t=this.data[i];return this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===t[this.idColumn])>-1}return!!this.data[i].rowSelected}moveColumn(i,t){if(i===-1||t===-1)return;let e=this.columnIdxById(this.visibleColumns[i].id),d=this.columnIdxById(this.visibleColumns[t].id),s=this.columns[e];this.columns.splice(e,1),this.columns.splice(d,0,s);let r=this.columns.reduce((o,g,l)=>(o[g.id]=l,o),{});this.dirtyCells.forEach(o=>{let g=o.columnId,l=this.data[o?.row],p=l.dirtyCells.findIndex(b=>b.columnId===g),u=r[g];l.dirtyCells[p].cell=u}),this.invalidCells.forEach(o=>{if(o.cell===i){let g=this.data[o?.row],l=g.invalidCells.findIndex(p=>p.cell===i);g.invalidCells[l].cell=t}}),et.apply(this),this.redraw(),this.triggerEvent("columnmoved",this,{detail:{elem:this,fromIndex:e,toIndex:d}}),this.sortColumn&&this.header?.setSortState(this.sortColumn.id,this.sortColumn.ascending),this.saveSettings?.()}setColumnWidth(i,t){let e=this.columnIdxById(i),d=this.columnDataById(i),s=d.minWidth||12,r=d.maxWidth||Number.MAX_SAFE_INTEGER;this.columns[e]&&t>=s&&t<=r&&(this.columns[e].width=t,n(this,j,Li).call(this),n(this,Q,Ni).call(this)),this.triggerEvent("columnresized",this,{detail:{index:e,column:d,columns:this.columns}}),this.saveSettings?.()}setColumnVisible(i,t){this.columnDataById(i).hidden=!t,this.redraw()}setSortColumn(i,t=!0){let e=this.columnDataById(i),d=e?.field!==e?.id?e?.field:e?.id;this.sortColumn={id:i,ascending:t},this.datasource.sort(d||"",t),this.redrawBody(),this.header?.setSortState(i,t),this.triggerEvent("sorted",this,{detail:{elem:this,sortColumn:this.sortColumn}}),this.saveSettings?.()}setSortState(i,t=!0){this.header?.setSortState(i,t)}columnGroupDataById(i){return this.columnGroups?.filter(t=>t.id===i)[0]}columnGroupIdxById(i){return this.columnGroups?.findIndex(t=>t.id===i)}columnDataById(i){return this.columns?.filter(t=>t.id===i)[0]}columnIdxById(i){return this.columns?.findIndex(t=>t.id===i)}get visibleColumns(){return this.columns?.filter(i=>!i.hidden)}get rightFrozenColumns(){return this.columns?.filter(i=>!i.hidden&&i.frozen==="right")}get leftFrozenColumns(){return this.columns?.filter(i=>!i.hidden&&i.frozen==="left")}get hasFrozenColumns(){return this.leftFrozenColumns.length>0||this.rightFrozenColumns.length>0}columnDataByHeaderElem(i){let t=i?.getAttribute("column-id");return this.columnDataById(t||"")}set showHeaderExpander(i){h(i)?this.setAttribute(a.SHOW_HEADER_EXPANDER,""):this.removeAttribute(a.SHOW_HEADER_EXPANDER)}get showHeaderExpander(){return this.hasAttribute(a.SHOW_HEADER_EXPANDER)}set alternateRowShading(i){if(h(i)){this.setAttribute(a.ALTERNATE_ROW_SHADING,"true"),this.shadowRoot?.querySelector(".ids-data-grid")?.classList.add("alt-row-shading");return}this.shadowRoot?.querySelector(".ids-data-grid")?.classList.remove("alt-row-shading"),this.setAttribute(a.ALTERNATE_ROW_SHADING,"false")}get alternateRowShading(){return h(this.getAttribute(a.ALTERNATE_ROW_SHADING))||!1}set columns(i){this.resetCache(),this.currentColumns=i||[{id:"",name:""}],this.redraw()}get columns(){return this.currentColumns||[{id:"",name:"",field:""}]}set columnGroups(i){this.state.columnsGroups=i,this.redraw()}get columnGroups(){return this.state?.columnsGroups||null}appendData(i){i?.length&&(this.virtualScroll?(this.datasource.data=this.datasource.originalData.concat(i),this.header.resetSortStates(),this.resetCache(),this.treeGrid?n(this,S,A).call(this,Math.floor(this.container.scrollTop/this.virtualScrollSettings.ROW_HEIGHT)):n(this,pi,mt).call(this)):this.data=this.data.concat(i))}set data(i){i?(Ci.apply(this),this.datasource||(this.datasource=new Ai),this.datasource.flatten=this.treeGrid,this.datasource.data=i,this.initialized=!0,this.pagination==="server-side"&&this.syncServerSelections(),this.redraw()):this.datasource.data=[]}get data(){return this?.datasource?.data}set emptyMessageDescription(i){typeof i=="string"&&i!==""?this.setAttribute(a.EMPTY_MESSAGE_DESCRIPTION,i):this.removeAttribute(a.EMPTY_MESSAGE_DESCRIPTION),F.apply(this)}get emptyMessageDescription(){return this.getAttribute(a.EMPTY_MESSAGE_DESCRIPTION)}set emptyMessageIcon(i){typeof i=="string"&&i!==""?this.setAttribute(a.EMPTY_MESSAGE_ICON,i):this.removeAttribute(a.EMPTY_MESSAGE_ICON),F.apply(this)}get emptyMessageIcon(){return this.getAttribute(a.EMPTY_MESSAGE_ICON)}set emptyMessageLabel(i){typeof i=="string"&&i!==""?this.setAttribute(a.EMPTY_MESSAGE_LABEL,i):this.removeAttribute(a.EMPTY_MESSAGE_LABEL),F.apply(this)}get emptyMessageLabel(){return this.getAttribute(a.EMPTY_MESSAGE_LABEL)}set headerMenuId(i){if(i){this.setAttribute(a.HEADER_MENU_ID,i);return}this.removeAttribute(a.HEADER_MENU_ID)}get headerMenuId(){return this.getAttribute(a.HEADER_MENU_ID)}set headerMenuData(i){if(this?.header?.state&&(this.header.state.headerMenuData=i),!this.isDynamicContextmenu){let t=ki.apply(this,[!0]);t&&(t.data=i),ei.apply(this)}this.isDynamicContextmenu=!1}get headerMenuData(){return this?.header?.state?.headerMenuData}set menuId(i){if(i){this.setAttribute(a.MENU_ID,i);return}this.removeAttribute(a.MENU_ID)}get menuId(){return this.getAttribute(a.MENU_ID)}set menuData(i){if(this.state.menuData=i,!this.isDynamicContextmenu){let t=ki.apply(this);t&&(t.data=i),ei.apply(this)}this.isDynamicContextmenu=!1}get menuData(){return this?.state?.menuData}set virtualScroll(i){h(i)?this.setAttribute(a.VIRTUAL_SCROLL,"true"):this.removeAttribute(a.VIRTUAL_SCROLL),this.redraw()}get virtualScroll(){return h(this.getAttribute(a.VIRTUAL_SCROLL))}get virtualScrollSettings(){let i=!!this.virtualScroll,t=this.rowPixelHeight||50,e=v(this,C),d=Math.ceil(e*.25);return{ENABLED:i,ROW_HEIGHT:t,MAX_ROWS_IN_DOM:e,BUFFER_ROWS:d}}set scrollMaxRows(i){let t=v(this,C),e=Number(i);if(R(this,C,Number.isNaN(e)?t:e),!this.virtualScroll||t===e)return;let d=Math.floor(this.container.scrollTop/this.virtualScrollSettings.ROW_HEIGHT);this.treeGrid?n(this,S,A).call(this,d):n(this,W,ni).call(this,d)}get scrollMaxRows(){return v(this,C)}scrollRowIntoView(i){if(this.treeGrid&&this.virtualScroll){n(this,mi,ft).call(this,i);return}n(this,z,si).call(this,i)}set label(i){if(i){this.setAttribute(a.LABEL,i),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("aria-label",i);return}this.removeAttribute(a.LABEL),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("aria-label","Data Grid")}get label(){return this.getAttribute(a.LABEL)||"Data Grid"}set rowHeight(i){i?(this.setAttribute(a.ROW_HEIGHT,i),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("data-row-height",i)):(this.removeAttribute(a.ROW_HEIGHT),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("data-row-height","lg")),this.saveSettings?.()}get rowHeight(){return this.getAttribute(a.ROW_HEIGHT)||"lg"}set rowStart(i){this.setAttribute(a.ROW_START,String(i||0))}get rowStart(){return Number(this.getAttribute(a.ROW_START))||0}set rowNavigation(i){h(i)?(this.setAttribute(a.ROW_NAVIGATION,""),this.container?.classList.add("row-navigation")):(this.removeAttribute(a.ROW_NAVIGATION),this.container?.classList.remove("row-navigation"))}get rowNavigation(){return this.hasAttribute(a.ROW_NAVIGATION)}set listStyle(i){h(i)?(this.setAttribute(a.LIST_STYLE,String(i)),this.shadowRoot?.querySelector(".ids-data-grid")?.classList.add("is-list-style")):(this.removeAttribute(a.LIST_STYLE),this.shadowRoot?.querySelector(".ids-data-grid")?.classList.remove("is-list-style"))}get listStyle(){return h(this.getAttribute(a.LIST_STYLE))||!1}set rowSelection(i){h(i)?this.setAttribute(a.ROW_SELECTION,String(i)):this.removeAttribute(a.ROW_SELECTION)}get rowSelection(){return this.getAttribute(a.ROW_SELECTION)||!1}set suppressEmptyMessage(i){h(i)?this.setAttribute(a.SUPPRESS_EMPTY_MESSAGE,""):this.removeAttribute(a.SUPPRESS_EMPTY_MESSAGE),F.apply(this)}get suppressEmptyMessage(){return this.hasAttribute(a.SUPPRESS_EMPTY_MESSAGE)}set suppressRowClickSelection(i){h(i)?this.setAttribute(a.SUPPRESS_ROW_CLICK_SELECTION,i.toString()):this.removeAttribute(a.SUPPRESS_ROW_CLICK_SELECTION)}get suppressRowClickSelection(){return this.getAttribute(a.SUPPRESS_ROW_CLICK_SELECTION)||!1}set suppressRowDeselection(i){h(i)?this.setAttribute(a.SUPPRESS_ROW_DESELECTION,String(i)):this.removeAttribute(a.SUPPRESS_ROW_DESELECTION)}get suppressRowDeselection(){return this.getAttribute(a.SUPPRESS_ROW_DESELECTION)||!1}set suppressRowDeactivation(i){h(i)?this.setAttribute(a.SUPPRESS_ROW_DEACTIVATION,String(i)):this.removeAttribute(a.SUPPRESS_ROW_DEACTIVATION)}get suppressRowDeactivation(){return this.getAttribute(a.SUPPRESS_ROW_DEACTIVATION)||!1}get selectedRows(){return this.data.flatMap((i,t)=>i.rowSelected?{index:Number(t),data:i}:[])}get selectedRowsAcrossPages(){return this.pager?this.pagination==="server-side"?this.serverSideSelections:this.datasource.currentData.flatMap((i,t)=>i.rowSelected?{index:Number(t),data:i}:[]):this.selectedRows}get activatedRow(){return this.data.flatMap((i,t)=>i.rowActivated?{index:Number(t),data:i}:[])[0]||{}}updateDataset(i,t,e){if(t[this.idColumn]||(t[this.idColumn]=this.data[i][this.idColumn]),e?this.data[i]=t:this.data[i]={...this.data[i],...t},this.treeGrid){if(this.data[i].ariaLevel===1){this.datasource.update([t],!!e);return}let d=n(this,B,li).call(this,this.datasource.originalData,this.data[i].parentElement??"");if(d){let s={...d.children[this.data[i][this.idColumn]],...t};this.datasource.update([s],!!e)}return}this.datasource.update([t],!!e)}updateDatasetAndRefresh(i,t,e){this.updateDataset(i,t,e),this.rowByIndex(i)?.refreshRow()}rowByIndex(i){let t=this.data.length-1;return i=Math.max(i,0),i=Math.min(i,t),this.shadowRoot?.querySelector(`.ids-data-grid-body ids-data-grid-row[row-index="${i}"]`)}commitCellEdit(){this.activeCellEditor?.endCellEdit()}cancelCellEdit(){this.activeCellEditor?.cancelCellEdit()}addRow(i,t){i&&Ci.apply(this);let e=t??this.datasource.originalData.length;this.datasource.create([i],e),this.datasource.refreshPreviousState(),this.redrawBody(),n(this,T,q).call(this),this.syncPagerAfterDatasetChange()}addRows(i=[],t){let e=t??this.datasource.originalData.length;this.datasource.create(i,e),this.datasource.refreshPreviousState(),this.redrawBody(),n(this,T,q).call(this),this.syncPagerAfterDatasetChange()}removeRow(i){let t=this.data[i];t[this.idColumn]||(t[this.idColumn]=this.data[i][this.idColumn]),this.datasource.delete([t]),this.datasource.refreshPreviousState(),this.redrawBody(),n(this,T,q).call(this),this.syncPagerAfterDatasetChange()}clearRow(i){this.updateDataset(i,{},!0),this.redrawBody()}syncPagerAfterDatasetChange(){this.pager&&(this.pageTotal=this.datasource.total,this.pageNumber!==this.datasource.pageNumber&&(this.pageNumber=this.datasource.pageNumber))}get isEditable(){return this.columns?.some(i=>!!i?.editor)}editFirstCell(){this.isEditable&&this.cellLastActive?.cellRightEditable?.startCellEdit()}selectRow(i,t=!0){let e=this.rowByIndex(i);if(this.virtualScroll&&!e&&this.data[i]){this.rowSelection==="single"&&this.deSelectAllRows(),this.updateDataset(i,{rowSelected:!0});return}if(!e||e.selected)return;let d=!0,s=r=>{d=!!r};if(this.triggerEvent("beforerowselected",this,{detail:{elem:this,row:e,data:this.data[i],response:s}}),!!d){if(this.rowSelection==="multiple"||this.rowSelection==="mixed"){let r=e?.querySelector(".is-selection-checkbox .ids-data-grid-checkbox");r?.classList.add("checked"),r?.setAttribute("aria-checked","true")}if(this.rowSelection==="single"){this.deSelectAllRows();let r=e?.querySelector(".ids-data-grid-radio");r?.classList.add("checked"),r?.setAttribute("aria-checked","true")}this.updateDataset(i,{rowSelected:!0}),this.selectServerSide(i),e.selected=!0,(this.rowSelection==="single"||this.rowSelection==="multiple")&&e&&e.updateCells(i),t&&this.triggerEvent("rowselected",this,{detail:{elem:this,row:e,data:this.data[i]}}),this.groupSelectsChildren&&e?.toggleChildRowSelection(!0),this.header?.setHeaderCheckbox()}}selectServerSide(i){if(this.pagination!=="server-side")return;let t=this.data[i];this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===t[this.idColumn])===-1&&this.serverSideSelections.push({index:i,data:t})}syncServerSelections(){this.data.forEach((i,t)=>{this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===i[this.idColumn])>-1&&(this.data[t].rowSelected=!0)})}deSelectRow(i,t=!0){let e=this.rowByIndex(i);if(this.virtualScroll&&!e&&this.data[i]){this.updateDataset(i,{rowSelected:!1});return}if(!e)return;let d=!0,s=r=>{d=!!r};if(this.triggerEvent("beforerowdeselected",this,{detail:{elem:this,row:e,data:this.data[i],response:s}}),!!d){if(this.rowSelection==="mixed"&&e.classList.remove("mixed"),e.classList.remove("selected"),e.removeAttribute("aria-selected"),this.rowSelection==="multiple"||this.rowSelection==="mixed"){let r=e.querySelector(".is-selection-checkbox .ids-data-grid-checkbox");r?.classList.remove("checked"),r?.setAttribute("aria-checked","false")}if(this.rowSelection==="single"){let r=e.querySelector(".ids-data-grid-radio");r?.classList.remove("checked"),r?.setAttribute("aria-checked","false")}this.updateDataset(i,{rowSelected:!1}),this.deselectServerSide(i),t&&this.triggerEvent("rowdeselected",this,{detail:{elem:this,row:e,data:this.data[i]}}),e.updateCells(i),this.groupSelectsChildren&&e.toggleChildRowSelection(!1),this.header?.setHeaderCheckbox()}}deselectServerSide(i){if(this.pagination!=="server-side")return;let t=this.data[i],e=this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===t[this.idColumn]);e>-1&&this.serverSideSelections.splice(e,1)}activateRow(i){let t=i;typeof i=="number"&&(t=this.rowByIndex(i)),!(!t||this.rowSelection!=="mixed")&&(t.classList.add("activated"),this.updateDataset(Number(t?.getAttribute("data-index")),{rowActivated:!0}),t?.updateCells(i),this.triggerEvent("rowactivated",this,{detail:{elem:this,row:t,data:this.data[i],index:i}}))}deactivateRow(i){if(typeof i>"u"||i===null)return;let t=i;typeof i=="number"&&(t=this.rowByIndex(i)),!(!t||this.rowSelection!=="mixed")&&(t.classList.remove("activated"),this.updateDataset(Number(t?.getAttribute("data-index")),{rowActivated:void 0}),t.updateCells(i),this.triggerEvent("rowdeactivated",this,{detail:{elem:this,row:t,data:this.data[i],index:i}}))}selectAllRows(){this.data?.forEach((i,t)=>{this.selectRow(t),i.rowSelected=!0}),this.triggerEvent("selectionchanged",this,{detail:{elem:this,selectedRows:this.selectedRows}}),this.header?.setHeaderCheckbox()}deSelectAllRows(){this.data?.forEach((i,t)=>{i.rowSelected&&(this.deSelectRow(t),i.rowSelected=!1)}),this.rowSelection!=="single"&&this.triggerEvent("selectionchanged",this,{detail:{elem:this,selectedRows:this.selectedRows}}),this.header?.setHeaderCheckbox()}get rowCount(){return this.data.length}get rowPixelHeight(){return{xxs:25,xs:30,sm:35,md:40,lg:50}[this.rowHeight]+1}set autoFit(i){if(h(i)){this.setAttribute(a.AUTO_FIT,String(i));return}this.removeAttribute(a.AUTO_FIT)}get autoFit(){return h(this.getAttribute(a.AUTO_FIT))}set suppressCaching(i){if(h(i)){this.setAttribute(a.SUPPRESS_CACHING,String(i));return}this.removeAttribute(a.SUPPRESS_CACHING)}get suppressCaching(){return h(this.getAttribute(a.SUPPRESS_CACHING))||!1}setActiveCell(i,t,e){if(t<0||i<0||t>this.data.length-1||i>this.visibleColumns.length-1||Number.isNaN(t)||Number.isNaN(t))return this.activeCell;this.activeCell||(this.activeCell={}),this.activeCell.cell=Number(i),this.activeCell.row=Number(t);let d=this.rowByIndex(t);!d&&this.virtualScroll&&(n(this,z,si).call(this,t),d=this.rowByIndex(t));let s=d?.querySelectorAll("ids-data-grid-cell");return s&&s.length>0&&s[i].activate(!!e),this.activeCell}set disableClientFilter(i){h(i)?this.setAttribute(a.DISABLE_CLIENT_FILTER,""):this.removeAttribute(a.DISABLE_CLIENT_FILTER)}get disableClientFilter(){let i=this.getAttribute(a.DISABLE_CLIENT_FILTER);return i!==null?h(i):this.filters.DEFAULTS.disableClientFilter}set filterable(i){let t=this.filterable!==h(i);typeof i<"u"&&i!==null?this.setAttribute(a.FILTERABLE,String(i)):this.removeAttribute(a.FILTERABLE),t&&this.header?.setFilterRow()}get filterable(){let i=this.getAttribute(a.FILTERABLE);return i!==null?h(i):this.filters.DEFAULTS.filterable}set filterRowDisabled(i){let t=this.filterRowDisabled!==h(i);typeof i<"u"&&i!==null?this.setAttribute(a.FILTER_ROW_DISABLED,String(i)):this.removeAttribute(a.FILTER_ROW_DISABLED),t&&this.filters?.setFilterRowDisabled()}get filterRowDisabled(){let i=this.getAttribute(a.FILTER_ROW_DISABLED);return i!==null?h(i):this.filters.DEFAULTS.filterRowDisabled}set filterWhenTyping(i){let t=this.filterWhenTyping!==h(i);typeof i<"u"&&i!==null?this.setAttribute(a.FILTER_WHEN_TYPING,String(i)):this.removeAttribute(a.FILTER_WHEN_TYPING),t&&this.filters?.setFilterWhenTyping()}get filterWhenTyping(){let i=this.getAttribute(a.FILTER_WHEN_TYPING);return i!==null?h(i):this.filters.DEFAULTS.filterWhenTyping}set treeGrid(i){h(i)?this.setAttribute(a.TREE_GRID,i.toString()):this.removeAttribute(a.TREE_GRID)}get treeGrid(){return this.hasAttribute(a.TREE_GRID)}set groupSelectsChildren(i){i=h(i),i?this.setAttribute(a.GROUP_SELECTS_CHILDREN,i.toString()):this.removeAttribute(a.GROUP_SELECTS_CHILDREN)}get groupSelectsChildren(){return h(this.getAttribute(a.GROUP_SELECTS_CHILDREN))||!1}set idColumn(i){i?(this.setAttribute(a.ID_COLUMN,i.toString()),this.datasource.primaryKey=i):(this.removeAttribute(a.ID_COLUMN),this.datasource.primaryKey=this.idColumn)}get idColumn(){return this.getAttribute(a.ID_COLUMN)||"id"}set expandableRow(i){i?this.setAttribute(a.EXPANDABLE_ROW,i.toString()):this.removeAttribute(a.EXPANDABLE_ROW)}get expandableRow(){return this.getAttribute(a.EXPANDABLE_ROW)||!1}set expandableRowTemplate(i){i?this.setAttribute(a.EXPANDABLE_ROW_TEMPLATE,i.toString()):this.removeAttribute(a.EXPANDABLE_ROW_TEMPLATE)}get expandableRowTemplate(){return this.getAttribute(a.EXPANDABLE_ROW_TEMPLATE)||""}set uniqueId(i){let t=/number|string/g.test(typeof i)?`${i}`:null;typeof t=="string"&&t!==""?this.setAttribute(a.UNIQUE_ID,t):this.removeAttribute(a.UNIQUE_ID)}get uniqueId(){return this.getAttribute(a.UNIQUE_ID)}set editable(i){i=h(i),i?this.setAttribute(a.EDITABLE,i.toString()):this.removeAttribute(a.EDITABLE)}get editable(){return h(this.getAttribute(a.EDITABLE))}set editNextOnEnterPress(i){i=h(i),i?this.setAttribute(a.EDIT_NEXT_ON_ENTER_PRESS,i.toString()):this.removeAttribute(a.EDIT_NEXT_ON_ENTER_PRESS)}get editNextOnEnterPress(){return h(this.getAttribute(a.EDIT_NEXT_ON_ENTER_PRESS))}set addNewAtEnd(i){h(i)?this.setAttribute(a.ADD_NEW_AT_END,"true"):this.removeAttribute(a.ADD_NEW_AT_END)}get addNewAtEnd(){return h(this.getAttribute(a.ADD_NEW_AT_END))}get invalidCells(){let i=[];for(let t=0;t<this.data.length;t++)this.data[t]?.invalidCells&&(this.data[t].invalidCells?.forEach(e=>{e.row=t}),i.push(...this.data[t].invalidCells));return i}get dirtyCells(){let i=[];for(let t=0;t<this.data.length;t++)this.data[t]?.dirtyCells&&(this.data[t].dirtyCells?.forEach(e=>{e.row=t}),i.push(...this.data[t].dirtyCells));return i}resetDirtyCells(){this.data.forEach(i=>{i?.dirtyCells&&delete i.dirtyCells}),this.container?.querySelectorAll("ids-data-grid-cell.is-dirty").forEach(i=>{i.classList.remove("is-dirty")})}exportToExcel(i,t,e=!0){let d={},s={};i=i==="csv"||i==="xlsx"?i:"xlsx",e=i==="csv"?!0:e,this.columns.forEach(l=>{l.id&&l.field&&l.name&&(s[l.id]=l,d[l.id]={id:l.id,field:l.field,name:l.name,type:e?"string":this.determineColType(l)})});let r=document.createElement("span"),o=e?this.datasource.data.map((l,p)=>{let u={};return Object.keys(d).forEach(b=>{let f=s[b],x=f?.formatter,M=x===this.formatters.decimal||x===this.formatters.integer,y=l[d[b].field],w=y;if(y!=null&&!M&&x){let L=x.call(this.formatters,l,f,p,this);r.innerHTML=L,w=r.textContent?.trim()}u[b]=w}),u}):this.datasource.data;(i==="csv"?lt:ot)(o,{filename:t||"data-grid",columns:Object.values(d)})}determineColType(i){let t="string";return(i.formatter===this.formatters.integer||i.formatter===this.formatters.decimal)&&(t="number"),i.formatter===this.formatters.date&&(t="date"),i.formatter===this.formatters.time&&(t="time"),t}cellByIndex(i,t){return this.rowByIndex(i)?.cellByIndex?.(t)??null}activeCellCanClose(){return!(this.activeCellEditor?.isEditing||this.activeCellEditor?.editor?.popup?.visible||this.activeCellEditor?.column?.editor?.inline)}onPagingReload(){this.pagination!=="server-side"&&this.redrawBody()}};oi=new WeakSet,ct=function(){this.columns.length===0&&this.data.length===0||!this.initialized||(this.body&&(this.body.innerHTML=this.bodyInnerTemplate()),n(this,gi,ht).call(this),this.header?.setHeaderCheckbox())},E=new WeakMap,k=new WeakMap,gi=new WeakSet,ht=function(){R(this,E,null)},Y=new WeakSet,_i=function(){R(this,k,null)},ci=new WeakSet,pt=function(i){if(v(this,E)===null)return;let t=Math.min(i,v(this,E)),e=Math.max(i,v(this,E)),d=this.rowIsSelected(i);for(let s=t;s<=e;s++)d?this.deSelectRow(s):this.selectRow(s);n(this,hi,ut).call(this)?.removeAllRanges?.(),this.header?.setHeaderCheckbox(),this.triggerEvent("selectionchanged",this,{detail:{elem:this,selectedRows:this.selectedRows}})},hi=new WeakSet,ut=function(){return this.shadowRoot?.getSelection?this.shadowRoot?.getSelection():document.getSelection()},$=new WeakSet,Ti=function(){let i=this.body;this.offEvent("click.body",i),this.onEvent("click.body",i,t=>{let e=t.target.closest("ids-data-grid-cell");if(!e||e.isEditing)return;let d=Number(e.getAttribute("aria-colindex"))-1,s=e.parentNode;if(s.disabled)return;let r=s.rowIndex;t.shiftKey||n(this,Y,_i).call(this);let o=t.target?.nodeName==="IDS-HYPERLINK"||t.target?.nodeName==="A",g=t.target?.nodeName==="IDS-BUTTON",l=g&&t.target?.classList.contains("expand-button"),p=g||o,u=this.visibleColumns[d];this.setActiveCell(d,r,o),p&&u.click!==void 0&&!t.target?.getAttribute("disabled")&&u.click(this.data[r],this.visibleColumns[d],t),this.triggerEvent("rowclick",this,{detail:{elem:this,row:s,data:this.data[r]}});let b=()=>{["multiple","mixed"].includes(String(this.rowSelection))?(t.shiftKey&&v(this,E)!==null?n(this,ci,pt).call(this,r):s.toggleSelection(),R(this,E,r)):s.toggleSelection()};if(p&&l){s.toggleExpandCollapse();return}if(this.rowSelection==="mixed"){e.children[0]?.classList.contains("ids-data-grid-checkbox-container")?b():s.toggleRowActivation();return}this.rowSelection!==!1&&this.rowSelection!=="mixed"&&(!this.suppressRowClickSelection||this.suppressRowClickSelection&&e.children[0]?.classList.contains("is-selection-checkbox"))&&b(),this.editable&&u.editor&&e.startCellEdit(t)}),this.offEvent("dblclick.container",this.container),this.onEvent("dblclick.container",this.container,t=>{this.triggerEvent("dblclick",this,{bubbles:!0,detail:{...Ji.apply(this,[t]),originalEvent:t}})}),this.filters?.attachFilterEventHandlers(),this.attachSaveSettingsEventHandlers?.()},K=new WeakSet,Mi=function(){return this.listen(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"],this,i=>{let t=Qi(ji(i),".ids-data-grid-header-cell-filter-wrapper"),e=i.key;if(i.shiftKey||n(this,Y,_i).call(this),t||this.openMenu)return;let d=this.cellLastActive;if(d?.isEditing)return;i.preventDefault(),i.stopPropagation();let s=Number(d?.rowIndex||0);e==="ArrowUp"?d=d?.cellAbove??null:e==="ArrowDown"?d=d?.cellBelow??null:e==="ArrowLeft"?d=d?.cellLeft??null:e==="ArrowRight"&&(d=d?.cellRight??null);let r=d?.rowIndex||0;d?.focus?.();let o=e==="ArrowDown"||e==="ArrowUp";if((this.rowSelection==="mixed"||this.rowSelection==="multiple")&&o&&i.shiftKey){v(this,k)??R(this,k,s);let g=Math.min(r,v(this,k)),l=Math.max(r,v(this,k));if(Number.isNaN(g)||Number.isNaN(l))return;(s<g||s>l)&&this.deSelectRow(s);for(let p=g;p<=l;p++)this.selectRow(p)}this.rowSelection==="mixed"&&this.rowNavigation&&(d?.parentElement).toggleRowActivation()}),this.listen([" ","Space"],this,i=>{if(this.openMenu||this.activeCellEditor||!this.activeCell?.node||!this.activeCellCanClose())return;let t=this.rowByIndex(this.activeCell.row);if(!t||t.disabled)return;let e=this.activeCell.node.querySelector("ids-button");if(e){e.click(),i.preventDefault();return}let d=this.activeCell.node.children[0];if(d?.classList.contains("ids-data-grid-checkbox-container")&&!d?.classList.contains("is-selection-checkbox")){this.activeCell.node.click(),i.preventDefault();return}t.toggleSelection(),i.preventDefault()}),this.listen(["Enter"],this,i=>{let t=this.cellLastActive;if(!t?.isEditing){t?.startCellEdit();return}let e=i.shiftKey?t?.cellAbove:t?.cellBelow;this.editNextOnEnterPress&&e?.startCellEdit(),e?.isEditing||e?.focus?.()}),this.listen(["F2"],this,()=>{let i=this.activeCell.node;this.activeCellEditor&&(i.endCellEdit(),i.focus())}),this.listen(["Escape"],this,()=>{if(this.openMenu)return;let i=this.activeCell.node;if(this.activeCellEditor){if(!this.activeCellCanClose())return;i.cancelCellEdit(),i.focus()}}),this.listen(["Tab"],this,i=>{if(!this.isEditable)return;i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault();let t=i.shiftKey?this.cellLastActive?.cellLeftEditable:this.cellLastActive?.cellRightEditable;this.editNextOnEnterPress&&t?.startCellEdit?.(),t?.isEditing||t?.focus?.()}),this.offEvent("keydown.body",this.header),this.onEvent("keydown.body",this.header,()=>{this.activeCell={}}),this.offEvent("keydown.body",this),this.onEvent("keydown.body",this,i=>{let t=i.key.length===1;!this.activeCellEditor&&t&&i.key!==" "&&this.activeCell?.node?.startCellEdit?.()}),this},j=new WeakSet,Li=function(){let i="",t=this.visibleColumns.length;this.visibleColumns.forEach((e,d)=>{(e.id==="selectionCheckbox"||e.id==="selectionRadio")&&!e.width&&(e.width=45),e.width&&typeof e.width=="string"&&e.width.indexOf("%")>-1&&(i+=`minmax(${e.width}, 1fr) `),e.width&&typeof e.width=="string"&&e.width.indexOf("%")===-1&&(i+=`${e.width} `),e.width&&typeof e.width=="number"&&(i+=`${e.width}px `),e.width||(i+="minmax(110px, 1fr) "),e?.frozen&&d>0&&d<t-1&&this.container?.style.setProperty(`--ids-data-grid-frozen-column-left-width-${d+1}`,`${this.visibleColumns[d-1].width}px`)}),this.container?.style.setProperty("--ids-data-grid-column-widths",i),n(this,Q,Ni).call(this)},Q=new WeakSet,Ni=function(){if(this.columnGroups){let i=1,t=this.container?.querySelector(".ids-data-grid-column-groups")?.childNodes;this.columnGroups.forEach((e,d)=>{let s=e.colspan;for(let r=1;r<=s;r++)this.columns[i]?.hidden&&(s-=1),i++;t?.item(d)?.style.setProperty("grid-column-start",`span ${s}`)})}},pi=new WeakSet,mt=function(){if(!this.virtualScroll)return;let i=this.data,t=this.rows;if(!i.length||!t.length)return;let{MAX_ROWS_IN_DOM:e,ROW_HEIGHT:d}=this.virtualScrollSettings,s=Math.min(i.length,e)-t.length,r=[],g=t[t.length-1]?.rowIndex||0;for(;r.length<s;){let l=g+r.length+1;if(i[l]){let u=I.template(i[l],l,l+1,this);r.push(u)}}r.length&&this.body&&(this.body.innerHTML+=r.join("")),r.length===0&&i.length-1>g&&n(this,D,V).call(this,d)},C=new WeakMap,O=new WeakSet,ai=function(){let i=this.virtualScrollSettings;this.offEvent("scroll.data-grid",this.container),this.onEvent("scroll.data-grid",this.container,()=>{let t=this.container.scrollTop,e=i.ROW_HEIGHT,d=Math.floor(t/e),s=this.rows,r=d<=0,o=this.container.offsetHeight+this.container.scrollTop>=this.container.scrollHeight;if(r){let g=s[0];n(this,P,ri).call(this,g?.rowIndex??0,"start")}if(o){let g=this.datasource.originalData.length-1;n(this,P,ri).call(this,g,"end")}!r&&!o&&n(this,P,ri).call(this,0)},{capture:!0,passive:!0}),n(this,Z,Oi).call(this)},Z=new WeakSet,Oi=function(){if(!this.virtualScroll)return;let t=this.virtualScrollSettings.ROW_HEIGHT;this.offEvent("scroll.data-grid.virtual-scroll",this.container),this.onEvent("scroll.data-grid.virtual-scroll",this.container,e=>{e.stopImmediatePropagation(),n(this,D,V).call(this,t)},{capture:!0,passive:!0}),this.offEvent("scrollend.data-grid.virtual-scroll",this.container),this.onEvent("scrollend.data-grid.virtual-scroll",this.container,e=>{e.stopImmediatePropagation(),this.treeGrid||n(this,D,V).call(this,t)}),this.offEvent("rowexpanded.data-grid.virtual-scroll",this),this.onEvent("rowexpanded.data-grid.virtual-scroll",this,e=>{n(this,J,Gi).call(this,!0,e.detail)}),this.offEvent("rowcollapsed.data-grid.virtual-scroll",this),this.onEvent("rowcollapsed.data-grid.virtual-scroll",this,e=>{n(this,J,Gi).call(this,!1,e.detail)})},ui=new WeakSet,bt=function(){this.offEvent("scroll.data-grid"),this.offEvent("scroll.data-grid.virtual-scroll"),this.offEvent("scrollend.data-grid.virtual-scroll")},G=new WeakSet,di=function(i,t){let e=i.childrenVRefIds?.length>0,d=i.rowExpanded;this.updateDataset(i.vsRefId,{rowHidden:!t}),i.rowHidden=!t,e&&i.childrenVRefIds.forEach(s=>{n(this,G,di).call(this,this.data[s],d&&!i.rowHidden)})},J=new WeakSet,Gi=function(i,t){let e=t.row,d=t.allRows,s=this.virtualScrollSettings.ROW_HEIGHT,r=Math.floor(this.container.scrollTop/s);if(d){n(this,S,A).call(this,r);return}this.updateDataset(e,{rowExpanded:i,rowHidden:!1}),n(this,G,di).call(this,this.data[e],!0),n(this,S,A).call(this,r)},S=new WeakSet,A=function(i,t={}){let e=this.rows,d=this.data,s=this.virtualRows,r=s.length-1,o=this.virtualScrollSettings,g=Math.min(o.MAX_ROWS_IN_DOM,s.length);i=Math.max(i,0),i=Math.min(i,r);let l=i-o.BUFFER_ROWS;l=Math.min(l,r-g+1),l=Math.max(l,0);let p,u;for(p=0;p<e.length;p++){u=l+p;let b=e[p],f=s[u]?.vsRefId;f>=0&&(b.rowIndex=f),t[f]&&b.renderRow(f)}if(g-e.length!==0){let b=e.length-g;b>0&&e.slice(-1*b).forEach(x=>x.remove());let f=g-e.length;f>0&&(this.body.innerHTML+=[...Array(f)].map(()=>{let x=s[++u]?.vsRefId;return I.template(d[x],x,x+1,this)}).join(""))}n(this,_,X).call(this,l,this.virtualRows.length,o)},D=new WeakSet,V=function(i){if(!this.virtualScroll)return;let t=Math.floor(this.container.scrollTop/i);this.treeGrid?n(this,fi,wt).call(this,t):n(this,z,si).call(this,t,!1)},H=new WeakMap,P=new WeakSet,ri=function(i,t){t?i!==v(this,H)[t]&&(v(this,H)[t]=i,this.triggerEvent(`scroll${t}`,this,{bubbles:!0,composed:!0,detail:{elem:this,value:i}})):R(this,H,{})},_=new WeakSet,X=function(i,t,e){let{ROW_HEIGHT:d,MAX_ROWS_IN_DOM:s}=e||this.virtualScrollSettings,r=i*d,g=t*d-s*d-r;this.body?.style.setProperty("transform",`translateY(${r}px)`),this.body?.style.setProperty("padding-bottom",`${Math.max(g,0)}px`)},ii=new WeakSet,Hi=function(i){this.rowByIndex(i)?.scrollIntoView?.();let t=this.header?.clientHeight,e=this.container.scrollHeight,d=this.container.clientHeight;this.container.scrollTop+d>=e||(this.container.scrollTop-=t)},mi=new WeakSet,ft=function(i){if(!this.container||!this.data.length)return;let{ROW_HEIGHT:t}=this.virtualScrollSettings,e=this.data[i].rowHidden,d={};if(e){let r=this.data[i],o=n(this,B,li).call(this,this.data,r.parentElement??"");for(;o;)d[o.vsRefId]=!0,this.updateDataset(o.vsRefId,{rowExpanded:!0,rowHidden:!1}),o=n(this,B,li).call(this,this.data,o.parentElement??"");let g=n(this,yi,St).call(this,r);g&&n(this,G,di).call(this,g,!0)}let s=this.virtualRows.indexOf(this.data[i]);n(this,S,A).call(this,s,d),this.container.scrollTop=s*t},z=new WeakSet,si=function(i,t=!0){let e=this.data,d=this.rows;if(!e.length||!d.length)return;let s=this.virtualScrollSettings,r=e.length-1;if(i=Math.max(i,0),i=Math.min(i,r),!this.virtualScroll){n(this,ii,Hi).call(this,i);return}let o=this.container,g=this.body,l=d[0],p=d[d.length-1],u=l.rowIndex,b=p.rowIndex,f=i<u,x=i>b,M=!f&&!x,y=b>=r,w=i-s.BUFFER_ROWS;if(w=Math.max(w,0),w=Math.min(w,r),M&&t){this.offEvent("scroll.data-grid.virtual-scroll",this.container),n(this,ii,Hi).call(this,i),n(this,Z,Oi).call(this);return}if(M){let Ii=w-u,zi=Math.abs(Ii);if(Ii>0)y||n(this,vi,Et).call(this,Ii);else if(zi<s.MAX_ROWS_IN_DOM)n(this,ti,Pi).call(this,zi);else return}else f?n(this,W,ni).call(this,w):x&&n(this,W,ni).call(this,w);let L=s.ROW_HEIGHT,N=this.rows[0].rowIndex*L;y||g.style.setProperty("transform",`translateY(${N}px)`),n(this,bi,xt).call(this,s,this.data.length,N),t&&(o.scrollTop=i*L)},bi=new WeakSet,xt=function(i,t,e){let s=t*i.ROW_HEIGHT-i.MAX_ROWS_IN_DOM*i.ROW_HEIGHT-e;this.body?.style.setProperty("padding-bottom",`${Math.max(s,0)}px`)},fi=new WeakSet,wt=function(i){let t=this.rows,e=this.virtualRows;if(!e.length||!t.length){n(this,_,X).call(this,0,0);return}let d=e.length-1;i=Math.max(i,0),i=Math.min(i,d);let s=this.virtualScrollSettings,r=t[0],o=e.indexOf(r.rowData),g=t[t.length-1],l=e.indexOf(g.rowData),p=l>=d,u=i-s.BUFFER_ROWS;u=Math.max(u,0),u=Math.min(u,d);let b=t[0],f=e.indexOf(b.rowData),x=t[t.length-1],M=e.indexOf(x.rowData),y=u-f,w=y<0?Math.abs(y):NaN,L=i>=f&&i<=M,Ri={maxRowIndex:d,firstVisibleRowIndex:o,lastVisibleRowIndex:l,dataVisibleRows:e};if(L){if(y>0&&!p){let N=this.rows.slice(0,y);n(this,xi,vt).call(this,Ri,N)}else if(w&&w<s.MAX_ROWS_IN_DOM){let N=this.rows.slice(-1*w);n(this,wi,yt).call(this,Ri,N)}}else n(this,S,A).call(this,i);e=this.virtualRows,r=this.rowsVisible[0],o=e.indexOf(r.rowData),n(this,_,X).call(this,o,e.length,s)},xi=new WeakSet,vt=function(i,t){let{maxRowIndex:e,lastVisibleRowIndex:d,dataVisibleRows:s}=i,r=[];t.forEach((o,g)=>{let l=d+g+1,p=s[l];if(l>e)return;let u=p.vsRefId;o.rowIndex=u,r.push(o)}),r.length&&this.body?.append(...r)},wi=new WeakSet,yt=function(i,t){let{firstVisibleRowIndex:e,dataVisibleRows:d}=i,s=[];t.forEach((r,o)=>{let g=e-(o+1),p=d[g].vsRefId;r.rowIndex=p,s.push(r)}),s.length&&this.body?.prepend(...s.reverse())},W=new WeakSet,ni=function(i){let t=this.data,e=this.rows;if(!t.length||!e.length)return;let d=t.length-1;i=Math.min(i,d),i=Math.max(i,0);let{MAX_ROWS_IN_DOM:s}=this.virtualScrollSettings;this.rows.every((r,o)=>{let g=i+o;if(g>d){let l=s-o;return n(this,ti,Pi).call(this,l),!1}return r.rowIndex=g,!0})},vi=new WeakSet,Et=function(i){let t=this.rows;if(!i||!t.length)return;let e=this.data,s=t[t.length-1].rowIndex,r=t.slice(0,i),o=[];r.every((g,l)=>{let p=s+(l+1);return p>=e.length?!1:(g.rowIndex=p,o.push(g))}),o.length&&(o.length>=this.virtualScrollSettings.MAX_ROWS_IN_DOM||this.body?.append(...o))},ti=new WeakSet,Pi=function(i){let t=this.rows;if(!i||!t.length)return;let d=t[0].rowIndex,s=t.slice(-1*i),r=[];s.every((o,g)=>{let l=d-(g+1);return l<0?!1:(o.rowIndex=l,r.push(o))}),r.length&&this.body?.prepend(...r.reverse())},B=new WeakSet,li=function(i,t){let e;return t.split(" ").forEach((d,s)=>{s===0?e=i.find(r=>r?r[this.idColumn]==d:!1):e=e?.children.find(r=>r?r[this.idColumn]==d:!1)}),e},yi=new WeakSet,St=function(i){if(!i.parentElement)return i;let t=i.parentElement.split(" ")[0];return this.data.find(d=>d[this.idColumn]==t)},T=new WeakSet,q=function(){this.container?.setAttribute("aria-rowcount",this.rowCount.toString())},Ei=new WeakSet,Rt=function(){if(!this.autoFitSet&&this.autoFit===!0){let i=this.pagination==="none"?"100%":"calc(100% - 44px)";this.container?.style.setProperty("height",i),this.wrapper?.style.setProperty("height","100%"),this.autoFitSet=!0}},Si=new WeakSet,It=function(){let i=this.wrapper?.querySelectorAll("ids-popup-menu");i?.length&&[...i].forEach(t=>t.remove())},U=Wi([Bi("ids-data-grid"),Fi(gt)],U);export{U as a};
|
|
1975
|
+
</div>`}collapseAll(){this.data.forEach((t,e)=>{this.updateDataset(e,{rowExpanded:!1,rowHidden:!!t.parentElement})}),this.header?.closeExpanderIcons();let i=[];this.rows.forEach(t=>{let e=t.rowIndex;i.push({row:e,data:this.data[e]}),t.doCollapse()}),this.triggerEvent("rowcollapsed",this,{bubbles:!0,detail:{elem:this,rows:i,allRows:!0}})}expandAll(){this.data.forEach((t,e)=>{this.updateDataset(e,{rowExpanded:!0,rowHidden:!1})}),this.header?.openExpanderIcons();let i=[];this.rows.forEach(t=>{let e=t.rowIndex;i.push({row:e,data:this.data[e]}),t.doExpand()}),this.triggerEvent("rowexpanded",this,{bubbles:!0,detail:{elem:this,rows:i,allRows:!0}})}toggleEmptyMessage(i){at.apply(this,[i])}applyFilter(i){this.filters?.applyFilter(i)}redrawBody(){n(this,oi,ct).call(this),this.pager?.sync?.apply(this),this.virtualScroll&&(n(this,ui,bt).call(this),this.body?.style.setProperty("transform","translateY(0px)"),n(this,D,V).call(this,this.virtualScrollSettings.ROW_HEIGHT),requestAnimationFrame(()=>n(this,O,ai).call(this)))}redraw(){if(this.columns.length===0||!this.initialized)return;n(this,Si,It).call(this);let i=Di.template(this),t=this.bodyTemplate();if(this.container&&(this.container.innerHTML=i+t),n(this,j,Li).call(this),n(this,Ei,Rt).call(this),this.header?.setHeaderCheckbox(),n(this,$,Ti).call(this),n(this,K,Mi).call(this),n(this,O,ai).call(this),this.setupTooltip(),ei.apply(this),this.virtualScroll){let e=this.virtualScrollSettings,d=this.treeGrid?this.virtualRows.length:this.data.length;n(this,_,X).call(this,0,d,e)}this.filters.attachFilterSettings(),n(this,T,q).call(this),this.toggleEmptyMessage(),this.afterRedraw()}async afterRedraw(){let i=this.rowStart||0,t=()=>{this.header?.setIsHeaderExpanderCollapsed?.(),this.container?.classList.remove("waiting-load"),this.triggerEvent("afterrendered",this,{bubbles:!0,detail:{elem:this}})};i?(await Ui.onThemeLoaded().promise,this.scrollRowIntoView(i),t()):requestAnimationFrame(()=>{this.setActiveCell(0,0,!0),t()})}bodyTemplate(){return`<div class="ids-data-grid-body" part="contents" role="rowgroup">${this.bodyInnerTemplate()}</div>`}resetCache(i){(i===0||i&&i>=1)&&delete I.rowCache[i],I.rowCache={},Ki.cellCache={}}bodyInnerTemplate(){this.resetCache();let i="",t=this.data,e=this.virtualScrollSettings;if(this.treeGrid&&this.virtualScroll){let d=this.virtualRows.slice(0,e.MAX_ROWS_IN_DOM);for(let s=0;s<d.length;s++){let r=d[s].vsRefId;i+=I.template(t[r],r,r+1,this)}return i}this.virtualScroll&&!this.treeGrid&&(t=t.slice(0,e.MAX_ROWS_IN_DOM));for(let d=0;d<t.length;d++)i+=I.template(t[d],d,d+1,this);return i}rowIsSelected(i){if(this.pagination==="server-side"){let t=this.data[i];return this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===t[this.idColumn])>-1}return!!this.data[i].rowSelected}moveColumn(i,t){if(i===-1||t===-1)return;let e=this.columnIdxById(this.visibleColumns[i].id),d=this.columnIdxById(this.visibleColumns[t].id),s=this.columns[e];this.columns.splice(e,1),this.columns.splice(d,0,s);let r=this.columns.reduce((o,g,l)=>(o[g.id]=l,o),{});this.dirtyCells.forEach(o=>{let g=o.columnId,l=this.data[o?.row],p=l.dirtyCells.findIndex(b=>b.columnId===g),u=r[g];l.dirtyCells[p].cell=u}),this.invalidCells.forEach(o=>{if(o.cell===i){let g=this.data[o?.row],l=g.invalidCells.findIndex(p=>p.cell===i);g.invalidCells[l].cell=t}}),et.apply(this),this.redraw(),this.triggerEvent("columnmoved",this,{detail:{elem:this,fromIndex:e,toIndex:d}}),this.sortColumn&&this.header?.setSortState(this.sortColumn.id,this.sortColumn.ascending),this.saveSettings?.()}setColumnWidth(i,t){let e=this.columnIdxById(i),d=this.columnDataById(i),s=d.minWidth||12,r=d.maxWidth||Number.MAX_SAFE_INTEGER;this.columns[e]&&t>=s&&t<=r&&(this.columns[e].width=t,n(this,j,Li).call(this),n(this,Q,Ni).call(this)),this.triggerEvent("columnresized",this,{detail:{index:e,column:d,columns:this.columns}}),this.saveSettings?.()}setColumnVisible(i,t){this.columnDataById(i).hidden=!t,this.redraw()}setSortColumn(i,t=!0){let e=this.columnDataById(i),d=e?.field!==e?.id?e?.field:e?.id;this.sortColumn={id:i,ascending:t},this.datasource.sort(d||"",t),this.redrawBody(),this.header?.setSortState(i,t),this.triggerEvent("sorted",this,{detail:{elem:this,sortColumn:this.sortColumn}}),this.saveSettings?.()}setSortState(i,t=!0){this.header?.setSortState(i,t)}columnGroupDataById(i){return this.columnGroups?.filter(t=>t.id===i)[0]}columnGroupIdxById(i){return this.columnGroups?.findIndex(t=>t.id===i)}columnDataById(i){return this.columns?.filter(t=>t.id===i)[0]}columnIdxById(i){return this.columns?.findIndex(t=>t.id===i)}get visibleColumns(){return this.columns?.filter(i=>!i.hidden)}get rightFrozenColumns(){return this.columns?.filter(i=>!i.hidden&&i.frozen==="right")}get leftFrozenColumns(){return this.columns?.filter(i=>!i.hidden&&i.frozen==="left")}get hasFrozenColumns(){return this.leftFrozenColumns.length>0||this.rightFrozenColumns.length>0}columnDataByHeaderElem(i){let t=i?.getAttribute("column-id");return this.columnDataById(t||"")}set showHeaderExpander(i){h(i)?this.setAttribute(a.SHOW_HEADER_EXPANDER,""):this.removeAttribute(a.SHOW_HEADER_EXPANDER)}get showHeaderExpander(){return this.hasAttribute(a.SHOW_HEADER_EXPANDER)}set alternateRowShading(i){if(h(i)){this.setAttribute(a.ALTERNATE_ROW_SHADING,"true"),this.shadowRoot?.querySelector(".ids-data-grid")?.classList.add("alt-row-shading");return}this.shadowRoot?.querySelector(".ids-data-grid")?.classList.remove("alt-row-shading"),this.setAttribute(a.ALTERNATE_ROW_SHADING,"false")}get alternateRowShading(){return h(this.getAttribute(a.ALTERNATE_ROW_SHADING))||!1}set columns(i){this.resetCache(),this.currentColumns=i||[{id:"",name:""}],this.redraw()}get columns(){return this.currentColumns||[{id:"",name:"",field:""}]}set columnGroups(i){this.state.columnsGroups=i,this.redraw()}get columnGroups(){return this.state?.columnsGroups||null}appendData(i){i?.length&&(this.virtualScroll?(this.datasource.data=this.datasource.originalData.concat(i),this.header.resetSortStates(),this.resetCache(),this.treeGrid?n(this,S,A).call(this,Math.floor(this.container.scrollTop/this.virtualScrollSettings.ROW_HEIGHT)):n(this,pi,mt).call(this)):this.data=this.data.concat(i))}set data(i){i?(Ci.apply(this),this.datasource||(this.datasource=new Ai),this.datasource.flatten=this.treeGrid,this.datasource.data=i,this.initialized=!0,this.pagination==="server-side"&&this.syncServerSelections(),this.redraw()):this.datasource.data=[]}get data(){return this?.datasource?.data}set emptyMessageDescription(i){typeof i=="string"&&i!==""?this.setAttribute(a.EMPTY_MESSAGE_DESCRIPTION,i):this.removeAttribute(a.EMPTY_MESSAGE_DESCRIPTION),F.apply(this)}get emptyMessageDescription(){return this.getAttribute(a.EMPTY_MESSAGE_DESCRIPTION)}set emptyMessageIcon(i){typeof i=="string"&&i!==""?this.setAttribute(a.EMPTY_MESSAGE_ICON,i):this.removeAttribute(a.EMPTY_MESSAGE_ICON),F.apply(this)}get emptyMessageIcon(){return this.getAttribute(a.EMPTY_MESSAGE_ICON)}set emptyMessageLabel(i){typeof i=="string"&&i!==""?this.setAttribute(a.EMPTY_MESSAGE_LABEL,i):this.removeAttribute(a.EMPTY_MESSAGE_LABEL),F.apply(this)}get emptyMessageLabel(){return this.getAttribute(a.EMPTY_MESSAGE_LABEL)}set headerMenuId(i){if(i){this.setAttribute(a.HEADER_MENU_ID,i);return}this.removeAttribute(a.HEADER_MENU_ID)}get headerMenuId(){return this.getAttribute(a.HEADER_MENU_ID)}set headerMenuData(i){if(this?.header?.state&&(this.header.state.headerMenuData=i),!this.isDynamicContextmenu){let t=ki.apply(this,[!0]);t&&(t.data=i),ei.apply(this)}this.isDynamicContextmenu=!1}get headerMenuData(){return this?.header?.state?.headerMenuData}set menuId(i){if(i){this.setAttribute(a.MENU_ID,i);return}this.removeAttribute(a.MENU_ID)}get menuId(){return this.getAttribute(a.MENU_ID)}set menuData(i){if(this.state.menuData=i,!this.isDynamicContextmenu){let t=ki.apply(this);t&&(t.data=i),ei.apply(this)}this.isDynamicContextmenu=!1}get menuData(){return this?.state?.menuData}set virtualScroll(i){h(i)?this.setAttribute(a.VIRTUAL_SCROLL,"true"):this.removeAttribute(a.VIRTUAL_SCROLL),this.redraw()}get virtualScroll(){return h(this.getAttribute(a.VIRTUAL_SCROLL))}get virtualScrollSettings(){let i=!!this.virtualScroll,t=this.rowPixelHeight||50,e=v(this,C),d=Math.ceil(e*.25);return{ENABLED:i,ROW_HEIGHT:t,MAX_ROWS_IN_DOM:e,BUFFER_ROWS:d}}set scrollMaxRows(i){let t=v(this,C),e=Number(i);if(R(this,C,Number.isNaN(e)?t:e),!this.virtualScroll||t===e)return;let d=Math.floor(this.container.scrollTop/this.virtualScrollSettings.ROW_HEIGHT);this.treeGrid?n(this,S,A).call(this,d):n(this,W,ni).call(this,d)}get scrollMaxRows(){return v(this,C)}scrollRowIntoView(i){if(this.treeGrid&&this.virtualScroll){n(this,mi,ft).call(this,i);return}n(this,z,si).call(this,i)}set label(i){if(i){this.setAttribute(a.LABEL,i),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("aria-label",i);return}this.removeAttribute(a.LABEL),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("aria-label","Data Grid")}get label(){return this.getAttribute(a.LABEL)||"Data Grid"}set rowHeight(i){i?(this.setAttribute(a.ROW_HEIGHT,i),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("data-row-height",i)):(this.removeAttribute(a.ROW_HEIGHT),this.shadowRoot?.querySelector(".ids-data-grid")?.setAttribute("data-row-height","lg")),this.saveSettings?.()}get rowHeight(){return this.getAttribute(a.ROW_HEIGHT)||"lg"}set rowStart(i){this.setAttribute(a.ROW_START,String(i||0))}get rowStart(){return Number(this.getAttribute(a.ROW_START))||0}set rowNavigation(i){h(i)?(this.setAttribute(a.ROW_NAVIGATION,""),this.container?.classList.add("row-navigation")):(this.removeAttribute(a.ROW_NAVIGATION),this.container?.classList.remove("row-navigation"))}get rowNavigation(){return this.hasAttribute(a.ROW_NAVIGATION)}set listStyle(i){h(i)?(this.setAttribute(a.LIST_STYLE,String(i)),this.shadowRoot?.querySelector(".ids-data-grid")?.classList.add("is-list-style")):(this.removeAttribute(a.LIST_STYLE),this.shadowRoot?.querySelector(".ids-data-grid")?.classList.remove("is-list-style"))}get listStyle(){return h(this.getAttribute(a.LIST_STYLE))||!1}set rowSelection(i){h(i)?this.setAttribute(a.ROW_SELECTION,String(i)):this.removeAttribute(a.ROW_SELECTION)}get rowSelection(){return this.getAttribute(a.ROW_SELECTION)||!1}set suppressEmptyMessage(i){h(i)?this.setAttribute(a.SUPPRESS_EMPTY_MESSAGE,""):this.removeAttribute(a.SUPPRESS_EMPTY_MESSAGE),F.apply(this)}get suppressEmptyMessage(){return this.hasAttribute(a.SUPPRESS_EMPTY_MESSAGE)}set suppressRowClickSelection(i){h(i)?this.setAttribute(a.SUPPRESS_ROW_CLICK_SELECTION,i.toString()):this.removeAttribute(a.SUPPRESS_ROW_CLICK_SELECTION)}get suppressRowClickSelection(){return this.getAttribute(a.SUPPRESS_ROW_CLICK_SELECTION)||!1}set suppressRowDeselection(i){h(i)?this.setAttribute(a.SUPPRESS_ROW_DESELECTION,String(i)):this.removeAttribute(a.SUPPRESS_ROW_DESELECTION)}get suppressRowDeselection(){return this.getAttribute(a.SUPPRESS_ROW_DESELECTION)||!1}set suppressRowDeactivation(i){h(i)?this.setAttribute(a.SUPPRESS_ROW_DEACTIVATION,String(i)):this.removeAttribute(a.SUPPRESS_ROW_DEACTIVATION)}get suppressRowDeactivation(){return this.getAttribute(a.SUPPRESS_ROW_DEACTIVATION)||!1}get selectedRows(){return this.data.flatMap((i,t)=>i.rowSelected?{index:Number(t),data:i}:[])}get selectedRowsAcrossPages(){return this.pager?this.pagination==="server-side"?this.serverSideSelections:this.datasource.currentData.flatMap((i,t)=>i.rowSelected?{index:Number(t),data:i}:[]):this.selectedRows}get activatedRow(){return this.data.flatMap((i,t)=>i.rowActivated?{index:Number(t),data:i}:[])[0]||{}}updateDataset(i,t,e){if(t[this.idColumn]||(t[this.idColumn]=this.data[i][this.idColumn]),e?this.data[i]=t:this.data[i]={...this.data[i],...t},this.treeGrid){if(this.data[i].ariaLevel===1){this.datasource.update([t],!!e);return}let d=n(this,B,li).call(this,this.datasource.originalData,this.data[i].parentElement??"");if(d){let s={...d.children[this.data[i][this.idColumn]],...t};this.datasource.update([s],!!e)}return}t.id||(t.id=i),this.datasource.update([t],!!e)}updateDatasetAndRefresh(i,t,e){this.updateDataset(i,t,e),this.rowByIndex(i)?.refreshRow()}rowByIndex(i){let t=this.data.length-1;return i=Math.max(i,0),i=Math.min(i,t),this.shadowRoot?.querySelector(`.ids-data-grid-body ids-data-grid-row[row-index="${i}"]`)}commitCellEdit(){this.activeCellEditor?.endCellEdit()}cancelCellEdit(){this.activeCellEditor?.cancelCellEdit()}addRow(i,t){i&&Ci.apply(this);let e=t??this.datasource.originalData.length;this.datasource.create([i],e),this.datasource.refreshPreviousState(),this.redrawBody(),n(this,T,q).call(this),this.syncPagerAfterDatasetChange()}addRows(i=[],t){let e=t??this.datasource.originalData.length;this.datasource.create(i,e),this.datasource.refreshPreviousState(),this.redrawBody(),n(this,T,q).call(this),this.syncPagerAfterDatasetChange()}removeRow(i){let t=this.data[i];t[this.idColumn]||(t[this.idColumn]=this.data[i][this.idColumn]),this.datasource.delete([t]),this.datasource.refreshPreviousState(),this.redrawBody(),n(this,T,q).call(this),this.syncPagerAfterDatasetChange()}clearRow(i){this.updateDataset(i,{},!0),this.redrawBody()}syncPagerAfterDatasetChange(){this.pager&&(this.pageTotal=this.datasource.total,this.pageNumber!==this.datasource.pageNumber&&(this.pageNumber=this.datasource.pageNumber))}get isEditable(){return this.columns?.some(i=>!!i?.editor)}editFirstCell(){this.isEditable&&this.cellLastActive?.cellRightEditable?.startCellEdit()}selectRow(i,t=!0){let e=this.rowByIndex(i);if(this.virtualScroll&&!e&&this.data[i]){this.rowSelection==="single"&&this.deSelectAllRows(),this.updateDataset(i,{rowSelected:!0});return}if(!e||e.selected)return;let d=!0,s=r=>{d=!!r};if(this.triggerEvent("beforerowselected",this,{detail:{elem:this,row:e,data:this.data[i],response:s}}),!!d){if(this.rowSelection==="multiple"||this.rowSelection==="mixed"){let r=e?.querySelector(".is-selection-checkbox .ids-data-grid-checkbox");r?.classList.add("checked"),r?.setAttribute("aria-checked","true")}if(this.rowSelection==="single"){this.deSelectAllRows();let r=e?.querySelector(".ids-data-grid-radio");r?.classList.add("checked"),r?.setAttribute("aria-checked","true")}this.updateDataset(i,{rowSelected:!0}),this.selectServerSide(i),e.selected=!0,(this.rowSelection==="single"||this.rowSelection==="multiple")&&e&&e.updateCells(i),t&&this.triggerEvent("rowselected",this,{detail:{elem:this,row:e,data:this.data[i]}}),this.groupSelectsChildren&&e?.toggleChildRowSelection(!0),this.header?.setHeaderCheckbox()}}selectServerSide(i){if(this.pagination!=="server-side")return;let t=this.data[i];this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===t[this.idColumn])===-1&&this.serverSideSelections.push({index:i,data:t})}syncServerSelections(){this.data.forEach((i,t)=>{this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===i[this.idColumn])>-1&&(this.data[t].rowSelected=!0)})}deSelectRow(i,t=!0){let e=this.rowByIndex(i);if(this.virtualScroll&&!e&&this.data[i]){this.updateDataset(i,{rowSelected:!1});return}if(!e)return;let d=!0,s=r=>{d=!!r};if(this.triggerEvent("beforerowdeselected",this,{detail:{elem:this,row:e,data:this.data[i],response:s}}),!!d){if(this.rowSelection==="mixed"&&e.classList.remove("mixed"),e.classList.remove("selected"),e.removeAttribute("aria-selected"),this.rowSelection==="multiple"||this.rowSelection==="mixed"){let r=e.querySelector(".is-selection-checkbox .ids-data-grid-checkbox");r?.classList.remove("checked"),r?.setAttribute("aria-checked","false")}if(this.rowSelection==="single"){let r=e.querySelector(".ids-data-grid-radio");r?.classList.remove("checked"),r?.setAttribute("aria-checked","false")}this.updateDataset(i,{rowSelected:!1}),this.deselectServerSide(i),t&&this.triggerEvent("rowdeselected",this,{detail:{elem:this,row:e,data:this.data[i]}}),e.updateCells(i),this.groupSelectsChildren&&e.toggleChildRowSelection(!1),this.header?.setHeaderCheckbox()}}deselectServerSide(i){if(this.pagination!=="server-side")return;let t=this.data[i],e=this.serverSideSelections.findIndex(d=>d.data[this.idColumn]===t[this.idColumn]);e>-1&&this.serverSideSelections.splice(e,1)}activateRow(i){let t=i;typeof i=="number"&&(t=this.rowByIndex(i)),!(!t||this.rowSelection!=="mixed")&&(t.classList.add("activated"),this.updateDataset(Number(t?.getAttribute("data-index")),{rowActivated:!0}),t?.updateCells(i),this.triggerEvent("rowactivated",this,{detail:{elem:this,row:t,data:this.data[i],index:i}}))}deactivateRow(i){if(typeof i>"u"||i===null)return;let t=i;typeof i=="number"&&(t=this.rowByIndex(i)),!(!t||this.rowSelection!=="mixed")&&(t.classList.remove("activated"),this.updateDataset(Number(t?.getAttribute("data-index")),{rowActivated:void 0}),t.updateCells(i),this.triggerEvent("rowdeactivated",this,{detail:{elem:this,row:t,data:this.data[i],index:i}}))}selectAllRows(){this.data?.forEach((i,t)=>{this.selectRow(t),i.rowSelected=!0}),this.triggerEvent("selectionchanged",this,{detail:{elem:this,selectedRows:this.selectedRows}}),this.header?.setHeaderCheckbox()}deSelectAllRows(){this.data?.forEach((i,t)=>{i.rowSelected&&(this.deSelectRow(t),i.rowSelected=!1)}),this.rowSelection!=="single"&&this.triggerEvent("selectionchanged",this,{detail:{elem:this,selectedRows:this.selectedRows}}),this.header?.setHeaderCheckbox()}get rowCount(){return this.data.length}get rowPixelHeight(){return{xxs:25,xs:30,sm:35,md:40,lg:50}[this.rowHeight]+1}set autoFit(i){if(h(i)){this.setAttribute(a.AUTO_FIT,String(i));return}this.removeAttribute(a.AUTO_FIT)}get autoFit(){return h(this.getAttribute(a.AUTO_FIT))}set suppressCaching(i){if(h(i)){this.setAttribute(a.SUPPRESS_CACHING,String(i));return}this.removeAttribute(a.SUPPRESS_CACHING)}get suppressCaching(){return h(this.getAttribute(a.SUPPRESS_CACHING))||!1}setActiveCell(i,t,e){if(t<0||i<0||t>this.data.length-1||i>this.visibleColumns.length-1||Number.isNaN(t)||Number.isNaN(t))return this.activeCell;this.activeCell||(this.activeCell={}),this.activeCell.cell=Number(i),this.activeCell.row=Number(t);let d=this.rowByIndex(t);!d&&this.virtualScroll&&(n(this,z,si).call(this,t),d=this.rowByIndex(t));let s=d?.querySelectorAll("ids-data-grid-cell");return s&&s.length>0&&s[i].activate(!!e),this.activeCell}set disableClientFilter(i){h(i)?this.setAttribute(a.DISABLE_CLIENT_FILTER,""):this.removeAttribute(a.DISABLE_CLIENT_FILTER)}get disableClientFilter(){let i=this.getAttribute(a.DISABLE_CLIENT_FILTER);return i!==null?h(i):this.filters.DEFAULTS.disableClientFilter}set filterable(i){let t=this.filterable!==h(i);typeof i<"u"&&i!==null?this.setAttribute(a.FILTERABLE,String(i)):this.removeAttribute(a.FILTERABLE),t&&this.header?.setFilterRow()}get filterable(){let i=this.getAttribute(a.FILTERABLE);return i!==null?h(i):this.filters.DEFAULTS.filterable}set filterRowDisabled(i){let t=this.filterRowDisabled!==h(i);typeof i<"u"&&i!==null?this.setAttribute(a.FILTER_ROW_DISABLED,String(i)):this.removeAttribute(a.FILTER_ROW_DISABLED),t&&this.filters?.setFilterRowDisabled()}get filterRowDisabled(){let i=this.getAttribute(a.FILTER_ROW_DISABLED);return i!==null?h(i):this.filters.DEFAULTS.filterRowDisabled}set filterWhenTyping(i){let t=this.filterWhenTyping!==h(i);typeof i<"u"&&i!==null?this.setAttribute(a.FILTER_WHEN_TYPING,String(i)):this.removeAttribute(a.FILTER_WHEN_TYPING),t&&this.filters?.setFilterWhenTyping()}get filterWhenTyping(){let i=this.getAttribute(a.FILTER_WHEN_TYPING);return i!==null?h(i):this.filters.DEFAULTS.filterWhenTyping}set treeGrid(i){h(i)?this.setAttribute(a.TREE_GRID,i.toString()):this.removeAttribute(a.TREE_GRID)}get treeGrid(){return this.hasAttribute(a.TREE_GRID)}set groupSelectsChildren(i){i=h(i),i?this.setAttribute(a.GROUP_SELECTS_CHILDREN,i.toString()):this.removeAttribute(a.GROUP_SELECTS_CHILDREN)}get groupSelectsChildren(){return h(this.getAttribute(a.GROUP_SELECTS_CHILDREN))||!1}set idColumn(i){i?(this.setAttribute(a.ID_COLUMN,i.toString()),this.datasource.primaryKey=i):(this.removeAttribute(a.ID_COLUMN),this.datasource.primaryKey=this.idColumn)}get idColumn(){return this.getAttribute(a.ID_COLUMN)||"id"}set expandableRow(i){i?this.setAttribute(a.EXPANDABLE_ROW,i.toString()):this.removeAttribute(a.EXPANDABLE_ROW)}get expandableRow(){return this.getAttribute(a.EXPANDABLE_ROW)||!1}set expandableRowTemplate(i){i?this.setAttribute(a.EXPANDABLE_ROW_TEMPLATE,i.toString()):this.removeAttribute(a.EXPANDABLE_ROW_TEMPLATE)}get expandableRowTemplate(){return this.getAttribute(a.EXPANDABLE_ROW_TEMPLATE)||""}set uniqueId(i){let t=/number|string/g.test(typeof i)?`${i}`:null;typeof t=="string"&&t!==""?this.setAttribute(a.UNIQUE_ID,t):this.removeAttribute(a.UNIQUE_ID)}get uniqueId(){return this.getAttribute(a.UNIQUE_ID)}set editable(i){i=h(i),i?this.setAttribute(a.EDITABLE,i.toString()):this.removeAttribute(a.EDITABLE)}get editable(){return h(this.getAttribute(a.EDITABLE))}set editNextOnEnterPress(i){i=h(i),i?this.setAttribute(a.EDIT_NEXT_ON_ENTER_PRESS,i.toString()):this.removeAttribute(a.EDIT_NEXT_ON_ENTER_PRESS)}get editNextOnEnterPress(){return h(this.getAttribute(a.EDIT_NEXT_ON_ENTER_PRESS))}set addNewAtEnd(i){h(i)?this.setAttribute(a.ADD_NEW_AT_END,"true"):this.removeAttribute(a.ADD_NEW_AT_END)}get addNewAtEnd(){return h(this.getAttribute(a.ADD_NEW_AT_END))}get invalidCells(){let i=[];for(let t=0;t<this.data.length;t++)this.data[t]?.invalidCells&&(this.data[t].invalidCells?.forEach(e=>{e.row=t}),i.push(...this.data[t].invalidCells));return i}get dirtyCells(){let i=[];for(let t=0;t<this.data.length;t++)this.data[t]?.dirtyCells&&(this.data[t].dirtyCells?.forEach(e=>{e.row=t}),i.push(...this.data[t].dirtyCells));return i}resetDirtyCells(){this.data.forEach(i=>{i?.dirtyCells&&delete i.dirtyCells}),this.container?.querySelectorAll("ids-data-grid-cell.is-dirty").forEach(i=>{i.classList.remove("is-dirty")})}exportToExcel(i,t,e=!0){let d={},s={};i=i==="csv"||i==="xlsx"?i:"xlsx",e=i==="csv"?!0:e,this.columns.forEach(l=>{l.id&&l.field&&l.name&&(s[l.id]=l,d[l.id]={id:l.id,field:l.field,name:l.name,type:e?"string":this.determineColType(l)})});let r=document.createElement("span"),o=e?this.datasource.data.map((l,p)=>{let u={};return Object.keys(d).forEach(b=>{let f=s[b],x=f?.formatter,M=x===this.formatters.decimal||x===this.formatters.integer,y=l[d[b].field],w=y;if(y!=null&&!M&&x){let L=x.call(this.formatters,l,f,p,this);r.innerHTML=L,w=r.textContent?.trim()}u[b]=w}),u}):this.datasource.data;(i==="csv"?lt:ot)(o,{filename:t||"data-grid",columns:Object.values(d)})}determineColType(i){let t="string";return(i.formatter===this.formatters.integer||i.formatter===this.formatters.decimal)&&(t="number"),i.formatter===this.formatters.date&&(t="date"),i.formatter===this.formatters.time&&(t="time"),t}cellByIndex(i,t){return this.rowByIndex(i)?.cellByIndex?.(t)??null}activeCellCanClose(){return!(this.activeCellEditor?.isEditing||this.activeCellEditor?.editor?.popup?.visible||this.activeCellEditor?.column?.editor?.inline)}onPagingReload(){this.pagination!=="server-side"&&this.redrawBody()}};oi=new WeakSet,ct=function(){this.columns.length===0&&this.data.length===0||!this.initialized||(this.body&&(this.body.innerHTML=this.bodyInnerTemplate()),n(this,gi,ht).call(this),this.header?.setHeaderCheckbox())},E=new WeakMap,k=new WeakMap,gi=new WeakSet,ht=function(){R(this,E,null)},Y=new WeakSet,_i=function(){R(this,k,null)},ci=new WeakSet,pt=function(i){if(v(this,E)===null)return;let t=Math.min(i,v(this,E)),e=Math.max(i,v(this,E)),d=this.rowIsSelected(i);for(let s=t;s<=e;s++)d?this.deSelectRow(s):this.selectRow(s);n(this,hi,ut).call(this)?.removeAllRanges?.(),this.header?.setHeaderCheckbox(),this.triggerEvent("selectionchanged",this,{detail:{elem:this,selectedRows:this.selectedRows}})},hi=new WeakSet,ut=function(){return this.shadowRoot?.getSelection?this.shadowRoot?.getSelection():document.getSelection()},$=new WeakSet,Ti=function(){let i=this.body;this.offEvent("click.body",i),this.onEvent("click.body",i,t=>{let e=t.target.closest("ids-data-grid-cell");if(!e||e.isEditing)return;let d=Number(e.getAttribute("aria-colindex"))-1,s=e.parentNode;if(s.disabled)return;let r=s.rowIndex;t.shiftKey||n(this,Y,_i).call(this);let o=t.target?.nodeName==="IDS-HYPERLINK"||t.target?.nodeName==="A",g=t.target?.nodeName==="IDS-BUTTON",l=g&&t.target?.classList.contains("expand-button"),p=g||o,u=this.visibleColumns[d];this.setActiveCell(d,r,o),p&&u.click!==void 0&&!t.target?.getAttribute("disabled")&&u.click(this.data[r],this.visibleColumns[d],t),this.triggerEvent("rowclick",this,{detail:{elem:this,row:s,data:this.data[r]}});let b=()=>{["multiple","mixed"].includes(String(this.rowSelection))?(t.shiftKey&&v(this,E)!==null?n(this,ci,pt).call(this,r):s.toggleSelection(),R(this,E,r)):s.toggleSelection()};if(p&&l){s.toggleExpandCollapse();return}if(this.rowSelection==="mixed"){e.children[0]?.classList.contains("ids-data-grid-checkbox-container")?b():s.toggleRowActivation();return}this.rowSelection!==!1&&this.rowSelection!=="mixed"&&(!this.suppressRowClickSelection||this.suppressRowClickSelection&&e.children[0]?.classList.contains("is-selection-checkbox"))&&b(),this.editable&&u.editor&&e.startCellEdit(t)}),this.offEvent("dblclick.container",this.container),this.onEvent("dblclick.container",this.container,t=>{this.triggerEvent("dblclick",this,{bubbles:!0,detail:{...Ji.apply(this,[t]),originalEvent:t}})}),this.filters?.attachFilterEventHandlers(),this.attachSaveSettingsEventHandlers?.()},K=new WeakSet,Mi=function(){return this.listen(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"],this,i=>{let t=Qi(ji(i),".ids-data-grid-header-cell-filter-wrapper"),e=i.key;if(i.shiftKey||n(this,Y,_i).call(this),t||this.openMenu)return;let d=this.cellLastActive;if(d?.isEditing)return;i.preventDefault(),i.stopPropagation();let s=Number(d?.rowIndex||0);e==="ArrowUp"?d=d?.cellAbove??null:e==="ArrowDown"?d=d?.cellBelow??null:e==="ArrowLeft"?d=d?.cellLeft??null:e==="ArrowRight"&&(d=d?.cellRight??null);let r=d?.rowIndex||0;d?.focus?.();let o=e==="ArrowDown"||e==="ArrowUp";if((this.rowSelection==="mixed"||this.rowSelection==="multiple")&&o&&i.shiftKey){v(this,k)??R(this,k,s);let g=Math.min(r,v(this,k)),l=Math.max(r,v(this,k));if(Number.isNaN(g)||Number.isNaN(l))return;(s<g||s>l)&&this.deSelectRow(s);for(let p=g;p<=l;p++)this.selectRow(p)}this.rowSelection==="mixed"&&this.rowNavigation&&(d?.parentElement).toggleRowActivation()}),this.listen([" ","Space"],this,i=>{if(this.openMenu||this.activeCellEditor||!this.activeCell?.node||!this.activeCellCanClose())return;let t=this.rowByIndex(this.activeCell.row);if(!t||t.disabled)return;let e=this.activeCell.node.querySelector("ids-button");if(e){e.click(),i.preventDefault();return}let d=this.activeCell.node.children[0];if(d?.classList.contains("ids-data-grid-checkbox-container")&&!d?.classList.contains("is-selection-checkbox")){this.activeCell.node.click(),i.preventDefault();return}t.toggleSelection(),i.preventDefault()}),this.listen(["Enter"],this,i=>{let t=this.cellLastActive;if(!t?.isEditing){t?.startCellEdit();return}let e=i.shiftKey?t?.cellAbove:t?.cellBelow;this.editNextOnEnterPress&&e?.startCellEdit(),e?.isEditing||e?.focus?.()}),this.listen(["F2"],this,()=>{let i=this.activeCell.node;this.activeCellEditor&&(i.endCellEdit(),i.focus())}),this.listen(["Escape"],this,()=>{if(this.openMenu)return;let i=this.activeCell.node;if(this.activeCellEditor){if(!this.activeCellCanClose())return;i.cancelCellEdit(),i.focus()}}),this.listen(["Tab"],this,i=>{if(!this.isEditable)return;i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault();let t=i.shiftKey?this.cellLastActive?.cellLeftEditable:this.cellLastActive?.cellRightEditable;this.editNextOnEnterPress&&t?.startCellEdit?.(),t?.isEditing||t?.focus?.()}),this.offEvent("keydown.body",this.header),this.onEvent("keydown.body",this.header,()=>{this.activeCell={}}),this.offEvent("keydown.body",this),this.onEvent("keydown.body",this,i=>{let t=i.key.length===1;!this.activeCellEditor&&t&&i.key!==" "&&this.activeCell?.node?.startCellEdit?.()}),this},j=new WeakSet,Li=function(){let i="",t=this.visibleColumns.length;this.visibleColumns.forEach((e,d)=>{(e.id==="selectionCheckbox"||e.id==="selectionRadio")&&!e.width&&(e.width=45),e.width&&typeof e.width=="string"&&e.width.indexOf("%")>-1&&(i+=`minmax(${e.width}, 1fr) `),e.width&&typeof e.width=="string"&&e.width.indexOf("%")===-1&&(i+=`${e.width} `),e.width&&typeof e.width=="number"&&(i+=`${e.width}px `),e.width||(i+="minmax(110px, 1fr) "),e?.frozen&&d>0&&d<t-1&&this.container?.style.setProperty(`--ids-data-grid-frozen-column-left-width-${d+1}`,`${this.visibleColumns[d-1].width}px`)}),this.container?.style.setProperty("--ids-data-grid-column-widths",i),n(this,Q,Ni).call(this)},Q=new WeakSet,Ni=function(){if(this.columnGroups){let i=1,t=this.container?.querySelector(".ids-data-grid-column-groups")?.childNodes;this.columnGroups.forEach((e,d)=>{let s=e.colspan;for(let r=1;r<=s;r++)this.columns[i]?.hidden&&(s-=1),i++;t?.item(d)?.style.setProperty("grid-column-start",`span ${s}`)})}},pi=new WeakSet,mt=function(){if(!this.virtualScroll)return;let i=this.data,t=this.rows;if(!i.length||!t.length)return;let{MAX_ROWS_IN_DOM:e,ROW_HEIGHT:d}=this.virtualScrollSettings,s=Math.min(i.length,e)-t.length,r=[],g=t[t.length-1]?.rowIndex||0;for(;r.length<s;){let l=g+r.length+1;if(i[l]){let u=I.template(i[l],l,l+1,this);r.push(u)}}r.length&&this.body&&(this.body.innerHTML+=r.join("")),r.length===0&&i.length-1>g&&n(this,D,V).call(this,d)},C=new WeakMap,O=new WeakSet,ai=function(){let i=this.virtualScrollSettings;this.offEvent("scroll.data-grid",this.container),this.onEvent("scroll.data-grid",this.container,()=>{let t=this.container.scrollTop,e=i.ROW_HEIGHT,d=Math.floor(t/e),s=this.rows,r=d<=0,o=this.container.offsetHeight+this.container.scrollTop>=this.container.scrollHeight;if(r){let g=s[0];n(this,P,ri).call(this,g?.rowIndex??0,"start")}if(o){let g=this.datasource.originalData.length-1;n(this,P,ri).call(this,g,"end")}!r&&!o&&n(this,P,ri).call(this,0)},{capture:!0,passive:!0}),n(this,Z,Oi).call(this)},Z=new WeakSet,Oi=function(){if(!this.virtualScroll)return;let t=this.virtualScrollSettings.ROW_HEIGHT;this.offEvent("scroll.data-grid.virtual-scroll",this.container),this.onEvent("scroll.data-grid.virtual-scroll",this.container,e=>{e.stopImmediatePropagation(),n(this,D,V).call(this,t)},{capture:!0,passive:!0}),this.offEvent("scrollend.data-grid.virtual-scroll",this.container),this.onEvent("scrollend.data-grid.virtual-scroll",this.container,e=>{e.stopImmediatePropagation(),this.treeGrid||n(this,D,V).call(this,t)}),this.offEvent("rowexpanded.data-grid.virtual-scroll",this),this.onEvent("rowexpanded.data-grid.virtual-scroll",this,e=>{n(this,J,Gi).call(this,!0,e.detail)}),this.offEvent("rowcollapsed.data-grid.virtual-scroll",this),this.onEvent("rowcollapsed.data-grid.virtual-scroll",this,e=>{n(this,J,Gi).call(this,!1,e.detail)})},ui=new WeakSet,bt=function(){this.offEvent("scroll.data-grid"),this.offEvent("scroll.data-grid.virtual-scroll"),this.offEvent("scrollend.data-grid.virtual-scroll")},G=new WeakSet,di=function(i,t){let e=i.childrenVRefIds?.length>0,d=i.rowExpanded;this.updateDataset(i.vsRefId,{rowHidden:!t}),i.rowHidden=!t,e&&i.childrenVRefIds.forEach(s=>{n(this,G,di).call(this,this.data[s],d&&!i.rowHidden)})},J=new WeakSet,Gi=function(i,t){let e=t.row,d=t.allRows,s=this.virtualScrollSettings.ROW_HEIGHT,r=Math.floor(this.container.scrollTop/s);if(d){n(this,S,A).call(this,r);return}this.updateDataset(e,{rowExpanded:i,rowHidden:!1}),n(this,G,di).call(this,this.data[e],!0),n(this,S,A).call(this,r)},S=new WeakSet,A=function(i,t={}){let e=this.rows,d=this.data,s=this.virtualRows,r=s.length-1,o=this.virtualScrollSettings,g=Math.min(o.MAX_ROWS_IN_DOM,s.length);i=Math.max(i,0),i=Math.min(i,r);let l=i-o.BUFFER_ROWS;l=Math.min(l,r-g+1),l=Math.max(l,0);let p,u;for(p=0;p<e.length;p++){u=l+p;let b=e[p],f=s[u]?.vsRefId;f>=0&&(b.rowIndex=f),t[f]&&b.renderRow(f)}if(g-e.length!==0){let b=e.length-g;b>0&&e.slice(-1*b).forEach(x=>x.remove());let f=g-e.length;f>0&&(this.body.innerHTML+=[...Array(f)].map(()=>{let x=s[++u]?.vsRefId;return I.template(d[x],x,x+1,this)}).join(""))}n(this,_,X).call(this,l,this.virtualRows.length,o)},D=new WeakSet,V=function(i){if(!this.virtualScroll)return;let t=Math.floor(this.container.scrollTop/i);this.treeGrid?n(this,fi,wt).call(this,t):n(this,z,si).call(this,t,!1)},H=new WeakMap,P=new WeakSet,ri=function(i,t){t?i!==v(this,H)[t]&&(v(this,H)[t]=i,this.triggerEvent(`scroll${t}`,this,{bubbles:!0,composed:!0,detail:{elem:this,value:i}})):R(this,H,{})},_=new WeakSet,X=function(i,t,e){let{ROW_HEIGHT:d,MAX_ROWS_IN_DOM:s}=e||this.virtualScrollSettings,r=i*d,g=t*d-s*d-r;this.body?.style.setProperty("transform",`translateY(${r}px)`),this.body?.style.setProperty("padding-bottom",`${Math.max(g,0)}px`)},ii=new WeakSet,Hi=function(i){this.rowByIndex(i)?.scrollIntoView?.();let t=this.header?.clientHeight,e=this.container.scrollHeight,d=this.container.clientHeight;this.container.scrollTop+d>=e||(this.container.scrollTop-=t)},mi=new WeakSet,ft=function(i){if(!this.container||!this.data.length)return;let{ROW_HEIGHT:t}=this.virtualScrollSettings,e=this.data[i].rowHidden,d={};if(e){let r=this.data[i],o=n(this,B,li).call(this,this.data,r.parentElement??"");for(;o;)d[o.vsRefId]=!0,this.updateDataset(o.vsRefId,{rowExpanded:!0,rowHidden:!1}),o=n(this,B,li).call(this,this.data,o.parentElement??"");let g=n(this,yi,St).call(this,r);g&&n(this,G,di).call(this,g,!0)}let s=this.virtualRows.indexOf(this.data[i]);n(this,S,A).call(this,s,d),this.container.scrollTop=s*t},z=new WeakSet,si=function(i,t=!0){let e=this.data,d=this.rows;if(!e.length||!d.length)return;let s=this.virtualScrollSettings,r=e.length-1;if(i=Math.max(i,0),i=Math.min(i,r),!this.virtualScroll){n(this,ii,Hi).call(this,i);return}let o=this.container,g=this.body,l=d[0],p=d[d.length-1],u=l.rowIndex,b=p.rowIndex,f=i<u,x=i>b,M=!f&&!x,y=b>=r,w=i-s.BUFFER_ROWS;if(w=Math.max(w,0),w=Math.min(w,r),M&&t){this.offEvent("scroll.data-grid.virtual-scroll",this.container),n(this,ii,Hi).call(this,i),n(this,Z,Oi).call(this);return}if(M){let Ii=w-u,zi=Math.abs(Ii);if(Ii>0)y||n(this,vi,Et).call(this,Ii);else if(zi<s.MAX_ROWS_IN_DOM)n(this,ti,Pi).call(this,zi);else return}else f?n(this,W,ni).call(this,w):x&&n(this,W,ni).call(this,w);let L=s.ROW_HEIGHT,N=this.rows[0].rowIndex*L;y||g.style.setProperty("transform",`translateY(${N}px)`),n(this,bi,xt).call(this,s,this.data.length,N),t&&(o.scrollTop=i*L)},bi=new WeakSet,xt=function(i,t,e){let s=t*i.ROW_HEIGHT-i.MAX_ROWS_IN_DOM*i.ROW_HEIGHT-e;this.body?.style.setProperty("padding-bottom",`${Math.max(s,0)}px`)},fi=new WeakSet,wt=function(i){let t=this.rows,e=this.virtualRows;if(!e.length||!t.length){n(this,_,X).call(this,0,0);return}let d=e.length-1;i=Math.max(i,0),i=Math.min(i,d);let s=this.virtualScrollSettings,r=t[0],o=e.indexOf(r.rowData),g=t[t.length-1],l=e.indexOf(g.rowData),p=l>=d,u=i-s.BUFFER_ROWS;u=Math.max(u,0),u=Math.min(u,d);let b=t[0],f=e.indexOf(b.rowData),x=t[t.length-1],M=e.indexOf(x.rowData),y=u-f,w=y<0?Math.abs(y):NaN,L=i>=f&&i<=M,Ri={maxRowIndex:d,firstVisibleRowIndex:o,lastVisibleRowIndex:l,dataVisibleRows:e};if(L){if(y>0&&!p){let N=this.rows.slice(0,y);n(this,xi,vt).call(this,Ri,N)}else if(w&&w<s.MAX_ROWS_IN_DOM){let N=this.rows.slice(-1*w);n(this,wi,yt).call(this,Ri,N)}}else n(this,S,A).call(this,i);e=this.virtualRows,r=this.rowsVisible[0],o=e.indexOf(r.rowData),n(this,_,X).call(this,o,e.length,s)},xi=new WeakSet,vt=function(i,t){let{maxRowIndex:e,lastVisibleRowIndex:d,dataVisibleRows:s}=i,r=[];t.forEach((o,g)=>{let l=d+g+1,p=s[l];if(l>e)return;let u=p.vsRefId;o.rowIndex=u,r.push(o)}),r.length&&this.body?.append(...r)},wi=new WeakSet,yt=function(i,t){let{firstVisibleRowIndex:e,dataVisibleRows:d}=i,s=[];t.forEach((r,o)=>{let g=e-(o+1),p=d[g].vsRefId;r.rowIndex=p,s.push(r)}),s.length&&this.body?.prepend(...s.reverse())},W=new WeakSet,ni=function(i){let t=this.data,e=this.rows;if(!t.length||!e.length)return;let d=t.length-1;i=Math.min(i,d),i=Math.max(i,0);let{MAX_ROWS_IN_DOM:s}=this.virtualScrollSettings;this.rows.every((r,o)=>{let g=i+o;if(g>d){let l=s-o;return n(this,ti,Pi).call(this,l),!1}return r.rowIndex=g,!0})},vi=new WeakSet,Et=function(i){let t=this.rows;if(!i||!t.length)return;let e=this.data,s=t[t.length-1].rowIndex,r=t.slice(0,i),o=[];r.every((g,l)=>{let p=s+(l+1);return p>=e.length?!1:(g.rowIndex=p,o.push(g))}),o.length&&(o.length>=this.virtualScrollSettings.MAX_ROWS_IN_DOM||this.body?.append(...o))},ti=new WeakSet,Pi=function(i){let t=this.rows;if(!i||!t.length)return;let d=t[0].rowIndex,s=t.slice(-1*i),r=[];s.every((o,g)=>{let l=d-(g+1);return l<0?!1:(o.rowIndex=l,r.push(o))}),r.length&&this.body?.prepend(...r.reverse())},B=new WeakSet,li=function(i,t){let e;return t.split(" ").forEach((d,s)=>{s===0?e=i.find(r=>r?r[this.idColumn]==d:!1):e=e?.children.find(r=>r?r[this.idColumn]==d:!1)}),e},yi=new WeakSet,St=function(i){if(!i.parentElement)return i;let t=i.parentElement.split(" ")[0];return this.data.find(d=>d[this.idColumn]==t)},T=new WeakSet,q=function(){this.container?.setAttribute("aria-rowcount",this.rowCount.toString())},Ei=new WeakSet,Rt=function(){if(!this.autoFitSet&&this.autoFit===!0){let i=this.pagination==="none"?"100%":"calc(100% - 44px)";this.container?.style.setProperty("height",i),this.wrapper?.style.setProperty("height","100%"),this.autoFitSet=!0}},Si=new WeakSet,It=function(){let i=this.wrapper?.querySelectorAll("ids-popup-menu");i?.length&&[...i].forEach(t=>t.remove())},U=Wi([Bi("ids-data-grid"),Fi(gt)],U);export{U as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"./ids-chunk-UR2NLGN4.js";import{e as a}from"./ids-chunk-5Q3WPKMB.js";import{a as n}from"./ids-chunk-
|
|
1
|
+
import{b as i}from"./ids-chunk-UR2NLGN4.js";import{e as a}from"./ids-chunk-5Q3WPKMB.js";import{a as n}from"./ids-chunk-WEDRKSLP.js";var o=t=>Array.isArray(t)&&t.length>0&&t.every(e=>e.name&&e.color&&(e.dates||e.dayOfWeek)),l=t=>class extends t{#t={dates:[],years:[],minDate:"",maxDate:"",dayOfWeek:[],isEnable:!1};#e=[];#n={start:null,end:null,separator:" - ",minDays:0,maxDays:0,selectForward:!1,selectBackward:!1,includeDisabled:!1,selectWeek:!1};constructor(...e){super(...e)}static get attributes(){return[...t.attributes,n.RANGE_SETTINGS,n.USE_RANGE]}connectedCallback(){super.connectedCallback?.()}disconnectedCallback(){super.disconnectedCallback?.()}get disableSettings(){return this.#t}set disableSettings(e){this.#t={...this.#t,...i(e)},typeof this.onDisableSettingsChange=="function"&&this.onDisableSettingsChange(this.#t)}get legend(){return this.#e}set legend(e){if(e===null||Array.isArray(e)&&!e.length)this.#e=[];else if(o(e))this.#e=i(e);else throw new Error("ids-month-view: Invalid legend data provided");typeof this.onLegendSettingsChange=="function"&&this.onLegendSettingsChange(this.#e)}getLegendByDate(e){if(this.#e)return this.#e.find(s=>{let g=s.dayOfWeek?.includes(e.getDay()),r=s.dates?.some(d=>new Date(d).getTime()===e.getTime());return g||r})}get rangeSettings(){return this.#n}set rangeSettings(e){!e||e===null?this.resetRangeSettings():this.#n={...this.#n,...i(e)},typeof this.onRangeSettingsChange=="function"&&this.onRangeSettingsChange(e)}resetRangeSettings(){this.rangeSettings={start:null,end:null,separator:" - ",minDays:0,maxDays:0,selectForward:!1,selectBackward:!1,includeDisabled:!1,selectWeek:!1}}get useRange(){let e=this.getAttribute(n.USE_RANGE);return a(e)}set useRange(e){let s=a(e);s?this.setAttribute(n.USE_RANGE,"true"):this.removeAttribute(n.USE_RANGE),typeof this.onUseRangeChange=="function"&&this.onUseRangeChange(s)}},f=l;export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m,c as I,d as E,e as S,f as O,g as b}from"./ids-chunk-GX2AIROS.js";import{b as w}from"./ids-chunk-UR2NLGN4.js";import{c as D}from"./ids-chunk-5Q3WPKMB.js";var N={prefix:m,suffix:m,allowThousandsSeparator:!0,symbols:{currency:"$",decimal:".",negative:"-",thousands:","},allowDecimal:!1,decimalLimit:0,locale:"",requireDecimal:!1,allowNegative:!1,allowLeadingZeros:!1,integerLimit:null};function V(r=""){let e=`${r}`.match(/^0*/);return e?e[0].length:0}function k(r){return r.split(m).map(e=>S.test(e)?S:e)}function _(r,e={},s={}){if(r===""||Number.isNaN(r))return r;let t=r;if(e.locale?.formatNumber&&(t=e.locale.formatNumber(r,s)),e.allowLeadingZeros&&r.indexOf("0")===0){let o=V(r);for(t.indexOf("0")===0&&(t=t.substring(1));o>0;)o-=1,t=`0${t}`}return t}function L(r,e){let s={any:b,digits:S,alphas:O};s[e]||(e="any");let t=r.toString().length,o=[];for(;t>0;)o.push(s[e]),t-=1;return o}function X(r="",e={}){let s=w(N);s=Object.assign(s,e);let t=s.prefix,o=s.suffix,c=s.symbols.decimal,p=s.symbols.thousands,y=t?.length||0,R=o?.length||0,A=p?.length||0,n=r,a;typeof n!="string"&&(n=m);let i=n.length;if((n===m||n[0]===t[0]&&i===1)&&(a=t.split(m).concat([S]).concat(o.split(m))),n===c&&s.allowDecimal&&(a=t.split(m).concat(["0",I,c,I,S]).concat(o.split(m))),Array.isArray(a))return{mask:a};let g=n.lastIndexOf(c),x=g!==-1,M=n[0]===s.symbols.negative&&s.allowNegative,u,l;if(n.slice(R*-1)===o&&(n=n.slice(0,R*-1)),x?(u=n.slice(n.slice(0,y)===t?y:0,g),l=n.slice(g+1,i),l=k(l.replace(E,m))):n.slice(0,y)===t?u=n.slice(y):u=n,e.integerLimit&&typeof e.integerLimit=="number"){let f=p==="."?"[.]":`${p}`,h=(u.match(new RegExp(f,"g"))||[]).length;u=u.slice(0,e.integerLimit+(M?1:0)+h*A)}if(u=u.replace(E,m),e.allowLeadingZeros||(u=u.replace(/^0+(0$|[^0])/,"$1")),e.allowThousandsSeparator){let f={maximumSignificantDigits:e.integerLimit,style:"decimal",useGrouping:e.allowThousandsSeparator};u=_(u,e,f)}return a=k(u),(x&&e.allowDecimal||e.requireDecimal===!0)&&(n[g-1]!==c&&a.push(I),a.push(c,I),l&&(typeof e.decimalLimit=="number"&&(l=l.slice(0,e.decimalLimit)),a=a.concat(l)),e.requireDecimal===!0&&n[g-1]===c&&a.push(S)),y>0&&(a=t.split(m).concat(a)),M&&(a.length===y&&a.push(S),a=[/-/].concat(a)),o.length>0&&(a=a.concat(o.split(m))),{mask:a}}var C={format:"M/d/yyyy",symbols:{timeSeparator:":",dayPeriodSeparator:" ",dateSeparator:"/"}},F={dd:31,d:31,MMM:void 0,MM:12,M:12,yy:99,yyyy:9999,h:12,hh:12,H:24,HH:24,mm:60,ss:60,a:void 0};function G(r){let s=r.split("").map(t=>t===" "?"\\s":t==="-"?"\\-":t);return new RegExp(`[(${s.join("|")})]+`)}function T(r="",e={}){let s=w(C);s=Object.assign(s,e);let t=[],o=r;typeof r!="string"&&(o="");let c=S,p=s.format,y=D(p.replace(/[dMyHhmsa]+/g,"")),R=G(y),A=p.match(/(d{1,2}|M{1,4}|y{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|a{1}|z{1, 4}|E{1, 4})/g),n=o.split(R),a=F;return A.forEach((i,g)=>{let x=a[i],M;if(i==="a"||i==="ah"){let l="AM",f="PM";if(e.locale.calendar()){l=e.locale.calendar().dayPeriods[0],f=e.locale.calendar().dayPeriods[1];let h=[];for(let d=0;d<l.length;d++)l[d]&&f[d]&&l[d].toLowerCase()===f[d].toLowerCase()?h.push(l[d].toLowerCase()):h.push(l[d].toLowerCase()+(f[d]?f[d].toLowerCase():""));for(let d=0;d<h.length;d++)t.push(new RegExp(`[${h[d]}]`,"i"))}else t.push(/[aApP]/,/[Mm]/);if(i==="ah"){let h=n[g].replace(l,"").replace(f,"");t=t.concat(L(h,"digits"))}}else if(!x)t=t.concat(L(i,"alphas"));else if(n[g]){let l=n[g].toString(),f=parseInt(l.substr(0,1),10),h=parseInt(a[i].toString().substr(0,1),10);i.length===1&&f>h||l!=="0"&&l.length===1&&f<=h&&n[g+1]!==void 0&&i.toUpperCase()!=="HH"?t.push(c):t=t.concat(L(x,"digits"))}else for(M=x.toString().length;M>0;)t.push(c),M-=1;let u=A[g+1];if(u!==void 0){let l=i.toString().length,f=p.indexOf(i)+l,h=p.indexOf(u),d=p.substring(f,h).split(m),P=[I].concat(d.concat(I));t=t.concat(P)}}),{mask:t,literals:y.split(""),literalRegex:R}}function j(r="",e={}){let s=r.split(e.delimiter),t=e.delimiter
|
|
1
|
+
import{a as m,c as I,d as E,e as S,f as O,g as b}from"./ids-chunk-GX2AIROS.js";import{b as w}from"./ids-chunk-UR2NLGN4.js";import{c as D}from"./ids-chunk-5Q3WPKMB.js";var N={prefix:m,suffix:m,allowThousandsSeparator:!0,symbols:{currency:"$",decimal:".",negative:"-",thousands:","},allowDecimal:!1,decimalLimit:0,locale:"",requireDecimal:!1,allowNegative:!1,allowLeadingZeros:!1,integerLimit:null};function V(r=""){let e=`${r}`.match(/^0*/);return e?e[0].length:0}function k(r){return r.split(m).map(e=>S.test(e)?S:e)}function _(r,e={},s={}){if(r===""||Number.isNaN(r))return r;let t=r;if(e.locale?.formatNumber&&(t=e.locale.formatNumber(r,s)),e.allowLeadingZeros&&r.indexOf("0")===0){let o=V(r);for(t.indexOf("0")===0&&(t=t.substring(1));o>0;)o-=1,t=`0${t}`}return t}function L(r,e){let s={any:b,digits:S,alphas:O};s[e]||(e="any");let t=r.toString().length,o=[];for(;t>0;)o.push(s[e]),t-=1;return o}function X(r="",e={}){let s=w(N);s=Object.assign(s,e);let t=s.prefix,o=s.suffix,c=s.symbols.decimal,p=s.symbols.thousands,y=t?.length||0,R=o?.length||0,A=p?.length||0,n=r,a;typeof n!="string"&&(n=m);let i=n.length;if((n===m||n[0]===t[0]&&i===1)&&(a=t.split(m).concat([S]).concat(o.split(m))),n===c&&s.allowDecimal&&(a=t.split(m).concat(["0",I,c,I,S]).concat(o.split(m))),Array.isArray(a))return{mask:a};let g=n.lastIndexOf(c),x=g!==-1,M=n[0]===s.symbols.negative&&s.allowNegative,u,l;if(n.slice(R*-1)===o&&(n=n.slice(0,R*-1)),x?(u=n.slice(n.slice(0,y)===t?y:0,g),l=n.slice(g+1,i),l=k(l.replace(E,m))):n.slice(0,y)===t?u=n.slice(y):u=n,e.integerLimit&&typeof e.integerLimit=="number"){let f=p==="."?"[.]":`${p}`,h=(u.match(new RegExp(f,"g"))||[]).length;u=u.slice(0,e.integerLimit+(M?1:0)+h*A)}if(u=u.replace(E,m),e.allowLeadingZeros||(u=u.replace(/^0+(0$|[^0])/,"$1")),e.allowThousandsSeparator){let f={maximumSignificantDigits:e.integerLimit,style:"decimal",useGrouping:e.allowThousandsSeparator};u=_(u,e,f)}return a=k(u),(x&&e.allowDecimal||e.requireDecimal===!0)&&(n[g-1]!==c&&a.push(I),a.push(c,I),l&&(typeof e.decimalLimit=="number"&&(l=l.slice(0,e.decimalLimit)),a=a.concat(l)),e.requireDecimal===!0&&n[g-1]===c&&a.push(S)),y>0&&(a=t.split(m).concat(a)),M&&(a.length===y&&a.push(S),a=[/-/].concat(a)),o.length>0&&(a=a.concat(o.split(m))),{mask:a}}var C={format:"M/d/yyyy",symbols:{timeSeparator:":",dayPeriodSeparator:" ",dateSeparator:"/"}},F={dd:31,d:31,MMM:void 0,MM:12,M:12,yy:99,yyyy:9999,h:12,hh:12,H:24,HH:24,mm:60,ss:60,a:void 0};function G(r){let s=r.split("").map(t=>t===" "?"\\s":t==="-"?"\\-":t);return new RegExp(`[(${s.join("|")})]+`)}function T(r="",e={}){let s=w(C);s=Object.assign(s,e);let t=[],o=r;typeof r!="string"&&(o="");let c=S,p=s.format,y=D(p.replace(/[dMyHhmsa]+/g,"")),R=G(y),A=p.match(/(d{1,2}|M{1,4}|y{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|a{1}|z{1, 4}|E{1, 4})/g),n=o.split(R),a=F;return A.forEach((i,g)=>{let x=a[i],M;if(i==="a"||i==="ah"){let l="AM",f="PM";if(e.locale.calendar()){l=e.locale.calendar().dayPeriods[0],f=e.locale.calendar().dayPeriods[1];let h=[];for(let d=0;d<l.length;d++)l[d]&&f[d]&&l[d].toLowerCase()===f[d].toLowerCase()?h.push(l[d].toLowerCase()):h.push(l[d].toLowerCase()+(f[d]?f[d].toLowerCase():""));for(let d=0;d<h.length;d++)t.push(new RegExp(`[${h[d]}]`,"i"))}else t.push(/[aApP]/,/[Mm]/);if(i==="ah"){let h=n[g].replace(l,"").replace(f,"");t=t.concat(L(h,"digits"))}}else if(!x)t=t.concat(L(i,"alphas"));else if(n[g]){let l=n[g].toString(),f=parseInt(l.substr(0,1),10),h=parseInt(a[i].toString().substr(0,1),10);i.length===1&&f>h||l!=="0"&&l.length===1&&f<=h&&n[g+1]!==void 0&&i.toUpperCase()!=="HH"?t.push(c):t=t.concat(L(x,"digits"))}else for(M=x.toString().length;M>0;)t.push(c),M-=1;let u=A[g+1];if(u!==void 0){let l=i.toString().length,f=p.indexOf(i)+l,h=p.indexOf(u),d=p.substring(f,h).split(m),P=[I].concat(d.concat(I));t=t.concat(P)}}),{mask:t,literals:y.split(""),literalRegex:R}}function j(r="",e={}){let s=r.split(e.delimiter),t=e.delimiter?.split("")||[],o=T(s[0],e),c=T(s[1],e);return{mask:o.mask.concat(t.concat(c.mask)),literals:t,literalRegex:c.literalRegex}}function z(r,e){e.dateFormat="M/d/yyyy";let s=r.conformedValue.split(""),t=[],o=e.dateFormat.split(/[^dMy]+/),c={d:31,M:12,yy:99,yyyy:9999},p={d:1,M:1,yy:0,yyyy:1};o.forEach(a=>{let i=e.dateFormat.indexOf(a),g=parseInt(c[a].toString().substr(0,1),10);parseInt(s[i],10)>g&&(s[i+1]=s[i],s[i]=0,t.push(i))});let y=new RegExp(`[^${r.placeholderChar}]`),R=r.placeholder.split(y),A=r.conformedValue.split(/\D/g);return o.some((a,i)=>{let g=R[i].length>a.length?R[i].length:a.length,x=A[i]||"",M=parseInt(x,10);return M>c[a]||x.length===g&&M<p[a]})?!1:{value:s.join(""),characterIndexes:t}}export{N as a,X as b,C as c,T as d,j as e,z as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as y}from"./ids-chunk-
|
|
1
|
+
import{a as y}from"./ids-chunk-LYU5TYI5.js";import{a as k}from"./ids-chunk-IAJDGKIJ.js";import{a as v}from"./ids-chunk-S2W3UJWN.js";import{a as x}from"./ids-chunk-MBTINBC7.js";import{a as m}from"./ids-chunk-CATQTJOO.js";import{a as g,b as f}from"./ids-chunk-XE4WFW5M.js";import{e as r}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-WEDRKSLP.js";import{a as b,d as s,g as o}from"./ids-chunk-Y32WUP63.js";var A=`/* Ids Card Component */
|
|
2
2
|
/** Ripple Mixin - Adds Ripple Classes used in various components */
|
|
3
3
|
.is-rippling {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as n}from"./ids-chunk-
|
|
1
|
+
import{a as n}from"./ids-chunk-6A6ABSRU.js";import{a as c}from"./ids-chunk-CATQTJOO.js";import{a as g}from"./ids-chunk-F2Y4VB7Q.js";import{a as l,b as p}from"./ids-chunk-XE4WFW5M.js";import{a as t}from"./ids-chunk-WEDRKSLP.js";import{a as o,d as m,g as d}from"./ids-chunk-Y32WUP63.js";var y=`.ids-empty-message {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
justify-content: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as l}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-
|
|
1
|
+
import{e as l}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-WEDRKSLP.js";var s=[e.LABEL,e.LABEL_REQUIRED,e.LABEL_STATE],d=t=>t===null||["hidden","collapsed"].includes(t),r=t=>typeof t<"u"&&t!==null?l(t):!0;export{s as a,d as b,r as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as F}from"./ids-chunk-
|
|
1
|
+
import{a as F}from"./ids-chunk-XNY2UBZR.js";import{e as D}from"./ids-chunk-T35PTRDE.js";import{a as O}from"./ids-chunk-GEMCKB3N.js";import{a as k}from"./ids-chunk-KND2YVPO.js";import{a as x}from"./ids-chunk-WBDXDLKP.js";import{a as T}from"./ids-chunk-YSNCZSZO.js";import{a as L}from"./ids-chunk-T6ZV4PDM.js";import{e as C}from"./ids-chunk-CK6SA7FU.js";import{a as N,b as S}from"./ids-chunk-XE4WFW5M.js";import{d as A,n as y}from"./ids-chunk-U4XVR5SW.js";import{a as d}from"./ids-chunk-WEDRKSLP.js";import{a as M,b as r,d as n,g as a}from"./ids-chunk-Y32WUP63.js";var R=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
position: fixed;
|
|
4
4
|
transition: box-shadow var(--ids-motion-duration) var(--ids-motion-ease), transform var(--ids-motion-duration) var(--ids-motion-ease);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./ids-chunk-
|
|
1
|
+
import{a as c}from"./ids-chunk-ANNJ7M2X.js";var d=class{constructor(t){this.root=t}root;#t(){try{if(typeof localStorage?.getItem=="function")return!0}catch{return!1}return!1}#e(){return this.root.savePosition&&this.#t()}savePosition(){if(this.#e()){let t={sizes:[...this.root.sizes()]};["align","axis","disabled"].forEach(e=>{t[e]=this.root[e]}),localStorage.setItem(this.idTobeUse(this.root.uniqueId),JSON.stringify(t)),this.root.triggerEvent("save-position",this.root,{detail:{elem:this.root,uniqueId:this.root.uniqueId,value:t}})}}restorePosition(){if(!this.#e())return null;let t={},e=localStorage.getItem(this.idTobeUse(this.root.uniqueId));if(typeof e=="string"&&e!==""){t={...JSON.parse(e),canRestore:!1};let s=t?.sizes?.length,o=[...this.root.childNodes].filter(i=>i instanceof c);s&&s===o?.length&&(t.canRestore=!0,["align","axis","disabled"].forEach(i=>{t[i]!==this.root[i]&&(t.canRestore=!1)}))}return t?.canRestore?t:null}clearPosition(t){let e=[];if(this.#t()){let s=t||this.root.uniqueId,o=this.idTobeUse(s);Object.keys(localStorage).some(n=>n===o)&&(localStorage.removeItem(o),e.push(s))}this.root.triggerEvent("clear-position",this.root,{detail:{elem:this.root,clearIds:e}})}clearPositionAll(){let t=[];this.#t()&&Object.keys(localStorage).forEach(s=>{let o="{idstempclearstorage}",i=this.idTobeUse(o);if(new RegExp(`^${i.replace(o,"(.+)")}$`,"g").test(s)){let r=i.split(o),a=new RegExp(`^${r.join("|")}$`,"g"),l=s.replace(a,"");localStorage.removeItem(s),t.push(l)}}),this.root.triggerEvent("clear-position",this.root,{detail:{elem:this.root,clearIds:t}})}idTobeUse(t,e,s){let o={uniqueId:"",prefix:"ids-splitter",suffix:"usersettings-position"},i=[t,e,s].some(r=>r!=null),n=o.prefix;if(i){let r=(a,l)=>l??o[a];n=`${r("prefix",s)}-${r("uniqueId",t)}-${r("suffix",e)}`}return n}};export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as y}from"./ids-chunk-T6ZV4PDM.js";import{a as m}from"./ids-chunk-CATQTJOO.js";import{a as p}from"./ids-chunk-
|
|
1
|
+
import{a as y}from"./ids-chunk-T6ZV4PDM.js";import{a as m}from"./ids-chunk-CATQTJOO.js";import{a as p}from"./ids-chunk-F2Y4VB7Q.js";import{a as A,b}from"./ids-chunk-XE4WFW5M.js";import{e as l}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-WEDRKSLP.js";import{a as f,b as v,d as h,g as o}from"./ids-chunk-Y32WUP63.js";var E=`/* Ids Rating Component */
|
|
2
2
|
.rating {
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: inline-flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as V}from"./ids-chunk-
|
|
1
|
+
import{a as V}from"./ids-chunk-YSNCZSZO.js";import{a as $}from"./ids-chunk-CATQTJOO.js";import{a as C}from"./ids-chunk-TSR3CW57.js";import{a as D}from"./ids-chunk-F2Y4VB7Q.js";import{a as M,b as B}from"./ids-chunk-XE4WFW5M.js";import{d as R,e as b}from"./ids-chunk-5Q3WPKMB.js";import{a as n}from"./ids-chunk-WEDRKSLP.js";import{a as L,b as S,d as a,g as l}from"./ids-chunk-Y32WUP63.js";var x=`/* Ids Toolbar More Actions Component */
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as B}from"./ids-chunk-
|
|
1
|
+
import{a as B}from"./ids-chunk-QOF4IG2V.js";import{a as P}from"./ids-chunk-S2W3UJWN.js";import{a as O}from"./ids-chunk-MBTINBC7.js";import{a as l,b,c as v,d as f,e as q,f as g,g as D}from"./ids-chunk-HHPBYC7Z.js";import{a as L}from"./ids-chunk-RYENC4X3.js";import{a as C}from"./ids-chunk-YSNCZSZO.js";import{a as T}from"./ids-chunk-CATQTJOO.js";import{a as S}from"./ids-chunk-TSR3CW57.js";import{a as N}from"./ids-chunk-F2Y4VB7Q.js";import{a as I,b as E}from"./ids-chunk-XE4WFW5M.js";import{e}from"./ids-chunk-5Q3WPKMB.js";import{a as i,b as w}from"./ids-chunk-WEDRKSLP.js";import{a as y,b as m,c as x,d as p,e as A,g as k}from"./ids-chunk-Y32WUP63.js";var _=`/**
|
|
2
2
|
* Ids Button Component CSS
|
|
3
3
|
* (Includes standard and icon button rules)
|
|
4
4
|
*/
|
|
@@ -208,6 +208,14 @@ button {
|
|
|
208
208
|
.ids-menu-button:not(.btn-secondary):not(.no-margins) {
|
|
209
209
|
margin: var(--ids-space-10);
|
|
210
210
|
}
|
|
211
|
+
.ids-button.field-height-xxs:not(.btn-secondary):not(.no-margins),
|
|
212
|
+
.ids-toggle-button.field-height-xxs:not(.btn-secondary):not(.no-margins),
|
|
213
|
+
.ids-menu-button.field-height-xxs:not(.btn-secondary):not(.no-margins) {
|
|
214
|
+
margin-block-start: 3px;
|
|
215
|
+
margin-inline-end: -2px;
|
|
216
|
+
height: 22px;
|
|
217
|
+
width: 22px;
|
|
218
|
+
}
|
|
211
219
|
.ids-button ::slotted(span),
|
|
212
220
|
.ids-toggle-button ::slotted(span),
|
|
213
221
|
.ids-menu-button ::slotted(span) {
|
|
@@ -593,6 +601,12 @@ button {
|
|
|
593
601
|
.ids-icon-button:not(.btn-secondary):not(.no-margins) {
|
|
594
602
|
margin: var(--ids-space-10);
|
|
595
603
|
}
|
|
604
|
+
.ids-icon-button.field-height-xxs:not(.btn-secondary):not(.no-margins) {
|
|
605
|
+
margin-block-start: 3px;
|
|
606
|
+
margin-inline-end: -2px;
|
|
607
|
+
height: 22px;
|
|
608
|
+
width: 22px;
|
|
609
|
+
}
|
|
596
610
|
.ids-icon-button ::slotted(span) {
|
|
597
611
|
font-weight: inherit !important;
|
|
598
612
|
}
|
|
@@ -920,6 +934,12 @@ button {
|
|
|
920
934
|
.ids-modal-button:not(.ids-modal-icon-button):not(.btn-secondary):not(.no-margins) {
|
|
921
935
|
margin: var(--ids-space-10);
|
|
922
936
|
}
|
|
937
|
+
.ids-modal-button:not(.ids-modal-icon-button).field-height-xxs:not(.btn-secondary):not(.no-margins) {
|
|
938
|
+
margin-block-start: 3px;
|
|
939
|
+
margin-inline-end: -2px;
|
|
940
|
+
height: 22px;
|
|
941
|
+
width: 22px;
|
|
942
|
+
}
|
|
923
943
|
.ids-modal-button:not(.ids-modal-icon-button) ::slotted(span) {
|
|
924
944
|
font-weight: inherit !important;
|
|
925
945
|
}
|
|
@@ -1091,7 +1111,7 @@ button {
|
|
|
1091
1111
|
margin-inline-end: auto;
|
|
1092
1112
|
left: 0;
|
|
1093
1113
|
right: 0;
|
|
1094
|
-
}`;var U=L(C(B(P(S(O(T(N))))))),h,M,a,R,z,c=class extends U{constructor(){super();
|
|
1114
|
+
}`;var U=L(C(B(P(S(O(T(N))))))),h,M,a,R,z,c=class extends U{constructor(){super();p(this,h);p(this,a);m(this,"shouldUpdate",!1);m(this,"colorVariants",["alternate","alternate-formatter","module","module-nav"]);Object.keys(f).forEach(t=>{this.state[t]=f[t]}),Object.defineProperty(this,"tabIndex",{get:()=>x(this,a,z),set:t=>{A(this,a,t,R)},configurable:!0,enumerable:!0})}connectedCallback(){super.connectedCallback(),k(this,h,M).call(this),this.shouldUpdate=!0,this.getAttribute("width")&&(this.width=this.getAttribute("width")),this.cssClass=this.cssClass}static get attributes(){return[...super.attributes,...q]}get protoClasses(){let t=this.querySelector("span:not(.audible), ids-text:not([audible])");return this.iconEl&&!t?["ids-icon-button"]:["ids-button"]}refreshProtoClasses(){if(!this.button)return;let t=this.button.classList,o=this.protoClasses;t.remove(...D),t.add(...o)}template(){let t="",o="",n="",r='tabindex="0"',s="";this.state?.cssClass&&(t=` ${this.state.cssClass.join(" ")}`),this.state?.disabled&&(n=' disabled="true"'),this.state?.tabIndex&&(r=`tabindex="${this.state.tabIndex}"`),this.state&&this.state?.appearance!=="default"&&this.state.appearance!==void 0&&(s=` btn-${this.state.appearance}`),this.hasAttribute(i.SQUARE)&&(t+=" square"),this.hasAttribute(i.NO_PADDING)&&(t+=" no-padding"),this.protoClasses.length&&(o=`${this.protoClasses.join(" ")}`);let u="";return this.state?.iconAlign&&(u=` align-icon-${this.state?.iconAlign}`),`<button part="button" class="${o}${s}${u}${t}" ${r}${n}>
|
|
1095
1115
|
<slot></slot>
|
|
1096
1116
|
<slot name="loading-indicator"></slot>
|
|
1097
|
-
</button>`}onHiddenChange(t){let o=e(t);this.shouldUpdate=!1,o?this.setAttribute(i.HIDDEN,""):this.removeAttribute(i.HIDDEN),this.shouldUpdate=!0,this.state.hidden=o,this.button&&(this.button.hidden=o)}setAriaText(){this.container&&this.container.setAttribute(w.ARIA_LABEL,this.text?.trim()||"Button")}get button(){return this.shadowRoot?.querySelector("button")||null}set contentAlign(t){!t||b.indexOf(t)<=0?(this.removeAttribute(i.CONTENT_ALIGN),this.state.contentAlign=b[0]):(this.setAttribute(i.CONTENT_ALIGN,t),this.state.contentAlign!==t&&(this.state.contentAlign=t)),this.setContentAlignClass(t)}get contentAlign(){return this.state.appearance}setContentAlignClass(t){this.button&&b.forEach(o=>{let n=`content-align-${o}`;if(t===o){o!=="default"&&!this.button?.classList.contains(n)&&this.button?.classList.add(n);return}this.button?.classList.contains(n)&&this.button?.classList.remove(n)})}set cssClass(t){let o=t,n=[],r=[].concat(this.state.cssClass);if(Array.isArray(t)?(n=t,o=t.join(" ")):typeof t=="string"&&t.length&&(n=t.split(" ")),this.state.cssClass=n,n.length?this.setAttribute(i.CSS_CLASS,o.toString()):this.removeAttribute(i.CSS_CLASS),!this.button)return;let s=this.button.classList,u=Array.from(s);r.forEach(d=>{n.includes(d)||s.remove(d)}),n.forEach(d=>{u.includes(d)||s.add(d)})}get cssClass(){return this.state.cssClass}set disabled(t){let o=e(t);this.shouldUpdate=!1,o?this.setAttribute(i.DISABLED,""):this.removeAttribute(i.DISABLED),this.shouldUpdate=!0,this.state.disabled=o,this.button&&(this.button.disabled=o)}get disabled(){return this.state.disabled}set icon(t){if(typeof t!="string"||!t.length){this.removeAttribute(i.ICON),this.state.icon=void 0,this.removeIcon();return}this.state.icon=t,this.setAttribute(i.ICON,t),this.appendIcon(t)}get icon(){return this.iconEl?.getAttribute("icon")}get iconEl(){return this.querySelector("ids-icon")}set iconAlign(t){g.includes(`align-icon-${t}`)||(t=void 0),this.state.iconAlign=t,this.setIconAlignment()}get iconAlign(){return this.state?.iconAlign}get width(){return this.getAttribute(i.WIDTH)}set width(t){if(!t){this.removeAttribute(i.WIDTH),this.style.width="",this.button&&(this.button.style.width="");return}t.indexOf("%")!==-1?(this.style.width=t,this.button&&(this.button.style.width="")):(this.style.width="",this.button&&(this.button.style.width=t)),this.setAttribute(i.WIDTH,t)}appendIcon(t){let o=this.querySelector("ids-icon"),n=this.iconAlign,r=n==="end"?"beforeend":"afterbegin";o?(o.icon!==t&&(o.icon=t,this.setIconAlignment()),n==="end"&&this.hasIncorrectEndElement()?this.append(o):this.hasIncorrectStartElement()&&this.prepend(o)):this.insertAdjacentHTML(r,`<ids-icon icon="${t}" class="ids-icon"></ids-icon>`),this.refreshProtoClasses()}removeIcon(){let t=this.querySelector("ids-icon");t&&t.remove(),this.setIconAlignment(),this.refreshProtoClasses()}setIconAlignment(){if(!this.button)return;let t=this.iconAlign,o=this.icon;if(this.button.classList.remove(...g),t&&o){this.button.classList.add(`align-icon-${t}`);let n=this.hasIncorrectStartElement(),r=this.hasIncorrectEndElement();(n||r)&&this.appendIcon(o)}}hasIncorrectStartElement(){return this.iconAlign==="start"&&!this.children[0].isEqualNode(this.iconEl)}hasIncorrectEndElement(){return this.iconAlign==="end"&&!this.children[this.children.length-1].isEqualNode(this.iconEl)}set text(t){if(this.removeAttribute(i.TEXT),typeof t!="string"||!t.length){this.state.text="",this.removeText();return}this.state.text=t,this.appendText(t)}get text(){let t=this.querySelector("span:not(.audible)");return t&&t.textContent?.length?t.textContent:this.textContent}appendText(t){let o=this.querySelector("span:not(.audible)"),n=this.iconAlign,r=n==="end"?"afterbegin":"beforeend";o?(o.textContent=t,this.setAriaText(),n==="end"&&this.hasIncorrectEndElement()?this.prepend(o):n==="start"&&this.hasIncorrectStartElement()&&this.append(o)):this.insertAdjacentHTML(r,`<span>${t}</span>`),this.refreshProtoClasses()}removeText(){let t=this.querySelector("span:not(.audible)");t&&t.remove(),this.refreshProtoClasses()}set appearance(t){!t||l.indexOf(t)<=0?(this.removeAttribute(i.APPEARANCE),this.state.appearance=l[0]):(this.setAttribute(i.APPEARANCE,t),this.state.appearance!==t&&(this.state.appearance=t)),this.setAppearanceClass(t)}get appearance(){return this.state.appearance}set type(t){t&&
|
|
1117
|
+
</button>`}onHiddenChange(t){let o=e(t);this.shouldUpdate=!1,o?this.setAttribute(i.HIDDEN,""):this.removeAttribute(i.HIDDEN),this.shouldUpdate=!0,this.state.hidden=o,this.button&&(this.button.hidden=o)}setAriaText(){this.container&&this.container.setAttribute(w.ARIA_LABEL,this.text?.trim()||"Button")}get button(){return this.shadowRoot?.querySelector("button")||null}set contentAlign(t){!t||b.indexOf(t)<=0?(this.removeAttribute(i.CONTENT_ALIGN),this.state.contentAlign=b[0]):(this.setAttribute(i.CONTENT_ALIGN,t),this.state.contentAlign!==t&&(this.state.contentAlign=t)),this.setContentAlignClass(t)}get contentAlign(){return this.state.appearance}setContentAlignClass(t){this.button&&b.forEach(o=>{let n=`content-align-${o}`;if(t===o){o!=="default"&&!this.button?.classList.contains(n)&&this.button?.classList.add(n);return}this.button?.classList.contains(n)&&this.button?.classList.remove(n)})}set cssClass(t){let o=t,n=[],r=[].concat(this.state.cssClass);if(Array.isArray(t)?(n=t,o=t.join(" ")):typeof t=="string"&&t.length&&(n=t.split(" ")),this.state.cssClass=n,n.length?this.setAttribute(i.CSS_CLASS,o.toString()):this.removeAttribute(i.CSS_CLASS),!this.button)return;let s=this.button.classList,u=Array.from(s);r.forEach(d=>{n.includes(d)||s.remove(d)}),n.forEach(d=>{u.includes(d)||s.add(d)})}get cssClass(){return this.state.cssClass}set disabled(t){let o=e(t);this.shouldUpdate=!1,o?this.setAttribute(i.DISABLED,""):this.removeAttribute(i.DISABLED),this.shouldUpdate=!0,this.state.disabled=o,this.button&&(this.button.disabled=o)}get disabled(){return this.state.disabled}set icon(t){if(typeof t!="string"||!t.length){this.removeAttribute(i.ICON),this.state.icon=void 0,this.removeIcon();return}this.state.icon=t,this.setAttribute(i.ICON,t),this.appendIcon(t)}get icon(){return this.iconEl?.getAttribute("icon")}get iconEl(){return this.querySelector("ids-icon")}set iconAlign(t){g.includes(`align-icon-${t}`)||(t=void 0),this.state.iconAlign=t,this.setIconAlignment()}get iconAlign(){return this.state?.iconAlign}get width(){return this.getAttribute(i.WIDTH)}set width(t){if(!t){this.removeAttribute(i.WIDTH),this.style.width="",this.button&&(this.button.style.width="");return}t.indexOf("%")!==-1?(this.style.width=t,this.button&&(this.button.style.width="")):(this.style.width="",this.button&&(this.button.style.width=t)),this.setAttribute(i.WIDTH,t)}appendIcon(t){let o=this.querySelector("ids-icon"),n=this.iconAlign,r=n==="end"?"beforeend":"afterbegin";o?(o.icon!==t&&(o.icon=t,this.setIconAlignment()),n==="end"&&this.hasIncorrectEndElement()?this.append(o):this.hasIncorrectStartElement()&&this.prepend(o)):this.insertAdjacentHTML(r,`<ids-icon icon="${t}" class="ids-icon"></ids-icon>`),this.refreshProtoClasses()}removeIcon(){let t=this.querySelector("ids-icon");t&&t.remove(),this.setIconAlignment(),this.refreshProtoClasses()}setIconAlignment(){if(!this.button)return;let t=this.iconAlign,o=this.icon;if(this.button.classList.remove(...g),t&&o){this.button.classList.add(`align-icon-${t}`);let n=this.hasIncorrectStartElement(),r=this.hasIncorrectEndElement();(n||r)&&this.appendIcon(o)}}hasIncorrectStartElement(){return this.iconAlign==="start"&&!this.children[0].isEqualNode(this.iconEl)}hasIncorrectEndElement(){return this.iconAlign==="end"&&!this.children[this.children.length-1].isEqualNode(this.iconEl)}set text(t){if(this.removeAttribute(i.TEXT),typeof t!="string"||!t.length){this.state.text="",this.removeText();return}this.state.text=t,this.appendText(t)}get text(){let t=this.querySelector("span:not(.audible)");return t&&t.textContent?.length?t.textContent:this.textContent}appendText(t){let o=this.querySelector("span:not(.audible)"),n=this.iconAlign,r=n==="end"?"afterbegin":"beforeend";o?(o.textContent=t,this.setAriaText(),n==="end"&&this.hasIncorrectEndElement()?this.prepend(o):n==="start"&&this.hasIncorrectStartElement()&&this.append(o)):this.insertAdjacentHTML(r,`<span>${t}</span>`),this.refreshProtoClasses()}removeText(){let t=this.querySelector("span:not(.audible)");t&&t.remove(),this.refreshProtoClasses()}set appearance(t){!t||l.indexOf(t)<=0?(this.removeAttribute(i.APPEARANCE),this.state.appearance=l[0]):(this.setAttribute(i.APPEARANCE,t),this.state.appearance!==t&&(this.state.appearance=t)),this.setAppearanceClass(t)}get appearance(){return this.state.appearance}set type(t){t&&v.includes(t)?(this.setAttribute(i.TYPE,t),this.button?.setAttribute(i.TYPE,t),this.state.type!==t&&(this.state.type=t)):(this.removeAttribute(i.TYPE),this.button?.removeAttribute(i.TYPE),this.state.type=v[0])}get type(){return this.state.type}set noMargins(t){if(e(t)){this.setAttribute(i.NO_MARGINS,""),this.container?.classList.add(i.NO_MARGINS);return}this.removeAttribute(i.NO_MARGINS),this.container?.classList.remove(i.NO_MARGINS)}get noMargins(){return e(this.getAttribute(i.NO_MARGINS))}set noPadding(t){let o=this.noPadding,n=e(t);o!==n&&(n?(this.container?.classList.add(i.NO_PADDING),this.setAttribute(i.NO_PADDING,"true")):(this.container?.classList.remove(i.NO_PADDING),this.removeAttribute(i.NO_PADDING)))}get noPadding(){return e(this.getAttribute(i.NO_PADDING))}set square(t){let o=e(t);this.button&&(o&&!this.button.classList.contains("square")?this.button.classList.add("square"):!o&&this.button.classList.contains("square")&&this.button.classList.remove("square")),o&&!this.hasAttribute(i.SQUARE)?this.setAttribute(i.SQUARE,""):!o&&this.hasAttribute(i.SQUARE)&&this.removeAttribute(i.SQUARE)}get square(){return this.hasAttribute(i.SQUARE)}setAppearanceClass(t){this.button&&(l.forEach(o=>{let n=`btn-${o}`;if(t===o){o!=="default"&&!this.button?.classList.contains(n)&&this.button?.classList.add(n);return}this.button?.classList.contains(n)&&this.button?.classList.remove(n)}),this.button?.classList.remove("btn-undefined"))}focus(){this.button?.focus()}onColorVariantRefresh(){let t=this.querySelectorAll("ids-icon"),o=this.querySelectorAll("ids-text, span"),n=r=>{r instanceof HTMLSpanElement||(r.colorVariant=this.colorVariant)};[...t,...o].forEach(n)}};h=new WeakSet,M=function(){this.hasAttribute(i.ICON)&&this.appendIcon(this.getAttribute(i.ICON)),this.hasAttribute(i.TEXT)&&this.appendText(this.getAttribute(i.TEXT)),this.setAriaText();let t=this.button?.classList.contains("ids-icon-button");this.setupRipple(this.button,t?35:50),this.hasAttribute(i.CONTENT_ALIGN)&&this.setContentAlignClass(this.getAttribute(i.CONTENT_ALIGN)),this.setIconAlignment(),this.refreshProtoClasses(),this.localeAPI.updateDirectionAttribute(this,this.localeAPI.language.name)},a=new WeakSet,R=function(t){let o=Number(t);if(this.removeAttribute(i.TABINDEX),Number.isNaN(o)||o<-1){this.state.tabIndex=0,this.button?.setAttribute(i.TABINDEX,"0");return}this.state.tabIndex=o,this.button?.setAttribute(i.TABINDEX,`${o}`)},z=function(){return this.state.tabIndex},c=y([I("ids-button"),E(_)],c);export{_ as a,c as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as n}from"./ids-chunk-U4XVR5SW.js";import{a as i}from"./ids-chunk-
|
|
1
|
+
import{d as n}from"./ids-chunk-U4XVR5SW.js";import{a as i}from"./ids-chunk-WEDRKSLP.js";var l=e=>class extends e{constructor(...t){super(...t)}static get attributes(){return[...e.attributes,i.TOOLTIP,i.TOOLTIP_PLACEMENT]}connectedCallback(){super.connectedCallback?.(),this.handleTooltipEvents()}handleTooltipEvents(){this.offEvent("hoverend.tooltipmixin"),this.tooltip&&this.onEvent("hoverend.tooltipmixin",this,t=>{t.stopPropagation(),this.showTooltip()},{delay:500,bubbles:!0})}get tooltipEl(){return this.getTooltipContainer()?.querySelector("#mixin-tooltip")}get toolTipTarget(){let t=this;return typeof this.onTooltipTargetDetection=="function"&&(t=this.onTooltipTargetDetection(this.tooltipEl)),t}getTooltipContainer(){let t=document.querySelector("ids-container");return t||(t=document.body),t}showTooltip(){if(typeof this.canTooltipShow=="function"&&!this.canTooltipShow(this.tooltipEl,this.tooltip))return;let t=this.getTooltipContainer(),o=t.querySelector("#mixin-tooltip");o||(o=document.createElement("ids-tooltip"),o.id="mixin-tooltip",t?.appendChild(o)),o.state||(o.state={}),o.target=this.toolTipTarget,o.state.noAria=!0,o.textContent=this.tooltip==="true"?this.textContent:this.tooltip,this.hasAttribute(i.TOOLTIP_PLACEMENT)&&(o.placement=this.getAttribute(i.TOOLTIP_PLACEMENT)),o.visible=!0,o.popup?.place(),n(this,"ids-container")?.getAttribute("dir")==="rtl"&&o.popup?.setAttribute("dir","rtl"),this.beforeTooltipShow&&this.beforeTooltipShow(o),o.onEvent("hide.tooltipmixin",o,()=>{document.querySelector("#mixin-tooltip")?.remove()})}beforeTooltipShow(t){}set tooltip(t){t&&(this.setAttribute("tooltip",t),this.container?.setAttribute("tooltip",t),this.handleTooltipEvents())}get tooltip(){return this.getAttribute("tooltip")}},a=l;export{a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as H}from"./ids-chunk-CATQTJOO.js";import{a as B}from"./ids-chunk-
|
|
1
|
+
import{a as H}from"./ids-chunk-CATQTJOO.js";import{a as B}from"./ids-chunk-TSR3CW57.js";import{a as O}from"./ids-chunk-F2Y4VB7Q.js";import{a as C,b as N}from"./ids-chunk-XE4WFW5M.js";import{e as x}from"./ids-chunk-5Q3WPKMB.js";import{a as r}from"./ids-chunk-WEDRKSLP.js";import{a as S,b as M,c as p,d as o,g as i}from"./ids-chunk-Y32WUP63.js";var R=`/* Ids Breadcrumb Component */
|
|
2
2
|
.ids-breadcrumb {
|
|
3
3
|
-webkit-font-smoothing: antialiased;
|
|
4
4
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as a}from"./ids-chunk-U4XVR5SW.js";import{e as l}from"./ids-chunk-5Q3WPKMB.js";import{a as r}from"./ids-chunk-
|
|
1
|
+
import{k as a}from"./ids-chunk-U4XVR5SW.js";import{e as l}from"./ids-chunk-5Q3WPKMB.js";import{a as r}from"./ids-chunk-WEDRKSLP.js";var o=p=>class extends p{rippleTarget;rippleRadius=50;constructor(...t){super(...t)}static get attributes(){return[...p.attributes,r.NO_RIPPLE]}set noRipple(t){l(t)?(this.setAttribute(r.NO_RIPPLE,""),this.#e()):(this.removeAttribute(r.NO_RIPPLE),this.#t())}get noRipple(){return this.hasAttribute(r.NO_RIPPLE)}connectedCallback(){super.connectedCallback?.()}disconnectedCallback(){super.disconnectedCallback?.(),this.removeRipples(),this.#e()}setupRipple(t,s){this.rippleTarget=t||this.container,this.rippleRadius=s||this.rippleRadius,this.#t()}removeRipples(){this.rippleTarget?.querySelectorAll(".ripple-effect")?.forEach(i=>{i.remove()})}#e(){this.offEvent("click.ripple"),this.offEvent("touchstart.ripple")}#t(){if(this.noRipple)return;let t,s,i=!1;this.onEvent("click.ripple",this.rippleTarget,async e=>{if(i){i=!1;return}t=e.clientX!==0?e.clientX:void 0,s=e.clientY!==0?e.clientY:void 0,await this.createRipple(t,s)}),this.onEvent("touchstart.ripple",this.rippleTarget,async e=>{if(e.touches&&e.touches.length>0){let n=e.touches[0];t=n.clientX!==0?n.clientX:void 0,s=n.clientY!==0?n.clientY:void 0,await this.createRipple(t,s),i=!0}},{passive:!0})}async createRipple(t,s){if(this.noRipple||this.disabled||this.readonly)return;this.removeRipples();let i=this.rippleTarget,e=document.createElement("span");e.classList.add("ripple-effect"),e.setAttribute("aria-hidden","true"),e.setAttribute("focusable","false"),e.style.width=`${this.rippleRadius*2}px`,e.style.height=`${this.rippleRadius*2}px`;let n=this.getRippleOffsets(t,s);i?.classList.add("is-rippling"),i?.prepend(e),e.style.left=`${n.x}px`,e.style.top=`${n.y}px`,e.classList.add("animating"),await a(e,"ripple-animation"),i?.classList.remove("is-rippling"),e.remove(),this.#i(e)}#i(t){this.triggerEvent("rippleend",this,{detail:{element:t}})}getRippleOffsets(t,s){let i=this.getBoundingClientRect(),e,n;return t?e=t-i.left:e=i.width/2,s?n=s-i.top:n=i.height/2,e-=this.rippleRadius,n-=this.rippleRadius,{x:e,y:n}}},m=o;export{m as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-
|
|
1
|
+
import{e as a}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-WEDRKSLP.js";var i=!1,c=n=>class extends n{DEFAULT_SELECTABLE=i;constructor(...s){super(...s),this.state||(this.state={}),this.state.selectable=i}static get attributes(){return[...n.attributes,e.SELECTABLE]}connectedCallback(){super.connectedCallback?.(),this.#t()}attachSelectionEvents(){this.offEvent("click.chartselection",this.container),this.selectable&&this.onEvent("click.chartselection",this.container,async s=>{let t=this.selectionElements?.findIndex(o=>o===s.target);!Number.isNaN(t)&&t>-1&&this.setSelection?.(t)})}detachSelectionEvents(){this.offEvent("click.chartselection",this.container)}#t(){this.DEFAULT_SELECTABLE=this.DEFAULT_SELECTABLE??i,this.DEFAULT_SELECTABLE!==i&&!this.hasAttribute(e.SELECTABLE)&&(this.state||(this.state={}),this.state.selectable=this.DEFAULT_SELECTABLE),this.container?.classList[this.selectable?"add":"remove"](e.SELECTABLE),this.attachSelectionEvents()}#e(s){typeof this.onSelectableChange=="function"&&this.onSelectableChange(s)}set selectable(s){let t=a(s);t!==this.state.selectable&&(this.state.selectable=t,t?(this.setAttribute(e.SELECTABLE,""),this.container?.classList.add(e.SELECTABLE)):(this.removeAttribute(e.SELECTABLE),this.container?.classList.remove(e.SELECTABLE)),this.#e(t),this.attachSelectionEvents())}get selectable(){return this.state.selectable}},E=c;export{E as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as X}from"./ids-chunk-
|
|
1
|
+
import{a as X}from"./ids-chunk-GBYYWX3C.js";import{a as U}from"./ids-chunk-55OT46JK.js";import{a as W}from"./ids-chunk-Q34RMGF3.js";import{a as K}from"./ids-chunk-3KETWUOK.js";import{a as F}from"./ids-chunk-U3IWSQKD.js";import{a as l,b as v,c as m,d as j}from"./ids-chunk-SBYA6MC4.js";import{b as Y}from"./ids-chunk-J763DNOL.js";import{a as $}from"./ids-chunk-J3ORU6PU.js";import{a as G}from"./ids-chunk-OOGHKPVO.js";import{a as q}from"./ids-chunk-QOF4IG2V.js";import{a as _}from"./ids-chunk-RYENC4X3.js";import{a as B}from"./ids-chunk-YSNCZSZO.js";import{a as z}from"./ids-chunk-T6ZV4PDM.js";import{a as V}from"./ids-chunk-CATQTJOO.js";import{a as H}from"./ids-chunk-TSR3CW57.js";import{a as M}from"./ids-chunk-F2Y4VB7Q.js";import{a as D,b as O}from"./ids-chunk-XE4WFW5M.js";import{d as N}from"./ids-chunk-U4XVR5SW.js";import{e as r}from"./ids-chunk-5Q3WPKMB.js";import{a as i}from"./ids-chunk-WEDRKSLP.js";import{a as P,b as g,c as C,d as a,g as s}from"./ids-chunk-Y32WUP63.js";var Z=`@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
3
|
* Css for clearable mixin
|
|
4
4
|
*/
|
|
@@ -992,4 +992,4 @@ import{a as X}from"./ids-chunk-NJU624TC.js";import{a as U}from"./ids-chunk-ITGBA
|
|
|
992
992
|
${this.label}
|
|
993
993
|
</ids-text>
|
|
994
994
|
<slot name="label-post"></slot>
|
|
995
|
-
</label>`,ti=this.hasAttribute(i.VALUE)?` value="${this.getAttribute(i.VALUE)}" `:"";return{ariaLabel:S,capsLock:k,containerClass:p,inputClass:n,inputState:d,labelHtml:ii,placeholder:o,showHide:L,type:e,value:ti}}get isPasswordVisible(){return this.revealablePassword&&this.type===l.password}templateShowHide(){return this.isPasswordVisible?`<ids-button id="show-hide-password" class="show-hide-password" no-padding text="${this.passwordVisible?"HIDE":"SHOW"}"></ids-button>`:""}templateCapsLock(){return this.capsLock?'<ids-icon id="caps-lock-indicator" class="caps-lock-indicator" icon="capslock"></ids-icon>':""}onColorVariantRefresh(t){super.colorVariant=t,this.clearable&&this.refreshClearableButtonStyles()}get input(){return this.container?.querySelector('input[part="input"]')??null}get formInput(){return this.input}get capsLockIcon(){return this.container?.querySelector("#caps-lock-indicator")}get fieldContainer(){return this.container?.querySelector(".field-container")}get labelEl(){return C(this,E)||this.shadowRoot?.querySelector("label")}get revealablePassword(){return r(this.getAttribute(i.REVEALABLE_PASSWORD))}set revealablePassword(t){let o=r(t);this.type===l.password?o?(this.setAttribute(i.REVEALABLE_PASSWORD,"true"),s(this,u,y).call(this,!0)):(this.setAttribute(i.REVEALABLE_PASSWORD,"false"),s(this,u,y).call(this,!1)):this.removeAttribute(i.REVEALABLE_PASSWORD)}get capsLock(){return r(this.getAttribute(i.CAPS_LOCK))}set capsLock(t){r(t)?(this.setAttribute(i.CAPS_LOCK,"true"),s(this,c,x).call(this,!0)):(this.removeAttribute(i.CAPS_LOCK),s(this,c,x).call(this,!1))}get passwordVisible(){return r(this.getAttribute(i.PASSWORD_VISIBLE))}set passwordVisible(t){let o=r(t);o!==this.passwordVisible&&(o?this.setAttribute(i.PASSWORD_VISIBLE,"true"):this.setAttribute(i.PASSWORD_VISIBLE,"false")),s(this,b,T).call(this)}setInputState(t){if(t===i.READONLY||t===i.DISABLED){if(!this.shadowRoot)return;let o=[].slice.call(this.shadowRoot.querySelectorAll(".validation-message")),e={prop1:t,prop2:t!==i.READONLY?i.READONLY:i.DISABLED,val:r(this[t])};e.val?(this.input?.removeAttribute(e.prop2),this.container?.classList?.remove?.(e.prop2),this.container?.querySelector?.("ids-text")?.removeAttribute(e.prop2),o.forEach(n=>n.classList.remove(e.prop2)),this.input?.setAttribute(e.prop1,"true"),this.container?.classList.add(e.prop1),this.container?.querySelector?.("ids-text")?.setAttribute?.(e.prop1,"true"),o.forEach(n=>n.classList.add(e.prop1))):(this.input?.removeAttribute(e.prop1),this.container?.classList.remove(e.prop1),this.container?.querySelector("ids-text")?.removeAttribute(e.prop1),o.forEach(n=>n.classList.remove(e.prop1)))}}setLabelText(t){return super.setLabelText(t,"label")}handleAutoselect(){this.autoselect?this.handleInputFocusEvent():this.handleInputFocusEvent("remove")}handleInputFocusEvent(t){let o="focus";if(t==="remove"){let e=this?.handledEvents?.get(o);e&&e.target===this.input&&this.offEvent(o,this.input)}else this.onEvent(o,this.input,()=>{requestAnimationFrame(()=>{this.input?.select()})})}set active(t){let o=r(t),e="is-active";o?(this.setAttribute(i.ACTIVE,o.toString()),this.container?.classList.add(e)):(this.removeAttribute(i.ACTIVE),this.container?.classList.remove(e))}get active(){return r(this.hasAttribute(i.ACTIVE))}set autoselect(t){let o=r(t);o?this.setAttribute(i.AUTOSELECT,o.toString()):this.removeAttribute(i.AUTOSELECT),this.handleAutoselect()}get autoselect(){return r(this.getAttribute(i.AUTOSELECT))}set bgTransparent(t){let o=r(t),e="bg-transparent";o?(this.setAttribute(i.BG_TRANSPARENT,o.toString()),this.container?.classList.add(e),this.input?.classList.add(e)):(this.removeAttribute(i.BG_TRANSPARENT),this.container?.classList.remove(e),this.input?.classList.remove(e))}get bgTransparent(){return r(this.getAttribute(i.BG_TRANSPARENT))}set textEllipsis(t){let o=r(t),e="text-ellipsis";o?(this.setAttribute(i.TEXT_ELLIPSIS,o.toString()),this.input?.classList.add(e)):(this.removeAttribute(i.TEXT_ELLIPSIS),this.input?.classList.remove(e))}get textEllipsis(){return r(this.getAttribute(i.TEXT_ELLIPSIS))}set disabled(t){r(t)?this.setAttribute(i.DISABLED,"true"):this.removeAttribute(i.DISABLED),this.setInputState(i.DISABLED)}get disabled(){return r(this.getAttribute(i.DISABLED))}set placeholder(t){if(t){this.setAttribute(i.PLACEHOLDER,t),this.input?.setAttribute(i.PLACEHOLDER,t);return}this.removeAttribute(i.PLACEHOLDER),this.input?.removeAttribute(i.PLACEHOLDER)}get placeholder(){return this.getAttribute(i.PLACEHOLDER)}set readonly(t){let o=r(t);o?this.setAttribute(i.READONLY,o.toString()):this.removeAttribute(i.READONLY),this.setInputState(i.READONLY)}get readonly(){return r(this.getAttribute(i.READONLY))}set readonlyBackground(t){let o=r(t);o?this.setAttribute(i.READONLY_BACKGROUND,o.toString()):this.removeAttribute(i.READONLY_BACKGROUND),s(this,f,R).call(this)}get readonlyBackground(){return r(this.getAttribute(i.READONLY_BACKGROUND))}set labelWrap(t){!t||j.indexOf(t)<0?(this.removeAttribute(i.LABEL_WRAP),this.container?.querySelector("ids-text")?.removeAttribute("overflow"),this.container?.querySelector("ids-text")?.removeAttribute("tooltip")):(this.setAttribute(i.LABEL_WRAP,t),(t==="ellipsis"||t==="ellipsis-no-stretch")&&(this.container?.querySelector("ids-text")?.setAttribute("overflow","ellipsis"),this.container?.querySelector("ids-text")?.setAttribute("tooltip","true")))}get labelWrap(){return this.getAttribute(i.LABEL_WRAP)||"wrap"}set size(t){let o=v[t]||v.default;this.setAttribute(i.SIZE,o),this.container?.classList.remove(...Object.values(v)),this.container?.classList.add(o)}get size(){return this.getAttribute(i.SIZE)||v.default}set textAlign(t){let o=m[t]||m.default;this.setAttribute(i.TEXT_ALIGN,o),this.input?.classList.remove("start","center","end"),this.input?.classList.add(o)}get textAlign(){return this.getAttribute(i.TEXT_ALIGN)||m.default}set type(t){let o=l[t];if(o){this.setAttribute(i.TYPE,t),this.input?.setAttribute(i.TYPE,o);return}this.setAttribute(i.TYPE,l.default),this.input?.setAttribute(i.TYPE,l.default)}get type(){return this.getAttribute(i.TYPE)??l.default}set value(t){let o=["string","number"].includes(typeof t)?String(t):String(t||""),e=this.value;this.mask&&(o=this.processMaskFromProperty(t||"")||o,this.input&&(this.input.value=o)),e!==o&&this.setAttribute(i.VALUE,o)}get value(){return this.input?.value??""}set cursor(t){this.setAttribute(i.CURSOR,t),this.input?.style.setProperty("cursor",t)}get cursor(){return this.getAttribute(i.CURSOR)??""}set maxlength(t){if(t){this.setAttribute(i.MAXLENGTH,t.toString()),this.input?.setAttribute(i.MAXLENGTH,t.toString());return}this.removeAttribute(i.MAXLENGTH),this.input?.removeAttribute(i.MAXLENGTH)}get maxlength(){return Number(this.getAttribute(i.MAXLENGTH))}set uppercase(t){if(r(t)){this.setAttribute(i.UPPERCASE,""),this.input?.classList.add("is-uppercase");return}this.removeAttribute(i.UPPERCASE),this.input?.classList.remove("is-uppercase")}get uppercase(){return r(this.getAttribute(i.UPPERCASE))}set noMargins(t){if(r(t)){this.setAttribute(i.NO_MARGINS,""),this.container?.classList.add("no-margins");return}this.removeAttribute(i.NO_MARGINS),this.container?.classList.remove("no-margins")}get noMargins(){return r(this.getAttribute(i.NO_MARGINS))}set padding(t){if(t){this.setAttribute(i.PADDING,String(t)),this.input?.style.setProperty("padding-inline-start",`${t}px`),this.input?.style.setProperty("padding-inline-end",`${t}px`);return}this.removeAttribute(i.PADDING),this.input?.style.setProperty("padding-inline-start",""),this.input?.style.setProperty("padding-inline-end","")}get padding(){return this.getAttribute(i.PADDING)||""}get format(){return this.getAttribute(i.FORMAT)}blur(){this.input?.blur()}focus(){this.input?.focus()}};c=new WeakSet,x=function(t){let o=e=>{this.capsLockIcon&&e.getModifierState&&(this.capsLockIcon.hidden=!e.getModifierState("CapsLock"))};t?(!this.capsLockIcon&&this.input&&this.input.insertAdjacentHTML("afterend",this.templateCapsLock()),this.offEvent("keydown.input-capslock"),this.onEvent("keydown.input-capslock",this,o),this.offEvent("keyup.input-capslock"),this.onEvent("keyup.input-capslock",this,o),this.capsLockIcon&&(this.capsLockIcon.hidden=!0)):(this.offEvent("keydown.input-capslock"),this.offEvent("keyup.input-capslock"),this.capsLockIcon?.remove())},w=new WeakSet,J=function(){return this.input?(["focus","select","keydown","keypress","keyup","click","dbclick"].forEach(o=>{this.onEvent(o,this.input,e=>{this.triggerEvent(e.type,this,{detail:{elem:this,nativeEvent:e,value:this.value}})})}),this):this},A=new WeakSet,Q=function(){s(this,w,J).call(this)},u=new WeakSet,y=function(t){let o=this.container?.querySelector(".show-hide-password");if(t){if(!o&&this.isPasswordVisible){let e=document.createElement("ids-button");e.text=this.passwordVisible?"HIDE":"SHOW",e.id="show-hide-password",e.classList.add("show-hide-password"),e.noPadding=!0,this.input&&(this.input.insertAdjacentElement("afterend",e),this.input.type=`${this.passwordVisible?"text":this.type}`)}this.offEvent("click.input-showhidepassword"),this.onEvent("click.input-showhidepassword",o,()=>{this.passwordVisible=!this.passwordVisible,s(this,b,T).call(this)})}else this.offEvent("click.input-showhidepassword"),this.input?.setAttribute("type",this.type),o?.remove()},b=new WeakSet,T=function(){if(!this.shadowRoot)return;let t=this.shadowRoot.querySelector(".show-hide-password"),o=this.shadowRoot.querySelector(".ids-input-field");this.passwordVisible?(t?.setAttribute("text","HIDE"),o?.setAttribute("type","text")):(t?.setAttribute("text","SHOW"),o?.setAttribute("type","password"))},E=new WeakMap,f=new WeakSet,R=function(){this.container?.classList.toggle(i.READONLY_BACKGROUND,this.readonlyBackground)},h=P([D("ids-input"),O(Z)],h);export{h as a};
|
|
995
|
+
</label>`,ti=this.hasAttribute(i.VALUE)?` value="${this.getAttribute(i.VALUE)}" `:"";return{ariaLabel:S,capsLock:k,containerClass:p,inputClass:n,inputState:d,labelHtml:ii,placeholder:o,showHide:L,type:e,value:ti}}get isPasswordVisible(){return this.revealablePassword&&this.type===l.password}templateShowHide(){return this.isPasswordVisible?`<ids-button id="show-hide-password" class="show-hide-password" no-padding text="${this.passwordVisible?"HIDE":"SHOW"}"></ids-button>`:""}templateCapsLock(){return this.capsLock?'<ids-icon id="caps-lock-indicator" class="caps-lock-indicator" icon="capslock"></ids-icon>':""}onColorVariantRefresh(t){super.colorVariant=t,this.clearable&&this.refreshClearableButtonStyles()}get input(){return this.container?.querySelector('input[part="input"]')??null}get formInput(){return this.input}get capsLockIcon(){return this.container?.querySelector("#caps-lock-indicator")}get fieldContainer(){return this.container?.querySelector(".field-container")}get labelEl(){return C(this,E)||this.shadowRoot?.querySelector("label")}get revealablePassword(){return r(this.getAttribute(i.REVEALABLE_PASSWORD))}set revealablePassword(t){let o=r(t);this.type===l.password?o?(this.setAttribute(i.REVEALABLE_PASSWORD,"true"),s(this,u,y).call(this,!0)):(this.setAttribute(i.REVEALABLE_PASSWORD,"false"),s(this,u,y).call(this,!1)):this.removeAttribute(i.REVEALABLE_PASSWORD)}get capsLock(){return r(this.getAttribute(i.CAPS_LOCK))}set capsLock(t){r(t)?(this.setAttribute(i.CAPS_LOCK,"true"),s(this,c,x).call(this,!0)):(this.removeAttribute(i.CAPS_LOCK),s(this,c,x).call(this,!1))}get passwordVisible(){return r(this.getAttribute(i.PASSWORD_VISIBLE))}set passwordVisible(t){let o=r(t);o!==this.passwordVisible&&(o?this.setAttribute(i.PASSWORD_VISIBLE,"true"):this.setAttribute(i.PASSWORD_VISIBLE,"false")),s(this,b,T).call(this)}setInputState(t){if(t===i.READONLY||t===i.DISABLED){if(!this.shadowRoot)return;let o=[].slice.call(this.shadowRoot.querySelectorAll(".validation-message")),e={prop1:t,prop2:t!==i.READONLY?i.READONLY:i.DISABLED,val:r(this[t])};e.val?(this.input?.removeAttribute(e.prop2),this.container?.classList?.remove?.(e.prop2),this.container?.querySelector?.("ids-text")?.removeAttribute(e.prop2),o.forEach(n=>n.classList.remove(e.prop2)),this.input?.setAttribute(e.prop1,"true"),this.container?.classList.add(e.prop1),this.container?.querySelector?.("ids-text")?.setAttribute?.(e.prop1,"true"),o.forEach(n=>n.classList.add(e.prop1))):(this.input?.removeAttribute(e.prop1),this.container?.classList.remove(e.prop1),this.container?.querySelector("ids-text")?.removeAttribute(e.prop1),o.forEach(n=>n.classList.remove(e.prop1)))}}setLabelText(t){return super.setLabelText(t,"label")}handleAutoselect(){this.autoselect?this.handleInputFocusEvent():this.handleInputFocusEvent("remove")}handleInputFocusEvent(t){let o="focus";if(t==="remove"){let e=this?.handledEvents?.get(o);e&&e.target===this.input&&this.offEvent(o,this.input)}else this.onEvent(o,this.input,()=>{requestAnimationFrame(()=>{this.input?.select()})})}set active(t){let o=r(t),e="is-active";o?(this.setAttribute(i.ACTIVE,o.toString()),this.container?.classList.add(e)):(this.removeAttribute(i.ACTIVE),this.container?.classList.remove(e))}get active(){return r(this.hasAttribute(i.ACTIVE))}set autoselect(t){let o=r(t);o?this.setAttribute(i.AUTOSELECT,o.toString()):this.removeAttribute(i.AUTOSELECT),this.handleAutoselect()}get autoselect(){return r(this.getAttribute(i.AUTOSELECT))}set bgTransparent(t){let o=r(t),e="bg-transparent";o?(this.setAttribute(i.BG_TRANSPARENT,o.toString()),this.container?.classList.add(e),this.input?.classList.add(e)):(this.removeAttribute(i.BG_TRANSPARENT),this.container?.classList.remove(e),this.input?.classList.remove(e))}get bgTransparent(){return r(this.getAttribute(i.BG_TRANSPARENT))}set textEllipsis(t){let o=r(t),e="text-ellipsis";o?(this.setAttribute(i.TEXT_ELLIPSIS,o.toString()),this.input?.classList.add(e)):(this.removeAttribute(i.TEXT_ELLIPSIS),this.input?.classList.remove(e))}get textEllipsis(){return r(this.getAttribute(i.TEXT_ELLIPSIS))}set disabled(t){r(t)?this.setAttribute(i.DISABLED,"true"):this.removeAttribute(i.DISABLED),this.setInputState(i.DISABLED)}get disabled(){return r(this.getAttribute(i.DISABLED))}set placeholder(t){if(t){this.setAttribute(i.PLACEHOLDER,t),this.input?.setAttribute(i.PLACEHOLDER,t);return}this.removeAttribute(i.PLACEHOLDER),this.input?.removeAttribute(i.PLACEHOLDER)}get placeholder(){return this.getAttribute(i.PLACEHOLDER)}set readonly(t){let o=r(t);o?this.setAttribute(i.READONLY,o.toString()):this.removeAttribute(i.READONLY),this.setInputState(i.READONLY)}get readonly(){return r(this.getAttribute(i.READONLY))}set readonlyBackground(t){let o=r(t);o?this.setAttribute(i.READONLY_BACKGROUND,o.toString()):this.removeAttribute(i.READONLY_BACKGROUND),s(this,f,R).call(this)}get readonlyBackground(){return r(this.getAttribute(i.READONLY_BACKGROUND))}set labelWrap(t){!t||j.indexOf(t)<0?(this.removeAttribute(i.LABEL_WRAP),this.container?.querySelector("ids-text")?.removeAttribute("overflow"),this.container?.querySelector("ids-text")?.removeAttribute("tooltip")):(this.setAttribute(i.LABEL_WRAP,t),(t==="ellipsis"||t==="ellipsis-no-stretch")&&(this.container?.querySelector("ids-text")?.setAttribute("overflow","ellipsis"),this.container?.querySelector("ids-text")?.setAttribute("tooltip","true")))}get labelWrap(){return this.getAttribute(i.LABEL_WRAP)||"wrap"}set size(t){let o=v[t]||v.default;this.setAttribute(i.SIZE,o),this.container?.classList.remove(...Object.values(v)),this.container?.classList.add(o)}get size(){return this.getAttribute(i.SIZE)||v.default}set textAlign(t){let o=m[t]||m.default;this.setAttribute(i.TEXT_ALIGN,o),this.input?.classList.remove("start","center","end"),this.input?.classList.add(o)}get textAlign(){return this.getAttribute(i.TEXT_ALIGN)||m.default}set type(t){let o=l[t];if(o){this.setAttribute(i.TYPE,t),this.input?.setAttribute(i.TYPE,o);return}this.setAttribute(i.TYPE,l.default),this.input?.setAttribute(i.TYPE,l.default)}get type(){return this.getAttribute(i.TYPE)??l.default}set value(t){let o=["string","number"].includes(typeof t)?String(t):String(t||""),e=this.value;this.mask&&(o=this.processMaskFromProperty(t||"")||o,this.input&&(this.input.value=o)),e!==o&&this.setAttribute(i.VALUE,o)}get value(){return this.input?.value??""}set cursor(t){this.setAttribute(i.CURSOR,t),this.input?.style.setProperty("cursor",t)}get cursor(){return this.getAttribute(i.CURSOR)??""}set maxlength(t){if(t){this.setAttribute(i.MAXLENGTH,t.toString()),this.input?.setAttribute(i.MAXLENGTH,t.toString());return}this.removeAttribute(i.MAXLENGTH),this.input?.removeAttribute(i.MAXLENGTH)}get maxlength(){return Number(this.getAttribute(i.MAXLENGTH))}set uppercase(t){if(r(t)){this.setAttribute(i.UPPERCASE,""),this.input?.classList.add("is-uppercase");return}this.removeAttribute(i.UPPERCASE),this.input?.classList.remove("is-uppercase")}get uppercase(){return r(this.getAttribute(i.UPPERCASE))}set noMargins(t){if(r(t)){this.setAttribute(i.NO_MARGINS,""),this.container?.classList.add("no-margins");return}this.removeAttribute(i.NO_MARGINS),this.container?.classList.remove("no-margins")}get noMargins(){return r(this.getAttribute(i.NO_MARGINS))}set padding(t){if(t){this.setAttribute(i.PADDING,String(t)),this.input?.style.setProperty("padding-inline-start",`${t}px`),this.input?.style.setProperty("padding-inline-end",`${t}px`);return}this.removeAttribute(i.PADDING),this.input?.style.setProperty("padding-inline-start",""),this.input?.style.setProperty("padding-inline-end","")}get padding(){return this.getAttribute(i.PADDING)||""}get format(){return this.getAttribute(i.FORMAT)}blur(){this.input?.blur()}focus(){this.input?.focus()}};c=new WeakSet,x=function(t){let o=e=>{this.capsLockIcon&&e.getModifierState&&(this.capsLockIcon.hidden=!e.getModifierState("CapsLock"))};t?(!this.capsLockIcon&&this.input&&this.input.insertAdjacentHTML("afterend",this.templateCapsLock()),this.offEvent("keydown.input-capslock"),this.onEvent("keydown.input-capslock",this,o),this.offEvent("keyup.input-capslock"),this.onEvent("keyup.input-capslock",this,o),this.capsLockIcon&&(this.capsLockIcon.hidden=!0)):(this.offEvent("keydown.input-capslock"),this.offEvent("keyup.input-capslock"),this.capsLockIcon?.remove())},w=new WeakSet,J=function(){return this.input?(["focus","select","keydown","keypress","keyup","click","dbclick"].forEach(o=>{this.onEvent(o,this.input,e=>{this.triggerEvent(e.type,this,{detail:{elem:this,nativeEvent:e,value:this.value}})})}),this.onEvent("input",this.input,o=>{o instanceof InputEvent&&o.stopPropagation()}),this):this},A=new WeakSet,Q=function(){s(this,w,J).call(this)},u=new WeakSet,y=function(t){let o=this.container?.querySelector(".show-hide-password");if(t){if(!o&&this.isPasswordVisible){let e=document.createElement("ids-button");e.text=this.passwordVisible?"HIDE":"SHOW",e.id="show-hide-password",e.classList.add("show-hide-password"),e.noPadding=!0,this.input&&(this.input.insertAdjacentElement("afterend",e),this.input.type=`${this.passwordVisible?"text":this.type}`)}this.offEvent("click.input-showhidepassword"),this.onEvent("click.input-showhidepassword",o,()=>{this.passwordVisible=!this.passwordVisible,s(this,b,T).call(this)})}else this.offEvent("click.input-showhidepassword"),this.input?.setAttribute("type",this.type),o?.remove()},b=new WeakSet,T=function(){if(!this.shadowRoot)return;let t=this.shadowRoot.querySelector(".show-hide-password"),o=this.shadowRoot.querySelector(".ids-input-field");this.passwordVisible?(t?.setAttribute("text","HIDE"),o?.setAttribute("type","text")):(t?.setAttribute("text","SHOW"),o?.setAttribute("type","password"))},E=new WeakMap,f=new WeakSet,R=function(){this.container?.classList.toggle(i.READONLY_BACKGROUND,this.readonlyBackground)},h=P([D("ids-input"),O(Z)],h);export{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h}from"./ids-chunk-CATQTJOO.js";import{a as b}from"./ids-chunk-
|
|
1
|
+
import{a as h}from"./ids-chunk-CATQTJOO.js";import{a as b}from"./ids-chunk-F2Y4VB7Q.js";import{a as m,b as c}from"./ids-chunk-XE4WFW5M.js";import{f as a}from"./ids-chunk-5Q3WPKMB.js";import{a as i}from"./ids-chunk-WEDRKSLP.js";import{a as g,b as o,d as l,g as d}from"./ids-chunk-Y32WUP63.js";var f=`/* Ids Pager Component */
|
|
2
2
|
:host(ids-pager),
|
|
3
3
|
.ids-pager {
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as i}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-
|
|
1
|
+
import{h as i}from"./ids-chunk-5Q3WPKMB.js";import{a as e}from"./ids-chunk-WEDRKSLP.js";var l=({progress:r,type:t="circular"})=>`<div class="progress-percentage ${t}" part="percentage-text">
|
|
2
2
|
<ids-text font-size="14" font-weight="semi-bold" color="unset" label>${r}</ids-text>
|
|
3
3
|
</div>`,m=({progress:r,type:t,percentageVisible:c,inline:s,slotted:a})=>{let n=!Number.isNaN(parseInt(r));switch(t){case e.STICKY:case e.LINEAR:{let o=`y="${t==="sticky"?"0":"12.5"}%"`;return`<svg
|
|
4
4
|
xmlns="http://www.w3.org/2000/svg"
|