@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,7 +1,7 @@
|
|
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 d}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as d}from"./YUWAB65A.js";import"./4ASSBQRJ.js";import{a as T,d as C}from"./4JAS7M3U.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./ESYYQOPE.js";import{g as L,j as E}from"./ZZ4UGIDE.js";import{c as l,e as r,f as c}from"./55NQUWEY.js";import"./HQIAA5ZR.js";import{a as g,b as _}from"./DAJFINWG.js";import{b as k}from"./CPO6UAZQ.js";import{a as x}from"./UESCD5AB.js";import{D as v,E as $,c as f,d as o,f as p,n as y,p as S,y as w,z as h}from"./XR3GB5SE.js";import"./TTOMCAES.js";var I=f`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.6 */
|
4
|
+
import{c as f}from"./UV2M2RAL.js";import{a,b as s}from"./DAJFINWG.js";import{a as g}from"./UESCD5AB.js";import{D as m,c as r,d as i,n as d,x as p,y as h,z as u}from"./XR3GB5SE.js";import"./TTOMCAES.js";var w=r`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/.minor-card{width:200px}.center{justify-content:center;align-items:center}.align-self-center{align-self:center}.font-weight-semibold{font-weight:var(--calcite-font-weight-semibold)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.icon-color{color:var(--calcite-color-text-3)}.font-weight-normal{font-weight:var(--calcite-font-weight-normal)}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.no-space{--calcite-label-margin-bottom: 0px}.font-color{color:red}.padding-end-1-2{padding-inline-end:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.edit-button-position{position:absolute;right:1rem}html[dir=rtl] .edit-button-position{position:absolute;left:1rem}.max-width-20{max-width:20vw}.max-width-35{max-width:35vw}.max-width-40{max-width:40vw}.btn-center{width:100%;display:grid;place-items:center}.width-full{width:100%}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.width-400{width:400px}.padding-3-4{padding:.75rem}.margin-0{margin:0}`,n=class extends h{constructor(){super(...arguments),this.authContextConsumer=p({context:f,subscribe:!0}),this.open=!1,this.showSuccessAlert=!1,this.templateInfos=[],this._configureTitlesOpen=!1,this._displayClass="",this._translations=g({name:"solution-configure-dialog",blocking:!0}),this._editSummaryRef=a(),this._editSummaryPopoverRef=a(),this._editNameRef=a(),this._editNamePopoverRef=a(),this._typeKeywords=[],this.solutionConfigureDialogClose=d()}static{this.properties={authContextConsumer:0,card:0,cardRef:1,open:5,showSuccessAlert:5,templateInfos:0,_configureTitlesOpen:16,_displayClass:16,_translations:16}}static{this.styles=w}async load(){this.templateInfos=await this.cardRef.getTemplates()}updated(t){if(t.has("open")){let e=t.get("open");this.open&&!e&&this.cardRef.getTemplates().then(o=>{this.templateInfos=o})}}render(){return i`<div><calcite-dialog class=${u(this._displayClass)} .heading=${this.card?.title} modal @calciteDialogClose=${()=>{this.open=!1,this.solutionConfigureDialogClose.emit(),this._cleanupPanel(),this.card=void 0,this.templateInfos=[]}} .open=${this.open} outside-close-disabled width=l><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row padding-bottom-1"><calcite-card-group label>${this._getStartHereCard()}${this._getDiagramCard()}${this._getSolutionCard()}${this._getSolutionVersionCard()}</calcite-card-group></div>${this._getSolutionContents()}</div><div slot=footer-start></div><calcite-button appearance=outline @click=${this._close} slot=footer-end>${this._translations.closeTheDialog}</calcite-button>${this._getSuccessAlert()}</calcite-dialog>${this._getConfigureTitlesDialog()}</div>`}_getConfigureTitlesDialog(){return this._configureTitlesOpen?i`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._displayClass="",this._configureTitlesOpen=!1}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_getSuccessAlert(){return this.showSuccessAlert?i`<calcite-alert auto-close icon=check-circle kind=success .label=${this.card?.title||""} @calciteAlertClose=${()=>{this.showSuccessAlert=!1}} .open=${this.showSuccessAlert}><div slot=message>${this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title||"")}</div></calcite-alert>`:""}_getDiagramCard(){return this._getBasicCard(this._translations.diagramOfTheSolution,this._translations.diagramSubText,"model",this._translations.openTheDiagram,"outline",this._openDiagram,void 0)}async _openDiagram(t){this._displayClass="display-none";let e=await this.cardRef.renderDiagramDialog(t);e&&this.listenOn(e,"calciteDialogBeforeClose",()=>{this._displayClass=""})}_getStartHereCard(){return this._getBasicCard(this._translations.startHere,this._translations.startHereSubText,"file-text",this._translations.openTheDiagram,"solid")}_getSolutionVersionCard(){return this._getBasicCard(this._translations.solutionVersion,this._translations.youHaveTheLatestVersion,"check-shield",void 0,void 0,void 0,"Version 3.2")}_getBasicCard(t,e,o,l,_,v,c){return i`<calcite-card class="minor-card max-width-20 font-size-override"><span class="font-weight-medium" slot=heading>${t}</span><div class="display-flex center"><div class="display-flex flex-direction-column center"><calcite-icon class="icon-color" .icon=${o} scale=l></calcite-icon>${c?i`<span class="font-weight-medium">${c}</span>`:""}<p>${e}</p></div></div>${l?i`<div class="btn-center" slot=footer-start><calcite-button .appearance=${_} kind=brand @click=${v}>${l}</calcite-button></div>`:""}</calcite-card>`}_getSolutionCard(){let t="configure-edit-solution-name",e="configure-edit-solution-summary";return i`<calcite-card class="max-width-40 font-size-override"><calcite-label class="font-weight-medium" scale=l slot=heading>${this._translations.aboutYourSolution}</calcite-label><div class="display-flex flex-direction-column"><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionName}</calcite-label><span class="font-weight-medium width-full align-self-start">${this.card?.title}</span><calcite-button appearance=transparent icon-start=pencil id=${t} kind=neutral ${s(this._editNameRef)}></calcite-button></div><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionSummary}</calcite-label><span class="font-weight-medium width-full align-self-center">${this.card?.snippet}</span><calcite-button appearance=transparent icon-start=pencil id=${e} kind=neutral ${s(this._editSummaryRef)}></calcite-button></div><div class="display-flex"><calcite-label class="font-weight-medium no-space padding-end-1" layout=inline>${this._translations.aboutYourSolutionOwner}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.card?.owner}</calcite-link></calcite-label><div class="display-flex"><calcite-label class="no-space icon-color" layout=inline><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this.card?.created}</calcite-label></div></div></div><div slot=footer-start><calcite-button appearance=outline class="padding-end-1" icon-start=arrow-up-down kind=brand @click=${this._showChangeOwner}>${this._translations.changeOwner}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-start=share kind=brand @click=${this._showItemDetails}>${this._translations.itemDetails}</calcite-button></div><calcite-button appearance=outline icon-start=trash kind=brand @click=${this._deleteSolution} slot=footer-end>${this._translations.deleteSolution}</calcite-button>${this._getEditNamePopover(t)}${this._getEditSummaryPopover(e)}</calcite-card>`}_getSolutionContents(){return i`<div><calcite-label class="font-weight-medium" layout=inline scale=l>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}<calcite-button appearance=outline icon-start=pencil kind=brand @click=${()=>{this._configureTitlesOpen=!0,this._displayClass="display-none"}}>${this._translations.updateTitles}</calcite-button></calcite-label><solution-item-accordion list-selection-mode=single .templateInfos=${this.templateInfos} .typeKeywords=${this._typeKeywords}></solution-item-accordion></div>`}async _deleteSolution(){this._displayClass="display-none";let t=await this.cardRef.renderDeleteDialog();t&&(this.listenOn(t,"calciteDialogBeforeClose",async()=>{this._displayClass="",this.templateInfos=await this.cardRef.getTemplates()}),this.listenOn(t,"solutionDeleted",()=>{this._close()}))}_showItemDetails(){window.open(this.card.itemUrl,"_blank")}_openUserProfile(t){t.stopPropagation();let e=this.authContextConsumer.value?.PortalSubset?.orgUrl;e&&window.open(`${e}/home/user.html`,"_blank")}_showChangeOwner(){}_getEditSummaryPopover(t){return i`<calcite-popover .heading=${this._translations.updateSolutionSummary} label overlay-positioning=fixed .referenceElement=${t} ${s(this._editSummaryPopoverRef)}><calcite-text-area class="padding-3-4 margin-0 width-400" rows=6 .value=${this.card?.snippet||""}></calcite-text-area><div class="display-flex flex-direction-row padding-3-4 margin-0"><calcite-button appearance=outline @click=${()=>this._closeSummaryChangePopup(!1)} width=full>${this._translations.cancelTheDialog}</calcite-button><calcite-button width=full @click=${()=>this._closeSummaryChangePopup(!0)}>${this._translations.ok}</calcite-button></div></calcite-popover>`}_closeSummaryChangePopup(t){console.log(t),this._editSummaryPopoverRef.value&&(this._editSummaryPopoverRef.value.open=!1)}_getEditNamePopover(t){return i`<calcite-popover .heading=${this._translations.updateSolutionName} .label=${this.card?.title||""} overlay-positioning=fixed .referenceElement=${t} ${s(this._editNamePopoverRef)}><calcite-input class="padding-3-4 margin-0 width-400" .value=${this.card?.title}></calcite-input><div class="display-flex flex-direction-row padding-3-4 margin-0"><calcite-button appearance=outline @click=${()=>this._closeNameChangePopup(!1)} width=full>${this._translations.cancelTheDialog}</calcite-button><calcite-button width=full @click=${()=>this._closeNameChangePopup(!0)}>${this._translations.ok}</calcite-button></div></calcite-popover>`}_closeNameChangePopup(t){console.log(t),this._editNamePopoverRef.value&&(this._editNamePopoverRef.value.open=!1)}_close(){this.open=!1}_cleanupPanel(){this._editSummaryPopoverRef.value?.open&&(this._editSummaryPopoverRef.value.open=!1),this._editNamePopoverRef.value?.open&&(this._editNamePopoverRef.value.open=!1)}};m("solution-configure-dialog",n);export{n as SolutionConfigureDialog};
|
@@ -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 Y}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as Y}from"./62WQV5YC.js";import{a as F}from"./2C7UE46M.js";import{a as w}from"./FIDPLPEF.js";import{a as J}from"./2ACF42ZR.js";import{a as W,b as H}from"./ZWYST46E.js";import{d as N,g as B,h as V,i as X}from"./GDYIFL6J.js";import{b as h,c as E}from"./QMREQGH3.js";import{m as u,p as T}from"./2TLMYAKF.js";import"./5M5TLNGP.js";import"./LOVLAODG.js";import"./P27R335T.js";import{b as S,d as C,f as R}from"./ROJGI2W3.js";import"./GO42R2CK.js";import{i as j}from"./T6ZDTQ2A.js";import"./VA7UARYI.js";import{a as m,c as M,e as P,i as l}from"./QCT6FXMR.js";import"./P7J4L36T.js";import"./4CVEF3SI.js";import"./ESBUX6NR.js";import{a as A,b as O}from"./NP7OH2ZI.js";import{s as L}from"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import{a as f}from"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{b as g}from"./UWXNPHTE.js";import"./TTOMCAES.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
|
@@ -1,7 +1,7 @@
|
|
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 k}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as k}from"./YUWAB65A.js";import"./4ASSBQRJ.js";import{g as s}from"./55NQUWEY.js";import{a as g,b as m}from"./DAJFINWG.js";import{b as y}from"./CPO6UAZQ.js";import{a as w}from"./UESCD5AB.js";import{D as p,c,d as l,n as a,p as d,y as n,z as o}from"./XR3GB5SE.js";import"./TTOMCAES.js";var _=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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 G}from"./Y2GJJZVT.js";import{a as L}from"./2CQ66JGS.js";import{c as K,d as _,e as U}from"./7XD5FYQH.js";import{l as j,p as P}from"./2N3SSEWE.js";import"./JSML77IB.js";import"./5FTGQPO5.js";import"./EUZPXNNK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import{a as S}from"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./B5TR3333.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import{w}from"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import{b as A}from"./VCK56OWN.js";import{a as c,b as p}from"./IEEVFYKM.js";import"./4RUO65YZ.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as G}from"./62WQV5YC.js";import{a as L}from"./2ACF42ZR.js";import{c as K,d as _,e as U}from"./QMREQGH3.js";import{l as j,p as P}from"./2TLMYAKF.js";import"./5M5TLNGP.js";import"./LOVLAODG.js";import"./GO42R2CK.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import{a as S}from"./QCT6FXMR.js";import"./P7J4L36T.js";import"./4CVEF3SI.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import{w}from"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{b as A}from"./STUHZQEZ.js";import{a as c,b as p}from"./X6YLW36Y.js";import"./TTOMCAES.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
@@ -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{d as e}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{d as e}from"./NP7OH2ZI.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l 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{a as X}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as X}from"./2ACF42ZR.js";import{a as s}from"./RZUGSVMP.js";import{c as x}from"./YZCZUMV2.js";import{a as J,b as H}from"./ZWYST46E.js";import{h as V,i as z}from"./GDYIFL6J.js";import{b as R,c as w}from"./QMREQGH3.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./2TLMYAKF.js";import"./5M5TLNGP.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./NRUKSPT4.js";import"./GO42R2CK.js";import{i as G}from"./T6ZDTQ2A.js";import"./VA7UARYI.js";import{a as p}from"./QCT6FXMR.js";import"./P7J4L36T.js";import"./4CVEF3SI.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import{k as O,s as j}from"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import{a as d}from"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./UWXNPHTE.js";import"./TTOMCAES.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
|
@@ -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 from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import a from"./VHDIRVUR.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=i(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=i(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function i(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},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{e as c}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{e as c}from"./4JAS7M3U.js";import{b as l}from"./CPO6UAZQ.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u as a};
|
@@ -1,7 +1,7 @@
|
|
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 c,b as n,c as y}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as c,b as n,c as y}from"./A3WJQEV7.js";import{a,b as s}from"./DAJFINWG.js";import{D as d,c as u,d as t,n as p,y as m}from"./XR3GB5SE.js";import"./TTOMCAES.js";var h=u`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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.
|
3
|
+
v1.0.6 */
|
4
4
|
var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
|
@@ -0,0 +1,18 @@
|
|
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 s,b as a}from"./DAJFINWG.js";import{a as d}from"./UESCD5AB.js";import{D as r,c as o,d as t,n,y as c}from"./XR3GB5SE.js";import"./TTOMCAES.js";var p=o`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/.display-flex{display:flex}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.width-full{width:100%}.justify-content-space{justify-content:space-between}`,l=class extends c{constructor(){super(...arguments),this.open=!1,this.templateInfos=[],this._displayTemplateInfos=[],this._translations=d({name:"solution-configure-titles",blocking:!0}),this._prefixRef=s(),this._prefixValue="",this._suffixRef=s(),this._suffixValue="",this.solutionConfigureTitlesBeforeClose=n()}static{this.properties={card:0,open:5,templateInfos:0,_displayTemplateInfos:16,_translations:16}}static{this.styles=p}willUpdate(e){e.has("templateInfos")&&this._updateTemplates()}load(){this._updateTemplates()}render(){let e=this._translations.configureTitlesDialogHeader.replace("{{solutionName}}",this.card.title);return t`<calcite-dialog .heading=${e} modal @calciteDialogBeforeClose=${()=>{this.solutionConfigureTitlesBeforeClose.emit()}} .open=${this.open} outside-close-disabled width=l>${this._getPrefixSuffixControls()}${this._getAccordion()}${this._getDialogButtons()}</calcite-dialog>`}_getPrefixSuffixControls(){return t`<div class="display-flex flex-direction-column padding-bottom-1"><calcite-label>${this._translations.addPrefixOrSuffixToItems}</calcite-label><div class="display-flex flex-direction-row justify-content-space"><calcite-label class="width-full padding-end-1">${this._translations.prefixToAddToItems}<calcite-input @input=${this._prefixInput} .placeholder=${this._translations.enterPrefixPlaceholder} ${a(this._prefixRef)}></calcite-input></calcite-label><calcite-label class="width-full">${this._translations.suffixToAddToItems}<calcite-input @input=${this._suffixInput} .placeholder=${this._translations.enterSuffixPlaceholder} ${a(this._suffixRef)}></calcite-input></calcite-label></div></div>`}_getAccordion(){return t`<div class="display-flex flex-direction-column"><calcite-label class="padding-bottom-1">${this._translations.previewTheChanges}</calcite-label><solution-item-accordion .templateInfos=${this._displayTemplateInfos}></solution-item-accordion></div>`}_getDialogButtons(){return t`<div slot=footer-end><calcite-button appearance=outline class="padding-end-1-2" kind=brand @click=${this._closeDialog}>${this._translations.cancelTheDialog}</calcite-button><calcite-button kind=brand @click=${this._commitNameChanges}>${this._translations.keepChangesAndCloseTheDialog}</calcite-button></div>`}_prefixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._prefixValue=this._prefixRef.value?.value||"",this._updateTemplates()},500)}_suffixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._suffixValue=this._suffixRef.value?.value||"",this._updateTemplates()},500)}_updateTemplates(){let e=JSON.parse(JSON.stringify(this.templateInfos));this._displayTemplateInfos=e.map(i=>(i.title=`${`${this._prefixValue} `}${i.title}${` ${this._suffixValue}`}`,i))}_closeDialog(){this.open=!1}_commitNameChanges(){console.log("Commit the name changes here")}};r("solution-configure-titles",l);export{l as SolutionConfigureTitles};
|
@@ -1,7 +1,7 @@
|
|
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 n}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as n}from"./PVPNQBWZ.js";import{b as I,c as b,d as v}from"./UASHMMAZ.js";import{a as i}from"./AVVTO725.js";import"./4ASSBQRJ.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import{g as a}from"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./55NQUWEY.js";import{a as f,b as _}from"./DAJFINWG.js";import{a as g}from"./UESCD5AB.js";import{D as m,c,d as o,f as r,p as u,y as d,z as p}from"./XR3GB5SE.js";import"./TTOMCAES.js";var y=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,18 @@
|
|
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 b from"./7ME4UIGX.js";import a from"./VHDIRVUR.js";import{c as p}from"./UV2M2RAL.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{a as l,b as h}from"./DAJFINWG.js";import{a as d}from"./UESCD5AB.js";import{B as i,D as c,c as o,d as t,x as n,y as r}from"./XR3GB5SE.js";import"./TTOMCAES.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:#151515}`,a=class extends r{constructor(){super(...arguments),this.authContextConsumer=n({context:p,subscribe:!0}),this.open=!1,this._translations=d({name:"solution-snapshot-gallery",blocking:!0}),this._displayText="",this._paginationControl=l(),this._screenshotNames=[],this._screenshots=[]}static{this.properties={authContextConsumer:0,card:0,screenshot:0,itemProperties:0,open:5,_translations:16}}static{this.styles=u}willUpdate(e){e.has("screenshot")&&this.screenshot&&(this._displayText=this.screenshot.alt),e.has("itemProperties")&&this.itemProperties&&(this._screenshots=this.itemProperties.preview,this._screenshotNames=this._screenshots.map(s=>s.name))}render(){return t`<calcite-dialog class="footer-override" .heading=${this.card?.title} modal @calciteDialogClose=${()=>this.open=!1} .open=${this.open} outside-close-disabled width=l>${this._getScreenshotView()}${this._getFooter()}</calcite-dialog>`}_getScreenshotView(){return this.screenshot?t`<div class="display-flex justify-content-center">${this._getImage(this.screenshot)}</div>`:""}_getFooter(){let e=this._screenshotNames.indexOf(this.screenshot?.name||"");return t`<div class="footer" slot=footer><div class="calcite-mode-dark display-flex align-items-center padding-start-1 padding-top-1-2 background-black"><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${e+1} total-items=${this.itemProperties?.preview.length??i} ${h(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`}_changeScreenshot(){this.screenshot=this._screenshots[this._paginationControl.value.startItem-1]}_getCards(){return t`<calcite-card-group class="card-group padding-1" label selection-mode=single>${this._screenshots.map(e=>t`<calcite-card class="footer-card" .label=${e.alt} @click=${()=>this._showScreenshot(e)} .selected=${e.name===this.screenshot?.name}>${this._getImage(e,"thumbnail")}</calcite-card>`)}</calcite-card-group>`}_getImage(e,s){return t`<img alt=${e.alt??i} slot=${s??i} src=${this._getSource(this.authContextConsumer.value,this.card?.id||"",e.name)??i}>`}_showScreenshot(e){this.screenshot=e}_getSource(e,s,m){return e?g(s||"",m,e):""}};c("solution-snapshot-gallery",a);return a},a,b)
|
@@ -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 n}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as n}from"./YVJDVYGA.js";import{a as s}from"./EJEJMEGK.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import{a as r,b as i}from"./LP4BQM2H.js";import"./4CVEF3SI.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import{a as o}from"./U4WC6C2F.js";import{a}from"./D6XX6KWD.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./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(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{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{a as P}from"./
|
3
|
+
v1.0.6 */
|
4
|
+
import{a as P}from"./4ASSBQRJ.js";import{$b as F,H as g,J as m,K as d,L as I,bc as y,cc as v,dc as R,e as n,ec as w,fc as T,mb as b,pa as S}from"./GHXC6C2C.js";import{b as o,h as _}from"./55NQUWEY.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
|