@esri/solutions-components 1.0.6 → 1.1.0-next.20250731.1
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/cdn/25HFBBO7.js +4 -0
- package/dist/cdn/{3QP57WZY.js → 27LLDIKS.js} +4 -4
- package/dist/cdn/2B7AIYB4.js +81 -0
- package/dist/cdn/{RRMHR2HB.js → 2BYRDSF2.js} +3 -3
- package/dist/cdn/{GHXC6C2C.js → 2FWYC6N2.js} +5 -5
- package/dist/cdn/{IY23MDOC.js → 2GG4TAB5.js} +3 -3
- package/dist/cdn/{PKBDH7MF.js → 2OH6LK6F.js} +3 -3
- package/dist/cdn/2RT2G6PW.js +4 -0
- package/dist/cdn/2TQLIMIY.js +4 -0
- package/dist/cdn/{U4QKTJ5K.js → 2V6EPB7F.js} +3 -3
- package/dist/cdn/{D6XX6KWD.js → 2W6UZ4WR.js} +3 -3
- package/dist/cdn/{5MXFQYLE.js → 2Y5AL2MJ.js} +3 -3
- package/dist/cdn/{3XGPYKD3.js → 33G6WACF.js} +3 -3
- package/dist/cdn/{GZEJGYES.js → 362CTSXJ.js} +3 -3
- package/dist/cdn/3BSM72ZJ.js +8 -0
- package/dist/cdn/3EHVWHQO.js +4 -0
- package/dist/cdn/{I2VKZ5OH.js → 3GSPSBR2.js} +3 -3
- package/dist/cdn/3JZGXNAU.js +4 -0
- package/dist/cdn/{N5K33ZZT.js → 3K7RVP62.js} +3 -3
- package/dist/cdn/{PNHNT6BL.js → 3RYGLJSU.js} +3 -3
- package/dist/cdn/3SLZAJU6.js +18 -0
- package/dist/cdn/{VA7UARYI.js → 3TRGQIG4.js} +2 -2
- package/dist/cdn/{HUCFHRHI.js → 3UTJ6N4B.js} +4 -4
- package/dist/cdn/{YVJDVYGA.js → 3VAVRAZH.js} +2 -2
- package/dist/cdn/{RZUGSVMP.js → 3XZ72BIO.js} +2 -2
- package/dist/cdn/{NNO7ZI7X.js → 3ZSBSCVO.js} +3 -3
- package/dist/cdn/{2WMXCGJ6.js → 4BAJCDHE.js} +3 -3
- package/dist/cdn/{4YK53WB6.js → 4E55H6GI.js} +3 -3
- package/dist/cdn/{QCT6FXMR.js → 4GJTZGZ2.js} +2 -2
- package/dist/cdn/{AB3FQQCW.js → 4R677UHW.js} +4 -4
- package/dist/cdn/{BJ6DOG6H.js → 4W4AXLAS.js} +3 -3
- package/dist/cdn/52S7M4XP.js +4 -0
- package/dist/cdn/54F3QH2P.js +4 -0
- package/dist/cdn/{EJEJMEGK.js → 54I7CNTR.js} +3 -3
- package/dist/cdn/{UKYKTZWK.js → 574AQUKL.js} +3 -3
- package/dist/cdn/5AARPSFW.js +4 -0
- package/dist/cdn/5OXADY3S.js +18 -0
- package/dist/cdn/5RODJX2B.js +18 -0
- package/dist/cdn/{7ME4UIGX.js → 5SE2CNQ4.js} +3 -3
- package/dist/cdn/5U44RL2U.js +4 -0
- package/dist/cdn/{YUWAB65A.js → 5WJUGKEL.js} +3 -3
- package/dist/cdn/62F4Z2RZ.js +4 -0
- package/dist/cdn/{7YYOJP6L.js → 6EUIK65W.js} +3 -3
- package/dist/cdn/{T6ZDTQ2A.js → 6FSSM6C5.js} +3 -3
- package/dist/cdn/{LA3N6LZH.js → 6HJNTC7F.js} +3 -3
- package/dist/cdn/6IORBIOG.js +18 -0
- package/dist/cdn/{NRUKSPT4.js → 6LATBKTY.js} +3 -3
- package/dist/cdn/{KCFSZOBX.js → 6N6HLBBS.js} +2 -2
- package/dist/cdn/{MI37N43V.js → 6NHXE4L3.js} +3 -3
- package/dist/cdn/{FV3U3YJ6.js → 6R4UNPWN.js} +3 -3
- package/dist/cdn/6TJ4G3ER.js +4 -0
- package/dist/cdn/6XPLK57P.js +4 -0
- package/dist/cdn/6ZGLTKMR.js +4 -0
- package/dist/cdn/73DPGPG7.js +4 -0
- package/dist/cdn/{V434XRYU.js → 73ZAL2WT.js} +3 -3
- package/dist/cdn/{5DAI66LT.js → 74MX4QLZ.js} +3 -3
- package/dist/cdn/{F2QHZOXB.js → 755C3VG6.js} +3 -3
- package/dist/cdn/764HIRJY.js +4 -0
- package/dist/cdn/{V73IDRPZ.js → 7C46WXZU.js} +3 -3
- package/dist/cdn/{VPHAMFNI.js → 7CHJP5FF.js} +3 -3
- package/dist/cdn/{WIDXS23Z.js → 7CX327ED.js} +3 -3
- package/dist/cdn/{NJBDDFNX.js → 7I3GA5DX.js} +2 -2
- package/dist/cdn/{P473G3UD.js → 7K7BGZIC.js} +3 -3
- package/dist/cdn/7KQKPG55.js +4 -0
- package/dist/cdn/{2XQB5N5F.js → 7M5NHS3C.js} +3 -3
- package/dist/cdn/A2QNF47K.js +6 -0
- package/dist/cdn/A4PWAQDV.js +9 -0
- package/dist/cdn/A6BKXLWA.js +4 -0
- package/dist/cdn/AB3WBQIH.js +18 -0
- package/dist/cdn/AD6Z7JIO.js +4 -0
- package/dist/cdn/{55NQUWEY.js → AHEDR6FX.js} +2 -2
- package/dist/cdn/AK5RJP4M.js +5 -0
- package/dist/cdn/AP5SMGH7.js +18 -0
- package/dist/cdn/{IHZQS7G5.js → ASISOVTI.js} +3 -3
- package/dist/cdn/{Y6FNQ642.js → ATETIVT6.js} +3 -3
- package/dist/cdn/{WLSDNFCT.js → AUU7DV55.js} +4 -4
- package/dist/cdn/{UUCDGMFW.js → AZHKILPX.js} +3 -3
- package/dist/cdn/{Q2YCPZOX.js → B637YOS5.js} +3 -3
- package/dist/cdn/{X6YLW36Y.js → BAFGE6VY.js} +2 -2
- package/dist/cdn/{NCSI6ZKY.js → BKJGM55L.js} +3 -3
- package/dist/cdn/{YM6G3EU3.js → BKZ5D2KZ.js} +4 -4
- package/dist/cdn/BLBKBQ7W.js +4 -0
- package/dist/cdn/BLRUX5OX.js +4 -0
- package/dist/cdn/BPJXP42W.js +4 -0
- package/dist/cdn/{7I736LZK.js → BTTWYS5X.js} +3 -3
- package/dist/cdn/{PEW7EK74.js → BWW5YD72.js} +3 -3
- package/dist/cdn/{6424ZLL7.js → C6N2WWWX.js} +3 -3
- package/dist/cdn/{ZETWXE6M.js → C7HFRDIM.js} +3 -3
- package/dist/cdn/{HVATWN37.js → CEW2J6RG.js} +2 -2
- package/dist/cdn/CHGEZ3AN.js +4 -0
- package/dist/cdn/CKCMSZM5.js +4 -0
- package/dist/cdn/{GO42R2CK.js → CM6TYWX6.js} +2 -2
- package/dist/cdn/{BYJRAAEE.js → CN7U4Z7M.js} +2 -2
- package/dist/cdn/{BLS4G62F.js → CSHLAZKQ.js} +3 -3
- package/dist/cdn/CXXCLALD.js +18 -0
- package/dist/cdn/{M3ZMKHJ2.js → D2AX67LP.js} +4 -4
- package/dist/cdn/{7DOQHPCH.js → D2WA2RPA.js} +3 -3
- package/dist/cdn/{SVFIF3T3.js → DCHDDLDZ.js} +3 -3
- package/dist/cdn/{FIDPLPEF.js → DDL7KI2T.js} +3 -3
- package/dist/cdn/{MNPZD4I5.js → DI2LL6B3.js} +3 -3
- package/dist/cdn/{4CVEF3SI.js → DIS53LGB.js} +3 -3
- package/dist/cdn/{OTQ4RPLU.js → DSYYVW3F.js} +2 -2
- package/dist/cdn/DU2FEFFV.js +18 -0
- package/dist/cdn/{PXPVE3JE.js → DUWVHI7R.js} +3 -3
- package/dist/cdn/{D2EREVL4.js → EBT6JTTB.js} +3 -3
- package/dist/cdn/{VQ65EGUC.js → EEF2B6ZM.js} +3 -3
- package/dist/cdn/EFS5RERR.js +4 -0
- package/dist/cdn/{26THV7PU.js → ELXOWAX5.js} +3 -3
- package/dist/cdn/{LKBUXCMF.js → EOPDQ5BU.js} +3 -3
- package/dist/cdn/{IEAQX2G7.js → EPCVNPGM.js} +3 -3
- package/dist/cdn/{IPYR6HZK.js → EUNGF6ZH.js} +4 -4
- package/dist/cdn/EV3TUX6S.js +4 -0
- package/dist/cdn/{JTKT3XWL.js → EWGTTR5Q.js} +3 -3
- package/dist/cdn/EWRQ3QNK.js +18 -0
- package/dist/cdn/{YZCZUMV2.js → FCGAI4KW.js} +2 -2
- package/dist/cdn/FEWPXPFQ.js +4 -0
- package/dist/cdn/{3RW2NBPF.js → FFAGAIHU.js} +4 -4
- package/dist/cdn/FHJGYUXO.js +18 -0
- package/dist/cdn/{ZWYST46E.js → FJAL5AQ5.js} +3 -3
- package/dist/cdn/{CHYWNBKA.js → FJSZAX2R.js} +3 -3
- package/dist/cdn/{5M5TLNGP.js → FQKGNPW6.js} +2 -2
- package/dist/cdn/FSTZH7GL.js +4 -0
- package/dist/cdn/{UI236QD6.js → FT34NQOI.js} +3 -3
- package/dist/cdn/FT42MIIU.js +4 -0
- package/dist/cdn/{WPAFQXGE.js → G3R2MU2J.js} +3 -3
- package/dist/cdn/{ESBUX6NR.js → G6EO7CEQ.js} +3 -3
- package/dist/cdn/{QR6JZJTO.js → GOLI4DGF.js} +3 -3
- package/dist/cdn/GQBP35TH.js +29 -0
- package/dist/cdn/GS2XNU7D.js +18 -0
- package/dist/cdn/{62WQV5YC.js → GTECY6TF.js} +3 -3
- package/dist/cdn/{U4WC6C2F.js → GW33ZZHC.js} +3 -3
- package/dist/cdn/H4YML6KX.js +4 -0
- package/dist/cdn/{2IVXEYYO.js → H6OGXITC.js} +3 -3
- package/dist/cdn/{JNUBPQVQ.js → HEIJXDKW.js} +3 -3
- package/dist/cdn/HFH2DZZB.js +4 -0
- package/dist/cdn/{IRV3QYFT.js → HFRYADUF.js} +3 -3
- package/dist/cdn/{LJV6DE44.js → HG4W4QD6.js} +3 -3
- package/dist/cdn/HI22GMCZ.js +4 -0
- package/dist/cdn/{HQIAA5ZR.js → HIWWU7SY.js} +2 -2
- package/dist/cdn/{2TLMYAKF.js → HN3P22JK.js} +3 -3
- package/dist/cdn/{46LGQEFB.js → HO345XLK.js} +3 -3
- package/dist/cdn/{VW6GSY2U.js → HT35VQR3.js} +3 -3
- package/dist/cdn/{2URV24QB.js → HXV3QUQ6.js} +3 -3
- package/dist/cdn/HYHCUL5X.js +4 -0
- package/dist/cdn/{YQ4UFRN4.js → HYLPZDSQ.js} +3 -3
- package/dist/cdn/{WH6W2UP3.js → I3S3DM4U.js} +3 -3
- package/dist/cdn/{2CLEIN6Y.js → IFV6OJ45.js} +4 -4
- package/dist/cdn/IK5O4TGG.js +4 -0
- package/dist/cdn/{HYALTA6M.js → IO2ZL7TB.js} +3 -3
- package/dist/cdn/{4OXHTSNR.js → ITWJGFNZ.js} +2 -2
- package/dist/cdn/IUQFTD5B.js +4 -0
- package/dist/cdn/IXHWGSUT.js +379 -0
- package/dist/cdn/J4IVVJW7.js +4 -0
- package/dist/cdn/J7DQNAJK.js +4 -0
- package/dist/cdn/J7I2CT5V.js +18 -0
- package/dist/cdn/J7RY62J4.js +18 -0
- package/dist/cdn/{XORA7HCU.js → JACIW3XD.js} +3 -3
- package/dist/cdn/JHWEUJN4.js +4 -0
- package/dist/cdn/JKM47VFY.js +18 -0
- package/dist/cdn/{LOL2WTGD.js → JPFVSO3J.js} +3 -3
- package/dist/cdn/JQKKZGRJ.js +4 -0
- package/dist/cdn/JR6RNA7B.js +4 -0
- package/dist/cdn/{ZS2IQNQO.js → JV46YG7Z.js} +3 -3
- package/dist/cdn/{ESYYQOPE.js → JZZAARTL.js} +2 -2
- package/dist/cdn/{DUJNFEQ6.js → KA6MTWQW.js} +3 -3
- package/dist/cdn/{WLSI7POK.js → KBFGX22V.js} +2 -2
- package/dist/cdn/{TGWWWSMN.js → KCRSRMZK.js} +3 -3
- package/dist/cdn/{5AW5NLLI.js → KGMRUPJI.js} +3 -3
- package/dist/cdn/KL2T3UMN.js +4 -0
- package/dist/cdn/{UASHMMAZ.js → KPKJKBOW.js} +3 -3
- package/dist/cdn/{D5OHP7NT.js → KSGE2K2A.js} +3 -3
- package/dist/cdn/{L4MTDEUA.js → KSYOFZFC.js} +4 -4
- package/dist/cdn/{XW6O3WSI.js → KUHZ7NUV.js} +3 -3
- package/dist/cdn/{YRBPGBT5.js → KVLTXBTW.js} +4 -4
- package/dist/cdn/{XLXUXKG6.js → KZONAQ7X.js} +4 -4
- package/dist/cdn/L3KYPR4U.js +4 -0
- package/dist/cdn/LJ2NBNYV.js +18 -0
- package/dist/cdn/LUZ5SS5Q.js +4 -0
- package/dist/cdn/{SEVP5RIV.js → LXSXZ5PZ.js} +3 -3
- package/dist/cdn/M4IHAPFS.js +4 -0
- package/dist/cdn/{XDZ5DDWA.js → M7Y7OEPH.js} +3 -3
- package/dist/cdn/MJ4UYOY5.js +4 -0
- package/dist/cdn/MJD4UYQV.js +4 -0
- package/dist/cdn/{ZDKRS7QS.js → MSVU7KDD.js} +4 -4
- package/dist/cdn/{A3WJQEV7.js → MT3VGENM.js} +2 -2
- package/dist/cdn/{XCEE3SEK.js → MULD755N.js} +3 -3
- package/dist/cdn/{EKVRW3FM.js → MUNB2EIH.js} +3 -3
- package/dist/cdn/MVPUNAPA.js +4 -0
- package/dist/cdn/MWVLFGRN.js +4 -0
- package/dist/cdn/{SXZVPSYN.js → MXZUWU5U.js} +3 -3
- package/dist/cdn/N3JVQRW2.js +4 -0
- package/dist/cdn/{UWXNPHTE.js → N4JFNJAP.js} +2 -2
- package/dist/cdn/{KOI7FBWC.js → NDND3YNI.js} +3 -3
- package/dist/cdn/{G6EIQMVR.js → NFZDLBDU.js} +3 -3
- package/dist/cdn/NH6VXBT4.js +18 -0
- package/dist/cdn/NI2DYTWY.js +294 -0
- package/dist/cdn/{XAAGW7YF.js → NLQMBJV4.js} +3 -3
- package/dist/cdn/NTCE7WYQ.js +25 -0
- package/dist/cdn/{EAA2PB5H.js → NVNE6Q2Z.js} +3 -3
- package/dist/cdn/O2GXK46T.js +4 -0
- package/dist/cdn/{Y4RVCE5F.js → OIMYNYJF.js} +3 -3
- package/dist/cdn/{2T6B7XX3.js → OVDTA5OA.js} +3 -3
- package/dist/cdn/OVNKAN7A.js +4 -0
- package/dist/cdn/{NCYI3FJ4.js → OX6J3PGF.js} +3 -3
- package/dist/cdn/{WE2YJ72U.js → PCKCRHI3.js} +4 -4
- package/dist/cdn/{QMREQGH3.js → PIZGPSRE.js} +3 -3
- package/dist/cdn/PSE37RBN.js +4 -0
- package/dist/cdn/{JKJC7XFT.js → PSJIJOBC.js} +3 -3
- package/dist/cdn/{WPVYE7FE.js → Q6ECGAN5.js} +3 -3
- package/dist/cdn/{K3SH7RK6.js → Q6S2FYB7.js} +3 -3
- package/dist/cdn/{P7J4L36T.js → QB26MH3P.js} +2 -2
- package/dist/cdn/{KOWTHDEB.js → QCFKTDX2.js} +3 -3
- package/dist/cdn/{YSIFIKOE.js → QNOJFN72.js} +3 -3
- package/dist/cdn/{ZZ4UGIDE.js → QQI6TRPA.js} +3 -3
- package/dist/cdn/{GDYIFL6J.js → QU2IDIBF.js} +3 -3
- package/dist/cdn/{7BU5DV4Q.js → QU5SGFUX.js} +3 -3
- package/dist/cdn/QUJM7PBE.js +18 -0
- package/dist/cdn/R3PW6KSS.js +4 -0
- package/dist/cdn/{CPO6UAZQ.js → R4TPG3DO.js} +2 -2
- package/dist/cdn/R57C4DNW.js +4 -0
- package/dist/cdn/{3VN45O3V.js → R7BJ6S6M.js} +4 -4
- package/dist/cdn/{Q6U6FUMJ.js → RJ64W3BT.js} +3 -3
- package/dist/cdn/RNP3G6YO.js +4 -0
- package/dist/cdn/{2NJLBLNN.js → RPXFGP5K.js} +4 -4
- package/dist/cdn/{2ACF42ZR.js → SBP4N5DS.js} +3 -3
- package/dist/cdn/SP5ULXWS.js +4 -0
- package/dist/cdn/{STUHZQEZ.js → SROUOTOF.js} +2 -2
- package/dist/cdn/{22SEAIC6.js → STLINJZP.js} +3 -3
- package/dist/cdn/{AMVC3HZO.js → SVB3DAKW.js} +3 -3
- package/dist/cdn/T2FLCA5K.js +4 -0
- package/dist/cdn/{7MOURTYJ.js → T5BKBEIP.js} +3 -3
- package/dist/cdn/{TWADDFKI.js → T7QDW3RL.js} +4 -4
- package/dist/cdn/{KURSJGVA.js → TCJQUXXU.js} +3 -3
- package/dist/cdn/TCK3645Q.js +4 -0
- package/dist/cdn/{JRU7OOCQ.js → TDRR3ZLM.js} +4 -4
- package/dist/cdn/{547GZYOP.js → TF5CZ555.js} +4 -4
- package/dist/cdn/{GGI3REJL.js → TLC3SOX5.js} +3 -3
- package/dist/cdn/{7CNMLAFT.js → TYWZWTN6.js} +4 -4
- package/dist/cdn/{Q2VYZCZY.js → U4XP4SVP.js} +2 -2
- package/dist/cdn/{JTAN45P3.js → U65T7QXI.js} +3 -3
- package/dist/cdn/U75F55GL.js +4 -0
- package/dist/cdn/UB22ISME.js +4 -0
- package/dist/cdn/{VVGYJHF7.js → UBOZIJ2V.js} +3 -3
- package/dist/cdn/{NP7OH2ZI.js → UCE3PD7K.js} +3 -3
- package/dist/cdn/{EFBCF4LP.js → UDHOI5QJ.js} +3 -3
- package/dist/cdn/UHBAFPIP.js +4 -0
- package/dist/cdn/UI2K7A6K.js +4 -0
- package/dist/cdn/{P27R335T.js → UKVOZIPV.js} +2 -2
- package/dist/cdn/{6AJKPURT.js → UL36K2OL.js} +3 -3
- package/dist/cdn/{TY5HNZTA.js → ULCHU2DL.js} +3 -3
- package/dist/cdn/UML27CLC.js +4 -0
- package/dist/cdn/{AVVTO725.js → UN5OBM45.js} +3 -3
- package/dist/cdn/UNOUCRCA.js +18 -0
- package/dist/cdn/URE77NMF.js +4 -0
- package/dist/cdn/{THIMASMK.js → USBBZZHO.js} +3 -3
- package/dist/cdn/V7HQLFUM.js +4 -0
- package/dist/cdn/{X6L4PHXI.js → VH5CQ62Q.js} +3 -3
- package/dist/cdn/VHDZYP7A.js +4 -0
- package/dist/cdn/{CMN7YBVU.js → VMXZ6AXW.js} +3 -3
- package/dist/cdn/{M3F2PRVV.js → W2OEFMSP.js} +3 -3
- package/dist/cdn/{YBIF6TAJ.js → WCDHN44D.js} +3 -3
- package/dist/cdn/{P3YZSASH.js → WDPCEJWO.js} +3 -3
- package/dist/cdn/{3MOEHDA6.js → WFP3ARED.js} +4 -4
- package/dist/cdn/WGEDEGSC.js +4 -0
- package/dist/cdn/{JAO6QZJO.js → WMDLX4TU.js} +3 -3
- package/dist/cdn/{O6X34RFQ.js → WMIGNCA3.js} +3 -3
- package/dist/cdn/{XOCETJCR.js → WX3BUGVY.js} +3 -3
- package/dist/cdn/{MSGDDP7Y.js → WZ6HR352.js} +4 -4
- package/dist/cdn/{IBB2E74R.js → X77DVIHT.js} +3 -3
- package/dist/cdn/{WQF5CITX.js → X7INRGL2.js} +3 -3
- package/dist/cdn/{SM2GUROD.js → XAMZTC4V.js} +2 -2
- package/dist/cdn/XLW62QJP.js +4 -0
- package/dist/cdn/{2C7UE46M.js → XQIIB6WI.js} +2 -2
- package/dist/cdn/{YIO2CSY3.js → XVNMBFFV.js} +3 -3
- package/dist/cdn/XVOTZ36C.js +4 -0
- package/dist/cdn/XWZVSPN5.js +4 -0
- package/dist/cdn/{B7B7CVVL.js → XYM4QNUF.js} +3 -3
- package/dist/cdn/{QP35PXG2.js → Y4HMQERM.js} +4 -4
- package/dist/cdn/YDS7WOGV.js +4 -0
- package/dist/cdn/YFJPBXHX.js +4 -0
- package/dist/cdn/{LP4BQM2H.js → YJ3MW2JY.js} +3 -3
- package/dist/cdn/{KV5PYIUB.js → YKDWIWVB.js} +3 -3
- package/dist/cdn/YLTGZWFU.js +4 -0
- package/dist/cdn/{R5YJMFXC.js → YSKSWYAQ.js} +3 -3
- package/dist/cdn/ZC3XJXKM.js +18 -0
- package/dist/cdn/ZCFSRPYL.js +4 -0
- package/dist/cdn/{I657I5LG.js → ZF3NTVCO.js} +3 -3
- package/dist/cdn/{SXP3TCP2.js → ZG4LGFKY.js} +3 -3
- package/dist/cdn/{T5JHR5GE.js → ZI7THJT2.js} +3 -3
- package/dist/cdn/{7H3KZPHJ.js → ZIY4QFR5.js} +3 -3
- package/dist/cdn/{ECMZSRUN.js → ZL4KQF74.js} +3 -3
- package/dist/cdn/ZLULHNQF.js +4 -0
- package/dist/cdn/ZP7KUAQK.js +3 -0
- package/dist/cdn/{5S66UFIB.js → ZRE4MLAV.js} +4 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-social-share/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-social-share/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/appConfig.js +2 -2
- package/dist/chunks/cardFetchingUtils.js +2 -2
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +2 -2
- package/dist/chunks/downloadUtils.js +2 -2
- package/dist/chunks/helpers.js +46 -33
- package/dist/chunks/index.js +325 -413
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/loadModules.js +2 -2
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +2 -2
- package/dist/chunks/popupUtils.js +2 -2
- package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationStore.js +2 -2
- package/dist/chunks/queryUtils.js +2 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/solution-store.js +2 -2
- package/dist/chunks/templates.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +9 -10
- package/dist/components/basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/basemap-gallery/customElement.js +9 -10
- package/dist/components/buffer-tools/customElement.d.ts +1 -1
- package/dist/components/buffer-tools/customElement.js +9 -10
- package/dist/components/card-manager/customElement.d.ts +1 -1
- package/dist/components/card-manager/customElement.js +15 -16
- package/dist/components/consent-manager/customElement.d.ts +1 -1
- package/dist/components/consent-manager/customElement.js +1780 -1724
- package/dist/components/create-feature/customElement.d.ts +1 -1
- package/dist/components/create-feature/customElement.js +7 -8
- package/dist/components/create-related-feature/customElement.d.ts +1 -1
- package/dist/components/create-related-feature/customElement.js +8 -9
- package/dist/components/crowdsource-manager/customElement.d.ts +4 -2
- package/dist/components/crowdsource-manager/customElement.js +10 -11
- package/dist/components/crowdsource-manager/index.d.ts +1 -1
- package/dist/components/crowdsource-manager/index.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +8 -9
- package/dist/components/crowdsource-reporter/index.d.ts +2 -2
- package/dist/components/crowdsource-reporter/index.js +2 -2
- package/dist/components/deduct-calculator/customElement.d.ts +1 -1
- package/dist/components/deduct-calculator/customElement.js +9 -10
- package/dist/components/delete-button/customElement.d.ts +1 -1
- package/dist/components/delete-button/customElement.js +7 -8
- package/dist/components/delete-dialog/customElement.d.ts +1 -1
- package/dist/components/delete-dialog/customElement.js +9 -10
- package/dist/components/edit-card/customElement.d.ts +1 -1
- package/dist/components/edit-card/customElement.js +10 -11
- package/dist/components/feature-details/customElement.d.ts +1 -1
- package/dist/components/feature-details/customElement.js +8 -9
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +9 -10
- package/dist/components/field-selection/customElement.d.ts +1 -1
- package/dist/components/field-selection/customElement.js +10 -11
- package/dist/components/floor-filter/customElement.d.ts +1 -1
- package/dist/components/floor-filter/customElement.js +9 -10
- package/dist/components/info-card/customElement.d.ts +1 -1
- package/dist/components/info-card/customElement.js +8 -9
- package/dist/components/json-editor/customElement.d.ts +1 -1
- package/dist/components/json-editor/customElement.js +10 -11
- package/dist/components/layer-list/customElement.d.ts +1 -1
- package/dist/components/layer-list/customElement.js +7 -8
- package/dist/components/layer-table/customElement.d.ts +4 -2
- package/dist/components/layer-table/customElement.js +7 -8
- package/dist/components/layer-table/index.d.ts +1 -1
- package/dist/components/layer-table/index.js +1 -1
- package/dist/components/map-card/customElement.d.ts +1 -1
- package/dist/components/map-card/customElement.js +7 -8
- package/dist/components/map-card/index.d.ts +1 -1
- package/dist/components/map-card/index.js +1 -1
- package/dist/components/map-draw-tools/customElement.d.ts +1 -1
- package/dist/components/map-draw-tools/customElement.js +10 -11
- package/dist/components/map-fullscreen/customElement.d.ts +1 -1
- package/dist/components/map-fullscreen/customElement.js +12 -13
- package/dist/components/map-layer-picker/customElement.d.ts +1 -1
- package/dist/components/map-layer-picker/customElement.js +11 -12
- package/dist/components/map-legend/customElement.d.ts +1 -1
- package/dist/components/map-legend/customElement.js +9 -10
- package/dist/components/map-picker/customElement.d.ts +1 -1
- package/dist/components/map-picker/customElement.js +7 -8
- package/dist/components/map-search/customElement.d.ts +1 -1
- package/dist/components/map-search/customElement.js +11 -12
- package/dist/components/map-select-tools/customElement.d.ts +1 -1
- package/dist/components/map-select-tools/customElement.js +9 -10
- package/dist/components/map-tools/customElement.d.ts +1 -1
- package/dist/components/map-tools/customElement.js +6 -7
- package/dist/components/pci-calculator/customElement.d.ts +1 -1
- package/dist/components/pci-calculator/customElement.js +11 -12
- package/dist/components/pdf-download/customElement.d.ts +1 -1
- package/dist/components/pdf-download/customElement.js +24 -25
- package/dist/components/public-notification/customElement.d.ts +1 -1
- package/dist/components/public-notification/customElement.js +20 -21
- package/dist/components/refine-selection/customElement.d.ts +1 -1
- package/dist/components/refine-selection/customElement.js +17 -18
- package/dist/components/selection-tool/customElement.d.ts +1 -1
- package/dist/components/selection-tool/customElement.js +3 -3
- package/dist/components/solution-article-card/customElement.d.ts +33 -1
- package/dist/components/solution-article-card/customElement.js +24 -19
- package/dist/components/solution-article-card/index.d.ts +1 -0
- package/dist/components/solution-article-card/index.js +1 -0
- package/dist/components/solution-configuration/customElement.d.ts +1 -1
- package/dist/components/solution-configuration/customElement.js +11 -12
- package/dist/components/solution-configure-dialog/customElement.d.ts +6 -7
- package/dist/components/solution-configure-dialog/customElement.js +121 -46
- package/dist/components/solution-configure-dialog/index.d.ts +1 -0
- package/dist/components/solution-configure-dialog/index.js +1 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +3 -1
- package/dist/components/solution-configure-titles/customElement.js +39 -23
- package/dist/components/solution-contents/customElement.d.ts +1 -1
- package/dist/components/solution-contents/customElement.js +8 -9
- package/dist/components/solution-delete-dialog/customElement.d.ts +9 -11
- package/dist/components/solution-delete-dialog/customElement.js +55 -59
- package/dist/components/solution-deploy-dialog/customElement.d.ts +2 -10
- package/dist/components/solution-deploy-dialog/customElement.js +132 -83
- package/dist/components/solution-deployed-card/customElement.d.ts +1 -9
- package/dist/components/solution-deployed-card/customElement.js +29 -29
- package/dist/components/solution-deploying-dialog/customElement.d.ts +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +11 -12
- package/dist/components/solution-details-card/customElement.d.ts +1 -1
- package/dist/components/solution-details-card/customElement.js +9 -10
- package/dist/components/solution-details-panel/customElement.d.ts +1 -7
- package/dist/components/solution-details-panel/customElement.js +97 -91
- package/dist/components/solution-details-panel/index.d.ts +1 -0
- package/dist/components/solution-details-panel/index.js +1 -0
- package/dist/components/solution-item/customElement.d.ts +1 -1
- package/dist/components/solution-item/customElement.js +7 -8
- package/dist/components/solution-item-accordion/customElement.d.ts +1 -1
- package/dist/components/solution-item-accordion/customElement.js +8 -9
- package/dist/components/solution-item-details/customElement.d.ts +1 -1
- package/dist/components/solution-item-details/customElement.js +10 -11
- package/dist/components/solution-item-diagram/customElement.d.ts +1 -1
- package/dist/components/solution-item-diagram/customElement.js +9 -10
- package/dist/components/solution-item-icon/customElement.d.ts +1 -1
- package/dist/components/solution-item-icon/customElement.js +8 -9
- package/dist/components/solution-item-sharing/customElement.d.ts +1 -1
- package/dist/components/solution-item-sharing/customElement.js +14 -15
- package/dist/components/solution-organization-variables/customElement.d.ts +1 -1
- package/dist/components/solution-organization-variables/customElement.js +7 -8
- package/dist/components/solution-resource-item/customElement.d.ts +1 -1
- package/dist/components/solution-resource-item/customElement.js +15 -16
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +1 -6
- package/dist/components/solution-snapshot-gallery/customElement.js +15 -15
- package/dist/components/solution-social-share/customElement.d.ts +117 -0
- package/dist/components/solution-social-share/customElement.js +178 -0
- package/dist/components/solution-social-share/index.d.ts +5 -0
- package/dist/components/solution-social-share/index.js +5 -0
- package/dist/components/solution-spatial-ref/customElement.d.ts +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +19 -20
- package/dist/components/solution-template-data/customElement.d.ts +1 -1
- package/dist/components/solution-template-data/customElement.js +8 -9
- package/dist/components/solution-variables/customElement.d.ts +1 -1
- package/dist/components/solution-variables/customElement.js +8 -9
- package/dist/components/solutions-all-panel/customElement.d.ts +1 -9
- package/dist/components/solutions-all-panel/customElement.js +18 -18
- package/dist/components/solutions-all-shell/customElement.d.ts +3 -1
- package/dist/components/solutions-all-shell/customElement.js +19 -16
- package/dist/components/solutions-article-panel/customElement.d.ts +13 -1
- package/dist/components/solutions-article-panel/customElement.js +18 -19
- package/dist/components/solutions-articles/customElement.d.ts +3 -1
- package/dist/components/solutions-articles/customElement.js +54 -16
- package/dist/components/solutions-articles/index.d.ts +10 -0
- package/dist/components/solutions-articles/index.js +10 -0
- package/dist/components/solutions-articles-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +10 -11
- package/dist/components/solutions-articles-shell/index.d.ts +3 -0
- package/dist/components/solutions-articles-shell/index.js +3 -0
- package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -11
- package/dist/components/solutions-deployed-panel/customElement.js +44 -40
- package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
- package/dist/components/solutions-deployed-panel/index.js +1 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +16 -16
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +13 -12
- package/dist/components/spatial-ref/customElement.d.ts +1 -1
- package/dist/components/spatial-ref/customElement.js +8 -9
- package/dist/components/store-manager/customElement.d.ts +1 -1
- package/dist/components/store-manager/customElement.js +2 -2
- package/dist/docs/api.json +1351 -474
- package/dist/docs/docs.json +990 -484
- package/dist/docs/vscode.css-custom-data.json +30 -1
- package/dist/docs/vscode.html-custom-data.json +313 -16
- package/dist/docs/web-types.json +528 -104
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +14 -13
- package/dist/types/lumina.d.ts +18 -9
- package/dist/types/preact.d.ts +19 -9
- package/dist/types/react.d.ts +20 -9
- package/dist/types/stencil.d.ts +18 -9
- package/dist/utils/helpers.d.ts +20 -1
- package/dist/utils/interfaces.d.ts +27 -23
- package/package.json +34 -29
- package/dist/cdn/2A54WJLL.js +0 -4
- package/dist/cdn/2CO6LGS3.js +0 -4
- package/dist/cdn/2ESDNOLP.js +0 -25
- package/dist/cdn/3SJSHFDQ.js +0 -4
- package/dist/cdn/47HUGK47.js +0 -4
- package/dist/cdn/4ASSBQRJ.js +0 -8
- package/dist/cdn/4JAS7M3U.js +0 -82
- package/dist/cdn/4SEEFYPD.js +0 -4
- package/dist/cdn/5BK4CWOX.js +0 -4
- package/dist/cdn/5YO5OS74.js +0 -4
- package/dist/cdn/65HTNVVT.js +0 -4
- package/dist/cdn/6CG6AANG.js +0 -18
- package/dist/cdn/6IIAYEYM.js +0 -18
- package/dist/cdn/A57HOD63.js +0 -18
- package/dist/cdn/ALV3VZWM.js +0 -18
- package/dist/cdn/B6GTZILX.js +0 -383
- package/dist/cdn/BIFHOJDA.js +0 -4
- package/dist/cdn/BIVE3ZGY.js +0 -4
- package/dist/cdn/BNYADJK7.js +0 -18
- package/dist/cdn/BVZ2O4L5.js +0 -4
- package/dist/cdn/CNAEZ5PG.js +0 -3
- package/dist/cdn/DAJFINWG.js +0 -4
- package/dist/cdn/EXGOSSST.js +0 -18
- package/dist/cdn/EXPAYLFV.js +0 -18
- package/dist/cdn/EZ4U6AGL.js +0 -4
- package/dist/cdn/F243JFYJ.js +0 -4
- package/dist/cdn/FH3SI764.js +0 -294
- package/dist/cdn/FHIBMCQA.js +0 -4
- package/dist/cdn/HGXPDXCR.js +0 -18
- package/dist/cdn/HJIGIFOQ.js +0 -4
- package/dist/cdn/I65O4DPY.js +0 -18
- package/dist/cdn/IWNKMVAS.js +0 -4
- package/dist/cdn/J64IOAQO.js +0 -9
- package/dist/cdn/J6ENWA7R.js +0 -4
- package/dist/cdn/JFYTC7KL.js +0 -4
- package/dist/cdn/JKX35XOC.js +0 -4
- package/dist/cdn/KDP6FDXS.js +0 -4
- package/dist/cdn/L3LGCXHS.js +0 -4
- package/dist/cdn/LBZLGIWD.js +0 -18
- package/dist/cdn/LGOLEOFG.js +0 -4
- package/dist/cdn/LHXHL3RB.js +0 -4
- package/dist/cdn/LJSLZOAW.js +0 -4
- package/dist/cdn/LOVLAODG.js +0 -4
- package/dist/cdn/LVAZCCYX.js +0 -4
- package/dist/cdn/MXCKPU23.js +0 -4
- package/dist/cdn/N65S4NHY.js +0 -4
- package/dist/cdn/N7ACGWAI.js +0 -4
- package/dist/cdn/NGDTJRWQ.js +0 -4
- package/dist/cdn/NSCQHAM7.js +0 -4
- package/dist/cdn/NZ42ZTHT.js +0 -4
- package/dist/cdn/O5OQYVQ3.js +0 -18
- package/dist/cdn/OMFYWQSY.js +0 -4
- package/dist/cdn/OTBZT6CE.js +0 -4
- package/dist/cdn/OUA6OKHZ.js +0 -4
- package/dist/cdn/PAPULN5H.js +0 -4
- package/dist/cdn/PVPNQBWZ.js +0 -4
- package/dist/cdn/Q6HRIABM.js +0 -18
- package/dist/cdn/QD76ALH3.js +0 -18
- package/dist/cdn/QRBQ5KHF.js +0 -4
- package/dist/cdn/QSOTGUOZ.js +0 -4
- package/dist/cdn/QZIAEDXM.js +0 -4
- package/dist/cdn/RGTPM7HZ.js +0 -18
- package/dist/cdn/ROJGI2W3.js +0 -4
- package/dist/cdn/RV65ILJG.js +0 -4
- package/dist/cdn/S7NFYQWB.js +0 -3
- package/dist/cdn/SIUHVSRB.js +0 -18
- package/dist/cdn/SZDHEJ35.js +0 -4
- package/dist/cdn/T3WZ5RIH.js +0 -4
- package/dist/cdn/TTOMCAES.js +0 -4
- package/dist/cdn/UDLYWYW6.js +0 -4
- package/dist/cdn/UESCD5AB.js +0 -4
- package/dist/cdn/UMSXHNKH.js +0 -4
- package/dist/cdn/UR4O5D7C.js +0 -4
- package/dist/cdn/UV2M2RAL.js +0 -4
- package/dist/cdn/VBSXEYLV.js +0 -4
- package/dist/cdn/VHDIRVUR.js +0 -4
- package/dist/cdn/VOHSJZCI.js +0 -4
- package/dist/cdn/VP2MDCXM.js +0 -4
- package/dist/cdn/WAPUSBNS.js +0 -4
- package/dist/cdn/WSCCQ5U4.js +0 -5
- package/dist/cdn/WV5BUD4Z.js +0 -4
- package/dist/cdn/X7KYTABF.js +0 -4
- package/dist/cdn/XGGAVQTC.js +0 -4
- package/dist/cdn/XNPZJ7V4.js +0 -18
- package/dist/cdn/XR3GB5SE.js +0 -6
- package/dist/cdn/XXU7NGZI.js +0 -18
- package/dist/cdn/Y4CRJWJF.js +0 -29
- package/dist/cdn/Y5TEYKUG.js +0 -4
- package/dist/cdn/YQE7AUFT.js +0 -4
- package/dist/cdn/YWZCXS4Z.js +0 -18
- package/dist/cdn/Z5RJQBZY.js +0 -4
- package/dist/cdn/ZTVPU2LX.js +0 -4
- package/dist/cdn/ZWW6ZGXP.js +0 -8
package/dist/cdn/EZ4U6AGL.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as t}from"./NCSI6ZKY.js";import"./GO42R2CK.js";import"./B7B7CVVL.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./TTOMCAES.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
|
package/dist/cdn/F243JFYJ.js
DELETED
package/dist/cdn/FH3SI764.js
DELETED
@@ -1,294 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as m}from"./QZIAEDXM.js";import{e as f}from"./65HTNVVT.js";import{c as g,n as b,t as x,z as _}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as w,c as o,d as v,e as y,f as E}from"./5BK4CWOX.js";import"./TTOMCAES.js";var k=`
|
5
|
-
@media print {
|
6
|
-
@page {
|
7
|
-
size: Portrait;
|
8
|
-
margin: .25in;
|
9
|
-
}
|
10
|
-
|
11
|
-
html, body {
|
12
|
-
padding: 0;
|
13
|
-
margin: 0;
|
14
|
-
height: 100%;
|
15
|
-
width: 100%;
|
16
|
-
}
|
17
|
-
|
18
|
-
body > *:not(.instant-apps-export-print) { display: none; }
|
19
|
-
}
|
20
|
-
|
21
|
-
* {
|
22
|
-
-webkit-print-color-adjust: exact;
|
23
|
-
color-adjust: exact;
|
24
|
-
}
|
25
|
-
|
26
|
-
instant-apps-header {
|
27
|
-
height: 50px;
|
28
|
-
display: block;
|
29
|
-
}
|
30
|
-
|
31
|
-
|
32
|
-
.instant-apps-export-print {
|
33
|
-
z-index: -999;
|
34
|
-
color: #323232 !important;
|
35
|
-
display: grid;
|
36
|
-
grid-auto-flow: row;
|
37
|
-
--esri-calcite-mode-name: "light";
|
38
|
-
position: absolute;
|
39
|
-
}
|
40
|
-
|
41
|
-
.instant-apps-export-print__view-header {
|
42
|
-
background: #fff;
|
43
|
-
}
|
44
|
-
|
45
|
-
.instant-apps-export-print__view-header h1 {
|
46
|
-
font-size: 16px;
|
47
|
-
font-weight: 500;
|
48
|
-
color: #323232;
|
49
|
-
margin: 6px;
|
50
|
-
}
|
51
|
-
|
52
|
-
.instant-apps-export-print__views-container {
|
53
|
-
height: 100%;
|
54
|
-
width: 100%;
|
55
|
-
display: flex;
|
56
|
-
flex-direction: column;
|
57
|
-
}
|
58
|
-
|
59
|
-
.instant-apps-export-print__view-content:first-child {
|
60
|
-
page-break-before: unset;
|
61
|
-
}
|
62
|
-
|
63
|
-
.instant-apps-export-print__view-content {
|
64
|
-
height: 100%;
|
65
|
-
display: flex;
|
66
|
-
flex-direction: column;
|
67
|
-
gap: 32px;
|
68
|
-
page-break-before: always;
|
69
|
-
}
|
70
|
-
|
71
|
-
.instant-apps-export-print, .instant-apps-export-print * {
|
72
|
-
box-sizing: border-box;
|
73
|
-
}
|
74
|
-
|
75
|
-
.instant-apps-export-print__view-section {
|
76
|
-
height: 100%;
|
77
|
-
}
|
78
|
-
|
79
|
-
.instant-apps-export-print__view-container {
|
80
|
-
height: 100%;
|
81
|
-
width: 100%;
|
82
|
-
break-inside: avoid;
|
83
|
-
}
|
84
|
-
|
85
|
-
.instant-apps-export-print__view-wrapper {
|
86
|
-
height: fit-content;
|
87
|
-
width: min-content;
|
88
|
-
position: relative;
|
89
|
-
display: flex;
|
90
|
-
flex-direction: column;
|
91
|
-
border: 2pt solid #323232;
|
92
|
-
overflow: hidden;
|
93
|
-
}
|
94
|
-
|
95
|
-
.instant-apps-export-print__view {
|
96
|
-
max-height: 60vh;
|
97
|
-
max-width: calc(100vw - .25in);
|
98
|
-
object-fit: contain;
|
99
|
-
}
|
100
|
-
|
101
|
-
.instant-apps-export-print__popup-container {
|
102
|
-
height: min-content;
|
103
|
-
max-width: 350px;
|
104
|
-
display: none;
|
105
|
-
color: #323232;
|
106
|
-
background: #fff;
|
107
|
-
border: 1pt solid #323232;
|
108
|
-
break-inside: avoid;
|
109
|
-
}
|
110
|
-
|
111
|
-
.instant-apps-export-print__popup-title {
|
112
|
-
border-bottom: 1pt solid #323232;
|
113
|
-
}
|
114
|
-
|
115
|
-
.instant-apps-export-print__popup-content {
|
116
|
-
background: #fff;
|
117
|
-
padding-top: 8pt;
|
118
|
-
}
|
119
|
-
|
120
|
-
.instant-apps-export-print__popup-content .esri-feature-media__chart {
|
121
|
-
background: #fff;
|
122
|
-
}
|
123
|
-
|
124
|
-
.instant-apps-export-print__legend-container {
|
125
|
-
height: min-content;
|
126
|
-
background: #fff;
|
127
|
-
overflow: unset;
|
128
|
-
}
|
129
|
-
|
130
|
-
.esri-legend--card, .esri-legend--card__service-content {
|
131
|
-
flex-flow: row wrap;
|
132
|
-
}
|
133
|
-
|
134
|
-
.instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
|
135
|
-
background: #fff;
|
136
|
-
color: #323232;
|
137
|
-
}
|
138
|
-
|
139
|
-
.instant-apps-export-print__popup-content * {
|
140
|
-
color: #323232;
|
141
|
-
}
|
142
|
-
|
143
|
-
.instant-apps-export-print .esri-widget__heading {
|
144
|
-
margin: 2pt 7pt;
|
145
|
-
padding: 0;
|
146
|
-
color: #323232;
|
147
|
-
}
|
148
|
-
|
149
|
-
.instant-apps-export-print .esri-legend__ramp-label:before {
|
150
|
-
border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
|
151
|
-
}
|
152
|
-
|
153
|
-
.instant-apps-export-print .esri-legend--card__section {
|
154
|
-
padding: 4pt 0 4pt;
|
155
|
-
min-width: unset;
|
156
|
-
border-left: none;
|
157
|
-
}
|
158
|
-
|
159
|
-
.instant-apps-export-print .esri-legend--card__section:first-child {
|
160
|
-
border-left: none;
|
161
|
-
}
|
162
|
-
|
163
|
-
.instant-apps-export-print .esri-legend--card__service {
|
164
|
-
border: none;
|
165
|
-
flex: 0 1 auto;
|
166
|
-
break-inside: avoid;
|
167
|
-
}
|
168
|
-
|
169
|
-
.instant-apps-export-print .esri-legend--card {
|
170
|
-
border: none;
|
171
|
-
gap: 6pt 12pt;
|
172
|
-
}
|
173
|
-
|
174
|
-
.instant-apps-export-print .esri-legend--card:not(:first-child),
|
175
|
-
.instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
|
176
|
-
display: none;
|
177
|
-
}
|
178
|
-
|
179
|
-
.instant-apps-export-print .esri-legend--card__service-caption-container {
|
180
|
-
height: unset;
|
181
|
-
padding: 0;
|
182
|
-
border-bottom: none;
|
183
|
-
}
|
184
|
-
|
185
|
-
.instant-apps-export-print .esri-legend--card__service-caption-text {
|
186
|
-
padding-bottom: 4px;
|
187
|
-
}
|
188
|
-
|
189
|
-
.instant-apps-export-print__compass-container {
|
190
|
-
position: absolute;
|
191
|
-
top: 65px;
|
192
|
-
left: 15px;
|
193
|
-
background: #fff;
|
194
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
195
|
-
--calcite-ui-icon-color: #000;
|
196
|
-
border-radius: 50%;
|
197
|
-
height: fit-content;
|
198
|
-
}
|
199
|
-
|
200
|
-
.instant-apps-export-print__compass-container .esri-compass {
|
201
|
-
background: #fff;
|
202
|
-
}
|
203
|
-
|
204
|
-
.instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
|
205
|
-
color: #000;
|
206
|
-
}
|
207
|
-
|
208
|
-
.instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
|
209
|
-
background: #fff;
|
210
|
-
}
|
211
|
-
|
212
|
-
.instant-apps-export-print__scale-bar-container {
|
213
|
-
width: 100%;
|
214
|
-
position: absolute;
|
215
|
-
bottom: 15px;
|
216
|
-
margin: 0 15px;
|
217
|
-
}
|
218
|
-
|
219
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
|
220
|
-
color: #323232;
|
221
|
-
font-size: 10px;
|
222
|
-
padding: 0 4px;
|
223
|
-
}
|
224
|
-
|
225
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {
|
226
|
-
height: 16px;
|
227
|
-
overflow: hidden;
|
228
|
-
}
|
229
|
-
|
230
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {
|
231
|
-
bottom: 1px;
|
232
|
-
}
|
233
|
-
|
234
|
-
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
|
235
|
-
height: 10px;
|
236
|
-
padding: 0 2px;
|
237
|
-
line-height: 11px;
|
238
|
-
}
|
239
|
-
|
240
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
|
241
|
-
display: none;
|
242
|
-
}
|
243
|
-
|
244
|
-
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
|
245
|
-
align-items: center;
|
246
|
-
}
|
247
|
-
|
248
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
|
249
|
-
background-color: rgba(255, 255, 255, 0.66);
|
250
|
-
}
|
251
|
-
|
252
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
|
253
|
-
width: var(--instant-apps-scale-bar-top) !important;
|
254
|
-
border-bottom: 2px solid #323232;
|
255
|
-
}
|
256
|
-
|
257
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
|
258
|
-
width: var(--instant-apps-scale-bar-bottom) !important;
|
259
|
-
border-top: 2px solid #323232;
|
260
|
-
}
|
261
|
-
|
262
|
-
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
|
263
|
-
position: unset;
|
264
|
-
margin: 0 2px;
|
265
|
-
background-color: rgba(255, 255, 255, 0.66);
|
266
|
-
height: 10px;
|
267
|
-
display: flex;
|
268
|
-
align-items: center;
|
269
|
-
}
|
270
|
-
|
271
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
|
272
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
|
273
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
|
274
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
|
275
|
-
background-color: #323232;
|
276
|
-
border-right: 2px solid #323232;
|
277
|
-
}
|
278
|
-
|
279
|
-
.instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
|
280
|
-
display: none;
|
281
|
-
}
|
282
|
-
|
283
|
-
.instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
|
284
|
-
width: 100%!important;
|
285
|
-
}
|
286
|
-
|
287
|
-
.instant-apps-export-print__popup-content .esri-popup__content {
|
288
|
-
margin: 0;
|
289
|
-
}
|
290
|
-
|
291
|
-
.instant-apps-export-print__attribution {
|
292
|
-
margin-top: 12px;
|
293
|
-
font-size: 10px;
|
294
|
-
}`,I=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover:#fff}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}",S=I,p={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",print:{base:"instant-apps-export-print",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewsContainer:"instant-apps-export-print__views-container",viewSection:"instant-apps-export-print__view-section",viewWrapper:"instant-apps-export-print__view-wrapper",viewContent:"instant-apps-export-print__view-content",viewHeader:"instant-apps-export-print__view-header",attribution:"instant-apps-export-print__attribution"}},P=class{constructor(t){w(this,t),this.exportOutputUpdated=E(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p.baseLight,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(t){t&&this.exportViews?.forEach(({view:e},n)=>{if(!this.printEl)return;let i=this.printEl.querySelector(`#legend-${n}`);i!=null&&this.updateLegend(e,n,i)})}watchView(){this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)})}async componentWillLoad(){this.baseClass=m(this.el)==="dark"?p.baseDark:p.baseLight,await f(this),await this.initializeModules()}componentDidLoad(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)}))}componentDidUpdate(){this.exportViews?.forEach(({view:t},e)=>{if(!this.printEl)return;let n=this.printEl.querySelector(`#legend-${e}`);this.updateLegend(t,e,n)})}async initializeModules(){let t=await _();return this.handles=await g(),this.reactiveUtils=t,await Promise.resolve(!0)}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return o(v,{key:"7492b0b90d22167c5a3bf625c3eb701424212903"},o("div",{key:"ba182de0b46e0670ade87f58838c6d40f4a5bd65",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t))}renderPopover(){let t=this.renderPanel();return[o("calcite-popover",{referenceElement:"export-popover-btn",label:this.messages?.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e},t),o("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:this.messages?.exportBtn,text:this.messages?.exportBtn})]}renderPanel(){let t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,n=this.renderPrint(),i=this.mode==="inline"?p.inlineContainer:p.popoverContainer;return o("div",{class:i},t,e,o("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},this.messages?.export),n)}renderSwitch(t,e){let i=this[t],r=t,a=e||this.messages?.[r];return o("calcite-label",{layout:"inline-space-between"},a,o("calcite-switch",{checked:i,value:t,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){let t=this.showIncludeHeader?this.renderSwitch("includeHeader"):null,e=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return o("div",null,t,e,n)}renderPrint(){return o("div",{ref:t=>this.printContainerEl=t},o("div",{class:p.print.base,ref:t=>this.printEl=t},o("div",{class:p.print.viewsContainer},this.exportViews?.map(({title:t,view:e},n)=>{let i=e.map?.portalItem?.id,r=this.includeMap?this.renderPrintMap(t,n):null,a=this.includeMap&&this.showIncludeLegend?this.renderLegend(n):null,s=this.includeMap&&this.showIncludePopup?this.renderPopup(n):null;return o("div",{key:i??"",id:`print-${n}`,class:p.print.viewContent},r,a,s)}))))}renderPrintMap(t,e){return o("div",{id:`view-container-${e}`,class:p.print.viewContainer},o("div",{id:`view-wrapper-${e}`,class:p.print.viewWrapper},this.includeHeader&&t?o("div",{class:p.print.viewHeader},o("h1",null,t)):null,o("img",{id:`view-${e}`,class:p.print.view}),o("div",{id:`scale-bar-container-${e}`,class:p.print.scaleBarContainer})),this.renderAttribution(e))}renderAttribution(t){return o("div",{id:`attribution-${t}`,class:p.print.attribution})}renderLegend(t){return o("div",{id:`legend-${t}`,class:p.print.legendContainer})}renderCompass(t){return o("div",{id:`compass-${t}`,class:p.print.compassContainer})}renderPopup(t){return o("div",{id:`popup-${t}`,class:p.print.popupContainer},o("div",{id:`popup-title-${t}`,class:p.print.popupTitle}),o("div",{id:`popup-content-${t}`,class:p.print.popupContent}))}optionOnChange(t){let e=t.target,{checked:n,value:i}=e;this[i]=n,this.updateExportOutput()}async exportOnClick(){await this.beforeExport(),this.exportViews?.length?(this.addPrintStyling(),this.printEl&&document.body.prepend(this.printEl),this.exportViews.forEach(({view:t},e)=>{this.handleViewExportOnClick(t,e)}),this.handleImgLoaded()):this.popoverEl!=null&&(this.popoverEl.open=!1)}async handleViewExportOnClick(t,e){this.includeMap&&(this.updateAttribution(t,e),this.updateScaleBar(t,e),this.updatePopupToPrint(t,e),this.viewScreenshot(t,e),this.handleLegendSetup(e))}addPrintStyling(){this.printStyleEl==null&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=k,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()},1500)}resetPrintContent(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.printStyleEl?.remove(),this.printStyleEl=void 0)}async updatePopupToPrint(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#popup-${e}`);if(n!=null&&(n.style.display=this.includePopup&&t?.popup?.visible?"block":"none",this.checkPopupOpen(t,e)),t?.popup?.visible&&t?.popup?.selectedFeature!=null){let i=document.createElement(`h${t?.popup?.headingLevel??2}`);i.innerHTML=t?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title";let r=this.printEl.querySelector(`#popup-title-${e}`);r!=null&&(r.style.display=t?.popup?.title?"block":"none",r.innerHTML="",r.prepend(i))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){let t=document.title;window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1500)}handleLegendSetup(t){if(!this.printEl)return;let e=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&this.includeMap&&e){let n=this.legends[t],i=n!=null&&n.activeLayerInfos?.length>0;e.style.display=this.includeLegend&&i?"block":"none"}}handleWidgetCreation(){this.includeMap&&this.exportViews?.forEach(({view:t},e)=>{this.handleLegendCreation(t,e)})}handleIncludePopup(t,e){if(!(!this.handles||!this.reactiveUtils||!t||!this.showIncludePopup)&&this.showIncludePopup){let n=`includePopup-${e}`;this.handles?.remove(n),this.reactiveUtils.whenOnce(()=>t?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>!!t?.popup?.visible,i=>{this.includePopup=i}),n)})}}handleLegendCreation(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#legend-${e}`);if(this.showIncludeLegend&&n!=null){let i=t.map,a=this.legends[e]?.view?.map;i?.portalItem?.id!=null&&i?.portalItem?.id===a?.portalItem?.id||this.updateLegend(t,e,n)}}async updateLegend(t,e,n){t?.when(async i=>{if(this.legends[e]==null&&n!=null){n.innerHTML="";let r=document.createElement("div");n.append(r),this.legends[e]=await x({id:`legend-widget-${e}`,container:r,view:i,style:{type:"card",layout:"side-by-side"}})}})}handleCompassCreation(t,e){if(!this.compassContainerEl)return;let n=this.compassContainerEl.querySelector(`#compass-${e}`);if(n!=null){let i=t.map,a=this.compasses[e]?.view?.map;i?.portalItem?.id===a?.portalItem?.id||this.updateCompass(t,e,n)}}updateCompass(t,e,n){t?.when(async i=>{let r=document.createElement("div");n!=null&&(n.append(r),this.compasses[e]=await b({id:`compass-widget-${e}`,container:r,view:i}))})}updateScaleBar(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#scale-bar-container-${e}`);if(n&&t!=null&&(n.innerHTML="",this.showScaleBar)){let r=t?.ui?.getComponents()?.find(({container:a})=>a?.className?.includes("esri-scale-bar"));r?.container!=null&&typeof r.container!="string"&&n.append(r.container.cloneNode(!0))}}updateAttribution(t,e){let n=this.printEl?.querySelector(`#attribution-${e}`);if(!n||!t)return;n.innerHTML="";let i=t.ui.find("attribution");if(!i?.attributionText)return;let r=i.viewModel.items.map(s=>this.getAttributionText(s)).filter((s,c,d)=>!!s&&d.indexOf(s)===c),a=" | ";n.innerHTML=r.join(a)}getAttributionText(t){if(!t.text)return"";let e=t.text,n=t.layerView.layer,i="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let r=n.portalItem;if(r.accessInformation&&e===r.accessInformation)return e.replace(r.accessInformation,i)}return e}async viewScreenshot(t,e){if(!this.printEl||!this.includeMap)return;let n=1e3,i=this.printEl.querySelector(`#scale-bar-container-${e}`);i?.classList.toggle("instant-apps-export-print__scale-bar-container--position",t.width>n);let r=await t.takeScreenshot({width:t.width*2,height:t.height*2});this.handleScaleBarSize(t,r,i);let a=this.printEl.querySelector(`#view-${e}`);r!=null&&a!=null&&(a.src=r.dataUrl)}checkPopupOpen(t,e){if(!this.printEl)return;let i=t?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(i!=null){let r=i.querySelectorAll("canvas"),a=this.printEl.querySelector(`#popup-content-${e}`);if(a==null)return;a.innerHTML="",a.append(i.cloneNode(!0));let s=a.querySelectorAll("canvas");r.forEach((c,d)=>{let C=c.toDataURL(),l=document.createElement("img");l.src=C;let h=c.getAttribute("style");h&&l.setAttribute("style",h);let u=s[d];u!=null&&(u.replaceWith(l),document.querySelector("link[href*='esri/themes/dark/main.css']")&&l.parentElement?.parentElement!=null&&(l.parentElement.style.background="#242424",l.parentElement.parentElement.style.background="#242424"))})}}handleScaleBarSize(t,e,n){if(this.showScaleBar&&t?.type==="2d"&&n!=null){let i=n.querySelector(".esri-scale-bar__line--top"),r=n.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(e,n,i,"top"),this.setScaleBarWidth(e,n,r,"bottom")}}setScaleBarWidth(t,e,n,i){if(n!=null&&t!=null){let r=t.data.width/2,c=Number(n.style.width.replace("px",""))/r*100;e?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${c}%`)}}get el(){return y(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};P.style=S;export{P as instant_apps_export_views};
|
package/dist/cdn/FHIBMCQA.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{e as P}from"./65HTNVVT.js";import{A as R,C,D as L,d as k,e as y}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as S,c as e,d as E,e as $}from"./5BK4CWOX.js";import"./TTOMCAES.js";var j=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",Z=j,o="instant-apps-social-share",I=".calcite-mode-dark",a={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},q={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},G="https://arcg.is/prod/shorten",T="1",X=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let s=t.target,i=this.shareListRef.children[0],r=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&s===i?(t.preventDefault(),r.focus()):!t.shiftKey&&s===r&&(t.preventDefault(),i.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let s=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(s)}else{let s=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(s)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:a.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),s=this.shareIconsLayout==="vertical"?` ${a.layout.vertical}`:` ${a.layout.horizontal}`,i=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,r=e("div",{key:"28cd0fbc9f67a770aa7b060119daadc755016c50",ref:n=>this.dialogContentRef=n,class:`${a.dialog}${s}${i}`},t),h=this.removePopoverOffset?0:6;return e(E,{key:"6a12464d22a64daa885e29f0fad2dce2dc22d4ec"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:n=>{n&&(this.popoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":h,"pointer-disabled":this.removePopoverOffset},r),this.renderButton()]:[r,e("calcite-popover",{ref:n=>{n&&(this.copyLinkPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:n=>{n&&(this.copyEmbedPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:i=>{this.isNativeShareEnabled?(i.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(i)},id:"shareButton",class:a.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},s=e("div",{class:a.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,kind:this.shareButtonColor,appearance:"transparent"},s):e("calcite-action",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,appearance:"transparent",text:"",alignment:"center"},s)}renderSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,s=document.dir==="rtl"?` ${a.rtl.optionText}`:"";return e("ul",{ref:i=>this.shareListRef=i,class:a.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${a.optionText}${s}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderFacebookIcon()),e("span",{class:`${a.optionText}${s}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderXIcon()),e("span",{class:`${a.optionText}${s}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderLinkedInIcon()),e("span",{class:`${a.optionText}${s}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderBlueSkyIcon()),e("span",{class:`${a.optionText}${s}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return s=>{let i=s.code;(i==="Space"||i==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?a.xLogo.dark:a.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:a.tipContainer},e("span",{class:a.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:a.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,s=document.dir==="rtl"?` ${a.rtl.textArea}`:"";return e("div",{class:a.embed.container},e("span",{class:a.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:a.embed.embedCode.container},e("div",{class:a.embed.embedCode.textArea},e("textarea",{ref:i=>this.embedCodeRef=i,cols:30,rows:5,readonly:!0,class:s,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:a.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:a.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:a.embed.dimensions.container},e("label",{class:a.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:i=>this.embedWidthRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:a.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:i=>this.embedHeightRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let s=t==="width"?this.embedWidthRef:this.embedHeightRef,i=t==="width"?"embedWidth":"embedHeight";return()=>{s&&Number.parseFloat(s.value)<=0&&(this[i]=Number.parseInt(T),s.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let s=null,i=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!i;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let c=s||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(c),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let n;r&&(n=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));let p={url:encodeURI(c)},b=t==="x"?{...p,text:this.shareText}:p,f=(await C()).substitute(q[t],b);this.mode==="popover"&&this.closePopover(),r&&n?(n.location=f,n.focus()):window.open(encodeURI(f),"_blank")}break;case"native-share":let h={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(c)};navigator?.canShare(h)?navigator.share(h).catch(n=>{console.error("Error using native share:",n)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let r=(await(await L())(G,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(r)return r.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:s}=this.view.center,{spatialReference:i}=this.view,r=await y({...i.toJSON()}),c=await k({x:t,y:s,spatialReference:r}),h=await this.processPoint(c),{isWGS84:n,isWebMercator:p}=h.spatialReference,b=n||p;return this.generateShareUrlParams(h,b)}async processPoint(t){let{isWGS84:s,isWebMercator:i}=t.spatialReference;if(s||i)return t;let r=await R(),c=await y({wkid:4326}),h=this.view?.spatialReference??c;try{await r.load();let n=r.execute(t,h);return Promise.resolve(n)}catch(n){console.error("Failed to project point to outSpatialReference",n);try{let p=r.execute(t,c);return Promise.resolve(p)}catch(p){return console.error("Failed to project point to fallbackOutSpatialReference",p),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(t,s){let{longitude:i,latitude:r,x:c,y:h}=t;if(i===void 0||r===void 0)return this.shareUrl;let n=this.roundValue(s?i:c),p=this.roundValue(s?r:h),{zoom:b}=this.view,w=this.roundValue(b),f=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,v,_;if(f&&z&&f?.layer?.type==="feature"){let u=f?.layer;g=u?.id,v=f.attributes[u.objectIdField]}_=this.view.map?.allLayers.filter(u=>!u.visible).toArray().map(u=>u.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:d}=l;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),U==="3d"){let{camera:u}=this.view,{heading:D,position:O,tilt:B}=u,{longitude:A,latitude:H,x:M,y:N,z:F}=O,K=s?A:M,W=s?H:N,x={longitude:this.roundValue(K,8),latitude:this.roundValue(W,8),z:this.roundValue(F,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},V=`cam:${x.longitude},${x.latitude},${x.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",V),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${n};${p}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}roundValue(t,s=4){return Number.parseFloat(t.toFixed(s))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};X.style=Z;export{X as instant_apps_social_share};
|
package/dist/cdn/HGXPDXCR.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as u}from"./UUCDGMFW.js";import{a as h,c as g}from"./UV2M2RAL.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{a,b as o}from"./DAJFINWG.js";import{a as p}from"./UESCD5AB.js";import{B as t,D as d,c as r,d as i,x as l,y as c}from"./XR3GB5SE.js";import"./TTOMCAES.js";var m=r`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/calcite-card{width:295px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: 0px}.deployed-icon-override{--calcite-icon-color: var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:.5rem}.padding-bottom-1-2{padding-bottom:.5rem}.display-flex{display:flex}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-bold{font-weight:700}.font-weight-normal{font-weight:400}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{line-height:2.5rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}`,s=class extends c{constructor(){super(...arguments),this.allowDelete=!1,this.authContextConsumer=l({context:g,subscribe:!0}),this.deployedDate="",this.description="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.userSessionContextConsumer=l({context:h,subscribe:!0}),this._isConfigureOpen=!1,this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._translations=p({name:"solution-deployed-card",blocking:!0}),this._configureDialogRef=a(),this._deleteDialogRef=a(),this._diagramDialogRef=a()}static{this.properties={allowDelete:5,authContextConsumer:0,card:0,deployedDate:1,description:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,userSessionContextConsumer:32,_isConfigureOpen:16,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_translations:16}}static{this.styles=m}async renderConfigureDialog(e){this._cardSelected(),this._configureDialogRef.value&&(this._configureDialogRef.value.showSuccessAlert=e)}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return this._isDiagramOpen=!0,await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}render(){return i`<div><calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this._getOwnerLabel()}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureDialog()}</div>`}_getImage(){let e=this.userSessionContextConsumer.value;return i`<div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${this.heading??t} src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.configure}</div></div>`}_getHeader(){return i`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between>${this.heading}</calcite-label><calcite-icon class="icon-brand-color" icon=refresh id=solution-update-available-icon @click=${this._updateAvailable} scale=s></calcite-icon><calcite-tooltip placement=bottom reference-element=solution-update-available-icon>${this._translations.updateAvailable}</calcite-tooltip></div>`}_getOwnerLabel(){return i`<calcite-label class="font-weight-bold padding-end-1-2" layout=inline>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return i`<div class="display-flex align-items-center"><calcite-icon class="deployed-icon-override padding-end-1-2" icon=projects scale=s></calcite-icon><calcite-label class="deployed-label-override">${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){return i`<calcite-split-button appearance=outline @calciteSplitButtonPrimaryClick=${()=>{this._isConfigureOpen=!0}} @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.configure??t} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&i`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return this._isDeleteOpen?i`<solution-delete-dialog .card=${this.card} .open=${this._isDeleteOpen} @dialogOpen=${e=>{this._isDeleteOpen=e.detail}} ${o(this._deleteDialogRef)}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?i`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")??t} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled resizable scale=l width=l ${o(this._diagramDialogRef)}><solution-item-diagram .templateInfoGraph=${this.templateInfoGraph}></solution-item-diagram></calcite-dialog>`:""}_renderConfigureDialog(){return i`<solution-configure-dialog .card=${this.card} .cardRef=${this.el} @solutionConfigureDialogClose=${()=>{this._isConfigureOpen=!1}} .open=${this._isConfigureOpen} ${o(this._configureDialogRef)}></solution-configure-dialog>`}_cardSelected(){this._isConfigureOpen=!0}async _viewDiagram(e){e.stopPropagation(),this.card&&(this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),window.open(this.card.learnMoreUrl,"_blank")}_viewItemDetails(e){e.stopPropagation(),window.open(this.card.itemUrl,"_blank")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation();let n=this.authContextConsumer.value?.PortalSubset?.orgUrl;n&&window.open(`${n}/home/user.html`,"_blank")}_updateAvailable(e){e.stopPropagation(),alert("_updateAvailable")}async _processTemplates(e){return await u(e.id,this.userSessionContextConsumer.value)}};d("solution-deployed-card",s);export{s as SolutionDeployedCard};
|
package/dist/cdn/HJIGIFOQ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{e as l}from"./65HTNVVT.js";import{a as o,f as r,z as c}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as p,c as n,d as g,e as h,j as d}from"./5BK4CWOX.js";import"./TTOMCAES.js";var m=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color:var(--calcite-color-text-1);--calcite-font-size--2:var(--calcite-font-size--1);--calcite-internal-action-padding-inline:12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color:var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',b=m,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},f=class{constructor(t){p(this,t),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInPopoverItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let t=this.ready?this.renderContent():null;return n(g,{key:"5b006e2927584e4cb2d8396cb8d68ec9e073e6d3"},t)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:a.base},this.isSignedIn?this.renderSignInPopover():this.renderSignInButton())}renderSignInPopover(){let t=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",e=this.user?.id??this.user?.sourceJSON?.id;return n(d,null,this.type==="navigation"?n("calcite-navigation-user",{class:i,id:"instant-apps-sign-in-user-button",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":e,textDisabled:!0}):n("button",{id:"instant-apps-sign-in-user-button"},n("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":e})),n("calcite-popover",{ref:s=>{s&&(this.signInPopover=s)},placement:"bottom-end",scale:t,referenceElement:"instant-apps-sign-in-user-button","offset-distance":"0","pointer-disabled":!0,"focus-trap-disabled":!0,"auto-close":!0,label:"User settings"},n("div",{class:a.signInContainer},n("slot",{name:"sign-in-popover-top"}),this.signInPopoverItems?.map(s=>n("calcite-action",{scale:"s",onClick:u=>{s.onClick(u),this.signInPopover&&(this.signInPopover.open=!1)},text:s.label,textEnabled:!0})),n("calcite-action",{scale:"s",onClick:this.signOut.bind(this),text:this.messages?.signOut,textEnabled:!0}))))}renderSignInButton(){let t=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return n("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},this.messages?.signIn)}renderLandingPageSignIn(){return n("div",{class:a.buttonContainer},n("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),n("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[t,i]=await Promise.all([o(),c()]);this.idManager=t,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let t=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${t}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let t=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=t,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let t=new Date,i=2e3;localStorage.setItem("signing-in",t.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return h(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};f.style=b;export{f as instant_apps_sign_in};
|
package/dist/cdn/I65O4DPY.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import c from"./XOCETJCR.js";import b from"./VHDIRVUR.js";import{a as y,c as v}from"./UV2M2RAL.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{k as S,l as C,p as w,q as l,r as f}from"./55NQUWEY.js";import{a as _}from"./UESCD5AB.js";import{D as p,c as u,d as a,e as g,n as o,x as n,y as m}from"./XR3GB5SE.js";import"./TTOMCAES.js";export default $arcgis.t(([,{a:c,b:x}])=>{var A=u`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,h=class extends m{constructor(){super(...arguments),this.authContextConsumer=n({context:v,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=n({context:y,subscribe:!0}),this.cards=[],this._translations=_({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${l} OR ${f}`,this._allCards=[],this._baseAgoTerms=l,this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="numviews",this._sortOrder="desc",this.cardsFetched=o(),this.allCardsFetched=o()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=A}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new c(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new c(this.locale,this.orgUrl,this.portalUrl),this.cards=await this._getSolutions(),this.allCardsFetched.emit(this.cards),await this._getDeployedSolutions()}render(){return a`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>a`<solution-details-card .card=${e}></solution-details-card>`):a`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this.userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",i=e?.cards.length?e.cards:[];this.sortType==="new"&&i.sort((s,r)=>s.categories.includes(t)&&!r.categories.includes(t)?-1:!s.categories.includes(t)&&r.categories.includes(t)?1:s.categories.includes(t)&&r.categories.includes(t)?s.categories.length-r.categories.length:0);let d=i.map(s=>{let r=s.categories.indexOf(t)>-1;return s.chip=r?"updated":"none",s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(d.length),d}async _getDeployedSolutions(){let e=this.authContextConsumer.value,t=this.userSessionContextConsumer.value;if(e&&t){let i=await x(e,t,this._cardsFetcher,this._cardsFetcherDeployed,w,"created");i&&(this._relatedSolutions=i.relatedSolutions,console.log(this._relatedSolutions))}}_getSolutionsBriefcase(){return a`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let i=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${i}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return C[e]}_getIndustryValue(e){return e==="AEC"?"AEC":S[e]}_clearFilterCategories(){this._categories=[]}};p("solutions-all-panel",h);return h},b,c)
|
package/dist/cdn/IWNKMVAS.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{k as s,v as p}from"./N65S4NHY.js";import"./YQE7AUFT.js";import"./VBSXEYLV.js";import"./MXCKPU23.js";import{a as d,c as e,e as r,f as c}from"./5BK4CWOX.js";import"./TTOMCAES.js";var o=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0;overflow-x:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",g=o,n={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},v=class{constructor(t){d(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=c(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let t=s(this.activeLayerInfo),{expanded:a}=this,i=a?this.messages?.collapse:this.messages?.expand,l=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return e("header",{key:"54b3774af9d12ff52ca01429e1edc5aa987481dd",class:`${n.interacitveLegendHeader} ${p(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},e("span",{key:"ec9dfadf2376efd474b0333cb6f7d5ddb47c19c8"},e("span",{key:"1ea320fc3b7cd497c5d388d4c7fe7382289a8420",class:n.headerActionContainer},e("calcite-action",{key:"9bd10275be0564e1ec044df25944f4b2b559fe1e",onClick:this.toggleExpanded(),icon:a?"chevron-down":"chevron-up",appearance:"transparent",text:i,label:i,scale:"s"}),e("h3",{key:"3cdfbad64a12e8b968ca8c225b457793721cf59e",class:`${n.header} ${n.label}${l}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&t?e("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return r(this)}};v.style=g;export{v as instant_apps_interactive_legend_group_legend_element_caption};
|
package/dist/cdn/J64IOAQO.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./N65S4NHY.js";import{a as E}from"./YQE7AUFT.js";import"./VBSXEYLV.js";import{E as N,h as M,i as A}from"./MXCKPU23.js";import{a as u,c as s,e as L,f as T,h as R}from"./5BK4CWOX.js";import"./TTOMCAES.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
5
|
-
rect:hover {
|
6
|
-
cursor: pointer;
|
7
|
-
opacity: 0.8;
|
8
|
-
}
|
9
|
-
`,e?.appendChild(t)}}},s("span",{key:"a27712fc70a2e6ba5f44f415a19cc4cbfce8036e",id:j,class:Ie.instructionalText},this.messages?.relationship?.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){let e=(this.activeLayerInfo?.layer).renderer,t=this.symbolUtils.renderRelationshipRampPreviewHTML(e)?.outerHTML;return s("div",{ref:a=>{a&&(this.relationshipRamp=a,this.applyRelationshipRampInteractivity(),this.applyRelationshipRampSvgAriaAttributes())},key:"relationship-ramp-diamond",innerHTML:t})}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&p.data)}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let n=setInterval(()=>{let t=this.relationshipRamp.querySelector(fe);t&&(clearInterval(n),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",j),t.removeAttribute("focusable"));let a=this.relationshipRamp.querySelector(ve);a&&(clearInterval(n),a.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let n=setInterval(()=>{let t=this.relationshipRamp.querySelector(Z);if(t){clearInterval(n);let a=t.children;this.setupRelationshipDrawingStyle(a)}},10)}}setupRelationshipDrawingStyle(e){let n=Array.from(e);if(!n.length)return;let t=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(t))for(let i of t){let l=t.indexOf(i),r=n[l];this.setCellAttributes(r,l),r.classList.add("esri-interactive-legend__svg-rect-element")}let a=this.reorderCellNodes(n);this.attachFeatureIndexes(a),this.applyEventHandlers()}setCellAttributes(e,n){let a=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(n);if(Array.isArray(a)&&a[i]){let r=e.classList.contains(y)?"true":"false",c=a[i]?.label||"",d=a[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",d),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",r),e.setAttribute("aria-label",c),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:n,numClasses:t}=this.legendElement;return n==="HL"?e:t===2?he(e,n):t===3?ge(e,n):t===4?J(e,n):null}reorderCellNodes(e){let n=[];for(;this.cellNodeCounter<=e.length-1;)e.map(t=>{Number.parseInt(t.getAttribute("data-cell-index"))===this.cellNodeCounter&&n.push(t)}),this.cellNodeCounter++;return this.cellNodeCounter=0,n}attachFeatureIndexes(e){let{focus:n,numClasses:t}=this.legendElement;n==="HH"||n===null?this.relationshipFocusIsHighHigh(e,t):n==="LL"?this.relationshipFocusIsLowLow(e,t):n==="LH"?this.relationshipFocusIsLowHigh(e,t):n==="HL"&&this.relationshipFocusIsHighLow(e,t),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,n){for(let t=n-1;t>=0;t--)for(let a=n-1;a>=0;a--)this.setDataAttributes(e,t,a,n),this.cellNodeCounter++}relationshipFocusIsLowLow(e,n){for(let t=0;t<n;t++)for(let a=0;a<n;a++)this.setDataAttributes(e,t,a,n),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,n){for(let t=0;t<n;t++)for(let a=n-1;a>=0;a--)this.setDataAttributes(e,t,a,n),this.cellNodeCounter++}relationshipFocusIsHighLow(e,n){for(let t=n-1;t>=0;t--)for(let a=0;a<n;a++)this.setDataAttributes(e,a,t,n),this.cellNodeCounter++}setDataAttributes(e,n,t,a){let i=e[this.cellNodeCounter];a===G?this.twoClassAttributes(i,n,t):a===W?this.threeClassAttributes(i,n,t):this.fourClassAttributes(i,n,t)}twoClassAttributes(e,n,t){let{legendElement:a}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?a.focus==="HL"?this.swapDataFeatureIndexes(e,n,t):this.setDataFeatureIndexes(e,n,t):a.focus==="HL"?this.swapDataFeatureIndexes(e,n,t):this.setDataFeatureIndexes(e,n,t)}threeClassAttributes(e,n,t){let{legendElement:a}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?a.focus==="HL"?this.swapDataFeatureIndexes(e,n,t):this.setDataFeatureIndexes(e,n,t):a.focus!=="HL"?this.setDataFeatureIndexes(e,n,t):this.swapDataFeatureIndexes(e,n,t)}fourClassAttributes(e,n,t){let{legendElement:a}=this,{focus:i}=a;this.cellNodeCounter>0&&this.cellNodeCounter<=14?i==="HL"?this.swapDataFeatureIndexes(e,n,t):this.setDataFeatureIndexes(e,n,t):i!=="HL"?this.setDataFeatureIndexes(e,n,t):this.swapDataFeatureIndexes(e,n,t)}setDataFeatureIndexes(e,n,t){e.setAttribute("data-feature-i",`${n}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,n,t)}swapDataFeatureIndexes(e,n,t){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${n}`),this.setDataCellFocusValue(e,t,n)}getDataCellValue(e,n,t){let a=t[e],i=t[n];return a&&i?`${a}${i}`:""}getDataCellMap(e){switch(e){case G:return be;case W:return xe;case ye:return Le;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,n,t){let a=this.legendElement.numClasses,i=this.getDataCellMap(a),l=this.getDataCellValue(n,t,i);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,n){let{i:t,j:a,focus:i}=n;await this.handleFilter(t,a,i),this.handleSelectedElement(e)}applyEventHandlers(){let e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).forEach(t=>{let a=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),l=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:a,j:i,focus:l})},t.onkeydown=async r=>{r.key==="Enter"&&await this.onCellClick(t,{i:a,j:i,focus:l})},t.onkeyup=async r=>{r.key===" "&&await this.onCellClick(t,{i:a,j:i,focus:l})}})}async handleFilter(e,n,t){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,l=i?.field1,r=i?.field2,{queryExpressions:c,fLayerView:d}=p.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&l&&r){let o=this.generateExpressionParams(l,r,i,e,n,t),h=this.generateExpressionForRelationship(o);c.length===0?c[0]=h:c.includes(h)?c.splice(c.indexOf(h),1):c.push(h);let m=c.join(" OR "),x=d?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")d.filter=await A({where:m,timeExtent:d?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:I,excludedEffect:C}=this.filterMode.effect,F=await E(C,d,"excludedEffect"),_=await E(I,d,"includedEffect");d.featureEffect=await M({filter:await A({where:m,timeExtent:x}),includedEffect:_,excludedEffect:F})}}}generateExpressionParams(e,n,t,a,i,l){let r=[],c=e.field,d=n.field,o=e.classBreakInfos,h=n.classBreakInfos,m=Object.hasOwn(t.field1,"normalizationField")?t?.field1?.normalizationField:null,x=Object.hasOwn(t.field2,"normalizationField")?t?.field2?.normalizationField:null;o.forEach((F,_)=>{let H=[];h.forEach((_e,K)=>{let Q=[o[_],h[K]];H.push(Q)}),r.push(H)});let I=m?`(${c}/${m})`:c,C=x?`(${d}/${x})`:d;return{data:r,i:a,j:i,field1:I,field2:C,focus:l}}generateExpressionForRelationship(e){let{focus:n,field1:t,field2:a,data:i,i:l,j:r}=e,c=Number.parseInt(l),d=Number.parseInt(r),o=i[c][d];return n==="LL"?`${t} >= ${o[0].minValue} AND ${t} <= ${o[0].maxValue} AND ${a} >= ${o[1].minValue} AND ${a} <= ${o[1].maxValue}`:n==="LM"||n==="LM1"||n==="LM2"||n==="LH"?`${t} >= ${o[0].minValue} AND ${t} <= ${o[0].maxValue} AND ${a} > ${o[1].minValue} AND ${a} <= ${o[1].maxValue}`:n==="ML"||n==="M1L"||n==="M2L"||n==="HL"?`${t} > ${o[0].minValue} AND ${t} <= ${o[0].maxValue} AND ${a} >= ${o[1].minValue} AND ${a} <= ${o[1].maxValue}`:`${t} > ${o[0].minValue} AND ${t} <= ${o[0].maxValue} AND ${a} > ${o[1].minValue} AND ${a} <= ${o[1].maxValue}`}handleSelectedElement(e){e.classList.contains(y)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(y)):(e.classList.add(y),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}};Ce.style=me;export{ee as instant_apps_interactive_legend_group_legend_element,ae as instant_apps_interactive_legend_layer_element,le as instant_apps_interactive_legend_legend_element,ce as instant_apps_interactive_legend_legend_element_caption,Ce as instant_apps_interactive_legend_relationship};
|
package/dist/cdn/J6ENWA7R.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{o,p as a,q as r,r as d,v as c,w as m}from"./MXCKPU23.js";import{a as l,c as i,d as h,e as u}from"./5BK4CWOX.js";import"./TTOMCAES.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
|