@esri/solutions-components 1.0.4 → 1.0.5
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/{NZJDAUCM.js → 22F7LFMG.js} +2 -2
- package/dist/cdn/{EKX5RPAU.js → 25FEJN5O.js} +2 -2
- package/dist/cdn/{RNVECRCO.js → 25JM7WUJ.js} +2 -2
- package/dist/cdn/{62OBHD7N.js → 2A6DDRTH.js} +2 -2
- package/dist/cdn/{O42JTMA4.js → 2BDPGGKC.js} +2 -2
- package/dist/cdn/{Y2GJJZVT.js → 2IRIOH44.js} +2 -2
- package/dist/cdn/{GPR4I62X.js → 2LVUHNL4.js} +2 -2
- package/dist/cdn/{B5TR3333.js → 2QFMILDU.js} +2 -2
- package/dist/cdn/{7KJZVI5W.js → 2RWXUIPE.js} +2 -2
- package/dist/cdn/2TT2EKLS.js +4 -0
- package/dist/cdn/{3KRHILOK.js → 2VXYY4NW.js} +1 -1
- package/dist/cdn/{DHOIKSPR.js → 33UPFZYZ.js} +2 -2
- package/dist/cdn/{3HR3VX4I.js → 34BPQSHF.js} +2 -2
- package/dist/cdn/{O5G3N4I4.js → 35ZVLYI7.js} +2 -2
- package/dist/cdn/36RPCHBW.js +18 -0
- package/dist/cdn/{V46NQTOH.js → 3IMXMLFS.js} +2 -2
- package/dist/cdn/3LJQBCLM.js +18 -0
- package/dist/cdn/{UZQC4ZVD.js → 3RLVYGV7.js} +2 -2
- package/dist/cdn/{JSML77IB.js → 43R5NRNV.js} +1 -1
- package/dist/cdn/{EOWZY5KN.js → 4527TPFQ.js} +1 -1
- package/dist/cdn/4HAO722I.js +4 -0
- package/dist/cdn/{NXZAIYZX.js → 4J5HYMPQ.js} +2 -2
- package/dist/cdn/{WB2FCUBE.js → 4SF42JCK.js} +2 -2
- package/dist/cdn/{XXJ2SGBR.js → 4UCCOTIL.js} +2 -2
- package/dist/cdn/{FTC6GK32.js → 4ULTYKHN.js} +2 -2
- package/dist/cdn/56FAI7QX.js +18 -0
- package/dist/cdn/{MIBMXAW4.js → 5CGYAFLG.js} +2 -2
- package/dist/cdn/{CSQMTZUS.js → 5JHZFHQW.js} +2 -2
- package/dist/cdn/{X63ISSA7.js → 5JYWXCER.js} +2 -2
- package/dist/cdn/{MN4AZD42.js → 5K5LGI4X.js} +2 -2
- package/dist/cdn/{HOQDPNYX.js → 5LOTR4DW.js} +2 -2
- package/dist/cdn/{P3ZGSTRY.js → 5QHONC74.js} +2 -2
- package/dist/cdn/5S2FZKYO.js +18 -0
- package/dist/cdn/{5KH5K5HP.js → 5TRSWX6M.js} +2 -2
- package/dist/cdn/{PSP2EVIP.js → 5WAZGRRD.js} +2 -2
- package/dist/cdn/{3HVOQ754.js → 5WNLR3DS.js} +2 -2
- package/dist/cdn/{UD6VCHUK.js → 64ETTMNQ.js} +2 -2
- package/dist/cdn/{EUZPXNNK.js → 65NNPWV7.js} +1 -1
- package/dist/cdn/6LUI2X3G.js +18 -0
- package/dist/cdn/{N7IUWXAA.js → 6N7ZWEZT.js} +2 -2
- package/dist/cdn/{2UH456LC.js → 6U4PV22I.js} +1 -1
- package/dist/cdn/{GCOXBUN5.js → 6XYUDJQ2.js} +1 -1
- package/dist/cdn/{C3OFPO6W.js → 7244YR36.js} +2 -2
- package/dist/cdn/{KNBDWSMQ.js → 76DZHGT4.js} +2 -2
- package/dist/cdn/{GAV3AXFW.js → 76JQ5L7D.js} +2 -2
- package/dist/cdn/{MEIVZYDH.js → 7ATYJT4O.js} +2 -2
- package/dist/cdn/{NDWOAOHX.js → 7B2MAX64.js} +1 -1
- package/dist/cdn/{O6DAQEXK.js → 7M5YUYGE.js} +2 -2
- package/dist/cdn/{EFKYF4YS.js → 7NDRZHL6.js} +2 -2
- package/dist/cdn/{CUKJYJQY.js → 7NMV3XFP.js} +1 -1
- package/dist/cdn/{IEEVFYKM.js → 7OEQCUDV.js} +1 -1
- package/dist/cdn/{PY6UCRJ4.js → 7OZSPB2F.js} +2 -2
- package/dist/cdn/{A3ZMYVXL.js → 7WZE34BF.js} +2 -2
- package/dist/cdn/{6M3KYJDD.js → 7YFBO4YO.js} +2 -2
- package/dist/cdn/{YXM7GNWW.js → A4L4EUDH.js} +2 -2
- package/dist/cdn/{DYEFEHAR.js → AC7K2P6S.js} +11 -11
- package/dist/cdn/{NZ6L23VR.js → AGGLKLN3.js} +2 -2
- package/dist/cdn/{3VRCHULS.js → AHHA6SMZ.js} +2 -2
- package/dist/cdn/{GGCVMVWS.js → AOOQAYSR.js} +2 -2
- package/dist/cdn/{7W5RZY7N.js → AQZ3QIKE.js} +2 -2
- package/dist/cdn/{XZQRI4EN.js → AXDYNDWC.js} +1 -1
- package/dist/cdn/{TFCVVUA3.js → AYBHICHM.js} +2 -2
- package/dist/cdn/{YF5TQNZI.js → AYDTR35F.js} +2 -2
- package/dist/cdn/AYND4SCK.js +4 -0
- package/dist/cdn/{7M4VGKUT.js → B2AAEHPJ.js} +2 -2
- package/dist/cdn/{M6I7SCR3.js → B4PHULG7.js} +2 -2
- package/dist/cdn/B5754CLI.js +4 -0
- package/dist/cdn/{3PNCQZNB.js → BRSXWNGO.js} +2 -2
- package/dist/cdn/{A6ZN7UQQ.js → C6WPV722.js} +2 -2
- package/dist/cdn/{SK6BPGF7.js → CBITJT5D.js} +4 -4
- package/dist/cdn/CDBDE4TC.js +18 -0
- package/dist/cdn/{F7N2K2CB.js → CFPXLHXR.js} +2 -2
- package/dist/cdn/{UHGKM2WA.js → CGZZGJLP.js} +2 -2
- package/dist/cdn/{DJ4ET7YE.js → CJFK6TKW.js} +2 -2
- package/dist/cdn/CXN63GPC.js +18 -0
- package/dist/cdn/{HPVZXEFN.js → CXOHKJLR.js} +1 -1
- package/dist/cdn/{UBNEDJDQ.js → CYHKUA3T.js} +2 -2
- package/dist/cdn/{H3QBALK4.js → D2SOXDMW.js} +2 -2
- package/dist/cdn/{SU5YNWLR.js → D2UIHI5N.js} +2 -2
- package/dist/cdn/D2XDABCT.js +20 -0
- package/dist/cdn/{ST5DNJ5A.js → D3RXCR6Q.js} +1 -1
- package/dist/cdn/{TIJ35HYZ.js → DC2VXLYA.js} +2 -2
- package/dist/cdn/{DBZRC2CE.js → DCYHSAL2.js} +2 -2
- package/dist/cdn/{S3O4R37V.js → DHVPMGLT.js} +2 -2
- package/dist/cdn/{U75KCBUY.js → DO5IRX2P.js} +2 -2
- package/dist/cdn/DP2E5JFM.js +4 -0
- package/dist/cdn/DSA7P4FN.js +18 -0
- package/dist/cdn/{7WWEF64M.js → DZ75SULS.js} +2 -2
- package/dist/cdn/{DNSJZC4P.js → E4626BS2.js} +2 -2
- package/dist/cdn/{NNED4X6O.js → EEECQWVR.js} +2 -2
- package/dist/cdn/{ADQGTHIK.js → EHUPQ5JP.js} +2 -2
- package/dist/cdn/{TZTD5Q2B.js → EJ7VKYZG.js} +2 -2
- package/dist/cdn/{NT3MKX5U.js → EL5KWKMD.js} +2 -2
- package/dist/cdn/{7UJMLOZS.js → EPYFVSXR.js} +2 -2
- package/dist/cdn/{MFRHP354.js → EV22N3KD.js} +2 -2
- package/dist/cdn/{GDUFF5HE.js → EW3T5VLB.js} +2 -2
- package/dist/cdn/{XTADI7OE.js → EX6HJQ4X.js} +2 -2
- package/dist/cdn/{MFHU7RCE.js → FDNO4BVO.js} +2 -2
- package/dist/cdn/{2IQPFNPX.js → FFJCM7BG.js} +2 -2
- package/dist/cdn/{ZQUJEICA.js → FKCBARKI.js} +2 -2
- package/dist/cdn/{XURZ7NUD.js → FLX4QZPY.js} +4 -4
- package/dist/cdn/{4QEWKLNG.js → FQTZU3Z2.js} +2 -2
- package/dist/cdn/{UFT52UFX.js → FZV7IALP.js} +2 -2
- package/dist/cdn/{EK6E5RV4.js → G2PAP4HL.js} +2 -2
- package/dist/cdn/{Q4EXL46G.js → G56M322A.js} +2 -2
- package/dist/cdn/{ROGVNZHG.js → G7LK4PDL.js} +2 -2
- package/dist/cdn/{FMIGRU3V.js → GE2KFI4B.js} +3 -3
- package/dist/cdn/{T2MYK67I.js → GFTGPFHL.js} +2 -2
- package/dist/cdn/{CFXL3A27.js → GFTMWJE2.js} +2 -2
- package/dist/cdn/{3M5E2W6J.js → GGBJCIO7.js} +2 -2
- package/dist/cdn/{QFODTZZX.js → GJ2UG6YP.js} +2 -2
- package/dist/cdn/{2N3SSEWE.js → GKBVNMEW.js} +2 -2
- package/dist/cdn/{ORKHRXHB.js → GUN44VYU.js} +2 -2
- package/dist/cdn/{OHWF5VUN.js → H36GDFY7.js} +1 -1
- package/dist/cdn/{P5WUMEFT.js → H3C4GIDZ.js} +2 -2
- package/dist/cdn/{J2SERNA3.js → H3FM5UM6.js} +1 -1
- package/dist/cdn/{VRFHYYVR.js → H4HFWY3H.js} +2 -2
- package/dist/cdn/{CHBTCIMS.js → H72WOGJ7.js} +2 -2
- package/dist/cdn/{I74ECT7N.js → HCCTS5WV.js} +2 -2
- package/dist/cdn/{VCK56OWN.js → HKKUMEH5.js} +1 -1
- package/dist/cdn/{UK42NUMO.js → HM7EBFPG.js} +2 -2
- package/dist/cdn/{AD654KDS.js → HNUCWI6T.js} +2 -2
- package/dist/cdn/{VY7KRQYG.js → HOTDMMJJ.js} +2 -2
- package/dist/cdn/{PKEJXERE.js → HPUAGDRV.js} +2 -2
- package/dist/cdn/{WNOY5N4R.js → HR2HFJXC.js} +1 -1
- package/dist/cdn/HRBMV6MS.js +18 -0
- package/dist/cdn/HZILY6RQ.js +18 -0
- package/dist/cdn/{A7PIN73K.js → I3SHQQXU.js} +2 -2
- package/dist/cdn/{Z2J6R7BH.js → I3ZD6IV4.js} +1 -1
- package/dist/cdn/{3PGLZBWX.js → IAHPQU5I.js} +2 -2
- package/dist/cdn/{CH7DLGUP.js → IFPYTV3R.js} +1 -1
- package/dist/cdn/{5FTGQPO5.js → IHQISHAM.js} +2 -2
- package/dist/cdn/{6QIO3AQD.js → IMFE25FS.js} +2 -2
- package/dist/cdn/IMYZB3YV.js +18 -0
- package/dist/cdn/{B5XYDLJB.js → IPXTSW43.js} +2 -2
- package/dist/cdn/{WG5YJAJK.js → IREZCPC5.js} +2 -2
- package/dist/cdn/{KC4KCTUH.js → IS4CHLDX.js} +2 -2
- package/dist/cdn/{DDOXQYTI.js → IVWP7URA.js} +2 -2
- package/dist/cdn/{DLQHSRI3.js → J252EEIH.js} +2 -2
- package/dist/cdn/{TPLOAFHX.js → JAMFZUE3.js} +2 -2
- package/dist/cdn/{UYA6RFIA.js → JJJAHCRO.js} +2 -2
- package/dist/cdn/{KEC5BNS2.js → JMMD7YBL.js} +2 -2
- package/dist/cdn/{JWLGFVVC.js → JOWT5YJ4.js} +2 -2
- package/dist/cdn/{5YJKRSII.js → JRMGFAZK.js} +2 -2
- package/dist/cdn/{PEHGGHQ4.js → JUVS4QTT.js} +2 -2
- package/dist/cdn/JYDRZHOB.js +4 -0
- package/dist/cdn/{MN5Q6VKW.js → KJOPUX6H.js} +2 -2
- package/dist/cdn/{YOTDGZIS.js → KQIW24JY.js} +2 -2
- package/dist/cdn/{ENKVILKY.js → KQPN7NFG.js} +2 -2
- package/dist/cdn/{PEPBVRCK.js → KUFJAMWI.js} +3 -3
- package/dist/cdn/{5QPBHI6N.js → LG2N3IDQ.js} +2 -2
- package/dist/cdn/{NM3XHUXJ.js → LIXHHHMQ.js} +1 -1
- package/dist/cdn/{KPNSWPLU.js → LUCYOE4G.js} +2 -2
- package/dist/cdn/{6DXOCCZA.js → M35TRRGF.js} +1 -1
- package/dist/cdn/{X6NXSOAM.js → M3L66GKK.js} +2 -2
- package/dist/cdn/{UJSAFWWD.js → M4VZ4CMY.js} +2 -2
- package/dist/cdn/{UJN2FPCY.js → M6GEH5RY.js} +2 -2
- package/dist/cdn/{EQQAWMKP.js → M7HD332R.js} +1 -1
- package/dist/cdn/{GOMTEPFA.js → MK7N6OTA.js} +1 -1
- package/dist/cdn/{DVIQ73JS.js → ML3FDA7I.js} +2 -2
- package/dist/cdn/{WRG6UGAU.js → MO5VIHBL.js} +2 -2
- package/dist/cdn/{3CQVKR4G.js → MTDAXKJA.js} +1 -1
- package/dist/cdn/{XE2T5GMW.js → MURI73WZ.js} +2 -2
- package/dist/cdn/{2XKHAKJH.js → MVAWCLJQ.js} +2 -2
- package/dist/cdn/N54CIKSY.js +4 -0
- package/dist/cdn/{4V3EN7XG.js → N5MNRNS4.js} +2 -2
- package/dist/cdn/{CBMM32W4.js → NNNUOKAQ.js} +2 -2
- package/dist/cdn/{PQ75UOOH.js → NTJ65ON3.js} +2 -2
- package/dist/cdn/NTSPFMPN.js +18 -0
- package/dist/cdn/{IQE4M5WS.js → O4U6ZUNI.js} +2 -2
- package/dist/cdn/{PPCFTYMM.js → ODVL6BLS.js} +2 -2
- package/dist/cdn/{2MCXJEIU.js → OG4FHSPI.js} +1 -1
- package/dist/cdn/{EI2SLBFR.js → OGRHFK6Y.js} +2 -2
- package/dist/cdn/{W7DEAFBS.js → ONL3NL26.js} +2 -2
- package/dist/cdn/{755YFLK2.js → OORGXTFY.js} +2 -2
- package/dist/cdn/{5GEHFK5G.js → OOX6G6UE.js} +2 -2
- package/dist/cdn/{ZFQ2JKAE.js → OQJGVRY2.js} +2 -2
- package/dist/cdn/{FFIBCVX2.js → OTYGSW7W.js} +2 -2
- package/dist/cdn/{ZEFYE6IH.js → OZWDP6Y7.js} +2 -2
- package/dist/cdn/{SQA4Z3HQ.js → PGB7D5V5.js} +2 -2
- package/dist/cdn/{H4R7X2AK.js → PJSBBGLJ.js} +2 -2
- package/dist/cdn/{ATGDZI46.js → PKKVL46F.js} +2 -2
- package/dist/cdn/{AI6YM633.js → PLTCACVO.js} +2 -2
- package/dist/cdn/{ZTWWXPZM.js → PNZFKJGE.js} +2 -2
- package/dist/cdn/PP6K5WOA.js +4 -0
- package/dist/cdn/{5GCZQ47Q.js → PSUWSWTK.js} +2 -2
- package/dist/cdn/{GJGBNYWB.js → PWM7PIST.js} +3 -3
- package/dist/cdn/{DC2E55EL.js → Q5QONQ6T.js} +2 -2
- package/dist/cdn/{PMRPPUOG.js → Q66CZJP6.js} +1 -1
- package/dist/cdn/{3O2FMCDB.js → QBIXFYYE.js} +1 -1
- package/dist/cdn/{PTLSOJ2V.js → QH2LKILS.js} +2 -2
- package/dist/cdn/{WGL2BCUM.js → QNXFXUZA.js} +2 -2
- package/dist/cdn/{AK2IOGVT.js → QP26HSVE.js} +1 -1
- package/dist/cdn/{QENLODCT.js → QQPQDFEM.js} +2 -2
- package/dist/cdn/{ERJCAGCH.js → QU55HNGY.js} +2 -2
- package/dist/cdn/{WMRXZUG4.js → QUCDVIOQ.js} +2 -2
- package/dist/cdn/{SISGIM4G.js → QVLJY52I.js} +2 -2
- package/dist/cdn/{HZDGJLAD.js → QYU6USHT.js} +2 -2
- package/dist/cdn/{5ZUU5HU5.js → QZAU4Z6W.js} +2 -2
- package/dist/cdn/{CJOWQ5NE.js → R5UFCXCH.js} +2 -2
- package/dist/cdn/{THC2GZPK.js → RC3IVWI3.js} +1 -1
- package/dist/cdn/{R4JBNSHM.js → RCDWSNVF.js} +2 -2
- package/dist/cdn/{MICSEU5B.js → RIQFARZP.js} +2 -2
- package/dist/cdn/{NCLWZM55.js → RMU2WXMJ.js} +2 -2
- package/dist/cdn/{5OKQHKMQ.js → RVTHLBJL.js} +2 -2
- package/dist/cdn/{KJROYCIQ.js → RWQELBMY.js} +2 -2
- package/dist/cdn/{L6PPOZ6H.js → RYQCNLW7.js} +2 -2
- package/dist/cdn/{SM2ZGXN2.js → S3AWAGTI.js} +2 -2
- package/dist/cdn/{R2IVNBNU.js → S5TXHJGZ.js} +2 -2
- package/dist/cdn/{NGN4GJ7L.js → S6GQFWK7.js} +2 -2
- package/dist/cdn/{525IK7S3.js → SBX54Z43.js} +2 -2
- package/dist/cdn/SCOCPPIV.js +383 -0
- package/dist/cdn/{PEJAYVXV.js → SH3RI2GK.js} +2 -2
- package/dist/cdn/{D22VRCQZ.js → SHWG5PCG.js} +2 -2
- package/dist/cdn/{TA7HLGDD.js → SMY4IACN.js} +2 -2
- package/dist/cdn/{DGN4U6I6.js → SUSAZ65X.js} +2 -2
- package/dist/cdn/{JYVM54WT.js → T6PMIZLP.js} +2 -2
- package/dist/cdn/{Z7DOTE4W.js → TA3ZXQAF.js} +2 -2
- package/dist/cdn/TBU33TUJ.js +18 -0
- package/dist/cdn/{W3Z2KVM3.js → TENNMXGF.js} +1 -1
- package/dist/cdn/{QVEKZTHX.js → TIUXVXYM.js} +2 -2
- package/dist/cdn/{M4VW4GKI.js → TKDGIQNC.js} +2 -2
- package/dist/cdn/{Z2BS6PDT.js → TNEFDIIG.js} +2 -2
- package/dist/cdn/{BII4KR4A.js → TTDNDVCB.js} +2 -2
- package/dist/cdn/{7XD5FYQH.js → TVGUICDI.js} +2 -2
- package/dist/cdn/{2QFAL42J.js → TXB56MNF.js} +2 -2
- package/dist/cdn/{QT25SZ3S.js → TYVJSPBM.js} +2 -2
- package/dist/cdn/{72A2Y2EQ.js → U4LWP3KK.js} +1 -1
- package/dist/cdn/{QPJLKOGU.js → UCI3QQAA.js} +1 -1
- package/dist/cdn/{XIWW264L.js → UDYWBQQB.js} +2 -2
- package/dist/cdn/UISRG6AV.js +18 -0
- package/dist/cdn/{4RUO65YZ.js → UITEOOYI.js} +1 -1
- package/dist/cdn/{LFX2BV5P.js → UMIQ4XRZ.js} +2 -2
- package/dist/cdn/{3MTECQIQ.js → UR7ODANG.js} +2 -2
- package/dist/cdn/{LEPX2J3T.js → UUY24OGE.js} +2 -2
- package/dist/cdn/{55MHSSEJ.js → UVRRN3AM.js} +2 -2
- package/dist/cdn/UZTSBHXN.js +294 -0
- package/dist/cdn/{S7TD37PA.js → V3XFBVJ2.js} +2 -2
- package/dist/cdn/VCL4EPUN.js +18 -0
- package/dist/cdn/VH4DOQZ4.js +4 -0
- package/dist/cdn/{EQ3E3UVU.js → VIRNYXF5.js} +2 -2
- package/dist/cdn/{YEE23JC2.js → VJF6Y7HU.js} +2 -2
- package/dist/cdn/{I7AMZQNZ.js → VLNWSZVR.js} +2 -2
- package/dist/cdn/{CIWLUKBJ.js → VOFDMTBC.js} +2 -2
- package/dist/cdn/{A7ABJL6C.js → VTS75E4I.js} +2 -2
- package/dist/cdn/{QH63BAVO.js → VUZA56M3.js} +2 -2
- package/dist/cdn/{ZVSLAQ5X.js → VXJY4QCS.js} +2 -2
- package/dist/cdn/{JSCLICIM.js → W3GV4JXP.js} +1 -1
- package/dist/cdn/{WT2FKAP6.js → W7HZRPHM.js} +2 -2
- package/dist/cdn/{7DEMXTPR.js → W7Z3ORQY.js} +2 -2
- package/dist/cdn/{YA3SBEXZ.js → WBAN3UIC.js} +2 -2
- package/dist/cdn/{CWSLTV67.js → WBRXMEMP.js} +2 -2
- package/dist/cdn/{46Z6LRFP.js → WCEUO2OS.js} +2 -2
- package/dist/cdn/{QLVKQU3N.js → WCVUN6XF.js} +2 -2
- package/dist/cdn/{Y7FST2QV.js → WFUAPKTB.js} +2 -2
- package/dist/cdn/{MEARRFPL.js → WIE3EFBI.js} +2 -2
- package/dist/cdn/{XZRHSLHF.js → WIVOL6CT.js} +1 -1
- package/dist/cdn/WN54HJON.js +4 -0
- package/dist/cdn/{XKQGFDT5.js → WNFUARBO.js} +2 -2
- package/dist/cdn/{X6LWFUFK.js → WQKEPPJH.js} +1 -1
- package/dist/cdn/{KYNAJJDV.js → WV2ZROZJ.js} +2 -2
- package/dist/cdn/{AQOENSWY.js → WZ764LLN.js} +1 -1
- package/dist/cdn/{KK3QWOG2.js → WZYGUEIV.js} +2 -2
- package/dist/cdn/{77SH6QGE.js → XFANWHPY.js} +2 -2
- package/dist/cdn/{WS42HFTU.js → XFM3FD2A.js} +2 -2
- package/dist/cdn/{2CQ66JGS.js → XK7SWBXE.js} +2 -2
- package/dist/cdn/{H57ZKHJ4.js → XU3KAISP.js} +1 -1
- package/dist/cdn/{4P2ED5MG.js → XXM424DO.js} +2 -2
- package/dist/cdn/{TW6H3Y5C.js → XYGVP2FK.js} +2 -2
- package/dist/cdn/{AROCXE5W.js → YC7HMH6M.js} +2 -2
- package/dist/cdn/{NF47PQ7Q.js → YEFAWRXP.js} +2 -2
- package/dist/cdn/YMUVFR3U.js +18 -0
- package/dist/cdn/{O27D4YVO.js → YQFYU4G2.js} +2 -2
- package/dist/cdn/YXHSDCRJ.js +4 -0
- package/dist/cdn/{MGAAWVDA.js → Z3XBAPZC.js} +1 -1
- package/dist/cdn/{MQWLMWGB.js → Z4FNCV4E.js} +2 -2
- package/dist/cdn/{SN7Y4QIQ.js → Z4WD3SG2.js} +1 -1
- package/dist/cdn/{GPO4L446.js → ZEPG4DE3.js} +2 -2
- package/dist/cdn/{ACYYQPGH.js → ZLTHON4G.js} +2 -2
- package/dist/cdn/{73W26K5Q.js → ZLU7K6TK.js} +2 -2
- package/dist/cdn/{45R5CD5E.js → ZRLT4TEH.js} +2 -2
- package/dist/cdn/{42AUJGFJ.js → ZUQZHS53.js} +2 -2
- package/dist/cdn/{D2RRQ3X4.js → ZV3QGDX6.js} +2 -2
- package/dist/cdn/{DSZ5WOHN.js → ZY74MRCW.js} +2 -2
- 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-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-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-deployed-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/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/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +3 -3
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +6 -6
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +23 -23
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +6 -6
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +143 -28
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +4 -4
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +4 -4
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +2 -2
- package/dist/components/map-card/customElement.js +2 -2
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +2 -2
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +2 -2
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.d.ts +11 -0
- package/dist/components/solution-configure-dialog/customElement.js +78 -30
- package/dist/components/solution-configure-dialog/index.d.ts +6 -0
- package/dist/components/solution-configure-dialog/index.js +6 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +5 -1
- package/dist/components/solution-configure-titles/customElement.js +22 -19
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
- package/dist/components/solution-delete-dialog/customElement.js +66 -42
- package/dist/components/solution-deploy-dialog/customElement.d.ts +7 -2
- package/dist/components/solution-deploy-dialog/customElement.js +83 -113
- package/dist/components/solution-deployed-card/customElement.d.ts +11 -0
- package/dist/components/solution-deployed-card/customElement.js +45 -29
- package/dist/components/solution-deployed-card/index.d.ts +1 -1
- package/dist/components/solution-deployed-card/index.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.d.ts +24 -0
- package/dist/components/solution-deploying-dialog/customElement.js +71 -0
- package/dist/components/solution-details-card/customElement.js +2 -2
- package/dist/components/solution-details-panel/customElement.d.ts +1 -1
- package/dist/components/solution-details-panel/customElement.js +167 -76
- package/dist/components/solution-details-panel/index.d.ts +6 -0
- package/dist/components/solution-details-panel/index.js +6 -0
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +8 -6
- package/dist/components/solution-item-accordion/customElement.js +19 -11
- package/dist/components/solution-item-accordion/index.d.ts +1 -0
- package/dist/components/solution-item-accordion/index.js +1 -0
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.d.ts +0 -1
- package/dist/components/solution-item-diagram/customElement.js +63 -66
- package/dist/components/solution-item-icon/customElement.d.ts +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +2 -2
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -5
- package/dist/components/solution-snapshot-gallery/customElement.js +14 -14
- package/dist/components/solution-spatial-ref/customElement.js +14 -14
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +35 -102
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +23 -41
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +11 -14
- package/dist/components/solutions-articles-shell/customElement.js +13 -16
- package/dist/components/solutions-deployed-panel/customElement.d.ts +9 -8
- package/dist/components/solutions-deployed-panel/customElement.js +39 -26
- package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -1
- package/dist/components/solutions-deployed-shell/customElement.js +23 -41
- package/dist/components/solutions-filter-panel/customElement.js +16 -19
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +328 -65
- package/dist/docs/docs.json +318 -56
- package/dist/docs/vscode.html-custom-data.json +26 -10
- package/dist/docs/web-types.json +103 -31
- package/dist/index.d.ts +18 -4
- package/dist/index.js +1 -1
- package/dist/loader.js +8 -8
- package/dist/types/lumina.d.ts +10 -9
- package/dist/types/preact.d.ts +11 -10
- package/dist/types/react.d.ts +12 -11
- package/dist/types/stencil.d.ts +10 -9
- package/dist/utils/interfaces.d.ts +10 -0
- package/dist/utils/privilegeUtils.d.ts +7 -0
- package/package.json +1 -1
- package/dist/cdn/22U6FEYE.js +0 -18
- package/dist/cdn/3FJRQN27.js +0 -18
- package/dist/cdn/4QGW7XLZ.js +0 -18
- package/dist/cdn/5Q2JJCFF.js +0 -4
- package/dist/cdn/67776ZSV.js +0 -18
- package/dist/cdn/7GJVOL2K.js +0 -4
- package/dist/cdn/BRT757S3.js +0 -18
- package/dist/cdn/C5C4KHG2.js +0 -4
- package/dist/cdn/CKQRWDEZ.js +0 -18
- package/dist/cdn/EPWZGWQJ.js +0 -4
- package/dist/cdn/F2MMZAMU.js +0 -18
- package/dist/cdn/JUWCTKXD.js +0 -4
- package/dist/cdn/KLCMDGZK.js +0 -289
- package/dist/cdn/LCT3NQOR.js +0 -18
- package/dist/cdn/M53O7AL7.js +0 -18
- package/dist/cdn/MA6BHO3S.js +0 -4
- package/dist/cdn/MALVFH5T.js +0 -20
- package/dist/cdn/NJB5H6NT.js +0 -4
- package/dist/cdn/NK6VN5CV.js +0 -18
- package/dist/cdn/OBGLJ4AM.js +0 -18
- package/dist/cdn/TNZETMBZ.js +0 -18
- package/dist/cdn/WAN4LQ52.js +0 -18
- package/dist/cdn/WRLRDSID.js +0 -18
- package/dist/cdn/X57FB3KD.js +0 -18
- package/dist/cdn/XV4GT4PM.js +0 -4
- package/dist/cdn/YHIK3V5C.js +0 -18
- package/dist/cdn/YI47D7GW.js +0 -4
- package/dist/cdn/YPFDFW4X.js +0 -4
- package/dist/cdn/Z3NILA3R.js +0 -369
- package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
- package/dist/components/solution-deploying-panel/customElement.js +0 -77
- /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
- /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
- /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
package/dist/cdn/X57FB3KD.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.4 */
|
4
|
-
import{a as h}from"./Z7DOTE4W.js";import{D as p,c as a,d as l,f as c,n,y as d}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var y=a`/** @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
|
-
*/:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`,r=class extends d{constructor(){super(...arguments),this.linkType="item",this.listSelectionMode="none",this.templateInfos=[],this.typeKeywords=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={linkType:1,listSelectionMode:1,templateInfos:0,typeKeywords:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=y}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list label selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action";return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${t&&i?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",r);export{r as SolutionItemAccordion};
|
package/dist/cdn/XV4GT4PM.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.4 */
|
4
|
-
import{a as o,b as l}from"./3O2FMCDB.js";import{a as r,c as t,d,e as c,f as p}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;justify-content:center;width:100%;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__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)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),this._sanitizer=new l({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=o(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
|
package/dist/cdn/YHIK3V5C.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.4 */
|
4
|
-
import b from"./W7DEAFBS.js";import{b as w}from"./YPFDFW4X.js";import a from"./TPLOAFHX.js";import{a as y,c as C}from"./OHWF5VUN.js";import"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import{k as m,l as g,m as _,p as o}from"./GAV3AXFW.js";import{a as p}from"./Z7DOTE4W.js";import{B as d,D as u,c as l,d as s,e as n,n as h,x as r,y as c}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";export default $arcgis.t(([,{a:i,b:f}])=>{var x=l`/** @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%}.display-flex{display:flex}.flex-direction-column{flex-direction:column}`,a=class extends c{constructor(){super(),this.authContextConsumer=r({context:C,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this.userSessionContextConsumer=r({context:y,subscribe:!0}),this.cards=[],this._showDeleteCompleteAlert=!1,this._translations=p({name:"solutions-deployed-panel",blocking:!0}),this._allCards=[],this._agoTerms=o,this._baseAgoTerms=o,this._categories=[],this._delay=!1,this._isOrgAdmin=!1,this._owner=_.OWNER,this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=h(),this.listenOn(window,"solutionDeleted",this.reload)}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=x}reload(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(e){console.error("Error getting deployed solutions:",e)}})()},500),this._showDeleteCompleteAlert=!0}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()),await this._getDeployedSolutions()}async load(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),this._isOrgAdmin=w(this.authContextConsumer.value),await this._getDeployedSolutions()}render(){return s`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this.userSessionContextConsumer.value.username||this.checkDeletePermissions()} .deployedDate=${e.created} .description=${e.snippet} .heading=${e.title} itemId=${e.id??d} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} .card=${e}></solution-deployed-card>`):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}async _getDeployedSolutions(){let e=await f(this.authContextConsumer.value,this.userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this.cards=e?.cards??[],e?.relatedSolutions&&(this._relatedSolutions=e.relatedSolutions,console.log(this._relatedSolutions)),this.deployedCardsFetched.emit(this.cards.length)}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${n`<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;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let S=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${S}`]}else this._categories=[`/Categories/${t}`];e.type==="owner"&&(this._owner=e.value),this._getDeployedSolutions()}else e.type==="owner"&&(this._owner=e.value,this._getDeployedSolutions())}_getDomainValue(e){return g[e]}_getIndustryValue(e){return e==="AEC"?"AEC":m[e]}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this.authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}};u("solutions-deployed-panel",a);return a},a,b)
|
package/dist/cdn/YI47D7GW.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.4 */
|
4
|
-
import{a,b}from"./3PGLZBWX.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/YPFDFW4X.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.4 */
|
4
|
-
import{A as r,B as b,C as g,D as y,E as P,F as S,G as k,H as w,s as f,t as m,u,v as l,w as p,x as d,y as O,z as x}from"./GAV3AXFW.js";function K(s,a,n){let t=s.templates.map(i=>i.type),e=[];e.push(m),t.indexOf("Group")>=0&&(e.push(u),e.push(r)),t.indexOf("Feature Service")>=0&&e.push(p);let o=t.indexOf("Feed")>-1;o&&e.push(d);let c=t.indexOf("Big Data Analytic")>-1;c&&e.push(l);let h=t.indexOf("Real Time Analytic")>-1;h&&e.push(x),(o||c||h)&&e.push(k),t.indexOf("Workflow")>-1&&(e.push(u),e.push(p),e.push(r),e.push(w)),t.indexOf("Geoprocessing Service")>-1&&(e.push(O),n.IsEnterprisePortal&&e.push(g));let A=s.templates.reduce((i,T)=>i.concat(T.item.typeKeywords||[]),[]);return G(e,A,n),I(e,a),E(e,s),e}function E(s,a){a.templates.some(n=>n.type==="Group"&&n.item?.membershipAccess==="collaboration")&&s.push(f)}function G(s,a,n){let t=v(n),e=B(n);["Location Tracking View"].some(o=>a.indexOf(o)>-1)&&(!t&&!e?s.push(y):t&&!e?s.push(P):!t&&e&&s.push(S))}function I(s,a){["HubPremium"].some(n=>a.indexOf(n)>-1)&&s.push(b)}function v(s){let a=s.PortalUserSubset;return a?.role==="org_admin"&&!a?.hasOwnProperty("roleId")}function B(s){return s.PortalSubset?.locationTrackingEnabled||!1}export{K as a,v as b};
|
package/dist/cdn/Z3NILA3R.js
DELETED
@@ -1,369 +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.4 */
|
4
|
-
import{a as E}from"./JSCLICIM.js";import{e as F}from"./RNVECRCO.js";import{c as T,n as I,t as L,z as M}from"./AK2IOGVT.js";import"./J2SERNA3.js";import{a as R,c as l,d as D,e as A,f as B}from"./DVIQ73JS.js";import"./4RUO65YZ.js";function nt(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}var st=(()=>{let t=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function m(t){let e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}var f=null;function q(t={}){return f||(t.includeStyleProperties?(f=t.includeStyleProperties,f):(f=m(window.getComputedStyle(document.documentElement)),f))}function x(t,e){let n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function rt(t){let e=x(t,"border-left-width"),i=x(t,"border-right-width");return t.clientWidth+e+i}function at(t){let e=x(t,"border-top-width"),i=x(t,"border-bottom-width");return t.clientHeight+e+i}function G(t,e={}){let i=e.width||rt(t),n=e.height||at(t);return{width:i,height:n}}function ot(){let t,e;try{e=process}catch{}let i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}var d=16384;function pt(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}function v(t){return new Promise((e,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function lt(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ct(t,e,i){let n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),lt(s)}var h=(t,e)=>{if(t instanceof e)return!0;let i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||h(i,e)};function ht(t){let e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function dt(t,e){return q(e).map(i=>{let n=t.getPropertyValue(i),s=t.getPropertyPriority(i);return`${i}: ${n}${s?" !important":""};`}).join(" ")}function ut(t,e,i,n){let s=`.${t}:${e}`,r=i.cssText?ht(i):dt(i,n);return document.createTextNode(`${s}{${r}}`)}function H(t,e,i,n){let s=window.getComputedStyle(t,i),r=s.getPropertyValue("content");if(r===""||r==="none")return;let a=st();try{e.className=`${e.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(ut(a,i,s,n)),e.appendChild(o)}function gt(t,e,i){H(t,e,":before",i),H(t,e,":after",i)}var $="application/font-woff",W="image/jpeg",mt={woff:$,woff2:$,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:W,jpeg:W,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ft(t){let e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function P(t){let e=ft(t).toLowerCase();return mt[e]||""}function wt(t){return t.split(/,/)[1]}function S(t){return t.search(/^(data:)/)!==-1}function K(t,e){return`data:${e};base64,${t}`}async function J(t,e,i){let n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let s=await n.blob();return new Promise((r,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(s)})}var _={};function xt(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function k(t,e,i){let n=xt(t,e,i.includeQueryParams);if(_[n]!=null)return _[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{let r=await J(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),wt(o)));s=K(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return _[n]=s,s}async function vt(t){let e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):v(e)}async function yt(t,e){if(t.currentSrc){let r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a?.drawImage(t,0,0,r.width,r.height);let o=r.toDataURL();return v(o)}let i=t.poster,n=P(i),s=await k(i,n,e);return v(s)}async function bt(t,e){var i;try{if(!((i=t?.contentDocument)===null||i===void 0)&&i.body)return await y(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Et(t,e){return h(t,HTMLCanvasElement)?vt(t):h(t,HTMLVideoElement)?yt(t,e):h(t,HTMLIFrameElement)?bt(t,e):t.cloneNode(X(t))}var _t=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",X=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Ct(t,e,i){var n,s;if(X(e))return e;let r=[];return _t(t)&&t.assignedNodes?r=m(t.assignedNodes()):h(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=m(t.contentDocument.body.childNodes):r=m(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||h(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>y(o,i)).then(p=>{p&&e.appendChild(p)}),Promise.resolve()),e}function St(t,e,i){let n=e.style;if(!n)return;let s=window.getComputedStyle(t);s.cssText?(n.cssText=s.cssText,n.transformOrigin=s.transformOrigin):q(i).forEach(r=>{let a=s.getPropertyValue(r);r==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),h(t,HTMLIFrameElement)&&r==="display"&&a==="inline"&&(a="block"),r==="d"&&e.getAttribute("d")&&(a=`path(${e.getAttribute("d")})`),n.setProperty(r,a,s.getPropertyPriority(r))})}function Pt(t,e){h(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),h(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function kt(t,e){if(h(t,HTMLSelectElement)){let i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function Tt(t,e,i){return h(e,Element)&&(St(t,e,i),gt(t,e,i),Pt(t,e),kt(t,e)),e}async function It(t,e){let i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;let n={};for(let r=0;r<i.length;r++){let o=i[r].getAttribute("xlink:href");if(o){let p=t.querySelector(o),u=document.querySelector(o);!p&&u&&!n[o]&&(n[o]=await y(u,e,!0))}}let s=Object.values(n);if(s.length){let r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(r,"defs");a.appendChild(o);for(let p=0;p<s.length;p++)o.appendChild(s[p]);t.appendChild(a)}return t}async function y(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>Et(n,e)).then(n=>Ct(t,n,e)).then(n=>Tt(t,n,e)).then(n=>It(n,e))}var Q=/url\((['"]?)([^'"]+?)\1\)/g,Lt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Mt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ft(t){let e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function Rt(t){let e=[];return t.replace(Q,(i,n,s)=>(e.push(s),i)),e.filter(i=>!S(i))}async function Dt(t,e,i,n,s){try{let r=i?nt(e,i):e,a=P(e),o;if(s){let p=await s(r);o=K(p,a)}else o=await k(r,a,n);return t.replace(Ft(e),`$1${o}$3`)}catch{}return t}function At(t,{preferredFontFormat:e}){return e?t.replace(Mt,i=>{for(;;){let[n,,s]=Lt.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function Y(t){return t.search(Q)!==-1}async function Z(t,e,i){if(!Y(t))return t;let n=At(t,i);return Rt(n).reduce((r,a)=>r.then(o=>Dt(o,a,e,i)),Promise.resolve(n))}async function w(t,e,i){var n;let s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){let r=await Z(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function Bt(t,e){await w("background",t,e)||await w("background-image",t,e),await w("mask",t,e)||await w("-webkit-mask",t,e)||await w("mask-image",t,e)||await w("-webkit-mask-image",t,e)}async function Ht(t,e){let i=h(t,HTMLImageElement);if(!(i&&!S(t.src))&&!(h(t,SVGImageElement)&&!S(t.href.baseVal)))return;let n=i?t.src:t.href.baseVal,s=await k(n,P(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=e.onImageErrorHandler?(...p)=>{try{r(e.onImageErrorHandler(...p))}catch(u){a(u)}}:a;let o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function $t(t,e){let n=m(t.childNodes).map(s=>N(s,e));await Promise.all(n).then(()=>t)}async function N(t,e){h(t,Element)&&(await Bt(t,e),await Ht(t,e),await $t(t,e))}function Wt(t,e){let{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);let n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}var O={};async function V(t){let e=O[t];if(e!=null)return e;let n=await(await fetch(t)).text();return e={url:t,cssText:n},O[t]=e,e}async function U(t,e){let i=t.cssText,n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),J(o,e.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(r).then(()=>i)}function z(t){if(t==null)return[];let e=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=t.replace(i,""),s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=s.exec(n);if(p===null)break;e.push(p[0])}n=n.replace(s,"");let r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=r.exec(n);if(p===null){if(p=o.exec(n),p===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(p[0])}return e}async function Ot(t,e){let i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1,p=r.href,u=V(p).then(g=>U(g,e)).then(g=>z(g).forEach(b=>{try{s.insertRule(b,b.startsWith("@import")?o+=1:s.cssRules.length)}catch(it){console.error("Error inserting rule from remote css",{rule:b,error:it})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(u)}})}catch(r){let a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(V(s.href).then(o=>U(o,e)).then(o=>z(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function Vt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Y(e.style.getPropertyValue("src")))}async function Ut(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=m(t.ownerDocument.styleSheets),n=await Ot(i,e);return Vt(n)}function tt(t){return t.trim().replace(/["']/g,"")}function zt(t){let e=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(r=>{e.add(tt(r))}),Array.from(n.children).forEach(r=>{r instanceof HTMLElement&&i(r)})}return i(t),e}async function jt(t,e){let i=await Ut(t,e),n=zt(t);return(await Promise.all(i.filter(r=>n.has(tt(r.style.fontFamily))).map(r=>{let a=r.parentStyleSheet?r.parentStyleSheet.href:null;return Z(r.cssText,a,e)}))).join(`
|
5
|
-
`)}async function qt(t,e){let i=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await jt(t,e);if(i){let n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function Gt(t,e={}){let{width:i,height:n}=G(t,e),s=await y(t,e,!0);return await qt(s,e),await N(s,e),Wt(s,e),await ct(s,i,n)}async function et(t,e={}){let{width:i,height:n}=G(t,e),s=await Gt(t,e),r=await v(s),a=document.createElement("canvas"),o=a.getContext("2d"),p=e.pixelRatio||ot(),u=e.canvasWidth||i,g=e.canvasHeight||n;return a.width=u*p,a.height=g*p,e.skipAutoScale||pt(a),a.style.width=`${u}`,a.style.height=`${g}`,e.backgroundColor&&(o.fillStyle=e.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(r,0,0,a.width,a.height),a}async function Kt(t,e={}){return(await et(t,e)).toDataURL()}async function j(t,e={}){return(await et(t,e)).toDataURL("image/jpeg",e.quality||1)}var Jt=`
|
6
|
-
@media print {
|
7
|
-
@page {
|
8
|
-
size: Portrait;
|
9
|
-
margin: .25in;
|
10
|
-
}
|
11
|
-
|
12
|
-
html, body {
|
13
|
-
padding: 0;
|
14
|
-
margin: 0;
|
15
|
-
height: 100%;
|
16
|
-
width: 100%;
|
17
|
-
}
|
18
|
-
|
19
|
-
body > *:not(.instant-apps-export-print) { display: none; }
|
20
|
-
}
|
21
|
-
|
22
|
-
* {
|
23
|
-
-webkit-print-color-adjust: exact;
|
24
|
-
color-adjust: exact;
|
25
|
-
}
|
26
|
-
|
27
|
-
|
28
|
-
.instant-apps-export-print {
|
29
|
-
position: absolute;
|
30
|
-
z-index: -999;
|
31
|
-
color: #323232 !important;
|
32
|
-
--esri-calcite-mode-name: "light";
|
33
|
-
}
|
34
|
-
|
35
|
-
.instant-apps-export-print__pdf {
|
36
|
-
height: 100%;
|
37
|
-
width: 100%;
|
38
|
-
display: grid;
|
39
|
-
gap: 24px;
|
40
|
-
grid-auto-flow: row;
|
41
|
-
}
|
42
|
-
|
43
|
-
.instant-apps-export-print__img {
|
44
|
-
display: grid;
|
45
|
-
width: auto;
|
46
|
-
}
|
47
|
-
|
48
|
-
.instant-apps-export-print__img--extra-content {
|
49
|
-
grid-template-columns: 2fr minmax(0, 325px);
|
50
|
-
}
|
51
|
-
|
52
|
-
.instant-apps-export-print, .instant-apps-export-print * {
|
53
|
-
box-sizing: border-box;
|
54
|
-
}
|
55
|
-
|
56
|
-
.instant-apps-export-print__view-section {
|
57
|
-
height: 100%;
|
58
|
-
}
|
59
|
-
|
60
|
-
.instant-apps-export-print__view-container {
|
61
|
-
height: 100%;
|
62
|
-
width: 100%;
|
63
|
-
display: flex;
|
64
|
-
justify-content: center;
|
65
|
-
}
|
66
|
-
|
67
|
-
.instant-apps-export-print__img .instant-apps-export-print__view-container {
|
68
|
-
grid-row: 1;
|
69
|
-
grid-column: 1;
|
70
|
-
}
|
71
|
-
|
72
|
-
.instant-apps-export-print__view-wrapper {
|
73
|
-
height: fit-content;
|
74
|
-
width: fit-content;
|
75
|
-
position: relative;
|
76
|
-
display: flex;
|
77
|
-
flex-direction: column;
|
78
|
-
overflow: hidden;
|
79
|
-
}
|
80
|
-
|
81
|
-
.instant-apps-export-print__pdf .instant-apps-export-print__view-wrapper {
|
82
|
-
border: 2pt solid #323232;
|
83
|
-
}
|
84
|
-
|
85
|
-
.instant-apps-export-print__img .instant-apps-export-print__view-wrapper {
|
86
|
-
border: 1pt solid #323232;
|
87
|
-
}
|
88
|
-
|
89
|
-
.instant-apps-export-print__view {
|
90
|
-
object-fit: contain;
|
91
|
-
}
|
92
|
-
|
93
|
-
.instant-apps-export-print__extra-container {
|
94
|
-
grid-row: 1 / span 2;
|
95
|
-
grid-column: 2;
|
96
|
-
}
|
97
|
-
|
98
|
-
.instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
|
99
|
-
display: block;
|
100
|
-
}
|
101
|
-
|
102
|
-
.instant-apps-export-print__popup-container {
|
103
|
-
height: min-content;
|
104
|
-
max-width: 325px;
|
105
|
-
display: none;
|
106
|
-
color: #323232;
|
107
|
-
background: #fff;
|
108
|
-
break-inside: avoid;
|
109
|
-
}
|
110
|
-
|
111
|
-
.instant-apps-export-print__pdf .instant-apps-export-print__popup-container {
|
112
|
-
border: 1pt solid #323232;
|
113
|
-
}
|
114
|
-
|
115
|
-
.instant-apps-export-print__img .instant-apps-export-print__popup-container {
|
116
|
-
grid-row: 1 / span 2;
|
117
|
-
grid-column: 2;
|
118
|
-
}
|
119
|
-
|
120
|
-
.instant-apps-export-print__popup-title {
|
121
|
-
border-bottom: 1pt solid #323232;
|
122
|
-
}
|
123
|
-
|
124
|
-
.instant-apps-export-print__popup-content {
|
125
|
-
background: #fff;
|
126
|
-
padding-top: 8pt;
|
127
|
-
}
|
128
|
-
|
129
|
-
.instant-apps-export-print__popup-content .esri-feature-media__chart {
|
130
|
-
background: #fff;
|
131
|
-
}
|
132
|
-
|
133
|
-
.instant-apps-export-print__legend-container {
|
134
|
-
height: min-content;
|
135
|
-
background: #fff;
|
136
|
-
overflow: unset;
|
137
|
-
}
|
138
|
-
|
139
|
-
.instant-apps-export-print__img .instant-apps-export-print__legend-container {
|
140
|
-
margin: 14px;
|
141
|
-
grid-row: 2;
|
142
|
-
grid-column: 1;
|
143
|
-
}
|
144
|
-
|
145
|
-
.esri-legend--card, .esri-legend--card__service-content {
|
146
|
-
flex-flow: row wrap;
|
147
|
-
}
|
148
|
-
|
149
|
-
.instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
|
150
|
-
background: #fff;
|
151
|
-
color: #323232;
|
152
|
-
}
|
153
|
-
|
154
|
-
.instant-apps-export-print__popup-content *, .instant-apps-export-print__img .esri-feature.esri-widget * {
|
155
|
-
color: #323232;
|
156
|
-
}
|
157
|
-
|
158
|
-
.instant-apps-export-print .esri-widget__heading {
|
159
|
-
margin: 4pt 7pt;
|
160
|
-
padding: 0;
|
161
|
-
color: #323232;
|
162
|
-
}
|
163
|
-
|
164
|
-
.instant-apps-export-print .esri-legend__ramp-label:before {
|
165
|
-
border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
|
166
|
-
}
|
167
|
-
|
168
|
-
.instant-apps-export-print .esri-legend--card__section {
|
169
|
-
padding: 6pt;
|
170
|
-
min-width: unset;
|
171
|
-
}
|
172
|
-
|
173
|
-
.instant-apps-export-print .esri-legend--card__color-ramp-container > .esri-legend--card__ramp-label {
|
174
|
-
height: 25px;
|
175
|
-
line-height: 25px;
|
176
|
-
}
|
177
|
-
|
178
|
-
.instant-apps-export-print .esri-legend--card__color-ramp-container .esri-legend--card__interval-separators-container {
|
179
|
-
position: unset;
|
180
|
-
transform: unset;
|
181
|
-
text-align: center;
|
182
|
-
}
|
183
|
-
|
184
|
-
.instant-apps-export-print .esri-legend--card__section:first-child {
|
185
|
-
border-left: none;
|
186
|
-
}
|
187
|
-
|
188
|
-
.instant-apps-export-print .esri-legend--card__service {
|
189
|
-
border: none;
|
190
|
-
flex: 0 1 auto;
|
191
|
-
break-inside: avoid;
|
192
|
-
}
|
193
|
-
|
194
|
-
.instant-apps-export-print .esri-legend--card {
|
195
|
-
border: none;
|
196
|
-
gap: 6pt 12pt;
|
197
|
-
}
|
198
|
-
|
199
|
-
.instant-apps-export-print .esri-legend--card:not(:first-child),
|
200
|
-
.instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
|
201
|
-
display: none;
|
202
|
-
}
|
203
|
-
|
204
|
-
.instant-apps-export-print .esri-legend--card__service-caption-container {
|
205
|
-
height: unset;
|
206
|
-
padding: 0;
|
207
|
-
border-bottom: none;
|
208
|
-
}
|
209
|
-
|
210
|
-
.instant-apps-export-print .esri-legend--card__service-caption-text {
|
211
|
-
padding-bottom: 4px;
|
212
|
-
}
|
213
|
-
|
214
|
-
.instant-apps-export-print__compass-container {
|
215
|
-
position: absolute;
|
216
|
-
top: 65px;
|
217
|
-
left: 15px;
|
218
|
-
background: #fff;
|
219
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
220
|
-
--calcite-ui-icon-color: #000;
|
221
|
-
border-radius: 50%;
|
222
|
-
height: fit-content;
|
223
|
-
}
|
224
|
-
|
225
|
-
.instant-apps-export-print__compass-container .esri-compass {
|
226
|
-
background: #fff;
|
227
|
-
}
|
228
|
-
|
229
|
-
.instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
|
230
|
-
color: #000;
|
231
|
-
}
|
232
|
-
|
233
|
-
.instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
|
234
|
-
background: #fff;
|
235
|
-
}
|
236
|
-
|
237
|
-
.instant-apps-export-print__scale-bar-container {
|
238
|
-
width: 100%;
|
239
|
-
position: absolute;
|
240
|
-
bottom: 15px;
|
241
|
-
margin: 0 15px;
|
242
|
-
}
|
243
|
-
|
244
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
|
245
|
-
color: #323232;
|
246
|
-
font-size: 10px;
|
247
|
-
padding: 0 4px;
|
248
|
-
}
|
249
|
-
|
250
|
-
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
|
251
|
-
height: 10px;
|
252
|
-
padding: 0 2px;
|
253
|
-
line-height: 11px;
|
254
|
-
}
|
255
|
-
|
256
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
|
257
|
-
display: none;
|
258
|
-
}
|
259
|
-
|
260
|
-
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
|
261
|
-
align-items: center;
|
262
|
-
}
|
263
|
-
|
264
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
|
265
|
-
background-color: rgba(255, 255, 255, 0.66);
|
266
|
-
}
|
267
|
-
|
268
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
|
269
|
-
width: var(--instant-apps-scale-bar-top) !important;
|
270
|
-
border-bottom: 2px solid #323232;
|
271
|
-
}
|
272
|
-
|
273
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
|
274
|
-
width: var(--instant-apps-scale-bar-bottom) !important;
|
275
|
-
border-top: 2px solid #323232;
|
276
|
-
}
|
277
|
-
|
278
|
-
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
|
279
|
-
position: unset;
|
280
|
-
margin: 0 2px;
|
281
|
-
background-color: rgba(255, 255, 255, 0.66);
|
282
|
-
height: 10px;
|
283
|
-
display: flex;
|
284
|
-
align-items: center;
|
285
|
-
}
|
286
|
-
|
287
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
|
288
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
|
289
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
|
290
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
|
291
|
-
background-color: #323232;
|
292
|
-
border-right: 2px solid #323232;
|
293
|
-
}
|
294
|
-
|
295
|
-
.instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
|
296
|
-
display: none;
|
297
|
-
}
|
298
|
-
|
299
|
-
.instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
|
300
|
-
width: 100%!important;
|
301
|
-
}
|
302
|
-
|
303
|
-
.instant-apps-export-print__popup-content .esri-popup__content {
|
304
|
-
margin: 0;
|
305
|
-
}
|
306
|
-
|
307
|
-
.instant-apps-export-print__content-container {
|
308
|
-
display: flex;
|
309
|
-
gap: 24px;
|
310
|
-
break-inside: avoid;
|
311
|
-
break-before: auto;
|
312
|
-
}`,Xt=`
|
313
|
-
.screenshot-preview.hide, .hide {
|
314
|
-
display: none;
|
315
|
-
}
|
316
|
-
|
317
|
-
.screenshot-cursor {
|
318
|
-
cursor: crosshair;
|
319
|
-
}
|
320
|
-
|
321
|
-
.relative {
|
322
|
-
position: relative;
|
323
|
-
}
|
324
|
-
|
325
|
-
#screenshot-mask {
|
326
|
-
position: absolute;
|
327
|
-
background: var(--instant-apps-screenshot-mask-background);
|
328
|
-
border: var(--instant-apps-screenshot-mask-border);
|
329
|
-
}
|
330
|
-
|
331
|
-
.screenshot-preview {
|
332
|
-
display: flex;
|
333
|
-
align-items: center;
|
334
|
-
justify-content: center;
|
335
|
-
position: absolute;
|
336
|
-
top: 0;
|
337
|
-
left: 0;
|
338
|
-
right: 0;
|
339
|
-
bottom: 0;
|
340
|
-
text-align: center;
|
341
|
-
background-color: rgba(0, 0, 0, 0.75);
|
342
|
-
}
|
343
|
-
|
344
|
-
.screenshot-preview * {
|
345
|
-
box-sizing: border-box;
|
346
|
-
}
|
347
|
-
|
348
|
-
.screenshot-img-container img {
|
349
|
-
max-height: 75%;
|
350
|
-
max-width: 75%;
|
351
|
-
object-fit: contain;
|
352
|
-
box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);
|
353
|
-
margin-bottom: 0.5em;
|
354
|
-
}
|
355
|
-
|
356
|
-
.screenshot-img-container {
|
357
|
-
height: 100%;
|
358
|
-
width: 100%;
|
359
|
-
overflow-y: auto;
|
360
|
-
margin-bottom: 8px;
|
361
|
-
display: flex;
|
362
|
-
flex-flow: column;
|
363
|
-
align-items: center;
|
364
|
-
justify-content: center;
|
365
|
-
}
|
366
|
-
|
367
|
-
.screenshot-img-container calcite-button {
|
368
|
-
margin: 5px;
|
369
|
-
}`,Qt=":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-button-text-dark-hover-color:#fff}.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 .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.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 .instant-apps-export__set-map-area{--calcite-color-brand-hover:#fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.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}",Yt=Qt,c={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",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",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",viewSection:"instant-apps-export-print__view-section",viewWrapper:"instant-apps-export-print__view-wrapper"}},C="instant-app-export-drag",Zt=class{constructor(t){R(this,t),this.exportOutputUpdated=B(this,"exportOutputUpdated",7),this.fileTypes=["PDF","JPG","PNG"],this.output=void 0,this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.logoImage="",this.logoAltText=void 0,this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.defaultFileType="PDF",this.baseClass=c.baseLight,this.exportIsLoading=void 0,this.messages=void 0,this.selectedFileType=void 0}watchIncludeMap(t){t&&this.updateLegend()}watchView(){this.handleIncludePopup()}async componentWillLoad(){this.selectedFileType=this.defaultFileType,this.pdfIncludeMap=this.includeMap,this.baseClass=E(this.el)==="dark"?c.baseDark:c.baseLight,await F(this),await this.initializeModules()}componentDidLoad(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.handleIncludePopup())}async initializeModules(){let t=await M();this.handles=await T(),this.reactiveUtils=t}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),e=this.renderCompass();return l(D,{key:"4ed537ea8895e4b2682a02ef093efef2d6e70a48"},l("div",{key:"8f2ad547a15550ac9cee967ecd5a55cc78d9e62c",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,l("div",{key:"99e7230f966e7c6b68fc646841755c163436a063",class:c.hidden},e)))}renderPopover(){let t=this.renderPanel();return[l("calcite-popover",{referenceElement:"export-popover-btn",label:this.messages?.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e},t),l("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.showHeaderTitle?this.renderTitle():null,e=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,i=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,n=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,r=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),a=this.mode==="inline"?c.inlineContainer:c.popoverContainer;return l("div",{class:a},t,e,i,n,s,this.includeMap?l("calcite-button",{class:c.setMapArea,appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this,!0),disabled:this.exportIsLoading},this.messages?.setMapArea):null,l("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},this.selectedFileType==="PDF"?this.messages?.export:this.messages?.preview),r)}renderTitle(){return l("calcite-label",null,this.messages?.title,l("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,e,i){let s=this[t],r=t,a=e||this.messages?.[r];return l("calcite-label",{layout:"inline-space-between"},a,l("calcite-switch",{checked:s,value:t,onCalciteSwitchChange:this.optionOnChange.bind(this),disabled:i}))}renderSelectFileType(){return l("calcite-label",null,this.messages?.fileType,l("calcite-select",{label:"",onCalciteSelectChange:this.handleSelectFileType.bind(this)},this.fileTypes.map(t=>l("calcite-option",{value:t,selected:t===this.selectedFileType},t))))}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return l("div",null,t,e)}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,e=this.renderExtraContent(),i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return l("div",{ref:s=>this.printContainerEl=s},l("div",{class:c.print.pdfBase,ref:s=>this.printEl=s},t,i,l("div",{class:c.print.contentContainer},n,e)))}renderPrintMap(){return l("div",{class:c.print.viewContainer,ref:t=>this.viewContainerEl=t},l("div",{class:c.print.viewWrapper,ref:t=>this.viewWrapperEl=t},this.headerTitle?l("instant-apps-header",{logoImage:this.logoImage,logoImageAltText:this.logoAltText,logoScale:"s",titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,l("img",{class:c.print.view,ref:t=>this.viewEl=t}),l("div",{class:c.print.scaleBarContainer,ref:t=>this.scaleBarContainerEl=t})))}renderLegend(){return l("div",{class:c.print.legendContainer,ref:t=>this.legendContainerEl=t})}renderCompass(){return l("div",{class:c.print.compassContainer,ref:t=>this.compassContainerEl=t})}renderPopup(){return l("div",{class:c.print.popupContainer,ref:t=>this.popupContainerEl=t},l("div",{ref:t=>this.popupTitleEl=t,class:c.print.popupTitle}),l("div",{ref:t=>this.popupContentEl=t,class:c.print.popupContent}))}renderExtraContent(){return l("div",{class:c.print.extraContainer,id:"export-content",ref:t=>this.extraContainerEl=t})}renderImg(){let t=this.includeMap?this.renderPrintMap():null,e=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,i;return this.includeMap&&this.showIncludePopup?i=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(i=this.renderExtraContent()),l("div",{ref:n=>this.printContainerEl=n},l("div",{class:c.print.imgBase,ref:n=>this.printEl=n},t,e,i))}optionOnChange(t){let e=t.target,{checked:i,value:n}=e;this[n]=i,this.updateExportOutput()}updateHeaderTitle(t){let e=t.target;this.headerTitle=e.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl&&this.compassContainerEl&&!this.viewWrapperEl.contains(this.compassContainerEl)&&this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),this.popoverEl&&(this.popoverEl.open=!1)}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl&&this.compassContainerEl&&!this.viewWrapperEl.contains(this.compassContainerEl)&&this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),this.popoverEl&&(this.popoverEl.open=!1)}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let e=this.headerTitle??document.title,i=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${e}.${i}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.view?(this.addPrintStyling(),this.printEl&&document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):this.popoverEl&&(this.popoverEl.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=Jt,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl)return;let t=this.printEl.querySelector("#export-content");if(t){t.innerHTML="";let e=this.extraContent&&this.includeExtraContent,i=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&e;this.printEl.classList.toggle(c.print.imgExtraContent,i),e?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.classList.toggle(c.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl)return;this.screenshot=null,this.printContainerEl?.prepend(this.printEl),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl||!this.printEl)return;this.popupContainerEl.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.classList.toggle(c.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let e=document.createElement(`h${this.view?.popup?.headingLevel??2}`);e.innerHTML=this.view?.popup?.title??"",e.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl?(this.popupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(e)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(e),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){if(!this.printEl)return;let t={backgroundColor:"#FFF",skipFonts:!0},e="";try{this.selectedFileType==="JPG"?e=await j(this.printEl,t):e=await Kt(this.printEl,t)}catch{this.logoImage=void 0;let i=500;await new Promise(n=>setTimeout(n,i)),e=await j(this.printEl,t)}finally{this.handleGetImage(e)}}handleGetImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,e=>{this.settingMapArea||(this.includePopup=e)}),t)})}handleLegendCreation(){if(this.view&&this.showIncludeLegend&&this.legendContainerEl){let t=this.view.map,e=this.legend?.view?.map;t?.portalItem?.id&&t?.portalItem?.id===e?.portalItem?.id||this.updateLegend()}}updateLegend(){this.view?.when(async t=>{if(this.legend&&(this.legend.destroy(),this.legend=null),this.legendContainerEl){this.legendContainerEl.innerHTML="";let e=document.createElement("div");this.legendContainerEl.append(e),this.legend=await L({container:e,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})}})}handleCompassCreation(){if(this.view&&this.compassContainerEl){let t=this.view.map,e=this.compass?.view?.map;t?.portalItem?.id===e?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let e=document.createElement("div");this.compassContainerEl?.append(e),this.compass=await I({container:e,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl&&this.view&&(this.scaleBarContainerEl.innerHTML="",this.showScaleBar)){let e=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));e?.container&&typeof e.container!="string"&&this.scaleBarContainerEl.append(e.container.cloneNode(!0))}}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl&&this.viewWrapperEl)){let{height:t,width:e}=this.screenshot.data;t>e?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl&&(this.printEl.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl&&(this.viewEl.style.height="100%",this.viewEl.style.width=""),this.viewWrapperEl&&(this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl&&(this.printEl.style.gridTemplateRows=""),this.viewEl&&(this.viewEl.style.width="100%",this.viewEl.style.height=""),this.viewWrapperEl&&(this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%")}checkPopupOpen(){if(this.view){let e=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(e&&this.popupContentEl){let i=e.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(e.cloneNode(!0));let n=this.popupContentEl.querySelectorAll("canvas");i.forEach((s,r)=>{let a=s.toDataURL(),o=document.createElement("img");o.src=a;let p=s.getAttribute("style");p&&o.setAttribute("style",p);let u=n[r];u&&(u.replaceWith(o),E(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");let t=document.createElement("div"),e=document.createElement("calcite-button"),i=document.createElement("calcite-button");e.innerHTML=this.selectedFileType==="PDF"?this.messages?.export:this.messages?.downloadImage,i.innerHTML=this.messages?.returnToMap,i.appearance="outline-fill",e.onclick=this.exportPreviewOnClick.bind(this),i.onclick=this.screenshotReturn.bind(this),t.append(i,e),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=Xt,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let e=this.view?.popup?.container;e&&(e.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",e=>{this.view&&(e.stopPropagation(),e.action!=="end"?this.updateMaskSize(e):this.maskScreenshot())}),C)}}updateMaskSize(t){if(this.view){let e=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:e,y:n,width:i-e,height:s-n},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(C);let t=this.area.height,e=this.area.width;if(this.showScaleBar){let s=this.view.width>1e3&&this.view.width*.75<e;this.scaleBarContainerEl?.classList.toggle("instant-apps-export-print__scale-bar-container--position",s)}this.view.takeScreenshot({area:this.area,width:e*2,height:t*2,format:"jpg"}).then(i=>{this.screenshot=i,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(i?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl&&this.compassContainerEl&&!this.viewWrapperEl.contains(this.compassContainerEl)&&this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),this.popoverEl&&(this.popoverEl.open=!1))})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,e,i){return t<e?e:t>i?i:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl){let t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),e=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(e,"bottom")}}setScaleBarWidth(t,e){if(t&&this.screenshot){let i=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/i*100;this.scaleBarContainerEl?.style.setProperty(`--instant-apps-scale-bar-${e}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(C),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let e=t.target;this.selectedFileType=e.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}get el(){return A(this)}static get watchers(){return{includeMap:["watchIncludeMap"],view:["watchView"]}}};Zt.style=Yt;export{Zt as instant_apps_export};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="../../index.d.ts" />
|
2
|
-
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
3
|
-
import { ITemplateInfo } from '../../utils/interfaces';
|
4
|
-
|
5
|
-
export declare class SolutionDeployingPanel extends LitElement {
|
6
|
-
/** The solution that will be deployed */
|
7
|
-
solutionItem: ITemplateInfo | undefined;
|
8
|
-
/** Closes the panel */
|
9
|
-
close(): void;
|
10
|
-
/** Confirm cancel the deployment */
|
11
|
-
confirmCancel(): void;
|
12
|
-
}
|