@esri/solutions-components 1.2.0-next.24 → 1.2.0-next.25
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/{TDZ7C2M7.js → 227OKUOP.js} +2 -2
- package/dist/cdn/{VBGQ7FE6.js → 22W4RE5H.js} +2 -2
- package/dist/cdn/{KZD2C2ML.js → 25LXR3FP.js} +2 -2
- package/dist/cdn/{PZ5GGYLN.js → 27CMSLNL.js} +2 -2
- package/dist/cdn/{DED6BDXL.js → 2BVJTFDE.js} +2 -2
- package/dist/cdn/{IJEJXWF7.js → 2HGUUNMW.js} +2 -2
- package/dist/cdn/{76RER7LN.js → 2HIB2G57.js} +2 -2
- package/dist/cdn/{7GAWPJYN.js → 2HSHTUIQ.js} +2 -2
- package/dist/cdn/{FFZY7CPX.js → 2PRJJVOV.js} +2 -2
- package/dist/cdn/{FFLBALPH.js → 2RKY4JS6.js} +2 -2
- package/dist/cdn/{WYDM2CB5.js → 2TQEX4B7.js} +2 -2
- package/dist/cdn/{VJU2J222.js → 2WOROUAI.js} +2 -2
- package/dist/cdn/{4Y7ZVP46.js → 2YWTZAMT.js} +2 -2
- package/dist/cdn/{IMPPWVVG.js → 33CKROVW.js} +2 -2
- package/dist/cdn/{2BLFCKKA.js → 37VDTBSA.js} +2 -2
- package/dist/cdn/{YEKIMYDO.js → 3G2ORHX5.js} +2 -2
- package/dist/cdn/{EROCJUGG.js → 3KS7ECJI.js} +2 -2
- package/dist/cdn/{DWL4LXGS.js → 3QKECYXX.js} +2 -2
- package/dist/cdn/{Z2MGL6AZ.js → 3S5YMQNC.js} +2 -2
- package/dist/cdn/{QXX2SNE5.js → 3SQXJURM.js} +2 -2
- package/dist/cdn/{3E3IBLXH.js → 47LITZGW.js} +2 -2
- package/dist/cdn/{NI64NXLH.js → 4CDBID3T.js} +1 -1
- package/dist/cdn/{IKBTX6QZ.js → 4JRBLZYN.js} +2 -2
- package/dist/cdn/{LG6DSYZW.js → 4L3TXAHQ.js} +2 -2
- package/dist/cdn/{T6KDHTIZ.js → 4LD25VZ6.js} +2 -2
- package/dist/cdn/{XVG5AXU3.js → 4TNZ7VPX.js} +2 -2
- package/dist/cdn/{NDJVE732.js → 4V7AT3AA.js} +2 -2
- package/dist/cdn/{TEY2ATFL.js → 55OXSM7F.js} +2 -2
- package/dist/cdn/{2ZWVBNPH.js → 5BFB2DWR.js} +2 -2
- package/dist/cdn/{EIXF5OZH.js → 5F66JCHM.js} +1 -1
- package/dist/cdn/{DVGLTRJU.js → 5FG7JIL6.js} +1 -1
- package/dist/cdn/{PSACJE2J.js → 5FO3BEAU.js} +2 -2
- package/dist/cdn/{UM5O6SR4.js → 5H7XMH3U.js} +2 -2
- package/dist/cdn/{WFZWW33X.js → 5I3656PD.js} +2 -2
- package/dist/cdn/{BGC5OXBC.js → 5IGYCZUX.js} +2 -2
- package/dist/cdn/{CYADZ6PK.js → 5IR2J2MU.js} +2 -2
- package/dist/cdn/{EHS77SRG.js → 5MVJVO5P.js} +2 -2
- package/dist/cdn/{VEUQH5L3.js → 5OUPCMUR.js} +2 -2
- package/dist/cdn/{K2VMZCUX.js → 5PRG5J4I.js} +2 -2
- package/dist/cdn/{UIGYM74T.js → 5QBB4PGR.js} +2 -2
- package/dist/cdn/5SL4YU5J.js +18 -0
- package/dist/cdn/{5AERAR2L.js → 5V5732QI.js} +1 -1
- package/dist/cdn/{R47VKS7S.js → 66PCARXT.js} +2 -2
- package/dist/cdn/{DK5FUIGH.js → 6B3LITRW.js} +1 -1
- package/dist/cdn/{L2WHYM3J.js → 6DG5GYU6.js} +1 -1
- package/dist/cdn/{JIREIGOU.js → 6DNBPW3K.js} +2 -2
- package/dist/cdn/6F753QZS.js +18 -0
- package/dist/cdn/{443EHILD.js → 6GTTRESX.js} +2 -2
- package/dist/cdn/{T6FIJDJK.js → 6HWRE6RG.js} +2 -2
- package/dist/cdn/{IBLOFUUX.js → 6LAMGJ6U.js} +2 -2
- package/dist/cdn/6RRQQGSF.js +18 -0
- package/dist/cdn/{OOSMF7MX.js → 6RSL6JCZ.js} +3 -3
- package/dist/cdn/6RUMIMNG.js +18 -0
- package/dist/cdn/6SPFZVPR.js +21 -0
- package/dist/cdn/{4RNO5M22.js → 6TKZARJO.js} +2 -2
- package/dist/cdn/{EOZZELAV.js → 6UB7H5S7.js} +2 -2
- package/dist/cdn/{3DQY36BR.js → 6UEXK7QG.js} +2 -2
- package/dist/cdn/{E4JZL5IT.js → 6VC6BOD3.js} +2 -2
- package/dist/cdn/{LYXGPO4K.js → 6W73UJJY.js} +1 -1
- package/dist/cdn/{LOIGPO5O.js → 6XW66PF7.js} +2 -2
- package/dist/cdn/{PFXC7WOR.js → 73L6SXQT.js} +2 -2
- package/dist/cdn/{TKRGPMED.js → 7EF6XSGW.js} +2 -2
- package/dist/cdn/{CQIWHMR3.js → 7F33ZVRA.js} +1 -1
- package/dist/cdn/{3VUSEXMB.js → 7HYXPVC6.js} +2 -2
- package/dist/cdn/{WNFEGMNZ.js → 7LU2BDQN.js} +2 -2
- package/dist/cdn/{QYQTOIF6.js → 7VSEOVSU.js} +1 -1
- package/dist/cdn/{E23BMOKL.js → A44QWUNI.js} +2 -2
- package/dist/cdn/{JGT3UVSS.js → A7HUHBZM.js} +2 -2
- package/dist/cdn/{6Z7A2SPS.js → AAA6LMGT.js} +2 -2
- package/dist/cdn/{EE3RLK54.js → AB7WV42B.js} +2 -2
- package/dist/cdn/{T5CPOSYR.js → AF4HG5KQ.js} +1 -1
- package/dist/cdn/{Z2EMCTSK.js → AGTUYAIF.js} +2 -2
- package/dist/cdn/AIMB7S2N.js +4 -0
- package/dist/cdn/{VDTXZ2OC.js → AKWICKZH.js} +2 -2
- package/dist/cdn/{4QNOYSPY.js → ALYZCHUT.js} +2 -2
- package/dist/cdn/{TO6ZG5LX.js → AOJ5FYFL.js} +1 -1
- package/dist/cdn/{3WPZIU5L.js → AQ4DO73M.js} +2 -2
- package/dist/cdn/{27YRRENY.js → ASKWOQAJ.js} +2 -2
- package/dist/cdn/{WWSSJEOD.js → AWTULYQZ.js} +2 -2
- package/dist/cdn/{75CES5F2.js → AZ4OSWBB.js} +2 -2
- package/dist/cdn/{73OBTSKG.js → AZ5NWSFJ.js} +2 -2
- package/dist/cdn/{ZT7KJDTU.js → BDHPB663.js} +2 -2
- package/dist/cdn/{GKS4SDRE.js → BFF5G777.js} +2 -2
- package/dist/cdn/{DQZF7IPW.js → BPD7DNKI.js} +2 -2
- package/dist/cdn/{FEODTSQT.js → BSKJHSLD.js} +2 -2
- package/dist/cdn/{HF6CCTGX.js → BTWGA4N5.js} +2 -2
- package/dist/cdn/{FDGI4V7M.js → BUGTCHMJ.js} +2 -2
- package/dist/cdn/{X5FANKH6.js → BXCKPKDO.js} +2 -2
- package/dist/cdn/{NAUVQEGN.js → BXIJJQ7I.js} +2 -2
- package/dist/cdn/{BEV4LNQI.js → BYY527IH.js} +2 -2
- package/dist/cdn/{MWLY3N7C.js → BZYNOZRI.js} +2 -2
- package/dist/cdn/{CELVLTD3.js → C2H742OR.js} +2 -2
- package/dist/cdn/{UMEH46X4.js → C5FEFWP7.js} +2 -2
- package/dist/cdn/{AVA46ODH.js → CCDEGHR5.js} +2 -2
- package/dist/cdn/{6JJBGLJE.js → CEJWVVDW.js} +2 -2
- package/dist/cdn/{ASC5OMBD.js → CEU3EJQG.js} +2 -2
- package/dist/cdn/{YOIQKWPE.js → CI6ZSON4.js} +2 -2
- package/dist/cdn/{EOLIKK4H.js → CMJVFQIK.js} +2 -2
- package/dist/cdn/{SU5NQO2Y.js → CNI6KQHC.js} +2 -2
- package/dist/cdn/{QBBC7A4Y.js → CR2GM5TB.js} +1 -1
- package/dist/cdn/{2JWUVZ2L.js → CR3Y76NS.js} +1 -1
- package/dist/cdn/{34HAWRGI.js → CRL5EWVF.js} +2 -2
- package/dist/cdn/{5NLABLUG.js → D3GW7DPE.js} +2 -2
- package/dist/cdn/D5Q2SMLV.js +18 -0
- package/dist/cdn/{Q4ZZ6NDL.js → D5VBWDAK.js} +2 -2
- package/dist/cdn/{H34VS27L.js → D7KMXEBV.js} +2 -2
- package/dist/cdn/{I5JM65X6.js → DAX6C2RK.js} +2 -2
- package/dist/cdn/{MSBJECJS.js → DK6ZOLTA.js} +2 -2
- package/dist/cdn/{2AI475Q6.js → DKQV43MA.js} +2 -2
- package/dist/cdn/{67TNRLBR.js → DPMOOEJX.js} +2 -2
- package/dist/cdn/{P3LUAT4F.js → DRULXPQW.js} +2 -2
- package/dist/cdn/{6MECJUZM.js → DSCMJ63Y.js} +2 -2
- package/dist/cdn/{LNFEAJAZ.js → DSJ4DCH7.js} +2 -2
- package/dist/cdn/{5TKI4FG4.js → DTOU5IAO.js} +2 -2
- package/dist/cdn/{PHHVQRLL.js → DXWM5SOG.js} +2 -2
- package/dist/cdn/{GKD47RX5.js → E6O4CC2T.js} +1 -1
- package/dist/cdn/{VK3OPHNA.js → EAVQ5FCN.js} +2 -2
- package/dist/cdn/{CSH7RK4L.js → EEKC5HMJ.js} +2 -2
- package/dist/cdn/{GYIUJFGM.js → EH2FJOGU.js} +2 -2
- package/dist/cdn/{NEDCAXJL.js → ELYG6CH5.js} +2 -2
- package/dist/cdn/{2PC724CH.js → EV7CDQQX.js} +2 -2
- package/dist/cdn/{KRZ6DGKX.js → F2GASC36.js} +2 -2
- package/dist/cdn/{5ROXJJIZ.js → F3MXJ7PK.js} +3 -3
- package/dist/cdn/{6R6WIO6H.js → F6HXDR37.js} +2 -2
- package/dist/cdn/{2KZX4PSI.js → F6M3XWTD.js} +2 -2
- package/dist/cdn/FBODKGEY.js +64 -0
- package/dist/cdn/FBVK2FLN.js +4 -0
- package/dist/cdn/FCEGEP53.js +18 -0
- package/dist/cdn/{NBZ4SJV4.js → FCSALOKB.js} +2 -2
- package/dist/cdn/{6EHWI7JM.js → FKTPY2PG.js} +2 -2
- package/dist/cdn/{JOSEALSV.js → FOHFIU2Q.js} +2 -2
- package/dist/cdn/{BR65SFX2.js → FOSWULAV.js} +1 -1
- package/dist/cdn/{FLMS2TR4.js → FU3WID6I.js} +2 -2
- package/dist/cdn/{4JHKVR7I.js → G5ZAVHW6.js} +2 -2
- package/dist/cdn/{MLY5XS76.js → GBNNHDBN.js} +2 -2
- package/dist/cdn/{BTLVFHR2.js → GBUQQPYG.js} +1 -1
- package/dist/cdn/GEM3SJHZ.js +4 -0
- package/dist/cdn/{HRKWHIYV.js → GIRT7FSE.js} +2 -2
- package/dist/cdn/{LCZYX2MS.js → GTMB2D2L.js} +2 -2
- package/dist/cdn/{VK5SHRI7.js → GUAMRG2A.js} +2 -2
- package/dist/cdn/{FY6XKBZS.js → GWCKLSTR.js} +2 -2
- package/dist/cdn/{W75YFHYB.js → GXL4PA3D.js} +2 -2
- package/dist/cdn/{5V5O4IVZ.js → GXXNGMWJ.js} +2 -2
- package/dist/cdn/GZSKPM5F.js +4 -0
- package/dist/cdn/{GQYBA7GH.js → H35DFLHL.js} +2 -2
- package/dist/cdn/{GDO7SFZU.js → H5AUCOST.js} +2 -2
- package/dist/cdn/{ZL7IV42Y.js → H6EC52KA.js} +2 -2
- package/dist/cdn/{4JCL7LZR.js → HBLU4NNH.js} +2 -2
- package/dist/cdn/{BUJ7HMXE.js → HF6SJRK7.js} +2 -2
- package/dist/cdn/{OPFB2Y4V.js → HUJ6PAV5.js} +2 -2
- package/dist/cdn/{BUQMZQDZ.js → HY2YEKX4.js} +2 -2
- package/dist/cdn/{4WOSAZZE.js → HYJAUXZR.js} +2 -2
- package/dist/cdn/{OLKLMVT2.js → I2NS6RAC.js} +2 -2
- package/dist/cdn/{WOZIGPUB.js → I42BS5RN.js} +2 -2
- package/dist/cdn/{YMNTHO2F.js → I6F7SK7X.js} +2 -2
- package/dist/cdn/{2M4ILWS4.js → IAOFW42G.js} +2 -2
- package/dist/cdn/{7OW5IQNG.js → IARKQB6L.js} +2 -2
- package/dist/cdn/IKTBJIKZ.js +18 -0
- package/dist/cdn/{TNHXSGP4.js → IN5SSIXG.js} +2 -2
- package/dist/cdn/{QO2AZMFP.js → IUMQQRBH.js} +2 -2
- package/dist/cdn/{UNOFD42Q.js → IVPONNZR.js} +1 -1
- package/dist/cdn/IXPZNMCD.js +18 -0
- package/dist/cdn/{CHNYABSO.js → J2XPTQU2.js} +2 -2
- package/dist/cdn/{T7GSBDIG.js → J5AOMIJN.js} +2 -2
- package/dist/cdn/{HST46P5Y.js → J6P2QRWD.js} +2 -2
- package/dist/cdn/{SZNJD54W.js → JBVOLK4R.js} +1 -1
- package/dist/cdn/{FLMVVIYI.js → JDWBEXFG.js} +2 -2
- package/dist/cdn/{FBAY6DO3.js → JEMU5PFH.js} +2 -2
- package/dist/cdn/{KIUNRSQA.js → JPFMUBPN.js} +2 -2
- package/dist/cdn/{ERSOKPXT.js → JRFE64QB.js} +2 -2
- package/dist/cdn/JULUVIZZ.js +18 -0
- package/dist/cdn/{2S3FX57Y.js → JY7CESFO.js} +2 -2
- package/dist/cdn/{7UWI5KWK.js → K3PSKBFT.js} +2 -2
- package/dist/cdn/{OABMD66T.js → KBDQPISA.js} +2 -2
- package/dist/cdn/{LQVI3NR7.js → KDFFHJCE.js} +2 -2
- package/dist/cdn/{WTVABM3O.js → KJ5763CL.js} +2 -2
- package/dist/cdn/{TZ4BYOUZ.js → KQ5G7HVB.js} +2 -2
- package/dist/cdn/{J5GBXHV7.js → KTOTBTIB.js} +2 -2
- package/dist/cdn/{KWTCG2SE.js → KUHCBGK5.js} +2 -2
- package/dist/cdn/KUQWCT6L.js +4 -0
- package/dist/cdn/{R22HIDGZ.js → KVGWKRTF.js} +2 -2
- package/dist/cdn/{OC7V7KCG.js → KX7RN2HN.js} +2 -2
- package/dist/cdn/{ZAL2JPN6.js → KXRDDOMY.js} +1 -1
- package/dist/cdn/{KX7PNFBK.js → KY5MN2T4.js} +2 -2
- package/dist/cdn/{YWXJ2RX3.js → KZ3UTDYW.js} +2 -2
- package/dist/cdn/{74AIX5RH.js → L3KYVSGX.js} +1 -1
- package/dist/cdn/{EAS42GZC.js → LBWBQTWE.js} +1 -1
- package/dist/cdn/{2YG6C32T.js → LDHQ34KV.js} +2 -2
- package/dist/cdn/{SVTYAHMC.js → LH4OLQ34.js} +2 -2
- package/dist/cdn/{RY2JRQIA.js → LIWWQNG7.js} +2 -2
- package/dist/cdn/{UQVFINXF.js → LJOG53B6.js} +2 -2
- package/dist/cdn/{G7OBBNFQ.js → LOR4HLCD.js} +2 -2
- package/dist/cdn/{NWOOAUG7.js → LPW522QH.js} +2 -2
- package/dist/cdn/{R6MJ3BWC.js → LQ2RKGNR.js} +1 -1
- package/dist/cdn/{RFLU2ZRI.js → LRQZMD7I.js} +2 -2
- package/dist/cdn/{FLA5RSAG.js → M3J7WFCT.js} +2 -2
- package/dist/cdn/{W5O6BHYJ.js → M47E3HSB.js} +2 -2
- package/dist/cdn/{SMZGBF7A.js → M6UH6Z5C.js} +2 -2
- package/dist/cdn/{GWYYMTWP.js → MM7HTB74.js} +2 -2
- package/dist/cdn/{7LEW57R4.js → MTJYX32S.js} +2 -2
- package/dist/cdn/{NX4JHBIH.js → MVL3MXJS.js} +2 -2
- package/dist/cdn/{XUNRNHCK.js → MYL46HPR.js} +2 -2
- package/dist/cdn/{QC34FER4.js → NGCSRMGK.js} +2 -2
- package/dist/cdn/{W6XHOAIY.js → NGGKWS4K.js} +2 -2
- package/dist/cdn/{6XXBH32V.js → NGXX4YBY.js} +2 -2
- package/dist/cdn/{AO32HRV6.js → NH4QW36Q.js} +2 -2
- package/dist/cdn/{GJEPJCWP.js → NJEFWFEN.js} +2 -2
- package/dist/cdn/{BOHI7OOB.js → NL3W622Y.js} +1 -1
- package/dist/cdn/NQUVPAJI.js +4 -0
- package/dist/cdn/{DCNEHZTW.js → NRAOZEZJ.js} +2 -2
- package/dist/cdn/NUOI2YN5.js +4 -0
- package/dist/cdn/{WOXREBHW.js → NV7R5AHR.js} +2 -2
- package/dist/cdn/NWMLIPGH.js +18 -0
- package/dist/cdn/{ZGXAJOK6.js → NWUKK5A6.js} +2 -2
- package/dist/cdn/{T3HXN3EN.js → NZOYC75S.js} +2 -2
- package/dist/cdn/{SSHAOTEK.js → O4FNQ6WI.js} +2 -2
- package/dist/cdn/{PHLPFYN3.js → OEYVI2ZO.js} +1 -1
- package/dist/cdn/OFFB46MS.js +18 -0
- package/dist/cdn/{L6PIPEF2.js → OLX2TCKA.js} +2 -2
- package/dist/cdn/{HXHGWVUO.js → OOILB3XG.js} +2 -2
- package/dist/cdn/{K4HRSAES.js → OQFR5EBN.js} +2 -2
- package/dist/cdn/{HP4JIDLF.js → OSICGOI4.js} +2 -2
- package/dist/cdn/OSOP5UDV.js +18 -0
- package/dist/cdn/{EYIL3WCN.js → OX2XBEMJ.js} +2 -2
- package/dist/cdn/{4EQVVEVL.js → P3S3CHRK.js} +2 -2
- package/dist/cdn/{SERCADIE.js → P4GU4NJL.js} +2 -2
- package/dist/cdn/{YFOSFQMV.js → P4JDDNDS.js} +1 -1
- package/dist/cdn/{STHO3HPO.js → PGYWV3NX.js} +2 -2
- package/dist/cdn/{CYG5JUF7.js → PL2DLTJ3.js} +1 -1
- package/dist/cdn/{F37UKUAV.js → PM5ELFQG.js} +2 -2
- package/dist/cdn/{3WHGZJJS.js → PMDK5BSC.js} +2 -2
- package/dist/cdn/POXK5JYF.js +18 -0
- package/dist/cdn/{T74GGRMS.js → PQD2UKJH.js} +2 -2
- package/dist/cdn/{5XHMHEC7.js → PTEWBNCV.js} +2 -2
- package/dist/cdn/PTP3YNB4.js +18 -0
- package/dist/cdn/{QJRGXDSI.js → PWDGPR5X.js} +2 -2
- package/dist/cdn/Q35B4TVR.js +18 -0
- package/dist/cdn/{C7RFHH22.js → Q37G5WQQ.js} +2 -2
- package/dist/cdn/{GFXNHLR7.js → Q65LQ4DS.js} +2 -2
- package/dist/cdn/{VX2H4KEW.js → Q6KR2MGM.js} +2 -2
- package/dist/cdn/{CLFLK4OG.js → Q75J5FSF.js} +2 -2
- package/dist/cdn/{XH2Q2TTU.js → QBUPFG4V.js} +2 -2
- package/dist/cdn/{O4ZKMCDY.js → QFU7UBJX.js} +1 -1
- package/dist/cdn/{2KHJ7DAR.js → QKX7N74V.js} +2 -2
- package/dist/cdn/{KXKFOLKN.js → QRTCQKT7.js} +1 -1
- package/dist/cdn/{GGQUPRRV.js → QSDAU6XO.js} +2 -2
- package/dist/cdn/{RRNRGQVC.js → QYLZ7QMQ.js} +2 -2
- package/dist/cdn/{DFO6WKOY.js → R4NGPN22.js} +2 -2
- package/dist/cdn/{DW7PYNVR.js → R5E4K7RK.js} +2 -2
- package/dist/cdn/{XDEV64FQ.js → R6HSLJZP.js} +3 -3
- package/dist/cdn/{6Z47NIFS.js → R6NUZOUH.js} +2 -2
- package/dist/cdn/{NZO56NNR.js → RCCI6MDJ.js} +2 -2
- package/dist/cdn/{27VT6FGO.js → RDASDC76.js} +1 -1
- package/dist/cdn/RDXF2NUP.js +18 -0
- package/dist/cdn/RE424GHE.js +18 -0
- package/dist/cdn/RGM4NZOR.js +18 -0
- package/dist/cdn/{J4UA37P6.js → ROF3LNEG.js} +2 -2
- package/dist/cdn/{G37T64CV.js → RR3CV4NP.js} +2 -2
- package/dist/cdn/{P6OT3PMN.js → RXUBLDCK.js} +2 -2
- package/dist/cdn/{ZJ5VS3XI.js → SGSS7BTV.js} +2 -2
- package/dist/cdn/SLN637AP.js +18 -0
- package/dist/cdn/{7HWYZVCJ.js → SPK5KP7G.js} +2 -2
- package/dist/cdn/{YHMAN2VX.js → SQQALD75.js} +2 -2
- package/dist/cdn/{6WW2DA2G.js → SR6U5ITN.js} +1 -1
- package/dist/cdn/{55A2KYUG.js → SRGTODED.js} +2 -2
- package/dist/cdn/{MTH7WCDT.js → SUSD34WI.js} +2 -2
- package/dist/cdn/{G24DNHCB.js → T3QNUX7F.js} +2 -2
- package/dist/cdn/{CFRDPWXR.js → T4S5GHIX.js} +2 -2
- package/dist/cdn/{V2K3CARG.js → T7WZEKVF.js} +2 -2
- package/dist/cdn/{QGWCUXVU.js → TA22B3PN.js} +2 -2
- package/dist/cdn/{FCJJ2E2N.js → TB26F4TS.js} +2 -2
- package/dist/cdn/{OJG6HIKN.js → TCDTWQMN.js} +2 -2
- package/dist/cdn/{T6DIELVZ.js → TE3EPYCD.js} +2 -2
- package/dist/cdn/{P7H776WT.js → TEC4FZSJ.js} +2 -2
- package/dist/cdn/{SKGMLLPH.js → TKIB7NRH.js} +7 -7
- package/dist/cdn/{ZVYGJ3ZV.js → TND7L4TG.js} +2 -2
- package/dist/cdn/{CO3TU24E.js → TNXXPVD3.js} +2 -2
- package/dist/cdn/{QUO6TIFZ.js → TNYM6PF6.js} +1 -1
- package/dist/cdn/{RPY6EG62.js → TOEUWHX7.js} +2 -2
- package/dist/cdn/{JKYLZXQW.js → TXM5UUEF.js} +2 -2
- package/dist/cdn/{43NXLAVY.js → U5REIPGX.js} +2 -2
- package/dist/cdn/{REW2XBKZ.js → UCGJMCLN.js} +1 -1
- package/dist/cdn/{OYGODC65.js → UFOHEGEB.js} +2 -2
- package/dist/cdn/{36BDQG6C.js → UGDU3FHG.js} +2 -2
- package/dist/cdn/{CZIXYCET.js → UJ2HNPRI.js} +2 -2
- package/dist/cdn/{QH2BEMM6.js → UMOF3JJN.js} +2 -2
- package/dist/cdn/{OQF6YVUK.js → URQ5DYLW.js} +2 -2
- package/dist/cdn/{LH3A7YCF.js → UZYJBWAL.js} +3 -3
- package/dist/cdn/{35KLNGC5.js → V2Y4GO6L.js} +2 -2
- package/dist/cdn/{VW2WEXVP.js → V63RSPHR.js} +1 -1
- package/dist/cdn/{3G3I5XU7.js → VCB2O536.js} +2 -2
- package/dist/cdn/{GHD3JMA4.js → VGOUD4LG.js} +2 -2
- package/dist/cdn/{XCDDDB5R.js → VJKKQU2K.js} +2 -2
- package/dist/cdn/{KG4IFWCZ.js → VJW7W56T.js} +2 -2
- package/dist/cdn/{SGEGTSUZ.js → VMLHXPSN.js} +2 -2
- package/dist/cdn/VN7CGEIY.js +18 -0
- package/dist/cdn/{BLIFIP2J.js → VOCKL66I.js} +2 -2
- package/dist/cdn/{OUYGAAGX.js → VOYZKLLZ.js} +2 -2
- package/dist/cdn/{RGGUA4QF.js → VSVGR3WH.js} +2 -2
- package/dist/cdn/{4HFOPNFI.js → W4Q2GGWI.js} +2 -2
- package/dist/cdn/{ANOEINZT.js → W65FI6JK.js} +2 -2
- package/dist/cdn/{EY4LNEPF.js → WFLBBSMB.js} +3 -3
- package/dist/cdn/{KOT36X5I.js → WO6ZWZSX.js} +2 -2
- package/dist/cdn/{SNLUBEJI.js → WPAY2RXR.js} +2 -2
- package/dist/cdn/{JEWJNGE6.js → WVPQS2SL.js} +2 -2
- package/dist/cdn/{CE2PWV2T.js → WVXU4P7B.js} +2 -2
- package/dist/cdn/{HBOBM65G.js → WXOAB4RS.js} +2 -2
- package/dist/cdn/{XIKGCL6Z.js → WYFCB3NO.js} +1 -1
- package/dist/cdn/{WUTY55ZF.js → X5BGIPQE.js} +1 -1
- package/dist/cdn/{7QBFHK6I.js → X5CUQYP2.js} +2 -2
- package/dist/cdn/{YAYHUH5G.js → X65UTRJF.js} +2 -2
- package/dist/cdn/{XSE22DX2.js → X7GANTPZ.js} +2 -2
- package/dist/cdn/{4BXRZ62B.js → XEUITAUW.js} +1 -1
- package/dist/cdn/{A65SF5TP.js → XFOJ2YTI.js} +2 -2
- package/dist/cdn/{HBNX26U7.js → XGRYQZ2O.js} +2 -2
- package/dist/cdn/{KTJDLUIU.js → XIT7U76G.js} +2 -2
- package/dist/cdn/{KSO7CXKH.js → XKYABGIY.js} +2 -2
- package/dist/cdn/{WL4NQCES.js → Y3UAZV7T.js} +2 -2
- package/dist/cdn/{FAFTQRQY.js → Y3Y2DGLC.js} +2 -2
- package/dist/cdn/{VHW5YMZI.js → Y6S5MFA2.js} +2 -2
- package/dist/cdn/{3P4LQ4TN.js → Y7PX6YNW.js} +2 -2
- package/dist/cdn/{FWE4FUJH.js → Y7RAV3DP.js} +2 -2
- package/dist/cdn/{5D7BHC5A.js → YDXLB56W.js} +2 -2
- package/dist/cdn/{63DFPGXG.js → YKVIFE2T.js} +2 -2
- package/dist/cdn/{WP7F5HRM.js → YQZK5YIN.js} +2 -2
- package/dist/cdn/{AAXTQRZG.js → YSC2HFLQ.js} +2 -2
- package/dist/cdn/{H2UXJKPU.js → YUK5EJDR.js} +1 -1
- package/dist/cdn/{GHZ256AS.js → YWA44B7H.js} +4 -4
- package/dist/cdn/{SKZURFAS.js → Z3INPQ3P.js} +2 -2
- package/dist/cdn/{X4DEDSCC.js → Z4HAQW7C.js} +2 -2
- package/dist/cdn/{GZK6A527.js → Z6AVKFEG.js} +2 -2
- package/dist/cdn/ZCQJ5AVG.js +4 -0
- package/dist/cdn/{B6DL7APO.js → ZEKYDTVV.js} +2 -2
- package/dist/cdn/{4SOCIVF6.js → ZJBXIMRS.js} +1 -1
- package/dist/cdn/{TOEQLEDG.js → ZK6M2PX2.js} +2 -2
- package/dist/cdn/{ANWXMLC5.js → ZNHJLN3B.js} +2 -2
- package/dist/cdn/{D67LKKO3.js → ZOT3V2FS.js} +2 -2
- package/dist/cdn/{URRLKSMA.js → ZPQHS32Z.js} +2 -2
- package/dist/cdn/{ENUF5QK4.js → ZRNE7ON4.js} +2 -2
- package/dist/cdn/{PRIALFET.js → ZRXPHGWK.js} +2 -2
- package/dist/cdn/{KESHQJDL.js → ZSOICD7A.js} +2 -2
- package/dist/cdn/{II25P5CO.js → ZUOFTXZA.js} +2 -2
- package/dist/cdn/{BF6B5YPC.js → ZWIILL33.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.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/getItemIcon.js +1 -1
- package/dist/chunks/helpers.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/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.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 +148 -133
- package/dist/components/arcgis-solutions-assistant/index.d.ts +0 -1
- package/dist/components/arcgis-solutions-assistant/index.js +0 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.d.ts +2 -2
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +1 -2
- package/dist/components/card-manager/customElement.js +2 -2
- package/dist/components/consent-manager/customElement.d.ts +5 -5
- package/dist/components/consent-manager/customElement.js +142 -142
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +2 -2
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -6
- package/dist/components/crowdsource-reporter/customElement.js +6 -6
- package/dist/components/deduct-calculator/customElement.d.ts +0 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +2 -2
- package/dist/components/delete-dialog/customElement.js +2 -2
- package/dist/components/edit-card/customElement.js +6 -6
- package/dist/components/feature-details/customElement.d.ts +0 -2
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +44 -45
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.d.ts +0 -1
- package/dist/components/info-card/customElement.js +2 -2
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.d.ts +0 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +1 -2
- package/dist/components/layer-table/customElement.js +12 -12
- package/dist/components/map-card/customElement.d.ts +6 -9
- package/dist/components/map-card/customElement.js +17 -27
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +7 -7
- 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 +5 -5
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.d.ts +3 -5
- package/dist/components/map-select-tools/customElement.js +13 -13
- package/dist/components/map-tools/customElement.d.ts +4 -10
- package/dist/components/map-tools/customElement.js +7 -7
- package/dist/components/pci-calculator/customElement.js +9 -9
- package/dist/components/pdf-download/customElement.js +29 -37
- package/dist/components/public-notification/customElement.d.ts +5 -6
- package/dist/components/public-notification/customElement.js +6 -9
- package/dist/components/refine-selection/customElement.d.ts +1 -4
- package/dist/components/refine-selection/customElement.js +15 -15
- package/dist/components/selection-tool/customElement.d.ts +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +2 -2
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +0 -1
- package/dist/components/solution-delete-dialog/customElement.js +2 -2
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +3 -3
- package/dist/components/solution-deployed-card-panel/customElement.js +8 -7
- package/dist/components/solution-deployed-card-panel/index.d.ts +1 -0
- package/dist/components/solution-deployed-card-panel/index.js +1 -0
- package/dist/components/solution-deploying-dialog/customElement.js +13 -28
- 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-diagram/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-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/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-social-share/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 +9 -6
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/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/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +54 -54
- package/dist/docs/docs.json +31 -31
- package/dist/docs/vscode.html-custom-data.json +15 -15
- package/dist/docs/web-types.json +45 -45
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2CCBXSKK.js +0 -4
- package/dist/cdn/2PHLVPTR.js +0 -4
- package/dist/cdn/3LF35Q54.js +0 -4
- package/dist/cdn/4RTC5XWR.js +0 -18
- package/dist/cdn/5JZITWD2.js +0 -18
- package/dist/cdn/5N7W6CKG.js +0 -18
- package/dist/cdn/C5H65524.js +0 -18
- package/dist/cdn/D7WDGASK.js +0 -65
- package/dist/cdn/DUYSEICC.js +0 -18
- package/dist/cdn/EJX4TNGV.js +0 -18
- package/dist/cdn/FVLOODPF.js +0 -18
- package/dist/cdn/HFSAMU3B.js +0 -18
- package/dist/cdn/HWKBNZEW.js +0 -18
- package/dist/cdn/ILRIV2PZ.js +0 -18
- package/dist/cdn/JYBZAUFS.js +0 -18
- package/dist/cdn/K2C56RZ4.js +0 -21
- package/dist/cdn/K3OZMGZ3.js +0 -4
- package/dist/cdn/LPQM324E.js +0 -18
- package/dist/cdn/MZVQVHJA.js +0 -18
- package/dist/cdn/P7A24J32.js +0 -18
- package/dist/cdn/QU33YK2I.js +0 -4
- package/dist/cdn/RXDDH7T7.js +0 -4
- package/dist/cdn/T6NNOIF5.js +0 -4
- package/dist/cdn/TRN3X66C.js +0 -18
- package/dist/cdn/TW7EJR75.js +0 -18
- package/dist/cdn/VGHU623Q.js +0 -18
- package/dist/cdn/Y5S76IXI.js +0 -4
- package/dist/cdn/ZDTIXH2P.js +0 -18
- package/dist/cdn/ZF5KTUHD.js +0 -18
- package/dist/cdn/ZLEHSIQE.js +0 -18
package/dist/cdn/K3OZMGZ3.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a,b}from"./6R6WIO6H.js";import"./NZO56NNR.js";import"./MSBJECJS.js";import"./CQIWHMR3.js";import"./QBBC7A4Y.js";import"./REW2XBKZ.js";import"./EAS42GZC.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/LPQM324E.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a as E}from"./G24DNHCB.js";import"./4QNOYSPY.js";import{a as S,c as m,d,e as _,f,g as x}from"./R22HIDGZ.js";import"./27VT6FGO.js";import{b as C}from"./4BXRZ62B.js";import{b as v}from"./SZNJD54W.js";import{a as $}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as I}from"./443EHILD.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./6WW2DA2G.js";import"./EAS42GZC.js";var V=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;--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}}`,g=class extends F{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=$({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=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),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=V}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&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?.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(){await 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!=null)await this._filterList.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 l`${this._reportSubmitted&&l`<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&&l`<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&&l`<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&&l`<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 v(["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 l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-dialog aria-labelledby=modal-title class="modal" kind=brand @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=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&&l`<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?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-dialog>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_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!=null&&(this._currentLayerExpressions=await this._filterList.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 l`<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&&l`<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 l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<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 l`<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 l`<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&&l`<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._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._showSubmitCancelButton=!1,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.backFromCreateRelatedFeaturePanel(),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=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}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!=null&&(this._currentLayerExpressions=await this._filterList.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 f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.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 l`<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&&l`<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&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<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 l`<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&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></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 l`<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&&l`<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&&l`<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 l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both 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-flip-rtl=both 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 l`<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 l`<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&&l`<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){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 l`<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(){this.mapView&&await f(this.mapView),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",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],n=!1;t.results.length>0&&t.results.forEach(r=>{r.type==="graphic"&&i.push(r.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),n=a.length>0);let h=s.concat(a);if(h.length>0){this.mapView.popupEnabled=!0;let r={features:h,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(r)}}}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});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||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,s=[];for(let n of this._mapImageryLayersId){let h=this.mapView&&await d(this.mapView,n);if(h?.url&&t)try{let r=await this.identify?.identify(h.url,t);if(r?.results?.length){s=r.results,i=h;break}}catch(r){console.error(r)}}let a=[];return s.forEach(n=>{let h=n.layerId,r=i?.sublayers?.items.find(P=>P.id===h),w=r?.popupTemplate;r?.popupEnabled&&w&&(n.feature.popupTemplate=w,a.push(n.feature))}),a}_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 a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&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 S(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(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_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 C([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])}}async resetFilterList(){await this._filterList?.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:a}=i;s&&a&&e.push(`(${a})`)}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.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!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(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let n=s.expressions?.find(h=>h.id===a.id);n!=null&&(a.name=n.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
|
package/dist/cdn/MZVQVHJA.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a as v}from"./VK3OPHNA.js";import"./GHZ256AS.js";import"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import"./QUO6TIFZ.js";import"./TO6ZG5LX.js";import"./4BXRZ62B.js";import{b as m}from"./SZNJD54W.js";import{a as b}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as w}from"./443EHILD.js";import{E as g,G as i,H as f,h as p,i as s,l as u,o,r as _}from"./6WW2DA2G.js";import"./EAS42GZC.js";var E=p`@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: 0}.padding-1-2{padding:.5rem}.display-none{display:none!important}.display-flex{display:flex}.position-absolute{position:absolute;inset:0;overflow:auto}.feature-node{position:relative!important}.feature-node .esri-features__footer{display:none!important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:.5rem!important;background-color:var(--calcite-color-foreground-1)!important;height:100%!important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:700}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}}`,h=class extends g{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=[],this.isLoading=!1,this.isMobile=!1,this.allowEditing=!1,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._isMultipleEdits=!1,this._mobileTitle="",this._showListView=!1,this._translations=b({name:"info-card",blocking:!0}),this._navigatedToRelatedFeature=!1,this._editEnabled=!1,this._featuresNodeId=`features-node${new Date().getMilliseconds().toString()}`,this.popupClosed=o(),this.clearSelection=o(),this.selectionChanged=o(),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"refreshGraphics",this.refreshGraphics),this.listenOn(window,"editMultipleFeatures",this.editMultipleFeatures),this.listenOn(window,"selectedLanguageUpdated",this.selectedLanguageUpdated)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphics:0,isLoading:5,isMobile:5,mapView:0,allowEditing:5,highlightEnabled:5,paginationEnabled:5,position:1,showCloseBtn:5,_alertOpen:16,_count:16,_editRecordOpen:16,_isMultipleEdits:16,_mobileTitle:16,_showListView:16,_translations:16,_navigatedToRelatedFeature:16}}static{this.styles=E}static{this.shadowRootOptions=_}willUpdate(e){if(e.has("graphics")&&this.graphicsWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_translations")){let t=this._translations._lang,a=e.get("_translations")?._lang;if(t&&a&&t!==a&&this._features){let l=[...this.graphics];this.graphics=[],this.graphics=l}}}async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features?.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features?.previous(),this._count=this._getCount()}async next(){this._features?.next(),this._count=this._getCount()}async toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}async updateCurrentGraphic(e){this._features?.selectedFeatureWidget&&console.log(e)}async closeEdit(){this._editRecordOpen=!1,this._isMultipleEdits=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(e){this._navigatedToRelatedFeature||(this.graphics=[...e.detail])}async editMultipleFeatures(e){this._isMultipleEdits=!0,this._openEditRecord()}async selectedLanguageUpdated(e){this._features?.clear(),this._features?.close(),await this._initFeaturesWidget()}async load(){await this._initModules(),this._popupUtils=new v}async loaded(){this.graphics?.length>0&&await this.setGraphics()}render(){let e=this.isLoading?"":"display-none",t=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",l=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",r=this._features?.features&&this._features.features.length<2||this._navigatedToRelatedFeature,d=Number(this._features?.selectedFeature?.getObjectId()),y=Number.isNaN(d)?[]:[d],c=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,$=this._relatedFeature?[this._relatedFeature]:this.graphics,F=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex,n=this.isMobile?"display-none":"";return s`<calcite-shell class="z-index-1" style=${f({position:this.position})}>${this._getHeader()}<calcite-loader class=${i(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${i("esri-widget feature-node "+t)} id=${this._featuresNodeId??u}></div><div class=${`${l} width-100`} slot=footer>${this.allowEditing?s`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${()=>this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile&&c?s`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${y} .layer=${this._layer} @editsComplete=${()=>this._closePopup()}></delete-button>`:void 0}<calcite-tooltip class=${i(n)} placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile&&c?s`<calcite-tooltip class=${i(n)} placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>`:void 0}</div>`:""}${this.paginationEnabled&&!r&&s`<div class=${"display-flex padding-1-2 button-container top-border"}><div><calcite-button appearance=transparent .disabled=${r} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${()=>this._back()} width=full></calcite-button><calcite-tooltip class=${i(n)} placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action class="pagination-action" icon-flip-rtl @click=${()=>this._toggleListView()} scale=s text text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${r} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._next()} width=full></calcite-button><calcite-tooltip class=${i(n)} placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`||""}</div><edit-card .allowMultipleEditing=${this._isMultipleEdits} class=${i(a)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${F} .graphics=${$} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert icon=layer-broken kind=warning label @calciteAlertClose=${()=>this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`}async _initModules(){let[e,t]=await m(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=e,this.reactiveUtils=t}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=!!(this._layer.editingEnabled&&this._layer.capabilities?.operations.supportsUpdate),this._mobileTitle=this.mapView?.map&&await this._popupUtils?.getPopupTitle(this.graphics[0],this.mapView.map)||"",this._features?.open({features:this.graphics})):(this._features?.clear(),this._features?.close()),this._count=this._getCount()}async _initFeaturesWidget(){return this.isMobile!==void 0?await this.mapView?.when(()=>{if(this._features)this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!!this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile;else if(this._features=this.Features&&new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features){this._features.viewModel.highlightEnabled=!!this.highlightEnabled,this.reactiveUtils?.watch(()=>(this._features?.viewModel).featureMenuOpen,t=>{this._updateCount(),t||(this._showListView=t)}),this.reactiveUtils?.watch(()=>this._features?.selectedFeatureIndex,t=>{t!==void 0&&t>-1&&this._features?.selectedFeature&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})}),this.reactiveUtils?.watch(()=>this._features.selectedDrillInFeature,t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=void 0,this._navigatedToRelatedFeature=!1)});let e=this.el.querySelector("#"+this._featuresNodeId);this.listenOn(e,"calciteFlowItemClose",()=>{this.clearSelection.emit()})}}):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s`<calcite-panel class="border-width-0" slot=header><calcite-action class="end-border" icon=chevron-left icon-flip-rtl @click=${()=>this._closePopup()} scale=s slot=header-actions-start text></calcite-action><span class="font-bold" slot=header-content>${this._mobileTitle}</span></calcite-panel>`:void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}async _back(){this._features?.previous(),await this._updateCount()}async _next(){this._features?.next(),await this._updateCount()}async _updateCount(){let e=this._features?.selectedFeatureIndex;this._popupUtils&&this.mapView&&this.mapView.map&&e!==void 0&&(this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[e],this.mapView.map)),this._count=this._getCount()}_getCount(){let e=this._features?.viewModel&&(this._features?.viewModel.selectedFeatureIndex+1).toString()||"",t=this._features?.features?.length.toString()||"";return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)||""}_toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}};w("info-card",h);export{h as InfoCard};
|
package/dist/cdn/P7A24J32.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a as D}from"./DK5FUIGH.js";import{a as P}from"./T6FIJDJK.js";import{a as C,d as I}from"./GHZ256AS.js";import"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import"./QUO6TIFZ.js";import"./TO6ZG5LX.js";import{g as E,j as T}from"./R22HIDGZ.js";import{c as l,e as r,f as c}from"./27VT6FGO.js";import"./4BXRZ62B.js";import{b as L}from"./SZNJD54W.js";import{a as x}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as $,c as k}from"./443EHILD.js";import{C as p,D as g,E as v,G as h,h as m,i as n,l as d,o as y,p as S,r as w}from"./6WW2DA2G.js";import"./EAS42GZC.js";var V=m`@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-input-message-spacing-value: 0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00a0ff}.info-message{justify-content:center;display:grid}.font-bold{font-weight:700}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:.5rem}.float-right{float:right}.float-right[dir=rtl],.float-left{float:left}.float-left[dir=rtl]{float:right}.margin-top-0{margin-block-start:0!important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=rtl]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom: 0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3: var(--calcite-color-brand);--calcite-color-foreground-2: var(--calcite-color-brand-hover);--calcite-color-text-1: var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,u=class extends S{constructor(){super(),this.managedLayers={},this.managedTables=[],this.highlightHandles=[]}removeHandles(){this.highlightHandles.forEach(e=>{e?.remove()}),this.highlightHandles=[]}},b=class extends v{constructor(){super(),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=!1,this.defaultBufferDistance=0,this.defaultBufferUnit="feet",this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureHighlightEnabled=!1,this.noResultText="",this.initialNotice="",this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=c.PDF,this._fetchingData=!1,this._isMobile=!1,this._numDuplicates=0,this._pageType=l.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=x({name:"public-notification",blocking:!0}),this._downloadTools=p(),this._onboardingImageUrl="",this._popupsEnabled=!1,this._removeDuplicates=p(),this._selectTools=p(),this._titleElement=p(),this._titleValue=void 0,this._numSelected=0,this._pnStateContextProvider=P({context:D}),this.searchConfigurationChange=y(),this.listenOn(window,"selectionSetsChanged",this.selectionSetsChanged),this._pnState=new u,this._pnStateContextProvider.setValue(this._pnState)}static{this.properties={addresseeLayerIds:0,bufferColor:1,bufferOutlineColor:1,customLabelEnabled:5,defaultBufferDistance:9,defaultBufferUnit:1,defaultExportTitle:1,defaultNumLabelsPerPage:9,enableLayerFeatures:5,enableLayerFeaturesOnLoad:5,enableSearchDistance:5,enableSearchDistanceOnLoad:5,enableSketchTools:5,featureEffect:0,featureHighlightEnabled:5,mapView:0,noResultText:1,initialNotice:1,searchConfiguration:0,selectionLayerIds:0,showRefineSelection:5,showSearchSettings:5,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,_exportGraphics:16,_addMap:16,_addResults:16,_addTitle:16,_downloadActive:16,_exportType:16,_fetchingData:16,_isMobile:16,_numDuplicates:16,_pageType:16,_saveEnabled:16,_selectionSets:16,_translations:16}}static{this.styles=V}static{this.shadowRootOptions=w}willUpdate(e){e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView),e.has("searchConfiguration")&&this.searchConfiguration&&this.watchSearchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration")),e.has("sketchLineSymbol")&&this.sketchLineSymbolWatchHandler(this.sketchLineSymbol,e.get("sketchLineSymbol")),e.has("sketchPointSymbol")&&this.sketchPointSymbolWatchHandler(this.sketchPointSymbol,e.get("sketchPointSymbol")),e.has("sketchPolygonSymbol")&&this.sketchPolygonSymbolWatchHandler(this.sketchPolygonSymbol,e.get("sketchPolygonSymbol")),e.has("_pageType")&&(this.hasUpdated||this._pageType!==l.LIST)&&this.pageTypeWatchHandler(this._pageType,e.get("_pageType"))}async mapViewWatchHandler(e){e?.popup&&(this._popupsEnabled=e?.popupEnabled),this.searchConfiguration&&this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(e,t){let i=JSON.stringify(e);this.mapView&&(i!==JSON.stringify(t)||i&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(i),this._searchConfiguration&&this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setLineSymbol(e)}async sketchPointSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setPointSymbol(e)}async sketchPolygonSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setPolygonSymbol(e)}async pageTypeWatchHandler(e,t){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=e!==l.LIST?!1:this._popupsEnabled),e===l.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),(t===l.SELECT||t===l.REFINE)&&await this._clearSelection(),t===l.EXPORT&&this._removeExportGraphics(),e!==l.SELECT)return this._highlightFeatures()}selectionSetsChanged(e){this._selectionSets=[...e.detail]}connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 600px)"),this.listenOn(this._mediaQuery,"change",e=>this._setIsMobile(e))}async load(){await this._initModules(),this._initSymbols(),this._onboardingImageUrl=k("assets/public-notification/images/onboarding.png")}render(){let e=this._isMobile?"footer":"header";return n`<calcite-shell><calcite-action-bar class="border-bottom-1 action-bar-size" expand-disabled layout=horizontal slot=${e??d}>${this._getActionGroup("list-check",l.LIST,this._translations.myLists)}${this.showRefineSelection?this._getActionGroup("test-data",l.REFINE,this._translations.refineSelection):null}${this._getActionGroup("export",l.EXPORT,this._translations.export)}</calcite-action-bar>${this._getPage(this._pageType)}</calcite-shell>`}loaded(){this.searchConfiguration&&this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){super.disconnectedCallback()}async _initModules(){let[e,t]=await L(["esri/symbols/support/jsonUtils","esri/Graphic"]);this._jsonUtils=e,this.Graphic=t}_initSearchConfiguration(e){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=e,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(e){let t=e?.type==="simple-line";this.sketchLineSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(e){let t=e?.type==="simple-marker";this.sketchPointSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(e){let t=e?.type==="simple-fill";this.sketchPolygonSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(e){this._isMobile=e.matches}_getActionGroup(e,t,i){let s=this.showRefineSelection?"w-1-3":"w-1-2";return n`<calcite-action-group class=${h(s)} layout=horizontal><div class="background-override"><calcite-action .active=${this._pageType===t} alignment=center class="width-full height-full" .icon=${e} id=${e??d} @click=${()=>{this._setPageType(t)}} text></calcite-action></div><calcite-tooltip label placement=bottom .referenceElement=${e}><span>${i}</span></calcite-tooltip></calcite-action-group>`}_setPageType(e){this._pageType=e}_getPage(e){let t;switch(e){case l.LIST:t=this._getListPage();break;case l.SELECT:t=this._getSelectPage();break;case l.EXPORT:t=this._getExportPage();break;case l.REFINE:t=this._getRefinePage();break}return t}_getListPage(){let e=this._hasSelections(),t=e?this._translations.listHasSetsTip:this.initialNotice!==""?this.initialNotice:this._translations.selectLayerAndAdd;return n`<calcite-panel>${this._getLabel(this._translations.myLists)}${this._getNotice(t||"","padding-sides-1 padding-bottom-1","word-wrap-anywhere")}${e?this._getSelectionSetList():this._getOnboardingImage()}<div class="display-flex padding-1"><calcite-button @click=${()=>{this._setPageType(l.SELECT)}} width=full><span class="font-weight-500">${this._translations.add}</span></calcite-button></div></calcite-panel>`}_getOnboardingImage(){return n`<div class="display-flex padding-sides-1"><img class="img-container" role=presentation src=${this._onboardingImageUrl??d}></div>`}_getSelectionSetList(){return n`<div class="padding-top-1-2 padding-bottom-1-2"><calcite-list class="list-border margin-sides-1" label>${this._selectionSets.reduce((e,t,i)=>{let s=this._getSelectionSetIds(t),a=!0;return t.workflowType===r.REFINE&&(a=Object.keys(t.refineInfos).reduce((o,_)=>{let f=t.refineInfos[_];return o+=f.addIds.length+f.removeIds.length,o},0)>0),a&&e.push(n`<calcite-list-item .label=${t.label} @click=${()=>this.mapView&&this._gotoSelection(t,this.mapView)}><div slot=content><div class="list-label">${t.label}</div><div class="list-description">${t?.layerView?.layer.title}</div><div class="list-description">${this._translations.selectedFeatures.replace("{{n}}",s.length.toString())}</div></div>${this._getAction(!0,"pencil","",o=>this._openSelection(t,o),!1,"actions-end")}${this._getAction(!0,"x","",o=>this._deleteSelection(i,o),!1,"actions-end")}</calcite-list-item>`),e},[])}</calcite-list></div>`}_getSelectionSetIds(e){return e.workflowType!==r.REFINE?e.selectedIds:Object.keys(e.refineInfos).reduce((t,i)=>[...t,...e.refineInfos[i].addIds],[])}_hasSelections(e=!1){let t=[],i=this._selectionSets.some(s=>s.workflowType===r.REFINE?(t=this._getSelectionSetIds(s),!0):!1);return e&&i?t.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){let e=this._getExportInfos(),t=this.mapView?.map&&await C(this.mapView.map,e),i=t&&I(t);return t&&i?t.length-i.length:0}_getExportInfos(){return this._selectionSets.reduce((e,t)=>{if(t.download)if(t.workflowType!==r.REFINE&&t?.layerView){let i=t.layerView.layer.id;i!==void 0&&this._updateIds(i,t.layerView,t.selectedIds,e)}else Object.keys(t.refineInfos).forEach(i=>{let s=t.refineInfos[i];s.addIds.length>0&&this._updateIds(i,s.layerView,s.addIds,e)});return e},{})}_updateIds(e,t,i,s){return s[e]?s[e].ids=s[e].ids.concat(i):s[e]={layerView:t,ids:i},s}_getSelectPage(){let e=this._translations.selectSearchTip;return n`<calcite-panel>${this._getLabel(this._translations?.stepTwoFull,!0)}${this._getNotice(e,"padding-1","word-wrap-anywhere")}<div><map-select-tools .bufferColor=${this.bufferColor} .bufferOutlineColor=${this.bufferOutlineColor} class="font-bold" .customLabelEnabled=${this.customLabelEnabled} .defaultBufferDistance=${this.defaultBufferDistance} .defaultBufferUnit=${this.defaultBufferUnit} .enableLayerFeatures=${this.enableLayerFeatures} .enableLayerFeaturesOnLoad=${this.enableLayerFeaturesOnLoad} .enableSearchDistance=${this.enableSearchDistance} .enableSearchDistanceOnLoad=${this.enableSearchDistanceOnLoad} .enableSketchTools=${this.enableSketchTools} .enabledLayerIds=${this.addresseeLayerIds} .isUpdate=${!!this._activeSelection} .mapView=${this.mapView} .noResultText=${this.noResultText} @selectionSetChange=${this._updateForSelection} .searchConfiguration=${this._searchConfiguration} .searchDistanceEnabled=${this.enableSearchDistanceOnLoad} .selectionLayerIds=${this.selectionLayerIds} .selectionSet=${this._activeSelection} .sketchLineSymbol=${this.sketchLineSymbol} .sketchPointSymbol=${this.sketchPointSymbol} .sketchPolygonSymbol=${this.sketchPolygonSymbol} .useLayerFeaturesEnabled=${this.enableLayerFeaturesOnLoad} ${g(this._selectTools)}></map-select-tools></div>${this._getPageNavButtons(this._translations.done,this._numSelected===0,()=>{this._saveSelection()},this._translations.cancel,!1,()=>{this._home()})}</calcite-panel>`}_getExportPage(){let e=this._hasSelections(this.showRefineSelection),t=this._numDuplicates>0?"display-block":"display-none";return n`<calcite-panel><div>${this._getLabel(this._translations.export,!1)}${e?n`<div>${this._getNotice(this._translations.exportTip,"padding-sides-1")}${this._getLabel(this._translations.exportListsLabel)}${this._getExportSelectionLists()}<div class=${`padding-sides-1 ${t}`}><div class="display-flex"><calcite-label layout=inline><calcite-checkbox ${g(this._removeDuplicates)}></calcite-checkbox><div class="display-flex">${this._translations.removeDuplicate}<div class="info-message padding-start-1-2"><calcite-input-message class="info-blue margin-top-0" scale=m>${` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`}</calcite-input-message></div></div></calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=remove-duplicates-icon scale=s></calcite-icon></div><calcite-popover closable label overlay-positioning=fixed reference-element=remove-duplicates-icon><span class="tooltip-message">${this._translations.duplicatesTip}</span></calcite-popover></div><div class="border-bottom"></div><div class="padding-top-sides-1"><calcite-segmented-control class="w-100" @calciteSegmentedControlChange=${this._exportTypeChange} width=full><calcite-segmented-control-item .checked=${this._exportType===c.PDF} class="w-50 end-border" .value=${c.PDF}><span class="font-weight-500">${this._translations.pdf}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${this._exportType===c.CSV} class="w-50" .value=${c.CSV}><span class="font-weight-500">${this._translations.csv}</span></calcite-segmented-control-item></calcite-segmented-control></div><div class="padding-bottom-1">${this._getExportOptions()}</div><div class="padding-1 display-flex"><calcite-button .disabled=${!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults} .loading=${this._fetchingData} @click=${()=>void this._export()} width=full><span class="font-weight-500">${this._translations.export}</span></calcite-button></div></div>`:this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")}</div></calcite-panel>`}_exportTypeChange(e){this._exportType=e.target.value}_getExportOptions(){let e=this._exportType===c.PDF?"display-block":"display-none",t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",a=this._addResults?"":"display-none";return n`<div class=${h(e)}>${this._getLabel(this._translations.pdfOptions,!0)}<div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addResults} @calciteCheckboxChange=${()=>this._addResults=!this._addResults}></calcite-checkbox>${this._translations.addResults}</calcite-label></div><div class=${`padding-top-sides-1 ${a}`}><calcite-label class="label-margin-0">${this._translations.selectPDFLabelOption}</calcite-label></div><div class=${`padding-sides-1 ${a}`}><pdf-download .defaultNumLabelsPerPage=${Number.parseInt(this.defaultNumLabelsPerPage.toString(),10)} .disabled=${!this._downloadActive} ${g(this._downloadTools)}></pdf-download></div><div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addTitle} @calciteCheckboxChange=${()=>this._addTitle=!this._addTitle}></calcite-checkbox>${this._translations.title}</calcite-label></div><div class=${h(t)}>${this._getLabel(this._translations.title,!0,"")}<calcite-input-text class="padding-sides-1" @calciteInputTextInput=${()=>this._changeTitle()} .placeholder=${this._translations.titlePlaceholder} .value=${s} ${g(this._titleElement)}></calcite-input-text></div><div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addMap} @calciteCheckboxChange=${()=>this._handleAddMapChange()}></calcite-checkbox>${this._translations.includeMap}</calcite-label></div><div class=${`padding-top-sides-1 ${i}`}><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._exportGraphics} @calciteCheckboxChange=${()=>this._handleExportGraphicsChange()}></calcite-checkbox>${this._translations.listGraphics}</calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=list-graphics-icon scale=s></calcite-icon><calcite-popover closable label overlay-positioning=fixed reference-element=list-graphics-icon><span class="tooltip-message">${this._translations.listGraphicsTip}</span></calcite-popover></div></div>`}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(e){let t,i=this._pnStateContextProvider.value;return Object.keys(i.managedLayers).some(s=>{let a=this.mapView?.map.layers.findIndex(o=>o.title===s);return i.managedLayers[s]===e&&a!==void 0?(t=this.mapView?.map.layers.getItemAt(a),!0):!1}),t}_updateExportGraphics(e=!1){(e||!this._exportGraphics||!this._addMap)&&this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){let e=this._getManagedLayer("sketch"),t=this._getManagedLayer("buffer");e&&e.graphics.removeAll(),t&&t.graphics.removeAll()}_addExportGraphics(){let e=this._getManagedLayer("sketch"),t=this._getManagedLayer("buffer");this._selectionSets.forEach(i=>{if(i.download&&(e&&i.sketchGraphic&&e.graphics.add(i.sketchGraphic),t)){let s={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},a=this.Graphic&&new this.Graphic({geometry:i.buffer,symbol:s});a&&t.graphics.add(a)}})}_getRefinePage(){let e=this._hasSelections();return n`<calcite-panel>${this._getLabel(this._translations.refineSelection)}${e?n`<div>${this._getNotice(this._translations.refineTip,"padding-sides-1")}<refine-selection .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} .selectionSets=${this._selectionSets} .sketchLineSymbol=${this.sketchLineSymbol} .sketchPointSymbol=${this.sketchPointSymbol} .sketchPolygonSymbol=${this.sketchPolygonSymbol} .bufferColor=${this.bufferColor} .bufferOutlineColor=${this.bufferOutlineColor} .defaultBufferDistance=${this.defaultBufferDistance} .defaultBufferUnit=${this.defaultBufferUnit} .enableSearchDistance=${this.enableSearchDistance} .enableSearchDistanceOnLoad=${this.enableSearchDistanceOnLoad} .searchDistanceEnabled=${this.enableSearchDistanceOnLoad}></refine-selection></div>`:this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1")}</calcite-panel>`}_getPageNavButtons(e,t,i,s,a,o){return n`<div class="padding-bottom-1"><div class="display-flex padding-top-sides-1"><calcite-button .disabled=${t} @click=${i} width=full><span class="font-weight-500">${e}</span></calcite-button></div><div class="display-flex padding-top-1-2 padding-sides-1"><calcite-button appearance=outline .disabled=${a} @click=${o} width=full><span class="font-weight-500">${s}</span></calcite-button></div></div>`}_changeTitle(){this._titleElement.value?.value&&(this._titleValue=this._titleElement.value.value||"")}_getNotice(e,t="padding-1",i=""){return n`<calcite-notice class=${h(t)} icon=lightbulb kind=success open><div class=${h(i)} slot=message>${e}</div></calcite-notice>`}_getLabel(e,t=!1,i="font-bold"){return i+=t?" label-margin-0":"",n`<div class=padding-top-sides-1><calcite-label class=${h(i)}>${e}</calcite-label></div>`}_getExportSelectionLists(){return this._selectionSets.reduce((e,t)=>{let i=this._getSelectionSetIds(t),s=t.workflowType!==r.REFINE||i.length>0;return!this._downloadActive&&t.download&&s&&(this._downloadActive=!0),s&&e.push(n`<div class="display-flex padding-sides-1 padding-bottom-1"><calcite-checkbox .checked=${t.download} class="align-center" @calciteCheckboxChange=${()=>{this._toggleDownload(t.id)}}></calcite-checkbox><calcite-list class="list-border margin-start-1-2 width-full" id=download-list label><calcite-list-item .disabled=${!t.download} .label=${t.label} @click=${()=>{this._toggleDownload(t.id)}}><div slot=content><div class="list-label">${t.label}</div><div class="list-description">${t?.layerView?.layer.title}</div><div class="list-description">${this._translations.selectedFeatures.replace("{{n}}",i.length.toString())}</div></div></calcite-list-item></calcite-list></div>`),e},[])||n`<div></div>`}async _toggleDownload(e){let t=!1;this._selectionSets=this._selectionSets.map(i=>(i.download=i.id===e?!i.download:i.download,t=i.download?!0:t,i)),this._updateExportGraphics(!0),this._downloadActive=t,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){let e=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===c.PDF){let t="";this._addMap&&this.mapView&&(t=(await this.mapView.takeScreenshot({width:1500,height:2e3}))?.dataUrl),this._fetchingData=!0,this._downloadTools.value&&this._removeDuplicates.value&&this.mapView?.map&&await this._downloadTools.value.downloadPDF(this.mapView.map,e,this._removeDuplicates.value.checked,this._addTitle&&this._titleElement.value?this._titleElement.value.value:"",t),this._fetchingData=!1}this._exportType===c.CSV&&(this._fetchingData=!0,this._downloadTools.value&&this.mapView?.map&&await this._downloadTools.value.downloadCSV(this.mapView.map,e,this._removeDuplicates.value?.checked||!1),this._fetchingData=!1)}_getSelectionIdsAndViews(e,t=!1){return(t?e.filter(i=>i.download):e).reduce((i,s)=>{if(s.workflowType===r.REFINE)Object.keys(s.refineInfos).forEach(a=>{let o=s.refineInfos[a];if(o.addIds){let _=o.layerView.layer.id;i=this._updateExportInfos(i,_,s.label,o.addIds,o.layerView)}});else{let a=s?.layerView?.layer.id;a!==void 0&&s.layerView&&(i=this._updateExportInfos(i,a,s.label,s.selectedIds,s.layerView))}return i},{})}_updateExportInfos(e,t,i,s,a){return t&&Object.keys(e).indexOf(t)>-1?(e[t].ids=[...new Set([...e[t].ids,...s])],e[t].selectionSetNames.push(i)):t&&(e[t]={ids:s,layerView:a,selectionSetNames:[i]}),e}_getAction(e,t,i,s,a=!1,o=""){return n`<calcite-action .disabled=${!e} .icon=${t} icon-flip-rtl .indicator=${a} @click=${s} slot=${o??d} .text=${i}></calcite-action>`}_updateForSelection(e){this._numSelected=e.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(l.LIST)}async _saveSelection(){let e=await this._selectTools.value?.getSelection();if(e){let t=this._selectTools.value?.isUpdate;this._selectionSets=t?this._selectionSets.map(i=>i.id===e.id?e:i):[...this._selectionSets,e]}return this._home()}async _clearSelection(){await this._selectTools.value?.clearSelection(),this._numSelected=0,this._activeSelection=void 0}async _deleteSelection(e,t){return t.stopPropagation(),this._selectionSets=this._selectionSets.filter((i,s)=>s!==e?i:!1),this._highlightFeatures()}_gotoSelection(e,t){e.selectedIds&&e.layerView&&T(e.selectedIds,e.layerView,t,this.featureHighlightEnabled,this.featureEffect)}_openSelection(e,t){t.stopPropagation(),this._activeSelection=e,this._pageType=e.workflowType===r.REFINE?l.REFINE:l.SELECT}async _highlightFeatures(){let e=this._pnStateContextProvider.value;this._clearHighlight();let t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===l.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){let a=t[i[s]];if(a.layerView&&this.mapView){let o=await E(a.ids,a.layerView,this.mapView);e.highlightHandles.push(o)}}}_checkPopups(){typeof this._popupsEnabled!="boolean"&&(this._popupsEnabled=!!this.mapView?.popupEnabled)}_clearHighlight(){let e=this._pnStateContextProvider.value;e&&e.highlightHandles&&e.removeHandles()}};$("public-notification",b);export{u as PNStateController,b as PublicNotification};
|
package/dist/cdn/QU33YK2I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a,b}from"./EOZZELAV.js";import"./QBBC7A4Y.js";import"./EAS42GZC.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/RXDDH7T7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a}from"./IBLOFUUX.js";import"./O4ZKMCDY.js";import"./ZT7KJDTU.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import"./EAS42GZC.js";export{a as buildUiSchema};
|
package/dist/cdn/T6NNOIF5.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a,b}from"./55A2KYUG.js";import"./NZO56NNR.js";import"./MSBJECJS.js";import"./CQIWHMR3.js";import"./QBBC7A4Y.js";import"./REW2XBKZ.js";import"./EAS42GZC.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/TRN3X66C.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{b as y}from"./SZNJD54W.js";import{a as f}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b}from"./443EHILD.js";import{C as a,D as h,E as u,G as l,h as w,i as r,l as m}from"./6WW2DA2G.js";import"./EAS42GZC.js";var x=w`/** @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}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}`,g=class extends u{constructor(){super(),this.enabledLayerIds=[],this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableSearch=!1,this.enableBasemap=!1,this.enableHome=!1,this.enableSingleExpand=!1,this.zoomToolsSize="m",this.layout="vertical",this.mapWidgetsSize="m",this.enableMapPicker=!1,this.enableMapLayerPicker=!1,this.position="top-leading",this.stackTools=!0,this.enableSelectionTool=!1,this.toolOrder=["home","legend","search","fullscreen","floorfilter","selectiontool","map-picker","map-layer-picker"],this.mapInfos=[],this.defaultLayerId="",this.isMobile=!1,this.selectedWebMapId="",this.showOnlyUpdatableLayers=!1,this._hasFloorInfo=!1,this._translations=f({name:"map-tools",blocking:!0}),this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1,this._selectionToolActive=!1,this._showEllipsisTools=!0,this._ellipsisTools=[],this._isValidWebMap=!0,this._basemapElement=a(),this._floorFilterElement=a(),this._fullscreenElement=a(),this._legendElement=a(),this._searchElement=a(),this._widgets=[],this._selectionToolElement=a(),this._mapTools=[],this._mapTool=a(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={basemapConfig:0,enabledLayerIds:0,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableSearch:5,enableBasemap:5,enableHome:5,enableSingleExpand:5,zoomToolsSize:1,layout:1,mapView:0,mapWidgetsSize:1,enableMapPicker:5,enableMapLayerPicker:5,position:1,searchConfiguration:0,stackTools:5,enableSelectionTool:5,toolOrder:0,selectedLayer:0,mapInfos:0,defaultLayerId:1,isMobile:5,parentComponentHeight:9,parentComponentWidth:9,selectedWebMapId:1,showOnlyUpdatableLayers:5,mapInfo:0,_hasFloorInfo:16,_translations:16,_showTools:16,_showBasemapWidget:16,_showFloorFilter:16,_showFullscreen:16,_showLegendWidget:16,_showSearchWidget:16,_selectionToolActive:16,_showEllipsisTools:16,_ellipsisTools:16,_isValidWebMap:16}}static{this.styles=x}willUpdate(s){s.has("mapView")&&this.mapViewWatchHandler(),s.has("parentComponentWidth")&&this.parentComponentWidth&&this.parentComponentWidthWatchHandler(this.parentComponentWidth),s.has("_showBasemapWidget")&&(this.hasUpdated||this._showBasemapWidget!==!1)&&this._showBasemapWidgetWatchHandler(this._showBasemapWidget),s.has("_showFloorFilter")&&(this.hasUpdated||this._showFloorFilter!==!1)&&this._showFloorFilterWatchHandler(this._showFloorFilter),s.has("_showFullscreen")&&(this.hasUpdated||this._showFullscreen!==!1)&&this._showFullscreenWatchHandler(this._showFullscreen),s.has("_showLegendWidget")&&(this.hasUpdated||this._showLegendWidget!==!1)&&this._showLegendWidgetWatchHandler(this._showLegendWidget),s.has("_showSearchWidget")&&(this.hasUpdated||this._showSearchWidget!==!1)&&this._showSearchWidgetWatchHandler(this._showSearchWidget)}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.enableHome&&this._initHome(),this.parentComponentWidth&&this._updateTools(this.parentComponentWidth)})}async parentComponentWidthWatchHandler(s){this._updateTools(s)}async _showBasemapWidgetWatchHandler(s){let e=this._basemapElement.value?this._basemapElement.value.basemapWidget:void 0;e&&(s?this.mapView?.ui.add(e,{position:this.position,index:1}):this.mapView?.ui.remove(e))}async _showFloorFilterWatchHandler(s){let e=this._floorFilterElement.value?this._floorFilterElement.value.floorFilterWidget:void 0;e&&(s?this.mapView?.ui.add(e,{position:this.position,index:1}):this.mapView?.ui.remove(e))}async _showFullscreenWatchHandler(s){let e=this._fullscreenElement.value?this._fullscreenElement.value.fullscreenWidget:void 0;e&&(s?e.viewModel.state==="ready"&&e.viewModel.enter():e.viewModel.state==="active"&&e.viewModel.exit())}async _showLegendWidgetWatchHandler(s){let e=this._legendElement.value?this._legendElement.value.legendWidget:void 0;e&&(s?this.mapView?.ui.add(e,{position:this.position,index:1}):this.mapView?.ui.remove(e))}async _showSearchWidgetWatchHandler(s){let e=this._searchElement.value?this._searchElement.value.searchWidget:void 0;e&&(s?this.mapView?.ui.add(e,{position:this.position,index:1}):this.mapView?.ui.remove(e))}async mapChanged(s){let e=s.detail.isValid;this._isValidWebMap=e}async load(){this._mapTools=[...this.toolOrder],await this._initModules()}render(){this._setZoomToolsSize();let s=this.layout==="horizontal"?"display-flex":"",e=this._getToggleIcon(),t=this._showTools?s:"display-none",i=this._showEllipsisTools?"":"display-none",n=this._showSearchWidget?"":"display-none",o=this._showBasemapWidget?"":"display-none",d=this._showLegendWidget?"":"display-none",p=this._showFloorFilter?"":"display-none",c=this._showFullscreen?"":"display-none",W=this._showTools?this._translations.collapse:this._translations.expand,T=!this.enableBasemap&&!this.enableFullscreen&&!this.enableLegend&&!this.enableSearch&&!this.enableMapPicker&&!this.enableMapLayerPicker?"display-none":"",v=this.enableSingleExpand?this.layout==="horizontal"?"margin-left-1-2":"margin-top-1-2":"",F=this._ellipsisTools.length>0&&this._showTools?"":"display-none",_=this.stackTools&&this._ellipsisTools.length===0?"box-shadow":"";return r`<div class=${`${T} ${s}`}>${this.enableSingleExpand?r`<div class=${l(_)}>${this._getActionGroup(e,!1,W||"",()=>this._toggleTools())}</div>`:void 0}<div class=${`${v} ${_} ${t}`}>${this._getMapWidgets(this._mapTools)}</div><div><div class=${l(F)}>${this._getActionGroup("ellipsis",!1,"",()=>this._toggleEllipsisTools())}<div class=${l(i)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><basemap-gallery .basemapConfig=${this.basemapConfig} class=${l(o)} .mapView=${this.mapView} ${h(this._basemapElement)}></basemap-gallery><map-search class=${l(n)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${h(this._searchElement)}></map-search><map-legend class=${l(d)} .mapView=${this.mapView} ${h(this._legendElement)}></map-legend><map-fullscreen class=${l(c)} .mapView=${this.mapView} @fullscreenStateChange=${$=>this._fullscreenStateChange($.detail)} ${h(this._fullscreenElement)}></map-fullscreen><floor-filter class=${l(p)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${h(this._floorFilterElement)}></floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${()=>{this._selectionToolActive=!this._selectionToolActive}} .selectedLayerId=${this.selectedLayer?.id} tool=rectangle ${h(this._selectionToolElement)}></selection-tool>${this.enableMapPicker&&r`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight??0)-25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>`||""}${this.enableMapLayerPicker&&this.selectedLayer&&r`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight??0)-25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>`||""}`}async _initModules(){let[s,e]=await y(["esri/widgets/Expand","esri/widgets/Home"]);this.Expand=s,this.Home=e}_initHome(){this.enableHome&&(this._homeWidget=this.Home&&new this.Home({view:this.mapView}))}_setZoomToolsSize(){let s=document.getElementsByClassName("esri-zoom")[0]?.children[0],e=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(s&&e){let t=this.zoomToolsSize==="s"?"32px":this.zoomToolsSize==="m"?"40px":"48px";s.style.width=t,s.style.height=t,e.style.width=t,e.style.height=t}this.layout==="horizontal"&&(document.getElementsByClassName("esri-zoom")[0]?.setAttribute("style","position: absolute; top: 50px; left: 0"),document.getElementsByClassName("esri-ui-top-left")[0]?.setAttribute("style","flex-direction: row; gap: 5px; align-items: flex-start; direction: ltr !important; z-index: 1;"))}_getToggleIcon(){return this.layout==="horizontal"?this._showTools?"chevrons-left":"chevrons-right":this._showTools?"chevrons-up":"chevrons-down"}_updateTools(s){let e=JSON.parse(JSON.stringify(this.toolOrder));this._hasFloorInfo=this.mapView?.map?.floorInfo;let t=e.indexOf("floorfilter");t>-1&&!this._hasFloorInfo&&e.splice(t,1);let i=Math.ceil(s/40)-1;i&&i!==e.length-1?(this._mapTools=e.slice(0,i),this._ellipsisTools=e.slice(i,e.length)):(this._mapTools=e,this._ellipsisTools=[])}_getMapWidgets(s){let e=this._showFullscreen?"full-screen-exit":"full-screen",t=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen,i=this._isValidWebMap?"map":"exclamation-mark-triangle",n=this.selectedLayer===void 0?"exclamation-mark-triangle":"layers";return s.map(o=>{switch(o){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,()=>this._showLegend()):this.enableLegend?this._getWidget(o,this._legendElement.value?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,()=>this._search()):this.enableSearch?this._getWidget(o,this._searchElement.value?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(e,!1,t||"",()=>this._expand()):this.enableFullscreen?this._getWidget(o,this._fullscreenElement.value?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,()=>this._toggleBasemapPicker()):this.enableBasemap?this._getWidget(o,this._basemapElement.value?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,()=>this._toggleFloorFilter()):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(o,this._floorFilterElement.value?.floorFilterWidget,!0):void 0;case"selectiontool":return this.enableSelectionTool&&this.selectedLayer?this._getActionGroup("cursor-selection",!1,this._translations.selectByRectangle,()=>this._toggleSelectionTool(),this._selectionToolActive):void 0;case"home":return this.enableHome?this._getActionGroup("home",!1,this._translations.defaultMapView,()=>this._homeWidget?.go()):void 0;case"map-picker":return this.enableMapPicker?this._getActionGroup(i,!1,"",()=>{},!this._isValidWebMap):void 0;case"map-layer-picker":return this.enableMapLayerPicker&&this._isValidWebMap?this._getActionGroup(n,!1,"",()=>{},this.selectedLayer===void 0):void 0;default:return""}})}_fullscreenStateChange(s){s==="ready"&&this._showFullscreen?this._showFullscreen=!1:s==="active"&&!this._showFullscreen&&(this._showFullscreen=!0)}_getActionGroup(s,e,t,i,n,o){let d=this.mapWidgetsSize==="s"?"square-32":this.mapWidgetsSize==="m"?"square-40":"square-48",p=this.stackTools?"":"margin-bottom-1-2",c=this.stackTools?"":"box-shadow";return r`<div><calcite-action alignment=center .indicator=${o} class=${`map-actions ${d} ${p} border-bottom ${c} ${n?"danger-icon-color":""}`} .disabled=${e} .icon=${s} id=${s??m} @click=${i} scale=s text ${h(this._mapTool)}><calcite-icon icon=chevron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile&&r`<calcite-tooltip .placement=${this.layout==="vertical"?"auto":"bottom"} reference-element=${s??m}><span>${t}</span></calcite-tooltip>`||""}</div>`}_getWidget(s,e,t){if(this._widgets.indexOf(s)<0&&this.mapView&&e){let i=this.toolOrder.indexOf(s),n=this.Expand&&new this.Expand({view:this.mapView,content:e}),o=this.enableHome?2:1;this.mapView.ui.add(t?n:e,{position:this.position,index:i>-1?i+o:1}),this._widgets.push(s)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1,this._toggleEllipsisTools()}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1,this._toggleEllipsisTools()}_toggleSelectionTool(){this._selectionToolActive=!this._selectionToolActive,this._selectionToolElement.value?.toggleSelectionTool()}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools,this._toggleEllipsisTools()}_toggleEllipsisTools(){this._showEllipsisTools=!this._showEllipsisTools}};b("map-tools",g);export{g as MapTools};
|
package/dist/cdn/TW7EJR75.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a as T}from"./DVGLTRJU.js";import b from"./UM5O6SR4.js";import{b as I}from"./T6FIJDJK.js";import{qb as x,rb as $}from"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import{G as _}from"./27VT6FGO.js";import{a as g}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as m}from"./443EHILD.js";import{C as l,D as o,E as f,G as n,h,i as a,o as d}from"./6WW2DA2G.js";import"./EAS42GZC.js";export default $arcgis.t(([{d:p}])=>{var N=h`/** @license
|
|
5
|
-
* Copyright 2025 Esri
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
* you may not use this file except in compliance with the License.
|
|
9
|
-
* You may obtain a copy of the License at
|
|
10
|
-
*
|
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
*
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
* See the License for the specific language governing permissions and
|
|
17
|
-
* limitations under the License.
|
|
18
|
-
*/.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.font-style-1{font-size:1rem;color:var(--calcite-color-text-2)}.margin-top-0{margin-top:0}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-2{padding-bottom:2rem}.padding-left-2{padding-left:2rem}.padding-right-2{padding-right:2rem}.padding-top-2{padding-top:2rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.width-full{width:100%}.justify-content-space{justify-content:space-between}`,u=class extends f{constructor(){super(...arguments),this.open=!1,this.templateInfos=[],this._saveDisabled=!1,this._displayTemplateInfos=[],this._hasNameLengthError=!1,this._solutionItemsTitlesUpdating=!1,this._translations=g({name:"solution-configure-titles",blocking:!0}),this._prefixRef=l(),this._prefixValue="",this._suffixRef=l(),this._suffixValue="",this._accordionRef=l(),this._userSessionContextConsumer=I({context:T,subscribe:!0}),this.solutionConfigureTitlesBeforeClose=d(),this.solutionItemsTitlesChanged=d()}static{this.properties={card:0,open:5,templateInfos:0,_saveDisabled:16,_displayTemplateInfos:16,_hasNameLengthError:16,_solutionItemsTitlesUpdating:16,_translations:16}}static{this.styles=N}willUpdate(e){e.has("templateInfos")&&this._updateTemplates()}load(){this._updateTemplates(),this._selectFirstAccordionItem()}render(){return a`<calcite-dialog .heading=${this.card.title} modal @calciteDialogBeforeClose=${()=>{this.solutionConfigureTitlesBeforeClose.emit()}} .open=${this.open} outside-close-disabled width=l>${this._getPrefixSuffixControls()}${this._getAccordion()}${this._getDialogButtons()}</calcite-dialog>`}_getPrefixSuffixControls(){let e=p(this._prefixValue),s=this._hasNameLengthError&&this._prefixValue.length>0,i=!e,t=!s,y=i?"display-none":"",v=t?"display-none":"",b=i&&t?"valid":"invalid",C=p(this._suffixValue),w=this._hasNameLengthError&&this._suffixValue.length>0,r=!C,c=!w,S=r?"display-none":"",L=c?"display-none":"",E=r&&c?"valid":"invalid";return this._saveDisabled=!i||!t||!r||!c,a`<div class="display-flex flex-direction-column padding-left-2 padding-right-2"><calcite-label scale=l class="font-weight-medium">${this._translations.configureTitlesDialogHeader}</calcite-label><p class="font-style-1 margin-top-0">${this._translations.addPrefixOrSuffixToItems}</p><div class="display-flex flex-direction-row justify-content-space"><calcite-label class="width-full padding-end-1" scale=l>${this._translations.prefixToAddToItems}<calcite-input @input=${this._prefixInput} .placeholder=${this._translations.enterPrefixPlaceholder} .status=${b} ${o(this._prefixRef)}></calcite-input><calcite-input-message class=${n(y)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${n(v)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label><calcite-label class="width-full" scale=l>${this._translations.suffixToAddToItems}<calcite-input @input=${this._suffixInput} .placeholder=${this._translations.enterSuffixPlaceholder} .status=${E} ${o(this._suffixRef)}></calcite-input><calcite-input-message class=${n(S)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${n(L)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label></div></div>`}_getAccordion(){return a`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-bottom-2"><p class="font-style-1 margin-top-0">${this._translations.previewTheChanges}</p><solution-item-accordion .templateInfos=${this._displayTemplateInfos} .typeKeywords=${this.card?.typeKeywords} ${o(this._accordionRef)}></solution-item-accordion></div>`}_getDialogButtons(){return a`<div slot=footer-end><calcite-button appearance=outline class="padding-end-1-2" kind=brand @click=${this._closeDialog}>${this._translations.cancelTheDialog}</calcite-button><calcite-button .disabled=${this._saveDisabled} kind=brand .loading=${this._solutionItemsTitlesUpdating} @click=${this._commitNameChanges}>${this._translations.applyChangesAndCloseTheDialog}</calcite-button></div>`}_prefixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._prefixValue=this._prefixRef.value?.value||"",this._updateTemplates()},500)}_suffixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._suffixValue=this._suffixRef.value?.value||"",this._updateTemplates()},500)}_updateTemplates(){let e=/[^\s\\]/.test(this._prefixValue),s=/[^\s\\]/.test(this._suffixValue),i=JSON.parse(JSON.stringify(this.templateInfos));this._hasNameLengthError=!1,this._displayTemplateInfos=i.map(t=>(t.title=e&&s?`${`${this._prefixValue} `}${t.title}${` ${this._suffixValue}`}`:e?`${`${this._prefixValue} `}${t.title}`:s?`${t.title}${` ${this._suffixValue}`}`:t.title,this._hasNameLengthError||(this._hasNameLengthError=t.title.length>_),t))}async _selectFirstAccordionItem(){await new Promise(e=>setTimeout(e,0)),this._accordionRef.value&&await this._accordionRef.value.selectFirstItem()}_closeDialog(){this.open=!1}async _commitNameChanges(){if(JSON.stringify(this.templateInfos)!==JSON.stringify(this._displayTemplateInfos)){this._solutionItemsTitlesUpdating=!0;let e=this._displayTemplateInfos.reduce((s,i)=>{let t={id:i.id,title:i.title};return s.push(i.type==="Group"?$(t,this._userSessionContextConsumer.value):x(t,this._userSessionContextConsumer.value)),s},[]);await Promise.all(e),this._solutionItemsTitlesUpdating=!1,this.solutionItemsTitlesChanged.emit()}this._closeDialog()}};m("solution-configure-titles",u);return u},b)
|
package/dist/cdn/VGHU623Q.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a as C}from"./G24DNHCB.js";import"./4QNOYSPY.js";import{d as x}from"./R22HIDGZ.js";import{a as s}from"./27VT6FGO.js";import"./4BXRZ62B.js";import{a as I}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as L}from"./443EHILD.js";import{C as h,D as r,E as $,G as d,H as v,h as f,i as l,l as w,o as m,r as y}from"./6WW2DA2G.js";import"./EAS42GZC.js";var O=f`@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)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-1{z-index:1}.z-index-2{z-index:2!important}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-top{border-top:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;margin:100px 0;z-index:1}.left-0{left:0}.right-0{right:0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,_=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=I({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._showInvalidMapAlert=!1,this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=m(),this.showCoverPage=m(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"idsFound",this.idsFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),this.listenOn(window,"creatingFeature",this.creatingFeature),C(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16,_showInvalidMapAlert:16}}static{this.styles=O}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&this._layerTable.value&&this._layerTable.value.refresh())}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._isMapViewOnLoad&&(this._showMapInFullView(),this._isMapViewOnLoad=!1),this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),this._mapChange?.isValid?await this._mapChange.mapView?.when(async()=>{await this._setMapView()}):(this._mapInfo=this._mapChange&&this._getMapInfo(this._mapChange.id),this._showInvalidMapAlert=!0)}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await x(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async noLayersFound(){this._layer=void 0,this._isLoading=!1}async idsFound(e){this._layerIds=e.detail.layerIds}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}async creatingFeature(){this.appLayout="splitView"}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"",t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",i=this._translations.invalidWebMapMsg?.replace("{{web_map}}",this._mapInfo?.name||"");return l`${this._showInvalidMapAlert&&l`<calcite-alert auto-close class=${d(t)} icon=check-circle kind=danger label @calciteAlertClose=${()=>{this._showInvalidMapAlert=!1}} open placement=top><div slot=message>${i}</div></calcite-alert>`||""}<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){return e===s.HORIZONTAL?t?"chevrons-up":"chevrons-down":e===s.VERTICAL||e===s.GRID?t?"chevrons-left":"chevrons-right":void 0}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",n=document.dir==="rtl"?"left-0":"right-0";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class=${`floating-container ${n}`} @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class=${`floating-container ${n}`} @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-2`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer,n=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,p=["home","legend","search","fullscreen","basemap","floorfilter","selectiontool"],c=["map-picker","map-layer-picker"];return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSelectionTool=${n} .enableShare=${this.enableShare} enable-single-expand enable-map-layer-picker enable-map-picker .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(u=>u.visible!==!1)} map-widgets-index=0 map-widgets-position=top-leading mobile-map-widgets-position=top-right map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .mapToolsOrder=${p} .mobileToolsOrder=${c} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${v({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",o=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer;return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${o} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=o?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${o?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isMobile?"visibility-hidden":a?"display-none":"",p=a?"height-full width-full z-index-0":"display-none",c=this._getTableSizeClass(e,t),u=e===s.HORIZONTAL?"horizontal":"vertical",T=e===s.HORIZONTAL?"header":"panel-start",b=this.defaultWebmap&&this.defaultLayer,M=this._isMobile?"border-top":"",g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,S=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(F=>Number.parseInt(F,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${c} ${M} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${u} slot=${T??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${b?g:void 0} .defaultLayerId=${b?this.defaultLayer:""} .defaultOid=${b&&!g?S:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${d(p)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${d(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0,t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-dialog class=${`filter-content-space ${t}`} .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._initLayerExpressions(),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView&&(this._mapView.popupEnabled=!1);let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView?.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};L("crowdsource-manager",_);export{_ as CrowdsourceManager};
|
package/dist/cdn/Y5S76IXI.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.24 */
|
|
4
|
-
import{a as O}from"./CYG5JUF7.js";import{e as _}from"./ZAL2JPN6.js";import{a as l,f as p}from"./KXKFOLKN.js";import"./74AIX5RH.js";import"./EAS42GZC.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.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 o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./P6OT3PMN.js"),m={"hub:card:stat":()=>import("./X4DEDSCC.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./4Y7ZVP46.js"),m={"hub:card:follow":()=>import("./W5O6BHYJ.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./X5FANKH6.js"),m=import("./HXHGWVUO.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:o}=a;o||(o=""),t.maxLength=_(o);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:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./3DQY36BR.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./4RNO5M22.js"),"hub:site:create":()=>import("./DED6BDXL.js"),"hub:site:followers":()=>import("./STHO3HPO.js"),"hub:site:discussions":()=>import("./CHNYABSO.js"),"hub:site:settings":()=>import("./ERSOKPXT.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("./T6KDHTIZ.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./II25P5CO.js"),"hub:discussion:create":()=>import("./LNFEAJAZ.js"),"hub:discussion:settings":()=>import("./XH2Q2TTU.js"),"hub:discussion:settings:discussions":()=>import("./WL4NQCES.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("./2CCBXSKK.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./JIREIGOU.js"),"hub:channel:create":()=>import("./RXDDH7T7.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./K3OZMGZ3.js");r=l(n);let v=await{"hub:project:edit":()=>import("./YAYHUH5G.js"),"hub:project:create":()=>import("./CE2PWV2T.js"),"hub:project:create2":()=>import("./ZGXAJOK6.js"),"hub:project:metrics":()=>import("./AAXTQRZG.js"),"hub:project:settings":()=>import("./XSE22DX2.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("./T6NNOIF5.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./W6XHOAIY.js"),"hub:initiative:create":()=>import("./CZIXYCET.js"),"hub:initiative:create2":()=>import("./2KZX4PSI.js"),"hub:initiative:metrics":()=>import("./SVTYAHMC.js"),"hub:initiative:associations":()=>import("./WOXREBHW.js"),"hub:initiative:settings":()=>import("./WFZWW33X.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("./3VUSEXMB.js");r=l(I);let D=await{"hub:page:edit":()=>import("./WP7F5HRM.js"),"hub:page:create":()=>import("./SMZGBF7A.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("./7HWYZVCJ.js");r=l(K);let U=await{"hub:content:edit":()=>import("./V2K3CARG.js"),"hub:content:discussions":()=>import("./FLMVVIYI.js"),"hub:content:settings":()=>import("./VEUQH5L3.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("./F37UKUAV.js");r=l(y);let k=await{"hub:template:edit":()=>import("./2YG6C32T.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("./QU33YK2I.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./UIGYM74T.js"),"hub:group:create:association":()=>import("./FEODTSQT.js"),"hub:group:create:view":()=>import("./P7H776WT.js"),"hub:group:create:edit":()=>import("./6MECJUZM.js"),"hub:group:create":()=>import("./KRZ6DGKX.js"),"hub:group:edit":()=>import("./2PC724CH.js"),"hub:group:settings":()=>import("./QC34FER4.js"),"hub:group:discussions":()=>import("./WTVABM3O.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("./4JCL7LZR.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./HRKWHIYV.js"),"hub:survey:settings":()=>import("./NWOOAUG7.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./2PHLVPTR.js"),"hub:event:edit":()=>import("./ZL7IV42Y.js"),"hub:event:registrants":()=>import("./NAUVQEGN.js")}[a](),H=await{"hub:event:create":()=>import("./CELVLTD3.js"),"hub:event:edit":()=>import("./PRIALFET.js"),"hub:event:registrants":()=>import("./YHMAN2VX.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./XUNRNHCK.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./JEWJNGE6.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("./Z2EMCTSK.js");r=l(N);let P=await{"hub:user:settings":()=>import("./FDGI4V7M.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};
|