@esri/calcite-components 3.2.0-next.2 → 3.2.0-next.4
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/dist/calcite/24NQL5BU.js +4 -0
- package/dist/calcite/24NQL5BU.js.LEGAL.txt +3 -0
- package/dist/calcite/24SN6YSC.js +4 -0
- package/dist/calcite/2DBVSWTH.js +4 -0
- package/dist/calcite/2DBVSWTH.js.LEGAL.txt +3 -0
- package/dist/calcite/2G65TYLB.js +4 -0
- package/dist/calcite/2G65TYLB.js.LEGAL.txt +3 -0
- package/dist/calcite/2I3YSISC.js +4 -0
- package/dist/calcite/2I3YSISC.js.LEGAL.txt +3 -0
- package/dist/calcite/2IVKHLNA.js +4 -0
- package/dist/calcite/2IVKHLNA.js.LEGAL.txt +3 -0
- package/dist/calcite/2IZE775W.js +4 -0
- package/dist/calcite/2IZE775W.js.LEGAL.txt +3 -0
- package/dist/calcite/2MP3FKM6.js +4 -0
- package/dist/calcite/2MP3FKM6.js.LEGAL.txt +3 -0
- package/dist/calcite/2MVN5XWX.js +4 -0
- package/dist/calcite/2TLKJ7ZS.js +4 -0
- package/dist/calcite/2UUEARYP.js +4 -0
- package/dist/calcite/2ZMFQ6BD.js +4 -0
- package/dist/calcite/32TEZ77V.js +4 -0
- package/dist/calcite/32TEZ77V.js.LEGAL.txt +3 -0
- package/dist/calcite/345HP3JN.js +4 -0
- package/dist/calcite/345HP3JN.js.LEGAL.txt +3 -0
- package/dist/calcite/3HU2DMPS.js +4 -0
- package/dist/calcite/3HU2DMPS.js.LEGAL.txt +3 -0
- package/dist/calcite/3JMA2UQG.js +4 -0
- package/dist/calcite/3JMA2UQG.js.LEGAL.txt +3 -0
- package/dist/calcite/3WAARNHD.js +4 -0
- package/dist/calcite/3WAARNHD.js.LEGAL.txt +3 -0
- package/dist/calcite/4B3GNOI2.js +4 -0
- package/dist/calcite/4B3GNOI2.js.LEGAL.txt +3 -0
- package/dist/calcite/4COMZELH.js +4 -0
- package/dist/calcite/4COMZELH.js.LEGAL.txt +3 -0
- package/dist/calcite/4MAARMPE.js +4 -0
- package/dist/calcite/4MAARMPE.js.LEGAL.txt +3 -0
- package/dist/calcite/4TNZUGKM.js +4 -0
- package/dist/calcite/4TNZUGKM.js.LEGAL.txt +3 -0
- package/dist/calcite/4Y4V365D.js +4 -0
- package/dist/calcite/52EMSBNI.js +4 -0
- package/dist/calcite/544TDR3Q.js +4 -0
- package/dist/calcite/544TDR3Q.js.LEGAL.txt +3 -0
- package/dist/calcite/5ANKBM4E.js +4 -0
- package/dist/calcite/5ANKBM4E.js.LEGAL.txt +3 -0
- package/dist/calcite/5JC2GJDH.js +4 -0
- package/dist/calcite/5JC2GJDH.js.LEGAL.txt +3 -0
- package/dist/calcite/5KLCTYHG.js +4 -0
- package/dist/calcite/5KLCTYHG.js.LEGAL.txt +3 -0
- package/dist/calcite/5RKK5CAD.js +4 -0
- package/dist/calcite/5RKK5CAD.js.LEGAL.txt +3 -0
- package/dist/calcite/5XN3A63V.js +4 -0
- package/dist/calcite/5XN3A63V.js.LEGAL.txt +3 -0
- package/dist/calcite/5Y4HI7LH.js +4 -0
- package/dist/calcite/62ICOMSO.js +4 -0
- package/dist/calcite/62ICOMSO.js.LEGAL.txt +3 -0
- package/dist/calcite/667MSFEK.js +4 -0
- package/dist/calcite/667MSFEK.js.LEGAL.txt +3 -0
- package/dist/calcite/6TSPHT4L.js +4 -0
- package/dist/calcite/6TSPHT4L.js.LEGAL.txt +3 -0
- package/dist/calcite/6U2T3HLS.js +4 -0
- package/dist/calcite/6U2T3HLS.js.LEGAL.txt +3 -0
- package/dist/calcite/74QF5PBE.js +4 -0
- package/dist/calcite/74QF5PBE.js.LEGAL.txt +3 -0
- package/dist/calcite/7AYZ76AZ.js +4 -0
- package/dist/calcite/7MERKENV.js +5 -0
- package/dist/calcite/7MERKENV.js.LEGAL.txt +17 -0
- package/dist/calcite/7WAEMXSA.js +4 -0
- package/dist/calcite/7YHPFHOM.js +4 -0
- package/dist/calcite/7YHPFHOM.js.LEGAL.txt +3 -0
- package/dist/calcite/A4HAZBPO.js +4 -0
- package/dist/calcite/A4HAZBPO.js.LEGAL.txt +3 -0
- package/dist/calcite/AGPXHCMI.js +4 -0
- package/dist/calcite/AGPXHCMI.js.LEGAL.txt +3 -0
- package/dist/calcite/AICZR2UX.js +4 -0
- package/dist/calcite/AICZR2UX.js.LEGAL.txt +3 -0
- package/dist/calcite/AM6CFW2N.js +4 -0
- package/dist/calcite/AM6CFW2N.js.LEGAL.txt +3 -0
- package/dist/calcite/AOUW27Q7.js +4 -0
- package/dist/calcite/AOUW27Q7.js.LEGAL.txt +3 -0
- package/dist/calcite/ARUWQQJJ.js +4 -0
- package/dist/calcite/ARUWQQJJ.js.LEGAL.txt +3 -0
- package/dist/calcite/AWKTOL5F.js +4 -0
- package/dist/calcite/AWKTOL5F.js.LEGAL.txt +3 -0
- package/dist/calcite/AY6HTJZS.js +4 -0
- package/dist/calcite/AY6HTJZS.js.LEGAL.txt +3 -0
- package/dist/calcite/AYPMR3BM.js +4 -0
- package/dist/calcite/AYPMR3BM.js.LEGAL.txt +3 -0
- package/dist/calcite/B7OOV5AI.js +4 -0
- package/dist/calcite/BEEZYSRN.js +4 -0
- package/dist/calcite/BEEZYSRN.js.LEGAL.txt +3 -0
- package/dist/calcite/BIJNHGB2.js +4 -0
- package/dist/calcite/BIJNHGB2.js.LEGAL.txt +3 -0
- package/dist/calcite/BLZBLB7W.js +4 -0
- package/dist/calcite/BLZBLB7W.js.LEGAL.txt +3 -0
- package/dist/calcite/BMULOIWK.js +4 -0
- package/dist/calcite/BMULOIWK.js.LEGAL.txt +3 -0
- package/dist/calcite/BOTVSBKN.js +4 -0
- package/dist/calcite/BOTVSBKN.js.LEGAL.txt +3 -0
- package/dist/calcite/BR63BGBW.js +4 -0
- package/dist/calcite/BR63BGBW.js.LEGAL.txt +3 -0
- package/dist/calcite/BRBWQO6O.js +4 -0
- package/dist/calcite/BRBWQO6O.js.LEGAL.txt +3 -0
- package/dist/calcite/BRC6AIJB.js +4 -0
- package/dist/calcite/BV2IB6QQ.js +4 -0
- package/dist/calcite/BV2IB6QQ.js.LEGAL.txt +3 -0
- package/dist/calcite/BYETV4TV.js +4 -0
- package/dist/calcite/C4SABI6B.js +4 -0
- package/dist/calcite/C4SABI6B.js.LEGAL.txt +3 -0
- package/dist/calcite/C72IB567.js +4 -0
- package/dist/calcite/C72IB567.js.LEGAL.txt +3 -0
- package/dist/calcite/CCH3GLHH.js +4 -0
- package/dist/calcite/CGB2TQNB.js +4 -0
- package/dist/calcite/CGB2TQNB.js.LEGAL.txt +3 -0
- package/dist/calcite/CHABVWKT.js +4 -0
- package/dist/calcite/CP5UAD4K.js +4 -0
- package/dist/calcite/CP5UAD4K.js.LEGAL.txt +3 -0
- package/dist/calcite/CWO2IKSM.js +4 -0
- package/dist/calcite/CX2OQVCB.js +4 -0
- package/dist/calcite/CX2OQVCB.js.LEGAL.txt +3 -0
- package/dist/calcite/D73TCPD5.js +4 -0
- package/dist/calcite/D73TCPD5.js.LEGAL.txt +3 -0
- package/dist/calcite/DDE2IK4E.js +4 -0
- package/dist/calcite/DDE2IK4E.js.LEGAL.txt +3 -0
- package/dist/calcite/DLKDJ4QX.js +4 -0
- package/dist/calcite/DLKDJ4QX.js.LEGAL.txt +3 -0
- package/dist/calcite/DMPN2VYL.js +4 -0
- package/dist/calcite/DNJGBINP.js +4 -0
- package/dist/calcite/DNJGBINP.js.LEGAL.txt +3 -0
- package/dist/calcite/DVTDESEW.js +4 -0
- package/dist/calcite/E2FGT227.js +4 -0
- package/dist/calcite/EDAZUFDP.js +4 -0
- package/dist/calcite/ET32NJNM.js +4 -0
- package/dist/calcite/ET32NJNM.js.LEGAL.txt +3 -0
- package/dist/calcite/FB4CIX7F.js +4 -0
- package/dist/calcite/FB4CIX7F.js.LEGAL.txt +3 -0
- package/dist/calcite/FL2NP2W4.js +4 -0
- package/dist/calcite/FL2NP2W4.js.LEGAL.txt +3 -0
- package/dist/calcite/FLYMDIAL.js +4 -0
- package/dist/calcite/FLYMDIAL.js.LEGAL.txt +3 -0
- package/dist/calcite/G5X3DO4K.js +4 -0
- package/dist/calcite/G5X3DO4K.js.LEGAL.txt +3 -0
- package/dist/calcite/G6GJZMHX.js +4 -0
- package/dist/calcite/G6GJZMHX.js.LEGAL.txt +3 -0
- package/dist/calcite/G6SSFWVQ.js +4 -0
- package/dist/calcite/G6SSFWVQ.js.LEGAL.txt +3 -0
- package/dist/calcite/GA2DVVPB.js +4 -0
- package/dist/calcite/GA2DVVPB.js.LEGAL.txt +3 -0
- package/dist/calcite/GCQIQWJ4.js +4 -0
- package/dist/calcite/GFXCQ5D5.js +4 -0
- package/dist/calcite/GFXCQ5D5.js.LEGAL.txt +3 -0
- package/dist/calcite/GHQT2NQH.js +4 -0
- package/dist/calcite/GHQT2NQH.js.LEGAL.txt +3 -0
- package/dist/calcite/GRXA6FGC.js +4 -0
- package/dist/calcite/GRXA6FGC.js.LEGAL.txt +3 -0
- package/dist/calcite/GZPKC7YS.js +4 -0
- package/dist/calcite/GZPKC7YS.js.LEGAL.txt +3 -0
- package/dist/calcite/HNVYGQ2N.js +4 -0
- package/dist/calcite/HNVYGQ2N.js.LEGAL.txt +3 -0
- package/dist/calcite/HOZ53NHV.js +5 -0
- package/dist/calcite/HSKCOEPE.js +4 -0
- package/dist/calcite/HU4SV6O6.js +4 -0
- package/dist/calcite/HY2QBWTK.js +4 -0
- package/dist/calcite/HY2QBWTK.js.LEGAL.txt +3 -0
- package/dist/calcite/HZP6A4X7.js +4 -0
- package/dist/calcite/HZP6A4X7.js.LEGAL.txt +3 -0
- package/dist/calcite/IK7DVJPJ.js +4 -0
- package/dist/calcite/ILWHDVX4.js +4 -0
- package/dist/calcite/IPBIZUFL.js +4 -0
- package/dist/calcite/IPBIZUFL.js.LEGAL.txt +3 -0
- package/dist/calcite/IPHYLHL4.js +4 -0
- package/dist/calcite/IPHYLHL4.js.LEGAL.txt +3 -0
- package/dist/calcite/J3AADCZE.js +4 -0
- package/dist/calcite/J3AADCZE.js.LEGAL.txt +3 -0
- package/dist/calcite/JBNF6LF2.js +4 -0
- package/dist/calcite/JBNF6LF2.js.LEGAL.txt +3 -0
- package/dist/calcite/JJHDQENK.js +4 -0
- package/dist/calcite/JJHDQENK.js.LEGAL.txt +3 -0
- package/dist/calcite/JKF2LOQK.js +4 -0
- package/dist/calcite/JKF2LOQK.js.LEGAL.txt +3 -0
- package/dist/calcite/JLMTBERV.js +4 -0
- package/dist/calcite/JLMTBERV.js.LEGAL.txt +3 -0
- package/dist/calcite/JN6FFI5Q.js +4 -0
- package/dist/calcite/JN6FFI5Q.js.LEGAL.txt +3 -0
- package/dist/calcite/JQG34DHY.js +4 -0
- package/dist/calcite/JQG34DHY.js.LEGAL.txt +3 -0
- package/dist/calcite/JWYAXVCV.js +4 -0
- package/dist/calcite/JZLQLBQW.js +5 -0
- package/dist/calcite/K3VGZBFC.js +4 -0
- package/dist/calcite/K3VGZBFC.js.LEGAL.txt +3 -0
- package/dist/calcite/K575ECHU.js +4 -0
- package/dist/calcite/K575ECHU.js.LEGAL.txt +3 -0
- package/dist/calcite/K5Y3HHE7.js +4 -0
- package/dist/calcite/K5Y3HHE7.js.LEGAL.txt +3 -0
- package/dist/calcite/KDW5YGG6.js +4 -0
- package/dist/calcite/KDW5YGG6.js.LEGAL.txt +3 -0
- package/dist/calcite/KGJMM7KZ.js +4 -0
- package/dist/calcite/KGZ64BWY.js +4 -0
- package/dist/calcite/KIZADQ3T.js +4 -0
- package/dist/calcite/KJTCDWDP.js +4 -0
- package/dist/calcite/KJTCDWDP.js.LEGAL.txt +3 -0
- package/dist/calcite/KR3LIRXV.js +4 -0
- package/dist/calcite/KR3LIRXV.js.LEGAL.txt +3 -0
- package/dist/calcite/KXXMQHWN.js +4 -0
- package/dist/calcite/KXXMQHWN.js.LEGAL.txt +3 -0
- package/dist/calcite/L5R3QRGM.js +4 -0
- package/dist/calcite/L7U7EMTF.js +5 -0
- package/dist/calcite/L7U7EMTF.js.LEGAL.txt +3 -0
- package/dist/calcite/LF3OXNBD.js +4 -0
- package/dist/calcite/LF3OXNBD.js.LEGAL.txt +3 -0
- package/dist/calcite/LHYNVM66.js +4 -0
- package/dist/calcite/LN2XQ4HD.js +4 -0
- package/dist/calcite/LVI5D6CU.js +4 -0
- package/dist/calcite/LVI5D6CU.js.LEGAL.txt +3 -0
- package/dist/calcite/M6HZRHWL.js +4 -0
- package/dist/calcite/MJ6WOBID.js +4 -0
- package/dist/calcite/MJ6WOBID.js.LEGAL.txt +3 -0
- package/dist/calcite/MK3Z7FN3.js +4 -0
- package/dist/calcite/MK3Z7FN3.js.LEGAL.txt +3 -0
- package/dist/calcite/MKGFE5PL.js +4 -0
- package/dist/calcite/MKGFE5PL.js.LEGAL.txt +3 -0
- package/dist/calcite/MNVYO2VZ.js +4 -0
- package/dist/calcite/MNVYO2VZ.js.LEGAL.txt +3 -0
- package/dist/calcite/MQSYIZSU.js +4 -0
- package/dist/calcite/MQSYIZSU.js.LEGAL.txt +3 -0
- package/dist/calcite/MSCUDHCV.js +4 -0
- package/dist/calcite/MSCUDHCV.js.LEGAL.txt +3 -0
- package/dist/calcite/MYHDTLL5.js +4 -0
- package/dist/calcite/MYHDTLL5.js.LEGAL.txt +3 -0
- package/dist/calcite/NBO2KWR7.js +4 -0
- package/dist/calcite/NBO2KWR7.js.LEGAL.txt +3 -0
- package/dist/calcite/NDXDQHCQ.js +4 -0
- package/dist/calcite/NFEP5B2K.js +4 -0
- package/dist/calcite/NS2RS47G.js +4 -0
- package/dist/calcite/NSX7EPM5.js +4 -0
- package/dist/calcite/NSX7EPM5.js.LEGAL.txt +3 -0
- package/dist/calcite/NUAHA3VK.js +4 -0
- package/dist/calcite/NUAHA3VK.js.LEGAL.txt +3 -0
- package/dist/calcite/O3H4LEKL.js +4 -0
- package/dist/calcite/O6TB6SYZ.js +4 -0
- package/dist/calcite/ODWH2J62.js +4 -0
- package/dist/calcite/OEOJIWJI.js +4 -0
- package/dist/calcite/OEOJIWJI.js.LEGAL.txt +3 -0
- package/dist/calcite/OQ6NXYVN.js +4 -0
- package/dist/calcite/OQ6NXYVN.js.LEGAL.txt +3 -0
- package/dist/calcite/OSCUKYRG.js +4 -0
- package/dist/calcite/OVHV23VR.js +4 -0
- package/dist/calcite/OXTQQEDN.js +4 -0
- package/dist/calcite/OXTQQEDN.js.LEGAL.txt +3 -0
- package/dist/calcite/P3P4R5ZV.js +22 -0
- package/dist/calcite/P3P4R5ZV.js.LEGAL.txt +3 -0
- package/dist/calcite/P6ZS57FZ.js +4 -0
- package/dist/calcite/P6ZS57FZ.js.LEGAL.txt +3 -0
- package/dist/calcite/PESNN26O.js +4 -0
- package/dist/calcite/PESNN26O.js.LEGAL.txt +3 -0
- package/dist/calcite/PGP5WO34.js +4 -0
- package/dist/calcite/PGP5WO34.js.LEGAL.txt +3 -0
- package/dist/calcite/PLGSYQRK.js +4 -0
- package/dist/calcite/PLGSYQRK.js.LEGAL.txt +13 -0
- package/dist/calcite/PRDEK63S.js +4 -0
- package/dist/calcite/PTCPIBYL.js +4 -0
- package/dist/calcite/PWNSZIQD.js +4 -0
- package/dist/calcite/PWNSZIQD.js.LEGAL.txt +3 -0
- package/dist/calcite/PYV5O3ED.js +4 -0
- package/dist/calcite/PYV5O3ED.js.LEGAL.txt +3 -0
- package/dist/calcite/Q27RXDMN.js +4 -0
- package/dist/calcite/Q27RXDMN.js.LEGAL.txt +3 -0
- package/dist/calcite/QFE2AL5J.js +4 -0
- package/dist/calcite/QFE2AL5J.js.LEGAL.txt +3 -0
- package/dist/calcite/QKMQ3LKR.js +4 -0
- package/dist/calcite/QPFCOUYI.js +4 -0
- package/dist/calcite/R3MBLILU.js +4 -0
- package/dist/calcite/R6LAFJ4P.js +4 -0
- package/dist/calcite/R6LAFJ4P.js.LEGAL.txt +3 -0
- package/dist/calcite/R7ROQDHE.js +4 -0
- package/dist/calcite/R7ROQDHE.js.LEGAL.txt +3 -0
- package/dist/calcite/RHBNKJLN.js +4 -0
- package/dist/calcite/ROY5V25E.js +4 -0
- package/dist/calcite/ROY5V25E.js.LEGAL.txt +3 -0
- package/dist/calcite/SKNP6H6G.js +4 -0
- package/dist/calcite/SKNP6H6G.js.LEGAL.txt +3 -0
- package/dist/calcite/SMQYIPA4.js +4 -0
- package/dist/calcite/SMQYIPA4.js.LEGAL.txt +3 -0
- package/dist/calcite/STEYZZBY.js +4 -0
- package/dist/calcite/STEYZZBY.js.LEGAL.txt +3 -0
- package/dist/calcite/T3VMFF7Q.js +4 -0
- package/dist/calcite/T6FXXS3Y.js +4 -0
- package/dist/calcite/T6FXXS3Y.js.LEGAL.txt +3 -0
- package/dist/calcite/TA6VDRG5.js +4 -0
- package/dist/calcite/TA6VDRG5.js.LEGAL.txt +3 -0
- package/dist/calcite/TK6LGVBN.js +4 -0
- package/dist/calcite/TK6LGVBN.js.LEGAL.txt +3 -0
- package/dist/calcite/TNTZIL3Q.js +4 -0
- package/dist/calcite/TNTZIL3Q.js.LEGAL.txt +3 -0
- package/dist/calcite/TYEDJC47.js +4 -0
- package/dist/calcite/TYEDJC47.js.LEGAL.txt +3 -0
- package/dist/calcite/U4TLSUQT.js +4 -0
- package/dist/calcite/U4TLSUQT.js.LEGAL.txt +3 -0
- package/dist/calcite/UAZMPAYY.js +28 -0
- package/dist/calcite/UAZMPAYY.js.LEGAL.txt +3 -0
- package/dist/calcite/UC7NHCQJ.js +4 -0
- package/dist/calcite/UC7NHCQJ.js.LEGAL.txt +3 -0
- package/dist/calcite/UCGO5YIJ.js +4 -0
- package/dist/calcite/UM75AYW5.js +4 -0
- package/dist/calcite/UM75AYW5.js.LEGAL.txt +3 -0
- package/dist/calcite/UNQSJBBS.js +4 -0
- package/dist/calcite/UNQSJBBS.js.LEGAL.txt +3 -0
- package/dist/calcite/UQDVLLFF.js +4 -0
- package/dist/calcite/UUGVWXC6.js +4 -0
- package/dist/calcite/V7IAHYM7.js +4 -0
- package/dist/calcite/VE3QYB45.js +4 -0
- package/dist/calcite/VMPWMEHX.js +6 -0
- package/dist/calcite/VMPWMEHX.js.LEGAL.txt +145 -0
- package/dist/calcite/VVZARPYT.js +4 -0
- package/dist/calcite/VVZARPYT.js.LEGAL.txt +3 -0
- package/dist/calcite/VWYK27CQ.js +4 -0
- package/dist/calcite/VWYK27CQ.js.LEGAL.txt +7 -0
- package/dist/calcite/W2RJAM22.js +4 -0
- package/dist/calcite/W656DM7U.js +4 -0
- package/dist/calcite/W656DM7U.js.LEGAL.txt +3 -0
- package/dist/calcite/WG4T24BX.js +4 -0
- package/dist/calcite/WIKREDJO.js +4 -0
- package/dist/calcite/WISN6MVD.js +4 -0
- package/dist/calcite/WISN6MVD.js.LEGAL.txt +3 -0
- package/dist/calcite/WJXRXUA6.js +4 -0
- package/dist/calcite/WLO3BKNW.js +4 -0
- package/dist/calcite/WLO3BKNW.js.LEGAL.txt +3 -0
- package/dist/calcite/WM6AKJI3.js +4 -0
- package/dist/calcite/WNJYX4ST.js +4 -0
- package/dist/calcite/WNJYX4ST.js.LEGAL.txt +3 -0
- package/dist/calcite/WNPK6R2A.js +4 -0
- package/dist/calcite/WNPK6R2A.js.LEGAL.txt +3 -0
- package/dist/calcite/WPBRI22E.js +4 -0
- package/dist/calcite/WPBRI22E.js.LEGAL.txt +3 -0
- package/dist/calcite/WPKHC5SM.js +4 -0
- package/dist/calcite/WUCBDMHL.js +4 -0
- package/dist/calcite/X6MFD7J7.js +4 -0
- package/dist/calcite/XLYXQEOW.js +4 -0
- package/dist/calcite/XLYXQEOW.js.LEGAL.txt +3 -0
- package/dist/calcite/XMCP3HBY.js +4 -0
- package/dist/calcite/XMCP3HBY.js.LEGAL.txt +3 -0
- package/dist/calcite/XNIU76QG.js +4 -0
- package/dist/calcite/XNIU76QG.js.LEGAL.txt +3 -0
- package/dist/calcite/XPE2A3XO.js +4 -0
- package/dist/calcite/Y4UNUYWA.js +4 -0
- package/dist/calcite/Y4UNUYWA.js.LEGAL.txt +3 -0
- package/dist/calcite/Y6H3G26A.js +4 -0
- package/dist/calcite/Y6H3G26A.js.LEGAL.txt +3 -0
- package/dist/calcite/YDR24TYP.js +4 -0
- package/dist/calcite/YDR24TYP.js.LEGAL.txt +3 -0
- package/dist/calcite/YEN4S7IW.js +4 -0
- package/dist/calcite/YEN4S7IW.js.LEGAL.txt +3 -0
- package/dist/calcite/YHEMNN6W.js +4 -0
- package/dist/calcite/YPXZL3ID.js +4 -0
- package/dist/calcite/YPXZL3ID.js.LEGAL.txt +3 -0
- package/dist/calcite/YWWPPM3U.js +4 -0
- package/dist/calcite/YWWPPM3U.js.LEGAL.txt +3 -0
- package/dist/calcite/YYQHZJHE.js +4 -0
- package/dist/calcite/Z76FLLWT.js +4 -0
- package/dist/calcite/Z76FLLWT.js.LEGAL.txt +3 -0
- package/dist/calcite/ZHEBWQM3.js +4 -0
- package/dist/calcite/ZHEBWQM3.js.LEGAL.txt +3 -0
- package/dist/calcite/ZL4H6X25.js +4 -0
- package/dist/calcite/ZL4H6X25.js.LEGAL.txt +3 -0
- package/dist/calcite/ZLSZXYP5.js +4 -0
- package/dist/calcite/ZLSZXYP5.js.LEGAL.txt +3 -0
- package/dist/calcite/ZLUOGUPH.js +4 -0
- package/dist/calcite/ZLUOGUPH.js.LEGAL.txt +3 -0
- package/dist/calcite/ZRBQJDW6.js +4 -0
- package/dist/calcite/ZRHHDGBR.js +4 -0
- package/dist/calcite/ZRHHDGBR.js.LEGAL.txt +3 -0
- package/dist/calcite/ZTJELITG.js +4 -0
- package/dist/calcite/ZTJELITG.js.LEGAL.txt +3 -0
- package/dist/calcite/ZUBNMSY6.js +4 -0
- package/dist/calcite/ZUBNMSY6.js.LEGAL.txt +3 -0
- package/dist/calcite/ZWQ2Z5TG.js +4 -0
- package/dist/calcite/ZWQ2Z5TG.js.LEGAL.txt +3 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +20 -20
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +10 -10
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab/interfaces.d.ts +1 -0
- package/dist/components/calcite-tab-nav/customElement.js +7 -10
- package/dist/components/calcite-tab-title/customElement.js +2 -2
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +7 -7
- package/dist/custom-theme/tree.d.ts +5 -0
- package/dist/docs/api.json +20 -2
- package/dist/docs/docs.json +24 -3
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +17 -1
- package/dist/docs/vscode.html-custom-data.json +3 -3
- package/dist/docs/web-types.json +21 -5
- package/dist/extras/vscode-data.json +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
- package/dist/calcite/25B36DUR.js +0 -4
- package/dist/calcite/25B36DUR.js.LEGAL.txt +0 -3
- package/dist/calcite/2K472ALM.js +0 -4
- package/dist/calcite/2K472ALM.js.LEGAL.txt +0 -3
- package/dist/calcite/2Q3GAA7Y.js +0 -4
- package/dist/calcite/2Q3GAA7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/2T5CLPIC.js +0 -4
- package/dist/calcite/2T5CLPIC.js.LEGAL.txt +0 -3
- package/dist/calcite/3737KCZI.js +0 -4
- package/dist/calcite/3RIZLWGF.js +0 -4
- package/dist/calcite/3RIZLWGF.js.LEGAL.txt +0 -3
- package/dist/calcite/4MY4SOKO.js +0 -4
- package/dist/calcite/4O2WPJV4.js +0 -4
- package/dist/calcite/4O2WPJV4.js.LEGAL.txt +0 -3
- package/dist/calcite/4ODFGVV3.js +0 -4
- package/dist/calcite/4ODFGVV3.js.LEGAL.txt +0 -3
- package/dist/calcite/4SKX3C7S.js +0 -4
- package/dist/calcite/4WAVXCW5.js +0 -4
- package/dist/calcite/4WAVXCW5.js.LEGAL.txt +0 -3
- package/dist/calcite/4XIGZ5XA.js +0 -4
- package/dist/calcite/4XIGZ5XA.js.LEGAL.txt +0 -3
- package/dist/calcite/5AMAQ7UL.js +0 -4
- package/dist/calcite/5AMAQ7UL.js.LEGAL.txt +0 -3
- package/dist/calcite/5LCXGLXO.js +0 -4
- package/dist/calcite/5QODUDYP.js +0 -4
- package/dist/calcite/5QWH7TX3.js +0 -4
- package/dist/calcite/5QWH7TX3.js.LEGAL.txt +0 -3
- package/dist/calcite/5XGO5GGF.js +0 -4
- package/dist/calcite/5YRUTAL2.js +0 -4
- package/dist/calcite/5YRUTAL2.js.LEGAL.txt +0 -3
- package/dist/calcite/6D5SLQV2.js +0 -4
- package/dist/calcite/6IKIBGKO.js +0 -4
- package/dist/calcite/6IKIBGKO.js.LEGAL.txt +0 -3
- package/dist/calcite/6RLWADNM.js +0 -4
- package/dist/calcite/6RLWADNM.js.LEGAL.txt +0 -3
- package/dist/calcite/6SDZM4RQ.js +0 -4
- package/dist/calcite/6SDZM4RQ.js.LEGAL.txt +0 -3
- package/dist/calcite/6ZU43OEB.js +0 -4
- package/dist/calcite/6ZU43OEB.js.LEGAL.txt +0 -3
- package/dist/calcite/76LHZFBO.js +0 -4
- package/dist/calcite/7AJSMMGB.js +0 -4
- package/dist/calcite/7AJSMMGB.js.LEGAL.txt +0 -3
- package/dist/calcite/7EF4KWS5.js +0 -4
- package/dist/calcite/7I5CXVXK.js +0 -4
- package/dist/calcite/7I5CXVXK.js.LEGAL.txt +0 -3
- package/dist/calcite/7IQX5GB3.js +0 -4
- package/dist/calcite/7IQX5GB3.js.LEGAL.txt +0 -3
- package/dist/calcite/7R3KSX4I.js +0 -4
- package/dist/calcite/A2PVMIAU.js +0 -4
- package/dist/calcite/A2PVMIAU.js.LEGAL.txt +0 -3
- package/dist/calcite/AC3EK3A4.js +0 -4
- package/dist/calcite/AC3EK3A4.js.LEGAL.txt +0 -3
- package/dist/calcite/AC4KY3FW.js +0 -4
- package/dist/calcite/ACQSAM54.js +0 -4
- package/dist/calcite/ACQSAM54.js.LEGAL.txt +0 -3
- package/dist/calcite/ACZV7GST.js +0 -4
- package/dist/calcite/ACZV7GST.js.LEGAL.txt +0 -3
- package/dist/calcite/AHVFL4MT.js +0 -5
- package/dist/calcite/ARYMIQHZ.js +0 -4
- package/dist/calcite/ASUYUXPL.js +0 -4
- package/dist/calcite/ASUYUXPL.js.LEGAL.txt +0 -3
- package/dist/calcite/AXU6PN2G.js +0 -4
- package/dist/calcite/AXZE2YSW.js +0 -4
- package/dist/calcite/AXZE2YSW.js.LEGAL.txt +0 -3
- package/dist/calcite/B3GOH65X.js +0 -4
- package/dist/calcite/B4YXA3WW.js +0 -4
- package/dist/calcite/B4YXA3WW.js.LEGAL.txt +0 -3
- package/dist/calcite/B5CECWV5.js +0 -4
- package/dist/calcite/B5CECWV5.js.LEGAL.txt +0 -3
- package/dist/calcite/B63ZWYKF.js +0 -4
- package/dist/calcite/B6BMOBAU.js +0 -4
- package/dist/calcite/B6BMOBAU.js.LEGAL.txt +0 -3
- package/dist/calcite/BEKRENQ2.js +0 -4
- package/dist/calcite/BEKRENQ2.js.LEGAL.txt +0 -3
- package/dist/calcite/BEZ5KBVP.js +0 -4
- package/dist/calcite/BEZ5KBVP.js.LEGAL.txt +0 -3
- package/dist/calcite/BFMMRJ7N.js +0 -4
- package/dist/calcite/C4IM6ZFR.js +0 -4
- package/dist/calcite/C4IM6ZFR.js.LEGAL.txt +0 -13
- package/dist/calcite/C75MHAT7.js +0 -4
- package/dist/calcite/C75MHAT7.js.LEGAL.txt +0 -3
- package/dist/calcite/CEI626MO.js +0 -4
- package/dist/calcite/CGU6HN4V.js +0 -4
- package/dist/calcite/CGU6HN4V.js.LEGAL.txt +0 -3
- package/dist/calcite/CR6SQD4U.js +0 -4
- package/dist/calcite/CR6SQD4U.js.LEGAL.txt +0 -3
- package/dist/calcite/CSRE2EV7.js +0 -4
- package/dist/calcite/CSRE2EV7.js.LEGAL.txt +0 -3
- package/dist/calcite/CVFVLAIN.js +0 -4
- package/dist/calcite/CVFVLAIN.js.LEGAL.txt +0 -3
- package/dist/calcite/CVOJTDQV.js +0 -6
- package/dist/calcite/CVOJTDQV.js.LEGAL.txt +0 -145
- package/dist/calcite/D6SW3PT3.js +0 -4
- package/dist/calcite/D6SW3PT3.js.LEGAL.txt +0 -3
- package/dist/calcite/D77OBA47.js +0 -4
- package/dist/calcite/DNJZX2DO.js +0 -4
- package/dist/calcite/DNJZX2DO.js.LEGAL.txt +0 -3
- package/dist/calcite/DSVX7ERM.js +0 -4
- package/dist/calcite/DSVX7ERM.js.LEGAL.txt +0 -3
- package/dist/calcite/DUABW4AD.js +0 -5
- package/dist/calcite/DUABW4AD.js.LEGAL.txt +0 -3
- package/dist/calcite/DYG2GIRX.js +0 -4
- package/dist/calcite/ECBK7YW2.js +0 -4
- package/dist/calcite/ED2FHWFD.js +0 -4
- package/dist/calcite/ED2FHWFD.js.LEGAL.txt +0 -3
- package/dist/calcite/EF23ERZE.js +0 -4
- package/dist/calcite/EF23ERZE.js.LEGAL.txt +0 -3
- package/dist/calcite/EG2KFYQV.js +0 -4
- package/dist/calcite/EG2KFYQV.js.LEGAL.txt +0 -3
- package/dist/calcite/EL2MSQG4.js +0 -4
- package/dist/calcite/EL2MSQG4.js.LEGAL.txt +0 -3
- package/dist/calcite/ELZ6TXFQ.js +0 -4
- package/dist/calcite/ELZ6TXFQ.js.LEGAL.txt +0 -3
- package/dist/calcite/EXW2QP5X.js +0 -4
- package/dist/calcite/EZPHWLUO.js +0 -4
- package/dist/calcite/EZPHWLUO.js.LEGAL.txt +0 -3
- package/dist/calcite/F4OEA3NQ.js +0 -4
- package/dist/calcite/F6WZSWHT.js +0 -4
- package/dist/calcite/F6WZSWHT.js.LEGAL.txt +0 -3
- package/dist/calcite/FJFTUZED.js +0 -4
- package/dist/calcite/FJFTUZED.js.LEGAL.txt +0 -3
- package/dist/calcite/FTN3HQEY.js +0 -4
- package/dist/calcite/FXPHB743.js +0 -4
- package/dist/calcite/G4JUK4LA.js +0 -4
- package/dist/calcite/G7BCEEHI.js +0 -4
- package/dist/calcite/G7BCEEHI.js.LEGAL.txt +0 -3
- package/dist/calcite/GBO53SG7.js +0 -4
- package/dist/calcite/GBO53SG7.js.LEGAL.txt +0 -3
- package/dist/calcite/GCUJOJSS.js +0 -4
- package/dist/calcite/GCUJOJSS.js.LEGAL.txt +0 -3
- package/dist/calcite/GEWNUEES.js +0 -4
- package/dist/calcite/GEWNUEES.js.LEGAL.txt +0 -3
- package/dist/calcite/GFFIUI63.js +0 -4
- package/dist/calcite/GFFIUI63.js.LEGAL.txt +0 -3
- package/dist/calcite/GGWZLDL4.js +0 -4
- package/dist/calcite/GGWZLDL4.js.LEGAL.txt +0 -3
- package/dist/calcite/GLKT4JWE.js +0 -4
- package/dist/calcite/GNXSDZU5.js +0 -4
- package/dist/calcite/GNXSDZU5.js.LEGAL.txt +0 -3
- package/dist/calcite/GP3OJSI4.js +0 -4
- package/dist/calcite/GP3OJSI4.js.LEGAL.txt +0 -3
- package/dist/calcite/GQOEZE7Y.js +0 -4
- package/dist/calcite/GQOEZE7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/GZDPJ7HY.js +0 -4
- package/dist/calcite/GZDPJ7HY.js.LEGAL.txt +0 -3
- package/dist/calcite/GZF76UGH.js +0 -4
- package/dist/calcite/H2XD6LFC.js +0 -4
- package/dist/calcite/HCZDNQZO.js +0 -4
- package/dist/calcite/HGSBQVX6.js +0 -4
- package/dist/calcite/HJESQKUD.js +0 -4
- package/dist/calcite/HJI5C2I3.js +0 -4
- package/dist/calcite/HONSW7QI.js +0 -4
- package/dist/calcite/HONSW7QI.js.LEGAL.txt +0 -3
- package/dist/calcite/HRCDWOFD.js +0 -4
- package/dist/calcite/I2FWZOFT.js +0 -4
- package/dist/calcite/ICYA4C2Z.js +0 -4
- package/dist/calcite/IDT53ZAV.js +0 -4
- package/dist/calcite/IDT53ZAV.js.LEGAL.txt +0 -3
- package/dist/calcite/IF2T4UDU.js +0 -4
- package/dist/calcite/IF2T4UDU.js.LEGAL.txt +0 -3
- package/dist/calcite/INOEUKVN.js +0 -4
- package/dist/calcite/INOEUKVN.js.LEGAL.txt +0 -7
- package/dist/calcite/IRNIDDHV.js +0 -4
- package/dist/calcite/IRNIDDHV.js.LEGAL.txt +0 -3
- package/dist/calcite/IXIZSNYO.js +0 -4
- package/dist/calcite/IXIZSNYO.js.LEGAL.txt +0 -3
- package/dist/calcite/J57A6WT7.js +0 -4
- package/dist/calcite/J57A6WT7.js.LEGAL.txt +0 -3
- package/dist/calcite/JAET6MZB.js +0 -4
- package/dist/calcite/JAET6MZB.js.LEGAL.txt +0 -3
- package/dist/calcite/JAHT4CGU.js +0 -4
- package/dist/calcite/JASZOMWA.js +0 -4
- package/dist/calcite/JASZOMWA.js.LEGAL.txt +0 -3
- package/dist/calcite/JBHV4APV.js +0 -4
- package/dist/calcite/JOB2JIVS.js +0 -4
- package/dist/calcite/JOB2JIVS.js.LEGAL.txt +0 -3
- package/dist/calcite/JXC27DK3.js +0 -5
- package/dist/calcite/JXC27DK3.js.LEGAL.txt +0 -17
- package/dist/calcite/K5XGZKUV.js +0 -4
- package/dist/calcite/K5XGZKUV.js.LEGAL.txt +0 -3
- package/dist/calcite/KC4IHHLD.js +0 -4
- package/dist/calcite/KC4IHHLD.js.LEGAL.txt +0 -3
- package/dist/calcite/KUYOCA47.js +0 -4
- package/dist/calcite/KUYOCA47.js.LEGAL.txt +0 -3
- package/dist/calcite/KWWY5VFF.js +0 -4
- package/dist/calcite/KXYZ26OR.js +0 -4
- package/dist/calcite/KZQVUXZ3.js +0 -4
- package/dist/calcite/KZQVUXZ3.js.LEGAL.txt +0 -3
- package/dist/calcite/L7D5TDBK.js +0 -4
- package/dist/calcite/L7D5TDBK.js.LEGAL.txt +0 -3
- package/dist/calcite/LHKSSJ4E.js +0 -4
- package/dist/calcite/LHKSSJ4E.js.LEGAL.txt +0 -3
- package/dist/calcite/LHOKP64N.js +0 -4
- package/dist/calcite/LXLSH5ZY.js +0 -4
- package/dist/calcite/LXLSH5ZY.js.LEGAL.txt +0 -3
- package/dist/calcite/LYQKY3OI.js +0 -4
- package/dist/calcite/M7P2SX36.js +0 -4
- package/dist/calcite/M7P2SX36.js.LEGAL.txt +0 -3
- package/dist/calcite/MC44NNFI.js +0 -4
- package/dist/calcite/MC44NNFI.js.LEGAL.txt +0 -3
- package/dist/calcite/MS7IMHPW.js +0 -4
- package/dist/calcite/MS7IMHPW.js.LEGAL.txt +0 -3
- package/dist/calcite/MSFKDDGM.js +0 -4
- package/dist/calcite/MSFKDDGM.js.LEGAL.txt +0 -3
- package/dist/calcite/N3WI6ASZ.js +0 -4
- package/dist/calcite/N3WI6ASZ.js.LEGAL.txt +0 -3
- package/dist/calcite/NELXDIPK.js +0 -4
- package/dist/calcite/NELXDIPK.js.LEGAL.txt +0 -3
- package/dist/calcite/NGW6DTVZ.js +0 -4
- package/dist/calcite/NHEGKIUG.js +0 -4
- package/dist/calcite/NHEGKIUG.js.LEGAL.txt +0 -3
- package/dist/calcite/NHKGGZXS.js +0 -4
- package/dist/calcite/NHKGGZXS.js.LEGAL.txt +0 -3
- package/dist/calcite/NWZ5HI5D.js +0 -4
- package/dist/calcite/OA2TFV7I.js +0 -4
- package/dist/calcite/OA2TFV7I.js.LEGAL.txt +0 -3
- package/dist/calcite/OAAGCS5D.js +0 -4
- package/dist/calcite/OEH24ZCN.js +0 -4
- package/dist/calcite/OEH24ZCN.js.LEGAL.txt +0 -3
- package/dist/calcite/OKMJNU5C.js +0 -4
- package/dist/calcite/OLEMHBOK.js +0 -4
- package/dist/calcite/OLEMHBOK.js.LEGAL.txt +0 -3
- package/dist/calcite/OLTXOIGY.js +0 -4
- package/dist/calcite/OLTXOIGY.js.LEGAL.txt +0 -3
- package/dist/calcite/OYWYHLD5.js +0 -4
- package/dist/calcite/OYWYHLD5.js.LEGAL.txt +0 -3
- package/dist/calcite/OZ4EREII.js +0 -4
- package/dist/calcite/P7AN2BHB.js +0 -4
- package/dist/calcite/P7AN2BHB.js.LEGAL.txt +0 -3
- package/dist/calcite/PFZ7MZ2Q.js +0 -4
- package/dist/calcite/PFZ7MZ2Q.js.LEGAL.txt +0 -3
- package/dist/calcite/PHVFWQUH.js +0 -4
- package/dist/calcite/PHVFWQUH.js.LEGAL.txt +0 -3
- package/dist/calcite/PKO4ULUU.js +0 -4
- package/dist/calcite/PZUDP6HH.js +0 -4
- package/dist/calcite/Q3PEXRS3.js +0 -4
- package/dist/calcite/Q3PEXRS3.js.LEGAL.txt +0 -3
- package/dist/calcite/Q4AENYCE.js +0 -5
- package/dist/calcite/Q746FJBZ.js +0 -4
- package/dist/calcite/Q746FJBZ.js.LEGAL.txt +0 -3
- package/dist/calcite/QDTFQEJL.js +0 -4
- package/dist/calcite/QTVZYCT4.js +0 -4
- package/dist/calcite/QTVZYCT4.js.LEGAL.txt +0 -3
- package/dist/calcite/R47SNCOR.js +0 -4
- package/dist/calcite/R47SNCOR.js.LEGAL.txt +0 -3
- package/dist/calcite/R4DQ4KS7.js +0 -4
- package/dist/calcite/R5MU6SUC.js +0 -4
- package/dist/calcite/R5MU6SUC.js.LEGAL.txt +0 -3
- package/dist/calcite/RCLFZ2RF.js +0 -4
- package/dist/calcite/RCLFZ2RF.js.LEGAL.txt +0 -3
- package/dist/calcite/RJYCLLEU.js +0 -4
- package/dist/calcite/RJYCLLEU.js.LEGAL.txt +0 -3
- package/dist/calcite/RLCLGWKH.js +0 -4
- package/dist/calcite/RMANYV5X.js +0 -4
- package/dist/calcite/RRZOKIVX.js +0 -4
- package/dist/calcite/RRZOKIVX.js.LEGAL.txt +0 -3
- package/dist/calcite/RXRCG342.js +0 -4
- package/dist/calcite/RXRCG342.js.LEGAL.txt +0 -3
- package/dist/calcite/S5EGWFHM.js +0 -4
- package/dist/calcite/S5EGWFHM.js.LEGAL.txt +0 -3
- package/dist/calcite/S5SYISFY.js +0 -4
- package/dist/calcite/SCJCNOGJ.js +0 -28
- package/dist/calcite/SCJCNOGJ.js.LEGAL.txt +0 -3
- package/dist/calcite/SJNOWEBQ.js +0 -4
- package/dist/calcite/SL4OUIWL.js +0 -4
- package/dist/calcite/SL4OUIWL.js.LEGAL.txt +0 -3
- package/dist/calcite/SNJ3ESA3.js +0 -4
- package/dist/calcite/SNJ3ESA3.js.LEGAL.txt +0 -3
- package/dist/calcite/T5CBKFTQ.js +0 -4
- package/dist/calcite/T5CBKFTQ.js.LEGAL.txt +0 -3
- package/dist/calcite/T5MYOS6L.js +0 -4
- package/dist/calcite/T5MYOS6L.js.LEGAL.txt +0 -3
- package/dist/calcite/T7AROHSD.js +0 -4
- package/dist/calcite/T7AROHSD.js.LEGAL.txt +0 -3
- package/dist/calcite/TC5S2H7J.js +0 -4
- package/dist/calcite/TC5S2H7J.js.LEGAL.txt +0 -3
- package/dist/calcite/TCGVLMTL.js +0 -4
- package/dist/calcite/TCGVLMTL.js.LEGAL.txt +0 -3
- package/dist/calcite/TIFS7GPJ.js +0 -4
- package/dist/calcite/TIFS7GPJ.js.LEGAL.txt +0 -3
- package/dist/calcite/TLABGYZV.js +0 -4
- package/dist/calcite/TLABGYZV.js.LEGAL.txt +0 -3
- package/dist/calcite/TQBHLIEQ.js +0 -4
- package/dist/calcite/TQBHLIEQ.js.LEGAL.txt +0 -3
- package/dist/calcite/TRY3AP2J.js +0 -4
- package/dist/calcite/TRY3AP2J.js.LEGAL.txt +0 -3
- package/dist/calcite/TURPI27E.js +0 -4
- package/dist/calcite/TURPI27E.js.LEGAL.txt +0 -3
- package/dist/calcite/TWALHZEK.js +0 -4
- package/dist/calcite/TWALHZEK.js.LEGAL.txt +0 -3
- package/dist/calcite/U3RYUHE2.js +0 -4
- package/dist/calcite/U3RYUHE2.js.LEGAL.txt +0 -3
- package/dist/calcite/U566SMR4.js +0 -4
- package/dist/calcite/U566SMR4.js.LEGAL.txt +0 -3
- package/dist/calcite/UAFKGGNM.js +0 -4
- package/dist/calcite/UBUB52GB.js +0 -4
- package/dist/calcite/UMCOPJYV.js +0 -4
- package/dist/calcite/UMCOPJYV.js.LEGAL.txt +0 -3
- package/dist/calcite/V4LSTLY2.js +0 -4
- package/dist/calcite/V4LSTLY2.js.LEGAL.txt +0 -3
- package/dist/calcite/VD6Y37CN.js +0 -4
- package/dist/calcite/VD6Y37CN.js.LEGAL.txt +0 -3
- package/dist/calcite/VGBYSIPS.js +0 -4
- package/dist/calcite/VGBYSIPS.js.LEGAL.txt +0 -3
- package/dist/calcite/VLS2LKYV.js +0 -4
- package/dist/calcite/VLS2LKYV.js.LEGAL.txt +0 -3
- package/dist/calcite/VNA3LUOI.js +0 -4
- package/dist/calcite/VS3S2HAG.js +0 -4
- package/dist/calcite/VS3S2HAG.js.LEGAL.txt +0 -3
- package/dist/calcite/VZRLUIMN.js +0 -4
- package/dist/calcite/VZRLUIMN.js.LEGAL.txt +0 -3
- package/dist/calcite/WA67BMZ5.js +0 -4
- package/dist/calcite/WA67BMZ5.js.LEGAL.txt +0 -3
- package/dist/calcite/WAHFPFKQ.js +0 -4
- package/dist/calcite/WAHFPFKQ.js.LEGAL.txt +0 -3
- package/dist/calcite/WAJ7RETH.js +0 -4
- package/dist/calcite/WI5DGSD4.js +0 -4
- package/dist/calcite/WI5DGSD4.js.LEGAL.txt +0 -3
- package/dist/calcite/WIB7LL6E.js +0 -4
- package/dist/calcite/WJGD5X7W.js +0 -4
- package/dist/calcite/WJGD5X7W.js.LEGAL.txt +0 -3
- package/dist/calcite/WLEC6AR3.js +0 -4
- package/dist/calcite/WLEC6AR3.js.LEGAL.txt +0 -3
- package/dist/calcite/WLP55OFV.js +0 -4
- package/dist/calcite/WLP55OFV.js.LEGAL.txt +0 -3
- package/dist/calcite/WPB74A4Z.js +0 -4
- package/dist/calcite/WPB74A4Z.js.LEGAL.txt +0 -3
- package/dist/calcite/WW4CRGTS.js +0 -4
- package/dist/calcite/WW4CRGTS.js.LEGAL.txt +0 -3
- package/dist/calcite/WXZUPF3M.js +0 -4
- package/dist/calcite/WYCLYFFA.js +0 -4
- package/dist/calcite/WYCLYFFA.js.LEGAL.txt +0 -3
- package/dist/calcite/X7MJXWNB.js +0 -4
- package/dist/calcite/X7MJXWNB.js.LEGAL.txt +0 -3
- package/dist/calcite/XBWBLFVG.js +0 -4
- package/dist/calcite/XBWBLFVG.js.LEGAL.txt +0 -3
- package/dist/calcite/XFIX6T6C.js +0 -4
- package/dist/calcite/XFJ6YGFI.js +0 -4
- package/dist/calcite/XFJ6YGFI.js.LEGAL.txt +0 -3
- package/dist/calcite/XKF5HPNZ.js +0 -4
- package/dist/calcite/XKF5HPNZ.js.LEGAL.txt +0 -3
- package/dist/calcite/XNFUFEO3.js +0 -4
- package/dist/calcite/XNFUFEO3.js.LEGAL.txt +0 -3
- package/dist/calcite/XS22463L.js +0 -4
- package/dist/calcite/XS22463L.js.LEGAL.txt +0 -3
- package/dist/calcite/XTFWU7OX.js +0 -4
- package/dist/calcite/XU3WYGRW.js +0 -4
- package/dist/calcite/XU3WYGRW.js.LEGAL.txt +0 -3
- package/dist/calcite/XVPPR4MH.js +0 -4
- package/dist/calcite/XVPPR4MH.js.LEGAL.txt +0 -3
- package/dist/calcite/XXL67GBW.js +0 -4
- package/dist/calcite/XXL67GBW.js.LEGAL.txt +0 -3
- package/dist/calcite/Y3QD6MXY.js +0 -4
- package/dist/calcite/Y3QD6MXY.js.LEGAL.txt +0 -3
- package/dist/calcite/Y7FIZ27I.js +0 -4
- package/dist/calcite/Y7FIZ27I.js.LEGAL.txt +0 -3
- package/dist/calcite/YDNFCG45.js +0 -4
- package/dist/calcite/YDNFCG45.js.LEGAL.txt +0 -3
- package/dist/calcite/YG4O7PMQ.js +0 -4
- package/dist/calcite/YHKWWXEY.js +0 -4
- package/dist/calcite/YHKWWXEY.js.LEGAL.txt +0 -3
- package/dist/calcite/YPE353ZT.js +0 -4
- package/dist/calcite/YPHEP2MO.js +0 -4
- package/dist/calcite/YPHEP2MO.js.LEGAL.txt +0 -3
- package/dist/calcite/YZ6XRAZJ.js +0 -4
- package/dist/calcite/YZ6XRAZJ.js.LEGAL.txt +0 -3
- package/dist/calcite/ZMLVMGAA.js +0 -4
- package/dist/calcite/ZMLVMGAA.js.LEGAL.txt +0 -3
- package/dist/calcite/ZP5MRQPY.js +0 -4
- package/dist/calcite/ZPPNMNJE.js +0 -4
- package/dist/calcite/ZPPNMNJE.js.LEGAL.txt +0 -3
- package/dist/calcite/ZQ2E7AQY.js +0 -22
- package/dist/calcite/ZQ2E7AQY.js.LEGAL.txt +0 -3
- package/dist/calcite/ZZPERYRL.js +0 -4
- package/dist/calcite/ZZPERYRL.js.LEGAL.txt +0 -3
- /package/dist/calcite/{3737KCZI.js.LEGAL.txt → 24SN6YSC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{4MY4SOKO.js.LEGAL.txt → 2MVN5XWX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{4SKX3C7S.js.LEGAL.txt → 2TLKJ7ZS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5LCXGLXO.js.LEGAL.txt → 2UUEARYP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5XGO5GGF.js.LEGAL.txt → 2ZMFQ6BD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5QODUDYP.js.LEGAL.txt → 4Y4V365D.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6D5SLQV2.js.LEGAL.txt → 52EMSBNI.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{76LHZFBO.js.LEGAL.txt → 5Y4HI7LH.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{7EF4KWS5.js.LEGAL.txt → 7AYZ76AZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{7R3KSX4I.js.LEGAL.txt → 7WAEMXSA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AC4KY3FW.js.LEGAL.txt → B7OOV5AI.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ARYMIQHZ.js.LEGAL.txt → BRC6AIJB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AXU6PN2G.js.LEGAL.txt → BYETV4TV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{B3GOH65X.js.LEGAL.txt → CCH3GLHH.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{B63ZWYKF.js.LEGAL.txt → CHABVWKT.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{BFMMRJ7N.js.LEGAL.txt → CWO2IKSM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{CEI626MO.js.LEGAL.txt → DMPN2VYL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{D77OBA47.js.LEGAL.txt → DVTDESEW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DYG2GIRX.js.LEGAL.txt → E2FGT227.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZP5MRQPY.js.LEGAL.txt → EDAZUFDP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EXW2QP5X.js.LEGAL.txt → GCQIQWJ4.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AHVFL4MT.js.LEGAL.txt → HOZ53NHV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{F4OEA3NQ.js.LEGAL.txt → HSKCOEPE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PZUDP6HH.js.LEGAL.txt → HU4SV6O6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FTN3HQEY.js.LEGAL.txt → IK7DVJPJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FXPHB743.js.LEGAL.txt → ILWHDVX4.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{G4JUK4LA.js.LEGAL.txt → JWYAXVCV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{GLKT4JWE.js.LEGAL.txt → JZLQLBQW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{GZF76UGH.js.LEGAL.txt → KGJMM7KZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{H2XD6LFC.js.LEGAL.txt → KGZ64BWY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HCZDNQZO.js.LEGAL.txt → KIZADQ3T.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ECBK7YW2.js.LEGAL.txt → L5R3QRGM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HGSBQVX6.js.LEGAL.txt → LHYNVM66.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HJESQKUD.js.LEGAL.txt → LN2XQ4HD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HJI5C2I3.js.LEGAL.txt → M6HZRHWL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HRCDWOFD.js.LEGAL.txt → NDXDQHCQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{I2FWZOFT.js.LEGAL.txt → NFEP5B2K.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ICYA4C2Z.js.LEGAL.txt → NS2RS47G.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JAHT4CGU.js.LEGAL.txt → O3H4LEKL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JBHV4APV.js.LEGAL.txt → O6TB6SYZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KWWY5VFF.js.LEGAL.txt → ODWH2J62.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KXYZ26OR.js.LEGAL.txt → OSCUKYRG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LHOKP64N.js.LEGAL.txt → OVHV23VR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LYQKY3OI.js.LEGAL.txt → PRDEK63S.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NGW6DTVZ.js.LEGAL.txt → PTCPIBYL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NWZ5HI5D.js.LEGAL.txt → QKMQ3LKR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OAAGCS5D.js.LEGAL.txt → QPFCOUYI.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OKMJNU5C.js.LEGAL.txt → R3MBLILU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OZ4EREII.js.LEGAL.txt → RHBNKJLN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PKO4ULUU.js.LEGAL.txt → T3VMFF7Q.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Q4AENYCE.js.LEGAL.txt → UCGO5YIJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QDTFQEJL.js.LEGAL.txt → UQDVLLFF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{R4DQ4KS7.js.LEGAL.txt → UUGVWXC6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RLCLGWKH.js.LEGAL.txt → V7IAHYM7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RMANYV5X.js.LEGAL.txt → VE3QYB45.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{S5SYISFY.js.LEGAL.txt → W2RJAM22.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SJNOWEBQ.js.LEGAL.txt → WG4T24BX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UAFKGGNM.js.LEGAL.txt → WIKREDJO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UBUB52GB.js.LEGAL.txt → WJXRXUA6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{VNA3LUOI.js.LEGAL.txt → WM6AKJI3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WAJ7RETH.js.LEGAL.txt → WPKHC5SM.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WIB7LL6E.js.LEGAL.txt → WUCBDMHL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WXZUPF3M.js.LEGAL.txt → X6MFD7J7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XFIX6T6C.js.LEGAL.txt → XPE2A3XO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XTFWU7OX.js.LEGAL.txt → YHEMNN6W.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{YG4O7PMQ.js.LEGAL.txt → YYQHZJHE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{YPE353ZT.js.LEGAL.txt → ZRBQJDW6.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as b}from"./C72IB567.js";import{a as B}from"./4Y4V365D.js";import"./JQG34DHY.js";import{a as M,b as U}from"./OXTQQEDN.js";import{a as I}from"./YPXZL3ID.js";import{a as H}from"./TNTZIL3Q.js";import{a as W}from"./CP5UAD4K.js";import{b as y}from"./HU4SV6O6.js";import{B as L,e as F,v as A,z as g}from"./VWYK27CQ.js";import{d as E}from"./544TDR3Q.js";import"./2MP3FKM6.js";import{a as O}from"./FL2NP2W4.js";import{H as z,e as P,f as d,j as r,v as h,w as S,x as s}from"./VMPWMEHX.js";var G=6e3,a={container:"container",containerOverlaid:"container--overlaid",containerEdged:"container--edged",itemContainer:"item-container",itemContainerForward:"item-container--forward",itemContainerBackward:"item-container--backward",pagination:"pagination",paginationItems:"pagination-items",paginationItem:"pagination-item",paginationItemIndividual:"pagination-item--individual",paginationItemVisible:"pagination-item--visible",paginationItemOutOfRange:"pagination-item--out-of-range",paginationItemSelected:"pagination-item--selected",paginationItemRangeEdge:"pagination-item--range-edge",pageNext:"page-next",pagePrevious:"page-previous",autoplayControl:"autoplay-control",autoplayProgress:"autoplay-progress"},p={chevronLeft:"chevron-left",chevronRight:"chevron-right",inactive:"bullet-point",active:"bullet-point-large",pause:"pause-f",play:"play-f"},v={medium:7,small:5,xsmall:3,xxsmall:1},Y=P`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%;--calcite-internal-internal-carousel-item-space: 1.5rem;--calcite-internal-internal-carousel-item-space-wide: 3.5rem;--calcite-internal-internal-carousel-item-background-color: var( --calcite-internal-carousel-item-background-color, var(--calcite-color-foreground-1) );--calcite-internal-internal-carousel-item-background-color-hover: var( --calcite-internal-carousel-item-background-color-hover, var(--calcite-color-foreground-2) );--calcite-internal-internal-carousel-item-background-color-active: var( --calcite-internal-carousel-item-background-color-active, var(--calcite-color-foreground-2) );--calcite-internal-internal-carousel-item-background-color-selected: var( --calcite-internal-carousel-item-background-color-selected, var(--calcite-color-foreground-1) );--calcite-internal-internal-carousel-item-icon-color-hover: var( --calcite-internal-carousel-item-icon-color-hover, var(--calcite-color-text-1) );--calcite-internal-internal-carousel-item-icon-color: var( --calcite-internal-carousel-item-icon-color, var(--calcite-color-border-1) );--calcite-internal-internal-carousel-item-icon-color-selected: var( --calcite-internal-carousel-item-icon-color-selected, var(--calcite-color-brand) );--calcite-internal-internal-carousel-control-color-hover: var( --calcite-internal-carousel-control-color-hover, var(--calcite-color-text-1) );--calcite-internal-internal-carousel-control-color: var( --calcite-internal-carousel-item-icon-color, var(--calcite-color-text-3) );--calcite-internal-internal-carousel-autoplay-progress-background-color: var( --calcite-internal-carousel-autoplay-progress-background-color, var(--calcite-color-border-3) );--calcite-internal-internal-carousel-autoplay-progress-fill-color: var( --calcite-internal-carousel-autoplay-progress-fill-color, var(--calcite-color-brand) )}.container{position:relative;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2);outline-color:transparent}.container:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container--edged:not(.container--overlaid){padding-inline:var(--calcite-internal-internal-carousel-item-space-wide);inline-size:calc(100% - var(--calcite-internal-internal-carousel-item-space-wide) * 2)}.item-container{display:flex;flex:1 1 auto;align-items:flex-start;justify-content:center;overflow:auto;padding:.25rem;animation-name:none;animation-duration:var(--calcite-animation-timing)}.container--overlaid .item-container{padding:0}.item-container--forward{animation-name:item-forward}.item-container--backward{animation-name:item-backward}calcite-carousel-item:not([selected]){opacity:0}.pagination{margin:.75rem;display:flex;flex-direction:row;align-items:center;justify-content:center;inline-size:auto}.pagination-items{display:flex;flex-direction:row;align-items:center}.container--overlaid .pagination{position:absolute}.pagination-item.page-next,.pagination-item.page-previous{color:var(--calcite-internal-internal-carousel-control-color)}.pagination-item.page-next:hover,.pagination-item.page-previous:hover{color:var(--calcite-internal-internal-carousel-control-color-hover)}.container--edged .page-next,.container--edged .page-previous{block-size:3rem;inline-size:3rem;position:absolute;inset-block-start:50%;transform:translateY(-50%)}.container--edged .page-next{inset-inline-end:0}.container--edged .page-previous{inset-inline-start:0}.container--overlaid .pagination{inset-block-start:unset;inset-block-end:0;inset-inline:0}.pagination-item.autoplay-control{position:relative;color:var(--calcite-internal-internal-carousel-control-color);--calcite-progress-fill-color: var(--calcite-internal-internal-carousel-autoplay-progress-fill-color);--calcite-progress-background-color: var(--calcite-internal-internal-carousel-autoplay-progress-background-color)}.autoplay-control:focus .autoplay-progress{inset-block-end:4px;inset-inline:2px;inline-size:calc(100% - 4px)}.autoplay-progress{position:absolute;inset-block-end:2px;inset-inline:0;inline-size:100%}.pagination-item{margin:0;block-size:2rem;inline-size:2rem;cursor:pointer;align-items:center;border-style:none;background-color:transparent;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;-webkit-appearance:none;display:flex;align-content:center;justify-content:center;--calcite-color-foreground-1: var(--calcite-internal-internal-carousel-item-background-color);color:var(--calcite-internal-internal-carousel-item-icon-color)}.pagination-item:hover{background-color:var(--calcite-internal-internal-carousel-item-background-color-hover);color:var(--calcite-internal-internal-carousel-item-icon-color-hover)}.pagination-item:focus{background-color:var(--calcite-internal-internal-carousel-item-background-color-active);outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.pagination-item:active{background-color:var(--calcite-internal-internal-carousel-item-background-color-active);color:var(--calcite-internal-internal-carousel-item-icon-color-hover)}.pagination-item calcite-icon{color:inherit;pointer-events:none}.pagination-item.pagination-item--selected{--calcite-color-foreground-1: var(--calcite-internal-internal-carousel-item-background-color-selected);--calcite-color-foreground-3: var(--calcite-internal-internal-carousel-item-background-color-selected);color:var(--calcite-internal-internal-carousel-item-icon-color-selected)}.pagination-item--individual{pointer-events:none;inline-size:0px;padding:0;opacity:0;visibility:hidden;transition:var(--calcite-animation-timing) ease-in-out inline-size,var(--calcite-animation-timing) ease-in-out padding,var(--calcite-animation-timing) ease-in-out opacity}.pagination-item--individual.pagination-item--visible{pointer-events:auto;inline-size:2rem;opacity:1;visibility:visible}.pagination-item--range-edge calcite-icon{scale:.75;transition:var(--calcite-animation-timing) ease-in-out scale}.container--overlaid .pagination-item{background-color:var(--calcite-internal-internal-carousel-item-background-color)}.container--overlaid .pagination-item:hover{background-color:var(--calcite-internal-internal-carousel-item-background-color-hover)}.container--overlaid .pagination-item:focus{background-color:var(--calcite-internal-internal-carousel-item-background-color-active)}.container--overlaid .pagination-item:active{background-color:var(--calcite-internal-internal-carousel-item-background-color-active)}@keyframes item-forward{0%{transform:translate3d(100px,0,0)}to{transform:translateZ(0)}}@keyframes item-backward{0%{transform:translate3d(-100px,0,0)}to{transform:translateZ(0)}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,k=class extends S{constructor(){super(...arguments),this.autoplayHandler=()=>{this.clearIntervals(),this.slideDurationInterval=setInterval(this.timer,this.autoplayDuration/100)},this.containerId=`calcite-carousel-container-${O()}`,this.resizeHandler=({contentRect:{width:e}})=>{this.setMaxItemsToBreakpoint(e)},this.resizeObserver=H("resize",e=>e.forEach(this.resizeHandler)),this.slideDurationInterval=null,this.slideInterval=null,this.timer=()=>{let e=this.slideDurationRemaining;(!this.suspendedDueToFocus&&!this.suspendedDueToHover||this.userPreventsSuspend)&&(e<=.01?(e=1,this.direction="forward",this.nextItem(!1)):e=e-.01),e>0&&(this.slideDurationRemaining=e)},this.direction="standby",this.items=[],this.maxItems=v.xxsmall,this.playing=!1,this.slideDurationRemaining=1,this.suspendedDueToFocus=!1,this.suspendedDueToHover=!1,this.suspendedSlideDurationRemaining=1,this.userPreventsSuspend=!1,this.arrowType="inline",this.autoplay=!1,this.autoplayDuration=G,this.controlOverlay=!1,this.disabled=!1,this.messages=W(),this.calciteCarouselChange=h({cancelable:!1}),this.calciteCarouselPause=h({cancelable:!1}),this.calciteCarouselPlay=h({cancelable:!1}),this.calciteCarouselResume=h({cancelable:!1}),this.calciteCarouselStop=h({cancelable:!1})}static{this.properties={direction:16,items:16,maxItems:16,playing:16,selectedIndex:16,slideDurationRemaining:16,suspendedDueToFocus:16,suspendedDueToHover:16,suspendedSlideDurationRemaining:16,userPreventsSuspend:16,arrowType:3,autoplay:3,autoplayDuration:11,controlOverlay:7,disabled:7,label:1,messageOverrides:0,paused:5,selectedItem:0}}static{this.styles=Y}async play(){this.playing||this.autoplay!==""&&!this.autoplay&&this.autoplay!=="paused"||this.handlePlay(!0)}async setFocus(){await E(this),this.container?.focus()}async stop(){this.playing&&this.handlePause(!0)}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}async load(){(this.autoplay===""||this.autoplay)&&this.autoplay!=="paused"?this.handlePlay(!1):this.autoplay==="paused"&&(this.paused=!0)}willUpdate(e){e.has("autoplay")&&this.hasUpdated&&this.autoplayWatcher(this.autoplay),e.has("direction")&&(this.hasUpdated||this.direction!=="standby")&&this.directionWatcher(this.direction),e.has("playing")&&(this.hasUpdated||this.playing!==!1)&&(this.paused=!this.playing),(e.has("suspendedDueToFocus")&&(this.hasUpdated||this.suspendedDueToFocus!==!1)||e.has("suspendedDueToHover")&&(this.hasUpdated||this.suspendedDueToHover!==!1))&&this.suspendWatcher()}updated(){M(this)}disconnectedCallback(){super.disconnectedCallback(),this.clearIntervals(),this.resizeObserver?.disconnect()}autoplayWatcher(e){e||this.handlePause(!1)}async directionWatcher(e){e!=="standby"&&(await L(this.itemContainer,e==="forward"?"item-forward":"item-backward"),this.direction="standby")}suspendWatcher(){!this.suspendedDueToFocus&&!this.suspendedDueToHover?this.suspendEnd():this.suspendStart()}setMaxItemsToBreakpoint(e){if(e){if(e>=b.width.small){this.maxItems=v.medium;return}if(e>=b.width.xsmall){this.maxItems=v.small;return}if(e>=b.width.xxsmall){this.maxItems=v.xsmall;return}this.maxItems=v.xxsmall}}clearIntervals(){clearInterval(this.slideDurationInterval),clearInterval(this.slideInterval)}nextItem(e){this.playing&&e&&(this.playing=!1);let t=I(this.selectedIndex+1,this.items.length);this.setSelectedItem(t,e)}previousItem(){this.playing=!1;let e=I(Math.max(this.selectedIndex-1,-1),this.items.length);this.setSelectedItem(e,!0)}handlePlay(e){this.playing=!0,this.autoplayHandler(),this.slideInterval=setInterval(this.autoplayHandler,this.autoplayDuration),e&&this.calciteCarouselPlay.emit()}handlePause(e){this.playing=!1,this.clearIntervals(),this.slideDurationRemaining=1,this.suspendedSlideDurationRemaining=1,e&&this.calciteCarouselStop.emit()}suspendStart(){this.suspendedSlideDurationRemaining=this.slideDurationRemaining}suspendEnd(){this.slideDurationRemaining=this.suspendedSlideDurationRemaining}handleSlotChange(e){let t=A(e);if(t.length<1)return;let i=t.findIndex(c=>c.selected),l=i>-1?i:0;this.items=t,this.setSelectedItem(l,!1)}setSelectedItem(e,t){let i=this.selectedIndex;this.items.forEach((l,c)=>{let o=e===c;l.selected=o,o&&(this.selectedItem=l,this.selectedIndex=c)}),t&&(this.playing=!1,i!==this.selectedIndex&&this.calciteCarouselChange.emit())}handleArrowClick(e){let t=e.target.dataset.direction;this.playing&&this.handlePause(!0),t==="next"?(this.direction="forward",this.nextItem(!0)):t==="previous"&&(this.direction="backward",this.previousItem())}handleItemSelection(e){let t=e.target,i=parseInt(t.dataset.index);i!==this.selectedIndex&&(this.playing&&this.handlePause(!0),this.direction=i>this.selectedIndex?"forward":"backward",this.setSelectedItem(i,!0))}toggleRotation(){this.userPreventsSuspend=!0,this.playing?this.handlePause(!0):this.handlePlay(!0)}handleFocusIn(){let e=this.playing;e&&(this.suspendedDueToFocus=!0),(!this.suspendedDueToFocus||!this.suspendedDueToHover)&&e&&this.calciteCarouselPause.emit()}handleMouseIn(){let e=this.playing;e&&(this.suspendedDueToHover=!0),(!this.suspendedDueToFocus||!this.suspendedDueToHover)&&e&&this.calciteCarouselPause.emit()}handleMouseOut(e){let t=!this.el.contains(e.relatedTarget),i=this.playing;t&&i&&(this.suspendedDueToHover=!1),t&&i&&!this.suspendedDueToFocus&&(this.userPreventsSuspend=!1,this.calciteCarouselResume.emit())}handleFocusOut(e){let t=!e.composedPath().includes(e.relatedTarget),i=this.playing;t&&i&&(this.suspendedDueToFocus=!1),t&&i&&!this.suspendedDueToHover&&(this.userPreventsSuspend=!1,this.calciteCarouselResume.emit())}containerKeyDownHandler(e){if(e.target!==this.container)return;let t=this.items.length-1;switch(e.key){case" ":case"Enter":e.preventDefault(),(this.autoplay===""||this.autoplay||this.autoplay==="paused")&&this.toggleRotation();break;case"ArrowRight":e.preventDefault(),this.direction="forward",this.nextItem(!0);break;case"ArrowLeft":e.preventDefault(),this.direction="backward",this.previousItem();break;case"Home":if(e.preventDefault(),this.selectedIndex===0)return;this.direction="backward",this.setSelectedItem(0,!0);break;case"End":if(e.preventDefault(),this.selectedIndex===t)return;this.direction="forward",this.setSelectedItem(t,!0);break}}tabListKeyDownHandler(e){let t=Array(...this.tabList.querySelectorAll(`button:not(.${a.paginationItemOutOfRange})`)),i=e.target;switch(e.key){case"ArrowRight":g(t,i,"next");break;case"ArrowLeft":g(t,i,"previous");break;case"Home":e.preventDefault(),g(t,i,"first");break;case"End":e.preventDefault(),g(t,i,"last");break}}storeTabListRef(e){this.tabList=e}storeContainerRef(e){this.container=e}storeItemContainerRef(e){this.itemContainer=e}renderRotationControl(){let e=this.playing?this.messages.pause:this.messages.play,t=this.slideDurationRemaining*100;return d`<button .ariaLabel=${e} class=${s({[a.paginationItem]:!0,[a.autoplayControl]:!0})} @click=${this.toggleRotation} title=${e??r}><calcite-icon .icon=${this.playing?p.pause:p.play} scale=s></calcite-icon>${this.playing&&d`<calcite-progress class=${s(a.autoplayProgress)} .label=${this.messages.carouselItemProgress} .value=${t}></calcite-progress>`||""}</button>`}renderPaginationArea(){return d`<div class=${s({[a.pagination]:!0,[a.containerOverlaid]:this.controlOverlay})} @keydown=${this.tabListKeyDownHandler} ${y(this.storeTabListRef)}>${(this.playing||this.autoplay===""||this.autoplay||this.autoplay==="paused")&&this.renderRotationControl()||""}${this.arrowType==="inline"&&this.renderArrow("previous")||""}${this.renderPaginationItems()}${this.arrowType==="inline"&&this.renderArrow("next")||""}</div>`}renderPaginationItems(){let{selectedIndex:e,maxItems:t,items:i,label:l,handleItemSelection:c}=this;return d`<div .ariaLabel=${l} class=${s(a.paginationItems)} role=tablist>${B(i,o=>o.id,(o,n)=>{let m=i.length,u=n===e,K=n===0,j=n===m-1,x=m-t-1,f=e<t,w=e>=x,D=f?0:e-Math.floor(t/2),N=w?m:D+t,$=f?0:w?x:D,C=f?t+1:N,V=!K&&!j&&!u&&(n===$-1||n===C),R=u||n<=C&&n>=$-1,T=m-1<=t,q=u?p.active:p.inactive;return d`<button aria-controls=${(u?void 0:o.id)??r} .ariaSelected=${u} class=${s({[a.paginationItem]:!0,[a.paginationItemIndividual]:!0,[a.paginationItemSelected]:u,[a.paginationItemRangeEdge]:m-1>t&&V,[a.paginationItemOutOfRange]:!(T||R),[a.paginationItemVisible]:T||R})} data-index=${n??r} @click=${c} role=tab title=${o.label??r}><calcite-icon .icon=${q} scale=l></calcite-icon></button>`})}</div>`}renderArrow(e){let t=e==="previous",i=F(this.el),l=this.arrowType==="edge"?"m":"s",c=t?a.pagePrevious:a.pageNext,o=t?this.messages.previous:this.messages.next,n=t?p.chevronLeft:p.chevronRight;return d`<button aria-controls=${this.containerId??r} class=${s({[a.paginationItem]:!0,[c]:!0})} data-direction=${e??r} @click=${this.handleArrowClick} title=${o??r}><calcite-icon .flipRtl=${i==="rtl"} .icon=${n} .scale=${l}></calcite-icon></button>`}render(){let{direction:e}=this;return U({disabled:this.disabled,children:d`<div .ariaLabel=${this.label} .ariaLive=${this.playing?"off":"polite"} .ariaRoleDescription=${this.messages.carousel} class=${s({[a.container]:!0,[a.containerOverlaid]:this.controlOverlay,[a.containerEdged]:this.arrowType==="edge"})} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.containerKeyDownHandler} @mouseenter=${this.handleMouseIn} @mouseleave=${this.handleMouseOut} role=group tabindex=0 ${y(this.storeContainerRef)}><section class=${s({[a.itemContainer]:!0,[a.itemContainerForward]:e==="forward",[a.itemContainerBackward]:e==="backward"})} id=${this.containerId??r} ${y(this.storeItemContainerRef)}><slot @slotchange=${this.handleSlotChange}></slot></section>${this.items.length>1&&this.renderPaginationArea()||""}${this.arrowType==="edge"&&this.renderArrow("previous")||""}${this.arrowType==="edge"&&this.renderArrow("next")||""}</div>`})}};z("calcite-carousel",k);export{k as Carousel};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as b}from"./EDAZUFDP.js";import{a as w}from"./WNJYX4ST.js";import{a as $}from"./CP5UAD4K.js";import{n as m}from"./VWYK27CQ.js";import{d as f}from"./544TDR3Q.js";import{a as k}from"./2MP3FKM6.js";import"./FL2NP2W4.js";import{H as u,e as h,f as a,v,w as p,x as c,z as x}from"./VMPWMEHX.js";var l={content:"content",toggle:"toggle"},t={chevronIcon:"chevron-icon",content:"content",iconStart:"icon--start",iconEnd:"icon--end",invalid:"invalid",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",switch:"switch",toggle:"toggle",toggleSwitch:"toggle--switch",toggleContainer:"toggle-container",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",valid:"valid"},s={menuExpanded:"chevron-up",menuCollapsed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},y=h`:host{box-sizing:border-box;display:block;font-size:var(--calcite-font-size--1);color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2));background-color:var(--calcite-block-section-background-color, var(--calcite-color-foreground-1))}:host([expanded]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-block-section-border-color, var(--calcite-color-border-3))}:host([expanded]) .toggle{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .chevron-icon{color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}:host([expanded]) .chevron-icon:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;font-family:var(--calcite-font-family);gap:var(--calcite-spacing-md);color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2));background-color:var(--calcite-block-section-background-color, transparent);font-weight:var(--calcite-font-weight-normal)}.toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.toggle--switch,.section-header{margin-inline:0px;margin-block:.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.toggle--switch:hover,.section-header:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.section-header__text{margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle-container{position:relative;display:flex;align-items:center;word-break:break-word;background-color:var(--calcite-block-section-background-color, transparent)}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}.toggle-container .icon--end:hover,.toggle-container .icon--start:hover,.toggle-container .chevron-icon:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(...arguments),this.expanded=!1,this.messages=$(),this.toggleDisplay="button",this.calciteBlockSectionToggle=v({cancelable:!1})}static{this.properties={expanded:7,iconEnd:3,iconFlipRtl:3,iconStart:3,messageOverrides:0,open:7,status:3,text:1,toggleDisplay:3}}static{this.styles=y}get open(){return this.expanded}set open(e){k.deprecated("property",{name:"open",removalVersion:4,suggested:"expanded"}),this.expanded=e}async setFocus(){await f(this),m(this.el)}handleHeaderKeyDown(e){w(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())}toggleSection(){this.expanded=!this.expanded,this.calciteBlockSectionToggle.emit()}renderStatusIcon(){let{status:e}=this,o=s[e]??!1,i={[t.statusIcon]:!0,[t.valid]:e=="valid",[t.invalid]:e=="invalid"};return o?a`<calcite-icon class=${c(i)} .icon=${o} scale=s></calcite-icon>`:null}renderIcon(e){let{iconFlipRtl:o}=this;if(e===void 0)return null;let i=o==="both"||o==="start",r=o==="both"||o==="end",n=e===this.iconStart;return b(n?this.iconStart:this.iconEnd,a`<calcite-icon class=${c(n?t.iconStart:t.iconEnd)} .flipRtl=${n?i:r} .icon=${n?this.iconStart:this.iconEnd} scale=s></calcite-icon>`)}render(){let{messages:e,expanded:o,text:i,toggleDisplay:r}=this,n=o?s.menuExpanded:s.menuCollapsed,g=o?e.collapse:e.expand,S=r==="switch"?a`<div class=${c({[t.toggleContainer]:!0})}><div aria-controls=${l.content} .ariaExpanded=${o} class=${c({[t.toggle]:!0,[t.toggleSwitch]:!0})} id=${l.toggle} @click=${this.toggleSection} @keydown=${this.handleHeaderKeyDown} role=button tabindex=0 title=${g??x}>${this.renderIcon(this.iconStart)}<div class=${c(t.toggleSwitchContent)}><span class=${c(t.toggleSwitchText)}>${i}</span></div>${this.renderIcon(this.iconEnd)}${this.renderStatusIcon()}<calcite-switch .checked=${o} class=${c(t.switch)} inert .label=${g} scale=s></calcite-switch></div></div>`:a`<div class=${c({[t.toggleContainer]:!0})}><button aria-controls=${l.content} .ariaExpanded=${o} class=${c({[t.sectionHeader]:!0,[t.toggle]:!0})} id=${l.toggle} @click=${this.toggleSection}>${this.renderIcon(this.iconStart)}<span class=${c(t.sectionHeaderText)}>${i}</span>${this.renderIcon(this.iconEnd)}${this.renderStatusIcon()}<calcite-icon class=${c(t.chevronIcon)} .icon=${n} scale=s></calcite-icon></button></div>`;return a`${S}<section aria-labelledby=${l.toggle} class=${c(t.content)} .hidden=${!o} id=${l.content}><slot></slot></section>`}};u("calcite-block-section",d);export{d as BlockSection};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as de,d as j,e as pe}from"./NBO2KWR7.js";import{a as le}from"./4Y4V365D.js";import{A as re,B as N,C as ce,D as he,a as b,b as s,c as m,d as F,e as $,f as p,g as L,h as S,i as k,j as U,l as O,m as H,q as P,r as y,t as ne,u as se,w as K,x as E,y as W,z as D}from"./Z76FLLWT.js";import"./JQG34DHY.js";import{a as te,b as ie}from"./OXTQQEDN.js";import{a as A}from"./EDAZUFDP.js";import{d as M}from"./L5R3QRGM.js";import{a as oe}from"./WNJYX4ST.js";import{a as Y}from"./TNTZIL3Q.js";import{a as ae}from"./CP5UAD4K.js";import{b as f}from"./HU4SV6O6.js";import{e as Q,n as Z,x as R}from"./VWYK27CQ.js";import{d as ee}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{H as J,e as X,f as C,j as w,v as z,w as G,x as c,y as x}from"./VMPWMEHX.js";var ke=X`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal);inline-size:var(--calcite-internal-color-picker-min-width);min-inline-size:var(--calcite-internal-color-picker-min-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-color-picker-min-width: 200px;--calcite-color-picker-spacing: 8px}:host([scale=s]) .saved-colors{gap:.25rem;grid-template-columns:repeat(auto-fill,20px)}:host([scale=m]){--calcite-internal-color-picker-min-width: 240px;--calcite-color-picker-spacing: 12px}:host([scale=l]){--calcite-internal-color-picker-min-width: 304px;--calcite-color-picker-spacing: 16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill,32px)}:host([scale=l]) .control-section{display:flex;flex-direction:column;flex-wrap:wrap;align-items:baseline}:host([scale=l]) .color-hex-options{inline-size:100%;display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:flex;flex-direction:column;block-size:min-content;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:6px}.hex-and-channels-group{display:flex;inline-size:100%;flex-direction:column;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex}.channel{flex-grow:1}.channel[data-channel-index="3"]{margin-inline-start:-1px;min-inline-size:81px}:host([scale=s]) .channel[data-channel-index="3"]{min-inline-size:68px}:host([scale=l]) .channel[data-channel-index="3"]{min-inline-size:88px}.saved-colors{display:grid;gap:.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill,24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,ue=16,V=class extends G{constructor(){super(),this._color=m,this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=K.HEX,this.resizeObserver=Y("resize",e=>this.resizeCanvas(e)),this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this._valueWasSet=!1,this.channelMode="rgb",this.channels=this.toChannels(m),this.staticDimensions=k.m,this.savedColors=[],this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.disabled=!1,this.format="auto",this.hexDisabled=!1,this.messages=ae({blocking:!0}),this.savedDisabled=!1,this.scale="m",this.calciteColorPickerChange=z({cancelable:!1}),this.calciteColorPickerInput=z({cancelable:!1}),this.captureColorFieldColor=(e,t,i=!0)=>{let{width:a,height:o}=this.dynamicDimensions.colorField,l=Math.round(p.s/a*e),n=Math.round(p.v/o*(o-t));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(l).value(n),i)},this.drawColorControls=M((e="all")=>{(e==="all"||e==="color-field")&&this.colorFieldRenderingContext&&this.drawColorField(),(e==="all"||e==="hue-slider")&&this.hueSliderRenderingContext&&this.drawHueSlider(),this.alphaChannel&&(e==="all"||e==="opacity-slider")&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()},ue),this.globalPointerMoveHandler=e=>{let{activeCanvasInfo:t,el:i}=this;if(!i.isConnected||!t)return;let{context:a,bounds:o}=t,l,n,{clientX:r,clientY:h}=e;a.canvas.matches(":hover")?(l=r-o.x,n=h-o.y):(r<o.x+o.width&&r>o.x?l=r-o.x:r<o.x?l=0:l=o.width,h<o.y+o.height&&h>o.y?n=h-o.y:h<o.y?n=0:n=o.height),a===this.colorFieldRenderingContext?this.captureColorFieldColor(l,n,!1):a===this.hueSliderRenderingContext?this.captureHueSliderColor(l):a===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(l)},this.globalPointerUpHandler=e=>{if(!R(e))return;let t=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),t&&this.calciteColorPickerChange.emit()},this.resizeCanvas=M(e=>{if(!this.hasUpdated)return;let[t]=e,i=Math.floor(t.contentBoxSize[0].inlineSize);this.dynamicDimensions.colorField.width!==i&&(this.updateDynamicDimensions(i),this.updateCanvasSize(),this.drawColorControls())},ue),this.updateDynamicDimensions=e=>{let t={width:ce(e,this.staticDimensions,this.alphaChannel),height:this.staticDimensions.slider.height};this.dynamicDimensions={colorField:he(e),slider:t}},this.listen("keydown",this.handleChannelKeyUpOrDown,{capture:!0}),this.listen("keyup",this.handleChannelKeyUpOrDown,{capture:!0})}static{this.properties={channelMode:16,channels:16,colorFieldScopeLeft:16,colorFieldScopeTop:16,staticDimensions:16,hueScopeLeft:16,opacityScopeLeft:16,savedColors:16,scopeOrientation:16,allowEmpty:7,alphaChannel:5,channelsDisabled:5,clearable:7,color:0,disabled:7,format:3,hexDisabled:5,messageOverrides:0,numberingSystem:3,savedDisabled:7,scale:3,storageId:3,value:1}}static{this.styles=ke}get baseColorFieldColor(){return this.color||this.previousColor||m}get effectiveSliderWidth(){return this.dynamicDimensions.slider.width}get color(){return this._color}set color(e){let t=this._color;this._color=e,this.handleColorChange(e,t)}get value(){return this._value}set value(e){let t=this._value;this._value=e,this.handleValueChange(e,t),this._valueWasSet=!0}async setFocus(){await ee(this),Z(this.el)}connectedCallback(){super.connectedCallback(),this.observeResize()}async load(){this._valueWasSet||(this._value??=P(y(m,this.alphaChannel))),this.handleAllowEmptyOrClearableChange();let{isClearable:e,color:t,format:i,value:a}=this,o=e&&!a,l=E(a),n=o||i==="auto"&&l||i===l,r=o?null:n?b(a):t;n||this.showIncompatibleColorWarning(a,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateStaticDimensions(this.scale),this.updateDynamicDimensions(k[this.scale].minWidth);let h=`${F}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h)))}willUpdate(e){(e.has("allowEmpty")&&(this.hasUpdated||this.allowEmpty!==!1)||e.has("clearable")&&(this.hasUpdated||this.clearable!==!1))&&this.handleAllowEmptyOrClearableChange(),e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)&&this.handleAlphaChannelChange(this.alphaChannel),this.hasUpdated&&(e.has("alphaChannel")&&this.alphaChannel!==!1||e.has("staticDimensions")&&this.staticDimensions!==k.m)&&this.handleAlphaChannelDimensionsChange(),(e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)||e.has("format")&&(this.hasUpdated||this.format!=="auto"))&&this.handleFormatOrAlphaChannelChange(),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handleScaleChange(this.scale)}updated(){te(this)}loaded(){this.handleAlphaChannelDimensionsChange()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),this.resizeObserver?.disconnect()}observeResize(){this.resizeObserver?.observe(this.el)}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(e){let{format:t}=this;e&&t!=="auto"&&!D(t)&&(console.warn(`ignoring alphaChannel as the current format (${t}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.drawColorControls()}handleColorChange(e,t){this.drawColorControls(),this.updateChannelsFromColor(e),this.previousColor=t}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(e="m"){this.updateStaticDimensions(e),this.updateCanvasSize(),this.drawColorControls()}handleValueChange(e,t){let{isClearable:i,format:a}=this,o=!i||e,l=!1;if(o){let d=E(e);if(!d||a!=="auto"&&d!==a){this.showIncompatibleColorWarning(e,a),this._value=t;return}l=this.mode!==d,this.setMode(d,this.internalColorUpdateContext===null)}let n=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial")return;if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit(),n||this.calciteColorPickerChange.emit();return}let r=i&&!e?null:b(e!=null&&typeof e=="object"&&D(this.mode)?se(e):e),h=!W(r,this.color);(l||h)&&this.internalColorSet(r,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css"))||this.internalColorUpdateContext==="internal","internal")}handleTabActivate(e){this.channelMode=e.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)}handleColorFieldScopeKeyDown(e){let{key:t}=e,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[t]&&(e.preventDefault(),this.scopeOrientation=t==="ArrowDown"||t==="ArrowUp"?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[t].x||0,this.colorFieldScopeTop+i[t].y||0,!1))}handleHueScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(l+o);this.internalColorSet(n,!1)}}handleHexInputChange(e){e.stopPropagation();let{isClearable:t,color:i}=this,a=e.target.value;if(t&&!a){this.internalColorSet(null);return}let o=i&&P(y(i,D(this.mode)));a!==o&&this.internalColorSet(b(a))}handleSavedColorSelect(e){let t=e.currentTarget;this.internalColorSet(b(t.color))}handleChannelInput(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=i===3?S.max:this.channelMode==="rgb"?$[Object.keys($)[i]]:p[Object.keys(p)[i]],o;if(!t.value)o="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;else{let l=Number(t.value)+this.shiftKeyChannelAdjustment;o=de(l,0,a).toString()}t.value=o,o!==""&&this.shiftKeyChannelAdjustment!==0?this.handleChannelChange(e):o!==""&&this.handleChannelChange(e)}handleChannelBlur(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];!t.value&&!this.isClearable&&(t.value=a[i]?.toString())}handleChannelFocus(e){e.currentTarget.selectText()}handleChannelKeyUpOrDown(e){this.shiftKeyChannelAdjustment=0;let{key:t}=e;if(t!=="ArrowUp"&&t!=="ArrowDown"||!e.composedPath().some(o=>o.classList?.contains(s.channel)))return;let{shiftKey:i}=e;if(e.preventDefault(),!this.color){this.internalColorSet(this.previousColor),e.stopPropagation();return}let a=9;this.shiftKeyChannelAdjustment=t==="ArrowUp"&&i?a:t==="ArrowDown"&&i?-9:0,t==="ArrowUp"&&(this.upOrDownArrowKeyTracker="up"),t==="ArrowDown"&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(e){return this.channelMode==="rgb"?$[Object.keys($)[e]]:p[Object.keys(p)[e]]}handleChannelChange(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];if(this.isClearable&&!t.value){this.channels=[null,null,null,null],this.internalColorSet(null);return}let o=i===3;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(t.value=this.upOrDownArrowKeyTracker==="up"?(a[i]+1<=this.getChannelInputLimit(i)?a[i]+1:this.getChannelInputLimit(i)).toString():(a[i]-1>=0?a[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);let l=t.value?Number(t.value):a[i];a[i]=o?H(l):l,this.updateColorFromChannels(a)}handleSavedColorKeyDown(e){oe(e.key)&&(e.preventDefault(),this.handleSavedColorSelect(e))}handleColorFieldPointerDown(e){this.handleCanvasControlPointerDown(e,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)}focusScope(e){requestAnimationFrame(()=>{e.focus()})}handleHueSliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)}handleOpacitySliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)}handleCanvasControlPointerDown(e,t,i,a){R(e)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:t,bounds:t.canvas.getBoundingClientRect()},i.call(this,e.offsetX,e.offsetY),this.focusScope(a))}storeColorFieldScope(e){this.colorFieldScopeNode=e}storeHueScope(e){this.hueScopeNode=e}handleKeyDown(e){e.key==="Enter"&&e.preventDefault()}showIncompatibleColorWarning(e,t){console.warn(`ignoring color value (${e}) as it is not compatible with the current format (${t})`)}setMode(e,t=!0){let i=e==="auto"?this.mode:e;this.mode=this.ensureCompatibleMode(i,t)}ensureCompatibleMode(e,t){let{alphaChannel:i}=this,a=D(e);if(i&&!a){let o=re(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}if(!i&&a){let o=N(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}return e}captureHueSliderColor(e){let t=L/this.effectiveSliderWidth*e;this.internalColorSet(this.baseColorFieldColor.hue(t),!1)}captureOpacitySliderValue(e){let t=H(S.max/this.effectiveSliderWidth*e);this.internalColorSet(this.baseColorFieldColor.alpha(t),!1)}internalColorSet(e,t=!0,i="user-interaction"){t&&W(e,this.color)||(this.internalColorUpdateContext=i,this.color=e,this.value=this.toValue(e),this.internalColorUpdateContext=null)}toValue(e,t=this.mode){if(!e)return null;if(t.includes("hex")){let a=t===K.HEXA;return P(y(e.round(),a),a)}if(t.includes("-css")){let a=e[t.replace("-css","").replace("a","")]().round().string();if((t.endsWith("a")||t.endsWith("a-css"))&&e.alpha()===1){let o=a.slice(0,3),l=a.slice(4,-1);return`${o}a(${l}, ${e.alpha()})`}return a}let i=e[N(t)]().round().object();return t.endsWith("a")?ne(i):i}getSliderCapSpacing(){let{staticDimensions:{slider:{height:e},thumb:{radius:t}}}=this;return t*2-e}updateStaticDimensions(e="m"){this.staticDimensions=k[e]}deleteColor(){let e=y(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(e)>-1))return;let t=this.savedColors.filter(a=>a!==e);this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}saveColor(){let e=y(this.color,this.alphaChannel);if(this.savedColors.indexOf(e)>-1)return;let t=[...this.savedColors,e];this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}drawColorField(){let e=this.colorFieldRenderingContext,{width:t,height:i}=this.dynamicDimensions.colorField;e.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),e.fillRect(0,0,t,i);let a=e.createLinearGradient(0,0,t,0);a.addColorStop(0,"rgba(255,255,255,1)"),a.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=a,e.fillRect(0,0,t,i);let o=e.createLinearGradient(0,0,0,i);o.addColorStop(0,"rgba(0,0,0,0)"),o.addColorStop(1,"rgba(0,0,0,1)"),e.fillStyle=o,e.fillRect(0,0,t,i),this.drawActiveColorFieldColor()}setCanvasContextSize(e,{height:t,width:i}){if(!e)return;let a=window.devicePixelRatio||1;e.width=i*a,e.height=t*a,e.style.height=`${t}px`,e.style.width=`${i}px`,e.getContext("2d").scale(a,a)}initColorField(e){e&&(this.colorFieldRenderingContext=e.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls())}initHueSlider(e){e&&(this.hueSliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider())}initOpacitySlider(e){e&&(this.opacitySliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())}updateCanvasSize(e="all"){let{dynamicDimensions:t,staticDimensions:i}=this;(e==="all"||e==="color-field")&&this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,t.colorField);let a={width:this.effectiveSliderWidth,height:i.slider.height+(i.thumb.radius-t.slider.height/2)*2};(e==="all"||e==="hue-slider")&&this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,a),(e==="all"||e==="opacity-slider")&&this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,a)}drawActiveColorFieldColor(){let{color:e}=this;if(!e)return;let t=e.hsv(),{staticDimensions:{thumb:{radius:i}}}=this,{width:a,height:o}=this.dynamicDimensions.colorField,l=t.saturationv()/(p.s/a),n=o-t.value()/(p.v/o);requestAnimationFrame(()=>{this.colorFieldScopeLeft=l,this.colorFieldScopeTop=n}),this.drawThumb(this.colorFieldRenderingContext,i,l,n,t,!1)}drawThumb(e,t,i,a,o,l){let n=2*Math.PI,r=1;if(e.beginPath(),e.arc(i,a,t,0,n),e.fillStyle="#fff",e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=r,e.stroke(),l&&o.alpha()<1){let d=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.beginPath(),e.arc(i,a,t-3,0,n),e.fillStyle=d,e.fill()}e.globalCompositeOperation="source-atop",e.beginPath(),e.arc(i,a,t-3,0,n);let h=l?o.alpha():1;e.fillStyle=o.rgb().alpha(h).string(),e.fill(),e.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){let{color:e}=this;if(!e)return;let t=e.hsv().saturationv(100).value(100),{staticDimensions:{thumb:{radius:i}}}=this,a=this.effectiveSliderWidth,o=t.hue()/(L/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.hueScopeLeft=n}),this.drawThumb(this.hueSliderRenderingContext,i,n,l,t,!1)}drawHueSlider(){let e=this.hueSliderRenderingContext,{staticDimensions:{slider:{height:t},thumb:{radius:i}}}=this,a=0,o=i-t/2,l=this.effectiveSliderWidth,n=e.createLinearGradient(0,0,l,0),r=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(r.length-1),d=0;r.forEach(u=>{n.addColorStop(d,b(u).string()),d+=h}),e.clearRect(0,0,l,t+this.getSliderCapSpacing()*2),this.drawSliderPath(e,t,l,a,o),e.fillStyle=n,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){let e=this.opacitySliderRenderingContext,{baseColorFieldColor:t,staticDimensions:{slider:{height:i},thumb:{radius:a}}}=this,o=0,l=a-i/2,n=this.effectiveSliderWidth;e.clearRect(0,0,n,i+this.getSliderCapSpacing()*2);let r=e.createLinearGradient(0,l,n,0),h=t.rgb().alpha(0),d=t.rgb().alpha(.5),u=t.rgb().alpha(1);r.addColorStop(0,h.string()),r.addColorStop(.5,d.string()),r.addColorStop(1,u.string()),this.drawSliderPath(e,i,n,o,l);let g=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.fillStyle=g,e.fill(),e.fillStyle=r,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(e,t,i,a,o){let l=t/2+1;e.beginPath(),e.moveTo(a+l,o),e.lineTo(a+i-l,o),e.quadraticCurveTo(a+i,o,a+i,o+l),e.lineTo(a+i,o+t-l),e.quadraticCurveTo(a+i,o+t,a+i-l,o+t),e.lineTo(a+l,o+t),e.quadraticCurveTo(a,o+t,a,o+t-l),e.lineTo(a,o+l),e.quadraticCurveTo(a,o,a+l,o),e.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;let e=document.createElement("canvas");e.width=10,e.height=10;let t=e.getContext("2d");return t.fillStyle="#ccc",t.fillRect(0,0,10,10),t.fillStyle="#fff",t.fillRect(0,0,5,5),t.fillRect(5,5,5,5),this.checkerPattern=e,e}drawActiveOpacitySliderColor(){let{color:e}=this;if(!e)return;let t=e,{staticDimensions:{thumb:{radius:i}}}=this,a=this.effectiveSliderWidth,o=O(t.alpha())/(S.max/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.opacityScopeLeft=n}),this.drawThumb(this.opacitySliderRenderingContext,i,n,l,t,!0)}getSliderBoundX(e,t,i){let a=pe(e,t,i);return a===0?e:a===-1?j(e,0,t,i,i*2):j(e,0,t,t-i*2,t-i)}storeOpacityScope(e){this.opacityScopeNode=e}handleOpacityScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(l+o);this.internalColorSet(n,!1)}}updateColorFromChannels(e){this.internalColorSet(b(e,this.channelMode))}updateChannelsFromColor(e){this.channels=e?this.toChannels(e):[null,null,null,null]}toChannels(e){let{channelMode:t}=this,i=e[t]().array().map((a,o)=>o===3?a:Math.floor(a));return i.length===3&&i.push(1),i}getAdjustedScopePosition(e,t){return[e-U/2,t-U/2]}render(){let{channelsDisabled:e,color:t,colorFieldScopeLeft:i,colorFieldScopeTop:a,staticDimensions:{thumb:{radius:o}},hexDisabled:l,hueScopeLeft:n,messages:r,alphaChannel:h,opacityScopeLeft:d,savedColors:u,savedDisabled:g,scale:v,scopeOrientation:Ce}=this,_=this.effectiveSliderWidth,B=t?y(t,h):null,me=o,ve=n??_*m.hue()/p.h,ge=o,fe=d??_*O(m.alpha())/S.max,q=t===void 0,T=Ce==="vertical",[be,Se]=this.getAdjustedScopePosition(i,a),[ye,we]=this.getAdjustedScopePosition(ve,me),[xe,$e]=this.getAdjustedScopePosition(fe,ge);return ie({disabled:this.disabled,children:C`<div class=${c(s.container)}><div class=${c(s.controlAndScope)}><canvas class=${c(s.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${f(this.initColorField)}></canvas><div .ariaLabel=${T?r.value:r.saturation} .ariaValueMax=${T?p.v:p.s} aria-valuemin=0 .ariaValueNow=${(T?t?.saturationv():t?.value())||"0"} class=${c({[s.scope]:!0,[s.colorFieldScope]:!0})} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${x({top:`${Se||0}px`,left:`${be||0}px`})} tabindex=0 ${f(this.storeColorFieldScope)}></div></div><div class=${c(s.previewAndSliders)}><calcite-color-picker-swatch class=${c(s.preview)} .color=${B} .scale=${this.alphaChannel?"l":this.scale}></calcite-color-picker-swatch><div class=${c(s.sliders)}><div class=${c(s.controlAndScope)}><canvas class=${c({[s.slider]:!0,[s.hueSlider]:!0})} @pointerdown=${this.handleHueSliderPointerDown} ${f(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue()||m.round().hue()} class=${c({[s.scope]:!0,[s.hueScope]:!0})} @keydown=${this.handleHueScopeKeyDown} role=slider style=${x({top:`${we}px`,left:`${ye}px`})} tabindex=0 ${f(this.storeHueScope)}></div></div>${h?C`<div class=${c(s.controlAndScope)}><canvas class=${c({[s.slider]:!0,[s.opacitySlider]:!0})} @pointerdown=${this.handleOpacitySliderPointerDown} ${f(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${S.max} .ariaValueMin=${S.min} .ariaValueNow=${(t||m).round().alpha()} class=${c({[s.scope]:!0,[s.opacityScope]:!0})} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${x({top:`${$e}px`,left:`${xe}px`})} tabindex=0 ${f(this.storeOpacityScope)}></div></div>`:null}</div></div>${l&&e?null:C`<div class=${c({[s.controlSection]:!0,[s.section]:!0})}><div class=${c(s.hexAndChannelsGroup)}>${l?null:C`<div class=${c(s.hexOptions)}><calcite-color-picker-hex-input .allowEmpty=${this.isClearable} .alphaChannel=${h} class=${c(s.control)} .messages=${r} .numberingSystem=${this.numberingSystem} @calciteColorPickerHexInputChange=${this.handleHexInputChange} .scale=${v} .value=${B}></calcite-color-picker-hex-input></div>`}${e?null:C`<calcite-tabs class=${c({[s.colorModeContainer]:!0,[s.splitSection]:!0})} .scale=${v==="l"?"m":"s"}><calcite-tab-nav slot=title-group>${this.renderChannelsTabTitle("rgb")}${this.renderChannelsTabTitle("hsv")}</calcite-tab-nav>${this.renderChannelsTab("rgb")}${this.renderChannelsTab("hsv")}</calcite-tabs>`}</div></div>`}${g?null:C`<div class=${c({[s.savedColorsSection]:!0,[s.section]:!0})}><div class=${c(s.header)}><label>${r.saved}</label><div class=${c(s.savedColorsButtons)}><calcite-button appearance=transparent class=${c(s.deleteColor)} .disabled=${q} icon-start=minus kind=neutral .label=${r.deleteColor} @click=${this.deleteColor} .scale=${v} type=button></calcite-button><calcite-button appearance=transparent class=${c(s.saveColor)} .disabled=${q} icon-start=plus kind=neutral .label=${r.saveColor} @click=${this.saveColor} .scale=${v} type=button></calcite-button></div></div>${u.length>0?C`<div class=${c(s.savedColors)}>${le(u,I=>I,I=>C`<calcite-color-picker-swatch class=${c(s.savedColor)} .color=${I} @click=${this.handleSavedColorSelect} @keydown=${this.handleSavedColorKeyDown} .scale=${v} tabindex=0></calcite-color-picker-swatch>`)}</div>`:null}</div>`}</div>`})}renderChannelsTabTitle(e){let{channelMode:t,messages:i}=this,a=e===t,o=e==="rgb"?i.rgb:i.hsv;return A(e,C`<calcite-tab-title class=${c(s.colorMode)} data-color-mode=${e??w} @calciteTabsActivate=${this.handleTabActivate} .selected=${a}>${o}</calcite-tab-title>`)}renderChannelsTab(e){let{isClearable:t,channelMode:i,channels:a,messages:o,alphaChannel:l}=this,n=e===i,r=e==="rgb"?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value],h=Q(this.el),d=l?a:a.slice(0,3);return A(e,C`<calcite-tab class=${c(s.control)} .selected=${n}><div class=${c(s.channels)} dir=ltr>${d.map((u,g)=>{let v=g===3;return v&&(u=t&&!u?u:O(u)),this.renderChannel(u,g,r[g],h,v?"%":"")})}</div></calcite-tab>`)}renderChannel(e,t,i,a,o){return A(t,C`<calcite-input-number class=${c(s.channel)} data-channel-index=${t??w} dir=${a??w} .label=${i} lang=${this.messages._lang??w} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.handleKeyDown} @calciteInputNumberChange=${this.handleChannelChange} @calciteInputNumberInput=${this.handleChannelInput} @calciteInternalInputNumberBlur=${this.handleChannelBlur} @calciteInternalInputNumberFocus=${this.handleChannelFocus} .scale=${this.scale==="l"?"m":"s"} style=${x({marginLeft:t>0&&!(this.scale==="s"&&this.alphaChannel&&t===3)?"-1px":""})} .suffixText=${o} .value=${e?.toString()}></calcite-input-number>`)}};J("calcite-color-picker",V);export{V as ColorPicker};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a,b as d}from"./OXTQQEDN.js";import{a as l}from"./2MP3FKM6.js";import{H as o,e as t,f as s,w as i}from"./VMPWMEHX.js";var r=t`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends i{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:7,layout:3}}static{this.styles=r}load(){l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]})}updated(){a(this)}render(){return d({disabled:this.disabled,children:s`<slot></slot>`})}};o("calcite-tile-select-group",e);export{e as TileSelectGroup};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as s}from"./AICZR2UX.js";import{b as m}from"./HU4SV6O6.js";import{b as x}from"./AY6HTJZS.js";import{e as f}from"./VWYK27CQ.js";import{f as d,j as g}from"./VMPWMEHX.js";var S=2,E=e=>e.reduce((t,o)=>t+o,0)/e.length,B=e=>{let t=e.filter(n=>n.slot!==s.menuActions),o=t?.length;return{actionWidth:o?E(t.map(n=>n.clientWidth||0)):0,actionHeight:o?E(t.map(n=>n.clientHeight||0)):0}},W=({width:e,actionWidth:t,layout:o,height:n,actionHeight:i,groupCount:r})=>{let l=o==="horizontal"?e:n,a=o==="horizontal"?t:i;return Math.floor((l-r*S)/a)},D=({layout:e,actionCount:t,actionWidth:o,width:n,actionHeight:i,height:r,groupCount:l})=>Math.max(t-W({width:n,actionWidth:o,layout:e,height:r,actionHeight:i,groupCount:l}),0),b=e=>Array.from(e.querySelectorAll("calcite-action")).filter(t=>t.closest("calcite-action-menu")?t.slot===x.trigger:!0),I=({actionGroups:e,expanded:t,overflowCount:o})=>{let n=o;e.reverse().forEach(i=>{let r=0,l=b(i).reverse();l.forEach(a=>{a.slot===s.menuActions&&(a.removeAttribute("slot"),a.textEnabled=t)}),n>0&&l.some(a=>(l.filter(h=>!h.slot).length>1&&l.length>2&&!a.closest("calcite-action-menu")&&(a.textEnabled=!0,a.setAttribute("slot",s.menuActions),r++,r>1&&n--),n<1)),i.manager.component.requestUpdate()})},v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function w(e,t){return e||t.closest("calcite-shell-panel")?.position||"start"}function N({el:e,expanded:t}){b(e).filter(o=>o.slot!==s.menuActions).forEach(o=>o.textEnabled=t),e.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(o=>o.expanded=t)}var T=({tooltip:e,referenceElement:t,expanded:o,ref:n})=>(e&&(e.referenceElement=!o&&t?t:null),n&&n(t),t),O=({expanded:e,expandText:t,collapseText:o,expandLabel:n,collapseLabel:i,toggle:r,el:l,position:a,tooltip:h,ref:A,scale:$})=>{let y=f(l)==="rtl",p=e?o:t,C=e?i:n,c=[v.chevronsLeft,v.chevronsRight];y&&c.reverse();let u=w(a,l)==="end",H=u?c[1]:c[0],q=u?c[0]:c[1];return d`<calcite-action .icon=${e?H:q} id=expand-toggle .label=${C} @click=${r} .scale=${$} .text=${p} .textEnabled=${e} title=${(!e&&!h?p:null)??g} ${m(L=>T({tooltip:h,referenceElement:L,expanded:e,ref:A}))}></calcite-action>`};export{B as a,D as b,b as c,I as d,N as e,O as f};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{b as a}from"./T3VMFF7Q.js";import"./DVTDESEW.js";var _={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(e===1||e===8||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};a.locale(_,null,!0);var n=_;export{n as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as x,b as C}from"./PLGSYQRK.js";import{a as O,b as S}from"./OXTQQEDN.js";import{a as f}from"./TNTZIL3Q.js";import{l as v}from"./VWYK27CQ.js";import{a as y}from"./2MP3FKM6.js";import"./FL2NP2W4.js";import{H as u,e as h,f as m,v as b,w as p,x as g}from"./VMPWMEHX.js";var l={container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"},E=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=f("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=b({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:0,canPut:0,disabled:7,dragSelector:3,group:3,handleSelector:3,layout:3,loading:7}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}load(){y.deprecated("component",{name:"sortable-list",removalVersion:4,suggested:"block-group"})}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:r}=e.detail,t=e.composedPath().find(a=>a.matches(this.handleSelector)),i=this.items.find(a=>a.contains(t)||e.composedPath().includes(a)),c=this.items.length-1,s=this.items.indexOf(i),o=!1,n;r==="up"?s===0?o=!0:n=s-1:s===c?n=0:s===c-1?o=!0:n=s+2,this.endObserving(),o?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[n]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame(()=>v(t)),"selected"in t&&(t.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),x(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){let{disabled:e,layout:r}=this,t=r==="horizontal"||!1;return S({disabled:e,children:m`<div class=${g({[l.container]:!0,[l.containerVertical]:!t,[l.containerHorizontal]:t})}><slot></slot></div>`})}};u("calcite-sortable-list",d);export{d as SortableList};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as g,b}from"./OXTQQEDN.js";import{a as x}from"./WNJYX4ST.js";import{a as u}from"./CP5UAD4K.js";import{a as s,b as r}from"./HU4SV6O6.js";import{u as v}from"./VWYK27CQ.js";import{a as l,d as m}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{H as d,e as p,f as i,v as a,w as h,x as t}from"./VMPWMEHX.js";var c={title:"title",close:"close",imageContainer:"image-container",chipIcon:"chip-icon",textSlotted:"text--slotted",container:"container",imageSlotted:"image--slotted",closable:"closable",multiple:"multiple",single:"single",selectable:"selectable",selectIcon:"select-icon",selectIconActive:"select-icon--active",nonInteractive:"non-interactive",isCircle:"is-circle",selected:"selected"},y={image:"image"},n={close:"x",checkedSingle:"circle-f",uncheckedMultiple:"square",checkedMultiple:"check-square-f"},C=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;cursor:default;border-radius:var(--calcite-chip-corner-radius, 9999px)}:host([closed]){display:none}:host([appearance=outline]) .container,:host([appearance=outline-fill]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([appearance=outline]) .close,:host([appearance=outline-fill]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-chip-border-color: var(--calcite-chip-border-color, var(--calcite-color-brand))}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-chip-border-color: var(--calcite-chip-border-color, var(--calcite-color-border-inverse))}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-chip-border-color: var(--calcite-chip-border-color, var(--calcite-color-border-1))}:host([appearance=outline]){--calcite-internal-chip-background-color: transparent}:host([appearance=outline-fill]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-foreground-1))}:host([appearance=solid]){--calcite-internal-chip-border-color: transparent}:host([appearance=solid]):host([kind=brand]) .container,:host([appearance=solid]):host([kind=inverse]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-inverse))}:host([appearance=solid]):host([kind=brand]) .close,:host([appearance=solid]):host([kind=inverse]) .close{outline-color:var(--calcite-color-text-inverse)}:host([appearance=solid]):host([kind=brand]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-brand))}:host([appearance=solid]):host([kind=inverse]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-inverse))}:host([appearance=solid]):host([kind=inverse]) .close:hover{background-color:var(--calcite-color-inverse-hover)}:host([appearance=solid]):host([kind=inverse]) .close:active{background-color:var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=neutral]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-foreground-2))}:host([kind=neutral]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([kind=neutral]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([selected]) .select-icon{opacity:1}:host([appearance=solid]):host([kind=neutral]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-foreground-3);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-border-3)}:host([appearance=solid]):host([kind=inverse]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-inverse-hover);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=brand]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-brand-hover);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-foreground-2);--calcite-internal-chip-selectable-hover-border-color: var(--calcite-color-border-input);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-foreground-3);--calcite-internal-chip-selectable-active-border-color: var(--calcite-color-text-3)}:host([appearance=outline-fill]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-foreground-2);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]):host([kind=neutral]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-transparent-hover);--calcite-internal-chip-selectable-hover-border-color: var(--calcite-color-border-input);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-transparent-press);--calcite-internal-chip-selectable-active-border-color: var(--calcite-color-text-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline]):host([kind=brand]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-transparent-hover);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-transparent-press)}:host([scale=s]) .container{--calcite-internal-chip-block-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--2);--calcite-internal-chip-icon-size: var(--calcite-size-xs, 1rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-image-size: var(--calcite-spacing-xl, 1.25rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-close-size: var(--calcite-size-xs, 1rem) }:host([scale=s]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px)}:host([scale=s]) .container.image--slotted:has(.chip-icon),:host([scale=s]) .container.image--slotted.text--slotted,:host([scale=s]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.image--slotted:not(.text--slotted,:has(.chip-icon)),:host([scale=s]) .container.image--slotted:not(.selectable){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=s]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.multiple:not(.is-circle).image--slotted:not(.text--slotted){--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container{--calcite-internal-chip-block-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--1);--calcite-internal-chip-icon-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-image-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-close-size: var(--calcite-size-sm, 1.5rem) }:host([scale=m]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=m]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.image--slotted:has(.chip-icon),:host([scale=m]) .container.image--slotted.text--slotted,:host([scale=m]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=m]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.multiple:not(.is-circle){--calcite-internal-chip-select-space-x-end: .125rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=m]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container{--calcite-internal-chip-block-size: 2.75rem ;--calcite-internal-chip-container-space-x-end: .5rem ;--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-font-size: var(--calcite-font-size-0);--calcite-internal-chip-icon-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-icon-space: .5rem ;--calcite-internal-chip-image-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-title-space: .5rem ;--calcite-internal-close-size: var(--calcite-size-md, 2rem) }:host([scale=l]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.image--slotted:has(.chip-icon),:host([scale=l]) .container.image--slotted.text--slotted,:host([scale=l]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: .5rem }:host([scale=l]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=l]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: .5rem }:host([scale=l]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .75rem }:host([scale=l]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) }.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);outline-color:transparent;background-color:var(--calcite-internal-chip-background-color);border-color:var(--calcite-internal-chip-border-color);border-radius:var(--calcite-chip-corner-radius, 9999px);border-width:var(--calcite-border-width-sm);border-style:solid;font-size:var(--calcite-internal-chip-font-size, var(--calcite-font-size));padding-inline-start:var(--calcite-internal-chip-container-space-x-start);padding-inline-end:var(--calcite-internal-chip-container-space-x-end);block-size:var(--calcite-internal-chip-block-size, auto);inline-size:var(--calcite-internal-chip-inline-size, auto);min-inline-size:var(--calcite-internal-chip-block-size, auto)}.container:hover .select-icon--active{opacity:var(--calcite-opacity-full, 1)}.container.selectable{cursor:pointer}.container.selectable:hover{background-color:var(--calcite-internal-chip-selectable-hover-background-color);border-color:var(--calcite-internal-chip-selectable-hover-border-color)}.container.selectable:active{background-color:var(--calcite-internal-chip-selectable-active-background-color);border-color:var(--calcite-internal-chip-selectable-active-border-color)}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container:not(.text--slotted) .title,.container:not(.image--slotted) .image-container{display:none}.container.is-circle .chip-icon,.container.is-circle .image-container{padding:var(--calcite-spacing-none, 0)}.title{padding-inline:var(--calcite-internal-chip-title-space)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none;block-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));padding-inline-start:var(--calcite-spacing-none, 0);padding-inline-end:var(--calcite-internal-chip-image-space-x-end, 0)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-chip-icon-color, var(--calcite-chip-text-color, var(--calcite-icon-color, currentColor)));padding-inline:var(--calcite-internal-chip-icon-space, var(--calcite-spacing-xs, .375rem))}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:absolute;visibility:hidden;inline-size:auto;opacity:0;transition:opacity .15s ease-in-out,inline-size .15s ease-in-out;color:var(--calcite-chip-select-icon-color, currentColor)}.select-icon.select-icon--active{position:relative;visibility:visible;opacity:var(--calcite-opacity-half, .5);color:var(--calcite-chip-select-icon-color-press, var(--calcite-chip-select-icon-color-pressed, var(--calcite-chip-select-icon-color, currentColor)))}.multiple .select-icon{display:flex;align-items:center;justify-content:center}.multiple .select-icon,.single .select-icon--active{padding-inline-start:var(--calcite-internal-chip-select-space-x-start);padding-inline-end:var(--calcite-internal-chip-select-space-x-end);block-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem))}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.close{margin:0;cursor:pointer;align-items:center;border-radius:50%;border-style:none;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-close-background-color, var(--calcite-color-transparent));-webkit-appearance:none;display:flex;align-content:center;justify-content:center;color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, currentColor));block-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));padding:0}.close:hover,.close:focus{background-color:var(--calcite-close-background-color-hover, var(--calcite-color-transparent-hover))}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:active{background-color:var(--calcite-close-background-color-press, var(--calcite-color-transparent-press))}.close calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends h{constructor(){super(),this.closeButtonEl=s(),this.containerEl=s(),this.hasImage=!1,this.hasText=!1,this.appearance="solid",this.closable=!1,this.closed=!1,this.closeOnDelete=!1,this.disabled=!1,this.iconFlipRtl=!1,this.interactive=!1,this.kind="neutral",this.messages=u(),this.scale="m",this.selected=!1,this.selectionMode="none",this.calciteChipClose=a({cancelable:!1}),this.calciteChipSelect=a({cancelable:!1}),this.calciteInternalChipKeyEvent=a({cancelable:!1}),this.calciteInternalChipSelect=a({cancelable:!1}),this.calciteInternalSyncSelectedChips=a({cancelable:!1}),this.listen("keydown",this.keyDownHandler),this.listen("click",this.clickHandler)}static{this.properties={hasImage:16,hasText:16,appearance:3,closable:7,closed:7,closeOnDelete:7,disabled:7,icon:3,iconFlipRtl:7,interactive:5,kind:3,label:1,messageOverrides:0,parentChipGroup:0,scale:3,selected:7,selectionMode:1,value:1}}static{this.styles=C}async setFocus(){await m(this),!this.disabled&&this.interactive?this.containerEl.value?.focus():!this.disabled&&this.closable&&this.closeButtonEl.value?.focus()}async load(){this.updateHasText()}willUpdate(e){e.has("selected")&&this.hasUpdated&&this.watchSelected(this.selected)}updated(){g(this)}loaded(){this.selectionMode!=="none"&&this.interactive&&this.selected&&this.handleSelectionPropertyChange(this.selected)}watchSelected(e){this.selectionMode!=="none"&&this.handleSelectionPropertyChange(e)}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleEmittingEvent(),e.preventDefault();break;case"Backspace":case"Delete":this.closable&&!this.closed&&this.closeOnDelete&&(e.preventDefault(),this.close());break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(e),e.preventDefault();break}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.value.focus()}handleDefaultSlotChange(){this.updateHasText()}close(){this.calciteChipClose.emit(),this.selected=!1,this.closed=!0}closeButtonKeyDownHandler(e){x(e.key)&&(e.preventDefault(),this.close())}updateHasText(){this.hasText=this.el.textContent.trim().length>0}handleSlotImageChange(e){this.hasImage=v(e)}handleEmittingEvent(){this.interactive&&this.calciteChipSelect.emit()}handleSelectionPropertyChange(e){this.selectionMode==="single"&&this.calciteInternalSyncSelectedChips.emit(),!this.parentChipGroup.selectedItems.includes(this.el)&&e&&this.selectionMode!=="multiple"&&this.calciteInternalChipSelect.emit(),this.selectionMode!=="single"&&this.calciteInternalSyncSelectedChips.emit()}renderChipImage(){return i`<div class=${t(c.imageContainer)}><slot name=${y.image} @slotchange=${this.handleSlotImageChange}></slot></div>`}renderSelectionIcon(){let e=this.selectionMode==="multiple"?this.selected?n.checkedMultiple:n.uncheckedMultiple:this.selected?n.checkedSingle:void 0;return i`<div class=${t({[c.selectIcon]:!0,[c.selectIconActive]:this.selectionMode==="multiple"||this.selected})}>${e?i`<calcite-icon .icon=${e} .scale=${l(this.scale)}></calcite-icon>`:null}</div>`}renderCloseButton(){return i`<button .ariaLabel=${this.messages.dismissLabel} class=${t(c.close)} @click=${this.close} @keydown=${this.closeButtonKeyDownHandler} .tabIndex=${this.disabled?-1:0} ${r(this.closeButtonEl)}><calcite-icon .icon=${n.close} .scale=${l(this.scale)}></calcite-icon></button>`}renderIcon(){return i`<calcite-icon class=${t(c.chipIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.icon} .scale=${l(this.scale)}></calcite-icon>`}render(){let{disabled:e}=this,k=e||!e&&!this.interactive,f=this.selectionMode==="multiple"&&this.interactive?"checkbox":this.selectionMode!=="none"&&this.interactive?"radio":this.interactive?"button":"img";return b({disabled:e,children:i`<div .ariaChecked=${this.selectionMode!=="none"&&this.interactive?this.selected:void 0} .ariaLabel=${this.label} class=${t({[c.container]:!0,[c.textSlotted]:this.hasText,[c.imageSlotted]:this.hasImage,[c.selectable]:this.selectionMode!=="none",[c.multiple]:this.selectionMode==="multiple",[c.single]:this.selectionMode==="single"||this.selectionMode==="single-persist",[c.selected]:this.selected,[c.closable]:this.closable,[c.nonInteractive]:!this.interactive,[c.isCircle]:!this.closable&&!this.hasText&&(!this.icon||!this.hasImage)&&(this.selectionMode==="none"||!!this.selectionMode&&this.selectionMode!=="multiple"&&!this.selected)})} @click=${this.handleEmittingEvent} .role=${f} .tabIndex=${k?-1:0} ${r(this.containerEl)}>${this.selectionMode!=="none"&&this.renderSelectionIcon()||""}${this.renderChipImage()}${this.icon&&this.renderIcon()||""}<span class=${t(c.title)}><slot @slotchange=${this.handleDefaultSlotChange}></slot></span>${this.closable&&this.renderCloseButton()||""}</div>`})}};d("calcite-chip",o);export{o as Chip};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{b as o,c as v}from"./HOZ53NHV.js";import{a as k,b as g}from"./OXTQQEDN.js";import{b as u}from"./HU4SV6O6.js";import{e as b,l as m}from"./VWYK27CQ.js";import{d as f}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{B as d,C as h,H as p,e as l,f as n,w as r,x as c,z as e}from"./VMPWMEHX.js";var R=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends r{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:7,download:[3,{converter:d}],href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,rel:1,target:1}}static{this.styles=R}async setFocus(){await f(this),m(this.childEl)}updated(){k(this)}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}childElClickHandler(i){i.isTrusted||i.stopPropagation()}storeTagRef(i){this.childEl=i}render(){let{download:i,el:y}=this,x=b(y),t=this.href?"a":"span",$=n`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,z=n`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,a=t==="span"?o`span`:o`a`,w=t==="span"?"link":null,E=t==="span"?0:null;return this.el.role="presentation",g({disabled:this.disabled,children:v`<${a} class=${c({[h.rtl]:x==="rtl"})} download=${(t==="a"?i===!0||i===""?"":i||null:null)??e} href=${(t==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(t==="a"&&this.rel)??e} .role=${w} tabindex=${E??e} target=${(t==="a"&&this.target)??e} ${u(this.storeTagRef)}>${n`${this.iconStart?$:null}<slot></slot>${this.iconEnd?z:null}`}</${a}>`})}};p("calcite-link",s);export{s as Link};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{h as g}from"./32TEZ77V.js";import{k as o}from"./KDW5YGG6.js";import{a as p,b as y}from"./OXTQQEDN.js";import{a as f}from"./WNJYX4ST.js";import{k as h,r as v}from"./VWYK27CQ.js";import{d as u}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{A as a,H as d,e as l,f as s,v as t,w as n}from"./VMPWMEHX.js";var k=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-3))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled]):not([selected])) .day{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-brand));background-color:var(--calcite-date-picker-day-range-background-color, var(--calcite-color-foreground-current))}@media (forced-colors: active){.day{border-radius:0}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day,:host([highlighted]) .day,:host([range-hover]:not([selected])) .day{background-color:highlight}:host([range-hover]) .day,:host([range][selected][start-of-range]) .day,:host([range][selected][end-of-range]) .day{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends n{constructor(){super(),this.active=!1,this.currentMonth=!1,this.disabled=!1,this.endOfRange=!1,this.highlighted=!1,this.range=!1,this.rangeHover=!1,this.selected=!1,this.startOfRange=!1,this.calciteInternalDayHover=t({cancelable:!1}),this.calciteInternalDaySelect=t({cancelable:!1}),this.listen("pointerover",this.pointerOverHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={active:7,currentMonth:7,dateTimeFormat:0,day:9,disabled:7,endOfRange:7,highlighted:7,range:7,rangeEdge:3,rangeHover:7,scale:3,selected:7,startOfRange:7,value:0}}static{this.styles=k}async setFocus(){await u(this),this.el.focus()}load(){this.parentDatePickerEl=h(this.el,"calcite-date-picker")}updated(){p(this)}onClick(){this.disabled||this.calciteInternalDaySelect.emit()}keyDownHandler(e){f(e.key)&&(this.disabled||this.calciteInternalDaySelect.emit(),e.preventDefault())}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}render(){let e=g(this.value).replaceAll("-","");if(this.parentDatePickerEl){let{numberingSystem:c,lang:r}=this.parentDatePickerEl;o.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...r&&{locale:r}}}let b=o.localize(String(this.day)),m=this.dateTimeFormat.format(this.value);return this.el.ariaLabel=m,this.el.ariaSelected=v(this.active),a(this.el,"id",e),this.el.role="button",a(this.el,"tabIndex",this.active&&!this.disabled?0:-1),y({disabled:this.disabled,children:s`<div aria-hidden=true class="day-wrapper"><span class="day"><span class="text">${b}</span></span></div>`})}};d("calcite-date-picker-day",i);export{i as DatePickerDay};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as T}from"./2IZE775W.js";import"./CWO2IKSM.js";import{a as f,b as S}from"./OXTQQEDN.js";import{a as r}from"./EDAZUFDP.js";import"./L5R3QRGM.js";import{a as v}from"./CP5UAD4K.js";import{b as w}from"./HU4SV6O6.js";import"./VWYK27CQ.js";import{d as $}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{H as g,e as u,f as a,j as l,v as i,w as b,x as c}from"./VMPWMEHX.js";var D={handle:"handle",dropdown:"dropdown"},I={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},P=["top","up","down","bottom"],B=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends b{constructor(){super(...arguments),this.disabled=!1,this.messages=v({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=T,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!1}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!1})}static{this.properties={hasSetInfo:16,isSetDisabled:16,disabled:7,flipPlacements:0,label:1,messageOverrides:0,messages:0,moveToItems:0,open:7,overlayPositioning:3,placement:3,scale:3,setPosition:9,setSize:9,widthScale:3}}static{this.styles=B}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get isSetDisabled(){let{setPosition:e,setSize:t,moveToItems:o}=this;return this.hasSetInfo?e<1||t<1||t<2&&o.length<1:!1}async setFocus(){await $(this),this.dropdownEl?.setFocus()}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){f(this)}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this;if(!this.hasSetInfo)return e??"";let n=e?t.repositionLabel.replace(p.label,e):t.reposition;return n=n.replace(p.position,o?o.toString():""),n.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:n,scale:m,widthScale:y}=this,d=this.getLabel(),H=e||this.isSetDisabled;return S({disabled:e,children:a`<calcite-dropdown class=${c(D.dropdown)} .disabled=${H} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${n} .scale=${m} .widthScale=${y} ${w(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${c(D.handle)} .dragHandle=${!0} .icon=${e?I.blank:I.drag} .label=${d} .scale=${m} slot=trigger .text=${d} title=${d??l}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return r(e.id,a`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderGroup(){return this.hasSetInfo?r("reorder",a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?r("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return r(P[e],a`<calcite-dropdown-item data-value=${P[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};g("calcite-sort-handle",h);export{h as SortHandle};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{b as _}from"./T3VMFF7Q.js";import"./DVTDESEW.js";var t={name:"th",weekdays:"\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C_\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C_\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23_\u0E1E\u0E38\u0E18_\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35_\u0E28\u0E38\u0E01\u0E23\u0E4C_\u0E40\u0E2A\u0E32\u0E23\u0E4C".split("_"),weekdaysShort:"\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C_\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C_\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23_\u0E1E\u0E38\u0E18_\u0E1E\u0E24\u0E2B\u0E31\u0E2A_\u0E28\u0E38\u0E01\u0E23\u0E4C_\u0E40\u0E2A\u0E32\u0E23\u0E4C".split("_"),weekdaysMin:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),months:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21_\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C_\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21_\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19_\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21_\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19_\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21_\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21_\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19_\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21_\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19_\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21".split("_"),monthsShort:"\u0E21.\u0E04._\u0E01.\u0E1E._\u0E21\u0E35.\u0E04._\u0E40\u0E21.\u0E22._\u0E1E.\u0E04._\u0E21\u0E34.\u0E22._\u0E01.\u0E04._\u0E2A.\u0E04._\u0E01.\u0E22._\u0E15.\u0E04._\u0E1E.\u0E22._\u0E18.\u0E04.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm",LLLL:"\u0E27\u0E31\u0E19dddd\u0E17\u0E35\u0E48 D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm"},relativeTime:{future:"\u0E2D\u0E35\u0E01 %s",past:"%s\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27",s:"\u0E44\u0E21\u0E48\u0E01\u0E35\u0E48\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",m:"1 \u0E19\u0E32\u0E17\u0E35",mm:"%d \u0E19\u0E32\u0E17\u0E35",h:"1 \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",hh:"%d \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",d:"1 \u0E27\u0E31\u0E19",dd:"%d \u0E27\u0E31\u0E19",M:"1 \u0E40\u0E14\u0E37\u0E2D\u0E19",MM:"%d \u0E40\u0E14\u0E37\u0E2D\u0E19",y:"1 \u0E1B\u0E35",yy:"%d \u0E1B\u0E35"},ordinal:function(d){return d+"."}};_.locale(t,null,!0);var M=t;export{M as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as ne,l as ie}from"./VWYK27CQ.js";import{E as re,b as ae}from"./VMPWMEHX.js";var oe=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],B=oe.join(","),se=typeof Element>"u",D=se?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,K=!se&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r?.ownerDocument},j=function r(e,t){var a;t===void 0&&(t=!0);var o=e==null||(a=e.getAttribute)===null||a===void 0?void 0:a.call(e,"inert"),s=o===""||o==="true",n=s||t&&e&&r(e.parentNode);return n},Ee=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},ce=function(e,t,a){if(j(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(B));return t&&D.call(e,B)&&o.unshift(e),o=o.filter(a),o},le=function r(e,t,a){for(var o=[],s=Array.from(e);s.length;){var n=s.shift();if(!j(n,!1))if(n.tagName==="SLOT"){var d=n.assignedElements(),l=d.length?d:n.children,y=r(l,!0,a);a.flatten?o.push.apply(o,y):o.push({scopeParent:n,candidates:y})}else{var T=D.call(n,B);T&&a.filter(n)&&(t||!e.includes(n))&&o.push(n);var w=n.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(n),S=!j(w,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(n));if(w&&S){var O=r(w===!0?n.children:w.children,!0,a);a.flatten?o.push.apply(o,O):o.push({scopeParent:n,candidates:O})}else s.unshift.apply(s,n.children)}}return o},fe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},E=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Ee(e))&&!fe(e)?0:e.tabIndex},Se=function(e,t){var a=E(e);return a<0&&t&&!fe(e)?0:a},ke=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},de=function(e){return e.tagName==="INPUT"},De=function(e){return de(e)&&e.type==="hidden"},Ce=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},Oe=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},Re=function(e){if(!e.name)return!0;var t=e.form||K(e),a=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=a(window.CSS.escape(e.name));else try{o=a(e.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var s=Oe(o,e.form);return!s||s===e},Ae=function(e){return de(e)&&e.type==="radio"},Ie=function(e){return Ae(e)&&!Re(e)},Pe=function(e){var t,a=e&&K(e),o=(t=a)===null||t===void 0?void 0:t.host,s=!1;if(a&&a!==e){var n,d,l;for(s=!!((n=o)!==null&&n!==void 0&&(d=n.ownerDocument)!==null&&d!==void 0&&d.contains(o)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!s&&o;){var y,T,w;a=K(o),o=(y=a)===null||y===void 0?void 0:y.host,s=!!((T=o)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(o))}}return s},ue=function(e){var t=e.getBoundingClientRect(),a=t.width,o=t.height;return a===0&&o===0},xe=function(e,t){var a=t.displayCheck,o=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=D.call(e,"details>summary:first-of-type"),n=s?e.parentElement:e;if(D.call(n,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof o=="function"){for(var d=e;e;){var l=e.parentElement,y=K(e);if(l&&!l.shadowRoot&&o(l)===!0)return ue(e);e.assignedSlot?e=e.assignedSlot:!l&&y!==e.ownerDocument?e=y.host:e=l}e=d}if(Pe(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return ue(e);return!1},Le=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a<t.children.length;a++){var o=t.children.item(a);if(o.tagName==="LEGEND")return D.call(t,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||j(t)||De(t)||xe(t,e)||Ce(t)||Le(t))},$=function(e,t){return!(Ie(t)||E(t)<0||!M(e,t))},Be=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ke=function r(e){var t=[],a=[];return e.forEach(function(o,s){var n=!!o.scopeParent,d=n?o.scopeParent:o,l=Se(d,n),y=n?r(o.candidates):d;l===0?n?t.push.apply(t,y):t.push(d):a.push({documentOrder:s,tabIndex:l,item:o,isScope:n,content:y})}),a.sort(ke).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(t)},ve=function(e,t){t=t||{};var a;return t.getShadowRoot?a=le([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Be}):a=ce(e,t.includeContainer,$.bind(null,t)),Ke(a)},be=function(e,t){t=t||{};var a;return t.getShadowRoot?a=le([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=ce(e,t.includeContainer,M.bind(null,t)),a},C=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,B)===!1?!1:$(t,e)},je=oe.concat("iframe").join(","),G=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,je)===!1?!1:M(t,e)};function W(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function Me(r){if(Array.isArray(r))return W(r)}function Ge(r,e,t){return(e=$e(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function qe(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function he(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,a)}return t}function pe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?he(Object(t),!0).forEach(function(a){Ge(r,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):he(Object(t)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(t,a))})}return r}function Ve(r){return Me(r)||qe(r)||We(r)||Ue()}function _e(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var a=t.call(r,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function $e(r){var e=_e(r,"string");return typeof e=="symbol"?e:e+""}function We(r,e){if(r){if(typeof r=="string")return W(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?W(r,e):void 0}}var ye={activateTrap:function(e,t){if(e.length>0){var a=e[e.length-1];a!==t&&a._setPausedState(!0)}var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Ye=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ze=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},ze=function(e){return x(e)&&!e.shiftKey},Xe=function(e){return x(e)&&e.shiftKey},me=function(e){return setTimeout(e,0)},P=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,a):e},q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},He=[],ge=function(e,t){var a=t?.document||document,o=t?.trapStack||He,s=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ze,isKeyBackward:Xe},t),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(i,u,c){return i&&i[u]!==void 0?i[u]:s[c||u]},y=function(i,u){var c=typeof u?.composedPath=="function"?u.composedPath():void 0;return n.containerGroups.findIndex(function(v){var b=v.container,p=v.tabbableNodes;return b.contains(i)||c?.includes(b)||p.find(function(f){return f===i})})},T=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=u.hasFallback,v=c===void 0?!1:c,b=u.params,p=b===void 0?[]:b,f=s[i];if(typeof f=="function"&&(f=f.apply(void 0,Ve(p))),f===!0&&(f=void 0),!f){if(f===void 0||f===!1)return f;throw new Error("`".concat(i,"` was specified but was not a node, or did not return a node"))}var m=f;if(typeof f=="string"){try{m=a.querySelector(f)}catch(g){throw new Error("`".concat(i,'` appears to be an invalid selector; error="').concat(g.message,'"'))}if(!m&&!v)throw new Error("`".concat(i,"` as selector refers to no known node"))}return m},w=function(){var i=T("initialFocus",{hasFallback:!0});if(i===!1)return!1;if(i===void 0||i&&!G(i,s.tabbableOptions))if(y(a.activeElement)>=0)i=a.activeElement;else{var u=n.tabbableGroups[0],c=u&&u.firstTabbableNode;i=c||T("fallbackFocus")}else i===null&&(i=T("fallbackFocus"));if(!i)throw new Error("Your focus-trap needs to have at least one focusable element");return i},S=function(){if(n.containerGroups=n.containers.map(function(i){var u=ve(i,s.tabbableOptions),c=be(i,s.tabbableOptions),v=u.length>0?u[0]:void 0,b=u.length>0?u[u.length-1]:void 0,p=c.find(function(g){return C(g)}),f=c.slice().reverse().find(function(g){return C(g)}),m=!!u.find(function(g){return E(g)>0});return{container:i,tabbableNodes:u,focusableNodes:c,posTabIndexesFound:m,firstTabbableNode:v,lastTabbableNode:b,firstDomTabbableNode:p,lastDomTabbableNode:f,nextTabbableNode:function(k){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=u.indexOf(k);return F<0?A?c.slice(c.indexOf(k)+1).find(function(I){return C(I)}):c.slice(0,c.indexOf(k)).reverse().find(function(I){return C(I)}):u[F+(A?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(i){return i.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(i){return i.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(i){var u=i.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?O(u.shadowRoot):u},N=function(i){if(i!==!1&&i!==O(document)){if(!i||!i.focus){N(w());return}i.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=i,Ye(i)&&i.select()}},Y=function(i){var u=T("setReturnFocus",{params:[i]});return u||(u===!1?!1:i)},Z=function(i){var u=i.target,c=i.event,v=i.isBackward,b=v===void 0?!1:v;u=u||q(c),S();var p=null;if(n.tabbableGroups.length>0){var f=y(u,c),m=f>=0?n.containerGroups[f]:void 0;if(f<0)b?p=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:p=n.tabbableGroups[0].firstTabbableNode;else if(b){var g=n.tabbableGroups.findIndex(function(V){var _=V.firstTabbableNode;return u===_});if(g<0&&(m.container===u||G(u,s.tabbableOptions)&&!C(u,s.tabbableOptions)&&!m.nextTabbableNode(u,!1))&&(g=f),g>=0){var k=g===0?n.tabbableGroups.length-1:g-1,A=n.tabbableGroups[k];p=E(u)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else x(c)||(p=m.nextTabbableNode(u,!1))}else{var F=n.tabbableGroups.findIndex(function(V){var _=V.lastTabbableNode;return u===_});if(F<0&&(m.container===u||G(u,s.tabbableOptions)&&!C(u,s.tabbableOptions)&&!m.nextTabbableNode(u))&&(F=f),F>=0){var I=F===n.tabbableGroups.length-1?0:F+1,te=n.tabbableGroups[I];p=E(u)>=0?te.firstTabbableNode:te.firstDomTabbableNode}else x(c)||(p=m.nextTabbableNode(u))}}else p=T("fallbackFocus");return p},L=function(i){var u=q(i);if(!(y(u,i)>=0)){if(P(s.clickOutsideDeactivates,i)){d.deactivate({returnFocus:s.returnFocusOnDeactivate});return}P(s.allowOutsideClick,i)||i.preventDefault()}},z=function(i){var u=q(i),c=y(u,i)>=0;if(c||u instanceof Document)c&&(n.mostRecentlyFocusedNode=u);else{i.stopImmediatePropagation();var v,b=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var p=y(n.mostRecentlyFocusedNode),f=n.containerGroups[p].tabbableNodes;if(f.length>0){var m=f.findIndex(function(g){return g===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<f.length&&(v=f[m+1],b=!1):m-1>=0&&(v=f[m-1],b=!1))}}else n.containerGroups.some(function(g){return g.tabbableNodes.some(function(k){return E(k)>0})})||(b=!1);else b=!1;b&&(v=Z({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),N(v||n.mostRecentlyFocusedNode||w())}n.recentNavEvent=void 0},Ne=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=i;var c=Z({event:i,isBackward:u});c&&(x(i)&&i.preventDefault(),N(c))},X=function(i){(s.isKeyForward(i)||s.isKeyBackward(i))&&Ne(i,s.isKeyBackward(i))},H=function(i){Ze(i)&&P(s.escapeDeactivates,i)!==!1&&(i.preventDefault(),d.deactivate())},J=function(i){var u=q(i);y(u,i)>=0||P(s.clickOutsideDeactivates,i)||P(s.allowOutsideClick,i)||(i.preventDefault(),i.stopImmediatePropagation())},Q=function(){if(n.active)return ye.activateTrap(o,d),n.delayInitialFocusTimer=s.delayInitialFocus?me(function(){N(w())}):N(w()),a.addEventListener("focusin",z,!0),a.addEventListener("mousedown",L,{capture:!0,passive:!1}),a.addEventListener("touchstart",L,{capture:!0,passive:!1}),a.addEventListener("click",J,{capture:!0,passive:!1}),a.addEventListener("keydown",X,{capture:!0,passive:!1}),a.addEventListener("keydown",H),d},ee=function(){if(n.active)return a.removeEventListener("focusin",z,!0),a.removeEventListener("mousedown",L,!0),a.removeEventListener("touchstart",L,!0),a.removeEventListener("click",J,!0),a.removeEventListener("keydown",X,!0),a.removeEventListener("keydown",H),d},Fe=function(i){var u=i.some(function(c){var v=Array.from(c.removedNodes);return v.some(function(b){return b===n.mostRecentlyFocusedNode})});u&&N(w())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Fe):void 0,R=function(){U&&(U.disconnect(),n.active&&!n.paused&&n.containers.map(function(i){U.observe(i,{subtree:!0,childList:!0})}))};return d={get active(){return n.active},get paused(){return n.paused},activate:function(i){if(n.active)return this;var u=l(i,"onActivate"),c=l(i,"onPostActivate"),v=l(i,"checkCanFocusTrap");v||S(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=a.activeElement,u?.();var b=function(){v&&S(),Q(),R(),c?.()};return v?(v(n.containers.concat()).then(b,b),this):(b(),this)},deactivate:function(i){if(!n.active)return this;var u=pe({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},i);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,ee(),n.active=!1,n.paused=!1,R(),ye.deactivateTrap(o,d);var c=l(u,"onDeactivate"),v=l(u,"onPostDeactivate"),b=l(u,"checkCanReturnFocus"),p=l(u,"returnFocus","returnFocusOnDeactivate");c?.();var f=function(){me(function(){p&&N(Y(n.nodeFocusedBeforeActivation)),v?.()})};return p&&b?(b(Y(n.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(i){return n.active?(n.manuallyPaused=!0,this._setPausedState(!0,i)):this},unpause:function(i){return n.active?(n.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,i)):this},updateContainerElements:function(i){var u=[].concat(i).filter(Boolean);return n.containers=u.map(function(c){return typeof c=="string"?a.querySelector(c):c}),n.active&&S(),R(),this}},Object.defineProperties(d,{_isManuallyPaused:{value:function(){return n.manuallyPaused}},_setPausedState:{value:function(i,u){if(n.paused===i)return this;if(n.paused=i,i){var c=l(u,"onPause"),v=l(u,"onPostPause");c?.(),ee(),R(),v?.()}else{var b=l(u,"onUnpause"),p=l(u,"onPostUnpause");b?.(),S(),Q(),R(),p?.()}return this}}}),d.updateContainerElements(e),d};function Je(r,e){return{clickOutsideDeactivates:!0,fallbackFocus:e?.fallbackFocus||r,setReturnFocus:t=>(ie(t),!1),...e,document:r.ownerDocument,tabbableOptions:ne,trapStack:re}}function we(r,{focusTrapOptions:e},t){return!e?.extraContainers&&!t?r:[r,...Te(e?.extraContainers),...Te(t)]}function Te(r=[]){return Array.isArray(r)?r:[r]}var ut=r=>ae((e,t)=>{let a,o,s,n=r.focusTrapOptions;t.onConnected(()=>{e[r.triggerProp]&&a&&d.activate()}),t.onUpdate(l=>{e.hasUpdated&&l.has("focusTrapDisabled")&&(e.focusTrapDisabled?d.deactivate():d.activate())}),t.onDisconnected(()=>d.deactivate());let d={activate:()=>{let l=o||e.el;if(l.isConnected){if(!a){let y={...n,...e.focusTrapOptions};s||=we(l,e),a=ge(s,Je(l,y))}(typeof e.focusTrapDisabledOverride=="function"?!e.focusTrapDisabledOverride():!e.focusTrapDisabled)&&a.activate()}},deactivate:()=>a?.deactivate(),overrideFocusTrapEl:l=>{if(a)throw new Error("Focus trap already created");o=l},setExtraContainers:l=>{let y=o||e.el;s=we(y,e,l)},updateContainerElements:()=>a?.updateContainerElements(s)};return d});export{ut as a};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
|
|
5
|
+
Bundled license information:
|
|
6
|
+
|
|
7
|
+
tabbable/dist/index.esm.js:
|
|
8
|
+
/*!
|
|
9
|
+
* tabbable 6.2.0
|
|
10
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
focus-trap/dist/focus-trap.esm.js:
|
|
14
|
+
/*!
|
|
15
|
+
* focus-trap 7.6.4
|
|
16
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
17
|
+
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a,b,c}from"./NDXDQHCQ.js";import"./JZLQLBQW.js";export{b as extractRegion,c as getCountry,a as global};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as g,b as d}from"./HU4SV6O6.js";import{u as e}from"./VWYK27CQ.js";import{d as y}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{H as h,e as l,f as i,v as c,w as m,x as o}from"./VMPWMEHX.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},n={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},S={hamburger:"hamburger"},v=l`:host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-navigation-background, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary,.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=g(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:16,navigationActionSlotHasElements:16,primaryContentCenterSlotHasElements:16,primaryContentEndSlotHasElements:16,primaryContentStartSlotHasElements:16,progressSlotHasElement:16,secondarySlotHasElements:16,tertiarySlotHasElements:16,userSlotHasElements:16,label:1,navigationAction:7}}static{this.styles=v}async setFocus(){return await y(this),this.navigationActionEl.value?.setFocus()}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=e(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=e(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=e(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=e(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=e(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=e(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=e(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=e(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=e(t))}isPrimaryLevel(){return this.el.slot!==n.navSecondary&&this.el.slot!==n.navTertiary}renderMenuAction(){return i`<slot name=${n.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&i`<calcite-action .icon=${S.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${d(this.navigationActionEl)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,r=this.el.slot;return i`<div class=${o({[a.container]:!0,[a.secondary]:r===n.navSecondary,[a.tertiary]:r===n.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[n.progress]:!0})}><slot name=${n.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[n.logo]:!0})}><slot name=${n.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${n.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${n.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${n.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[n.user]:!0})}><slot name=${n.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${n.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${n.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};h("calcite-navigation",s);export{s as Navigation};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as P}from"./YDR24TYP.js";import{a as L}from"./JKF2LOQK.js";import{a as M,c as F,e as O,g as b,h as W}from"./MKGFE5PL.js";import{c as T,d as C,e as H}from"./D73TCPD5.js";import{a as I,b as z}from"./OXTQQEDN.js";import{a as V}from"./CP5UAD4K.js";import{a as p,b as c}from"./HU4SV6O6.js";import{e as $,p as h}from"./VWYK27CQ.js";import{a as m,d as E}from"./544TDR3Q.js";import"./2MP3FKM6.js";import"./FL2NP2W4.js";import{B as u,C as y,H as w,c as f,e as g,f as l,j as t,u as x,v as r,w as k,x as n}from"./VMPWMEHX.js";var a={loader:"loader",clearButton:"clear-button",editingEnabled:"editing-enabled",inlineChild:"inline-child",inputIcon:"icon",prefix:"prefix",suffix:"suffix",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper"},q={validationMessage:"inputTextValidationMessage"},U={action:"action"},R=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input{padding-inline-start:.5rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .5rem)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:.5rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input{padding-inline-start:.75rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .75rem)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:.75rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input{padding-inline-start:1rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 1rem)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.input--no-bottom-border) input{border-block-end-width:0px}:host(.input--no-top-border) input{border-block-start-width:0px}:host(.input--no-right-border) input{border-inline-end:0}:host(.input--no-left-border) input{border-inline-start:0}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends k{constructor(){super(),this.actionWrapperEl=p(),this.attributeWatch=f(["autofocus","enterkeyhint","inputmode","spellcheck"],this.handleGlobalAttributesChanged),this.inputWrapperEl=p(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.messages=V(),this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTextChange=r(),this.calciteInputTextInput=r(),this.calciteInternalInputTextBlur=r(),this.calciteInternalInputTextFocus=r(),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,icon:[3,{converter:u}],iconFlipRtl:7,label:1,loading:7,maxLength:11,messageOverrides:0,minLength:11,name:3,pattern:1,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,suffixText:1,validationIcon:[3,{converter:u}],validationMessage:1,validity:0,value:1}}static{this.styles=R}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let i=this._value;e!==i&&(this._value=e,this.valueWatcher(e,i))}async selectText(){this.childEl?.select()}async setFocus(){await E(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),T(this),F(this),this.el.addEventListener(b,this.onHiddenFormInputInput)}async load(){this.requestedIcon=h({},this.icon,"text"),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value)}willUpdate(e){e.has("icon")&&(this.requestedIcon=h({},this.icon,"text"))}updated(){I(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),O(this),this.el.removeEventListener(b,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:e||""}),this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputTextValue(e),e.preventDefault()),e.key==="Enter"&&M(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}clearInputTextValue(e){this.setValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))}inputTextBlurHandler(){this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let i=e.composedPath();!i.includes(this.inputWrapperEl.value)||i.includes(this.actionWrapperEl.value)||this.setFocus()}inputTextFocusHandler(){this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})}inputTextInputHandler(e){this.disabled||this.readOnly||this.setValue({nativeEvent:e,origin:"user",value:e.target.value})}inputTextKeyDownHandler(e){this.disabled||this.readOnly||e.key==="Enter"&&this.emitChangeIfUserModified()}syncHiddenFormInput(e){P("text",this,e)}setChildElRef(e){this.childEl=e}setInputValue(e){this.childEl&&(this.childEl.value=e)}setPreviousEmittedValue(e){this.previousEmittedValue=e}setPreviousValue(e){this.previousValue=e}setValue({committing:e=!1,nativeEvent:i,origin:o,previousValue:d,value:s}){this.setPreviousValue(d??this.value),this.previousValueOrigin=o,this.userChangedValue=o==="user"&&s!==this.value,this.value=s,o==="direct"&&(this.setInputValue(s),this.setPreviousEmittedValue(s)),i&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:e&&this.emitChangeIfUserModified())}render(){let e=$(this.el),i=l`<div class=${n(a.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,o=l`<button .ariaLabel=${this.messages.clear} class=${n(a.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputTextValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${m(this.scale)}></calcite-icon></button>`,d=l`<calcite-icon class=${n(a.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${m(this.scale)}></calcite-icon>`,s=l`<div class=${n(a.prefix)}>${this.prefixText}</div>`,D=l`<div class=${n(a.suffix)}>${this.suffixText}</div>`,B=l`<input aria-errormessage=${q.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${H(this)} autocomplete=${this.autocomplete??t} .autofocus=${this.el.autofocus} class=${n({[a.editingEnabled]:this.editingEnabled,[a.inlineChild]:!!this.inlineEditableEl})} value=${this.defaultValue??t} .disabled=${this.disabled?!0:null} enterkeyhint=${this.el.enterKeyHint??t} inputmode=${this.el.inputMode??t} maxlength=${this.maxLength??t} minlength=${this.minLength??t} name=${this.name??t} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern??t} placeholder=${(this.placeholder||"")??t} .readOnly=${this.readOnly} .required=${this.required?!0:null} spellcheck=${this.el.spellcheck??t} tabindex=${(this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null)??t} type=text .value=${x(this.value??"")} ${c(this.setChildElRef)}>`;return z({disabled:this.disabled,children:l`<div class=${n({[a.inputWrapper]:!0,[y.rtl]:e==="rtl"})} ${c(this.inputWrapperEl)}>${this.prefixText?s:null}<div class=${n(a.wrapper)}>${B}${this.isClearable?o:null}${this.requestedIcon?d:null}${this.loading?i:null}</div><div class=${n(a.actionWrapper)} ${c(this.actionWrapperEl)}><slot name=${U.action}></slot></div>${this.suffixText?D:null}${W({component:this})}</div>${this.validationMessage&&this.status==="invalid"?L({icon:this.validationIcon,id:q.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};w("calcite-input-text",v);export{v as InputText};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{a as r,b as i,c}from"./HOZ53NHV.js";import{a as l}from"./EDAZUFDP.js";import{x as e}from"./VMPWMEHX.js";function f(t){return Math.min(Math.max(Math.ceil(t),1),6)}var h=({children:t,...s})=>{let a=s.level?r(`h${s.level}`):i`div`;return l(s.key,c`<${a} class=${e(s.class)}>${t}</${a}>`)};export{f as a,h as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
var n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"},t={container:"container"};export{n as a,o as b,t as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.4 */
|
|
4
|
+
import{b as u}from"./AGPXHCMI.js";import"./HOZ53NHV.js";import{a as s}from"./EDAZUFDP.js";import{d as m}from"./544TDR3Q.js";import"./2MP3FKM6.js";import{H as f,e as p,f as t,w as v,x as o,z as e}from"./VMPWMEHX.js";var i={container:"container",containerLink:"container--link",textContainer:"text-container",heading:"heading",description:"description",image:"image",standalone:"standalone",icon:"icon"},x=p`:host{display:inline-flex}.container{margin:0;display:flex;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;background-color:var(--calcite-navigation-background-color, var(--calcite-internal-navigation-logo-background-color, var(--calcite-color-foreground-1)));border-block-end:2px solid var(--calcite-color-transparent);transition-property:background-color;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.container--link{cursor:pointer;text-decoration-line:none;outline-color:transparent}:host(:focus) .container--link{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.image,.icon{margin:0;display:flex;block-size:1.75rem;padding-inline:1rem;color:var(--calcite-navigation-logo-text-color, var(--calcite-icon-color, var(--calcite-internal-navigation-logo-text-color, inherit)))}.image~.icon{padding-inline-start:0px}.image~.text-container,.icon~.text-container{padding-inline-start:0px}:host([href]:hover),:host([href]:focus){--calcite-internal-navigation-logo-background-color: var(--calcite-color-foreground-2)}:host([href]:active){--calcite-internal-navigation-logo-background-color: var(--calcite-color-foreground-3)}:host([active]) .container{border-block-end-color:var(--calcite-navigation-accent-color, var(--calcite-color-brand))}:host([active]),:host([href]:active){--calcite-internal-navigation-logo-text-color: var(--calcite-color-brand)}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-logo-heading-text-color, var(--calcite-color-text-1))}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);color:var(--calcite-navigation-logo-text-color, var(--calcite-color-text-2));font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends v{constructor(){super(...arguments),this.iconFlipRtl=!1}static{this.properties={active:7,description:1,heading:1,headingLevel:11,href:3,icon:3,iconFlipRtl:7,label:1,rel:3,target:3,thumbnail:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=x}async setFocus(){await m(this),this.href&&this.el.focus()}renderIcon(){return t`<calcite-icon class=${o(i.icon)} .flipRtl=${this.iconFlipRtl} .icon=${this.icon} scale=l></calcite-icon>`}renderHeaderContent(){let{heading:n,headingLevel:a,description:r}=this,c=n?s(i.heading,u({class:{[i.heading]:!0,[i.standalone]:!this.description},level:a,children:n})):null,l=r?s(i.description,t`<span class=${o(i.description)}>${r}</span>`):null;return c||l?s(i.textContainer,t`<div class=${o(i.textContainer)}>${c}${l}</div>`):null}render(){let{icon:n,href:a,label:r,rel:c,target:l,thumbnail:g}=this,h=t`${g&&t`<img alt=${(r||"")??e} class=${o(i.image)} src=${g??e}>`||""}${n&&this.renderIcon()||""}${this.renderHeaderContent()}`;return a?t`<a class=${o({[i.container]:!0,[i.containerLink]:!0})} href=${a??e} rel=${c??e} target=${l??e}>${h}</a>`:t`<div class=${o(i.container)}>${h}</div>`}};f("calcite-navigation-logo",d);export{d as NavigationLogo};
|