@esri/solutions-components 1.0.0-next.20250617 → 1.0.0-next.20250618
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/{TWHS2V27.js → 2244Y2MO.js} +2 -2
- package/dist/cdn/{JUGUXBAU.js → 24QKZMCL.js} +2 -2
- package/dist/cdn/{34WNAKCW.js → 25FHC6WS.js} +2 -2
- package/dist/cdn/{MXVBG7NG.js → 2FGKASUU.js} +2 -2
- package/dist/cdn/{GG4JQ4LZ.js → 2MR4I2BY.js} +2 -2
- package/dist/cdn/{XC5FDQDM.js → 2PNCS4ES.js} +2 -2
- package/dist/cdn/{JR4ZB7ZF.js → 2TVUME4P.js} +2 -2
- package/dist/cdn/{DRXKNSYY.js → 2VYLMG7R.js} +2 -2
- package/dist/cdn/{Y4FKX3ME.js → 2WLDVDNI.js} +2 -2
- package/dist/cdn/{7RZJV7XT.js → 2XEZFUUZ.js} +2 -2
- package/dist/cdn/{TDHBGUGG.js → 33FARYS4.js} +2 -2
- package/dist/cdn/{FUH66FCX.js → 374THQEK.js} +3 -3
- package/dist/cdn/{FB7RQWEB.js → 3IVUXC6K.js} +2 -2
- package/dist/cdn/{KH4WDPKH.js → 3K2M3ZJ7.js} +2 -2
- package/dist/cdn/{5QD2WYHE.js → 3NFWFQKJ.js} +2 -2
- package/dist/cdn/{7NHKBJT7.js → 3TMTXONC.js} +2 -2
- package/dist/cdn/{UHQRI5PF.js → 3UJWF2O4.js} +2 -2
- package/dist/cdn/{FLWFUOYJ.js → 3VJ4OJBR.js} +1 -1
- package/dist/cdn/3WZDTHDA.js +4 -0
- package/dist/cdn/{6GBOMWNM.js → 44HGIWYU.js} +2 -2
- package/dist/cdn/{QN47TVOF.js → 44R4RRIN.js} +2 -2
- package/dist/cdn/{4C5TKB2E.js → 4EDJBRS2.js} +1 -1
- package/dist/cdn/{HT6YSQA2.js → 4JOV276H.js} +2 -2
- package/dist/cdn/{CHD7DYO7.js → 4K5SMLME.js} +2 -2
- package/dist/cdn/{ZLNEIIRS.js → 4N5SFTZS.js} +1 -1
- package/dist/cdn/{MDUMP6WF.js → 4PQZIN5W.js} +2 -2
- package/dist/cdn/{3D65T4GL.js → 4SH5J6QB.js} +2 -2
- package/dist/cdn/{RH2ILZKZ.js → 4VAXISBH.js} +2 -2
- package/dist/cdn/{YTZNBIKI.js → 52DERCIP.js} +2 -2
- package/dist/cdn/{CFQ56QUP.js → 55D7LERM.js} +2 -2
- package/dist/cdn/{YC3SGSKF.js → 5CJ5UXZE.js} +2 -2
- package/dist/cdn/{5YOTYSSB.js → 5FC4XKJM.js} +2 -2
- package/dist/cdn/{RPNHGSB7.js → 5FQ3LHYT.js} +2 -2
- package/dist/cdn/{U5SM65RP.js → 5JQOX6HV.js} +2 -2
- package/dist/cdn/{J6BMZHED.js → 5NPT5B76.js} +2 -2
- package/dist/cdn/{5Y5FK43G.js → 5NR4JSYD.js} +1 -1
- package/dist/cdn/{23SLJ7VB.js → 5S6RNUPL.js} +1 -1
- package/dist/cdn/{ZQKLLV2Y.js → 5XE5QQBN.js} +1 -1
- package/dist/cdn/6BZNU2TA.js +4 -0
- package/dist/cdn/{KGMRYUMK.js → 6EDK7AMA.js} +2 -2
- package/dist/cdn/{GCNPYYYC.js → 6EXPZYAN.js} +2 -2
- package/dist/cdn/{VFIEMUU3.js → 6FURXZTX.js} +2 -2
- package/dist/cdn/{EQ7WODGK.js → 6SAVY66F.js} +1 -1
- package/dist/cdn/{NIV6YU2O.js → 6V6EVZXQ.js} +2 -2
- package/dist/cdn/{3T76VDUN.js → 6XWKSRVY.js} +2 -2
- package/dist/cdn/{E2QXOBX4.js → 6YBZSHGK.js} +2 -2
- package/dist/cdn/{XXXT6FMN.js → 74YGVXNR.js} +2 -2
- package/dist/cdn/{YAHBTL66.js → 7GMUS2LS.js} +1 -1
- package/dist/cdn/{2KQPNSYF.js → 7PM3GU7K.js} +2 -2
- package/dist/cdn/{FR2M6XQY.js → 7WZU2DWQ.js} +2 -2
- package/dist/cdn/{XBDIYDRM.js → 7XTA2OC4.js} +2 -2
- package/dist/cdn/{WSCYT5CC.js → 7XTAIDC7.js} +2 -2
- package/dist/cdn/{ST2OLLSL.js → A4TDLONO.js} +2 -2
- package/dist/cdn/{QM4ZDGZ6.js → ABBIOVTY.js} +2 -2
- package/dist/cdn/{7X4XXKUK.js → ACNKDAEK.js} +2 -2
- package/dist/cdn/{NRHTETGA.js → AFZHAYZU.js} +2 -2
- package/dist/cdn/{RYXSMF2R.js → AIU4AH74.js} +2 -2
- package/dist/cdn/{X2SAYFTJ.js → AM6U5KXG.js} +2 -2
- package/dist/cdn/{IJXW2QHI.js → AUFISDUF.js} +2 -2
- package/dist/cdn/{AGVGDK74.js → B455LJUS.js} +2 -2
- package/dist/cdn/{VGF62Y4X.js → BAPCWA5D.js} +1 -1
- package/dist/cdn/{JAPFIMJD.js → BCBHVM7D.js} +1 -1
- package/dist/cdn/{QWSSQKLR.js → BFY7IDVP.js} +2 -2
- package/dist/cdn/{RZG4BYGD.js → BMAKHKN7.js} +2 -2
- package/dist/cdn/{KN2RLNLK.js → BNFPGA7K.js} +2 -2
- package/dist/cdn/{GTR72B5F.js → BOSCZ675.js} +2 -2
- package/dist/cdn/{T4CKSGEI.js → BRZVBJCV.js} +2 -2
- package/dist/cdn/{FU37TCTJ.js → BUOXTJUP.js} +2 -2
- package/dist/cdn/{Y7STMNJM.js → BX7KWN5V.js} +2 -2
- package/dist/cdn/{SQFSRSP3.js → BXQJDMPG.js} +2 -2
- package/dist/cdn/{7HGVPHDS.js → BYLNGYZM.js} +2 -2
- package/dist/cdn/{VUQCDDWE.js → C2U5I6SG.js} +2 -2
- package/dist/cdn/{X3AE5WWK.js → C3NFGCVR.js} +2 -2
- package/dist/cdn/{7PDVOTF3.js → C63JBRL7.js} +2 -2
- package/dist/cdn/{W2J4GUF6.js → C6KHQNY4.js} +2 -2
- package/dist/cdn/{A6HCD5ST.js → C6VO4ZTH.js} +1 -1
- package/dist/cdn/{XPYF6XIL.js → CA46MKTG.js} +2 -2
- package/dist/cdn/{ZEM4BHGM.js → CHG7NEXI.js} +2 -2
- package/dist/cdn/{MIMUA7CO.js → CNUSPWTX.js} +2 -2
- package/dist/cdn/{KQJONR6F.js → CPPGUGUJ.js} +2 -2
- package/dist/cdn/{HFIXE6U7.js → CWJEUFSX.js} +2 -2
- package/dist/cdn/{G74NUZJA.js → CXFSUXVU.js} +1 -1
- package/dist/cdn/{7ZWOBQSP.js → D2UQQP3J.js} +1 -1
- package/dist/cdn/{UHIXSJW2.js → D4VNGPET.js} +2 -2
- package/dist/cdn/{ODWDWNPS.js → D4Z5SEOU.js} +2 -2
- package/dist/cdn/{45FDLCNN.js → DEMETEO5.js} +2 -2
- package/dist/cdn/{TZ6NWBWT.js → DGMUEXX5.js} +2 -2
- package/dist/cdn/{SAICGJDS.js → DGX3VNBF.js} +2 -2
- package/dist/cdn/{JODAN55H.js → DIBSSNLF.js} +2 -2
- package/dist/cdn/{QEF6IQG7.js → DKDDSSZO.js} +1 -1
- package/dist/cdn/{4VT2OWZP.js → DNTD5DIN.js} +2 -2
- package/dist/cdn/{XWNBGTCT.js → DQFV5W24.js} +2 -2
- package/dist/cdn/{CWUG3WIL.js → DRFV4N6J.js} +1 -1
- package/dist/cdn/{GBNODDNY.js → DWJVRI4L.js} +2 -2
- package/dist/cdn/{ET4NBO5I.js → EAXBLKRL.js} +2 -2
- package/dist/cdn/{OFFLTW5Q.js → EI7IFIR5.js} +2 -2
- package/dist/cdn/{CTYIRMIE.js → ENXXOCBV.js} +2 -2
- package/dist/cdn/{M5SMNJVJ.js → EQ6HIJ73.js} +1 -1
- package/dist/cdn/{U3ZLFYFE.js → EQAAMDKN.js} +2 -2
- package/dist/cdn/{EGNJUJ3S.js → EQREWO2C.js} +2 -2
- package/dist/cdn/{NEQT7BAW.js → EU2AABK5.js} +2 -2
- package/dist/cdn/{PXA7JSQN.js → EWJGPFTB.js} +2 -2
- package/dist/cdn/{3I463GKJ.js → F2YS2KUB.js} +2 -2
- package/dist/cdn/{JSGJKBAR.js → F4OUREFO.js} +2 -2
- package/dist/cdn/{YPO7QQSX.js → F5A3JXRF.js} +2 -2
- package/dist/cdn/{YXTRE2YJ.js → FBYRFPWQ.js} +1 -1
- package/dist/cdn/{NYMSLH3X.js → FCGCC64A.js} +1 -1
- package/dist/cdn/{W2JRAIBN.js → FI7JBBNV.js} +2 -2
- package/dist/cdn/{APOYUTRC.js → FMKTLZLW.js} +2 -2
- package/dist/cdn/{KDEENWCA.js → FNC6JCNV.js} +2 -2
- package/dist/cdn/{GG4SX5PP.js → FWHLFA72.js} +2 -2
- package/dist/cdn/{4KBOUR7Q.js → FXD5UJQZ.js} +2 -2
- package/dist/cdn/{D4PB3INZ.js → GGASZ5GX.js} +2 -2
- package/dist/cdn/{VXAH3SBE.js → GH4AB7FC.js} +2 -2
- package/dist/cdn/{OXCS5WE7.js → GJ7VFIAL.js} +2 -2
- package/dist/cdn/{YFAJKSIJ.js → GK64B4Y5.js} +1 -1
- package/dist/cdn/{YYVGZLUY.js → GKUP7YBW.js} +2 -2
- package/dist/cdn/{GE6MW6X7.js → GPWOBF4O.js} +2 -2
- package/dist/cdn/{6WBKKEZS.js → GQZJXEOJ.js} +2 -2
- package/dist/cdn/{XXETI3KO.js → GUAZDGXF.js} +2 -2
- package/dist/cdn/{4JWOEC2M.js → GXE3T5ME.js} +2 -2
- package/dist/cdn/GYB5EHKN.js +4 -0
- package/dist/cdn/{JN7BZX67.js → H3LTFVD3.js} +2 -2
- package/dist/cdn/{4WDFKQEA.js → H5NYMCNF.js} +1 -1
- package/dist/cdn/{56ISVXIJ.js → H7KRIZYY.js} +2 -2
- package/dist/cdn/{C3XUGR74.js → HCQWDC5Y.js} +2 -2
- package/dist/cdn/{7DC5NLKU.js → HDN3HX4F.js} +4 -4
- package/dist/cdn/{6H5FB6VZ.js → HE52H5T7.js} +2 -2
- package/dist/cdn/{YQHOGUAB.js → HR52TSAG.js} +2 -2
- package/dist/cdn/{RZW76EPS.js → HS44A7DV.js} +2 -2
- package/dist/cdn/{NZ4G3J4W.js → I223WFEJ.js} +2 -2
- package/dist/cdn/{4SMFTIY3.js → I3FMSIRV.js} +2 -2
- package/dist/cdn/{WV5PNDYS.js → I42ZIETY.js} +2 -2
- package/dist/cdn/{MDVV5SFY.js → I7DZRYJ4.js} +2 -2
- package/dist/cdn/{FP4BJITS.js → INYQWKVM.js} +2 -2
- package/dist/cdn/{3STPIIWZ.js → IOQRMBVE.js} +2 -2
- package/dist/cdn/{GXDC6HF3.js → IRYLEP5E.js} +2 -2
- package/dist/cdn/{O44HTFM7.js → ISHMKYCT.js} +2 -2
- package/dist/cdn/{WWTBSPVE.js → IWMOD5XS.js} +1 -1
- package/dist/cdn/{U2REM5I2.js → J646NFBU.js} +2 -2
- package/dist/cdn/{62EGHAKX.js → JHMQASWG.js} +2 -2
- package/dist/cdn/{ZALM4GKT.js → JJUGJ2NQ.js} +2 -2
- package/dist/cdn/{CJWPNHT5.js → JLQQYQLO.js} +1 -1
- package/dist/cdn/{3TMPTQB4.js → JQ3EXPCH.js} +2 -2
- package/dist/cdn/{DBS3O4G2.js → JSZS4YMI.js} +2 -2
- package/dist/cdn/{JVRMDOQX.js → JVSLJLHC.js} +2 -2
- package/dist/cdn/{X3AKU22A.js → JZSLUW6H.js} +1 -1
- package/dist/cdn/{JMAXO5DC.js → KM37RWWT.js} +1 -1
- package/dist/cdn/{QPIMZ33P.js → KNYCOY2Y.js} +2 -2
- package/dist/cdn/{2AH2EXXK.js → KPRXODCN.js} +1 -1
- package/dist/cdn/KTQP6SYQ.js +4 -0
- package/dist/cdn/{KOEYYEBE.js → KWW7BGHU.js} +2 -2
- package/dist/cdn/{G27WERLL.js → L3GNYUZS.js} +2 -2
- package/dist/cdn/{XFCORTAZ.js → L7ILT6B2.js} +2 -2
- package/dist/cdn/{E3TL2DBA.js → L7UWX4OU.js} +1 -1
- package/dist/cdn/{JEVZQVK6.js → LE3S7LTK.js} +2 -2
- package/dist/cdn/{JKUWGRYW.js → LES5OEWI.js} +2 -2
- package/dist/cdn/{7NE5MFIJ.js → LKVPVDSP.js} +2 -2
- package/dist/cdn/{PXQEVSLR.js → LNKNTWPS.js} +2 -2
- package/dist/cdn/{RPTQP67O.js → LOKBQU54.js} +2 -2
- package/dist/cdn/{E332CUZ6.js → LOXXCK32.js} +2 -2
- package/dist/cdn/LUUUOSAV.js +4 -0
- package/dist/cdn/{KPXDUVQE.js → M3AWJV2X.js} +2 -2
- package/dist/cdn/{NOZF3HXH.js → MCNJCP36.js} +1 -1
- package/dist/cdn/{ECSBAOVQ.js → MEXVBPZO.js} +2 -2
- package/dist/cdn/{AIOSZAZF.js → MIGXPLDO.js} +2 -2
- package/dist/cdn/{ORJL7PD3.js → MIIAMCI3.js} +2 -2
- package/dist/cdn/{DPWQI5EE.js → ML4HH2XO.js} +2 -2
- package/dist/cdn/{WTE6KQ7N.js → N2LVCOS2.js} +2 -2
- package/dist/cdn/{X3MUBCUO.js → N4N2PUAH.js} +2 -2
- package/dist/cdn/{AZ5LBZCX.js → NBZYGS2Y.js} +2 -2
- package/dist/cdn/{OMM3CGWL.js → ND56OQM6.js} +2 -2
- package/dist/cdn/{IZXMY3D6.js → ND5MBWWM.js} +2 -2
- package/dist/cdn/{NU6XPDWP.js → NEDXNA46.js} +2 -2
- package/dist/cdn/{QBLUXYG3.js → NKC3NX4V.js} +2 -2
- package/dist/cdn/{SBK24IH4.js → NL35B74B.js} +2 -2
- package/dist/cdn/{CS57BYGF.js → NLQHFP2V.js} +2 -2
- package/dist/cdn/{ZEHDGNFH.js → NOEB4RRW.js} +3 -3
- package/dist/cdn/NUITK3CM.js +4 -0
- package/dist/cdn/{XV7QZVVT.js → NZZDCUMO.js} +2 -2
- package/dist/cdn/{ZKLL3OJA.js → O4P2M4CZ.js} +2 -2
- package/dist/cdn/{4M2BSB7U.js → ODI4ESEW.js} +1 -1
- package/dist/cdn/{BC4GIYFT.js → OEPIVYUB.js} +2 -2
- package/dist/cdn/{E7KHHNTK.js → ONVDNXC7.js} +1 -1
- package/dist/cdn/{K56FFFW5.js → ORUFW7OP.js} +2 -2
- package/dist/cdn/{MIMZVJUI.js → OTWYBSQC.js} +2 -2
- package/dist/cdn/{XMVLG6HD.js → OXLLAXGS.js} +2 -2
- package/dist/cdn/{MMJSWPYV.js → PEHYETIA.js} +2 -2
- package/dist/cdn/{YOYLE2Y7.js → PEJJRGU6.js} +2 -2
- package/dist/cdn/{RCH6FSOO.js → PHNTRSWP.js} +2 -2
- package/dist/cdn/{MNGRHV3C.js → PLXLQ3CQ.js} +2 -2
- package/dist/cdn/PQ3QQ2DX.js +18 -0
- package/dist/cdn/{5KG3QK35.js → PTQDMYK2.js} +1 -1
- package/dist/cdn/{XS2LVLSG.js → PWYGDLAO.js} +2 -2
- package/dist/cdn/{QRUZMTIP.js → PXVQ4MS7.js} +1 -1
- package/dist/cdn/{Z5XAYA6T.js → PZXL5JWK.js} +2 -2
- package/dist/cdn/{Y4JZMAHN.js → Q4XPLYRK.js} +2 -2
- package/dist/cdn/{L3UTUT76.js → QDCFIPUZ.js} +2 -2
- package/dist/cdn/{VVQR44OF.js → QMUCWJBP.js} +2 -2
- package/dist/cdn/{ZHVU6T4C.js → QW5IVKR3.js} +2 -2
- package/dist/cdn/{ONEL4IUL.js → RAWSWD7G.js} +1 -1
- package/dist/cdn/{26ZUUXBG.js → RC3Q3RXK.js} +1 -1
- package/dist/cdn/{BWVCIRSV.js → REYE7QSP.js} +2 -2
- package/dist/cdn/{K5ABIFBZ.js → RFO7GXOU.js} +1 -1
- package/dist/cdn/RJTFNQCX.js +4 -0
- package/dist/cdn/{PJGGTO5X.js → RKVT7IG3.js} +1 -1
- package/dist/cdn/{72CGZFMP.js → RLKPDTX4.js} +1 -1
- package/dist/cdn/{IOXJ3A2P.js → RNAXM3HG.js} +2 -2
- package/dist/cdn/{SEOLYYSL.js → RNCHLAHC.js} +1 -1
- package/dist/cdn/{X2LIRIPY.js → RTUHEWZ2.js} +2 -2
- package/dist/cdn/{SNW2FGGO.js → RYDUEVW4.js} +2 -2
- package/dist/cdn/{QON63AM4.js → SCAFPUFM.js} +2 -2
- package/dist/cdn/{SSOLG3Y2.js → SEDBVNWJ.js} +2 -2
- package/dist/cdn/{YP66ITI3.js → SHWVKFYE.js} +2 -2
- package/dist/cdn/{O3PFSVNL.js → SJT6JTUS.js} +2 -2
- package/dist/cdn/{QLJVM7OF.js → SLMYC2BZ.js} +2 -2
- package/dist/cdn/{5XHVWCO6.js → SOI2KF4J.js} +1 -1
- package/dist/cdn/{Z766ANKV.js → SOSQZMAV.js} +2 -2
- package/dist/cdn/{YWSZQENR.js → SQW3C6SV.js} +2 -2
- package/dist/cdn/{66WN3RYD.js → STLC6O54.js} +2 -2
- package/dist/cdn/{ZMFMZN4O.js → SUG4ZWOX.js} +2 -2
- package/dist/cdn/{UCGYV5X2.js → SVHKJM4Z.js} +2 -2
- package/dist/cdn/{EY7XWBLO.js → T4G7UDTD.js} +2 -2
- package/dist/cdn/{5I7W3EVF.js → TAMNRSJC.js} +1 -1
- package/dist/cdn/{M2C5ICZU.js → TBF3A2JM.js} +2 -2
- package/dist/cdn/{XETQL72A.js → TNT7W35H.js} +2 -2
- package/dist/cdn/{RZQ3XTXE.js → TQDMQEZW.js} +2 -2
- package/dist/cdn/{45NO45YW.js → TQZKMCLT.js} +2 -2
- package/dist/cdn/{C2UHPVJ7.js → TTJCLLYP.js} +2 -2
- package/dist/cdn/{UWFNWLHE.js → TWFPTVX7.js} +2 -2
- package/dist/cdn/{3I5AXQ7L.js → TZ6WSXOI.js} +2 -2
- package/dist/cdn/{LOADKJYI.js → U6BMGUYM.js} +2 -2
- package/dist/cdn/{663C7SFX.js → UBJU2THW.js} +2 -2
- package/dist/cdn/{YTJ7HTKE.js → UDYGXKHM.js} +2 -2
- package/dist/cdn/{H3HHGV2X.js → ULFGT4R7.js} +2 -2
- package/dist/cdn/{P3F24FWE.js → UPKWDR5L.js} +2 -2
- package/dist/cdn/{CKXRT6SG.js → UPNQ6TPG.js} +2 -2
- package/dist/cdn/{CY5FNQOJ.js → UQSOC5MG.js} +2 -2
- package/dist/cdn/{ECULEWGH.js → UTVZOV34.js} +2 -2
- package/dist/cdn/{CXS4F2DV.js → V23K3N7V.js} +2 -2
- package/dist/cdn/{KLMBCZZV.js → V44QI423.js} +2 -2
- package/dist/cdn/{2PGNVSWS.js → V4RAUR7Y.js} +2 -2
- package/dist/cdn/{XX5VK7YW.js → VED422NC.js} +2 -2
- package/dist/cdn/{RFZL3BPN.js → VGHIMU7N.js} +2 -2
- package/dist/cdn/{M25C7SPS.js → VHUYPEZN.js} +2 -2
- package/dist/cdn/{5A4UHYB4.js → VSIFE3SH.js} +2 -2
- package/dist/cdn/{RADAXSM4.js → VTIGVKIS.js} +2 -2
- package/dist/cdn/{FK572HEF.js → VU7QI6OD.js} +2 -2
- package/dist/cdn/{E4BZSDPW.js → VZ726QB2.js} +2 -2
- package/dist/cdn/{RGQ4OULC.js → W3NB425M.js} +2 -2
- package/dist/cdn/{Y7TBVJF7.js → W4RLT3O3.js} +2 -2
- package/dist/cdn/{ZLEV5BXG.js → W6NQLDGV.js} +2 -2
- package/dist/cdn/{FPYQ7DSX.js → WAEKIWCS.js} +2 -2
- package/dist/cdn/{4UKO7OSP.js → WFISTQRC.js} +2 -2
- package/dist/cdn/{PZ7BAHDM.js → WGZW544H.js} +2 -2
- package/dist/cdn/{4ZSGJARJ.js → WHS25D4U.js} +2 -2
- package/dist/cdn/{3QX3UFD6.js → WLFEE6M6.js} +2 -2
- package/dist/cdn/{D4Y3AUY2.js → WMXABBDN.js} +1 -1
- package/dist/cdn/{VGR6QIVC.js → WTKAMWU5.js} +2 -2
- package/dist/cdn/{ZTDTHNVK.js → WUT2ZZ3H.js} +2 -2
- package/dist/cdn/XSFAEVZR.js +4 -0
- package/dist/cdn/{6GUN3P64.js → XXZWFBWQ.js} +2 -2
- package/dist/cdn/{GQX5XJTO.js → XZJE3HMV.js} +1 -1
- package/dist/cdn/{VVSCYCWZ.js → Y43ESBMM.js} +2 -2
- package/dist/cdn/{66U7ORWN.js → Y6PI7UZQ.js} +1 -1
- package/dist/cdn/{TYBAUCOP.js → YCPBEFQ6.js} +1 -1
- package/dist/cdn/{2LNASR4M.js → YGV3NAYM.js} +2 -2
- package/dist/cdn/{FDD2C7HC.js → YN2RPACQ.js} +2 -2
- package/dist/cdn/{66VX5BMO.js → YPJNVXLV.js} +2 -2
- package/dist/cdn/{SRPLV7IE.js → YXJHWCOM.js} +2 -2
- package/dist/cdn/{QK3KOLNR.js → YY6IVALJ.js} +2 -2
- package/dist/cdn/{T33ZZ5EE.js → YZSSPKU4.js} +2 -2
- package/dist/cdn/{WL25ONRI.js → Z2JYQSV7.js} +1 -1
- package/dist/cdn/{KHZGUMKZ.js → Z4L3MA4P.js} +2 -2
- package/dist/cdn/ZD3B5CQI.js +18 -0
- package/dist/cdn/{MUM6BOFC.js → ZGCTEB2Y.js} +2 -2
- package/dist/cdn/{ZUGIMBLM.js → ZJJOMQAI.js} +2 -2
- package/dist/cdn/{LMTJNGRW.js → ZKWRIM7W.js} +2 -2
- package/dist/cdn/{KRXUWGCU.js → ZLGDVCWF.js} +2 -2
- package/dist/cdn/{Q7AKL3XU.js → ZQQTCO2U.js} +2 -2
- package/dist/cdn/{IYSPFCXD.js → ZRX5NPWE.js} +2 -2
- package/dist/cdn/{XOF7OPE4.js → ZSXYETQI.js} +2 -2
- package/dist/cdn/{AN2RKGOC.js → ZXOCAHX5.js} +2 -2
- package/dist/cdn/{K6EYSWK3.js → ZYS5MFJN.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- 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 +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- 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 +1 -1
- 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 +8 -7
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +61 -49
- 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 +12 -12
- 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 +52 -48
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +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-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/5AMRUYMU.js +0 -4
- package/dist/cdn/HPN5RP5D.js +0 -4
- package/dist/cdn/LCPJZHPD.js +0 -18
- package/dist/cdn/LSSHDVVX.js +0 -4
- package/dist/cdn/SJYYUO6H.js +0 -4
- package/dist/cdn/WLIQRMY7.js +0 -18
- package/dist/cdn/WYML4KIE.js +0 -4
- package/dist/cdn/XI2AVQC6.js +0 -4
- package/dist/cdn/XKPIYHWA.js +0 -4
- package/dist/cdn/YIKZB4ZA.js +0 -4
@@ -5,7 +5,7 @@ import { LitElement as l, createEvent as c } from "@arcgis/lumina";
|
|
5
5
|
import { css as o } from "@lit/reactive-element/css-tag.js";
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
7
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
8
|
-
v1.0.0-next.
|
8
|
+
v1.0.0-next.20250618 */
|
9
9
|
const h = o`/** @license
|
10
10
|
* Copyright 2025 Esri
|
11
11
|
*
|
@@ -10,7 +10,7 @@ import { c as x } from "../../chunks/helpers.js";
|
|
10
10
|
import { request as P, getWorkflowBaseURL as b, getWorkflowManagerAuthorized as N } from "@esri/solution-common";
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
12
12
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
13
|
-
v1.0.0-next.
|
13
|
+
v1.0.0-next.20250618 */
|
14
14
|
const F = v`/** @license
|
15
15
|
* Copyright 2025 Esri
|
16
16
|
*
|
@@ -10,7 +10,7 @@ import { createRef as C, ref as k } from "lit/directives/ref.js";
|
|
10
10
|
import { A as $ } from "../../chunks/Auth.js";
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
12
12
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
13
|
-
v1.0.0-next.
|
13
|
+
v1.0.0-next.20250618 */
|
14
14
|
const P = m`/** @license
|
15
15
|
* Copyright 2025 Esri
|
16
16
|
*
|
@@ -5,7 +5,7 @@ import { LitElement as s, noShadowRoot as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as o } from "@lit/reactive-element/css-tag.js";
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
7
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
8
|
-
v1.0.0-next.
|
8
|
+
v1.0.0-next.20250618 */
|
9
9
|
const r = o`@layer{/** @license
|
10
10
|
* Copyright 2025 Esri
|
11
11
|
*
|
@@ -5,7 +5,7 @@ import { LitElement as i, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
7
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
8
|
-
v1.0.0-next.
|
8
|
+
v1.0.0-next.20250618 */
|
9
9
|
const r = n`@layer{/** @license
|
10
10
|
* Copyright 2025 Esri
|
11
11
|
*
|
@@ -5,7 +5,7 @@ import { LitElement as i, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
7
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
8
|
-
v1.0.0-next.
|
8
|
+
v1.0.0-next.20250618 */
|
9
9
|
const r = n`@layer{/** @license
|
10
10
|
* Copyright 2025 Esri
|
11
11
|
*
|
@@ -9,7 +9,7 @@ import { B as r, p as y, q as C, r as f } from "../../chunks/interfaces.js";
|
|
9
9
|
import { g as S } from "../../chunks/privilegeUtils.js";
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
11
11
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
12
|
-
v1.0.0-next.
|
12
|
+
v1.0.0-next.20250618 */
|
13
13
|
const w = m`/** @license
|
14
14
|
* Copyright 2025 Esri
|
15
15
|
*
|
@@ -9,7 +9,7 @@ import { createRef as S, ref as w } from "lit/directives/ref.js";
|
|
9
9
|
import { A as $ } from "../../chunks/Auth.js";
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
11
11
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
12
|
-
v1.0.0-next.
|
12
|
+
v1.0.0-next.20250618 */
|
13
13
|
const k = b`/** @license
|
14
14
|
* Copyright 2025 Esri
|
15
15
|
*
|
@@ -7,7 +7,7 @@ import { css as E } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
import { r as y, p as h } from "../../chunks/interfaces.js";
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
9
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
10
|
-
v1.0.0-next.
|
10
|
+
v1.0.0-next.20250618 */
|
11
11
|
const F = E`@layer{/** @license
|
12
12
|
* Copyright 2025 Esri
|
13
13
|
*
|
@@ -6,7 +6,7 @@ import { LitElement as E, createEvent as o, noShadowRoot as b, safeClassMap as y
|
|
6
6
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
8
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
9
|
-
v1.0.0-next.
|
9
|
+
v1.0.0-next.20250618 */
|
10
10
|
/**
|
11
11
|
* @license
|
12
12
|
* Copyright 2025 Esri
|
@@ -4,7 +4,7 @@ import { g as o, a as n } from "../../chunks/templates.js";
|
|
4
4
|
import { LitElement as i, createEvent as l, noShadowRoot as u } from "@arcgis/lumina";
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
6
6
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
7
|
-
v1.0.0-next.
|
7
|
+
v1.0.0-next.20250618 */
|
8
8
|
class c extends i {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments), this.value = "", this.templates = [], this.stateLoaded = l();
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"name": "@esri/solutions-components",
|
4
|
-
"version": "1.0.0-next.
|
4
|
+
"version": "1.0.0-next.20250618",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
package/dist/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { g as e, s as a } from "./chunks/runtime.js";
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
4
|
-
v1.0.0-next.
|
4
|
+
v1.0.0-next.20250618 */
|
5
5
|
export {
|
6
6
|
e as getAssetPath,
|
7
7
|
a as setAssetPath
|
package/dist/loader.js
CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
2
2
|
import { makeDefineCustomElements as o } from "@arcgis/lumina";
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
4
4
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
5
|
-
v1.0.0-next.
|
5
|
+
v1.0.0-next.20250618 */
|
6
6
|
const l = o(e, {
|
7
7
|
"arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "AIServerUrl,token"],
|
8
8
|
"basemap-gallery": [() => import("./components/basemap-gallery/customElement.js"), "basemapConfig:,basemapWidget:,mapView:"],
|
package/package.json
CHANGED
package/dist/cdn/5AMRUYMU.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a}from"./2LNASR4M.js";import"./5Y5FK43G.js";import"./62EGHAKX.js";import"./QLJVM7OF.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import"./G74NUZJA.js";import"./QEF6IQG7.js";export{a as buildUiSchema};
|
package/dist/cdn/HPN5RP5D.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a,b}from"./ECULEWGH.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/LCPJZHPD.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{d as w,e as L}from"./SAICGJDS.js";import"./D4Y3AUY2.js";import"./E3TL2DBA.js";import{a as p,b as m}from"./YTJ7HTKE.js";import{b as V}from"./4C5TKB2E.js";import{a as b}from"./663C7SFX.js";import{D as v,c as y,d as l,n as h,p as f,y as M,z as c}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var E=y`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=p(),this._isSubmitBtnClicked=!1,this._mapViewContainer=p(),this._searchDiv=p(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=E}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${m(this._calciteNotice)}><div slot=message>${d}</div></calcite-notice>`||""}<calcite-loader class=${c(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${c(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${m(this._searchDiv)}></div>`||""}<div class=${c(s)} ${m(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await V(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t)this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements();else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,S=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=S}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
|
package/dist/cdn/LSSHDVVX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a,b}from"./W2J4GUF6.js";import"./G74NUZJA.js";import"./QEF6IQG7.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
package/dist/cdn/SJYYUO6H.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a as O}from"./EQ7WODGK.js";import{e as _}from"./YFAJKSIJ.js";import{a as l,f as p}from"./PJGGTO5X.js";import"./4M2BSB7U.js";import"./QEF6IQG7.js";function C(e,a){let i=[];return O(e,(t,c)=>(c.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let c=q(a),r,u,s,m,d;switch(c){case"stat":s=import("./YP66ITI3.js"),m={"hub:card:stat":()=>import("./VVSCYCWZ.js")}[a],await Promise.all([s,m()]).then(async([f,o])=>{let{MetricSchema:n}=f;r=l(n),u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(d=o.buildDefaults(e,i,t))});break;case"follow":s=import("./5QD2WYHE.js"),m={"hub:card:follow":()=>import("./SBK24IH4.js")}[a],await Promise.all([s,m()]).then(([f,o])=>{let{FollowSchema:n}=f;r=l(n),u=o.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./XFCORTAZ.js"),m=import("./KLMBCZZV.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:c}=a;t.maxLength=_(c);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:c}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let c=a.split(":")[1],r,u,s;switch(c){case"site":let{getSiteSchema:m}=await import("./YYVGZLUY.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./Y7TBVJF7.js"),"hub:site:create":()=>import("./XMVLG6HD.js"),"hub:site:followers":()=>import("./ZEM4BHGM.js"),"hub:site:discussions":()=>import("./C2UHPVJ7.js"),"hub:site:settings":()=>import("./NZ4G3J4W.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./UHIXSJW2.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./SSOLG3Y2.js"),"hub:discussion:create":()=>import("./MDUMP6WF.js"),"hub:discussion:settings":()=>import("./KN2RLNLK.js"),"hub:discussion:settings:discussions":()=>import("./VVQR44OF.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./LSSHDVVX.js");r=l(f);let o=await{"hub:channel:edit":()=>import("./2PGNVSWS.js"),"hub:channel:create":()=>import("./5AMRUYMU.js")}[a]();u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(s=await o.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./HPN5RP5D.js");r=l(n);let v=await{"hub:project:edit":()=>import("./RH2ILZKZ.js"),"hub:project:create":()=>import("./5A4UHYB4.js"),"hub:project:create2":()=>import("./7PDVOTF3.js"),"hub:project:metrics":()=>import("./X3MUBCUO.js"),"hub:project:settings":()=>import("./KGMRYUMK.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./XKPIYHWA.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./WSCYT5CC.js"),"hub:initiative:create":()=>import("./GCNPYYYC.js"),"hub:initiative:create2":()=>import("./EGNJUJ3S.js"),"hub:initiative:metrics":()=>import("./ZUGIMBLM.js"),"hub:initiative:associations":()=>import("./ZTDTHNVK.js"),"hub:initiative:settings":()=>import("./QK3KOLNR.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./MIMZVJUI.js");r=l(I);let D=await{"hub:page:edit":()=>import("./VGR6QIVC.js"),"hub:page:create":()=>import("./4UKO7OSP.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./XS2LVLSG.js");r=l(K);let U=await{"hub:content:edit":()=>import("./4JWOEC2M.js"),"hub:content:discussions":()=>import("./SQFSRSP3.js"),"hub:content:settings":()=>import("./2KQPNSYF.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./ST2OLLSL.js");r=l(y);let k=await{"hub:template:edit":()=>import("./WV5PNDYS.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./YIKZB4ZA.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./JN7BZX67.js"),"hub:group:create:association":()=>import("./UWFNWLHE.js"),"hub:group:create:view":()=>import("./PXQEVSLR.js"),"hub:group:create:edit":()=>import("./E332CUZ6.js"),"hub:group:create":()=>import("./XC5FDQDM.js"),"hub:group:edit":()=>import("./ZKLL3OJA.js"),"hub:group:settings":()=>import("./5YOTYSSB.js"),"hub:group:discussions":()=>import("./4KBOUR7Q.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./FB7RQWEB.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./CHD7DYO7.js"),"hub:survey:settings":()=>import("./NU6XPDWP.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./WYML4KIE.js"),"hub:event:edit":()=>import("./Y4JZMAHN.js"),"hub:event:registrants":()=>import("./YWSZQENR.js")}[a](),H=await{"hub:event:create":()=>import("./QON63AM4.js"),"hub:event:edit":()=>import("./3I5AXQ7L.js"),"hub:event:registrants":()=>import("./Q7AKL3XU.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./DBS3O4G2.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./LOADKJYI.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./YTZNBIKI.js");r=l(N);let P=await{"hub:user:settings":()=>import("./SRPLV7IE.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
package/dist/cdn/WLIQRMY7.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a as E}from"./3TMPTQB4.js";import"./D4PB3INZ.js";import{a as C,c as m,d,e as _,f as S,g as x}from"./SAICGJDS.js";import"./D4Y3AUY2.js";import{b as $}from"./E3TL2DBA.js";import{a as n,b as o}from"./YTJ7HTKE.js";import{b as I}from"./4C5TKB2E.js";import{a as v}from"./663C7SFX.js";import{D as F,c as w,d as a,f as p,n as y,p as b,y as L,z as u}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var P=w`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,f=class extends L{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=n(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=n(),this._featureList=n(),this._selectedRelatedFeature=[],this._filterList=n(),this._layerList=n(),this._createRelatedFeature=n(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=n(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=n(),this._commentSubmittedAlertNode=n(),this._sortPopoverNode=n(),this.togglePanel=y(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=P}static{this.shadowRootOptions=b}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList.value?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList.value!=null)await this._filterList.value.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`${this._reportSubmitted&&a`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&a`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await I(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`<calcite-panel class=${`width-full ${t}`}>${this.mapView?a`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:a`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&a`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&a`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList.value?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList.value?.filterCount>0)}} reset-btn .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return a`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&a`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&a`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(l=>{t.includes(l.id)&&(this._validLayers.push(l),l.visible||this._nonVisibleValidLayers.push(l),this._getLayersConfig(l.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[l.id]&&this._layerItemsHash[l.id].supportsAdd&&s.push(l.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(e){await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await S(this.mapView);e.relationships?.some(i=>{let s=t?.filter(l=>e.url===l.url&&l.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&a`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&a`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${a`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&a`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList.value?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&a`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&a`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return a`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){t.highlightOptions=null;let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return a`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",this.onMapClick.bind(this))}async onMapClick(e){if(this.mapView){this.mapView.popupEnabled=!1;let t=await this.mapView.hitTest(e),i=[],s=[],l=[],h=!1;t.results.length>0&&t.results.forEach(c=>{c.type==="graphic"&&i.push(c.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(l=await this._getIdentifiedGraphics(e.mapPoint),h=l.length>0);let r=s.concat(l);if(r.length>0){this.mapView.popupEnabled=!0;let c={features:r,location:e.mapPoint,updateLocationEnabled:!h};await this.mapView.openPopup(c)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async h=>{let r=this.mapView&&await d(this.mapView,h);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),l=[];return s.forEach(h=>{h.results.forEach(r=>{let c=Object.keys(r.feature.attributes).map(g=>({fieldName:g,label:g}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:c}]},l.push(r.feature)})}),l}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let l=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&l&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await C(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await $([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList.value?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:l}=i;s&&l&&e.push(`(${l})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(l=>l.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(l=>{let h=s.expressions?.find(r=>r.id===l.id);h!=null&&(l.name=h.name)}))})}};F("crowdsource-reporter",f);export{f as CrowdsourceReporter};
|
package/dist/cdn/WYML4KIE.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a,b}from"./6GUN3P64.js";import"./X3AKU22A.js";import"./K6EYSWK3.js";import"./K5ABIFBZ.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";export{a as EventEditorTypes,b as buildSchema};
|
package/dist/cdn/XI2AVQC6.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{b as e,e as r}from"./TWHS2V27.js";import"./YXTRE2YJ.js";import"./M5SMNJVJ.js";import"./KH4WDPKH.js";import{c as t}from"./JMAXO5DC.js";import"./6GBOMWNM.js";import"./5Y5FK43G.js";import"./DRXKNSYY.js";import"./JAPFIMJD.js";import"./PJGGTO5X.js";import"./7ZWOBQSP.js";import"./3QX3UFD6.js";import"./A6HCD5ST.js";import"./4M2BSB7U.js";import"./G74NUZJA.js";import"./QEF6IQG7.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
package/dist/cdn/XKPIYHWA.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a,b}from"./U5SM65RP.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/YIKZB4ZA.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250617 */
|
4
|
-
import{a,b}from"./XXETI3KO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";export{a as GroupEditorTypes,b as GroupSchema};
|