@esri/solutions-components 1.1.0-next.20251015.1 → 1.1.0
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/{IKYTE2FN.js → 22OA2X7F.js} +2 -2
- package/dist/cdn/{RU2ZQUD7.js → 23S4BMNB.js} +2 -2
- package/dist/cdn/{CNMMVNTV.js → 27OQI5JT.js} +2 -2
- package/dist/cdn/{UEQ3VZSA.js → 2BQCOVME.js} +2 -2
- package/dist/cdn/{V3OBNAAE.js → 2CIRIU3Q.js} +2 -2
- package/dist/cdn/{54ARXWKE.js → 2G3HCFJ7.js} +2 -2
- package/dist/cdn/{IJEJKEC4.js → 2J6BGZWE.js} +2 -2
- package/dist/cdn/{44EJZA6T.js → 2KKFZ7KY.js} +2 -2
- package/dist/cdn/{CBDB4RMH.js → 2LIVMQO2.js} +2 -2
- package/dist/cdn/{2UCZ6YBP.js → 2PFP4SVP.js} +2 -2
- package/dist/cdn/{RGGFNMOE.js → 2XTYWT3B.js} +2 -2
- package/dist/cdn/{2S7PDHXP.js → 2ZJRDJJK.js} +2 -2
- package/dist/cdn/{FYDX2SB7.js → 32HJ7U6I.js} +2 -2
- package/dist/cdn/{AGF3GSOI.js → 34LPRBJE.js} +3 -3
- package/dist/cdn/{YY6GCCSV.js → 37HGSBPX.js} +2 -2
- package/dist/cdn/{QU3PWGK6.js → 3AZTP5O6.js} +2 -2
- package/dist/cdn/{YJ5RGO3H.js → 3JHRLX63.js} +2 -2
- package/dist/cdn/{V4KGEXE2.js → 3JNOCCQ5.js} +2 -2
- package/dist/cdn/{NLMPFG6X.js → 3LABEKOR.js} +2 -2
- package/dist/cdn/{WYGVR7KD.js → 3MC7JXDY.js} +2 -2
- package/dist/cdn/{MOAG6X2Y.js → 3MPDK4WK.js} +2 -2
- package/dist/cdn/{LDNSWL2Z.js → 3O2T33CU.js} +2 -2
- package/dist/cdn/{6YKCCSEU.js → 3PD2HBG5.js} +2 -2
- package/dist/cdn/{B37RCFLV.js → 3S2J6YOU.js} +2 -2
- package/dist/cdn/3WH4NYCV.js +18 -0
- package/dist/cdn/{6UWUDE55.js → 3WJFXADS.js} +1 -1
- package/dist/cdn/{YEL6ZGK7.js → 3WWK4QH7.js} +2 -2
- package/dist/cdn/{QHLLQI42.js → 46SKFEV5.js} +2 -2
- package/dist/cdn/{4AC3EMTS.js → 4CQVWVRQ.js} +2 -2
- package/dist/cdn/{GBLEKTEQ.js → 4FKOEYT7.js} +2 -2
- package/dist/cdn/{NQ6KROBY.js → 4OJUMAO5.js} +2 -2
- package/dist/cdn/4YJSVXJ5.js +4 -0
- package/dist/cdn/{4OXWZV57.js → 52OASXL7.js} +2 -2
- package/dist/cdn/{5N6VXCFL.js → 54NFAZPM.js} +2 -2
- package/dist/cdn/{2OERSEL4.js → 57NVVPZ6.js} +2 -2
- package/dist/cdn/{XVIJ22OG.js → 5G7ROHGR.js} +2 -2
- package/dist/cdn/{GSE6TLTV.js → 5MIJQHLO.js} +2 -2
- package/dist/cdn/{3VYCPR2S.js → 5PI2LBL6.js} +1 -1
- package/dist/cdn/{VTDDIS6F.js → 5RWKIDK3.js} +2 -2
- package/dist/cdn/{AD6Y4WAH.js → 5SS6W6NK.js} +2 -2
- package/dist/cdn/{XVXCQG3C.js → 5VLZX43L.js} +2 -2
- package/dist/cdn/{LMVJPTLK.js → 63LGZYFE.js} +2 -2
- package/dist/cdn/{D5Q4UAHQ.js → 65W7HSK5.js} +2 -2
- package/dist/cdn/{IZ4L64TO.js → 66RUIDW2.js} +2 -2
- package/dist/cdn/{LBCHSNQJ.js → 6BN55UJC.js} +2 -2
- package/dist/cdn/{A6OECACX.js → 6CR3ELYN.js} +2 -2
- package/dist/cdn/{M22UUKAK.js → 6CYD25YN.js} +2 -2
- package/dist/cdn/{K5SS6M5G.js → 6ELJSTOG.js} +2 -2
- package/dist/cdn/{FELFYFY4.js → 6GVUSF7Y.js} +2 -2
- package/dist/cdn/{2QM7BE4O.js → 6HYASXTD.js} +2 -2
- package/dist/cdn/{P7IXPN44.js → 6NWHOOTK.js} +1 -1
- package/dist/cdn/{JAESJZGN.js → 6QX7DZ4M.js} +2 -2
- package/dist/cdn/{MZKZVHAM.js → 6RIMAYT3.js} +2 -2
- package/dist/cdn/{ZVGNI444.js → 6TV3KIXK.js} +2 -2
- package/dist/cdn/{GD5HWGXK.js → 6WB4Q4JY.js} +2 -2
- package/dist/cdn/{5B5RZS2K.js → 737LKBTG.js} +1 -1
- package/dist/cdn/{GQ4PWQQW.js → 73SD6Y3C.js} +2 -2
- package/dist/cdn/{ND3DHQ24.js → 77FI7XPK.js} +2 -2
- package/dist/cdn/{YDYYJMXJ.js → 77NM6UZI.js} +2 -2
- package/dist/cdn/7BXNJPWD.js +4 -0
- package/dist/cdn/{OKHGJM4V.js → 7CUPT6B7.js} +2 -2
- package/dist/cdn/{FTWTALZD.js → 7HGENER4.js} +2 -2
- package/dist/cdn/{VFIVVIKJ.js → 7JFSYU6C.js} +2 -2
- package/dist/cdn/{5QMHMYYC.js → 7ODMOYJD.js} +2 -2
- package/dist/cdn/{TNRGSGGK.js → 7T2EBM7A.js} +2 -2
- package/dist/cdn/{FLIACCNY.js → 7UCBWXL5.js} +2 -2
- package/dist/cdn/{ZNPCXRYH.js → 7UNMXF34.js} +2 -2
- package/dist/cdn/{XXVYYOKU.js → 7WT26OPO.js} +2 -2
- package/dist/cdn/{DQNFCW45.js → 7XJEVL4H.js} +2 -2
- package/dist/cdn/{MQSWCDFV.js → A5WNDAV3.js} +2 -2
- package/dist/cdn/{TGTBQ4IM.js → A7SGX5YT.js} +2 -2
- package/dist/cdn/{VO2TBKVN.js → AA5OWGXP.js} +3 -3
- package/dist/cdn/{CKVNTJTS.js → ABUXWFTT.js} +2 -2
- package/dist/cdn/{BSYCFXAN.js → AFHWOLNP.js} +2 -2
- package/dist/cdn/{XUDVBJIK.js → AFTTIRBK.js} +2 -2
- package/dist/cdn/{5L57Y4TT.js → AIH4IM4R.js} +1 -1
- package/dist/cdn/{6OL47FHV.js → AMY5TGXW.js} +2 -2
- package/dist/cdn/{S7DJNJYY.js → AOXMRIER.js} +2 -2
- package/dist/cdn/{KWOBCXTI.js → B2YABCF7.js} +2 -2
- package/dist/cdn/{G3H7D6UH.js → B4BAMNQZ.js} +2 -2
- package/dist/cdn/{2HPCEZUF.js → B5FFRI4V.js} +2 -2
- package/dist/cdn/{HWY7JULN.js → B5PO5VTY.js} +2 -2
- package/dist/cdn/{AJX4JPNT.js → B5TRNVXS.js} +2 -2
- package/dist/cdn/{WYUJ6NBJ.js → BD4Z5LKE.js} +2 -2
- package/dist/cdn/{I46NMZAU.js → BDGS3VJY.js} +2 -2
- package/dist/cdn/BE572B5U.js +4 -0
- package/dist/cdn/{FH6MNROE.js → BEXEPRS5.js} +2 -2
- package/dist/cdn/{7QR7NLOV.js → BMJZ7SJU.js} +2 -2
- package/dist/cdn/{EXCMCYSA.js → BSIAQJUA.js} +2 -2
- package/dist/cdn/{HE5NK4OL.js → BYTSY4W5.js} +2 -2
- package/dist/cdn/{6WCUSZH7.js → BZLXK5A3.js} +2 -2
- package/dist/cdn/{3PXOZ4VC.js → C2K74RDX.js} +2 -2
- package/dist/cdn/{LWBQ4ZM5.js → CAQOBV5A.js} +2 -2
- package/dist/cdn/CB76NLMT.js +18 -0
- package/dist/cdn/{P3V7RDMU.js → CF54Q5YE.js} +2 -2
- package/dist/cdn/{OFGWTNNG.js → CHUHLOJP.js} +2 -2
- package/dist/cdn/{2BA65KL3.js → CISIY5U6.js} +2 -2
- package/dist/cdn/{IE4V76VW.js → CLAJ2XOW.js} +2 -2
- package/dist/cdn/{PPG2TLS5.js → CRPP5JXO.js} +2 -2
- package/dist/cdn/{TNISWTVC.js → D64WOL2G.js} +2 -2
- package/dist/cdn/{ZFCGEWOY.js → D6XWLOBU.js} +2 -2
- package/dist/cdn/DCWBNROW.js +4 -0
- package/dist/cdn/{MUXEW2EI.js → DFGZSNVP.js} +2 -2
- package/dist/cdn/{SDVDM2NG.js → DFS7UUPH.js} +1 -1
- package/dist/cdn/{GYGRE36O.js → DGDKGAQK.js} +2 -2
- package/dist/cdn/{N2BTXBRA.js → DMQN2SPN.js} +2 -2
- package/dist/cdn/{FOHDHPD5.js → DNW5Y7XF.js} +2 -2
- package/dist/cdn/{PVXYECTY.js → DTDQRALM.js} +1 -1
- package/dist/cdn/{74WWSALI.js → DVFWIJKG.js} +2 -2
- package/dist/cdn/{A5BM3TJ6.js → E3VAATPC.js} +2 -2
- package/dist/cdn/E6WOGJ7F.js +18 -0
- package/dist/cdn/{T5BTHDQC.js → E7R7Q7EG.js} +2 -2
- package/dist/cdn/{CPVITWV2.js → EAKI67WF.js} +1 -1
- package/dist/cdn/{OGL56OTR.js → EFMAKPKZ.js} +2 -2
- package/dist/cdn/{UP63PL53.js → EIX5TZGC.js} +2 -2
- package/dist/cdn/ELHIFSH4.js +18 -0
- package/dist/cdn/{U7XTDM5N.js → EMULILDA.js} +2 -2
- package/dist/cdn/{A2IH3ITG.js → ENCPN6WR.js} +2 -2
- package/dist/cdn/{7KXXVAFB.js → EUKEOESV.js} +2 -2
- package/dist/cdn/{5JHSSQWV.js → EXVYTJWZ.js} +2 -2
- package/dist/cdn/{GUJXAFBP.js → F7FFT7ZB.js} +2 -2
- package/dist/cdn/{WOGOO5RO.js → FAFYE3RG.js} +2 -2
- package/dist/cdn/{R3ZUPICV.js → FCGQOSCY.js} +2 -2
- package/dist/cdn/{SGH2DPH6.js → FDAMAPG2.js} +2 -2
- package/dist/cdn/{OUTI3YYH.js → FFTVUIP7.js} +2 -2
- package/dist/cdn/{OGLRNF4U.js → FPVWCIO7.js} +2 -2
- package/dist/cdn/{HBRFFY75.js → FQHTZYT7.js} +2 -2
- package/dist/cdn/{B7XE662D.js → FXCOD63W.js} +1 -1
- package/dist/cdn/{Q5SMZOBS.js → G27RLQ73.js} +2 -2
- package/dist/cdn/{BMYAJRPQ.js → G2MFQY2I.js} +2 -2
- package/dist/cdn/{I7MSVZLZ.js → G34G6TIZ.js} +1 -1
- package/dist/cdn/{KBYWVXJP.js → G3PBPFWO.js} +2 -2
- package/dist/cdn/{NCCHYDZY.js → G5D25KB4.js} +2 -2
- package/dist/cdn/{7VASVJJE.js → GDSDHDUW.js} +2 -2
- package/dist/cdn/{LHKXWAKI.js → GEKASHAI.js} +2 -2
- package/dist/cdn/{MAZA2SKN.js → GFUALEHA.js} +2 -2
- package/dist/cdn/GJFL7VU5.js +4 -0
- package/dist/cdn/{TYF2N7GJ.js → GM6B5U7P.js} +1 -1
- package/dist/cdn/{J7ZLGYPV.js → GNRM32HC.js} +2 -2
- package/dist/cdn/{BPLLQ4TU.js → GNTR7EXR.js} +2 -2
- package/dist/cdn/{2IIIGO6P.js → GPB44MSI.js} +2 -2
- package/dist/cdn/{SDS5IDG7.js → GPZYE77D.js} +2 -2
- package/dist/cdn/{FKUDFCE7.js → GWXJIXZK.js} +2 -2
- package/dist/cdn/{5EBO3CK2.js → H5AWEVBV.js} +2 -2
- package/dist/cdn/{C2SEGVFV.js → HBEIE66Z.js} +2 -2
- package/dist/cdn/{6N5Z7ELO.js → HBOQ63ZP.js} +2 -2
- package/dist/cdn/{UCJ2FA3M.js → HCNCUGZS.js} +2 -2
- package/dist/cdn/{3A4TXKCP.js → HEHSIXHI.js} +2 -2
- package/dist/cdn/{GJ2RMK23.js → HGNTIYQT.js} +1 -1
- package/dist/cdn/HLQQ6TR4.js +4 -0
- package/dist/cdn/HMWODJBR.js +18 -0
- package/dist/cdn/{EMYF6EFA.js → HMYGFTDB.js} +2 -2
- package/dist/cdn/{XHLKA46H.js → HO32BNLM.js} +2 -2
- package/dist/cdn/{ZUZFCM6S.js → I37HZ5SF.js} +2 -2
- package/dist/cdn/{CVN3FH5T.js → I4WH544G.js} +2 -2
- package/dist/cdn/{57Q4JDZ5.js → I5A7IN5I.js} +2 -2
- package/dist/cdn/{FYCEFUOT.js → I6EXN7WV.js} +2 -2
- package/dist/cdn/{5CVOFWHG.js → IN6U55HN.js} +2 -2
- package/dist/cdn/{54CB6RT5.js → IQUWACDD.js} +2 -2
- package/dist/cdn/{6NICUPTA.js → ITS5XU77.js} +2 -2
- package/dist/cdn/{4LUB2XZG.js → IUEMG5YD.js} +2 -2
- package/dist/cdn/{IYPSTJMC.js → IWBODHPW.js} +2 -2
- package/dist/cdn/{6I6JPIBT.js → IWW5ZJYG.js} +1 -1
- package/dist/cdn/{GWZZ3ITH.js → IYTOH2LC.js} +2 -2
- package/dist/cdn/{T5I64IOL.js → IZ3E7B3U.js} +1 -1
- package/dist/cdn/{YGWVMAMB.js → J2M33U55.js} +2 -2
- package/dist/cdn/{BACBIPDO.js → J47QX26L.js} +2 -2
- package/dist/cdn/{Y3DMPNFD.js → J6BTZ55D.js} +2 -2
- package/dist/cdn/{GWKGCSUR.js → J6MD6K4M.js} +2 -2
- package/dist/cdn/{UUQ2YDIF.js → JN54IUSM.js} +2 -2
- package/dist/cdn/{GW2HRQKT.js → JNSGECLI.js} +2 -2
- package/dist/cdn/{SNJH2RQI.js → JUYYKVTE.js} +2 -2
- package/dist/cdn/{665YHS3W.js → JXWALA62.js} +2 -2
- package/dist/cdn/{KMDBOCW2.js → JY3NCY33.js} +2 -2
- package/dist/cdn/{GMPLR4J5.js → JZXCUVBD.js} +2 -2
- package/dist/cdn/{64H4PIK5.js → K4CXKC7Z.js} +2 -2
- package/dist/cdn/{TO5OTLKP.js → K6GQIHMH.js} +2 -2
- package/dist/cdn/{PT3EGARC.js → KABQHXRV.js} +2 -2
- package/dist/cdn/{5AEWU6E5.js → KCYMVFRG.js} +1 -1
- package/dist/cdn/{4FNJTCB2.js → KDGLKJHT.js} +2 -2
- package/dist/cdn/{SCQL3GII.js → KEFZ5YNV.js} +2 -2
- package/dist/cdn/{XH3DR75Z.js → KFZSBDTM.js} +1 -1
- package/dist/cdn/{TIFSOMQF.js → KHFJW53Q.js} +1 -1
- package/dist/cdn/{NIOHLEO5.js → KHHVMDSQ.js} +2 -2
- package/dist/cdn/{RPK4OTEA.js → KLZMOMHU.js} +2 -2
- package/dist/cdn/KM3EU4G7.js +4 -0
- package/dist/cdn/{GMOOMMHR.js → KPBMYOZ7.js} +2 -2
- package/dist/cdn/{QN4JXS37.js → KQ6BMUH2.js} +2 -2
- package/dist/cdn/{4QXXAX3U.js → KVXSGN5R.js} +2 -2
- package/dist/cdn/{QYAKMJPA.js → KXTNCTMP.js} +1 -1
- package/dist/cdn/{3IIWPGCK.js → KZKIRXHE.js} +1 -1
- package/dist/cdn/{PD3N7S4N.js → KZZHJTPP.js} +2 -2
- package/dist/cdn/{ZRCBFR6O.js → L2LNLN2J.js} +2 -2
- package/dist/cdn/L3KHD2KE.js +18 -0
- package/dist/cdn/{YTULUCEY.js → L42OF72U.js} +2 -2
- package/dist/cdn/{FYQSS5YY.js → L6IAJ72L.js} +1 -1
- package/dist/cdn/{B2PH3JH2.js → LAS2MWM5.js} +2 -2
- package/dist/cdn/{JG5LUSYX.js → LGLWUNU4.js} +2 -2
- package/dist/cdn/{3AOH7JGU.js → LHZ6WPMD.js} +2 -2
- package/dist/cdn/{J72MOBVK.js → LNLTESOF.js} +2 -2
- package/dist/cdn/{KPBAXB4Q.js → LTJJAN4Y.js} +2 -2
- package/dist/cdn/{EDWTUT7G.js → LU3PYJCN.js} +2 -2
- package/dist/cdn/{FGCTUPDT.js → LVUNXO2O.js} +2 -2
- package/dist/cdn/{OZHTQMES.js → LWMOWGIK.js} +1 -1
- package/dist/cdn/{IEJZM3BQ.js → M23LVYVA.js} +1 -1
- package/dist/cdn/{NBPRKXKH.js → M6AVBUON.js} +2 -2
- package/dist/cdn/{MG3DM3OR.js → M7PDEIFC.js} +1 -1
- package/dist/cdn/{PCGVPBPI.js → MADKV4CG.js} +2 -2
- package/dist/cdn/{HENQGQKO.js → MFPSQMUN.js} +2 -2
- package/dist/cdn/{YH5SQV2R.js → MH32IF4W.js} +2 -2
- package/dist/cdn/{RDUT4GXF.js → MX6FACCZ.js} +1 -1
- package/dist/cdn/{VLLEVWC4.js → N4BEAJUM.js} +2 -2
- package/dist/cdn/{SRPKARII.js → N5TXBTFE.js} +2 -2
- package/dist/cdn/{4KYLVFZE.js → N7VU2XX4.js} +2 -2
- package/dist/cdn/{B4NHS7W5.js → NABAVD67.js} +2 -2
- package/dist/cdn/{LANYKU26.js → NDCEYZWS.js} +1 -1
- package/dist/cdn/{ZFZT6JP2.js → NFBVFXNO.js} +2 -2
- package/dist/cdn/{HFNNMH6J.js → NM2FEB5M.js} +2 -2
- package/dist/cdn/{5V5R7K45.js → NNQ5VAQF.js} +1 -1
- package/dist/cdn/{T5KFVVMD.js → NPMQPRZI.js} +2 -2
- package/dist/cdn/{MCV2G4PS.js → NWWECZ3X.js} +2 -2
- package/dist/cdn/{7D3QF2ET.js → NZFFMH5C.js} +2 -2
- package/dist/cdn/{EM65WRYK.js → NZVQGLFO.js} +2 -2
- package/dist/cdn/{KUHFKNOC.js → O2H7SA7K.js} +2 -2
- package/dist/cdn/{OQC5V5U7.js → O4VMCJVT.js} +2 -2
- package/dist/cdn/{P2Z4XQ4N.js → O56WT525.js} +2 -2
- package/dist/cdn/{YZV37Z46.js → OIC5TDYB.js} +2 -2
- package/dist/cdn/{MCV7H4QG.js → OJCMPRDV.js} +2 -2
- package/dist/cdn/{67T3HMOS.js → OM24RA5F.js} +2 -2
- package/dist/cdn/{KBHPYZIT.js → OTASRO63.js} +2 -2
- package/dist/cdn/{EVLQDNEN.js → OTMGXPHO.js} +2 -2
- package/dist/cdn/{ICPASROB.js → OUIS7DTF.js} +1 -1
- package/dist/cdn/{5T74REFR.js → OVL7QMZH.js} +2 -2
- package/dist/cdn/{MTPKMXI7.js → P4QP3FN6.js} +2 -2
- package/dist/cdn/{BAJABLGZ.js → PAKHX3I6.js} +1 -1
- package/dist/cdn/{BXEE6NVF.js → PFYUGFSL.js} +2 -2
- package/dist/cdn/{YR5O3VCH.js → POPBLQGD.js} +1 -1
- package/dist/cdn/{DMQSOG2I.js → PPY4LTAA.js} +2 -2
- package/dist/cdn/{O6FR3FOW.js → PSGW263P.js} +2 -2
- package/dist/cdn/{4XBEYMUG.js → PT5AV3WQ.js} +1 -1
- package/dist/cdn/{2WOT75MD.js → PTWIQDSC.js} +2 -2
- package/dist/cdn/{OWBOQALO.js → PWR2V4FP.js} +2 -2
- package/dist/cdn/{4AD74DYS.js → PYO4MUPX.js} +2 -2
- package/dist/cdn/{4IPLM5AY.js → PZJBWNEZ.js} +2 -2
- package/dist/cdn/PZWKB64K.js +4 -0
- package/dist/cdn/{IX4PWJUR.js → Q4UWG3UN.js} +2 -2
- package/dist/cdn/{Y2CJN6MA.js → Q5GAJOPN.js} +2 -2
- package/dist/cdn/{CANPLSBG.js → Q7PQM4SB.js} +2 -2
- package/dist/cdn/{PUMM6TKG.js → QEQTLIXM.js} +2 -2
- package/dist/cdn/{6AP65TD5.js → QJ4VMFHY.js} +2 -2
- package/dist/cdn/{G24TL6UH.js → QOQCIJ52.js} +2 -2
- package/dist/cdn/{DQXPS64T.js → QSAM3WTZ.js} +2 -2
- package/dist/cdn/{XAZ64HSI.js → QTR2B74Q.js} +2 -2
- package/dist/cdn/{RJ5TLB72.js → QUA2MZPE.js} +2 -2
- package/dist/cdn/{SKEUMGP3.js → R54KEIUU.js} +2 -2
- package/dist/cdn/{Z2MBHOYG.js → R5P4ZBIZ.js} +2 -2
- package/dist/cdn/{JC5UGUO2.js → R5WVUHHQ.js} +2 -2
- package/dist/cdn/{3KCGBI2E.js → RAGAUFN5.js} +2 -2
- package/dist/cdn/{XKTLLIE7.js → RPQOJQTT.js} +2 -2
- package/dist/cdn/{YOPSWKMS.js → RQHMM2TV.js} +2 -2
- package/dist/cdn/{OQQYUKUE.js → RRH7CX4W.js} +2 -2
- package/dist/cdn/{34IANJ5L.js → RTQDMFCR.js} +1 -1
- package/dist/cdn/{KH7LGU5K.js → RYIFMIE7.js} +2 -2
- package/dist/cdn/{N7PHEJVU.js → S3REU44G.js} +2 -2
- package/dist/cdn/SA6PEP6X.js +4 -0
- package/dist/cdn/{VEDUVBOL.js → SBGU3NDZ.js} +2 -2
- package/dist/cdn/SFWX3UGH.js +4 -0
- package/dist/cdn/{TKUJB3HF.js → SGKUZEBX.js} +2 -2
- package/dist/cdn/{HCE2GPNV.js → SJZ7QSP6.js} +2 -2
- package/dist/cdn/{D2RP7JBA.js → SMB3FN37.js} +2 -2
- package/dist/cdn/{LW6D2HAX.js → SMTMWRRV.js} +1 -1
- package/dist/cdn/{ER22ZKVJ.js → STMQZU4D.js} +2 -2
- package/dist/cdn/{RM3HUYCD.js → STXL6NIE.js} +2 -2
- package/dist/cdn/{L7ECFZTZ.js → SYOBCQGB.js} +2 -2
- package/dist/cdn/{PDDLGVYF.js → SYXNXG42.js} +2 -2
- package/dist/cdn/{DKLLDMP4.js → T2LTMFFQ.js} +2 -2
- package/dist/cdn/T7MHCIUS.js +18 -0
- package/dist/cdn/{3QD7OU5U.js → TECM5QWP.js} +2 -2
- package/dist/cdn/{PJ2XKRIK.js → TL4JJSFM.js} +2 -2
- package/dist/cdn/{WG3UZ2LP.js → TPNMSWQT.js} +2 -2
- package/dist/cdn/{B5FF2VH2.js → TQ6ZXCIR.js} +2 -2
- package/dist/cdn/{MTPC7NWQ.js → TQIQUUNR.js} +1 -1
- package/dist/cdn/{4FX6777Z.js → TSJRADBL.js} +2 -2
- package/dist/cdn/{5BTHO2AF.js → TV2CKUCU.js} +2 -2
- package/dist/cdn/{M45VPYYI.js → TVUO3PT2.js} +2 -2
- package/dist/cdn/{XMRH2KIR.js → TWXPA723.js} +2 -2
- package/dist/cdn/{MI5LWWKJ.js → TYLEZAG2.js} +2 -2
- package/dist/cdn/{AEDIDQNV.js → U3VSDXKL.js} +1 -1
- package/dist/cdn/{5PC67SE6.js → UBSP4SH4.js} +2 -2
- package/dist/cdn/{SYG55ZJS.js → UIUUSTJI.js} +2 -2
- package/dist/cdn/{LX7DOAXS.js → UJH4XQR3.js} +2 -2
- package/dist/cdn/{3DB2P2GO.js → UL5SFE3L.js} +2 -2
- package/dist/cdn/{CHMJRP7V.js → UMADWE7A.js} +2 -2
- package/dist/cdn/{GIY42CJC.js → UO3LLU6M.js} +2 -2
- package/dist/cdn/{ZORMK55D.js → UOQT6ENI.js} +2 -2
- package/dist/cdn/{AYE2CPD4.js → UQVZXYNW.js} +2 -2
- package/dist/cdn/{BKFOGIOL.js → USRMDL2X.js} +2 -2
- package/dist/cdn/{3RO4WOUW.js → UWRBXQ2H.js} +2 -2
- package/dist/cdn/{OVA5KEXT.js → UXBAVP5Z.js} +1 -1
- package/dist/cdn/{36AFFW36.js → UYYJV75W.js} +2 -2
- package/dist/cdn/{QKBSOBFP.js → VAFHXQDA.js} +2 -2
- package/dist/cdn/{RQQUNY5K.js → VBYNMOYE.js} +2 -2
- package/dist/cdn/{CIMPKFOP.js → VIKAFJOW.js} +2 -2
- package/dist/cdn/{ULUH53Q4.js → VJVK7CEI.js} +1 -1
- package/dist/cdn/{SLO5WA53.js → VLH6CM7M.js} +2 -2
- package/dist/cdn/{IXIJXFCI.js → VLOZ5FU3.js} +2 -2
- package/dist/cdn/{F3F7ZRFO.js → VPOYZ64Q.js} +2 -2
- package/dist/cdn/{MPBQOPHL.js → VRT6IWG7.js} +2 -2
- package/dist/cdn/{WRVFHFTD.js → VRZO33HJ.js} +2 -2
- package/dist/cdn/{FRUABSZP.js → VVKCAW2O.js} +1 -1
- package/dist/cdn/{RZ4U5RYM.js → W3Y7CW6D.js} +2 -2
- package/dist/cdn/{QGJ2Q5VE.js → WCNIUU7L.js} +2 -2
- package/dist/cdn/{WHYC2RU4.js → WDUN66AL.js} +2 -2
- package/dist/cdn/{7ESK3B5W.js → WIBEUGB3.js} +2 -2
- package/dist/cdn/{JAUCD2LU.js → WIFVASZC.js} +2 -2
- package/dist/cdn/{DG7ORIN4.js → WIKE26UP.js} +2 -2
- package/dist/cdn/{542FXWVN.js → WLLF2K4A.js} +2 -2
- package/dist/cdn/{TXESV5HB.js → WX6BU4WB.js} +2 -2
- package/dist/cdn/{OXWOGTSM.js → XDM3XQ2V.js} +2 -2
- package/dist/cdn/{K63J5ICI.js → XIWV3EMG.js} +2 -2
- package/dist/cdn/{G32LTLMH.js → XLR4XEQX.js} +2 -2
- package/dist/cdn/{DHLFERHD.js → XOCIK5BM.js} +2 -2
- package/dist/cdn/{EFTB6GX2.js → XOYOBJTE.js} +2 -2
- package/dist/cdn/{IALNE5HW.js → XRC6NCOB.js} +2 -2
- package/dist/cdn/{OKDJRIF2.js → XTFCV5HG.js} +2 -2
- package/dist/cdn/{XXXLSBFE.js → XUG6L42S.js} +2 -2
- package/dist/cdn/{5NJOCQZI.js → XVBUVOHC.js} +2 -2
- package/dist/cdn/XWQ6H7GZ.js +4 -0
- package/dist/cdn/{XZ3MICYT.js → Y5LQVUYC.js} +4 -4
- package/dist/cdn/{WM6NQ4I4.js → Y5WIF3RY.js} +2 -2
- package/dist/cdn/{FUADMBOA.js → YBTELYNL.js} +2 -2
- package/dist/cdn/{TRVQ4HAV.js → YK2QLYVS.js} +2 -2
- package/dist/cdn/{EICZMLA4.js → YQCVFX4Z.js} +2 -2
- package/dist/cdn/{VKKM4XNL.js → YWR5SHTJ.js} +1 -1
- package/dist/cdn/{34MHNUX5.js → YXVNPTAG.js} +2 -2
- package/dist/cdn/{OCSYEOST.js → Z7I2RSQY.js} +2 -2
- package/dist/cdn/ZD2NK7QI.js +18 -0
- package/dist/cdn/{2LYH6JUN.js → ZFY3PCIZ.js} +2 -2
- package/dist/cdn/{XTB7IRNS.js → ZHXAFBKY.js} +2 -2
- package/dist/cdn/{YQBV6WPJ.js → ZMRMSTWH.js} +2 -2
- package/dist/cdn/{IHMJSVGQ.js → ZVEZP7FG.js} +2 -2
- package/dist/cdn/{N4YBZ6H2.js → ZXRM4JEP.js} +2 -2
- package/dist/cdn/{4MQVU2PA.js → ZYNT7ILM.js} +2 -2
- 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 +8 -6
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +2 -2
- 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 +3 -3
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +3 -2
- package/dist/components/map-card/customElement.js +8 -7
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-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-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.d.ts +0 -30
- package/dist/components/solutions-all-panel/customElement.js +74 -67
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +21 -21
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +1 -26
- package/dist/components/solutions-deploy-app/customElement.js +59 -73
- package/dist/components/solutions-deploy-app/index.d.ts +3 -1
- package/dist/components/solutions-deploy-app/index.js +3 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +15 -7
- package/dist/components/solutions-deploy-app-nav/customElement.js +61 -61
- package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -0
- package/dist/components/solutions-deploy-app-nav/index.js +5 -0
- package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -36
- package/dist/components/solutions-deployed-panel/customElement.js +44 -32
- package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-deployed-shell/customElement.js +10 -10
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +4 -12
- package/dist/components/solutions-searchsort-toolbar/customElement.js +87 -55
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +132 -587
- package/dist/docs/docs.json +104 -439
- package/dist/docs/vscode.html-custom-data.json +16 -109
- package/dist/docs/web-types.json +67 -263
- package/dist/index.d.ts +17 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +8 -8
- package/dist/types/lumina.d.ts +10 -8
- package/dist/types/preact.d.ts +10 -8
- package/dist/types/preact10.d.ts +10 -8
- package/dist/types/react.d.ts +10 -8
- package/dist/types/stencil.d.ts +10 -8
- package/dist/utils/deployAppContexts.d.ts +4 -0
- package/dist/utils/interfaces.d.ts +25 -1
- package/package.json +2 -2
- package/dist/cdn/3TJZ6BKZ.js +0 -4
- package/dist/cdn/43OEBABR.js +0 -18
- package/dist/cdn/5LQWX73I.js +0 -4
- package/dist/cdn/6JCLCDIE.js +0 -4
- package/dist/cdn/77HIBKBY.js +0 -4
- package/dist/cdn/AEXIW5QK.js +0 -4
- package/dist/cdn/AJ5IJNM4.js +0 -4
- package/dist/cdn/DOV3VDA7.js +0 -4
- package/dist/cdn/F77VE4SZ.js +0 -4
- package/dist/cdn/H65HSSDY.js +0 -18
- package/dist/cdn/HGN4LWKF.js +0 -18
- package/dist/cdn/IHPJT2VQ.js +0 -18
- package/dist/cdn/KPYWTDCC.js +0 -18
- package/dist/cdn/LAEMYQTA.js +0 -4
- package/dist/cdn/LSVJVCQM.js +0 -18
- package/dist/cdn/SYOYFTZ4.js +0 -18
- package/dist/cdn/TYS4G347.js +0 -18
- package/dist/cdn/UH4H7T6D.js +0 -4
- package/dist/cdn/X7PP4CDS.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as _}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as _}from"./65W7HSK5.js";import{a as m}from"./GWXJIXZK.js";import{b as p}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{C as h,D as b,E as d,h as o,i as c}from"./KCYMVFRG.js";import"./SMTMWRRV.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import"./SMTMWRRV.js";var e="Vous ne disposez pas de suffisamment de cr\xE9dits pour effectuer cette op\xE9ration. Contactez votre administrateur syst\xE8me ArcGIS pour obtenir de l\u2019aide.",r="Cet outil a \xE9t\xE9 publi\xE9 \xE0 partir d\u2019un notebook. L\u2019acc\xE8s \xE0 ArcGIS Notebooks est bloqu\xE9 pour votre organisation. Contactez votre administrateur pour lui demander de modifier ce param\xE8tre.",a="${ dataPath } ne doit pas comporter la propri\xE9t\xE9 suivante\xA0: ${ additionalProperty }.",t="${ dataPath } doit correspondre \xE0 l\u2019une des structures suivantes\xA0: ${ schemaOptions }.",s="R\xE9essayez d\u2019enregistrer la carte.",o="\xC9chec de l\u2019estimation des cr\xE9dits. Faites d\xE9filer vers le bas, corrigez les erreurs et relancez l\u2019estimation des cr\xE9dits.",i="Une erreur s\u2019est produite lors de l\u2019ex\xE9cution de l\u2019analyse.",n="${ dataPath } doit correspondre \xE0 l\u2019une des valeurs autoris\xE9es suivantes\xA0: ${ allowedValues }.",c="\xC9chec de l\u2019enregistrement de l\u2019historique d\u2019analyse",l="L\u2019espace de stockage de l\u2019historique est satur\xE9. Supprimez certains \xE9l\xE9ments de l\u2019historique d\u2019analyse et r\xE9essayez d\u2019enregistrer.",d="Le nom du service contient un ou plusieurs caract\xE8res non valides.",u="L\u2019enregistrement de la couche temporaire en tant que couche d\u2019entit\xE9s h\xE9berg\xE9e a \xE9chou\xE9.",m="\xC9chec de l\u2019obtention des propri\xE9t\xE9s cl\xE9s.",p="\xC9chec du chargement de la couche.",h="La couche n\u2019est pas disponible.",v="${ dataPath } ne doit pas comporter plus de ${ limit }\xA0\xE9l\xE9ments.",y="Une erreur est survenue lors de l\u2019enregistrement du mod\xE8le. R\xE9essayez d\u2019enregistrer.",E="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0\xE9l\xE9ments.",f="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0caract\xE8res.",g="\xC9chec du chargement de l\u2019\xE9l\xE9ment de mod\xE8le. Assurez-vous que le mod\xE8le existe et que l\u2019autorisation d\u2019acc\xE8s a \xE9t\xE9 accord\xE9e.",P="\xC9chec du traitement de la requ\xEAte.",b="Vous n\u2019\xEAtes pas autoris\xE9 \xE0 ex\xE9cuter cet outil. <calcite-link target='_blank' href='${ docLink }'>En savoir plus</calcite-link>",S="\xC9chec de la connexion au portail.",L="\xC9chec de la lecture des donn\xE9es en entr\xE9e.",$="${ dataPath } ne comporte pas la propri\xE9t\xE9 suivante\xA0: ${ missingProperty }.",F="Une couche de r\xE9sultat portant ce nom existe d\xE9j\xE0. Les couches de r\xE9sultat doivent porter des noms uniques au sein de l\u2019organisation. Utilisez un autre nom.",k="Le nom en sortie contient un ou plusieurs caract\xE8res non valides. <a href='${docLink}' target='_blank'>En savoir plus.</a>",q="La publication de la couche temporaire en tant que couche h\xE9berg\xE9e a \xE9chou\xE9 car un ou plusieurs champs ne sont pas valides. Relancez l\u2019outil pour cr\xE9er une couche avec des champs valides.",z="\xC9chec de l\u2019envoi de la t\xE2che. Faites d\xE9filer vers le bas, corrigez les erreurs et r\xE9ex\xE9cutez l\u2019analyse.",I="${ dataPath } doit comporter au moins un caract\xE8re autre qu\u2019un espace.",x={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:i,enumValues:n,failedToSaveHistory:c,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:y,minItems:E,minLength:f,modelNotFound:g,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:L,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:q,toolValidationError:z,whiteSpacePattern:I};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,x as default,i as defaultError,n as enumValues,c as failedToSaveHistory,l as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,y as mbFailedToSave,E as minItems,f as minLength,g as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,L as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,k as specialCharactersInServiceNameError,q as temporaryLayerFieldsError,z as toolValidationError,I as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{e as l,f as o}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{e as l,f as o}from"./B5TRNVXS.js";import{d as g}from"./DTDQRALM.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as p}from"./2LIVMQO2.js";import{a as x}from"./GWXJIXZK.js";import{b as _}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{C as g,D as u,E as m,G as r,h,i as s}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(e){this.pages=e,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},v=h`:host{--instant-apps-app-guide-width: 300px;--instant-apps-app-guide-height: 400px;--instant-apps-app-guide-list-item-bubble-size: 22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:.5rem;padding-inline:.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-icon-color: var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item:before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}`,o={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},d=class extends m{constructor(){super(...arguments),this._messages=x({name:"instant-apps-app-guide"}),this._viewModel=new c,this._carouselRef=g(),this.header=!0}static{this.properties={headerText:16,header:5,data:0}}static{this.styles=v}load(){this._setContent(this.data)}willUpdate(e){e.has("data")&&this._setContent(this.data),e.has("headerText")&&(this._viewModel.headerText=this.headerText)}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:{value:t},_messages:a}=this;if(!(e&&t))return;let i=Array.from(t.childNodes).indexOf(t.selectedItem),n=e?.pages,l=n?.[i]??n[0];this.headerText=l?.title||a.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return s`<calcite-panel scale=s>${t}<calcite-carousel label="App Guide" @calciteCarouselChange=${()=>this._updateHeaderText()} .arrowType=${this._getArrowType()} ${u(this._carouselRef)}>${e}</calcite-carousel></calcite-panel>`}_renderAppGuideHeader(){let{_messages:e,header:t,headerText:a}=this,i=!!t&&e.headerText,n=a||e.headerText;return i?s`<span slot=header-content>${n} <calcite-icon icon=lightbulb scale=s></calcite-icon></span>`:null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:i,type:n,title:l}=t;return p(`page_${a}`,s`<calcite-carousel-item .label=${l}><div class=${r(o.contentWrapper)}>${this._renderContentItems(i,n)}</div></calcite-carousel-item>`)})}_renderContentItems(e,t){switch(t){case"list":return s`<ol class=${r(o.contentList)}>${e.map((a,i)=>p(`content-list-item-${i}`,s`<li class=${r(o.contentListItem)}>${a}</li>`))}</ol>`;case"paragraphs":default:return e.map((a,i)=>p(`content-paragraph-${i}`,s`<p>${a}</p>`))}}};_("instant-apps-app-guide",d);export{d as InstantAppsAppGuide};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as E}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as E}from"./JXWALA62.js";import"./PZJBWNEZ.js";import{a as S,c as m,d,e as _,f,g as x}from"./5VLZX43L.js";import"./IZ3E7B3U.js";import{b as C}from"./PT5AV3WQ.js";import{b as $}from"./FXCOD63W.js";import{a as v}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as I}from"./PZWKB64K.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"./KCYMVFRG.js";import"./SMTMWRRV.js";var V=y`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as r}from"./GDSDHDUW.js";import"./RYIFMIE7.js";import"./KZZHJTPP.js";import"./KZKIRXHE.js";import"./B5TRNVXS.js";import"./QJ4VMFHY.js";import"./E7R7Q7EG.js";import"./AIH4IM4R.js";import"./DTDQRALM.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import"./RTQDMFCR.js";import"./IZ3E7B3U.js";import{a as d}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as p}from"./PZWKB64K.js";import{E as l,h,i as n,l as a}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var g=h`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as E}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as E}from"./2LIVMQO2.js";import{a as I}from"./KXTNCTMP.js";import{a as $}from"./GWXJIXZK.js";import{c as k,t as P,z as S}from"./U3VSDXKL.js";import{b as y}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{C as d,D as h,E as f,G as p,h as _,i as o,l as w,o as m}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var L=`
|
|
5
5
|
@media print {
|
|
6
6
|
@page {
|
|
7
7
|
size: Portrait;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a}from"./AIH4IM4R.js";import{a as d}from"./L6IAJ72L.js";import{K as b,L as m}from"./IYTOH2LC.js";import"./M23LVYVA.js";import{a as l}from"./POPBLQGD.js";import{a as i}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{l as g}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{l as g}from"./QJ4VMFHY.js";import{c as i,d as f}from"./DTDQRALM.js";import{a as o}from"./G34G6TIZ.js";import{b as c}from"./GFUALEHA.js";import{c as m,j as l,k as s,l as d,w as p}from"./IYTOH2LC.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{s as c}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{s as c}from"./U3VSDXKL.js";import{b as r}from"./PZJBWNEZ.js";import{E as i,h as a,i as p}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as b}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as b}from"./YWR5SHTJ.js";import{b as k}from"./PSGW263P.js";import{g as a}from"./IZ3E7B3U.js";import{b as w}from"./FXCOD63W.js";import{a as _}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as y}from"./PZWKB64K.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var u=n`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a,b}from"./KEFZ5YNV.js";import"./M7PDEIFC.js";import"./SMTMWRRV.js";export{a as GroupEditorTypes,b as GroupSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import c from"./OFGWTNNG.js";import b from"./2LYH6JUN.js";import"./AYE2CPD4.js";import a from"./RM3HUYCD.js";import{a as K}from"./CBDB4RMH.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./AEDIDQNV.js";import{b as Ie}from"./4IPLM5AY.js";import"./TGTBQ4IM.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./5AEWU6E5.js";import{b as lt,d as ct}from"./LW6D2HAX.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(a.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import c from"./CHUHLOJP.js";import b from"./ZFY3PCIZ.js";import"./UQVZXYNW.js";import a from"./STXL6NIE.js";import{a as K}from"./2LIVMQO2.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./U3VSDXKL.js";import{b as Ie}from"./PZJBWNEZ.js";import"./A7SGX5YT.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./KCYMVFRG.js";import{b as lt,d as ct}from"./SMTMWRRV.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(a.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import a from"./LHZ6WPMD.js";export default $arcgis.t(([{k:i}])=>{function h(e,t){let r=[];return e.forEach(n=>{t.has(n.id)&&r.push(n)}),r}function g(e,t,r){if(t<1||e.length<t)return{cards:[],paging:{start:t,num:0,nextStart:-1,total:e.length}};let n=Math.min(t+r,e.length+1),s=n<e.length?n:-1;return{cards:e.slice(t-1,n-1),paging:{start:t,num:n-t,nextStart:s,total:e.length}}}function w(e,t){let r=l(e);return u(r,t)}function u(e,t){let r=[];return t.forEach(n=>{let s=c(n);s&&e.indexOf(s)>=0&&n.relatedSolutions&&(r=r.concat(n.relatedSolutions))}),new Set(r)}function c(e){let t="solutionid-",r=e.typeKeywords.filter(s=>s.startsWith(t)),n=null;return Array.isArray(r)&&r.length>0&&(n=r[0].substring(t.length)),n}function l(e){let t=[];return e.forEach(r=>{let n=c(r);n&&t.push(n)}),t=Array.from(new Set(t)),t}function m(e,t,r){let n,s=r==="asc"?1:-1;switch(t){case"created":n=(a,o)=>s*(a.createdMs<o.createdMs?-1:a.createdMs>o.createdMs?1:0);break;case"numviews":n=(a,o)=>s*(a.numViews<o.numViews?-1:a.numViews>o.numViews?1:0);break;case"title":n=(a,o)=>s*(a.title.toLowerCase()<o.title.toLowerCase()?-1:a.title.toLowerCase()>o.title.toLowerCase()?1:0);break;default:n=()=>0;break}return e.sort(n),e}function f(e){return e.toLowerCase().replace(/\s+/g,"-")}function p(e,t){return e.find(r=>f(r.title)===t||t===r.id)}function y(e,t){let r="solutionid-";return e.find(n=>i(n.typeKeywords,r)===t)}return{a:h,b:g,c:w,d:m,e:f,f:p,g:y}},a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a}from"./DFGZSNVP.js";import"./SMTMWRRV.js";export default a();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import"./SMTMWRRV.js";var e="Du har inte tillr\xE4ckligt m\xE5nga krediter f\xF6r att utf\xF6ra den h\xE4r \xE5tg\xE4rden. Kontakta din ArcGIS-systemadministrat\xF6r f\xF6r att f\xE5 hj\xE4lp.",a="Det h\xE4r verktyget har publicerats fr\xE5n en notebook. \xC5tkomst till ArcGIS Notebooks \xE4r blockerad f\xF6r din organisation. Kontakta din administrat\xF6r f\xF6r att justera inst\xE4llningen.",t="${ dataPath } f\xE5r inte inneh\xE5lla ${ additionalProperty }.",r="${ dataPath } m\xE5ste matcha schemat f\xF6r n\xE5gon av dessa: ${ schemaOptions }.",i="F\xF6rs\xF6k att spara kartan igen.",n="Kreditber\xE4kningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och ber\xE4kna krediterna igen.",s="Ett fel uppstod n\xE4r analysen k\xF6rdes.",l="${ dataPath } m\xE5ste vara lika med ett av dessa till\xE5tna v\xE4rden: ${ allowedValues }.",o="Det gick inte att spara analyshistoriken",d="Historiklagringen \xE4r full. Ta bort n\xE5gra objekt fr\xE5n analyshistoriken och f\xF6rs\xF6k att spara igen.",g="Tj\xE4nstnamnet inneh\xE5ller ett eller flera ogiltiga tecken.",m="Lagring av det tillf\xE4lliga lagret som ett driftat geoobjektlager slutf\xF6rdes inte.",k="Det gick inte att h\xE4mta nyckelegenskaper.",c="Det gick inte att l\xE4sa in lagret.",f="Lagret \xE4r inte tillg\xE4ngligt.",h="${ dataPath } f\xE5r inte ha fler \xE4n ${ limit } objekt.",u="Ett fel uppstod n\xE4r modellen sparades. F\xF6rs\xF6k att spara igen.",p="${ dataPath } f\xE5r inte ha f\xE4rre \xE4n ${ limit } objekt.",y="${ dataPath } f\xE5r inte vara kortare \xE4n ${ limit } tecken.",v="Kunde inte l\xE4sa in modellobjektet. Kontrollera att modellen finns och att \xE5tkomstbeh\xF6righet har beviljats.",b="Det gick inte att slutf\xF6ra f\xF6rfr\xE5gan.",E="Du saknar beh\xF6righet att k\xF6ra det h\xE4r verktyget. <calcite-link target='_blank' href='${ docLink }'>L\xE4s mer</calcite-link>",P="Det gick inte att logga in p\xE5 portalen.",S="Det gick inte att l\xE4sa indata.",$="${ dataPath } saknar egenskapen ${ missingProperty }.",F="Det finns redan ett resultatlager med det h\xE4r namnet. Resultatlager m\xE5ste ha unika namn i hela organisationen. Anv\xE4nd ett annat namn.",I="Utdatanamnet inneh\xE5ller ett eller flera ogiltiga tecken. <a href='${docLink}' target='_blank'>L\xE4s mer.</a>",L="Publicering av det tillf\xE4lliga lagret som ett driftat geoobjektlager misslyckades p\xE5 grund av ett eller flera ogiltiga f\xE4lt. K\xF6r verktyget igen f\xF6r att skapa ett lager med giltiga f\xE4lt.",T="Jobbinl\xE4mningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och k\xF6r analysen igen.",D="${ dataPath } m\xE5ste ha minst ett tecken som inte \xE4r ett blanksteg.",j={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:i,creditEstimationError:n,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:g,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:c,layerUnavailable:f,maxItems:h,mbFailedToSave:u,minItems:p,minLength:y,modelNotFound:v,networkError:b,noPermissionToAccessTool:E,portalLoadError:P,queryFeaturesError:S,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:D};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,i as cannotWriteToItemResource,n as creditEstimationError,j as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,g as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,c as layerLoadFailure,f as layerUnavailable,h as maxItems,u as mbFailedToSave,p as minItems,y as minLength,v as modelNotFound,b as networkError,E as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,D as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import"./SMTMWRRV.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0
|
|
4
|
-
import{a as y}from"./
|
|
3
|
+
v1.1.0 */
|
|
4
|
+
import{a as y}from"./VLH6CM7M.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import{a as s,b as p}from"./6CYD25YN.js";import"./JN54IUSM.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import{a as n}from"./NZVQGLFO.js";import{a}from"./3PD2HBG5.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import{a as l}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import{a as t,b as r}from"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
|