@esri/solutions-components 1.0.4 → 1.0.6
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/{YA3SBEXZ.js → 22SEAIC6.js} +2 -2
- package/dist/cdn/{PKEJXERE.js → 26THV7PU.js} +2 -2
- package/dist/cdn/{U75KCBUY.js → 2A54WJLL.js} +2 -2
- package/dist/cdn/{2CQ66JGS.js → 2ACF42ZR.js} +2 -2
- package/dist/cdn/{EQQAWMKP.js → 2C7UE46M.js} +1 -1
- package/dist/cdn/{X6NXSOAM.js → 2CLEIN6Y.js} +2 -2
- package/dist/cdn/{TA7HLGDD.js → 2CO6LGS3.js} +2 -2
- package/dist/cdn/{ERJCAGCH.js → 2ESDNOLP.js} +2 -2
- package/dist/cdn/{7W5RZY7N.js → 2IVXEYYO.js} +2 -2
- package/dist/cdn/{YF5TQNZI.js → 2NJLBLNN.js} +2 -2
- package/dist/cdn/{FMIGRU3V.js → 2T6B7XX3.js} +3 -3
- package/dist/cdn/{2N3SSEWE.js → 2TLMYAKF.js} +2 -2
- package/dist/cdn/{KPNSWPLU.js → 2URV24QB.js} +2 -2
- package/dist/cdn/{QFODTZZX.js → 2WMXCGJ6.js} +2 -2
- package/dist/cdn/{55MHSSEJ.js → 2XQB5N5F.js} +2 -2
- package/dist/cdn/3MOEHDA6.js +18 -0
- package/dist/cdn/{A7ABJL6C.js → 3QP57WZY.js} +2 -2
- package/dist/cdn/{H3QBALK4.js → 3RW2NBPF.js} +2 -2
- package/dist/cdn/{S7TD37PA.js → 3SJSHFDQ.js} +2 -2
- package/dist/cdn/{CBMM32W4.js → 3VN45O3V.js} +2 -2
- package/dist/cdn/{4V3EN7XG.js → 3XGPYKD3.js} +2 -2
- package/dist/cdn/{DDOXQYTI.js → 46LGQEFB.js} +2 -2
- package/dist/cdn/{5GCZQ47Q.js → 47HUGK47.js} +2 -2
- package/dist/cdn/{WNOY5N4R.js → 4ASSBQRJ.js} +1 -1
- package/dist/cdn/{B5TR3333.js → 4CVEF3SI.js} +2 -2
- package/dist/cdn/{SK6BPGF7.js → 4JAS7M3U.js} +4 -4
- package/dist/cdn/{2UH456LC.js → 4OXHTSNR.js} +1 -1
- package/dist/cdn/{3CQVKR4G.js → 4SEEFYPD.js} +1 -1
- package/dist/cdn/{YXM7GNWW.js → 4YK53WB6.js} +2 -2
- package/dist/cdn/{NCLWZM55.js → 547GZYOP.js} +2 -2
- package/dist/cdn/{GAV3AXFW.js → 55NQUWEY.js} +2 -2
- package/dist/cdn/{UJSAFWWD.js → 5AW5NLLI.js} +2 -2
- package/dist/cdn/{DVIQ73JS.js → 5BK4CWOX.js} +2 -2
- package/dist/cdn/{3PGLZBWX.js → 5DAI66LT.js} +2 -2
- package/dist/cdn/{JSML77IB.js → 5M5TLNGP.js} +1 -1
- package/dist/cdn/{MFRHP354.js → 5MXFQYLE.js} +2 -2
- package/dist/cdn/{GPR4I62X.js → 5S66UFIB.js} +2 -2
- package/dist/cdn/5YO5OS74.js +4 -0
- package/dist/cdn/{Y2GJJZVT.js → 62WQV5YC.js} +2 -2
- package/dist/cdn/{ATGDZI46.js → 6424ZLL7.js} +2 -2
- package/dist/cdn/{RNVECRCO.js → 65HTNVVT.js} +2 -2
- package/dist/cdn/{755YFLK2.js → 6AJKPURT.js} +2 -2
- package/dist/cdn/{42AUJGFJ.js → 6CG6AANG.js} +2 -2
- package/dist/cdn/6IIAYEYM.js +18 -0
- package/dist/cdn/{5ZUU5HU5.js → 7BU5DV4Q.js} +2 -2
- package/dist/cdn/{PY6UCRJ4.js → 7CNMLAFT.js} +2 -2
- package/dist/cdn/{2IQPFNPX.js → 7DOQHPCH.js} +2 -2
- package/dist/cdn/{ACYYQPGH.js → 7H3KZPHJ.js} +2 -2
- package/dist/cdn/{AI6YM633.js → 7I736LZK.js} +2 -2
- package/dist/cdn/{ZQUJEICA.js → 7ME4UIGX.js} +2 -2
- package/dist/cdn/{VY7KRQYG.js → 7MOURTYJ.js} +2 -2
- package/dist/cdn/{WS42HFTU.js → 7YYOJP6L.js} +2 -2
- package/dist/cdn/{EOWZY5KN.js → A3WJQEV7.js} +1 -1
- package/dist/cdn/A57HOD63.js +18 -0
- package/dist/cdn/{M4VW4GKI.js → AB3FQQCW.js} +2 -2
- package/dist/cdn/ALV3VZWM.js +18 -0
- package/dist/cdn/{KEC5BNS2.js → AMVC3HZO.js} +2 -2
- package/dist/cdn/{DHOIKSPR.js → AVVTO725.js} +2 -2
- package/dist/cdn/B6GTZILX.js +383 -0
- package/dist/cdn/{SISGIM4G.js → B7B7CVVL.js} +2 -2
- package/dist/cdn/BIFHOJDA.js +4 -0
- package/dist/cdn/{NT3MKX5U.js → BIVE3ZGY.js} +2 -2
- package/dist/cdn/{MIBMXAW4.js → BJ6DOG6H.js} +2 -2
- package/dist/cdn/{ZVSLAQ5X.js → BLS4G62F.js} +2 -2
- package/dist/cdn/{PEPBVRCK.js → BNYADJK7.js} +3 -3
- package/dist/cdn/{BII4KR4A.js → BVZ2O4L5.js} +2 -2
- package/dist/cdn/{W3Z2KVM3.js → BYJRAAEE.js} +1 -1
- package/dist/cdn/{6M3KYJDD.js → CHYWNBKA.js} +2 -2
- package/dist/cdn/{DLQHSRI3.js → CMN7YBVU.js} +2 -2
- package/dist/cdn/{XZQRI4EN.js → CNAEZ5PG.js} +1 -1
- package/dist/cdn/{6DXOCCZA.js → CPO6UAZQ.js} +1 -1
- package/dist/cdn/{X63ISSA7.js → D2EREVL4.js} +2 -2
- package/dist/cdn/{KJROYCIQ.js → D5OHP7NT.js} +2 -2
- package/dist/cdn/{N7IUWXAA.js → D6XX6KWD.js} +2 -2
- package/dist/cdn/{ZEFYE6IH.js → DAJFINWG.js} +2 -2
- package/dist/cdn/{MQWLMWGB.js → DUJNFEQ6.js} +2 -2
- package/dist/cdn/{DGN4U6I6.js → EAA2PB5H.js} +2 -2
- package/dist/cdn/{PQ75UOOH.js → ECMZSRUN.js} +2 -2
- package/dist/cdn/{5QPBHI6N.js → EFBCF4LP.js} +2 -2
- package/dist/cdn/{O5G3N4I4.js → EJEJMEGK.js} +2 -2
- package/dist/cdn/{F7N2K2CB.js → EKVRW3FM.js} +2 -2
- package/dist/cdn/{NNED4X6O.js → ESBUX6NR.js} +2 -2
- package/dist/cdn/{NDWOAOHX.js → ESYYQOPE.js} +1 -1
- package/dist/cdn/{O42JTMA4.js → EXGOSSST.js} +2 -2
- package/dist/cdn/{O27D4YVO.js → EXPAYLFV.js} +2 -2
- package/dist/cdn/{5KH5K5HP.js → EZ4U6AGL.js} +2 -2
- package/dist/cdn/{7UJMLOZS.js → F243JFYJ.js} +2 -2
- package/dist/cdn/{CSQMTZUS.js → F2QHZOXB.js} +2 -2
- package/dist/cdn/FH3SI764.js +294 -0
- package/dist/cdn/{IQE4M5WS.js → FHIBMCQA.js} +2 -2
- package/dist/cdn/{NZJDAUCM.js → FIDPLPEF.js} +2 -2
- package/dist/cdn/{QT25SZ3S.js → FV3U3YJ6.js} +2 -2
- package/dist/cdn/{DJ4ET7YE.js → G6EIQMVR.js} +2 -2
- package/dist/cdn/{MICSEU5B.js → GDYIFL6J.js} +2 -2
- package/dist/cdn/{GDUFF5HE.js → GGI3REJL.js} +2 -2
- package/dist/cdn/{XURZ7NUD.js → GHXC6C2C.js} +4 -4
- package/dist/cdn/{EUZPXNNK.js → GO42R2CK.js} +1 -1
- package/dist/cdn/{CIWLUKBJ.js → GZEJGYES.js} +2 -2
- package/dist/cdn/HGXPDXCR.js +18 -0
- package/dist/cdn/{LEPX2J3T.js → HJIGIFOQ.js} +2 -2
- package/dist/cdn/{AQOENSWY.js → HQIAA5ZR.js} +1 -1
- package/dist/cdn/{UK42NUMO.js → HUCFHRHI.js} +2 -2
- package/dist/cdn/{CH7DLGUP.js → HVATWN37.js} +1 -1
- package/dist/cdn/{5OKQHKMQ.js → HYALTA6M.js} +2 -2
- package/dist/cdn/{EQ3E3UVU.js → I2VKZ5OH.js} +2 -2
- package/dist/cdn/{TZTD5Q2B.js → I657I5LG.js} +2 -2
- package/dist/cdn/I65O4DPY.js +18 -0
- package/dist/cdn/{PPCFTYMM.js → IBB2E74R.js} +2 -2
- package/dist/cdn/{62OBHD7N.js → IEAQX2G7.js} +2 -2
- package/dist/cdn/{QVEKZTHX.js → IHZQS7G5.js} +2 -2
- package/dist/cdn/{WB2FCUBE.js → IPYR6HZK.js} +2 -2
- package/dist/cdn/{C3OFPO6W.js → IRV3QYFT.js} +2 -2
- package/dist/cdn/{XIWW264L.js → IWNKMVAS.js} +2 -2
- package/dist/cdn/{JWLGFVVC.js → IY23MDOC.js} +2 -2
- package/dist/cdn/{P5WUMEFT.js → J64IOAQO.js} +2 -2
- package/dist/cdn/{SU5YNWLR.js → J6ENWA7R.js} +2 -2
- package/dist/cdn/{3VRCHULS.js → JAO6QZJO.js} +2 -2
- package/dist/cdn/{2XKHAKJH.js → JFYTC7KL.js} +2 -2
- package/dist/cdn/{WT2FKAP6.js → JKJC7XFT.js} +2 -2
- package/dist/cdn/{QH63BAVO.js → JKX35XOC.js} +2 -2
- package/dist/cdn/{S3O4R37V.js → JNUBPQVQ.js} +2 -2
- package/dist/cdn/{EK6E5RV4.js → JRU7OOCQ.js} +2 -2
- package/dist/cdn/{Y7FST2QV.js → JTAN45P3.js} +2 -2
- package/dist/cdn/{MEIVZYDH.js → JTKT3XWL.js} +2 -2
- package/dist/cdn/{SQA4Z3HQ.js → K3SH7RK6.js} +2 -2
- package/dist/cdn/{HPVZXEFN.js → KCFSZOBX.js} +1 -1
- package/dist/cdn/{H4R7X2AK.js → KDP6FDXS.js} +2 -2
- package/dist/cdn/{7KJZVI5W.js → KOI7FBWC.js} +2 -2
- package/dist/cdn/{FFIBCVX2.js → KOWTHDEB.js} +2 -2
- package/dist/cdn/{45R5CD5E.js → KURSJGVA.js} +2 -2
- package/dist/cdn/{AROCXE5W.js → KV5PYIUB.js} +2 -2
- package/dist/cdn/L3LGCXHS.js +4 -0
- package/dist/cdn/L4MTDEUA.js +18 -0
- package/dist/cdn/{QENLODCT.js → LA3N6LZH.js} +2 -2
- package/dist/cdn/LBZLGIWD.js +18 -0
- package/dist/cdn/{DSZ5WOHN.js → LGOLEOFG.js} +2 -2
- package/dist/cdn/{V46NQTOH.js → LHXHL3RB.js} +2 -2
- package/dist/cdn/LJSLZOAW.js +4 -0
- package/dist/cdn/{WGL2BCUM.js → LJV6DE44.js} +2 -2
- package/dist/cdn/{MN5Q6VKW.js → LKBUXCMF.js} +2 -2
- package/dist/cdn/{NF47PQ7Q.js → LOL2WTGD.js} +2 -2
- package/dist/cdn/{5FTGQPO5.js → LOVLAODG.js} +2 -2
- package/dist/cdn/{46Z6LRFP.js → LP4BQM2H.js} +2 -2
- package/dist/cdn/{TW6H3Y5C.js → LVAZCCYX.js} +2 -2
- package/dist/cdn/{4P2ED5MG.js → M3F2PRVV.js} +2 -2
- package/dist/cdn/{UFT52UFX.js → M3ZMKHJ2.js} +2 -2
- package/dist/cdn/{M6I7SCR3.js → MI37N43V.js} +2 -2
- package/dist/cdn/{ORKHRXHB.js → MNPZD4I5.js} +2 -2
- package/dist/cdn/{NGN4GJ7L.js → MSGDDP7Y.js} +2 -2
- package/dist/cdn/{AK2IOGVT.js → MXCKPU23.js} +1 -1
- package/dist/cdn/{PEHGGHQ4.js → N5K33ZZT.js} +2 -2
- package/dist/cdn/{I74ECT7N.js → N65S4NHY.js} +2 -2
- package/dist/cdn/{CFXL3A27.js → N7ACGWAI.js} +2 -2
- package/dist/cdn/{L6PPOZ6H.js → NCSI6ZKY.js} +2 -2
- package/dist/cdn/{ZTWWXPZM.js → NCYI3FJ4.js} +2 -2
- package/dist/cdn/{DBZRC2CE.js → NGDTJRWQ.js} +2 -2
- package/dist/cdn/{THC2GZPK.js → NJBDDFNX.js} +1 -1
- package/dist/cdn/{73W26K5Q.js → NNO7ZI7X.js} +2 -2
- package/dist/cdn/{R2IVNBNU.js → NP7OH2ZI.js} +2 -2
- package/dist/cdn/{525IK7S3.js → NRUKSPT4.js} +2 -2
- package/dist/cdn/{O6DAQEXK.js → NSCQHAM7.js} +2 -2
- package/dist/cdn/{PTLSOJ2V.js → NZ42ZTHT.js} +2 -2
- package/dist/cdn/O5OQYVQ3.js +18 -0
- package/dist/cdn/{DYEFEHAR.js → O6X34RFQ.js} +11 -11
- package/dist/cdn/{AD654KDS.js → OMFYWQSY.js} +2 -2
- package/dist/cdn/{6QIO3AQD.js → OTBZT6CE.js} +2 -2
- package/dist/cdn/{XZRHSLHF.js → OTQ4RPLU.js} +1 -1
- package/dist/cdn/{I7AMZQNZ.js → OUA6OKHZ.js} +2 -2
- package/dist/cdn/{PMRPPUOG.js → P27R335T.js} +1 -1
- package/dist/cdn/{XKQGFDT5.js → P3YZSASH.js} +2 -2
- package/dist/cdn/{GGCVMVWS.js → P473G3UD.js} +2 -2
- package/dist/cdn/{X6LWFUFK.js → P7J4L36T.js} +1 -1
- package/dist/cdn/{EI2SLBFR.js → PAPULN5H.js} +2 -2
- package/dist/cdn/{FTC6GK32.js → PEW7EK74.js} +2 -2
- package/dist/cdn/{KC4KCTUH.js → PKBDH7MF.js} +2 -2
- package/dist/cdn/{ZFQ2JKAE.js → PNHNT6BL.js} +2 -2
- package/dist/cdn/{XXJ2SGBR.js → PVPNQBWZ.js} +2 -2
- package/dist/cdn/{A6ZN7UQQ.js → PXPVE3JE.js} +2 -2
- package/dist/cdn/{QPJLKOGU.js → Q2VYZCZY.js} +1 -1
- package/dist/cdn/{PSP2EVIP.js → Q2YCPZOX.js} +2 -2
- package/dist/cdn/Q6HRIABM.js +18 -0
- package/dist/cdn/{WRG6UGAU.js → Q6U6FUMJ.js} +2 -2
- package/dist/cdn/{GOMTEPFA.js → QCT6FXMR.js} +1 -1
- package/dist/cdn/QD76ALH3.js +18 -0
- package/dist/cdn/{7XD5FYQH.js → QMREQGH3.js} +2 -2
- package/dist/cdn/QP35PXG2.js +18 -0
- package/dist/cdn/{ADQGTHIK.js → QR6JZJTO.js} +2 -2
- package/dist/cdn/{7M4VGKUT.js → QRBQ5KHF.js} +2 -2
- package/dist/cdn/QSOTGUOZ.js +4 -0
- package/dist/cdn/{JSCLICIM.js → QZIAEDXM.js} +1 -1
- package/dist/cdn/{2QFAL42J.js → R5YJMFXC.js} +2 -2
- package/dist/cdn/{Q4EXL46G.js → RGTPM7HZ.js} +2 -2
- package/dist/cdn/{3KRHILOK.js → ROJGI2W3.js} +1 -1
- package/dist/cdn/{D2RRQ3X4.js → RRMHR2HB.js} +2 -2
- package/dist/cdn/{ENKVILKY.js → RV65ILJG.js} +2 -2
- package/dist/cdn/{H57ZKHJ4.js → RZUGSVMP.js} +1 -1
- package/dist/cdn/{NM3XHUXJ.js → S7NFYQWB.js} +1 -1
- package/dist/cdn/{D22VRCQZ.js → SEVP5RIV.js} +2 -2
- package/dist/cdn/{GJGBNYWB.js → SIUHVSRB.js} +3 -3
- package/dist/cdn/{CUKJYJQY.js → SM2GUROD.js} +1 -1
- package/dist/cdn/{VCK56OWN.js → STUHZQEZ.js} +1 -1
- package/dist/cdn/{CJOWQ5NE.js → SVFIF3T3.js} +2 -2
- package/dist/cdn/SXP3TCP2.js +4 -0
- package/dist/cdn/{CHBTCIMS.js → SXZVPSYN.js} +2 -2
- package/dist/cdn/{JYVM54WT.js → SZDHEJ35.js} +2 -2
- package/dist/cdn/T3WZ5RIH.js +4 -0
- package/dist/cdn/{SM2ZGXN2.js → T5JHR5GE.js} +2 -2
- package/dist/cdn/{T2MYK67I.js → T6ZDTQ2A.js} +2 -2
- package/dist/cdn/{7DEMXTPR.js → TGWWWSMN.js} +2 -2
- package/dist/cdn/{ROGVNZHG.js → THIMASMK.js} +2 -2
- package/dist/cdn/{4RUO65YZ.js → TTOMCAES.js} +1 -1
- package/dist/cdn/{NXZAIYZX.js → TWADDFKI.js} +2 -2
- package/dist/cdn/{YOTDGZIS.js → TY5HNZTA.js} +2 -2
- package/dist/cdn/{A3ZMYVXL.js → U4QKTJ5K.js} +2 -2
- package/dist/cdn/{DNSJZC4P.js → U4WC6C2F.js} +2 -2
- package/dist/cdn/UASHMMAZ.js +4 -0
- package/dist/cdn/{TIJ35HYZ.js → UDLYWYW6.js} +2 -2
- package/dist/cdn/{Z7DOTE4W.js → UESCD5AB.js} +2 -2
- package/dist/cdn/{NZ6L23VR.js → UI236QD6.js} +2 -2
- package/dist/cdn/{P3ZGSTRY.js → UKYKTZWK.js} +2 -2
- package/dist/cdn/{SN7Y4QIQ.js → UMSXHNKH.js} +1 -1
- package/dist/cdn/{7WWEF64M.js → UR4O5D7C.js} +2 -2
- package/dist/cdn/{WMRXZUG4.js → UUCDGMFW.js} +2 -2
- package/dist/cdn/{OHWF5VUN.js → UV2M2RAL.js} +1 -1
- package/dist/cdn/{MGAAWVDA.js → UWXNPHTE.js} +1 -1
- package/dist/cdn/V434XRYU.js +4 -0
- package/dist/cdn/{XE2T5GMW.js → V73IDRPZ.js} +2 -2
- package/dist/cdn/{2MCXJEIU.js → VA7UARYI.js} +1 -1
- package/dist/cdn/{EKX5RPAU.js → VBSXEYLV.js} +2 -2
- package/dist/cdn/{TPLOAFHX.js → VHDIRVUR.js} +2 -2
- package/dist/cdn/{3PNCQZNB.js → VOHSJZCI.js} +2 -2
- package/dist/cdn/{Z2BS6PDT.js → VP2MDCXM.js} +2 -2
- package/dist/cdn/{UHGKM2WA.js → VPHAMFNI.js} +2 -2
- package/dist/cdn/{3M5E2W6J.js → VQ65EGUC.js} +2 -2
- package/dist/cdn/{WG5YJAJK.js → VVGYJHF7.js} +2 -2
- package/dist/cdn/{UYA6RFIA.js → VW6GSY2U.js} +2 -2
- package/dist/cdn/{YEE23JC2.js → WAPUSBNS.js} +2 -2
- package/dist/cdn/{3HVOQ754.js → WE2YJ72U.js} +2 -2
- package/dist/cdn/{KYNAJJDV.js → WH6W2UP3.js} +2 -2
- package/dist/cdn/{B5XYDLJB.js → WIDXS23Z.js} +2 -2
- package/dist/cdn/WLSDNFCT.js +18 -0
- package/dist/cdn/{GCOXBUN5.js → WLSI7POK.js} +1 -1
- package/dist/cdn/{KK3QWOG2.js → WPAFQXGE.js} +2 -2
- package/dist/cdn/{3HR3VX4I.js → WPVYE7FE.js} +2 -2
- package/dist/cdn/{EFKYF4YS.js → WQF5CITX.js} +2 -2
- package/dist/cdn/{3O2FMCDB.js → WSCCQ5U4.js} +1 -1
- package/dist/cdn/{CWSLTV67.js → WV5BUD4Z.js} +2 -2
- package/dist/cdn/{VRFHYYVR.js → X6L4PHXI.js} +2 -2
- package/dist/cdn/{IEEVFYKM.js → X6YLW36Y.js} +1 -1
- package/dist/cdn/X7KYTABF.js +4 -0
- package/dist/cdn/{77SH6QGE.js → XAAGW7YF.js} +2 -2
- package/dist/cdn/{GPO4L446.js → XCEE3SEK.js} +2 -2
- package/dist/cdn/{XTADI7OE.js → XDZ5DDWA.js} +2 -2
- package/dist/cdn/{5YJKRSII.js → XGGAVQTC.js} +2 -2
- package/dist/cdn/{UZQC4ZVD.js → XLXUXKG6.js} +2 -2
- package/dist/cdn/XNPZJ7V4.js +18 -0
- package/dist/cdn/{W7DEAFBS.js → XOCETJCR.js} +2 -2
- package/dist/cdn/{UJN2FPCY.js → XORA7HCU.js} +2 -2
- package/dist/cdn/{ST5DNJ5A.js → XR3GB5SE.js} +1 -1
- package/dist/cdn/{3MTECQIQ.js → XW6O3WSI.js} +2 -2
- package/dist/cdn/{5GEHFK5G.js → XXU7NGZI.js} +2 -2
- package/dist/cdn/{4QEWKLNG.js → Y4CRJWJF.js} +2 -2
- package/dist/cdn/{HOQDPNYX.js → Y4RVCE5F.js} +2 -2
- package/dist/cdn/{HZDGJLAD.js → Y5TEYKUG.js} +2 -2
- package/dist/cdn/{R4JBNSHM.js → Y6FNQ642.js} +2 -2
- package/dist/cdn/YBIF6TAJ.js +20 -0
- package/dist/cdn/{KNBDWSMQ.js → YIO2CSY3.js} +2 -2
- package/dist/cdn/{MFHU7RCE.js → YM6G3EU3.js} +2 -2
- package/dist/cdn/{UBNEDJDQ.js → YQ4UFRN4.js} +2 -2
- package/dist/cdn/{DC2E55EL.js → YQE7AUFT.js} +2 -2
- package/dist/cdn/YRBPGBT5.js +18 -0
- package/dist/cdn/{PEJAYVXV.js → YSIFIKOE.js} +2 -2
- package/dist/cdn/{A7PIN73K.js → YUWAB65A.js} +2 -2
- package/dist/cdn/{72A2Y2EQ.js → YVJDVYGA.js} +1 -1
- package/dist/cdn/YWZCXS4Z.js +18 -0
- package/dist/cdn/{Z2J6R7BH.js → YZCZUMV2.js} +1 -1
- package/dist/cdn/{J2SERNA3.js → Z5RJQBZY.js} +1 -1
- package/dist/cdn/{TFCVVUA3.js → ZDKRS7QS.js} +2 -2
- package/dist/cdn/{QLVKQU3N.js → ZETWXE6M.js} +2 -2
- package/dist/cdn/{MN4AZD42.js → ZS2IQNQO.js} +2 -2
- package/dist/cdn/ZTVPU2LX.js +4 -0
- package/dist/cdn/{MEARRFPL.js → ZWW6ZGXP.js} +2 -2
- package/dist/cdn/{UD6VCHUK.js → ZWYST46E.js} +2 -2
- package/dist/cdn/{LFX2BV5P.js → ZZ4UGIDE.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
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as t}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as t}from"./NCSI6ZKY.js";import"./GO42R2CK.js";import"./B7B7CVVL.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./TTOMCAES.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{c as a}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{c as a}from"./SM2GUROD.js";import"./TTOMCAES.js";export{a as MetricSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
3
|
+
v1.0.6 */
|
4
|
+
import"./TTOMCAES.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
|
@@ -0,0 +1,294 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as m}from"./QZIAEDXM.js";import{e as f}from"./65HTNVVT.js";import{c as g,n as b,t as x,z as _}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as w,c as o,d as v,e as y,f as E}from"./5BK4CWOX.js";import"./TTOMCAES.js";var k=`
|
5
|
+
@media print {
|
6
|
+
@page {
|
7
|
+
size: Portrait;
|
8
|
+
margin: .25in;
|
9
|
+
}
|
10
|
+
|
11
|
+
html, body {
|
12
|
+
padding: 0;
|
13
|
+
margin: 0;
|
14
|
+
height: 100%;
|
15
|
+
width: 100%;
|
16
|
+
}
|
17
|
+
|
18
|
+
body > *:not(.instant-apps-export-print) { display: none; }
|
19
|
+
}
|
20
|
+
|
21
|
+
* {
|
22
|
+
-webkit-print-color-adjust: exact;
|
23
|
+
color-adjust: exact;
|
24
|
+
}
|
25
|
+
|
26
|
+
instant-apps-header {
|
27
|
+
height: 50px;
|
28
|
+
display: block;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
.instant-apps-export-print {
|
33
|
+
z-index: -999;
|
34
|
+
color: #323232 !important;
|
35
|
+
display: grid;
|
36
|
+
grid-auto-flow: row;
|
37
|
+
--esri-calcite-mode-name: "light";
|
38
|
+
position: absolute;
|
39
|
+
}
|
40
|
+
|
41
|
+
.instant-apps-export-print__view-header {
|
42
|
+
background: #fff;
|
43
|
+
}
|
44
|
+
|
45
|
+
.instant-apps-export-print__view-header h1 {
|
46
|
+
font-size: 16px;
|
47
|
+
font-weight: 500;
|
48
|
+
color: #323232;
|
49
|
+
margin: 6px;
|
50
|
+
}
|
51
|
+
|
52
|
+
.instant-apps-export-print__views-container {
|
53
|
+
height: 100%;
|
54
|
+
width: 100%;
|
55
|
+
display: flex;
|
56
|
+
flex-direction: column;
|
57
|
+
}
|
58
|
+
|
59
|
+
.instant-apps-export-print__view-content:first-child {
|
60
|
+
page-break-before: unset;
|
61
|
+
}
|
62
|
+
|
63
|
+
.instant-apps-export-print__view-content {
|
64
|
+
height: 100%;
|
65
|
+
display: flex;
|
66
|
+
flex-direction: column;
|
67
|
+
gap: 32px;
|
68
|
+
page-break-before: always;
|
69
|
+
}
|
70
|
+
|
71
|
+
.instant-apps-export-print, .instant-apps-export-print * {
|
72
|
+
box-sizing: border-box;
|
73
|
+
}
|
74
|
+
|
75
|
+
.instant-apps-export-print__view-section {
|
76
|
+
height: 100%;
|
77
|
+
}
|
78
|
+
|
79
|
+
.instant-apps-export-print__view-container {
|
80
|
+
height: 100%;
|
81
|
+
width: 100%;
|
82
|
+
break-inside: avoid;
|
83
|
+
}
|
84
|
+
|
85
|
+
.instant-apps-export-print__view-wrapper {
|
86
|
+
height: fit-content;
|
87
|
+
width: min-content;
|
88
|
+
position: relative;
|
89
|
+
display: flex;
|
90
|
+
flex-direction: column;
|
91
|
+
border: 2pt solid #323232;
|
92
|
+
overflow: hidden;
|
93
|
+
}
|
94
|
+
|
95
|
+
.instant-apps-export-print__view {
|
96
|
+
max-height: 60vh;
|
97
|
+
max-width: calc(100vw - .25in);
|
98
|
+
object-fit: contain;
|
99
|
+
}
|
100
|
+
|
101
|
+
.instant-apps-export-print__popup-container {
|
102
|
+
height: min-content;
|
103
|
+
max-width: 350px;
|
104
|
+
display: none;
|
105
|
+
color: #323232;
|
106
|
+
background: #fff;
|
107
|
+
border: 1pt solid #323232;
|
108
|
+
break-inside: avoid;
|
109
|
+
}
|
110
|
+
|
111
|
+
.instant-apps-export-print__popup-title {
|
112
|
+
border-bottom: 1pt solid #323232;
|
113
|
+
}
|
114
|
+
|
115
|
+
.instant-apps-export-print__popup-content {
|
116
|
+
background: #fff;
|
117
|
+
padding-top: 8pt;
|
118
|
+
}
|
119
|
+
|
120
|
+
.instant-apps-export-print__popup-content .esri-feature-media__chart {
|
121
|
+
background: #fff;
|
122
|
+
}
|
123
|
+
|
124
|
+
.instant-apps-export-print__legend-container {
|
125
|
+
height: min-content;
|
126
|
+
background: #fff;
|
127
|
+
overflow: unset;
|
128
|
+
}
|
129
|
+
|
130
|
+
.esri-legend--card, .esri-legend--card__service-content {
|
131
|
+
flex-flow: row wrap;
|
132
|
+
}
|
133
|
+
|
134
|
+
.instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
|
135
|
+
background: #fff;
|
136
|
+
color: #323232;
|
137
|
+
}
|
138
|
+
|
139
|
+
.instant-apps-export-print__popup-content * {
|
140
|
+
color: #323232;
|
141
|
+
}
|
142
|
+
|
143
|
+
.instant-apps-export-print .esri-widget__heading {
|
144
|
+
margin: 2pt 7pt;
|
145
|
+
padding: 0;
|
146
|
+
color: #323232;
|
147
|
+
}
|
148
|
+
|
149
|
+
.instant-apps-export-print .esri-legend__ramp-label:before {
|
150
|
+
border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
|
151
|
+
}
|
152
|
+
|
153
|
+
.instant-apps-export-print .esri-legend--card__section {
|
154
|
+
padding: 4pt 0 4pt;
|
155
|
+
min-width: unset;
|
156
|
+
border-left: none;
|
157
|
+
}
|
158
|
+
|
159
|
+
.instant-apps-export-print .esri-legend--card__section:first-child {
|
160
|
+
border-left: none;
|
161
|
+
}
|
162
|
+
|
163
|
+
.instant-apps-export-print .esri-legend--card__service {
|
164
|
+
border: none;
|
165
|
+
flex: 0 1 auto;
|
166
|
+
break-inside: avoid;
|
167
|
+
}
|
168
|
+
|
169
|
+
.instant-apps-export-print .esri-legend--card {
|
170
|
+
border: none;
|
171
|
+
gap: 6pt 12pt;
|
172
|
+
}
|
173
|
+
|
174
|
+
.instant-apps-export-print .esri-legend--card:not(:first-child),
|
175
|
+
.instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
|
176
|
+
display: none;
|
177
|
+
}
|
178
|
+
|
179
|
+
.instant-apps-export-print .esri-legend--card__service-caption-container {
|
180
|
+
height: unset;
|
181
|
+
padding: 0;
|
182
|
+
border-bottom: none;
|
183
|
+
}
|
184
|
+
|
185
|
+
.instant-apps-export-print .esri-legend--card__service-caption-text {
|
186
|
+
padding-bottom: 4px;
|
187
|
+
}
|
188
|
+
|
189
|
+
.instant-apps-export-print__compass-container {
|
190
|
+
position: absolute;
|
191
|
+
top: 65px;
|
192
|
+
left: 15px;
|
193
|
+
background: #fff;
|
194
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
195
|
+
--calcite-ui-icon-color: #000;
|
196
|
+
border-radius: 50%;
|
197
|
+
height: fit-content;
|
198
|
+
}
|
199
|
+
|
200
|
+
.instant-apps-export-print__compass-container .esri-compass {
|
201
|
+
background: #fff;
|
202
|
+
}
|
203
|
+
|
204
|
+
.instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
|
205
|
+
color: #000;
|
206
|
+
}
|
207
|
+
|
208
|
+
.instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
|
209
|
+
background: #fff;
|
210
|
+
}
|
211
|
+
|
212
|
+
.instant-apps-export-print__scale-bar-container {
|
213
|
+
width: 100%;
|
214
|
+
position: absolute;
|
215
|
+
bottom: 15px;
|
216
|
+
margin: 0 15px;
|
217
|
+
}
|
218
|
+
|
219
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
|
220
|
+
color: #323232;
|
221
|
+
font-size: 10px;
|
222
|
+
padding: 0 4px;
|
223
|
+
}
|
224
|
+
|
225
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {
|
226
|
+
height: 16px;
|
227
|
+
overflow: hidden;
|
228
|
+
}
|
229
|
+
|
230
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {
|
231
|
+
bottom: 1px;
|
232
|
+
}
|
233
|
+
|
234
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
|
235
|
+
height: 10px;
|
236
|
+
padding: 0 2px;
|
237
|
+
line-height: 11px;
|
238
|
+
}
|
239
|
+
|
240
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
|
241
|
+
display: none;
|
242
|
+
}
|
243
|
+
|
244
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
|
245
|
+
align-items: center;
|
246
|
+
}
|
247
|
+
|
248
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
|
249
|
+
background-color: rgba(255, 255, 255, 0.66);
|
250
|
+
}
|
251
|
+
|
252
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
|
253
|
+
width: var(--instant-apps-scale-bar-top) !important;
|
254
|
+
border-bottom: 2px solid #323232;
|
255
|
+
}
|
256
|
+
|
257
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
|
258
|
+
width: var(--instant-apps-scale-bar-bottom) !important;
|
259
|
+
border-top: 2px solid #323232;
|
260
|
+
}
|
261
|
+
|
262
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
|
263
|
+
position: unset;
|
264
|
+
margin: 0 2px;
|
265
|
+
background-color: rgba(255, 255, 255, 0.66);
|
266
|
+
height: 10px;
|
267
|
+
display: flex;
|
268
|
+
align-items: center;
|
269
|
+
}
|
270
|
+
|
271
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
|
272
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
|
273
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
|
274
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
|
275
|
+
background-color: #323232;
|
276
|
+
border-right: 2px solid #323232;
|
277
|
+
}
|
278
|
+
|
279
|
+
.instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
|
280
|
+
display: none;
|
281
|
+
}
|
282
|
+
|
283
|
+
.instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
|
284
|
+
width: 100%!important;
|
285
|
+
}
|
286
|
+
|
287
|
+
.instant-apps-export-print__popup-content .esri-popup__content {
|
288
|
+
margin: 0;
|
289
|
+
}
|
290
|
+
|
291
|
+
.instant-apps-export-print__attribution {
|
292
|
+
margin-top: 12px;
|
293
|
+
font-size: 10px;
|
294
|
+
}`,I=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover:#fff}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}",S=I,p={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",print:{base:"instant-apps-export-print",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewsContainer:"instant-apps-export-print__views-container",viewSection:"instant-apps-export-print__view-section",viewWrapper:"instant-apps-export-print__view-wrapper",viewContent:"instant-apps-export-print__view-content",viewHeader:"instant-apps-export-print__view-header",attribution:"instant-apps-export-print__attribution"}},P=class{constructor(t){w(this,t),this.exportOutputUpdated=E(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p.baseLight,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(t){t&&this.exportViews?.forEach(({view:e},n)=>{if(!this.printEl)return;let i=this.printEl.querySelector(`#legend-${n}`);i!=null&&this.updateLegend(e,n,i)})}watchView(){this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)})}async componentWillLoad(){this.baseClass=m(this.el)==="dark"?p.baseDark:p.baseLight,await f(this),await this.initializeModules()}componentDidLoad(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)}))}componentDidUpdate(){this.exportViews?.forEach(({view:t},e)=>{if(!this.printEl)return;let n=this.printEl.querySelector(`#legend-${e}`);this.updateLegend(t,e,n)})}async initializeModules(){let t=await _();return this.handles=await g(),this.reactiveUtils=t,await Promise.resolve(!0)}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return o(v,{key:"7492b0b90d22167c5a3bf625c3eb701424212903"},o("div",{key:"ba182de0b46e0670ade87f58838c6d40f4a5bd65",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t))}renderPopover(){let t=this.renderPanel();return[o("calcite-popover",{referenceElement:"export-popover-btn",label:this.messages?.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e},t),o("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:this.messages?.exportBtn,text:this.messages?.exportBtn})]}renderPanel(){let t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,n=this.renderPrint(),i=this.mode==="inline"?p.inlineContainer:p.popoverContainer;return o("div",{class:i},t,e,o("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},this.messages?.export),n)}renderSwitch(t,e){let i=this[t],r=t,a=e||this.messages?.[r];return o("calcite-label",{layout:"inline-space-between"},a,o("calcite-switch",{checked:i,value:t,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){let t=this.showIncludeHeader?this.renderSwitch("includeHeader"):null,e=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return o("div",null,t,e,n)}renderPrint(){return o("div",{ref:t=>this.printContainerEl=t},o("div",{class:p.print.base,ref:t=>this.printEl=t},o("div",{class:p.print.viewsContainer},this.exportViews?.map(({title:t,view:e},n)=>{let i=e.map?.portalItem?.id,r=this.includeMap?this.renderPrintMap(t,n):null,a=this.includeMap&&this.showIncludeLegend?this.renderLegend(n):null,s=this.includeMap&&this.showIncludePopup?this.renderPopup(n):null;return o("div",{key:i??"",id:`print-${n}`,class:p.print.viewContent},r,a,s)}))))}renderPrintMap(t,e){return o("div",{id:`view-container-${e}`,class:p.print.viewContainer},o("div",{id:`view-wrapper-${e}`,class:p.print.viewWrapper},this.includeHeader&&t?o("div",{class:p.print.viewHeader},o("h1",null,t)):null,o("img",{id:`view-${e}`,class:p.print.view}),o("div",{id:`scale-bar-container-${e}`,class:p.print.scaleBarContainer})),this.renderAttribution(e))}renderAttribution(t){return o("div",{id:`attribution-${t}`,class:p.print.attribution})}renderLegend(t){return o("div",{id:`legend-${t}`,class:p.print.legendContainer})}renderCompass(t){return o("div",{id:`compass-${t}`,class:p.print.compassContainer})}renderPopup(t){return o("div",{id:`popup-${t}`,class:p.print.popupContainer},o("div",{id:`popup-title-${t}`,class:p.print.popupTitle}),o("div",{id:`popup-content-${t}`,class:p.print.popupContent}))}optionOnChange(t){let e=t.target,{checked:n,value:i}=e;this[i]=n,this.updateExportOutput()}async exportOnClick(){await this.beforeExport(),this.exportViews?.length?(this.addPrintStyling(),this.printEl&&document.body.prepend(this.printEl),this.exportViews.forEach(({view:t},e)=>{this.handleViewExportOnClick(t,e)}),this.handleImgLoaded()):this.popoverEl!=null&&(this.popoverEl.open=!1)}async handleViewExportOnClick(t,e){this.includeMap&&(this.updateAttribution(t,e),this.updateScaleBar(t,e),this.updatePopupToPrint(t,e),this.viewScreenshot(t,e),this.handleLegendSetup(e))}addPrintStyling(){this.printStyleEl==null&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=k,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()},1500)}resetPrintContent(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.printStyleEl?.remove(),this.printStyleEl=void 0)}async updatePopupToPrint(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#popup-${e}`);if(n!=null&&(n.style.display=this.includePopup&&t?.popup?.visible?"block":"none",this.checkPopupOpen(t,e)),t?.popup?.visible&&t?.popup?.selectedFeature!=null){let i=document.createElement(`h${t?.popup?.headingLevel??2}`);i.innerHTML=t?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title";let r=this.printEl.querySelector(`#popup-title-${e}`);r!=null&&(r.style.display=t?.popup?.title?"block":"none",r.innerHTML="",r.prepend(i))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){let t=document.title;window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1500)}handleLegendSetup(t){if(!this.printEl)return;let e=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&this.includeMap&&e){let n=this.legends[t],i=n!=null&&n.activeLayerInfos?.length>0;e.style.display=this.includeLegend&&i?"block":"none"}}handleWidgetCreation(){this.includeMap&&this.exportViews?.forEach(({view:t},e)=>{this.handleLegendCreation(t,e)})}handleIncludePopup(t,e){if(!(!this.handles||!this.reactiveUtils||!t||!this.showIncludePopup)&&this.showIncludePopup){let n=`includePopup-${e}`;this.handles?.remove(n),this.reactiveUtils.whenOnce(()=>t?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>!!t?.popup?.visible,i=>{this.includePopup=i}),n)})}}handleLegendCreation(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#legend-${e}`);if(this.showIncludeLegend&&n!=null){let i=t.map,a=this.legends[e]?.view?.map;i?.portalItem?.id!=null&&i?.portalItem?.id===a?.portalItem?.id||this.updateLegend(t,e,n)}}async updateLegend(t,e,n){t?.when(async i=>{if(this.legends[e]==null&&n!=null){n.innerHTML="";let r=document.createElement("div");n.append(r),this.legends[e]=await x({id:`legend-widget-${e}`,container:r,view:i,style:{type:"card",layout:"side-by-side"}})}})}handleCompassCreation(t,e){if(!this.compassContainerEl)return;let n=this.compassContainerEl.querySelector(`#compass-${e}`);if(n!=null){let i=t.map,a=this.compasses[e]?.view?.map;i?.portalItem?.id===a?.portalItem?.id||this.updateCompass(t,e,n)}}updateCompass(t,e,n){t?.when(async i=>{let r=document.createElement("div");n!=null&&(n.append(r),this.compasses[e]=await b({id:`compass-widget-${e}`,container:r,view:i}))})}updateScaleBar(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#scale-bar-container-${e}`);if(n&&t!=null&&(n.innerHTML="",this.showScaleBar)){let r=t?.ui?.getComponents()?.find(({container:a})=>a?.className?.includes("esri-scale-bar"));r?.container!=null&&typeof r.container!="string"&&n.append(r.container.cloneNode(!0))}}updateAttribution(t,e){let n=this.printEl?.querySelector(`#attribution-${e}`);if(!n||!t)return;n.innerHTML="";let i=t.ui.find("attribution");if(!i?.attributionText)return;let r=i.viewModel.items.map(s=>this.getAttributionText(s)).filter((s,c,d)=>!!s&&d.indexOf(s)===c),a=" | ";n.innerHTML=r.join(a)}getAttributionText(t){if(!t.text)return"";let e=t.text,n=t.layerView.layer,i="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let r=n.portalItem;if(r.accessInformation&&e===r.accessInformation)return e.replace(r.accessInformation,i)}return e}async viewScreenshot(t,e){if(!this.printEl||!this.includeMap)return;let n=1e3,i=this.printEl.querySelector(`#scale-bar-container-${e}`);i?.classList.toggle("instant-apps-export-print__scale-bar-container--position",t.width>n);let r=await t.takeScreenshot({width:t.width*2,height:t.height*2});this.handleScaleBarSize(t,r,i);let a=this.printEl.querySelector(`#view-${e}`);r!=null&&a!=null&&(a.src=r.dataUrl)}checkPopupOpen(t,e){if(!this.printEl)return;let i=t?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(i!=null){let r=i.querySelectorAll("canvas"),a=this.printEl.querySelector(`#popup-content-${e}`);if(a==null)return;a.innerHTML="",a.append(i.cloneNode(!0));let s=a.querySelectorAll("canvas");r.forEach((c,d)=>{let C=c.toDataURL(),l=document.createElement("img");l.src=C;let h=c.getAttribute("style");h&&l.setAttribute("style",h);let u=s[d];u!=null&&(u.replaceWith(l),document.querySelector("link[href*='esri/themes/dark/main.css']")&&l.parentElement?.parentElement!=null&&(l.parentElement.style.background="#242424",l.parentElement.parentElement.style.background="#242424"))})}}handleScaleBarSize(t,e,n){if(this.showScaleBar&&t?.type==="2d"&&n!=null){let i=n.querySelector(".esri-scale-bar__line--top"),r=n.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(e,n,i,"top"),this.setScaleBarWidth(e,n,r,"bottom")}}setScaleBarWidth(t,e,n,i){if(n!=null&&t!=null){let r=t.data.width/2,c=Number(n.style.width.replace("px",""))/r*100;e?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${c}%`)}}get el(){return y(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};P.style=S;export{P as instant_apps_export_views};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{e as P}from"./RNVECRCO.js";import{A as R,C,D as L,d as k,e as y}from"./AK2IOGVT.js";import"./J2SERNA3.js";import{a as S,c as e,d as E,e as $}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var j=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",Z=j,o="instant-apps-social-share",I=".calcite-mode-dark",a={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},q={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},G="https://arcg.is/prod/shorten",T="1",X=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let s=t.target,i=this.shareListRef.children[0],r=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&s===i?(t.preventDefault(),r.focus()):!t.shiftKey&&s===r&&(t.preventDefault(),i.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let s=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(s)}else{let s=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(s)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:a.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),s=this.shareIconsLayout==="vertical"?` ${a.layout.vertical}`:` ${a.layout.horizontal}`,i=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,r=e("div",{key:"28cd0fbc9f67a770aa7b060119daadc755016c50",ref:n=>this.dialogContentRef=n,class:`${a.dialog}${s}${i}`},t),h=this.removePopoverOffset?0:6;return e(E,{key:"6a12464d22a64daa885e29f0fad2dce2dc22d4ec"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:n=>{n&&(this.popoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":h,"pointer-disabled":this.removePopoverOffset},r),this.renderButton()]:[r,e("calcite-popover",{ref:n=>{n&&(this.copyLinkPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:n=>{n&&(this.copyEmbedPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:i=>{this.isNativeShareEnabled?(i.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(i)},id:"shareButton",class:a.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},s=e("div",{class:a.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,kind:this.shareButtonColor,appearance:"transparent"},s):e("calcite-action",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,appearance:"transparent",text:"",alignment:"center"},s)}renderSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,s=document.dir==="rtl"?` ${a.rtl.optionText}`:"";return e("ul",{ref:i=>this.shareListRef=i,class:a.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${a.optionText}${s}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderFacebookIcon()),e("span",{class:`${a.optionText}${s}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderXIcon()),e("span",{class:`${a.optionText}${s}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderLinkedInIcon()),e("span",{class:`${a.optionText}${s}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderBlueSkyIcon()),e("span",{class:`${a.optionText}${s}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return s=>{let i=s.code;(i==="Space"||i==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?a.xLogo.dark:a.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:a.tipContainer},e("span",{class:a.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:a.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,s=document.dir==="rtl"?` ${a.rtl.textArea}`:"";return e("div",{class:a.embed.container},e("span",{class:a.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:a.embed.embedCode.container},e("div",{class:a.embed.embedCode.textArea},e("textarea",{ref:i=>this.embedCodeRef=i,cols:30,rows:5,readonly:!0,class:s,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:a.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:a.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:a.embed.dimensions.container},e("label",{class:a.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:i=>this.embedWidthRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:a.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:i=>this.embedHeightRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let s=t==="width"?this.embedWidthRef:this.embedHeightRef,i=t==="width"?"embedWidth":"embedHeight";return()=>{s&&Number.parseFloat(s.value)<=0&&(this[i]=Number.parseInt(T),s.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let s=null,i=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!i;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let c=s||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(c),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let n;r&&(n=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));let p={url:encodeURI(c)},b=t==="x"?{...p,text:this.shareText}:p,f=(await C()).substitute(q[t],b);this.mode==="popover"&&this.closePopover(),r&&n?(n.location=f,n.focus()):window.open(encodeURI(f),"_blank")}break;case"native-share":let h={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(c)};navigator?.canShare(h)?navigator.share(h).catch(n=>{console.error("Error using native share:",n)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let r=(await(await L())(G,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(r)return r.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:s}=this.view.center,{spatialReference:i}=this.view,r=await y({...i.toJSON()}),c=await k({x:t,y:s,spatialReference:r}),h=await this.processPoint(c),{isWGS84:n,isWebMercator:p}=h.spatialReference,b=n||p;return this.generateShareUrlParams(h,b)}async processPoint(t){let{isWGS84:s,isWebMercator:i}=t.spatialReference;if(s||i)return t;let r=await R(),c=await y({wkid:4326}),h=this.view?.spatialReference??c;try{await r.load();let n=r.execute(t,h);return Promise.resolve(n)}catch(n){console.error("Failed to project point to outSpatialReference",n);try{let p=r.execute(t,c);return Promise.resolve(p)}catch(p){return console.error("Failed to project point to fallbackOutSpatialReference",p),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(t,s){let{longitude:i,latitude:r,x:c,y:h}=t;if(i===void 0||r===void 0)return this.shareUrl;let n=this.roundValue(s?i:c),p=this.roundValue(s?r:h),{zoom:b}=this.view,w=this.roundValue(b),f=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,v,_;if(f&&z&&f?.layer?.type==="feature"){let u=f?.layer;g=u?.id,v=f.attributes[u.objectIdField]}_=this.view.map?.allLayers.filter(u=>!u.visible).toArray().map(u=>u.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:d}=l;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),U==="3d"){let{camera:u}=this.view,{heading:D,position:O,tilt:B}=u,{longitude:A,latitude:H,x:M,y:N,z:F}=O,K=s?A:M,W=s?H:N,x={longitude:this.roundValue(K,8),latitude:this.roundValue(W,8),z:this.roundValue(F,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},V=`cam:${x.longitude},${x.latitude},${x.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",V),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${n};${p}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}roundValue(t,s=4){return Number.parseFloat(t.toFixed(s))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};X.style=Z;export{X as instant_apps_social_share};
|
3
|
+
v1.0.6 */
|
4
|
+
import{e as P}from"./65HTNVVT.js";import{A as R,C,D as L,d as k,e as y}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as S,c as e,d as E,e as $}from"./5BK4CWOX.js";import"./TTOMCAES.js";var j=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",Z=j,o="instant-apps-social-share",I=".calcite-mode-dark",a={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},q={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},G="https://arcg.is/prod/shorten",T="1",X=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let s=t.target,i=this.shareListRef.children[0],r=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&s===i?(t.preventDefault(),r.focus()):!t.shiftKey&&s===r&&(t.preventDefault(),i.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let s=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(s)}else{let s=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(s)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:a.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),s=this.shareIconsLayout==="vertical"?` ${a.layout.vertical}`:` ${a.layout.horizontal}`,i=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,r=e("div",{key:"28cd0fbc9f67a770aa7b060119daadc755016c50",ref:n=>this.dialogContentRef=n,class:`${a.dialog}${s}${i}`},t),h=this.removePopoverOffset?0:6;return e(E,{key:"6a12464d22a64daa885e29f0fad2dce2dc22d4ec"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:n=>{n&&(this.popoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":h,"pointer-disabled":this.removePopoverOffset},r),this.renderButton()]:[r,e("calcite-popover",{ref:n=>{n&&(this.copyLinkPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:n=>{n&&(this.copyEmbedPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:i=>{this.isNativeShareEnabled?(i.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(i)},id:"shareButton",class:a.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},s=e("div",{class:a.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,kind:this.shareButtonColor,appearance:"transparent"},s):e("calcite-action",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,appearance:"transparent",text:"",alignment:"center"},s)}renderSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,s=document.dir==="rtl"?` ${a.rtl.optionText}`:"";return e("ul",{ref:i=>this.shareListRef=i,class:a.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${a.optionText}${s}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderFacebookIcon()),e("span",{class:`${a.optionText}${s}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderXIcon()),e("span",{class:`${a.optionText}${s}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderLinkedInIcon()),e("span",{class:`${a.optionText}${s}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderBlueSkyIcon()),e("span",{class:`${a.optionText}${s}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return s=>{let i=s.code;(i==="Space"||i==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?a.xLogo.dark:a.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:a.tipContainer},e("span",{class:a.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:a.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,s=document.dir==="rtl"?` ${a.rtl.textArea}`:"";return e("div",{class:a.embed.container},e("span",{class:a.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:a.embed.embedCode.container},e("div",{class:a.embed.embedCode.textArea},e("textarea",{ref:i=>this.embedCodeRef=i,cols:30,rows:5,readonly:!0,class:s,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:a.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:a.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:a.embed.dimensions.container},e("label",{class:a.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:i=>this.embedWidthRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:a.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:i=>this.embedHeightRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let s=t==="width"?this.embedWidthRef:this.embedHeightRef,i=t==="width"?"embedWidth":"embedHeight";return()=>{s&&Number.parseFloat(s.value)<=0&&(this[i]=Number.parseInt(T),s.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let s=null,i=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!i;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let c=s||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(c),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let n;r&&(n=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));let p={url:encodeURI(c)},b=t==="x"?{...p,text:this.shareText}:p,f=(await C()).substitute(q[t],b);this.mode==="popover"&&this.closePopover(),r&&n?(n.location=f,n.focus()):window.open(encodeURI(f),"_blank")}break;case"native-share":let h={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(c)};navigator?.canShare(h)?navigator.share(h).catch(n=>{console.error("Error using native share:",n)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let r=(await(await L())(G,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(r)return r.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:s}=this.view.center,{spatialReference:i}=this.view,r=await y({...i.toJSON()}),c=await k({x:t,y:s,spatialReference:r}),h=await this.processPoint(c),{isWGS84:n,isWebMercator:p}=h.spatialReference,b=n||p;return this.generateShareUrlParams(h,b)}async processPoint(t){let{isWGS84:s,isWebMercator:i}=t.spatialReference;if(s||i)return t;let r=await R(),c=await y({wkid:4326}),h=this.view?.spatialReference??c;try{await r.load();let n=r.execute(t,h);return Promise.resolve(n)}catch(n){console.error("Failed to project point to outSpatialReference",n);try{let p=r.execute(t,c);return Promise.resolve(p)}catch(p){return console.error("Failed to project point to fallbackOutSpatialReference",p),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(t,s){let{longitude:i,latitude:r,x:c,y:h}=t;if(i===void 0||r===void 0)return this.shareUrl;let n=this.roundValue(s?i:c),p=this.roundValue(s?r:h),{zoom:b}=this.view,w=this.roundValue(b),f=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,v,_;if(f&&z&&f?.layer?.type==="feature"){let u=f?.layer;g=u?.id,v=f.attributes[u.objectIdField]}_=this.view.map?.allLayers.filter(u=>!u.visible).toArray().map(u=>u.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:d}=l;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),U==="3d"){let{camera:u}=this.view,{heading:D,position:O,tilt:B}=u,{longitude:A,latitude:H,x:M,y:N,z:F}=O,K=s?A:M,W=s?H:N,x={longitude:this.roundValue(K,8),latitude:this.roundValue(W,8),z:this.roundValue(F,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},V=`cam:${x.longitude},${x.latitude},${x.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",V),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${n};${p}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}roundValue(t,s=4){return Number.parseFloat(t.toFixed(s))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};X.style=Z;export{X as instant_apps_social_share};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{e as l,f as o}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{e as l,f as o}from"./GDYIFL6J.js";import{d as g}from"./ROJGI2W3.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
3
|
+
v1.0.6 */
|
4
|
+
import"./TTOMCAES.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./5AW5NLLI.js";import{a as r}from"./IY23MDOC.js";import"./BYJRAAEE.js";import"./P3YZSASH.js";import"./Q2VYZCZY.js";import"./V73IDRPZ.js";import"./VPHAMFNI.js";import"./N5K33ZZT.js";import"./PNHNT6BL.js";import"./XW6O3WSI.js";import"./VW6GSY2U.js";import"./Y6FNQ642.js";import"./YIO2CSY3.js";import"./STUHZQEZ.js";import"./SXZVPSYN.js";import"./X6YLW36Y.js";import"./5DAI66LT.js";import"./KOI7FBWC.js";import"./LA3N6LZH.js";import"./SM2GUROD.js";import"./X6L4PHXI.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{l as g}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{l as g}from"./2TLMYAKF.js";import{c as i,d as f}from"./ROJGI2W3.js";import{a as o}from"./QCT6FXMR.js";import{b as c}from"./ESBUX6NR.js";import{c as m,j as l,k as s,l as d,w as p}from"./2IVXEYYO.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as o}from"./B7B7CVVL.js";import{a as n}from"./U4WC6C2F.js";import{a as s}from"./D6XX6KWD.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import{a}from"./IY23MDOC.js";import"./BYJRAAEE.js";import"./P3YZSASH.js";import"./Q2VYZCZY.js";import"./V73IDRPZ.js";import"./VPHAMFNI.js";import"./N5K33ZZT.js";import"./PNHNT6BL.js";import"./XW6O3WSI.js";import"./VW6GSY2U.js";import"./Y6FNQ642.js";import"./YIO2CSY3.js";import"./STUHZQEZ.js";import"./SXZVPSYN.js";import"./X6YLW36Y.js";import"./5DAI66LT.js";import"./KOI7FBWC.js";import"./LA3N6LZH.js";import"./SM2GUROD.js";import"./X6L4PHXI.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
|